@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }

/*
 * credLink — folha de estilo única.
 * Visual inspirado no sistema Linear: fundo quase preto, escada de superfícies com linhas finas,
 * um único acento lavanda (#5e6ad2) para marca, ação principal, foco e links.
 * Tema escuro por padrão; tema claro em :root[data-theme="light"] (botão no menu).
 */
:root {
  --canvas: #010102;
  --paper: #0f1011;
  --surface-2: #141516;
  --surface-3: #18191a;
  --line: #23252a;
  --line-soft: #1a1b1e;
  --line-strong: #34343a;
  --ink: #f7f8f8;
  --ink-2: #d0d6e0;
  --ink-3: #8a8f98;
  --ink-4: #62666d;
  --pen: #5e6ad2;
  --pen-strong: #828fff;
  --pen-soft: rgba(94, 106, 210, .16);
  --on-pen: #ffffff;
  --link: #828fff;
  --ok: #27a644;
  --ok-soft: rgba(39, 166, 68, .14);
  --late: #eb5757;
  --late-soft: rgba(235, 87, 87, .14);
  --today: #f2994a;
  --today-soft: rgba(242, 153, 74, .14);
  --open: #2a2c31;
  --focus: 0 0 0 2px rgba(94, 105, 209, .55);
  --edge: inset 0 1px 0 rgba(255, 255, 255, .03);
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --font: 'Inter', -apple-system, 'SF Pro Display', system-ui, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --canvas: #f4f5f7;
  --paper: #ffffff;
  --surface-2: #f0f1f3;
  --surface-3: #e9eaed;
  --line: #e2e4e8;
  --line-soft: #eceef1;
  --line-strong: #d0d3d9;
  --ink: #0f1011;
  --ink-2: #3c4149;
  --ink-3: #6b6f76;
  --ink-4: #9a9da3;
  --pen: #5e6ad2;
  --pen-strong: #4752c4;
  --pen-soft: #eef0fc;
  --link: #4752c4;
  --ok: #1f8a3a;
  --ok-soft: #e6f4ea;
  --late: #d23f3f;
  --late-soft: #fbeaea;
  --today: #b85c12;
  --today-soft: #fdf0e3;
  --open: #dcdee3;
  --focus: 0 0 0 2px rgba(94, 105, 209, .45);
  --edge: none;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font); font-size: 14px; line-height: 1.5; letter-spacing: -0.05px; font-feature-settings: 'cv11', 'ss01'; color: var(--ink); background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
.nav-foot a { color: var(--ink-3); }
.nav-foot a:hover { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: 28px; line-height: 1.2; letter-spacing: -0.6px; }
h2 { font-size: 15px; letter-spacing: -0.2px; }
h3 { font-size: 14px; }
p { margin: 0 0 .6em; }
small, .muted { color: var(--ink-3); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
.num { white-space: nowrap; }
.right { text-align: right; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── shell ───────────────────────────────────────────── */
.shell { display: grid; grid-template-columns: 228px 1fr; min-height: 100vh; }
.nav { position: sticky; top: 0; height: 100vh; padding: 20px 14px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); background: var(--canvas); overflow-y: auto; }
.brand { display: flex; align-items: baseline; gap: 8px; padding: 2px 10px 18px; }
.brand-mark { font-size: 20px; font-weight: 600; letter-spacing: -0.6px; color: var(--ink); }
.brand-mark span { color: var(--pen); }
.brand-company { font-size: .78rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-group { margin: 14px 10px 4px; font-size: .78rem; color: var(--ink-3); }
.nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: var(--r-sm); color: var(--ink-3); font-weight: 500; }
.nav a:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.nav a.active { background: var(--surface-2); color: var(--ink); }
.nav .count { font-size: 12px; font-weight: 500; color: var(--late); }
.nav-foot { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid var(--line); font-size: .85rem; }
.nav-foot .who { font-weight: 500; }
.nav-foot .links { display: flex; gap: 4px; align-items: center; margin-top: 8px; }
.nav-foot .links a { padding: 4px 0; }
.btn.menu-btn { display: none; }

.main { min-width: 0; padding: 26px 32px 60px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.page-head .sub { color: var(--ink-3); margin-top: 4px; }
.page-head .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.crumb { font-size: .85rem; margin-bottom: 6px; }
.crumb a { color: var(--ink-3); }

/* ── superfícies ─────────────────────────────────────── */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--edge); }
.panel + .panel, .grid + .panel, .panel + .grid { margin-top: 18px; }
.grid > .panel, .grid > div > .panel:first-child { margin-top: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.panel-body { padding: 16px 18px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 2fr 1fr; }

/* números de destaque: alinhados numa faixa, sem caixas */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--edge); }
.figure { padding: 16px 18px; border-left: 1px solid var(--line-soft); }
.figure:first-child { border-left: 0; }
.figure .label { font-size: 13px; color: var(--ink-3); }
.figure .value { font-size: 22px; font-weight: 600; margin-top: 4px; letter-spacing: -0.4px; }
.figure .hint { font-size: .8rem; color: var(--ink-3); margin-top: 2px; }
.figure.is-late .value { color: var(--late); }
.figure.is-ok .value { color: var(--ok); }

