/* teta-reporty — the whole portal's stylesheet. Tokens live in tokens.css.

   A ledger, not a dashboard. The page is two things: a fixed left rail that holds who you
   are, which week you are in and which view you are reading; and one continuous white
   working surface where every figure sits on a ruled line. Structure is carried by 1px
   hairlines that run the full width of the work column — never by a box drawn around
   content, never by a shadow. Every rule, table edge and heading shares the one gutter
   (--gut), and that shared left edge is what makes the page read as a ledger.

   Words are Fira Sans, figures are Fira Mono, always. A number is recognisable as a
   number before it is read, and Fira Mono is monospaced, so columns line up without
   font-variant-numeric tricks. */

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:400 14px/1.5 var(--font);
  -webkit-font-smoothing:antialiased;accent-color:var(--accent)}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit;text-underline-offset:2px}
button{font:inherit;color:inherit}
img{max-width:100%;height:auto}

/* --- browser surfaces ------------------------------------------------------
   The parts we did not draw still belong to the design: the selection, the focus
   ring and the scrollbar of a table wider than its column. */
::selection{background:var(--accent);color:#fff}
:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px;border-radius:2px}
.table-scroll{scrollbar-width:thin;scrollbar-color:var(--rule-2) transparent}
.table-scroll::-webkit-scrollbar{height:9px}
.table-scroll::-webkit-scrollbar-thumb{background:var(--rule-2);border-radius:5px}
.table-scroll::-webkit-scrollbar-track{background:transparent}
.side{scrollbar-width:thin;scrollbar-color:var(--rule-2) transparent}

/* screen-reader-only: headings and controls the layout does not show but the
   document needs — including the rail's checkbox. */
.vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-9999px;top:0}
.skip:focus{left:10px;top:10px;z-index:60;padding:9px 16px;background:var(--ink);color:#fff;
  font-weight:600;text-decoration:none;border-radius:var(--radius-sm)}

/* A caret drawn from two borders, never a ▾ glyph standing in for an icon. The
   rotation IS the open/closed state, so it is the one place motion is allowed. */
.caret{display:inline-block;flex:none;border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;transition:transform var(--tap),color var(--tap)}

/* =========================================================================
   SHELL — the rail and the working surface
   ========================================================================= */
.shell{display:grid;grid-template-columns:var(--rail) minmax(0,1fr);min-height:100vh}
/* Porovnání s konkurencí carries its category list in the rail, so the rail is wider
   there (category names + market size) — and it is the only column on the left. */
.shell--kon{--rail:300px}
.railtoggle{position:absolute}
.mtop{display:none}

.side{position:sticky;top:0;align-self:start;height:100vh;display:flex;flex-direction:column;
  background:var(--panel);border-right:1px solid var(--rule-2);overflow-y:auto}

.side-brand{padding:20px 16px 16px;border-bottom:1px solid var(--rule-2)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand img{display:block;width:60px;height:42px}
.brand-sub{font-size:11.5px;font-weight:600;line-height:1.35;letter-spacing:var(--track);
  text-transform:uppercase;color:var(--ink-2)}

.side-group{padding:16px 16px 14px;border-bottom:1px solid var(--rule-2)}
/* which report this rail belongs to, and the one link back to the hub */
.side-report{padding:12px 16px 14px;border-bottom:1px solid var(--rule-2)}
.side-home{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:500;
  color:var(--accent-ink);text-decoration:none}
.side-home:hover{color:var(--ink)}
.side-home .caret{width:6px;height:6px;transform:rotate(135deg);margin-left:2px}
.side-report-name{margin-top:6px;font-size:15px;font-weight:600;line-height:1.3;color:var(--ink)}
/* Every small-caps label on the site is 11px/600 with the tracking killed: loose
   tracking at 10.5px is what made the labels read as grey noise (owner, 2026-09-20). */
.side-label{margin-bottom:9px;font-size:11px;font-weight:600;letter-spacing:var(--track);
  text-transform:uppercase;color:var(--muted)}
.side-label--gap{margin-top:16px}

/* A rail row bleeds to both edges of the rail, so the current view reads as a band
   rather than as a chip floating inside it. */
.side-link{display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin:0 -16px;padding:7px 16px 7px 14px;border-left:2px solid transparent;
  font-size:13.5px;font-weight:500;color:var(--ink-2);text-decoration:none;
  transition:background var(--tap),color var(--tap),border-color var(--tap)}
.side-link:hover{background:var(--panel-2);color:var(--ink)}
.side-link.is-current{background:var(--accent-soft);border-left-color:var(--accent);
  color:var(--accent-ink);font-weight:600}
.side-count{flex:none;font:500 12px var(--mono);color:var(--muted)}
.side-link.is-current .side-count{color:var(--accent-ink)}

.side-foot{margin-top:auto;padding:14px 16px 18px;border-top:1px solid var(--rule-2)}
.side-user{display:block;font-size:13px;font-weight:500;color:var(--ink-2);
  overflow-wrap:anywhere}
.side-foot form{margin:2px 0 0}
.linkbtn{background:none;border:0;padding:2px 0;color:var(--accent-ink);font-size:13px;
  font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:2px;
  transition:color var(--tap)}
.linkbtn:hover{color:var(--ink)}

/* the period picker: a select that fills the rail (the prev/next steppers went 2026-10-16) */
.wkpick{display:flex;gap:6px}
.wksel{flex:1;min-width:0}
.wksel select{width:100%;padding:7px 8px;border:1px solid var(--rule-2);
  border-radius:var(--radius-sm);background:var(--paper);color:var(--ink);
  font:500 13px var(--font)}

/* the mode switch: two states of one switch, so they share one frame */
.modeset{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--rule-2);
  border-radius:var(--radius-sm);overflow:hidden;background:var(--paper)}
.mode{padding:7px 4px;text-align:center;font-size:13px;font-weight:500;color:var(--ink-2);
  text-decoration:none;transition:background var(--tap),color var(--tap)}
.mode+.mode{border-left:1px solid var(--rule-2)}
.mode:hover{background:var(--panel);color:var(--ink)}
.mode.is-active{background:var(--ink);color:#fff;font-weight:600}
.mode.is-active:hover{background:var(--ink);color:#fff}

.work{display:flex;flex-direction:column;min-width:0;min-height:100vh}
.work main{flex:1;min-width:0}
.foot{margin-top:44px;padding:20px var(--gut) 30px;border-top:1px solid var(--rule-2);
  color:var(--muted);font-size:12px}

/* --- hub: the portal's front page, standing alone — no rail, a slim bar with the brand
   and the signed-in user, the rows centred on the paper ------------------------------ */
.hubbar{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:12px var(--gut);background:var(--panel);border-bottom:1px solid var(--rule-2)}
.hubbar .brand img{width:52px;height:36px}
.hubbar-user{display:flex;align-items:baseline;gap:14px;min-width:0}
.hubbar-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:13px;font-weight:500;color:var(--ink-2)}
.hubbar-user form{margin:0;flex:none}
.hubpage{display:block;width:100%;max-width:72rem;margin:0 auto;min-height:calc(100vh - 160px)}
.hubpage .sheet{padding-top:40px}
.hubpage-foot{max-width:72rem;margin-left:auto;margin-right:auto;border-top:0}
.hubpage-foot::before{content:"";display:block;margin-bottom:20px;border-top:1px solid var(--rule-2)}
.hub-head{margin-bottom:26px}
/* the hub's area tabs (Finance / NKO / Marketing): the report pages' .tabs, as links */
.hub-tabs{display:flex;flex-wrap:wrap;border-bottom:2px solid var(--rule-2);margin:-8px 0 28px}
.hub-tab{margin:0 24px -2px 0;padding:8px 0;border-bottom:2px solid transparent;
  font-size:14px;font-weight:600;color:var(--muted);text-decoration:none;
  transition:color var(--tap),border-color var(--tap)}
.hub-tab:hover{color:var(--ink)}
.hub-tab.is-active{color:var(--ink);border-bottom-color:var(--accent)}
/* four boxes side by side, each one clearly its own thing (owner, 2026-09-26): a panel
   on the paper with a hairline frame, the ready ones carrying the accent on their top edge */
.hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.hub-card{display:flex;flex-direction:column;min-height:15rem;padding:22px 24px 20px;
  background:var(--panel);border:1px solid var(--rule-2);border-top:3px solid var(--accent);
  border-radius:var(--radius);box-shadow:0 1px 2px rgba(20,16,12,.04)}
.hub-card--soon{border-top-color:var(--rule-2);background:var(--paper)}
.hub-card--soon .hub-title,.hub-card--soon .hub-desc{color:var(--muted)}
.hub-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:19px;font-weight:600;
  line-height:1.3;letter-spacing:-.01em}
.hub-title a{text-decoration:none;color:var(--ink)}
.hub-title a:hover{color:var(--accent-ink)}
.hub-desc{margin-top:6px;font-size:14px;color:var(--ink-2)}
.hub-side{margin-top:18px;padding-top:14px;border-top:1px solid var(--rule)}
.hub-kv{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px solid var(--rule);
  font-size:13px}
.hub-kv:first-child{padding-top:0}
.hub-k{color:var(--muted)}
.hub-v{font-weight:600;text-decoration:none;color:var(--ink)}
a.hub-v:hover{color:var(--accent-ink)}
.hub-links{margin-top:14px;font-size:13px;font-weight:500}
.hub-links a{color:var(--accent-ink)}
@media (max-width:760px){.hub-grid{grid-template-columns:minmax(0,1fr)}.hub-card{min-height:0}}

/* =========================================================================
   WORKING SURFACE — headings, the dateline, the network figures
   ========================================================================= */
.sheet{padding:26px var(--gut) 10px}
.page-title{margin-bottom:6px;font-size:22px;font-weight:600;line-height:1.25;
  letter-spacing:-.015em}
.page-lead{max-width:var(--measure);color:var(--ink-2);font-size:14px}
.sheet>.block{margin-top:26px}
.view-title{font-size:19px;font-weight:600;line-height:1.3;letter-spacing:-.01em}
.section-title{font-size:15px;font-weight:600;line-height:1.35}
.panel>.section-title{margin:18px 0 16px}

.dateline{display:flex;align-items:baseline;gap:12px;padding:18px var(--gut) 10px}
.dateline-wk{font:700 14px var(--mono);color:var(--ink)}
.dateline-mode{font-size:11px;font-weight:600;letter-spacing:var(--track);
  text-transform:uppercase;color:var(--ink-2)}

/* The whole network in six figures: one ruled row, hairlines between the cells,
   fenced top and bottom by a 2px rule so the strip reads as one bounded object
   rather than as the first of an undifferentiated stack. */
.kpi-header{display:grid;grid-template-columns:repeat(6,1fr);
  border-top:2px solid var(--rule-2);border-bottom:2px solid var(--rule-2)}
.kh-item{padding:14px 18px 16px;border-left:1px solid var(--rule);min-width:0}
.kh-item:first-child{border-left:0;padding-left:var(--gut)}
.kh-item:last-child{padding-right:var(--gut)}
/* the two YoY cells are tinted against the growth target (gen_report kh-good/warn/bad) */
.kh-item--pos{background:var(--pos-bg)}
.kh-item--warn{background:var(--warn-bg)}
.kh-item--neg{background:var(--neg-bg)}
.kh-label{font-size:11px;font-weight:600;letter-spacing:var(--track);text-transform:uppercase;
  color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kh-val{margin-top:7px;font:700 20px/1.15 var(--mono);letter-spacing:-.02em;white-space:nowrap}
.kh-sub{margin-top:5px;font:500 12.5px var(--mono);color:var(--ink-2);white-space:nowrap}
.kh-sub.muted{color:var(--muted)}

.pos{color:var(--pos);white-space:nowrap}
.neg{color:var(--neg);white-space:nowrap}
.muted{color:var(--muted)}
.num{text-align:right;font:500 13.5px var(--mono);white-space:nowrap}

/* =========================================================================
   BUYER SECTION — `.card` is a JS/test hook, not a card
   ========================================================================= */
/* Twelve sections stacked with nothing but a hairline between them read as one
   undifferentiated list — the owner's "sekce splývají dohromady", 2026-09-20. A
   section is now an OBJECT: 24 px of paper above it, a tinted header band fenced by a
   2 px rule top and bottom, and — when open — a body on its own tint. Still no card:
   no border box, no radius, no shadow, and the band bleeds the full work column. */
.card{margin-top:24px}
.card:first-of-type{margin-top:18px}
.card-head{margin:0;font-size:inherit;font-weight:inherit}

/* The header is a fixed grid, not a flex row: all twelve sections size their columns
   from the same track list, so the six figures line up column-for-column down the
   whole page. `.kpis` is display:contents so its seven children ARE the grid items —
   the span stays for the test and JS hooks that name it. */
.card-toggle{display:grid;
  grid-template-columns:14px minmax(10rem,1fr) var(--fig) var(--fig) var(--fig-d)
                        var(--fig) var(--fig) var(--fig-d) var(--fig);
  align-items:center;width:100%;padding:11px var(--gut);text-align:left;cursor:pointer;
  background:var(--panel);border:0;border-top:2px solid var(--rule-2);
  border-bottom:2px solid var(--rule-2);transition:background var(--tap)}
.kpis{display:contents}
.card-toggle:hover{background:var(--panel-2)}
/* the open section carries a 2px rule down its left edge, in its own direction —
   an inset shadow rather than a border, so nothing shifts when it opens */
.card:has(.card-toggle[aria-expanded="true"]){box-shadow:inset 2px 0 0 var(--rule-2)}
.card--pos:has(.card-toggle[aria-expanded="true"]){box-shadow:inset 2px 0 0 var(--pos)}
.card--neg:has(.card-toggle[aria-expanded="true"]){box-shadow:inset 2px 0 0 var(--neg)}

.chev{width:7px;height:7px;color:var(--ink-2);transform:rotate(45deg);margin-bottom:3px}
.card-toggle[aria-expanded="true"] .chev{color:var(--accent-ink);transform:rotate(225deg)}
.card-toggle:hover .chev{color:var(--ink)}
/* the buyer's name is the strongest thing on the row — it is what the reader is
   looking for in a stack of twelve */
.card-title{min-width:0;padding-left:12px}
.badge{display:block;font-size:16.5px;font-weight:600;line-height:1.2;color:var(--ink)}
.card-full{display:block;margin-top:3px;font:500 11.5px var(--mono);color:var(--muted)}

/* the six figures sit ON the header line, right-aligned, no frames — only the two
   measured deltas are fenced off by a hairline */
.kpi-box{display:block;min-width:0;padding-left:16px;text-align:right}
.kpi-box--delta{padding-left:16px;border-left:1px solid var(--rule-2)}
.kpi-label{display:block;font-size:11px;font-weight:600;letter-spacing:var(--track);
  text-transform:uppercase;color:var(--muted);white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis}
.kpi-val{display:block;margin-top:5px;font:500 13.5px var(--mono);color:var(--ink);
  white-space:nowrap}
.kpi-box--delta .kpi-val{font:700 15px var(--mono)}
.kpi-pct{display:block;margin-top:5px}
.pill{display:inline-block;padding:1px 7px;border-radius:var(--radius-sm);background:var(--paper);
  font:700 12.5px var(--mono);color:var(--ink-2)}
.pill--pos{background:var(--pos-bg);color:var(--pos)}
.pill--neg{background:var(--neg-bg);color:var(--neg)}

/* the open body sits on its own tint, so an open section is a different surface from
   the closed ones above and below it */
.card-body{padding:18px var(--gut) 24px;background:var(--tint);
  border-bottom:2px solid var(--rule-2)}

/* --- tabs inside a section --------------------------------------------- */
.tabs{display:flex;flex-wrap:wrap;border-bottom:2px solid var(--rule-2)}
.tab{margin:0 24px -2px 0;padding:8px 0;background:none;border:0;
  border-bottom:2px solid transparent;font-size:13.5px;font-weight:600;color:var(--muted);
  cursor:pointer;transition:color var(--tap),border-color var(--tap)}
.tab:hover{color:var(--ink)}
.tab.is-active{color:var(--ink);border-bottom-color:var(--accent)}

/* --- a bounded block inside a section -----------------------------------
   The eye must never have to guess where the TOP lists stop and the drill table
   starts. Every block inside an open section opens on a 2px rule and carries its own
   label — for the movers the two ▲/▼ headings, for the table its tinted <thead>. */
.block{margin-top:24px;padding-top:16px;border-top:2px solid var(--rule-2)}
.block--table{padding-top:0}
/* the tab bar is already this block's top fence — a second rule 25px under it is noise */
.panel>.block:first-child{margin-top:18px;padding-top:0;border-top:0}

/* --- TOP movers ---------------------------------------------------------- */
.movers{display:grid;grid-template-columns:1fr 1fr;gap:0 40px}
.mv{min-width:0}
.mv-head{padding-bottom:7px;border-bottom:1.5px solid currentColor;font-size:11.5px;
  font-weight:600;letter-spacing:var(--track);text-transform:uppercase}
.mv-head--up{color:var(--pos)}
.mv-head--down{color:var(--neg)}
.mv-list li{display:flex;align-items:baseline;gap:14px;padding:8px 0;
  border-bottom:1px solid var(--rule);font-size:13.5px}
.mv-list li:last-child{border-bottom:0}
.mv-name{flex:1;min-width:0;font-weight:500;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap}
.mv-list .num:last-child{min-width:5rem}
.mv-empty{color:var(--muted);font-style:italic}

/* --- drill table: no frame, no radius, one hairline under every row -------
   Rhythm is a hairline on EVERY row (never zebra — a tint on alternate rows would
   compete with the child rows, which use one to say "these belong to the row above").
   A ~37px row: 9px of padding over a 13.5px line. */
.table-scroll{overflow-x:auto}
table.grid{width:100%;border-collapse:collapse;font-size:13.5px}
table.grid th,table.grid td{padding:9px 12px;line-height:1.4;
  border-bottom:1px solid var(--rule)}
/* the ledger's shared left edge: the first column starts exactly where the rules,
   the headings and the section bands start, and the tinted head band starts with it */
table.grid th:first-child,table.grid td:first-child{padding-left:0}
table.grid th:last-child,table.grid td:last-child{padding-right:0}
/* every table head is a tinted band with a strong rule under it — it is the table's
   label as much as its column names */
table.grid thead th{position:sticky;top:0;z-index:1;padding-top:9px;padding-bottom:9px;
  background:var(--panel-2);color:var(--ink);font:600 11.5px var(--font);
  letter-spacing:var(--track);text-transform:uppercase;white-space:nowrap;text-align:left;
  border-bottom:1px solid var(--rule-2)}
table.grid thead th.num{text-align:right;font-family:var(--font);font-size:11.5px}
/* a <th scope="row"> is centred by browser default — every row label needs this */
table.grid tbody th{text-align:left}
table.grid tbody tr:last-child th,table.grid tbody tr:last-child td{border-bottom:0}
/* Direction lives on the Δ figures, which carry a sign and an arrow as well as a
   colour — so no row carries a tint and the surface stays one plane. */
.name{font-weight:500;text-align:left;min-width:17rem;overflow-wrap:anywhere}
.name-plain{font-weight:500}
.drill{display:inline-flex;align-items:center;gap:8px;padding:0;background:none;border:0;
  font-weight:500;text-align:left;cursor:pointer;color:var(--ink);transition:color var(--tap)}
.drill:hover{color:var(--accent-ink)}
.drill-ico{width:5px;height:5px;color:var(--ink-2);transform:rotate(-45deg)}
.drill:hover .drill-ico{color:var(--accent-ink)}
.drill[aria-expanded="true"] .drill-ico{color:var(--accent-ink);transform:rotate(45deg)}
.sub{background:var(--panel);font-size:12.5px}
.sub .num{color:var(--ink-2);font-size:12.5px}
.name--sub{padding-left:32px!important;font-weight:500;color:var(--ink-2)}
.empty{padding:18px 0;color:var(--muted);font-style:italic}

/* --- observation lists ---------------------------------------------------- */
.notes{display:grid;grid-template-columns:1fr 1fr;gap:0 40px}
.note{min-width:0}
.note+.note{margin-top:24px}
.notes .note+.note{margin-top:0}
.note h3{padding-bottom:7px;border-bottom:2px solid var(--rule-2);font-size:11.5px;
  font-weight:600;letter-spacing:var(--track);text-transform:uppercase;color:var(--ink-2)}
.note-list li{max-width:var(--measure);padding:10px 0;border-bottom:1px solid var(--rule);
  font-size:14px;line-height:1.55;color:var(--ink)}
.note-list li:last-child{border-bottom:0}
ol.note-list{counter-reset:step}
ol.note-list li{counter-increment:step;padding-left:28px;position:relative}
ol.note-list li::before{content:counter(step) ".";position:absolute;left:0;
  font:700 13px/1.7 var(--mono);color:var(--accent-ink)}

/* --- the network view (Regály / Výrobci) ---------------------------------- */
.card-pad{padding:20px var(--gut) 26px}

/* =========================================================================
   DOCUMENT — Pro vedení and Pro ředitele
   ========================================================================= */
.doc{padding:22px var(--gut) 12px}
.doc .view-title{margin-bottom:18px}
.doc-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(17rem,24rem);gap:0 44px;
  align-items:start}
