:root {
  --bg: #10140f;
  --panel: #171c16;
  --panel-2: #1d231c;
  --line: rgba(232, 224, 204, 0.12);
  --text: #ece6d4;
  --muted: #9a9484;
  --brass: #c4a056;
  --alert: #d85a3c;
  --ok: #6f9a76;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --nav-w: 280px;
  --bar-h: 34px;
  --alert-strong: #ff6a45;
  --ok-strong: #7ccf88;
  --brass-strong: #e8b95a;
  --steel: #86b4d4;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 160, 86, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
}

body {
  padding-bottom: var(--bar-h);
}

button,
input,
select,
a {
  font: inherit;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: var(--brass);
  color: #14120c;
  padding: 8px 12px;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: var(--bar-h);
  z-index: 30;
  width: var(--nav-w);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 20px 24px;
  overflow-y: auto;
  background: var(--panel);
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  visibility: hidden;
  transition:
    transform 0.2s ease,
    visibility 0s linear 0.2s;
}

body.is-nav-open .sidebar {
  transform: none;
  visibility: visible;
  transition: transform 0.2s ease;
}

.sidebar__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sidebar__brand {
  display: grid;
  gap: 4px;
  margin: 0;
}

.sidebar__mark {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
}

.sidebar__title {
  font-size: 20px;
  font-weight: 500;
}

.sidebar__close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.sidebar__close:hover,
.sidebar__close:focus-visible {
  border-color: var(--brass);
  color: var(--brass);
  outline: 0;
}

.sidebar__nav {
  display: grid;
  gap: 4px;
}

.sidebar__nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid transparent;
}

.sidebar__nav a:hover,
.sidebar__nav a:focus-visible,
.sidebar__nav a[aria-current="page"] {
  color: var(--brass);
  border-color: var(--line);
  background: var(--panel-2);
  outline: 0;
}

.sidebar__label {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-backdrop {
  display: none;
}

.shell {
  min-width: 0;
  transition: margin-left 0.2s ease;
}

@media (min-width: 981px) {
  body.is-nav-open .shell {
    margin-left: var(--nav-w);
  }
}

.statusbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px 0 6px;
  background: #121610;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.statusbar__left,
.statusbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.statusbar__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 3px 10px;
  font-family: var(--font);
  font-size: 12px;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle[aria-expanded="true"] {
  border-color: var(--brass);
  color: var(--brass);
  outline: 0;
}

.nav-toggle__bars {
  position: relative;
  width: 12px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.25px;
  border-top: 1.5px solid currentColor;
}

.statusbar .ghost {
  padding: 3px 10px;
  font-size: 11px;
}

.stamp {
  display: grid;
  justify-items: start;
  gap: 2px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 6px 12px;
  cursor: pointer;
  text-align: left;
}

.statusbar .stamp {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 10px;
  background: transparent;
}

.stamp:hover,
.stamp:focus-visible {
  border-color: var(--brass);
  outline: 0;
}

.stamp:disabled {
  cursor: wait;
}

.stamp__label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stamp time {
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--brass);
}

.statusbar .stamp__label {
  font-size: 9px;
}

.statusbar .stamp time {
  font-size: 11px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(111, 154, 118, 0.12);
}

.dot.is-busy {
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(196, 160, 86, 0.16);
}

.dot.is-error {
  background: var(--alert);
  box-shadow: 0 0 0 4px rgba(216, 90, 60, 0.16);
}

.ghost,
.actions button,
.login button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
}

.ghost:hover,
.actions button:hover,
.login button:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.ghost:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.api-error {
  margin: 0;
  padding: 10px 28px;
  background: rgba(216, 90, 60, 0.14);
  color: var(--alert);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 28px;
  border-bottom: 1px solid var(--line);
}

.scope {
  display: grid;
  gap: 14px;
}

.avisos {
  position: relative;
  flex: none;
}

.avisos__btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 22px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.avisos__btn:hover,
.avisos__btn:focus-visible,
.avisos__btn[aria-expanded="true"] {
  border-color: var(--brass);
  color: var(--brass);
  outline: 0;
}

.avisos__btn.is-alerta {
  color: var(--alert-strong);
}

.avisos__dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--alert-strong);
  box-shadow: 0 0 0 2px #121610;
}

.avisos__painel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 50;
  width: min(520px, calc(100vw - 24px));
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
  color: var(--brass);
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
}

.avisos__painel[hidden] {
  display: none;
}

.avisos__painel p {
  margin: 0;
}

.avisos__alerta {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--alert-strong);
}

.stats--wide {
  grid-template-columns: repeat(5, 1fr);
}

