/* PROMO look (D-143): an airy blue page with little bold text and calm
   controls, in a light and a dark theme. The system theme applies until the
   person chooses one with the day/night buttons (theme.js sets data-theme on
   the root). Fonts (D-145): Bricolage Grotesque for the main headings, Inter
   for the text and controls, JetBrains Mono for times, dates and identifiers
   and (D-153) at 700 for the number of "Čaká na vás" – served from web/fonts (OFL, CSP
   font-src 'self'); the system fonts stay as the fallback. No image from CSS. */
:root {
  color-scheme: light;
  --bar: 3.75rem;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Noto Sans", Ubuntu, sans-serif;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, "Noto Sans", Ubuntu, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --bg1: #f3f8fe; --bg2: #e7f2fc; --glow: rgba(10, 99, 216, 0.08);
  --surface: #ffffff; --raised: #ffffff; --tone: #e3ecf7; --tone2: #d3e1f1;
  --line: #d3deeb; --line-strong: #67768f; --field: #ffffff; --field-line: #67768f;
  --text: #13213f; --strong: #0b1638; --muted: #45536f; --faint: #7d8aa1;
  --blue: #0a5fd8; --dayhead: #0a5fd8;
  --primary: #0a63d8; --primary-press: #0a52b8; --on-primary: #ffffff; --focus: #0a63d8;
  --sel: #cfe5fb; --sel-text: #0a4fb0; --sel-line: #0a63d8;
  --teal: #006e64; --pumpkin: #a94400; --green: #1d7a3e; --amber: #b77800; --amber-tint: #fdf1d8; --red: #c0262f; --red-tint: #fde8e8;
  --nav: #ffffff; --scrim: rgba(15, 29, 61, 0.36); --hatch: rgba(15, 29, 61, 0.14);
  --shadow: 0 18px 50px rgba(15, 29, 61, 0.18); --toggle-on: #ffffff; --toggle-on-text: #0a63d8;
  --band1: #e8f0fb; --band2: #e9f5e6; --band3: #fbf1e2; --band4: #f1ebf8; --band5: #e3f4f4; --band6: #fbe9ee;
  --band7: #f6f3dc; --band8: #ecebe6; --band9: #e2ecf3; --band10: #eef6dd; --band11: #f7e6dc; --band12: #e8e6f5;
  /* D-236 (Owner 2026-11-16): the orange of a state that waits (text, ≥ 4.5 : 1), and eight campaign colours apart from the red,
     orange, green and turquoise of the states and the stock – the same campaign one colour everywhere, a lighter tone in the dark. */
  --warn: #b54708; --cc0: #6941c6; --cc1: #c11574; --cc2: #3538cd; --cc3: #5f6b1a; --cc4: #475467; --cc5: #9e3fb5; --cc6: #5d6b98; --cc7: #1d4f91;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg1: #0c1723; --bg2: #0e2136; --glow: rgba(40, 120, 220, 0.16);
    --surface: #122032; --raised: #172a40; --tone: #172439; --tone2: #1f3049;
    --line: #22344d; --line-strong: #5a6b82; --field: #0c1723; --field-line: #5f789b;
    --text: #e6edf7; --strong: #ffffff; --muted: #a3b3c8; --faint: #6d7e95;
    --blue: #3aa8ff; --dayhead: #ffffff;
    --primary: #1565d8; --primary-press: #0a52b8; --on-primary: #ffffff; --focus: #5aa9ff;
    --sel: #13436e; --sel-text: #9fe3ff; --sel-line: #3aa8ff;
    --teal: #3fe0d8; --pumpkin: #ff9a4d; --green: #5fd18a; --amber: #ffa900; --amber-tint: #33270f; --red: #ff8a87; --red-tint: #3a1b20;
    --nav: #0f1b2b; --scrim: rgba(3, 8, 16, 0.66); --hatch: rgba(255, 255, 255, 0.14);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.5); --toggle-on: #1565d8; --toggle-on-text: #ffffff;
    --band1: #172c47; --band2: #18332a; --band3: #36291a; --band4: #2a2140; --band5: #12343a; --band6: #3a1d2a;
    --band7: #33301a; --band8: #2b2a26; --band9: #1b2a36; --band10: #26331a; --band11: #3a2619; --band12: #22223d;
    --warn: #fdb022; --cc0: #9e77ed; --cc1: #ee46bc; --cc2: #8098f9; --cc3: #b5c45a; --cc4: #98a2b3; --cc5: #d47fe8; --cc6: #a4adcf; --cc7: #84aee8;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg1: #0c1723; --bg2: #0e2136; --glow: rgba(40, 120, 220, 0.16);
  --surface: #122032; --raised: #172a40; --tone: #172439; --tone2: #1f3049;
  --line: #22344d; --line-strong: #5a6b82; --field: #0c1723; --field-line: #5f789b;
  --text: #e6edf7; --strong: #ffffff; --muted: #a3b3c8; --faint: #6d7e95;
  --blue: #3aa8ff; --dayhead: #ffffff;
  --primary: #1565d8; --primary-press: #0a52b8; --on-primary: #ffffff; --focus: #5aa9ff;
  --sel: #13436e; --sel-text: #9fe3ff; --sel-line: #3aa8ff;
  --teal: #3fe0d8; --pumpkin: #ff9a4d; --green: #5fd18a; --amber: #ffa900; --amber-tint: #33270f; --red: #ff8a87; --red-tint: #3a1b20;
  --nav: #0f1b2b; --scrim: rgba(3, 8, 16, 0.66); --hatch: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5); --toggle-on: #1565d8; --toggle-on-text: #ffffff;
  --band1: #172c47; --band2: #18332a; --band3: #36291a; --band4: #2a2140; --band5: #12343a; --band6: #3a1d2a;
  --band7: #33301a; --band8: #2b2a26; --band9: #1b2a36; --band10: #26331a; --band11: #3a2619; --band12: #22223d;
  --warn: #fdb022; --cc0: #9e77ed; --cc1: #ee46bc; --cc2: #8098f9; --cc3: #b5c45a; --cc4: #98a2b3; --cc5: #d47fe8; --cc6: #a4adcf; --cc7: #84aee8;
}

/* ---- Fonts (D-145): files of the official releases, see web/fonts/*-OFL.txt ---- */
@font-face { font-family: "Inter"; src: url(fonts/Inter-Regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-Medium.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-SemiBold.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url(fonts/BricolageGrotesque-Variable.woff2) format("woff2"); font-weight: 200 800;
  font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/JetBrainsMono-Medium.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/JetBrainsMono-Bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---- Page ---- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg1); scroll-padding-top: calc(var(--bar) + 0.5rem); }
/* The page's background (D-171): fixed to the window on a layer behind everything (a fixed element, which
   phones honour), the glow at a fixed distance from the top. The top bar, always at the top of the window,
   draws the same background opaque, so it matches what lies below it at any scroll: no edge in either theme. */
