/* 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;
  --vencido: #C8261B;
  --vencido-bg: #FDECEA;
  --proximo: #B45A00;
  --proximo-bg: #FFF1DE;
  --aldia: #0E7A4C;
  --aldia-bg: #E3F5EC;
  --revisar: #55626F;
  --revisar-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;
    --vencido: #FF7A6E;
    --vencido-bg: #3A1714;
    --proximo: #FFB457;
    --proximo-bg: #3A2710;
    --aldia: #4CD39A;
    --aldia-bg: #12301F;
    --revisar: #A7B3C0;
    --revisar-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; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icono { 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;
}
.solo .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 .icono { width: 24px; height: 24px; }
.nav .nav-reg { color: var(--sticker-ink); }
.nav .nav-reg span.boton-reg {
  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-reg span.boton-reg .icono { width: 26px; height: 26px; stroke-width: 2.4; }
.marca { 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-reg { order: -1; margin: 8px 0 12px; background: var(--sticker); color: var(--sticker-ink); font-weight: 600; justify-content: center; }
  .nav .nav-reg:hover { background: var(--sticker); filter: brightness(.97); }
  .nav .nav-reg span.boton-reg { width: auto; height: auto; background: none; box-shadow: none; margin: 0; }
  .nav .nav-reg span.boton-reg .icono { width: 20px; height: 20px; }
  .marca { 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; }
  .solo .main { margin: 0 auto; }
}

/* ---------- tipografía y bloques */
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
.titulo { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.subtitulo { font-size: 18px; font-weight: 650; }
.texto-suave { color: var(--muted); }
.peq { font-size: 14px; }
.mini { font-size: 12.5px; }
.cabecera { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; }
.cabecera .atras { margin-left: -8px; }
.pila > * + * { margin-top: 12px; }
.pila-l > * + * { margin-top: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; }
.seccion-titulo { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 2px 10px; font-size: 15px; font-weight: 650; }
.seccion-titulo .cuenta { 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-sec { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-sec:hover { background: var(--surface-2); filter: none; }
.btn-sticker { background: var(--sticker); color: var(--sticker-ink); }
.btn-peligro { background: transparent; color: var(--vencido); border-color: var(--line); }
.btn-ancho { width: 100%; }
.btn-icono { width: 44px; min-height: 44px; padding: 0; border-radius: 12px; background: transparent; color: var(--ink); border: 0; }
.btn-icono: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; }
.botonera { display: flex; gap: 10px; }
.botonera > .btn { flex: 1; }
.pie-fijo {
  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);
}
.solo .pie-fijo { bottom: calc(var(--safe-b) + 12px); }
@media (min-width: 900px) { .pie-fijo { bottom: 16px; } }

/* ---------- formularios */
.campo { display: block; }
.campo > .etq { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px 2px; }
.campo > .ayuda { display: block; font-size: 13px; color: var(--muted); margin: 6px 2px 0; }
.entrada {
  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);
}
.entrada:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
.entrada input, .entrada textarea { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); padding: 12px 0; font-size: 16px; }
.entrada textarea { resize: vertical; min-height: 84px; }
.entrada .sufijo { color: var(--muted); font-size: 15px; }
.entrada button.fecha-btn { flex: 1; text-align: left; background: none; border: 0; padding: 12px 0; font-size: 16px; color: var(--ink); }
.entrada button.fecha-btn.vacio { color: var(--muted); }
.fila-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.fila-2 > *, .campo, .entrada { min-width: 0; }
.error-campo { color: var(--vencido); font-size: 14px; margin: 8px 2px 0; }

.segmentos { 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; }
.segmentos button { min-height: 42px; border: 0; background: transparent; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); padding: 0 6px; }
.segmentos 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 .icono { width: 16px; height: 16px; }