/* ── régua dos próximos dias (elemento assinatura) ─────── */
.runway { display: grid; grid-template-columns: 104px repeat(14, minmax(0, 1fr)); align-items: end; gap: 4px; padding: 18px 18px 8px; }
.runway .day { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; text-align: center; }
.runway .bar-wrap { height: 96px; display: flex; align-items: flex-end; }
.runway .bar { width: 100%; min-height: 2px; background: var(--open); border-radius: 2px 2px 0 0; }
.runway .day.is-today .bar { background: var(--today); }
.runway .day.is-late .bar { background: var(--late); }
.runway .day.has .bar { background: var(--pen); }
.runway .day.is-today.has .bar { background: var(--today); }
.runway .d { font-size: .75rem; color: var(--ink-3); line-height: 1.1; }
.runway .d b { display: block; color: var(--ink); font-size: .85rem; }
.runway .day.is-weekend .d { opacity: .6; }
.runway .amt { font-size: .7rem; color: var(--ink-2); min-height: 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.runway button.day { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.runway button.day:hover .bar { filter: brightness(1.12); }
.runway-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 0 18px 14px; font-size: .8rem; color: var(--ink-3); }
.runway-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* ── régua de parcelas ───────────────────────────────── */
.parcels { display: flex; gap: 2px; min-width: 80px; max-width: 220px; height: 8px; }
.parcels i { flex: 1; background: var(--open); border-radius: 1px; }
.parcels i.p { background: var(--ok); }
.parcels i.l { background: var(--late); }
.parcels i.t { background: var(--today); }
.parcels-cap { font-size: .78rem; color: var(--ink-3); margin-top: 3px; }
.parcels.big { height: 12px; max-width: none; }

/* ── tabelas ─────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
th { font-size: 12px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
th:first-child, td:first-child { padding-left: 18px; }
th:last-child, td:last-child { padding-right: 18px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr.link { cursor: pointer; }
tbody tr.link:hover { background: var(--canvas); }
td .name { font-weight: 500; color: var(--ink); }
td a.name:hover { color: var(--pen-strong); text-decoration: none; }
td .meta { font-size: .8rem; color: var(--ink-3); }
tfoot td { font-weight: 600; border-top: 1px solid var(--line); border-bottom: 0; }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; flex-wrap: nowrap; }
.empty { padding: 36px 18px; text-align: center; color: var(--ink-3); }
.empty strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* ── estado ──────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 9999px; font-size: 12px; font-weight: 500; white-space: nowrap; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.late { background: var(--late-soft); color: var(--late); }
.pill.today { background: var(--today-soft); color: var(--today); }
.pill.open { background: var(--pen-soft); color: var(--pen); }
.amt-late { color: var(--late); }
.amt-ok { color: var(--ok); }

/* ── controlos ───────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font: inherit; font-weight: 500; font-size: 14px; letter-spacing: 0; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s; }
.btn:hover { border-color: var(--line-strong); background: var(--surface-3); text-decoration: none; color: var(--ink); }
.btn.primary { background: var(--pen); border-color: var(--pen); color: var(--on-pen); }
.btn.primary:hover { background: var(--pen-strong); border-color: var(--pen-strong); color: var(--on-pen); }
.btn.danger { color: var(--late); }
.btn.danger.solid { background: var(--late); border-color: var(--late); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { height: 28px; padding: 0 9px; font-size: .82rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.icon { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); }
.toolbar .grow { flex: 1; min-width: 180px; }
.seg { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 9999px; background: var(--canvas); }
.seg button { border: 0; background: transparent; padding: 0 14px; height: 28px; border-radius: 9999px; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-3); cursor: pointer; }
.seg button:hover { color: var(--ink); }

.seg button.on { background: var(--surface-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
:root[data-theme="light"] .seg button.on { background: var(--paper); }

label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
label.field .help { font-weight: 400; color: var(--ink-3); font-size: .8rem; }
input, select, textarea { font: inherit; font-size: 14px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; min-height: 36px; width: 100%; }
input::placeholder, textarea::placeholder { color: var(--ink-4); }
:root[data-theme="light"] input, :root[data-theme="light"] select, :root[data-theme="light"] textarea { background: var(--paper); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pen); box-shadow: var(--focus); }
textarea { min-height: 72px; resize: vertical; }
input[type="checkbox"] { width: 16px; height: 16px; min-height: 0; accent-color: var(--pen); }
label.check { display: flex; gap: 8px; align-items: center; font-size: .92rem; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.form-grid > .c2 { grid-column: span 2; } .form-grid > .c3 { grid-column: span 3; } .form-grid > .c4 { grid-column: span 4; } .form-grid > .c6 { grid-column: span 6; }
.form-section { font-size: 13px; font-weight: 600; color: var(--ink); grid-column: span 6; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.form-section:first-child { border-top: 0; padding-top: 0; }

/* ── diálogo ─────────────────────────────────────────── */
dialog { border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 0; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); background: var(--paper); color: var(--ink); }
dialog.wide { width: min(880px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(0, 0, 0, .6); }
dialog[open] { animation: dlg .14s ease-out; }
@keyframes dlg { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.dlg-body { padding: 18px 20px; overflow-y: auto; max-height: calc(100vh - 190px); }
.dlg-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line-soft); }
.quote { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.quote div { display: flex; justify-content: space-between; padding: 7px 12px; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
.quote div:last-child { border-bottom: 0; font-weight: 600; font-size: 16px; }

.plan { margin-top: 14px; }
.plan-sum { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 10px 12px; background: var(--canvas); border-radius: var(--r-sm); font-size: .9rem; }
.plan-sum b { font-weight: 600; }

/* ── avisos ──────────────────────────────────────────── */
.toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 100; }
.toast { padding: 10px 14px; border-radius: var(--r-sm); background: var(--surface-3); color: var(--ink); border: 1px solid var(--line-strong); font-size: 13px; max-width: 360px; animation: dlg .14s ease-out; }
.toast.err { background: var(--late); color: #fff; }
.notice { padding: 10px 14px; border-radius: var(--r-sm); background: var(--today-soft); color: var(--ink); font-size: .9rem; border: 1px solid color-mix(in srgb, var(--today) 30%, transparent); }
.notice.info { background: var(--pen-soft); border-color: color-mix(in srgb, var(--pen) 25%, transparent); }
.secret { font-size: 20px; font-weight: 600; letter-spacing: .04em; padding: 10px 12px; background: var(--canvas); border-radius: var(--r-sm); user-select: all; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { border: 0; background: none; font: inherit; font-weight: 500; color: var(--ink-3); padding: 8px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--pen); }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: .92rem; }
dl.facts dt { color: var(--ink-3); }
dl.facts dd { margin: 0; }

.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-items: end; height: 170px; padding: 8px 18px 0; }
.bars .m { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 6px; }
.bars .pair { display: flex; gap: 3px; align-items: flex-end; height: 130px; }
.bars .pair i { flex: 1; border-radius: 2px 2px 0 0; min-height: 2px; }
.bars .pair i.a { background: var(--ink-3); }
.bars .pair i.b { background: var(--ok); }
.bars .lbl { font-size: .78rem; color: var(--ink-3); text-align: center; }

