/* ==========================================
           1. DESIGN SYSTEM & VARIÁVEIS
           ========================================== */
:root {
  --bg-color: #0c0c0c;
  --bg-panel: #161616;
  --bg-elevated: #222222;
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;

  --accent-snc: #ff7b00;
  --accent-calc: #3b82f6;
  --accent-aulas: #10b981;
  --accent-eventos: #d946ef;
  --accent-datas: #06b6d4;
  --accent-sun: #eab308;
  --accent-dicio: #ec4899;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;
  --border-color: #27272a;

  --cat-edital: #10b981;
  --cat-convocatoria: #3b82f6;
  --cat-exposicao: #d946ef;
  --cat-mostra: #8b5cf6;
  --cat-cursos: #eab308;
  --cat-palestra: #14b8a6;
  --cat-workshop: #6366f1;
  --cat-feira: #f97316;
  --cat-festival: #f43f5e;
  --cat-concurso: #ef4444;

  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --accent-zonas: #a855f7; /* Roxo para as Zonas de Fotometria */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-drag: none; /* Impede de arrastar imagens/SVG para fora */
}

body {
  user-select: none; /* Impede a seleção e cópia de texto na tela inteira */
  -webkit-user-select: none;
}

input,
select,
textarea {
  user-select: auto; /* Libera a digitação apenas nos campos de busca e senha */
  -webkit-user-select: auto;
}

html {
  background-color: #050505;
}