.scope label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.period {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.period__btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 7px 6px;
  font-size: 13px;
  cursor: pointer;
}

.period__btn.is-active,
.period__btn:hover,
.period__btn:focus-visible {
  border-color: var(--brass);
  color: var(--brass);
  outline: 0;
}

.stats article {
  --accent: var(--text);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "label label"
    "value delta";
  align-items: baseline;
  column-gap: 10px;
  row-gap: 2px;
  min-width: 0;
  padding: 8px 14px 8px 12px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, transparent), transparent 75%);
}

.stats .stat--alert {
  --accent: var(--alert-strong);
}

.stats .stat--brass {
  --accent: var(--brass-strong);
}

.stats .stat--steel {
  --accent: var(--steel);
}

.stats p {
  grid-area: label;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stats strong {
  grid-area: value;
  color: var(--accent);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

#stat-delta.is-up {
  color: var(--alert-strong);
}

#stat-delta.is-down {
  color: var(--ok-strong);
}

.stat-delta {
  grid-area: delta;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-family: var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-delta.is-up {
  color: var(--alert-strong);
}

.stat-delta.is-down {
  color: var(--ok-strong);
}

.stats strong.is-flash {
  animation: stat-blink 1.4s ease-in-out;
}

@keyframes stat-blink {
  0%,
  100% {
    opacity: 1;
    text-shadow: none;
  }
  15%,
  45% {
    opacity: 0.25;
  }
  30%,
  60% {
    opacity: 1;
    text-shadow: 0 0 14px var(--accent);
  }
}

.charts {
  padding: 20px 28px 8px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.charts__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.charts__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.charts__head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.charts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  grid-template-areas:
    "volume volume flows"
    "first second flows";
  gap: 12px;
}

.charts__grid > .chart-card--volume {
  grid-area: volume;
}

.charts__grid > .chart-card--first {
  grid-area: first;
}

.charts__grid > .chart-card--second {
  grid-area: second;
}

.charts__grid > .chart-card--flows {
  grid-area: flows;
  display: flex;
  flex-direction: column;
}

.chart-card--flows .chart-card__plot {
  flex: 1 1 0;
  height: auto;
  min-height: 460px;
}

.chart-card {
  min-width: 0;
  padding: 14px 16px 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.chart-card header {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}

.chart-card h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.chart-card header p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.chart-card__plot {
  height: 220px;
  min-width: 0;
}

.chart-empty {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 0 18px;
}

.chart-tip {
  background: #121610;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 10px;
  font-size: 12px;
  font-family: var(--mono);
}

.chart-tip p {
  margin: 0;
}

.chart-tip__label {
  color: var(--muted);
  margin-bottom: 4px !important;
}

.chart-donut {
  position: relative;
  height: 220px;
}

.chart-donut__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  pointer-events: none;
  margin: 0;
  gap: 2px;
}

.chart-donut__center strong {
  font-size: 28px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.chart-donut__center span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 16px 28px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.toolbar label,
.login label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.grow {
  min-width: 0;
}

input,
select {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 12px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--brass);
}

.board {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(340px, 0.85fr);
}

.ledger,
.dossier {
  min-width: 0;
}

.ledger {
  border-right: 1px solid var(--line);
}

.ledger header,
.dossier header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 20px 6px;
}

.ledger h2,
.dossier h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.ledger header p {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.rows {
  display: flex;
  flex-direction: column;
}

.row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: start;
  width: 100%;
  padding: 7px 20px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.row:hover,
.row.is-active {
  background: var(--panel-2);
}

.row.is-resolved {
  opacity: 0.55;
}

.flag {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  background: var(--alert);
}

.row.is-resolved .flag,
.row.is-ok .flag {
  background: var(--ok);
}

.row.is-run .flag {
  background: var(--brass);
}

.row.is-wait .flag {
  background: var(--muted);
}

.row > span:nth-child(2) {
  min-width: 0;
}

.row__name,
.row__msg {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row__name {
  font-size: 13px;
}

.row__msg {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.row__time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.empty,
.pager {
  padding: 8px 20px;
  color: var(--muted);
  font-size: 13px;
}

.pager .ghost {
  padding: 4px 10px;
  font-size: 12px;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.dossier {
  background: linear-gradient(180deg, rgba(196, 160, 86, 0.04), transparent 180px);
}

.dossier__placeholder,
#detail {
  padding: 16px 20px;
}

#detail header {
  padding: 0 0 4px;
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brass);
}

#detail-message {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4px 14px;
  margin: 12px 0;
  font-size: 12px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-family: var(--mono);
  overflow-wrap: anywhere;
}

