/* ════════════════════════════════════════════════════════════════════════════
   LISTA DE PRESENÇA · estilos próprios
   Carregado depois de tokens.css e components.css (Nova Ops UI).
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Ajustes finos do shell ─────────────────────────────────────────────── */
.sidebar-avatar { cursor: default; }
.engine-pill b { font-weight: 850; }
.engine-pill[data-status="ok"] .pulse-dot::after,
.engine-pill[data-status="info"] .pulse-dot::after { animation: none; }
.mobile-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: -.02em; }
.th-actions { text-align: right; }
.button.danger { background: var(--critical-soft); color: var(--critical-ink); border-color: color-mix(in srgb, var(--critical-fill) 25%, transparent); }
.button.danger:hover { background: var(--critical-fill); color: #fff; }
.button.danger-text { color: var(--critical-ink); }
.button.danger-text:hover { background: var(--critical-soft); border-color: transparent; color: var(--critical-ink); }
.file-button { position: relative; overflow: hidden; }
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-button:focus-within { outline: 3px solid rgba(45, 99, 246, .3); outline-offset: 3px; }

input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--critical-fill); box-shadow: 0 0 0 4px var(--critical-soft); }
.segmented button { white-space: nowrap; }
.segmented .seg-count {
  margin-left: 3px; padding: 1px 6px; border-radius: 999px; background: rgba(17, 29, 64, .07);
  font-size: inherit; font-weight: 850; font-variant-numeric: tabular-nums;
}
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }

/* ── Tabelas ────────────────────────────────────────────────────────────── */
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.row-action { display: inline-grid; place-items: center; }
.row-action svg { font-size: 15px; }
.row-action.danger:hover { background: var(--critical-soft); color: var(--critical-ink); }
.row-actions .button.small { min-height: 32px; padding: 6px 11px; }
tbody tr[data-open] { cursor: pointer; }
.count-cell strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.method-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px;
  background: var(--surface-muted); color: var(--text-soft); font-size: 10px; font-weight: 800;
}
.method-chip svg { font-size: 12px; }

/* ── Configurações ─────────────────────────────────────────────────────── */
.settings-form { display: grid; gap: 16px; }
.settings-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.settings-warning { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--attention-soft); color: var(--attention-ink); }
.security-list span { display: flex; align-items: flex-start; font-size: 11px; line-height: 1.45; }
.security-list i { flex: 0 0 18px; }
.steps-list { display: grid; gap: 10px; margin: 0 0 16px; padding-left: 20px; color: var(--text-soft); font-size: 11px; }
.steps-list b { color: var(--text); }
.settings-danger { padding-top: 14px; border-top: 1px solid var(--border); }
.check-control { width: auto; }
.field-hint { font-size: 10px; line-height: 1.4; }