:root { --page-bg: radial-gradient(48rem 30rem at 50% -5.5rem, var(--glow), transparent 70%), linear-gradient(180deg, var(--bg2), var(--bg1) 28rem); }
body { margin: 0; min-height: 100vh; font: 16px/1.5 var(--sans); color: var(--text); background: none; -webkit-text-size-adjust: 100%; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-color: var(--bg1);
  background-image: var(--page-bg); background-repeat: no-repeat; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, h4 { color: var(--strong); font-weight: 600; line-height: 1.2; }
/* Main headings: Bricolage at 600 (its optical size follows the font size). */
h1, h2, .ws-title, .dayline h3, .person-name, #session.role-promoter #row-form-title,
  :is(#sa-list-title, #sa-form-title, #sa-support-title) { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
/* Only the weights shipped are used; no browser-made bold or italic. */
body { font-synthesis-weight: none; }
/* Times, dates and identifiers: JetBrains Mono, slightly smaller to sit with Inter. */
.plan .tm, .day-table td.c-day, .shift-rows td.c-time,
#schedule-detail-table :is(td.c-date, td.c-plan), #schedule-table > * > tr > td.c-date { font-family: var(--mono); font-size: 0.9em; font-weight: 500; }
/* Their labels (narrow cards) stay in the text font. */
.day-table td.c-day::before, .shift-rows td.c-time::before { font-family: var(--sans); font-size: 0.9375rem; font-weight: 400; }
h2 { margin: 1.75rem 0 0.75rem; font-size: 1.125rem; }
h3, h4 { margin: 1.5rem 0 0.5rem; font-size: 1.0625rem; }
p { margin: 0.5rem 0; }
a { color: var(--blue); }
code { font-family: var(--mono); font-size: 0.9375em; color: var(--strong); overflow-wrap: anywhere; }

/* The top bar: PROMO on the left, day and night on the right. */
.appbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  height: var(--bar); padding: 0 1rem; background-color: var(--bg1); background-image: var(--page-bg); background-repeat: no-repeat; }
.brand { margin: 0 auto 0 0; font-size: 1.1875rem; font-weight: 600; letter-spacing: 0.04em; color: var(--strong); }
.daynight { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--tone); }
.daynight button { display: grid; place-items: center; width: 3.25rem; min-height: 2.75rem; height: 2.75rem; margin: 0; padding: 0; border: 0;
  border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.daynight button:hover { color: var(--strong); background: transparent; }
.daynight button[aria-pressed="true"] { background: var(--toggle-on); color: var(--toggle-on-text); box-shadow: 0 1px 3px rgba(15, 29, 61, 0.18); }

main { max-width: 46rem; margin: 0 auto; padding: 0.5rem 1rem 2rem; }

/* ---- Text and states ---- */
/* The name of a promoter (D-179): one shared turquoise everywhere (the leader's in the colour of the text, 500, since D-225), the name
   text only (never its row, button or background); red stays the warning. Bold everywhere (Owner 2026-10-22, D-189):
   600, the boldest cut of Inter loaded (D-145). */
.pname { color: var(--teal); font-weight: 600; }
/* A manager's recorded name (Owner 2026-10-21, C0 01a16062): pumpkin orange, readable in both themes; bold as .pname (the
   leader's in the colour of the text, 500, since D-225). */
.mname { color: var(--pumpkin); font-weight: 600; }
.notice { max-width: 64ch; font-size: 0.875rem; color: var(--muted); }
.state { min-height: 1.5rem; margin: 0.5rem 0; font-size: 0.9375rem; color: var(--muted); }
.state:not(:empty) { padding-left: 0.75rem; border-left: 3px solid var(--line-strong); color: var(--strong); }
/* An empty status line of a workspace takes no room (Owner 2026-10-21); it stays in the page for what it announces. */
.workspace .state:empty { min-height: 0; margin: 0; }
/* The sign-in without its hint (Owner 2026-10-21, C0 01a15ec8): an empty note leaves no gap before "Prihlásiť sa". */
#remember-note:empty { min-height: 0; margin: 0; }
#status { min-height: 1.5rem; margin: 1rem 0; color: var(--strong); }
#status:not(:empty) { padding-left: 0.75rem; border-left: 3px solid var(--red); }
/* D-228: the neutral state of a resumed sign-in – its line without the red edge of a message, the way to the form under it. */
#status:has(+ #resume-state:not([hidden])) { padding-left: 0; border-left: 0; color: var(--muted); }
.resume-state { margin: -0.5rem 0 1rem; }
details.more { margin: 0 0 0.5rem; }
details.more > summary { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.875rem; color: var(--blue); cursor: pointer; }
details.more > summary:hover { text-decoration: underline; }
details.more > .notice { margin-top: 0; }

/* ---- Fields ---- */
label { display: block; margin: 0 0 0.875rem; font-size: 0.875rem; color: var(--muted); }
input, select, textarea { font: inherit; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { display: block; width: 100%; min-width: 0; min-height: 3rem; margin-top: 0.375rem;
  padding: 0.625rem 0.875rem; border: 1px solid var(--field-line); border-radius: 12px; background: var(--field); color: var(--strong); font-size: 1rem; }
select { text-overflow: ellipsis; cursor: pointer; }
textarea { min-height: 6rem; resize: vertical; }
:is(input, select, textarea):focus-visible { border-color: var(--focus); }
:is(input, select, textarea):disabled { border-color: var(--line); background: var(--tone); color: var(--muted); }
input[type="checkbox"], input[type="radio"] { flex: none; width: 1.375rem; height: 1.375rem; margin: 0 0.75rem 0 0; accent-color: var(--primary); }
/* A quantity of the stock (P06: the pieces of a handover, of a receipt, the threshold of low stock): typed directly – no up
   and down arrows, also when focused or under the pointer; the numeric keyboard (inputmode) and the validation stay. */
input.qty-input { appearance: textfield; -moz-appearance: textfield; }
input.qty-input::-webkit-outer-spin-button, input.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }
label:has(> input[type="radio"]) { display: flex; align-items: center; min-height: 2.75rem; font-size: 0.9375rem; color: var(--text); cursor: pointer; }
label:has(> input[type="checkbox"]) { display: flex; align-items: center; min-height: 2.75rem; font-size: 0.9375rem; color: var(--text); cursor: pointer; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: 0 0.75rem; }
.pair.dates { max-width: 26rem; }
.back-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin: 0 0 0.25rem; color: var(--blue); text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.back-link::before { content: '‹'; margin-right: 0.375rem; font-size: 1.25rem; line-height: 1; }

/* ---- Buttons: calm by default, blue for the main action of a form ---- */
button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.75rem; margin: 0.25rem 0.5rem 0.25rem 0;
  padding: 0 1rem; border: 0; border-radius: 12px; background: var(--tone); color: var(--strong); font: inherit; font-size: 0.9375rem; font-weight: 500;
  line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
button:hover { background: var(--tone2); }
button[type="submit"] { background: var(--primary); color: var(--on-primary); font-weight: 600; }
button[type="submit"]:hover { background: var(--primary-press); }
button:disabled, button:disabled:hover { background: var(--tone); color: var(--muted); opacity: 0.6; cursor: not-allowed; }
button.quiet { background: transparent; color: var(--muted); }
button.quiet:hover { background: var(--tone); color: var(--strong); }
/* A retry sends the same request again: outlined, so it is not mistaken for a new one. */
button[id$="-retry"] { background: transparent; box-shadow: inset 0 0 0 2px var(--primary); color: var(--strong); }
/* An action that ends something (the close of a shift): red text and outline. */
button.danger { background: transparent; box-shadow: inset 0 0 0 1.5px var(--red); color: var(--red); }
button.danger:hover { background: var(--red-tint); }
button.icon-button { width: 2.75rem; padding: 0; }
/* Every refresh is the same quiet named icon (Owner 2026-10-21). */
button.icon-button.reload { flex: none; background: transparent; color: var(--muted); }
button.icon-button.reload:hover { background: var(--tone); color: var(--strong); }

/* ---- Tables ---- */
table { width: 100%; margin-top: 0.5rem; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: 0.5rem 0.5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
td { color: var(--text); overflow-wrap: break-word; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
/* A number never breaks from its unit (for example a price with €). */
td.num { white-space: nowrap; }
/* A date of a campaign of the client does not break at its hyphens (D-145). */
#campaigns td:nth-child(n+2) { white-space: nowrap; }
td.campaign { border-left: 0.375rem solid var(--campaign, var(--line-strong)); color: var(--strong); }
/* The eight campaign colours of campaignColour (web/app.js), in its order, as classes set by the script
   (D-143, D-144); never a style from the script. Their tones are the tokens --cc0 to --cc7 of each theme (D-236). */
.cc-0 { --campaign: var(--cc0); }
.cc-1 { --campaign: var(--cc1); }
.cc-2 { --campaign: var(--cc2); }
.cc-3 { --campaign: var(--cc3); }
.cc-4 { --campaign: var(--cc4); }
.cc-5 { --campaign: var(--cc5); }
.cc-6 { --campaign: var(--cc6); }
.cc-7 { --campaign: var(--cc7); }
td button { margin: 0.125rem 0.375rem 0.125rem 0; padding: 0 0.75rem; }
/* The detail of a person under its row of a table (D-178) keeps the buttons of a page, not of a cell. */
.detail-cell button { margin: 0.25rem 0.5rem 0.25rem 0; padding: 0 1rem; }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }

/* Mobile entry and overview (C0 01a11ad0): large touch targets everywhere;
   on a narrow screen one column, the OK in reach above the keyboard, the
   counts with − and +, and the shifts of "Dnes" as labelled cards with the
   same data as the table. */
#row-fields > div { margin-bottom: 0.75rem; }
#row-fields label:has(input[type="radio"]) { padding: 0 0.75rem; margin: 0.25rem 0; border: 1px solid var(--field-line); border-radius: 12px; background: var(--field); }
#row-fields label:has(input[type="radio"]:checked) { border-color: var(--sel-line); background: var(--sel); color: var(--strong); }
td.count { display: flex; align-items: center; gap: 0.25rem; white-space: nowrap; }
td.count input { width: 4.5rem; margin: 0; text-align: center; }
td.count button { min-width: 2.75rem; margin: 0; padding: 0 0.5rem; font-size: 1.25rem; line-height: 1; }
td.count button:first-of-type { order: -1; }
#row-item-pick { margin: 0.75rem 0; padding: 0.75rem; border: 1px solid var(--line); border-radius: 12px; }
#row-item-pick button { width: 100%; }
@media (max-width: 52rem) {
  table { display: block; overflow-x: auto; }
}

/* Agentúry in Správa služby (D-182; C0 01a158df): where a table would scroll,
   each agency is a card – its name and "Obnoviť prístup" on the first line,
   the owner's data labelled below; the header row stays for assistive
   technologies (visually hidden) and an empty action cell takes no line. */
@media (max-width: 52rem) {
  #sa-table { display: block; overflow: visible; }
  #sa-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #sa-table tbody { display: block; }
  #sa-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.25rem 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  #sa-table td { display: block; grid-column: 1 / -1; border: 0; padding: 0; text-align: left; overflow-wrap: anywhere; }
  #sa-table td:first-child { grid-column: 1; grid-row: 1; font-weight: 600; color: var(--strong); }
  #sa-table td:last-child { grid-column: 2; grid-row: 1; }
  #sa-table td:last-child:empty { display: none; }
  #sa-table td:last-child button { margin: 0; }
  #sa-table td:nth-child(2)::before { content: 'Majiteľ: '; color: var(--muted); }
  #sa-table td:nth-child(3)::before { content: 'E-mail: '; color: var(--muted); }
  #sa-table td:nth-child(4)::before { content: 'Stav prístupu: '; color: var(--muted); }
  #sa-table td:nth-child(5)::before { content: 'Overenie v dvoch krokoch: '; color: var(--muted); }
}

/* The number of Zásoby (D-153 „Čaká na vás“; again the main figure, Owner 2026-10-21, C0 01a15fd5; its title gone since D-237): one centred block under the tab's top bar –
   the number of promoters with low stock of the last full read in JetBrains Mono 700 and what it counts; at zero
   the number is calm. */
.needed { display: flex; flex-direction: column; align-items: center; margin: 0; padding: 0.75rem 0 1rem; text-align: center; }
.needed-count { display: flex; flex-direction: column; align-items: center; gap: 0.375rem; margin: 0.5rem 0 0; }
.count-value { font-family: var(--mono); font-size: clamp(4.5rem, 19vw, 7.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  color: var(--blue); font-variant-numeric: tabular-nums; }
.count-label { font-size: 1.125rem; line-height: 1.3; color: var(--strong); }
.needed.is-calm .count-value { color: var(--teal); }
.needed-state { margin: 0.75rem 0 0; }
.needed-state:empty { display: none; }
#supplies-none { margin: 1rem 0 0; color: var(--strong); }

/* Zásoby (D-153): every promoter once, the items by campaign; red only for low stock (a red edge and summary; in the items
   the low product). The name keeps the turquoise of names (D-179; neutral for the leader since D-225). Since D-232 the leader's
   Zásoby promotérov choose one promoter and show the detail apart (below, D-232); the rows that open below stay Sklady
   promotérov'. */
.supplies { margin: 1rem 0 0.5rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.supply { border-bottom: 1px solid var(--line); }
.supply-toggle { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; justify-content: stretch; gap: 0.125rem 1rem;
  width: 100%; min-height: 3.25rem; margin: 0; padding: 0.75rem 0.75rem 0.75rem 1rem; border-radius: 0; background: transparent; text-align: left; }
.supply-toggle:hover, .supply-toggle[aria-expanded="true"] { background: var(--tone); }
.supply-toggle::after { content: ''; grid-column: 2; grid-row: 1; justify-self: end; width: 0.5rem; height: 0.5rem; margin: 0 0.25rem 0.2rem 0;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.supply-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-bottom: -0.1rem; }
.supply-name { grid-column: 1; font-size: 1.0625rem; font-weight: 600; color: var(--strong); overflow-wrap: anywhere; }
.supply-summary { grid-column: 1; font-size: 0.875rem; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }
.supply.is-low .supply-toggle { box-shadow: inset 4px 0 0 var(--red); }
.supply.is-low .supply-summary { color: var(--red); }
.supply-detail { display: flow-root; padding: 0 1rem 1rem; background: var(--tone); }
.supply-detail > p { margin: 0; padding: 0.25rem 0 0; color: var(--muted); }
.supply-campaign + .supply-campaign { margin-top: 0.75rem; padding-top: 0.25rem; border-top: 1px solid var(--line); }
.supply-campaign h4, .shift-where .where-campaign { display: flex; align-items: baseline; gap: 0.5rem; }
.supply-campaign h4 { margin: 0.75rem 0 0.25rem; font-size: 1rem; }
.supply-campaign h4::before, .shift-where .where-campaign::before { content: ''; flex: none; width: 0.625rem; height: 0.625rem; border-radius: 3px;
  background: var(--campaign, var(--line-strong)); }
.supply-campaign button { margin: 0.5rem 0 0; }
.supply-campaign .supply-threshold { margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--muted); }
#campaign-threshold-home > #campaign-threshold { margin-top: 1rem; }
/* "Doplniť zásoby" only leads to Sklad: outlined like a step, not the blue main action of a form. */
.supply-campaign button, #shift-refill { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--primary); }
.supply-campaign button:hover, #shift-refill:hover { background: var(--sel); }
.supply-items { display: table; margin: 0.25rem 0 0; }
.supply-items td, .supply-items th { padding: 0.375rem 0.5rem 0.375rem 0; }
.supply-items td:last-child, .supply-items th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* The heading row of a part of a list of items (D-209): „Produkty“, „Darčeky“ across the whole row. */
tr.kind-part td, .supply-items tr.kind-part td:last-child { text-align: left; white-space: normal; font-weight: 600; color: var(--muted);
  padding: 0.75rem 0.5rem 0.25rem 0; border-bottom: 1px solid var(--line); }
.supply-items tr.is-low td.num { color: var(--red); font-weight: 600; }
@media (min-width: 52rem) {
  .supply-toggle { grid-template-columns: minmax(12rem, 1fr) minmax(0, 1.4fr) auto; }
  .supply-summary { grid-column: 2; grid-row: 1; }
  .supply-toggle::after { grid-column: 3; }
  .supply-items { width: auto; min-width: 26rem; }
}

/* Prehľad (D-154): the day's shifts as rows that open their detail (the
   promoter's name is the link, the whole row its target); open shifts of
   earlier days the same way below. Labelled cards on a narrow screen,
   aligned columns from a tablet up. */
/* The day of Prehľad (C0 01a15dbb), "Dnes" beside it. D-248 (Owner 2026-11-19, C0 01a1f47c): the day read last as text beside
   its calendar button; the browser's date field under the button, unseen and out of reach (the button opens its calendar). */
.day-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0 0 0.75rem; }
/* The same for the dates of Reporting, of its trial and of a new campaign (C0 01a1f488): text, calendar button, hidden field. */
:is(.day-pick-value, .date-pick) { position: relative; display: inline-flex; align-items: center; gap: 0.25rem; }
:is(.day-shown, .date-shown) { min-width: 6.5rem; font-variant-numeric: tabular-nums; }
.day-pick button { margin: 0; }
button.icon-button.calendar { flex: none; margin: 0; background: transparent; color: var(--muted); }
button.icon-button.calendar:hover { background: var(--tone); color: var(--strong); }
.day-pick .day-native { position: absolute; right: 0; bottom: 0; width: 1px; min-height: 0; height: 1px; padding: 0; margin: 0; border: 0; opacity: 0;
  pointer-events: none; }
.date-pick > input.date-native { position: absolute; right: 0; bottom: 0; width: 1px; min-height: 0; height: 1px; padding: 0; margin: 0; border: 0; opacity: 0;
  pointer-events: none; }
/* A date of a new campaign: its name above as a label's (label above). */
.date-field { display: grid; gap: 0.25rem; margin: 0 0 0.875rem; font-size: 0.875rem; color: var(--muted); }
.date-field .date-shown { color: var(--text); font-size: 1rem; }
/* A date's own message (a calendar that could not be opened). */
.date-problem { color: var(--pr-error-text); font-size: 13px; line-height: 18px; }
/* A shown list or detail has no line of its own (C0 01a15dbb): an empty state line takes no place; reading and failures still show. */
:is(#day-state, #day-note, #shift-state):empty { min-height: 0; margin: 0; }
#day-note:empty { display: none; }
.day-table { display: block; overflow: visible; margin-top: 0.25rem; }
.day-table thead { display: none; }
.day-table tbody { display: block; }
.day-table tr { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; row-gap: 0.125rem;
  padding: 0.75rem 0.5rem; border-top: 1px solid var(--line); }
.day-table tbody tr:hover { background: var(--tone); }
.day-table tbody tr:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
.day-table td { display: block; padding: 0; border: 0; text-align: left; font-size: 0.9375rem; overflow-wrap: anywhere; }
.day-table td::before { color: var(--muted); }
.day-table td.c-name { grid-column: 1; grid-row: 1; font-size: 1.0625rem; font-weight: 600; }
.day-table td.c-name a { color: var(--strong); text-decoration: none; }
.day-table td.c-name a::after { content: ''; position: absolute; inset: 0; }
.day-table td.c-name a:focus-visible { outline: none; }
.day-table td.c-state { grid-column: 2; grid-row: 1; align-self: start; justify-self: end; white-space: nowrap; }
/* The state of a shift as text (C0 01a15dbb): open green, closed and planned plain (closed red until D-236); no pill, frame or fill. */
:is(.day-table td.c-state, .shift-status) { color: var(--muted); font-size: 0.9375rem; }
:is(.day-table td.c-state, .shift-status).is-open { color: var(--green); }
:is(.day-table td.c-state, .shift-status).is-closed { color: var(--muted); }
.day-table td.c-place { grid-column: 1 / -1; color: var(--text); }
.day-table td.c-conv { grid-column: 1; }
.day-table td.c-value { grid-column: 2; text-align: right; }
.day-table td.c-conv::before { content: 'Rozhovory: '; }
.day-table td.c-value::before { content: 'Tržba: '; }
.day-table td.c-day { grid-column: 1 / -1; }
.day-table td.c-day::before { content: 'Plánovaný deň: '; }
.day-table td.c-campaign { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 0.5rem; border: 0; font-size: 0.8125rem; color: var(--muted); }
.day-table td.c-campaign::before { content: ''; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 2px; background: var(--campaign, var(--line-strong)); }
#day-previous h3 { margin-top: 2rem; }
/* The table of Prehľad from a window wide enough for its columns beside the open navigation (C1 01a15ff0):
   narrower windows keep the rows as cards, never a sideways scroll of the page. */
@media (min-width: 64rem) {
  .day-table thead { display: block; }
  .day-table thead tr { padding-top: 0; padding-bottom: 0.375rem; border-top: 0; }
  .day-table th { padding: 0; border: 0; }
  /* The name with room for a usual full name on one line, the campaign a readable last column (Owner 2026-10-21, C0 01a15fd5);
     the fixed columns take only what their values need. */
  #day-table tr { grid-template-columns: minmax(12rem, 1.4fr) minmax(0, 1.1fr) 6rem 5.5rem 6rem minmax(10rem, 1.6fr); align-items: baseline; }
  #day-previous-table tr { grid-template-columns: minmax(9rem, 1.1fr) minmax(0, 1.2fr) 6.5rem 5.5rem 6.5rem 7.5rem minmax(0, 1.4fr); align-items: baseline; }
  .day-table th, .day-table td:is(.c-name, .c-place, .c-state, .c-conv, .c-value, .c-day, .c-campaign) { grid-column: auto; grid-row: auto; }
  .day-table td.c-state { justify-self: start; }
  .day-table td:is(.c-conv, .c-value), .day-table th.num { text-align: right; }
  .day-table td:is(.c-conv, .c-value, .c-day)::before { content: none; }
}

/* The detail of one shift (usability block 2026-10-21, C0 01a15d6f, 01a15dbb):
   under the tab's title one line of head (back, the promoter's name with the
   state as text, refresh), the place and the campaign side by side, the day
   and its times and the totals as close pairs of label and value, the
   promoter's stock now (folded), then the conversations ten at a time. */
.shift-head { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.25rem; }
.shift-head .back { flex: none; margin: 0 0 0 -0.5rem; }
.shift-name { flex: 0 1 auto; min-width: 0; margin: 0; font-family: var(--display); font-size: 1.375rem; font-weight: 600; overflow-wrap: anywhere; }
.shift-status { flex: none; white-space: nowrap; }
.shift-status:empty { display: none; }
.shift-where { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1.25rem; margin: 0.25rem 0 0.5rem; color: var(--strong); }
.shift-where > span { min-width: 0; overflow-wrap: anywhere; }
.shift-facts, .shift-stats { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0.5rem 0; }
.shift-facts > div, .shift-stats > div { display: flex; align-items: baseline; gap: 0.375rem; }
.shift-facts dt, .shift-stats dt { font-size: 0.875rem; color: var(--muted); }
.shift-facts dd, .shift-stats dd { margin: 0; color: var(--strong); font-weight: 500; white-space: nowrap; }
.shift-stats { margin-top: 1rem; }
/* P04: the shift's row of the report under its totals, in Reporting's own scrolling table. */
.shift-result { margin-top: 1rem; }
#shift-detail h3:not(.shift-name) { margin-top: 1.75rem; }
.count-line { margin: 0; font-size: 0.875rem; color: var(--muted); }
.count-line:empty { display: none; }
.shift-stock { margin: 0.75rem 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shift-stock > summary { display: flex; align-items: center; min-height: 2.75rem; padding: 0.375rem 0; font-weight: 500; color: var(--strong); cursor: pointer; }
.shift-stock > summary.is-low { color: var(--red); }
.shift-stock > summary:hover { text-decoration: underline; }
#shift-stock-state { margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--muted); }
#shift-stock-state:empty { display: none; }
#shift-refill { margin: 0.75rem 0 0.5rem; }
#shift-more { margin: 0.75rem 0 0; }
.shift-rows { display: block; overflow: visible; }
.shift-rows thead { display: none; }
.shift-rows tbody { display: block; }
.shift-rows tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; row-gap: 0.125rem; padding: 0.75rem 0.125rem;
  border-top: 1px solid var(--line); }
.shift-rows td { display: block; padding: 0; border: 0; text-align: left; overflow-wrap: anywhere; }
.shift-rows td.c-time { grid-column: 1; color: var(--strong); }
.shift-rows td.c-value { grid-column: 2; grid-row: 1; text-align: right; color: var(--strong); font-weight: 600; }
.shift-rows td:is(.c-values, .c-items, .c-pay) { grid-column: 1 / -1; color: var(--text); }
.shift-rows .item-line { display: block; }
.shift-rows td.c-pay::before { content: 'Platba: '; color: var(--muted); }
@media (min-width: 52rem) {
  .shift-rows { display: table; }
  .shift-rows thead { display: table-header-group; }
  .shift-rows tbody { display: table-row-group; }
  .shift-rows tr { display: table-row; }
  .shift-rows td { display: table-cell; padding: 0.5rem; border-bottom: 1px solid var(--line); }
  .shift-rows td.c-value { text-align: right; }
  .shift-rows td.c-pay::before { content: none; }
  .shift-rows td:is(.c-time, .c-pay) { white-space: nowrap; }
}

/* ---- Sign-in and its completion ---- */
#login, #steps { max-width: 26rem; margin: 4vh auto 0; }
#login > h2, #steps > h2 { margin: 0 0 1.25rem; font-size: 2rem; letter-spacing: -0.02em; color: var(--blue); }
#login button[type="submit"], #steps button[type="submit"] { width: 100%; min-height: 3rem; margin: 0.5rem 0 0; }
/* The form of a campaign's dates under its two fields (D-174). */
#campaign-form .hint, #own-campaign-form .hint, #threshold-form .hint { margin: -0.25rem 0 0.75rem; font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
/* The two modes of a campaign (D-175): a plain group of choices like the other fields, its hint like the dates'. */
.mode-choice { margin: 0 0 0.875rem; padding: 0; border: 0; min-width: 0; }
.mode-choice legend { margin: 0 0 0.25rem; padding: 0; font-size: 0.875rem; color: var(--muted); }
.mode-choice .hint { margin: 0.25rem 0 0.75rem; font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
/* The promoter's opening of today's shift without a plan (D-175): "Otvoriť deň" as one framed step (P10). */
.tour-open { margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
#resume-retry { width: 100%; margin: 0.75rem 0 0; }
/* „Zabudol som heslo“ (0034): the two forms of a recovery look like the sign-in; the way there and back is a quiet text button. */
.recovery { max-width: 26rem; margin: 4vh auto 0; }
.recovery > h2 { margin: 0 0 1.25rem; font-size: 2rem; letter-spacing: -0.02em; color: var(--blue); }
.recovery button[type="submit"] { width: 100%; min-height: 3rem; margin: 0.5rem 0 0; }
.recovery .hint { margin: 0.25rem 0 0.75rem; font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
.quiet-link { display: block; width: 100%; min-height: 2.75rem; margin: 0.5rem 0 0; background: transparent; border: 0; color: var(--blue); text-decoration: underline; }
#steps-text { color: var(--strong); }
#steps form { margin: 1rem 0; }
#totp-setup p { margin: 0.75rem 0; }
#totp-setup button { width: 100%; margin: 0; }
.steps-out { margin-top: 2rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
/* TOTP setup (D-235): the QR code on a white square big enough to scan from a second device. */
#totp-qr svg { display: block; width: 15rem; height: 15rem; max-width: 100%; padding: 0.75rem; border-radius: 12px; background: #fff; }

/* ---- Dialogs: Profil and "Kampaň sa ukladá…" ---- */
dialog { max-width: min(30rem, calc(100vw - 2rem)); padding: 1.5rem; border: 0; border-radius: 20px; background: var(--raised); color: var(--text); box-shadow: var(--shadow); }
dialog::backdrop { background: var(--scrim); }
dialog h2 { margin: 0 0 0.5rem; font-size: 1.25rem; color: var(--blue); }
dialog h2:focus { outline: none; }
dialog .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
dialog .actions button { margin: 0; }
/* "Kampaň sa ukladá…" (C2 01a1253e): the form stays visible behind it. */
.saving { max-width: min(24rem, calc(100vw - 2rem)); }
.saving button { margin: 0.75rem 0 0; }
/* Profil (D-173): a page of every role, as narrow as a form: the role, the
   password change, then signing out. */
.profile-page { max-width: 30rem; }
/* The own account as plain pairs – name, login e-mail, role (Owner 2026-10-21, C0 01a15ec8): no bold, long values wrap anywhere, a missing one quiet. */
.profile-id { display: grid; gap: 0.5rem; margin: 0 0 1.25rem; }
.profile-id div { display: grid; gap: 0.125rem; }
.profile-id dt { font-size: 0.875rem; color: var(--muted); }
.profile-id dd { margin: 0; color: var(--strong); }
#profile-name, #profile-email { overflow-wrap: anywhere; }
.profile-id dd.is-missing { color: var(--muted); }
#profile-password-open { margin: 0; }
.profile-password { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.profile-password h3 { margin: 0 0 0.75rem; }
.profile-password .hint { margin: -0.25rem 0 0.75rem; font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
.profile-page .actions { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.profile-page #logout { margin: 0; }

/* ---- Workspaces of the leader and the client (D-124, D-125) ----
   One workspace at a time. The navigation is a bar at the bottom of a phone
   and a rail on the left from a tablet up, with Profil last; the current
   workspace is marked (aria-current) and every target is at least 44 px. */
.view-nav { display: flex; gap: 0.25rem; margin: 0; }
.view-nav :is(a, button) { display: flex; align-items: center; justify-content: flex-start; gap: 0.75rem; min-height: 2.75rem; min-width: 2.75rem; margin: 0; padding: 0 0.75rem;
  border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.view-nav :is(a, button):hover { background: var(--tone); color: var(--strong); }
.view-nav a[aria-current="page"] { background: var(--sel); color: var(--sel-text); }
.view-nav span { white-space: nowrap; }
@media (max-width: 47.99rem) {
  .view-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; gap: 0; padding: 0.375rem 0.125rem calc(0.5rem + env(safe-area-inset-bottom));
    background: var(--nav); border-top: 1px solid var(--line); }
  .view-nav :is(a, button) { flex: 1 1 0; flex-direction: column; justify-content: center; gap: 0.1875rem; min-width: 0; min-height: 3.5rem; padding: 0 1px;
    border-radius: 12px; font-size: 0.6875rem; letter-spacing: -0.01em; text-align: center; }
  .view-nav svg.icon { width: 1.5rem; height: 1.5rem; }
  #client-nav { justify-content: center; }
  #client-nav :is(a, button) { flex: 0 1 8.5rem; }
  main:has(#session > .view-nav:not([hidden])) { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 47.99rem) and (min-width: 25rem) {
  .view-nav :is(a, button) { font-size: 0.75rem; }
}
@media (min-width: 48rem) {
  /* The workspace uses the width of the window beside the navigation, with margins (Owner 2026-10-21, C0 01a15fd5);
     forms keep their own narrower widths, wide tables scroll in their own space. */
  main:has(#session > .view-nav:not([hidden])) { max-width: none; margin: 0; padding: 1rem 2rem 3rem calc(13rem + 2rem); }
  #session > .view-nav { position: fixed; top: var(--bar); bottom: 0; left: 0; z-index: 20; flex-direction: column; width: 13rem; padding: 1rem 0.625rem;
    border-right: 1px solid var(--line); }
  #session > .view-nav .nav-profile { margin-top: auto; }
  /* The leader's navigation folded to its icons (Owner 2026-10-21): the names stay its accessible names (and titles),
     the current place stays marked; the workspace takes the room freed. */
  .nav-collapse:not([hidden]) { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: 0 0 0 -0.375rem; padding: 0;
    background: transparent; color: var(--strong); }
  .nav-collapse:hover { background: var(--tone); }
  #session > #leader-nav[data-collapsed="true"] { width: 4.25rem; }
  #leader-nav[data-collapsed="true"] :is(a, button) { justify-content: center; padding: 0; }
  #leader-nav[data-collapsed="true"] :is(a, button) > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; }
  main:has(#session > #leader-nav[data-collapsed="true"]:not([hidden])) { padding-left: calc(4.25rem + 2rem); }
}
@media (max-width: 47.99rem) {
  .nav-collapse { display: none; }
}

/* A refused step (D-126, D-127): the explanation stays in view at the top while
   the page is scrolled to the form that holds it; empty, it takes no place
   above the content. */
.nav-notice #nav-stay:not([hidden]) { margin-right: 0.5rem; }
.nav-notice #nav-stay { background: var(--primary); color: var(--on-primary); }
.nav-notice #nav-discard { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.nav-notice:has(#nav-status:not(:empty)) { position: sticky; top: calc(var(--bar) + 0.5rem); z-index: 15; margin: 0 0 0.75rem; padding: 0.75rem 1rem;
  border-left: 3px solid var(--amber); border-radius: 14px; background: var(--raised); box-shadow: var(--shadow); }
.nav-notice:has(#nav-status:not(:empty)) #nav-status { margin: 0 0 0.5rem; padding: 0; border: 0; }
.nav-notice:not(:has(#nav-status:not(:empty))) #nav-status { min-height: 0; margin: 0; }

/* Workspace titles: blue, airy; sections below them are separated by a line. */
/* The title of every tab (C0 01a15dbb): the name of its navigation, on top, one size for every role. */
.workspace > h2:first-child, .ws-title, #client-view > h2, #schema-view > h2 { margin: 0.75rem 0 0.75rem; font-size: 2rem; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.1; color: var(--blue); }
.workspace > h2:not(:first-child) { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.workspace > .ws-head + h2 { margin-top: 1rem; padding-top: 0; border-top: 0; }
.ws-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
/* The top bar of a page or a group (Owner 2026-10-21, C0 01a15fd5): its title on the left; on the right its entry actions
   ("Pridať …") and last its named refresh, kept off the right edge. */
.ws-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.5rem; margin: 0 0.25rem 0 auto; }
.ws-actions button { margin: 0; }
/* Kampane and Sklad share one top bar (Owner 2026-10-21, C0 01a16062): none without the tab's title; each action only in
   its own tab – the refresh of the campaign in Kampane, the refresh of the stock in Sklad. An entry action looks like the
   other buttons, a link too. */
.context-head:has(> #context-title[hidden]) { display: none; }
#stock-view:not(:has(> #ws-stock:not([hidden]))) #stock-reload,
#stock-view:not(:has(> #ws-campaigns:not([hidden]) > #campaign-detail:not([hidden]))) #own-load {
  display: none; }
.action-link { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1rem; border-radius: 12px;
  background: var(--tone); color: var(--strong); font-size: 0.9375rem; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.action-link:hover { background: var(--tone2); }
/* Prehľad: the refresh of what is shown – the day's list or the detail of one shift. */
#ws-day:has(> #shift-detail:not([hidden])) #day-load, #ws-day:has(> #shift-detail[hidden]) #shift-reload { display: none; }
.ws-head p { margin: 0; }
#ws-context { display: flex; flex-wrap: wrap; align-items: end; gap: 0 1rem; }
#ws-context label { flex: 1 1 16rem; max-width: 28rem; }
#stock-view form, #client-view form, #schema-view form { margin: 1.25rem 0; padding-top: 0.25rem; }
#stock-view form h3:first-child { margin-top: 0.5rem; }
/* A form in one compact row on a computer (Sklad, Owner 2026-10-21): its fields side by side and the button at their
   foot; on a phone each wraps naturally to the next line. */
.row-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 0.75rem; max-width: 56rem; }
.row-form h3 { flex: 1 0 100%; }
.row-form label { flex: 1 1 11rem; min-width: 0; }
.row-form label.qty { flex: 0 1 8rem; }
.row-form button { flex: 0 0 auto; margin: 0 0 0.875rem; }
/* Sklad's tabs (Owner 2026-10-21, C0 01a16062): Centrálny sklad's items in rows; Sklady promotérov as the list of Zásoby. */
#stock-tabs { margin: 0.25rem 0 0.75rem; }
.stock-items { max-width: 56rem; }
/* The bundle (D-188): a field per item in its row, the recipients as boxes in columns, the summary and one button. */
.bundle-items td.b-each { width: 7.5rem; }
.bundle-items td.b-each input { width: 6.5rem; min-height: 2.75rem; margin: 0 0 0 auto; padding: 0.375rem 0.625rem; text-align: right; }
.bundle-items td { vertical-align: middle; }
.bundle-items td.b-name { color: var(--strong); font-weight: 500; }
td.num.is-short { color: var(--red); font-weight: 700; }
/* The receipt of several items (P05): the items as in Centrálny sklad, the current balance and "Prijať kusov" per row. */
.receive-items td.r-take { width: 7.5rem; }
.receive-items td.r-take input { width: 6.5rem; min-height: 2.75rem; margin: 0 0 0 auto; padding: 0.375rem 0.625rem; text-align: right; }
.receive-items td { vertical-align: middle; }
.receive-items td.r-name { color: var(--strong); font-weight: 500; }
.receive-form .hint { max-width: 56rem; }
.bundle-people { max-width: 56rem; margin: 1.25rem 0 0; padding: 0; border: 0; min-width: 0; }
.bundle-people legend { margin: 0 0 0.25rem; padding: 0; font-size: 0.875rem; color: var(--muted); }
.bundle-people p { margin: 0.25rem 0; }
.bundle-all { font-weight: 600; border-bottom: 1px solid var(--line); }
.bundle-promoters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0 1rem; margin: 0.25rem 0 0; padding: 0; list-style: none; }
.bundle-promoters label { margin: 0; }
.bundle-gone { color: var(--red); }
.bundle-summary { max-width: 56rem; margin: 1rem 0 0.75rem; color: var(--strong); font-weight: 600; }
.bundle-summary:empty { display: none; }
@media (max-width: 52rem) {
  /* On a phone an item is a block: its name, then what is available, the field and what it makes. */
  .bundle-items { overflow: visible; }
  .bundle-items thead { display: none; }
  .bundle-items tbody { display: block; }
  .bundle-items tr { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; padding: 0.625rem 0; border-bottom: 1px solid var(--line); }
  .bundle-items td { display: block; padding: 0; border: 0; text-align: left; }
  .bundle-items td.b-name { flex-basis: 100%; }
  .bundle-items td.b-kind, .bundle-items td.b-price { color: var(--muted); font-size: 0.875rem; }
  .bundle-items tr.kind-part td { flex-basis: 100%; padding: 0.5rem 0 0; border: 0; color: var(--muted); font-size: 0.875rem; }
  .bundle-items td.b-have::before { content: 'Dostupné: '; color: var(--muted); }
  .bundle-items td.b-each { display: flex; flex-basis: 100%; align-items: center; gap: 0.75rem; width: auto; }
  .bundle-items td.b-each::before { content: 'Ks každému'; color: var(--muted); font-size: 0.875rem; }
  .bundle-items td.b-each input { margin: 0; }
  .bundle-items td.b-total:not(:empty)::before { content: 'Spolu: '; color: var(--muted); }
  .bundle-items td.b-rest:not(:empty)::before { content: 'Zostatok: '; color: var(--muted); font-weight: 400; }
  #transfer-submit { width: 100%; }
  /* The receipt likewise: the name, the balance, then the field. */
  .receive-items { overflow: visible; }
  .receive-items thead { display: none; }
  .receive-items tbody { display: block; }
  .receive-items tr { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; padding: 0.625rem 0; border-bottom: 1px solid var(--line); }
  .receive-items td { display: block; padding: 0; border: 0; text-align: left; }
  .receive-items td.r-name { flex-basis: 100%; }
  .receive-items td.r-kind, .receive-items td.r-price { color: var(--muted); font-size: 0.875rem; }
  .receive-items tr.kind-part td { flex-basis: 100%; padding: 0.5rem 0 0; border: 0; color: var(--muted); font-size: 0.875rem; }
  .receive-items td.r-have::before { content: 'Zostatok: '; color: var(--muted); }
  .receive-items td.r-take { display: flex; flex-basis: 100%; align-items: center; gap: 0.75rem; width: auto; }
  .receive-items td.r-take::before { content: 'Prijať kusov'; color: var(--muted); font-size: 0.875rem; }
  .receive-items td.r-take input { margin: 0; }
  #receive-submit { width: 100%; }
}
.stock-people { margin: 0.25rem 0 1rem; }
/* Prístup promotéra (Owner 2026-10-15): its own part of Promotéri (D-176), and the one handover of a
   temporary password – the only bold element here: the code in JetBrains Mono, easy to read aloud
   and to select whole, shown as is (D-172). */
#access-box { margin: 1rem 0 2.5rem; }
#access-box .state, #ws-promoters form { max-width: 34rem; }
/* The forms of Promotéri open on request (C0 01a15e3e): one at a time, under their group's list. */
#ws-promoters form { margin-top: 0.75rem; }
#ws-promoters form :is(h3, h4) { margin: 0 0 0.25rem; }
/* Promotéri | Manažéri (Owner 2026-10-21, C0 01a16062): the top bar shows the add and the refresh of the tab shown. */
#ws-promoters[data-tab="managers"] :is(#access-new, #promoters-load),
#ws-promoters:not([data-tab="managers"]) :is(#manager-new, #managers-load) { display: none; }
#people-tabs { margin: 0.25rem 0 0.75rem; }
/* A confirmation names the consequence, edged in red like "Zatvoriť prevádzku" (D-143). */
.reset-confirm { margin: 0.5rem 0 0; padding: 0.125rem 0 0.125rem 0.875rem; border-left: 3px solid var(--red); }
.reset-confirm p { margin: 0.25rem 0; color: var(--strong); }
.handover { max-width: 34rem; margin: 0.75rem 0 1.5rem; padding: 1rem 1.125rem 0.75rem; border-radius: 16px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); }
.handover-who { margin: 0 0 0.875rem; color: var(--strong); font-weight: 500; }
.handover-email { display: block; font-size: 0.875rem; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }
.handover-label { margin: 0; font-size: 0.875rem; color: var(--muted); }
.handover-code { margin: 0.25rem 0 0.5rem; font-family: var(--mono); font-weight: 700; font-size: clamp(1.5rem, 6.5vw, 2rem); line-height: 1.25;
  letter-spacing: 0.04em; word-spacing: 0.3em; white-space: nowrap; color: var(--blue); -webkit-user-select: all; user-select: all; }
.handover .notice { margin-bottom: 0.75rem; }
/* A password field with the eye inside it on the right (D-172): an eye while
   hidden, a crossed eye while shown; the name is Zobraziť/Skryť heslo. */
.pw-field { position: relative; display: block; margin-top: 0.375rem; }
.pw-field input:not([type="checkbox"]):not([type="radio"]) { margin-top: 0; padding-right: 3.25rem; }
.pw-field .pw-toggle { position: absolute; top: 50%; right: 0.125rem; margin: 0; transform: translateY(-50%); background: transparent; color: var(--muted); }
.pw-field .pw-toggle:hover { background: transparent; color: var(--strong); }
.pw-field .pw-toggle:focus-visible { outline-offset: -2px; }
.pw-toggle[aria-pressed="true"] .pw-eye, .pw-toggle[aria-pressed="false"] .pw-eye-off { display: none; }
/* The schema editor keeps its fields readable; a narrow screen scrolls the table, never the page. */
:is(#schema-table, #closing-table) input:not([type="checkbox"]) { min-width: 10rem; }
:is(#schema-table, #closing-table) select { min-width: 9rem; }
:is(#schema-table, #closing-table) td button { white-space: nowrap; }
/* The label of a "Povinné" box (D-225): read only here, where the column names it; the leader's cards show it. */
:is(#schema-table, #closing-table) .required-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Moving and removing a field or an option: named symbols in fixed places, each a 44 px target (D-143), so a hidden impossible move
   leaves its place empty (Owner 2026-10-21). */
button.icon-button.small { width: 2.75rem; min-height: 2.75rem; margin: 0; font-size: 1.125rem; line-height: 1; background: transparent; color: var(--muted); }
button.icon-button.small:hover { background: var(--tone); color: var(--strong); }
button.icon-button.small.move-remove:hover { color: var(--red); }
:is(#schema-table, #closing-table) div.moves, :is(#schema-table, #closing-table) td > div > div { display: grid; grid-template-columns: repeat(3, 2.75rem); gap: 0; align-items: center; }
:is(#schema-table, #closing-table) td > div > div { grid-template-columns: minmax(0, 1fr) repeat(3, 2.75rem); margin: 0 0 0.25rem; }
:is(#schema-table, #closing-table) .move-up { grid-column: -4; }
:is(#schema-table, #closing-table) .move-down { grid-column: -3; }
:is(#schema-table, #closing-table) .move-remove { grid-column: -2; }
/* A phone: each field is a compact card – its number, name and "Povinné" on one line, the moves below, the kind and
   the options across (Owner 2026-10-21); the header stays for assistive technologies. */
@media (max-width: 40rem) {
  :is(#schema-table, #closing-table) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  :is(#schema-table, #closing-table), :is(#schema-table, #closing-table) tbody { display: block; }
  :is(#schema-table, #closing-table) tr { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) auto; gap: 0.25rem 0.5rem; align-items: center; padding: 0.625rem 0;
    border-bottom: 1px solid var(--line); }
  :is(#schema-table, #closing-table) td { display: block; min-width: 0; padding: 0; border: 0; }
  :is(#schema-table, #closing-table) td:nth-child(3) { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--muted); }
  :is(#schema-table, #closing-table) td:nth-child(3)::before { content: 'Povinné'; }
  :is(#schema-table, #closing-table) td:nth-child(4) { grid-column: 2 / -1; }
  :is(#schema-table, #closing-table) td:nth-child(5) { grid-column: 1 / -1; }
  :is(#schema-table, #closing-table) input:not([type="checkbox"]), :is(#schema-table, #closing-table) select { width: 100%; min-width: 0; }
}
#unassign-confirm { margin: 0.75rem 0; padding: 0.75rem 1rem; border-left: 3px solid var(--amber); border-radius: 0 12px 12px 0; background: var(--amber-tint); }
#unassign-confirm .notice { color: var(--strong); }

/* Kampane (D-127, D-177; Owner 2026-10-21, C0 01a16062): "Vybrať inú kampaň" beside the campaign's name opens the
   list of the existing campaigns below it, one per line, the chosen one marked; long names wrap, nothing widens the page. */
.campaign-tabs { display: grid; gap: 0.125rem; flex: 1 1 100%; min-width: 0; max-height: min(22rem, 60vh); overflow-y: auto; overscroll-behavior: contain;
  padding: 0.375rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.campaign-tabs button { display: block; width: 100%; min-height: 2.75rem; margin: 0; padding: 0.5rem 0.75rem; border: 0; border-radius: 10px;
  background: transparent; color: var(--strong); font: inherit; text-align: left; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.campaign-tabs button:hover { background: var(--tone); }
.campaign-tabs button[aria-current="true"] { background: var(--sel); color: var(--sel-text); font-weight: 600; }
.campaign-tabs { margin: 0 0 1rem; }
.campaign-tabs button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }

/* ---- Rozvrh (D-141, D-143), Tour plán (D-178) ----
   The top bar (Owner 2026-10-21, C0 01a16062): the title; the filter, the view and the refresh on the right. Under it the
   period shown once, its arrows beside it, and "Tento týždeň" smaller after them; then Podľa dní, ľudí or stanovíšť. */
.filter-toggle { margin: 0; padding: 0 0.875rem; background: var(--tone); }
.filter-toggle svg.icon { width: 1.125rem; height: 1.125rem; color: var(--muted); }
.filter-toggle[aria-expanded="true"] { background: var(--sel); color: var(--sel-text); }
.filter-toggle[aria-expanded="true"] svg.icon { color: var(--sel-text); }
.filter-note { margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--muted); text-align: center; }
.sched-range { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.25rem 0.375rem; margin: 0.5rem 0 0.75rem; }
.sched-range button { margin: 0; white-space: nowrap; }
.range-label { margin: 0; padding: 0 0.25rem; font-size: 1.125rem; font-weight: 500; color: var(--strong); text-align: center; }
.sched-range .this-week { min-height: 2.75rem; padding: 0 0.625rem; font-size: 0.875rem; }
/* A phone: the arrows with the period on one line, "Tento týždeň" under them. */
@media (max-width: 34rem) {
  .sched-range .this-week { flex-basis: 100%; }
  #ws-schedule .ws-actions { flex: 1 1 100%; justify-content: flex-end; }
}
.view-pick { margin: 0; }
.view-pick select { width: auto; min-height: 2.75rem; margin: 0; padding: 0 0.75rem; font-size: 0.9375rem; font-weight: 500; }
.period { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 0.75rem; margin: 0 0 1rem; padding: 0.875rem 1rem 0.125rem; border-radius: 16px;
  background: var(--surface); }
.period label { flex: 1 1 9rem; min-width: 0; margin-bottom: 0.75rem; }
.period button { margin: 0 0 0.75rem; }
#schedule-state:empty { min-height: 0; margin: 0; }
#schedule-empty { color: var(--muted); }

/* Podľa dní: the days of the week, the chosen day with its counts, then who
   works when and where. */
.strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.25rem; padding: 0.375rem 0; }
.strip .day { position: relative; display: grid; justify-items: center; align-content: center; gap: 0; min-height: 4rem; margin: 0; padding: 0.5rem 0;
  border-radius: 12px; background: transparent; color: var(--strong); }
.strip .day:hover { background: var(--tone); }
.strip .wd { font-size: 0.9375rem; color: var(--strong); }
.strip .dn { font-size: 1.25rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.strip .day.today:not([aria-pressed="true"]) .wd { color: var(--teal); }
.strip .day[aria-pressed="true"] { background: var(--sel); color: var(--sel-text); }
.strip .day[aria-pressed="true"] .wd { color: var(--sel-text); }
.strip .day[aria-pressed="true"]::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: 0.25rem; height: 3px; border-radius: 2px; background: var(--sel-line); }
.dayline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin: 0.75rem 0 0.25rem; }
.dayline h3 { margin: 0; font-size: 1.375rem; color: var(--dayhead); }
.today-mark { margin-left: 0.25rem; font-size: 1.0625rem; font-weight: 500; color: var(--teal); }
.counts { display: inline-flex; align-items: center; gap: 1rem; margin: 0; font-size: 1.0625rem; color: var(--strong); font-variant-numeric: tabular-nums; }
.counts .count { display: inline-flex; align-items: center; gap: 0.375rem; }
.counts svg.icon { width: 1.5rem; height: 1.5rem; }
.warn-icon .fill { fill: var(--amber); stroke: var(--amber); }
.warn-icon .mark { stroke: var(--bg1); stroke-width: 2.2; }
.agenda { display: grid; }
.agenda .empty { margin: 0; padding: 1rem 0; color: var(--muted); }
.agenda .plan { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: start; gap: 0.125rem 0.875rem; width: 100%; min-height: 0; margin: 0;
  padding: 1rem 0.125rem; border-top: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); font-weight: 400; text-align: left; }
.agenda .plan:first-child { border-top: 0; }
.agenda .plan:hover { background: color-mix(in srgb, var(--tone) 50%, transparent); }
.plan .tm { display: grid; align-content: start; }
.plan .from { font-size: 1.0625rem; font-weight: 700; color: var(--strong); }
.plan .to { font-size: 0.8125rem; color: var(--muted); }
.plan .what { display: grid; gap: 0.1875rem; min-width: 0; }
.plan .who { font-size: 1.0625rem; font-weight: 600; color: var(--strong); overflow-wrap: anywhere; }
.plan .where { font-size: 0.9375rem; overflow-wrap: anywhere; }
.plan.busy .where { color: var(--muted); }
.plan .camp { display: inline-flex; align-items: baseline; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); overflow-wrap: anywhere; }
.plan .camp::before { content: ''; flex: none; width: 0.625rem; height: 0.625rem; border-radius: 2px; background: var(--campaign, var(--line-strong)); }
.plan .warn { font-size: 0.875rem; font-weight: 500; color: var(--strong); }
.plan .warn::before { content: '▲ '; color: var(--amber); }

/* Stanovištia (D-159), the leader's Prevádzky since D-176: each saved location
   on its own line with its actions; the add form below them; the archived
   ones folded away, text only. The plan form adds one in place (plan-location). */
.locations { margin: 1.5rem 0 0; padding: 1rem 1.125rem; border-radius: 18px; background: var(--surface); }
.locations h3 { margin: 0 0 0.25rem; }
.locations .hint { margin: 0 0 0.75rem; font-size: 0.875rem; color: var(--muted); }
/* Prevádzky (Owner 2026-10-21, C0 01a16062): compact cards, at least two columns on a wide screen, one on a phone; the name
   with its address; a named pencil and a red × of 44 px; a location being changed or asked about takes the whole row. */
.search-box { display: block; max-width: 28rem; margin: 0 0 0.75rem; }
#locations-nomatch:empty { min-height: 0; margin: 0; }
.locations-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 0.5rem; margin: 0 0 0.75rem;
  padding: 0; list-style: none; }
.locations-list .loc { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; padding: 0.5rem 0.5rem 0.5rem 0.875rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.locations-list .loc:is(.editing, .archiving) { grid-column: 1 / -1; }
button.row-icon { flex: none; width: 2.75rem; min-height: 2.75rem; padding: 0; background: transparent; color: var(--muted); }
button.row-icon:hover { background: var(--tone); color: var(--strong); }
button.row-icon.row-remove { color: var(--red); }
button.row-icon.row-remove:hover { background: var(--red-tint); color: var(--red); }
.locations-list .loc .what { display: grid; flex: 1 1 8rem; min-width: 0; }
/* The row's icons on its right (Owner 2026-10-21). */
.locations-list .loc-actions { display: flex; flex: none; gap: 0.125rem; margin-left: auto; }
.locations-list .loc-title { font-weight: 500; color: var(--strong); overflow-wrap: anywhere; }
.locations-list .loc-address { font-size: 0.875rem; color: var(--muted); overflow-wrap: anywhere; }
.locations-list .loc-confirm { flex: 1 1 100%; font-size: 0.875rem; color: var(--strong); }
.locations-list .loc.editing label { flex: 1 1 14rem; }
.locations-list .loc button { margin: 0; }
.location-add h4 { margin: 0.5rem 0; }
.locations-archived { margin: 0.5rem 0 0; padding-left: 1.25rem; font-size: 0.875rem; color: var(--muted); }
#shift-location-new { margin-top: 0; }
.plan-location { margin: 0 0 0.875rem; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.plan-location-title { margin: 0 0 0.25rem; font-weight: 600; color: var(--strong); }
.plan-location button { margin-top: 0; }

/* Podľa ľudí: the week as a grid of promoters and days, Monday to Sunday,
   that scrolls on its own (never the page) with the promoter column kept in
   view; each plan on its own line in the cell. The rules name the cells of
   the overview only (> * > tr >), never those of a detail opened in it. */
#schedule-table { display: table; overflow: visible; font-size: 0.875rem; }
/* The week (eight columns) keeps room for its times and scrolls on its own; the list of a period fits the screen. */
#schedule-table:has(> thead > tr > :nth-child(4)) { min-width: 52rem; }
#schedule-table > * > tr > td.c-date, #schedule-detail-table td.c-date { white-space: nowrap; }
/* The detail's day, plan and actual times take only their own width; the place and the campaign get the rest (Owner 2026-10-21). */
@media (min-width: 40.0625rem) {
  #schedule-detail-table td:is(.c-date, .c-plan, .c-actual) { width: 1%; white-space: nowrap; }
  #schedule-detail-table td.c-place { min-width: 14rem; }
}
#schedule-table > * > tr > th { white-space: nowrap; }
#schedule-table > * > tr > th.today { color: var(--teal); }
#schedule-table > * > tr > td { padding: 0.375rem 0.25rem; vertical-align: top; }
#schedule-table > * > tr > td.c-day { min-width: 6.5rem; white-space: pre-line; overflow-wrap: break-word; font-size: 0.8125rem; line-height: 1.35; }
#schedule-table > * > tr > td.c-day.busy { background: color-mix(in srgb, var(--tone) 60%, transparent); }
/* One plan of a week's cell (Owner 2026-10-21): the time first, then the place, the campaign smaller and quiet. */
#schedule-table .cell-shift { display: grid; gap: 0.0625rem; }
#schedule-table .cell-shift + .cell-shift { margin-top: 0.5rem; }
#schedule-table .cell-shift .tm { font-family: var(--mono); font-weight: 500; color: var(--strong); white-space: nowrap; }
#schedule-table .cell-shift .pl { color: var(--text); }
#schedule-table .cell-shift .cp { font-size: 0.75rem; color: var(--muted); }
#schedule-table .cell-shift .wn { font-size: 0.75rem; color: var(--red); }
#schedule-table > * > tr > td.c-who { position: sticky; left: 0; z-index: 1; min-width: 9rem; background: var(--bg1); }
#schedule-table > * > tr > td.c-who > button, #schedule-detail-table td button { width: 100%; margin: 0; padding: 0.375rem 0.5rem; background: transparent;
  color: var(--strong); font-weight: 600; text-align: left; justify-content: flex-start; overflow-wrap: break-word; }
#schedule-table > * > tr > td.c-who > button:hover, #schedule-table > * > tr > td.c-who > button[aria-expanded="true"] { background: var(--sel); }
#schedule-table > * > tr > td.c-plan { white-space: pre-line; overflow-wrap: anywhere; }

/* Podľa stanovíšť (D-178): each place a block with its name and address, its
   shifts as the lines of Podľa dní with their day; the text places of before
   D-159 under their own heading; the occupancy of other campaigns last. */
.places { display: grid; gap: 0.75rem; }
.places .empty { margin: 0; padding: 1rem 0; color: var(--muted); }
.place-kind { margin: 0.75rem 0 0; font-size: 0.9375rem; color: var(--muted); }
.place-group { padding: 0.75rem 1rem 0.25rem; border-radius: 16px; background: var(--surface); }
.place-group.busy { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.place-name { margin: 0; font-size: 1.0625rem; overflow-wrap: anywhere; }
.place-address { margin: 0.125rem 0 0.25rem; font-size: 0.875rem; color: var(--muted); overflow-wrap: anywhere; }
.places .agenda .plan { grid-template-columns: 7.5rem minmax(0, 1fr); }
/* The day of a place's plan on one line (Owner 2026-10-21, C0 01a15fd5). */
.places .plan .tm .from { white-space: nowrap; }
.agenda .plan[aria-expanded="true"] { background: var(--sel); color: var(--sel-text); }

/* The detail of one person: the name as plain context, the plans, the form.
   Under the row it was opened from, across the width of the list (D-178); in
   the grid of a week it keeps to the visible width and stays in view while
   the grid scrolls on its own, never wider than the screen. */
#schedule-detail { margin: 1.25rem 0 0; padding: 1rem 1.125rem; border-radius: 18px; background: var(--surface); }
#schedule-grid { container-type: inline-size; }
#schedule-table > * > tr.detail-row > td.detail-cell { padding: 0 0 0.75rem; border-bottom: 0; font-size: 1rem; }
.detail-cell > #schedule-detail { position: sticky; left: 0; width: 100cqi; margin: 0.25rem 0 0; box-shadow: inset 0 0 0 2px var(--sel-line); }
.detail-slot > #schedule-detail { margin: 0.25rem 0 0.75rem; box-shadow: inset 0 0 0 2px var(--sel-line); }
#shift-plan-open { margin: 0.75rem 0 0; }
.detail-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.detail-head button { margin: 0; }
.person-name { margin: 0; font-size: 1.5rem; font-weight: 600; line-height: 1.15; color: var(--strong); overflow-wrap: anywhere; }
#schedule-detail-table { font-size: 0.875rem; }
#schedule-detail-table td button { font-weight: 500; color: var(--blue); }
#shift-form { margin-top: 1rem; padding-top: 0.25rem; border-top: 1px solid var(--line); }
#shift-form h4 { margin: 1rem 0 0.75rem; }
#shift-form button[type="submit"] { min-width: 10rem; }
/* The days of the plan: a chosen day is filled and outlined; what the day
   already holds for the person (read with the week) is written in it, a
   conflict marked; a day stays choosable (D-143). */
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); align-items: start; gap: 0.375rem; min-width: 0;
  margin: 0 0 1rem; padding: 0; border: 0; }
.days .day-opt { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; column-gap: 0.5rem; min-height: 3.25rem; margin: 0;
  padding: 0.5rem 0.625rem; border-radius: 12px; background: var(--tone); color: var(--strong); font-size: 0.9375rem; }
.days .day-opt input { margin: 0; }
.days .day-opt:has(input:checked) { background: var(--sel); box-shadow: inset 0 0 0 2px var(--sel-line); color: var(--sel-text); }
.days .day-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.days .day-opt:has(input:disabled) { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); cursor: not-allowed; }
.days .day-opt:has(input:disabled) .free { display: none; }
.days .occ { grid-column: 2; display: grid; gap: 0.125rem; min-width: 0; }
.days .occ:empty { display: none; }
.occ-line { font-size: 0.8125rem; color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.occ-line::before { content: ''; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.375rem; border-radius: 2px; background: var(--line-strong); }
.occ-line.busy::before { background: repeating-linear-gradient(135deg, var(--line-strong) 0 2px, transparent 2px 4px); box-shadow: inset 0 0 0 1px var(--line-strong); }
.occ-line.free { color: var(--muted); }
.occ-line.free::before { display: none; }
.occ-conflict { font-size: 0.8125rem; font-weight: 500; color: var(--strong); overflow-wrap: anywhere; }
.occ-conflict::before { content: '▲ '; color: var(--amber); }
.days .day-opt.conflict { box-shadow: inset 3px 0 0 var(--amber); }
.days .day-opt.conflict:has(input:checked) { box-shadow: inset 0 0 0 2px var(--sel-line), inset 5px 0 0 var(--amber); }
.warnings { margin: 0 0 0.75rem; padding-left: 1.25rem; color: var(--strong); }
.warnings li::marker { color: var(--amber); }
.warnings:empty { display: none; }
#shift-results { margin: 0.5rem 0; padding-left: 1.25rem; }
#shift-results:empty { display: none; }
@media (max-width: 52rem) {
  #schedule-table:has(> thead > tr > :nth-child(4)) { min-width: 44rem; }
  #schedule-table > * > tr > td.c-day { min-width: 5.5rem; font-size: 0.75rem; }
  #schedule-table > * > tr > td.c-who { min-width: 7rem; }
  #schedule-detail { padding: 0.875rem 0.75rem; }
}
/* A narrow screen: each plan of the detail is a card (day and plan, then the
   rest one under another), so the detail never needs more than the screen. */
@media (max-width: 40rem) {
  #schedule-detail-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #schedule-detail-table, #schedule-detail-table tbody { display: block; }
  #schedule-detail-table tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.125rem 0.75rem; padding: 0.625rem 0; border-bottom: 1px solid var(--line); }
  #schedule-detail-table td { display: block; padding: 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
  #schedule-detail-table td:not(.c-date, .c-plan) { grid-column: 1 / -1; }
  #schedule-detail-table td:empty { display: none; }
  #schedule-detail-table td.c-plan { white-space: normal; }
  #schedule-detail-table td button { width: auto; margin-top: 0.25rem; }
}

/* ---- Orientation of the leader (D-176) ----
   Promotéri: the unit's people as a plain list (name, then the campaigns; since D-232 under a band of named columns – the name,
   the e-mail and the state, the campaigns, the actions).
   Kampane: the campaign's name as the heading and its parts as one row of
   toggles in the style of the campaign tabs; one part at a time. The
   threshold of the campaign in Nastavenia or under the note of a campaign that
   is not the own one (D-180); in Zásoby with each campaign. Shared look of D-143 (tokens above); no new colour. */
.people { margin: 0.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.people li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.125rem 0.75rem; align-items: center; padding: 0.625rem 0.25rem;
  border-bottom: 1px solid var(--line); }
/* One row per person (C0 01a15e3e): the name, the account and the campaigns below it, the actions on the right
   (below on a phone); a suspended account marked by its left edge, never by colour alone (D-181). */
.people li > :not(.person-actions) { grid-column: 1; }
.people .person-actions { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.375rem; }
.people .person-actions button { margin: 0; min-height: 2.75rem; padding: 0 0.75rem; font-size: 0.875rem; }
/* D-247 (C0 01a1f06b): a promoter's "Povoliť" and "Pozastaviť" one size in one place – the last action, of one width; a
   promoter's row has four lines beside its actions (the name, the e-mail, the state, the campaigns). */
.people .person-actions button.person-change { flex: none; width: 7rem; }
#promoters-box .people .person-actions { grid-row: 1 / span 4; }
.people li.is-suspended { box-shadow: inset 3px 0 0 var(--muted); padding-left: 0.75rem; }
@media (max-width: 34rem) {
  .people li { grid-template-columns: minmax(0, 1fr); }
  .people .person-actions, #promoters-box .people .person-actions { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 0.25rem; }
}
label.check { display: flex; align-items: center; gap: 0.5rem; }
label.check input { width: auto; min-height: 0; }
.shift-close { margin: 1rem 0 0; }
.people .person { font-weight: 600; color: var(--strong); overflow-wrap: anywhere; }
.people .person-meta, .people .person-email, .people .person-status, .people .person-campaigns { font-size: 0.875rem; color: var(--muted);
  overflow-wrap: anywhere; }
#view-own { overflow-wrap: anywhere; }
#campaign-new form > h3.ws-title { margin-top: 0.75rem; }
.part-switch { display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0 0 1rem; }
.part-switch button { flex: 0 1 auto; min-height: 2.75rem; margin: 0; padding: 0 1rem; border-radius: 10px; background: var(--tone); color: var(--strong);
  font-weight: 500; }
.part-switch button[aria-pressed="true"] { background: var(--sel); color: var(--sel-text); box-shadow: inset 0 -2px 0 var(--sel-line); }
.part-switch button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 34rem) {
  .part-switch { flex-wrap: nowrap; }
  .part-switch button { flex: 1 1 auto; min-width: 0; padding: 0 0.5rem; font-size: 0.875rem; }
}
.campaign-part > .panel-form:first-child { margin-top: 0.5rem; }
.campaign-part .panel-form { max-width: 34rem; }
#campaign-questions #schema-view { margin: 0; }
#ws-supplies .panel-form { margin: 2rem 0 0.5rem; padding-top: 1rem; border-top: 1px solid var(--line); max-width: 34rem; }
#ws-supplies .panel-form h3 { margin: 0 0 0.5rem; }
/* The leader's menu on a phone (D-177): no bar at the bottom; the hamburger on
   the right of the bar opens the navigation as a panel below it, each place a
   full-width line of at least 48 px with the current one marked, then day and
   night at its end. The bar keeps PROMO and the hamburger. Desktop: the rail as before. Since D-225 the places and day
   and night take the look of AlignUI v5 (its part below), day and night at the end of the rail too. */
.menu-toggle { display: none; }
@media (max-width: 47.99rem) {
  .appbar:has(#menu-toggle:not([hidden])) .daynight { display: none; }
  .menu-toggle:not([hidden]) { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: 0; padding: 0; background: transparent; color: var(--strong); }
  .menu-toggle[aria-expanded="true"] { background: var(--sel); color: var(--sel-text); }
  #leader-nav:not([data-open="true"]) { display: none; }
  #leader-nav[data-open="true"] { position: fixed; top: var(--bar); left: 0; right: 0; bottom: 0; z-index: 25; flex-direction: column; gap: 0.25rem;
    padding: 0.75rem 1rem calc(1rem + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line);
    background: var(--nav); }
  #leader-nav[data-open="true"] :is(a, button) { flex: none; flex-direction: row; justify-content: flex-start; gap: 0.875rem; width: 100%; min-height: 3rem;
    padding: 0 1rem; border-radius: 12px; font-size: 1rem; letter-spacing: 0; text-align: left; }
  main:has(#session > #leader-nav:not([hidden])) { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
}

/* Kampane (D-177): the campaign's name is the one prominent heading, smaller than the
   titles of the places, with "Vybrať inú kampaň" beside it; what is set is read first and each form
   opens on request. */
.campaign-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; margin: 0.25rem 0 0.75rem; }
.campaign-head .campaign-title { flex: 0 1 auto; min-width: 0; }
.campaign-head button { flex: none; margin: 0; }
.campaign-head button[aria-expanded="true"] { background: var(--sel); color: var(--sel-text); }
.workspace:focus:not(:focus-visible) { outline: none; }
.workspace:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 12px; }
.campaign-title { margin: 0.25rem 0; font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--blue); overflow-wrap: anywhere; }
/* Nastavenie (0041, 0042; D-206, D-207): the name and the period, the questions of a conversation and those before the
   close each in its own block across the width (the tables never squeezed into a column), then the products and the gifts
   side by side (below one another on a phone): a product's row its name and its price, a gift's its name, each with its ×;
   a locked item says why it stays. No frames: the headings and the spacing order the page. */
.setup-block { margin: 0 0 1.25rem; min-width: 0; }
.setup-block h3, .setup-column h3, .payment-block h3, #shift-report h3 { margin: 1rem 0 0.5rem; font-size: 1rem; font-weight: 600; }
.setup-columns { display: grid; gap: 1rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; max-width: 72rem;
  margin: 0.5rem 0 1rem; }
@media (max-width: 40rem) { .setup-columns { grid-template-columns: minmax(0, 1fr); } }
.setup-column { min-width: 0; }
#setup-questions, #setup-closing { overflow-x: auto; }
#setup-questions .notice { margin-top: 0; }
.setup-rows { display: grid; gap: 0.5rem; margin: 0 0 0.5rem; padding: 0; list-style: none; }
.setup-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; }
.setup-row .setup-name { flex: 1 1 14rem; min-width: 0; }
.setup-row .setup-price { flex: 0 1 8rem; min-width: 6rem; }
/* A product's or a gift's row (D-216): one grid in both lists – the name, the price (a gift's place of it empty), the place
   of the × – so every name has the width of the others and every × the same place; a locked item keeps that place (its
   mark, no ×; its reason the mark's title and hidden text since D-247, no sentence below it). */
:is(#setup-products, #setup-gifts) > .setup-row { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem 2.75rem; align-items: center;
  gap: 0.25rem 0.375rem; }
:is(#setup-products, #setup-gifts) > .setup-row > :is(.setup-name, .setup-price) { width: 100%; min-width: 0; }
:is(#setup-products, #setup-gifts) > .setup-row > :is(.move-remove, .item-lock) { grid-column: 3; margin: 0; }
:is(#setup-products, #setup-gifts) > .setup-row > .setup-problem { grid-column: 1 / -1; }
/* D-244 (C0 01a1eed2): the source and „Započítať do tržby“ of a product on its own line under the name and price; the choice
   of the source of new products above the list. */
#setup-products > .setup-row > .setup-stock { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
#setup-products > .setup-row > .setup-stock .setup-source { flex: 0 1 12rem; min-width: 0; }
#setup-products > .setup-row > .setup-stock .setup-revenue { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; }
.setup-new-source { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 4px; font-size: 0.875rem; }
.setup-new-source select { flex: 0 1 12rem; min-width: 0; }
.setup-row .item-lock { justify-self: center; font-size: 0.8125rem; color: var(--faint); }
/* A row the save would refuse (D-209: pasted or typed names and prices are marked, never fixed by the page). */
.setup-row .setup-problem { flex-basis: 100%; margin: 0; font-size: 0.8125rem; color: var(--red); }
.setup-row input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--red); }
.setup-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0; }
.calc-help { margin: 0.75rem 0; }
.calc-help > summary { cursor: pointer; color: var(--muted); }
.calc-help p { max-width: 64ch; margin: 0.5rem 0 0; color: var(--muted); }
/* The groups of a shift report (D-213): each group its name, its members below (since D-225 a table, the leader's part
   below); its form a list of the items of its kind in columns, each with its whole name, an item of another group marked
   with that group's name below it (D-216). */
.group-row .group-name { flex: 0 1 30rem; font-weight: 600; color: var(--strong); overflow-wrap: anywhere; }
.group-form { margin: 0.75rem 0; padding: 0.75rem; border: 1px solid var(--line); border-radius: 0.5rem; background: var(--raised); }
.group-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 0 1rem; max-height: 18rem;
  overflow-y: auto; margin: 0.25rem 0 0.75rem; padding: 0; list-style: none; }
.group-items label { display: flex; align-items: flex-start; gap: 0.375rem; margin: 0.25rem 0; color: var(--text); overflow-wrap: anywhere; }
.group-items label input { flex: none; margin-top: 0.2rem; }
.group-items .group-taken { display: block; font-size: 0.75rem; color: var(--muted); }
/* "Zobraziť v %" at a question of a choice (D-216), under its options; a question not saved yet says when. */
.field-percent { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; margin-top: 0.25rem; font-size: 0.875rem; }
.field-percent label { display: inline-flex; align-items: center; gap: 0.375rem; }
.field-percent .hint { margin: 0; font-size: 0.75rem; }
#calc-stale p { color: var(--strong); }
/* An instruction of a campaign (0042): a line of text with a quiet mark, never a field. */
.row-info, .close-info { max-width: 64ch; margin: 0.25rem 0 0.75rem; padding-left: 0.75rem; border-left: 3px solid var(--line); }
/* The closing questions of a shift (0042) – P10b: a modal dialog in the middle of the screen over a dimmed page; its
   questions scroll inside it when they are many, its two actions stay at its bottom. */
#close-panel { width: min(40rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); margin: auto;
  padding: 1.25rem 1.25rem 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text);
  box-shadow: var(--shadow); overflow-y: auto; overscroll-behavior: contain; }
#close-panel::backdrop { background: var(--scrim); }
/* D-248: the dialog of a close held by a conversation being entered, in the style of the closing questions; its OK at the end of
   its bar. */
#close-held { width: min(28rem, calc(100% - 2rem)); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  color: var(--text); box-shadow: var(--shadow); }
#close-held::backdrop { background: var(--scrim); }
#close-held > p { margin: 0; padding: 18px 20px; }
#close-held > .close-held-actions { display: flex; justify-content: flex-end; padding: 16px 20px; border-top: 1px solid var(--line); }
#close-held > .close-held-actions > button { margin: 0; }
#close-panel h2 { margin: 0 0 1rem; font-family: var(--display); font-size: 1.25rem; line-height: 1.25; color: var(--strong); }
.close-field { margin: 0 0 1rem; }
.close-field > label:first-child { display: block; margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.close-field :is(input:not([type="checkbox"]), textarea) { display: block; width: 100%; margin-top: 0.375rem; }
.close-field .close-unknown { display: flex; align-items: center; min-height: 2.75rem; margin: 0.25rem 0 0; font-size: 0.9375rem; color: var(--text); }
.close-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0.5rem -1.25rem 0;
  padding: 0.75rem 1.25rem 1rem; border-top: 1px solid var(--line); background: var(--surface); }
.close-actions button { margin: 0; }
#close-panel #close-retry { margin: 0 0 1rem; }
/* The offer of "Zostať / Zahodiť" (D-127) while it is inside the dialog. */
#close-panel .nav-notice:has(#nav-status:not(:empty)) { position: static; margin: 0 0 0.5rem; }
.payment-block { max-width: 48rem; margin: 0 0 1rem; }
.payment-block p { margin: 0; color: var(--muted); }
.payment-block label { display: flex; align-items: center; gap: 0.5rem; margin: 0.25rem 0; }
/* The assignment of a promoter in Pridelení promotéri (Owner 2026-10-21, C0 01a16062): a text label, green or plain (red until D-236). */
.assign-state { font-size: 0.9375rem; font-weight: 500; }
.assign-state.is-on { color: var(--green); }
.assign-state.is-off { color: var(--muted); }
.summary { display: grid; gap: 0.5rem; margin: 0.5rem 0 0.75rem; }
.summary > div { display: grid; gap: 0.125rem; }
.summary dt { font-size: 0.875rem; color: var(--muted); }
.summary dd { margin: 0; color: var(--strong); overflow-wrap: anywhere; }
/* Nastavenia in place (Owner 2026-10-22, D-189): each row's value, or its field, with its icons right after it; the
   green ✓ saves, the red × cancels. */
#stock-view form.own-rows { margin: 0.5rem 0 0.75rem; padding-top: 0; }
.own-row dd { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; }
.own-row .own-field { flex: 1 1 16rem; min-width: 0; max-width: 32rem; }
.own-row .own-field input { margin-top: 0.25rem; }
.own-row .own-field label { margin: 0; }
.own-row .row-icons { display: inline-flex; gap: 0.25rem; }
.own-row .hint { flex-basis: 100%; margin: 0; font-size: 0.875rem; color: var(--muted); }
button.row-icon.row-save { color: var(--green); }
button.row-icon.row-save:hover { background: var(--tone); color: var(--green); }
#campaign-settings > button, #questions-edit { margin: 0 0 1.25rem; }

/* Reporting (D-192): the template as a grid of cells. A wide report is never
   cut: it scrolls sideways inside its frame, the headings and merged groups
   stay as in the template; the days are folded lines until opened. */
.report-scroll { max-width: 100%; overflow-x: auto; margin: 0.5rem 0; border: 1px solid var(--line); }
.report-scroll table.report-grid { display: table; width: auto; min-width: 100%; margin: 0; overflow: visible; }
.report-grid th, .report-grid td { padding: 0.25rem 0.5rem; border: 1px solid var(--line); white-space: nowrap; }
.report-grid th.report-col, .report-grid th.report-row, .report-grid th.report-corner { background: var(--tone); color: var(--faint); text-align: center; }
.report-grid td.report-text { font-weight: 600; color: var(--strong); }
.report-grid td.report-value { text-align: right; font-variant-numeric: tabular-nums; }
.report-grid td.report-out, .report-grid td.report-repeat, .report-grid td.report-folded { background: var(--sel); color: var(--sel-text); text-align: center; }
.report-grid td.report-formula, .report-grid td.report-sample { background: var(--amber-tint); color: var(--amber); text-align: center; }
.report-grid td[tabindex] { cursor: pointer; }
.report-grid tr.report-day td { background: var(--tone); }
/* The tints of a shift report's groups of columns (D-213), the same as the fills of its Excel. */
.report-grid .report-band-1 { background: var(--band1); }
.report-grid .report-band-2 { background: var(--band2); }
.report-grid .report-band-3 { background: var(--band3); }
.report-grid .report-band-4 { background: var(--band4); }
.report-grid .report-band-5 { background: var(--band5); }
.report-grid .report-band-6 { background: var(--band6); }
.report-grid .report-band-7 { background: var(--band7); }
.report-grid .report-band-8 { background: var(--band8); }
.report-grid .report-band-9 { background: var(--band9); }
.report-grid .report-band-10 { background: var(--band10); }
.report-grid .report-band-11 { background: var(--band11); }
.report-grid .report-band-12 { background: var(--band12); }
/* The editor of the row (D-213): as in Excel – letters, the merged group, the value chosen, its type or unit; the plus next. */
.report-grid td.editor-head, .report-grid td.report-head { text-align: center; }
/* The editor of the row (D-216): a smaller font; every column one fixed width from A on – the grid never stretched over the
   width, adding a column changes no other one, a wide row scrolls in its frame; each value by its whole name, wrapped; the
   list of choices of one column below the grid, each choice by its whole name. */
.shift-editor-box .report-scroll table.shift-editor-grid { width: auto; min-width: 0; font-size: 0.875rem; }
.shift-editor-grid th.report-corner { width: 2rem; min-width: 2rem; }
.shift-editor-grid th.report-col { width: 9.5rem; min-width: 9.5rem; max-width: 9.5rem; }
.shift-editor-grid th, .shift-editor-grid td { padding: 0.125rem 0.25rem; }
.report-grid td.editor-head { white-space: normal; overflow-wrap: anywhere; }
.report-grid td.editor-cell { padding: 0.125rem; vertical-align: top; white-space: normal; }
.report-grid button.editor-choice { display: block; width: 100%; min-height: 2.75rem; margin: 0; padding: 0.25rem 0.375rem; border-radius: 0.25rem;
  background: transparent; color: var(--strong); font-size: 0.8125rem; font-weight: 400; line-height: 1.25; text-align: left; white-space: normal;
  overflow-wrap: anywhere; }
.report-grid button.editor-choice:hover, .report-grid button.editor-choice[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--primary); }
.report-grid button.editor-add { text-align: center; font-size: 1.25rem; font-weight: 600; color: var(--green); }
.report-grid td.editor-unit { font-size: 0.75rem; color: var(--muted); text-align: center; white-space: nowrap; }
.report-grid button.editor-remove { margin: 0 0 0 0.25rem; color: var(--red); font-weight: 600; }
/* Merged cells (Owner 2026-11-21): under each column alone its box (a target of 44 px), under a merged cell "Rozdeliť"; the one
   "Zlúčiť označené" below the grid. */
.report-grid td.editor-mark { text-align: center; }
.report-grid label.editor-mark-label { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; margin: 0;
  cursor: pointer; }
.report-grid label.editor-mark-label input { margin: 0; }
.report-grid button.editor-split { min-height: 2.75rem; margin: 0; }
.editor-merge-bar { display: flex; justify-content: flex-start; margin: 0.5rem 0 0; }
.editor-merge-bar button.editor-merge { min-height: 2.75rem; margin: 0; }
/* The list of one column (P02): compact – the search field on top, then the choices one a line under their sections; only
   the list scrolls, the field stays. */
.editor-picker { max-width: 28rem; margin: 0.5rem 0; padding: 0.5rem 0.75rem; border: 1px solid var(--line); border-radius: 0.5rem;
  background: var(--raised); font-size: 0.875rem; }
.editor-picker-title { margin: 0 0 0.25rem; font-weight: 600; color: var(--strong); }
.editor-picker input.editor-search { width: 100%; margin: 0 0 0.25rem; }
.editor-list { max-height: 18rem; overflow-y: auto; }
.editor-section { margin: 0.5rem 0 0.125rem; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.editor-options { display: flex; flex-direction: column; gap: 0.125rem; }
button.editor-option { justify-content: flex-start; width: 100%; min-height: 2.75rem; margin: 0; padding: 0.25rem 0.5rem; font-size: 0.8125rem;
  line-height: 1.25; text-align: left; white-space: normal; overflow-wrap: anywhere; background: transparent; color: var(--strong); font-weight: 400; }
button.editor-option:hover, button.editor-option:focus-visible { box-shadow: inset 0 0 0 1.5px var(--primary); }
button.editor-option[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--primary); }
.editor-none { margin: 0.25rem 0; color: var(--muted); }
.editor-picker .editor-close { margin: 0.5rem 0 0; }
button.report-day-toggle { background: transparent; color: var(--strong); padding: 0.125rem 0.25rem; }
.report-bar, .report-actions, .report-repeat-choice, .report-items, .report-days, .report-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0.5rem 0; }
.report-bar label, .report-actions label, .report-check { display: inline-flex; align-items: center; gap: 0.25rem; margin: 0; }
/* The place of the download in Reporting's kept bar (P08): its button as one more item of the bar. */
.report-bar-extra { display: contents; }
.report-picker, .report-measure, .report-titles { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; }
/* Block 33: only an unclear proposal is marked; the rest of the places stay plain. */
.report-places tr.report-unclear td { background: var(--amber-tint); }
.report-places td { vertical-align: top; }
.report-places td.report-heading { max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--strong); }
.report-places td.report-status, .report-group .report-status { white-space: nowrap; font-size: 0.875rem; color: var(--muted); }
.report-group .report-unclear-text { color: var(--amber); }
.report-places .report-meaning { color: var(--strong); font-size: 0.9375rem; }
.report-reason { display: block; font-size: 0.8125rem; color: var(--muted); }
.report-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0.5rem 0; }
.report-summary .state { margin: 0; }
.report-block-lines { margin: 0.25rem 0 0; padding-left: 1.25rem; }
.report-trial { margin: 0.75rem 0; }
.report-grid td.report-proposal { outline: 1px dashed var(--amber); outline-offset: -2px; }
.report-meaning { color: var(--muted); font-size: 0.875rem; }
/* Entered by the promoter or computed by the application: told in words beside the meaning. */
.report-source { margin-left: 0.5rem; padding: 0 0.375rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8125rem; color: var(--muted); }
.report-warning { padding-left: 0.75rem; border-left: 3px solid var(--amber); color: var(--strong); }
.report-reasons { margin: 0.25rem 0 0.75rem; color: var(--strong); }
.report-editor { margin: 0.75rem 0; }
.report-editor .hint, #reporting .hint, #report-setup .hint { font-size: 0.875rem; color: var(--muted); }
/* Block 34: the cards of a setup proposal (one confirmation each) and its two trial previews. */
.setup-card { margin: 0.75rem 0; padding: 0.5rem 0.75rem; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 6px; }
.setup-card.setup-done { border-left-color: var(--primary); }
.setup-card.setup-template { border-left-color: var(--line); }
/* Block 35: the proposal by a model – the leader's own messages and the message being written. */
.setup-said { margin: 0.25rem 0; padding: 0.4rem 0.6rem; border-left: 3px solid var(--line); white-space: pre-wrap; }
.setup-ai textarea { width: 100%; box-sizing: border-box; }
.setup-card h4 { margin: 0 0 0.25rem; color: var(--strong); }
.setup-options input { max-width: 12rem; }
.setup-preview { margin: 0.75rem 0; padding: 0.5rem 0.75rem; border: 1px dashed var(--line); border-radius: 6px; }
.setup-preview h4 { margin: 0 0 0.25rem; }

/* AlignUI v5 of the leader and the promoter (D-223, D-225; Owner 2026-11-04, C0 01a1a5a4, 01a1a6e9): the tokens of
   alignui-zjednotenie-v5 of 2026-11-03 – its neutral surfaces and lines, one accent (purple until D-233; Owner 2026-11-12: the
   blue of the sign-in, the side menu's since D-232, of every button, link, tab, choice and focus), its reds, Inter only – defined
   once, for the promoter's session and for the page of the leader's (so they reach its bar too), in the light and the dark
   theme; the client, the superadmin and the sign-in keep the tokens on top. The ones starting with --pr- came with the
   promoter (P10d) and are the leader's as well. Then the parts the two have in one look: the places of a navigation,
   Tmavý | Svetlý, the confirmation card and the red action that ends something; where each of them stands stays the
   role's own (the promoter's card over the page, the leader's in the flow). */
#session.role-promoter, html:has(#session.role-leader:not([hidden])) {
  --display: var(--sans); --mono: var(--sans);
  --surface: #ffffff; --raised: #ffffff; --tone: #f5f7fa; --tone2: #e1e4ea; --line: #e1e4ea; --line-strong: #cacfd8;
  --field: #ffffff; --field-line: #e1e4ea; --text: #0e121b; --strong: #0e121b; --muted: #525866; --faint: #596273; --blue: #0e121b;
  --primary: #0a63d8; --primary-press: #0a52b8; --on-primary: #ffffff; --focus: #0a63d8; --focus-ring: rgb(10 99 216 / 0.28);
  --sel: #f5f7fa; --sel-text: #0e121b; --sel-line: #0a63d8; --red: #d02533; --red-tint: #fff5f6; --nav: #ffffff;
  --scrim: rgba(14, 18, 27, 0.32); --toggle-on: #ffffff; --toggle-on-text: #0e121b; --shadow: 0 16px 32px -12px rgba(14, 18, 27, 0.14);
  --pr-control-line: #717784; --pr-error: #fb3748; --pr-error-text: #d02533; --pr-error-soft: #ffebec; --pr-error-soft-hover: #ffdadd;
  --pr-error-faint: #fff5f6; --pr-error-off-text: rgba(208, 37, 51, 0.6); --pr-error-solid: #d02533;
  --pr-shadow-xs: 0 1px 2px rgba(10, 13, 20, 0.06); --pr-lift: 0 16px 32px -12px rgba(14, 18, 27, 0.14);
  --nav-current: #ebf3fc; --nav-accent: #0a63d8; --nav-group: #6b7280; --qty: #006f67; --card: #ffffff; --card-pad: 16px; --card-radius: 6px;
  --card-around: 0 0 0 var(--card-pad) var(--card), 0 0 0 calc(var(--card-pad) + 1px) var(--line);
  color: var(--text);
}
/* The light theme (Owner 2026-11-12, D-231; C0 01a1cf05): the place shown in a navigation on a tint (of the blue since D-232), the forms and
   the reports named below as white cards with a fine line on the page's gradient, --faint darker (#596273: 6.1 : 1 on white).
   A card is drawn around its content (--card-around: its room of 16 px and its line, outside the box), so no width, grid or
   measure of a form changes; on a phone it reaches the edges of the window (the room of the page is 16 px). The dark theme
   keeps all of it as it was (the tokens below give it no card: no ground, line, room or corner). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #session.role-promoter, :root:not([data-theme="light"]):has(#session.role-leader:not([hidden])) {
    --surface: #0e121b; --raised: #222530; --tone: #181b25; --tone2: #2b303b; --line: #2b303b; --line-strong: #525866;
    --field: #0e121b; --field-line: #2b303b; --text: #f2f5f8; --strong: #f2f5f8; --muted: #99a0ae; --faint: #717784; --blue: #f2f5f8;
    --primary: #1565d8; --primary-press: #0a52b8; --on-primary: #ffffff; --focus: #5aa9ff; --focus-ring: rgb(90 169 255 / 0.42);
    --sel: #181b25; --sel-text: #f2f5f8; --sel-line: #3aa8ff; --red: #ff6875; --red-tint: rgba(251, 55, 72, 0.08); --nav: #0e121b;
    --scrim: rgba(14, 18, 27, 0.72); --toggle-on: #222530; --toggle-on-text: #f2f5f8; --shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
    --pr-control-line: #717784; --pr-error: #e93544; --pr-error-text: #ff6875; --pr-error-soft: rgba(251, 55, 72, 0.16); --pr-error-soft-hover: rgba(251, 55, 72, 0.24);
    --pr-error-faint: rgba(251, 55, 72, 0.08); --pr-error-off-text: rgba(255, 104, 117, 0.62); --pr-error-solid: #d02533;
    --pr-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3); --pr-lift: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
    --nav-current: #1a3150; --nav-accent: #3aa8ff; --nav-group: #80868f; --qty: #00b3aa; --card: transparent; --card-pad: 0px; --card-radius: 0px; --card-around: none;
  }
}
:root[data-theme="dark"] #session.role-promoter, :root[data-theme="dark"]:has(#session.role-leader:not([hidden])) {
  --surface: #0e121b; --raised: #222530; --tone: #181b25; --tone2: #2b303b; --line: #2b303b; --line-strong: #525866;
  --field: #0e121b; --field-line: #2b303b; --text: #f2f5f8; --strong: #f2f5f8; --muted: #99a0ae; --faint: #717784; --blue: #f2f5f8;
  --primary: #1565d8; --primary-press: #0a52b8; --on-primary: #ffffff; --focus: #5aa9ff; --focus-ring: rgb(90 169 255 / 0.42);
  --sel: #181b25; --sel-text: #f2f5f8; --sel-line: #3aa8ff; --red: #ff6875; --red-tint: rgba(251, 55, 72, 0.08); --nav: #0e121b;
  --scrim: rgba(14, 18, 27, 0.72); --toggle-on: #222530; --toggle-on-text: #f2f5f8; --shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
  --pr-control-line: #717784; --pr-error: #e93544; --pr-error-text: #ff6875; --pr-error-soft: rgba(251, 55, 72, 0.16); --pr-error-soft-hover: rgba(251, 55, 72, 0.24);
  --pr-error-faint: rgba(251, 55, 72, 0.08); --pr-error-off-text: rgba(255, 104, 117, 0.62); --pr-error-solid: #d02533;
  --pr-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3); --pr-lift: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
  --nav-current: #1a3150; --nav-accent: #3aa8ff; --nav-group: #80868f; --qty: #00b3aa; --card: transparent; --card-pad: 0px; --card-radius: 0px; --card-around: none;
}
/* The places of a navigation (P10d): their icons and names, the current one on a tint of the blue of the sign-in (the weak ground
   in the dark theme) with a bar of that blue at the edge and an icon of it (Owner 2026-11-12, D-232 after D-231; the accent of
   every other control too since D-233). */
:is(#session.role-promoter #promoter-nav-list button:not([data-theme-choice]), #session.role-leader #leader-nav > a) {
  position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; min-height: 44px; margin: 0; padding: 0 12px;
  border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 500; text-align: left; }
:is(#session.role-promoter #promoter-nav-list button:not([data-theme-choice]), #session.role-leader #leader-nav > a) svg.icon { color: var(--faint); }
:is(#session.role-promoter #promoter-nav-list button:not([data-theme-choice]), #session.role-leader #leader-nav > a):hover { background: var(--tone); color: var(--text); }
:is(#session.role-promoter #promoter-nav-list button[aria-current="page"], #session.role-leader #leader-nav > a[aria-current="page"]) { background: var(--nav-current);
  color: var(--text); }
:is(#session.role-promoter #promoter-nav-list button[aria-current="page"], #session.role-leader #leader-nav > a[aria-current="page"]) svg.icon { color: var(--nav-accent); }
:is(#session.role-promoter #promoter-nav-list button[aria-current="page"], #session.role-leader #leader-nav > a[aria-current="page"])::before { content: ''; position: absolute;
  left: -16px; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--nav-accent); }
:is(#session.role-promoter #promoter-nav, #session.role-leader #leader-nav) svg.icon { width: 20px; height: 20px; }
/* Tmavý | Svetlý: the segmented control of AlignUI, two equal halves with their words. */
:is(#session.role-promoter #promoter-nav .daynight, #session.role-leader #leader-nav .menu-theme) { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  gap: 4px; padding: 4px; border-radius: 10px; background: var(--tone); }
:is(#session.role-promoter #promoter-nav .daynight, #session.role-leader #leader-nav .menu-theme) button { display: flex; align-items: center; justify-content: center;
  gap: 8px; width: auto; min-height: 44px; height: auto; margin: 0; padding: 0 12px; border-radius: 8px; background: transparent; color: var(--muted);
  box-shadow: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
:is(#session.role-promoter #promoter-nav .daynight, #session.role-leader #leader-nav .menu-theme) button:hover { color: var(--text); }
:is(#session.role-promoter #promoter-nav .daynight, #session.role-leader #leader-nav .menu-theme) button[aria-pressed="true"] { background: var(--raised);
  color: var(--text); box-shadow: inset 0 0 0 1px var(--line), var(--pr-shadow-xs); }
:is(#session.role-promoter #promoter-nav .daynight, #session.role-leader #leader-nav .menu-theme) svg.icon { width: 18px; height: 18px; }
/* The soft red action of AlignUI that ends something ("Zatvoriť deň", "Uzavrieť prevádzku"); off, it stays readable and only
   steps back. */
:is(#session.role-promoter, #session.role-leader) button.danger { min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--pr-error-soft);
  color: var(--pr-error-text); box-shadow: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
:is(#session.role-promoter, #session.role-leader) button.danger:hover { background: var(--pr-error-soft-hover); }
:is(#session.role-promoter, #session.role-leader) button.danger:disabled, :is(#session.role-promoter, #session.role-leader) button.danger:disabled:hover {
  background: var(--pr-error-faint); color: var(--pr-error-off-text); box-shadow: none; opacity: 1; }
/* A table of conversations – the promoter's Posledné rozhovory (P10d) and the leader's conversations of a shift (D-225, C0
   01a1a816): a band of headings with rounded ends, cells of 14/20 with a line under each row. */
:is(#session.role-promoter #rows-table, #session.role-leader #shift-rows-table) th { padding: 8px 10px; border: 0; background: var(--tone); color: var(--muted);
  font-size: 14px; font-weight: 400; white-space: nowrap; }
:is(#session.role-promoter #rows-table, #session.role-leader #shift-rows-table) th:first-child { border-radius: 8px 0 0 8px; }
:is(#session.role-promoter #rows-table, #session.role-leader #shift-rows-table) th:last-child { border-radius: 0 8px 8px 0; }
:is(#session.role-promoter #rows-table, #session.role-leader #shift-rows-table) td { padding: 10px; border-bottom: 1px solid var(--line); font-size: 14px;
  line-height: 20px; vertical-align: middle; }
/* The confirmation of a step over unsaved work (D-127) as the modal card of AlignUI: its title (the first sentence) and its
   text, then the two actions of one width under a line; only a state (a write still unresolved) without them. */
:is(#session.role-promoter, #session.role-leader) .nav-notice:has(#nav-status:not(:empty)) { display: flex; flex-wrap: wrap; gap: 0 12px;
  width: min(440px, calc(100% - 32px)); padding: 0 20px 16px; border: 0; border-radius: 20px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--pr-lift); }
:is(#session.role-promoter, #session.role-leader) .nav-notice:has(#nav-status:not(:empty)) #nav-status { flex: 1 0 calc(100% + 40px); margin: 0 -20px 16px;
  padding: 20px; border: 0; border-bottom: 1px solid var(--line); }
:is(#session.role-promoter, #session.role-leader) .nav-notice:has(#nav-status:not(:empty)):not(:has(> button:not([hidden]))) { padding-bottom: 0; }
:is(#session.role-promoter, #session.role-leader) .nav-notice:has(#nav-status:not(:empty)):not(:has(> button:not([hidden]))) #nav-status { margin-bottom: 0;
  border-bottom: 0; }
:is(#session.role-promoter, #session.role-leader) .nav-notice #nav-status .nav-title { display: block; color: var(--text); font-size: 16px; line-height: 24px;
  font-weight: 500; letter-spacing: -0.011em; }
:is(#session.role-promoter, #session.role-leader) .nav-notice #nav-status .nav-text { display: block; margin-top: 4px; color: var(--muted); font-size: 14px;
  line-height: 20px; }
:is(#session.role-promoter, #session.role-leader) .nav-notice > button { flex: 1 1 0; min-width: 0; min-height: 44px; margin: 0; padding: 0 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500; line-height: 1.2; white-space: normal; }
:is(#session.role-promoter, #session.role-leader) .nav-notice #nav-stay { background: var(--primary); color: var(--on-primary); box-shadow: none; }
:is(#session.role-promoter, #session.role-leader) .nav-notice #nav-stay:hover { background: var(--primary-press); }
:is(#session.role-promoter, #session.role-leader) .nav-notice :is(#nav-discard, #nav-logout) { background: var(--surface); color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line); }
:is(#session.role-promoter, #session.role-leader) .nav-notice :is(#nav-discard, #nav-logout):hover { background: var(--tone); color: var(--text); }
@media (max-width: 37.5rem) {
  :is(#session.role-promoter, #session.role-leader) .nav-notice > button { flex: 1 1 100%; }
  :is(#session.role-promoter, #session.role-leader) .nav-notice:has(#nav-status:not(:empty)) { row-gap: 12px; }
  :is(#session.role-promoter, #session.role-leader) .nav-notice:has(#nav-status:not(:empty)):has(> button:not([hidden])) #nav-status { margin-bottom: 4px; }
}

/* The leader in the look of AlignUI v5 (D-225; Owner 2026-11-04, C0 01a1a6e9): the page on its gradient (D-231, D-230), Inter only,
   names and titles neutral; on a computer the side panel of AlignUI – PROMO and the fold on top, the places in their groups,
   Profil and Tmavý | Svetlý at its end –, on a phone the bar with PROMO and the menu on the right (D-177). Prehľad,
   Nastavenie and Sklad in the tables, fields, tabs and cards of v5; the other places of the leader take the same tokens and
   controls without a new layout. Every rule names the leader's session; the controls of the page are set with :where() at
   the weight of the shared rules they replace, so every rule of a particular place keeps winning over them. */
/* The light page: a fixed, soft gradient from the light blue #e8f0fc on top to the blue grey #f5f7fb lower (Owner 2026-11-12,
   D-231); --bg1 stays the surface for its other uses (the bar of a phone, sticky cells). The dark theme draws its own (D-230). */
html:has(#session.role-leader:not([hidden])) { --bg1: var(--surface); --page-bg: linear-gradient(180deg, #e8f0fc, #f5f7fb 28rem); --green: #1a7544; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):has(#session.role-leader:not([hidden])) { --green: #3ee089; }
}
:root[data-theme="dark"]:has(#session.role-leader:not([hidden])) { --green: #3ee089; }
#session.role-leader { font-size: 14px; line-height: 20px; letter-spacing: -0.006em; }
:where(#session.role-leader) :is(h2, h3, h4) { color: var(--text); font-weight: 500; }
:where(#session.role-leader) h2 { font-size: 18px; line-height: 24px; letter-spacing: -0.015em; }
:where(#session.role-leader) :is(h3, h4) { font-size: 16px; line-height: 24px; letter-spacing: -0.011em; }
/* Names as plain text (D-225 after D-179 and D-189): no colour of their own, the weight of a name of AlignUI. */
#session.role-leader :is(.pname, .mname) { color: var(--text); font-weight: 500; }

/* The bar: PROMO in the type of AlignUI; on a phone it holds the menu on the right (D-177), with no line under it (D-171). */
html:has(#session.role-leader:not([hidden])) .appbar .brand { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.011em; color: var(--text); }
html:has(#session.role-leader:not([hidden])) .menu-toggle:not([hidden]) { border-radius: 10px; color: var(--muted); }
/* The bar keeps its plain ground under the gradient of the page in the dark theme (D-230, C1 01a1cb62): no picture of its own. */
html:has(#session.role-leader:not([hidden])) .appbar { background-image: none; }
/* The places in their groups: Denné riadenie, Príprava kampane, Výsledky – a quiet name over the places of each, smaller and
   fainter than the places (11/16 in --nav-group – 4.8 : 1 on the light panel, 5.1 : 1 on the dark – under their 14/20 500;
   Owner 2026-11-12, D-232). */
#session.role-leader #leader-nav .nav-group { flex: none; margin: 16px 0 0; padding: 0 12px 4px; font-size: 11px; line-height: 16px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--nav-group); }
#session.role-leader #leader-nav .nav-group:first-child { margin-top: 0; }
#session.role-leader #leader-nav > a.nav-profile { margin-top: auto; }
#session.role-leader #leader-nav .menu-theme { flex: none; margin-top: 12px; }
@media (max-width: 47.99rem) {
  #session.role-leader #leader-nav[data-open="true"] > a { min-height: 48px; font-size: 15px; }
}
/* A computer (from 48rem): no bar over the page – PROMO and the fold stand on top of the side panel, under them a line, then
   the places; in a low window the places scroll under PROMO, each in reach. Folded to the icons (Owner 2026-10-21) the
   groups are lines and day and night two icons one under the other, each still named. */
@media (min-width: 48rem) {
  html:has(#session.role-leader:not([hidden])) { --bar: 0px; }
  html:has(#session.role-leader:not([hidden])) .appbar { position: fixed; top: 0; left: 0; z-index: 21; width: 15rem; height: auto; gap: 8px;
    padding: 20px 16px 16px; border-right: 1px solid var(--line); background: var(--surface); }
  html:has(#session.role-leader:not([hidden])) .appbar::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px;
    background: var(--line); }
  html:has(#session.role-leader:not([hidden])) .appbar .brand { order: -1; padding-left: 8px; }
  html:has(#session.role-leader:not([hidden])) .appbar .daynight { display: none; }
  html:has(#session.role-leader:not([hidden])) .nav-collapse:not([hidden]) { width: 44px; height: 44px; margin: 0; border-radius: 10px; background: transparent;
    color: var(--muted); }
  html:has(#session.role-leader:not([hidden])) .nav-collapse:not([hidden]):hover { background: var(--tone); color: var(--text); }
  #session.role-leader > #leader-nav { top: 0; z-index: 20; width: 15rem; gap: 4px; padding: 97px 16px 16px; border-right: 1px solid var(--line);
    background: var(--surface); overflow-y: auto; overscroll-behavior: contain; scroll-padding-top: 97px; }
  main:has(> #session.role-leader:not([hidden])) { padding: 24px 28px 40px calc(15rem + 28px); }
  html:has(#session.role-leader:not([hidden]) > #leader-nav[data-collapsed="true"]) .appbar { width: 4.25rem; justify-content: center; padding-inline: 12px; }
  html:has(#session.role-leader:not([hidden]) > #leader-nav[data-collapsed="true"]) .appbar::after { left: 12px; right: 12px; }
  html:has(#session.role-leader:not([hidden]) > #leader-nav[data-collapsed="true"]) .appbar .brand { position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; }
  #session.role-leader > #leader-nav[data-collapsed="true"] { width: 4.25rem; padding-inline: 12px; }
  #session.role-leader #leader-nav[data-collapsed="true"] > a { justify-content: center; gap: 0; padding: 0; }
  #session.role-leader #leader-nav[data-collapsed="true"] > a[aria-current="page"]::before { left: -12px; }
  #session.role-leader #leader-nav[data-collapsed="true"] .nav-group { height: 1px; margin: 9px 4px; padding: 0; overflow: hidden; font-size: 0;
    background: var(--line); }
  #session.role-leader #leader-nav[data-collapsed="true"] .nav-group:first-child { height: 0; margin: 0; background: none; }
  #session.role-leader #leader-nav[data-collapsed="true"] .menu-theme { grid-auto-flow: row; padding: 0; background: transparent; }
  #session.role-leader #leader-nav[data-collapsed="true"] .menu-theme button { padding: 0; }
  main:has(> #session.role-leader:not([hidden]) > #leader-nav[data-collapsed="true"]) { padding-left: calc(4.25rem + 28px); }
}
@media (min-width: 75rem) {
  main:has(> #session.role-leader:not([hidden])) { padding: 28px 40px 40px calc(15rem + 40px); }
  main:has(> #session.role-leader:not([hidden]) > #leader-nav[data-collapsed="true"]) { padding-left: calc(4.25rem + 40px); }
}

/* The confirmation (the card of the part above) in its place in the flow of the page, as it was (D-127): sticky under the
   top while the page is scrolled to a form, never over it as a fixed layer; never taller than the window, in a low one at most
   half of it, scrolling in itself – both its actions and the page under it, its save too, stay in reach. */
#session.role-leader .nav-notice:has(#nav-status:not(:empty)) { position: sticky; top: calc(var(--bar) + 12px); z-index: 15; margin: 0 auto 16px;
  max-height: calc(100vh - var(--bar) - 24px); max-height: calc(100dvh - var(--bar) - 24px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-height: 36rem) {
  #session.role-leader .nav-notice:has(#nav-status:not(:empty)) { top: calc(var(--bar) + 8px); max-height: calc(50vh - 8px); max-height: calc(50dvh - 8px); overflow-y: auto; }
}

/* The top of a place: its title (18/24 500), its actions on the right, a line under it. In Kampane "Kampane" is that title as
   in Sklad and Ľudia and the campaign with its switch the line under it (Owner 2026-11-12, D-233; the quiet "Kampane" over the
   campaign's name before). */
#session.role-leader .ws-title, #session.role-leader .workspace > h2:first-child { margin: 0; font-size: 18px; line-height: 24px; font-weight: 500;
  letter-spacing: -0.015em; color: var(--text); }
#session.role-leader :is(.ws-head, #ws-profile > .ws-title) { align-items: center; min-height: 64px; margin: 0 0 24px; padding: 0 0 16px;
  border-bottom: 1px solid var(--line); }
#session.role-leader #ws-profile > .ws-title { display: flex; }
/* Obnoviť in one place (Owner 2026-11-12, D-233; C0 01a1d18e): one rule of every head of the leader – the refresh shown stands at
   its top right, 4 px off the right edge, its room kept free; the title, the entry actions and any other control of the head
   come before that room and wrap there, never moving it. */
#session.role-leader .ws-head:has(.ws-actions > .icon-button.reload) { position: relative; }
#session.role-leader .ws-head:has(.ws-actions > .icon-button.reload) > .ws-actions { margin-right: 52px; }
#session.role-leader .ws-head:has(.ws-actions > .icon-button.reload) > .ws-title { display: flex; align-items: center; min-height: 44px; }
#session.role-leader .ws-head > .ws-actions > .icon-button.reload { position: absolute; top: 2px; right: 4px; }
#session.role-leader .campaign-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 16px; }
#session.role-leader .campaign-title { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.011em; color: var(--text); }
@media (max-width: 37.5rem) {
  #session.role-leader :is(.ws-head, #ws-profile > .ws-title) { min-height: 0; margin-bottom: 14px; padding-bottom: 12px; }
  #session.role-leader .ws-head > .ws-actions > .icon-button.reload { top: 0; }
}

/* Controls (AlignUI): 44 px, 10 px corners, 14/20 500; a plain one white with a fine line, the main one blue (D-233), a quiet one
   bare; a retry outlined in blue (C2 01a1253e: not mistaken for a new request). */
:where(#session.role-leader) :is(button:not([class]), .action-link) { min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--surface);
  color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }
:where(#session.role-leader) :is(button:not([class]), .action-link):hover { background: var(--tone); color: var(--text); }
:where(#session.role-leader) :is(button[type="submit"]:not([class]), button#setup-save, button#report-save) { background: var(--primary); color: var(--on-primary);
  box-shadow: none; }
:where(#session.role-leader) :is(button[type="submit"]:not([class]), button#setup-save, button#report-save):hover { background: var(--primary-press); color: var(--on-primary); }
:where(#session.role-leader) button:not([class]):disabled, :where(#session.role-leader) button:not([class]):disabled:hover { background: var(--surface); color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line); opacity: 0.5; }
:where(#session.role-leader) :is(button[type="submit"]:not([class]), button#setup-save, button#report-save):disabled,
:where(#session.role-leader) :is(button[type="submit"]:not([class]), button#setup-save, button#report-save):disabled:hover { background: var(--primary);
  color: var(--on-primary); box-shadow: none; opacity: 0.5; }
/* "Vytvoriť skupinu produktov | darčekov" while they work: the accent of "Uložiť skupinu" (Owner 2026-11-07, C0 01a1b5a0);
   off (a group open, a locked setting) they keep the plain look of a button that is off. */
:where(#session.role-leader) :is(button#group-add-product, button#group-add-gift):enabled { background: var(--primary); color: var(--on-primary); box-shadow: none; }
:where(#session.role-leader) :is(button#group-add-product, button#group-add-gift):enabled:hover { background: var(--primary-press); color: var(--on-primary); }
:where(#session.role-leader) button.quiet { min-height: 44px; border-radius: 10px; background: transparent; color: var(--muted); box-shadow: none; font-size: 14px; }
:where(#session.role-leader) button.quiet:hover { background: var(--tone); color: var(--text); }
:where(#session.role-leader) button[id$="-retry"] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--primary); }
:where(#session.role-leader) button.icon-button { border-radius: 10px; }
:where(#session.role-leader) button.icon-button.reload { width: 44px; background: var(--surface); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
:where(#session.role-leader) button.icon-button.reload:hover { background: var(--tone); color: var(--text); }
:where(#session.role-leader) :is(.supply-campaign button, #shift-refill) { box-shadow: inset 0 0 0 1px var(--primary); }
/* Fields (AlignUI): a fine line, white, 44 px, 14 px (16 px on a phone, so it is not zoomed); hovered the weak ground, with
   the focus a blue line (D-233); refused a red one. */
:where(#session.role-leader) input:not([type="checkbox"]):not([type="radio"]), :where(#session.role-leader) select, :where(#session.role-leader) textarea {
  min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--surface); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10, 13, 20, 0.03); font-size: 14px; font-weight: 400; }
:where(#session.role-leader) textarea { min-height: 96px; padding: 10px 12px; }
:where(#session.role-leader) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):hover { background: var(--tone); }
:where(#session.role-leader) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus-visible { background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--primary); }
:where(#session.role-leader) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):disabled { background: var(--tone); color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line); }
:where(#session.role-leader) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea)[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--pr-error); }
:where(#session.role-leader) :is(input[type="checkbox"], input[type="radio"]) { width: 18px; height: 18px; margin: 0 10px 0 0; }
:where(#session.role-leader) label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
:where(#session.role-leader) label:has(> input[type="checkbox"]), :where(#session.role-leader) label:has(> input[type="radio"]) { min-height: 44px; font-size: 14px;
  font-weight: 400; }
:where(#session.role-leader) :is(th, td) { font-size: 14px; }
:where(#session.role-leader) th { font-weight: 400; color: var(--muted); }
@media (max-width: 37.5rem) {
  :where(#session.role-leader) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { font-size: 16px; }
}
/* Tabs (the parts of a campaign, of Sklad and of Prístupy): the tabs of AlignUI – the names on a line, the chosen one with a
   blue line under it (D-233); on a phone every part in its equal column, its name on two lines if it must, nothing hidden. */
#session.role-leader .part-switch { flex-wrap: nowrap; gap: 24px; margin: 0 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
#session.role-leader .part-switch button { flex: none; min-height: 44px; margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--muted);
  font-size: 14px; font-weight: 500; white-space: nowrap; }
#session.role-leader .part-switch button:hover { background: none; color: var(--text); }
#session.role-leader .part-switch button[aria-pressed="true"] { background: none; color: var(--text); box-shadow: inset 0 -2px 0 var(--primary); }
#session.role-leader .part-switch button:focus-visible { outline-offset: -2px; }
@media (max-width: 37.5rem) {
  #session.role-leader .part-switch { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; margin-bottom: 16px; overflow: visible; }
  #session.role-leader .part-switch button { min-width: 0; min-height: 48px; padding: 4px 2px; font-size: 13px; line-height: 16px; white-space: normal; text-align: center; }
}
/* The list of the campaigns under "Vybrať inú kampaň": a popover of AlignUI, one campaign a line, the chosen one marked. Since
   D-233 (Owner 2026-11-12) it opens at its switch over the page – as wide as its names (16–28 rem, never wider than the window),
   its own scroll when long – and moves nothing; on a phone under the line of the campaign, as wide as it. */
#session.role-leader .campaign-tabs { padding: 6px; border: 0; border-radius: 12px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line), var(--pr-lift); }
#session.role-leader .campaign-switch { position: relative; }
#session.role-leader .campaign-switch > .campaign-tabs { position: absolute; top: calc(100% + 4px); left: 0; z-index: 30; width: max-content; min-width: 16rem;
  max-width: min(28rem, calc(100vw - 32px)); margin: 0; }
/* (Where it would cross the window's right edge from the switch's left, it ends at the switch's right – set by
   web/campaign-picker.js, C1 01a1d1cb.) */
#session.role-leader .campaign-switch > .campaign-tabs[data-side="end"] { left: auto; right: 0; }
@media (max-width: 37.5rem) {
  #session.role-leader .campaign-head { position: relative; }
  #session.role-leader .campaign-head .campaign-switch { position: static; }
  #session.role-leader .campaign-switch > .campaign-tabs, #session.role-leader .campaign-switch > .campaign-tabs[data-side="end"] { left: 0; right: 0; width: auto;
    min-width: 0; max-width: none; }
}
#session.role-leader .campaign-tabs button { min-height: 44px; padding: 8px 12px; border-radius: 8px; background: transparent; box-shadow: none; color: var(--text);
  font-size: 14px; font-weight: 400; }
#session.role-leader .campaign-tabs button:hover { background: var(--tone); }
/* D-228 (Owner 2026-11-08, C0 01a1bbe9): the current campaign as the current place of the v5 menu – the muted ground, a band
   of 4 px and a mark at its end in the accent (blue since D-233); "Vybrať inú kampaň" in the blue of a selection (--sel-line: a text
   of 14 px readable on the dark ground too) with an arrow turned when the list is open. */
#session.role-leader .campaign-tabs button { display: flex; align-items: center; justify-content: flex-start; gap: 12px; text-align: left; }
#session.role-leader .campaign-tabs button[aria-current="true"] { background: var(--tone); color: var(--text); font-weight: 600; box-shadow: inset 4px 0 0 var(--primary); }
#session.role-leader .campaign-tabs button[aria-current="true"]::after { content: ''; flex: none; width: 6px; height: 11px; margin: -3px 4px 0 auto;
  border: solid var(--primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
#session.role-leader button#campaign-change { display: inline-flex; align-items: center; gap: 8px; color: var(--sel-line); font-weight: 500; }
#session.role-leader button#campaign-change:hover { color: var(--sel-line); }
#session.role-leader button#campaign-change::after { content: ''; flex: none; width: 7px; height: 7px; margin-top: -4px; border: solid currentColor;
  border-width: 0 2px 2px 0; transform: rotate(45deg); }
#session.role-leader button#campaign-change[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
/* Reporting's campaign (Owner 2026-11-13, D-234): its switch a field naming the campaign chosen with the arrow of „Vybrať inú
   kampaň“, its list the one of Kampane and Sklad – at the switch's left, on a phone as wide as the field. */
#session.role-leader #reporting .report-campaign { width: 100%; }
#session.role-leader #reporting .report-campaign-pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px;
  margin: 0; padding: 0 14px; border-radius: 10px; background: var(--field); box-shadow: inset 0 0 0 1px var(--field-line); color: var(--text); font-weight: 400;
  text-align: left; }
#session.role-leader #reporting .report-campaign-pick:hover { background: var(--tone); }
#session.role-leader #reporting .report-campaign-pick::after { content: ''; flex: none; width: 7px; height: 7px; margin-top: -4px; border: solid var(--muted);
  border-width: 0 2px 2px 0; transform: rotate(45deg); }
#session.role-leader #reporting .report-campaign-pick[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
/* D-228 (C0 01a1bbe9): the rows of Promotéri and Manažéri alike – 12 px at the sides, at least 68 px (a button of 44 px and its
   room); a suspended account keeps its 3 px edge without moving the content. */
#session.role-leader .people li { min-height: 68px; padding: 12px; }
#session.role-leader .people li.is-suspended { padding-left: 12px; box-shadow: inset 3px 0 0 var(--muted); }
/* Ľudia as Sklad (Owner 2026-11-12, D-232): Promotéri | Manažéri the parts – from 80rem a card on the left (the menu of Sklad),
   narrower the band over the list as before; each list under a band naming its columns, from 64rem a row in its columns – the
   name, the e-mail and the state, the campaigns, the actions at the right end –, narrower each row its lines one under the
   other with its actions under them. The actions, their order and who sees them stay. */
#session.role-leader .people-head { display: none; }
@media (min-width: 64rem) {
  #session.role-leader .people-head { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(12rem, 1.3fr) minmax(0, 1.2fr) 15rem; gap: 16px;
    padding: 8px 12px; border-radius: 8px; background: var(--tone); color: var(--muted); font-size: 14px; line-height: 20px; }
  #session.role-leader .people-head:has(+ .people[hidden]) { display: none; }
  #session.role-leader .people-head > .people-head-actions { grid-column: 4; text-align: right; }
  #session.role-leader .people { border-top: 0; }
  #session.role-leader .people li { grid-template-columns: minmax(10rem, 1fr) minmax(12rem, 1.3fr) minmax(0, 1.2fr) 15rem; gap: 4px 16px; }
  #session.role-leader .people li > .person { grid-column: 1; grid-row: 1; }
  #session.role-leader .people li > .person-meta { grid-column: 2; grid-row: 1; }
  #session.role-leader .people li > .person-campaigns { grid-column: 3; grid-row: 1; }
  #session.role-leader .people li > .person-actions { grid-column: 4; grid-row: 1; justify-content: flex-end; }
  /* D-247: Promotéri in five columns – Meno | E-mail | Stav | Kampane | Akcie; Manažéri keep their four. */
  #session.role-leader #promoters-box .people-head, #session.role-leader #promoters-box .people li {
    grid-template-columns: minmax(8rem, 1fr) minmax(10rem, 1.3fr) minmax(6rem, 0.7fr) minmax(0, 1.2fr) 15.5rem; }
  #session.role-leader #promoters-box .people-head > .people-head-actions { grid-column: 5; }
  #session.role-leader #promoters-box .people li > .person-email { grid-column: 2; grid-row: 1; }
  #session.role-leader #promoters-box .people li > .person-status { grid-column: 3; grid-row: 1; }
  #session.role-leader #promoters-box .people li > .person-campaigns { grid-column: 4; }
  #session.role-leader #promoters-box .people li > .person-actions { grid-column: 5; }
  /* D-248 (C0 01a1f397): Promotéri centred – each column's name and its values in the middle of the column and of the row; the
     two actions side by side in two fixed places in the middle of their column – "Obnoviť heslo", then "Povoliť" or
     "Pozastaviť" – the right one in its place also where the left one is not offered. Manažéri as before. */
  #session.role-leader #promoters-box .people-head > span { text-align: center; }
  #session.role-leader #promoters-box .people li { align-items: center; }
  #session.role-leader #promoters-box .people li > :is(.person, .person-email, .person-status, .person-campaigns) { align-self: center; text-align: center; }
  /* The campaigns as one block in the middle of their column, one under another at one left edge as before (D-236). */
  #session.role-leader #promoters-box .people li > .person-campaigns .person-campaign-list { width: max-content; max-width: 100%; margin-inline: auto;
    text-align: start; }
  #session.role-leader #promoters-box .people li > .person-actions { display: grid; grid-template-columns: 8rem 7rem; justify-content: center; align-items: center;
    gap: 0.375rem; }
  #session.role-leader #promoters-box .people li > .person-actions > .person-recover { grid-column: 1; width: 100%; }
  #session.role-leader #promoters-box .people li > .person-actions > .person-change { grid-column: 2; }
}
/* D-248: "Povoliť" of Promotéri in the green of PROMO (each theme its own --green), as "Pozastaviť" is in its red. */
#session.role-leader #promoters-box .people button.person-change:not(.danger) { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green);
  box-shadow: none; }
#session.role-leader #promoters-box .people button.person-change:not(.danger):hover { background: color-mix(in srgb, var(--green) 22%, transparent); }
@media (min-width: 80rem) {
  #session.role-leader .people-layout:has(> #people-tabs:not([hidden])) { display: grid; grid-template-columns: 12rem minmax(0, 1fr); align-items: start;
    column-gap: 24px; }
  #session.role-leader .people-layout > #people-tabs { flex-direction: column; flex-wrap: nowrap; gap: 2px; margin: 0; padding: 8px; overflow: visible;
    border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
  #session.role-leader .people-layout > #people-tabs button { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%;
    min-height: 44px; padding: 0 10px; border-radius: 10px; color: var(--muted); text-align: left; white-space: normal; box-shadow: none; }
  #session.role-leader .people-layout > #people-tabs button:hover { background: var(--tone); color: var(--text); }
  #session.role-leader .people-layout > #people-tabs button[aria-pressed="true"] { background: var(--nav-current); color: var(--text); box-shadow: none; }
  #session.role-leader .people-layout > #people-tabs button[aria-pressed="true"]::after { content: ''; flex: none; width: 6px; height: 6px; margin: 0 4px 0 auto;
    border-right: 1.5px solid var(--nav-accent); border-bottom: 1.5px solid var(--nav-accent); transform: rotate(-45deg); }
  #session.role-leader .people-layout > .people-body { min-width: 0; }
}
@media (min-width: 80rem) and (min-height: 36.01rem) {
  #session.role-leader .people-layout > #people-tabs { position: sticky; top: 24px; }
}
/* Zásoby promotérov (Owner 2026-11-12, D-232 after D-228): the top bar and Obnoviť over the whole work area as in Sklad;
   "Čaká na vás" centred (D-153), its number green at 0 and turquoise above; under it the promoters and the detail of the one
   chosen – from 64rem the list a card on the left (as the menu of Sklad) and the detail on its right, narrower the list a band
   over the detail scrolling sideways (as the parts of Sklad), each name whole; choosing moves nothing of the list. */
#session.role-leader .needed .count-value { color: var(--teal); }
#session.role-leader .needed.is-calm .count-value { color: var(--green); }
#session.role-leader .supplies-body { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; margin: 16px 0 0; }
#session.role-leader #supplies-list { display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line);
  scrollbar-width: thin; }
#session.role-leader #supplies-list > .supply { flex: none; max-width: 16rem; border: 0; }
/* (D-237, Owner 2026-11-16: the name at one left edge in every state – the column of the grid at the start, not centred by the
   buttons' own rule, which moved a short name to the right.) */
#session.role-leader .supply-pick { display: grid; justify-content: start; justify-items: start; gap: 2px; width: 100%; min-height: 48px; margin: 0; padding: 6px 12px; border-radius: 0;
  background: none; box-shadow: none; color: var(--muted); font-size: 14px; font-weight: 500; text-align: left; white-space: normal; }
#session.role-leader .supply-pick:hover { background: none; color: var(--text); }
#session.role-leader .supply-pick[aria-pressed="true"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--primary); }
#session.role-leader .supply-pick:focus-visible { outline-offset: -2px; }
#session.role-leader .supply-pick .supply-name { grid-column: 1; grid-row: auto; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
#session.role-leader .supply-pick .supply-summary { grid-column: 1; grid-row: auto; font-size: 12px; line-height: 16px; color: var(--muted); }
#session.role-leader .supply.is-low .supply-pick .supply-summary { color: var(--red); }
#session.role-leader .supply.is-low .supply-pick { box-shadow: inset 3px 0 0 var(--red); }
#session.role-leader .supply.is-low .supply-pick[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--red), inset 0 -2px 0 var(--primary); }
#session.role-leader .supplies-detail { min-width: 0; }
#session.role-leader .supply-detail-name { margin: 0 0 4px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--text); }
#session.role-leader .supplies-detail > .supply-none { margin: 8px 0 0; color: var(--muted); }
/* Produkty and Darčeky of a campaign apart (Owner 2026-11-12, D-233): side by side – Produkty in the middle of the page, Darčeky on
   its right – where the detail has 36 rem, one under the other narrower; each under its quiet name, its rows over its width. The
   same in Sklady promotérov and Príjem do skladu since D-234 (Owner 2026-11-13, C0 01a1d40f); an item of a receipt gone from the
   campaign apart below both. */
#session.role-leader #supplies-detail { container: supply-kinds / inline-size; }
#session.role-leader #stock-people .supply-detail { container: supply-kinds / inline-size; }
#session.role-leader #receive-form { container: supply-kinds / inline-size; }
#session.role-leader .supply-kinds { display: grid; gap: 8px 32px; align-items: start; }
@container supply-kinds (min-width: 36rem) {
  #session.role-leader .supply-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #session.role-leader .supply-kind-product { grid-column: 1; }
  #session.role-leader .supply-kind-gift { grid-column: 2; }
  #session.role-leader .supply-kind-gone { grid-column: 1 / -1; }
}
#session.role-leader .supply-kind > h5 { margin: 12px 0 2px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); }
#session.role-leader .supply-kind > .supply-items { width: 100%; min-width: 0; }
@media (min-width: 64rem) {
  #session.role-leader .supplies-body { grid-template-columns: 18rem minmax(0, 1fr); gap: 24px; }
  #session.role-leader #supplies-list { flex-direction: column; gap: 2px; padding: 8px; overflow: visible; border: 1px solid var(--line); border-radius: 16px;
    background: var(--card); }
  #session.role-leader #supplies-list > .supply { max-width: none; }
  #session.role-leader .supply-pick { min-height: 52px; padding: 6px 12px; border-radius: 10px; }
  #session.role-leader .supply-pick:hover { background: var(--tone); }
  #session.role-leader .supply-pick[aria-pressed="true"] { background: var(--tone); box-shadow: none; }
  #session.role-leader .supply.is-low .supply-pick[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--red); }
}
@media (min-width: 64rem) and (min-height: 36.01rem) {
  #session.role-leader #supplies-list { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
}
/* D-228 (C0 01a1bd9f): with a classic scrollbar a detail opened made the page scroll and its scrollbar narrowed the page, so
   "Čaká na vás" moved by half of it (7.5 px at 1024, 768 and 390 px); the room of the scrollbar is kept while Zásoby are shown. */
html:has(#session.role-leader:not([hidden]) #ws-supplies:not([hidden])) { scrollbar-gutter: stable; }
/* D-229 (Owner 2026-11-09, C0 01a1bf76): Prevádzky one compact row each – the name and beside it the muted address on a
   computer, the address under the name on a phone, the pencil and the × on the right; lines between the rows as in v5. */
#session.role-leader .locations-list { display: block; margin: 0 0 12px; border-top: 1px solid var(--line); }
#session.role-leader .locations-list .loc { min-height: 56px; padding: 6px 4px 6px 12px; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; background: none; }
#session.role-leader .locations-list .loc .what { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
#session.role-leader .locations-list .loc-title { font-size: 14px; font-weight: 500; color: var(--text); }
#session.role-leader .locations-list .loc-address { font-size: 14px; color: var(--muted); }
@media (max-width: 37.5rem) {
  #session.role-leader .locations-list .loc .what { flex-direction: column; align-items: flex-start; }
}
/* Prevádzky as Sklad (Owner 2026-11-12, D-232): no panel of their own – the search a field with its name over it as the
   campaign of Sklad, the rows of the list as before (D-229); adding a section under a line, its title and hint, one field to type
   (D-233; the row Adresa | Názov (nepovinný) | × of D-232 before) and its actions in a bar under a line, the save on the right. */
#session.role-leader #locations { margin: 0; padding: 0; border-radius: 0; background: none; }
#session.role-leader #locations-search-box { display: grid; gap: 6px; max-width: 22rem; margin: 0 0 20px; }
#session.role-leader #locations-search-box input { margin: 0; }
#session.role-leader #location-form { margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
#session.role-leader #location-form > h4 { margin: 0 0 4px; font-size: 16px; line-height: 24px; font-weight: 500; }
#session.role-leader #location-form > .hint { max-width: 64ch; margin: 0 0 16px; font-size: 14px; line-height: 20px; }
/* One field to type since D-233 (Owner 2026-11-12, C0 01a1d18e): Adresa where a pasted row has it, „Pridať názov“ – or the name it
   shows – where a pasted row has its name. */
#session.role-leader .loc-single { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); margin: 0 0 12px; }
#session.role-leader .loc-single input { margin: 0; }
#session.role-leader .loc-single > #location-name-open { justify-self: start; margin: 0; }
#session.role-leader .loc-add-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin: 16px 0 0;
  padding: 12px 0 16px; border-top: 1px solid var(--line); }
#session.role-leader .loc-add-actions button { margin: 0; }
/* The address and „Pridať názov“ of the add part of the plan, the name under its request; pasted rows each its address, its name
   and its ×, the problem under the row; their result as a card. */
#session.role-leader .loc-fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 16px; margin: 0 0 12px; }
#session.role-leader .loc-fields label { display: grid; flex: 1 1 16rem; gap: 6px; max-width: 30rem; margin: 0; }
#session.role-leader .loc-fields button { margin: 0; }
#session.role-leader .loc-rows { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
#session.role-leader .loc-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 44px; align-items: center; gap: 4px 8px; }
#session.role-leader .loc-row input { margin: 0; }
#session.role-leader .loc-row .loc-row-problem { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 18px; color: var(--red); }
@media (max-width: 37.5rem) {
  #session.role-leader .loc-row { grid-template-columns: minmax(0, 1fr) 44px; }
  #session.role-leader .loc-row .loc-row-address { grid-column: 1; grid-row: 1; }
  #session.role-leader .loc-row .row-remove { grid-column: 2; grid-row: 1; }
  #session.role-leader .loc-row .loc-row-name { grid-column: 1; grid-row: 2; }
  #session.role-leader .loc-single { grid-template-columns: minmax(0, 1fr); }
  #session.role-leader .loc-single > #location-name-open { grid-column: 1; grid-row: 2; }
}
#session.role-leader .loc-rows-result { margin: 0 0 12px; padding: 12px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
/* „Uložiť prevádzky“ the blue of the main actions (D-233), as „Uložiť stanovište“. */
:where(#session.role-leader) button#location-rows-save:enabled { background: var(--primary); color: var(--on-primary); box-shadow: none; }
:where(#session.role-leader) button#location-rows-save:enabled:hover { background: var(--primary-press); color: var(--on-primary); }
#session.role-leader .loc-rows-result p { margin: 4px 0; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
/* The focus on Prevádzky and in the add part of the plan as in v5: a soft ring instead of the solid 2 px outline (a field keeps
   its inner blue line under it); always shown to the keyboard. */
#session.role-leader :is(#ws-locations, #plan-location) :focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus-ring); }
#session.role-leader :is(#ws-locations, #plan-location) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus-visible {
  outline: none; box-shadow: inset 0 0 0 1px var(--primary), 0 0 0 3px var(--focus-ring); }
/* A list of people as in Sklady promotérov: a row of AlignUI, 56 px, opening its detail below it (Zásoby promotérov choose
   one apart since D-232). */
#session.role-leader .supply-toggle { min-height: 56px; padding: 8px 12px; border-radius: 10px; box-shadow: none; }
#session.role-leader .supply-toggle:hover, #session.role-leader .supply-toggle[aria-expanded="true"] { background: var(--tone); }
#session.role-leader .supply.is-low .supply-toggle { box-shadow: inset 3px 0 0 var(--red); }
#session.role-leader .supply-name { font-size: 14px; font-weight: 500; color: var(--text); }
#session.role-leader .supply-detail { padding: 0 12px 16px; background: transparent; }
/* The heading row of a part of a list of items (D-209): its quiet small name of AlignUI. */
#session.role-leader tr.kind-part td { padding: 16px 12px 6px; border-bottom: 0; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted); }
/* (In a list of a promoter's items the rows start at the edge, so does the name of their part.) */
#session.role-leader .supply-items tr.kind-part td { padding-left: 0; }
/* Sklady promotérov as in v5 (Owner 2026-11-06, C0 01a1b15c, 01a1b161; v5 .p-toggle, .sm): a promoter's row its name, "Spolu N ks"
   by the arrow and the arrow, on every width (a long name wraps); opened, the items in rows of a table over the whole detail –
   Položka, Druh, Zostatok (ks), its parts Produkty and Darčeky – on a phone too. Zásoby promotérov keeps its own look. */
#session.role-leader #stock-people .supply-toggle { grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; }
#session.role-leader #stock-people .supply-toggle[aria-expanded="true"]:not(:hover) { background: transparent; }
#session.role-leader #stock-people .supply-name { grid-column: 1; grid-row: 1; }
#session.role-leader #stock-people .supply-summary { grid-column: 2; grid-row: 1; font-size: 14px; color: var(--muted); text-align: right; white-space: nowrap; }
#session.role-leader #stock-people .supply-toggle::after { grid-column: 3; grid-row: 1; justify-self: center; align-self: center; margin: 0; }
#session.role-leader #stock-people .supply-toggle[aria-expanded="true"]::after { margin: 0; }
#session.role-leader #stock-people .supply-items { display: table; width: 100%; min-width: 0; margin: 0; border-collapse: collapse; }
#session.role-leader #stock-people .supply-items :is(th, td) { padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
  overflow-wrap: anywhere; }
#session.role-leader #stock-people .supply-items th { font-weight: 400; color: var(--muted); }
#session.role-leader #stock-people .supply-items :is(th, td):nth-child(2) { padding-left: 12px; white-space: nowrap; overflow-wrap: normal; }
#session.role-leader #stock-people .supply-items :is(th, td):last-child:not(:first-child) { padding-left: 12px; text-align: right; white-space: nowrap; }
#session.role-leader #stock-people .supply-items tr.kind-part td { padding: 14px 0 6px; border-bottom: 0; }
/* D-249 (Owner 2026-11-20, C0 01a1f859; D-242, D-243, D-245): Sklady promotérov – on the left its parts (the chosen one on a tone,
   as the items of a menu), on the right the promoters chosen (a box and the name of each, "Všetci" above), in the middle the part
   chosen: the stock, "Prevzaté" being typed, the history as events with a bundle's items opened in its rows; a correction of a
   handover or the joint correction of an item in the row it concerns. Narrower the parts, the promoters and the part one under the
   other. Every rule bound to #stock-people. */
#session.role-leader #stock-people .people-layout { display: grid; gap: 16px; }
#session.role-leader #stock-people .people-parts { display: flex; flex-wrap: wrap; gap: 4px; }
#session.role-leader #stock-people .people-parts button { min-height: 44px; margin: 0; padding: 0 12px; border-radius: 10px; background: none; color: var(--muted);
  text-align: left; box-shadow: none; }
#session.role-leader #stock-people .people-parts button:hover { background: var(--tone); color: var(--text); }
#session.role-leader #stock-people .people-parts button[aria-pressed="true"] { background: var(--nav-current); color: var(--text); font-weight: 500; }
#session.role-leader #stock-people .people-pick { min-width: 0; margin: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; }
#session.role-leader #stock-people .people-pick legend { padding: 0 4px; font-size: 14px; font-weight: 600; color: var(--text); }
#session.role-leader #stock-people .people-all { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; }
#session.role-leader #stock-people .people-list { margin: 0; padding: 0; list-style: none; }
#session.role-leader #stock-people .people-list li { display: flex; align-items: center; gap: 4px; min-height: 44px; }
#session.role-leader #stock-people .people-list label.person-pick { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; }
#session.role-leader #stock-people .people-list label.person-pick input { margin: 0; }
#session.role-leader #stock-people .people-list button.person-only { flex: 1 1 auto; min-width: 0; min-height: 44px; margin: 0; padding: 0 8px; justify-content: flex-start; color: var(--text);
  text-align: left; overflow-wrap: anywhere; }
#session.role-leader #stock-people .people-list button.person-only[aria-pressed="true"] { background: var(--nav-current); color: var(--text); font-weight: 600; }
#session.role-leader #stock-people .people-work { min-width: 0; }
#session.role-leader #stock-people .person-name { margin: 0 0 8px; }
/* The tables of the chosen promoters one under the other, each scrolling inside its part: never wider than the room. */
#session.role-leader #stock-people .people-matrix { display: block; max-width: 100%; overflow-x: auto; }
#session.role-leader #stock-people #person-stock:has(.people-matrix) > * { grid-template-columns: minmax(0, 1fr); }
#session.role-leader #stock-people #person-stock:has(.people-matrix) > * > * { grid-column: 1 / -1; min-width: 0; }
#session.role-leader #stock-people .people-matrix :is(th, td) { white-space: nowrap; }
#session.role-leader #stock-people .people-matrix :is(th, td) + :is(th, td) { padding-left: 16px; }
#session.role-leader #stock-people .history-pages { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 12px 0 0; }
#session.role-leader #stock-people .history-pages > button { margin: 0; }
/* The opened bundle is a table of its own in a row of the history (Owner 2026-11-21, C0 01a1fe7f): the rules of the history
   reach only its own rows and cells (> thead/tbody > tr > th/td), so the bundle's cells keep their own spaces – „Ks každému“
   apart from „Promotéri“ – its header and its action, on a computer and a phone. */
#session.role-leader #stock-people .person-history > tbody > tr.bundle-detail-row > td { padding: 0 0 12px; }
#session.role-leader #stock-people .bundle-detail { display: table; width: 100%; margin: 0; border-collapse: collapse; }
#session.role-leader #stock-people .bundle-detail :is(th, td) { padding: 6px 12px 6px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
  vertical-align: top; font-size: 14px; line-height: 20px; }
#session.role-leader #stock-people .bundle-detail th { font-weight: 400; color: var(--muted); }
#session.role-leader #stock-people .bundle-detail :is(th, td).num { text-align: right; white-space: nowrap; }
#session.role-leader #stock-people .bundle-detail :is(th, td) + :is(th, td) { padding-left: 12px; }
#session.role-leader #stock-people .bundle-detail td.h-action { padding-right: 0; text-align: right; }
#session.role-leader #stock-people .bundle-detail td.h-action > button { margin: 0; }
#session.role-leader #stock-people .bundle-detail tr.fix-row td { padding: 0 0 12px; border-bottom: 0; }
#session.role-leader #stock-people .fix-people { margin: 0; padding: 0; border: 0; }
#session.role-leader #stock-people .fix-people ul { margin: 4px 0 0; padding: 0; list-style: none; }
#session.role-leader #stock-people .fix-people li label { display: flex; align-items: center; gap: 8px; min-height: 44px; }
#session.role-leader #stock-people .fix-form #fix-qty { width: 8rem; }
@container stock-people (min-width: 56rem) {
  #session.role-leader #stock-people .people-layout { grid-template-columns: 11rem minmax(0, 1fr) 15rem; align-items: start; gap: 24px; }
  /* The parts as a column on the panel of the menu of Nastavenie kampane (Owner 2026-11-21, C0 01a1fe7f): its padding, line,
     corners and surface of each theme, the items from its left edge. */
  #session.role-leader #stock-people .people-parts { grid-column: 1; grid-row: 1; flex-direction: column; flex-wrap: nowrap; padding: 8px; border: 1px solid var(--line);
    border-radius: 16px; background: var(--surface); }
  #session.role-leader #stock-people .people-parts button { justify-content: flex-start; padding: 0 10px; }
  #session.role-leader #stock-people .people-work { grid-column: 2; grid-row: 1; }
  #session.role-leader #stock-people .people-pick { grid-column: 3; grid-row: 1; }
}
#session.role-leader #stock-people .person-part { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 24px 0 8px; font-size: 14px;
  line-height: 20px; font-weight: 600; color: var(--text); }
#session.role-leader #stock-people .person-total { font-weight: 400; color: var(--muted); }
#session.role-leader #stock-people .person-total.qty-pos { color: var(--qty); }
#session.role-leader #stock-people #person-stock { padding: 0; }
#session.role-leader #stock-people .return-form { margin: 16px 0 0; padding: 12px 16px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
#session.role-leader #stock-people .return-items input.return-qty { width: 6rem; margin: 0; text-align: right; }
#session.role-leader #stock-people .return-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin: 12px 0 0;
  padding: 12px 0 0; border-top: 1px solid var(--line); }
#session.role-leader #stock-people .return-bar > .bundle-summary { flex: 1 1 14rem; margin: 0 auto 0 0; color: var(--text); }
#session.role-leader #stock-people .return-bar > button { margin: 0; }
#session.role-leader #stock-people { container: stock-people / inline-size; }
#session.role-leader #stock-people .person-history { display: table; width: 100%; margin: 0; border-collapse: collapse; }
#session.role-leader #stock-people .person-history > :is(thead, tbody) > tr > :is(th, td) { padding: 8px 12px 8px 0; border: 0; border-bottom: 1px solid var(--line);
  background: none; text-align: left; vertical-align: top; font-size: 14px; line-height: 20px; }
#session.role-leader #stock-people .person-history > thead > tr > th { font-weight: 400; color: var(--muted); }
#session.role-leader #stock-people .person-history > :is(thead, tbody) > tr > :is(th, td).num { text-align: right; white-space: nowrap; }
#session.role-leader #stock-people .person-history > tbody > tr > td:is(.h-when, .h-kind) { white-space: nowrap; }
#session.role-leader #stock-people .person-history > tbody > tr > td.h-action { padding-right: 0; text-align: right; }
#session.role-leader #stock-people .person-history > tbody > tr > td.h-action > button { margin: 0; }
#session.role-leader #stock-people .person-history > tbody > tr.correction-row > td { padding: 0 0 12px; }
#session.role-leader #stock-people .correction-form { display: grid; gap: 8px; max-width: 34rem; padding: 12px 16px; border-radius: 12px; background: var(--tone); }
#session.role-leader #stock-people .correction-form label { display: grid; gap: 4px; }
#session.role-leader #stock-people .correction-form #correction-qty { width: 8rem; }
#session.role-leader #stock-people .correction-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
#session.role-leader #stock-people .correction-actions > button { margin: 0; }
/* „Prevzaté“ without a known outcome or a record that blocks a new one (C2 01a1ec14): a card over the content of Sklad –
   what it says, the request and its action – shown also when no promoter's detail is. */
#session.role-leader #return-kept { display: grid; justify-items: start; gap: 8px; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--tone); }
#session.role-leader #return-kept > :is(p, button) { margin: 0; }
/* D-249: the joint correction of a bundle without a known outcome or a record that blocks a new one likewise. */
#session.role-leader #fix-kept { display: grid; justify-items: start; gap: 8px; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--tone); }
#session.role-leader #fix-kept > :is(p, button) { margin: 0; }
/* Where the part is narrower than 40 rem (a phone, a tablet beside the menu) a move of the history is a card: the kind and its
   pieces, the item, when and who, the note and the action. */
@container stock-people (max-width: 40rem) {
  #session.role-leader #stock-people .person-history > thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #session.role-leader #stock-people .person-history > :is(thead, tbody) > tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 10px 0;
    border-bottom: 1px solid var(--line); }
  #session.role-leader #stock-people .person-history > tbody > tr > td { padding: 0; border: 0; }
  #session.role-leader #stock-people .person-history > tbody > tr > td.h-kind { grid-column: 1; grid-row: 1; font-weight: 500; }
  #session.role-leader #stock-people .person-history > tbody > tr > td.h-qty { grid-column: 2; grid-row: 1; }
  #session.role-leader #stock-people .person-history > tbody > tr > td:is(.h-item, .h-note, .h-action) { grid-column: 1 / -1; }
  #session.role-leader #stock-people .person-history > tbody > tr > td.h-action:empty { display: none; }
  #session.role-leader #stock-people .person-history > tbody > tr > td.h-action { text-align: left; padding-top: 6px; }
  #session.role-leader #stock-people .person-history > tbody > tr > td:is(.h-when, .h-who) { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
  #session.role-leader #stock-people .person-history > tbody > tr:is(.correction-row, .bundle-detail-row) { display: block; padding: 0 0 12px; }
  #session.role-leader #stock-people .person-history > tbody > tr > td.h-whom { grid-column: 1 / -1; }
}

/* Prehľad (D-154, D-170; D-225 after AlignUI v5, Owner 2026-11-04, C0 01a1a816): the day as a field with its name above it;
   the shifts as a table of AlignUI as soon as the list itself has room for its columns – by the width of its own content, not
   of the window (C0 01a1a816) – with its band of headings, else as rows of labelled lines; a word of a cell never split, a
   table wider than its room scrolls in itself; open in green, closed in red, in words. */
#session.role-leader .day-pick { gap: 12px; margin: 0 0 20px; }
#session.role-leader .day-pick-label { color: var(--muted); }
#session.role-leader .day-shown { color: var(--strong); font-weight: 500; }
#session.role-leader #day { container: day-list / inline-size; }
#session.role-leader .day-table tr { column-gap: 16px; row-gap: 2px; padding: 12px 4px; }
#session.role-leader .day-table tbody tr:last-child { border-bottom: 1px solid var(--line); }
#session.role-leader .day-table td { font-size: 14px; overflow-wrap: break-word; }
#session.role-leader .day-table td.c-name { font-size: 14px; font-weight: 500; }
#session.role-leader .day-table td.c-name a { color: var(--text); }
#session.role-leader .day-table td.c-place { color: var(--muted); }
#session.role-leader .day-table td.c-campaign { align-items: center; font-size: 12px; }
#session.role-leader .day-table td.c-campaign::before { width: 10px; height: 10px; border-radius: 3px; }
#session.role-leader #day-previous h3 { margin: 32px 0 12px; }
/* Today without a shift of its own: its earlier open shifts start right under the day, no room left above them (Owner 2026-11-07,
   C0 01a1b5fc). */
#session.role-leader #day:has(> #day-table[hidden]) > #day-previous h3 { margin-top: 0; }
@container day-list (min-width: 40rem) {
  #session.role-leader .day-table { overflow-x: auto; overscroll-behavior-x: contain; }
  #session.role-leader .day-table thead { display: block; }
  #session.role-leader .day-table thead tr { padding: 0; border: 0; border-radius: 8px; background: var(--tone); }
  #session.role-leader .day-table th { padding: 8px 12px; border: 0; font-size: 14px; font-weight: 400; color: var(--muted); text-align: left; white-space: nowrap; }
  /* The name, the place and the campaign share what is left; the fixed columns take what their headings need (at 1024 px
     beside the open panel "Stánok Promenáda" wraps between its words only). */
  #session.role-leader #day-table tr { grid-template-columns: minmax(6.5rem, 1.3fr) minmax(6.5rem, 1.5fr) 6rem 6rem 6rem minmax(6.5rem, 1.2fr); }
  #session.role-leader #day-previous-table tr { grid-template-columns: minmax(6.5rem, 1.3fr) minmax(6.5rem, 1.5fr) 6rem 6rem 6rem 7.5rem minmax(6.5rem, 1.2fr); }
  #session.role-leader .day-table tr { align-items: center; column-gap: 0; padding: 0; border-top: 0; }
  #session.role-leader .day-table tbody tr { min-height: 56px; border-bottom: 1px solid var(--line); }
  #session.role-leader .day-table :is(th, td:is(.c-name, .c-place, .c-state, .c-conv, .c-value, .c-day, .c-campaign)) { grid-column: auto; grid-row: auto; }
  #session.role-leader .day-table td { padding: 0 12px; }
  #session.role-leader .day-table td.c-state { align-self: center; justify-self: start; }
  #session.role-leader .day-table :is(td.c-conv, td.c-value, th.num) { text-align: right; }
  #session.role-leader .day-table td:is(.c-conv, .c-value, .c-day)::before { content: none; }
  #session.role-leader .day-table td.c-place { color: var(--text); }
  #session.role-leader .day-table td.c-campaign { font-size: 14px; color: var(--text); }
}
/* The detail of a shift (D-225, C0 01a1a816): back, the promoter's name as the title and the state in words beside it; then
   cards of AlignUI, each under its heading – Prevádzka a kampaň and Deň a časy side by side where the detail has room, the
   results with each number large under its quiet name, the row of the report, the stock (folded) and the conversations with
   their button beside their heading; one under another on a phone. */
#session.role-leader #shift-detail { container: shift-detail / inline-size; }
#session.role-leader .shift-head { gap: 8px; margin: 0 0 16px; }
#session.role-leader .shift-name { font-size: 18px; line-height: 24px; font-weight: 500; letter-spacing: -0.015em; color: var(--text); }
#session.role-leader .shift-status { font-size: 14px; font-weight: 500; }
#session.role-leader .shift-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
#session.role-leader :is(.shift-place, .shift-when, .shift-totals-part, #shift-result, #shift-stock, .shift-rows-part) { min-width: 0; margin: 0; padding: 16px;
  border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
#session.role-leader .shift-body h3 { margin: 0 0 12px; font-size: 16px; line-height: 24px; font-weight: 500; }
#session.role-leader .shift-body > :is(#shift-close-box, #shift-close-status) { margin: 0; }
/* (An empty line of the closure's state keeps its place for what it announces, but takes no row of the parts.) */
#session.role-leader .shift-body > #shift-close-status:empty { position: absolute; }
@container shift-detail (min-width: 44rem) {
  #session.role-leader .shift-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #session.role-leader .shift-body > :not(.shift-place, .shift-when) { grid-column: 1 / -1; }
}
/* Named values: the name small and quiet above its value. */
#session.role-leader :is(.shift-where, .shift-facts, .shift-stats) { display: grid; gap: 12px 16px; margin: 0; }
#session.role-leader :is(.shift-where, .shift-facts, .shift-stats) > div { display: grid; align-content: start; gap: 2px; min-width: 0; }
#session.role-leader :is(.shift-where, .shift-facts, .shift-stats) dt { font-size: 12px; line-height: 16px; color: var(--muted); }
#session.role-leader :is(.shift-where, .shift-facts) dd { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); overflow-wrap: break-word; }
#session.role-leader .shift-where { grid-template-columns: minmax(0, 1fr); }
#session.role-leader .shift-where .where-campaign { align-items: center; }
#session.role-leader .shift-where .where-campaign::before { width: 10px; height: 10px; border-radius: 3px; }
#session.role-leader .shift-when { container: shift-when / inline-size; }
#session.role-leader .shift-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container shift-when (min-width: 32rem) {
  #session.role-leader .shift-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* The results: the number of each (20/28 500) under its name, two in a row on a narrow card, five where they fit. */
#session.role-leader .shift-totals-part { container: shift-totals / inline-size; }
#session.role-leader .shift-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#session.role-leader .shift-stats dd { margin: 0; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.015em; color: var(--text); white-space: nowrap; }
@container shift-totals (min-width: 36rem) {
  #session.role-leader .shift-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
#session.role-leader #shift-result .report-scroll { margin-bottom: 0; }
/* The stock of the promoter: a card whose heading folds and opens it, with its mark of a fold. */
#session.role-leader #shift-stock { padding: 0 16px; }
#session.role-leader #shift-stock[open] { padding-bottom: 16px; }
#session.role-leader #shift-stock > summary { justify-content: space-between; gap: 12px; min-height: 56px; padding: 0; font-size: 16px; line-height: 24px;
  font-weight: 500; color: var(--text); }
#session.role-leader #shift-stock > summary.is-low { color: var(--red); }
#session.role-leader #shift-stock > summary:hover { text-decoration: none; }
#session.role-leader #shift-stock > summary::after { content: ''; flex: none; width: 0.5rem; height: 0.5rem; margin: 0 0.25rem 0.2rem 0;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
#session.role-leader #shift-stock[open] > summary::after { margin-bottom: -0.1rem; transform: rotate(-135deg); }
/* The conversations: their heading and "Zobraziť / Skryť rozhovory" in one line; the table of the promoter's Posledné rozhovory
   (the part above) where the window allows it (from 52rem, as before), else cards with their labels. */
#session.role-leader .shift-part-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
#session.role-leader .shift-part-head h3 { margin: 0; }
#session.role-leader .shift-part-head button { margin: 0; }
#session.role-leader .shift-rows-part > :not(.shift-part-head, [hidden]):not(:empty) { margin: 12px 0 0; }
#session.role-leader .shift-rows-part > .state:empty { margin: 0; }
#session.role-leader #shift-rows-table { margin-bottom: 0; }
@media (max-width: 51.99rem) {
  #session.role-leader #shift-rows-table td { padding: 0; border: 0; }
}

/* Nastavenie (D-206, D-207): blocks of AlignUI Settings one under another, each closed by a line – the name and the period as
   rows of a name and a value with their pencil, the questions as cards, the products and the gifts side by side, the
   groups, the payment –, then the one save at the right under a line. */
#session.role-leader #campaign-setup > .setup-form > :is(#own-campaign-form, .setup-block, #setup-report) { max-width: none; margin: 0 0 24px;
  padding: 0 0 24px; border-bottom: 1px solid var(--line); }
#session.role-leader #campaign-setup h3 { margin: 0 0 4px; font-size: 16px; line-height: 24px; font-weight: 500; }
#session.role-leader #campaign-setup .setup-column h4 { margin: 0 0 10px; font-size: 14px; line-height: 20px; font-weight: 500; }
#session.role-leader #campaign-setup :is(.setup-block, .setup-column) > .hint { max-width: 64ch; margin: 0 0 16px; font-size: 14px;
  line-height: 20px; color: var(--muted); }
/* The head of a section as in v5 (C0 01a1a957): its title and its description, a line under them; an empty state below it. */
#session.role-leader #campaign-setup .setup-block > h3:not(:has(+ .hint:not([hidden], #closing-none))),
#session.role-leader #campaign-setup .setup-block > h3 + .hint:not([hidden], #closing-none) { max-width: none; margin-bottom: 16px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line); }
/* (The two lists keep one width each – D-216: the name of every product and gift one width –, not the 3 : 2 of v5.) */
#session.role-leader #campaign-setup .setup-catalogue .setup-columns { margin: 0; gap: 16px 24px; }
/* The groups as the products and the gifts (Owner 2026-11-13, D-234): a column of each kind, its „Vytvoriť skupinu …“ on top. */
#session.role-leader #campaign-setup .group-columns { margin: 0 0 16px; gap: 16px 24px; }
#session.role-leader #campaign-setup .group-columns .setup-column > button { margin: 0 0 12px; }
#session.role-leader #own-campaign-form .summary { gap: 0; margin: 0; }
#session.role-leader #own-campaign-form .own-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: center; gap: 12px; min-height: 52px;
  border-bottom: 1px solid var(--line); }
#session.role-leader #own-campaign-form .own-row:last-child { border-bottom: 0; }
#session.role-leader #own-campaign-form .own-row dt { font-size: 14px; color: var(--muted); }
#session.role-leader #own-campaign-form .own-row dd { color: var(--text); font-weight: 500; }
/* The pencils (and ✓ × of an open row) at the right end of their rows, one under the other (the reference of Owner 2026-11-05). */
#session.role-leader #own-campaign-form .own-row .row-icons { margin-left: auto; }
/* The menu of the sections (Owner 2026-11-05, C0 01a1ab99; v5 .secmenu): a band of its items under the parts of the
   campaign, the marked one underlined, sticky under the bar in a window tall enough only (as the bar of the actions,
   D-127); on a phone over the whole width, without icons. The form is a container: its lists follow its own width. */
#session.role-leader #campaign-setup > .setup-form { container: setup-form / inline-size; }
/* In the light theme the form is a white card with a fine line around it (D-231), its top on the line of the menu's card. */
#session.role-leader #campaign-setup > .setup-form { margin-top: var(--card-pad); border-radius: var(--card-radius); background: var(--card);
  box-shadow: var(--card-around); }
#session.role-leader .setup-sections { display: flex; gap: 2px; margin: -8px 0 20px; overflow-x: auto; border-bottom: 1px solid var(--line);
  background: var(--surface); scrollbar-width: none; }
#session.role-leader .setup-sections button { display: flex; flex: none; align-items: center; justify-content: flex-start; gap: 8px; min-height: 44px; margin: 0; padding: 0 10px; border: 0;
  border-radius: 0; background: none; box-shadow: none; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
#session.role-leader .setup-sections button:hover { background: none; color: var(--text); }
#session.role-leader .setup-sections .icon { flex: none; width: 18px; height: 18px; color: var(--faint); }
#session.role-leader .setup-sections button[aria-current="true"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--primary); }
#session.role-leader .setup-sections button[aria-current="true"] .icon { color: var(--primary); }
#session.role-leader .setup-sections .setup-go-mark { display: none; }
/* Each section comes into sight under the sticky band (its height and a gap). */
#session.role-leader #campaign-setup :is(#own-campaign-form, .setup-form h3) { scroll-margin-top: 60px; }
@media (min-height: 36.01rem) {
  #session.role-leader .setup-sections { position: sticky; top: var(--bar); z-index: 4; }
}
@media (max-width: 47.99rem) {
  #session.role-leader .setup-sections { margin-inline: -1rem; padding-inline: 1rem; }
}
@media (max-width: 37.5rem) {
  #session.role-leader .setup-sections .icon { display: none; }
}
/* On a computer Nastavenie is a compact column, about as in the reference – the form at most 50rem: its products and gifts
   of one width (D-216) keep names of 220 px (D-209). From 80rem the menu is a card on the left of the form, as in the
   reference (v5: 15rem, a gap of 56 px), sticky in a window tall enough; its marked item on a tone with its arrow. */
@media (min-width: 64rem) {
  #session.role-leader #campaign-setup { max-width: 50rem; }
}
@media (min-width: 80rem) {
  #session.role-leader #campaign-setup { display: grid; grid-template-columns: 15rem minmax(0, 50rem); align-items: start; gap: 56px; max-width: none; }
  #session.role-leader .setup-sections { flex-direction: column; margin: 0; padding: 8px; overflow: visible; border: 1px solid var(--line); border-radius: 16px; }
  #session.role-leader .setup-sections button { padding: 0 10px; border-radius: 10px; text-align: left; white-space: normal; }
  #session.role-leader .setup-sections button[aria-current="true"] { background: var(--nav-current); box-shadow: none; }
  #session.role-leader .setup-sections button[aria-current="true"] .setup-go-mark { display: block; width: 20px; height: 20px; margin-left: auto; padding: 4px;
    border-radius: 6px; background: var(--raised); color: var(--nav-accent); }
  #session.role-leader #campaign-setup :is(#own-campaign-form, .setup-form h3) { scroll-margin-top: 24px; }
}
@media (min-width: 80rem) and (min-height: 36.01rem) {
  #session.role-leader .setup-sections { top: 24px; }
}
/* A question (of a conversation or before the close) as a card: its number, its name and its moves on top; under them its
   kind, "Povinné" and "Zobraziť v %"; its options below. The header of the table stays for assistive technologies. */
#session.role-leader :is(#schema-table, #closing-table) { display: block; overflow: visible; margin: 0 0 10px; }
#session.role-leader :is(#schema-table, #closing-table) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#session.role-leader :is(#schema-table, #closing-table) tbody { display: grid; gap: 10px; }
#session.role-leader :is(#schema-table, #closing-table) tr { display: grid; grid-template-columns: 22px 13rem auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 12px; border: 0; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
#session.role-leader :is(#schema-table, #closing-table) td { display: block; min-width: 0; padding: 0; border: 0; }
#session.role-leader :is(#schema-table, #closing-table) td:nth-child(1) { grid-column: 1; grid-row: 1; font-size: 12px; font-weight: 500; color: var(--muted);
  text-align: center; }
#session.role-leader :is(#schema-table, #closing-table) td:nth-child(2) { grid-column: 2 / 5; grid-row: 1; }
#session.role-leader :is(#schema-table, #closing-table) td:nth-child(4) { grid-column: 5; grid-row: 1; }
#session.role-leader :is(#schema-table, #closing-table) td:nth-child(5) { display: contents; }
#session.role-leader :is(#schema-table, #closing-table) td:nth-child(5) > select { grid-column: 2; grid-row: 2; width: 100%; min-width: 0; margin: 0; }
#session.role-leader :is(#schema-table, #closing-table) td:nth-child(3) { position: relative; display: flex; grid-column: 3; grid-row: 2; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 8px; font-size: 14px; color: var(--text); }
#session.role-leader :is(#schema-table, #closing-table) td:nth-child(3) input { margin: 0; }
#session.role-leader :is(#schema-table, #closing-table) td:nth-child(3)::before { content: none; }
/* "Povinné" beside its box is its label, and the whole cell of 44 px chooses it (C2 01a1a777). */
#session.role-leader :is(#schema-table, #closing-table) .required-name { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin: 0;
  font-size: 14px; font-weight: 400; color: var(--text); cursor: pointer; }
#session.role-leader :is(#schema-table, #closing-table) .required-name::before { content: ''; position: absolute; inset: 0; }
#session.role-leader :is(#schema-table, #closing-table) td:nth-child(3):has(input:disabled) .required-name { color: var(--muted); cursor: default; }
#session.role-leader :is(#schema-table, #closing-table) td:nth-child(5) > .field-percent { grid-column: 4 / -1; grid-row: 2; margin: 0; }
/* "Zobraziť v %" on the middle line of the kind and "Povinné": its label without the gap under a label of a form. */
#session.role-leader :is(#schema-table, #closing-table) .field-percent label { gap: 10px; margin: 0; font-size: 14px; }
#session.role-leader :is(#schema-table, #closing-table) .field-percent input { margin: 0; }
#session.role-leader :is(#schema-table, #closing-table) td:nth-child(5) > div:not(.field-percent) { grid-column: 2 / -1; grid-row: 3; display: grid; gap: 6px;
  max-width: 28rem; }
#session.role-leader :is(#schema-table, #closing-table) td > div > div { margin: 0; }
#session.role-leader :is(#schema-table, #closing-table) input:not([type="checkbox"]) { width: 100%; min-width: 0; margin: 0; }
#session.role-leader :is(#schema-table, #closing-table) td:nth-child(5) > div:not(.field-percent) > button { justify-self: start; margin: 0; }
/* A narrow work area – a phone, or a window up to 64rem beside the side panel (C1 01a1a76b: at 768 px the × of a question
   stood past the card's edge): the compact card, the kind and its switches each on its own line. The products and the
   gifts one under the other in every form narrower than 49rem: side by side they need 784 px for names of 220 px each
   (D-209; C9 01a1aaff: at 1024 px 192 px; C10 01a1ab0e: at 650 px, without the panel, 137 px); measured on the form, as
   beside the menu of its sections it is narrower than the window says (C0 01a1ab99: at 1280 px about 664 px). */
@container setup-form (max-width: 48.99rem) {
  #session.role-leader .setup-columns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem), (min-width: 48rem) and (max-width: 63.99rem) {
  #session.role-leader :is(#schema-table, #closing-table) tr { grid-template-columns: 22px minmax(0, 1fr) auto; padding: 10px; }
  #session.role-leader :is(#schema-table, #closing-table) td:nth-child(2) { grid-column: 2; }
  #session.role-leader :is(#schema-table, #closing-table) td:nth-child(4) { grid-column: 3; }
  #session.role-leader :is(#schema-table, #closing-table) td:nth-child(5) > select { grid-column: 1 / -1; }
  #session.role-leader :is(#schema-table, #closing-table) td:nth-child(3) { grid-column: 1 / -1; grid-row: 3; padding: 0; }
  #session.role-leader :is(#schema-table, #closing-table) td:nth-child(5) > .field-percent { grid-column: 1 / -1; grid-row: 4; }
  #session.role-leader :is(#schema-table, #closing-table) td:nth-child(5) > div:not(.field-percent) { grid-column: 1 / -1; grid-row: 5; max-width: none; }
}
#session.role-leader :is(#setup-products, #setup-gifts) > .setup-row { gap: 4px 6px; }
#session.role-leader .setup-row .setup-price { text-align: right; }
/* A group (v5): a card with its name, Upraviť and × on top and its members under them as a table – a band naming their kind,
   each member a row of its own (Owner 2026-11-05, C0 01a1a957); a long list scrolls in itself under its band. */
#session.role-leader .group-list { gap: 10px; }
#session.role-leader .group-list > .group-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px;
  padding: 8px 8px 12px 16px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
#session.role-leader .group-list > .group-row .group-name { font-size: 14px; line-height: 20px; font-weight: 500; }
#session.role-leader .group-list > .group-row > button { margin: 0; }
/* (A long list of members scrolls in its box; at its edge, or over a box that does not scroll, the wheel goes on to the
   page – no rule here keeps the wheel in the box, Owner 2026-11-07, C0 01a1b5a0.) */
#session.role-leader .group-members-box { grid-column: 1 / -1; max-height: 20rem; margin: 4px 8px 0 0; overflow-y: auto; }
#session.role-leader .group-members { display: table; width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font-size: 14px; }
#session.role-leader .group-members th { position: sticky; top: 0; padding: 8px 12px; border: 0; border-radius: 8px; background: var(--tone); color: var(--muted);
  font-weight: 400; text-align: left; }
#session.role-leader .group-members td { padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--text); overflow-wrap: break-word; }
#session.role-leader .group-members-box > .group-none { margin: 0; padding: 8px 12px; color: var(--muted); }
#session.role-leader .group-form { border: 0; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
/* The items of a group's form in a box of one height while it is open (Owner 2026-11-07, C0 01a1b5a0): the search changes
   what is in it, never the height of the page, so the page does not jump while typing; "Nič sa nenašlo." in its place. */
#session.role-leader .group-results { height: 18rem; margin: 0.25rem 0 0.75rem; overflow-y: auto; }
#session.role-leader .group-results > .group-items { max-height: none; margin: 0; overflow: visible; }
#session.role-leader .group-results > #group-none { margin: 0.5rem 0; }
/* Pridelení promotéri (D-227, Owner 2026-11-07, C0 01a1b773): the search and "Označiť všetkých dostupných" over the list, a free
   promoter marked by the box before the name, the result of the assignments as a card, the count of the marked and "Prideliť
   vybraných" in the bar of the action at the foot of the window, as the bar of Centrálny sklad. */
#session.role-leader #campaign-promoters > .assign-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin: 0 0 16px; }
#session.role-leader #campaign-promoters > .assign-tools label { display: grid; flex: 1 1 16rem; gap: 6px; max-width: 24rem; margin: 0; }
#session.role-leader #campaign-promoters > .assign-tools :is(input, #assign-all) { margin: 0; }
#session.role-leader #campaign-promoters > #own-promoters-table { display: table; width: 100%; }
#session.role-leader #own-promoters td { vertical-align: middle; }
#session.role-leader #own-promoters .assign-pick { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; }
#session.role-leader #own-promoters .assign-pick input { flex: none; margin: 0; }
#session.role-leader #campaign-promoters > .assign-live > .assign-result { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
#session.role-leader #campaign-promoters > .assign-live > .assign-result p { margin: 4px 0; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
#session.role-leader #campaign-promoters > .assign-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 24px; margin: 16px 0 0;
  padding: 12px 0 16px; border-top: 1px solid var(--line); background: var(--surface); }
#session.role-leader #campaign-promoters > .assign-bar > .assign-count { flex: 1 1 16rem; margin: 0; font-weight: 500; color: var(--text); }
#session.role-leader #campaign-promoters > .assign-bar > #assign-submit { margin: 0; }
:where(#session.role-leader) button#assign-submit:enabled { background: var(--primary); color: var(--on-primary); box-shadow: none; }
:where(#session.role-leader) button#assign-submit:enabled:hover { background: var(--primary-press); color: var(--on-primary); }
@media (min-height: 36.01rem) {
  #session.role-leader #campaign-promoters > .assign-bar { position: sticky; bottom: 0; z-index: 3; }
}
@media (max-width: 37.5rem) {
  #session.role-leader #campaign-promoters > .assign-bar > #assign-submit { flex: 1 0 100%; }
}
#session.role-leader #shift-report > .setup-actions { justify-content: flex-end; gap: 8px; margin: 0;
  padding: 12px 0 16px; border-top: 1px solid var(--line); background: var(--surface); }
/* The actions of Nastavenie in a compact bar at the right end (Owner 2026-11-12, D-233): their own small ground with a fine line,
   no band of the page's width behind them. */
#session.role-leader #campaign-setup > .setup-form > .setup-actions { justify-content: flex-end; gap: 8px; width: fit-content; max-width: 100%;
  margin: 16px 0 0 auto; padding: 8px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--pr-lift); }
#session.role-leader :is(#campaign-setup > .setup-form, #shift-report) > .setup-actions button { margin: 0; }
/* "Zrušiť zmeny" of Nastavenie a plain control with its fine line, as in the reference and v5 (C12 01a1abca: bare text). */
#session.role-leader #campaign-setup > .setup-form > .setup-actions #setup-reset { padding: 0 14px; background: var(--surface); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
#session.role-leader #campaign-setup > .setup-form > .setup-actions #setup-reset:hover { background: var(--tone); }
/* The bar of the actions of Nastavenie (v5 formbar): at the foot of the window while the form goes on, in a window tall
   enough only – in a low one it stays in the flow, so it never shares the window with the sticky confirmation (D-127). */
@media (min-height: 36.01rem) {
  #session.role-leader #campaign-setup > .setup-form > .setup-actions { position: sticky; bottom: 12px; z-index: 3; }
}
/* Spôsob platby closed by its line like the sections above it; Zásoby, the last section (Owner 2026-11-07, C0 01a1b705), ends at
   the bar of the actions. */
#session.role-leader #campaign-setup > .setup-form > .payment-block { max-width: none; margin: 0 0 24px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
#session.role-leader #campaign-setup > .setup-form > .stock-block:has(> #setup-stock) { margin: 0; border-bottom: 0; }
@media (max-width: 37.5rem) {
  #session.role-leader #campaign-setup > .setup-form > .setup-actions { width: auto; margin-left: 0; }
  #session.role-leader #campaign-setup > .setup-form > .setup-actions button { flex: 1 1 0; }
}

/* Sklad (Owner 2026-10-21, C0 01a16062; D-188, P05): the campaign as a narrow field with its name over it, the parts as tabs;
   the items as the table of AlignUI, "Komu" as a card beside it where the window allows, the summary and the one action at
   the right under them; the receipt likewise. */
#session.role-leader #ws-context label { flex: 0 1 22rem; display: grid; gap: 6px; margin: 0 0 20px; }
/* The campaign's line of Kampane and Sklad over the whole width (D-234); none without a campaign of the unit. */
#session.role-leader #ws-context > .campaign-head { flex: 1 1 100%; }
#session.role-leader #ws-context:has(> #stock-empty:not([hidden])) > .campaign-head { display: none; }
#session.role-leader #ws-context select { margin: 0; }
/* The parts of Sklad (D-249, Owner 2026-11-20, C0 01a1f859): a horizontal band over the content at every width – the band of the
   parts of the leader (.part-switch), the content below it as wide as the workspace. (It replaces the menu on the left from 80rem
   of Owner 2026-11-07, C0 01a1b53f.) */
#session.role-leader #ws-stock > .stock-body { min-width: 0; }
@media (min-width: 52.01rem) {
  #session.role-leader :is(.bundle-items, .receive-items) th { padding: 8px 12px; border: 0; background: var(--tone); white-space: nowrap; }
  #session.role-leader :is(.bundle-items, .receive-items) th:first-child { border-radius: 8px 0 0 8px; }
  #session.role-leader :is(.bundle-items, .receive-items) th:last-child { border-radius: 0 8px 8px 0; }
  #session.role-leader :is(.bundle-items, .receive-items) td { padding: 8px 12px; height: 60px; }
}
#session.role-leader :is(.bundle-items td.b-name, .receive-items td.r-name) { color: var(--text); font-weight: 500; }
/* A positive count shown in Sklad – available, its total and what stays, a promoter's balances and „Spolu N ks“, the balance of a
   receipt – in a turquoise (Owner 2026-11-12, D-232); since D-234 (Owner 2026-11-13, C0 01a1d40f) deeper and fuller – #006F67 light
   (5.3 : 1 and more on its surfaces and the gradient), #00B3AA dark (5.8 : 1 and more) – and in every view of stock: also Zásoby
   promotérov, the stock of a shift in Prehľad, the promoter's Sklad and "Mám N ks" of a conversation. A zero and an empty or unknown
   value stay neutral; a shortage and a low count keep their red (a low row gets no turquoise). */
#session.role-leader :is(#ws-stock, #ws-supplies, #shift-stock-table) :is(td, .supply-summary).qty-pos:not(.is-short) { color: var(--qty); }
/* Centrálny sklad as in v5 (Owner 2026-11-06, C0 01a1b030; v5 .stock-layout, .st, .people-card, .formbar): the items, and
   "Komu" as a card beside them on a work area of 55.5rem (a table of 36rem, a gap and its 18rem; 62rem before the menu of
   Sklad, C0 01a1b53f), else under them; the summary and the one action in a bar under a
   line, at the foot of a window tall enough (D-127, as the bar of Nastavenie). The seven cells of a row stay in their order
   (the live suites read them by it): the kind and the price are drawn under the name; a table from 36rem of its own width,
   else each item a card – its name and kind, Dostupné | Spolu | Zostatok on one line, Ks každému on a line of its own. */
#session.role-leader #stock-central { container: stock-central / inline-size; }
#session.role-leader #transfer { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 24px; margin: 0; }
#session.role-leader #transfer > * { min-width: 0; }
#session.role-leader #transfer > .bundle-items { container: bundle-items / inline-size; display: block; width: 100%; max-width: none; margin: 0; overflow: visible; }
#session.role-leader #transfer > .bundle-items > :is(thead, tbody) { display: block; }
#session.role-leader #transfer > .bundle-people { max-width: none; margin: 0; padding: 16px; border-radius: 16px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line); }
#session.role-leader .bundle-people legend { float: left; width: 100%; margin: 0 0 4px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--text); }
#session.role-leader .bundle-people legend ~ * { clear: both; }
#session.role-leader .bundle-all { font-weight: 500; }
#session.role-leader #transfer > .bundle-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 24px; margin: 0; padding: 12px 0 16px;
  border-top: 1px solid var(--line); background: var(--surface); }
#session.role-leader #transfer > .bundle-bar > .bundle-summary { flex: 1 1 16rem; max-width: none; margin: 0; font-weight: 500; color: var(--text); }
#session.role-leader #transfer > .bundle-bar > #transfer-submit { margin: 0; }
@media (min-height: 36.01rem) {
  #session.role-leader #transfer > .bundle-bar { position: sticky; bottom: 0; z-index: 3; }
}
@container stock-central (max-width: 37.5rem) {
  #session.role-leader #transfer > .bundle-bar > #transfer-submit { flex: 1 0 100%; }
}
@container stock-central (min-width: 55.5rem) {
  #session.role-leader #transfer { grid-template-columns: minmax(0, 1fr) 18rem; }
  #session.role-leader #transfer > .bundle-items { grid-column: 1; grid-row: 1; }
  #session.role-leader #transfer > .bundle-people { grid-column: 2; grid-row: 1; }
  #session.role-leader .bundle-promoters { grid-template-columns: minmax(0, 1fr); }
  #session.role-leader #transfer > .bundle-bar { grid-column: 1 / -1; }
}
@media (max-width: 52rem) {
  #session.role-leader :is(.bundle-items, .receive-items) tr.kind-part td { padding: 16px 0 6px; }
}
/* An item as a card (v5 .st): its name, its kind and price under it, then the three values with their names over them. */
#session.role-leader #transfer > .bundle-items thead { display: none; }
#session.role-leader #transfer > .bundle-items tbody tr { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 12px; padding: 12px 0; border: 0;
  border-bottom: 1px solid var(--line); }
#session.role-leader #transfer > .bundle-items tbody tr.kind-part { display: block; padding: 16px 0 6px; }
#session.role-leader #transfer > .bundle-items tbody td { display: block; height: auto; padding: 0; border: 0; text-align: left; }
#session.role-leader #transfer > .bundle-items tbody tr.kind-part td { padding: 0; }
#session.role-leader #transfer > .bundle-items td.b-name { flex: 1 0 100%; overflow-wrap: anywhere; }
#session.role-leader #transfer > .bundle-items :is(td.b-kind, td.b-price) { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--muted); }
#session.role-leader #transfer > .bundle-items td.b-kind { flex: 0 0 auto; }
#session.role-leader #transfer > .bundle-items td.b-price { flex: 1 0 0; margin-left: -8px; }
/* (A line of its own for the kind and the price: the three values after a break, Ks každému last.) */
#session.role-leader #transfer > .bundle-items tbody tr:not(.kind-part)::after { content: ""; flex: 0 0 100%; order: 1; }
#session.role-leader #transfer > .bundle-items td.b-price:not(:empty)::before { content: '· '; }
#session.role-leader #transfer > .bundle-items td:is(.b-have, .b-total, .b-rest) { flex: 1 1 0; order: 2; min-width: 0; margin-top: 8px; font-weight: 500;
  color: var(--text); }
#session.role-leader #transfer > .bundle-items td:is(.b-have, .b-total, .b-rest)::before { display: block; font-size: 12px; line-height: 16px; font-weight: 400;
  color: var(--muted); }
#session.role-leader #transfer > .bundle-items td.b-have::before { content: 'Dostupné'; }
#session.role-leader #transfer > .bundle-items td.b-total::before { content: 'Spolu'; }
#session.role-leader #transfer > .bundle-items td.b-rest::before { content: 'Zostatok'; }
#session.role-leader #transfer > .bundle-items td:is(.b-total, .b-rest):empty::after { content: '–'; color: var(--faint); }
#session.role-leader #transfer > .bundle-items td.num.b-rest.is-short { color: var(--red); }
#session.role-leader #transfer > .bundle-items td.b-each { display: flex; flex: 1 0 100%; order: 9; margin-top: 8px; align-items: center; justify-content: space-between; gap: 12px;
  width: auto; }
#session.role-leader #transfer > .bundle-items td.b-each::before { content: 'Ks každému'; color: var(--muted); font-size: 14px; }
#session.role-leader #transfer > .bundle-items td.b-each input { margin: 0; }
/* The table (v5 #bundle-table): Položka over the name and its kind and price, then Dostupné (ks), Ks každému, Spolu, Zostatok;
   the headers Druh and Cena stay for assistive technologies only. */
@container bundle-items (min-width: 36rem) {
  #session.role-leader #transfer > .bundle-items thead { display: block; }
  #session.role-leader #transfer > .bundle-items :is(thead, tbody) tr { display: grid; grid-template-columns: max-content minmax(0, 1fr) 7rem 8rem 5.5rem 6rem; align-items: center;
    gap: 0; padding: 0; }
  #session.role-leader #transfer > .bundle-items thead tr { border-radius: 8px; background: var(--tone); }
  #session.role-leader #transfer > .bundle-items th { display: block; padding: 8px 12px; border: 0; border-radius: 0; background: none; color: var(--muted);
    font-weight: 400; text-align: left; white-space: nowrap; }
  #session.role-leader #transfer > .bundle-items th:first-child { grid-column: 1 / 3; }
  #session.role-leader #transfer > .bundle-items th:is(:nth-child(2), :nth-child(3)) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); }
  #session.role-leader #transfer > .bundle-items th.num { text-align: right; }
  #session.role-leader #transfer > .bundle-items tbody tr:not(.kind-part) { min-height: 60px; }
  #session.role-leader #transfer > .bundle-items tbody tr.kind-part { display: block; padding: 14px 12px 6px; border-bottom: 0; }
  #session.role-leader #transfer > .bundle-items tbody td { padding: 0 12px; }
  #session.role-leader #transfer > .bundle-items td.b-name { grid-column: 1 / 3; grid-row: 1; align-self: end; padding-top: 8px; }
  #session.role-leader #transfer > .bundle-items :is(td.b-kind, td.b-price) { grid-row: 2; align-self: start; margin: 0; padding-top: 2px; padding-bottom: 8px; }
  #session.role-leader #transfer > .bundle-items td.b-kind { grid-column: 1; padding-right: 0; }
  #session.role-leader #transfer > .bundle-items td.b-price { grid-column: 2; padding-left: 4px; }
  #session.role-leader #transfer > .bundle-items td:is(.b-have, .b-each, .b-total, .b-rest) { grid-row: 1 / 3; order: 0; margin: 0; font-weight: 400; text-align: right; }
  #session.role-leader #transfer > .bundle-items td.b-have { grid-column: 3; }
  #session.role-leader #transfer > .bundle-items td.b-each { grid-column: 4; justify-content: flex-end; }
  #session.role-leader #transfer > .bundle-items td.b-total { grid-column: 5; }
  #session.role-leader #transfer > .bundle-items td.b-rest { grid-column: 6; }
  #session.role-leader #transfer > .bundle-items td:is(.b-have, .b-each, .b-total, .b-rest)::before,
  #session.role-leader #transfer > .bundle-items td:is(.b-total, .b-rest):empty::after,
  #session.role-leader #transfer > .bundle-items tbody tr:not(.kind-part)::after { content: none; }
}
/* An outcome not confirmed: a card with what was said, the bundle sent and its check (v5 state=uncertain). */
#session.role-leader .transfer-check:has(> #transfer-pending:not([hidden])) { display: grid; justify-items: start; gap: 8px; max-width: 44rem; margin: 0 0 16px;
  padding: 16px; border-radius: 16px; background: var(--tone); box-shadow: inset 0 0 0 1px var(--line); }
#session.role-leader .transfer-check:has(> #transfer-pending:not([hidden])) > :is(#transfer-status, #transfer-pending) { margin: 0; }
#session.role-leader .transfer-check:has(> #transfer-pending:not([hidden])) > #transfer-status { padding: 0; border: 0; font-weight: 500; color: var(--text); }
#session.role-leader .transfer-check:has(> #transfer-pending:not([hidden])) > #transfer-pending { font-weight: 400; color: var(--muted); }
#session.role-leader .transfer-check > :is(#transfer-retry, #transfer-cleanup) { margin: 0; }
/* Príjem do skladu as in v5 (Owner 2026-11-06, C0 01a1b1c5; v5 .sec-head, #receive-table .st, .formbar): its title and hint over a
   line; the items as in the approved Centrálny sklad – the five cells of a row kept in their order (the live suite ui-prep reads
   them by it), the kind and the price drawn under the name, a table of Položka | Zostatok (ks) | Prijať kusov from 36rem of its
   own width, else each item a card (Zostatok named over its value, Prijať kusov on a line of its own with its field on the
   right); the summary on the left of a bar under a line, Zrušiť and Prijať do skladu on the right, at the foot of a window tall
   enough (D-127); a receipt not confirmed a card with what was said, the receipt sent and its retry. */
#session.role-leader #stock-receive { container: stock-receive / inline-size; }
#session.role-leader #receive-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 0; }
#session.role-leader #receive-form > h3 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 500; }
#session.role-leader #receive-form > .hint { max-width: none; margin: 2px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px;
  line-height: 20px; color: var(--muted); }
#session.role-leader #receive-form .receive-items { container: receive-items / inline-size; display: block; width: 100%; max-width: none; margin: 0; overflow: visible; }
#session.role-leader #receive-form .receive-items > :is(thead, tbody) { display: block; }
#session.role-leader #receive-form .receive-items thead { display: none; }
#session.role-leader #receive-form .receive-items tbody tr { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 12px; padding: 12px 0; border: 0;
  border-bottom: 1px solid var(--line); }
#session.role-leader #receive-form .receive-items tbody tr.kind-part { display: block; padding: 16px 0 6px; }
#session.role-leader #receive-form .receive-items tbody td { display: block; height: auto; padding: 0; border: 0; text-align: left; }
#session.role-leader #receive-form .receive-items tbody tr.kind-part td { padding: 0; }
#session.role-leader #receive-form .receive-items td.r-name { flex: 1 0 100%; overflow-wrap: anywhere; }
#session.role-leader #receive-form .receive-items :is(td.r-kind, td.r-price) { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--muted); }
#session.role-leader #receive-form .receive-items td.r-kind { flex: 0 0 auto; }
#session.role-leader #receive-form .receive-items td.r-price { flex: 1 0 0; margin-left: -8px; }
#session.role-leader #receive-form .receive-items tbody tr:not(.kind-part)::after { content: ""; flex: 0 0 100%; order: 1; }
#session.role-leader #receive-form .receive-items td.r-price:not(:empty)::before { content: '· '; }
#session.role-leader #receive-form .receive-items td.r-have { flex: 1 1 0; order: 2; min-width: 0; margin-top: 8px; font-weight: 500; color: var(--text); }
#session.role-leader #receive-form .receive-items td.r-have::before { content: 'Zostatok'; display: block; font-size: 12px; line-height: 16px; font-weight: 400;
  color: var(--muted); }
#session.role-leader #receive-form .receive-items td.r-take { display: flex; flex: 1 0 100%; order: 9; margin-top: 8px; align-items: center; justify-content: space-between;
  gap: 12px; width: auto; }
#session.role-leader #receive-form .receive-items td.r-take::before { content: 'Prijať kusov'; color: var(--muted); font-size: 14px; }
#session.role-leader #receive-form .receive-items td.r-take input { margin: 0; }
/* (Each kind its table since D-234: one of a column of two in a form of 56 rem – 27 rem – keeps the row of columns.) */
@container receive-items (min-width: 27rem) {
  #session.role-leader #receive-form .receive-items thead { display: block; }
  #session.role-leader #receive-form .receive-items :is(thead, tbody) tr { display: grid; grid-template-columns: max-content minmax(0, 1fr) 7.5rem 8.5rem; align-items: center;
    gap: 0; padding: 0; }
  #session.role-leader #receive-form .receive-items thead tr { border-radius: 8px; background: var(--tone); }
  #session.role-leader #receive-form .receive-items th { display: block; padding: 8px 12px; border: 0; border-radius: 0; background: none; color: var(--muted);
    font-weight: 400; text-align: left; white-space: nowrap; }
  #session.role-leader #receive-form .receive-items th:first-child { grid-column: 1 / 3; }
  #session.role-leader #receive-form .receive-items th:is(:nth-child(2), :nth-child(3)) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); }
  #session.role-leader #receive-form .receive-items th.num { text-align: right; }
  #session.role-leader #receive-form .receive-items tbody tr:not(.kind-part) { min-height: 60px; }
  #session.role-leader #receive-form .receive-items tbody tr.kind-part { display: block; padding: 14px 12px 6px; border-bottom: 0; }
  #session.role-leader #receive-form .receive-items tbody td { padding: 0 12px; }
  #session.role-leader #receive-form .receive-items td.r-name { grid-column: 1 / 3; grid-row: 1; align-self: end; padding-top: 8px; }
  #session.role-leader #receive-form .receive-items :is(td.r-kind, td.r-price) { grid-row: 2; align-self: start; margin: 0; padding-top: 2px; padding-bottom: 8px; }
  #session.role-leader #receive-form .receive-items td.r-kind { grid-column: 1; padding-right: 0; }
  #session.role-leader #receive-form .receive-items td.r-price { grid-column: 2; padding-left: 4px; }
  #session.role-leader #receive-form .receive-items td:is(.r-have, .r-take) { grid-row: 1 / 3; order: 0; margin: 0; font-weight: 400; text-align: right; }
  #session.role-leader #receive-form .receive-items td.r-have { grid-column: 3; }
  #session.role-leader #receive-form .receive-items td.r-take { grid-column: 4; justify-content: flex-end; }
  #session.role-leader #receive-form .receive-items td:is(.r-have, .r-take)::before,
  #session.role-leader #receive-form .receive-items tbody tr:not(.kind-part)::after { content: none; }
}
#session.role-leader #receive-form > .receive-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin: 4px 0 0;
  padding: 12px 0 16px; border-top: 1px solid var(--line); background: var(--surface); }
#session.role-leader #receive-form > .receive-bar > .bundle-summary { flex: 1 1 12rem; max-width: none; margin: 0 auto 0 0; font-weight: 400; color: var(--muted); }
#session.role-leader #receive-form > .receive-bar > button { width: auto; margin: 0; }
#session.role-leader #receive-form > .receive-bar > #receive-cancel { padding: 0 14px; background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500; }
#session.role-leader #receive-form > .receive-bar > #receive-cancel:hover { background: var(--tone); }
@media (min-height: 36.01rem) {
  #session.role-leader #receive-form > .receive-bar { position: sticky; bottom: 0; z-index: 3; }
}
@container stock-receive (max-width: 37.5rem) {
  #session.role-leader #receive-form > .receive-bar > .bundle-summary { flex: 1 0 100%; }
  #session.role-leader #receive-form > .receive-bar > button { flex: 1 1 0; }
}
#session.role-leader #receive-box:has(> #receive-pending:not([hidden])) { display: grid; justify-items: start; gap: 8px; max-width: 44rem; padding: 16px;
  border-radius: 16px; background: var(--tone); box-shadow: inset 0 0 0 1px var(--line); }
#session.role-leader #receive-box:has(> #receive-pending:not([hidden])) > :is(#receive-status, #receive-pending) { margin: 0; padding: 0; border: 0; }
#session.role-leader #receive-box:has(> #receive-pending:not([hidden])) > #receive-status { order: -1; font-weight: 500; color: var(--text); }
#session.role-leader #receive-box:has(> #receive-pending:not([hidden])) > #receive-pending { font-weight: 400; color: var(--muted); }
#session.role-leader #receive-box > :is(#receive-retry, #receive-cleanup) { margin: 0; }

/* Reporting as the form of Nastavenie (Owner 2026-11-11, C0 01a1cb24): the choice a column of at most 50rem – the campaign
   over its whole width, Od and Do side by side (one under the other on a narrow screen), each under its name –, the actions
   in one row under them on the line of the bar of Nastavenie; the preview below at the width of the page, opened by its
   title over a line. The controls keep the colours of the leader's page. */
#session.role-leader #reporting > .report-bar { display: block; max-width: 50rem; margin: 0; }
/* In the light theme the form and a preview shown are white cards with a fine line around them, as the form of Nastavenie
   (D-231); no card while nothing is previewed. The form's margin meets the 24 px under the head of the place (the two are one
   margin): 40 px leave the card 24 px under its line. */
#session.role-leader #reporting > .report-bar { margin-top: calc(2.5 * var(--card-pad)); border-radius: var(--card-radius); background: var(--card);
  box-shadow: var(--card-around); }
#session.role-leader #reporting > .report-below:has(> h3) { margin-top: calc(3 * var(--card-pad)); border-radius: var(--card-radius); background: var(--card);
  box-shadow: var(--card-around); }
#session.role-leader #reporting > .report-below:has(> h3) > h3:first-child { margin-top: max(0px, 8px - var(--card-pad)); }
#session.role-leader #reporting > .report-bar > .report-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#session.role-leader #reporting > .report-bar > .report-fields > .report-field { display: grid; gap: 6px; margin: 0; }
#session.role-leader #reporting > .report-bar > .report-fields > .report-field-wide { grid-column: 1 / -1; }
#session.role-leader #reporting > .report-bar > .report-fields > .report-field > :is(select, input) { width: 100%; margin: 0; }
/* D-248: the message of a date of Od or Do under its field. */
#session.role-leader #reporting > .report-bar > .report-fields > .report-field > .report-field-problem { color: var(--pr-error-text); font-size: 13px; line-height: 18px; }
#session.role-leader #reporting > .report-bar > .report-bar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0;
  padding: 12px 0 16px; border-top: 1px solid var(--line); }
#session.role-leader #reporting > .report-bar > .report-bar-actions button { margin: 0; }
#session.role-leader #reporting > .report-below > h3 { margin: 8px 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
@media (max-width: 37.5rem) {
  #session.role-leader #reporting > .report-bar > .report-fields { grid-template-columns: minmax(0, 1fr); }
}

/* D-236 (Owner 2026-11-16; C0 01a1e48b-8432-7c52-b907-430eb03887a4): one look of the states, the campaigns, the main actions,
   the tables and the forms of the leader and the promoter, by AlignUI HR, in both themes; the promoter's part is at the end of its
   own screen. The usual messages and warnings stay as in the released base (Owner 2026-11-16, C0 01a1e530). Nothing is read,
   sent or computed otherwise. */

/* Ľudia: the state of an account in the type of its e-mail line, in its colour – active green, a sign-in still waiting orange,
   suspended red, none neutral (each ≥ 4.5 : 1 on its ground); the campaigns running today one under another, each with the
   square of its colour and its whole name. */
#session.role-leader .people .person-state { font-weight: 500; }
#session.role-leader .people .person-state.is-ok { color: var(--green); }
#session.role-leader .people .person-state.is-warn { color: var(--warn); }
#session.role-leader .people .person-state.is-bad { color: var(--red); }
#session.role-leader .people .person-state.is-none { color: var(--muted); }
#session.role-leader .people .person-campaign-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
#session.role-leader .people .person-campaign-list > li { display: flex; align-items: baseline; gap: 8px; min-height: 0; margin: 0; padding: 0; border: 0;
  box-shadow: none; color: var(--text); overflow-wrap: anywhere; }
#session.role-leader .people .person-campaign-list > li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 3px;
  background: var(--campaign, var(--line-strong)); transform: translateY(1px); }

/* Prevádzky: the list in two columns on a computer, one under another on a phone; the name beside the address, wide (at least three quarters of it);
   the × of a row neutral until it is pointed at or has the keyboard (its confirmation as before). */
@media (min-width: 64rem) {
  #session.role-leader .locations-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  #session.role-leader .locations-list .loc:is(.editing, .archiving) { grid-column: 1 / -1; }
}
@media (min-width: 37.51rem) {
  #session.role-leader .loc-single { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #session.role-leader .loc-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 44px; }
}
#session.role-leader .locations-list button.row-icon.row-remove { color: var(--muted); }
#session.role-leader .locations-list button.row-icon.row-remove:is(:hover, :focus-visible) { background: var(--red-tint); color: var(--red); }

/* The main action of a place filled in the blue of the sign-in, the others plain; off at half strength, as every main action. In
   Reporting only its own main actions (Zobraziť, the saves of its setting): a button beside a message (the rows of the AI) keeps the
   look of the base (C3 01a1e542). */
:where(#session.role-leader) :is(button#access-new, button#manager-new, button#location-new, .campaign-new-link > a.action-link, :is(.report-bar-actions, .report-editor:not(.setup-ai)) > button.primary) {
  background: var(--primary); color: var(--on-primary); box-shadow: none; }
:where(#session.role-leader) :is(button#access-new, button#manager-new, button#location-new, .campaign-new-link > a.action-link, :is(.report-bar-actions, .report-editor:not(.setup-ai)) > button.primary):hover {
  background: var(--primary-press); color: var(--on-primary); }
:where(#session.role-leader) :is(button#access-new, button#manager-new, button#location-new, :is(.report-bar-actions, .report-editor:not(.setup-ai)) > button.primary):disabled { background: var(--primary);
  color: var(--on-primary); box-shadow: none; opacity: 0.5; }

/* Pridelení promotéri: the band of the column names on a tone as in Prehľad and Ľudia. */
#session.role-leader #own-promoters-table thead th { padding: 8px 12px; border: 0; background: var(--tone); color: var(--muted); font-size: 14px;
  font-weight: 400; text-align: left; }
#session.role-leader #own-promoters-table thead th:first-child { border-radius: 8px 0 0 8px; }
#session.role-leader #own-promoters-table thead th:last-child { border-radius: 0 8px 8px 0; }

/* Nastavenie of a campaign (D-236): each section comes to one line under what stays on top, the first one brings back the top of
   Kampane; the last sections can come up to that line too, and the bar of the actions never covers a field; the keyboard sees
   where it is. Below 80rem the menu of the sections wraps, every name whole, in the flow (not sticky); a section then comes
   16 px under the bar (its 8 px over the page's room under the bar). */
#session.role-leader #campaign-setup :is(#own-campaign-form, .setup-form h3):focus-visible { outline: 2px solid var(--focus); outline-offset: 4px;
  border-radius: 4px; }
@media (min-height: 36.01rem) {
  #session.role-leader #campaign-setup > .setup-form > .stock-block:has(> #setup-stock) { min-height: calc(100dvh - 8rem); }
  html:has(#session.role-leader:not([hidden]) #campaign-setup:not([hidden])) { scroll-padding-bottom: 6rem; }
}
@media (max-width: 79.99rem) {
  #session.role-leader .setup-sections { position: static; flex-wrap: wrap; overflow: visible; }
  #session.role-leader .setup-sections button { white-space: normal; }
  #session.role-leader #campaign-setup :is(#own-campaign-form, .setup-form h3) { scroll-margin-top: 8px; }
}

/* Promoter work screen (C0 01a11c3b, references promo-telefon-design-na-vysku
   and promo-tablet-design-na-sirku): a tablet in portrait first, usable in
   landscape and on a phone. Every rule below is bound to the session of a
   verified promoter (#session.role-promoter); the look comes from the shared
   theme (D-143). Portrait and phones: the tabs and Profil in a bar at the
   bottom; a landscape tablet (at least 60rem wide): a rail on the left. */
/* P10d (Owner 2026-11-04, D-223, C0 01a1a5a4): the promoter's look after AlignUI (alignui-zjednotenie-v5 of 2026-11-03); its
   colours, type and shared parts are those of the AlignUI v5 part above (D-225), and only the promoter's measures of its
   answers and room are set here (Sklad and Profil of the promoter take them too, Owner 2026-11-04 1a). */
#session.role-promoter { --pr-cell: 10rem; --pr-cell-h: 48px; --pr-gap: 8px; --pr-q-gap: 22px; --pr-pad-y: 24px; }
@media (min-width: 75rem) { #session.role-promoter { --pr-pad-y: 28px; } }
@media (max-width: 37.5rem) { #session.role-promoter { --pr-cell: 9rem; --pr-cell-h: 46px; --pr-q-gap: 18px; --pr-pad-y: 14px; } }
/* The page under the promoter's session: the leader's light gradient (D-231; the dark one of D-230 below), no glow; no bar
   with "PROMO" (the name stands on top of the promoter's navigation, its day and night at its end). */
html:has(#session.role-promoter:not([hidden])) {
  --bar: 0px; --bg1: #ffffff; --page-bg: linear-gradient(180deg, #e8f0fc, #f5f7fb 28rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):has(#session.role-promoter:not([hidden])) { --bg1: #0e121b; }
}
:root[data-theme="dark"]:has(#session.role-promoter:not([hidden])) { --bg1: #0e121b; }
/* In the dark theme the leader's and the promoter's page lies on the gradient of the sign-in (Owner 2026-11-11, D-230 after
   D-225; C0 01a1cb24): only the picture of the page (--page-bg, drawn by body::before; the leader's bar of a phone keeps its plain ground) – the gradient of
   :root with the sign-in's own dark --bg1 (#0c1723) at its end, since --bg1 stays the roles' own for its other uses; the
   surfaces, the bars, the side panel and every colour of a control stay as they are. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):is(:has(#session.role-leader:not([hidden])), :has(#session.role-promoter:not([hidden]))) {
    --page-bg: radial-gradient(48rem 30rem at 50% -5.5rem, var(--glow), transparent 70%), linear-gradient(180deg, var(--bg2), #0c1723 28rem);
  }
}
:root[data-theme="dark"]:is(:has(#session.role-leader:not([hidden])), :has(#session.role-promoter:not([hidden]))) {
  --page-bg: radial-gradient(48rem 30rem at 50% -5.5rem, var(--glow), transparent 70%), linear-gradient(180deg, var(--bg2), #0c1723 28rem);
}
html:has(#session.role-promoter:not([hidden])) .appbar { display: none; }
/* The work area takes the width of the window (no narrow island); the rail or the menu button beside it. */
html:has(#session.role-promoter:not([hidden])) { --pr-pad-x: 1.5rem; }
@media (min-width: 75rem) { html:has(#session.role-promoter:not([hidden])) { --pr-pad-x: 2.5rem; } }
@media (max-width: 37.5rem) { html:has(#session.role-promoter:not([hidden])) { --pr-pad-x: 0.875rem; } }
main:has(> #session.role-promoter:not([hidden])) { max-width: none; padding: 0 var(--pr-pad-x) 1rem; }
html:has(#session.role-promoter:not([hidden])) { scroll-padding-bottom: 5rem; }
/* The type of AlignUI: a title 18/24 500, a section 16/24 500, a name 14/20 500, the text 14/20. */
#session.role-promoter { font-size: 14px; line-height: 20px; letter-spacing: -0.006em; }
#session.role-promoter h2 { margin: 0.75rem 0 0.75rem; font-size: 18px; line-height: 24px; font-weight: 500; letter-spacing: -0.015em; color: var(--text); }
/* A title of the promoter's places on the line of the menu button (44 px), the room above and under it as before. */
#session.role-promoter h2.ws-title:not(.sr-only) { display: flex; align-items: center; min-height: 44px; margin: 10px 0 8px; font-size: 18px; }

/* The navigation (P10c, D-223): on a portrait tablet and a phone a menu button on the top left of the work area opens a
   panel with Prevádzka, Sklad, Profil and day and night; no bar at the bottom. A computer and a landscape tablet: a rail
   on the left (below). The headings of the promoter's parts leave room for the button. */
/* P10d (AlignUI v5): PROMO and a line on top, the places with their icons – the current one on its tint with a bar at the
   edge and an icon in the blue of the sign-in since D-232 (purple before) –, Profil and Tmavý | Svetlý at the end. */
#session.role-promoter #promoter-menu { position: absolute; top: 0.625rem; left: calc(var(--pr-pad-x) - 0.5rem); z-index: 25; width: 44px; height: 44px; margin: 0;
  border-radius: 10px; background: transparent; color: var(--muted); }
#session.role-promoter #promoter-menu:hover { background: var(--tone); color: var(--text); }
#session.role-promoter #promoter-nav-list { display: none; margin: 0; padding: 0; list-style: none; }
#session.role-promoter #promoter-nav .promoter-brand { display: flex; align-items: center; min-height: 44px; margin: 0 0 16px; padding: 0 0 16px 8px;
  box-sizing: content-box; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.011em; color: var(--text); }
#session.role-promoter #promoter-nav-list > li + li:not(.promoter-theme) { margin-top: 4px; }
#session.role-promoter #promoter-nav-list > li:has(> button[hidden]) { display: none; }
#session.role-promoter #promoter-nav-list > li:has(> #promoter-profile) { margin-top: auto; }
#session.role-promoter #promoter-nav li.promoter-theme { margin-top: 12px; }
/* (The look of the places and of Tmavý | Svetlý is the leader's too: in the AlignUI v5 part above, D-225.) */
#session.role-promoter :is(#shifts-panel > .ws-head, #promoter-stock > .ws-head, #ws-profile > .ws-title) { padding-left: 3.25rem; }
#session.role-promoter #rows-view .rows-where { padding-left: 2.75rem; }

#session.role-promoter #shift-action-status:empty { display: none; }
/* An empty state line takes no room; it stays in place for its announcements. */
#session.role-promoter .state { margin: 0.5rem 0; }
#session.role-promoter .state:empty { min-height: 0; margin: 0; }
#session.role-promoter #rows-totals:empty { display: none; }

/* P10: the short lines of other own open shifts (D-102, a parked closing) – their state and "Zatvoriť deň". */
#session.role-promoter .shifts-other { margin: 0.5rem 0 1rem; padding: 0; list-style: none; }
#session.role-promoter .shifts-other li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; padding: 0.5rem 0.75rem;
  border-left: 3px solid var(--amber); border-radius: 0 8px 8px 0; background: var(--amber-tint); color: var(--strong); }
#session.role-promoter .shifts-other li + li { margin-top: 0.5rem; }
#session.role-promoter .shifts-other .c-state { color: var(--muted); }
#session.role-promoter .shifts-other button { margin: 0 0 0 auto; }
/* Otvoriť deň and the items of a conversation are the existing cards of the work screen: white in the light theme (D-231). */
#session.role-promoter .tour-open { background: var(--card); }
/* Its place found by a search (Owner 2026-11-13, D-234): the field and the results of the search of a conversation's items. */
#session.role-promoter .tour-open .tour-place { margin: 0 0 12px; }
#session.role-promoter .tour-open .tour-place > .state { min-height: 0; margin: 4px 0 0; padding: 0; border: 0; font-size: 14px; color: var(--muted); }

/* The open shift on top (P10, P10b; P10d after AlignUI v5): one line at every size – the menu button where there is no
   rail, the campaign and the place (cut with "…" when they do not fit, read whole), the state in words when it is not
   the usual one, Obnoviť and "Zatvoriť deň"; the controls keep their size for fingers. */
#session.role-promoter .rows-top { padding: 10px 0; border-bottom: 1px solid var(--line); }
#session.role-promoter .rows-head { display: flex; align-items: center; gap: 8px; min-height: 44px; }
#session.role-promoter .rows-where { display: flex; flex: 1 1 auto; flex-direction: column; gap: 0; min-width: 0; margin: 0 4px 0 0; }
#session.role-promoter .rows-where > div { min-width: 0; }
#session.role-promoter .rows-where dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#session.role-promoter .rows-where dd { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 14px;
  line-height: 20px; font-weight: 400; }
#session.role-promoter .rows-where #rows-campaign { color: var(--text); font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -0.011em; }
#session.role-promoter .rows-head .ws-actions { display: flex; flex: none; align-items: center; gap: 8px; margin: 0; }
#session.role-promoter .rows-head .ws-actions button { margin: 0; }
#session.role-promoter .rows-head button.icon-button.reload { width: 44px; border-radius: 10px; background: var(--surface); color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line); }
#session.role-promoter .rows-head button.icon-button.reload:hover { background: var(--tone); color: var(--text); }
#session.role-promoter .rows-head svg.icon { width: 18px; height: 18px; }
/* The state in words only when it is not the usual open one. */
#session.role-promoter .rows-open { flex: none; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
#session.role-promoter .rows-open.is-open { display: none; }
#session.role-promoter .rows-sub { margin: 2px 0 0; font-size: 12px; line-height: 16px; color: var(--muted); }
/* "Zatvoriť deň": the soft red action of AlignUI that ends something (the AlignUI v5 part above, D-225). */
@media (max-width: 37.5rem) {
  #session.role-promoter .rows-top { padding-block: 8px; }
  #session.role-promoter .rows-head { gap: 4px; }
  #session.role-promoter .rows-head button.danger { padding: 0 12px; }
}
/* The middle: Zápis or Posledné rozhovory; reachable by the keyboard as a region of its own. */
#session.role-promoter .rows-mid { padding: var(--pr-pad-y) 0 calc(var(--pr-pad-y) + 8px); }
#session.role-promoter .rows-mid:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
/* The top and the bottom are bands over the whole width of the work area (its side spaces taken back), the bottom a low
   one (P10d, AlignUI v5): the state of the write on the left, its retry, then "Zahodiť rozpísaný rozhovor" and "OK ·
   uložiť" at the right edge – in Zápis only; no lasting paragraph over them (why "Zatvoriť deň" is off is said to assistive
   technologies only). */
#session.role-promoter :is(.rows-top, .rows-bottom) { margin: 0 calc(-1 * var(--pr-pad-x)); padding-inline: var(--pr-pad-x); background: var(--surface); }
#session.role-promoter .rows-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; padding-block: 10px;
  border-top: 1px solid var(--line); }
/* Nothing to show (Posledné rozhovory without a state of a write): no band; its announcements stay in place, inside it. */
#session.role-promoter .rows-bottom:not(:has(> .state:not(:empty), > button:not([hidden]), > .row-actions:not([hidden]))) { padding-block: 0; border-top: 0;
  overflow: hidden; }
#session.role-promoter .rows-bottom .state { flex: 1 1 12rem; min-width: 0; margin: 0 auto 0 0; padding: 0; border: 0; color: var(--muted); font-size: 14px;
  line-height: 20px; }
#session.role-promoter .rows-bottom .state:empty { position: absolute; min-height: 0; margin: 0; }
#session.role-promoter .row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; }
#session.role-promoter :is(.row-actions, .rows-bottom) button { min-height: 44px; margin: 0; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 500; }
#session.role-promoter #row-discard { background: var(--surface); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
#session.role-promoter #row-discard:hover { background: var(--tone); color: var(--text); }
#session.role-promoter #row-submit { padding: 0 20px; background: var(--primary); color: var(--on-primary); white-space: nowrap; }
#session.role-promoter #row-submit:hover { background: var(--primary-press); }
#session.role-promoter #row-submit svg.icon { width: 18px; height: 18px; stroke-width: 2.4; }
#session.role-promoter #row-retry { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--primary); }
@media (max-width: 37.5rem) {
  #session.role-promoter .rows-bottom .state { flex: 1 1 100%; }
  #session.role-promoter #row-discard { flex: 1 1 auto; min-width: 0; padding: 0 10px; white-space: normal; line-height: 1.2; }
  #session.role-promoter .row-actions { flex: 1 1 100%; }
}

/* New conversation: the form itself in the work area, no card around it; a correction with its title (entered by hand,
   D-191). */
#session.role-promoter #row-form { margin: 0; padding: 0; }
#session.role-promoter #row-form-title { margin: 0 0 var(--pr-q-gap); font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: -0.011em; color: var(--text); }

/* P10d (AlignUI v5): one grid for every answer. The questions stand one under another from the same left edge; each choice
   lays its options in cells of one fixed step (10 rem, a phone 9 rem – it never depends on the answers' texts, so a long
   answer moves no column), as many in a row as fit, stretched evenly over the width, so the cells of all questions stand
   in the same columns. An answer never wraps (Owner 2026-10-31): what does not fit ends in "…", whole in a preview. The
   same in the closing questions. */
#session.role-promoter #row-fields { display: flex; flex-direction: column; gap: var(--pr-q-gap); }
#session.role-promoter #row-fields > .row-info { margin: 0; }
#session.role-promoter .row-field { margin: 0; }
/* The name of every question – of a conversation, the payment and the closing – 14/20 500, required or not. */
#session.role-promoter :is(#row-fields > .row-field > label, #row-fields > .row-field > div > label, .close-field > label:first-child,
  #row-payment-box > .field-name) {
  display: block; margin: 0; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.006em; color: var(--text); }
#session.role-promoter :is(#row-fields > .row-field > label, .close-field > label:first-child) > :is(input, textarea) {
  display: block; width: 100%; margin-top: 8px; font-weight: 400; }
/* A text answer: the field of AlignUI – a fine line, a blue one with the focus (D-233). */
#session.role-promoter :is(#row-fields, #close-fields) :is(input:not([type="checkbox"]), textarea) { min-height: var(--pr-cell-h); padding: 0 12px;
  border: 0; border-radius: 10px; background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10, 13, 20, 0.03);
  font-size: 14px; }
#session.role-promoter #row-fields > .row-field > label > input:not([type="checkbox"]) { max-width: 30rem; }
#session.role-promoter :is(#row-fields, #close-fields) :is(input:not([type="checkbox"]), textarea):hover { background: var(--tone); }
#session.role-promoter :is(#row-fields, #close-fields) :is(input:not([type="checkbox"]), textarea):focus-visible { background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--primary); }
#session.role-promoter #close-fields > .close-field textarea { min-height: 96px; padding: 10px 12px; resize: vertical; }
@media (max-width: 37.5rem) { #session.role-promoter :is(#row-fields, #close-fields, .picker-field) :is(input:not([type="checkbox"]), textarea) { font-size: 16px; } }
#session.role-promoter :is(.choice-options, #row-pay-group) {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--pr-cell), 100%), 1fr)); gap: var(--pr-gap); margin: 8px 0 0;
  padding: 0; border-radius: 0; background: transparent; }
/* An answer is a card with a radio (AlignUI): a fine line, the radio an empty ring, the text on one line; what does not fit
   ends in "…" (the answer itself and the button's name stay whole). */
#session.role-promoter :is(.choice-options, #row-pay-group) button {
  display: flex; position: relative; align-items: center; justify-content: flex-start; gap: 10px; min-width: 0; height: var(--pr-cell-h); margin: 0;
  padding: 0 12px; border: 0; border-radius: 10px; background: var(--surface); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10, 13, 20, 0.03); font-size: 14px; line-height: 20px; font-weight: 500; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#session.role-promoter :is(.choice-options, #row-pay-group) button::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--tone); box-shadow: inset 0 0 0 1.5px var(--pr-control-line); }
#session.role-promoter :is(.choice-options, #row-pay-group) button:hover { background: var(--tone); }
/* (Two ids, as the rule of the cells, so the preview of a choice's cell is not cut by it.) */
#session.role-promoter :is(#row-fields, #close-fields) .choice-options button { overflow: visible; }
#session.role-promoter .choice-options button > .cell-text { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The whole answer of a cut one, after a tap or a click that chose it: a raised card under (or above) its cell in its
   width, over what follows, never moving the form; read already from the button's name, so hidden from assistive
   technologies; a tap on it only closes it (app.js). */
#session.role-promoter .choice-options button[data-preview] { z-index: 3; }
#session.role-promoter .choice-options button > .cell-preview { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 3;
  padding: 10px 12px; border-radius: 10px; background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong), var(--pr-lift);
  font-size: 14px; font-weight: 500; line-height: 20px; text-align: left; white-space: normal; overflow-wrap: anywhere; cursor: default; }
#session.role-promoter .choice-options button[data-preview="above"] > .cell-preview { top: auto; bottom: calc(100% + 6px); }
/* The chosen answer: a fine blue ring (D-233) and a full radio – no fill, no bold. An error below wins over it. */
#session.role-promoter :is(.choice-options, #row-pay-group) button[aria-pressed="true"] { background: var(--surface); box-shadow: inset 0 0 0 1px var(--primary); }
#session.role-promoter :is(.choice-options, #row-pay-group) button[aria-pressed="true"]::before { background: var(--surface); box-shadow: inset 0 0 0 4.5px var(--primary); }
/* A stored "nebolo možné zistiť" of a corrected conversation: said under its question, never offered. */
#session.role-promoter .was-unknown { margin: 6px 0 0; font-size: 12px; line-height: 16px; color: var(--muted); }

/* What a failed save misses (P10c, D-223; P10d AlignUI v5): only the element itself – a red ring of the usual width, the
   radios of a choice red; no line, band or summary in sight (the words stay linked to the element and announced). */
#session.role-promoter :is(.field-problem, .row-items td.c-problem) { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }
#session.role-promoter :is(#row-fields, #close-fields) .has-problem :is(input:not([type="checkbox"]), textarea) { box-shadow: inset 0 0 0 1px var(--pr-error); }
#session.role-promoter .has-problem :is(.choice-options, #row-pay-group) button { box-shadow: inset 0 0 0 1px var(--pr-error); }
#session.role-promoter .has-problem :is(.choice-options, #row-pay-group) button::before { box-shadow: inset 0 0 0 1.5px var(--pr-error); }
/* (An answer chosen in error – a value with a stored X – keeps its full radio, in red.) */
#session.role-promoter .has-problem :is(.choice-options, #row-pay-group) button[aria-pressed="true"]::before { box-shadow: inset 0 0 0 4.5px var(--pr-error); }

/* Products and gifts: each kind with its search (D-218) and its chosen items under it (P10); side by side where the
   width allows (below). Divided from the questions and from the payment by a hairline. */
#session.role-promoter .pickers { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--pr-q-gap) 24px; align-items: start;
  margin: calc(var(--pr-q-gap) + 2px) 0 0; padding: calc(var(--pr-q-gap) + 2px) 0 0; border-top: 1px solid var(--line); }
