/* The portal's whole palette, type and scale. Nothing else may hard-code a colour,
   a face or a radius — see DESIGN.md.

   A ledger, not a dashboard: one paper-white working surface, structure carried by
   1px hairlines, no shadow anywhere in the report, one accent taken from the Teta
   logo, and green/red only on a figure that has a direction. */

/* Fira Sans for every word, Fira Mono for every figure — self-hosted woff2 (never a
   Google Fonts <link> on a client site), exactly the subsets Google serves. latin-ext
   is not optional: it carries ě š č ř ž ů and the Czech quotes. The 400 weights of
   both faces are preloaded by the page shell; the rest arrive with the stylesheet.

   Ranges copied verbatim from fonts.googleapis.com/css2 (Fira Sans v18, Fira Mono v16,
   fetched 2026-09-20) so the browser downloads latin-ext only for the pages that
   actually need it. */
@font-face{font-family:"Fira Sans";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/fira-sans-400-latin.d26e1b11589f.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:"Fira Sans";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/fira-sans-400-latin-ext.ac8411d00429.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:"Fira Sans";font-style:italic;font-weight:400;font-display:swap;
  src:url("../fonts/fira-sans-400i-latin.022ce95a9787.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:"Fira Sans";font-style:italic;font-weight:400;font-display:swap;
  src:url("../fonts/fira-sans-400i-latin-ext.c28a6516bbdf.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:"Fira Sans";font-style:normal;font-weight:500;font-display:swap;
  src:url("../fonts/fira-sans-500-latin.9410bb8f89e5.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:"Fira Sans";font-style:normal;font-weight:500;font-display:swap;
  src:url("../fonts/fira-sans-500-latin-ext.207a74105ab3.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:"Fira Sans";font-style:normal;font-weight:600;font-display:swap;
  src:url("../fonts/fira-sans-600-latin.beb3d7395726.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:"Fira Sans";font-style:normal;font-weight:600;font-display:swap;
  src:url("../fonts/fira-sans-600-latin-ext.cb3ee579c8df.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:"Fira Mono";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/fira-mono-400-latin.58859316030d.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:"Fira Mono";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/fira-mono-400-latin-ext.ebaa57643c15.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:"Fira Mono";font-style:normal;font-weight:500;font-display:swap;
  src:url("../fonts/fira-mono-500-latin.5b7a55cd860f.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:"Fira Mono";font-style:normal;font-weight:500;font-display:swap;
  src:url("../fonts/fira-mono-500-latin-ext.bf430b133719.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}
/* Fira Mono ships 400 / 500 / 700 and NOTHING between: `font-weight:600` on a family
   that declares only 400 and 500 silently matches 500, and asking Google for
   `Fira+Mono:wght@600` returns "400: Font family not found". The key figures that had to
   get heavier therefore use the real 700 face, fetched 2026-09-20 the same way as the
   rest — never a synthetic bold. */
@font-face{font-family:"Fira Mono";font-style:normal;font-weight:700;font-display:swap;
  src:url("../fonts/fira-mono-700-latin.6988358cef96.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:"Fira Mono";font-style:normal;font-weight:700;font-display:swap;
  src:url("../fonts/fira-mono-700-latin-ext.2bcc6b3fbdec.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}

:root{
  /* --- surfaces ----------------------------------------------------------
     Four steps, and every one of them does one job. The owner's note of
     2026-09-20 — "ty sekce splývají dohromady" — was a surface problem before
     it was a type problem: a header band has to sit ON something, and the open
     section has to sit on something else again.                             */
  --paper:#fff;              /* the working surface — one continuous plane      */
  --tint:#fafbfc;            /* quiet alternate surface for open sections       */
  --panel:#f6f7f9;           /* soft background for the rail and grouped content */
  --panel-2:#edf0f4;         /* table heads and pressed controls                */

  /* --- ink ---------------------------------------------------------------
     Measured against #fff (tokens.css is the only place these numbers live):
     --ink 17.9:1, --ink-2 11.2:1, --muted 6.8:1 (6.0:1 even on --panel), so a
     12px caption clears AA by a margin instead of scraping it.               */
  --ink:#202938;             /* deep slate for body text and figures            */
  --ink-2:#4b5565;           /* secondary prose                                  */
  --muted:#687386;           /* labels, column heads and captions               */
  --off:#929baa;             /* disabled controls                                */

  /* --- structure -------------------------------------------------------- */
  --rule:#e8ebf0;            /* quiet row separators                            */
  --rule-2:#d8dde6;          /* stronger section and table boundaries           */

  /* --- accent ----------------------------------------------------------- */
  --accent:#d92749;          /* Teta red, reserved for active and primary states*/
  --accent-ink:#b51e3b;      /* accessible red for text                          */
  --accent-soft:#fff0f2;

  /* --- the three reports, three hues (owner 2026-10-01: „celé je to černo-šedivé,
     všechno splývá, hrozně špatně se v tom hledá“) -------------------------
     Every report carries one hue of its own through its rail, its table heads,
     its section rules and its hub box, so a buyer knows where they are before
     reading a word. All three come from the Teta logo (red #ED2127, orange
     #F37022) except the blue, which is the colour of the COMPETITION in every
     chart on the site — Teta is red, dm + Rossmann are blue — and so also the
     hue of the report about them. Text variants clear 4.5:1 on white and on
     their own soft tint; the solid variants are used on fills and rules only. */
  --sec:var(--accent);       /* set per report by .shell--sec-* below           */
  --sec-ink:var(--accent-ink);
  --sec-soft:var(--accent-soft);
  --kon:#1f5fa8;             /* competition blue — fills, rules, share tracks   */
  --kon-ink:#174c86;         /* 7.4:1 on white — the same blue as text          */
  --kon-soft:#e8f0fb;
  --rr:#e8690b;              /* range-review orange (logo)                      */
  --rr-ink:#9c4607;          /* 6.1:1 on white — orange as text                 */
  --rr-soft:#fdeedf;
  /* the window plan's 9 category families (promo/plan_colors.py; Marek 2026-10-23: „jednotlivé kategorie
     barevně odlišovat“). Muted hues, no pink — Teta red stays the one accent. -ink is text on -soft:
     5.5–7.9:1, and 6.6–9.8:1 on white; hues spread round the wheel
     (blue, violet, mint, aqua, slate, amber, olive, terracotta, warm stone) so neighbours read apart. */
  --fam-domacnost-ink:#2b5794; --fam-domacnost-soft:#dde8f8;
  --fam-krasa-ink:#634296;     --fam-krasa-soft:#ece4f8;
  --fam-pece-ink:#1b6a46;      --fam-pece-soft:#d9f1e4;
  --fam-hygiena-ink:#0f6170;   --fam-hygiena-soft:#d4eff3;
  --fam-muzi-ink:#33455b;      --fam-muzi-soft:#e1e7ef;
  --fam-deti-ink:#6c5000;      --fam-deti-soft:#faedc6;
  --fam-zdravi-ink:#4a5e12;    --fam-zdravi-soft:#ebf1d2;
  --fam-zvirata-ink:#86420e;   --fam-zvirata-soft:#f7e3d3;
  --fam-marketing-ink:#585246; --fam-marketing-soft:#f0ece4;
  --mark:#fff1b8;            /* logo yellow, softened: the one highlight fill   */

  /* --- direction (never decoration) ------------------------------------- */
  --pos:#0f7a3d;             /* 5.4:1 on white, 4.8:1 on --pos-bg               */
  --pos-bg:#e6f4ec;
  --warn-bg:#fbf3dc;         /* KPI strip: growth, but under the target (gen_report kh-warn) */
  --neg:#c0122f;             /* 6.2:1 on white, 5.3:1 on --neg-bg               */
  --neg-bg:#fbe9ec;

  /* --- geometry --------------------------------------------------------- */
  --rail:240px;              /* the left panel, fixed by the brief              */
  --gut:24px;                /* the work column's constant horizontal padding —
                                every rule, table edge and heading shares it    */
  --radius:10px;
  --radius-sm:7px;
  --measure:30rem;           /* ~70 Fira Sans characters. A rem, not a `ch`:
                                `ch` is per-element, so two blocks set to the
                                same `ch` do not share an edge.                 */
  /* The buyer section header is a fixed grid so all twelve sections line up
     column-for-column. Fira Mono advances at exactly .6em, so a column is sized
     from the widest figure it can hold: "12 345 678 Kč" = 14 glyphs.           */
  --fig:8.5rem;              /* an absolute figure at 13.5px + its gutter        */
  --fig-d:10.5rem;           /* a Δ figure: 15px, a pill under it, a fence left  */
  --track:.02em;             /* small-caps tracking: killed, not decorative      */

  /* --- type ------------------------------------------------------------- */
  --font:"Fira Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --mono:"Fira Mono","SFMono-Regular",Consolas,monospace;
  --tap:150ms cubic-bezier(.2,.6,.3,1);
}

/* An author `display` rule would silently defeat el.hidden, and every collapsed
   section, panel and drill row on this site relies on it. */
[hidden]{display:none!important}