body {
  font-family: "DM Sans", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow: hidden;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

h1,
h2,
h3,
.brand-font,
.page-title,
.sheet-title,
.ev-titulo,
.dicio-item .term {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

.hidden {
  display: none !important;
}

/* ==========================================
           2. LAYOUT APP NATIVO (Header, Viewport, TabBar)
           ========================================== */

/* Alteração gerada em: 10/03/2026 - 00:08 */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
  height: calc(60px + var(--sat));
  padding-top: var(--sat);
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 20px;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

/* Menu fixado à direita mas abrindo da esquerda para direita */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100dvh;
  background: var(--bg-panel);
  z-index: 4000;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid var(--border-color);
  padding: calc(20px + var(--sat)) 20px 20px;
  display: flex;
  flex-direction: column;
}

.header-title {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sync-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
}

.sync-btn:active {
  transform: scale(0.9);
}

.sync-btn.spinning {
  animation: spin 1s linear infinite;
  opacity: 0.5;
}

.page-title {
  font-size: 2.6rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.app-viewport {
  flex: 1;
  position: relative;
  width: 100%;
  margin-top: calc(60px + var(--sat));
}

.view-tab {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(65px + var(--sab));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px;
  padding-bottom: 40px;
  visibility: hidden;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.view-tab.active {
  visibility: visible;
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
}

.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
  height: calc(65px + var(--sab));
  padding-bottom: var(--sab);
  background: rgba(22, 22, 22, 0.85);
  border-top: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.tab-item {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  gap: 4px;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
}

.tab-icon {
  font-size: 1.4rem;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-item.active {
  color: var(--text-main);
}
.tab-item.active .tab-icon {
  transform: translateY(-2px) scale(1.1);
}
.tab-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: var(--accent-snc);
  border-radius: 0 0 4px 4px;
}

/* ==========================================
           3. UI COMPONENTS (Cards, Botões)
           ========================================== */
.card {
  background: var(--bg-panel);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: transform 0.1s, box-shadow 0.2s;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--accent-snc);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-datas);
  color: var(--accent-datas);
}
.btn-outline:active {
  background: rgba(255, 255, 255, 0.05);
}

.input-box {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.input-box:focus {
  border-color: var(--accent-snc);
}

.disclaimer-box {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid var(--accent-warning);
  padding: 16px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 24px;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ==========================================
           4. PUSH SCREENS (Animação Slide Direita)
           ========================================== */
.push-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
  height: 100dvh;
  background: var(--bg-color);
  z-index: 2000;
  transform: translateX(100%);
  /* Correção do vazamento de tela no desktop: */
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.32s;
  display: flex;
  flex-direction: column;
}

.push-screen.active {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

.push-header {
  height: calc(60px + var(--sat));
  padding-top: var(--sat);
  background: rgba(22, 22, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding-inline: 16px;
}

.btn-back {
  background: transparent;
  border: none;
  color: var(--accent-snc);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.push-title {
  flex: 1;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.5rem;
  transform: translateX(-35px);
}

.push-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px;
  padding-bottom: calc(20px + var(--sab));
}

/* ==========================================
           5. BOTTOM SHEET MODAL (Desliza de baixo)
           ========================================== */
.bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.bottom-sheet-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
  max-height: 85dvh;
  background: var(--bg-panel);
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--border-color);
  z-index: 3001;
  transform: translateY(100%);
  /* Correção de visibilidade: */
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.32s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.bottom-sheet.active {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

.sheet-handle {
  width: 48px;
  height: 5px;
  background: #444;
  border-radius: 10px;
  margin: 12px auto 20px auto;
}

.sheet-content {
  padding: 0 24px 32px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(32px + var(--sab));
}

.sheet-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.sheet-title {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: #fff;
}

.sheet-subtitle {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.sheet-body {
  font-size: 1rem;
  color: #ccc;
}

.sheet-body p {
  margin-bottom: 1.5em;
  line-height: 1.4;
}

/* ==========================================
           6. SPLASH SCREEN NATIVA
           ========================================== */
#splash-screen {
  position: fixed;
  inset: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 800px;
  background: radial-gradient(circle at center, #2e1700 0%, #000000 70%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.app-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.app-icon-container svg {
  width: 80px;
  height: 80px;
  fill: var(--text-main);
}

/* Alternador de Luz Natural / Astros */
.segmented-control {
  display: flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
}
.segmented-btn {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: 0.2s;
}
.segmented-btn.active {
  background: var(--bg-panel);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
#btn-tab-diurna.active {
  color: var(--accent-sun);
}
#btn-tab-noturna.active {
  color: #a855f7; /* Roxo espacial */
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================
           7. MÓDULOS ESPECÍFICOS E CHIPS
           ========================================== */

/* Alteração gerada em: 09/03/2026 - 23:45 */
/* Menu Lateral e Filtros */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100dvh;
  background: var(--bg-panel);
  z-index: 4000;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid var(--border-color);
  padding: calc(20px + var(--sat)) 20px 20px;
}
.side-menu.active {
  transform: translateX(0);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid var(--border-color);
}
.filter-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.filter-body.expanded {
  max-height: 1000px;
  padding-top: 12px;
}

.btn-add-inline {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--accent-datas);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
}

.filter-container {
  background: var(--bg-panel);
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}
.filter-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.filter-row:last-child {
  margin-bottom: 0;
}

.filter-chip {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 700;
  user-select: none;
}
.chip-todas.active {
  background-color: var(--text-main);
  color: var(--bg-color);
  border-color: var(--text-main);
}
.cat-edital.active {
  background: var(--cat-edital);
  color: #fff;
  border-color: var(--cat-edital);
}
.cat-convocatoria.active {
  background: var(--cat-convocatoria);
  color: #fff;
  border-color: var(--cat-convocatoria);
}
.cat-exposicao.active {
  background: var(--cat-exposicao);
  color: #fff;
  border-color: var(--cat-exposicao);
}
.cat-mostra.active {
  background: var(--cat-mostra);
  color: #fff;
  border-color: var(--cat-mostra);
}
.cat-cursos.active {
  background: var(--cat-cursos);
  color: #121212;
  border-color: var(--cat-cursos);
}
.cat-palestra.active {
  background: var(--cat-palestra);
  color: #fff;
  border-color: var(--cat-palestra);
}
.cat-workshop.active {
  background: var(--cat-workshop);
  color: #fff;
  border-color: var(--cat-workshop);
}
.cat-feira.active {
  background: var(--cat-feira);
  color: #121212;
  border-color: var(--cat-feira);
}
.cat-festival.active {
  background: var(--cat-festival);
  color: #fff;
  border-color: var(--cat-festival);
}
.cat-concurso.active {
  background: var(--cat-concurso);
  color: #fff;
  border-color: var(--cat-concurso);
}
.cat-default.active {
  background: var(--accent-datas);
  color: #121212;
  border-color: var(--accent-datas);
}
.chip-uf.active {
  background: #52525b;
  color: #fff;
  border-color: #52525b;
}

/* Eventos Agenda - Barra Colorida no Topo */
.card.datas-int {
  border-top-width: 4px;
  padding-top: 16px;
}
.card.datas-int.cat-edital {
  border-top-color: var(--cat-edital);
}
.card.datas-int.cat-convocatoria {
  border-top-color: var(--cat-convocatoria);
}
.card.datas-int.cat-exposicao {
  border-top-color: var(--cat-exposicao);
}
.card.datas-int.cat-mostra {
  border-top-color: var(--cat-mostra);
}
.card.datas-int.cat-cursos {
  border-top-color: var(--cat-cursos);
}
.card.datas-int.cat-palestra {
  border-top-color: var(--cat-palestra);
}
.card.datas-int.cat-workshop {
  border-top-color: var(--cat-workshop);
}
.card.datas-int.cat-feira {
  border-top-color: var(--cat-feira);
}
.card.datas-int.cat-festival {
  border-top-color: var(--cat-festival);
}
.card.datas-int.cat-concurso {
  border-top-color: var(--cat-concurso);
}
.card.datas-int.cat-default {
  border-top-color: var(--border-color);
}

.ev-tipo {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}
.ev-tipo.cat-edital {
  color: var(--cat-edital);
  background: rgba(16, 185, 129, 0.1);
}
.ev-tipo.cat-convocatoria {
  color: var(--cat-convocatoria);
  background: rgba(59, 130, 246, 0.1);
}
.ev-tipo.cat-exposicao {
  color: var(--cat-exposicao);
  background: rgba(217, 70, 239, 0.1);
}
.ev-tipo.cat-mostra {
  color: var(--cat-mostra);
  background: rgba(139, 92, 246, 0.1);
}
.ev-tipo.cat-cursos {
  color: var(--cat-cursos);
  background: rgba(234, 179, 8, 0.1);
}
.ev-tipo.cat-palestra {
  color: var(--cat-palestra);
  background: rgba(20, 184, 166, 0.1);
}
.ev-tipo.cat-workshop {
  color: var(--cat-workshop);
  background: rgba(99, 102, 241, 0.1);
}
.ev-tipo.cat-feira {
  color: var(--cat-feira);
  background: rgba(249, 115, 22, 0.1);
}
.ev-tipo.cat-festival {
  color: var(--cat-festival);
  background: rgba(244, 63, 94, 0.1);
}
.ev-tipo.cat-concurso {
  color: var(--cat-concurso);
  background: rgba(239, 68, 68, 0.1);
}
.card:not(.datas-int) .ev-tipo {
  color: var(--accent-eventos);
  background: rgba(156, 39, 176, 0.1);
}

.ev-titulo {
  font-size: 1.5rem;
  color: #fff;
  margin: 12px 0 8px 0;
  line-height: 1.2;
}
.ev-periodo {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ev-local {
  font-size: 0.85rem;
  color: var(--accent-warning);
  margin-bottom: 12px;
  font-weight: 700;
}
.ev-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: pre-wrap;
  margin-bottom: 16px;
}

/* Dicionário Grid */
.dicio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.dicio-item {
  border-left: 4px solid var(--accent-dicio);
  cursor: pointer;
  padding: 16px;
}
.dicio-item .term {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 6px;
}
.dicio-item .preview {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

/* Luz Natural */
.sun-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left-width: 4px;
  border-left-color: #555;
}
.sun-card.golden {
  border-left-color: var(--accent-sun);
  background: rgba(255, 179, 0, 0.05);
}
.sun-card.blue {
  border-left-color: #2196f3;
  background: rgba(33, 150, 243, 0.05);
}
.sun-card .row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}
.sun-card .time {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.sun-card .label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sun-card .info {
  font-size: 0.8rem;
  color: #888;
  border-top: 1px dashed var(--border-color);
  padding-top: 8px;
  margin-top: 4px;
  line-height: 1.4;
}

/* Luz de Estúdio Redesign */
.light-card {
  background: var(--bg-panel);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.light-card.principal {
  border-color: #4caf50;
}

.light-controls-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.light-controls-row select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  appearance: none;
}

.light-actions-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn-luz-math {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 10px 0;
  border-radius: 6px;
  font-weight: 700;
  flex: 1;
  cursor: pointer;
}
.btn-luz-math:active {
  background: #333;
}
.btn-luz-remove {
  background: transparent;
  color: var(--accent-danger);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 10px;
}

.light-feedback {
  border-top: 1px dashed var(--border-color);
  padding-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.light-success-box {
  background: rgba(76, 175, 80, 0.1);
  border-left: 4px solid #4caf50;
  padding: 12px;
  border-radius: 6px;
  margin-top: 12px;
}
.light-success-title {
  color: #4caf50;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================
           8. MÓDULO SISTEMA DE ZONAS (Fotometria)
           ========================================== */

.checklist {
  font-size: 0.85rem;
  color: var(--safe);
  background: rgba(46, 204, 113, 0.1);
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid var(--safe);
  margin-bottom: 20px;
}
.checklist ul {
  margin-left: 20px;
  margin-top: 8px;
  color: var(--text-main);
}
.checklist li {
  margin-bottom: 4px;
}

/* Régua do Fotômetro (-3 a +3) */
.meter-container {
  /* O segredo para não sobrepor o 1/30 está no padding-top de 60px */
  padding: 60px 10px 20px 10px;
  position: relative;
  margin-top: 20px;
  background: #0a0a0a;
  border-radius: 8px;
  border: 1px solid #222;
}

.meter-line {
  height: 2px;
  background: var(--text-main);
  position: relative;
  width: 100%;
}

.meter-ticks {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 40px;
  width: 100%;
  left: 0;
  padding: 0 10px;
}
.tick {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tick-mark {
  width: 2px;
  height: 12px;
  background: var(--text-main);
}
.tick.zero .tick-mark {
  height: 20px;
  background: var(--accent-zonas);
  top: -4px;
  position: relative;
}
.tick-label {
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: bold;
  color: var(--text-muted);
}

.meter-point {
  position: absolute;
  top: 15px; /* Puxa o pino para cima da linha, mas abaixo do padding superior */
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.meter-point-label {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #555;
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  margin-bottom: 6px;
  color: #fff;
}

.meter-point-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-danger);
  border-radius: 50%;
  border: 2px solid #000;
}

.verdict {
  font-size: 0.95rem;
  font-weight: bold;
  padding: 12px;
  border-radius: 8px;
  line-height: 1.5;
}
.verdict.ok {
  background: rgba(46, 204, 113, 0.15);
  color: var(--safe);
  border-left: 4px solid var(--safe);
}
.verdict.hdr {
  background: rgba(231, 76, 60, 0.15);
  color: var(--accent-danger);
  border-left: 4px solid var(--accent-danger);
}

/* Tabela Estática de Velocidades (Leitura em Z) */
.speed-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: center;
}
.speed-table td {
  border: 1px solid #222;
  padding: 10px 4px;
  vertical-align: top;
  width: 16.6%;
}
.speed-table .full-stop {
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 4px;
}
.speed-table .third-stop {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