#session.role-promoter .pickers:not(:has(> .picker:not([hidden]))) { display: none; }
#session.role-promoter .picker { position: relative; }
#session.role-promoter .picker > label { display: block; margin: 0 0 8px; font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -0.011em;
  color: var(--text); }
/* The search icon is inline SVG in the page (C0 01a11c69): the CSP allows
   no image from a data: URL in the style. */
#session.role-promoter .picker-field { position: relative; display: block; margin-top: 0; }
#session.role-promoter .picker-field input { min-height: var(--pr-cell-h); margin-top: 0; padding-left: 38px; border: 0; border-radius: 10px;
  background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10, 13, 20, 0.03); font-size: 14px; }
#session.role-promoter .picker-field input:hover { background: var(--tone); }
#session.role-promoter .picker-field input:focus-visible { background: var(--surface); box-shadow: inset 0 0 0 1px var(--primary); }
#session.role-promoter .picker-field input::placeholder { color: var(--faint); }
#session.role-promoter .picker-field .search-icon {
  position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none;
  fill: none; stroke: var(--faint); stroke-width: 1.9; stroke-linecap: round;
}
/* The results in the flow of the form (P10): never cut off by the scrolling middle, nothing under them hidden. */
#session.role-promoter .picker [role="listbox"] {
  max-height: 16rem; overflow-y: auto; margin: 4px 0 0; padding: 6px; list-style: none;
  background: var(--raised); border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line), var(--pr-lift);
}
#session.role-promoter .picker [role="option"] { display: flex; align-items: center; min-height: 44px; padding: 4px 12px; border-radius: 8px; color: var(--text);
  cursor: pointer; overflow-wrap: anywhere; }
