/* Garage — móvil primero. Lo memorable: el cuentakilómetros y el sticker amarillo de taller. Todo lo demás, sobrio. */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #EEF1F4;
  --surface: #FFFFFF;
  --surface-2: #F6F8FA;
  --ink: #142030;
  --muted: #5A6879;
  --line: #DCE2E8;
  --sticker: #FFC629;
  --sticker-ink: #1E1A0C;
  --odo: #142030;
  --odo-ink: #FFFFFF;
  --overdue: #C8261B;
  --overdue-bg: #FDECEA;
  --due-soon: #B45A00;
  --due-soon-bg: #FFF1DE;
  --up-to-date: #0E7A4C;
  --up-to-date-bg: #E3F5EC;
  --check: #55626F;
  --check-bg: #ECEFF2;
  --link: #1D5BD6;
  --focus: #1D5BD6;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --shadow: 0 1px 2px rgba(20, 32, 48, .06), 0 8px 24px -12px rgba(20, 32, 48, .18);
  --gutter: 16px;
  --nav-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E141B;
    --surface: #161F29;
    --surface-2: #1C2733;
    --ink: #E7ECF2;
    --muted: #93A1B1;
    --line: #26323F;
    --odo: #05090D;
    --odo-ink: #F2F5F8;
    --overdue: #FF7A6E;
    --overdue-bg: #3A1714;
    --due-soon: #FFB457;
    --due-soon-bg: #3A2710;
    --up-to-date: #4CD39A;
    --up-to-date-bg: #12301F;
    --check: #A7B3C0;
    --check-bg: #222D38;
    --link: #79A6FF;
    --focus: #79A6FF;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--link); }
img { max-width: 100%; display: block; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- estructura */
.app { min-height: 100dvh; }
.shell { display: block; }
.main {
  padding: calc(var(--safe-t) + 12px) var(--gutter) calc(var(--nav-h) + var(--safe-b) + 28px);
  max-width: 720px;
  margin: 0 auto;
}
.standalone .main { padding-bottom: calc(var(--safe-b) + 28px); }

.nav {
  position: fixed; inset: auto 0 0 0; z-index: 20;
  height: calc(var(--nav-h) + var(--safe-b));
  padding: 6px 8px var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-top: 1px solid var(--line);
}
.nav a {
  display: grid; justify-items: center; gap: 2px;
  color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 500;
  padding: 6px 0; border-radius: 12px;
}
.nav a[aria-current='page'] { color: var(--ink); font-weight: 600; }
.nav a .icon { width: 24px; height: 24px; }
.nav .nav-add { color: var(--sticker-ink); }
.nav .nav-add span.add-button {
  width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center;
  background: var(--sticker); box-shadow: 0 6px 16px -6px rgba(180, 120, 0, .55); margin-top: -18px;
}
.nav .nav-add span.add-button .icon { width: 26px; height: 26px; stroke-width: 2.4; }
.brand { display: none; }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100dvh; background: linear-gradient(to right, var(--surface) 247px, var(--line) 247px, var(--line) 248px, var(--bg) 248px); }
  .nav {
    position: sticky; top: 0; inset: auto; height: 100dvh; padding: 24px 16px;
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    border-top: 0; border-right: 1px solid var(--line); background: var(--surface);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .nav a { display: flex; align-items: center; gap: 12px; font-size: 15px; padding: 10px 12px; }
  .nav a[aria-current='page'] { background: var(--surface-2); }
  .nav a:hover { background: var(--surface-2); color: var(--ink); }
  .nav .nav-add { order: -1; margin: 8px 0 12px; background: var(--sticker); color: var(--sticker-ink); font-weight: 600; justify-content: center; }
  .nav .nav-add:hover { background: var(--sticker); filter: brightness(.97); }
  .nav .nav-add span.add-button { width: auto; height: auto; background: none; box-shadow: none; margin: 0; }
  .nav .nav-add span.add-button .icon { width: 20px; height: 20px; }
  .brand { display: flex; order: -2; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; padding: 0 12px 8px; }
  .main { padding: 32px 40px 48px; max-width: 1120px; margin: 0; }
  .standalone .main { margin: 0 auto; }
}

