/* Šmakovnica — fonts and colour tokens (paleta Paprika). Components live in app.css.
   Light is the default; dark is an explicit per-device choice in Settings. */
@font-face{font-family:'Bricolage Grotesque';src:url("fonts/bricolage-grotesque-latin-ext.b1ae2c312cfb.woff2") format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Bricolage Grotesque';src:url("fonts/bricolage-grotesque-latin.ada540c0e24a.woff2") format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Figtree;src:url("fonts/figtree-latin-ext.eca8d8b337ff.woff2") format('woff2');font-style:normal;font-weight:300 900;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Figtree;src:url("fonts/figtree-latin.202cfb54d4e6.woff2") format('woff2');font-style:normal;font-weight:300 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  color-scheme:light;
  /* Surfaces */
  --bg:#F7F8FA;          /* neutral page */
  --surface:#FFFFFF;     /* Talíř: cards, fields, bars */
  --surface-2:#EEF0F3;   /* neutral inset blocks, inactive chips, monograms */
  --line:#DFE3E8;        /* dividers only */
  --line-strong:#7B8492; /* borders of fields, checkboxes, secondary buttons (3:1) */
  /* Text */
  --ink:#18212F;
  --ink-2:#465263;
  --ink-3:#596576;
  /* Action: one primary button per screen plus Přidat in the bottom bar. */
  --accent:#D63D2E;
  --accent-strong:#B52D22; /* pressed, links, text on --accent-soft */
  --accent-soft:#FDEAE7;
  --on-accent:#FFFFFF;
  /* States: never colour alone, always with an icon or words. */
  --herb:#17734F;        /* done, in the basket, proven */
  --herb-soft:#E3F4EC;
  --saffron:#B77900;     /* rating stars */
  --saffron-soft:#FFF6DE;/* leaflet tips, things to check */
  --saffron-text:#775000;
  --danger:#B42332;
  --danger-soft:#FCE8EC;
  --scrim:rgba(24,33,47,.48);
  --shadow:0 1px 2px rgba(24,33,47,.06),0 8px 24px rgba(24,33,47,.10);

  --shadow-segment:0 1px 2px rgba(24,33,47,.12);
  --shadow-switch:0 1px 3px rgba(24,33,47,.3);
  --shadow-icon:0 1px 4px rgba(24,33,47,.18);

  --font-head:'Bricolage Grotesque','Segoe UI',system-ui,sans-serif;
  --font-body:Figtree,system-ui,-apple-system,'Segoe UI',sans-serif;
  --radius-sm:8px;
  --radius:12px;
  --radius-lg:16px;
  --gutter:16px;
  --tap:44px;
  --nav-h:64px;
}

:root[data-theme="dark"]{
    color-scheme:dark;
    --bg:#12151B;--surface:#1B2028;--surface-2:#252C36;
    --line:#343D49;--line-strong:#7F8C9E;
    --ink:#F5F7FA;--ink-2:#C4CDD9;--ink-3:#A3AFC0;
    --accent:#FF867A;--accent-strong:#FFA398;--accent-soft:#35282D;--on-accent:#18212F;
    --herb:#79D8B0;--herb-soft:#18362F;
    --saffron:#F4CA6A;--saffron-soft:#302D26;--saffron-text:#F4CA6A;
    --danger:#FFA4AE;--danger-soft:#3B2530;
    --scrim:rgba(0,0,0,.6);
    --shadow:0 1px 2px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.4);
}

/* Print must stay legible even when the device uses a dark theme. */
@media print{
 :root,:root[data-theme="dark"]{color-scheme:light;--bg:#fff;--surface:#fff;--surface-2:#f5f5f5;--ink:#000;--ink-2:#222;--ink-3:#444;--line:#ccc;--line-strong:#666;--accent:#333;--accent-strong:#222;--accent-soft:#eee;--on-accent:#fff;--herb:#222;--herb-soft:#eee;--saffron-text:#222;--saffron-soft:#eee;--danger:#222;--danger-soft:#eee}
}
