/* AI ateliér portal. Identity from the design manual (AKU BB/Vystupy/atelier-identita/balik-v1): INK #141719,
   PAPER #F5F4F0, AMBER #F5AA28 for the main action (dark text on it), MUTED #A6AAA9 only on dark surfaces; Inter
   400/600/800 served from this server (no requests to other servers, OFL licence next to the fonts). Layout and
   components follow the mockups in docs/navrh-portalu-2026-10/. Text at least 4.5:1, controls at least 3:1, status
   never carried by colour alone (always a word or a symbol next to it). */
@font-face { font-family: Inter; src: url("/static/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url("/static/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url("/static/inter-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
:root {
  --bg: #141719; --head: #181C1F; --panel: #1D2124; --raised: #22272A; --well: #101315;
  --line: #2C3236; --line2: #3D454B; --control: #6B7479;
  --text: #F5F4F0; --text2: #D9D8D3; --muted: #A6AAA9; --faint: #8B908F;
  --accent: #F5AA28; --accent-hover: #FFBD4A; --accent-ink: #141719; --link: #F5AA28; --link-hover: #FFCC70;
  --ok: #7FD3A2; --ok-bg: #16301F; --ok-line: #2F6A43;
  --warn: #F0C672; --warn-bg: #2E2513; --warn-line: #6B5320;
  --bad: #F09A8B; --bad-bg: #3A1E1B; --bad-line: #7A3A30;
  --info: #9CC6EE; --info-bg: #172A3E; --info-line: #2B4B6B;
  --radius: 14px; --radius-sm: 10px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 15px/1.5 var(--font); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}
/* links in text keep their underline (amber alone differs from the text by 1.8:1 only, Codex 8. 10.); menus,
   buttons and tiles switch it off */
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: rgba(245, 170, 40, .55); }
a:hover { color: var(--link-hover); text-decoration-color: currentColor; }
.nav a, .subnav a, .brand, .btn, .account-menu a, .video-link { text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1 { font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 16px; }
h2 { font-size: 19px; font-weight: 600; margin: 24px 0 10px; }
h3 { font-size: 16px; font-weight: 600; margin: 18px 0 8px; }

/* header: product logo + the school's logo, the main menu, tools on the right */
.top {
  display: flex; align-items: center; gap: 12px 24px; padding: 12px 32px; flex-wrap: wrap;
  background: var(--head); border-bottom: 1px solid #272C30;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-logo { height: 24px; width: auto; display: block; }
.org-plate { display: inline-flex; align-items: center; background: var(--text); border-radius: 6px; padding: 2px 6px; }
.org-plate img { height: 34px; width: auto; display: block; }
.org-name { color: var(--muted); font-size: 13px; padding-left: 12px; border-left: 1px solid var(--line2); }
.sp { flex: 1; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 8px 14px; border-radius: 8px; color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); background: var(--raised); text-decoration: none; }
.nav a[aria-current="page"] { background: #272C30; color: var(--text); }
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.who { color: var(--muted); }
.inline { display: inline; margin: 0; }
.account { position: relative; }
.account summary {
  list-style: none; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px 0 6px;
  border: 1px solid var(--line2); border-radius: var(--radius-sm); background: var(--raised); cursor: pointer;
}
.account summary::-webkit-details-marker { display: none; }
.account summary::after { content: ""; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-2px, -2px); margin-left: 2px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: #3D3322; color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.account .who { font-size: 14px; max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 200px; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line2); border-radius: var(--radius-sm); padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
.account-menu a, .account-menu .linklike { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 7px;
  color: var(--text); font: inherit; }
.account-menu a:hover, .account-menu .linklike:hover { background: var(--raised); text-decoration: none; }
.linklike { background: none; border: 0; cursor: pointer; color: var(--link); padding: 0; }

/* the film's tabs under the header (shots, characters and places, the cut, all versions) */
.subnav { display: flex; gap: 4px; padding: 0 32px; border-bottom: 1px solid var(--line); background: var(--bg);
  overflow-x: auto; scrollbar-width: none; }
.subnav a { flex: 0 0 auto; padding: 12px 14px 10px; color: var(--muted); font-weight: 600; font-size: 14px;
  border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--text); text-decoration: none; }
.subnav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.subnav .film-switch { color: var(--text); font-weight: 800; max-width: 22ch; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; padding-right: 18px; margin-right: 6px; border-right: 1px solid var(--line); border-bottom-color: transparent; }
.subnav .film-switch::after { content: " ▾"; color: var(--muted); font-weight: 400; }

/* the film: its head (assignment, title, progress, the next step) and its shots as tiles */
.film-head { display: block; margin: 0 0 20px; }
.film-head h1 { font-size: 32px; margin: 2px 0 6px; }
.eyebrow { margin: 0; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.logline { margin: 0 0 8px; color: var(--text2); max-width: 70ch; }
.film-info p.small { margin: 6px 0 0; }
.film-progress { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.film-progress p { margin: 0; }
.big-num { font-size: 26px; font-weight: 800; margin-right: 4px; }
progress { width: 100%; height: 6px; margin: 8px 0; appearance: none; -webkit-appearance: none; border: 0; border-radius: 3px;
  background: #323A3F; overflow: hidden; }
progress::-webkit-progress-bar { background: #323A3F; border-radius: 3px; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 3px; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 3px; }
.film-progress .next { font-size: 14px; color: var(--text2); }
.section-title { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.scene-title { margin: 22px 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.shot-tile { display: flex; flex-direction: column; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; }
.shot-tile:hover { border-color: var(--line2); }
.shot-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--well); overflow: hidden; }
.shot-thumb img, .shot-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.shot-tile:hover .shot-thumb img, .shot-tile:hover .shot-thumb video { transform: scale(1.03); }
.shot-no { position: absolute; left: 8px; top: 8px; padding: 1px 8px; border-radius: 6px; background: rgba(20, 23, 25, .82);
  color: var(--text); font-size: 13px; font-weight: 600; }
.thumb-empty { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--faint);
  font-size: 13px; background: repeating-linear-gradient(135deg, #15191B 0 12px, #181C1F 12px 24px); }
.shot-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; flex: 1; }
.shot-body .actions { margin-top: auto; padding-top: 4px; align-items: center; }
.shot-body .plan-intent { color: var(--text); }
.card-like { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin: 16px 0 0; }
.film-grid { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.film-tile { display: flex; flex-direction: column; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.film-thumb { aspect-ratio: 16 / 9; background: var(--well); }
.film-thumb img, .film-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.film-body h2 { margin: 0 0 2px; font-size: 19px; font-weight: 800; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.film-body p { margin: 2px 0; }
.film-body form { margin-top: 10px; }

.page { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 28px 32px 56px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.narrow { max-width: 460px; margin: 24px auto; }
.empty { padding: 32px 0; text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.form { display: flex; flex-direction: column; gap: 6px; }
.form label { color: var(--muted); font-size: 14px; margin-top: 8px; }
:root { color-scheme: dark; }
input:not([type]), input[type=text], input[type=number], input[type=search], input[type=password], input[type=date],
input[type=email], input[inputmode], textarea, select {
  font: inherit; color: var(--text); background: var(--well); border: 1px solid var(--control);
  border-radius: 9px; padding: 10px 12px;
}
input:not([type]):hover, input[type=text]:hover, input[inputmode]:hover, input[type=search]:hover, textarea:hover, select:hover { border-color: #8A9398; }
.form .btn { margin-top: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: var(--radius-sm); font: 600 14px/1.2 var(--font); border: 1px solid var(--line2); color: var(--text);
  background: var(--raised); cursor: pointer; text-decoration: none;
}
.btn:hover { border-color: #5A6268; color: var(--text); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn.ghost { background: transparent; min-height: 36px; padding: 0 12px; font-weight: 600; }
.btn.small { min-height: 38px; padding: 0 12px; font-size: 13px; }
.report-link svg { color: var(--text2); flex: 0 0 auto; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.msg { border: 1px solid var(--line2); border-radius: var(--radius-sm); padding: 10px 14px; margin: 0 0 14px; }
.msg.ok { border-color: var(--ok-line); background: var(--ok-bg); color: var(--ok); }
.msg.bad { border-color: var(--bad-line); background: var(--bad-bg); color: var(--bad); }
.msg.info { border-color: var(--info-line); background: var(--info-bg); color: var(--info); }
.code { font-family: var(--mono); }

.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; padding: 18px 16px 22px;
  color: var(--faint); font-size: 12px; border-top: 1px solid #22272A; }
.foot a { color: var(--faint); text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--text); }

/* assignment and videos */
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.row-head h1 { margin: 0 0 12px; }
textarea { resize: vertical; line-height: 1.5; }
.options { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 12px 12px; margin: 12px 0 0; }
.options legend { color: var(--muted); font-size: 14px; padding: 0 6px; }
.option { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 8px; cursor: pointer; }
.option:hover { background: var(--raised); }
.option input { margin-top: 4px; accent-color: var(--accent); }
.option-body { display: flex; flex-direction: column; gap: 3px; }
.option-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-weight: 600; }
.option-text { color: var(--muted); font-size: 14px; font-weight: 400; }
.option.not_allowed { opacity: .6; cursor: not-allowed; }
.st { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; white-space: nowrap; padding: 2px 9px;
  border-radius: 999px; background: #20242A; border: 1px solid #2E333A; color: var(--text2); }
.st.available, .st.gd { color: var(--ok); border-color: var(--ok-line); background: var(--ok-bg); }
.st.busy, .st.rn, .st.wt { color: var(--warn); border-color: var(--warn-line); background: var(--warn-bg); }
.st.unavailable, .st.rj, .st.un, .st.not_allowed { color: var(--bad); border-color: var(--bad-line); background: var(--bad-bg); }
.videos { list-style: none; margin: 0; padding: 0; }
.video-row { padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.video-link { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; color: var(--text); text-decoration: none; }
.video-link:hover { color: var(--text); text-decoration: none; }
.video-link:hover .video-prompt { text-decoration: underline; }
.video-when { color: var(--muted); font-size: 13px; }
.video-prompt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.state { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.player { width: 100%; max-height: 70vh; background: #000; border-radius: var(--radius-sm); margin: 12px 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 16px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; white-space: pre-wrap; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) { .video-link { grid-template-columns: 1fr auto; } .video-when { grid-column: 1 / -1; } }

.still { margin: 12px 0; }
.still.big img { max-height: 70vh; }
.still img { max-width: 100%; max-height: 360px; border-radius: var(--radius-sm); border: 1px solid var(--line2); display: block; }
.form input[type=file] { color: var(--muted); font-size: 14px; }

.shot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 10px; margin: 6px 0 8px; }
.form .shot { display: flex; flex-direction: column; gap: 4px; margin-top: 0; }
.shot select { width: 100%; }
select { padding: 9px 10px; }
.hint { margin: 6px 0; }
.hint summary { cursor: pointer; color: var(--text2); }
.hint p { margin: 6px 0 0; }

.report { white-space: pre-wrap; font: 13px/1.45 var(--mono); background: var(--well); border: 1px solid var(--line2); border-radius: var(--radius-sm); padding: 12px; }
.list { width: 100%; border-collapse: collapse; font-size: 14px; }
.list th, .list td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.list th { color: var(--muted); font-weight: 600; font-size: 13px; }
.plain { list-style: none; padding: 0; margin: 0 0 8px; }
.plain li { padding: 4px 0; }
.credit input[type=number] { width: 7em; padding: 6px 9px; }

/* the cards (characters and places): reference slots of a card version */
.bible-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: 12px; margin: 8px 0 12px; }
.slot { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; background: var(--panel); }
.slot-img { aspect-ratio: 3 / 4; background: var(--well); border-radius: 7px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--muted); font-size: 13px; }
.slot-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot-label { font-size: 14px; }
.slot-form { margin: 4px 0 0; gap: 4px; }
.final .preview { white-space: pre-wrap; margin: 6px 0 10px; }
.final textarea[hidden] { display: none; }
.steps .step { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; margin: 26px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.steps .num { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 800; }
.shot-title { font-size: 14px; }
.shot-help { line-height: 1.35; }
.help { margin: 14px 0 0; }
.help .more { margin: 6px 0 0; font-size: 14px; }
.lead { font-size: 19px; font-weight: 600; margin: 8px 0 16px; }
blockquote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid var(--accent); color: var(--text); }
blockquote p { margin: 0 0 4px; font-style: italic; }
blockquote footer { color: var(--muted); font-size: 13px; }
.help p { font-size: 14px; line-height: 1.5; }
.slot-form input, .slot-form select { font-size: 13px; width: 100%; box-sizing: border-box; min-width: 0; }

/* the shots and the selection */
.plan { list-style: none; margin: 0; padding: 0; }
.plan-intent { font-size: 15px; }
.sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; margin: 10px 0; }
.take { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; display: flex; flex-direction: column; gap: 8px; background: var(--panel); }
.take.gd { border-color: var(--ok-line); }
.take.rj { border-style: dashed; border-color: var(--bad-line); }
.take-media video, .take-media img { width: 100%; border-radius: 7px; background: #000; display: block; }
.take-prompt { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.take-form input { width: 100%; box-sizing: border-box; padding: 7px 10px; }
[hidden] { display: none !important; }
.ws-around { display: flex; gap: 14px; flex-wrap: wrap; }
.ws-around .sp { flex: 1; }
.take-change { color: var(--text); }
.place select { max-width: 260px; }
.gap { aspect-ratio: 16 / 9; background: #000; color: var(--muted); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; border-radius: var(--radius-sm); margin: 12px 0; }
.gap[hidden], .player[hidden] { display: none; }

/* text only for screen readers (a label's context that the eye gets from the layout) */
.sr-only { position: absolute; left: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* images generated for a card: a contact sheet of small tiles, not one picture across the page */
.gen-takes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.gen-takes .take-media img { max-height: 260px; object-fit: contain; }
.generate { margin: 18px 0; }
/* the shot workspace: short forms; the explanations live on the single pages and in the library */
.compact .shot-help, .compact .final > p.muted { display: none; }
.ws-intent { font-size: 18px; margin: 4px 0; }
.ws-nav { margin: 8px 0 12px; }
.frame-thumb { width: 96px; height: 54px; object-fit: cover; border-radius: 6px; vertical-align: middle; margin-right: 8px; background: #000; }
.translate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 6px; }
@media print {
  header.top, nav, footer.foot, .no-print, .subnav { display: none !important; }
  body { background: #fff; color: #000; }
  .card { border: 0; box-shadow: none; background: #fff; color: #000; }
  .print-sheet .code { font-size: 14px; }
}
@media (max-width: 760px) {
  /* wide tables (the teacher's class, the sequence) scroll inside their card instead of breaking the page */
  .card table.list { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 720px) {
  /* phone: the menu becomes a row that scrolls sideways, nothing wider than the screen */
  .top { padding: 10px 16px; gap: 10px 12px; }
  .top .nav { order: 3; flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; }
  .top .nav a { flex: 0 0 auto; }
  .top-tools { gap: 8px; }
  .report-text { display: none; }
  .report-link { width: 40px; padding: 0; }
  .brand { gap: 8px; }
  .brand-logo { height: 20px; }
  .org-plate img { height: 30px; }
  .subnav { padding: 0 12px; }
  .page { padding: 20px 16px 40px; }
  .film-head { grid-template-columns: 1fr; }
  .film-head h1 { font-size: 26px; }
  .card { padding: 18px 16px; }
  h1 { font-size: 22px; }
  img, video { max-width: 100%; }
}

/* The shot workplace (Codex návrh 02/03, Peter 9. 10.): the film's shots on the left, the picture large in the middle,
   the panel of the next step on the right with the price and the main action pinned at its foot. The shot stays in the
   same place whether it is being prepared, looked at or compared. */
.page.wide { max-width: none; padding: 0; }
.ws { display: grid; grid-template-columns: 200px minmax(0, 1fr) 380px; min-height: calc(100vh - 140px); }
.ws-rail { padding: 22px 14px; border-right: 1px solid var(--line); background: #111719; }
.ws-rail .eyebrow { margin-bottom: 14px; }
.ws-rail-scene { margin: 16px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ws-rail-item { display: block; padding: 8px; margin-bottom: 8px; border: 1px solid transparent; border-radius: 8px; color: var(--text); font-size: 12px; text-decoration: none; }
.ws-rail-item:hover { background: var(--raised); text-decoration: none; }
.ws-rail-item[aria-current="page"] { background: #242b2e; border-color: var(--accent); }
.ws-rail-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--well); margin-bottom: 6px; }
.ws-rail-thumb img, .ws-rail-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-rail-thumb .thumb-empty { font-size: 10px; }
.ws-rail-item b { display: block; font-size: 12px; }
.ws-rail-intent { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text2); font-size: 11px; margin: 2px 0; }
.ws-rail .btn { margin-top: 10px; }
.btn.full { width: 100%; }
.ws-main { padding: 24px 32px 48px; min-width: 0; }
.ws-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ws-head h1 { margin: 0; font-size: 26px; }
.ws-no { color: var(--muted); font-weight: 400; margin-right: 6px; }
.ws-switch { display: none; }
.ws-intent { margin: 14px 0 6px; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--panel); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.ws-intent .eyebrow { margin: 0; }
.ws-intent p { margin: 2px 0 4px; font-size: 15px; }
.ws-intent .hint { margin: 0; font-size: 13px; }
.ws-rules { margin: 8px 0 0; font-size: 13px; color: var(--text2); }
.ws-rules summary { cursor: pointer; color: var(--muted); }
.ws-rules .assignment-pick { margin-top: 6px; }
.ws-tabs { display: flex; gap: 22px; margin: 18px 0 14px; border-bottom: 1px solid var(--line); }
.ws-tabs a { padding: 11px 0 9px; color: var(--muted); font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; text-decoration: none; }
.ws-tabs a:hover { color: var(--text); }
.ws-tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.ws-count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 4px; background: var(--raised); color: var(--text2); font-size: 11px; text-align: center; }
.ws-stage { display: grid; place-items: center; aspect-ratio: 16 / 9; max-height: 64vh; background: #080b0c; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.ws-stage > img, .ws-stage > video { width: 100%; height: 100%; object-fit: contain; display: block; }
.ws-stage-empty { padding: 24px; text-align: center; max-width: 440px; }
.ws-stage-empty h2 { margin: 0 0 8px; font-size: 18px; }
.ws-stage-empty p { margin: 0; color: var(--muted); font-size: 14px; }
.ws-stage-note { margin: 8px 0 0; }
.ws-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; width: 100%; align-self: stretch; }
.ws-compare figure { margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.ws-compare video { width: 100%; background: #000; border-radius: 4px; }
.ws-compare figcaption { font-size: 12px; color: var(--text2); }
.ws-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.ws-section-head h2 { margin: 0; font-size: 16px; }
.ws-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ws-strip-item { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); color: var(--text); font-size: 12px; text-decoration: none; }
.ws-strip-item:hover { border-color: var(--line2); text-decoration: none; }
.ws-strip-item[aria-current="true"] { border-color: var(--accent); }
.ws-strip-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--well); margin-bottom: 4px; }
.ws-strip-thumb img, .ws-strip-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-strip-item .st { align-self: flex-start; font-size: 11px; padding: 0 7px; }
.ws-future { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px; border: 1px dashed var(--line2); border-radius: 8px; color: var(--muted); font-size: 12px; }
.ws-future span { font-size: 11px; }
.ws-panel { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--line); background: #1a2023; }
.ws-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 16px 20px 0; }
.ws-modes a { display: flex; flex-direction: column; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 8px; color: var(--muted); text-decoration: none; }
.ws-modes a b { color: var(--text); font-size: 14px; }
.ws-modes a span { font-size: 11px; }
.ws-modes a:hover { border-color: var(--control); text-decoration: none; }
.ws-modes a[aria-current="page"] { background: #2b3135; border-color: var(--accent); }
.ws-form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.ws-panel-tabs { display: flex; gap: 20px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.ws-panel-tabs button { padding: 12px 0 10px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: 600 13px var(--font); cursor: pointer; }
.ws-panel-tabs button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--accent); }
.ws-scroll { padding: 18px 20px 24px; flex: 1; }
.ws-scroll h2 { margin: 0 0 12px; font-size: 21px; }
.ws-scroll label { display: block; color: var(--text2); font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
.ws-scroll textarea, .ws-scroll input:not([type=radio]):not([type=checkbox]), .ws-scroll select { width: 100%; }
.ws-scroll .options { margin-top: 14px; }
.ws-scroll label.option { display: flex; margin: 0; font-weight: 400; color: var(--text); font-size: 14px; }
.ws-scroll label.option input { flex: 0 0 auto; width: auto; }
.ws-scroll .shot { display: flex; flex-direction: column; gap: 4px; }
.ws-scroll .shot select { width: 100%; }
.ws-scroll .option { padding: 8px; }
.ws-scroll .option label, .ws-scroll .option-body { font-weight: 400; }
.shot-grid.one { grid-template-columns: 1fr; margin-top: 10px; }
.ws-generate { position: sticky; bottom: 0; padding: 14px 20px 16px; border-top: 1px solid var(--line); background: #1a2023; box-shadow: 0 -10px 24px rgba(0, 0, 0, .25); }
.ws-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ws-price b { font-size: 22px; font-weight: 800; white-space: nowrap; }
.ws-generate .draft-note { margin: 8px 0 0; }
.ws-info { margin: 14px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.ws-info summary { cursor: pointer; font-weight: 600; }
.ws-info .facts { margin: 10px 0; }
.ws-sent { white-space: pre-wrap; font-size: 12px; color: var(--text2); background: var(--well); padding: 10px; border-radius: 6px; max-height: 180px; overflow: auto; }
.ws-later { display: flex; justify-content: space-between; align-items: center; margin: 14px 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.ws-decide { margin-top: 10px; }
.ws-decide .btn.primary { margin-top: 10px; }
.ws-chips-label { margin: 16px 0 6px; }
.ws-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.eyebrow.dim { color: var(--muted); }
@media (max-width: 1180px) { .ws { grid-template-columns: 150px minmax(0, 1fr) 330px; } .ws-main { padding: 20px 20px 40px; } }
@media (max-width: 900px) {
  .ws { display: block; }
  .ws-rail { display: none; }
  .ws-switch { display: block; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
  .ws-switch select { width: 100%; margin-top: 4px; }
  .ws-main { padding: 18px 16px 24px; }
  .ws-head h1 { font-size: 22px; }
  .ws-panel { border-left: 0; border-top: 1px solid var(--line); padding-bottom: 150px; }
  .ws-generate { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid #556067; }
  .ws-price { margin-bottom: 6px; }
  .ws-price b { font-size: 19px; }
  .ws-compare { grid-template-columns: 1fr; }
  .ws-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Pages of the film (Codex návrh 03): a heading with the one next action, a row of facts, then the work. */
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.page-heading h1 { margin: 4px 0 6px; font-size: 32px; }
.page-heading .btn { flex-shrink: 0; }
.film-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.film-stats > div { padding: 12px 16px 12px 0; }
.film-stats > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.film-stats dt { color: var(--muted); font-size: 12px; }
.film-stats dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.film-stats progress { display: block; margin-top: 6px; }
.film-head .next { margin: 0 0 16px; color: var(--text2); font-size: 14px; }
@media (max-width: 720px) {
  .page-heading { display: block; }
  .page-heading .btn { margin-top: 12px; width: 100%; }
  .page-heading h1 { font-size: 26px; }
  .film-stats { grid-template-columns: 1fr 1fr; }
  .film-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .film-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.surface { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.surface h2 { margin-top: 0; }
.ws-later-list { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.ws-later-list h3 { margin: 0 0 4px; font-size: 14px; }
.table-wrap { overflow-x: auto; margin-top: 16px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ws-stage[data-compare] { aspect-ratio: auto; max-height: none; overflow: visible; }
.ws-switch-row { display: flex; gap: 8px; margin-top: 4px; }
.ws-switch-row select { flex: 1; min-width: 0; }

/* The teacher's part (Codex 03): what needs attention first, then the class. */
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.stat:hover { border-color: var(--line2); text-decoration: none; }
.stat span { color: var(--muted); font-size: 13px; }
.stat b { font-size: 30px; font-weight: 800; line-height: 1.2; }
.stat small { color: var(--muted); font-size: 12px; }
.surface + .hint, .surface + .card, .hint + .card { margin-top: 16px; }
.subnav .film-switch.static::after { content: none; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr; } }

/* Cards, films, versions as pictures (Codex 03). */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 14px; margin-bottom: 8px; }
.entity-card, .film-card { display: flex; flex-direction: column; gap: 4px; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; color: var(--text); text-decoration: none; }
.entity-card { padding-bottom: 12px; }
.entity-card:hover, .film-card:hover { border-color: var(--line2); text-decoration: none; }
.entity-card > :not(.entity-thumb) { margin: 0 12px; }
.entity-thumb, .film-thumb { display: block; aspect-ratio: 4 / 3; background: var(--well); overflow: hidden; }
.film-thumb { aspect-ratio: 16 / 9; }
.entity-thumb img, .film-thumb img, .film-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.entity-card .tag { margin-top: 10px; }
.entity-card b { font-size: 16px; }
.entity-text { color: var(--text2); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag { display: inline-block; align-self: flex-start; padding: 1px 8px; border-radius: 4px; background: #2b3135; color: var(--text2); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.film-grid { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.film-card .film-body { padding: 12px 16px 16px; }
.film-card-title { margin: 6px 0 4px; font-size: 19px; }
.film-card-title a { color: var(--text); text-decoration: none; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.toolbar select { width: auto; min-width: 0; max-width: 100%; }
.list-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.list-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.list-thumb { display: block; aspect-ratio: 16 / 9; background: var(--well); border-radius: 6px; overflow: hidden; }
.list-thumb img, .list-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.list-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.list-title { color: var(--text); text-decoration: none; }
.list-body .video-prompt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; margin: 0 0 18px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.callout h2 { margin: 2px 0 4px; font-size: 19px; }
.callout p { margin: 0; color: var(--text2); }
@media (max-width: 720px) {
  .list-row { grid-template-columns: 80px minmax(0, 1fr); }
  .list-row > .st { grid-column: 2; justify-self: start; }
  .callout { display: block; }
  .callout .btn { margin-top: 12px; width: 100%; }
}
@media (max-width: 760px) { .surface table.list { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.film-thumb, .shot-thumb, .list-thumb, .ws-strip-item, .ws-rail-item, .entity-card, .stat { text-decoration: none; }
.library-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.library-item { display: flex; flex-direction: column; gap: 6px; height: 100%; color: var(--text); text-decoration: none; }
.library-item:hover { border-color: var(--line2); text-decoration: none; }
.library-item b { font-size: 17px; }

/* Rýchly test (Codex návrh 03): the result on a stage, the form in a panel beside it like at a shot. */
.quick { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.quick-main .ws-stage { max-height: 70vh; }
.quick-note { margin-top: 12px; }
.quick-note p { margin: 0 0 6px; }
.quick-prompt { color: var(--text2); }
.quick-panel { border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; }
.quick-panel .assignment-pick p { margin: 0 0 6px; }
.ws-sub { margin: 0 0 6px; font-size: 16px; }
@media (max-width: 900px) {
  .quick { grid-template-columns: 1fr; }
  .quick-panel { border-radius: var(--radius); border-top: 1px solid var(--line); }
}

/* Shots of the film as cards (Codex návrh 03): the whole card opens the shot; the order buttons stay on top. */
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 28px 0 14px; }
.section-heading h2 { margin: 0; font-size: 22px; }
.section-heading .actions { margin: 0; }
.scene-title { margin: 18px 0 10px; }
.plan { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.shot-tile { position: relative; background: var(--panel); }
.shot-tile.is-next { border-color: var(--accent); }
.shot-name { margin: 2px 0 0; font-size: 17px; }
.shot-name a { color: var(--text); text-decoration: none; }
.shot-name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.shot-name a:focus-visible { outline: none; }
.shot-tile:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.shot-tile .plan-intent { margin: 0; color: var(--text2); font-size: 14px; }
.shot-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.shot-order { position: relative; z-index: 1; display: flex; gap: 6px; margin-top: auto; padding-top: 6px; }
.add-shots { margin-top: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; }
.add-shots > summary { font-weight: 600; cursor: pointer; }
.add-shots[open] > summary { margin-bottom: 8px; }
.empty-state { text-align: center; padding: 36px 20px; }
.empty-state h3 { margin: 0 0 6px; font-size: 19px; }
.reading-list { margin: 8px 0 14px; padding-left: 20px; color: var(--text2); }
.reading-list li { margin: 4px 0; }
.actions.center { justify-content: center; }

/* Strih: the shots in order as a strip; a missing choice is a visible gap (Codex návrh 03). */
.actions.stack { flex-direction: column; align-items: stretch; }
.actions.stack .btn { width: 100%; justify-content: center; }
.actions.stack form.place { display: flex; flex-direction: column; gap: 6px; }
/* Peter 19. 10.: a long shot name stretched the menu past the panel ("1.04 Zaváhanie — Na konci mosta…"); it is as wide as
   the buttons above it and the name ends with … */
.actions.stack form.place { width: 100%; min-width: 0; }
.actions.stack form.place .selbtn { min-width: 0; max-width: 100%; }
.actions.stack form.place .selbtn .val { min-width: 0; }
.facts.compact { grid-template-columns: 1fr; gap: 2px; font-size: 14px; }
.facts.compact dt { margin-top: 8px; font-size: 12px; }
.version-page .player, .version-page video { width: 100%; border-radius: var(--radius-sm); }
.split > aside .facts { grid-template-columns: 1fr; gap: 2px; font-size: 14px; }
.split > aside .facts dt { margin-top: 8px; font-size: 12px; }
.card-detail > section > .surface + * { margin-top: 16px; }
.split > *, .quick > * { min-width: 0; }
@media (max-width: 600px) { .bible-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.spaced { margin-top: 20px; }
.reading { max-width: 760px; font-size: 16px; line-height: 1.6; }
.reading h2 { margin-top: 24px; }
.report { overflow-x: auto; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.search-label { display: block; max-width: 480px; margin: 0 0 18px; color: var(--text2); font-size: 13px; font-weight: 600; }
.search-label input { display: block; width: 100%; margin-top: 6px; }

/* Porovnanie: the two versions are picked right above the videos and play together (Peter 9. 10.) */
.ws-compare-wrap { width: 100%; align-self: stretch; display: flex; flex-direction: column; }
.ws-compare-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 10px 0; }
.ws-compare-bar label { font-size: 13px; color: var(--text2); }
.ws-compare-bar select { width: auto; min-width: 0; max-width: 220px; padding: 6px 10px; }
.ws-compare-bar [data-compare-play] { margin-left: auto; }

/* the shot's material: pictures and video versions in their own rows, each tile says what it is (Peter 9. 10.) */
.ws-strip-group + .ws-strip-group { margin-top: 16px; }
.ws-strip-head { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--text2); }
.ws-strip-thumb { position: relative; }
.ws-kind { position: absolute; left: 6px; bottom: 6px; padding: 1px 7px; border-radius: 5px; font-size: 11px; font-weight: 600;
  background: rgba(10, 12, 13, .8); color: var(--text); }
.ws-strip-item.is-video .ws-kind { background: var(--accent); color: var(--accent-ink); }
.ws-strip-item.is-image .ws-strip-thumb { border-radius: 2px; outline: 1px solid var(--line2); outline-offset: -1px; }
.ws-choose-note { margin: 6px 0 2px; padding: 8px 10px; border-radius: 8px; background: var(--info-bg); color: var(--text2); }


/* ===== The inspector (návrh 04, Peter 9. 10.): controls of an app, not a web form ===============================
   Sections with a small caps label; property rows (label left, control right); folds that show their value when
   closed; pickers that open over the panel; help behind (i); one amber main action with its price. */
.insp { font-size: 14px; }
.insp .ihead { padding: 16px 20px 12px; border-bottom: 1px solid var(--line); }
.insp .ihead h2 { margin: 3px 0 0; font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.ifrom { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.insp .ibody { padding: 0; }
.isec { padding: 14px 20px; border-bottom: 1px solid var(--line); }
.irow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.ilbl, .insp .irow label.ilbl { display: block; margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ilbl-in { display: block; margin: 12px 0 6px; font-size: 12.5px; color: var(--text2); }
.insp select, .insp input:not([type=radio]):not([type=checkbox]):not([type=file]), .insp textarea {
  width: 100%; min-height: 34px; padding: 6px 10px; border-radius: 8px; background: var(--well); border: 1px solid var(--line);
  color: var(--text); font: 13.5px/1.4 var(--font); }
.insp select { appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer;
  background-image: url("chevron.svg");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 12px; }
.insp select:hover, .insp input:hover, .insp textarea:hover { border-color: var(--line2); }
.insp select:focus, .insp input:focus, .insp textarea:focus { outline: none; border-color: rgba(245, 170, 40, .55); box-shadow: 0 0 0 3px rgba(245, 170, 40, .14); }
.props { display: grid; gap: 6px; }
.prop { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 10px; margin: 0; }
.prop > span { font-size: 13px; color: var(--muted); font-weight: 400; }
.insp label.prop { color: inherit; font-weight: 400; margin: 0; }
/* segmented control made of radios: works without JavaScript, looks like an app control */
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 9px; background: var(--well); border: 1px solid var(--line); }
.seg.full { display: flex; }
.seg label { flex: 1; margin: 0; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; height: 28px; padding: 0 10px; border-radius: 7px;
  color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.seg label:hover span { color: var(--text); }
.seg input:checked + span { background: #2D3438; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg input:disabled + span { opacity: .4; cursor: not-allowed; }
/* the price of a choice beside its word (Peter 8. 11.: Rýchla · 0,13 € | Plná · 0,85 €, the price its click ticks) */
.seg .qp { margin-left: 5px; font-style: normal; font-weight: 500; color: var(--muted); } .seg .qp b { font-weight: inherit; }
.likeness { border: 0; padding: 0; margin: 12px 0 0; }
.likeness legend { padding: 0; margin-bottom: 6px; font-size: 12.5px; color: var(--text2); }
/* text with its tools inside the frame */
.textbox { border-radius: 8px; background: var(--well); border: 1px solid var(--line); }
.textbox:focus-within { border-color: rgba(245, 170, 40, .55); box-shadow: 0 0 0 3px rgba(245, 170, 40, .14); }
.insp .textbox textarea, .textbox textarea { display: block; width: 100%; min-height: 92px; border: 0; background: transparent; box-shadow: none;
  padding: 10px 11px 4px; resize: vertical; font: 14px/1.5 var(--font); }
.insp .textbox textarea:focus { box-shadow: none; }
.tb-foot { display: flex; align-items: center; gap: 6px; padding: 4px 6px 6px 8px; min-height: 8px; }
.tb-foot .translate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 11.5px; }
.tb-foot .translate .muted { color: var(--faint); }
.mini { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 6px; border: 0; background: var(--raised);
  color: var(--text2); font: 600 12px var(--font); cursor: pointer; }
.mini:hover { background: #2B3236; color: var(--text); }
/* folds: a closed section still says what it holds */
.fold > summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; min-height: 22px; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
  transform: rotate(-45deg); transition: transform .15s; margin-right: 3px; flex: none; }
.fold[open] > summary::after { transform: rotate(45deg); }
.fold > summary .sum { margin-left: auto; font-size: 12.5px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.fold[open] > summary { margin-bottom: 12px; }
.fold .options, .fold fieldset { margin: 0; border: 0; padding: 0; }
.fold legend { display: none; }
/* pickers that open over the panel */
.pick { position: relative; }
.pick > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 6px; border-radius: 9px; border: 1px solid var(--line); background: var(--well); }
.pick > summary::-webkit-details-marker { display: none; }
.pick > summary:hover, .pick[open] > summary { border-color: var(--line2); }
.pick > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fp-change { font-size: 12.5px; font-weight: 600; color: var(--text2); padding-right: 6px; }
.fp-change::after { content: " ▾"; color: var(--muted); }
.fp-thumb { width: 72px; aspect-ratio: 16 / 9; border-radius: 5px; overflow: hidden; background: #0A0C0D; display: grid; place-items: center; }
.fp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-none { color: var(--faint); font-size: 18px; }
.fp-text b, .mp-text b { display: block; font-size: 13px; }
.fp-text small, .mp-text small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-pop { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); padding: 8px; border-radius: 12px; background: #20262A;
  border: 1px solid var(--line2); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); display: grid; gap: 4px; max-height: 60vh; overflow: auto; }
.pick-pop.pick-up { top: auto; bottom: calc(100% + 6px); }
/* návrh 57: a picker of a scrolling panel in the top layer (portal.js placePick); the page's colours, not the UA's */
.pick-pop.pick-fixed { position: fixed; inset: auto; right: auto; bottom: auto; margin: 0; color: var(--text, inherit); }
.fp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fp-tile { position: relative; margin: 0; border-radius: 7px; overflow: hidden; border: 2px solid transparent; cursor: pointer; }
.fp-tile input { position: absolute; opacity: 0; }
.fp-tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.fp-tile span { position: absolute; left: 4px; bottom: 3px; right: 4px; font-size: 10.5px; font-weight: 700; background: rgba(0, 0, 0, .65);
  padding: 0 5px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-tile:has(input:checked) { border-color: var(--accent); }
.fp-tile:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pick-opt { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 2px 10px; align-items: start; margin: 0; padding: 8px 10px;
  border-radius: 8px; cursor: pointer; color: var(--text); font-weight: 400; }
.pick-opt:hover { background: #2A3135; }
.pick-opt input { margin: 3px 0 0; accent-color: var(--accent); }
.pick-opt b { font-weight: 600; font-size: 13.5px; }
.pick-opt small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.pick-opt .st { font-size: 11px; padding: 0 7px; margin-left: 4px; }
.st.new-price { color: var(--info); border-color: var(--info-line); background: var(--info-bg); cursor: help; }
.pick-opt:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.pick-link { display: block; padding: 8px 10px; font-size: 13px; font-weight: 600; text-decoration: none; }
.modelpick .dot { width: 9px; height: 9px; border-radius: 50%; background: #5A6268; margin-left: 6px; }
.modelpick .dot.available { background: var(--ok); } .modelpick .dot.busy { background: var(--warn); }
.modelpick .dot.unavailable, .modelpick .dot.not_allowed { background: var(--bad); }
.drop { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; padding: 10px 12px; border: 1px dashed var(--line2); border-radius: 8px;
  color: var(--muted); font-size: 13px; font-weight: 400; cursor: pointer; position: relative; }
.drop:hover, .drop:focus-within { border-color: rgba(245, 170, 40, .55); color: var(--text); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop b { color: var(--text); }
.drop-ic { font-size: 16px; }
/* help behind (i) */
.tip { position: relative; display: inline-block; }
.tip > summary { list-style: none; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line2); color: var(--muted);
  display: grid; place-items: center; font: italic 700 11px Georgia, serif; cursor: pointer;
  text-transform: none; letter-spacing: normal; }  /* in an uppercase label the (i) stayed an i, not an I */
.tip > summary::-webkit-details-marker { display: none; }
.tip[open] > summary, .tip > summary:hover { color: var(--accent); border-color: rgba(245, 170, 40, .55); }
.tip-pop { position: absolute; z-index: 25; right: -8px; top: 26px; width: 280px; padding: 12px 14px; border-radius: 12px; background: #20262A;
  border: 1px solid var(--line2); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); font: 400 12.5px/1.5 var(--font); color: var(--text2);
  text-transform: none; letter-spacing: 0; }
.tip-pop b { color: var(--text); }
.tip-pop .src { display: block; margin-top: 8px; color: var(--faint); font-size: 11.5px; }
.insp .ihead .tip-pop { right: auto; left: -8px; }
/* the foot: model, the main action with its price, the state of the draft */
.insp .ifoot { padding: 12px 20px 14px; display: grid; gap: 10px; }
.btn.big { height: 44px; width: 100%; font-size: 14.5px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 16px; }
.btn.big .price { background: rgba(20, 23, 25, .16); padding: 5px 10px; border-radius: 6px; font-weight: 800; }
.btn.big .price:empty { display: none; }
.btn.big:has(.price:empty) { justify-content: center; }
.imeta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; font-size: 12px; color: var(--muted); }
.imeta .draft-note { margin: 0; }
.insp .msg { margin: 0 0 8px; }
.insp label.prop, .ws-scroll label.prop { display: grid; }
.ws-scroll .seg label { display: block; margin: 0; }
.ws-scroll .pick-opt { display: grid; margin: 0; font-weight: 400; color: var(--text); }
.ws-scroll .fp-tile { display: block; margin: 0; }
/* "Z materiálu" (návrh 04): a version to take the frame from, the moment on its video */
.take-tile video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; pointer-events: none; }
.take-tile .thumb-empty { display: grid; place-items: center; aspect-ratio: 16 / 9; font-size: 11px; color: var(--muted); }
.take-tile span small { display: block; font-weight: 400; opacity: .85; }
.take-range { width: 100%; accent-color: var(--accent); }
.take-steps { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.ws-stage[data-take-stage] > video { cursor: pointer; }
.ws-scroll .drop { display: flex; font-weight: 400; color: var(--muted); }

/* the shot's steps: where am I, what is done (návrh 04) */
.shot-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px; margin: 14px 0; border-radius: 12px;
  background: var(--well); border: 1px solid var(--line); }
.shot-steps .step { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--muted); text-decoration: none; min-width: 0; }
.shot-steps .step:hover { color: var(--text); background: var(--panel); text-decoration: none; }
.shot-steps .step[aria-current="step"] { background: var(--raised); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.shot-steps .step .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 800;
  border: 1px solid var(--line2); flex: none; }
.shot-steps .step[aria-current="step"] .n { border-color: var(--accent); color: var(--accent); }
.shot-steps .step.done .n { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.shot-steps .step b { display: block; font-size: 13px; font-weight: 600; }
.shot-steps .step small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-strip-item.is-new { border-style: dashed; background: transparent; color: var(--muted); align-items: stretch; }
.ws-strip-item.is-new .ws-strip-thumb { display: grid; place-items: center; background: transparent; }
.ws-strip-item.is-new .plus { font-size: 24px; color: var(--muted); }
.ws-strip-item.is-new[aria-current="true"] { border-color: var(--accent); color: var(--accent); }
.ws-strip-item.is-new[aria-current="true"] .plus { color: var(--accent); }
/* the film below the shot: one place per shot */
.filmline { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 10px 12px 12px; }
.fl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12.5px; }
.fl-head b { font-size: 13px; }
.fl-play { margin-left: auto; font-size: 12.5px; font-weight: 600; text-decoration: none; }
.slots { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 2px; }
.slot { flex: 0 0 112px; border: 1px solid var(--line); border-radius: 7px; background: var(--well); color: var(--text); overflow: hidden; text-decoration: none; }
.slot:hover { border-color: var(--line2); text-decoration: none; }
.slot[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.slot-img { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #0A0C0D; overflow: hidden; }
.slot-img img, .slot-img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot.empty .slot-img { background: repeating-linear-gradient(135deg, #14171A 0 6px, #191D20 6px 12px); }
.gap-mark { font-size: 11px; color: var(--warn); font-weight: 600; letter-spacing: .04em; }
.slot-meta { display: flex; justify-content: space-between; gap: 6px; padding: 4px 7px 5px; font-size: 11.5px; }
.slot-meta small { color: var(--muted); }
.slot.add { flex: 0 0 64px; display: grid; place-items: center; border-style: dashed; color: var(--muted); font-size: 12px; background: transparent; }
/* compare 2–4 versions at once */
.ws-compare-bar .chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line);
  color: var(--text2); font-size: 12.5px; font-weight: 600; text-decoration: none; }
.chip:hover { border-color: var(--line2); color: var(--text); text-decoration: none; }
.chip.on { background: rgba(245, 170, 40, .13); border-color: rgba(245, 170, 40, .48); color: #FFD58A; }
.chip[aria-disabled="true"] { pointer-events: none; opacity: .75; }
.ws-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ws-compare.n3, .ws-compare.n4 { grid-template-rows: auto auto; }
.ws-compare figcaption b { color: var(--accent); margin-right: 4px; }
.choices { display: grid; gap: 8px; }
.choice { display: grid; grid-template-columns: 18px 88px minmax(0, 1fr); gap: 10px; align-items: center; margin: 0; padding: 8px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--well); cursor: pointer; color: var(--text); font-weight: 400; }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(245, 170, 40, .1); }
.choice input { accent-color: var(--accent); margin: 0; }
.choice-img { width: 88px; aspect-ratio: 16 / 9; border-radius: 5px; overflow: hidden; background: #0A0C0D; display: block; }
.choice-img img, .choice-img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.choice b { display: block; font-size: 13px; } .choice small { color: var(--muted); font-size: 12px; }
.ws-scroll label.choice { display: grid; margin: 0; }
.ifoot .ws-choose-note { margin: 0; }
@media (max-width: 900px) { .shot-steps small { display: none; } .ws-compare { grid-template-columns: 1fr; } }
/* the version's state: the chip in the heading, its (i) beside it (Peter 10. 11.: no paragraph in the panel) */
.vst47 { display: flex; align-items: center; gap: 6px; margin-top: 1px; }
.insp .ihead .vst47 h2 { margin: 0; }
.ws-decide { display: grid; gap: 8px; }
.ws-decide .ilbl-in { margin: 4px 0 0; }
.decide-more { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ws-decide .chips { display: flex; flex-wrap: wrap; gap: 6px; }
button.chip { cursor: pointer; font-family: var(--font); }
.ws-sent { font-size: 12.5px; line-height: 1.6; padding: 10px 12px; border-radius: 8px; background: var(--well); border: 1px solid var(--line); margin: 0 0 8px; }

/* Pomoc a hlásenie: a calm panel, the kind of message as a segmented control */
.help-panel { max-width: 560px; margin: 24px auto; }
.help-panel h1 { font-size: 22px; margin: 6px 0 4px; }
.help-panel .ctx { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.help-panel .ctx span { padding: 2px 9px; border-radius: 999px; background: var(--raised); font-size: 12px; color: var(--text2); }
.help-panel form { display: grid; gap: 12px; }
/* on a phone the order is the design's (návrh 04 .ws.n2): head, steps, picture, versions, panel, film; a message or
   the live note stays under the head */
@media (max-width: 900px) {
  .ws-main > .msg, .ws-main > [data-live-note], .ws-main > .ws-rules { order: 1; }
}

.seg.dim { opacity: .45; }
/* the phone: the fixed main button never covers the end of the page (Codex 9. 10.) */
@media (max-width: 900px) {
  .ws-panel { padding-bottom: 0; }
  .ws { padding-bottom: 260px; }
}
/* a move: the cursor says so at once; the picture and the panel dim only after 250 ms (a fast answer never dims), the
   strip of versions and the rail stay as they are (ARCHITEKTURA.md "Rýchlosť pracoviska") */
.ws.is-moving { cursor: progress; }
.ws .cmain, .ws .ws-panel { transition: opacity .12s; }
.ws.is-moving .cmain, .ws.is-moving .ws-panel { opacity: .55; transition-delay: .25s; }

/* Rýchly test (návrh 04): the rules as one menu, the latest tests as pictures under the stage */
.quick-panel .insp + .insp .ibody { padding: 0; }
.rules-pick { display: grid; gap: 6px; }
.rules-pick .rules { margin: 0; color: var(--muted); }
.rules-pick [data-nojs] { justify-self: start; }
.quick-gallery { margin-top: 16px; }
.qg-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.qg-item { position: relative; display: block; border-radius: 7px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; }
.qg-item[aria-current="true"], .qg-item:hover { border-color: var(--accent); }
.qg-thumb { display: block; aspect-ratio: 16 / 9; background: var(--well); }
.qg-thumb img, .qg-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.qg-kind { position: absolute; left: 5px; bottom: 4px; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 4px; background: rgba(10, 12, 13, .8); color: var(--text); }
@media (max-width: 900px) { .qg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Pedagóg · dnes (návrh 04): what waits first, each with one button; the class with where each one is in the film */
.todo { display: grid; gap: 8px; margin-bottom: 8px; }
.task { display: grid; grid-template-columns: 5px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px 12px 0; border-radius: 12px;
  border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.task::before { content: ""; align-self: stretch; background: var(--accent); }
.task.c-info::before { background: var(--info); } .task.c-warn::before { background: var(--warn); }
.task .what { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.task b { display: block; font-size: 15px; margin: 2px 0; } .task p { margin: 0; font-size: 13px; color: var(--text2); }
.calm { padding: 14px 16px; border: 1px dashed var(--line2); border-radius: 12px; }
.class-table td { vertical-align: top; }
.progress-cell { min-width: 120px; }
.mini-progress { display: block; width: 100%; height: 4px; margin-top: 6px; border: 0; border-radius: 4px; background: var(--raised); appearance: none; -webkit-appearance: none; }
.mini-progress::-webkit-progress-bar { background: var(--raised); border-radius: 4px; }
.mini-progress::-webkit-progress-value { background: var(--accent); border-radius: 4px; }
.mini-progress::-moz-progress-bar { background: var(--accent); border-radius: 4px; }
.row-menu { text-align: right; }
.add-pick { display: inline-block; }
.add-pick > summary { display: inline-flex; grid-template-columns: none; padding: 0 10px; border: 1px solid var(--line2); background: var(--raised); }
.pick-pop.pick-right { left: auto; right: 0; width: min(360px, 90vw); text-align: left; }
.pick-pop .form { gap: 6px; }
.pick-pop form.credit, .pick-pop form.inline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0; }
.status-list li { margin: 4px 0; font-size: 14px; }
.reports > summary { padding: 4px 0; }
@media (max-width: 720px) { .task { grid-template-columns: 5px minmax(0, 1fr); } .task .btn { grid-column: 2; justify-self: start; } }
/* the two kinds of quick test as one switch: links that look like the segmented control */
.seg-links a { display: flex; align-items: center; justify-content: center; height: 30px; padding: 0 14px; border-radius: 7px;
  color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.seg-links a:hover { color: var(--text); }
.seg-links a[aria-current] { background: #2D3438; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.seg-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.page-heading .seg-links { flex-shrink: 0; margin-top: 6px; }
@media (max-width: 720px) { .page-heading .seg-links { display: flex; margin-top: 12px; } .page-heading .seg-links a { flex: 1; } }
/* the class table: a row's menu opens over the page, never clipped by the table (Codex 9. 10.); on a narrow screen the
   table scrolls sideways and the menu opens inside the row instead */
.table-wrap.class-table { overflow: visible; }
@media (max-width: 900px) {
  .table-wrap.class-table { overflow-x: auto; }
  .class-table .row-menu .pick-pop { position: static; width: auto; min-width: 260px; margin-top: 6px; box-shadow: none; }
}
/* the facts of one attempt as an inspector's property list */
.props-list { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 10px; margin: 0; font-size: 13px; }
.props-list dt { color: var(--muted); }
.props-list dd { margin: 0; overflow-wrap: anywhere; }
.version-page .quick-main .still { margin-top: 16px; }
.version-page .quick-main .still img { max-height: 200px; }
.actions.stack form.place select { width: 100%; }
/* the text for the model (Peter 9. 10.: "what the model gets" was neither pretty nor clear): its three parts one under
   another, each with the colour of where it comes from, then the whole text, then one switch to write it by hand */
.final { display: grid; gap: 12px; }
.final-lead { margin: 0; font-size: 13px; color: var(--text2); }
.final-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.final-parts li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; align-items: baseline;
  padding: 8px 10px; border-radius: 8px; background: var(--well); border-left: 3px solid var(--line2); }
.final-parts .fp-lbl { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.final-parts .fp-txt { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.final-parts .fp-txt.is-empty { color: var(--faint); font-style: italic; }
.final-parts .fp-cam { border-left-color: #9CC6EE; } .final-parts .fp-cam .fp-lbl { color: #9CC6EE; }
.final-parts .fp-card { border-left-color: #C9A7F0; } .final-parts .fp-card .fp-lbl { color: #C9A7F0; }
.final-parts .fp-own { border-left-color: var(--accent); } .final-parts .fp-own .fp-lbl { color: var(--accent); }
.final-all .irow { margin-bottom: 6px; }
.final-text { margin: 0; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--well);
  font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--text2); white-space: pre-wrap; overflow-wrap: anywhere; }
.switch-row { display: inline-flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; font-size: 13.5px; color: var(--text); font-weight: 600; position: relative; }
/* the hidden checkbox stays inside its row: placed against the page, it made the workspace taller than the screen and a
   focus or a scrollIntoView scrolled the top menu away for good (Peter 26. 10.) */
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-row .sw { display: inline-block; width: 34px; height: 20px; border-radius: 999px; background: var(--line2); position: relative; flex: none; transition: background .15s; }
.switch-row .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--text); transition: transform .15s; }
.switch-row input:checked + .sw { background: var(--accent); }
.switch-row input:checked + .sw::after { transform: translateX(14px); background: var(--accent-ink); }
.switch-row input:focus-visible + .sw { outline: 2px solid var(--accent); outline-offset: 2px; }
.final-manual { display: grid; gap: 6px; }
.final-manual .ilbl-in { margin: 0; }
.final-manual p { margin: 0; }
@media (max-width: 520px) { .final-parts li { grid-template-columns: 1fr; gap: 2px; } }
/* the chosen one among the compared versions */
.ws-compare figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ws-compare figure { border-radius: 6px; padding: 4px; border: 1px solid transparent; }
.ws-compare figure.is-picked { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.ws-compare .pick-this[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
/* dragging shots into a new order */
.shot-tile.can-drag { cursor: grab; }
.shot-tile.can-drag:active { cursor: grabbing; }
.shot-tile.is-dragging { opacity: .45; border-style: dashed; }
.drag-hint { margin: -4px 0 10px; }
.insp .switch-row, .ws-scroll .switch-row { display: inline-flex; gap: 10px; margin: 0; }
/* the workplace's list and film line: shots move by dragging too */
.ws-rail-item.can-drag, .slots .slot.can-drag { cursor: grab; }
.ws-rail-item.is-dragging, .slots .slot.is-dragging { opacity: .45; outline: 1px dashed var(--line2); }
.tip-pop .tip-more { display: block; margin-top: 8px; font-size: 12.5px; }
[data-length-sec] .seg { margin-top: 2px; }
[data-length-sec] .switch-row { margin-top: 12px; }
[data-length-sec] [data-audio-note] { margin: 6px 0 0; }
/* scrollbars that belong to the dark app, thin, instead of the system's light bars in narrower windows (Peter 10. 10.) */
* { scrollbar-width: thin; scrollbar-color: #3D454B transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #3D454B; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
.irow.switch-line { margin-top: 12px; margin-bottom: 0; }
[data-length] select { width: 100%; }

/* návrh 04 (Peter 10. 10.): one kind of thing, one shape — the film as a list on the left (number, intent, state, the
   version in the film or its gap), the versions of this shot as the one row of pictures, the film as a timeline */
.ws-rail-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ws-rail-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 6px; align-items: start; padding: 7px 8px; margin-bottom: 4px; }
.ws-rail-item b { font-size: 12.5px; color: var(--muted); padding-top: 1px; }
.ws-rail-item[aria-current="page"] b { color: var(--accent); }
.ws-rail-txt { min-width: 0; display: grid; gap: 2px; }
.ws-rail-intent { display: block; -webkit-line-clamp: unset; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; font-size: 12.5px; color: var(--text); }
.ws-rail-state { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 11.5px; color: var(--muted); }
.ws-rail-state .sw { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ws-rail-state .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--faint); }
.ws-rail-state .dot.ok { background: var(--ok); } .ws-rail-state .dot.warn { background: var(--warn); }
.ws-rail-state .infilm { margin-left: auto; flex: none; font-size: 11px; font-weight: 700; padding: 0 7px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); }
.ws-rail-state .infilm.gap { background: transparent; color: var(--warn); border: 1px dashed var(--warn-line); }
.ws-rail .btn { white-space: normal; text-align: center; }
.ws-main > .ws-strip-group { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 10px 12px 12px; }
.ws-strip-head { display: flex; align-items: center; gap: 6px; }
.ftl { background: #0E1113; border-color: #262B2F; }
.ftl-track { display: flex; gap: 2px; height: 38px; overflow-x: auto; scrollbar-width: thin; }
.ftl-seg { min-width: 58px; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 0 8px; border-radius: 5px;
  border: 1px solid #2F363B; background: #1B2024; color: var(--text2); font-size: 11.5px; text-decoration: none; overflow: hidden; white-space: nowrap; }
.ftl-seg:hover { border-color: var(--line2); color: var(--text); text-decoration: none; }
.ftl-seg b { font-weight: 700; } .ftl-seg small { color: var(--muted); }
.ftl-seg.gap { border-style: dashed; border-color: var(--warn-line); background: repeating-linear-gradient(135deg, #14171A 0 6px, #191D20 6px 12px); color: var(--warn); }
.ftl-seg[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; color: var(--text); }
.fl-1 { flex: 1 1 0; }
.fl-2 { flex: 2 1 0; }
.fl-3 { flex: 3 1 0; }
.fl-4 { flex: 4 1 0; }
.fl-5 { flex: 5 1 0; }
.fl-6 { flex: 6 1 0; }
.fl-7 { flex: 7 1 0; }
.fl-8 { flex: 8 1 0; }
.fl-9 { flex: 9 1 0; }
.fl-10 { flex: 10 1 0; }
.fl-11 { flex: 11 1 0; }
.fl-12 { flex: 12 1 0; }
.fl-13 { flex: 13 1 0; }
.fl-14 { flex: 14 1 0; }
.fl-15 { flex: 15 1 0; }
.fl-16 { flex: 16 1 0; }
.fl-17 { flex: 17 1 0; }
.fl-18 { flex: 18 1 0; }
.fl-19 { flex: 19 1 0; }
.fl-20 { flex: 20 1 0; }
.fl-21 { flex: 21 1 0; }
.fl-22 { flex: 22 1 0; }
.fl-23 { flex: 23 1 0; }
.fl-24 { flex: 24 1 0; }
.fl-25 { flex: 25 1 0; }
.fl-26 { flex: 26 1 0; }
.fl-27 { flex: 27 1 0; }
.fl-28 { flex: 28 1 0; }
.fl-29 { flex: 29 1 0; }
.fl-30 { flex: 30 1 0; }

.ws-switch { display: none; }
@media (max-width: 900px) {
  .ws-switch { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--well); }
  .ws-switch form { flex: 1; min-width: 0; display: flex; gap: 6px; margin: 0; }
  .ws-switch select { flex: 1; min-width: 0; margin: 0; border: 0; background: transparent; font-weight: 700; text-align: center; }
  .ws-arr { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--raised); color: var(--text); font-size: 20px; text-decoration: none; }
  .ws-arr.off { opacity: .3; }
}
.ws-rail-head .tip { display: inline-block; }
@media (max-width: 900px) {  /* the steps on a phone: the name only, short enough to read */
  .shot-steps .step small { display: none; }
  .shot-steps .step { gap: 6px; padding: 8px 6px; }
  .shot-steps .step b { font-size: 12.5px; line-height: 1.25; }
}
.ws-rail .tip-pop { left: 0; right: auto; }
/* ===== Strih (Peter 10. 10., návrh 04): tracks under one player — time with the playhead, the picture, the clips'
   sound, the film's own sound. Clip widths are true to time: each lane item grows by the seconds it uses (flex basis 0),
   and the seam between clips is a margin inside the item, so the playhead and the ruler meet the cuts exactly. The
   design's own look (.viewer, .tl, .track, .blk, .panel) is in navrh04.css; the app's additions are below and at the
   end of this file (návrh 04 port). */
.seq-stage { position: relative; }
.seq-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.seq-stage video.on { opacity: 1; z-index: 1; }
.seq-stage .gap { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; margin: 0; padding: 24px;
  background: #000; color: var(--muted); text-align: center; font-size: 15px;
  /* the whole stage, whatever its shape (Peter 18. 10.: the clip before showed through right and below): never the
     16:9 box of the older card, never rounded corners over the picture */
  aspect-ratio: auto; width: auto; height: auto; border-radius: inherit; }
.pbar { flex-wrap: wrap; }
.pbar-tip { margin-left: auto; }
.tl-scroll { min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.tl-inner { position: relative; min-width: 100%; padding-bottom: 2px; overflow: clip; }
.ruler:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ruler span { white-space: nowrap; }
.ruler span.first { transform: none; padding-left: 4px; }
.lane { margin: 0; padding: 0; list-style: none; min-width: 0; }
.lane > li { position: relative; min-width: 0; margin: 0; }
.blk-in { display: flex; flex-direction: column; height: 100%; margin-right: 3px; text-decoration: none; }
.blk-in:hover { text-decoration: none; border-color: var(--line2); }
.lane-pic li[aria-current="true"] .blk-in { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.lane-pic li[aria-current="true"] .bm { padding: 3px 14px; }
.lane-pic li.is-now .bm b { color: var(--accent); }
.lane-pic li.can-drag .blk-in { cursor: grab; }
.lane-pic li.is-dragging { opacity: .45; }
.trimh { position: absolute; top: 0; bottom: 0; z-index: 2; width: 8px; background: var(--accent); cursor: ew-resize; touch-action: none; }
.trimh.l { left: 0; border-radius: 5px 0 0 5px; }
.trimh.r { right: 3px; border-radius: 0 5px 5px 0; }
.trimh:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.lane-snd form { height: 100%; margin: 0 3px 0 0; }
.snd-btn { width: 100%; height: 100%; padding: 0 4px; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.snd-btn:hover { border-color: var(--line2); color: var(--text); }
.lane-own { position: relative; }
.own-add, .own-blk { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 0 8px; border-radius: 6px; font-size: 11.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.own-add { flex: 1; justify-content: center; border: 1px dashed var(--line2); color: var(--muted); }
.own-add:hover { color: var(--text); border-color: var(--accent); text-decoration: none; }
.own-blk { flex: 1; border: 1px solid #3c5a52; background: #18302a; color: var(--text); }
.js .lane-own .own-blk { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; }
.own-blk b { overflow: hidden; text-overflow: ellipsis; }
.own-blk:hover { text-decoration: none; border-color: var(--line2); }
.own-blk[aria-current="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.seq-own audio { width: 100%; margin-top: 8px; }
.own-name { margin: 6px 0 0; overflow-wrap: anywhere; }
.handin-sound { margin: 10px 0 0; color: var(--text2); overflow-wrap: anywhere; }
.seq-panel .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seq-panel .two form { margin: 0; }
.trim { margin: 0; }
@media (max-width: 720px) { .pbar-tip { margin-left: 0; } }
/* ===== Odovzdanie (Peter 10. 10., návrh 04): the film strip as the teacher will see it, the shots with why, the panel */
.hist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; font-size: 13px; }
.hist li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.hist .st { font-size: 11.5px; }
.hist-comment { flex-basis: 100%; margin: 0; }  /* návrh 04: <p class="small muted" style="margin:0"> */
.hist-ver details { flex-basis: 100%; }
.hist-ver summary { cursor: pointer; }
.hist-facts { margin: 8px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 10px; color: var(--text2); }
.hist-facts dt { color: var(--muted); }
.hist-facts dd { margin: 0; overflow-wrap: anywhere; }
.hist-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hist-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.handin-comment { margin: 6px 0 0; font-size: 14px; color: var(--text); white-space: pre-line; }
.insp .ifoot p { margin: 0; }
/* ===== Moja práca (návrh 04): "Pokračovať" says what exactly waits, with the shot's picture; a film shows its progress */
.callout.resume { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 14px 18px 14px 14px; }
.resume-pic { display: block; width: 168px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #080b0c; }
.resume-pic img, .resume-pic video { width: 100%; height: 100%; object-fit: cover; display: block; }
.callout.resume:not(:has(.resume-pic)) { grid-template-columns: minmax(0, 1fr) auto; padding-left: 20px; }
.film-bar { height: 4px; margin: 6px 0 2px; }
.film-new { border-style: dashed; background: transparent; min-height: 220px; }
.film-new a { flex: 1; display: grid; place-content: center; gap: 4px; text-align: center; color: var(--muted); text-decoration: none; font-weight: 600; }
.film-new a:hover { color: var(--text); text-decoration: none; }
.film-new small { font-weight: 400; color: var(--faint); }
@media (max-width: 720px) {
  .callout.resume, .callout.resume:not(:has(.resume-pic)) { grid-template-columns: 1fr; }
  .resume-pic { width: 100%; }
}
.srow-why, .srow-text b, .hist-comment, .handin-comment, .insp .ihead h2, .ifrom, .resume-text h2 { overflow-wrap: anywhere; }
/* ===== Postavy a miesta (návrh 04): the cards as a grid with a filter, the chosen card's detail on the right */
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 200px; display: grid; padding: 6px;
  border-radius: 12px; background: #20262A; border: 1px solid var(--line2); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.menu-pop a { padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px; }
.menu-pop a:hover { background: #2B3236; text-decoration: none; }
.menu-pop a.muted { color: var(--muted); }
.card-fact { margin: 0; font-size: 14px; color: var(--text2); overflow-wrap: anywhere; white-space: pre-line; }
/* ===== Hodnotenie (návrh 04): the handed-in film as it was, the teacher's decision on the right */
.decide-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.decide-chips .chip { cursor: pointer; }
.insp .seg label { flex: 1; }
/* ===== Pomoc (návrh 04): the guide at the chapter of this page, the assistant later, reporting a problem; a drawer */
.help-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.help-head h1 { margin: 0; outline: none; }
.help-tabs { display: flex; gap: 2px; padding: 3px; margin-bottom: 16px; border-radius: 9px; background: var(--well); border: 1px solid var(--line); }
.help-tabs a { flex: 1; min-width: 0; padding: 0 6px; }
.help-open, .help-open body { overflow: hidden; }
.guide h2 { margin: 4px 0 10px; font-size: 17px; }
.guide ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--text2); }
.guide .tip-more { display: inline-block; margin-top: 12px; }
.toc { display: grid; gap: 2px; margin-top: 20px; }
.toc .ilbl { margin-bottom: 4px; }
.tocitem { display: block; padding: 7px 10px; border-radius: 8px; color: var(--text2); font-size: 13.5px; text-decoration: none; }
.tocitem:hover { background: var(--raised); color: var(--text); text-decoration: none; }
.tocitem[aria-current="true"] { background: var(--raised); color: var(--text); font-weight: 600; }
.ask p { margin: 0 0 10px; color: var(--text2); }
.help-scrim { position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, .35); }
.help-drawer { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(460px, 100%); overflow: auto; background: var(--panel);
  border-left: 1px solid var(--line2); box-shadow: -30px 0 60px rgba(0, 0, 0, .5); }
.help-drawer .help-panel { max-width: none; margin: 0; border: 0; border-radius: 0; background: transparent; padding: 18px 20px 28px; }
/* ===== Pedagóg · zadania (návrh 04): each assignment as a card with the class's progress; the new one on the right */
.acards-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.free-work { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; color: var(--text2); }
.acards { display: grid; gap: 10px; }
.acard { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.acard-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.acard-head b { font-size: 15.5px; overflow-wrap: anywhere; }
.acard-facts { margin: 6px 0 4px; font-size: 13px; color: var(--text2); overflow-wrap: anywhere; }
.acard-progress { margin: 0; color: var(--text2); }
.acard-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin-top: 8px; }
.acard-actions form { margin: 0; }
.acard-actions .assignment-models { flex: 1 1 220px; margin: 0; }
.aias-word { margin: 8px 0 0; color: var(--text2); }
.model-checks { display: grid; gap: 4px; }
.model-checks .option { margin: 0; }
.anchor-switch { margin-top: 12px; }
.insp .ilbl + input { margin-top: 6px; }
@media (max-width: 480px) { .help-report .seg { flex-direction: column; } }
/* ===== One version of the shot (návrh 04): one next step by its state; the choice asks for its sentence only then */
.insp .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.insp .two > * { min-width: 0; }
.insp .two form { margin: 0; }
.insp .two .btn { width: 100%; }
details.choose > summary, details.reject > summary, details.why-edit > summary { list-style: none; cursor: pointer; }
details.choose > summary::-webkit-details-marker, details.reject > summary::-webkit-details-marker,
details.why-edit > summary::-webkit-details-marker { display: none; }
.js details.choose[open] > summary { display: none; }
details.choose .ws-decide, details.reject .ws-reject, details.why-edit .ws-decide { display: grid; gap: 8px; margin-top: 8px; }
details.reject[open] > summary { color: var(--text); }
.why-quote { margin: 6px 0 8px; font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.why-chips { margin: 6px 0 0; }
.linkish { font-size: 13px; color: var(--muted); text-decoration: none; }
.linkish:hover { color: var(--text); text-decoration: underline; }
/* ===== The shot workspace as an app (návrh 04, Peter 10. 10.: "the left panel stays"): on a computer the page stands
   still and the film list, the work area and the panel each scroll on their own; the panel's main button stays in view */
.ws-intent-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 6px 0 0; }
.ws-intent-row .ilbl { flex: none; }
.ws-intent-text { margin: 0; flex: 1 1 240px; min-width: 0; font-size: 14px; color: var(--text2); overflow-wrap: anywhere; }
.ws-edit > summary { list-style: none; cursor: pointer; }
.ws-edit > summary::-webkit-details-marker { display: none; }
.ws-edit[open] { flex-basis: 100%; }
.ws-edit-body { margin-top: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.ws-edit-body > p { margin: 0 0 6px; }
.ws-head h1 { margin-bottom: 2px; }
@media (min-width: 901px) {
  /* the workspace is the screen: html clips too, so nothing below it can ever scroll the menu away (Peter 26. 10.) */
  html:has(> body > main > .ws) { overflow: hidden; }
  body:has(> main > .ws) { height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
  body:has(> main > .ws) > main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  body:has(> main > .ws) > footer.foot { display: none; }
  main > .ws { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr); }
  .ws > .ws-rail, .ws > .ws-main { min-height: 0; overflow-y: auto; scrollbar-width: thin; }
  .ws > .ws-rail { display: flex; flex-direction: column; }
  .ws-rail .ws-rail-cut { margin-top: auto; }
  .ws > .ws-panel { min-height: 0; overflow: hidden; }
  .ws-panel > .insp { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  .ws-panel > .insp > .ibody { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
}
.ws-head > div:first-child { flex: 1; min-width: 0; }
/* Zábery (návrh 04): the whole card opens the shot; the order arrows show on hover or focus where a mouse drags */
@media (hover: hover) {
  .shot-tile .shot-order { opacity: 0; transition: opacity .12s; }
  .shot-tile:hover .shot-order, .shot-tile:focus-within .shot-order { opacity: 1; }
}
/* the versions of a shot as one row of pictures (návrh 04): it scrolls sideways, it never grows into a gallery */
.ws-strip, .ws-strip-group .ws-strip { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scrollbar-width: thin;
  grid-template-columns: none; }
.ws-strip > .ws-strip-item { flex: 0 0 150px; }
@media (max-width: 720px) { .ws-strip > .ws-strip-item { flex-basis: 128px; } }
.tip-pop.placed { position: fixed; right: auto; z-index: 70; max-height: calc(100vh - 16px); overflow-y: auto; }
.prop.is-off > span::after { content: " · nesie obraz"; color: var(--faint); font-size: 11px; }
.prop.is-off select { opacity: .55; }
/* a motion video carries the whole camera (skúška H): its parts step aside, one line says why */
.prop.is-video { display: none; }
[data-motion-props] { margin-top: 10px; }
[data-motion-props] input[type="number"] { width: 6em; }
figure.still video { display: block; width: 100%; max-height: 240px; border-radius: 8px; background: #000; }
/* Moja práca (návrh 04): the whole film card opens the film; its button stays a button above the card's link */
.film-card { position: relative; }
.film-card .film-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.film-card .film-card-title a:focus-visible { outline: none; }
.film-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.film-card .film-body form { position: relative; z-index: 1; }
.film-card.film-new a::after { content: none; }
/* controls never push the panel wider than it is (Codex 10. 10.): a label column that gives way, segments that shrink */
.prop { grid-template-columns: minmax(56px, 96px) minmax(0, 1fr); }
.seg { max-width: 100%; min-width: 0; }
.seg label, .seg-buttons button { min-width: 0; }
.seg span { min-width: 0; padding: 0 6px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) { .prop { grid-template-columns: 1fr; gap: 4px; } }
/* ===== Text pre model (návrh 04): a row above the main button with the start of the text; the whole text in a drawer */
.final-fold { margin: 0; }
.final-fold > summary.textrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px;
  min-height: 34px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--well); cursor: pointer; }
.final-fold > summary.textrow::after { content: none; }
.final-fold > summary.textrow:hover { border-color: var(--line2); }
.textrow .tr-l { font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; }
.textrow .tr-p { margin: 0; max-width: none; font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.textrow .tr-c { color: var(--muted); font-size: 16px; }
.final-fold[open] > summary { margin-bottom: 0; }
.final-drawer { margin-top: 10px; max-height: 45vh; overflow-y: auto; }  /* without JavaScript it opens in place */
.fd-head { display: none; }
.js .final-fold[open]::before { content: ""; position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, .35); }
.js .final-fold[open] > .final-drawer { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(460px, 100%); margin: 0; max-height: none;
  padding: 18px 20px 28px; overflow-y: auto; background: var(--panel); border-left: 1px solid var(--line2);
  box-shadow: -30px 0 60px rgba(0, 0, 0, .5); }
.js .final-drawer .fd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.js .final-drawer .fd-head h2 { margin: 0; font-size: 17px; outline: none; }
.drawer-open, .drawer-open body { overflow: hidden; }
.is-locked, label:has(> .is-locked) { opacity: .5; }
.acard[aria-current="true"] { border-color: var(--accent); }
.model-checks { margin-top: 8px; }
.assignments .ifoot .btn.ghost { margin-top: 0; }
.today-counts { margin: 4px 0 0; font-size: 13.5px; }
.today-counts a { color: var(--text2); }
.task.task-more { grid-template-columns: minmax(0, 1fr) auto; }
.task.task-more p { margin: 0; color: var(--text2); }
.ws-rail-state .dot.bad { background: var(--bad); } .ws-rail-state .dot.info { background: #7FB2E5; }
.img-source { display: flex; gap: 2px; padding: 3px; margin-top: 10px; border-radius: 9px; background: var(--well); border: 1px solid var(--line); }
.img-source a { flex: 1; min-width: 0; padding: 0 6px; }
.isec:has(input[name="modely_rezim"][value="vsetky"]:checked) .model-checks { display: none; }  /* also without JavaScript */
/* on a phone the bar at the bottom keeps to the essentials: model, the text's row, the button */
@media (max-width: 900px) {
  /* the notes go, the state and the reason a model cannot be used stay (Codex 17. 10.: the menu is a sheet on a phone
     and a greyed model must say why) */
  .ws-generate .modelpick .po-note, .ws-generate .modelpick .po-cap { display: none; }
  .ws-generate .final-fold > summary.textrow { min-height: 30px; padding: 4px 10px; }
  .ws-generate { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
/* a long model name never widens the bar: it is cut with an ellipsis (a phone, 375 px) */
.modelpick > summary .mp-text { flex: 1; min-width: 0; }
.mp-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-note { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--info-bg); }
.preview-note p { margin: 0; color: var(--info); }
.fp-go { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; }
.fp-go:hover { text-decoration: underline; }
.prop > span { display: flex; align-items: center; gap: 4px; min-width: 0; }
.prop > span .tip > summary { width: 16px; height: 16px; font-size: 10px; }
.prop > span label { margin: 0; font-weight: 400; color: inherit; font-size: inherit; }
.card-edit { margin: 0; }
[data-last-frame] .last-grid { margin-top: 8px; }
[data-last-frame] .last-grid:empty { display: none; }
[data-last-frame] .drop { margin-top: 8px; }

/* a scene of the shots page (návrh 04): its number and name, a name given in place, a shot added right into it */
.scene-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 18px 0 6px; }
.scene-head .scene-title { margin: 0; overflow-wrap: anywhere; }
.scene-name { position: relative; }
.scene-name > summary { list-style: none; }
.scene-name > summary::-webkit-details-marker { display: none; }
.scene-name[open] > summary { display: none; }
.scene-name form { display: flex; flex-wrap: wrap; gap: 6px; }
.scene-name input[name="name"] { min-width: 0; width: 220px; max-width: 100%; }

/* "Uložiť do karty" in the still detail (návrh 04): one place on a card draft, then save */
.still-card { margin: 0; }
.still-card-row { display: flex; gap: 8px; align-items: center; }
.still-card-row select { flex: 1; min-width: 0; }

/* the chosen picture in its drop field, before it is sent (Codex 10. 10.) */
.drop-preview { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex: none; }
.drop-clear { margin: 4px 0 0; }
.ws-stage { position: relative; }
.ws-stage-upload { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #080b0c; }
/* the composed text in the colours of its sources (návrh 04) */
.final-text .fpt-cam { color: #9CC6EE; }
.final-text .fpt-card { color: #C9A7F0; }
.final-text .fpt-own { color: var(--text); }
.final-text .fpt-cut { color: var(--muted); }
.textrow .tr-n { flex: none; font-size: 11.5px; margin-left: 6px; white-space: nowrap; }
/* Pedagóg · dnes (návrh 04): can we work, and the running assignments */
.compute-line { margin: 6px 0 0; color: var(--text2); overflow-wrap: anywhere; }
.active-list { display: grid; gap: 8px; margin: 8px 0 0; }
.active-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; }
.active-list li .film-bar { grid-column: 1 / -1; width: 100%; }
.active-assignments .irow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.active-assignments h2 { margin: 0; }
/* camera words written into the story (návrh 04): one line each, set the camera part or keep the words */
.cam-words { margin: 6px 0 0; font-size: 12.5px; color: var(--text2); }
.cam-words p { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
/* on a phone the teacher's static label ("Pedagóg · škola") squeezed to two letters: the top bar already says it */
@media (max-width: 600px) { .subnav .film-switch.static { display: none; } }
/* Pedagóg (Peter 10. 10.): "can we work?" as dots in the heading, the tabs as cards with one decision each */
.teacher-head .status-dots { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 14px;
  max-width: 560px; margin-top: 22px; font-size: 13px; color: var(--text2); }
.status-dots .ilbl { flex-basis: 100%; text-align: right; }
.sdot { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.sdot .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--faint); }
.sdot .dot.ok { background: var(--ok); } .sdot .dot.warn { background: var(--warn); } .sdot .dot.bad { background: var(--bad); }
.teacher-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; margin: 16px 0 8px; }
.teacher-duo:empty { display: none; }
.teacher-duo > .surface { margin: 0; }
.before-class h2 { margin: 0 0 8px; font-size: 18px; }
.before-class .card-warm form { margin-top: 8px; }
.class-table td.who, .class-table td.money { white-space: nowrap; }
.class-table td.now .st { white-space: normal; line-height: 1.35; padding: 3px 10px; border-radius: 10px; }
.class-table .row-menu summary { white-space: nowrap; }
.h1-row { display: flex; align-items: center; gap: 10px; }
.h1-row .tip { margin-top: 4px; }
.tsec { margin: 0 0 22px; }
.tsec-head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.tsec-head h2 { margin: 0; font-size: 18px; }
.tsec-ended { margin: 8px 0 22px; }
.tsec-ended > .todo { margin-top: 10px; }
.task.c-ok::before { background: var(--ok); } .task.c-off::before { background: var(--line2); }
.task.tcard { align-items: start; overflow: visible; }
.task.tcard::before { border-radius: 12px 0 0 12px; }
.tcard-main { display: flex; gap: 14px; min-width: 0; }
.tcard-pics { display: flex; gap: 6px; flex: none; }
.tcard-pics:empty { display: none; }
.tcard-pics img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.tcard-text { min-width: 0; }
.tcard .tcard-id { margin-top: 4px; font-family: var(--mono); font-size: 12px; color: var(--muted); overflow-wrap: anywhere; max-width: 80ch; }
.tcard-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.task.tcard.wide { grid-template-columns: 5px minmax(0, 1fr); }
.task.tcard.wide .tcard-act { grid-column: 2; justify-content: flex-start; }
.consent-decide { display: grid; gap: 8px; width: 100%; max-width: 640px; }
.consent-decide .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.scope-chips { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.scope-chips legend { padding: 0; margin-bottom: 6px; }
.chip.check { cursor: pointer; gap: 7px; }
.chip.check input { margin: 0; accent-color: var(--accent); }
.chip.check:has(input:checked) { background: rgba(245, 170, 40, .13); border-color: rgba(245, 170, 40, .48); color: #FFD58A; }
@media (max-width: 720px) {
  .tcard-act .pick-pop.pick-right { position: static; width: auto; margin-top: 6px; box-shadow: none; }
  .teacher-head .status-dots { justify-content: flex-start; margin-top: 10px; }
  .status-dots .ilbl { text-align: left; }
  .tcard-main { flex-direction: column; }
  .task.tcard .tcard-act { grid-column: 2; justify-content: flex-start; }
}
/* A choice from a list as a button with a menu (návrh 04 "výber ako tlačidlo s ponukou", Peter 10. 10.): the <select>
   stays in the form, hidden; the system's own list never opens */
.js select.sel-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
  margin: -1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 !important; opacity: 0; pointer-events: none; }
.selbtn { display: flex; align-items: center; width: 100%; min-width: 0; min-height: 36px; padding: 6px 30px 6px 11px; border-radius: 8px;
  background: var(--well) url("chevron.svg") no-repeat right 10px center / 12px; border: 1px solid var(--line);
  color: var(--text); font: 14px/1.35 var(--font); text-align: left; cursor: pointer; }
.selbtn .val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selbtn.empty .val { color: var(--muted); }
.selbtn:hover { border-color: var(--line2); }
.selbtn:focus-visible, .selbtn[aria-expanded="true"] { outline: none; border-color: rgba(245, 170, 40, .55); box-shadow: 0 0 0 3px rgba(245, 170, 40, .14); }
.selbtn:disabled { opacity: .55; cursor: not-allowed; }
.selbtn.invalid { border-color: var(--bad-line); box-shadow: 0 0 0 3px rgba(240, 154, 139, .14); }
.insp .selbtn { min-height: 34px; font-size: 13.5px; }
.toolbar .selbtn, .ws-compare-bar .selbtn, .place .selbtn, form.inline .selbtn, .card-warm .selbtn { width: auto; max-width: 260px; }
.ws-switch .selbtn, .ws-switch-row .selbtn { flex: 1; }
.selpop { position: fixed; z-index: 60; overflow-y: auto; padding: 5px; border-radius: 12px; background: #20262A;
  border: 1px solid var(--line2); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); outline: none; overscroll-behavior: contain; }
.selopt { position: relative; display: flex; align-items: center; min-height: 32px; padding: 6px 10px 6px 30px; border-radius: 8px;
  font-size: 13.5px; color: var(--text2); cursor: pointer; line-height: 1.3; }
.selopt.on { background: #2D3438; color: var(--text); }
.selopt[aria-selected="true"] { color: var(--text); font-weight: 600; }
.selopt[aria-selected="true"]::before { content: ""; position: absolute; left: 11px; top: 50%; width: 9px; height: 5px; margin-top: -4px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.selopt.off { color: var(--faint); cursor: default; }
.selgrp { padding: 8px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (forced-colors: active) { .selopt.on { outline: 2px solid Highlight; } }
/* a form opened by its button (+ Nový film, + Pridať zábery) is not a second, folded copy of that button (Peter 10. 10.) */
.js details.on-demand:not([open]) { display: none; }
.film-card-link { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.film-card-link:hover { color: var(--text); text-decoration: none; }
.film-card-link .film-thumb { display: block; }
.film-card-link .film-body > span { display: block; }
.film-card-link .film-card-title { margin: 4px 0 2px; font-size: 17px; font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.film-card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--radius-sm); }
/* lists of choices (zadanie filmu, karty pri zábere, skutočná osoba…) as cards you pick, like the design's choices
   (Peter 10. 10.): the picked one is marked by the accent, not only by a small dot */
.options { border: 0; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; min-width: 0; }
.options legend { padding: 0; margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.option { position: relative; border: 1px solid var(--line); background: var(--well); padding: 10px 12px; border-radius: 10px; margin: 0; }
.option:hover { background: var(--raised); border-color: var(--line2); }
.option:has(input:checked) { border-color: rgba(245, 170, 40, .5); background: rgba(245, 170, 40, .07); }
.option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }
.option input { margin-top: 3px; flex: none; width: 16px; height: 16px; }
.option-text { font-size: 13px; }
/* a model in the menu as in the design: name and price on one line, its state and size under it, the reason in two
   lines at most (the whole sentence on hover) */
.po { display: grid; gap: 2px; min-width: 0; }
.po-head { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.po-head b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.po-price { margin-left: auto; flex: none; font-size: 12.5px; color: var(--text2); white-space: nowrap; }
.po-state { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.po-state .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #5A6268; }
.modelpick .po-state .dot { width: 7px; height: 7px; margin-left: 0; }
.po-state .dot.available { background: var(--ok); } .po-state .dot.busy { background: var(--warn); }
.po-state .dot.unavailable, .po-state .dot.not_allowed { background: var(--bad); }
.pick-opt .po-state .st { margin-left: 0; }
.po-note { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ======================================================================================================================
   Návrh 04 as the app's own look (Peter 10. 10.: "the differences from the design are huge on almost every screen").
   The design's tokens and components (docs/navrh-portalu-2026-10/navrh-04/index.html) over the older styles above:
   the same colours, type sizes, buttons, headings, stats, cards, state pills with a dot, boxes and tables.
   ==================================================================================================================== */
:root {
  --bg: #121517; --head: #16191C; --panel: #1A1E21; --raised: #22272A; --well: #101315; --hover: #262C30;
  --line: #262C30; --line2: #353D42; --text: #F5F4F0; --text2: #CFCFCA; --muted: #9EA3A2; --faint: #7D8382;
  --accent-soft: rgba(245, 170, 40, .13); --accent-line: rgba(245, 170, 40, .48);
  --ok-bg: rgba(127, 211, 162, .12); --warn-bg: rgba(240, 198, 114, .12); --bad-bg: rgba(240, 154, 139, .12); --info-bg: rgba(156, 198, 238, .12);
  --radius: 12px; --radius-sm: 8px;
}
body { font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
.page { max-width: 1240px; padding: 26px 24px 60px; }
.eyebrow { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
/* page heading = the design's phead */
.page-heading, .film-head .page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 0 20px; }
.page-heading h1, .film-head h1 { margin: 4px 0 4px; font-size: 28px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.page-heading p { margin: 0; }
.page-heading .muted, .page-heading > div > p:not(.eyebrow) { color: var(--muted); }
/* section heading = sechead */
.section-heading, .ws-section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 26px 0 12px; }
.section-heading h2, .ws-section-head h2 { margin: 0; font-size: 18px; font-weight: 700; }
h2 { letter-spacing: -.005em; }
/* buttons */
.btn { height: 34px; min-height: 34px; padding: 0 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600; border: 1px solid var(--line2);
  background: var(--raised); color: var(--text); gap: 8px; }
.btn:hover { background: var(--hover); border-color: #46505A; }
.btn.small { height: 30px; min-height: 30px; padding: 0 11px; font-size: 12.5px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text2); }
.btn.ghost:hover { background: var(--raised); color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
/* a state = the design's pill: one word, a colour and a dot */
.st { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border: 0; border-radius: 999px; font-size: 11.5px;
  font-weight: 600; background: var(--raised); color: var(--text2); white-space: nowrap; line-height: 1; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.st.gd, .st.available, .st.ok { background: var(--ok-bg); color: var(--ok); }
.st.wt, .st.rn, .st.busy, .st.warn, .st.un { background: var(--warn-bg); color: var(--warn); }
.st.rj, .st.bd, .st.bad, .st.unavailable, .st.not_allowed { background: var(--bad-bg); color: var(--bad); }
.st.info, .st.new-price { background: var(--info-bg); color: var(--info); }
.st.off { background: var(--raised); color: var(--muted); }
/* stats under a film's title */
.film-stats { margin: 0 0 22px; }
.film-stats dt { font-size: 12px; color: var(--muted); }
.film-stats dd { margin: 0; font-size: 14px; font-weight: 700; }
.film-stats progress { display: block; width: 100%; height: 4px; margin-top: 8px; border: 0; border-radius: 4px; background: var(--raised);
  appearance: none; -webkit-appearance: none; overflow: hidden; }
.film-stats progress::-webkit-progress-bar { background: var(--raised); border-radius: 4px; }
.film-stats progress::-webkit-progress-value { background: var(--accent); border-radius: 4px; }
.film-stats progress::-moz-progress-bar { background: var(--accent); border-radius: 4px; }
/* boxes and tables */
.surface { border-radius: 12px; border: 1px solid var(--line); background: var(--panel); padding: 16px; }
.surface h2 { font-size: 15px; margin: 0 0 10px; }
.table-wrap { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.list th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.list td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list tr:last-child td { border-bottom: 0; }
/* cards: shots, films, cards of characters and places */
.shot-tile, .film-card, .entity-card { border-radius: 12px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.shot-tile:hover, .film-card:hover, .entity-card:hover { border-color: var(--line2); }

/* Zábery filmu (návrh 04 filmScreen): scene heading with the film's actions, four cards in a row */
.film-head .logline { margin: 0; color: var(--muted); font-size: 14px; }
.scene-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 26px 0 12px; }
.scene-head .scene-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.scene-head h2 { margin: 0; font-size: 18px; font-weight: 700; }
.scene-head .actions { display: flex; gap: 8px; margin: 0; flex-wrap: wrap; }
.scene-head .scene-name > summary { height: 26px; min-height: 26px; padding: 0 8px; font-size: 12px; color: var(--muted); }
.scene-head .scene-name[open] form { display: flex; gap: 6px; margin-top: 6px; }
.drag-hint { margin: -6px 0 12px; font-size: 12.5px; color: var(--muted); }
.shot-tile { position: relative; display: flex; flex-direction: column; }
.shot-tile .card-link { display: flex; flex-direction: column; flex: 1; color: var(--text); text-decoration: none; }
.shot-tile .card-link:hover { color: var(--text); text-decoration: none; }
.shot-tile .card-link:focus-visible { outline: none; }
.shot-tile .shot-thumb { aspect-ratio: 16 / 9; background: repeating-linear-gradient(135deg, #16191B 0 10px, #1A1E21 10px 20px);
  display: grid; place-items: center; color: var(--faint); font-size: 12px; }
.shot-tile .cb { padding: 12px 14px 14px; display: grid; gap: 6px; align-content: start; }
.shot-tile .cb b { font-size: 15px; font-weight: 700; }
.shot-tile .cb .plan-intent { margin: 0; font-size: 13px; color: var(--text2); }
.shot-tile .shot-order { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; margin: 0; padding: 0; opacity: 0; transition: opacity .15s; }
.shot-tile:hover .shot-order, .shot-tile:focus-within .shot-order { opacity: 1; }
.shot-tile .shot-order .btn { height: 26px; min-height: 26px; padding: 0 8px; background: rgba(10, 12, 13, .8); border-color: transparent; color: var(--text); }
@media (max-width: 900px) { .shot-tile .shot-order { opacity: 1; } }
@media (max-width: 560px) { .page-heading { flex-direction: column; align-items: stretch; } }
.shot-tile.is-next { border-color: var(--line); }
.scene-head .scene-title { margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; color: var(--text); }
.scene-head .scene-name > summary { text-transform: none; letter-spacing: normal; }
.shot-tile .shot-no { position: static; padding: 0; border-radius: 0; background: none; color: var(--muted); font-size: 12.5px; font-weight: 400; }
/* návrh 04 markup in the app: what the design draws with inline styles or a <div> bar is here (strict CSP) */
progress.bar { display: block; width: 100%; height: 4px; margin-top: 8px; border: 0; border-radius: 4px; background: var(--raised);
  appearance: none; -webkit-appearance: none; overflow: hidden; }
progress.bar::-webkit-progress-bar { background: var(--raised); border-radius: 4px; }
progress.bar::-webkit-progress-value { background: var(--accent); border-radius: 4px; }
progress.bar::-moz-progress-bar { background: var(--accent); border-radius: 4px; }
a.card { display: block; text-decoration: none; }
a.card:hover { text-decoration: none; color: var(--text); }
.card .im video, .card .im .thumb-empty { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; }
.card-new { border-style: dashed; display: grid !important; place-items: center; min-height: 220px; color: var(--muted); text-align: center; }
.card-new:hover { color: var(--text); }
.callbig > video, .callbig > .thumb-empty { width: 200px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: grid; place-items: center; background: var(--well); color: var(--faint); font-size: 12px; }
@media (max-width: 900px) { .callbig > video, .callbig > .thumb-empty { width: 100%; } }
/* Zábery filmu as návrh 04 filmScreen */
.film-head .phead p { color: var(--muted); }
.sechead .scene-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sechead .scene-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.scene-name > summary { list-style: none; } .scene-name > summary::-webkit-details-marker { display: none; }
.scene-name[open] > summary { display: none; }
.scene-name form { display: flex; gap: 6px; }
.scene-name .field { width: 220px; }
ol.grid4 { list-style: none; margin: 0; padding: 0; }
.card.shot-tile { position: relative; display: flex; flex-direction: column; }
.card.shot-tile .card-link { display: block; flex: 1; color: var(--text); text-decoration: none; }
.card.shot-tile .card-link:hover { text-decoration: none; color: var(--text); }
.card.shot-tile .cb p { margin: 0; }
.card.shot-tile .shot-no { position: static; padding: 0; background: none; border-radius: 0; font-weight: 400; color: var(--muted); }
.card.shot-tile:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.card.shot-tile .shot-order { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; margin: 0; padding: 0; opacity: 0; }
.card.shot-tile:hover .shot-order, .card.shot-tile:focus-within .shot-order { opacity: 1; }
.card.shot-tile .shot-order .btn { height: 26px; padding: 0 8px; background: rgba(10, 12, 13, .8); border-color: transparent; }
.film-head .stats b .muted { font-weight: 400; }
/* návrh 04 header and film bar on the app's links (the design draws them as buttons) */
.top { display: flex; align-items: center; gap: 22px; height: 56px; padding: 0 16px 0 20px; background: var(--head); border-bottom: 1px solid var(--line); }
.top .brand { flex: none; display: flex; align-items: center; gap: 10px; }
.top .brand img.logo { height: 22px; width: auto; }
.top .brand img.org { height: 26px; width: auto; border-radius: 5px; background: #fff; padding: 2px 5px; }
.top .org-name { font-size: 13px; color: var(--text2); font-weight: 600; }
.mainnav { display: flex; gap: 2px; flex-wrap: nowrap; }
.mainnav a { white-space: nowrap; padding: 7px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; }
.mainnav a:hover { color: var(--text); background: var(--raised); }
.mainnav a[aria-current="page"] { color: var(--text); background: var(--raised); }
.top .tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
a.iconbtn { text-decoration: none; }
a.iconbtn svg { width: 15px; height: 15px; }
.top .account > summary { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; color: var(--text2); font-size: 13px; font-weight: 600; }
.top .account > summary:hover { background: var(--raised); color: var(--text); }
.top .account .who { font-size: 13px; }
.subnav.filmbar { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 16px 0 20px; border-bottom: 1px solid var(--line); background: var(--bg); overflow-x: auto; }
.subnav.filmbar > a { height: 44px; display: flex; align-items: center; padding: 0 12px; color: var(--muted); font-weight: 600; font-size: 13.5px;
  border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none; }
.subnav.filmbar > a:hover { color: var(--text); }
.subnav.filmbar > a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.subnav.filmbar .film-switch, .subnav.filmbar .film-menu > summary { font-weight: 800; margin-right: 14px; color: var(--text); padding: 0; border: 0; height: auto;
  display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 14px; }
@media (max-width: 900px) { .mainnav a { padding: 7px 8px; font-size: 13px; } .top { gap: 10px; } .top .tools .label { display: none; } .top .brand img.org, .top .org-name { display: none; } }
/* dohoda 7 (aku-test 21. 11.): at 1000 px the header's tools wrapped below its fixed 56 px (the earlier .top wraps) and
   lay over the film's bar (Pas filmu, Materiál hidden) — one row always; below 1180 px the school's name and the words
   "Práve sa robí" give way (the dot and the state stay, the school's logo too) */
.top { flex-wrap: nowrap; }
.top .tools { min-width: 0; }
@media (max-width: 1180px) { .top .org-name, .top .qpill .qlabel { display: none; } .top { gap: 14px; } }
/* Where an app name meets the design's same name for another thing (navrh04.css is loaded after this file, so these
   are a step more specific): messages (.msg.info is not the (i) circle), rows of buttons (.actions is a row, not the
   design's stacked panel actions), folded sections (details.fold/.hint are disclosures, not the design's button and
   info box), a centred row (.actions.center is not the workspace column), a page box (section.card keeps its padding),
   the menu button's chevron (button.selbtn). */
.msg.info, .message.info { display: block; width: auto; height: auto; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--info-line);
  background: var(--info-bg); color: var(--info); font: inherit; font-style: normal; font-weight: 400; place-items: normal; }
.msg.info.small { font-size: 13px; }
p.actions, div.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.actions.stack { flex-direction: column; align-items: stretch; }
p.actions.center { justify-content: center; overflow: visible; padding: 0; flex-direction: row; min-width: auto; }
details.fold { display: block; width: auto; padding: 0; background: none; border: 0; }
details.hint { display: block; padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; line-height: inherit; }
section.card { padding: 24px; overflow: visible; }
button.selbtn { background: var(--well) url("chevron.svg") no-repeat right 10px center / 12px; padding: 6px 30px 6px 11px; }
/* návrh 04 port: pracovisko záberu (zaberScreen2). The older .steps rule above belongs to another page; the shot's
   steps, the list of shots and the versions follow the design. */
.shot-steps.steps .step { margin: 0; padding: 8px 10px; border-top: 0; font-size: 14px; font-weight: 400; }
.shot-steps.steps { margin: 0; }
.rail.n2 .infilm { display: inline-block; height: auto; line-height: 1.5; align-self: center; }
.rail.n2 .shotbtn { text-decoration: none; margin: 0; }
.rail.n2 .shotbtn[aria-current="page"] { background: var(--raised); border-color: var(--accent-line); }
.rail.n2 .shotbtn[aria-current="page"] .num { color: var(--accent); }
.rail.n2 .scene b { font-size: 13px; }
.rail .foot .btn { width: 100%; }
.ws-rules > summary { list-style: none; cursor: pointer; display: inline-flex; }
.ws-rules > summary::-webkit-details-marker { display: none; }
.verbox .ver { text-decoration: none; }
.verbox .ver .stt.gd { color: var(--ok); } .verbox .ver .stt.wt, .verbox .ver .stt.rn, .verbox .ver .stt.un { color: var(--warn); }
.verbox .ver .stt.rj, .verbox .ver .stt.bd { color: var(--bad); }
.verbox .ver .stt::before { display: none; }
.verbox .ver .stt { height: auto; padding: 1px 7px; background: rgba(10, 12, 13, .8); }
.verbox .ver .vi img, .verbox .ver .vi video { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; display: block; }
.verbox .ver.new { color: var(--muted); }
.shothead h1 .no { color: var(--muted); font-weight: 600; margin-right: 8px; }
.rail.n2 .infilm.gap { aspect-ratio: auto; display: inline-block; }
.shot-steps.steps .step b { white-space: normal; line-height: 1.25; }
.shot-steps.steps .step small { white-space: normal; }
.rail.n2 .infilm.gap { margin: 0 0 0 auto; padding: 1px 7px; border-radius: 999px; text-align: left; }
a.btn, a.btn:hover { text-decoration: none; }
.rail.n2 .scene { padding: 4px 6px 4px; }
.rail.n2 .ws-rail-scene { padding-top: 8px; }
/* návrh 04 port: Postavy a miesta */
.cards-filter { margin-bottom: 12px; }
.cards-none { margin: 0 0 12px; }
a.ecard { display: block; text-decoration: none; }
a.ecard:hover { color: var(--text); text-decoration: none; }
.ecard > .thumb-empty { display: grid; place-items: center; width: 100%; height: auto; aspect-ratio: 4 / 3; background: var(--well); color: var(--faint); font-size: 12px; }
.ecard .eb b { overflow-wrap: anywhere; }
.ecard.ecard-new { border-style: dashed; display: grid; place-items: center; min-height: 200px; color: var(--muted); text-align: center; }
.ecard.ecard-new:hover { color: var(--text); }
.split2[data-bible] > .panel:not(:has([data-card-panel]:not([hidden]))) { display: none; }  /* nothing of the chosen kind: no empty frame */
.card-pane .ihead h2 { overflow-wrap: anywhere; }
.card-pane .row-end { display: flex; align-items: center; gap: 8px; min-width: 0; }
a.sl { text-decoration: none; }
a.sl:hover { color: var(--text); border-color: var(--accent-line); text-decoration: none; }
.card-pane .sl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
a.mini, a.mini:hover { text-decoration: none; }
.card-pane .textbox textarea[readonly] { color: var(--text2); cursor: default; }
.card-pane .card-intent { margin: 0; color: var(--text2); white-space: pre-line; overflow-wrap: anywhere; }
.card-pane .seg label { flex: 0 1 auto; }  /* návrh 04: each choice as wide as its words */
.card-pane .seg.frozen input:disabled + span { opacity: 1; cursor: default; }
.card-pane .hist { margin: 0; gap: 6px; }
.card-pane .hist-row > summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; list-style: none; cursor: pointer; }
.card-pane .hist-row > summary::-webkit-details-marker { display: none; }
.card-pane .hist-row .hist-facts { margin: 8px 0 4px; font-size: 12.5px; }
.card-pane .hist .hist-thumbs { justify-content: flex-start; flex-wrap: wrap; margin-bottom: 6px; }
.card-pane .ifoot form { margin: 0; }
.card-pane .ifoot .btn.big { justify-content: center; }
/* the card page's image slot is not the design's film-strip .slot */
div.slot { flex: initial; padding: 8px; border-radius: var(--radius-sm); background: var(--panel); overflow: visible; }
/* návrh 04 port: Pedagóg */
/* teacherScreen and assignScreen of the design on the app's forms: what the design draws with inline styles, its menu
   (.pop/.opt) as a <details> that works without JavaScript, its switch and chips around real checkboxes */
input.field { padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--field); color: var(--text); }
input.field:hover { border-color: var(--line2); }
.sechead-acts { display: flex; gap: 8px; flex-wrap: wrap; }
/* a design menu opened from a <details>: under its button, not where a script would put it */
.pick-pop.pop { position: absolute; gap: 0; }
.pop a.opt { text-decoration: none; }
.pop label.head { display: block; }
.pop form { margin: 0; }
.pop-amount { padding: 2px 4px 6px; }
.pop-note { margin: 0; padding: 4px 10px 6px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.pick-pop.pop.pop-form { padding: 14px; }
.pop-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 7px; }
.pop-row .lbl { margin: 0; }
.lbl.lbl-next { margin-top: 12px; }
.btn.pop-submit { margin-top: 12px; }
/* Trieda: the row's menu opens over the page (the table does not clip it); on a phone the table scrolls instead */
.tblwrap.class-table { overflow: visible; }
.class-table td.who a { color: var(--text); text-decoration: none; }
.class-table td.who a:hover { text-decoration: underline; }
.class-table td.now { min-width: 190px; }
.class-table td.now .pill { white-space: normal; height: auto; min-height: 22px; padding: 3px 8px; border-radius: 11px; line-height: 1.35; }
.row-menu .selbtn { width: auto; display: inline-flex; }
.row-menu .pick > .selbtn, .row-menu .pick[open] > .selbtn { border-color: transparent; }
.row-menu .pick[open] > .selbtn { background: var(--hover); }
@media (min-width: 901px) { .row-menu .pick-pop.pop { width: 290px; } }
@media (max-width: 900px) { .tblwrap.class-table { overflow-x: auto; } }
/* Zadania and Pred hodinou as boxes */
.box h3 a { color: inherit; text-decoration: none; }
.box h3 a:hover { text-decoration: underline; }
.box-facts { margin: 0 0 10px; }
.box-under { margin: 8px 0 0; }
.box-none p { margin: 0; }
.card-warm + .card-warm { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.warm-row, .warm-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.warm-end { margin: 0; }
.duo-next { margin-top: 16px; }
details.reports { margin-top: 16px; }
.reports h3 { margin: 16px 0 10px; font-size: 15px; }
/* the todo list: "more waiting" in the same row as a task; one column on a phone */
.task.task-more { grid-template-columns: 6px minmax(0, 1fr) auto; }
.task.task-more::before { background: var(--line2); }
@media (max-width: 720px) { .todo .task { grid-template-columns: 6px minmax(0, 1fr); } }
/* Zadania: a card is a link that opens the assignment in the editor */
a.acard { color: var(--text); text-decoration: none; }
a.acard:hover { color: var(--text); border-color: var(--line2); }
.box.free-work { justify-content: space-between; padding: 12px 16px; }
.btn.big.btn-center { justify-content: center; }
.anchor-line { margin-top: 10px; }
.sec:has(input[name="modely_rezim"][value="vsetky"]:checked) .model-checks { display: none; }  /* also without JavaScript */
/* the design's switch and chips around a real checkbox (the form works without JavaScript) */
label.switch { position: relative; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(12px); }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip.check { position: relative; }
.chip.check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chip.check:has(input:checked)::before { content: "✓"; font-weight: 800; }
.chip.check:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip.check { height: auto; min-height: 28px; padding-top: 4px; padding-bottom: 4px; line-height: 1.3; }  /* long model names wrap */
/* Súhlasy a výsledky: the ended consents folded under the rest */
.fold-ended { margin: 26px 0 0; }
.fold-ended > .todo { margin-top: 10px; }

/* návrh 04 port: Rýchly test */
/* the design's testScreen: what it draws with inline styles is here (strict CSP); .qtest keeps it to this page, since
   .quick also lays out other pages */
.qtest .viewer > .ws-stage-empty { max-width: 360px; }
.qtest .below { margin-top: 10px; }
.qtest .below .qprompt { min-width: 0; overflow-wrap: anywhere; }
.qtest .below .qacts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.qtest .qlive { margin: 6px 0 0; } .qtest .qlive:empty { display: none; }
.qtest .sechead.qhead { margin-top: 20px; }
.qtest .sechead.qhead h2 { font-size: 15px; }
a.linkish, a.linkish:hover { text-decoration: none; }
.qtest .gallery a { display: block; padding: 0; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; position: relative; text-decoration: none; }
.qtest .gallery a:hover { border-color: var(--line2); }
.qtest .gallery a[aria-current="true"] { border-color: var(--accent); }
.qtest .gallery img, .qtest .gallery video, .qtest .gallery .thumb-empty { display: block; width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.qtest .gallery .thumb-empty { display: grid; place-items: center; background: var(--field); color: var(--faint); font-size: 11px; }
@media (max-width: 900px) { .qtest .below { margin: 10px 0 0; } }
/* the composer: sections as the design's .sec; a popover may reach out of the panel (the design's menus are fixed) */
.qtest .compose { overflow: visible; }
.qtest .compose .isec { padding: 14px 18px; }
.qtest .compose .sec.qnote:empty { display: none; }
.qtest .compose .qnote .msg:last-child { margin-bottom: 0; }
.qtest .compose .rules-pick { display: grid; gap: 6px; }
.qtest .compose .rules-pick .rules { margin: 0; }
.qtest .compose .chips.qchips { margin-top: 10px; }
.qtest .compose .qgo { display: grid; gap: 10px; }
.qtest .compose .meta { display: flex; justify-content: space-between; gap: 8px; }
.qtest .compose .fold .field { margin-top: 0; }
/* chips that open their settings: without JavaScript in place, under the row; with it over the panel */
.qchip > summary { list-style: none; cursor: pointer; }
.qchip > summary::-webkit-details-marker { display: none; }
.qchip > summary.chip { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.qchip > summary .sum { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.qchip > summary.chip.plain { gap: 4px; }
.qchip[open] > summary.chip { border-color: var(--accent-line); color: var(--text); }
.qchip[open] { flex-basis: 100%; }
.qpop { position: static; min-width: 0; max-width: none; margin-top: 8px; box-shadow: none; z-index: auto; }
.js .qchips > .qchip[open] { flex-basis: auto; }
.js .qtest .qtext { position: relative; }
.js .qchip > .qpop { position: absolute; left: 12px; right: 12px; top: calc(100% - 8px); margin: 0; z-index: 40;
  max-height: min(70vh, 560px); overflow-y: auto; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.qpop .head { display: flex; align-items: center; gap: 6px; }
.qpop-body { padding: 4px 8px 8px; display: grid; gap: 8px; }
.qpop .qown { margin: 6px 0 0; }
.qpop .drop, .qpop .likeness, .qpop .still { margin: 0; }
.qpop .qstill { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; align-items: center; }
.qpop .qstill img { width: 100%; max-height: none; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.qpop .qstill figcaption { margin: 0; }
.qpop .options { margin: 0; border: 0; padding: 0; }
.qpop .options legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.qpop .option { padding: 8px; }
.qpop a.opt, .qpop a.opt:hover { text-decoration: none; color: var(--text); }
/* "Zaradiť do záberu…": the shots of the film under the button, one click places the test */
.qplace { position: relative; }
.qplace > summary { list-style: none; }
.qplace > summary::-webkit-details-marker { display: none; }
.qplace > .qpop { position: absolute; left: auto; right: 0; top: calc(100% + 6px); width: min(340px, 86vw); margin: 0; z-index: 40;
  max-height: 50vh; overflow-y: auto; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.qplace .opt { cursor: pointer; }
/* návrh 35: „Uložiť ako kartu…“ opens upward — under the stage it would run past the bottom of a laptop screen */
.qplace > .qpop.qup { top: auto; bottom: calc(100% + 6px); }
.qcard-grp { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.qcard-grp + .qcard-grp { margin-top: 8px; }
.qkept { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; font-size: 12px; }
.qkept img { width: 48px; height: 27px; object-fit: cover; border-radius: 4px; }
.qcard-grp > span { flex: 0 0 100%; font-size: 12px; color: var(--muted, #9aa3ab); }
/* the model row: the picker as the design's .selbtn with the spec beside it; its list as wide as the panel */
.qtest .modelrow { position: relative; }
.qtest .modelrow .pick { position: static; min-width: 0; }
.qtest .modelrow .pick > summary.selbtn { display: flex; gap: 8px; padding: 0 11px; border-radius: var(--r-sm); background: var(--field); }
.qtest .modelrow .pick > summary .dot { margin-left: 0; flex: none; }
.qtest .modelrow .spec { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
/* "Text pre model" as the design's text row */
.qtest .final-fold > summary.textrow { grid-template-columns: auto minmax(0, 1fr) auto 12px; gap: 8px; min-height: 34px; padding: 0 10px;
  border-radius: 9px; background: var(--field); }
.qtest .final-fold > summary.textrow .tp { margin: 0; max-width: none; font: 11.5px/1.4 var(--mono); color: var(--muted); }
/* the design's .tl is also its timeline box: in the text row it is only the bold label (the row's own rule) */
.qtest .textrow .tl { display: inline; padding: 0; border: 0; border-radius: 0; background: none; }
@media (max-width: 560px) {
  .qtest .below { flex-wrap: wrap; }
  .qtest .below .qacts { justify-content: flex-start; }
  .qtest .modelrow .spec { max-width: 110px; }
}

/* návrh 04 port: Strih, Odovzdanie, hodnotenie */
/* the design's style="…" as classes (strict CSP) */
.seq-main { display: grid; gap: 10px; min-width: 0; }  /* cutScreen, reviewScreen: <section style="display:grid;gap:10px"> */
.btn.big.centered { justify-content: center; }  /* the main button in a panel's foot: style="justify-content:center" */
.seq-range { margin: 0 0 8px; }  /* the trim's range: <p class="small" style="margin:0 0 8px"> */
.hist.hist-list { margin-top: 8px; }  /* História: <div class="hist" style="margin-top:8px"> */
/* the player in the design's viewer: two stacked players, the gap card and the tag over them */
.seq-main > .viewer { order: 0; margin-top: 0; }  /* a phone: the player stays first (the shot page's order is not this one) */
.viewer > .tag { z-index: 3; padding: 0; border-radius: 0; background: none; color: var(--text); font-size: inherit; letter-spacing: normal; }
/* Strih: the tracks share one scrolled box, so the names stay at its left edge while long films scroll under them */
.tl-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.tl-inner > .track { display: flex; gap: 8px; align-items: stretch; }
.tl-inner > .track > span { flex: 0 0 112px; position: sticky; left: 0; z-index: 5; background: var(--panel); }
.tl-inner > .track > .ruler, .tl-inner > .track > .lane { flex: 1 1 auto; min-width: 0; }
.tl-inner > .tl-over { top: 0; bottom: 0; left: 120px; right: 0; }
/* clips true to time: no gap between the items, the seam is a margin inside each (the cuts meet the ruler) */
.tl .lane-pic, .tl .lane-snd { gap: 0; }
.tl .lane-snd { height: 30px; }
.tl .lane-pic > li, .tl .lane-snd > li, .tl .lane-snd form { display: flex; }
.lane-pic > li > .blk { flex: 1; min-width: 0; }
.tl .lane-snd form { flex: 1; min-width: 0; }
.lane-snd .snd-btn { flex: 1; min-width: 0; }
.blk .bm b { font-weight: inherit; }
.blk .bm > span { overflow: hidden; text-overflow: ellipsis; }
.blk video, .blk .thumb-empty { width: 100%; height: 46px; object-fit: cover; display: block; }
.blk .thumb-empty { display: grid; place-items: center; font-size: 11px; }
.blk img, .blk video { pointer-events: none; }
/* a gap here is the design's hatched block, not the app's older black 16:9 card (.gap above) */
.lane .blk.gap, .ftl .seg1.gap { aspect-ratio: auto; margin-top: 0; margin-bottom: 0; }
.lane > .blk.gap { margin: 0; padding: 0; }
a.blk, a.blk:hover { color: var(--text); text-decoration: none; }
a.blk.gap, a.blk.gap:hover { color: var(--warn); }
a.blk:hover { border-color: var(--line2); }
@media (max-width: 900px) {
  /* a phone: each name above its lane (as the design), the playhead stays over the lanes because the player follows it */
  .tl-inner > .track { flex-direction: column; gap: 4px; }
  .tl-inner > .track > span { flex: none; align-self: flex-start; padding-right: 8px; }
  .tl-inner > .tl-over { left: 0; }
  .tl-inner .playhead { display: block; }
}
/* the panel's controls that the design draws as buttons are the app's forms and links */
.panel form { margin: 0; }
.panel input.field { width: 100%; min-height: var(--ctl); padding: 0 11px; border-radius: var(--r-sm); background: var(--field);
  border: 1px solid var(--line); font-size: 13.5px; }
.own-upload, .own-mix { display: grid; gap: 10px; }
.own-upload .drop { margin: 0; }
.own-source { border: 0; margin: 0; padding: 0; min-width: 0; }
.own-source legend { padding: 0; }
.own-mix label { display: block; margin: 0; }
/* Odovzdanie: the strip and the rows link where the design has spans and buttons */
a.seg1, a.seg1:hover, .ftl .fh a.play, .ftl .fh a.play:hover, a.mini, a.mini:hover { text-decoration: none; }
a.seg1:hover { border-color: var(--line2); color: var(--text); }
.hist-list a { color: var(--text); text-decoration: none; }  /* the design's history line, still a link */
.hist-list a:hover { color: var(--accent); text-decoration: underline; }
.ftl .fh a.play:hover { color: var(--text); }
.srow > div { min-width: 0; }
.srow video, .srow .thumb-empty { width: 96px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 6px; }
.srow-act { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.srow b, .srow p { overflow-wrap: anywhere; }
/* the conscious yes to a gap: the design's switch on a checkbox, so the form needs it also without JavaScript */
label.switch { position: relative; cursor: pointer; }
.switch input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(12px); }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
/* the design's header has a fixed height; on a phone the menu goes to a second row (Codex 10. 10.) */
@media (max-width: 720px) { header.top { height: auto; min-height: 56px; flex-wrap: wrap; padding: 10px 16px; } }
.subnav.filmbar .film-menu { position: relative; flex: none; }
/* návrh 04 port: panel záberu podľa Petrových snímok 10. 10. — the model row and its menu, the menus' header and English
   words, length and size as fixed fields, the frame picker's popover, helps that wrap */
.ws-generate .modelrow { position: relative; }
.ws-generate .modelrow .pick { position: static; min-width: 0; }
.ws-generate .modelrow .pick > summary.selbtn { display: flex; gap: 8px; padding: 0 11px; border-radius: var(--r-sm); background: var(--field);
  grid-template-columns: none; }
.ws-generate .modelrow .pick > summary .dot, .qtest .modelrow .pick > summary .dot { margin-left: 0; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #5A6268; }
.modelrow .pick > summary .dot.available { background: var(--ok); } .modelrow .pick > summary .dot.busy { background: var(--warn); }
.modelrow .pick > summary .dot.unavailable, .modelrow .pick > summary .dot.not_allowed { background: var(--bad); }
.ws-generate .modelrow .spec { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.modelrow .pick-pop { left: 0; right: 0; }
.pick-pop .head { padding: 6px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
/* one model as the design's .opt: a check, the name and where it runs, the price on the side, the state with a dot */
.pick-opt.opt { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 2px 10px; align-items: start; padding: 8px 10px; border-radius: 8px; }
.pick-opt.opt > input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.pick-opt.opt .ck::before { content: ""; color: var(--accent); font-weight: 800; }
.pick-opt.opt:has(input:checked) .ck::before { content: "✓"; }
.pick-opt.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
.pick-opt.opt .po-head b { font-weight: 600; font-size: 13.5px; }
.pick-opt.opt .po-head b .muted { font-weight: 400; }
.pick-opt.opt .side { margin-left: auto; font-size: 12px; color: var(--text2); white-space: nowrap; }
.pick-opt.opt .po-state { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.pick-opt.opt .po-state .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; display: inline-block; }
.pick-opt.opt .po-state .dot.ok { background: var(--ok); } .pick-opt.opt .po-state .dot.warn { background: var(--warn); }
.pick-opt.opt .po-state .dot.bad { background: var(--bad); } .pick-opt.opt .po-state .dot.off { background: #5A6268; }
/* the menu of a choice: its label on top, the English words under each option (návrh 04 cam menus) */
.selhead { padding: 6px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.selopt { flex-direction: column; align-items: flex-start; justify-content: center; }
.selopt small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.35; margin-top: 1px; }
.selopt[aria-selected="true"] small { color: var(--muted); }
/* a help never runs out of its bubble: the design's .prop label does not wrap, its help must */
.tip-pop, .tip-pop * { white-space: normal; }
/* length and size as the design's fixed fields */
[data-length-sec] .fixed + .fixed, [data-length-sec] .seg + .fixed { margin-top: 8px; }
/* the inspector's foot: the usage left, the draft right, on one line (návrh 04 .ifoot .meta) */
.ifoot .meta.imeta { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.ifoot .meta.imeta .draft-note { margin: 0; text-align: right; }
/* the frame picker's popover as the design's (head, thumbnails, a line, options with a check) */
.fp-pop .sep { height: 1px; background: var(--line2); margin: 6px 4px; }
.fp-pop .fp-grid:empty { display: none; }
.fp-pop .fp-grid:empty + .sep { display: none; }
.fp-pop .pick-opt.opt b { font-weight: 600; font-size: 13.5px; display: block; }
.fp-pop .pick-opt.opt small { display: block; font-size: 12px; color: var(--muted); }
.fp-pop .pick-link { display: block; padding: 8px 10px 8px 38px; font-weight: 600; color: var(--text); text-decoration: none; border-radius: 8px; }
.fp-pop .pick-link:hover { background: var(--hover); }
.pick-opt.opt .po-state { flex-wrap: nowrap; align-items: center; }
.pick-opt.opt .po-note { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.modelrow .pick-pop { min-width: min(340px, 92vw); }
.modelrow .pick-pop { left: auto; right: 0; max-width: calc(100vw - 16px); }
/* Text pre model in the top layer (popover): the browser's own popover look is replaced by the drawer's */
.js .final-fold[open] > .final-drawer[popover] { inset: 0 0 0 auto; height: auto; color: var(--text); border: 0; border-left: 1px solid var(--line2); }
.final-drawer[popover]:not(:popover-open) { display: none; }

/* návrh 04 port: prehrávač, pás verzií a os filmu (viewer, strip2, filmTimeline) */
.viewer > .ws-stage { display: contents; }
.viewer .ws-stage > img, .viewer .ws-stage > video { width: 100%; height: 100%; object-fit: contain; display: block; }
.viewer .tag span:empty { display: none; }
.viewer .empty .st { font-size: inherit; }
.verbox .ver .vi .thumb-empty { display: grid; place-items: center; aspect-ratio: 5 / 3; font-size: 11px; color: var(--faint); }
.verbox .vh .more { white-space: nowrap; }
.verbox .vh > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ftl .fh a.play { text-decoration: none; }
.ws-main .intent .ws-intent-text { flex: 0 1 auto; }
.ws-main > [data-live-note]:empty { display: none; }
.rail.n2 .ws-rail-scene { margin: 8px 0 2px; padding: 4px 6px 4px; font-size: inherit; letter-spacing: normal; text-transform: none; color: var(--text); }
.rail.n2 .ws-rail-scene b { display: block; font-size: 13px; }
.tr-preview { margin-top: 8px; }
.tr-preview[hidden] { display: none; }
.tb-foot .translate .mini svg { width: 13px; height: 13px; }
.tb-foot .translate [role="status"]:empty { display: none; }
.tb-foot > .tip { flex: none; }
/* návrh 04 port: zásuvka Text pre model (layer .drawer: 440 px, hlavička s ×, úvod, posúva sa len telo) */
.js .final-fold[open] > .final-drawer { width: min(440px, 100%); padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.js .final-drawer .fd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 16px 18px;
  border-bottom: 1px solid var(--line); flex: none; }
.js .final-drawer .fd-head h2 { margin: 0; font-size: 16px; }
.fd-body { display: grid; gap: 16px; align-content: start; }
.js .final-drawer .fd-body { flex: 1; min-height: 0; padding: 16px 18px; overflow: auto; }
.fd-intro { margin: 0; font-size: 12.5px; color: var(--text2); }
.fd-body .final { margin: 0; }
[data-manual-note][hidden] { display: none; }
[data-manual-note] { margin-top: 8px; }
.ihead .from [data-parent-diff] { display: contents; }
.ihead .from a.pill { text-decoration: none; }

/* návrh 04 port: ďalšie stránky */
/* Všetky verzie, one attempt, a card's own page, a new card, Knižnica, Pomoc, the password and the error page: the
   design does not draw them, so they are built from its parts (phead, sechead, srow, box, panel with ihead/sec/ifoot,
   viewer, kv, textbox, seg, pill) and what it draws with inline styles is here (strict CSP) */
.h2-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.panel.card-pane .ihead h2 .st { font-size: 11.5px; }
/* Všetky verzie: the filter applies on change; each version a row (thumbnail, where · when, its text, its state) */
.vfilter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 14px; }
.vfilter-form { display: flex; align-items: center; gap: 10px; margin: 0; min-width: 0; }
.vfilter-form .lbl { margin: 0; }
.vfilter-form select, .vfilter-form .selbtn { width: auto; min-width: 220px; max-width: 320px; }
ul.vrows { list-style: none; margin: 0; padding: 0; }
.vrow { position: relative; }
.vrow:hover { border-color: var(--line2); }
.vrow:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.vrow .vthumb { display: grid; place-items: center; width: 96px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--field); }
.vrow .vthumb img, .vrow .vthumb video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; display: block; }
.vrow .vthumb .thumb-empty { width: auto; aspect-ratio: auto; font-size: 10.5px; color: var(--faint); text-align: center; padding: 0 4px; }
.vtitle, .vtitle:hover { color: var(--text); text-decoration: none; }
.vrow .vtitle::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }  /* the whole row opens it */
.vtitle:focus-visible { outline: none; }
.vline { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vempty { display: grid; gap: 4px; }
.vempty p { margin: 0; }
@media (max-width: 560px) { .srow.vrow { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; } .vrow .vthumb { width: 72px; } .vfilter-form select, .vfilter-form .selbtn { min-width: 0; } }
/* one attempt: the result in the design's viewer, whole with its controls (the video fits the frame, not the
   frame the video), the text under it, the attempt's data in a panel beside it */
.vmain { display: grid; gap: 12px; min-width: 0; align-content: start; }
.vstage { position: relative; }
.vstage > video, .vstage > img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; margin: 0; border-radius: 0; object-fit: contain; background: #0A0C0D; }
.vmain .below .lbl { margin: 0; }
.vprompt { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.vstills { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.vstills:empty { display: none; }
.vstills .still { margin: 0; }
.vstills .still img, .vstills .still video { width: 100%; max-height: none; aspect-ratio: 16 / 9; object-fit: contain; background: #0A0C0D; border: 1px solid var(--line); border-radius: 8px; display: block; }
.vstills figcaption { margin-top: 6px; font-size: 12px; }
/* a panel taller than the window scrolls inside, so its foot stays in reach (the design's inspector) */
.vpanel, .cpanel { display: flex; flex-direction: column; max-height: calc(100vh - 32px); }
.vpanel .ibody, .cpanel .ibody { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.vpanel .ihead .from { display: block; margin: 6px 0 0; overflow-wrap: anywhere; }
.vpanel .sec > .lbl { margin-bottom: 10px; }
.vpanel .kv { grid-template-columns: 88px minmax(0, 1fr); }
.vpanel .kv dd { overflow-wrap: anywhere; }
.vpanel .composed, .cpanel .composed { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.vpanel .fbody > p + p { margin: 8px 0 0; }
.vpanel .ifoot .meta { flex-wrap: wrap; }
.vpanel .ifoot .meta a { color: var(--text2); }
@media (max-width: 900px) { .vpanel, .cpanel { max-height: none; } .vpanel .ibody, .cpanel .ibody { overflow: visible; } }
/* a card's own page: its pictures as cards, the two ways to a picture side by side, the card's detail in the panel */
.cmain { min-width: 0; }
.cmain > .sechead:first-child { margin-top: 0; }
.cards.cslots { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.cslots .cslot .eb { padding: 8px 10px 10px; gap: 2px; }
.cslots .cslot .eb b { font-size: 13px; }
.cslots .cslot .eb small { font-size: 11.5px; }
.cslot-img { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; color: var(--faint); font-size: 12px;
  background: repeating-linear-gradient(135deg, #16191B 0 10px, #1A1E21 10px 20px); }
.cslots.k-character .cslot-img, .cslots.k-prop .cslot-img { aspect-ratio: 3 / 4; }
.cslot-img img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.cslots .cslot .eb small { overflow-wrap: anywhere; }
.cslots .cslot .eb small:empty { display: none; }
.cways { margin-top: 16px; align-items: start; }
.cways > :only-child { grid-column: 1 / -1; }
.cway { display: grid; gap: 12px; align-content: start; }
.cway-head { display: flex; align-items: center; gap: 8px; }
.cway .cway-head h3 { margin: 0; font-size: 15px; }
.cway-form { display: grid; gap: 12px; margin: 0; min-width: 0; }
.cway-form > div { min-width: 0; }
.cway .drop, .cway .hint, .cway .msg { margin: 0; }
.cway input.field { width: 100%; min-height: var(--ctl); }
.cway .modelpick:has(.pick-pop:empty) { display: none; }
.cway .btn.big:has(.price:empty) { justify-content: center; }
.cway .imeta:has(span:empty) { display: none; }
.cgen .cgen-img { display: block; width: 96px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
  background: repeating-linear-gradient(135deg, #16191B 0 6px, #1A1E21 6px 12px); }
.cgen .cgen-img img { width: 100%; height: 100%; object-fit: cover; }
.cgen .vtitle:hover b { text-decoration: underline; }
.cgen .keep { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 0; }
.cgen .keep select, .cgen .keep .selbtn { width: auto; min-width: 200px; }
.cpanel .ihead h2 { flex-wrap: wrap; }
.cpanel .sec input.field, .cnew .sec input.field, .pwbox .sec input.field { width: 100%; min-height: var(--ctl); }
.cpanel .ifoot:empty { display: none; }
.cpanel .ifoot .btn.big { justify-content: center; }
.cpanel .hist { list-style: none; padding: 0; }
.cpanel .kv { grid-template-columns: 104px minmax(0, 1fr); }
.cpanel .kv dd { overflow-wrap: anywhere; }
.cpanel .hint { margin: 0 0 10px; }
.consent-line { margin: 0 0 10px; color: var(--text2); overflow-wrap: anywhere; }
.consent-form { display: grid; gap: 10px; }
.consent-form .options { margin: 0; }
/* a new card and the password: one panel of fields with the main button at its foot */
.panel.cnew, .panel.pwbox { position: static; max-width: 640px; }
.panel.pwbox { max-width: 440px; }
.cnew .ifoot, .pwbox .ifoot { border-top: 0; }
a.libmore, a.libmore:hover { text-decoration: none; }
/* Pomoc: the design's drawer (a header with the close, the tabs, the body); on its own page the same panel */
.help-panel { max-width: 560px; margin: 0 auto; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; }
.help-panel .help-head { margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.help-panel .help-head h1 { font-size: 16px; font-weight: 800; }
.help-panel .help-tabs { margin: 12px 18px 0; }
.help-panel .help-body { padding: 16px 18px 20px; display: grid; gap: 16px; align-content: start; }
.help-drawer .help-panel { padding: 0; }
.help-panel .guide h2 { margin: 4px 0 8px; font-size: 16px; }
.help-panel .guide ol { font-size: 13.5px; }
.help-panel .toc .lbl { margin-bottom: 4px; }
.help-panel .ask { display: grid; gap: 10px; }
.help-panel .ask p { margin: 0; }
.help-ctx { margin: 0; overflow-wrap: anywhere; }
.help-report { display: grid; gap: 12px; }
.help-report .textbox .count { margin-left: auto; font-size: 11.5px; color: var(--faint); padding-right: 4px; }
/* Kontrola obsahu (3. 11.): what Nevhodný obsah does is said once it is chosen */
.help-report .fb-content, .help-report .fb-hide { display: none; }
.help-report .fb-content { margin: -4px 0 0; }
.help-report:has(input[value="content"]:checked) .fb-content { display: block; }
.help-report:has(input[value="content"]:checked) .fb-hide { display: inline; }
.help-report:has(input[value="content"]:checked) .fb-send { display: none; }
.help-report .seg.full:has(> label:nth-of-type(4)) { display: grid; grid-template-columns: 1fr 1fr; }  /* four choices: 2 × 2 */
.q-release { display: flex; gap: 6px; align-items: center; min-width: 220px; }
.q-release input[name="poznamka"] { flex: 1; min-width: 0; }
/* the error page */
.errbox { display: grid; gap: 12px; max-width: 640px; }
.errbox > p { margin: 0; }
.vpanel .place .selbtn, .vpanel .place select { width: 100%; max-width: none; }
.rows.gen-takes { grid-template-columns: minmax(0, 1fr); gap: 8px; }
/* a phone: the attempt's player stays first (the shot page's order of the design's .viewer and .below is not this one) */
@media (max-width: 900px) { .vmain > .viewer, .vmain > .below { order: 0; margin: 0; } }
@media (max-width: 560px) {
  .cards.cslots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cslots .cslot .eb { padding: 6px 8px 8px; }
  .cslots .cslot .eb b { font-size: 12px; }
  .cslots .cslot .eb small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* the design's .tl is also its timeline box: in every text row it is only the bold label (návrh 04 .textrow .tl) */
.textrow .tl { display: inline; padding: 0; border: 0; border-radius: 0; background: none; }
.textrow .sum { margin-left: 0; max-width: none; }
/* návrh 04 port: karty ako čipy, Zamknuté karty (cardChips, popHtml cards:*) */
.chips[data-cardpick] { align-items: center; }
.chip-list { display: contents; }
.chips .card-pick { position: relative; }
.chips .card-pick > summary { list-style: none; cursor: pointer; }
.chips .card-pick > summary::-webkit-details-marker { display: none; }
.cards-pop, .cards-list { min-width: 300px; }
.card-opt b .muted { font-weight: 400; }
.card-opt small { display: block; overflow-wrap: anywhere; }
.img-noref { margin-top: 10px; }
.chip .x { cursor: pointer; }
/* návrh 04 port: pedagóg a pomoc */
/* the account (návrh 04 header): the design's 32 px .iconbtn with the avatar, the name and a chevron; its menu is a design
   menu (.pop/.opt) that also holds what was the footer — the version, the author and the legal pages */
.top .account > summary.iconbtn { min-height: 0; height: 32px; padding: 0 10px; gap: 7px; border: 1px solid transparent; border-radius: 8px;
  background: transparent; color: var(--text2); font-size: 13px; font-weight: 600; cursor: pointer; }
.top .account > summary.iconbtn:hover, .top .account[open] > summary.iconbtn { background: var(--raised); color: var(--text); }
.top .account > summary.iconbtn::after { content: none; }
.top .account > summary.iconbtn .who { color: inherit; font-size: 13px; }
.account-menu.pop { position: absolute; right: 0; left: auto; top: calc(100% + 6px); display: block; }
.account-about { margin: 0; padding: 4px 10px 6px 38px; font-size: 11.5px; line-height: 1.5; color: var(--faint); }
/* Trieda, the row's menu (návrh 04 `row`): Dobiť / Zmeniť limit / Nové heslo / História first; the amount is asked only
   after Dobiť or Zmeniť limit is chosen (without :has the field simply stays visible) */
.credit-pick .opt { position: relative; cursor: pointer; }
.credit-pick .opt > input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.credit-pick .opt:has(input:checked) { background: var(--hover); }
.credit-pick .opt:has(input:checked) .ck::before { content: "✓"; }
.credit-pick .opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
.credit-amount { display: flex; gap: 6px; padding: 2px 10px 8px 38px; }
.credit-amount .field { flex: 1 1 auto; min-width: 0; }
.credit-amount .btn { flex: none; }
.credit-pick:not(:has(input[name="rezim"]:checked)) .credit-amount { display: none; }
.credit-pick .if-set, .credit-pick:has(input[value="set"]:checked) .if-add { display: none; }
.credit-pick:has(input[value="set"]:checked) .if-set { display: inline; }
/* the menu opens in a layer over the page like the design's menus (portal.js places it next to its button): the table
   may scroll sideways as the design's .tblwrap does and never cuts the menu off; without JavaScript, on a narrow screen
   it opens inside the row */
.js .tblwrap.class-table { overflow-x: auto; }
.js .row-menu .pick-pop.pop { position: fixed; right: auto; z-index: 50; }
.js .row-menu .pick-pop.pop:not(.placed) { visibility: hidden; }
@media (max-width: 900px) {
  html:not(.js) .row-menu .pick-pop.pop { position: static; width: auto; min-width: 260px; margin-top: 6px; box-shadow: none; }
}
/* Pred hodinou (návrh 04): one main action with the length and the price; another length is a quiet menu beside it */
.warm-more { display: inline-block; }
.warm-more > summary.btn { display: inline-flex; grid-template-columns: none; padding: 0 14px; border-radius: 8px; }
.warm-more > .pick-pop.pop { left: auto; right: 0; top: calc(100% + 6px); width: 220px; min-width: 0; }
/* Prevádzka: návrh 04 ends with Zadanie / Pred hodinou; the computations, prices and reports wait folded under them */
details.ops { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
details.ops > summary.fold { list-style: none; cursor: pointer; min-height: 28px; }
details.ops > summary.fold::-webkit-details-marker { display: none; }
details.ops > summary.fold::after { content: none; }
details.ops[open] > summary.fold { margin-bottom: 16px; }
details.ops[open] > summary.fold .chev { transform: rotate(90deg); }
details.ops > .box { margin-top: 16px; }
.ops-reports .duo { margin-top: 16px; }
.ops-reports .duo h3 { margin: 0 0 10px; }
.ops-reports .actions { margin: 16px 0 0; }
/* Zadania (návrh 04 assignScreen) and the review's decision: a segment's words are never cut — the longer one takes the
   room it needs and wraps only on the narrowest screens */
.assignments .seg.full label, [data-decide] .seg.full label { flex: 1 1 auto; }
.assignments .seg.full span, [data-decide] .seg.full span { overflow: visible; text-overflow: clip; white-space: normal; height: auto;
  min-height: 28px; padding: 4px 8px; line-height: 1.25; text-align: center; }
/* Termín as the design writes it (15. 10. 2026) in the design's field; the calendar button opens the browser's picker */
.prop > .date-field { position: relative; min-width: 0; }
.date-field .field { width: 100%; }
.js .date-field.has-picker .field { padding-right: 38px; }
.date-native { position: absolute; right: 0; bottom: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.date-open { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 26px; display: grid; place-items: center;
  padding: 0; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; }
.date-open:hover { background: var(--raised); color: var(--text); }
.date-open svg { width: 15px; height: 15px; }
/* Hodnotenie (návrh 04 reviewScreen): calm rows with the student's why — the picture starts the film from there; the lengths
   and the sound's settings in one fold under them */
.srow > a.srow-thumb { display: block; border-radius: 6px; line-height: 0; }
.srow > a.srow-thumb:hover video, .srow > a.srow-thumb:focus-visible video { box-shadow: 0 0 0 2px var(--accent-line); }
.tech-fold > summary.fold { list-style: none; cursor: pointer; padding: 6px 2px; }
.tech-fold > summary.fold::-webkit-details-marker { display: none; }
.tech-fold > summary.fold::after { content: none; }
.tech-fold[open] > summary.fold .chev { transform: rotate(90deg); }
.tech-list { margin: 6px 0 0; padding: 0 2px; list-style: none; display: grid; gap: 4px; font-size: 12.5px; color: var(--text2); }
.tech-list li { padding: 0; overflow-wrap: anywhere; }
/* návrh 04 port: rýchly test, karty, film */
/* Rýchly test, the first frame (návrh 04 qframe = the shot's frame picker): tiles, a line, the options with a check */
.qchip > .qpop.fp-pop { display: block; }
/* every chip's popover opens right under the chips, also when the file field below them shows */
.js .qtest .qchips { position: relative; }
.js .qtest .qchips > .qchip > .qpop { left: -6px; right: -6px; top: calc(100% + 6px); }
.qpop.fp-pop .fp-grid { padding: 4px; }
.qpop.fp-pop .fp-tile { display: block; margin: 0; }
.qpop.fp-pop .pick-opt.opt { margin: 0; font-weight: 400; color: var(--text); }
/* the file and the question about a real person under the chips, only with a picture chosen (also without JavaScript) */
.qtest .qframe-file .drop, .qtest .qframe-file .likeness { margin: 10px 0 0; }
.qtest form:not(:has(input[name="prvy"][value="file"]:checked)) .qframe-file .drop,
.qtest form:not(:has(input[name="prvy"][value="file"]:checked)) .qframe-file .drop-clear,
.qtest form:has(input[name="prvy"][value="none"]:checked) .qframe-file .likeness { display: none; }
/* Kamera: Pohyb, Nesenie, Objektív as the design's popover (gap 6px), the rest under "Ďalšie nastavenia" */
.qpop.qcam .qpop-body { gap: 6px; }
.qcam .qcam-more { margin-top: 4px; }
.qcam .qcam-more > summary .lbl { margin: 0; }
.qcam .qcam-more .props { gap: 6px; }
.qcam .qcam-more .qown { margin: 10px 0 6px; }
/* Dĺžka a poznámka: the length section of the composer inside the fold, without its own frame */
.qtest .qmore [data-length-sec] { padding: 0; border: 0; margin: 0 0 12px; }
.qtest .qmore .fold > summary .lbl { margin: 0; }
/* the rules of the chosen assignment, in full, behind (i) */
.tip-pop .rules { margin: 8px 0 0; padding: 0; list-style: none; color: var(--text2); font-size: 12.5px; }
.tip-pop .rules li { padding: 2px 0; }
/* Postavy a miesta, the panel's foot: one main button; saving the draft and the whole card quieter under it */
.card-pane .ifoot .meta.card-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.card-more .linkish { font-size: 12px; color: var(--muted); text-decoration: none; }
.card-more a.linkish { margin-left: auto; }
.card-more .linkish:hover { color: var(--accent); text-decoration: none; }
.card-pane .tb-foot .mini[disabled] { opacity: .5; cursor: not-allowed; }
/* Nový film, Pridať zábery: the design's panel with sections, as a form on the page (not sticky beside a list) */
.panel.add-panel { position: static; max-width: 560px; margin: 0 0 22px; overflow: visible; }
#pridat.add-panel { margin: 22px 0 0; }
.panel.add-panel form { margin: 0; }
.panel.add-panel .ifoot { border-radius: 0 0 14px 14px; position: static; }  /* not the inspector's sticky foot on a phone */
.panel.add-panel .textbox textarea { min-height: 64px; }
.panel.add-panel .chips .chip.check { font-weight: 600; }
/* Zábery: a scene's name in its quiet menu (⋯) next to the heading */
.scene-menu { position: relative; }
.scene-menu > summary { list-style: none; width: 28px; height: 28px; padding: 0; justify-content: center; border-color: transparent;
  color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer; }
.scene-menu > summary::-webkit-details-marker { display: none; }
.scene-menu > summary:hover, .scene-menu[open] > summary { color: var(--text); background: var(--raised); }
.scene-menu > .pop { position: absolute; left: 0; top: calc(100% + 6px); width: min(320px, 86vw); padding: 10px; }
.scene-pop label.head { padding: 0 0 6px; }
.scene-pop-row { display: flex; gap: 6px; }
.scene-pop-row .field { flex: 1; min-width: 0; width: auto; }
.scene-pop-row .btn { min-height: var(--ctl); }
@media (max-width: 560px) {
  .scene-head { position: relative; }
  .scene-menu { position: static; }
  .scene-menu > .pop { left: 0; right: 0; width: auto; }
}
/* návrh 04 port: porovnanie (cmpbar, viewer multi, pickPanel .choice) */
.ws-stage[data-compare] { display: grid; gap: 10px; }
.viewer.multi figure.is-picked { box-shadow: inset 0 0 0 2px var(--accent); }
.viewer.multi figure.is-picked .pickbtn { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.viewer.multi video { display: block; cursor: pointer; }
.cmpbar .chips a.chip { text-decoration: none; }
.choice { position: relative; grid-template-columns: 22px 92px minmax(0, 1fr); gap: 10px; background: var(--field); cursor: pointer; }
.choice > input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice:has(input:checked) .r { border-color: var(--accent); background: radial-gradient(var(--accent) 45%, transparent 50%); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice > img, .choice > video, .choice > .thumb-empty { width: 92px; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 5px; display: block; }
/* long actions in a narrow panel wrap; the price never breaks (Codex 10. 10.) */
.insp .actions .btn, .insp .actions summary.btn, .insp .actions a.btn { white-space: normal; height: auto; min-height: 34px;
  padding-top: 7px; padding-bottom: 7px; text-align: center; line-height: 1.3; }
.btn .price { white-space: nowrap; }
.still-pick { position: relative; }
.still-pick > summary { list-style: none; width: 100%; justify-content: center; }
.still-pick > summary::-webkit-details-marker { display: none; }
.still-pick .pick-pop { min-width: 280px; }
.still-pick .still-card-row { display: flex; gap: 6px; margin-top: 6px; }
.cam-words { display: grid; gap: 6px; margin-top: 8px; }
.cam-words[hidden] { display: none; }
.cam-words .hint .acts { flex-wrap: wrap; }
.ws-stage[data-compare] { display: block; place-items: normal; aspect-ratio: auto; max-height: none; background: none; border: 0; border-radius: 0; overflow: visible; }
.ws-stage[data-compare] > .cmpbar { margin-bottom: 14px; }
.ws-stage[data-compare] > .viewer.multi { width: 100%; }
/* the versions' box never grows past the column: its header and strip scroll or shorten inside it */
.verbox { grid-template-columns: minmax(0, 1fr); }
.verbox > * { min-width: 0; }
/* the film line too: its segments shorten on a phone instead of widening the page */
.ftl { grid-template-columns: minmax(0, 1fr); }
.ftl > * { min-width: 0; }
@media (max-width: 900px) {
  .ws-main > .shot-steps { margin-left: 16px; margin-right: 16px; }
  .verbox .vh { flex-wrap: wrap; }
  .verbox .vh > span { flex: 1 1 100%; order: 3; }
}
.ftl .fh { flex-wrap: wrap; row-gap: 4px; }
.ftl .fh b, .ftl .fh .play { white-space: nowrap; }
@media (max-width: 900px) { .ws-main > .ws-stage[data-compare] { order: 3; margin-top: 12px; } }
/* návrh 04 meta: "Zostáva …" left, "koncept uložený 10:44" right; throwing the draft away is a quiet × beside it */
.draft-note { display: inline-flex; align-items: center; gap: 4px; margin: 0; }
.draft-x { font-size: 14px; line-height: 1; padding: 0 2px; color: var(--muted); }
.draft-x:hover { color: var(--bad); }
/* návrh 05 port: storyboard (navrh05.css is the design's own lines; here only what the app adds: links instead of the
   prototype's buttons, lists for drag and drop, the design's inline styles as classes, a drawing picked by a file input) */
.viewsw a, .sblay a { height: 28px; padding: 0 11px; font-size: 12.5px; }  /* the design's .seg button, as a link */
.viewsw a { min-width: 92px; }
.viewsw a[aria-current], .sblay a[aria-current] { background: #2B3236; box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 1px 3px rgba(0,0,0,.4); }
ol.board, ol.sbrows { list-style: none; margin: 0; padding: 0; }
.board > .sbadd-cell, .sbrows > .sbadd-cell { display: grid; order: 1; }  /* "+ záber" stays last while a frame is dragged */
.sbrows .sbadd { min-height: 56px; }
.sbrows .sbrow .kv { margin: 1em 0; }  /* a list inside the list of rows loses the margin the design's div keeps */
a.sbadd, a.sbadd:hover, .sbhit, .sbhit:hover { text-decoration: none; }
.sbcard.can-drag, .sbrow.can-drag { cursor: grab; }
.sbcard.is-dragging, .sbrow.is-dragging { opacity: .45; border-style: dashed; }
.sbcard:focus-within, .sbrow:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.sbhit:focus-visible { outline: none; }
.srcpick > label { display: grid; gap: 3px; justify-items: center; text-align: center; padding: 10px 6px; margin: 0; border-radius: 9px;
  border: 1px solid var(--line); background: var(--field); color: var(--text2); font-size: inherit; font-weight: 400; cursor: pointer; }
.srcpick > label b { color: var(--text); font-size: 12.5px; }
.srcpick > label small { color: var(--muted); font-size: 11px; line-height: 1.3; }
.srcpick > label:hover { border-color: var(--line2); }
.srcpick button:disabled { opacity: .55; cursor: not-allowed; }
.srcpick button:disabled:hover { border-color: var(--line); }
.sb-file { cursor: pointer; }
.sb-file:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.sb-panel .sb-intent { margin: 0 0 12px; color: var(--text2); overflow-wrap: anywhere; }
.sb-panel .sb-material { margin: 10px 0 0; }
.sb-panel .ihead h2 { overflow-wrap: anywhere; }
.sb-panel .ifoot .meta { justify-content: flex-end; }
.sb-panel .sb-sketch-send { margin: 12px 18px 14px; }
.sb-sketch-form { margin: 0; }
/* the panel beside the frames scrolls inside itself when it is taller than the window, so its end is always in reach */
@media (min-width: 901px) { .sb-panel { max-height: calc(100vh - 32px); overflow-y: auto; } }
/* návrh 05 port: animatik a políčko v medzere Strihu */
.anim .animlane a { min-width: 0; padding: 0; border-radius: 6px; border: 1px solid var(--line); background: var(--field); overflow: hidden;
  color: var(--text); text-decoration: none; display: block; }
.anim .animlane a[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.anim .animlane a img { width: 100%; height: 46px; object-fit: cover; display: block; }
.anim .animprog i { width: 0; }
.seq-stage .gap.has-frame { padding: 0; background: #0A0C0D; }
.seq-stage .gap.has-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* návrh 05 port: the switch Storyboard | Výroba stays put also when one view gets a scrollbar (session návrhu 10. 10.);
   (i) in an uppercase eyebrow keeps its small "i" */
html { scrollbar-gutter: stable; }
.eyebrow details.tip > summary { text-transform: none; letter-spacing: normal; }
/* návrh 05 port: storyboard krok 2 (Vytvoriť políčko, Vytvoriť chýbajúce políčka, ★ políčko storyboardu): the design's
   inline styles as classes, the model row and the question about a drawing under the panel's sources */
.srcpick.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }  /* without Vytvoriť (AIAS 1–2, no image model) */
.sb-make .modelrow { margin-top: 10px; }
.sb-make .likeness { margin: 10px 0 0; }
.sb-make .likeness[hidden], .sb-make-note[hidden] { display: none; }
.sb-make-note { margin: 8px 0 0; }
.sb-make-form, .sb-use { margin: 0; }
.sbbig > .sbempty { padding: 10px; }
.dialog.sb-fill { width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; }  /* style="width:min(620px,100%)" */
.dialog.sb-fill header .iconbtn { text-decoration: none; }
.sb-fill .sb-fill-lead { margin: 0; color: var(--text2); }  /* style="margin:0;color:var(--text2)" */
.sb-fill .srow p.sb-fill-how { margin-top: 4px; }  /* style="margin-top:4px" */
.sb-fill .sb-fill-note { margin: 0; }  /* style="margin:0" */
.sb-fill .srow b { overflow-wrap: anywhere; }
.sb-fill .srow > span.small { white-space: nowrap; }
.sbbar > a.btn { text-decoration: none; }

/* návrh 05 port: storyboard krok 3 */
/* "Nahrať" in the shot's first step (návrh 04 imageComposer upload: the section's inline display:grid;gap:12px) */
.ws-upload .up-grid { display: grid; gap: 12px; }
.ws-upload .up-grid .drop { margin: 0; }
/* the frame panel's footer (návrh 05 sbPanel): what the frame gives the shot's new version, then the saved state */
.sb-panel .ifoot .meta { justify-content: space-between; }

/* návrh 05 port: storyboard krok 5 */
/* the assignment's switch "Storyboard schvaľuje pedagóg pred videom" with its (i): style="margin-top:10px;display:flex;
   align-items:center;gap:8px" */
.sbgate-line { display: flex; align-items: center; gap: 8px; }
/* "Odovzdať storyboard" is a form (it works without JavaScript); in the bar only its button is seen, as the design's */
form.sb-handin { display: contents; }
.sbbar .small a { white-space: nowrap; }
/* the state's pill opens the storyboard as it was handed in (the teacher's comment, the history) */
.sbbar a.pill, .sbbar a.pill:hover { text-decoration: none; }
.sb-handin { display: inline-flex; align-items: center; gap: 8px; }

/* návrh 05 port: storyboard krok 6 (cvičenie s kartičkami „Skladba z podkladov“): the design's inline styles as classes,
   forms where the prototype has buttons (they work without JavaScript), the class's orders as links */
/* "Odovzdať poradie" is a form; in the head only its button is seen, as the design's */
form.ex-handin { display: contents; }
/* "+ vlastné políčko" is a form's button in the board's last cell */
.ex-add { display: grid; margin: 0; }
.ex-add .sbadd { width: 100%; cursor: pointer; }
/* ← Skôr / Neskôr → and the editor's two buttons: style="display:grid;grid-template-columns:1fr 1fr;gap:8px" */
.ex-move, .ex-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* the editor's pair keeps to the panel: two equal columns of the longer label would stand out of it (as in the design) */
.ex-foot { grid-template-columns: auto minmax(0, auto); justify-content: space-between; }
.ex-foot .btn { padding-left: 10px; padding-right: 10px; }
.ex-foot .btn.quiet { padding-left: 6px; padding-right: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ex-move .btn:disabled { opacity: .45; cursor: not-allowed; }
.ex-move-form { margin: 0; }
.ex-panel .ex-saved { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.ex-panel .ex-saved:empty { display: none; }
.ex-panel .ex-actions .likeness { margin: 2px 0 0; }
.ex-panel .ex-actions .sb-make-note { margin: 0; }
.ex-panel .ihead h2 { overflow-wrap: anywhere; }
.srcpick.one { grid-template-columns: minmax(0, 1fr); }
.ex-unused { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ex-unused-form { display: inline-flex; margin: 0; }
.sbtext p, .sbrow .rowtxt p { overflow-wrap: anywhere; }
/* Moja práca: a teacher's card of any shape keeps the card's 16:9 picture */
.ex-tile .im { min-height: 0; overflow: hidden; }
/* the class's orders (exReviewScreen): the design's rows are buttons, here links to each order */
a.orow, a.orow:hover { text-decoration: none; }
.orow:hover { border-color: var(--line2); }
.ostrip .ex-gap { flex: 0 0 74px; aspect-ratio: 16 / 9; background: repeating-linear-gradient(135deg, #14171A 0 6px, #191D20 6px 12px); }
/* the assignment's set (assignScreen): style="margin-top:8px" on "Pridať kartičky" */
.ex-drop { margin-top: 8px; }
.ex-cards-send { margin-top: 8px; }
.ex-review-link { display: inline-block; margin-top: 8px; }
.ex-delete { border-top: 1px solid var(--line); }
.ex-delete p { margin: 0 0 10px; color: var(--text2); }
@media (max-width: 700px) { .orow { grid-template-columns: 1fr; } }
/* návrh 05 port: krok 6 po kontrole — prečo tu pod poradím */
.kv.ex-why { grid-template-columns: 22px minmax(0, 1fr); }
.kv.ex-why dt { font-weight: 700; color: var(--text2); }

/* Pohyb z videa: the shot's versions as the video (10. 10.), a card's picture as the look; a result beside the control
   video the model got (the pose, the mask a word found) uses the design's .viewer.two */
.fp-tile video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; pointer-events: none; background: #0A0C0D; }
[data-motion] .motion-grid { margin-top: 8px; }
[data-motion] .motion-grid:empty { display: none; }
[data-mask] .props { margin-top: 8px; }
[data-mask-note]:empty { display: none; }
.viewer.two > .ws-stage { display: contents; }
.viewer.two figure video { display: block; }

/* Zvuk a dialóg (migration 37): one line under "Zvuk k obrazu" in a shot's new version, framed like the description
   (globe "Preložiť do EN" and the count in its foot); its part in the text for the model in a colour of its own.
   An uploaded still of a shot among the versions in Všetky verzie (a row of its own kind). */
.sound-line { margin-top: 12px; }
.sound-line .irow { margin-bottom: 6px; }
/* the inspector's own field look (.insp input:not(…)) stays outside: the frame is the .textbox, as for the description */
.insp .textbox.oneline input[type=text]:not([type=radio]):not([type=checkbox]):not([type=file]) { display: block; width: 100%;
  min-height: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 9px 11px 3px;
  font: 14px/1.5 var(--font); color: var(--text); outline: none; }
.insp .textbox.oneline input[type=text]:hover, .insp .textbox.oneline input[type=text]:focus { border-color: transparent; box-shadow: none; }
.insp .textbox.oneline input[type=text][readonly] { color: var(--text2); cursor: default; }
.final-parts .fp-sound { border-left-color: #8FD3B5; } .final-parts .fp-sound .fp-lbl { color: #8FD3B5; }
.final-text .fpt-sound { color: #8FD3B5; }
.vrow-upload .vline { color: var(--muted); }

/* Petrova prehliadka 10. 10. (noc): the question about a real person is two equal halves across the panel (Safari
   squeezed "Áno, osoba z karty" to "o, osoba z ka" beside a wide "Nie") */
.insp .likeness .seg, .insp .seg[role="radiogroup"], .sb-panel .likeness .seg { display: flex; width: 100%; }
.insp .likeness .seg label, .insp .seg[role="radiogroup"] label, .sb-panel .likeness .seg label { flex: 1 1 0; min-width: 0; }
.insp .likeness legend { display: flex; align-items: center; gap: 6px; }
/* a column of shots (the list beside the workplace, the storyboard's rows) takes the dragged shot above or below */
.drop-above { box-shadow: 0 -3px 0 var(--accent) !important; }
.drop-below { box-shadow: 0 3px 0 var(--accent) !important; }
/* Storyboard on a phone (Peter 10. 10.: "the grid shows rows"): the grid stays a grid of two small frames, the frame
   opens its panel for everything else; the rows stay the sheet with the words */
@media (max-width: 560px) {
  ol.board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  ol.board .sbempty .acts { display: none; }
  ol.board .sbempty { font-size: 11.5px; padding: 6px; }
  ol.board .sbtext { padding: 7px 8px 9px; gap: 4px; }
  ol.board .sbtext b { font-size: 12.5px; }
  ol.board .sbtext p, ol.board .sbcam { display: none; }
  ol.board .sbadd { min-height: 0; height: 100%; aspect-ratio: auto; }
}
/* Upraviť záber (Peter 10. 10.: "a completely ugly form"): the panel of the add form, the scene as a choice, the
   details folded, Odstrániť záber visible under it */
.ws-edit-body.panel { margin-top: 10px; padding: 0; max-width: 620px; }
.ws-edit-body .shot-edit .sec { padding: 12px 18px; border-top: 1px solid var(--line); }
.ws-edit-body .shot-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; list-style: none; }
.ws-edit-body .shot-more > summary::-webkit-details-marker { display: none; }
.ws-edit-body .shot-more[open] > summary { margin-bottom: 8px; }
.ws-edit-body .shot-more .prop + .prop { margin-top: 6px; }
.ws-edit-body .prop select { width: 100%; }
.shot-edit-foot { display: flex; justify-content: flex-end; }
.shot-remove { margin: 0; padding: 10px 18px 14px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
.btn.ghost.danger { color: var(--bad); }
.btn.ghost.danger:hover { background: rgba(240, 120, 110, .1); }
.add-panel [data-scene-pick] .prop + .prop { margin-top: 6px; }
li.sbcard > .sbframe.empty { cursor: pointer; }
/* "+ záber" in the storyboard: its form where the frame's panel is, as wide and as sticky as the panel */
.sb-split > .panel.add-panel, .sb-split > #pridat.add-panel { max-width: none; margin: 0; position: sticky; top: 16px; align-self: start; }
@media (max-width: 900px) { .sb-split > .panel.add-panel { position: static; } }
.ws-edit-body .shot-more > summary .small::after { content: "›"; display: inline-block; margin-left: 8px; font-size: 15px; color: var(--muted); transition: transform .15s; }
.ws-edit-body .shot-more[open] > summary .small::after { transform: rotate(90deg); }
li.sbrow > .sbframe, li.sbrow > .num { cursor: pointer; }
/* Seed (Peter 10. 10.): one field and "rovnaký ako V2" beside it */
.seed-row { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.seed-row .field { flex: 1; min-width: 0; }
/* Moja práca (Peter 10. 10.): a film whose picture is a portrait video keeps the 16:9 tile, every tile of a row as high */
.card .im { overflow: hidden; min-height: 0; }
/* Môj kredit (Peter 11. 10.): the balance, every attempt with its price and what happened to the money, the sums by
   film and by model, the teacher's credit changes; the usage line under Vytvoriť opens it */
.usage-link { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.usage-link:hover, .usage-link:focus-visible { color: var(--text); }
.credit-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.credit-stats .stat-label { display: inline-flex; align-items: center; gap: 6px; }
.credit-stats .stat b { font-size: 26px; white-space: nowrap; }
/* Požiadať o kredit (11. 10.): the student's one-line request and the teacher's two decisions on the card */
.credit-request { margin: 18px 0 8px; }
.credit-ask { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 640px; }
.credit-ask .field { flex: 1 1 260px; min-width: 0; }
.credit-ask-state { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
.credit-request-card .tcard-act { flex-direction: column; align-items: stretch; }
.credit-request-card form { display: flex; gap: 6px; align-items: center; }
.credit-request-card .field { min-width: 0; }
.credit-request-card .field.amount { width: 7ch; flex: none; text-align: right; }
.credit-request-card .credit-request-decline .field { flex: 1 1 140px; }
.credit-table .num, .credit-sums .num, .credit-grants .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.credit-table td { white-space: nowrap; }
.credit-table td.cr-where { white-space: normal; min-width: 180px; }
.credit-table .cr-where a { color: var(--text); text-decoration: none; font-weight: 600; }
.credit-table .cr-where a:hover { text-decoration: underline; }
.credit-table .cr-plain { font-weight: 600; }
.credit-table .cr-meta { display: none; }
.credit-table s { color: var(--muted); }
.st.held { background: var(--info-bg); color: var(--info); }  /* not .info: that is the (i) button of návrh 04 */
.credit-more { margin: 12px 0 0; }
.credit-held { display: block; color: var(--muted); font-size: 11.5px; font-weight: 400; }
.credit-by { margin-top: 4px; }
.credit-by .sechead, #pridelenia .sechead { margin-top: 26px; }
@media (max-width: 900px) { .credit-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .credit-stats .stat { padding: 12px 14px; }
  .credit-stats .stat b { font-size: 20px; }
  .tbl.credit-table thead { display: none; }
  .credit-table, .credit-table tbody { display: block; }
  .credit-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; padding: 10px 12px;
    border-bottom: 1px solid var(--line); }
  .credit-table tr:last-child { border-bottom: 0; }
  .tbl.credit-table td { padding: 0; border: 0; }
  .credit-table .cr-when, .credit-table .cr-kind, .credit-table .cr-model { display: none; }
  .credit-table td.cr-where { grid-column: 1; grid-row: 1 / span 2; min-width: 0; }
  .credit-table .cr-meta { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; white-space: normal; }
  .credit-table .cr-amount { grid-column: 2; grid-row: 1; }
  .credit-table .cr-money { grid-column: 2; grid-row: 2; text-align: right; }
}

/* návrh 06 port: what the design draws inline or the app needs around its forms */
.sbadd-cell > form, .addcell > form { display: contents; }
.sbadd-cell .sbadd { width: 100%; height: 100%; }
.board.wide .sbadd, .board.thumbs .sbadd { min-height: 120px; }
ol.grid4.plan > .addcell { list-style: none; display: grid; }
ol.grid4.plan > .addcell .card.addcard { width: 100%; cursor: pointer; font: inherit; font-weight: 600; }
label.lbl.pt-intent-l { margin-top: 12px; }  /* navrh04 .lbl comes later */
.newscene-form { margin: 0; }
.plan-top { margin-top: 26px; }
.add-menu { position: relative; }
.add-menu > summary { list-style: none; } .add-menu > summary::-webkit-details-marker { display: none; }
.add-menu > .pop { position: absolute; right: 0; left: auto; top: calc(100% + 6px); min-width: 280px; }
.add-menu .opt-form { margin: 0; }
.scenehead .scene-menu { position: relative; }
.scenehead .scene-menu > summary { list-style: none; } .scenehead .scene-menu > summary::-webkit-details-marker { display: none; }
.scenehead .scene-pop { position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; min-width: 300px; }
.scenehead .scene-pop form { margin: 0; }
/* the drawer: the frame's menu and "Odstrániť záber" open over the drawer, inside it */
.pdrawer .pic-menu, .pdrawer .pdel { position: relative; }
.pdrawer .pic-menu > summary, .pdrawer .pdel > summary { list-style: none; } .pdrawer .pic-menu > summary::-webkit-details-marker, .pdrawer .pdel > summary::-webkit-details-marker { display: none; }
.pdrawer .pic-menu > .pop { position: absolute; left: 0; right: auto; top: calc(100% + 6px); min-width: 280px; z-index: 5; }
.pdrawer .pdel > .pop { position: absolute; right: 0; bottom: calc(100% + 6px); width: 300px; padding: 12px; z-index: 5; }
.pdrawer .pdel-pop p { margin: 0 0 10px; font-size: 13px; color: var(--text2); }
.pdrawer .pic-menu .opt.sb-file { cursor: pointer; }
.pdrawer .prodline video { width: 136px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.pdrawer .sb-material { margin-top: 10px; }
.opt b.danger { color: var(--bad); }
/* Výroba: ✎ Upraviť over the card (návrh 06 mkCard) */
li.card.mk { position: relative; }
li.card.mk > .edit { position: absolute; right: 8px; top: 8px; z-index: 2; background: rgba(10, 12, 13, .82); color: var(--text); border-color: transparent; text-decoration: none; }
li.card.mk .im { position: relative; }
.card.mk .im .kind { position: absolute; padding: 2px 8px; border-radius: 6px; background: rgba(10, 12, 13, .8); font-size: 11.5px; font-weight: 600; color: var(--text2); }
/* Viac záberov naraz as the design's dialog */
.many-scrim .dialog { width: min(560px, 100%); }
.many-form { display: grid; gap: 14px; margin: 0; }
.many-form .props .prop + .prop { margin-top: 6px; }
/* Podmienky používania, Ochrana osobných údajov (Peter 11. 10.: "a narrow ugly strip"): a readable page width, the
   headings with air, the lists indented like the text */
.card.narrow.legal { max-width: 820px; padding: 36px 44px 40px; }
.card.legal h1 { font-size: 30px; margin: 0 0 6px; }
.card.legal h2 { font-size: 19px; margin: 30px 0 10px; }
.card.legal p, .card.legal li { font-size: 15px; line-height: 1.65; color: var(--text2); }
.card.legal ul { padding-left: 22px; }
.card.legal li + li { margin-top: 4px; }
@media (max-width: 700px) { .card.narrow.legal { padding: 22px 18px 26px; } }
/* Nový film, Upraviť film (návrh 06 newFilm) and the length of a gap in Strih */
.film-scrim .dialog { width: min(520px, 100%); }
.film-form { display: grid; gap: 14px; margin: 0; }
.film-form .props .prop b { font-size: 13.5px; }
.gap-len { margin: 0; }

/* návrh 06 § 8 Nahrať políčka (bulkDlg): the design's dialog width and its drop line; the file field stays reachable by
   its labels (hidden only once the script runs), a picture dragged over the dialog marks the drop line */
.bulk-scrim .dialog { width: min(780px, 100%); }
.bulk-form .drop b { color: var(--text); }
.bulk-form .drop.over { border-color: var(--accent-line); color: var(--text); }
.bulk-form .drop .ic { width: 18px; height: 18px; flex: none; }
.bulk-form .linkish { cursor: pointer; justify-self: start; }
.bulk-form .bulkrow .selbtn, .bulk-form .bulkrow .field { min-width: 0; }
.sbbar .btn .ic, .startacts .btn .ic { width: 15px; height: 15px; }
.bulk-form .bulkrow .iconbtn { justify-self: end; }
/* a dialog taller than a phone held sideways scrolls as a whole, its buttons stay reachable (Codex 11. 10.) */
.scrim > .dialog { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
/* návrh 06, the design session's comparison of step 1 (11. 10.): the scene's ⋯ as the design's .iconbtn.sm with its border */
.scenehead .scene-menu > summary { width: auto; height: 26px; padding: 0 8px; border-color: var(--line2); color: var(--text2); font-size: 13px; }
/* návrh 06, the design session's comparison of step 3: "Uložiť do karty" is a button like the one beside it, not a field */
.still-pick > summary.btn { display: inline-flex; justify-content: center; height: 34px; padding: 0 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line2); background: var(--raised); color: var(--text); }
/* a shot without pictures: no empty row of tiles between the frame and the other choices */
.fp-pop .fp-grid:empty, .fp-pop .fp-grid:empty + .sep { display: none; }

/* Postavy a miesta (návrh 06 cardsScreen): the strip's cards are links (they work without the script) styled as the
   design's buttons; a place, the new card and the model are menus that open under what was clicked */
.cstrip > a[role="listitem"] { flex: 0 0 auto; display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text); text-align: left; text-decoration: none; }
.cstrip > a[role="listitem"]:hover { border-color: var(--line2); }
.cstrip > a[role="listitem"][aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.cstrip .cards-tile-empty { width: 38px; height: 38px; aspect-ratio: auto; }
.cards-new, .cslot-pick { position: relative; }
.cards-new > summary, .cslot-pick > summary { list-style: none; cursor: pointer; }
.cards-new > summary::-webkit-details-marker,
.cslot-pick > summary::-webkit-details-marker { display: none; }
.cards-new > .pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 300px; }
.cstrip > a.addc { flex: 0 0 auto; display: flex; align-items: center; border-radius: 10px; border: 1px dashed var(--line2); background: var(--panel);
  color: var(--muted); padding: 0 14px; font-weight: 600; text-decoration: none; }
.cslot-pick { min-width: 0; }
.cslot-pick > summary.cslot { width: 100%; }
.cslot-pick[open] > summary.cslot { border-color: var(--accent-line); color: var(--text); }
.cslot-pick > .pop { position: absolute; left: 0; top: calc(100% + 6px); z-index: 40; min-width: 280px; }
.cards-new .pop form, .cslot-pop form, .cards-material form { margin: 0; }
.pop label.opt { cursor: pointer; }
.cards-file { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.cbatch .cards-bulk { margin: 0; display: flex; gap: 8px; align-items: center; }
.cbatch .cards-bulk label.btn { cursor: pointer; }
.danger-text { color: var(--bad); }
.cards-locked-note { padding: 2px 10px 10px; max-width: 260px; }
.cards-head { margin-top: 0; }
.cards-chips { margin-bottom: 10px; }
.cards-panel .cards-form { margin: 0; }
.cards-material button { border: 0; padding: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.cbatch .cards-fill { margin: 0; display: flex; flex: 1 1 280px; }
/* the design gives the button its width in the row (.cbatch .btn.big flex 280px); in the form's column that would be its
   height (Peter 11. 10.: the button was too big): the form takes the width, the button its own height */
.cbatch .cards-fill .btn.big { width: 100%; justify-content: space-between; flex: 0 0 auto; }
/* a place's menu that would leave the screen (the right column on a phone) opens towards the left */
.cslot-pick.menu-end > .pop { left: auto; right: 0; }
.cslot-pick > .pop { max-width: calc(100vw - 32px); }
.cbatch .cards-fill { flex-direction: column; gap: 4px; }
.cbatch .cards-fill .why { font-size: 12px; color: var(--muted); text-align: center; }
.pop label.opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
/* the scene's heading as its name field (návrh 06 sceneHead) */
.scenename-form { margin: 0; display: flex; flex: 0 1 320px; min-width: 0; }
.scenename-form[hidden], .scenehead b[hidden] { display: none; }
.scenename-form .scenename { width: 100%; }
/* model menus (Peter 11. 10.): usable models first, the others behind one line, each saying why it cannot be used */
.pick-opt .po-why { font-size: 12px; color: var(--text2); }
.pick-opt .po-why:empty, .pick-opt .po-note:empty { display: none; }
.pick-opt.is-off .po-state, .pick-opt.is-off .po-note { display: none; }  /* one reason, the one that holds it now */
.tidy:not(.show-off) > .pick-opt.is-off, .tidy:not(.show-off) > a.opt.is-off { display: none; }
.pick-more { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 0; border-top: 1px solid var(--line);
  background: none; color: var(--muted); font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; }
.pick-more:hover, .pick-more:focus-visible { color: var(--text); }
/* Práve sa robí (návrh 06 doplnok): the done rows are links (they work without the script), the drawer's header link is
   the design's × button, the drawer stands over the page */
.qdone a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--line);
  color: var(--text); font-size: 12.5px; text-decoration: none; }
.qdone a:first-child { border-top: 0; }
.qdone a:hover { background: var(--hover); }
.qdone-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.queue-none { margin: 0; }
.qrow .qacts form.inline, .qgrp .acts form.inline, .qfoot form.inline, .qline form.inline { display: inline; margin: 0; }
.queue-layer .drawer.qdrawer { z-index: 70; }
.top-tools .qpill { text-decoration: none; }
.qdrawer h2:focus { outline: none; }  /* the focus is put there for screen readers, the heading is no control */
/* a card's picture big (session návrhu 11. 10.): over the whole screen, the whole picture, its caption under it */
.bigview { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center;
  padding: 56px 64px 16px; background: rgba(8, 10, 11, .94); }
.bigview img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.bigview .bv-cap { margin: 12px 0 0; color: var(--text2); font-size: 13px; text-align: center; }
.bigview .bv-btn { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line2); background: rgba(32, 38, 42, .85); color: var(--text); cursor: pointer; }
.bigview .bv-btn:hover, .bigview .bv-btn:focus-visible { background: var(--hover); }
.bigview .bv-btn[hidden] { display: none; }
.bigview .bv-close { top: 12px; right: 12px; }
.bigview .bv-prev { left: 12px; top: calc(50% - 20px); }
.bigview .bv-next { right: 12px; top: calc(50% - 20px); }
.bv-on, .bv-on body { overflow: hidden; }
@media (max-width: 640px) { .bigview { padding: 56px 8px 64px; } .bigview .bv-prev, .bigview .bv-next { top: auto; bottom: 12px; } }
/* the new card's menu stands where the script puts it: under the button that opened it, whole in the window */
.cards-new > .pop.placed { position: fixed; right: auto; max-width: calc(100vw - 32px); overflow-y: auto; }
/* Náčrt → obraz záberu: the red count and sentence when more pictures are ticked than the model takes */
[data-ref-count].bad, .rover { color: var(--bad); font-weight: 600; }
.rover { margin: 8px 0 0; }
.rtile { cursor: pointer; }
.rtile:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Materiál (16. 10. 2026, Mozog § 25 and Codex § 20.10): the film's material in bins (views, never copies), a search, a
   kind and a shot to narrow them, versions as a grid of pictures; the list stays one click away */
.mat { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: start; }
.mat-bins { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px; }
.mat-bin { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 8px;
  color: var(--text2); font-weight: 600; font-size: 14px; text-decoration: none; }
.mat-bin b { font-weight: 600; color: var(--faint); font-size: 13px; }
.mat-bin:hover { background: var(--raised); color: var(--text); text-decoration: none; }
.mat-bin.on { background: #272C30; color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.mat-bin.on b { color: var(--text2); }
.mat-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; }
.mat-search { flex: 1 1 240px; min-width: 0; height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line2);
  background: var(--well); color: var(--text); font: inherit; }
.mat-tools select { height: 36px; max-width: 280px; }
.mat-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.mat-count { margin: 0; }
.mat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mat-tile { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-sm); background: var(--panel);
  border: 1px solid var(--line); overflow: hidden; }
.mat-tile:hover { border-color: var(--line2); }
.mat-tile:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.mat-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--well); overflow: hidden; }
.mat-thumb img, .mat-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mat-thumb .thumb-empty { font-size: 12px; color: var(--faint); }
.mat-kind, .mat-len { position: absolute; bottom: 6px; font-size: 11.5px; font-weight: 600; padding: 1px 7px; border-radius: 6px;
  background: rgba(16, 19, 21, .82); color: var(--text2); }
.mat-kind { left: 6px; }
.mat-len { right: 6px; }
.mat-info { padding: 10px 12px 12px; min-width: 0; }
.mat-title { color: var(--text); text-decoration: none; font-size: 14px; }
.mat-title::after { content: ""; position: absolute; inset: 0; }  /* the whole tile opens it */
.mat-title:hover { text-decoration: none; }
.mat-line { margin: 4px 0 0; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mat-state { position: absolute; top: 8px; right: 8px; font-size: 11.5px; padding: 1px 8px; }
@media (max-width: 860px) {
  .mat { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mat-bins { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .mat-bin { flex: 0 0 auto; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
  .mat-bin.on { box-shadow: none; border-color: rgba(245, 170, 40, .48); }
  .mat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}
.st.rv { color: var(--info); border-color: var(--info-line); background: var(--info-bg); }  /* finished, not yet decided */
/* the shot list beside the workspace (Codex 16. 10.): the intent on two lines and the state whole, never "na rozh…" */
.ws-rail.rail.n2 .shotbtn .t { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-rail.rail.n2 .shotbtn .s { flex-wrap: wrap; row-gap: 3px; }
.ws-rail.rail.n2 .shotbtn .sw { overflow: visible; text-overflow: clip; white-space: normal; }
/* the version page: what the model got, in the panel (16. 10.) */
.vinputs .vstills { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
.vinputs .vstills .still img, .vinputs .vstills .still video { aspect-ratio: auto; max-height: 140px; }
/* motion video and last frame (Peter 16. 10.): the shot's pictures only after "Z verzie / Z obrazov", or when one is picked */
.seg .seg-pick { flex: 1; border: 0; background: none; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; }
.seg .seg-pick:hover span { color: var(--text); }
.seg .seg-pick:focus-visible span { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg .seg-pick[aria-pressed="true"] span { background: #2D3438; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.seg .seg-pick[hidden] { display: none; }
.isec .fp-grid[data-pick-hidden] { display: none; }
.seg.is-picking input:checked + span { background: none; box-shadow: none; color: var(--muted); }
/* návrh 08 glue: the sound line of the intent greys at a model without sound (the design's .sec.cant, on our line) */
.sound-line.cant input { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.sound-line .row { display: flex; align-items: center; }
.only-ctl { min-width: 0; }
.only-ctl > .irow { margin: 0; }
.switch-note { margin: 8px 0 0; }
.po-cap { display: block; margin-top: 2px; }
/* how far a job is (aku.progress, Peter 16. 10.): a thin amber line at the bottom of the tile or row that moves */
[data-live] { position: relative; }
/* the thin bar of a running task (Peter 16. 10.) only: a bare .pbar is the film's play bar (Strih, Odovzdanie),
   which this rule had shrunk to an invisible 3px line (Peter 30. 10.: no ▶ Prehrať film) */
.pbar[data-own] { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; border-radius: 0 0 6px 6px; }
.pbar[data-own] i { display: block; height: 100%; width: 3%; background: var(--accent); transition: width .8s ease; }
@media (prefers-reduced-motion: reduce) { .pbar[data-own] i { transition: none; } }
/* návrh 09 glue: the decision's sentence opens in place of the two buttons; Vyradiť waits beside "Vybrať do filmu…" */
.rb-two details[open] { grid-column: 1 / -1; }
.rb-two details[open] > summary { display: none; }
.rb-two:has(details[open]) .rb-out { display: none; }
.rb-two details > summary { list-style: none; width: 100%; } .rb-two details > summary::-webkit-details-marker { display: none; }
.rb-two .ws-decide { display: flex; flex-direction: column; gap: 8px; }
.rb .rb-links details { display: contents; } .rb .rb-links details[open] > form { flex-basis: 100%; display: flex; flex-direction: column; gap: 6px; }
.rb .rb-links summary { list-style: none; cursor: pointer; } .rb .rb-links summary::-webkit-details-marker { display: none; }
.rb-edit { flex-direction: row; } .rb-edit small { margin-left: auto; }
.rb-fold { margin-top: 8px; } .rb-why { display: flex; flex-direction: column; gap: 6px; }
/* "Čo chceš zmeniť?": a tab that is a way to another form looks like the others; parts of other tabs step aside */
.chgs .chgbtn { text-align: left; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--field); color: var(--text2); display: flex; flex-direction: column; gap: 2px; min-width: 0; text-decoration: none; }
.chgs .chgbtn b { font-size: 12.5px; color: var(--text); } .chgs .chgbtn small { font-size: 11px; color: var(--muted); }
.ws-form .chg-off { display: none; }
.chgsame { margin: 8px 0 0; }
.sec.cant[data-last-frame] .seg, .sec.cant[data-last-frame] .fp-grid { opacity: .55; }
/* the change chooser's buttons are toggles (aria-pressed), the design's look of a picked tab (Codex 16. 10.) */
.chgs button[aria-pressed="true"] { border-color: var(--accent-line); background: var(--accent-soft); } .chgs button[aria-pressed="true"] b { color: var(--accent); }
.chgsum button.linkish { margin-left: auto; }
/* "Počítač": short words, never cut (Peter 16. 10.) */
/* návrh 10 glue: the page header's two actions, the forms that open under them, a row's small forms */
.sem-page .pacts-row { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.sem-page .sem-form { position: relative; } .sem-page .sem-form > summary { list-style: none; } .sem-page .sem-form > summary::-webkit-details-marker { display: none; }
.sem-page .sem-pop { right: 0; left: auto; width: 320px; max-width: calc(100vw - 32px); padding: 12px; }
.sem-pop-form { display: flex; flex-direction: column; gap: 6px; } .sem-pop-form + .sem-pop-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.sem-inline { margin-top: 4px; } .sem-inline > summary { list-style: none; display: inline-flex; } .sem-inline > summary::-webkit-details-marker { display: none; }
.sem-inline-form { display: flex; gap: 6px; margin-top: 6px; align-items: center; } .sem-inline-form .field { min-width: 0; flex: 1; }
.sem-actions { text-align: right; white-space: nowrap; }
.sem-teacher { display: block; } .sem-switch { margin-top: 10px; display: inline-flex; } .sem-switch a { padding: 0 12px; display: inline-flex; align-items: center; text-decoration: none; color: var(--text2); }
.sem-switch a[aria-current="true"] { background: var(--raised); color: var(--text); border-radius: 7px; }
.semchips .semchips-l { margin: 0; }
/* a change that cannot be made now: in sight, grey, its reason behind (i) (návrh 09, Peter: nothing hidden unexplained) */
.chgs .chgbtn.off { opacity: .55; cursor: default; } .chgs .chgbtn.off b { display: inline-flex; align-items: center; gap: 4px; }
.svrow.neg { border-left-color: var(--bad); } .svrow.neg .svk { color: var(--bad); }
.sem-pop-form .row { display: flex; align-items: center; gap: 6px; } .sem-pop-form .row .lbl { margin: 0; }
/* a move the chosen model cannot steer: said as a warning, not a footnote (Peter 16. 10.) */
.capline.cap-weak { padding: 8px 10px; border-radius: 8px; background: var(--warn-bg, rgba(240, 190, 90, .1)); }
.capline.cap-weak span.on { color: var(--warn); }
.bar.over i { background: var(--warn); } .sem-page .sem-none { color: var(--warn); }
/* návrh 09 "Viac verzií naraz": the zone's inputs as the design's buttons and chips; its spacing without inline styles */
.multiz .mlbl { display: block; margin-top: 12px; }
.multiz .mrow { margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.multiz .mfield { margin-top: 8px; width: 100%; }
.multiz .mchips { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.mchip { position: relative; cursor: pointer; }
.mchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mchip:has(input:checked) { background: rgba(245, 170, 40, .13); border-color: rgba(245, 170, 40, .48); color: #FFD58A; }
.mchip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.multiz textarea.mtext { width: 100%; resize: vertical; }
.msum.warn b { color: var(--warn); }
.modelrow [data-multi-modelnote] { align-self: center; }
/* a group in the strip: › is a link here (the page shows the group's versions), and a cell still computing */
a.grptog { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.ggrid figure.gwait .gstate { aspect-ratio: 16 / 9; display: grid; place-content: center; justify-items: center; gap: 6px;
  padding: 12px; text-align: center; background: #0A0C0D; }
/* the panel's labels are block headings; the zone's ticks and chips stay the design's rows and chips */
.ws-scroll .mchip { display: inline-flex; align-items: center; margin: 0; font-weight: 500; font-size: 12.5px; }
.ws-scroll .multiz .switch-row { margin: 0; }
.multiz .seg.full label span { font-size: 12px; padding: 2px 4px; text-overflow: clip; white-space: normal; height: auto;
  min-height: 28px; line-height: 1.15; text-align: center; }
.ver.grp .m small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* the working sequence on the whole screen (Peter 17. 10.) */
.seq-stage:fullscreen { background: #000; }
.seq-stage:fullscreen video { width: 100%; height: 100%; object-fit: contain; }

/* a card's archive (migration 55): the link at the end of the strip, the button under the panel */
.cstrip a.carch { flex: 0 0 auto; display: flex; align-items: center; padding: 6px 12px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); }
.cstrip a.carch:hover { color: var(--text); border-color: var(--line2); text-decoration: none; }
.ifoot .carchive { margin-top: 10px; text-align: center; }
/* Práve sa robí, what computes (Peter 19. 10.: "myslel som, že tam budú percentá"): its start picture in the square, the
   phase with the share in the pill, a thin bar and the phase's sentence with the time left under the row's words */
.qth { overflow: hidden; }
.qth img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qth.run img { opacity: .75; }
.qrow .qst small:empty { display: none; }
/* the time, the actions and "Kto je pred tebou" in a row under the text, the state alone on the right (Peter 25. 10.: a long
   "pred tebou 1 úloha…" beside the text squeezed the name to a few letters) */
.qrow .qmore { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; }
.qrow .qmore:not(:has(.qacts, .qahead, .qeta:not(:empty))) { display: none; }
.qrow .qmore .qeta { flex-basis: 100%; font-size: 11.5px; color: var(--muted); }
.qrow .qmore .qeta:empty { display: none; }
.qrow .qmore .qacts { flex-wrap: wrap; }
.qrow .qmore .qahead { flex-basis: 100%; }
.qrow .qprog { grid-column: 2 / -1; display: grid; gap: 4px; min-width: 0; }
.qrow .qprog progress { display: block; width: 100%; height: 3px; margin: 0; border: 0; border-radius: 3px; background: var(--raised); appearance: none; -webkit-appearance: none; }
.qrow .qprog progress::-webkit-progress-bar { background: var(--raised); border-radius: 3px; }
.qrow .qprog progress::-webkit-progress-value { background: var(--warn); border-radius: 3px; }
.qrow .qprog progress::-moz-progress-bar { background: var(--warn); border-radius: 3px; }
.qrow .qprog small { font-size: 11.5px; color: var(--muted); }
.qrow .qprog small b { font-weight: 500; color: var(--text2); white-space: nowrap; }
.qslot { display: contents; }
/* a group in the strip (Peter 19. 10.: "4V5orovnanie", the next tile over "4 · Porovnanie"): a nested flex row may size
   itself without its tiles' aspect-ratio (WebKit), so the group was narrower than its own card and the next tile slid
   over it. The group's card, its › and its open versions stand in the strip itself, sized like every tile; an open
   group says it by the blue edge of its tiles instead of a tinted box around them. */
.dstrip .g13 { display: contents; }
.dstrip .g13.open > :is(.t13, .gt13) { border-color: rgba(106,169,233,.7); }
/* a failed version says why, in short, where it stands (Peter 19. 10.: "prečo Seedance zlyhal"); the panel has it whole */
.ggrid figure.gwait .gwhy { max-width: 34ch; font-size: 12px; line-height: 1.35; color: var(--text2); }
.qdone a.qfail small b { color: var(--bad); font-weight: 600; }
/* a button that waits says why, right under it (AKU.why, Peter 20. 10.); in a row of buttons it takes its own line */
.offwhy { margin: 6px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--warn); flex-basis: 100%; text-align: left; }
/* Codex 17. 11.: Upraviť text ručne without words of a plan — why it stays empty, the field free */
.n61note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--text2); }
.n61note[hidden] { display: none; }
/* Peter 25. 10.: a gap shows the shot's newest video (or first picture) in its place; dashed, it is not in the film */
.blk.standin { border-style: dashed; border-color: #6b5a2a; }
.blk.standin .bm span { color: var(--warn); }
.seq-choose { display: grid; gap: 6px; }
/* Scéna (návrh 26): the 3D canvas in the stage and the plan in the panel, in the portal's own tokens */
.sc26-viewer { position: relative; }
.sc26-canvas { display: block; width: 100%; height: 100%; min-height: 240px; border-radius: 10px; background: var(--well); touch-action: none; }
/* the shot's camera: exactly its 16:9 frame, centred (scena.js sizes it), with an edge so the frame is seen */
.sc26-viewer { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sc26-canvas.sc26-frame { min-height: 0; border-radius: 4px; outline: 1px solid var(--line2); }
.sc26-nogl { margin: 16px; }
.sc26-view { position: absolute; right: 12px; bottom: 12px; }
.sc26-plan { display: block; width: 100%; height: auto; max-height: 260px; background: var(--well); border-radius: 8px; touch-action: none; }
.sc26-room { fill: #2a2622; stroke: var(--faint); stroke-width: 3; }
.sc26-win { stroke: #6f8fd0; stroke-width: 8; }
.sc26-door { stroke: #8a6a44; stroke-width: 8; }
.sc26-obj rect { fill: #4a3f37; stroke: var(--line2, #3a4044); stroke-width: 2; }
.sc26-obj.on rect { stroke: var(--accent); stroke-width: 4; }
.sc26-obj text { fill: var(--muted); font-size: 13px; pointer-events: none; }
.sc26-person text { fill: var(--text); font-size: 17px; font-weight: 600; pointer-events: none; paint-order: stroke; stroke: #141719; stroke-width: 4px; }
.sc26-obj, .sc26-person { cursor: grab; }
.sc26-person circle { stroke: #111; stroke-width: 2; }
.sc26-person.on circle { stroke: var(--text); stroke-width: 4; }
.sc26-dir { stroke: #111; stroke-width: 4; }
.sc26-cam { fill: var(--accent); }
.sc26-aim { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 8 6; }
.sc26-revs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sc26-rev { display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.sc26-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13px; color: var(--text2); }
.sc26-nudge { flex-wrap: wrap; gap: 4px; }
.sc26make{display:grid;gap:8px;margin-top:8px}

/* Peter 25. 10.: Rozhodnúť first with one main button, quiet links under it, Upraviť right below (no gap) */
.rbar > .rb-decide { display: flex; flex-direction: column; gap: 8px; }
.rb-decide .rb-quiet { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.rb-decide .rb-quiet form, .rb-decide .rb-quiet .rb-also { display: inline; margin: 0; }
.rb-decide .rb-two { display: flex; flex-direction: column; gap: 6px; }
.door19w { display: flex; align-items: center; gap: 6px; }
.door19w > .door19 { flex: 1 1 auto; }

/* "nové" on a finished version not opened yet, and the short note when versions finish (Peter 25. 10.: new versions
   are found without searching); the note stands over the page's head, never over the video */
.t13 .new13 { position: absolute; top: 5px; right: 6px; z-index: 3; padding: 1px 6px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-weight: 700; line-height: 15px; }
.toast13 { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; align-items: baseline; gap: 2px; max-width: min(560px, calc(100vw - 32px)); padding: 8px 14px; border: 1px solid var(--line2); border-radius: 10px; background: var(--raised); color: var(--text); font-size: 13px; box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
.toast13 a { color: var(--link); font-weight: 600; white-space: nowrap; }
.toast13[hidden] { display: none; }
.tgrp .gimgs .gph { background: repeating-linear-gradient(135deg, #14171A 0 6px, #191D20 6px 12px); }
/* Scéna: the models that make the picture from the approved layout, two to a row in the narrow panel (Peter
   25. 10.: three models fell apart into narrow columns in the grid made for two) */

/* the large version of a comparison: the others as small pictures in one row under it (Peter 25. 10.: the thumbnails are
   links with a picture or a video since návrh 09, the design's rules named buttons and images only — full-size videos
   overflowed the screen) */
.gthumbrow > a { display: flex; flex-direction: column; width: 84px; padding: 0; border: 2px solid transparent; border-radius: 6px; color: var(--muted); text-decoration: none; }
.gthumbrow > a[aria-current="true"] { border-color: var(--accent); }
.gthumbrow > a > :is(img, video, span) { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 4px; }
.gthumbrow > a small { font-size: 10.5px; padding: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gthumbrow { flex-wrap: nowrap; overflow-x: auto; }
/* the large version fits the stage with its row of the others under it, the strip stays below (Peter 25. 10.) */
.ws-stage:has(> .cmpbar) { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; }
.ws-stage:has(> .cmpbar) > .viewer { flex: 1 1 0; min-height: 0; }
.ws-stage:has(> .cmpbar) > .viewer > video { width: 100%; height: 100%; object-fit: contain; }
.ws-stage:has(> .cmpbar) > .gacts.big { flex: none; }
/* the scene panel holds its hidden native lists (select.sel-native is absolute): without it they lengthened the whole page
   below the workplace (Peter 25. 10.); a waiting button's reason goes under the row, never squeezed beside it */
.sc26p .ibody { position: relative; }
/* oprava A (coordinator 9. 11.: Nadviazať at 1280 × 720, the page 902 px high): the same for every panel — its hidden native
   lists (and any absolute part without a positioned parent) are placed in the panel, which scrolls, never below the page */
.ws > .ws-panel { position: relative; }
.sc26p .irow { flex-wrap: wrap; }
.sc26p .irow > .offwhy { flex-basis: 100%; margin: 0; }
.ask27:has(> .a27msg:not([hidden])) { flex-wrap: wrap; }
.a27msg { flex-basis: 100%; order: 9; margin: 4px 0 0; color: var(--text2); }
/* one text of the shot: a version's own wording offered into the script (Peter 25. 10.) */
.use24 { margin: 6px 16px; padding: 8px 10px; border: 1px dashed var(--line2); border-radius: 8px; color: var(--text2); }
.use24 .linkish { margin-left: 4px; }

/* návrh 29: a character's voice on the card — one row per voice, the sample beside it, one action */
.voice22 .vl22 { display: flex; flex-direction: column; gap: 2px; }
.voice22 .vo22 { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; cursor: pointer; }
.voice22 .vo22:hover { background: var(--hover, rgba(127, 127, 127, .08)); }
.voice22 .vn22 { font-weight: 500; }
.voice22 .vw22 { font-size: 12px; flex: 1; }
.voice22 .va22 { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.play22 { border: 1px solid var(--line, rgba(127, 127, 127, .35)); background: transparent; color: inherit; border-radius: 50%;
  width: 26px; height: 26px; line-height: 1; font-size: 11px; cursor: pointer; flex: none; }
.play22:hover { border-color: currentColor; }
.voices-admin table.voices td { vertical-align: middle; }

/* návrh 29: Replika in the shot's Zvuk row — one line of choices, the words, one state line, the actions in one row */
.ln29 { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.ln29who { display: flex; gap: 6px; align-items: center; flex-wrap: nowrap; }
.ln29 .ln29who select { width: auto; flex: 1 1 0; min-width: 0; max-width: none; margin: 0; }
.ln29 .ln29off { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; white-space: nowrap; flex: none;
  margin: 0 0 0 auto; }
.ln29 .ln29off input { margin: 0; }
.ln29state { display: flex; align-items: center; gap: 8px; min-height: 26px; }
.ln29act { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ln29up { cursor: pointer; }
.ln29snds { display: flex; flex-direction: column; gap: 2px; }
.ln29snd { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.ln29why { margin: 0; }
.ln29 > .ln29off { margin: 0; align-self: flex-start; }

/* návrh 49 (Peter 8. 11.): Kto to povie — one question, under it only the chosen way's controls (CSS :has, no script) */
.ln49 { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.ln29 .ln49 label { margin: 0; }
.ln49seg span { white-space: normal; line-height: 1.2; text-align: center; height: auto; min-height: 36px; padding: 4px 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ln49seg span small { display: block; font-size: 10.5px; font-weight: 400; margin-top: 1px; }
.ln49b { display: none; flex-direction: column; gap: 6px; padding-left: 10px; border-left: 2px solid var(--accent); }
.ln49:has(input[name="rec"][value="native"]:checked) > [data-ln49-b="native"],
.ln49:has(input[name="rec"][value="tts"]:checked) > [data-ln49-b="tts"],
.ln49:has(input[name="rec"][value="own"]:checked) > [data-ln49-b="own"] { display: flex; }
.ln49note, .ln49warn { margin: 0; }
.ln49warn { color: var(--warn); }
.ln49b > .btn { align-self: flex-start; }

/* návrh 29: Čo model povedal at a result — one line, the verdict word, the correction folded */
.said29 { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; }
.said29t { margin: 0; }
.said29t .ok { color: var(--ok, #6fbf73); } .said29t .warn { color: var(--warn, #e0a64b); } .said29t .muted { color: var(--muted); }
.said29d { margin: 0; }
.said29form { display: flex; gap: 6px; margin-top: 4px; } .said29form input { flex: 1; min-width: 0; }

/* video guide (Peter 30. 10.): its own page, open without signing in */
.navod { max-width: 1120px; margin: 0 auto; }
.navod h1 { margin: 4px 0 6px; }
.navod-video { display: block; width: 100%; max-height: 72vh; margin: 14px 0 10px; background: #000; border-radius: 10px; }
.help-navody { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(156,198,238,.45); background: rgba(156,198,238,.12); }
.help-navody p { margin: 4px 0; }

/* Porovnať pred a po of an edit without a shot (2. 11.): the shot's compare grid on the result's page; a picture's
   source and result sit in it as its videos do, and pictures have no shared time to play */
.ggrid img.cmpi { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: contain; background: #000; }
.gsync:has(~ .ggrid img.cmpi) { display: none; }
.vstage:has(> .cmpbar) { place-items: stretch; align-content: center; gap: 10px; padding: 12px; }

/* Pôvod a úpravy (material-v1 krok C, 2. 11.): the chain of derivations in a medium's detail — one dot per link on a
   thin line, the open medium in accent; what was made from it steps right by its depth */
.povod .pv-list { list-style: none; margin: 8px 0 0; padding: 0; }
.povod .pv { position: relative; padding: 0 0 10px 18px; display: flex; flex-direction: column; gap: 1px; }
.povod .pv::before { content: ""; position: absolute; left: 4px; top: 7px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--control); }
.povod .pv::after { content: ""; position: absolute; left: 7px; top: 16px; bottom: -2px; width: 1px; background: var(--line2); }
.povod .pv:last-child::after { display: none; }
.povod .pv.on::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(245, 170, 40, .18); }
.povod .pv-d2 { margin-left: 14px; } .povod .pv-d3 { margin-left: 28px; }
.povod .pv-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.povod .pv-name { font-size: 14px; font-weight: 600; color: var(--text); }
.povod a.pv-name { color: var(--link); }
.povod .pv.on .pv-name { color: var(--text); }
.povod .pv-term { font-size: 12px; color: var(--faint); }
.povod .pv-meta { font-size: 12px; color: var(--muted); }
.povod .pv-cmp { font-size: 12px; align-self: flex-start; }