#session.role-promoter .picker [role="option"]:hover,
#session.role-promoter .picker [role="option"][aria-selected="true"] { background: var(--tone); }
#session.role-promoter .picker .state { min-height: 0; margin: 4px 0 0; padding: 0; border: 0; font-size: 14px; color: var(--muted); }

/* The chosen items of a kind, each a card with a fine line: the name with the own stock under it, − the count + at the
   right; no price (P10). */
#session.role-promoter .row-items { display: block; overflow: visible; margin: 8px 0 0; }
#session.role-promoter .row-items tbody { display: grid; gap: var(--pr-gap); }
#session.role-promoter .row-items tr {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "item count remove" "have count remove"; align-items: center; column-gap: 12px;
  padding: 6px 6px 6px 12px; border: 0; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
#session.role-promoter .row-items tr[hidden] { display: none; }
#session.role-promoter .row-items td { display: block; border: 0; padding: 0; text-align: left; }
#session.role-promoter .row-items td.c-item { grid-area: item; min-width: 0; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--text);
  overflow-wrap: anywhere; }
#session.role-promoter .row-items td.c-have { grid-area: have; font-size: 12px; line-height: 16px; color: var(--muted); }
/* The promoter's positive counts – Sklad and "Mám N ks" – in the turquoise of the stock (Owner 2026-11-13, D-234; see the leader's). */
#session.role-promoter :is(#mine-table, .row-items) td.qty-pos { color: var(--qty); }
/* "Mám N ks" (Owner 2026-10-31, D-223); a count not known yet is "–" alone. */
/* 0051 (D-244): a count of the own stock only – an unknown one ("unknown") and an item of the venue ("venue", its text
   „Zo zásob prevádzky“ instead) have no „Mám … ks“. */
