/* Návrh 24 „Jedna cesta záberu“ (Peter 23. 10.), copied from docs/navrh-portalu-2026-10/navrh-24/navrh24.css (9ba2841);
   the prototype's own bar (.k24) is left out. */

/* 1. the four stages at the top, left to right */
.stav19 .ar24 { color: var(--faint); font-size: 14px; margin: 0 -2px; }
.stav19 .pl24:not(.on) b { color: var(--text2); font-weight: 600; }
.rail .add24 { display: block; margin-top: 4px; padding: 8px 10px; border-radius: 9px; border: 1px dashed var(--line2); color: var(--text2); font-size: 13px; font-weight: 600; text-decoration: none; }
.rail .add24:hover { color: var(--text); border-color: var(--accent-line); }

/* the strip: the same stages as groups; the active one is lit, the others stay readable */
.dstrip .g24 { display: contents; }
.dstrip .g24:not(.on) > .t13 { opacity: .62; }
.dstrip .g24:not(.on) > .t13:hover { opacity: 1; }
.dstrip .g24.on > .dg19 b { color: var(--accent); }
.dstrip .e24 { align-self: center; padding: 0 10px; color: var(--faint); }

/* 2. the stage while a job runs */
.busy24 { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 20px; color: var(--text2); }
.busy24 b { font-size: 16px; color: var(--text); }
.bar24 { width: 220px; height: 6px; border-radius: 999px; background: var(--raised); overflow: hidden; }
.bar24 i { display: block; width: 40%; height: 100%; background: var(--accent); animation: bar24 1s ease-in-out infinite alternate; }
@keyframes bar24 { from { transform: translateX(-60%); } to { transform: translateX(160%); } }
@media (prefers-reduced-motion: reduce) { .bar24 i { animation: none; } }

/* 3. the plan: two equal ways on (draw the frame, or go to the picture) */
.two24 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.two24 .btn.big { justify-content: center; gap: 8px; padding: 0 8px; font-size: 13.5px; }
.two24 .btn.big > span { white-space: normal; text-align: center; line-height: 1.2; }
.two24 .btn.big:only-child { grid-column: 1 / -1; }

/* 5. the start of the video: one visible choice of pictures, or none */
.sp24 { flex: 1; }
.st24 { display: flex; align-items: center; gap: 10px; }
.st24 > .lbl { flex: none; display: inline-flex; align-items: center; gap: 4px; width: 78px; }
.zv24 { display: flex; align-items: center; gap: 10px; }
.zv24 > .lbl { flex: none; display: inline-flex; align-items: center; gap: 4px; width: 78px; }
.zv24 > input[type=text] { flex: 1; min-width: 0; }
.zv24 > .muted { flex: 1; }
.ch24 { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 2px; scrollbar-width: thin; }
.c24 { position: relative; flex: none; display: grid; gap: 2px; width: 72px; padding: 3px; border-radius: 9px; border: 1px solid var(--line); background: var(--field); cursor: pointer; font-size: 11.5px; font-weight: 600; color: var(--text2); text-align: center; }
.c24 input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.c24 img, .c24 .no24 { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; display: grid; place-items: center; }
.c24 .no24 { background: repeating-linear-gradient(135deg, #14171A 0 6px, #191D20 6px 12px); color: var(--muted); font-size: 11px; }
.c24.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); color: var(--accent); }
.c24:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.x24 { margin-left: 4px; font-size: 16px; line-height: 1; }
.p24 { margin: 0 18px 10px; }
.p24:first-child { margin-top: 12px; }
.pd24 { margin-top: 8px; }