.doc-aside{min-width:0}
/* Every section of the executive summary: its name in the left column, its sentences in
   a column capped at the prose measure. A document, not five cards. */
.doc-sec{display:grid;grid-template-columns:15rem minmax(0,var(--measure));gap:0 44px;
  padding:22px 0;border-top:2px solid var(--rule-2)}
.doc-sec:first-of-type,.doc-sec--first{border-top:2px solid var(--rule-2)}
.doc .block--table+.doc-sec{margin-top:28px}
.doc-rail{min-width:0}
.doc--exec .doc-rail{text-align:right}
.doc-rail .section-title{margin-bottom:8px}
.doc-body{min-width:0}
.doc-body .note-list li:first-child{padding-top:0}

/* --- week grade chip ------------------------------------------------------- */
.chip{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12.5px;
  font-weight:600}
.chip--silny{background:var(--pos-bg);color:var(--pos)}
.chip--podprumerny{background:var(--panel);color:var(--ink-2)}
.chip--slaby{background:var(--neg-bg);color:var(--neg)}

/* =========================================================================
   EMPTY STATE, BUTTONS, UPLOAD
   ========================================================================= */
.blank{max-width:var(--measure);padding:28px 0 8px}
.blank h1{font-size:23px;font-weight:600;letter-spacing:-.015em;margin-bottom:8px}
.blank p{margin-bottom:16px;color:var(--ink-2)}
.btn{display:inline-block;padding:9px 18px;border:1px solid var(--accent);
  border-radius:var(--radius-sm);background:var(--accent);color:#fff;font-size:13.5px;
  font-weight:600;text-decoration:none;cursor:pointer;
  transition:background var(--tap),border-color var(--tap)}
.btn:hover{background:var(--accent-ink);border-color:var(--accent-ink)}
.btn[disabled]{background:var(--panel);color:var(--muted);border-color:var(--rule-2);cursor:not-allowed}
.btn--secondary{background:var(--paper);color:var(--ink);border-color:var(--rule-2)}
.btn--secondary:hover{background:var(--panel);border-color:var(--ink);color:var(--ink)}

.upload{max-width:62rem}
.upload-head{margin-bottom:22px}
.upload-lead{margin-top:8px;max-width:var(--measure);color:var(--ink-2);font-size:14px}
.upload-lead b{color:var(--ink);font-weight:600}
.upload-block{padding-top:20px;border-top:2px solid var(--rule-2)}
.upload-period{display:flex;flex-wrap:wrap;gap:12px 20px;margin:0 0 14px}
.upload-field{display:flex;flex-direction:column;gap:4px;font-size:11.5px;font-weight:600;
  letter-spacing:var(--track);text-transform:uppercase;color:var(--muted)}
.upload-field select{min-width:9rem;padding:7px 8px;border:1px solid var(--rule-2);border-radius:var(--radius-sm);
  background:var(--paper);color:var(--ink);font:500 13.5px var(--font)}
.dropzone{display:flex;flex-direction:column;align-items:center;gap:12px;
  padding:34px 16px 30px;border:1px dashed var(--rule-2);border-radius:var(--radius);
  background:var(--panel);text-align:center;cursor:pointer;
  transition:border-color var(--tap),background var(--tap)}
.dropzone:hover,.dropzone.is-dragover,.dropzone:focus-within{border-color:var(--accent);
  background:var(--accent-soft)}
.dropzone.is-invalid{border-color:var(--neg);background:var(--neg-bg)}
.dropzone-icon{color:var(--muted);transition:color var(--tap)}
.dropzone:hover .dropzone-icon,.dropzone.is-dragover .dropzone-icon{color:var(--accent-ink)}
.dropzone-text{font-size:14.5px;font-weight:600}
/* The native control is kept (it is the form field and the focus target) but hidden:
   its button says "Choose File" in the browser's language, not in ours. */
.dropzone-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.dropzone-btn{padding:8px 16px;border:1px solid var(--rule-2);border-radius:var(--radius-sm);
  background:var(--paper);font-size:13px;font-weight:600;
  transition:border-color var(--tap),color var(--tap)}
.dropzone:hover .dropzone-btn,.dropzone:focus-within .dropzone-btn{border-color:var(--accent);
  color:var(--accent-ink)}
.dropzone-name{padding:3px 10px;border-radius:999px;background:var(--paper);
  border:1px solid var(--rule-2);font:500 12.5px var(--mono);overflow-wrap:anywhere}
.err{margin-top:12px;color:var(--neg);font-weight:600;font-size:13px}
.upload-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:12px;margin-top:18px}
.upload-hint{color:var(--ink-2);font-size:13.5px}
.upload-actions .btn{margin-left:auto}
.progress{display:flex;align-items:center;gap:10px;margin-top:18px;padding:12px 0 0;
  border-top:1px solid var(--rule)}
.progress-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--accent);
  animation:pulse 1.2s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:.35}50%{opacity:1}}
.progress-msg{margin:0;font-size:13.5px;font-weight:500}
.progress-msg.neg{color:var(--neg)}
.progress:has(.neg) .progress-dot{background:var(--neg);animation:none}
.export-state{margin:0 0 12px;font-weight:600;font-size:15px}
.export-state--ready{color:var(--pos)}
.export-state .muted{font-weight:400;font-size:13px}
.upload-history{margin-top:36px}
.upload-history .section-title{padding-bottom:12px}
.status{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12.5px;
  font-weight:600;background:var(--panel);color:var(--ink-2)}
.status--done{background:var(--pos-bg);color:var(--pos)}
.status--failed{background:var(--neg-bg);color:var(--neg)}
.status--processing,.status--pending{background:var(--accent-soft);color:var(--accent-ink)}
.upload-error{display:block;margin-top:4px;font-size:12px}
.nowrap{white-space:nowrap}

/* =========================================================================
   SIGN-IN + ACCESS DENIED — no rail: nobody is signed in yet
   ========================================================================= */
.auth{min-height:calc(100vh - 150px);display:flex;flex-direction:column;
  justify-content:center;padding:48px var(--gut)}
.auth-card{width:100%;max-width:25rem;margin:0 auto}
.auth-logo{display:block;width:78px;height:55px;margin-bottom:26px}
.auth-card h1{font-size:22px;font-weight:600;letter-spacing:-.015em;margin-bottom:8px}
.auth-card p{margin-bottom:20px;color:var(--ink-2);font-size:14px}
.auth-card p:last-child{margin-bottom:0}
.auth-card .btn{width:100%;text-align:center}
.auth-form{margin-top:26px;padding-top:22px;border-top:2px solid var(--rule-2)}
.auth-form .auth-or{margin-bottom:16px;font-size:11px;font-weight:600;
  letter-spacing:var(--track);text-transform:uppercase;color:var(--muted)}
.auth-form label{display:block;margin:12px 0 5px;font-size:13px;font-weight:600}
.auth-form input{width:100%;padding:9px 10px;border:1px solid var(--rule-2);
  border-radius:var(--radius-sm);background:var(--paper);color:var(--ink);font:inherit}
.auth-form input:focus{outline:2px solid var(--accent-ink);outline-offset:1px}
.auth-form .btn{margin-top:18px}
.auth-error{margin-bottom:10px;color:var(--neg);font-weight:600;font-size:13px}
.auth-back{font-weight:600;color:var(--accent-ink);text-decoration:underline}
.auth-back:hover{color:var(--ink)}
.auth-foot{display:flex;align-items:center;gap:14px;max-width:25rem;
  margin:0 auto;padding:0 var(--gut) 44px;color:var(--muted);font-size:12px}
.auth-foot img{flex:none;width:118px;height:39px;opacity:.85}
.auth-foot p{margin:0}

/* =========================================================================
   POROVNÁNÍ S KONKURENCÍ — the category list beside one category
   ========================================================================= */
/* The client's drilldown in the ledger: the category list lives in the rail (one column
   on the left, owner 2026-09-26); the working surface holds only the category — a
   document paragraph, a figure row and two tables, edge to edge. */
.shell--kon .side-cats~.side-group+.side-foot{border-top:0}
/* the rail is a 100vh flex column: only the category list may give up height, every
   other block keeps its own (an overflow:hidden switch would otherwise shrink to 0) */
.shell--kon .side>:not(.side-cats){flex:none}

/* The category list in the rail: its search stays at the top and the list scrolls in its
   own region, so the period picker above it and „Nástroje“ below never leave the rail.
   The rows bleed to both rail edges, like every rail row. */
.side-cats{display:flex;flex-direction:column;flex:1 1 auto;min-height:14rem;
  padding-top:16px;border-bottom:1px solid var(--rule-2)}
.side-cats>.side-label{padding:0 16px}
.kon-search{padding:0 16px 12px}
.kon-search input,.kon-q input{width:100%;padding:7px 9px;border:1px solid var(--rule-2);
  border-radius:var(--radius-sm);background:var(--paper);color:var(--ink);font:500 13px var(--font)}
.kon-search input:focus,.kon-q input:focus{outline:2px solid var(--accent-ink);outline-offset:1px}
.kon-cats{flex:1 1 auto;min-height:0;overflow-y:auto;border-top:1px solid var(--rule-2);
  scrollbar-width:thin;scrollbar-color:var(--rule-2) transparent}
.kon-sg-head{position:sticky;top:0;z-index:1;padding:12px 16px 6px;background:var(--panel);
  border-bottom:1px solid var(--rule-2);font-size:11px;
  font-weight:600;letter-spacing:var(--track);text-transform:uppercase;color:var(--muted)}
.kon-cat{display:flex;align-items:center;gap:9px;padding:6px 16px 6px 14px;
  border-left:2px solid transparent;border-bottom:1px solid var(--rule);font-size:13px;
  font-weight:500;line-height:1.35;color:var(--ink-2);text-decoration:none;
  transition:background var(--tap),color var(--tap)}
.kon-cat:hover{background:var(--panel-2);color:var(--ink)}
.kon-cat.is-current{background:var(--accent-soft);border-left-color:var(--accent);
  color:var(--accent-ink);font-weight:600}
.kon-cat-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kon-cat-mk{flex:none;font:500 11.5px var(--mono);color:var(--muted)}
/* Which way Teta's share moved (the client's dotColor, ±0,3 p.b.). Drawn, and carried by
   the SHAPE as well as the colour: up, down, or a level dash. */
.kon-dot{flex:none;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent}
.kon-dot--pos{border-bottom:6px solid var(--pos)}
.kon-dot--neg{border-top:6px solid var(--neg)}
.kon-dot--flat{width:8px;height:2px;border:0;background:var(--off)}
.kon-cats-empty{padding:18px 16px}

.kon-main{min-width:0}
.kon-head{padding:2px var(--gut) 20px}
.kon-crumb{margin-bottom:4px;font-size:11px;font-weight:600;letter-spacing:var(--track);
  text-transform:uppercase;color:var(--muted)}
.kon-narr{max-width:44rem;margin-top:10px;font-size:14.5px;line-height:1.6;color:var(--ink)}

/* six figures, three to a row — a 14-glyph koruna figure needs the width */
.kpi-header--kon{grid-template-columns:repeat(3,1fr)}
@media (min-width:721px){
  .kpi-header--kon .kh-item{border-top:1px solid var(--rule)}
  .kpi-header--kon .kh-item:nth-child(-n+3){border-top:0}
  .kpi-header--kon .kh-item:nth-child(3n+1){border-left:0;padding-left:var(--gut)}
  .kpi-header--kon .kh-item:nth-child(3n){padding-right:var(--gut)}
}
/* on a phone a cell is half the screen: the sub-line wraps rather than run under its
   neighbour ("bílé místo 164 287 905 Kč YTD" is 30 glyphs of mono) */
@media (max-width:720px){.kpi-header--kon .kh-sub{white-space:normal}}
.kon-jump{padding:0;background:none;border:0;color:var(--accent-ink);font:600 12.5px var(--font);
  text-decoration:underline;text-underline-offset:2px;cursor:pointer;transition:color var(--tap)}
.kon-jump:hover{color:var(--ink)}

.kon-body{padding:0 var(--gut)}
.kon-table{margin-top:30px}
.kon-bar{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;padding:16px 0 12px}
.kon-count{font:500 12.5px var(--mono);color:var(--muted)}
.kon-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-left:auto}
.kon-check{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:500;
  color:var(--ink-2);cursor:pointer}
.kon-q input{width:15rem}
/* ten columns inside the work column at 1440: the heads may wrap, the figures may not */
table.kon-grid{font-size:13px}
table.kon-grid th,table.kon-grid td{padding-left:8px;padding-right:8px}
table.kon-grid thead th{white-space:normal;vertical-align:bottom;line-height:1.25}
table.kon-grid .num{font-size:13px}
table.kon-grid .name{min-width:9rem}
.kon-mfr{min-width:7rem;color:var(--ink-2);font-size:12.5px;overflow-wrap:break-word}
.kon-sort{display:inline-flex;align-items:flex-end;gap:5px;padding:0;background:none;border:0;
  font:inherit;letter-spacing:inherit;text-transform:inherit;text-align:right;color:inherit;
  cursor:pointer;transition:color var(--tap)}
.kon-sort:hover{color:var(--accent-ink)}
.kon-sort-ico{flex:none;width:0;height:0;margin-bottom:4px;border-left:3.5px solid transparent;
  border-right:3.5px solid transparent;border-top:4.5px solid var(--off)}
[aria-sort="descending"] .kon-sort-ico{border-top-color:var(--accent-ink)}
[aria-sort="ascending"] .kon-sort-ico{border-top:0;border-bottom:4.5px solid var(--accent-ink)}
[aria-sort="descending"]>.kon-sort,[aria-sort="ascending"]>.kon-sort{color:var(--accent-ink)}
.kon-chip{display:inline-block;padding:1px 8px;border-radius:999px;background:var(--warn-bg);
  color:var(--ink);font-size:12px;font-weight:600;white-space:nowrap}
.kon-in{font-size:12px;color:var(--muted);white-space:nowrap}
.kon-note{padding:10px 0 0;font-size:12.5px;color:var(--muted)}
.upload-block--second{margin-top:36px}
.upload-block .section-title+.upload-lead{margin:4px 0 16px}

/* =========================================================================
   KONKURENCE · PŘEHLED TRHU — Konkurence vs. Teta (nielsen/trh.html)
   ========================================================================= */
.mk-lead{color:var(--ink-2)}
.kpi-header--mk{grid-template-columns:repeat(3,1fr)}
.mk-sec{margin-top:34px;padding:18px var(--gut) 0;border-top:2px solid var(--rule-2)}
/* the figure row's bottom fence is the first section's top fence */
.kpi-header--mk+.mk-sec{margin-top:0;border-top:0}
.mk-sec-lead{max-width:44rem;margin-top:4px;font-size:13.5px;color:var(--ink-2)}