#session.role-promoter :is(#row-product-items-table, #row-gift-items-table) td.c-have:not([data-have])::before { content: 'Mám '; }
#session.role-promoter :is(#row-product-items-table, #row-gift-items-table) td.c-have:not([data-have])::after { content: ' ks'; }
#session.role-promoter .row-items td.c-count { grid-area: count; display: flex; align-items: center; gap: 0; padding: 0; border: 0; border-radius: 10px;
  background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
#session.role-promoter .row-items td.c-count input { width: 40px; min-height: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--line);
  border-right: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); text-align: center; font-size: 14px; font-weight: 500; box-shadow: none; }
#session.role-promoter .row-items td.c-count button { width: 44px; min-width: 44px; min-height: 44px; margin: 0; padding: 0; border-radius: 10px;
  background: transparent; color: var(--muted); font-size: 18px; line-height: 1; }
#session.role-promoter .row-items td.c-count button:hover { background: var(--tone); color: var(--text); }
#session.role-promoter .row-items tr.has-problem td.c-count { box-shadow: inset 0 0 0 1px var(--pr-error); }
/* D-241 (Owner 2026-11-17, C0 01a1eae9): the red × at the right end of a chosen row – a target of 44 px, the error colours
   of both themes, its own ring of focus; off while the form is locked. */