/* ── Modal de confirmação ──────────────────────────────────────────────── */
.confirm-modal { width: min(480px, calc(100% - 30px)); }
.confirm-body { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.confirm-body h2 { margin: 2px 0 6px; font-size: 19px; letter-spacing: -.03em; }
.confirm-body p { margin: 0; color: var(--text-soft); font-size: 13px; line-height: 1.5; }

/* ── Cadastro do rosto ─────────────────────────────────────────────────── */
.enroll {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px;
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border);
}
.enroll-stage {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 18px;
  background: linear-gradient(145deg, #0b1533, #1b2b57);
}
.enroll-stage video, .enroll-stage canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1);
}
.enroll-guide {
  position: absolute; top: 48%; left: 50%; width: 42%; aspect-ratio: 3 / 4; transform: translate(-50%, -50%);
  border: 3px dashed rgba(255, 255, 255, .45); border-radius: 50%; pointer-events: none; transition: border-color .2s;
}
.enroll-stage[data-state="off"] video, .enroll-stage[data-state="off"] canvas,
.enroll-stage[data-state="off"] .enroll-guide { display: none; }
.enroll-stage[data-state="done"] .enroll-guide { border-style: solid; border-color: var(--ok-fill); }
.enroll-placeholder {
  position: absolute; inset: 0; display: none; place-content: center; justify-items: center; gap: 10px;
  color: #9fb0d3; font-size: 12px; text-align: center;
}
.enroll-placeholder span {
  display: grid; width: 56px; height: 56px; place-items: center; border-radius: 18px;
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 26px;
}
.enroll-placeholder p { margin: 0; }
.enroll-stage[data-state="off"] .enroll-placeholder { display: grid; }
.enroll-msg {
  position: absolute; right: 12px; bottom: 12px; left: 12px; margin: 0; padding: 9px 12px; border-radius: 12px;
  background: rgba(8, 16, 40, .78); color: #fff; font-size: 12px; font-weight: 800; text-align: center;
  backdrop-filter: blur(6px);
}
.enroll-side { display: flex; min-width: 0; flex-direction: column; gap: 14px; }
.enroll-side h3 { margin: 0; font-size: 14px; }
.enroll-status {
  padding: 13px 14px; border-left: 4px solid var(--tone); border-radius: 13px; background: var(--tone-soft);
}
.enroll-status strong { display: block; color: var(--tone-ink); font-size: 13px; }
.enroll-avatar { float: right; width: 60px; height: 60px; margin: -3px -3px 6px 12px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; background: #fff; }
img.avatar-photo { padding: 0; object-fit: cover; background: var(--surface-muted); }
.enroll-status p { margin: 3px 0 0; color: var(--text-soft); font-size: 11px; line-height: 1.4; }
.enroll-samples { display: flex; gap: 5px; margin-bottom: 8px; }
.enroll-samples i { width: 26px; height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--tone) 22%, #fff); }
.enroll-samples i.filled { background: var(--tone); }
.enroll-actions { display: grid; gap: 8px; }
.enroll-actions .button { width: 100%; }
.enroll-actions .link-button { justify-self: start; color: var(--critical-ink); }
.consent { align-items: flex-start; margin-top: auto; padding: 12px; border: 1px solid var(--border); border-radius: 12px; line-height: 1.4; }
.consent > span { flex: 0 0 18px; margin-top: 1px; }

/* ── Importação ────────────────────────────────────────────────────────── */
.import-summary { margin-top: 16px; }
.import-summary .table-scroll { max-height: 240px; overflow: auto; border: 1px solid var(--border); border-radius: 12px; }
.import-summary p { margin: 0 0 10px; font-size: 12px; }
.import-summary td { padding-block: 8px; }

/* ── Lista de presença do evento ───────────────────────────────────────── */
.att-head { margin-bottom: 16px; }
.att-grid { display: grid; grid-template-columns: minmax(250px, .32fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.event-details { padding: 18px; }
.event-details h3 { margin: 4px 0 2px; font-size: 18px; letter-spacing: -.03em; line-height: 1.2; }
.event-details > p { margin: 0 0 14px; color: var(--text-soft); font-size: 11px; }
.event-details dl { display: grid; gap: 0; margin: 0; }
.event-details dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.event-details dt { color: var(--text-soft); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.event-details dd { min-width: 0; margin: 0; overflow: hidden; font-size: 12px; font-weight: 800; text-align: right; text-overflow: ellipsis; }
.event-details .event-notes { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-muted); color: var(--text-soft); font-size: 11px; }
.att-add { position: relative; width: min(320px, 100%); }
.att-add .place-results { top: calc(100% + 6px); }
.place-result .mini-avatar { width: 26px; height: 26px; border-radius: 8px; font-size: 8px; }

/* ── Check-in: tela da entrada do evento ───────────────────────────────── */
/* Tema claro: fundo cinza-azulado bem suave, painéis brancos com borda. */
.checkin {
  position: fixed; z-index: 2500; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px;
  padding: 16px 18px; color: var(--text); background: var(--background);
}
body.checkin-open { overflow: hidden; }
.checkin-head { display: flex; min-width: 0; align-items: center; gap: 16px; }
.checkin-exit, .checkin-icon {
  display: inline-flex; min-height: 46px; align-items: center; gap: 8px; padding: 0 15px;
  border: 1px solid var(--border); border-radius: 14px; background: #fff;
  color: var(--text-soft); cursor: pointer; font-size: 13px; font-weight: 800; transition: background .2s;
}
.checkin-icon { width: 46px; justify-content: center; padding: 0; }
.checkin-exit:hover, .checkin-icon:hover { background: var(--surface-muted); color: var(--text); }
.checkin-exit svg, .checkin-icon svg { font-size: 18px; }
.checkin-title { min-width: 0; flex: 1; }
.checkin-title small { color: var(--brand); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.checkin-title h2 {
  margin: 2px 0 0; overflow: hidden; color: var(--navy); font-size: clamp(20px, 2.1vw, 36px); letter-spacing: -.035em; line-height: 1.1;
  text-overflow: ellipsis; white-space: nowrap;
}
.checkin-title p { margin: 3px 0 0; overflow: hidden; color: var(--text-soft); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.checkin-count { text-align: right; }
.checkin-count strong { display: block; color: var(--ok-ink); font-size: clamp(32px, 3vw, 54px); font-weight: 900; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.checkin-count small { color: var(--text-soft); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.checkin-clock {
  padding-left: 16px; border-left: 1px solid var(--border); color: var(--navy);
  font-size: clamp(18px, 1.6vw, 28px); font-weight: 800; font-variant-numeric: tabular-nums;
}

.checkin-body { display: grid; min-height: 0; grid-template-columns: minmax(0, 1fr) clamp(300px, 32vw, 560px); gap: 14px; }
.checkin-stage {
  position: relative; min-height: 0; overflow: hidden; border: 1px solid var(--border);
  border-radius: 26px; background: #e9eef6;
}
.checkin-stage video, .checkin-stage canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1);
}
/* Sem contorno no meio: o rosto é procurado no quadro inteiro. A borda do vídeo mostra a situação. */
.checkin-stage { border-width: 3px; transition: border-color .25s; }
.checkin-stage[data-state="scanning"] { border-color: var(--ok-fill); }
.checkin-stage[data-state="ok"] { border-color: var(--ok-fill); }
.checkin-stage[data-state="already"] { border-color: var(--info-fill); }
.checkin-stage[data-state="unknown"] { border-color: var(--attention-fill); }
.checkin-hint {
  position: absolute; top: 18px; left: 50%; max-width: calc(100% - 36px); margin: 0; padding: 10px 20px;
  border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--navy);
  font-size: clamp(14px, 1.25vw, 22px); font-weight: 800; text-align: center; transform: translateX(-50%); white-space: nowrap;
}
.checkin-stage[data-state="loading"] .checkin-hint, .checkin-stage[data-state="error"] .checkin-hint { display: none; }

.checkin-state {
  position: absolute; inset: 0; display: none; place-content: center; justify-items: center; gap: 10px;
  padding: 24px; background: #fff; text-align: center;
}
.checkin-stage[data-state="loading"] .checkin-state, .checkin-stage[data-state="error"] .checkin-state { display: grid; }
.checkin-state strong { color: var(--navy); font-size: clamp(18px, 1.6vw, 26px); letter-spacing: -.02em; }
.checkin-state p { max-width: 480px; margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.5; }
.checkin-state .button { margin-top: 8px; }
.checkin-spinner {
  width: 42px; height: 42px; border: 3px solid var(--border); border-top-color: var(--brand);
  border-radius: 50%; animation: spin .8s linear infinite;
}
.checkin-stage[data-state="error"] .checkin-spinner { display: none; }

/* Resultado: a leitura de 3 segundos da entrada. Verde = pode seguir. */
.checkin-result {
  position: absolute; right: 18px; bottom: 18px; left: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr);
  align-items: center; gap: 18px; padding: clamp(14px, 1.3vw, 24px) clamp(16px, 1.6vw, 28px);
  border-left: 8px solid var(--tone); border-radius: 22px; background: var(--tone-soft); color: var(--text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .4); animation: pop .22s var(--ease);
}
.checkin-result-mark {
  display: grid; width: clamp(52px, 4.4vw, 76px); height: clamp(52px, 4.4vw, 76px); place-items: center;
  border-radius: 20px; background: var(--tone); color: #fff; font-size: clamp(26px, 2.2vw, 40px); font-weight: 900;
}
.checkin-result strong {
  display: block; overflow: hidden; color: var(--tone-ink); font-size: clamp(22px, 2.3vw, 40px);
  letter-spacing: -.035em; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap;
}
.checkin-result p { margin: 4px 0 0; color: var(--text-soft); font-size: clamp(13px, 1.05vw, 19px); font-weight: 600; }
/* Só o que pede ação se move: rosto não reconhecido. */
.checkin-result[data-status="attention"] .checkin-result-mark { animation: pulse-ring 2.2s ease-out infinite; }

.checkin-side {
  display: flex; min-height: 0; flex-direction: column; overflow: hidden;
  border: 1px solid var(--border); border-radius: 26px; background: #fff;
}
.checkin-side h3 { margin: 0; color: var(--text-soft); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

/* Participantes: todos os cadastrados; quem registra presença fica verde. */
.roster-head { display: grid; gap: 10px; padding: 16px 16px 12px; border-bottom: 1px solid var(--border); }
.roster-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.roster-title span { color: var(--navy); font-size: clamp(15px, 1.2vw, 20px); font-weight: 850; font-variant-numeric: tabular-nums; }
.roster-progress { height: 6px; overflow: hidden; border-radius: 99px; background: var(--border); }
.roster-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--ok-fill); transition: width .6s var(--ease); }
.roster-filter { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--surface-muted); }
.roster-filter button {
  flex: 1; min-height: 34px; padding: 0 8px; border: 1px solid transparent; border-radius: 9px; background: transparent;
  color: var(--text-soft); cursor: pointer; font-size: 12px; font-weight: 800; white-space: nowrap;
}
.roster-filter button b { margin-left: 2px; color: var(--text); font-variant-numeric: tabular-nums; }
.roster-filter button:hover { color: var(--text); }
.roster-filter button.active { border-color: var(--border); background: #fff; color: var(--navy); }
.roster {
  display: grid; min-height: 0; flex: 1; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); align-content: start; gap: 8px;
  margin: 0; padding: 12px; overflow-y: auto; list-style: none; scrollbar-width: thin; scrollbar-color: rgba(17, 29, 64, .18) transparent;
}
.roster-person {
  position: relative; display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 1px; padding: 12px 6px 10px;
  border: 1px solid var(--border); border-radius: 16px; background: #fff; text-align: center;
  transition: background .4s, border-color .4s;
}
.roster-photo {
  position: relative; display: grid; width: 74%; max-width: 88px; aspect-ratio: 1; place-items: center; margin-bottom: 8px;
  border-radius: 50%; background: var(--surface-muted);
}
.roster-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.roster-photo b { color: var(--text-soft); font-size: clamp(16px, 1.3vw, 22px); font-weight: 900; }
.roster-person strong { width: 100%; overflow: hidden; color: var(--navy); font-size: 13px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.roster-person small { width: 100%; overflow: hidden; color: var(--text-soft); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.roster-person[data-state="pending"] .roster-photo { opacity: .6; filter: grayscale(1); }
.roster-person[data-state="pending"] strong { color: var(--text-soft); }
.roster-person[data-state="present"] { border-color: color-mix(in srgb, var(--ok-fill) 55%, transparent); background: var(--ok-soft); }
.roster-person[data-state="present"] .roster-photo { outline: 3px solid var(--ok-fill); outline-offset: 2px; }
.roster-person[data-state="present"] small { color: var(--ok-ink); font-weight: 800; }
.roster-check {
  position: absolute; right: -6%; bottom: -6%; display: grid; width: 34%; min-width: 22px; aspect-ratio: 1; place-items: center;
  border: 3px solid var(--ok-soft); border-radius: 50%; background: var(--ok-fill);
}
.roster-check svg { width: 62%; height: 62%; fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
/* Recém-registrado: entra com destaque e fica mais forte por alguns segundos. */
.roster-person.fresh { animation: roster-fresh 7s var(--ease) both; }
.roster-empty { grid-column: 1 / -1; padding: 30px 12px; color: var(--text-soft); font-size: 13px; text-align: center; }
@keyframes roster-fresh {
  0% { transform: scale(.9); background: color-mix(in srgb, var(--ok-fill) 45%, #fff); }
  6% { transform: scale(1.05); }
  10% { transform: none; }
  80% { background: color-mix(in srgb, var(--ok-fill) 30%, #fff); }
  100% { background: var(--ok-soft); }
}
.place-results .place-empty { margin: 8px; color: var(--text-soft); font-size: 11px; }

.checkin-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.checkin-foot p { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text-soft); font-size: 12px; }
.checkin-foot p svg { color: var(--ok-fill); font-size: 16px; }
.button.checkin-manual { min-height: 54px; padding: 0 22px; border-radius: 16px; background: var(--brand); color: #fff; font-size: 15px; }
.button.checkin-manual:hover { background: var(--brand-strong); }

/* ── Check-in · estados da leitura ─────────────────────────────────────── */
/* Linhas explícitas: a tela de confirmação ocupa as linhas 2–3 por cima do
   vídeo e da lista, sem empurrar os outros blocos. */
.checkin-head { grid-row: 1; grid-column: 1; }
.checkin-body { grid-row: 2; grid-column: 1; }
.checkin-foot { grid-row: 3; grid-column: 1; }

.checkin-stage[data-state="scanning"] .checkin-hint { border-color: transparent; background: var(--ok-fill); color: #fff; }
.checkin-count.bump strong { animation: count-bump .7s cubic-bezier(.34, 1.56, .64, 1); }

@keyframes scanline { from { top: 12%; } to { top: 86%; } }
@keyframes count-bump { 40% { color: var(--ok-fill); transform: scale(1.4); } }

/* ── Check-in · tela de presença confirmada ────────────────────────────── */
.ci-success {
  --glow: var(--tone);
  --takeover-bg: color-mix(in srgb, var(--tone) 9%, #fff);
  position: relative; z-index: 6; grid-row: 2 / 4; grid-column: 1;
  display: grid; place-items: center; overflow: hidden; border-radius: 30px;
  border: 2px solid color-mix(in srgb, var(--tone) 45%, transparent); background: var(--takeover-bg); color: var(--text);
  animation: takeover-in .3s var(--ease) both;
}
/* O que fica por trás some enquanto a confirmação está na tela (senão o botão
   branco aparece pelo canto arredondado) e volta junto com a saída dela. */
.checkin-body, .checkin-foot { transition: opacity .3s var(--ease); }
.checkin:has(> .ci-success:not([hidden]):not(.leaving)) > :is(.checkin-body, .checkin-foot) { opacity: 0; }
.ci-success.leaving { animation: takeover-out .32s var(--ease) both; }
/* Explosão de luz atrás do rosto. */
.ci-success::before {
  position: absolute; top: 36%; left: 50%; width: min(130vh, 1400px); aspect-ratio: 1; border-radius: 50%; content: "";
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 30%, transparent) 0, transparent 60%);
  transform: translate(-50%, -50%); animation: glow-burst 1.1s cubic-bezier(.2, .7, .2, 1) both; pointer-events: none;
}
.ci-confetti { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

.ci-success-card {
  position: relative; z-index: 2; display: flex; max-width: min(1180px, 94%); flex-direction: column; align-items: center;
  padding: clamp(14px, 2.4vh, 28px) 20px clamp(34px, 5vh, 56px); text-align: center;
}
.ci-success-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 8px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tone) 40%, transparent); background: #fff;
  color: var(--tone-ink); font-size: clamp(12px, 1.7vh, 17px); letter-spacing: .16em; text-transform: uppercase;
  animation: rise .45s var(--ease) .04s both;
}
.ci-success-eyebrow b { font-weight: 850; }
.ci-success-eyebrow svg { width: 1.7em; height: 1.7em; padding: .28em; border-radius: 50%; background: var(--tone); color: #fff; }

.ci-avatar {
  position: relative; width: clamp(140px, 27vh, 290px); aspect-ratio: 1;
  margin: clamp(22px, 4vh, 44px) 0 clamp(16px, 2.8vh, 30px);
  animation: avatar-pop .65s cubic-bezier(.34, 1.56, .64, 1) .06s both;
}
.ci-avatar-ripples i {
  position: absolute; inset: 0; border: 2px solid var(--glow); border-radius: 50%; opacity: 0;
  animation: ripple 2.1s cubic-bezier(.2, .6, .3, 1) infinite;
}
.ci-avatar-ripples i:nth-child(2) { animation-delay: .45s; }
.ci-avatar-ripples i:nth-child(3) { animation-delay: .9s; }
.ci-avatar-ring {
  position: absolute; inset: -9%; width: 118%; height: 118%; overflow: visible; transform: rotate(-90deg);
}
.ci-avatar-ring circle { fill: none; }
.ci-avatar-ring .track { stroke: color-mix(in srgb, var(--tone) 18%, #fff); stroke-width: 2.5; }
.ci-avatar-ring .draw {
  stroke: var(--glow); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 352; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px var(--glow)); animation: ring-draw .9s cubic-bezier(.65, 0, .35, 1) .12s both;
}
.ci-avatar-photo, .ci-avatar-initials {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .07), 0 24px 60px rgba(0, 0, 0, .45);
}
.ci-avatar-photo { display: none; background: var(--surface-muted); }
.ci-success.has-photo .ci-avatar-photo { display: block; }
.ci-success.has-photo .ci-avatar-initials { display: none; }
.ci-avatar-initials {
  display: grid; place-items: center; color: #fff; font-size: clamp(46px, 9.5vh, 104px); font-weight: 900; letter-spacing: -.04em;
  background: linear-gradient(145deg, var(--tone), color-mix(in srgb, var(--tone) 40%, #0b1533));
}
.ci-avatar-badge {
  position: absolute; right: 0; bottom: 2%; display: grid; width: 31%; aspect-ratio: 1; place-items: center; border-radius: 50%;
  border: clamp(4px, .7vh, 7px) solid var(--takeover-bg); background: var(--tone);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--tone) 55%, transparent);
  animation: badge-pop .55s cubic-bezier(.34, 1.56, .64, 1) .6s both;
}
.ci-avatar-badge svg { width: 62%; height: 62%; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.ci-avatar-badge path { stroke-dasharray: 26; stroke-dashoffset: 0; animation: check-draw .45s ease-out .82s both; }

.ci-success-greeting {
  margin: 0; color: var(--tone-ink); font-size: clamp(18px, 3.1vh, 32px); font-weight: 700;
  animation: rise .5s var(--ease) .18s both;
}
.ci-success-name {
  margin: 2px 0 0; color: var(--navy); font-size: clamp(34px, 7.6vh, 96px); font-weight: 900; letter-spacing: -.045em; line-height: 1.04;
  text-shadow: 0 10px 44px rgba(0, 0, 0, .38); text-wrap: balance;
}
.ci-success-name span {
  display: inline-block; animation: word-in .65s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(.26s + var(--i, 0) * .075s);
}
.ci-success-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 1.2vh, 12px); margin: clamp(16px, 3vh, 32px) 0 0; padding: 0; list-style: none; }
.ci-success-chips li {
  display: flex; min-width: clamp(110px, 12vw, 170px); flex-direction: column; align-items: flex-start; gap: 2px;
  padding: clamp(8px, 1.3vh, 13px) clamp(14px, 1.4vw, 22px); border: 1px solid var(--border); border-radius: 16px;
  background: #fff; text-align: left;
  animation: rise .5s var(--ease) both; animation-delay: calc(.52s + var(--i, 0) * .08s);
}
.ci-success-chips small { color: var(--text-soft); font-size: clamp(10px, 1.35vh, 13px); font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.ci-success-chips strong { color: var(--navy); font-size: clamp(16px, 2.5vh, 26px); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.ci-success-foot { margin: clamp(14px, 2.6vh, 28px) 0 0; color: var(--text-soft); font-size: clamp(14px, 2.1vh, 21px); animation: rise .5s var(--ease) .85s both; }
.ci-success-foot b { color: var(--tone-ink); font-weight: 850; }

/* Barra dos 5 segundos: mostra quanto falta para a tela liberar o próximo. */
.ci-success-timer {
  position: absolute; z-index: 2; right: clamp(20px, 3vw, 40px); bottom: clamp(16px, 2.6vh, 26px); left: clamp(20px, 3vw, 40px);
  height: 5px; overflow: hidden; border-radius: 99px; background: color-mix(in srgb, var(--tone) 18%, #fff);
}
.ci-success-timer i {
  display: block; height: 100%; border-radius: inherit; transform-origin: left center;
  background: linear-gradient(90deg, var(--tone), var(--glow)); animation: timer-run var(--duration, 5s) linear both;
}

@keyframes takeover-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
@keyframes takeover-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(1.012); } }
@keyframes glow-burst { from { opacity: 0; transform: translate(-50%, -50%) scale(.15); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes avatar-pop { 0% { opacity: 0; transform: scale(.45); } 70% { opacity: 1; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }
@keyframes badge-pop { from { opacity: 0; transform: scale(0) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes ring-draw { from { stroke-dashoffset: 352; } to { stroke-dashoffset: 0; } }
@keyframes check-draw { from { stroke-dashoffset: 26; } to { stroke-dashoffset: 0; } }
@keyframes word-in { from { opacity: 0; filter: blur(10px); transform: translateY(45%); } to { opacity: 1; filter: none; transform: none; } }
@keyframes ripple { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(2.3); } }
@keyframes timer-run { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media (prefers-reduced-motion: reduce) {
  .ci-avatar-ripples { display: none; }
}

/* Registro manual */
.manual-results { display: grid; gap: 6px; margin-top: 12px; }
.manual-results > p { margin: 10px 4px; color: var(--text-soft); font-size: 13px; }
.manual-person {
  display: grid; width: 100%; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 14px; background: #fff; cursor: pointer; text-align: left;
  transition: background .15s, border-color .15s;
}
.manual-person:hover, .manual-person:focus-visible { border-color: #bfd0ff; background: var(--brand-soft); }
.manual-person .mini-avatar { width: 42px; height: 42px; border-radius: 13px; font-size: 12px; }
.manual-person strong, .manual-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.manual-person strong { font-size: 14px; }
.manual-person small { color: var(--text-soft); font-size: 11px; }

/* ── Usuários do RH ────────────────────────────────────────────────────── */
.topbar-profile .avatar { background: linear-gradient(145deg, var(--brand), #52a7ff); }
.users-list { display: grid; }
.user-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); }
.user-row:first-child { border-top: 0; }
.user-row strong, .user-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-row strong { font-size: 12px; }
.user-row small { color: var(--text-soft); font-size: 10px; }
.user-row .method-chip { padding: 1px 7px; vertical-align: 1px; }
.users-form { display: grid; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.users-form-title { margin: 0; color: var(--text-soft); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.users-form .form-grid { gap: 10px; }
.users-form .button { justify-self: start; }

/* ── Login ─────────────────────────────────────────────────────────────── */
.login-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 18px; letter-spacing: -.02em; }
.login-brand img { border-radius: 14px; }
.login-brand b { font-weight: 850; }
.login-brand.dark { color: var(--text); }
.login-brand.mobile-login-logo { display: none; }
.input-wrap.no-icon input { padding-right: 84px; padding-left: 14px !important; }
.login-demo { margin: auto 0 34px; }
.login-demo-stage {
  position: relative; width: min(540px, 100%); aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  background: radial-gradient(circle at 50% 42%, rgba(45, 99, 246, .3), transparent 60%), linear-gradient(160deg, #0a1636, #050b1d);
}
.login-demo-guide {
  position: absolute; top: 44%; left: 50%; width: 25%; aspect-ratio: 3 / 4; overflow: hidden; transform: translate(-50%, -50%);
  border: 3px solid var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(112, 224, 180, .12), 0 0 50px rgba(112, 224, 180, .25);
}
.login-demo-guide::after {
  position: absolute; top: 12%; right: 6%; left: 6%; height: 3px; border-radius: 99px; content: "";
  background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 18px 3px rgba(112, 224, 180, .65);
  animation: scanline 1.25s ease-in-out infinite alternate;
}
.login-demo-card {
  position: absolute; bottom: 8%; left: 50%; display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px;
  border-left: 5px solid var(--ok-fill); border-radius: 16px; background: var(--ok-soft); box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  transform: translateX(-50%); white-space: nowrap; animation: login-card 4.5s var(--ease) infinite;
}
.login-demo-card i { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: var(--ok-fill); color: #fff; font-style: normal; font-weight: 900; }
.login-demo-card small { display: block; color: var(--ok-ink); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.login-demo-card b { display: block; color: var(--text); font-size: 15px; }
.login-demo-card em { display: block; color: var(--text-soft); font-size: 11px; font-style: normal; }
@keyframes login-card {
  0%, 28% { opacity: 0; transform: translate(-50%, 18px); }
  38%, 86% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}
@media (max-width: 900px) {
  .login-brand.mobile-login-logo { display: inline-flex; width: auto; margin-bottom: 36px; }
  .login-brand.mobile-login-logo img { width: 44px; height: 44px; }
  .login-brand.mobile-login-logo b { white-space: nowrap; }
}

/* ── Marca Nova Foods ──────────────────────────────────────────────────── */
.sidebar-logo { display: block; width: 44px; height: auto; }
.mobile-bar .mobile-brand-logo { width: auto; height: 30px; }
.mobile-brand span { padding-left: 10px; border-left: 1px solid var(--border); font-size: 13px; }
.login-brand .login-brand-logo { width: auto; height: 48px; border-radius: 0; }
.login-brand b { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .28); font-size: 16px; }
.login-brand.dark b { border-left-color: var(--border); }
.login-brand.mobile-login-logo .login-brand-logo { width: auto; height: 36px; }
.login-panel-logo { display: block; width: 210px; height: auto; margin-bottom: 30px; }
.checkin-logo { flex: none; width: auto; height: 38px; }
@media (max-width: 900px) {
  .login-panel-logo, .checkin-logo { display: none; }
}

/* ── Impressão da lista (A4) ───────────────────────────────────────────── */
.ps-logo { display: block; width: auto; height: 30pt; margin-bottom: 8px; }
.print-sheet { display: none; }
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  body.printing { min-width: 0; background: #fff; }
  body.printing > *:not(#print-root) { display: none !important; }
  body.printing #print-root { display: block !important; }
}
.print-sheet { color: #111; font-family: "Onest", "Segoe UI", Arial, sans-serif; font-size: 10pt; }
.ps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 10px; border-bottom: 2px solid #111d40; }
.ps-head small { color: #5e6d89; font-size: 8pt; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ps-head h1 { margin: 2px 0 0; font-size: 18pt; letter-spacing: -.02em; }
.ps-stamp { padding: 6px 10px; border: 1px solid #c9d3e3; border-radius: 6px; font-size: 8.5pt; text-align: right; }
.ps-stamp b { font-size: 12pt; }
.print-sheet h2 { margin: 14px 0 8px; font-size: 13pt; }
.ps-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 16px; margin: 0 0 14px; }
.ps-meta dt { color: #5e6d89; font-size: 7.5pt; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.ps-meta dd { margin: 0; font-size: 10pt; font-weight: 700; }
.ps-table { width: 100%; border-collapse: collapse; white-space: normal; }
.ps-table th, .ps-table td { padding: 5px 6px; border: 1px solid #c9d3e3; font-size: 9pt; text-align: left; }
.ps-table th { background: #eef3fa !important; color: #17213a; font-size: 7.5pt; letter-spacing: .05em; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ps-table tr { break-inside: avoid; }
.ps-table td:first-child { width: 28px; text-align: center; }
.ps-note { margin: 12px 0 0; color: #5e6d89; font-size: 8pt; line-height: 1.45; }
.ps-signs { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 46px; break-inside: avoid; }
.ps-signs div { padding-top: 6px; border-top: 1px solid #111; font-size: 9pt; text-align: center; }
.ps-footer { margin-top: 18px; color: #94a1b8; font-size: 7.5pt; text-align: center; }

/* ── Certificados (RH) ─────────────────────────────────────────────────── */
.signature-pad {
  position: relative; width: 100%; aspect-ratio: 800 / 260; overflow: hidden; margin-top: 6px;
  border: 1px dashed #c3d0e4; border-radius: var(--radius-sm); background: var(--surface-muted); touch-action: none;
}
.signature-pad::before {
  position: absolute; right: 9%; bottom: 26%; left: 9%; border-top: 1px solid #cfd9e8; content: ""; pointer-events: none;
}
.signature-pad canvas, .signature-pad img { position: absolute; inset: 0; width: 100%; height: 100%; }
.signature-pad canvas { cursor: crosshair; }
.signature-pad img { padding: 12px 9%; object-fit: contain; pointer-events: none; }
.signature-hint { position: absolute; right: 0; bottom: 8%; left: 0; margin: 0; color: var(--text-soft); font-size: 12px; text-align: center; pointer-events: none; }
.signature-pad:not([data-state="empty"]) .signature-hint { display: none; }
.signature-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cert-email-state { margin-top: 18px; }
.cert-card .settings-actions:last-child { margin-bottom: 0; }

.cert-checks { display: grid; gap: 8px; margin-bottom: 14px; }
.cert-check {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent); border-radius: var(--radius-xs);
  background: var(--tone-soft); color: var(--tone-ink); font-size: 13px; font-weight: 600;
}
.cert-check .link-button { margin-left: auto; color: var(--tone-ink); font-weight: 800; text-decoration: underline; }
.cert-summary { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; color: var(--text-soft); font-size: 13px; }
.cert-summary b { color: var(--text); }
.cert-summary-error b { color: var(--critical-ink); }
.cert-table .status-badge { white-space: nowrap; }
.cert-email { word-break: break-all; }
.cert-sub { max-width: 220px; }
.cert-modal { width: min(860px, calc(100% - 30px)); }

.portal-access {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 16px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-muted);
}
.portal-access strong { display: block; font-size: 13px; }
.portal-access p { margin: 2px 0 0; color: var(--text-soft); font-size: 12px; }
.portal-code { display: grid; gap: 2px; margin-top: 10px; padding: 12px 14px; border: 1px solid #bfd0ff; border-radius: var(--radius-sm); background: var(--brand-soft); font-size: 12px; }
.portal-code > span { color: var(--brand-strong); font-weight: 800; }
.portal-code b { color: var(--navy); font-size: 28px; font-variant-numeric: tabular-nums; letter-spacing: .22em; }
.portal-code small { color: var(--text-soft); font-size: 12px; line-height: 1.45; }

.login-portal-link {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: 18px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-muted); color: var(--text-soft); font-size: 13px;
}
.login-portal-link b { color: var(--brand-strong); }
.login-portal-link:hover { border-color: #bfd0ff; background: var(--brand-soft); }

/* ── Portal do funcionário e validação ─────────────────────────────────── */
.portal-page { min-height: 100vh; background: var(--background); }
.portal-shell { display: flex; flex-direction: column; gap: 16px; width: min(560px, 100%); min-height: 100vh; margin: 0 auto; padding: 22px 16px 18px; }
.portal-header { display: flex; align-items: center; gap: 14px; padding: 4px 2px 6px; }
.portal-logo { width: auto; height: 40px; }
.portal-app { padding-left: 14px; border-left: 1px solid #cfd9e8; color: var(--text); font-size: 15px; font-weight: 800; }
.portal-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; }
.portal-card h1 { margin: 0; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.portal-lead { margin: 6px 0 18px; color: var(--text-soft); font-size: 14px; }
.portal-form { display: grid; gap: 14px; }
.portal-form .field > span { font-size: 12px; }
.portal-form input { font-size: 16px; }
.portal-form .button { justify-content: center; width: 100%; }
.portal-code-input { font-variant-numeric: tabular-nums; letter-spacing: .3em; }
.portal-first { display: grid; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.portal-first p { margin: 0; color: var(--text-soft); font-size: 13px; text-align: center; }
.portal-first .button { justify-content: center; width: 100%; }
.portal-back { margin-bottom: 14px; font-size: 13px; }
.portal-switch { display: block; margin: 16px auto 0; font-size: 13px; }
.portal-error { margin: 0; color: var(--critical-ink); font-size: 13px; }
.portal-page .form-alert { font-size: 13px; }
.form-alert.warning { background: var(--attention-soft); color: var(--attention-ink); }
.portal-list { display: grid; gap: 12px; }
.portal-welcome { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.portal-welcome .portal-lead { margin-bottom: 0; }
.cert-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cert-item { display: grid; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.cert-item-kind { color: var(--brand); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.cert-item h2 { margin: 2px 0 0; font-size: 17px; line-height: 1.25; }
.cert-item p { margin: 3px 0 0; color: var(--text-soft); font-size: 13px; }
.cert-item-actions { display: flex; gap: 8px; }
.cert-item-actions .button { flex: 1; justify-content: center; }
.portal-empty { text-align: center; }
.portal-empty h2 { margin: 0 0 6px; font-size: 17px; }
.portal-empty p { margin: 0; color: var(--text-soft); font-size: 14px; }
.portal-footer { margin-top: auto; padding-top: 8px; color: var(--text-soft); font-size: 12px; text-align: center; }
.portal-footer a { color: var(--brand-strong); font-weight: 700; }
.validation-card[data-status] { border-top: 4px solid var(--tone); }
.validation-card .status-badge { margin-bottom: 12px; font-size: 12px; }
.validation-list { display: grid; margin: 0; }
.validation-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 14px; }
.validation-list dt { color: var(--text-soft); }
.validation-list dd { margin: 0; font-weight: 700; text-align: right; }
@media (min-width: 560px) {
  .cert-item { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .cert-item-actions .button { flex: none; }
}

/* ── Responsivo ────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
  .method-chip, .field-hint { font-size: var(--ui-xs); }
  .security-list span, .steps-list { font-size: var(--ui-sm); }
}
@media (max-width: 1180px) {
  .att-grid { grid-template-columns: 1fr; }
  .table-heading { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .checkin-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 260px; }
  .roster { grid-template-columns: none; grid-auto-columns: 100px; grid-auto-flow: column; overflow-x: auto; overflow-y: hidden; }
  .checkin-clock { display: none; }
  .enroll { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .mobile-nav { grid-template-columns: repeat(4, 1fr); }
  .engine-pill { display: none; }
  .topbar-actions .button span { display: none; }
  .table-heading-actions { flex-wrap: wrap; }
  .checkin { padding: 10px; gap: 10px; }
  .checkin-exit span { display: none; }
  .checkin-foot p { display: none; }
  .checkin-foot .button { width: 100%; }
  .checkin-hint { white-space: normal; }
  .ps-meta { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════════
   VISUAL PLANO · sem sombras, sem brilhos, sidebar branca
   Fica no fim do arquivo de propósito: sobrepõe o padrão visual base.
   ════════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-shadow: none !important; text-shadow: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Sem "levantar" ao passar o mouse e sem enfeites decorativos. */
.button:hover, .button:active, .icon-button:hover, .kpi-card:hover, .report-card:hover,
.upload-drop:hover, .upload-drop:focus-within, .import-type-card:hover, .vehicle-card:hover { transform: none; }
.kpi-card::after { display: none; }
.verdict { background: var(--tone-soft); animation: none; }
.pulse-dot::after { display: none; }
.live-badge i, .sync-pill > span { animation: none; }

/* Superfícies chapadas, só com borda. */
.panel { border-color: var(--border); }
.app-topbar { border-color: var(--border); background: #fff; backdrop-filter: none; }
.view-tabs { border-color: var(--border); background: #fff; backdrop-filter: none; }
.app-modal, .command-dialog { border: 1px solid var(--border); }
dialog::backdrop { background: rgba(17, 29, 64, .45); backdrop-filter: none; }
.mobile-nav { border-color: var(--border); background: #fff; backdrop-filter: none; }

/* Sidebar branca. */
.app-sidebar { border: 1px solid var(--border); background: #fff; }
.nav-item { color: var(--text-soft); }
.nav-item:hover { background: var(--surface-muted); color: var(--text); }
.nav-item.active { background: var(--brand-soft); color: var(--brand-strong); }
.sidebar-avatar, .topbar-profile .avatar {
  border: 0; background: var(--brand-soft); color: var(--brand-strong);
}
@media (max-width: 680px) {
  .menu-open .app-sidebar { border: 1px solid var(--border); }
}

/* Login sem brilhos. */
.login-story { background: var(--navy); }
.login-demo-stage { background: #0b1533; }
.login-demo-guide::after { background: var(--accent); }

/* Check-in (tema claro): chapado, sem halos, sem ondas e sem explosão de luz. */
.ci-success::before, .ci-avatar-ripples { display: none; }
.ci-avatar-ring .draw { filter: none; }
.ci-avatar-initials { background: var(--tone); }
.ci-success-timer i { background: var(--tone); }
