/* Antigravity Publishing: design tokens, direction "Klidný průvodce, dotažený" (2026-11-15, cc-31d2f424).
   Same theme mechanism as the live app: :root is light; dark comes from prefers-color-scheme unless the
   server sets data-theme="light", or from data-theme="dark". Fonts are self-hosted (CSP default-src 'self'). */

@font-face{font-family:"Fraunces";font-style:normal;font-weight:100 900;font-display:swap;
  src:url(fonts/fraunces-latin-ext-wght-normal.woff2) format("woff2");
  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:"Fraunces";font-style:normal;font-weight:100 900;font-display:swap;
  src:url(fonts/fraunces-latin-wght-normal.woff2) format("woff2");
  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:"Source Sans 3";font-style:normal;font-weight:200 900;font-display:swap;
  src:url(fonts/source-sans-3-latin-ext-wght-normal.woff2) format("woff2");
  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:"Source Sans 3";font-style:normal;font-weight:200 900;font-display:swap;
  src:url(fonts/source-sans-3-latin-wght-normal.woff2) format("woff2");
  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: warm paper, three depths. Most content sits directly on --paper; raise only real objects. */
  --pa-paper:#f5f2ea;        /* page */
  --pa-raised:#fcfaf5;       /* the post being made, dialogs, sticky bars */
  --pa-sunk:#ebe6da;         /* wells: the video frame, inputs on raised, code */
  /* Ink: three steps only. Never more than three greys on one screen. */
  --pa-ink:#18221b;
  --pa-ink-2:#3b473f;
  --pa-ink-3:#5c6659;
  /* Rules instead of boxes. */
  --pa-rule:#ddd5c5;
  --pa-rule-strong:#b9af9b;
  /* One action colour. */
  --pa-forest:#2c5a3b;
  --pa-forest-press:#1f4029;
  --pa-on-forest:#ffffff;
  --pa-forest-tint:#e2ebdc;
  /* States: a coloured mark + a word, never colour alone. Tints only behind a whole row that needs action. */
  --pa-failed:#a3362b;   --pa-failed-tint:#f7e3dd;
  --pa-waiting:#8a5a00;  --pa-waiting-tint:#f5eacf;   /* unconfirmed, waiting for a reply */
  --pa-reconnect:#2f5683;--pa-reconnect-tint:#e1e9f3;
  --pa-done:#2c6a3e;
  --pa-focus:#1d5fd1;
  /* Brand tones for account monograms (same order as the live --hp-tone-0..7). */
  --pa-tone-0:#4a3f8f;--pa-tone-1:#26466e;--pa-tone-2:#7a4a1c;--pa-tone-3:#1f6460;
  --pa-tone-4:#6b3a5e;--pa-tone-5:#3e5a24;--pa-tone-6:#34495e;--pa-tone-7:#7a3b2e;
  /* Chart series (validated with the dataviz validator, slots 1-3 in fixed order; light on --pa-paper):
     orange and aqua sit below 3:1, so charts always carry direct labels + a data table. */
  --pa-chart-f:#2a78d6;--pa-chart-ig:#eb6834;--pa-chart-yt:#1baf7a;

  /* Type. Fraunces only for page titles and the few big numbers; everything you read or act on is Source Sans 3. */
  --pa-serif:"Fraunces",Georgia,"Times New Roman",serif;
  --pa-sans:"Source Sans 3",system-ui,-apple-system,"Segoe UI",sans-serif;
  --pa-fs-meta:13px;     /* times, counts, captions */
  --pa-fs-small:15px;    /* secondary lines */
  --pa-fs-body:17px;     /* default */
  --pa-fs-lead:19px;
  --pa-fs-h3:20px;       /* item titles */
  --pa-fs-h2:15px;       /* section labels: sans, 600, letter-spaced */
  --pa-fs-h1:44px;       /* page title, Fraunces */
  --pa-fs-num:40px;      /* big numbers, Fraunces */
  --pa-lh:1.55;

  /* Space: 4 px grid. */
  --pa-s1:4px;--pa-s2:8px;--pa-s3:12px;--pa-s4:16px;--pa-s5:24px;--pa-s6:32px;--pa-s7:48px;--pa-s8:64px;
  --pa-radius-s:6px;--pa-radius:10px;--pa-radius-l:16px;
  --pa-shadow-raised:0 1px 0 rgba(24,34,27,.04),0 18px 40px -28px rgba(24,34,27,.35);
  --pa-shadow-bar:0 -10px 30px -18px rgba(24,34,27,.35);
  --pa-content:1200px;
  --pa-ease:cubic-bezier(.2,.7,.2,1);
}

@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --pa-paper:#121713;--pa-raised:#1a211b;--pa-sunk:#0d110e;
    --pa-ink:#ebe7dc;--pa-ink-2:#c3c8bb;--pa-ink-3:#97a092;
    --pa-rule:#2a322b;--pa-rule-strong:#435045;
    --pa-forest:#9cc58a;--pa-forest-press:#b8d9a8;--pa-on-forest:#0f1d10;--pa-forest-tint:#1f2d20;
    --pa-failed:#f0907f;--pa-failed-tint:#3a1f1a;--pa-waiting:#e8b85c;--pa-waiting-tint:#33280f;
    --pa-reconnect:#93b6e6;--pa-reconnect-tint:#1b2638;--pa-done:#8fd09a;--pa-focus:#8fb4ff;
    --pa-chart-f:#3987e5;--pa-chart-ig:#d95926;--pa-chart-yt:#199e70;
    --pa-shadow-raised:0 1px 0 rgba(0,0,0,.4),0 18px 40px -26px rgba(0,0,0,.8);
    --pa-shadow-bar:0 -10px 30px -18px rgba(0,0,0,.8);
  }
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --pa-paper:#121713;--pa-raised:#1a211b;--pa-sunk:#0d110e;
  --pa-ink:#ebe7dc;--pa-ink-2:#c3c8bb;--pa-ink-3:#97a092;
  --pa-rule:#2a322b;--pa-rule-strong:#435045;
  --pa-forest:#9cc58a;--pa-forest-press:#b8d9a8;--pa-on-forest:#0f1d10;--pa-forest-tint:#1f2d20;
  --pa-failed:#f0907f;--pa-failed-tint:#3a1f1a;--pa-waiting:#e8b85c;--pa-waiting-tint:#33280f;
  --pa-reconnect:#93b6e6;--pa-reconnect-tint:#1b2638;--pa-done:#8fd09a;--pa-focus:#8fb4ff;
  --pa-chart-f:#3987e5;--pa-chart-ig:#d95926;--pa-chart-yt:#199e70;
  --pa-shadow-raised:0 1px 0 rgba(0,0,0,.4),0 18px 40px -26px rgba(0,0,0,.8);
  --pa-shadow-bar:0 -10px 30px -18px rgba(0,0,0,.8);
}