#session.role-promoter .row-items td.c-remove { grid-area: remove; }
#session.role-promoter .row-items button.row-remove { width: 44px; min-width: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 10px;
  background: transparent; color: var(--pr-error-text); font-size: 24px; font-weight: 500; line-height: 1; }
#session.role-promoter .row-items button.row-remove:hover:not(:disabled) { background: var(--pr-error-soft); }
#session.role-promoter .row-items button.row-remove:disabled { background: transparent; color: var(--pr-error-off-text); cursor: not-allowed; }

/* Payment: Kartou | Hotovosť as cells of the grid under its name, apart from the items by a line. */
#session.role-promoter #row-payment-box { margin: calc(var(--pr-q-gap) + 2px) 0 0; padding: calc(var(--pr-q-gap) + 2px) 0 0; border-top: 1px solid var(--line); }

/* The closing dialog (P10b; P10d the modal of AlignUI): its title over a line, the same names, cells and fields, then
   under a line Späť and the one solid red "Zatvoriť deň" at its right edge. */
#session.role-promoter #close-panel { width: min(34rem, calc(100% - 32px)); padding: 0; border: 0; border-radius: 20px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--pr-lift); }
#session.role-promoter #close-panel h2 { margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 24px; font-weight: 500;
  letter-spacing: -0.011em; color: var(--text); }