/* ---------- tipografía y bloques */
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
.title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.subtitle { font-size: 18px; font-weight: 650; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; }
.header .back { margin-left: -8px; }
.stack > * + * { margin-top: 12px; }
.stack-lg > * + * { margin-top: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 2px 10px; font-size: 15px; font-weight: 650; }
.section-title .count { color: var(--muted); font-weight: 500; }

/* ---------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; transition: filter .15s, background .15s;
  background: var(--ink); color: var(--bg);
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface-2); filter: none; }
.btn-sticker { background: var(--sticker); color: var(--sticker-ink); }
.btn-danger { background: transparent; color: var(--overdue); border-color: var(--line); }
.btn-block { width: 100%; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; border-radius: 12px; background: transparent; color: var(--ink); border: 0; }
.btn-icon:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); filter: none; }
.btn-link { background: none; border: 0; padding: 0; min-height: auto; color: var(--link); font-weight: 600; }
.button-row { display: flex; gap: 10px; }
.button-row > .btn { flex: 1; }
.sticky-footer {
  position: sticky; bottom: calc(var(--nav-h) + var(--safe-b) + 10px); z-index: 5;
  padding-top: 12px; margin-top: 24px;
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}
.standalone .sticky-footer { bottom: calc(var(--safe-b) + 12px); }
@media (min-width: 900px) { .sticky-footer { bottom: 16px; } }

/* ---------- formularios */
.field { display: block; }
.field > .label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px 2px; }
.field > .hint { display: block; font-size: 13px; color: var(--muted); margin: 6px 2px 0; }
.input-wrap {
  display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--muted);
}
.input-wrap:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
.input-wrap input, .input-wrap textarea { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); padding: 12px 0; font-size: 16px; }
.input-wrap textarea { resize: vertical; min-height: 84px; }
.input-wrap .suffix { color: var(--muted); font-size: 15px; }
.input-wrap button.date-btn { flex: 1; text-align: left; background: none; border: 0; padding: 12px 0; font-size: 16px; color: var(--ink); }
.input-wrap button.date-btn.empty { color: var(--muted); }
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.row-2 > *, .field, .input-wrap { min-width: 0; }
.field-error { color: var(--overdue); font-size: 14px; margin: 8px 2px 0; }

.segments { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; }
.segments button { min-height: 42px; border: 0; background: transparent; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); padding: 0 6px; }
.segments button[aria-pressed='true'] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 32, 48, .14); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-size: 14px; font-weight: 500;
}
.chip[aria-pressed='true'] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .icon { width: 16px; height: 16px; }