/* ---- verzia 2: scenár hore v paneli, výroba pod ním ---- */
.sc24 { border-bottom: 1px solid var(--line2); background: color-mix(in srgb, var(--panel) 70%, #000); }
.sch24 { display: flex; align-items: center; gap: 6px; }
.sch24 b { font-size: 13px; }
.pad24 { padding: 12px 18px 0; }
.sc24.shut { padding: 0; }
.scb24 { display: grid; gap: 3px; width: 100%; padding: 10px 18px 11px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.scb24:hover { background: rgba(255,255,255,.03); }
.scz24 { font-size: 12px; overflow-wrap: anywhere; min-width: 0; }
.sco24 { flex: none; font-size: 12px; font-weight: 600; color: var(--text2); }
/* the folded script says its sentences whole, wrapped — never „…“ (coordinator 11. 11.: nothing in the panel cut) */
.scl24 { font-size: 12.5px; color: var(--text2); overflow-wrap: anywhere; min-width: 0; }
.scl24 i { font-style: normal; color: var(--muted); margin-right: 4px; }
.sth24 { display: flex; align-items: center; gap: 6px; padding: 12px 18px 4px; }
.sth24 .eyebrow { margin: 0; }
.adv24 { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.why24 { margin: 0; padding-left: 18px; display: grid; gap: 2px; font-size: 12.5px; color: var(--text2); }
.ad24 { margin: 8px 0 0; }
.tr24 { font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tr24.ok { color: var(--ok); } .tr24.no { color: var(--warn); }
.alt24 .linkish { font-size: inherit; }
.np24 { display: grid; gap: 6px; } .np24 p { margin: 0; }
.dn24 { margin: 0 0 2px; }
/* the stage tabs: a done mark, a skipped stage is quiet (not an error) */
.stav19 .sv19.ok24 .c { color: var(--ok); }
.stav19 .sv19.sk24 { border-style: dashed; } .stav19 .sv19.sk24 b { color: var(--muted); font-weight: 600; } .stav19 .q24 { background: none; }
/* the rail: four small marks per shot (S O V F) */
.mk24 { display: inline-flex; gap: 3px; }
.mk24 i { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--faint); border: 1px solid var(--line2); }
.mk24 i.ok { color: #0d1a12; background: var(--ok); border-color: var(--ok); }
.mk24 i.sk { border-style: dashed; color: var(--line2); }
.two24 .price { display: none; }
.zd24 del { color: var(--muted); text-decoration-color: var(--bad); }
.zd24 ins { text-decoration: none; background: rgba(127,211,162,.14); color: var(--ok); border-radius: 3px; padding: 0 2px; }
/* the script's fields grow with the text: no scrollbars, the text wraps */
.f24form .textbox textarea { overflow: hidden; resize: none; white-space: pre-wrap; overflow-wrap: anywhere; field-sizing: content; }

/* the port (krok 2–3): the translation's mark inside a label of the portal keeps its own case and stands apart */
label .tr24 { margin-left: 8px; text-transform: none; letter-spacing: 0; }
/* the script: its fields and its fold are the portal's own (a form of the panel) */
.sc24 .scf24 { display: grid; }
.sc24.shut .scf24, .sc24:not(.shut) .scb24 { display: none; }
.sc24 .f23 { padding-bottom: 4px; }
.vy24 { display: block; }
.stav19 .sv19 .c.q24 { color: var(--muted); }
/* the stage forms' own fields are filled from the script: never shown twice */
form.sc24sync [data-sc24-hide] { display: none !important; }
.sc24:not(.shut) { max-height: 58vh; overflow: auto; }
.sc24 textarea { overflow: hidden; resize: none; }
/* "+ Pridať záber" under the rail's shots is a form's button (návrh 24) */
.rail .add24f { margin: 0; }
.rail button.add24 { width: 100%; text-align: left; background: none; font: inherit; cursor: pointer; }
/* the yellow next step may name the next shot at length: it wraps, never cut (cesta študenta 24. 10.) */
.rb .btn.primary.full, .ifoot .btn.primary.full { white-space: normal; height: auto; min-height: 40px; line-height: 1.25; padding-block: 8px; text-align: center; }
/* a paid storyboard frame says its price on the button (Codex 24. 10.; the prototype's frame was free) */
.two24 .btn.primary .price { display: inline-block; }

/* Peter 24. 10. (laptop height first; a regression at 2000×1200 squeezed Kamera and Formát to 20 px): the shot panel is
   one scrolling column — the scenár and the shot's settings below it at their natural height, nothing shrinks, no second
   scrollbar inside — and only the footer with the yellow button sticks to the bottom, as low as it can be */
@media (min-width: 901px) {
  .ws > .ws-panel { overflow-y: auto; overscroll-behavior: contain; }
  .ws-panel > .sc24, .ws-panel > .sc24:not(.shut) { flex: 0 0 auto; max-height: none; overflow: visible; }
  .ws-panel > .insp { display: contents; }  /* its parts are the panel's (a form or the result's and the storyboard's panel): the footer sticks to the panel itself */
  .ws-panel > .insp > .ihead, .ws-panel > .insp > .ibody { flex: 0 0 auto; min-height: auto; overflow: visible; }
  .ws-panel > .insp > .ifoot { position: sticky; bottom: 0; z-index: 2; margin-top: auto; flex: 0 0 auto;
    padding: 8px 18px 10px; gap: 6px; box-shadow: 0 -12px 16px -8px rgba(0,0,0,.55); }
}
.ihead .alt24 { margin: 6px 0 0; font-size: 12.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ihead .alt24 a { color: var(--accent); text-decoration: none; font-weight: 600; }
.ihead .alt24 a:hover, .ihead .alt24 a:focus-visible { text-decoration: underline; }
/* Peter 24. 10.: a teacher's "Kto je pred tebou" in Práve sa robí — names and kinds only */
.qahead { margin-top: 4px; font-size: 12px; color: var(--text2); }
.qahead summary { cursor: pointer; color: var(--muted); }
.qahead ul { margin: 4px 0 0; padding-left: 16px; display: grid; gap: 2px; }

/* Peter 26. 10.: Na začiatku vidíme the model does not read (a picture carries the start): the heading with its label,
   the text folded to one row under it; a click opens it */
.fold24 .textbox, .fold24 [data-sc24-names], .fold24 .v30mirror { display: none; }
.fold24 { contain: inline-size; }
.fold24 .irow { margin-bottom: 4px; }
.stp24 { display: block; width: 100%; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
         text-overflow: ellipsis; white-space: nowrap; text-align: left; color: var(--muted); font-weight: 400; }
.stp24:hover { color: var(--text); }
.fold24 .ilbl { white-space: nowrap; flex: 0 0 auto; }
.fold24 [data-sc24-noread] { flex: 1 1 0; min-width: 0; white-space: normal; text-align: right; line-height: 1.3; }
/* the text lives in the scenár above: its section keeps only Nehybný záber, with no second "Čo sa stane" heading
   (Peter 30. 10.: the lone heading with the switch ran past the panel's edge) */
form.sc24sync section[data-chg] > .irow > .ilbl, form.sc24sync section[data-chg] > .irow > .tip, form.sc24sync section[data-chg] > .irow > .sp { display: none; }
form.sc24sync section[data-chg] > .irow { margin-bottom: 0; }
/* the lines between the sections (Zámer, the adviser's door) keep the sections' inset */
[data-intent-zone] > .intent-line, [data-intent-zone] > .nep27d { margin-left: 18px; margin-right: 18px; }
[data-intent-zone] > .intent-line { margin-top: 12px; margin-bottom: 0; }

/* ---- návrh „Ďalší krok“ (Peter 30. 10.): small nudges toward the shortest path ---- */
/* 1 (variant A): the stage the head's badge leads to carries a small amber "ďalej ›"; the open stage keeps its fill */
.stav19 .sv19.nx24 { padding-right: 4px; }
.stav19 .sv19 .dl24 { display: inline-flex; align-items: center; height: 20px; padding: 0 8px 0 7px; margin-left: 2px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700;
  letter-spacing: .01em; white-space: nowrap; }
/* 2: a storyboard no assignment asks for says "nepovinný" in place of its empty count; on the open (amber) stage in a
   darker amber that stays readable (rozhodnutie 4) */
.stav19 .sv19 .op24 { font-size: 11px; font-weight: 500; color: var(--faint); letter-spacing: .01em; }
.stav19 .sv19.sk24 .op24 { color: var(--muted); }
.stav19 .sv19.on .op24 { color: #C98A1E; font-weight: 600; }
/* the storyboard panel: Preskočiť na prvý obraz points the same way as the pill — full width, the accent */
.two24 .btn.big.sk24go { grid-column: 1 / -1; border-color: var(--accent-line); color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 170, 40, .10); }
.two24 .btn.big.sk24go:hover { background: var(--accent-soft); }
/* 3: a video's start picture first — one row right above Čo sa stane; Zmeniť opens the choice under it */
.st24[hidden] { display: none; }
.zz24 { padding: 10px 18px 12px; border-bottom: 1px solid var(--line); }
.zzr24 { display: flex; align-items: center; gap: 10px; min-width: 0; }
.zzr24 > .lbl { flex: none; display: inline-flex; align-items: center; gap: 4px; margin: 0; }
.zt24 { flex: none; width: 72px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; display: grid; place-items: center;
  border: 1px solid var(--accent); box-shadow: 0 0 0 1px var(--accent); background: #000; color: var(--muted); }
.zt24 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zn24 { display: grid; gap: 1px; min-width: 0; line-height: 1.25; }
.zn24 b { font-size: 13.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zn24 small { font-size: 11.5px; color: var(--muted); }
.zzz24 { flex: none; font-size: 12.5px; }
.zzc24 { margin-top: 10px; display: grid; gap: 6px; }
.zzc24[hidden], .zzc24 [hidden] { display: none; }
.zzc24 .ch24 { align-items: flex-start; }
.zzc24 button.c24 { font: inherit; font-size: 11.5px; font-weight: 600; width: 72px; min-width: 0; box-sizing: border-box; }
.zzc24 button.c24 > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zzm24 { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.zzm24 .linkish { font-size: 12.5px; cursor: pointer; }
.zzm24 .linkish.on { color: var(--accent); font-weight: 600; }
.zzm24 button.linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; }
.zzc24 .c24:focus-visible, .zzm24 .linkish:focus-visible, .zzz24:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* 4: an empty V zábere offers a card, it does not order one */
.v30cards.em30 .irow .small.muted { display: none; }
.v30cards.em30 .v30add > summary.chip.add { border-style: dashed; color: var(--text2); font-weight: 500; }
.v30cards.em30 .v30add > summary .opt30 { color: var(--faint); font-weight: 400; }
/* 5: unused options of a video folded into one quiet last row of the settings box */
.dm24 { border-top: 1px solid var(--line); margin-top: 3px; }
.dm24[hidden] { display: none; }
.dm24 > summary { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 7px 10px 6px; cursor: pointer;
  list-style: none; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.dm24 > summary::-webkit-details-marker { display: none; }
.dm24 > summary .dm24t { flex: none; }
.dm24 > summary .dm24in { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: none;
  letter-spacing: 0; font-size: 12px; color: var(--faint); }
.dm24 > summary .dm24in:not(:empty)::before { content: "· "; }
.dm24[open] > summary .dm24in { display: none; }
.dm24 > summary .chev { width: 11px; height: 11px; flex: none; color: var(--faint); transition: transform .15s; }
.dm24[open] > summary .chev { transform: rotate(90deg); }
.dm24 > summary:hover, .dm24 > summary:hover .dm24in { color: var(--text2); }
.dm24 .dm24add { border-top: 0; margin-top: 0; padding-top: 0; }
.dm24 .dm24seg { display: flex; align-items: center; gap: 8px; padding: 2px 10px 8px; }
.dm24 .dm24seg .pal { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.dm24 .dm24seg .sm13w { margin-left: 0; }
/* 4. 11. (Peter: "tie obrázky sú také malé"): Začať z chooses from big pictures, two in a row; the start is also large
   on the stage, its Zmeniť opens this very choice */
.zzc24 .ch24 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
.zzc24 button.c24 { width: auto; font-size: 12px; }
.viewer .tag .tag24 { background: rgba(10,12,13,.78); backdrop-filter: blur(6px); border: 1px solid rgba(245, 170, 40, .55); padding: 2px 9px; border-radius: 6px;
  font: inherit; font-size: 12px; font-weight: 650; color: var(--accent); cursor: pointer; }
.viewer .tag .tag24:hover { background: var(--accent); color: #141719; }
.viewer .tag .tag24:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* návrh 53 "Pás dole": a tile looked at shows over the stage, its bar under the picture (never over a video) */
.cmain > .viewer.pv53on > :not(.pv53) { visibility: hidden; }
.pv53 { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; background: #0A0C0D; }
.pv53m { position: relative; flex: 1 1 auto; min-height: 0; }
.pv53m > img, .pv53m > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; box-shadow: inset 0 0 0 2px var(--accent); }
.pv53b { flex: 0 0 auto; display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; padding: 8px 10px; border-top: 1px solid var(--line); background: var(--raised, #15191b); }
.pv53b .k53 { font-weight: 750; }
.pv53b .m53 { color: var(--muted); font-size: 12.5px; }
.pv53b .sp53 { flex: 1 1 auto; }
.pv53b .offwhy { flex: 1 0 100%; order: 9; margin: 0; }
.dstrip a.t13.pv53t { outline: 2px solid var(--accent); outline-offset: 1px; }
