/* Missão Acqua · wireframe HUD — alinhado ao layout de referência */

:root {
  --frame-max: 800px;
  --neon: #00e5ff;
  --neon-dim: rgba(0, 229, 255, 0.45);
  --neon-glow: rgba(0, 229, 255, 0.35);
  --bg-deep: #001a33;
  --tap: 48px;
  --campo-gap: clamp(56px, 12vmin, 100px);
  --font-display: "Orbitron", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
  touch-action: manipulation;
  height: 100%;
}

body.figma {
  margin: 0;
  min-height: 100svh;
  overscroll-behavior: none;
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  background-image: linear-gradient(rgba(0, 229, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: center top;
  color: rgba(255, 255, 255, 0.95);
}

/* TKS / sucesso — fundo mais próximo do frame (azul muito escuro + leve profundidade) */
body.figma.sucesso {
  background-color: #001122;
  background-image: radial-gradient(
      ellipse 120% 90% at 50% 38%,
      rgba(0, 35, 70, 0.38) 0%,
      transparent 58%
    ),
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
  background-position: center, center top, center top;
}

.cadastro-shell {
  width: 100%;
  max-width: var(--frame-max);
  margin: 0 auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.top-wire {
  display: flex;
  justify-content: center;
  padding: clamp(20px, 5vw, 36px) clamp(16px, 4vw, 28px) 0;
}

.top-wire-img {
  display: block;
  width: min(752px, 94vw);
  height: auto;
}

.marca-acqua {
  display: flex;
  justify-content: center;
  padding: clamp(8px, 2vw, 16px) 20px clamp(16px, 4vw, 28px);
  margin-bottom: 45px;

}

.marca-acqua-img {
  width: min(220px, 86vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 22px rgba(0, 229, 255, 0.25));
}

/* Título CADASTRO MISSÃO como SVG (uma linha) */
.cadastro-titulo-svg {
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  display: flex;
  justify-content: center;
  line-height: 0;
}

.cadastro-missao-img {
  display: block;
  width: min(535px, 65vw);
  height: auto;
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.35));
}

.cadastro-heading {
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  font-family: var(--font-display);
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.12em;
  line-height: 1.08;
}

.cadastro-heading-line {
  display: block;
  font-size: clamp(1.85rem, 7.5vw, 2.45rem);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--neon);
  text-shadow: 0 0 20px var(--neon-dim), 0 0 42px rgba(0, 229, 255, 0.2);
}

.cadastro-heading-line + .cadastro-heading-line {
  margin-top: 0.06em;
}

.cadastro-heading--compact .cadastro-heading-line {
  font-size: clamp(1.35rem, 6vw, 1.85rem);
}

.cadastro-heading-line--muted {
  -webkit-text-stroke-color: rgba(0, 229, 255, 0.55);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}

.form-area {
  flex: 1;
  width: min(539px, 100% - 40px);
  margin: 0 auto;
  padding: clamp(24px, 6vw, 44px) clamp(16px, 4vw, 24px) 0;
  display: flex;
  flex-direction: column;
}

.form-cadastro {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.campo-bloco + .campo-bloco {
  margin-top: var(--campo-gap);
}

.rotulo-figma {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(13px, 3.25vw, 15px);
  line-height: 1.35;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: clamp(14px, 3.5vw, 20px);
  cursor: pointer;
}

.campo-linha {
  position: relative;
  width: 100%;
}

.campo-linha input {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(16px, 3.8vw, 17px);
  padding: 12px 8px 14px;
  outline: none;
  min-height: 44px;
  text-align: center;
}

.campo-linha input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.campo-linha input:focus-visible + .linha-decor img {
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.85)) brightness(1.08);
}

.linha-decor {
  pointer-events: none;
  margin-top: 2px;
}

.linha-decor img {
  display: block;
  width: 90%;
  height: 10px;
  object-fit: fill;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.55));
}