.list-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line-soft); }
.list-row:last-child { border-bottom: 0; }
.perm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }

/* ── login / página pública ──────────────────────────── */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); }
.auth-side { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; background: var(--ink); color: #dfe4f2; }
.auth-side .brand-mark { color: #fff; font-size: 1.6rem; }
.auth-side .brand-mark span { color: #8aa0ff; }
.auth-ledger { max-width: 420px; }
.auth-ledger .parcels { max-width: none; height: 10px; margin: 8px 0 4px; }
.auth-ledger .parcels i { background: rgba(255,255,255,.16); }
.auth-ledger .parcels i.p { background: #6fd3a3; }
.auth-ledger .row { display: flex; justify-content: space-between; font-size: .85rem; color: #aeb7cf; margin-top: 18px; }
.auth-form { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; background: var(--paper); }
.auth-form h1 { font-size: 1.4rem; }
.auth-form form { display: flex; flex-direction: column; gap: 14px; }
.err-msg { color: var(--late); font-size: .9rem; min-height: 1.2em; }

.pay { max-width: 440px; margin: 0 auto; padding: 32px 18px 48px; }
.pay .panel-body { display: flex; flex-direction: column; gap: 14px; }
.pay .big { font-size: 40px; font-weight: 600; letter-spacing: -1px; }
.pay img.qr { width: 240px; height: 240px; align-self: center; image-rendering: pixelated; border: 8px solid #fff; border-radius: var(--r-sm); }
.pay textarea { font-size: .8rem; min-height: 90px; }

/* ── responsivo ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(3) { border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .nav { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 50; transform: translateX(-100%); transition: transform .18s ease; background: var(--paper); }
  .nav.open { transform: none; box-shadow: 0 0 0 100vmax rgba(16, 20, 32, .4); }
  .btn.menu-btn { display: inline-flex; margin-bottom: 14px; }
  .main { padding: 16px 16px 48px; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid > * { grid-column: span 2 !important; }
  .runway { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .runway .day:nth-child(n+8) { display: none; }
  .runway .lateday { padding-right: 6px; margin-right: 0; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .perm-grid { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media print {
  .nav, .page-head .actions, .toolbar, .menu-btn, .row-actions { display: none !important; }
  .shell { display: block; } .main { padding: 0; } body { background: #fff; } .panel { border: 0; }
}
.stack > * + * { margin-top: 12px; }
.mt { margin-top: 18px; }
.row-gap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.runway-legend i.lg-late { background: var(--late); }
.runway-legend i.lg-today { background: var(--today); }
.runway-legend i.lg-open { background: var(--pen); }
.runway a.day { color: inherit; text-decoration: none; }
.runway a.day:hover .bar { filter: brightness(1.12); }
.runway .lateday { padding-right: 12px; border-right: 1px dashed var(--line); margin-right: 6px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 6px 0 12px; vertical-align: -1px; }
.sw-a { background: var(--ink-3); } .sw-b { background: var(--ok); }
.toolbar select, .toolbar input[type="date"] { width: auto; }
.toolbar label.row-gap { flex-wrap: nowrap; }

.parcels i.r { background: var(--pen); }
.pill.renew { background: var(--pen-soft); color: var(--pen); }
.pill.claim { background: var(--today-soft); color: var(--today); }
.claim-box { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 4px; font-size: .8rem; color: var(--today); }
.stage-bar { position: sticky; top: 0; z-index: 60; padding: 6px 16px; background: var(--today); color: #1a0e02; font-size: 13px; font-weight: 500; text-align: center; }
h1 a.title-link { color: inherit; }
h1 a.title-link:hover { color: var(--pen); text-decoration: none; }

/* ── tema: botão claro/escuro ─────────────────────────── */
.theme-btn { display: inline-flex; align-items: center; gap: 6px; }
.theme-btn .icon { width: 15px; height: 15px; }
.auth-theme { position: fixed; top: 14px; right: 14px; z-index: 5; }
.auth-side { background: #010102; color: #d0d6e0; border-right: 1px solid #23252a; }
.auth-side .brand-mark span { color: #828fff; }
.auth-ledger .parcels i.p { background: #27a644; }
.pay img.qr { border-color: #fff; background: #fff; }
.btn.danger.solid { color: #fff; }
.toast.err { border-color: var(--late); }
.bars .pair i.b, .sw-b { background: var(--ok); }

/* ── login: ilustração de crédito ─────────────────────── */
.auth-side { position: relative; overflow: hidden; padding: 40px 48px; }
.auth-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.auth-side::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to bottom, rgba(1,1,2,.55), rgba(1,1,2,0) 30%); pointer-events: none; }
.auth-side > *:not(.auth-art) { position: relative; z-index: 1; }
.auth-side::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(1,1,2,.95), rgba(1,1,2,0)); }
.auth-caption { margin-top: auto; margin-bottom: 16px; max-width: 460px; z-index: 2; }
.auth-caption h1 { color: #f7f8f8; font-size: 32px; letter-spacing: -0.8px; }
.auth-caption p { color: #8a8f98; margin: 8px 0 0; font-size: 15px; }
.auth-side small { z-index: 2; color: #62666d; }