pre {
  overflow: auto;
  max-height: 200px;
  padding: 10px;
  background: #0c100c;
  border: 1px solid var(--line);
  color: #d7d1bf;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
}

details {
  margin: 10px 0 14px;
}

summary {
  cursor: pointer;
  color: var(--brass);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.actions a {
  color: var(--text);
}

.login {
  border: 0;
  padding: 0;
  background: rgba(10, 12, 9, 0.84);
  color: var(--text);
}

.login::backdrop {
  background: rgba(8, 10, 8, 0.72);
}

.login form {
  width: min(420px, calc(100vw - 32px));
  margin: 12vh auto;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.login__kicker,
.login h1 {
  margin: 0;
}

.login__kicker {
  color: var(--brass);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
}

.login__copy,
.login__error {
  margin: 0;
  color: var(--muted);
}

.login__error {
  color: var(--alert);
}

.login button {
  margin-top: 8px;
  background: var(--brass);
  color: #16130c;
  border-color: var(--brass);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .charts__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "volume volume"
      "first second"
      "flows flows";
  }

  .chart-card--flows .chart-card__plot {
    flex: none;
    height: 360px;
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .sidebar {
    width: min(300px, 86vw);
    box-shadow: 12px 0 32px rgba(0, 0, 0, 0.45);
  }

  body.is-nav-open .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0 0 var(--bar-h) 0;
    z-index: 25;
    background: rgba(8, 10, 8, 0.6);
  }

  .stats,
  .stats--wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .toolbar,
  .board,
  .charts__grid,
  .charts__head {
    display: flex;
    flex-direction: column;
  }

  .charts,
  .stats,
  .toolbar,
  .row,
  .ledger header,
  .dossier header,
  .empty,
  .pager,
  .dossier__placeholder,
  #detail {
    padding-left: 18px;
    padding-right: 18px;
  }

  .board {
    min-height: auto;
  }
}

.statusbar button {
  white-space: nowrap;
}

@media (max-width: 640px) {
  #clock,
  .statusbar .stamp {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar,
  body.is-nav-open .sidebar,
  .shell {
    transition: none;
  }

  .stats strong.is-flash {
    animation: none;
  }
}

/* Lista erros (TV) */
.tv {
  padding: 16px 24px 24px;
}

.tv__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tv__head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.tv__head p {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
}

.tv__lista {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv__item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(0, 220px) auto;
  gap: 18px;
  align-items: start;
  padding: 12px 0 12px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--alert-strong);
}

.tv__hora {
  color: var(--brass-strong);
  font-family: var(--mono);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.tv__corpo {
  min-width: 0;
}

.tv__fluxo,
.tv__msg,
.tv__tipo {
  margin: 0;
}

.tv__fluxo {
  font-size: 18px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tv__fluxo span {
  color: var(--muted);
  font-weight: 400;
}

.tv__msg {
  margin-top: 4px;
  color: var(--text);
  opacity: 0.85;
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tv__tipo {
  color: var(--alert-strong);
  font-family: var(--mono);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.tv__link {
  color: var(--muted);
  font-size: 13px;
}

.tv__vazio {
  margin: 0;
  padding: 48px 0;
  color: var(--ok-strong);
  font-size: 20px;
  text-align: center;
}

@media (max-width: 980px) {
  .tv__item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Rotação de telas (modo TV) */
.rotacao-status {
  color: var(--brass-strong);
  font-size: 11px;
  white-space: nowrap;
}

.statusbar .rotacao-botao {
  white-space: nowrap;
}

.rotacao-botao.is-ativo {
  border-color: var(--alert-strong);
  color: var(--alert-strong);
}

.rotacao-dialogo {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
}

.rotacao-dialogo::backdrop {
  background: rgba(8, 10, 8, 0.72);
}

.rotacao-dialogo__form {
  width: min(380px, calc(100vw - 32px));
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.rotacao-dialogo__form h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

.rotacao-dialogo__form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
}

.rotacao-dialogo__form legend,
.rotacao-dialogo__tempo {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rotacao-dialogo__form fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.rotacao-dialogo__form input[type="checkbox"] {
  width: auto;
  accent-color: var(--brass);
}

.rotacao-dialogo__tempo {
  display: grid;
  gap: 6px;
}

.rotacao-dialogo__nota {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.rotacao-dialogo__erro {
  margin: 0;
  color: var(--alert-strong);
  font-size: 13px;
}

.rotacao-dialogo__acoes {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.rotacao-dialogo__ligar {
  border: 1px solid var(--brass);
  background: var(--brass);
  color: #16130c;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
}

.rotacao-dialogo__tela {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rotacao-dialogo__tela select {
  width: auto;
  min-width: 96px;
  padding: 6px 8px;
}