.msg-erro {
  margin: clamp(28px, 6vw, 40px) 0 0;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 100, 120, 0.55);
  background: rgba(25, 5, 12, 0.55);
  color: #fecdd3;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}

.btn-pronto:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
}

.btn-pronto:disabled {
  cursor: wait;
}

.btn-pronto {
  --btn-w: min(220px, 68vw);
  position: relative;
  align-self: center;
  margin-top: clamp(36px, 9vw, 52px);
  margin-bottom: clamp(24px, 6vw, 40px);
  width: var(--btn-w);
  min-height: 69px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
}

.btn-pronto-visuais {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.btn-pronto-bg {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 212px;
  height: auto;
}

.btn-pronto-fg {
  grid-area: 1 / 1;
  width: 93%;
  max-width: 198px;
  height: auto;
}

.btn-pronto-label {
  position: relative;
  z-index: 1;
  display: block;
  padding: 24px 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(16px, 4vw, 18px);
  letter-spacing: 0.1em;
  color: #12d0ff;
  text-align: center;
  text-transform: uppercase;
}

.btn-pronto .load {
  display: none;
  position: absolute;
  bottom: 12px;
  left: 50%;
  translate: -50% 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.3);
  border-top-color: var(--neon);
  animation: spin 0.65s linear infinite;
  z-index: 2;
}

.btn-pronto[disabled] .btn-pronto-label {
  opacity: 0.82;
}

.btn-pronto[disabled] .load {
  display: block;
}

.btn-pronto[data-loading="1"] .btn-pronto-visuais {
  opacity: 0.92;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.rodape-wireframe {
  margin-top: auto;
  padding: clamp(16px, 4vw, 28px) clamp(16px, 4vw, 28px) clamp(24px, 6vw, 36px);
  display: flex;
  justify-content: center;
}

.rodape-wireframe-img {
  width: 100%;
  max-width: min(752px, 96vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.2));
}

.form-area-sucesso {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: clamp(20px, 6vw, 48px);
  padding-bottom: clamp(40px, 12vw, 88px);
}

.sucesso-badge {
  color: var(--neon);
  letter-spacing: 0.28em !important;
  font-weight: 700 !important;
  font-size: clamp(11px, 3vw, 12px) !important;
}

.texto-sucesso {
  margin: clamp(14px, 4vw, 22px) 0 0;
  font-weight: 500;
  font-size: clamp(0.95rem, 3.2vw, 1.05rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 36ch;
}

.btn-voltar {
  margin-top: clamp(32px, 8vw, 48px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--neon);
  text-transform: uppercase;
  border: 1px solid rgba(0, 229, 255, 0.4);
  background: rgba(0, 30, 60, 0.5);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.12);
}

.btn-voltar:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.65);
}

.btn-voltar:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* —— TKS PAGE — wireframe obrigado (frame 1:12891) —— */

.sucesso-tks-shell {
  justify-content: space-between;
}

.tks-marca {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  padding: clamp(32px, 8vw, 52px) clamp(16px, 5vw, 36px) clamp(16px, 4vw, 28px);
}

.tks-marca-img {
  width: min(300px, 78vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.35));
}

/* Título central MISSÃO AUTORIZADA (outline ciano / interior vazio) */
.tks-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: clamp(20px, 5vw, 48px) clamp(20px, 5vw, 36px);
}

.tks-titulo-autorizada {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.18em;
  line-height: 1.06;
}

.tks-titulo-line {
  display: block;
  font-size: clamp(1.75rem, 8.8vw, 3.05rem);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke-width: clamp(1px, 0.35vw, 1.85px);
  -webkit-text-stroke-color: #00eafd;
  text-shadow:
    0 0 clamp(14px, 3vw, 28px) rgba(0, 234, 255, 0.45),
    0 0 clamp(42px, 8vw, 72px) rgba(0, 234, 255, 0.12);
}

.tks-titulo-line + .tks-titulo-line {
  margin-top: 0.12em;
}