#session.role-promoter #close-form { padding: 18px 20px 0; }
#session.role-promoter .close-field { margin: 0 0 var(--pr-q-gap); }
#session.role-promoter .close-actions { flex-direction: row-reverse; justify-content: flex-start; gap: 12px; margin: 6px -20px 0; padding: 16px 20px;
  border-top: 1px solid var(--line); background: var(--surface); }
#session.role-promoter .close-actions button { min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 500; }
#session.role-promoter #close-cancel { background: var(--surface); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
#session.role-promoter #close-cancel:hover { background: var(--tone); color: var(--text); }
/* D-248 (C0 01a1f397): the final confirm of the closing questions in the primary style of a submit (no rule of its own here); the
   dialog of a close held by a conversation being entered in the look of the closing questions. */
#session.role-promoter #close-held { border: 0; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line), var(--pr-lift); }
#session.role-promoter #close-held > p { font-size: 15px; line-height: 22px; }
#session.role-promoter #close-held > .close-held-actions > button { min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 500; }
#session.role-promoter #close-panel #close-retry { margin: 0 20px 16px; }
@media (max-width: 37.5rem) {
  #session.role-promoter .close-actions button { flex: 1 1 0; }
}

/* Posledné rozhovory (P10, a part of its own; P10d the table of AlignUI): the title, the totals, the count, then the
   conversations. */