.options { display: grid; gap: 10px; }
.option {
  text-align: left; display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 16px;
  border: 1.5px solid var(--line); border-radius: var(--r-m); background: var(--surface);
}
.option[aria-pressed='true'] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.option .option-mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); margin-top: 1px; display: grid; place-items: center; }
.option[aria-pressed='true'] .option-mark { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.option .option-mark .icon { width: 14px; height: 14px; stroke-width: 3; }
.option strong { display: block; font-size: 16px; }
.option span.desc { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- cuentakilómetros (lo memorable) */
.dashboard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 16px 16px; box-shadow: var(--shadow); }
.dashboard .vehicle { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dashboard .vehicle h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.odometer { display: flex; align-items: flex-end; gap: 10px; margin: 18px 0 6px; }
.odometer .digits { display: flex; gap: 4px; }
.odometer .digit {
  width: clamp(30px, 9.6vw, 44px); height: clamp(44px, 13.5vw, 60px); border-radius: 8px;
  background: var(--odo); color: var(--odo-ink);
  display: grid; place-items: center; font-size: clamp(24px, 7.6vw, 36px); font-weight: 700; font-variant-numeric: tabular-nums;
  position: relative; overflow: hidden; box-shadow: inset 0 -10px 14px -10px rgba(255, 255, 255, .12), inset 0 10px 14px -10px rgba(0, 0, 0, .6);
}
.odometer .digit::after { content: ''; position: absolute; inset: 50% 0 auto 0; height: 1px; background: rgba(255, 255, 255, .08); }
.odometer .digit.zero { color: color-mix(in srgb, var(--odo-ink) 32%, transparent); }
.odometer .unit { font-weight: 700; font-size: 18px; color: var(--muted); padding-bottom: 6px; }
.dashboard .km-status { font-size: 14px; color: var(--muted); }

/* ---------- sticker de taller */
.sticker {
  position: relative; margin-top: 14px; padding: 16px 16px 16px 18px; border-radius: 14px;
  background: var(--sticker); color: var(--sticker-ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 10px 22px -14px rgba(140, 95, 0, .7);
  transform: rotate(-0.6deg);
}
.sticker::before { /* esquina despegada */
  content: ''; position: absolute; right: 0; top: 0; width: 22px; height: 22px; border-radius: 0 14px 0 8px;
  background: linear-gradient(225deg, var(--surface) 50%, color-mix(in srgb, var(--sticker) 70%, #000) 50%);
}
.sticker .caption { font-size: 13px; font-weight: 600; opacity: .78; }
.sticker .what { font-size: 20px; font-weight: 750; letter-spacing: -0.01em; margin-top: 2px; }
.sticker .when { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 15px; font-weight: 600; }
.sticker .when span { display: inline-flex; align-items: center; gap: 6px; }
.sticker .when .icon { width: 17px; height: 17px; }
.sticker a { color: inherit; }
.sticker.ok { background: var(--up-to-date-bg); color: var(--up-to-date); transform: none; box-shadow: none; }
.sticker.ok::before { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .sticker.pop-in { animation: stick .5s cubic-bezier(.2, .9, .3, 1.2) both; }
  @keyframes stick { from { opacity: 0; transform: translateY(8px) rotate(-3deg) scale(.97); } to { opacity: 1; transform: rotate(-0.6deg); } }
}

/* ---------- lista de puntos */
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.list > * + * { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 14px;
  text-decoration: none; color: inherit; background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; text-align: left;
}
a.row:hover, button.row:hover { background: var(--surface-2); }
.row .row-title { font-weight: 600; font-size: 15.5px; }
.row .detail { font-size: 13.5px; color: var(--muted); margin-top: 1px; }
.row .chev { color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--check); box-shadow: 0 0 0 4px var(--check-bg); margin: 0 4px; }
.dot.overdue { background: var(--overdue); box-shadow: 0 0 0 4px var(--overdue-bg); }
.dot.due_soon { background: var(--due-soon); box-shadow: 0 0 0 4px var(--due-soon-bg); }
.dot.up_to_date { background: var(--up-to-date); box-shadow: 0 0 0 4px var(--up-to-date-bg); }
.life { height: 4px; border-radius: 4px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.life > i { display: block; height: 100%; border-radius: 4px; background: var(--up-to-date); }
.life.due_soon > i { background: var(--due-soon); }
.life.overdue > i { background: var(--overdue); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.tag.overdue { background: var(--overdue-bg); color: var(--overdue); }
.tag.due_soon { background: var(--due-soon-bg); color: var(--due-soon); }
.tag.up_to_date { background: var(--up-to-date-bg); color: var(--up-to-date); }
.tag.check { background: var(--check-bg); color: var(--check); }
.amount { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (min-width: 900px) {
  .home { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: start; }
  .home .col-a { position: sticky; top: 32px; }
  .home .col-b .section-title:first-child { margin-top: 0; }
}

/* ---------- asistente */
.progress { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin: 6px 0 20px; }
.progress > i { display: block; height: 100%; background: var(--ink); border-radius: 6px; transition: width .3s; }
.step-n { font-size: 13px; font-weight: 600; color: var(--muted); }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; }
.service .head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.service .head strong { font-size: 15.5px; }
.service .fields { margin-top: 12px; }

/* ---------- manual */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.section-card {
  display: grid; gap: 10px; align-content: start; padding: 16px; min-height: 112px; border-radius: var(--r-m);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit;
}
.section-card:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.section-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); }
.section-card strong { font-size: 15.5px; }
.specs { margin: 0; }
.specs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; padding: 12px 14px; }
.specs > div + div { border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 14px; }
.specs dd { margin: 0; font-weight: 600; font-size: 15px; }
.specs .source { display: block; font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; }
.product.featured { border-color: var(--sticker); box-shadow: inset 4px 0 0 var(--sticker); }
.product .product-brand { font-size: 13px; font-weight: 600; color: var(--muted); }
.product h3 { font-size: 17px; margin-top: 2px; }
.product .meets { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.product .meets li { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.product p { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--due-soon-bg); color: var(--ink); font-size: 14.5px; }
.notice .icon { color: var(--due-soon); margin-top: 2px; }
.notice.info { background: var(--surface-2); border: 1px solid var(--line); }
.notice.info .icon { color: var(--muted); }
.plan-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.plan-table th, .plan-table td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.plan-table th { font-weight: 600; color: var(--muted); font-size: 13px; border-top: 0; }
.plan-table td.num { white-space: nowrap; }

/* ---------- historial y fotos */
.spend-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.spend-summary .figure { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.photos .photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.photos .photo img { width: 100%; height: 100%; object-fit: cover; }
.photos .photo button { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 10px; border: 0; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; }
.photos .add { aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed var(--line); display: grid; place-items: center; align-content: center; gap: 4px; color: var(--muted); font-size: 13px; cursor: pointer; background: var(--surface); }
.photos .add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty .icon { width: 32px; height: 32px; margin: 0 auto 10px; }

/* ---------- hoja inferior, calendario y avisos */
.backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(8, 12, 18, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  width: 100%; max-width: 520px; max-height: 88dvh; overflow: auto; background: var(--surface);
  border-radius: 22px 22px 0 0; padding: 10px 16px calc(var(--safe-b) + 16px); box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
}
.sheet .handle { width: 40px; height: 5px; border-radius: 5px; background: var(--line); margin: 0 auto 12px; }
@media (min-width: 900px) { .backdrop { align-items: center; } .sheet { border-radius: 22px; padding-bottom: 20px; } }
@media (prefers-reduced-motion: no-preference) {
  .backdrop { animation: fade-in .18s ease-out; }
  .sheet { animation: slide-up .26s cubic-bezier(.2, .8, .2, 1); }
  @keyframes fade-in { from { opacity: 0; } }
  @keyframes slide-up { from { transform: translateY(24px); opacity: .6; } }
}
.cal .month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal .month strong { font-size: 17px; text-transform: capitalize; }
.cal .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal .days .weekday { font-size: 12px; color: var(--muted); font-weight: 600; padding: 6px 0; }
.cal .days button { aspect-ratio: 1; border: 0; border-radius: 12px; background: none; font-variant-numeric: tabular-nums; font-size: 15px; }
.cal .days button:hover:not(:disabled) { background: var(--surface-2); }
.cal .days button.today { box-shadow: inset 0 0 0 1.5px var(--line); }
.cal .days button[aria-pressed='true'] { background: var(--ink); color: var(--bg); font-weight: 700; }
.cal .days button:disabled { color: color-mix(in srgb, var(--muted) 40%, transparent); cursor: default; }
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + var(--safe-b) + 16px); z-index: 60; display: grid; gap: 8px; width: min(92vw, 420px); }
@media (min-width: 900px) { .toasts { bottom: 24px; } }
.toast { background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 14px; font-weight: 500; font-size: 15px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; }
.toast.error { background: var(--overdue); color: #fff; }

/* ---------- entrada */
.auth-screen { min-height: 100dvh; display: grid; place-items: center; padding: 24px var(--gutter); }
.auth-screen .box { width: 100%; max-width: 400px; }
.logo { width: 56px; height: 56px; border-radius: 18px; background: var(--sticker); color: var(--sticker-ink); display: grid; place-items: center; transform: rotate(-4deg); }
.logo .icon { width: 30px; height: 30px; }
.loading { display: grid; place-items: center; min-height: 50dvh; color: var(--muted); }
