/* Cashlink - tokens y base. Sin CDN, sin estilos en linea (CSP style-src 'self'). */
@font-face{font-family:Geist;font-weight:400;font-display:swap;src:url(../fuentes/Geist-Regular.woff2) format("woff2")}
@font-face{font-family:Geist;font-weight:500;font-display:swap;src:url(../fuentes/Geist-Medium.woff2) format("woff2")}
@font-face{font-family:Geist;font-weight:600;font-display:swap;src:url(../fuentes/Geist-SemiBold.woff2) format("woff2")}

:root{
  /* Superficies y tinta (claro). Gris verdoso frio, sin beige. */
  --bg:#f2f6f5; --surface:#fff; --surface-2:#e8efed; --scrim:rgba(8,20,18,.48);
  --ink:#0d1a18; --ink-2:#34443f; --ink-3:#586966; --line:#dbe4e1; --line-2:#b9c8c4;
  /* Acento unico: verde-teal del dinero */
  --acc:#0a6a5c; --acc-ink:#fff; --acc-soft:#dcf1ec; --acc-line:#9fd5c9; --focus:#0a6a5c;
  --orb-0:#a8f3e0; --orb-1:#18a58c; --orb-2:#0a5a4d;
  /* Semanticos */
  --gasto:#b83f24; --gasto-soft:#fbe6df; --aviso:#855800; --aviso-soft:#faefd0;
  /* Serie categorica (graficos) */
  --c1:#0a6a5c; --c2:#b7791f; --c3:#3e5c8a; --c4:#c2482b; --c5:#6b7d58; --c6:#8a9995;
  /* Radios: controles 12, tarjetas 20, chips pildora */
  --r-s:8px; --r-m:12px; --r-l:20px; --r-p:999px;
  /* Sombras teñidas del fondo */
  --sh-1:0 1px 2px rgba(10,60,50,.06),0 6px 20px rgba(10,60,50,.06);
  --sh-2:0 2px 6px rgba(10,60,50,.08),0 18px 48px rgba(10,60,50,.14);
  /* Espaciado base 4 */
  --s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:20px;--s6:24px;--s8:32px;--s10:40px;--s12:48px;--s16:64px;
  /* Movimiento */
  --ease-out:cubic-bezier(.23,1,.32,1); --ease-io:cubic-bezier(.77,0,.175,1); --ease-drawer:cubic-bezier(.32,.72,0,1);
  --t-press:120ms; --t-ui:200ms; --t-sheet:340ms; --t-chart:760ms; --t-count:900ms;
  --f:Geist,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --nav-h:68px; color-scheme:light;
}
[data-tema="oscuro"]{
  --bg:#08100f; --surface:#101a19; --surface-2:#172422; --scrim:rgba(0,0,0,.62);
  --ink:#e6f0ee; --ink-2:#b6c6c2; --ink-3:#8da19d; --line:#1f302d; --line-2:#33504b;
  --acc:#3fd0b0; --acc-ink:#04201a; --acc-soft:#10312b; --acc-line:#1f6a5b; --focus:#6fe3c9;
  --orb-0:#c9fff0; --orb-1:#2fc7a5; --orb-2:#0b6a59;
  --gasto:#ff8f70; --gasto-soft:#3a1f18; --aviso:#f0b84a; --aviso-soft:#332709;
  --c1:#3fd0b0; --c2:#e0a83c; --c3:#7ea2d8; --c4:#ff8f70; --c5:#a3b88a; --c6:#7f918d;
  --sh-1:0 0 0 1px rgba(255,255,255,.03),0 8px 24px rgba(0,0,0,.35);
  --sh-2:0 0 0 1px rgba(255,255,255,.05),0 24px 60px rgba(0,0,0,.55);
  color-scheme:dark;
}
/* Edicion Contarte: tokens "Papel Claro" de Contarte (violeta, hairlines, sin sombra). Solo claro. */
[data-edicion="contarte"]{
  --bg:#f9f9f8; --surface:#fff; --surface-2:#f6f5f4; --scrim:rgba(13,13,13,.45);
  --ink:#0d0d0d; --ink-2:#2c2c2b; --ink-3:#6b6862; --line:#e3e3e1; --line-2:#97948d;
  --acc:#5a1f8e; --acc-ink:#fff; --acc-soft:#f3e8ff; --acc-line:#e0aaff; --focus:#5a1f8e;
  --orb-0:#ead3ff; --orb-1:#8b3fd0; --orb-2:#4a1478;
  --gasto:#c33a33; --gasto-soft:#fdeceb; --aviso:#8a6200; --aviso-soft:#fbf1d6;
  --c1:#5a1f8e; --c2:#2f6fba; --c3:#1f7a4d; --c4:#c33a33; --c5:#8a6200; --c6:#96938d;
  --r-s:6px; --r-m:8px; --r-l:12px;
  --sh-1:0 0 0 1px rgba(13,13,13,.06); --sh-2:0 2px 4px rgba(13,13,13,.04),0 16px 48px rgba(13,13,13,.10);
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:var(--s16)}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.5 var(--f);-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums;min-height:100dvh;text-rendering:optimizeLegibility}
h1,h2,h3,p{margin:0}
h1{font-size:1.75rem;line-height:1.15;font-weight:600;letter-spacing:-.025em}
h2{font-size:1.0625rem;line-height:1.3;font-weight:600;letter-spacing:-.01em}
h3{font-size:.9375rem;font-weight:600}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
img,svg{display:block;max-width:100%}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:var(--r-s)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tenue{color:var(--ink-3)}
.num{font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.ico{width:1.25em;height:1.25em;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.saltar{position:absolute;left:var(--s4);top:-60px;background:var(--ink);color:var(--bg);padding:var(--s3) var(--s4);border-radius:var(--r-m);z-index:100}
.saltar:focus{top:var(--s3)}
@media (min-width:900px){h1{font-size:2rem}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