#session.role-promoter .rows-recent-title { margin: 0; font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -0.011em; }
#session.role-promoter #rows-totals { margin: 2px 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }
#session.role-promoter #rows-count { margin: 2px 0 16px; }
#session.role-promoter #rows-table { display: block; overflow-x: auto; margin: 0; font-size: 14px; }
/* (Its band of headings and its cells are the leader's table of conversations too: the AlignUI v5 part above, D-225.) */
#session.role-promoter #rows-table td:nth-child(1) { font-weight: 500; white-space: nowrap; }
#session.role-promoter #rows-table td button { min-height: 44px; margin: 0; padding: 0 14px; border-radius: 10px; background: var(--surface); color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }
#session.role-promoter #rows-table td button:hover { background: var(--tone); color: var(--text); }

/* Where the middle is narrower than the table needs (P10d, AlignUI v5: below 56 rem of it – a phone, a tablet, the
   landscape tablet beside the rail): each conversation of the history is a card with its labels, so "Opraviť" is in
   reach without scrolling sideways and no column is squeezed. */
#session.role-promoter #rows-mid { container: rows-mid / inline-size; }
@container rows-mid (max-width: 56rem) {
  #session.role-promoter #rows-table { overflow: visible; }
  #session.role-promoter #rows-table thead { display: none; }
  #session.role-promoter #rows-table :is(tbody, tr, td) { display: block; }
  #session.role-promoter #rows-table tr { margin: 0; padding: 0.625rem 0.125rem; border-top: 1px solid var(--line); }
  #session.role-promoter #rows-table td { padding: 0.125rem 0; border: 0; text-align: left; overflow-wrap: anywhere; }
  #session.role-promoter #rows-table td::before { color: var(--muted); }
  #session.role-promoter #rows-table td:nth-child(1)::before { content: 'Čas: '; }
  #session.role-promoter #rows-table td:nth-child(2)::before { content: 'Údaje: '; }
  #session.role-promoter #rows-table td:nth-child(3)::before { content: 'Položky: '; }
  #session.role-promoter #rows-table td:nth-child(4)::before { content: 'Platba: '; }
  #session.role-promoter #rows-table td:nth-child(5)::before { content: 'Hodnota predaja: '; }
  #session.role-promoter #rows-table td:nth-child(6)::before { content: 'Verzia: '; }
  #session.role-promoter #rows-table td:nth-child(7) button { width: 100%; margin: 0.25rem 0 0; }
}
/* A tablet: the card's "Opraviť" in its own size (the whole width on a phone only). */
@container rows-mid (min-width: 36rem) and (max-width: 56rem) {
  #session.role-promoter #rows-table td:nth-child(7) button { width: auto; }
}

/* Products and gifts side by side where the width allows (P10). */
@media (min-width: 48rem) {
  #session.role-promoter .pickers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* P10 (C0E 01a18d9e, C0F 01a18da6), P10b (C0 01a19140): at a sufficient height the open shift stands with its top and
   its bottom and only the middle scrolls (touch, the wheel over it, the keyboard once it has the focus). The page is
   never locked: the frame is the height of the viewport, the middle keeps at least 12rem, and when the top, the middle
   at that height, the bottom and the navigation do not fit (a keyboard, a long message), the page grows past the
   viewport and scrolls rather than hide anything. Where that is to be expected the work area is a plain page instead:
   below 36rem, and in a narrow window (a phone) below 48rem, whose top and bottom take more lines (P10b, 390 × 640).
   The mode follows the window only, never the focus; nothing is scaled. The closing dialog does not change it. */
@media (min-height: 36rem) and (min-width: 40rem), (min-height: 48rem) {
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden])) body {
    display: flex; flex-direction: column; height: 100vh; height: 100dvh; min-height: min-content;
  }
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden])) :is(.appbar, main > *) {
    flex: none;
  }
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden])) main {
    display: flex; flex: 1 1 auto; flex-direction: column; width: 100%; min-height: 0; padding-bottom: 0;
  }
  /* P10c: no bar at the bottom of the page any more – the low band of the actions closes the window. */
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden]))
    .rows-bottom:has(> .state:not(:empty), > button:not([hidden]), > .row-actions:not([hidden])) {
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden])) #session {
    display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0;
  }
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden])) #session > * {
    flex: none;
  }
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden])) #mine-view {
    flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr);
  }
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden])) #promoter-shift {
    display: flex; flex-direction: column; height: 100%; min-height: 0;
  }
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden])) #promoter-shift > * {
    flex: none;
  }
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden])) #rows-view {
    display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0;
  }
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden])) #rows-mid {
    flex: 1 1 0; min-height: 12rem; overflow-y: auto; overscroll-behavior: contain;
  }
  /* The empty general status line keeps no room under the bottom actions; a message in it is shown. */
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden])) #status:empty {
    min-height: 0; margin: 0;
  }
}

/* A computer and a landscape tablet (P10c, D-223; P10d the side panel of AlignUI): the rail on the left edge of the window
   – PROMO, the places, Profil and Tmavý | Svetlý at its end –, no menu button; the work area beside it. The panel of the
   menu is never shown here. */
@media (orientation: landscape) and (min-width: 60rem) {
  main:has(> #session.role-promoter:not([hidden])) { padding-left: 0; }
  #session.role-promoter #mine-view:not([hidden]) { display: grid; grid-template-columns: 15rem minmax(0, 1fr); column-gap: var(--pr-pad-x);
    align-items: start; }
  #session.role-promoter #mine-view > :not(#promoter-nav) { grid-column: 2; }
  #session.role-promoter #promoter-nav { grid-row: 1 / span 9; position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh;
    height: 100dvh; padding: 20px 16px 16px; background: var(--surface); border-right: 1px solid var(--line); }
  #session.role-promoter #promoter-nav #promoter-menu { display: none; }
  /* In a low window the list scrolls in the rail (C3 01a1a62e); its side room keeps the bar of the current place in sight. */
  #session.role-promoter #promoter-nav #promoter-nav-list { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; margin: 0 -16px; padding: 0 16px;
    overflow-y: auto; overscroll-behavior: contain; }
  #session.role-promoter :is(#rows-view .rows-where, #shifts-panel > .ws-head, #promoter-stock > .ws-head, #ws-profile > .ws-title) { padding-left: 0; }
}
/* A portrait tablet and a phone: the same as a drawer from the left over the dimmed page, the menu button beside PROMO;
   Profil under a line after the places, Tmavý | Svetlý at its end. */
@media not all and (orientation: landscape) and (min-width: 60rem) {
  #session.role-promoter #promoter-nav:has(> #promoter-menu[aria-expanded="true"]) { position: fixed; inset: 0; z-index: 40; background: var(--scrim); }
  #session.role-promoter #promoter-nav:has(> #promoter-menu[aria-expanded="true"]) #promoter-menu { position: fixed; z-index: 42; }
  #session.role-promoter #promoter-nav:has(> #promoter-menu[aria-expanded="true"]) #promoter-nav-list {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 41; display: flex; flex-direction: column; width: min(18rem, 82vw); overflow-y: auto;
    padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-right: 1px solid var(--line);
    box-shadow: var(--pr-lift); }
  #session.role-promoter #promoter-nav .promoter-brand { margin-bottom: 8px; padding-left: 52px; }
  #session.role-promoter #promoter-nav-list > li:has(> #promoter-profile) { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
  #session.role-promoter #promoter-nav li.promoter-theme { margin-top: auto; padding-top: 12px; }
}
/* The confirmation of a step over unsaved work (D-127; P10d the modal card of AlignUI, its look in the AlignUI v5 part above,
   D-225): for the promoter over the page, under the top of the open shift, never blocking it – saving by "OK · uložiť" stays
   possible. In the closing dialog it stands in its flow. */
/* Never taller than the window: in a low one (a phone turned, a keyboard open) the card scrolls in itself, so both actions
   stay reachable (Sentinel 2 01a1a61c). */
#session.role-promoter .nav-notice:has(#nav-status:not(:empty)) { --pr-notice-top: 76px;
  position: fixed; top: var(--pr-notice-top); left: 50%; z-index: 35;
  max-height: calc(100vh - var(--pr-notice-top) - 8px); max-height: calc(100dvh - var(--pr-notice-top) - 8px); overflow-y: auto; overscroll-behavior: contain; margin: 0;
  transform: translateX(-50%); }
/* A low window: at the top edge and at most half of the window, so the page under it – "OK · uložiť" too – stays in reach
   (C3 01a1a62e). */
@media (max-height: 36rem) {
  #session.role-promoter .nav-notice:has(#nav-status:not(:empty)) { --pr-notice-top: 8px; max-height: calc(50vh - 8px); max-height: calc(50dvh - 8px); }
}
@media (orientation: landscape) and (min-width: 60rem) {
  #session.role-promoter .nav-notice:has(#nav-status:not(:empty)) { left: calc(50% + 7.5rem); width: min(440px, calc(100% - 15rem - 32px)); }
}
#session.role-promoter:not(:has(#promoter-shift:not([hidden]) > #rows-view:not([hidden]))) .nav-notice:has(#nav-status:not(:empty)) { --pr-notice-top: 12px; }
@media (max-height: 36rem) {
  #session.role-promoter:not(:has(#promoter-shift:not([hidden]) > #rows-view:not([hidden]))) .nav-notice:has(#nav-status:not(:empty)) { --pr-notice-top: 8px; }
}
#session.role-promoter #close-panel .nav-notice:has(#nav-status:not(:empty)) { position: static; width: auto; max-height: none; overflow: visible; margin: 0 0 16px;
  transform: none; }
/* The open shift in the frame on a computer and a landscape tablet: the rail fills the height beside it. */
@media (min-height: 36rem) and (orientation: landscape) and (min-width: 60rem) {
  html:has(#session.role-promoter:not([hidden]) #promoter-shift:not([hidden]) > #rows-view:not([hidden])) #promoter-nav {
    align-self: stretch; height: auto;
  }
}

/* D-236 (Owner 2026-11-16; C0 01a1e48b): the promoter's part of one look with the leader – the main action „Otvoriť deň“ filled
   in the blue of the sign-in (off at half strength), Profil with the plain controls of the leader's, Sklad over the whole width
   with its kinds told by its parts (Produkty, Darčeky) and its band of column names on a tone. The usual messages and warnings
   keep the look, colours and behaviour of the released base (Owner 2026-11-16 after C2 01a1e4fe, C0 01a1e530): no rule here. */
#session.role-promoter #tour-submit { min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--primary); color: var(--on-primary);
  box-shadow: none; font-size: 14px; font-weight: 500; }
#session.role-promoter #tour-submit:hover { background: var(--primary-press); }
#session.role-promoter #tour-submit:disabled, #session.role-promoter #tour-submit:disabled:hover { background: var(--primary); color: var(--on-primary);
  opacity: 0.5; }
#session.role-promoter #ws-profile :is(#profile-password-open, #logout) { min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--surface);
  color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }
#session.role-promoter #ws-profile :is(#profile-password-open, #logout):hover { background: var(--tone); color: var(--text); }
/* (A table on a narrow window scrolls as a block; this one of two columns fits and stays a table over the whole width.) */
#session.role-promoter #mine-table { display: table; width: 100%; }
/* The column Druh seen only by its parts, kept in each row for assistive technologies (C7 01a1e566), as in Príjem do skladu. */
#session.role-promoter #mine-table :is(th, td):nth-child(2) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; }
#session.role-promoter #mine-table thead th { padding: 8px 12px; border: 0; background: var(--tone); color: var(--muted); font-size: 14px; font-weight: 400;
  text-align: left; }
#session.role-promoter #mine-table thead th:first-child { border-radius: 8px 0 0 8px; }
#session.role-promoter #mine-table thead th:last-child { border-radius: 0 8px 8px 0; text-align: right; }