.tks-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding: clamp(12px, 3vw, 24px) clamp(20px, 5vw, 32px) clamp(28px, 8vw, 52px);
}

.tks-sabesp-figure {
  margin: 0;
}

.tks-sabesp-logo {
  display: block;
  width: min(183px, 52vw);
  height: auto;
  margin-bottom: clamp(20px, 5vw, 32px);
  filter: drop-shadow(0 0 16px rgba(18, 208, 255, 0.25));
}

.btn-voltar-discrete {
  margin-top: 0;
  opacity: 0.78;
  font-size: 0.75rem;
  padding: 0 20px;
  min-height: 44px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Menu oculto (5× clique no logo) + modal operador —— */

body.admin-modal-open {
  overflow: hidden;
}

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 8, 20, 0.72);
  backdrop-filter: blur(6px);
}

.admin-modal-overlay[hidden] {
  display: none !important;
}

.admin-modal {
  width: min(420px, 100%);
  padding: clamp(24px, 5vw, 32px);
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.45);
  background: linear-gradient(160deg, rgba(0, 35, 70, 0.95), rgba(0, 15, 35, 0.98));
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.15);
}

.admin-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
}

.admin-modal__hint {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.admin-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.admin-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #12d0ff;
  border: 1px solid rgba(0, 229, 255, 0.5);
  background: rgba(0, 40, 80, 0.55);
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.08);
}

.admin-modal-btn:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.75);
}

.admin-modal-btn:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.admin-modal-btn--link {
  text-align: center;
}

.admin-modal-btn--ghost {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Tela cheia: área do cadastro / sucesso */
#app-shell:fullscreen,
#app-shell:-webkit-full-screen {
  width: 100%;
  max-width: none;
  min-height: 100%;
  margin: 0;
  box-sizing: border-box;
}

body.figma.cadastro #app-shell:fullscreen,
body.figma.cadastro #app-shell:-webkit-full-screen {
  background-color: var(--bg-deep);
  background-image: linear-gradient(rgba(0, 229, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: center top;
}

body.figma.sucesso #app-shell:fullscreen,
body.figma.sucesso #app-shell:-webkit-full-screen {
  background-color: #001122;
  background-image: radial-gradient(
      ellipse 120% 90% at 50% 38%,
      rgba(0, 35, 70, 0.38) 0%,
      transparent 58%
    ),
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
  background-position: center, center top, center top;
}

/* —— Dashboard —— */

body.dashboard-page {
  background-color: var(--bg-deep);
  background-image: linear-gradient(rgba(0, 229, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: center top;
}

.dashboard-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 28px) clamp(48px, 8vw, 72px);
  color: rgba(255, 255, 255, 0.92);
}

.dashboard-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.dashboard-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.dashboard-title__eyebrow {
  display: block;
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--neon);
  margin-bottom: 0.2em;
}

.dashboard-back {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.35);
}

.dashboard-back:hover {
  border-bottom-color: var(--neon);
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.dashboard-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(0, 229, 255, 0.38);
  border-radius: 4px;
  background: rgba(0, 32, 64, 0.5);
  color: #b8f7ff;
  font: 700 0.76rem/1 var(--font-body);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.dashboard-action-btn:hover {
  border-color: rgba(0, 229, 255, 0.72);
  background: rgba(0, 229, 255, 0.1);
}

.dashboard-action-btn:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.dashboard-action-btn--quiet {
  align-self: end;
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-erro {
  margin-bottom: 20px;
}

.dashboard-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, 180px) minmax(140px, 180px) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 6px;
  background: rgba(0, 14, 34, 0.5);
}

