/* Revelado — tokens de diseño compartidos por el inicio (index.html) y el editor (editor.html).
   Tema oscuro por defecto; claro según el sistema o con data-theme="light". */
:root{
  color-scheme: dark;
  --ground:#131211; --panel:#1a1918; --panel-2:#211f1e; --raise:#2a2826;
  --line:#2f2d2a; --line-2:#3c3935;
  --ink:#ece7df; --ink-2:#a69f95; --ink-3:#948e84;
  --accent:#e9a23b; --accent-ink:#1b1206; --accent-soft:rgba(233,162,59,.14); --accent-line:rgba(233,162,59,.45);
  --stage:#1e1e1e; --stage-grid:rgba(255,255,255,.035);
  --ok:#86c49c; --clip-hi:#ff5a4f; --clip-lo:#5b93ff;
  --shadow:0 18px 50px rgba(0,0,0,.5);
  /* Archivo (la misma familia de minimalnature) con eje de ancho: condensada para títulos, normal para la interfaz */
  --f-display:"Archivo","Arial Narrow","Roboto Condensed",sans-serif;
  --f-ui:"Archivo",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --f-mono:"Martian Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --r-s:4px; --r-m:6px; --r-l:10px;
  --ease:cubic-bezier(.22,1,.36,1);
  --t-xs:10px; --t-s:11.5px; --t-m:13px; --t-l:15px; --t-xl:22px;
}
@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){
    color-scheme: light;
    --ground:#e8e7e3; --panel:#f5f4f1; --panel-2:#ecebe7; --raise:#ffffff;
    --line:#d7d4ce; --line-2:#c6c2ba;
    --ink:#1c1b19; --ink-2:#56524c; --ink-3:#67625b;
    --accent:#a3620c; --accent-ink:#fff8ee; --accent-soft:rgba(163,98,12,.12); --accent-line:rgba(163,98,12,.45);
    --stage:#cdcdcd; --stage-grid:rgba(0,0,0,.04);
    --ok:#2e7b4d; --clip-hi:#d53a2f; --clip-lo:#2d62d4;
    --shadow:0 18px 40px rgba(50,40,20,.18);
  }
}
:root[data-theme="light"]{
  color-scheme: light;
  --ground:#e8e7e3; --panel:#f5f4f1; --panel-2:#ecebe7; --raise:#ffffff;
  --line:#d7d4ce; --line-2:#c6c2ba;
  --ink:#1c1b19; --ink-2:#56524c; --ink-3:#67625b;
  --accent:#a3620c; --accent-ink:#fff8ee; --accent-soft:rgba(163,98,12,.12); --accent-line:rgba(163,98,12,.45);
  --stage:#cdcdcd; --stage-grid:rgba(0,0,0,.04);
  --ok:#2e7b4d; --clip-hi:#d53a2f; --clip-lo:#2d62d4;
  --shadow:0 18px 40px rgba(50,40,20,.18);
}