/* the four findings: four ruled columns on the paper — a hairline between them, no box */
.mk-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:14px}
.mk-card{min-width:0;padding:2px 20px 6px;border-left:1px solid var(--rule)}
.mk-card:first-child{padding-left:0;border-left:0}
.mk-card:last-child{padding-right:0}
.mk-tag{font-size:11px;font-weight:600;letter-spacing:var(--track);text-transform:uppercase;color:var(--muted)}
.mk-title{margin-top:6px;font-size:15px;font-weight:600;line-height:1.35}
.mk-val{margin-top:8px;font:700 20px/1.2 var(--mono);letter-spacing:-.02em}
.mk-text{margin-top:8px;font-size:13.5px;line-height:1.55;color:var(--ink-2)}

/* the six views: one segmented switch (the rail's .modeset), hairline-divided cells */
.mk-switch{display:grid;grid-template-columns:repeat(6,auto);gap:1px;margin-top:16px;
  background:var(--rule-2)}
.mk-switch .mode{border:0;background:var(--paper);padding:8px 12px;cursor:pointer}
.mk-switch .mode+.mode{border-left:0}
.mk-switch .mode:hover{background:var(--panel)}
.mk-switch .mode.is-active{background:var(--sec);color:var(--paper)}
.mk-panel .kon-bar{padding-top:14px}
.mk-note{flex:1 1 24rem;max-width:44rem;font-size:13.5px;color:var(--ink-2)}
.mk-btn{padding:6px 10px;border:1px solid var(--rule-2);border-radius:var(--radius-sm);
  background:var(--paper);font-size:13px;font-weight:500;color:var(--ink-2);cursor:pointer;
  transition:border-color var(--tap),color var(--tap)}
.mk-btn:hover{border-color:var(--accent);color:var(--accent-ink)}
.mk-none{padding:14px 0 0}

/* the table: seven columns; the tree indents per level, the rows below a node on --panel */
table.mk-grid .name{min-width:16rem}
.mk-name .drill,.mk-leaf,tr.mk-lf>th.mk-name{font-weight:500}
/* beats table.grid th:first-child{padding-left:0} — the ledger edge belongs to level 0 */
table.mk-grid tr.mk-l1>th.mk-name{padding-left:20px}
table.mk-grid tr.mk-l2>th.mk-name{padding-left:40px}
table.mk-grid tr.mk-l3>th.mk-name{padding-left:60px}
.mk-l0 .mk-name{font-weight:600}
.mk-l0 .mk-name .drill{font-weight:600}
tr.mk-l1,tr.mk-l2,tr.mk-l3{background:var(--panel)}
tr.mk-l2 .num,tr.mk-l3 .num{font-size:12.5px}
/* a tree leaf lines up under its siblings' caret labels; flat views carry no .mk-leaf (gutter edge) */
[data-tree] .mk-leaf{display:inline-block;padding-left:13px}
.mk-rest .mk-leaf{font-style:italic;color:var(--muted)}

/* Podíl Teta: the filled share standing on a hairline track, a tick at the fair share,
   then the figure. The bar is an SVG (its width is an attribute — no inline style). */
.sharebar{display:inline-flex;align-items:center;gap:8px}
.sb{flex:none;width:72px;height:9px;overflow:visible;border-bottom:1px solid var(--rule-2)}
.sb rect{fill:var(--ink-2)}
.sb line{stroke:var(--accent);stroke-width:2;vector-effect:non-scaling-stroke}
.mk-share .sharebar{min-width:9.5rem;justify-content:flex-end}

.mk-method{max-width:52rem;margin-top:10px}
.mk-method li{padding:9px 0;border-bottom:1px solid var(--rule);font-size:14px;line-height:1.6}
.mk-method li:last-child{border-bottom:0}
.mk-method b{font-weight:600}
.mk-method code,.blank code{font:500 13px var(--mono)}

/* =========================================================================
   RANGE REVIEW — a round, and one category's report as a document
   ========================================================================= */
/* The rail reuses Konkurence's category list (.kon-cats); a row may carry the mapping
   state under its name when it still needs a look. */
.rr-cat-state{display:block;font-size:11px;font-weight:500;color:var(--muted)}
.kon-cat.is-current .rr-cat-state{color:var(--accent-ink)}
.rr-cat--off,.rr-cat--off:hover{background:none;color:var(--muted);cursor:default}

.rr-main{min-width:0}
.rr-head{padding:2px var(--gut) 20px}
.rr-lead{max-width:44rem;margin-top:8px;font-size:14.5px;line-height:1.6;color:var(--ink-2)}
.rr-warn{margin:0 var(--gut) 14px;padding:8px 0 8px 12px;border-left:2px solid var(--accent);
  font-size:13px;color:var(--ink-2)}
.rr-warn li+li{margin-top:4px}

/* the round's facts: label over value, one hairline between them, no box */
.rr-facts{display:flex;flex-wrap:wrap;gap:10px 0;margin-top:14px}
.rr-facts>div{padding:0 22px;border-left:1px solid var(--rule)}
.rr-facts>div:first-child{padding-left:0;border-left:0}
.rr-facts dt{font-size:11px;font-weight:600;letter-spacing:var(--track);text-transform:uppercase;
  color:var(--muted)}
.rr-facts dd{margin:3px 0 0;font-size:14px;font-weight:500;color:var(--ink)}
.rr-facts--cov{margin:4px 0 6px}
.rr-facts--cov dd{font:700 15px var(--mono)}
.rr-fig{font-family:var(--mono);font-weight:500;white-space:nowrap}
.rr-formula{white-space:normal}
.kpi-header--rr{grid-template-columns:repeat(2,minmax(0,18rem))}
.kpi-header--rr .kh-item:last-child{padding-right:18px}

.rr-body{padding:0 var(--gut)}
.rr-sec{margin-top:34px;padding-top:18px;border-top:2px solid var(--rule-2);scroll-margin-top:12px}
.rr-sec-title{margin-bottom:8px}
.rr-sec-lead{max-width:44rem;margin-bottom:6px;font-size:14px;line-height:1.55;color:var(--ink-2)}
.rr-sec-lead--bar{margin:0;flex:1 1 28rem}
.rr-block{margin-top:22px}
.rr-block-title{margin-bottom:10px;font-size:11.5px;font-weight:600;letter-spacing:var(--track);
  text-transform:uppercase;color:var(--ink-2)}
.rr-block-lead{max-width:44rem;margin:-4px 0 12px;font-size:13.5px;color:var(--ink-2)}
.rr-block--flush{margin-top:0;padding-top:0;border-top:0}
.rr-head--round{padding-top:26px}
/* Auto layout on purpose: with table-layout:fixed the fixed column widths (≈ 48rem + 15 %)
   ate the whole work column on a 1280 px laptop and the category names wrapped one letter
   per line (owner, 2026-10-01). The name keeps its 14rem minimum and the table scrolls
   inside .table-scroll when the screen is narrower than its columns. */
.rr-c-role{width:15%}.rr-c-n{width:9rem}.rr-c-kc{width:9.5rem}
.rr-c-split{width:10.5rem}.rr-c-map{width:8.5rem}
.rr-buyer{margin-top:28px}
.rr-buyer-head{padding:14px 0 12px}
.rr-grid .name{min-width:14rem}
.rr-grid a{color:var(--ink);font-weight:600;text-decoration:none}
.rr-grid a:hover{color:var(--accent-ink);text-decoration:underline}
.rr-roles,.rr-subs,.rr-where,.rr-method{font-size:12.5px;color:var(--ink-2)}
.rr-rank{width:3.5rem;color:var(--muted)}
.rr-strong{font-weight:700}
.rr-nielsen{min-width:12rem;font-size:12px;color:var(--ink-2)}
.rr-niel{display:inline-block;margin:1px 6px 1px 0;font:500 11.5px var(--mono);color:var(--ink-2)}
.rr-niel+.rr-niel::before{content:"· ";color:var(--off)}
.rr-types .rr-niel+.rr-niel::before{content:""}
.rr-filter{font:500 11.5px var(--mono);color:var(--ink-2);overflow-wrap:anywhere}
.rr-rx{display:block}
.rr-note{min-width:12rem;font-size:12.5px;color:var(--ink-2)}
.rr-ean{display:block;margin-top:2px;font:500 11px var(--mono);color:var(--muted)}
.rr-xlsx{padding:6px 14px;font-size:13px}

/* mapping and state chips: návrh = warn, ke kontrole = the accent's soft fill, potvrzeno =
   pos; „bez Nielsenu“ is neutral — it is a fact about the data, not a verdict */
.chip--navrh{background:var(--warn-bg);color:var(--ink)}
.chip--kontrola{background:var(--accent-soft);color:var(--accent-ink)}
.chip--potvrzeno{background:var(--pos-bg);color:var(--pos)}
.chip--bez{background:var(--panel);color:var(--ink-2)}
.chip{white-space:nowrap}
.rr-width{font-size:12.5px}

/* A brand row is an expandable ROW of the cut, not a buyer section: it sits on the paper
   with a hairline under it, the subcategory's first row fenced by the 2px rule; open, its
   items sit on the tint. The header grid is its own (name + three figures) and so are its
   breakpoints — the buyer card's eight tracks do not apply. */
.rr-subgroup{margin-top:22px}
/* the subgroup's head carries the three column labels once, on the rows' own grid, so
   the brand rows below are name + figures only */
.rr-subgroup-head{display:grid;grid-template-columns:14px minmax(0,1fr) var(--fig) var(--fig) var(--fig-d);
  align-items:end;padding-bottom:8px;border-bottom:2px solid var(--rule-2)}
.rr-subgroup-head .rr-block-title{grid-column:1/3;display:flex;align-items:baseline;gap:10px;margin:0}
.rr-colhead{padding-left:16px;text-align:right;font-size:11px;font-weight:600;letter-spacing:var(--track);
  text-transform:uppercase;color:var(--muted);white-space:nowrap}
.rr-brand .kpi-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rr-count{font:500 12px var(--mono);text-transform:none;color:var(--muted)}
.card.rr-brand,.card.rr-brand:first-of-type{margin-top:0}
.rr-brand .card-toggle{grid-template-columns:14px minmax(0,1fr) var(--fig) var(--fig) var(--fig-d);
  padding:9px 0;background:var(--paper);border-top:0;border-bottom:1px solid var(--rule)}
.rr-brand .kpis{display:contents}
.rr-brand .kpi-box:first-child{padding-left:16px}
.rr-brand .card-toggle:hover{background:var(--panel)}
.rr-brand .card-toggle[aria-expanded="true"]{background:var(--panel);border-bottom-color:var(--rule-2)}
.card.rr-brand:has(.card-toggle[aria-expanded="true"]){box-shadow:none}
.rr-brand-name{display:block;font-size:14.5px;font-weight:600;line-height:1.3;color:var(--ink)}
.rr-brand-sub{display:block;margin-top:2px;font-size:12px;font-weight:500;color:var(--muted)}
.rr-brand .kpi-val{margin-top:0}
.rr-brand-body{padding:4px 0 14px 26px;border-bottom:2px solid var(--rule-2)}
.rr-items{font-size:13px}
.rr-items .name{min-width:16rem;font-weight:500}
.rr-items .num{font-size:13px}

/* Rozvoj kategorie: the market figures as one ruled row, the trends as document rows */
.rr-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));margin:16px 0 8px;
  border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.rr-stats>div{padding:12px 18px 12px 0}
.rr-stats>div+div{padding-left:18px;border-left:1px solid var(--rule)}
.rr-stat-val{font:700 20px var(--mono);color:var(--ink)}
.rr-stats dd{margin:4px 0 0;font-size:13px;color:var(--ink-2)}
.rr-trend{padding:18px 0;border-top:1px solid var(--rule)}
.rr-trend-num{font:700 13px var(--mono);color:var(--accent-ink)}
.rr-fit{margin-top:4px;font-size:12.5px;color:var(--muted)}
.rr-trend .doc-body p{max-width:44rem;margin-bottom:8px;font-size:14px;line-height:1.55}
.rr-list li{padding:5px 0;border-bottom:1px solid var(--rule);font-size:13.5px}
.rr-b2b-head{margin-top:10px;font-size:11px;font-weight:600;letter-spacing:var(--track);
  text-transform:uppercase;color:var(--muted)}
.rr-closing{margin-top:14px}

/* Metodika: a label column and a prose column at the shared measure */
.rr-doc-row{display:grid;grid-template-columns:13rem minmax(0,44rem);gap:0 32px;padding:14px 0;
  border-top:1px solid var(--rule)}
.rr-doc-row:first-child{border-top:0}
.rr-doc-row .rr-block-title{margin:3px 0 0}
.rr-doc-row p{font-size:14px;line-height:1.6;color:var(--ink)}

/* =========================================================================
   NARROW SCREENS
   ========================================================================= */
/* The section header's nine tracks need ~1190px of work column (MOOR added 2026-11-02). Below
   that the row breaks into TWO rows — the name and then the seven figures as their own
   seven-column grid — rather than letting a 14-glyph mono figure overflow its cell. Every section
   breaks at the same width, so the columns still line up down the page. */
@media (max-width:1480px){
  .card-toggle{grid-template-columns:14px minmax(0,1fr);row-gap:12px}
  .kpis{display:grid;grid-column:1/-1;grid-template-columns:repeat(4,1fr) repeat(3,1.2fr)}
  .kpi-box:first-child{padding-left:0}
}

@media (max-width:1280px){
  .doc-sec{grid-template-columns:13rem minmax(0,var(--measure));gap:0 32px}
  .doc-split{gap:0 32px}
}

/* The six network figures stop fitting on one line: three, then two. */
@media (max-width:1180px){
  .kpi-header{grid-template-columns:repeat(3,1fr)}
  .kh-item{border-top:1px solid var(--rule)}
  .kh-item:nth-child(-n+3){border-top:0}
  .kh-item:nth-child(3n+1){border-left:0;padding-left:var(--gut)}
  .kh-item:nth-child(3n){padding-right:var(--gut)}
}

@media (max-width:1023px){
  :root{--gut:16px}
  .shell{grid-template-columns:minmax(0,1fr)}
  .mtop{display:flex;align-items:center;gap:14px;position:sticky;top:0;z-index:40;
    padding:8px var(--gut);background:var(--paper);border-bottom:1px solid var(--rule-2)}
  .menubtn{display:flex;flex-direction:column;justify-content:center;gap:4px;
    width:36px;height:32px;padding:0 6px;border:1px solid var(--rule-2);
    border-radius:var(--radius-sm);cursor:pointer}
  /* the menu button is drawn, like every other icon here: three rules, one weight */
  .burger,.burger::before,.burger::after{display:block;height:1.5px;background:var(--ink)}
  .burger{position:relative}
  .burger::before,.burger::after{content:"";position:absolute;left:0;right:0}
  .burger::before{top:-5px}
  .burger::after{top:5px}
  .mbrand{display:flex;align-items:center}
  .mbrand img{display:block;width:46px;height:32px}
  .side{display:none;position:static;height:auto;border-right:0;
    border-bottom:1px solid var(--rule-2)}
  .railtoggle:checked ~ .shell .side{display:flex}
  .side-brand{display:none}
  .side-foot{margin-top:0}
  .doc-split{grid-template-columns:minmax(0,1fr);gap:26px 0}
  .doc-aside{padding-top:4px}
  .doc-sec{grid-template-columns:minmax(0,1fr);gap:0}
  .doc-rail{margin-bottom:8px}
  .movers,.notes{grid-template-columns:1fr;gap:0}
  .notes .note+.note{margin-top:24px}
  .mv+.mv{margin-top:20px}
  .name{min-width:12rem}
  /* in the menu the list keeps its own scroll region, a screen's worth tall */
  .side-cats{min-height:0}
  .kon-cats{flex:none;max-height:55vh}
  .kon-tools{margin-left:0}
  .rr-doc-row{grid-template-columns:minmax(0,1fr);gap:4px 0}
}