.dashboard-filter {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dashboard-filter span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.dashboard-filter input {
  min-height: 42px;
  width: 100%;
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 4px;
  background: rgba(0, 8, 20, 0.68);
  color: rgba(255, 255, 255, 0.94);
  font: 500 0.92rem/1.2 var(--font-body);
  padding: 0 12px;
  outline: none;
}

.dashboard-filter input:focus {
  border-color: rgba(0, 229, 255, 0.74);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.dashboard-kpi {
  padding: 18px 20px;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: rgba(0, 25, 50, 0.45);
}

.dashboard-kpi__label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.dashboard-kpi__value {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  color: var(--neon);
}

.dashboard-kpi__value--small {
  font-size: clamp(1rem, 2.7vw, 1.35rem);
  letter-spacing: 0.02em;
}

.dashboard-section-title {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.dashboard-chart-wrap {
  margin-bottom: 40px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.dashboard-panel,
.dashboard-table-wrap {
  padding: 18px;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(0, 18, 42, 0.48);
}

.dashboard-panel--wide {
  margin-bottom: 28px;
}

.dashboard-chart-canvas {
  position: relative;
  height: clamp(260px, 34vw, 340px);
  padding: 12px;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 12, 28, 0.5);
}

.dashboard-chart-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.dashboard-heatmap-scroll {
  overflow-x: auto;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(0, 8, 20, 0.45);
}

.dashboard-heatmap {
  display: grid;
  min-width: 860px;
}

.dashboard-heatmap__head,
.dashboard-heatmap__day,
.dashboard-heatmap__cell {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
}

.dashboard-heatmap__head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(0, 35, 70, 0.95);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.dashboard-heatmap__day {
  position: sticky;
  left: 0;
  z-index: 1;
  justify-content: flex-start;
  padding: 0 10px;
  background: rgba(0, 30, 60, 0.95);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.dashboard-heatmap__cell {
  font-weight: 800;
}

.dashboard-empty-note {
  margin: 0;
  padding: 24px;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.dashboard-table-scroll {
  overflow-x: auto;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: rgba(0, 12, 28, 0.45);
}

.dashboard-table-scroll--compact {
  max-height: 380px;
  overflow: auto;
}

.dashboard-table-scroll--compact .dashboard-table {
  min-width: 0;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 640px;
}

.dashboard-table th,
.dashboard-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}

.dashboard-table th {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 35, 70, 0.35);
}

.dashboard-table tbody tr:hover {
  background: rgba(0, 229, 255, 0.05);
}

.dashboard-table .dash-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 28px 16px !important;
}

@media (max-width: 860px) {
  .dashboard-header {
    align-items: flex-start;
  }

  .dashboard-actions {
    justify-content: flex-start;
  }

  .dashboard-filters {
    grid-template-columns: 1fr;
  }

  .dashboard-action-btn--quiet {
    align-self: stretch;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  body.figma,
  body.dashboard-page {
    min-height: auto;
    background: #fff !important;
    color: #111 !important;
  }

  .dashboard-shell {
    max-width: none;
    padding: 0;
    color: #111;
  }

  .dashboard-actions,
  .dashboard-filters,
  .dashboard-erro,
  .dashboard-back,
  script {
    display: none !important;
  }

  .dashboard-header,
  .dashboard-kpis,
  .dashboard-grid,
  .dashboard-panel--wide {
    break-inside: avoid;
  }

  .dashboard-title,
  .dashboard-title__eyebrow,
  .dashboard-section-title,
  .dashboard-kpi__value {
    color: #111 !important;
  }

  .dashboard-kpi,
  .dashboard-panel,
  .dashboard-table-wrap,
  .dashboard-chart-canvas,
  .dashboard-table-scroll,
  .dashboard-heatmap-scroll {
    background: #fff !important;
    border-color: #bbb !important;
    box-shadow: none !important;
  }

  .dashboard-table th,
  .dashboard-table td,
  .dashboard-heatmap__head,
  .dashboard-heatmap__day,
  .dashboard-heatmap__cell {
    color: #111 !important;
    border-color: #ccc !important;
  }

  .dashboard-table th,
  .dashboard-heatmap__head,
  .dashboard-heatmap__day {
    background: #eee !important;
  }

  .dashboard-table tbody tr:hover {
    background: transparent;
  }
}
