/* =========================================================
   Design system — Central de Suporte
   ========================================================= */
:root {
  color-scheme: light;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f4f6fa;
  --surface-3: #eaeef5;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --text: #0b1220;
  --text-2: #4a5468;
  --muted: #8a93a6;
  --accent: #4b6bfb;
  --accent-ink: #ffffff;
  --accent-soft: rgba(75, 107, 251, 0.10);
  --accent-ring: rgba(75, 107, 251, 0.28);
  --grad: linear-gradient(135deg, #4b6bfb 0%, #8b5cf6 100%);
  --grad-soft: linear-gradient(135deg, rgba(75,107,251,.12), rgba(139,92,246,.12));
  --bubble-them: #f1f3f8;
  --bubble-them-ink: #0b1220;
  --note: #fff6db;
  --note-ink: #6b4e00;
  --note-border: rgba(214, 160, 0, 0.35);
  --good: #0ca30c;
  --good-text: #067a06;
  --good-soft: rgba(12, 163, 12, 0.10);
  --warning: #fab219;
  --warning-soft: rgba(250, 178, 25, 0.16);
  --serious: #ec835a;
  --critical: #d03b3b;
  --critical-soft: rgba(208, 59, 59, 0.10);
  --star: #f5a400;
  /* gráficos (paleta validada) */
  --grid: #e6e8ee;
  --axis: #c3c2b7;
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100;
  --seq-0: #eef0f4; --seq-1: #cde2fb; --seq-2: #86b6ef; --seq-3: #3987e5; --seq-4: #1c5cab; --seq-5: #0d366b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -8px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 64px -16px rgba(15, 23, 42, 0.28);
  --glow: 0 6px 20px -6px rgba(75, 107, 251, 0.55);
  --backdrop: rgba(15, 23, 42, 0.45);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #07080c; --surface: #0f1117; --surface-2: #151821; --surface-3: #1c202b;
    --border: rgba(255, 255, 255, 0.07); --border-strong: rgba(255, 255, 255, 0.13);
    --text: #eef1f7; --text-2: #a4abbd; --muted: #6c7489;
    --accent: #7090ff; --accent-soft: rgba(112, 144, 255, 0.14); --accent-ring: rgba(112, 144, 255, 0.35);
    --grad: linear-gradient(135deg, #5b7cff 0%, #9b6bff 100%);
    --grad-soft: linear-gradient(135deg, rgba(91,124,255,.16), rgba(155,107,255,.16));
    --bubble-them: #1a1e29; --bubble-them-ink: #eef1f7;
    --note: #2b2516; --note-ink: #f3d98a; --note-border: rgba(243, 217, 138, 0.25);
    --good-text: #2fcf2f; --good-soft: rgba(12, 163, 12, 0.16); --critical-soft: rgba(208, 59, 59, 0.18);
    --grid: #22252e; --axis: #383835;
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
    --seq-0: #191c24; --seq-1: #104281; --seq-2: #1c5cab; --seq-3: #2a78d6; --seq-4: #5598e7; --seq-5: #9ec5f4;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px -10px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 24px 64px -12px rgba(0, 0, 0, 0.7);
    --glow: 0 6px 24px -6px rgba(112, 144, 255, 0.55);
    --backdrop: rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07080c; --surface: #0f1117; --surface-2: #151821; --surface-3: #1c202b;
  --border: rgba(255, 255, 255, 0.07); --border-strong: rgba(255, 255, 255, 0.13);
  --text: #eef1f7; --text-2: #a4abbd; --muted: #6c7489;
  --accent: #7090ff; --accent-soft: rgba(112, 144, 255, 0.14); --accent-ring: rgba(112, 144, 255, 0.35);
  --grad: linear-gradient(135deg, #5b7cff 0%, #9b6bff 100%);
  --grad-soft: linear-gradient(135deg, rgba(91,124,255,.16), rgba(155,107,255,.16));
  --bubble-them: #1a1e29; --bubble-them-ink: #eef1f7;
  --note: #2b2516; --note-ink: #f3d98a; --note-border: rgba(243, 217, 138, 0.25);
  --good-text: #2fcf2f; --good-soft: rgba(12, 163, 12, 0.16); --critical-soft: rgba(208, 59, 59, 0.18);
  --grid: #22252e; --axis: #383835;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
  --seq-0: #191c24; --seq-1: #104281; --seq-2: #1c5cab; --seq-3: #2a78d6; --seq-4: #5598e7; --seq-5: #9ec5f4;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 64px -12px rgba(0, 0, 0, 0.7);
  --glow: 0 6px 24px -6px rgba(112, 144, 255, 0.55);
  --backdrop: rgba(0, 0, 0, 0.6);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { letter-spacing: -0.015em; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.row { display: flex; gap: 8px; align-items: center; }
.grow { flex: 1; min-width: 0; }
.num { font-variant-numeric: tabular-nums; }
::selection { background: var(--accent-ring); }
* { scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 8px; }
*::-webkit-scrollbar-track { background: transparent; }

/* fundo decorativo */
.bg-deco { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-deco::before, .bg-deco::after { content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .22; }
.bg-deco::before { background: var(--accent); top: -30vmax; left: -15vmax; }
.bg-deco::after { background: #8b5cf6; bottom: -35vmax; right: -20vmax; opacity: .16; }
.bg-grid { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }

/* ---------- ícones ---------- */
.i { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }
.i.sm { width: 14px; height: 14px; }
.i.lg { width: 22px; height: 22px; }
.i.xl { width: 28px; height: 28px; }
.i.fill { fill: currentColor; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- marca ---------- */
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--glow); flex: none; }
.brand-mark .i { width: 20px; height: 20px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--border-strong); background: var(--surface); padding: 0 14px; height: 38px;
  border-radius: var(--radius-sm); cursor: pointer; font-weight: 550; font-size: 13.5px; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .05s, box-shadow .15s; text-decoration: none !important; color: var(--text);
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-ring); }
.btn.primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.soft { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.btn.danger { color: var(--critical); }
.btn.danger:hover { background: var(--critical-soft); border-color: transparent; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.icon { padding: 0; width: 38px; }
.btn.sm { height: 32px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn.sm.icon { width: 32px; padding: 0; }
.btn.lg { height: 46px; font-size: 15px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.on { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

/* ---------- formulários ---------- */
.input, select.input, textarea.input {
  width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea.input { height: auto; padding: 10px 12px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a93a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }
.input.sm { height: 34px; font-size: 13px; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.input::placeholder { color: var(--muted); }
.input-icon { position: relative; }
.input-icon > .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon > .input { padding-left: 38px; }
label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-weight: 550; margin-bottom: 6px; color: var(--text-2); font-size: 12.5px; }
.error { color: var(--critical); font-size: 13px; min-height: 18px; }

/* ---------- superfícies ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.badge.accent { background: var(--accent-soft); color: var(--accent); }
.badge.count { background: var(--critical); color: #fff; min-width: 20px; justify-content: center; padding: 1px 6px; }
.badge.good { background: var(--good-soft); color: var(--good-text); }
.badge.bad { background: var(--critical-soft); color: var(--critical); }
.badge.warn { background: var(--warning-soft); color: var(--note-ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--muted); flex: none; }
.dot.online { background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }
.dot.away { background: var(--warning); box-shadow: 0 0 0 3px var(--warning-soft); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 14px; color: #fff; flex: none; position: relative; letter-spacing: 0; }
.avatar.sm { width: 30px; height: 30px; font-size: 12px; }
.avatar.lg { width: 56px; height: 56px; font-size: 20px; }
.avatar .dot { position: absolute; right: -1px; bottom: -1px; border: 2px solid var(--surface); width: 11px; height: 11px; box-shadow: none; }
.seg { display: inline-flex; padding: 3px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; gap: 2px; }
.seg button { border: none; background: transparent; padding: 6px 12px; cursor: pointer; border-radius: 8px; font-weight: 550; font-size: 13px; color: var(--text-2); display: inline-flex; gap: 6px; align-items: center; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty-state .ring { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-soft); color: var(--accent); display: grid; place-items: center; }
.empty-state strong { color: var(--text); font-size: 15px; }

/* ---------- mensagens ---------- */
.messages { flex: 1; overflow-y: auto; padding: 20px clamp(12px, 3vw, 28px); display: flex; flex-direction: column; gap: 4px; }
.msg { max-width: min(560px, 78%); display: flex; flex-direction: column; animation: pop .18s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } }
.msg .bubble { padding: 9px 13px; border-radius: 18px; background: var(--bubble-them); color: var(--bubble-them-ink); word-wrap: break-word; white-space: pre-wrap; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.me .bubble { background: var(--grad); color: #fff; border-bottom-right-radius: 6px; }
.msg.me .bubble a { color: #fff; text-decoration: underline; }
.msg.them .bubble { border-bottom-left-radius: 6px; }
.msg.note { align-self: flex-end; align-items: flex-end; }
.msg.note .bubble { background: var(--note); color: var(--note-ink); border: 1px dashed var(--note-border); border-bottom-right-radius: 6px; }
.msg .note-tag { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px; opacity: .85; }
.msg .meta { font-size: 11px; color: var(--muted); margin: 3px 6px 8px; display: flex; gap: 5px; align-items: center; }
.msg .tick { display: inline-flex; color: var(--muted); }
.msg .tick.read { color: var(--accent); }
.msg .tick .i { width: 15px; height: 15px; }
.msg.system { align-self: center; max-width: 90%; }
.msg.system .bubble { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 12px; text-align: center; padding: 5px 12px; border-radius: 99px; }
.msg .bubble img, .msg .bubble video { display: block; max-width: 100%; max-height: 320px; border-radius: 12px; cursor: zoom-in; }
.msg .bubble video { cursor: default; background: #000; }
.msg .bubble audio { display: block; width: 270px; max-width: 100%; height: 40px; }
.msg .att { margin: -3px -7px; }
.msg .att + .text { margin-top: 9px; }
.file-chip { display: flex; align-items: center; gap: 10px; padding: 6px; color: inherit !important; text-decoration: none !important; min-width: 210px; }
.file-chip .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(127,127,127,.18); display: grid; place-items: center; flex: none; }
.file-chip .ext { font-size: 10px; font-weight: 700; opacity: .8; }
.day-sep { align-self: center; font-size: 11px; font-weight: 600; color: var(--muted); padding: 3px 10px; margin: 12px 0 6px; text-transform: uppercase; letter-spacing: .06em; }

.typing { padding: 0 24px 6px; font-size: 12px; color: var(--muted); min-height: 22px; display: flex; align-items: center; gap: 6px; }
.dots { display: inline-flex; gap: 3px; }
.dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: blink 1.2s infinite; }
.dots span:nth-child(2) { animation-delay: .2s; }
.dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

/* ---------- composer ---------- */
.composer { padding: 10px clamp(10px, 2vw, 18px) 14px; }
.composer-box { display: flex; gap: 4px; align-items: flex-end; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 22px; padding: 5px; transition: border-color .15s, box-shadow .15s; }
.composer-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.composer-box .btn { border-radius: 50%; height: 38px; width: 38px; }
.composer textarea { flex: 1; resize: none; max-height: 160px; min-height: 38px; padding: 8px 6px; border: none; background: transparent; outline: none; line-height: 1.45; }
.composer .b-send { box-shadow: var(--glow); }
.composer.internal .composer-box { background: var(--note); border-color: var(--note-border); }
.composer.internal textarea { color: var(--note-ink); }
.composer-tools { display: flex; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.rec { display: flex; align-items: center; gap: 10px; flex: 1; padding: 0 10px; height: 38px; }
.rec .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--critical); box-shadow: 0 0 0 0 var(--critical); animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(208,59,59,.6); } 100% { box-shadow: 0 0 0 10px rgba(208,59,59,0); } }
.rec .wave { display: flex; gap: 2px; align-items: center; height: 18px; }
.rec .wave i { width: 3px; border-radius: 2px; background: var(--critical); animation: wave 1s ease-in-out infinite; }
.rec .wave i:nth-child(odd) { animation-delay: .3s; }
.rec .wave i:nth-child(3n) { animation-delay: .6s; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.uploads { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.uploads:empty { display: none; }
.upload-item { font-size: 12px; display: flex; gap: 10px; align-items: center; background: var(--surface-2); border: 1px solid var(--border); padding: 8px 10px; border-radius: 10px; }
.upload-item .bar { flex: 1; height: 4px; background: var(--surface-3); border-radius: 4px; overflow: hidden; }
.upload-item .bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .1s; }
.drop-overlay { position: absolute; inset: 8px; background: color-mix(in srgb, var(--accent) 12%, transparent); backdrop-filter: blur(3px); border: 2px dashed var(--accent); border-radius: var(--radius); display: grid; place-items: center; font-weight: 650; font-size: 16px; color: var(--accent); z-index: 15; pointer-events: none; }
.drop-overlay > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* ---------- lightbox / modal / toast ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 100; cursor: zoom-out; animation: fade .15s; }
.lightbox img { max-width: 94vw; max-height: 94vh; border-radius: 12px; }
@keyframes fade { from { opacity: 0; } }
.modal-bg { position: fixed; inset: 0; background: var(--backdrop); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 90; padding: 16px; animation: fade .15s; }
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; width: min(500px, 100%); max-height: 90dvh; overflow: auto; padding: 24px; box-shadow: var(--shadow-lg); animation: rise .2s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal.wide { width: min(880px, 100%); display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.modal h3 { margin: 0 0 4px; font-size: 18px; }
.modal .modal-sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.modal-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; gap: 12px; align-items: center; }

.toast-wrap { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 200; max-width: calc(100vw - 32px); }
.toast { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); padding: 12px 14px; border-radius: 12px; box-shadow: var(--shadow-lg); max-width: 360px; animation: rise .2s ease; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.toast .i { color: var(--accent); margin-top: 1px; }

/* ---------- avaliação ---------- */
.stars { display: flex; gap: 4px; justify-content: center; }
.stars button { background: none; border: none; cursor: pointer; color: color-mix(in srgb, var(--muted) 40%, transparent); padding: 2px; line-height: 0; transition: transform .12s, color .12s; }
.stars button .i { width: 40px; height: 40px; fill: currentColor; stroke: none; }
.stars button.on { color: var(--star); }
.stars button:hover { transform: scale(1.12); }
.nps { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.nps button { height: 38px; border: 1px solid var(--border-strong); background: var(--surface); border-radius: 9px; cursor: pointer; font-weight: 600; font-size: 13px; transition: all .12s; }
.nps button:hover { border-color: var(--accent); }
.nps button.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.star-row { display: inline-flex; gap: 1px; color: var(--star); vertical-align: middle; }
.star-row .i { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.star-row .off { color: color-mix(in srgb, var(--muted) 40%, transparent); }

/* ---------- login ---------- */
.auth { min-height: 100dvh; display: grid; grid-template-columns: 1.05fr 1fr; position: relative; }
.auth-side { position: relative; overflow: hidden; background: #0a0c14; color: #eef1f7; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 10% 0%, rgba(91,124,255,.45), transparent 60%), radial-gradient(500px 500px at 100% 100%, rgba(155,107,255,.35), transparent 60%); }
.auth-side::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.auth-side > * { position: relative; z-index: 1; }
.auth-side h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.03em; }
.auth-side p { color: #a4abbd; max-width: 420px; margin: 0; font-size: 15px; }
.auth-feats { display: grid; gap: 14px; margin-top: 32px; }
.auth-feats div { display: flex; gap: 12px; align-items: center; color: #cfd5e3; }
.auth-feats .i { color: #9db1ff; }
.auth-main { display: grid; place-items: center; padding: 32px 20px; background: var(--bg); }
.auth-form { width: min(380px, 100%); }
.auth-form h1 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.025em; }
.auth-form .lead { color: var(--muted); margin: 0 0 26px; }
.brand-line { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 16px; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

/* ---------- utilitários de layout ---------- */
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: inline-block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: inline-block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}

@media (max-width: 600px) {
  .msg { max-width: 88%; }
  .stars button .i { width: 36px; height: 36px; }
  .nps { grid-template-columns: repeat(6, 1fr); }
}