@media (max-width:720px){
  .kpi-header{grid-template-columns:repeat(2,1fr)}
  .kh-item{padding:12px 14px 14px}
  .kh-item:nth-child(-n+3){border-top:1px solid var(--rule)}
  .kh-item:nth-child(-n+2){border-top:0}
  .kh-item:nth-child(3n+1){border-left:1px solid var(--rule);padding-left:14px}
  .kh-item:nth-child(odd){border-left:0;padding-left:var(--gut)}
  .kh-item:nth-child(even){padding-right:var(--gut)}
  .kh-label{white-space:normal;overflow:visible}
  .kh-val{font-size:18px}
  .card-toggle{padding:12px var(--gut);row-gap:14px}
  .kpis{grid-template-columns:1fr 1fr;gap:14px}
  .kpi-box{padding-left:0;text-align:left}
  .kpi-label{white-space:normal}
  /* the two measured deltas drop to the last row, side by side, instead of
     breaking the flow between the four absolute figures */
  .kpi-box--delta{order:1;padding-left:0;border-left:0}
  .tab{margin-right:18px}
  .page-title{font-size:20px}
  .view-title{font-size:17px}
  .blank h1{font-size:21px}
  .upload-actions .btn{width:100%;margin-left:0;text-align:center}
  .auth{padding:32px var(--gut)}
  .rr-brand .card-toggle{grid-template-columns:14px minmax(0,1fr);row-gap:8px}
  .rr-brand .kpis{display:grid;grid-column:2/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
    padding-left:12px}
  .rr-brand .kpi-box,.rr-brand .kpi-box:first-child{padding-left:0;text-align:left}
  .rr-brand-body{padding-left:0}
  .rr-subgroup-head{grid-template-columns:minmax(0,1fr)}
  .rr-colhead{display:none}
  .rr-brand .kpi-label{position:static;width:auto;height:auto;clip:auto;font-size:10.5px}
  .rr-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
  .rr-facts>div,.rr-facts>div:first-child{padding:0;border-left:0}
  .kpi-header--rr{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kpi-header--wrap .kh-sub{white-space:normal}
}

/* Přehled trhu on narrow screens — after the generic rules above, which it overrides */
@media (max-width:1180px){
  .mk-cards{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}
  .mk-card:nth-child(odd){padding-left:0;border-left:0}
  .mk-card:nth-child(2){padding-right:0}
  .mk-switch{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:720px){
  .kpi-header--mk{grid-template-columns:minmax(0,1fr)}
  .kpi-header--mk .kh-item{border-left:0;padding-left:var(--gut);padding-right:var(--gut)}
  .kpi-header--mk .kh-item+.kh-item{border-top:1px solid var(--rule)}
  .mk-cards{grid-template-columns:minmax(0,1fr)}
  .mk-card,.mk-card:nth-child(odd){padding:14px 0 0;border-left:0;border-top:1px solid var(--rule)}
  .mk-card:first-child{padding-top:0;border-top:0}
  .mk-switch{grid-template-columns:repeat(2,1fr)}
  .kon-q,.kon-q input{width:100%}
  table.mk-grid .name{min-width:12rem}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:0ms!important;animation-duration:0ms!important}
}

/* =========================================================================
   Colour pass (owner, 2026-10-01: „absolutně nejvíc tomu chybí barvy, text a
   tabulky splývají, špatně se v tom hledá“). Three report hues (tokens.css),
   each report wears its own through the rail, the table heads, the section rules
   and the hub box; zebra on every table. Owner, second round: no colour WASH on rows — heads
   stay grey with red type and a red rule, hover and the open card are grey. Still flat:
   solid fills, hairlines, no gradient, no shadow.
   ========================================================================= */
/* Owner 2026-10-01 (second round): „drž se té tetovské červené, kategorie napříč nějak
   extra rozdělovat nemusíme“ — every report wears the Teta red; the per-report hues are
   kept in tokens.css only as DATA colours (blue = the competition in a chart). */
.shell--regular,.shell--sec-konkurence,.shell--sec-rangereview,.shell--sec-kontrola{--sec:var(--accent);--sec-ink:var(--accent-ink);--sec-soft:var(--accent-soft)}

/* the rail wears the hue: report name, group labels, the current view, the switch */
.side-report-name{color:var(--sec-ink)}
.side-label{color:var(--sec-ink)}
.side-link.is-current,.kon-cat.is-current{background:var(--sec-soft);border-left-color:var(--sec);color:var(--sec-ink)}
.side-link.is-current .side-count,.kon-cat.is-current .rr-cat-state,.kon-cat.is-current .kon-cat-mk{color:var(--sec-ink)}
.mode.is-active,.mode.is-active:hover{background:var(--sec);color:#fff}
.side-home{color:var(--sec-ink)}

/* the page: dateline mode, the title's mark, every section rule, every table head */
.dateline-mode{color:var(--sec-ink)}
.page-title{position:relative;padding-bottom:8px}
.page-title::after{content:"";position:absolute;left:0;bottom:0;width:40px;height:3px;background:var(--sec)}
.block,.rr-sec{border-top-color:var(--sec)}
.kh-label,.kpi-label,.mk-tag,.hub-k{color:var(--sec-ink)}
table.grid thead th{background:var(--panel-2);color:var(--sec-ink);border-bottom:2px solid var(--sec)}
table.grid tbody tr:nth-child(even)>th,table.grid tbody tr:nth-child(even)>td{background:var(--tint)}
table.grid tbody tr:hover>th,table.grid tbody tr:hover>td{background:var(--panel)}
table.grid tbody th,table.grid tbody td.name,table.grid tbody td.name-plain{color:var(--ink)}
.tab.is-active{border-bottom-color:var(--sec);color:var(--sec-ink)}
.kon-sort:hover,.rr-grid a:hover,.hub-links a,.hub-title a:hover,a.hub-v:hover{color:var(--sec-ink)}
.card-full{color:var(--sec-ink)}                  /* the buyer's SAP code + name under the surname */
.card-toggle[aria-expanded="true"]{background:var(--panel)}
.card-toggle[aria-expanded="true"] .badge{color:var(--sec-ink)}
.rr-brand .card-toggle:hover,.rr-brand .card-toggle[aria-expanded="true"]{background:var(--panel)}
.kon-sg-head{color:var(--sec-ink)}
.rr-buyer-head{color:var(--sec-ink)}

/* Teta vs. competition in every chart: Teta red on a blue track, the fair share in ink */
.sb{border-bottom-color:var(--kon)}
.sb rect{fill:var(--accent)}
.sb line{stroke:var(--ink)}
.kh-item--teta .kh-label{color:var(--accent-ink)}
.kh-item--rom .kh-label{color:var(--kon-ink)}

/* the hub: each box carries its report's hue on the top edge, its links too */
.hub-card--tydenni,.hub-card--konkurence,.hub-card--range-review,.hub-card--kontrola{border-top-color:var(--accent)}
.hub-card--soon{border-top-color:var(--rule-2)}
.hub-card--soon .hub-k{color:var(--muted)}

/* search-match / current-row highlight uses the one yellow */
.kon-cat.is-current{background:var(--mark);border-left-color:var(--sec)}

/* Range review: the views as a bar across the top of the working surface (owner, 2026-10-01).
   Same grammar as the card tabs — a 2px fence, the current view carrying the accent — but
   page-level, under the title, before the figures. Scrolls sideways on a phone. */
.viewbar{display:flex;gap:0;margin:14px 0 0;padding:0 var(--gut);border-bottom:2px solid var(--rule-2);
  overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.viewbar::-webkit-scrollbar{display:none}
.viewbar-link{flex:none;margin:0 22px -2px 0;padding:10px 0 9px;font-size:14px;font-weight:600;color:var(--ink-2);
  text-decoration:none;border-bottom:3px solid transparent;transition:color var(--tap),border-color var(--tap)}
.viewbar-link:hover{color:var(--ink)}
.viewbar-link.is-current{color:var(--accent-ink);border-bottom-color:var(--accent)}

/* --- calm visual pass ------------------------------------------------------
   Keep the information dense where it needs to be, but give the page a quieter
   frame: softer surfaces, fewer hard rules and one purposeful brand accent. */
body{background:#f8f9fb}
.side{background:#fff;border-right-color:var(--rule)}
.side-brand{padding:24px 20px 20px;border-bottom-color:var(--rule)}
.side-group{padding:18px 20px 16px;border-bottom-color:var(--rule)}
.side-report{padding:14px 20px 16px;border-bottom-color:var(--rule)}
.side-link{margin-left:-20px;margin-right:-20px;padding:9px 20px 9px 18px;border-left-width:3px}
.side-link:hover{background:#f8f9fb}
.side-link.is-current{background:var(--accent-soft)}
.side-label{color:var(--muted);font-size:10.5px;letter-spacing:.045em}
.side-report-name{font-size:14px}
.side-foot{padding:16px 20px 20px;border-top-color:var(--rule)}
.wksel select,.modeset{border-color:var(--rule-2);border-radius:var(--radius-sm)}
.work{background:#fff}
.sheet{padding-top:32px}
.page-title{font-size:26px;letter-spacing:-.025em;padding-bottom:0}
.page-title::after{display:none}
.page-lead{margin-top:5px;color:var(--muted);line-height:1.65}
.block,.rr-sec{border-top-width:1px;border-top-color:var(--rule-2)}
table.grid thead th{border-bottom:1px solid var(--rule-2);color:var(--muted)}
table.grid tbody tr:nth-child(even)>th,table.grid tbody tr:nth-child(even)>td{background:#fbfcfd}
.hubbar{background:#fff;border-bottom-color:var(--rule);padding:14px max(var(--gut),calc((100vw - 72rem)/2))}
.hubpage{max-width:72rem}
.hubpage .sheet{padding-top:52px}
.hub-head{max-width:48rem;margin-bottom:30px}
.hub-head .page-title{font-size:32px}
.hub-head .page-lead{font-size:15px}
.hub-grid{gap:16px}
.hub-card{min-height:14rem;padding:22px 24px;background:#fff;border:1px solid var(--rule);
  border-top:1px solid var(--rule);border-radius:12px;box-shadow:0 4px 16px rgba(25,38,58,.035)}
.hub-card:hover{border-color:#d8dde6;box-shadow:0 8px 24px rgba(25,38,58,.07);transform:translateY(-1px)}
.hub-card--soon{background:#fbfcfd;border-color:var(--rule);border-top-color:var(--rule)}
.hub-card--soon .hub-title{color:var(--ink-2)}
.hub-title{gap:12px;font-size:18px}
.hub-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;
  background:var(--accent-soft);color:var(--accent-ink)}
.hub-icon svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.hub-desc{margin:10px 0 0 54px;line-height:1.6;color:var(--muted)}
.hub-side{margin:18px 0 0 54px;padding-top:12px;border-top-color:var(--rule)}
.hub-kv{border-bottom-color:var(--rule);padding:6px 0}
.hub-k{color:var(--muted)}
.hub-links{margin-top:14px}
.hub-links a{color:var(--accent-ink);text-decoration:none}
.hub-links a:hover{text-decoration:underline;text-underline-offset:3px}
.hub-card,.hub-card:hover{transition:transform var(--tap),box-shadow var(--tap),border-color var(--tap)}
@media (max-width:760px){.hubpage .sheet{padding-top:32px}.hub-head .page-title{font-size:27px}.hub-card{padding:18px}.hub-desc,.hub-side{margin-left:0}}
@media (max-width:720px){.page-title{font-size:22px}.hub-head .page-title{font-size:27px}}

/* --- portal architecture: full-width category index ----------------------- */
.hubbar{padding:14px clamp(24px,5vw,76px);background:#fff;border-bottom:1px solid var(--rule)}
.hubbar-user{align-items:center;gap:18px}
.hub-solvent-logo{display:block;width:112px;height:auto;object-fit:contain;margin-right:8px}
.hubbar-name{font-size:13px;color:var(--muted)}
.hubpage{width:100%;max-width:none;min-height:calc(100vh - 150px)}
.hubpage .sheet{padding:52px clamp(24px,5vw,76px) 44px}
.hub-head{margin:0 0 36px}
.hub-head .page-title{font-size:30px;font-weight:500;letter-spacing:-.025em}
.portal-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;
  border-top:1px solid var(--rule-2)}
.portal-category{min-width:0;padding:30px clamp(18px,2.4vw,38px) 24px;border-right:1px solid var(--rule)}
.portal-category:first-child{padding-left:0}
.portal-category:last-child{padding-right:0;border-right:0}
.portal-category-head{display:flex;align-items:center;gap:16px;min-height:64px}
.portal-category-mark{display:grid;place-items:center;flex:none;width:58px;height:58px;
  border-radius:16px;background:var(--accent-soft);color:var(--accent-ink)}
.portal-category-mark svg{display:block;width:38px;height:38px;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}
.portal-category h2{font-size:19px;font-weight:600;line-height:1.25;letter-spacing:-.015em}
.portal-subcategories{margin-top:24px;padding-left:74px}
.portal-subcategories li+li{border-top:1px solid var(--rule)}
.portal-subcategory{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;
  padding:10px 0;color:var(--ink-2);font-size:15px;font-weight:500;text-decoration:none}
.portal-subcategory[href]:hover{color:var(--accent-ink)}
.portal-arrow{width:18px;height:18px;flex:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;
  stroke-linejoin:round;opacity:0;transform:translateX(-4px);transition:opacity var(--tap),transform var(--tap)}
.portal-subcategory[href]:hover .portal-arrow,.portal-subcategory[href]:focus-visible .portal-arrow{opacity:1;transform:translateX(0)}
.portal-subcategory--soon{color:var(--muted);font-weight:400}
.portal-soon{flex:none;color:var(--muted);font-size:11px;font-weight:400}
.hubpage-foot{max-width:none;margin:0;padding:0 clamp(24px,5vw,76px) 24px;border:0}
.hubpage-foot::before{margin-bottom:16px;border-color:var(--rule)}
@media(max-width:1220px){
  .portal-categories{grid-template-columns:repeat(2,minmax(0,1fr))}
  .portal-category{padding:24px 28px;border-bottom:1px solid var(--rule)}
  .portal-category:first-child{padding-left:28px}
  .portal-category:nth-child(odd){padding-left:0;border-right:1px solid var(--rule)}
  .portal-category:nth-child(even){padding-right:0;border-right:0}
  .portal-category:nth-last-child(-n+2){border-bottom:0}
}
@media(max-width:720px){
  .hubbar{padding:12px var(--gut)}
  .hub-solvent-logo{display:none}
  .hubbar-user{gap:10px}
  .hubbar-name{max-width:34vw}
  .hubpage .sheet{padding:32px var(--gut)}
  .hub-head{margin-bottom:24px}
  .hub-head .page-title{font-size:25px}
  .portal-categories{grid-template-columns:minmax(0,1fr)}
  .portal-category,.portal-category:first-child,.portal-category:nth-child(odd),.portal-category:nth-child(even){
    padding:20px 0;border-right:0;border-bottom:1px solid var(--rule)}
  .portal-category:last-child{border-bottom:0}
  .portal-category-head{gap:14px;min-height:54px}
  .portal-category-mark{width:50px;height:50px;border-radius:14px}
  .portal-category-mark svg{width:34px;height:34px}
  .portal-category h2{font-size:17px}
  .portal-subcategories{margin:10px 0 0 64px;padding:0}
  .portal-arrow{opacity:1;transform:none}
  .hubpage-foot{padding:0 var(--gut) 20px}
}

/* --- stronger category surfaces and full-width action links ---------------- */
.hubbar .brand img{width:68px;height:auto}
.hub-solvent-logo{width:156px;max-height:52px;margin-right:4px}
.hubbar{min-height:78px}
.hubpage{background:#f3f5f8}
.hubpage .sheet{padding-top:42px;padding-bottom:52px}
.hub-head{margin-bottom:30px}
.portal-categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;border:0}
.portal-category,.portal-category:first-child,.portal-category:last-child{
  display:flex;flex-direction:column;padding:26px 24px 24px;background:#fff;
  border:1px solid #e3e7ed;border-radius:16px;box-shadow:0 5px 18px rgba(32,41,56,.045)
}
.portal-category-head{gap:14px;min-height:68px}
.portal-category-mark{width:64px;height:64px;border-radius:17px}
.portal-category-mark svg{width:42px;height:42px}
.portal-category h2{font-size:20px}
.portal-subcategories{margin:24px 0 0;padding:0;flex:1}
.portal-subcategories li+li{margin-top:10px;border:0}
.portal-subcategory{min-height:58px;padding:14px 15px;background:#f7f8fa;border:1px solid #e2e6ed;
  border-radius:10px;color:var(--ink);font-size:15px;font-weight:500;transition:background var(--tap),
  border-color var(--tap),box-shadow var(--tap),color var(--tap)}
.portal-subcategory[href]:hover,.portal-subcategory[href]:focus-visible{background:#fff7f8;
  border-color:#e9b8c3;color:var(--accent-ink);box-shadow:0 3px 10px rgba(181,30,59,.08)}
.portal-arrow{opacity:1;transform:none;color:var(--accent-ink)}
.portal-subcategory[href]:hover .portal-arrow,.portal-subcategory[href]:focus-visible .portal-arrow{transform:translateX(2px)}
.portal-subcategory--soon{background:#fafbfc;border-style:dashed;color:var(--muted)}
.portal-category:hover{border-color:#d7dde6;box-shadow:0 9px 26px rgba(32,41,56,.075)}
.portal-category{transition:border-color var(--tap),box-shadow var(--tap)}
.hubpage-foot{background:#f3f5f8}
@media(max-width:1220px){
  .portal-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .portal-category,.portal-category:first-child,.portal-category:last-child,
  .portal-category:nth-child(odd),.portal-category:nth-child(even){padding:24px;border:1px solid #e3e7ed}
}
@media(max-width:720px){
  .hubbar{flex-wrap:wrap;gap:10px 16px}
  .hubbar .brand img{width:58px}
  .hubbar-user{width:100%;justify-content:space-between}
  .hub-solvent-logo{display:block;width:118px;max-height:40px}
  .hubbar-name{max-width:36vw}
  .hubpage .sheet{padding-top:28px;padding-bottom:32px}
  .portal-categories{grid-template-columns:minmax(0,1fr);gap:14px}
  .portal-category,.portal-category:first-child,.portal-category:last-child,
  .portal-category:nth-child(odd),.portal-category:nth-child(even){padding:20px;border-radius:14px}
  .portal-category-head{min-height:54px}
  .portal-category-mark{width:52px;height:52px;border-radius:14px}
  .portal-category-mark svg{width:35px;height:35px}
  .portal-category h2{font-size:18px}
  .portal-subcategories{margin-top:16px}
  .portal-subcategory{min-height:54px}
}

/* White portal canvas: depth and outlines do the grouping, without grey panels. */
.hubpage,.hubpage-foot{background:#fff}
.portal-category,.portal-category:first-child,.portal-category:last-child{
  border-color:#eadfe2;box-shadow:0 2px 5px rgba(48,25,32,.035),0 10px 28px rgba(48,25,32,.075)
}
.portal-category:hover{border-color:#dfc9ce;box-shadow:0 4px 8px rgba(48,25,32,.04),0 14px 32px rgba(48,25,32,.10)}
.portal-subcategory{background:#fff;border-color:#e8e1e3;box-shadow:0 1px 3px rgba(48,25,32,.04)}
.portal-subcategory[href]:hover,.portal-subcategory[href]:focus-visible{background:#fff7f8;border-color:#e5b8c2}
.portal-subcategory--soon{background:#fff}
@media(max-width:1220px){
  .portal-category,.portal-category:first-child,.portal-category:last-child,
  .portal-category:nth-child(odd),.portal-category:nth-child(even){border-color:#eadfe2}
}

/* --- shared clean system for every report and utility page -----------------
   The portal and its inner pages now share the same white canvas, dark headings,
   quiet borders and readable controls. */
body,.work,.side{background:#fff}
.side-solvent-logo{display:block;width:116px;height:auto;margin:16px 0 0 2px;object-fit:contain}
.side{border-right-color:var(--rule)}
.side-report-name,.side-label,.side-user{color:var(--ink)}
.side-report-name{font-size:15px;font-weight:600}
.side-label{font-size:11px;font-weight:600;letter-spacing:.01em}
.side-user{font-size:15px;font-weight:600;line-height:1.4}
.side-foot{padding-top:18px}
.linkbtn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 13px;
  border:1px solid var(--rule-2);border-radius:8px;background:#fff;color:var(--ink);
  font:600 14px/1.2 var(--font);text-decoration:none;transition:background var(--tap),border-color var(--tap),color var(--tap)}
.linkbtn:hover{background:var(--accent-soft);border-color:#e5b8c2;color:var(--accent-ink)}
.hubbar-name{color:var(--ink);font:600 16px/1.3 var(--font)}
.hubbar .linkbtn{min-height:42px;padding:9px 15px;font-size:15px}
.side-home{font-size:13.5px;font-weight:600}
.page-title,.view-title,.blank h1,.section-title,.rr-sec-title,.kon-sg-head,.rr-buyer-head{
  color:var(--ink);letter-spacing:-.015em}
.page-title{font-weight:600}
.page-lead,.rr-sec-lead{color:var(--ink-2)}
.sheet{padding-top:34px}
.block,.rr-sec{border-top:1px solid var(--rule-2)}
.dateline{padding-top:22px}
.card-toggle{background:#fff;border-top:1px solid var(--rule-2);border-bottom:1px solid var(--rule-2)}
.card-toggle:hover,.card-toggle[aria-expanded="true"]{background:#fafbfc}
.card-body{background:#fff;border-bottom:1px solid var(--rule-2)}
.rr-brand .card-toggle:hover,.rr-brand .card-toggle[aria-expanded="true"]{background:#fafbfc}
table.grid thead th{background:#f8f9fb;color:var(--ink-2);border-bottom:1px solid var(--rule-2)}
table.grid tbody tr:nth-child(even)>th,table.grid tbody tr:nth-child(even)>td{background:#fcfcfd}
table.grid tbody tr:hover>th,table.grid tbody tr:hover>td{background:#fff7f8}
.tab.is-active,.viewbar-link.is-current{color:var(--ink);border-bottom-color:var(--accent)}
.btn{min-height:42px;padding:10px 18px;border-radius:8px;font-size:15px;font-weight:600}
.btn--secondary{background:#fff;border-color:var(--rule-2)}
.btn--secondary:hover{background:#fafbfc;border-color:#c8ced8}
.dropzone{border-radius:12px;background:#fff}
.dropzone:hover,.dropzone.is-dragover,.dropzone:focus-within{background:#fffafb}
.wksel select,.modeset{background:#fff}
.side-link{color:var(--ink-2)}
.side-link.is-current{color:var(--ink);background:#fff5f6;border-left-color:var(--accent)}
.side-link.is-current .side-count{color:var(--ink)}
.side-report-name,.kon-sg-head,.rr-buyer-head{color:var(--ink)}
.kh-label,.kpi-label,.mk-tag{color:var(--ink-2)}
.kon-sg-head{background:#fff}
.status{background:#f5f6f8}
.foot{border-top-color:var(--rule);background:#fff}
@media(max-width:720px){
  .hubbar-name{font-size:14px}
  .hubbar .linkbtn{min-height:38px;padding:8px 11px;font-size:14px}
}

/* --- regular reports (week / month / year share `.shell--regular`, base.html) ----
   Softer typography and rounded surfaces; keep this report calm while preserving the fixed KPI alignment and the existing
   keyboard/JS controls. */
.shell--regular{
  --font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --radius:14px;
  --accent:#c43b58;
  --accent-ink:#a41d3e;
  --accent-soft:#fff0f2;
  --pos:#0f7a3d;
  --pos-bg:#e6f4ec;
  --neg:#c0122f;
  --neg-bg:#f5efe7;
  --warn-bg:#fbf3dc;
  --ink:#292623;
  --ink-2:#625950;
  --muted:#7e746b;
  --off:#a49a8f;
  --tint:#fdfaf6;
  --panel:#fbf8f3;
  --panel-2:#f5efe7;
  --rule:#eee7de;
  --rule-2:#e2d8cd;
  font-family:var(--font);
  letter-spacing:normal;
}
.shell--regular .side-label,
.shell--regular .kh-label,
.shell--regular .kpi-label,
.shell--regular table.grid thead th{
  font-weight:500;
  letter-spacing:normal;
  text-transform:none;
}
.shell--regular .side-report-name,
.shell--regular .badge,
.shell--regular .page-title,
.shell--regular .view-title{font-weight:500}
.shell--regular .dateline{align-items:center;gap:10px;padding-top:20px;padding-bottom:14px}
.shell--regular .dateline-wk{
  padding:6px 10px;border-radius:9px;background:var(--panel-2);
  font:600 14px/1.2 var(--font);font-variant-numeric:tabular-nums;color:var(--ink)
}
.shell--regular .dateline-mode{
  padding:5px 10px;border:1px solid var(--rule);border-radius:999px;background:#fff;
  font:500 13px/1.2 var(--font);letter-spacing:normal;text-transform:none;color:var(--ink-2)
}
.shell--regular .kpi-header{
  margin:0 var(--gut);overflow:hidden;
  border:1px solid var(--rule);border-radius:14px;background:#fff;
  box-shadow:0 2px 10px rgba(66,47,29,.035)
}
.shell--regular .kh-item{padding:16px 16px 17px;border-left-color:var(--rule)}
.shell--regular .kh-item:first-child{padding-left:18px}
.shell--regular .kh-item:last-child{padding-right:18px}
.shell--regular .kh-item--pos{background:var(--pos-bg)}
.shell--regular .kh-item--warn{background:var(--warn-bg)}
.shell--regular .kh-item--neg{background:#fff}
.shell--regular .kh-label,.shell--regular .kpi-label{
  font-size:12px;color:var(--muted)
}
.shell--regular .kh-val{
  margin-top:8px;font:600 20px/1.2 var(--font);font-variant-numeric:tabular-nums;letter-spacing:-.02em
}
.shell--regular .kh-item--neg .kh-value-stack{
  display:table;width:auto;max-width:100%;margin-top:8px;padding:6px 9px 5px;border-radius:4px;
  background:var(--neg);color:#fff
}
.shell--regular .kh-item:not(.kh-item--neg) .kh-value-stack{padding-top:6px}
.shell--regular .kh-item--neg .kh-value-stack .kh-val,
.shell--regular .kh-item--neg .kh-value-stack .kh-sub{color:#fff}
.shell--regular .kh-item--neg .kh-value-stack .kh-val{margin-top:0}
.shell--regular .kh-item--neg .kh-value-stack .kh-sub{margin-top:5px;font-weight:500}
.shell--regular .kh-sub,.shell--regular .kpi-val,.shell--regular .pill,
.shell--regular .num{
  font-family:var(--font);font-variant-numeric:tabular-nums;letter-spacing:normal
}
.shell--regular .kh-sub{font-size:12px;font-weight:400}
.shell--regular .card{margin-top:14px;border:1px solid var(--rule);border-radius:14px;
  overflow:hidden;background:#fff;box-shadow:0 2px 10px rgba(66,47,29,.035)}
.shell--regular .card:first-of-type{margin-top:14px}
.shell--regular .card:has(.card-toggle[aria-expanded="true"]){box-shadow:0 3px 14px rgba(66,47,29,.06)}
.shell--regular .card--pos:has(.card-toggle[aria-expanded="true"]){border-color:#d8e9de}
.shell--regular .card--neg:has(.card-toggle[aria-expanded="true"]){border-color:#eadfd3}
.shell--regular .card-toggle{
  padding:14px 18px;background:#fff;border:0;border-radius:0;text-align:left;
  transition:background var(--tap)
}
.shell--regular .card-toggle:hover,
.shell--regular .card-toggle[aria-expanded="true"]{background:var(--panel)}
.shell--regular .card-toggle[aria-expanded="true"] .badge{color:var(--ink)}
.shell--regular .card-full{font:400 12px/1.35 var(--font);color:var(--muted)}
.shell--regular .kpi-box--delta{border-left-color:var(--rule-2)}
.shell--regular .kpis>.kpi-box:nth-child(2),
.shell--regular .kpis>.kpi-box:nth-child(5){padding-right:16px}
.shell--regular .kpi-val{font-size:14px;font-weight:500}
.shell--regular .kpi-box--delta .kpi-val{font-size:15px;font-weight:600}
.shell--regular .pill{padding:3px 9px;border-radius:999px;font-size:12px;font-weight:600}
.shell--regular .pill--neg{background:#fbe9ec;color:var(--neg)}
/* Dalimil's tint (Jana, 2026-10-19; Marek: „to podbarvení tam dej, uvidíme“): a row is
   washed by the sign of its Δ po slevě — his .tr-pos #f5fff9 / .tr-neg #fff5f5 — and a
   buyer's section carries his colour on its left edge, open or closed. */
.grid tr.row--pos>td,.grid tr.row--pos>th{background:#f5fff9}
.grid tr.row--neg>td,.grid tr.row--neg>th{background:#fff5f5}
.grid tr.row--pos:hover>td,.grid tr.row--pos:hover>th{background:#e9f8ef}
.grid tr.row--neg:hover>td,.grid tr.row--neg:hover>th{background:#feeaea}
.card--pos,.card--pos:has(.card-toggle[aria-expanded="true"]){box-shadow:inset 4px 0 0 var(--pos)}
.card--neg,.card--neg:has(.card-toggle[aria-expanded="true"]){box-shadow:inset 4px 0 0 var(--neg)}
.shell--regular .card--pos{box-shadow:inset 4px 0 0 var(--pos),0 2px 10px rgba(66,47,29,.035)}
.shell--regular .card--neg{box-shadow:inset 4px 0 0 var(--neg),0 2px 10px rgba(66,47,29,.035)}
.shell--regular .card--pos:has(.card-toggle[aria-expanded="true"]){box-shadow:inset 4px 0 0 var(--pos),0 3px 14px rgba(66,47,29,.06)}
.shell--regular .card--neg:has(.card-toggle[aria-expanded="true"]){box-shadow:inset 4px 0 0 var(--neg),0 3px 14px rgba(66,47,29,.06)}
.shell--regular .card-body{padding:16px 18px 22px;background:#fff;border-top:1px solid var(--rule);border-bottom:0}
.shell--regular .tabs{display:flex;gap:4px;width:max-content;max-width:100%;padding:4px;
  border:0;border-radius:999px;background:var(--panel-2);overflow-x:auto}
.shell--regular .tab{flex:none;margin:0;padding:8px 14px;border:0;border-radius:999px;
  color:var(--ink-2);font-size:13px;font-weight:500}
.shell--regular .tab.is-active{background:#fff;color:var(--ink);border:0;
  box-shadow:0 1px 3px rgba(66,47,29,.10)}
.shell--regular .table-scroll{border:1px solid var(--rule);border-radius:12px;background:#fff}
.shell--regular table.grid{font-size:13px}
.shell--regular table.grid th,.shell--regular table.grid td{padding-top:10px;padding-bottom:10px}
.shell--regular table.grid th:first-child,.shell--regular table.grid td:first-child{padding-left:12px}
.shell--regular table.grid th:last-child,.shell--regular table.grid td:last-child{padding-right:12px}
.shell--regular table.grid thead th{background:var(--panel-2);color:var(--ink-2);font-size:12px}
.shell--regular table.grid tbody tr:nth-child(even)>th,
.shell--regular table.grid tbody tr:nth-child(even)>td{background:#fff}
.shell--regular table.grid tbody tr:hover>th,
.shell--regular table.grid tbody tr:hover>td{background:#fff8f8}
.shell--regular .sub{background:var(--tint)}
.shell--regular .num{font-size:13px;font-weight:400}
.shell--regular .mv-head,.shell--regular .note h3{font-weight:500;letter-spacing:normal;text-transform:none}
.shell--regular .mv-list li{font-size:14px}
.shell--regular .side-link.is-current{border-radius:0 9px 9px 0}
@media(max-width:1180px){
  .shell--regular .kpi-header{margin-right:var(--gut);margin-left:var(--gut)}
}
@media(max-width:720px){
  .shell--regular .kpi-header{margin-right:16px;margin-left:16px;border-radius:12px}
  .shell--regular .kh-item:first-child{padding-left:16px}
  .shell--regular .kh-item:last-child{padding-right:16px}
  .shell--regular .card{margin-right:12px;margin-left:12px;border-radius:12px}
  .shell--regular .kpis>.kpi-box:nth-child(2),
  .shell--regular .kpis>.kpi-box:nth-child(5){padding-right:0}
  .shell--regular .kh-item--neg .kh-value-stack .kh-sub{white-space:normal}
  .shell--regular .card-toggle{padding:14px 14px}
  .shell--regular .card-body{padding:14px 12px 18px}
  .shell--regular .table-scroll{border-radius:10px}
}

/* --- weekly report pages: director brief, upload and export ---------------- */
.shell--regular .doc--exec{padding:28px var(--gut) 22px}
.shell--regular .doc--exec>.view-title{margin-bottom:18px;font-size:25px}
.shell--regular .doc--exec .doc-sec{
  display:block;margin:14px 0 0;padding:20px 22px;
  border:1px solid var(--rule);border-radius:14px;background:#fff;
  box-shadow:0 2px 10px rgba(66,47,29,.035)
}
.shell--regular .doc--exec .doc-sec:first-of-type{border-top:1px solid var(--rule)}
.shell--regular .doc--exec .doc-rail{
  display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;text-align:left
}
.shell--regular .doc--exec .doc-rail .section-title{margin:0;font-size:16px;font-weight:600}
.shell--regular .doc--exec .note-list li{
  max-width:76rem;padding:0;border:0;color:var(--ink-2);font-size:14.5px;line-height:1.65
}
.shell--regular .doc--exec .note-list li+li{margin-top:10px}
.shell--regular .doc--exec ul.note-list li{position:relative;padding-left:18px}
.shell--regular .doc--exec ul.note-list li::before{
  content:"";position:absolute;left:1px;top:.68em;width:6px;height:6px;border-radius:50%;background:var(--accent)
}
.shell--regular .doc--exec ol.note-list li{padding-left:32px}
.shell--regular .doc--exec ol.note-list li::before{
  display:grid;place-items:center;top:2px;width:22px;height:22px;border-radius:50%;
  background:var(--accent-soft);font:600 12px/1 var(--font);color:var(--accent-ink)
}
.shell--regular .upload{width:100%;max-width:none}
.shell--regular .upload-block{border-top:1px solid var(--rule-2)}
.shell--regular .dropzone{min-height:210px;border-style:solid;border-color:var(--rule);background:var(--panel)}
.shell--regular .dropzone:hover,.shell--regular .dropzone.is-dragover,
.shell--regular .dropzone:focus-within{background:var(--accent-soft);border-color:#e6bdc5}
.shell--regular .export-page{width:100%;padding-top:34px;padding-bottom:30px}
.shell--regular .export-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.shell--regular .export-kicker{margin-bottom:7px;color:var(--accent-ink);font-size:12px;font-weight:600}
.shell--regular .export-head .page-title{margin:0;font-size:28px}
.shell--regular .export-head .page-lead{margin-top:7px;font-size:14.5px}
.shell--regular .export-week{display:flex;flex-direction:column;gap:4px;flex:none;
  min-width:150px;padding:12px 16px;border:1px solid var(--rule);border-radius:12px;background:var(--panel)}
.shell--regular .export-week span{color:var(--muted);font-size:12px}
.shell--regular .export-week strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
.shell--regular .export-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(19rem,.7fr);gap:18px;align-items:stretch}
.shell--regular .export-card{min-width:0;padding:24px;border:1px solid var(--rule);border-radius:15px;
  background:#fff;box-shadow:0 2px 10px rgba(66,47,29,.035)}
.shell--regular .export-card>.section-title{margin-bottom:16px;font-size:17px}
.shell--regular .export-filename{display:inline-flex;max-width:100%;margin-bottom:16px;padding:7px 10px;
  border-radius:7px;background:var(--panel);color:var(--ink-2);font-size:13px;overflow-wrap:anywhere}
.shell--regular .export-sheet{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;
  padding:15px 0;border-top:1px solid var(--rule)}
.shell--regular .export-sheet-index{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;
  background:var(--accent-soft);color:var(--accent-ink);font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
.shell--regular .export-sheet h3{margin:0 0 3px;font-size:14px;font-weight:600}
.shell--regular .export-sheet p{margin:0;color:var(--ink-2);font-size:13px;line-height:1.5}
.shell--regular .export-action{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.shell--regular .export-action h2{margin:0;font-size:21px;font-weight:500;line-height:1.3}
.shell--regular .export-action .export-kicker{margin:0 0 6px}
.shell--regular .export-ready-mark{display:grid;place-items:center;width:42px;height:42px;margin-bottom:18px;
  border-radius:13px;background:var(--pos-bg);color:var(--pos)}
.shell--regular .export-ready-mark svg{width:22px;height:22px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.shell--regular .export-meta,.shell--regular .export-note{margin-top:10px;color:var(--ink-2);font-size:13px;line-height:1.55}
.shell--regular .export-download{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-top:18px;
  min-height:46px;padding:11px 18px;border-radius:10px;font-size:14px;text-decoration:none}
.shell--regular .export-download svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.shell--regular .export-action .progress{width:100%;margin-top:18px}
@media(max-width:760px){
  .shell--regular .doc--exec .doc-sec{padding:18px}
  .shell--regular .export-head{align-items:stretch;flex-direction:column;gap:16px}
  .shell--regular .export-week{align-self:flex-start;min-width:0}
  .shell--regular .export-layout{grid-template-columns:minmax(0,1fr)}
  .shell--regular .export-card{padding:19px}
}

/* --- shared finish for every report detail page ---------------------------
   Keep each module's accent and controls, while giving the whole portal the
   same quiet type, white surfaces and rounded section rhythm. */
.shell{--font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.shell .sheet{width:100%}
.shell .upload{width:100%;max-width:none}
.shell .upload-block{border-top:1px solid var(--rule-2)}
.shell .dropzone{min-height:210px;border-style:solid;border-color:var(--rule);background:#fff}
.shell .dropzone:hover,.shell .dropzone.is-dragover,.shell .dropzone:focus-within{
  background:var(--accent-soft);border-color:var(--accent)}
.shell .blank{max-width:none;padding:28px 0 8px}

/* Category reports: give the intro, data strip and analysis sections a shared edge. */
.shell .kon-head,.shell .rr-head{padding-top:22px;padding-bottom:22px}
.shell .kon-head .page-title,.shell .rr-head .page-title{font-size:27px;letter-spacing:-.025em}
.shell .kon-narr,.shell .rr-lead{max-width:58rem;font-size:15px;line-height:1.65}
.shell .kpi-header{margin-right:var(--gut);margin-left:var(--gut);overflow:hidden;
  border:1px solid var(--rule);border-radius:14px;background:#fff}
.shell .kh-item{padding-top:16px;padding-bottom:17px}
.shell .kh-item:first-child{padding-left:20px}
.shell .kh-item:last-child{padding-right:20px}
.shell .kon-body,.shell .rr-body{padding-bottom:28px}
.shell .kon-table,.shell .rr-buyer{margin:18px var(--gut) 0;padding:18px 20px 14px;
  border:1px solid var(--rule);border-radius:14px;background:#fff;
  box-shadow:0 2px 10px rgba(40,32,24,.035)}
.shell .kon-table .kon-bar{padding-top:0}
.shell .kon-table .table-scroll,.shell .rr-buyer .table-scroll{border:1px solid var(--rule);border-radius:9px}
.shell .kon-table table.grid thead th,.shell .rr-buyer table.grid thead th{background:#f8f7f5}
.shell .kon-table .kon-note{padding-top:10px}
.shell .rr-head--round{padding-bottom:18px}
.shell .rr-facts{gap:10px 0;margin-top:18px}
.shell .rr-facts>div{padding-right:20px}
.shell .rr-sec{margin:20px var(--gut) 0;padding:20px;border:1px solid var(--rule);
  border-radius:14px;background:#fff;box-shadow:0 2px 10px rgba(40,32,24,.035)}
.shell .rr-sec-title{font-size:19px}
.shell .rr-block{margin-top:18px}
.shell .rr-block-title{font-size:12px;letter-spacing:.01em;text-transform:none}
.shell .rr-subgroup{margin-top:18px}
.shell .rr-subgroup-head{border-bottom:1px solid var(--rule-2)}
.shell .rr-brand .card-toggle{padding-top:11px;padding-bottom:11px;background:#fff}
.shell .rr-brand .card-toggle:hover,.shell .rr-brand .card-toggle[aria-expanded="true"]{background:#faf9f7}
.shell .rr-brand-body{padding-bottom:12px;border-bottom:1px solid var(--rule-2)}
.shell .rr-stats{border-color:var(--rule-2)}

/* The market overview's finding cards and view selector should feel related to
   its tables, without flattening the Nielsen data colours. */
.shell .mk-sec{margin:22px var(--gut) 0;padding:20px;border:1px solid var(--rule);
  border-radius:14px;background:#fff;box-shadow:0 2px 10px rgba(40,32,24,.035)}
.shell .kpi-header--mk+.mk-sec{margin-top:18px}
.shell .mk-cards{gap:12px;margin-top:16px}
.shell .mk-card{padding:15px;border:1px solid var(--rule);border-radius:11px;background:#fbfaf8}
.shell .mk-card:first-child{padding-left:15px}
.shell .mk-card:last-child{padding-right:15px}
.shell .mk-switch{gap:4px;background:transparent}
.shell .mk-switch .mode{border:1px solid var(--rule);border-radius:8px;background:#f8f7f5}
.shell .mk-switch .mode.is-active{background:var(--sec);border-color:var(--sec);color:#fff}
.shell .mk-panel .table-scroll{border:1px solid var(--rule);border-radius:9px}
.shell .mk-method li{padding:11px 0}

/* Week views and archives use the same white section treatment. */
.shell .sheet>.block,.shell .doc:not(.doc--exec) .block--table{
  padding:18px 20px 14px;border:1px solid var(--rule);border-radius:14px;background:#fff;
  box-shadow:0 2px 10px rgba(40,32,24,.035)}
.shell .sheet>.block{margin-top:18px}
.shell .sheet>.block .table-scroll,.shell .doc:not(.doc--exec) .table-scroll{
  border:1px solid var(--rule);border-radius:9px}
.shell .doc:not(.doc--exec) .doc-sec{margin-top:18px;padding:20px;border:1px solid var(--rule);
  border-radius:14px;background:#fff}
.shell .card:not(.rr-brand){border:1px solid var(--rule);border-radius:14px;background:#fff;
  box-shadow:0 2px 10px rgba(40,32,24,.035);overflow:hidden}
.shell .card:not(.rr-brand) .card-toggle{border:0;border-radius:13px;background:#fff}
.shell .card:not(.rr-brand) .card-toggle:hover{background:#faf9f7}
.shell .card:not(.rr-brand):has(.card-toggle[aria-expanded="true"]){box-shadow:0 2px 10px rgba(40,32,24,.035)}
.shell .card:not(.rr-brand) .card-body{background:#fcfbfa;border-top:1px solid var(--rule)}

@media(max-width:760px){
  .shell .kpi-header{margin-right:12px;margin-left:12px;border-radius:12px}
  .shell .kon-table,.shell .rr-buyer,.shell .rr-sec,.shell .mk-sec{margin-right:12px;margin-left:12px;padding:15px 14px}
  .shell .kon-head,.shell .rr-head{padding-right:16px;padding-left:16px}
  .shell .mk-cards{grid-template-columns:1fr 1fr}
  .shell .mk-switch{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell .sheet>.block{padding:15px 14px}
}

/* --- Nielsen: one coherent report, from overview through archive ---------
   The shared page recipes above are deliberately refined here: Nielsen has a
   dense category rail and wide tables, so sections stay calm and controls keep
   one predictable toolbar. */
.shell--sec-konkurence{
  --mark:#fff0f2;
  --ink:#292623;--ink-2:#625950;--muted:#7e746b;
  --panel:#fbf8f3;--panel-2:#f5efe7;--tint:#fdfaf6;
  --rule:#eee7de;--rule-2:#e2d8cd;
  --accent:#c43b58;--accent-ink:#a41d3e;--accent-soft:#fff0f2;
}
.shell--sec-konkurence .side,.shell--sec-konkurence .work{font-family:var(--font)}
.shell--sec-konkurence .side{background:var(--panel)}
.shell--sec-konkurence .side-cats{background:var(--panel)}
.shell--sec-konkurence .kon-cats{border-color:var(--rule)}
.shell--sec-konkurence .kon-sg-head{padding-top:13px;padding-bottom:8px;background:var(--panel);color:var(--ink-2);font-size:10.5px}
.shell--sec-konkurence .kon-cat{padding-top:8px;padding-bottom:8px;font-family:"Fira Sans",system-ui,sans-serif;font-size:13px;font-weight:500;line-height:1.35;color:var(--ink-2)}
.shell--sec-konkurence .kon-cat:hover{background:var(--panel);color:var(--ink)}
.shell--sec-konkurence .kon-cat.is-current{font-weight:600}
.shell--sec-konkurence .kon-search input{min-height:38px;background:#fff;border-color:var(--rule);font-size:13px}
.shell--sec-konkurence .kon-cat.is-current{background:var(--paper);border-left-color:var(--accent);color:var(--ink)}
.shell--sec-konkurence .kon-cat.is-current .kon-cat-mk{color:var(--muted)}
.shell--sec-konkurence .dateline{gap:10px;padding-top:26px;padding-bottom:8px}
.shell--sec-konkurence .dateline-wk{font-size:13px}
.shell--sec-konkurence .dateline-mode{font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--muted)}
.shell--sec-konkurence .kon-head{padding-top:10px;padding-bottom:22px}
.shell--sec-konkurence .kon-crumb{margin-bottom:8px;font-size:12px;font-weight:500;letter-spacing:0;text-transform:none}
.shell--sec-konkurence .kon-head .page-title{margin:0;font-size:30px;line-height:1.2}
.shell--sec-konkurence .kon-head .page-title::after{display:none}
.shell--sec-konkurence .kon-narr{margin-top:10px;color:var(--ink-2)}
.shell--sec-konkurence .kpi-header{margin-top:0}
.shell--sec-konkurence .kpi-header--kon{grid-template-columns:repeat(3,minmax(0,1fr))}
.shell--sec-konkurence .kpi-header--mk{grid-template-columns:repeat(3,minmax(0,1fr))}
.shell--sec-konkurence .kh-item{padding:17px 20px}
.shell--sec-konkurence .kh-item:first-child{padding-left:20px}
.shell--sec-konkurence .kh-item:last-child{padding-right:20px}
.shell--sec-konkurence .kh-item:nth-child(3n+1){border-left:0}
.shell--sec-konkurence .kh-item--rom .kh-label,.shell--sec-konkurence .kh-item--teta .kh-label{color:var(--ink-2)}
.shell--sec-konkurence .kh-val{font-size:19px}
.shell--sec-konkurence .kh-sub{white-space:normal;line-height:1.45}
.shell--sec-konkurence .kon-body{padding-bottom:36px}
.shell--sec-konkurence .kon-table{margin-top:20px;padding:20px 22px 14px}
.shell--sec-konkurence .kon-bar{align-items:center;gap:8px 14px;padding:0 0 14px}
.shell--sec-konkurence .kon-bar .section-title{font-size:17px}
.shell--sec-konkurence .kon-count{font:400 13px/1.4 var(--font);color:var(--muted)}
.shell--sec-konkurence .kon-tools{gap:8px 14px}
.shell--sec-konkurence .kon-check{min-height:40px;padding:0 12px;border:1px solid var(--rule);border-radius:9px;background:#fff;font-size:13px}
.shell--sec-konkurence .kon-check input{accent-color:var(--accent)}
.shell--sec-konkurence .kon-q input{width:15rem;min-height:40px;padding:8px 11px;border-color:var(--rule);border-radius:9px;background:var(--panel)}
.shell--sec-konkurence .kon-q input:focus,.shell--sec-konkurence .kon-search input:focus{background:#fff}
.shell--sec-konkurence .kon-table .table-scroll{border:0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);border-radius:0}
.shell--sec-konkurence table.kon-grid{font-size:13px}
.shell--sec-konkurence table.kon-grid th,.shell--sec-konkurence table.kon-grid td{padding-top:11px;padding-bottom:11px}
.shell--sec-konkurence table.kon-grid thead th{background:var(--panel-2);color:var(--ink-2);border-bottom:1px solid var(--rule-2);font-size:11px}
.shell--sec-konkurence table.kon-grid tbody tr:nth-child(even)>th,
.shell--sec-konkurence table.kon-grid tbody tr:nth-child(even)>td{background:#fff}
.shell--sec-konkurence table.kon-grid tbody tr:hover>th,
.shell--sec-konkurence table.kon-grid tbody tr:hover>td{background:#fcf8f7}
.shell--sec-konkurence .kon-note{font-size:12.5px}
.shell--sec-konkurence .kon-chip{background:#fff3df;color:#765019}
.shell--sec-konkurence .kon-in{color:#625950}
.shell--sec-konkurence .mk-sec{margin:22px var(--gut) 0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.shell--sec-konkurence .mk-sec>.section-title{margin-bottom:14px;font-size:19px}
.shell--sec-konkurence .kpi-header--mk+.mk-sec{margin-top:28px}
.shell--sec-konkurence .mk-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:0}
.shell--sec-konkurence .mk-card,.shell--sec-konkurence .mk-card:first-child,.shell--sec-konkurence .mk-card:last-child{
  padding:17px 18px;border:1px solid var(--rule);border-radius:12px;background:#fff}
.shell--sec-konkurence .mk-tag{color:var(--muted);font-size:11px}
.shell--sec-konkurence .mk-title{min-height:2.7em;margin-top:7px;font-size:15px;line-height:1.4}
.shell--sec-konkurence .mk-val{margin-top:10px;font-size:20px}
.shell--sec-konkurence .mk-text{margin-top:8px;font-size:13.5px;line-height:1.6}
.shell--sec-konkurence .mk-sec-lead{max-width:none;margin:0 0 14px;font-size:14px;line-height:1.5}
.shell--sec-konkurence .mk-switch{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:5px;border:1px solid var(--rule);border-radius:12px;background:var(--panel)}
.shell--sec-konkurence .mk-switch .mode,.shell--sec-konkurence .mk-switch .mode.is-active{
  flex:1 1 auto;min-height:38px;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:var(--ink-2);font-size:13px}
.shell--sec-konkurence .mk-switch .mode:hover{background:#fff;color:var(--ink)}
.shell--sec-konkurence .mk-switch .mode.is-active{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(38,31,27,.12)}
.shell--sec-konkurence .mk-panel .kon-bar{padding:16px 0 12px}
.shell--sec-konkurence .mk-note{max-width:48rem;font-size:13px;line-height:1.5}
.shell--sec-konkurence .mk-panel .table-scroll{border:0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);border-radius:0}
.shell--sec-konkurence .mk-method{max-width:68rem;margin-top:0}
.shell--sec-konkurence .mk-method li{padding:12px 0;font-size:14px;line-height:1.6}
.shell--sec-konkurence .mk-method li+li{border-top:0}
.shell--sec-konkurence .sheet>.block{margin-top:22px;padding:20px 22px 14px}
.shell--sec-konkurence .sheet>.block .table-scroll{border:0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);border-radius:0}
.shell--sec-konkurence .blank{padding:28px 30px;border:1px solid var(--rule);border-radius:14px;background:#fff}
.shell--sec-konkurence .blank h1{font-size:24px}
.shell--sec-konkurence .sharebar{display:grid;grid-template-columns:72px 6ch;align-items:center;justify-content:end;gap:8px}
.shell--sec-konkurence .sharebar .sb{display:block;width:72px;height:9px}
.shell--sec-konkurence .mk-share .sharebar{min-width:0}
.shell--sec-konkurence .share-value{text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:1180px){
  .shell--sec-konkurence .mk-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell--sec-konkurence .mk-title{min-height:0}
  .shell--sec-konkurence .mk-switch .mode{flex:1 1 30%}
}
@media(max-width:760px){
  .shell--sec-konkurence .dateline{padding-top:20px}
  .shell--sec-konkurence .kon-head{padding:8px 16px 18px}
  .shell--sec-konkurence .kon-head .page-title{font-size:25px}
  .shell--sec-konkurence .kpi-header--kon,.shell--sec-konkurence .kpi-header--mk{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell--sec-konkurence .kh-item{padding:13px 14px}
  .shell--sec-konkurence .kh-item:first-child{padding-left:14px}
  .shell--sec-konkurence .kh-item:last-child{padding-right:14px}
  .shell--sec-konkurence .kh-item:nth-child(3n+1){border-left:1px solid var(--rule)}
  .shell--sec-konkurence .kh-item:nth-child(2n+1){border-left:0;padding-left:14px}
  .shell--sec-konkurence .kon-table{padding:16px 14px 12px}
  .shell--sec-konkurence .kon-tools{width:100%;margin:0}
  .shell--sec-konkurence .kon-check{flex:1}
  .shell--sec-konkurence .kon-q,.shell--sec-konkurence .kon-q input{width:100%}
  .shell--sec-konkurence .mk-cards{grid-template-columns:minmax(0,1fr)}
  .shell--sec-konkurence .mk-switch .mode{flex-basis:45%}
  .shell--sec-konkurence .sheet>.block{padding:16px 14px 12px}
}

/* --- Range review: apply the shared warm report recipe ------------------- */
.shell--sec-rangereview{
  --ink:#292623;--ink-2:#625950;--muted:#7e746b;
  --panel:#fbf8f3;--panel-2:#f5efe7;--tint:#fdfaf6;
  --rule:#eee7de;--rule-2:#e2d8cd;
  --accent:#c43b58;--accent-ink:#a41d3e;--accent-soft:#fff0f2;
}
.shell--sec-rangereview .side,.shell--sec-rangereview .work{font-family:var(--font)}
.shell--sec-rangereview .side,.shell--sec-rangereview .side-cats{background:var(--panel)}
.shell--sec-rangereview .kon-sg-head{background:var(--panel);color:var(--ink-2)}
.shell--sec-rangereview .kon-cat{padding-top:8px;padding-bottom:8px;font-family:"Fira Sans",system-ui,sans-serif;
  font-size:13px;font-weight:500;line-height:1.35;color:var(--ink-2)}
.shell--sec-rangereview .kon-cat:hover{background:#fff;color:var(--ink)}
.shell--sec-rangereview .kon-cat.is-current{background:var(--paper);border-left-color:var(--accent);color:var(--ink)}
.shell--sec-rangereview .kon-cat.is-current .kon-cat-mk,.shell--sec-rangereview .kon-cat.is-current .rr-cat-state{color:var(--muted)}
.shell--sec-rangereview .rr-cat-state{font-family:var(--font);font-size:11px;line-height:1.3}
.shell--sec-rangereview .kon-search input{min-height:38px;background:#fff;border-color:var(--rule);font-size:13px}
.shell--sec-rangereview .dateline{padding-top:24px;padding-bottom:8px}
.shell--sec-rangereview .dateline-mode{font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--muted)}
.shell--sec-rangereview .rr-head{padding:10px var(--gut) 20px}
.shell--sec-rangereview .rr-head .page-title{margin:0;font-size:28px;line-height:1.2}
.shell--sec-rangereview .rr-head .page-title::after{display:none}
.shell--sec-rangereview .rr-lead{max-width:60rem;margin-top:10px;font-size:15px;line-height:1.65}
.shell--sec-rangereview .rr-warn{margin:0 var(--gut) 12px;padding:12px 16px;border:1px solid #eadfcd;border-left:3px solid #b98436;
  border-radius:10px;background:var(--panel);line-height:1.5}
.shell--sec-rangereview .rr-facts{gap:12px 0;margin-top:18px}
.shell--sec-rangereview .rr-facts>div{padding:0 18px;border-color:var(--rule-2)}
.shell--sec-rangereview .rr-facts>div:first-child{padding-left:0}
.shell--sec-rangereview .rr-facts dt{font-size:10.5px;letter-spacing:.02em;color:var(--muted)}
.shell--sec-rangereview .rr-facts dd{font-size:14px}
.shell--sec-rangereview .kpi-header{margin-top:0}
.shell--sec-rangereview .kh-item{padding:16px 18px}
.shell--sec-rangereview .kh-item:first-child{padding-left:20px}
.shell--sec-rangereview .kh-item:last-child{padding-right:20px}
.shell--sec-rangereview .kh-val{font:600 20px/1.2 var(--font);font-variant-numeric:tabular-nums}
.shell--sec-rangereview .kh-sub{font:400 12px/1.45 var(--font);font-variant-numeric:tabular-nums;white-space:normal}
.shell--sec-rangereview .viewbar{width:max-content;max-width:calc(100% - 2 * var(--gut));gap:5px;margin:14px var(--gut) 18px;padding:5px;
  border:1px solid var(--rule);border-radius:12px;background:var(--panel)}
.shell--sec-rangereview .viewbar-link{min-height:38px;margin:0;padding:9px 13px;border:0;border-radius:8px;
  font-size:13px;font-weight:500;color:var(--ink-2)}
.shell--sec-rangereview .viewbar-link:hover{background:#fff;color:var(--ink)}
.shell--sec-rangereview .viewbar-link.is-current{background:#fff;color:var(--ink);border:0;box-shadow:0 1px 3px rgba(38,31,27,.12)}
.shell--sec-rangereview .rr-body{padding-bottom:34px}
.shell--sec-rangereview .rr-sec{margin:18px var(--gut) 0;padding:20px;border:1px solid var(--rule);border-radius:14px;
  background:#fff;box-shadow:0 2px 10px rgba(40,32,24,.035)}
.shell--sec-rangereview .rr-sec-title{margin-bottom:14px;font-size:19px}
.shell--sec-rangereview .rr-sec-lead{max-width:60rem;margin-bottom:14px;font-size:14.5px;line-height:1.6}
.shell--sec-rangereview .rr-block{margin-top:18px;padding-top:0;border-top:0}
.shell--sec-rangereview .rr-block-title{margin-bottom:8px;font-size:14px;font-weight:600;color:var(--ink)}
.shell--sec-rangereview .rr-block-lead{max-width:60rem;margin:0 0 12px;font-size:13.5px;line-height:1.55}
.shell--sec-rangereview .rr-sec .table-scroll,.shell--sec-rangereview .rr-buyer .table-scroll,
.shell--sec-rangereview .rr-brand-body .table-scroll{border:0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);border-radius:0}
.shell--sec-rangereview table.grid thead th{background:var(--panel-2);color:var(--ink-2);border-bottom:1px solid var(--rule-2)}
.shell--sec-rangereview table.grid tbody tr:nth-child(even)>th,
.shell--sec-rangereview table.grid tbody tr:nth-child(even)>td{background:#fff}
.shell--sec-rangereview table.grid tbody tr:hover>th,
.shell--sec-rangereview table.grid tbody tr:hover>td{background:#fcf8f7}
.shell--sec-rangereview .rr-stats{border-color:var(--rule)}
.shell--sec-rangereview .rr-stats>div+div{border-color:var(--rule)}
.shell--sec-rangereview .rr-brand .card-toggle{background:#fff;border-bottom-color:var(--rule)}
.shell--sec-rangereview .rr-brand .card-toggle:hover,
.shell--sec-rangereview .rr-brand .card-toggle[aria-expanded="true"]{background:var(--panel)}
.shell--sec-rangereview .rr-brand-body{border-bottom-color:var(--rule-2)}
.shell--sec-rangereview .chip--navrh,.shell--sec-rangereview .chip--bez{background:var(--panel);color:var(--ink-2)}
.shell--sec-rangereview .chip--kontrola{background:var(--accent-soft);color:var(--accent-ink)}
.shell--sec-rangereview .sheet>.block{margin-top:20px;padding:20px 22px 14px}
.shell--sec-rangereview .sheet>.block .table-scroll{border:0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);border-radius:0}
.shell--sec-rangereview .blank{padding:28px 30px;border:1px solid var(--rule);border-radius:14px;background:#fff}
.shell--sec-rangereview .rr-round-home.is-current{background:#fff;border-left-color:var(--accent);color:var(--ink)}
.shell--sec-rangereview .rr-home-hero{display:flex;align-items:center;gap:22px;padding:24px 26px;border:1px solid var(--rr-soft);
  border-radius:16px;background:var(--rr-soft)}
.shell--sec-rangereview .rr-home-mark{display:grid;place-items:center;flex:none;width:68px;height:68px;border-radius:18px;
  background:var(--rr);color:#fff}
.shell--sec-rangereview .rr-home-mark svg{width:40px;height:40px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.shell--sec-rangereview .rr-home-copy{min-width:0}
.shell--sec-rangereview .rr-home-kicker{margin-bottom:5px;color:var(--rr-ink);font-size:12px;font-weight:600;letter-spacing:.025em}
.shell--sec-rangereview .rr-home-hero .page-title{margin:0;padding:0;font-size:30px;line-height:1.2}
.shell--sec-rangereview .rr-home-hero .page-title::after{display:none}
.shell--sec-rangereview .rr-home-lead{max-width:44rem;margin-top:7px;color:var(--ink-2);font-size:14px;line-height:1.5}
.shell--sec-rangereview .rr-head--round .rr-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}
.shell--sec-rangereview .rr-head--round .rr-facts>div,
.shell--sec-rangereview .rr-head--round .rr-facts>div:first-child{min-width:0;padding:12px 14px;border:1px solid var(--rule);
  border-radius:10px;background:#fff}
.shell--sec-rangereview .rr-head--round .rr-facts dt{font-size:10px}
.shell--sec-rangereview .rr-head--round .rr-facts dd{margin-top:5px;font-size:13px}
.shell--sec-rangereview .kpi-header--rr .kh-item:first-child{background:var(--rr-soft)}
.shell--sec-rangereview .kpi-header--rr .kh-item .kh-label{color:var(--rr-ink)}
.shell--sec-rangereview .rr-buyer-head{padding:12px 15px;margin-bottom:12px;border:0;border-left:3px solid var(--rr);
  border-radius:8px;background:var(--rr-soft);color:var(--rr-ink);font-size:16px}
.shell--sec-rangereview .rr-sec-title{padding-left:13px;border-left:3px solid var(--rr);color:var(--rr-ink)}
.shell--sec-rangereview .rr-stats>div{border-radius:9px;background:var(--panel);padding:14px 16px}
.shell--sec-rangereview .rr-stats>div+div{border:0}
.shell--sec-rangereview .rr-stat-val{color:var(--rr-ink)}
.shell--sec-rangereview .rr-trend{border-color:var(--rule)}
@media(max-width:760px){
  .shell--sec-rangereview .rr-head{padding:8px 16px 18px}
  .shell--sec-rangereview .rr-head .page-title{font-size:25px}
  .shell--sec-rangereview .rr-facts{grid-template-columns:1fr 1fr;gap:12px}
  .shell--sec-rangereview .rr-facts>div,.shell--sec-rangereview .rr-facts>div:first-child{padding:0;border:0}
  .shell--sec-rangereview .kh-item{padding:13px 14px}
  .shell--sec-rangereview .kh-item:first-child{padding-left:14px}
  .shell--sec-rangereview .kh-item:last-child{padding-right:14px}
  .shell--sec-rangereview .viewbar{width:calc(100% - 24px);max-width:none;margin:12px 12px 16px;overflow-x:auto}
  .shell--sec-rangereview .viewbar-link{flex:none}
  .shell--sec-rangereview .rr-sec,.shell--sec-rangereview .rr-buyer{margin-right:12px;margin-left:12px;padding:15px 14px}
  .shell--sec-rangereview .rr-warn{margin-right:12px;margin-left:12px}
  .shell--sec-rangereview .sheet>.block{padding:16px 14px 12px}
  .shell--sec-rangereview .rr-home-hero{align-items:flex-start;gap:14px;padding:18px}
  .shell--sec-rangereview .rr-home-mark{width:52px;height:52px;border-radius:14px}
  .shell--sec-rangereview .rr-home-mark svg{width:32px;height:32px}
  .shell--sec-rangereview .rr-home-hero .page-title{font-size:25px}
  .shell--sec-rangereview .rr-head--round .rr-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell--sec-rangereview .rr-head--round .rr-facts>div,
  .shell--sec-rangereview .rr-head--round .rr-facts>div:first-child{padding:10px 11px}
  .shell--sec-rangereview .rr-buyer-head{padding:11px 12px}
}


/* =========================================================================
   CENOVÉ INDEXY (.ci-*) — the boss's price-index HTML on the ledger (2026-10-16,
   second edition of his template 2026-10-18: KPI table, two trend charts, category +
   brand tables, Detail položek with its tabs and the browser-built Excel).
   Colour is semantic only: pos/neg on figures, dm = --kon, Rossmann = --rr (data);
   the chart series are ink (Nepromoční) and the accent (Vč. promocí); a price that
   fell is green, one that rose wears the orange tokens — never a whole row.
   ========================================================================= */
.shell--sec-cenindex{--sec:var(--accent);--sec-ink:var(--accent-ink);--sec-soft:var(--accent-soft)}
.ci-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px}
.ci-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;color:var(--ink-2)}
.ci-legend b{color:var(--ink);font-weight:600}
.ci-filters{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;gap:10px 16px;align-items:flex-end;
  margin:18px calc(-1 * var(--gut)) 0;padding:12px var(--gut);background:var(--panel);
  border-top:1px solid var(--rule-2);border-bottom:1px solid var(--rule-2)}
.ci-fld{display:flex;flex-direction:column;gap:4px;min-width:0}
.ci-fld[hidden],.ci-pchart[hidden]{display:none}
.ci-ctitle.ci-pchart{margin-top:12px}
.ci-fld label,.ci-fld-label{font-size:11px;font-weight:600;letter-spacing:var(--track);text-transform:uppercase;color:var(--muted)}
.ci-fld select,.ci-search{padding:7px 8px;border:1px solid var(--rule-2);border-radius:var(--radius-sm);
  background:var(--paper);color:var(--ink);font:500 13px var(--font);max-width:220px}
.ci-ms{position:relative}
.ci-ms-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;width:220px;max-width:100%;padding:7px 8px;
  border:1px solid var(--rule-2);border-radius:var(--radius-sm);background:var(--paper);color:var(--ink);font:500 13px var(--font);
  text-align:left;cursor:pointer}
.ci-ms-btn span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ci-ms-btn::after{content:"";flex:none;width:0;height:0;border:4px solid transparent;border-top-color:var(--muted);margin-top:4px}
.ci-ms.is-set .ci-ms-btn{border-color:var(--ink-2);font-weight:600}
.ci-ms-pop{position:absolute;z-index:20;top:calc(100% + 4px);left:0;width:300px;max-width:calc(100vw - 32px);padding:8px;
  background:var(--paper);border:1px solid var(--rule-2);border-radius:var(--radius-sm);box-shadow:0 6px 20px rgb(0 0 0 / .12)}
.ci-ms-pop[hidden],.ci-ms-list li[hidden]{display:none}
.ci-ms-pop .ci-search{width:100%;max-width:none;box-sizing:border-box}
.ci-ms-clear{margin:6px 0 4px;padding:0;border:0;background:none;color:var(--ink-2);font:500 12px var(--font);text-decoration:underline;cursor:pointer}
.ci-ms-list{list-style:none;margin:0;padding:0;max-height:300px;overflow:auto}
.ci-ms-list label{display:flex;align-items:baseline;gap:6px;padding:4px 2px;font:500 13px var(--font);color:var(--ink);cursor:pointer}
.ci-ms-list label:hover{background:var(--panel)}
.ci-ms-name{flex:1;min-width:0;overflow-wrap:anywhere}
.ci-seg{display:inline-flex;flex-wrap:wrap;border:1px solid var(--rule-2);border-radius:var(--radius-sm);overflow:hidden;background:var(--paper)}
.ci-seg button{border:0;background:transparent;color:var(--ink-2);padding:7px 10px;font:500 13px var(--font);cursor:pointer;
  transition:background var(--tap),color var(--tap)}
.ci-seg button+button{border-left:1px solid var(--rule-2)}
.ci-seg button:hover{background:var(--panel);color:var(--ink)}
.ci-seg button[aria-pressed=true]{background:var(--ink);color:#fff;font-weight:600}
.ci-reset{padding:7px 12px;align-self:flex-end}
.ci-sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;margin-bottom:12px}
.ci-small{font-size:12.5px;color:var(--muted)}
.ci-note{margin:10px 0 0;max-width:60rem;font-size:13px;color:var(--ink-2)}
.ci-sub{margin:0 0 6px;font-size:13px;font-weight:600}
.ci-dot{display:inline-block;width:9px;height:9px;border-radius:50%;vertical-align:middle}
.ci-dot--dm{background:var(--kon)} .ci-dot--ro{background:var(--rr)}
.ci-dot--reg{background:var(--ink)} .ci-dot--act{background:var(--accent)}
.ci-idx{font-weight:500}
.ci-idx.pos,.ci-idx.neg{font-weight:600}
/* two-row heads: the chain / period group on top, a fence on the left of every group */
table.grid.ci-kpi thead th,table.grid.ci-gtab thead th,table.grid.ci-prt thead th{vertical-align:bottom;line-height:1.25}
table.grid .ci-grp,table.grid .ci-blk{text-align:center;border-bottom:2px solid var(--rule-2)}
table.grid .ci-grp--dm{border-bottom-color:var(--kon)} table.grid .ci-grp--ro{border-bottom-color:var(--rr)}
table.grid .ci-blk--T{border-bottom-color:var(--accent)} table.grid .ci-blk--dm{border-bottom-color:var(--kon)} table.grid .ci-blk--ro{border-bottom-color:var(--rr)}
table.grid th.ci-sepl,table.grid td.ci-sepl{border-left:1px solid var(--rule-2)}
.ci-th-s{display:block;font:400 11px var(--mono);letter-spacing:0;text-transform:none;color:var(--muted)}
table.grid thead th.ci-th-wrap{white-space:normal}
/* Souhrn: the KPI table — a row per index type, click it to pick the type for the detail */
table.grid.ci-kpi th:first-child,table.grid.ci-kpi td:first-child{padding-left:16px}
.ci-kpi th.ci-tname{min-width:12rem;padding-top:12px;padding-bottom:12px;vertical-align:top}
.ci-kpi td{padding:8px}
.ci-kpi td.ci-small{font-size:12px}
.ci-kpi tbody tr[data-t]{cursor:pointer}
.ci-kpi tbody tr[data-t][aria-selected=true]>th,.ci-kpi tbody tr[data-t][aria-selected=true]>td{background:var(--tint)}
.ci-kpi tbody tr[data-t][aria-selected=true]>th{box-shadow:inset 4px 0 0 var(--accent)}
.ci-kpi tbody tr[data-t]:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.ci-tname-n{display:block;font-weight:600}
.ci-tdesc{display:block;margin-top:2px;max-width:15rem;font-size:12px;font-weight:400;color:var(--muted);white-space:normal}
.ci-kpi td.ci-big .ci-idx{font:700 20px/1.1 var(--mono);letter-spacing:-.02em}
.ci-kpi td{white-space:nowrap}
.ci-kpi tr.ci-kpi-n th{font-weight:400}
/* the two trend charts: one quiet surface each */
.ci-charts{margin-top:16px}
.ci-panel{min-width:0;padding:14px 16px 10px;background:var(--paper);border:1px solid var(--rule);border-radius:12px}
.ci-ctitle{margin:0 0 6px;font-size:14px;font-weight:600}
.ci-chart{position:relative;margin-top:4px}
.ci-chart svg{display:block;width:100%;height:auto}
.ci-tip{position:absolute;pointer-events:none;background:var(--ink);color:var(--paper);font-size:12px;padding:6px 8px;
  border-radius:var(--radius-sm);white-space:nowrap;transform:translate(-50%,-110%)}
.ci-tip .num{font:500 12px var(--mono);color:var(--paper)}
.ci-chart-legend{display:flex;flex-wrap:wrap;gap:16px;margin-top:10px;font-size:13px;color:var(--ink-2)}
.ci-grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
.ci-tools{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-bottom:10px}
.ci-scroll{max-height:620px;overflow:auto}
/* a two-row head sticks as a whole (sticky on <thead> — every current browser) */
.ci-scroll table.grid thead{position:sticky;top:0;z-index:1}
.ci-scroll table.grid thead th{position:static}
/* category + brand tables */
.ci-gtab th.name-plain{white-space:nowrap;min-width:11rem}
table.grid.ci-gtab td,table.grid.ci-gtab thead tr:nth-child(2) th{padding-left:8px;padding-right:8px}
/* weekly detail */
.ci-wk summary{cursor:pointer;font-weight:600;padding:2px 0}
.ci-wk[open] summary{margin-bottom:10px}
table.grid tr.ci-oldw>th,table.grid tr.ci-oldw>td{color:var(--muted)}
/* Detail položek: the type + period bar, the tabs, the badges */
.ci-det-bar{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:flex-end;padding:12px 14px;margin-bottom:14px;
  background:var(--panel);border:1px solid var(--rule);border-radius:12px}
.ci-xl{display:flex;align-items:center;gap:10px;margin-left:auto}
.ci-xl .btn{padding:8px 16px}
.ci-tabs{display:flex;flex-wrap:wrap;gap:2px;margin:4px 0 14px;border-bottom:1px solid var(--rule-2)}
.ci-tabs button{margin-bottom:-1px;padding:9px 14px;border:0;border-bottom:3px solid transparent;background:transparent;
  font:600 13.5px var(--font);color:var(--muted);cursor:pointer;transition:color var(--tap)}
.ci-tabs button:hover{color:var(--ink)}
.ci-tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--accent)}
.ci-tbadge{display:inline-block;padding:1px 6px;border-radius:8px;background:var(--panel-2);color:var(--muted);
  font:600 10px var(--font);letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
.ci-tbadge--act,.ci-tbadge--est{background:var(--warn-bg);color:var(--rr-ink)}
.ci-name{min-width:16rem;max-width:22rem;font-weight:500;overflow-wrap:anywhere}
.ci-s{display:block;font:400 11px var(--mono);color:var(--muted)}
.ci-s a{color:var(--accent-ink)}
.ci-promo{background:var(--warn-bg);color:var(--ink-2)}
.ci-est{color:#6b3fa0;font-style:italic;font-weight:600}
/* prices per week: a figure that fell is green, one that rose is orange, a competitor in
   promo is underlined, an estimated Rossmann price is the purple of his Excel */
table.grid td.ci-dn{background:var(--pos-bg);color:var(--pos)}
table.grid td.ci-upc{background:var(--rr-soft);color:var(--rr-ink)}
table.grid td.ci-pr{text-decoration:underline dotted;text-underline-offset:3px}
table.grid td.ci-est{color:#6b3fa0;font-style:italic;font-weight:600}
table.grid td.ci-it{font-style:italic}
.pill.ci-dn{background:var(--pos-bg);color:var(--pos)} .pill.ci-upc{background:var(--rr-soft);color:var(--rr-ink)}
.ci-prt td{white-space:nowrap}
.ci-prt th.ci-name{white-space:normal}
.ci-more{display:flex;justify-content:center;padding:8px 0 0}
.ci-method summary{cursor:pointer;font-weight:600;padding:2px 0}
.ci-method[open] summary{margin-bottom:6px}
.ci-method ul{max-width:56rem;margin-top:8px;padding-left:18px}
.ci-method li{padding:6px 0;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
.ci-method b{color:var(--ink);font-weight:600}
/* Použité podklady — the files the run was computed from, under the Metodika */
.ci-inputs{max-width:56rem;margin-top:14px;padding-top:12px;border-top:1px solid var(--rule)}
.ci-inputs .ctitle{margin:0 0 8px;font-size:13.5px;font-weight:600;color:var(--ink)}
.ci-inputs p{margin:0;font-size:13.5px;color:var(--ink-2)}
table.grid.ci-inputs-t{font-size:13px}
table.grid.ci-inputs-t th,table.grid.ci-inputs-t td{padding:6px 10px}
table.grid.ci-inputs-t td:nth-child(2){font:400 12.5px var(--mono);overflow-wrap:anywhere}
.ci-note+.ci-grid2,.ci-note+.ci-tools{margin-top:14px}
@media (max-width:900px){.ci-grid2{grid-template-columns:1fr}.ci-filters{position:static}.ci-xl{margin-left:0}}
@media (max-width:640px){.ci-fld select,.ci-search,.ci-ms-btn{max-width:100%}.ci-det-bar{padding:10px 12px}
  .ci-kpi td.ci-big .ci-idx{font-size:18px}.ci-kpi th.ci-tname{min-width:13rem}.ci-tdesc{max-width:13rem}}

/* =========================================================================
   ZDROJ DAT (.src-*, .portal-source) — what a report takes in (2026-10-16)
   ========================================================================= */
.portal-row{display:flex;align-items:stretch;gap:6px}
.portal-row .portal-subcategory{flex:1;min-width:0}
.portal-source{display:grid;place-items:center;flex:none;width:34px;align-self:center;height:34px;border-radius:9px;
  color:var(--muted);transition:color var(--tap),background var(--tap)}
.portal-source svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.portal-source:hover,.portal-source:focus-visible{color:var(--accent-ink);background:var(--accent-soft)}
@media(max-width:1220px){.portal-source{height:58px;width:44px;align-self:stretch;border-radius:10px;background:#f7f8fa;border:1px solid #e2e6ed}
  .portal-source:hover,.portal-source:focus-visible{background:#fff7f8;border-color:#e9b8c3}}
.src-back{display:inline-flex;margin-bottom:22px}
.src-report{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;max-width:36rem;margin:0 auto;
  padding:26px 24px 24px;background:var(--paper);border:1px solid var(--rule);border-radius:16px}
.src-report-mark{display:grid;place-items:center;width:84px;height:84px;margin-bottom:6px;border-radius:22px;
  background:var(--accent-soft);color:var(--accent-ink)}
.src-report-mark svg{width:52px;height:52px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.src-kicker{font-size:11px;font-weight:600;letter-spacing:var(--track);text-transform:uppercase;color:var(--muted)}
.src-report .page-title{margin:0}
.src-lead{margin:0 auto;max-width:30rem}
.src-connector{width:2px;height:34px;margin:0 auto;background:var(--rule-2)}
.src-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(20rem,1fr));gap:20px;padding-top:34px;
  border-top:2px solid var(--rule-2)}
.src-group{min-width:0;padding:18px 20px 8px;background:var(--paper);border:1px solid var(--rule);border-radius:14px}
.src-group-head{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.src-group-head h2{font-size:16px;font-weight:600;line-height:1.3;letter-spacing:-.01em}
.src-origin{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:13px;
  background:var(--accent-soft);color:var(--accent-ink)}
.src-origin svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.src-group--nielsen .src-origin{background:var(--kon-soft);color:var(--kon-ink)}
.src-group--web .src-origin{background:var(--rr-soft);color:var(--rr-ink)}
.src-group--soubory .src-origin{background:var(--panel);color:var(--ink-2)}
.src-group--api .src-origin{background:var(--pos-bg);color:var(--pos)}
.src-logo{display:grid;place-items:center;flex:none;width:72px;height:48px;padding:6px 8px;border-radius:10px;
  background:#fff;border:1px solid var(--rule)}
.src-logo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto}
.src-items{list-style:none;margin:0;padding:0}
.src-item{padding:14px 0 16px;border-top:1px solid var(--rule)}
.src-item-name{margin:0 0 8px;font-size:14.5px;font-weight:600}
table.grid.src-table th:first-child{width:6.5rem;padding-left:0;font-size:11px;font-weight:600;letter-spacing:var(--track);
  text-transform:uppercase;color:var(--muted);vertical-align:top}
table.grid.src-table td{padding:7px 8px;font-size:13px;vertical-align:top}
.src-mono{font:500 12.5px var(--mono);word-break:break-word}
.src-cols{display:flex;flex-wrap:wrap;gap:4px 6px;margin:0;padding:0;list-style:none}
.src-cols li{padding:2px 8px;border:1px solid var(--rule-2);border-radius:999px;background:var(--panel);
  font:500 12px var(--mono);color:var(--ink)}
.src-upload{margin:26px 0 0;text-align:center}
@media (max-width:640px){.src-report{padding:20px 16px}.src-report-mark{width:68px;height:68px;border-radius:18px}
  .src-groups{grid-template-columns:1fr;gap:14px}}

/* =========================================================================
   DENNÍ TRŽBY (.dr-*) — the boss's daily-sales page on the ledger (2026-10-18): the day
   picker, freshness badges and ⚠ warnings, the five KPI tiles on the portal's .kpi-header
   strip, the two e-mail tables with their RM → OBM → prodejna tree, Prodejny, Vývoj (inline
   SVG), Regály, Kontroly. Colour from the tokens only: pos/neg on figures, his yellow total
   row is the logo yellow (--mark), his section band the head band (--panel-2), a stale source
   wears --warn-bg; the chart's AY line is the accent, LY the dashed --off.
   ========================================================================= */
.dr-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 24px}
.dr-day{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.dr .btn{padding:7px 12px;font-size:13px;line-height:1.2}
.dr-step{min-width:34px;text-align:center}
.dr-day input,.dr-ctl select,.dr-ctl input[type=search]{padding:6px 8px;border:1px solid var(--rule-2);border-radius:var(--radius-sm);
  background:var(--paper);color:var(--ink);font:500 13px var(--font);max-width:100%}
.dr .btn:focus-visible,.dr select:focus-visible,.dr input:focus-visible,.dr tr[data-kids]:focus-visible,.dr tr[data-rg]:focus-visible{
  outline:2px solid var(--accent);outline-offset:1px}
.dr-badges{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 10px}
.dr-badge{padding:3px 10px;border:1px solid var(--rule-2);border-radius:999px;background:var(--paper);font-size:12px;color:var(--ink-2)}
.dr-badge b{color:var(--ink);font-weight:600}
.dr-badge--bad{border-color:var(--rr);background:var(--warn-bg);color:var(--rr-ink)}
.dr-badge--bad b{color:var(--rr-ink)}
.dr-alerts{display:flex;flex-direction:column;gap:6px;margin:0 0 14px}
.dr-alerts:empty{display:none}
.dr-alert{padding:8px 12px;border:1px solid var(--rr);border-radius:var(--radius-sm);background:var(--warn-bg);color:var(--rr-ink);font-size:13px}
.dr-alert::before{content:"⚠ ";font-weight:700}
/* the five tiles: the portal's KPI strip (the shell boxes it), on the sheet's own edges */
.shell .kpi-header.dr-kpis{margin:14px 0 0}
.dr-kpis .kh-item.dr-kpi{padding-left:14px;padding-right:14px}
.dr-kpi .kh-label{white-space:normal}
.dr-kpi .kh-val{margin:4px 0 6px;font-size:22px}
.dr-unit{margin-left:5px;font:400 13px var(--font);color:var(--ink-2);letter-spacing:0}
.section-title .dr-unit{font-size:13px}
.dr-krows{display:grid;grid-template-columns:auto 1fr auto;gap:2px 8px;font-size:12px;font-variant-numeric:tabular-nums}
.dr-krows span{white-space:nowrap}
.dr-krows span:nth-child(3n+1){color:var(--ink-2)}
.dr-krows span:nth-child(3n+2){color:var(--muted);text-align:right}
.dr-krows span:nth-child(3n){text-align:right}
.dr-strong{font-weight:600}
/* tabs and panels */
.dr-tabs{margin:22px 0 14px}
.dr-toolbar{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:space-between;margin-bottom:4px}
.dr-ctl{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.dr-ctl--bar{margin-bottom:10px}
.dr-chk{display:inline-flex;gap:6px;align-items:center;font-size:13px;color:var(--ink-2);cursor:pointer}
.dr-note{font-size:12.5px;color:var(--muted)}
.dr-note--lead{margin:-4px 0 8px}
.dr-note--after{margin:8px 0 0}
.dr-card-h{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;margin-bottom:10px}
.dr-panel>.dr-card:first-child{margin-top:4px}
.dr-tblwrap--gap{margin-top:6px}
.dr-tblwrap--gap2{margin-top:12px}
.dr-grid2 table.grid.dr-rep td.dr-l{white-space:normal}
.dr-h3{margin:0 0 6px;font-size:13.5px;font-weight:600}
.dr-grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}
.dr-sum{margin:0 0 10px;font-size:13px;color:var(--ink-2)}
.dr-sum b{color:var(--ink)}
.dr-sum b.pos{color:var(--pos)} .dr-sum b.neg{color:var(--neg)} .dr-sum b.muted{color:var(--muted)}
/* his dense report table on the ledger grid: figures in Fira Mono, right-aligned */
table.grid.dr-rep{font-size:12.5px}
table.grid.dr-rep th,table.grid.dr-rep td{padding:4px 8px;white-space:nowrap}
table.grid.dr-rep td{text-align:right;font-family:var(--mono)}
table.grid.dr-rep thead th{position:static;text-align:right;font-size:11px}
table.grid.dr-rep thead tr.dr-grp th{text-align:center;color:var(--ink);font-size:11.5px;border-bottom:1px solid var(--rule-2)}
table.grid.dr-rep th.dr-l,table.grid.dr-rep td.dr-l{text-align:left;font-family:var(--font)}
table.grid.dr-rep th.dr-sep,table.grid.dr-rep td.dr-sep{border-left:1px solid var(--rule-2)}
.dr-sub{margin-left:6px;font:400 11px var(--font);color:var(--muted)}
table.grid.dr-rep tr.dr-sec>td{background:var(--panel-2);font:600 12px var(--font);text-align:left;letter-spacing:.02em;
  text-transform:uppercase;color:var(--ink);padding-top:6px}
table.grid.dr-rep tr.dr-subt>td{background:var(--panel);font-weight:600}
table.grid.dr-rep tr.dr-tot>td{background:var(--mark);font-weight:700}
table.grid.dr-rep tr.dr-child>td{font-size:12px}
table.grid.dr-rep tr.dr-child>td.dr-l{color:var(--ink-2)}
table.grid.dr-rep tr[data-kids],table.grid.dr-rep tr.dr-click{cursor:pointer}
table.grid.dr-rep tbody tr:hover>td{background:var(--accent-soft)}
table.grid.dr-rep td.dr-lv0{padding-left:8px}
table.grid.dr-rep td.dr-lv1{padding-left:26px}
table.grid.dr-rep td.dr-lv2{padding-left:44px}
table.grid.dr-rep td.dr-lv3{padding-left:62px}
table.grid.dr-rep td.dr-lv4{padding-left:80px}
table.grid.dr-rep th:first-child{padding-left:8px}
.dr-caret{display:inline-block;width:14px;color:var(--muted);font-size:10px;transition:transform var(--tap)}
tr.dr-open .dr-caret{transform:rotate(90deg)}
table.grid.dr-rep td.dr-ly{color:var(--ink-2)}
.dr-hide-ly .dr-c-ly{display:none}
.dr-sortable th{cursor:pointer;user-select:none}
.dr-sortable th[data-sort]::after{content:" ↕";color:var(--muted);font-size:10px}
.dr-minw760{min-width:760px}
.dr-minw560{min-width:560px}
.dr-lnk{color:var(--accent-ink);cursor:pointer;text-decoration:none}
/* Vývoj: the inline SVG chart, its tooltip and legend */
.dr-chartwrap{position:relative}
.dr-chart{display:block;width:100%;height:300px}
.dr-tip{position:absolute;z-index:5;pointer-events:none;padding:7px 10px;border:1px solid var(--rule-2);border-radius:var(--radius-sm);
  background:var(--paper);color:var(--ink);font-size:12.5px;white-space:nowrap;font-variant-numeric:tabular-nums}
.dr-legend{display:flex;flex-wrap:wrap;gap:16px;margin:4px 0 0;font-size:12.5px;color:var(--ink-2)}
.dr-key{display:inline-block;width:14px;height:3px;margin-right:6px;border-radius:2px;vertical-align:middle}
.dr-key--ay{background:var(--accent)}
.dr-key--ly{background:var(--off)}
/* Kontroly: the generator's log */
.dr-log{max-height:420px;margin:0;padding:10px;overflow:auto;border-radius:var(--radius-sm);background:var(--panel);
  font:400 12px/1.5 var(--mono);color:var(--ink);white-space:pre-wrap}
.dr-run{margin-top:26px;font-size:12.5px}
.dr-toast{position:fixed;bottom:20px;left:50%;z-index:50;padding:8px 14px;border-radius:var(--radius-sm);background:var(--ink);
  color:var(--paper);font-size:13px;opacity:0;pointer-events:none;transform:translateX(-50%);transition:opacity .2s}
.dr-toast.is-on{opacity:1}
@media (max-width:640px){.dr-kpi .kh-val{font-size:20px}.dr-grid2{grid-template-columns:minmax(0,1fr)}}
@media print{.dr-day,.dr-tabs,.dr .btn,.dr-toolbar .dr-ctl{display:none!important}}

/* Admin → Uživatelé, Regály (accounts/sprava.html, regaly.html): the table and the add/edit form beside it */
.sprava .page-title{margin:8px 0 20px}
.sprava-cols{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.sprava-table td a{color:var(--ink);text-decoration:none;font-weight:500}
.sprava-table td a:hover{color:var(--accent-ink);text-decoration:underline}
table.grid.sprava-table tbody tr.is-active>td{background:var(--accent-soft)}  /* outranks the zebra rule */
.sprava-table td.sprava-edit{text-align:right;white-space:nowrap}
.sprava-table td.sprava-edit a{color:var(--accent-ink);text-decoration:underline;font-weight:500}
.sprava-chip{display:inline-block;margin:0 6px 2px 0;padding:1px 8px;border-radius:999px;background:var(--panel-2);color:var(--ink-2);font-size:12px}
.sprava-chip--admin{background:var(--accent-soft);color:var(--accent-ink)}
.sprava-form{position:sticky;top:16px;border:1px solid var(--rule-2);border-radius:8px;padding:18px 20px;background:var(--paper)}
.sprava-form h2{margin:0 0 14px;font-size:16px}
.sprava-field{display:flex;flex-direction:column;gap:6px;margin:0 0 14px;border:0;padding:0}
.sprava-field>span,.sprava-field>legend{font-size:12.5px;color:var(--muted);font-weight:500;padding:0}
.sprava-field input[type=email],.sprava-field input[type=text],.sprava-field input[type=number],.sprava-field select{font:inherit;font-size:14px;padding:8px 10px;border:1px solid var(--rule-2);border-radius:6px;background:var(--paper);color:var(--ink)}
.sprava-field input[aria-invalid=true]{border-color:var(--neg)}
.sprava-field .check{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--ink)}
.sprava-actions{display:flex;align-items:center;gap:16px}
.sprava-delete{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--rule)}
.sprava-danger{color:var(--neg)}
.sprava .err{margin:-8px 0 12px;color:var(--neg);font-size:13px}
@media (max-width:900px){.sprava-cols{grid-template-columns:minmax(0,1fr)}.sprava-form{position:static}}
.hub-empty{margin:24px 0;color:var(--muted)}

/* cenová politika po regálech: semafor proti cíli regálu (Jana 2026-11-07), tint like the KPI strip */
.sprava-check{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:14px}