.opciones { display: grid; gap: 10px; }
.opcion {
  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);
}
.opcion[aria-pressed='true'] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opcion .marca-op { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); margin-top: 1px; display: grid; place-items: center; }
.opcion[aria-pressed='true'] .marca-op { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.opcion .marca-op .icono { width: 14px; height: 14px; stroke-width: 3; }
.opcion strong { display: block; font-size: 16px; }
.opcion span.desc { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- cuentakilómetros (lo memorable) */
.tablero { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 16px 16px; box-shadow: var(--shadow); }
.tablero .veh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tablero .veh h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.odometro { display: flex; align-items: flex-end; gap: 10px; margin: 18px 0 6px; }
.odometro .digitos { display: flex; gap: 4px; }
.odometro .d {
  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);
}
.odometro .d::after { content: ''; position: absolute; inset: 50% 0 auto 0; height: 1px; background: rgba(255, 255, 255, .08); }
.odometro .d.cero { color: color-mix(in srgb, var(--odo-ink) 32%, transparent); }
.odometro .unidad { font-weight: 700; font-size: 18px; color: var(--muted); padding-bottom: 6px; }
.tablero .estado-km { 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 .rotulo { font-size: 13px; font-weight: 600; opacity: .78; }
.sticker .que { font-size: 20px; font-weight: 750; letter-spacing: -0.01em; margin-top: 2px; }
.sticker .cuando { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 15px; font-weight: 600; }
.sticker .cuando span { display: inline-flex; align-items: center; gap: 6px; }
.sticker .cuando .icono { width: 17px; height: 17px; }
.sticker a { color: inherit; }
.sticker.ok { background: var(--aldia-bg); color: var(--aldia); transform: none; box-shadow: none; }
.sticker.ok::before { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .sticker.entra { animation: pegar .5s cubic-bezier(.2, .9, .3, 1.2) both; }
  @keyframes pegar { from { opacity: 0; transform: translateY(8px) rotate(-3deg) scale(.97); } to { opacity: 1; transform: rotate(-0.6deg); } }
}

/* ---------- lista de puntos */
.lista { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.lista > * + * { border-top: 1px solid var(--line); }
.fila {
  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.fila:hover, button.fila:hover { background: var(--surface-2); }
.fila .titulo-fila { font-weight: 600; font-size: 15.5px; }
.fila .detalle { font-size: 13.5px; color: var(--muted); margin-top: 1px; }
.fila .chev { color: var(--muted); }
.punto { width: 10px; height: 10px; border-radius: 50%; background: var(--revisar); box-shadow: 0 0 0 4px var(--revisar-bg); margin: 0 4px; }
.punto.vencido { background: var(--vencido); box-shadow: 0 0 0 4px var(--vencido-bg); }
.punto.proximo { background: var(--proximo); box-shadow: 0 0 0 4px var(--proximo-bg); }
.punto.al_dia { background: var(--aldia); box-shadow: 0 0 0 4px var(--aldia-bg); }
.vida { height: 4px; border-radius: 4px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.vida > i { display: block; height: 100%; border-radius: 4px; background: var(--aldia); }
.vida.proximo > i { background: var(--proximo); }
.vida.vencido > i { background: var(--vencido); }
.etiqueta { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.etiqueta.vencido { background: var(--vencido-bg); color: var(--vencido); }
.etiqueta.proximo { background: var(--proximo-bg); color: var(--proximo); }
.etiqueta.al_dia { background: var(--aldia-bg); color: var(--aldia); }
.etiqueta.revisar { background: var(--revisar-bg); color: var(--revisar); }
.monto { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }

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

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

/* ---------- manual */
.rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tarjeta-sec {
  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;
}
.tarjeta-sec:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.tarjeta-sec .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); }
.tarjeta-sec strong { font-size: 15.5px; }
.datos { margin: 0; }
.datos > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; padding: 12px 14px; }
.datos > div + div { border-top: 1px solid var(--line); }
.datos dt { color: var(--muted); font-size: 14px; }
.datos dd { margin: 0; font-weight: 600; font-size: 15px; }
.datos .fuente { display: block; font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.producto { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; }
.producto.destacado { border-color: var(--sticker); box-shadow: inset 4px 0 0 var(--sticker); }
.producto .marca-p { font-size: 13px; font-weight: 600; color: var(--muted); }
.producto h3 { font-size: 17px; margin-top: 2px; }
.producto .cumple { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.producto .cumple li { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.producto p { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); }
.aviso { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--proximo-bg); color: var(--ink); font-size: 14.5px; }
.aviso .icono { color: var(--proximo); margin-top: 2px; }
.aviso.info { background: var(--surface-2); border: 1px solid var(--line); }
.aviso.info .icono { color: var(--muted); }
.tabla-plan { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabla-plan th, .tabla-plan td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.tabla-plan th { font-weight: 600; color: var(--muted); font-size: 13px; border-top: 0; }
.tabla-plan td.num { white-space: nowrap; }

/* ---------- historial y fotos */
.resumen-gasto { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.resumen-gasto .cifra { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fotos .foto { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.fotos .foto img { width: 100%; height: 100%; object-fit: cover; }
.fotos .foto 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; }
.fotos .agregar { 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); }
.fotos .agregar input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.vacio { text-align: center; padding: 36px 16px; color: var(--muted); }
.vacio .icono { width: 32px; height: 32px; margin: 0 auto 10px; }

/* ---------- hoja inferior, calendario y avisos */
.velo { position: fixed; inset: 0; z-index: 40; background: rgba(8, 12, 18, .45); display: flex; align-items: flex-end; justify-content: center; }
.hoja {
  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);
}
.hoja .asa { width: 40px; height: 5px; border-radius: 5px; background: var(--line); margin: 0 auto 12px; }
@media (min-width: 900px) { .velo { align-items: center; } .hoja { border-radius: 22px; padding-bottom: 20px; } }
@media (prefers-reduced-motion: no-preference) {
  .velo { animation: aparecer .18s ease-out; }
  .hoja { animation: subir .26s cubic-bezier(.2, .8, .2, 1); }
  @keyframes aparecer { from { opacity: 0; } }
  @keyframes subir { from { transform: translateY(24px); opacity: .6; } }
}
.cal .mes { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal .mes strong { font-size: 17px; text-transform: capitalize; }
.cal .dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal .dias .dsem { font-size: 12px; color: var(--muted); font-weight: 600; padding: 6px 0; }
.cal .dias button { aspect-ratio: 1; border: 0; border-radius: 12px; background: none; font-variant-numeric: tabular-nums; font-size: 15px; }
.cal .dias button:hover:not(:disabled) { background: var(--surface-2); }
.cal .dias button.hoy { box-shadow: inset 0 0 0 1.5px var(--line); }
.cal .dias button[aria-pressed='true'] { background: var(--ink); color: var(--bg); font-weight: 700; }
.cal .dias 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(--vencido); color: #fff; }

/* ---------- entrada */
.acceso { min-height: 100dvh; display: grid; place-items: center; padding: 24px var(--gutter); }
.acceso .caja { 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 .icono { width: 30px; height: 30px; }
.cargando { display: grid; place-items: center; min-height: 50dvh; color: var(--muted); }
