@font-face{font-family:"Geist";font-weight:400;font-style:normal;font-display:swap;src:url("../fonts/Geist-Regular.3233d2229417.woff2") format("woff2")}
@font-face{font-family:"Geist";font-weight:500;font-style:normal;font-display:swap;src:url("../fonts/Geist-Medium.57994472c4fa.woff2") format("woff2")}
@font-face{font-family:"Geist";font-weight:600;font-style:normal;font-display:swap;src:url("../fonts/Geist-SemiBold.c8489d436490.woff2") format("woff2")}

:root{
  --font-sans:"Geist",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --text-sm:.875rem;--text-base:1rem;--text-lg:1.25rem;--text-xl:1.625rem;
  --leading:1.5;

  --bg:#f7f7f5;
  --surface:#fff;
  --surface-muted:#f0f0ed;
  --border:#dcdcd7;
  --text:#111110;
  --text-muted:#5c5c56;

  /* Acento de interfaz: configurable por instancia. Contraste AA sobre blanco. */
  --accent:#0f6b58;
  --accent-hover:#0b5242;
  --on-accent:#fff;

  --ok:#146c43;--ok-bg:#e6f4ec;
  --error:#b42318;--error-bg:#fdeceb;
  --warn:#8a5a00;--warn-bg:#fdf3dc;
  --info:#1f4e8c;--info-bg:#e8f0fb;

  --space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;
  --space-5:1.5rem;--space-6:2rem;--space-7:3rem;
  --radius-sm:6px;--radius:10px;--radius-lg:16px;
  --shadow-sm:0 1px 2px rgb(17 17 16 / .06);
  --shadow:0 4px 16px rgb(17 17 16 / .08);
  --focus-ring:0 0 0 3px var(--bg),0 0 0 5px var(--accent);
  --content-width:72rem;
}

:root[data-theme="dark"]{
  --bg:#111110;--surface:#1b1b19;--surface-muted:#242421;--border:#3a3a36;
  --text:#ededea;--text-muted:#a3a39c;
  --accent:#3cc7a8;--accent-hover:#5fd6bb;--on-accent:#111110;
  --ok:#5fd09a;--ok-bg:#12281e;--error:#ff8f85;--error-bg:#341613;
  --warn:#f0c060;--warn-bg:#33270a;--info:#8db8f0;--info-bg:#14243a;
  --shadow-sm:none;--shadow:0 4px 16px rgb(0 0 0 / .4);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#111110;--surface:#1b1b19;--surface-muted:#242421;--border:#3a3a36;
    --text:#ededea;--text-muted:#a3a39c;
    --accent:#3cc7a8;--accent-hover:#5fd6bb;--on-accent:#111110;
    --ok:#5fd09a;--ok-bg:#12281e;--error:#ff8f85;--error-bg:#341613;
    --warn:#f0c060;--warn-bg:#33270a;--info:#8db8f0;--info-bg:#14243a;
    --shadow-sm:none;--shadow:0 4px 16px rgb(0 0 0 / .4);
  }
}
