/* Návrh 13 — the workspace after Codex's comparison (Peter 17. 10.: all 8 changes at once). Ported from
   docs/navrh-portalu-2026-10/navrh-13/index.html (CSS block "návrh 13"); the portal's own markup names are added
   where they differ (a.shotbtn with aria-current="page", the strip tiles from ws_strip_*.html, .ws-stage in .viewer). */

/* 1. compact header: brand, the film and its tabs, saved, queue, ☰, account — one row (the shot is in the shot row) */
.top.cbar { height: 44px; gap: 14px; padding: 0 12px 0 14px; flex-shrink: 0; flex-wrap: nowrap; }
.top.cbar .org-name { font-size: 12px; max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1100px) { .top.cbar .org-name { display: none; } }
.top.cbar .brand { gap: 8px; }
.top.cbar .brand img.logo { height: 20px; }
.top.cbar .brand img.org { height: 22px; border-radius: 4px; background: #fff; padding: 2px 4px; }
@media (max-width: 900px) { .top.cbar .brand img.org, .top.cbar .org-name { display: none; } }
.top.cbar .subnav.filmbar { height: auto; padding: 0; border: 0; background: none; gap: 2px; min-width: 0; flex: 0 1 auto; scrollbar-width: none; }
.top.cbar .subnav.filmbar > a { height: auto; padding: 6px 9px; border-radius: 7px; border-bottom: 0; font-size: 12.5px; }
.top.cbar .subnav.filmbar > a[aria-current="page"] { color: var(--text); background: var(--raised); }
.top.cbar .subnav.filmbar .film-menu > summary { font-size: 13px; margin-right: 0; }
.top.cbar .tools { gap: 6px; flex: none; }
.top.cbar .tools .label { display: none; }
.cbar .csave { white-space: nowrap; font-size: 12px; } @media (max-width: 1250px) { .cbar .csave .tx { display: none; } }
.cbar .cmenu > summary { list-style: none; font-size: 16px; }
.cbar .cmenu > summary::-webkit-details-marker { display: none; }
.cbar .cmenu .cmenu-nav { display: grid; gap: 0; }
.cbar .cmenu .cmenu-nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; }
@media (max-width: 720px) {
  .top.cbar { height: auto; min-height: 44px; flex-wrap: wrap; padding: 6px 12px; gap: 6px 10px; }
  .top.cbar .subnav.filmbar { order: 5; flex: 1 1 100%; overflow-x: auto; }
  .cbar .csave { display: none; }
}

/* 2. the left panel: Zábery / Materiál */
.railtabs { margin-bottom: 8px; flex: none; }
.railtabs a { text-decoration: none; }
.mrail { gap: 8px; } .mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mitem { padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--raised); color: var(--text2); text-align: left; text-decoration: none; display: block; }
.mitem img, .mitem video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; } .mitem span { display: block; font-size: 11px; padding: 3px 5px; } .mitem.on { outline: 2px solid var(--accent); }
.mitem .thumb-empty { display: block; aspect-ratio: 16/9; background: var(--field); }
.mact { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 10px; background: var(--field); border: 1px solid var(--line); } .mact small { color: var(--muted); }
.mrail form { display: flex; gap: 6px; } .mrail form .field { flex: 1; min-width: 0; }
.mrail .chips a { text-decoration: none; }

/* 5. the right panel: content first, the rest folded with a summary */
.small13 .fp-thumb { width: 64px; } .two13 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .two13 > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.two13 .seg.full { flex-wrap: wrap; } .two13 select { width: 100%; }
.seg.sm13 label span { height: 26px; font-size: 11.5px; padding: 0 8px; } .modelrow .seg.sm13 { margin-left: auto; flex: none; }
.fold13 > summary .sum { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fold13 .pzone { margin-top: 8px; }
/* the foot stays low on a laptop: length and size are in the row above and in Technika */
.x13 .modelrow .spec { display: none; }
.two13 .prop.st13 { display: flex; flex-direction: column; align-items: stretch; gap: 4px; grid-template-columns: none; }
.two13 .prop.st13 > span { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.railtabs a { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; height: 28px; border-radius: 7px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.railtabs a:hover { color: var(--text); }
.railtabs a[aria-current="true"] { background: #2B3236; color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 1px 3px rgba(0,0,0,.4); }
.sm13w { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; flex: none; }
.sm13w .seg.sm13 { margin-left: 0; }

/* ---- the workspace sized for laptops (Peter 17. 10.: "notebooky majú veľmi malé výšky") ----
   height budget at a 1280×720 laptop (~620 px of page): header 44 · shot row 32 · versions strip 96–116 (28 when hidden) ·
   picture = the rest. Width: the picture is limited by the centre's width, so under 1500 px the left panel shrinks to
   numbers and thumbnails (rail-c, set by portal.js) and the right one is 344 px. */
.rsz { display: none; }
@media (min-width: 901px) {
  .ws.z-resize { --rw0: 380px; grid-template-columns: var(--lw, 232px) 6px minmax(0,1fr) 6px var(--rw, var(--rw0)); }
  .ws.z-resize.rail-c { grid-template-columns: 84px 6px minmax(0,1fr) 6px var(--rw, var(--rw0)); }
  .rsz { display: block; cursor: col-resize; background: transparent; position: relative; touch-action: none; }
  .rsz::after { content: ""; position: absolute; top: 0; bottom: 0; left: 2px; width: 2px; background: var(--line); }
  .rsz:hover::after, .rsz.on::after { background: var(--accent); }
  .ws.rail-c > .rsz.l { visibility: hidden; pointer-events: none; }
}
@media (min-width: 901px) and (max-width: 1499px) { .ws.z-resize { --rw0: 344px; } }
.ws.z-dock { min-height: 0; }
.ws.z-dock .center { padding: 0; gap: 0; overflow: hidden; display: flex; flex-direction: column; }
.cmain { flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 10px 16px; container-type: inline-size; scrollbar-width: thin; }
.cmain > * { flex-shrink: 0; } .cmain > .viewer { position: relative; flex: 1 1 auto; min-height: 150px; max-height: none; aspect-ratio: auto; margin: 0; }
.cmain > .viewer .ws-stage > img, .cmain > .viewer .ws-stage > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* nothing of ours lies over a playing video: browsers put their own controls in its corners (Safari: volume top right) */
.cmain > .viewer:has(video) > .tag { display: none; }
.cmain > .msg { margin: 0; }
.ws.z-dock .gacts.big { padding-block: 6px; } .ws.z-dock .gacts.big .gthumbrow button { width: 74px; } .ws.z-dock .gacts.big .gthumbrow small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 3. versions strip: one row of equal tiles, sized by the strip's height; never a vertical scrollbar, the wheel scrolls sideways */
.dock13 { --dockh: 116px; flex: 0 0 auto; position: relative; height: var(--dockh); display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 10px; padding: 8px 12px 8px 14px; border-top: 1px solid var(--line); background: #12161A; }
@media (max-height: 759px) { .dock13 { --dockh: 96px; } }
.dock13 .dshow { display: none; }
.dock13.hid { height: auto; display: flex; padding: 0 10px; } .dock13.hid > * { display: none !important; } .dock13.hid > .dshow { display: inline-flex !important; align-items: center; }
.dshow { height: 28px; padding: 0 6px; background: none; border: 0; color: var(--text2); font-size: 12.5px; font-weight: 600; }
.dshow:hover { color: var(--text); }
.dgrip { position: absolute; left: 0; right: 0; top: -5px; height: 10px; cursor: row-resize; z-index: 4; touch-action: none; }
.dgrip::after { content: ""; position: absolute; left: 50%; top: 3px; width: 44px; height: 4px; margin-left: -22px; border-radius: 2px; background: var(--line2); }
.dgrip:hover::after, .dgrip.on::after { background: var(--accent); }
.dock13:not([data-js]) .dgrip { display: none; }
.dhead { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 4px; min-width: 0; overflow: hidden; }
.dhead b { font-size: 12.5px; white-space: nowrap; } .dhead b .c { color: var(--muted); font-weight: 600; margin-left: 4px; }
.dhead .pickbar { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; background: none; border: 0; }
.dhead .tip { align-self: flex-start; }
.d13b { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--raised); color: var(--text2); font-size: 11px; font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.d13b:hover { color: var(--text); text-decoration: none; } .d13b.on { background: var(--accent); color: var(--accent-ink, #1a1408); border-color: var(--accent); } .d13b:disabled { opacity: .45; }
.dstrip { position: relative; display: flex; gap: 6px; align-items: stretch; min-width: 0; height: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; overscroll-behavior-x: contain; }
.t13 { position: relative; flex: 0 0 auto; height: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--field); color: #fff; text-decoration: none; display: block; cursor: pointer; }
.t13 > img, .t13 > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.t13 > .thumb-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10.5px; color: var(--muted); text-align: center; padding: 4px; }
.t13::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(transparent, rgba(0,0,0,.72)); z-index: 1; pointer-events: none; }
.t13[aria-current="true"], .t13.picked { outline: 2px solid var(--accent); outline-offset: -2px; }
.t13:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.t13 .tl, .t13 .tr { position: absolute; bottom: 4px; z-index: 2; font-size: 11.5px; font-weight: 700; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.9); color: #fff; }
.t13 .tl { left: 7px; right: 30px; overflow: hidden; text-overflow: ellipsis; text-align: left;
  /* navrh04.css has a .tl of its own (the cut's timeline box): none of it on a tile's label (Peter 17. 10.) */
  border: 0; border-radius: 0; background: none; padding: 0; display: block; gap: 0; } .t13 .tr { right: 7px; font-weight: 600; color: rgba(255,255,255,.85); }
.t13 .tr:empty { display: none; }
/* Peter 30. 10.: a version finished while the page was open, until it is opened */
.t13.fresh13, [data-group-tile].fresh13 { box-shadow: inset 0 0 0 2px var(--accent); }
.nw13 { position: absolute; top: 6px; left: 6px; z-index: 3; padding: 2px 6px; border-radius: 4px; background: var(--accent); color: #1a1200; font-size: 10px; font-weight: 800; letter-spacing: .06em; line-height: 1.3; pointer-events: none; }
.t13 .stt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t13 .pbar { z-index: 3; border-radius: 0; }
.d13 { position: absolute; top: 6px; right: 6px; z-index: 2; width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(0,0,0,.5); background: var(--accent); }
.d13.ok, .d13.gd { background: #4CC38A; } .d13.off, .d13.rj, .d13.un { background: #8A949C; } .d13.wt, .d13.rn { background: #6AA9E9; }
.t13.tnew { aspect-ratio: 4 / 5; border: 1px dashed var(--accent-line); background: var(--accent-soft); color: var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.tnew::before { content: none; } .tnew b { font-size: 20px; line-height: 1; } .tnew span { font-size: 11px; font-weight: 700; line-height: 1.15; text-align: center; padding: 0 4px; }
.tgrp .gimgs { position: absolute; inset: 0; z-index: 0; display: flex; gap: 1px; } .tgrp .gimgs > :is(img, video, span) { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; }
.g13 { display: flex; gap: 4px; height: 100%; flex: 0 0 auto; border-radius: 10px; } .g13.open { background: rgba(106,169,233,.16); padding: 0 4px; }
.gt13 { flex: 0 0 18px; height: 100%; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--text2); font-size: 13px; display: grid; place-items: center; text-decoration: none; }
.pk13 { position: absolute; top: 5px; left: 5px; z-index: 2; width: 18px; height: 18px; border-radius: 5px; border: 2px solid #fff; background: rgba(0,0,0,.35); font-size: 11px; line-height: 14px; text-align: center; color: transparent; }
.t13.picked .pk13 { background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #1a1408); }
label.t13:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
/* 6. full screen: only the picture and a thin bar with the way back */
.widebar { display: none; }
html.aku-wide > body > header.top, html.aku-wide > body > .subnav { display: none !important; }  /* a class, not :has (speed) */
.ws.z-wide { grid-template-columns: minmax(0,1fr) !important; } .ws.z-wide > :is(.rail, .inspector, .rsz, .shotswitch) { display: none !important; }
.ws.z-wide .dock13 { display: none; } .ws.z-wide .cmain { padding: 0 0 8px; gap: 8px; }
.ws.z-wide .cmain > :is(.shot13, .msg, .ws-rules, [data-live-note], .keepnote, .ftl, .ws-external) { display: none !important; }
.ws.z-wide .cmain > .viewer { border-radius: 0; border-left: 0; border-right: 0; }
.ws.z-wide .widebar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; font-size: 13px; background: var(--head); border-bottom: 1px solid var(--line); white-space: nowrap; }
.widebar .sp { flex: 1; } .widebar .d13b { height: 26px; font-size: 12px; padding: 0 9px; } .widebar kbd { font: inherit; font-size: 10.5px; color: var(--muted); border: 1px solid var(--line2); border-radius: 4px; padding: 0 4px; margin-left: 4px; }
.widebar .muted { overflow: hidden; text-overflow: ellipsis; min-width: 0; } .widebar b { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* 2./4. left panel on a laptop: numbers and thumbnails; » brings back names and the material */
.railtop { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; flex: none; } .railtop .seg { flex: 1; margin: 0; min-width: 0; }
.railx { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--raised); color: var(--text2); font-size: 14px; padding: 0; }
.railx:hover { color: var(--text); border-color: var(--accent-line); }
@media (min-width: 901px) {
  .ws.rail-c > .rail { padding: 8px 6px; gap: 3px; overflow-x: hidden; }
  .ws.rail-c > .rail .railtop .seg, .ws.rail-c > .rail > .scene { display: none !important; } .ws.rail-c > .rail .railtop { justify-content: center; margin-bottom: 4px; }
  .ws.rail-c > .rail .ws-rail-scene { display: block !important; font-size: 0; height: 1px; padding: 0; margin: 6px 8px; background: var(--line); }
  .ws.rail-c > .rail .ws-rail-scene > * { display: none; }
  .ws.rail-c > .rail .shotbtn { display: flex !important; flex-direction: column; align-items: center; gap: 3px; padding: 5px 2px; position: relative; }
  .ws.rail-c > .rail .shotbtn .num { font-size: 11.5px; } .ws.rail-c > .rail .shotbtn .rth { width: 62px; } .ws.rail-c > .rail .shotbtn .rth:empty { border: 1px dashed var(--line2); background: none; }
  .ws.rail-c > .rail .shotbtn .txt { position: static; }  /* Peter 30. 10.: S O V F under the picture, never over it */
  .ws.rail-c > .rail .shotbtn .s { display: flex; justify-content: center; } .ws.rail-c > .rail .shotbtn .dot { position: absolute; top: 9px; left: 5px; }
  .ws.rail-c > .rail .shotbtn .mk24 { gap: 2px; } .ws.rail-c > .rail .shotbtn .mk24 i { width: 13px; height: 13px; font-size: 8.5px; border-radius: 3px; } .ws.rail-c > .rail .shotbtn :is(.t, .sw, .infilm) { display: none; }
  .ws.rail-c > .rail .foot .btn { font-size: 11px; padding: 6px 2px; white-space: normal; line-height: 1.2; }
}
/* 8. the shot list: number, thumbnail, the name (the open shot's whole name) */
.ws.z-extra .rail.n2 .shotbtn { grid-template-columns: 30px 48px minmax(0,1fr); gap: 6px; } .ws.z-extra .rail.n2 .shotbtn .sw { display: none; }
.ws.z-extra .rail.n2 .shotbtn::before { content: none; }
.ws.z-extra .rail.n2 .shotbtn[aria-current="true"] .t, .ws.z-extra .rail.n2 .shotbtn[aria-current="page"] .t { white-space: normal; }
.rth { width: 48px; aspect-ratio: 16/9; border-radius: 5px; overflow: hidden; background: var(--field); display: block; } .rth img, .rth video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws.z-extra .cmain > .msg.info { align-self: flex-start; font-size: 12px; padding: 4px 10px; border-radius: 8px; }
.keepnote { font-size: 12px; color: var(--ok); background: var(--ok-bg); padding: 5px 10px; border-radius: 8px; align-self: flex-start; margin: 0; }
/* the right panel's footer casts a shadow: what is under it scrolls, it is not cut off */
.ws.z-dock .ifoot { position: relative; z-index: 1; box-shadow: 0 -12px 16px -8px rgba(0,0,0,.55); }
/* phone: the page scrolls, the picture keeps 16:9, the shot row wraps */
@media (max-width: 900px) {
  .ws.z-dock .cmain { overflow: visible; margin: 0 !important; padding: 10px 16px; } .cmain > .viewer { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .cmain > .viewer .ws-stage > img, .cmain > .viewer .ws-stage > video { position: static; }
  .st13t { flex-wrap: wrap; row-gap: 6px; } .st13t h1 { white-space: normal; flex: 1 1 0; }
  .cmain > .ws-external { order: 8; }  /* after the picture and the film, as on the computer */
  .dock13 { --dockh: 92px !important; margin: 0 !important; }
  .ws-external { margin: 0; }
}

/* 9. one way of choosing (Peter 17. 10.: "keď niečo vyberám, postup má byť vždy rovnaký"): the shot bar with full steps,
   cells that only open, the decision always at the bottom right with the next step as the gold button */
.shot13 { display: flex; flex-direction: column; gap: 6px; }
.st13t { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 28px; }
.st13t h1 { margin: 0; font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.st13t h1 .no { color: var(--muted); font-weight: 700; font-size: 15px; margin-right: 8px; }
.st13t .intent1 { font-size: 13px; color: var(--text2); min-width: 0; flex: 0 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st13t .intent1 .k { color: var(--muted); margin-right: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.st13t .intent1 .ws-intent-text { font-size: 13px; }
.st13t .sp { flex: 1; } .st13t .pill { white-space: nowrap; flex: none; } .st13t > .mini, .st13t > .tip { flex: none; }
.wb13 { flex: 0 0 auto; height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line2); background: var(--raised); color: var(--text2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.wb13:hover { color: var(--text); border-color: var(--accent-line); }
.steps13 { display: flex; align-items: stretch; gap: 2px; padding: 3px; border-radius: 12px; background: var(--field); border: 1px solid var(--line); }
.s13 { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid transparent; background: none; color: var(--text2); text-align: left; text-decoration: none; }
.s13 .n { flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; border: 1.5px solid var(--line2); color: var(--muted); }
.s13.done .n { background: rgba(76,195,138,.16); border-color: rgba(76,195,138,.55); color: #4CC38A; }
.s13 .tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.s13 b { font-size: 13.5px; white-space: nowrap; color: var(--text); overflow: hidden; text-overflow: ellipsis; } .s13 .ls { display: none; }
.s13 small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s13[aria-current="step"] { background: var(--accent-soft); border-color: var(--accent-line); } .s13[aria-current="step"] b { color: var(--accent); } .s13[aria-current="step"] .n { border-color: var(--accent); color: var(--accent); background: none; }
.s13:hover:not([aria-current]) { background: var(--raised); text-decoration: none; }
.steps13 .ar { align-self: center; color: var(--faint); font-style: normal; font-size: 18px; line-height: 1; }
@container (max-width: 1080px) { .st13t .intent1 { display: none; } }
@container (max-width: 760px) { .st13t .pill, .st13t .wb13 span { display: none; } }
@container (max-width: 640px) { .s13 .lf { display: none; } .s13 .ls { display: inline; } .s13 { padding: 0 8px; gap: 6px; } }
@container (max-width: 470px) { .s13 small { display: none; } }
.ws.z-wide .shot13 { display: none !important; }
/* grid: a cell only opens its version, ⤢ (or a double click) enlarges it */
.ggrid figure { position: relative; } .gz13 { position: absolute; top: 6px; right: 6px; z-index: 2; width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: rgba(15,18,20,.7); color: #fff; font-size: 14px; padding: 0; display: grid; place-items: center; text-decoration: none; }
.gz13:hover { border-color: var(--accent); text-decoration: none; } .ggrid figure.picked { outline: 2px solid var(--accent); outline-offset: 2px; }
.ggrid .gzoom { cursor: pointer; }
/* the decision at the bottom right */
.dec13 .rbl { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.dec13 .two { display: grid; grid-template-columns: 1fr auto; gap: 8px; } .dec13 small { font-size: 12px; }
.dec13 .btn.block { width: 100%; justify-content: center; }
.dec13 .rb-two { grid-template-columns: 1.4fr 1fr; }
.chips13 { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* 10. calm without fewer functions (Peter 17. 10.: "pokoj na obrazovke bez toho, aby sme mali menej funkcií"): the
   settings as a list (icon · name · value), a row opens its own controls under it, what is not used waits in "Pridať";
   the parameters of a result as a short overview; one switch above the picture for a comparison */
.pl10 { display: flex; flex-direction: column; gap: 1px; padding: 4px; border-radius: 12px; background: var(--field); border: 1px solid var(--line); }
.pr10 { display: grid; grid-template-columns: 18px 76px minmax(0,1fr) 12px; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: var(--text); text-align: left; font-size: 13px; width: 100%; }
.pr10[hidden] { display: none; }
.pr10:hover { background: var(--raised); } .pr10.open { background: var(--raised); }
.pr10 .pi { display: grid; place-items: center; color: var(--muted); } .pr10.open .pi, .pr10:hover .pi { color: var(--accent); }
.pr10 .pl { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr10 .pv { font-weight: 600; min-width: 0; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; } .pr10.warn .pv { color: var(--warn, #E0A23A); }
.pr10 .pc { color: var(--faint); display: grid; place-items: center; transition: transform .15s; } .pr10 .pc svg { width: 12px; height: 12px; } .pr10.open .pc { transform: rotate(180deg); color: var(--accent); }
.th10 { width: 22px; height: 14px; border-radius: 3px; overflow: hidden; display: block; } .th10 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.th10 .fp-none { display: grid; place-items: center; width: 100%; height: 100%; font-size: 10px; color: var(--muted); background: var(--raised); }
.pe10 { margin: 2px 4px 6px 18px; padding: 8px 10px 8px 14px; border-left: 2px solid var(--accent-line); display: flex; flex-direction: column; gap: 8px; }
.js .pe10:not(.open) { display: none; }
.pe10f { display: flex; justify-content: flex-end; } .pe10 .prop { grid-template-columns: 1fr; gap: 4px; min-height: 0; } .pe10 .prop > span { font-size: 12px; color: var(--muted); } .pe10 .seg button { padding-inline: 6px; }
.pe10 .sec, .pe10 .isec { padding: 0; border: 0; } .pe10 .msum { font-size: 12.5px; } .pe10 .pzone { margin: 0; }
.pe10 .multiz { border: 0; background: none; } .pe10 .multiz > .pzh { display: none; }
.padd10 { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; padding: 6px 10px 4px; border-top: 1px solid var(--line); margin-top: 3px; }
.padd10[hidden] { display: none; }
.padd10 .pal { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.pa10 { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 8px; border: 0; border-radius: 7px; background: none; color: var(--text2); font-size: 12.5px; text-decoration: none; }
.pa10[hidden] { display: none; }
.pa10 svg { color: var(--muted); } .pa10:hover, .pa10.open { background: var(--raised); color: var(--text); text-decoration: none; } .pa10::before { content: "+"; color: var(--muted); margin-right: -2px; }
.sec.sec10 { padding-top: 8px; }
.chg10 { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 6px; vertical-align: middle; }
.chg10[hidden] { display: none; }
.pr10.chg .pv { color: var(--accent); }
.pr10.acc { background: var(--accent-soft); } .pr10.acc .pi, .pr10.acc .pl { color: var(--accent); }
.pf10 { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 3px 10px; margin: 10px 0 0; font-size: 12.5px; } .pf10 dt { color: var(--muted); } .pf10 dd { margin: 0; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.from10 { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.cmp10 { flex: 0 0 auto; display: inline-flex; } .cmp10 a { white-space: nowrap; display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 7px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.cmp10 a[aria-current="true"] { background: #2B3236; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.4); }
@container (max-width: 760px) { .cmp10 .w { display: none; } }
.calm10 .rb-edit, .rb-edit.c10 { justify-content: center; }

/* ---------- návrh 14 (docs/navrh-portalu-2026-10/navrh-14/index.html, the block "návrh 14") ---------- */
.tip14:empty { display: none; } .tip14 { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.tip1 { display: grid; grid-template-columns: 8px minmax(0,1fr); gap: 4px 8px; align-items: start; font-size: 12.5px; color: var(--text2); padding: 6px 10px; border-radius: 9px; background: var(--field); border: 1px solid var(--line); }
.tip1 .td { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 5px; } .tip1 .tt b { color: var(--text); font-weight: 600; }
.tip1 .ta { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; } .tmore { margin-left: auto; height: 22px; min-width: 22px; padding: 0 6px; border-radius: 11px; border: 1px solid var(--line2); background: none; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.tipall { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-radius: 9px; border: 1px dashed var(--line2); font-size: 12.5px; color: var(--text2); }
.tipol { display: flex; flex-wrap: wrap; gap: 4px 10px; } .tipol .k { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; } .tipol span.ok { color: var(--text); }
.tiprow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; } .tiprow b { color: var(--text); font-weight: 600; }
.sug14 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 6px; font-size: 12.5px; } .sug14 .sk { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; } .sug14 .sv { color: var(--text2); font-style: italic; }
.miss14 { color: var(--warn, #E0A23A); font-size: 12.5px; font-weight: 600; }
.fin14 { align-self: center; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: none; color: var(--muted); font-size: 12.5px; white-space: nowrap; text-decoration: none; }
.fin14.ok { color: #4CC38A; border-color: rgba(76,195,138,.45); } .fin14.ok b { color: var(--text); } a.fin14:hover { text-decoration: none; border-color: var(--line2); }
.ck14 { position: absolute; top: 5px; left: 6px; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: #4CC38A; color: #0f1214; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.tks14 { display: flex; flex-wrap: wrap; gap: 6px; } .tk14 { position: relative; width: 74px; padding: 0; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: var(--field); color: var(--text2); font-size: 11px; }
.tk14 img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; } .tk14 span { display: block; padding: 2px 4px; } .tk14.on { outline: 2px solid var(--accent); outline-offset: -2px; color: var(--text); }

/* ---------- návrh 15: Prevádzka (docs/navrh-portalu-2026-10/navrh-15/index.html) ---------- */
.ops .phead { align-items: center; } .ostate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); margin-bottom: 14px; }
.ostate b { font-size: 15px; } .ostate span { color: var(--text2); font-size: 13px; } .ostate.warn, .ostate.bad { border-color: var(--accent-line); }
.od { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #4CC38A; flex: none; } .od.warn { background: var(--accent); } .od.bad { background: #E5675A; } .od.off { background: var(--faint); }
.ogrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 14px; }
.ocard { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 10px; min-width: 0; } .ocard.warn, .ocard.bad { border-color: var(--accent-line); }
.ocard header { display: flex; align-items: center; gap: 8px; } .ocard h2 { font-size: 15px; margin: 0; } .ocard header .sp { flex: 1; }
.otiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; } .otiles > div { padding: 8px 10px; border-radius: 9px; background: var(--field); display: flex; flex-direction: column; gap: 2px; }
.otiles b { font-size: 20px; font-variant-numeric: tabular-nums; } .otiles small { color: var(--muted); font-size: 11.5px; line-height: 1.3; } .otiles .w b { color: var(--accent); }
.olanes { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--text2); } .olanes span { display: inline-flex; align-items: center; gap: 6px; }
.ofold { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--text2); font-size: 12.5px; font-weight: 600; cursor: pointer; } .ofold:hover { color: var(--text); }
.ofoldd > summary { list-style: none; } .ofoldd > summary::-webkit-details-marker { display: none; } .ofoldd > summary::before { content: '▸ '; } .ofoldd[open] > summary::before { content: '▾ '; } .ofoldd[open] > .obody { margin-top: 10px; }
.obody { display: flex; flex-direction: column; gap: 10px; } .otab { width: 100%; border-collapse: collapse; font-size: 12.5px; } .otab th { text-align: left; color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 4px 6px; }
.otab td { padding: 5px 6px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; } .otab td.bad { color: #E5675A; font-weight: 700; } .otab td.muted { color: var(--muted); }
.obar { flex: 1; height: 6px; border-radius: 3px; background: var(--field); overflow: hidden; display: block; } .obar i { display: block; width: 0; height: 100%; background: var(--accent); border-radius: 3px; } .obar.big { height: 10px; border-radius: 5px; }
.odisk { display: flex; flex-direction: column; gap: 4px; } .odisk .obar { flex: none; width: 100%; } .odisk small { color: var(--text2); font-size: 12.5px; } .obars { display: grid; gap: 6px; font-size: 12.5px; } .obars > div { display: grid; grid-template-columns: 140px 1fr 64px; align-items: center; gap: 8px; } .onum { text-align: right; font-variant-numeric: tabular-nums; color: var(--text2); }
.obk { display: grid; gap: 4px; font-size: 13px; } .obk > div { display: grid; grid-template-columns: 12px minmax(0,1fr) auto auto; align-items: center; gap: 10px; padding: 3px 0; } .obkgo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ocard header .seg-links { display: inline-flex; gap: 2px; padding: 2px; border-radius: 9px; background: var(--field); flex: none; } .ocard header .seg-links a { height: 26px; padding: 0 10px; font-size: 12px; }
.obk-ok { color: #4CC38A; } .obk-bad { color: #E5675A; }
/* kópia mimo servera (Prevádzka → Zálohy, 18. 10.) */
.ooff { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.ooff-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; } .ooff-h .muted { margin-left: auto; }
.ooff .obk > .ooff-l { grid-template-columns: 12px minmax(0,1fr); }
.ooff-form { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.ooff-g { display: grid; grid-template-columns: minmax(130px, auto) minmax(0, 1fr); gap: 6px 12px; align-items: center; border: 0; margin: 0; padding: 0; }
.ooff-g legend { font-size: 12px; font-weight: 600; color: var(--text2); padding: 0 0 6px; }
.ooff-g .field { width: 100%; min-width: 0; } .ooff-n.field { width: 64px; }
.ooff-when { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.ooff-on { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
@media (max-width: 600px) { .ooff-g { grid-template-columns: 1fr; } }
/* Superpočítač SAV (19. 10.): the hours per cluster, Prednosť and Používať */
.osav { display: flex; flex-direction: column; gap: 10px; } .otab td.warn { color: #E0A33A; font-weight: 700; }
.osav-form { display: grid; grid-template-columns: minmax(130px, auto) minmax(0, 220px); gap: 6px 12px; align-items: center; }
.osav-form .btn { grid-column: 2; justify-self: start; }
.osav-form .osav-go { grid-column: 2; display: flex; gap: 8px; } .osav-form .osav-go .btn { grid-column: auto; }
@media (max-width: 600px) { .osav-form { grid-template-columns: 1fr; } .osav-form .btn, .osav-form .osav-go { grid-column: 1; } .osav .otab { display: block; overflow-x: auto; } }
/* Superpočítač SAV (25. 10.): the cards by the work in the queue, their time by phase, the students' wait */
.ocard.osav-wide { grid-column: 1 / -1; } .osav-wide .osav-form { max-width: 520px; }
.osav .otab td { white-space: nowrap; } .osav .otab td:first-child { white-space: normal; }
/* Stropy (Peter 8. 11.): every cap of the gateway, one row each, its own form */
.ocaps { display: flex; flex-direction: column; gap: 6px; }
.ocaps-row { display: grid; grid-template-columns: minmax(180px, 1.4fr) minmax(110px, 1fr) minmax(110px, 1fr) minmax(90px, .8fr) minmax(260px, 1.4fr); gap: 4px 12px; align-items: center; padding: 4px 0; border-top: 1px solid var(--line, rgba(127,127,127,.18)); }
.ocaps-head { border-top: 0; padding-bottom: 0; }
.ocaps-go { display: flex; gap: 8px; align-items: center; } .ocaps-go .field { width: 110px; min-width: 0; }
@media (max-width: 900px) { .ocaps-row { grid-template-columns: 1fr 1fr; } .ocaps-head { display: none; } .ocaps-go { grid-column: 1 / -1; flex-wrap: wrap; } }
.osav-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 10px 18px; align-items: start; }
.osav-chart { display: flex; flex-direction: column; gap: 6px; } .osav-ch { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.osav-ch .seg-links { display: inline-flex; gap: 2px; padding: 2px; border-radius: 9px; background: var(--field); } .osav-ch .seg-links a { height: 24px; padding: 0 9px; font-size: 12px; display: inline-flex; align-items: center; border-radius: 7px; color: var(--text2); text-decoration: none; } .osav-ch .seg-links a[aria-current] { background: var(--raised, var(--panel)); color: var(--text); }
.osav-bars { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; align-items: center; }
.osav-l { display: flex; flex-direction: column; font-size: 12.5px; } .osav-l small { color: var(--muted); font-size: 11px; }
.osv-svg { width: 100%; height: 86px; display: block; } .osv-svg text { fill: var(--muted); font-size: 10px; text-anchor: middle; } .osv-ax { stroke: var(--line); stroke-dasharray: 3 3; }
.osv-c { fill: #4CC38A; } .osv-p { fill: #E0A33A; } .osv-i { fill: #E5675A; } .osv-s { fill: var(--faint); opacity: .55; } .osv-u { fill: var(--field); }
.osav-key { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--text2); } .osav-key span { display: inline-flex; align-items: center; gap: 6px; }
.osav-key i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; background: currentColor; }
.osav-key i.osv-c { background: #4CC38A; } .osav-key i.osv-p { background: #E0A33A; } .osav-key i.osv-i { background: #E5675A; } .osav-key i.osv-s { background: var(--faint); opacity: .55; } .osav-key i.osv-u { background: var(--field); border: 1px solid var(--line); }

/* ---------- návrh 17: mobil (Peter 17. 10.: „hlavne keby mohol pohodlne fungovať upload fotiek a videí“) ----------
   On a phone every menu and dialog comes up from the bottom over the whole width and never runs off the screen; the
   shot is the picture, its versions to swipe under it and the decision always at the bottom; "⇪ Nahrať" in the header
   and "Odfotiť / Z galérie" at every file field. Nothing of it on a computer. */
.uphub, .up-cam { display: none; }
.up17 { list-style: none; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; white-space: nowrap; cursor: pointer; }
.up17::-webkit-details-marker { display: none; } .up17::marker { content: ""; }
.uh-sheet { background: #20262A; border: 1px solid var(--line2); }
.uh-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 4px 4px; } .uh-head h2 { margin: 0; font-size: 17px; font-weight: 800; }
.uh-row { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 6px 12px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--line); }
.uh-head + .uh-row { border-top: 0; } .uh-i { color: var(--accent); display: grid; place-items: center; } .uh-t b { display: block; font-size: 14px; } .uh-t small { display: block; color: var(--muted); font-size: 12px; }
.uh-b { grid-column: 2; display: flex; gap: 8px; } .uh-b .btn { flex: 1; justify-content: center; text-align: center; } .uh-b [hidden] { display: none; }
.up-cam { gap: 8px; } .up-cam .btn { flex: 1; justify-content: center; }
@media (max-width: 640px) {
  body { overflow-x: clip; }
  .uphub { display: block; }
  .drop { flex-wrap: wrap; } .drop .up-cam { display: flex; position: relative; z-index: 1; flex-basis: 100%; }
  /* menus: the popup of an open details comes up from the bottom; its summary's backdrop closes it on a tap */
  details[open] > .pick-pop, details[open] > .pop, details[open] > .menu-pop, details[open] > .tip-pop, details[open] > .uh-sheet {
    position: fixed !important; left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important; width: auto !important; max-width: none !important; min-width: 0 !important;
    max-height: 80dvh; overflow: auto; overscroll-behavior: contain; margin: 0 !important; transform: none !important; display: block;
    border-radius: 16px 16px 0 0; padding: 10px 10px calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 70; box-shadow: 0 -18px 50px rgba(0,0,0,.6); }
  details[open]:has(> .pick-pop, > .pop, > .menu-pop, > .tip-pop, > .uh-sheet) > summary::before { content: ""; position: fixed; inset: 0; z-index: 69; background: rgba(5,7,8,.55); cursor: default; }
  details[open] > .pick-pop .opt, details[open] > .pop .opt, details[open] > .menu-pop a, details[open] > .pop button.opt { min-height: 48px; }
  .tip-pop { font-size: 14px; }
  /* dialogs: a sheet from the bottom, a grabber on top, the action within reach */
  .scrim, .pdlgwrap { place-items: end stretch; padding: 0; }
  .scrim > .dialog, .pdlg { width: 100% !important; max-width: none; max-height: 92dvh; border-radius: 16px 16px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .scrim > .dialog > header, .pdlg > header { position: relative; padding-top: 20px; }
  .scrim > .dialog > header::before, .pdlg > header::before { content: ""; position: absolute; left: 50%; top: 7px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--line2); }
  .pdlg footer { position: sticky; bottom: 0; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--panel); }
  .bulk-form [data-bulk-go] { position: sticky; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 2; box-shadow: 0 -10px 24px rgba(0,0,0,.45); }
  /* the shot on a phone: picture, the versions to swipe right under it, the decision always at the bottom */
  .ws.z-dock .ftl { display: none !important; }
  .dock13 { --dockh: 92px !important; grid-template-columns: minmax(0,1fr) !important; padding: 6px 12px !important; } .dock13 .dhead, .dock13 .dgrip { display: none; }
  .dstrip { scroll-snap-type: x mandatory; } .t13 { scroll-snap-align: start; }
  .ws.n2 .inspector .ifoot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0; background: var(--panel); padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -12px 30px rgba(0,0,0,.5); }
  .ws.n2 .inspector { padding-bottom: 150px; }
  .headrow, .shot13 .st13t { flex-wrap: wrap; } .steps13 .s13 small { display: none; }
  /* a container would hold the sheets inside the picture column: the step labels follow the phone's width instead */
  .cmain { container-type: normal; } .s13 .lf { display: none; } .s13 .ls { display: inline; } .s13 { padding: 0 8px; gap: 6px; }
  .top .tools { gap: 6px; } .top .account .label, .top .account .chev, .cbar .csave { display: none !important; }
}

/* ---------- Peter 17. 10. (aku-test): Technika, the sketch panel ---------- */
/* "ponuka pre Wan je graficky rozbitá": inside Technika every .sec loses its padding (návrh 08 .pe10 .sec), so the
   table "… dostane" and the model's own settings stood on the zone's border; they keep an inner margin, the seed row
   reads like the other settings */
.pe10 .pzone > .sec { padding: 8px 12px; }
.pe10 .pzone > .sec:empty { display: none; }
.pe10 .pzone .pzh { padding: 9px 12px; flex-direction: column; align-items: flex-start; gap: 2px; }
.pe10 .mg { grid-template-columns: minmax(0,1fr) 30px; gap: 1px 8px; padding: 6px 0; }  /* the panel is narrow: the name over the value */
.pe10 .mg .mk { grid-column: 1 / -1; font-size: 11.5px; }
.pe10 [data-seed-sec] .fold > summary .lbl { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 400; color: var(--muted); }
/* the footer never grows wider than the panel: a long button wraps instead (návrh 17, not ported until "Tlačidlo
   Vytvoriť obraz je odseknuté") */
.ws.n2 .inspector .ifoot { grid-template-columns: minmax(0,1fr); }
.ws.n2 .ifoot .btn.big > span:first-child { white-space: normal; text-align: left; min-width: 0; }
.ws.n2 .ifoot .btn.big .price { flex: none; }
.sk-foot .modelrow { min-width: 0; } .sk-foot .modelrow .spec { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Peter 17. 10. ("je to rozbité a neprehľadné"): in the narrow Technika panel the choices of Počítač and Rozlíšenie
   ("Prenajatý · 0,07 €", "1080p · 2 fázy, dlhšie") ran over each other; they stand one under the other */
.pe10 .only-ctl .seg { flex-direction: column; align-items: stretch; height: auto; }
.pe10 .only-ctl .seg > label { flex: none; min-width: 0; }
.pe10 .only-ctl .seg > label > span { white-space: normal; justify-content: flex-start; text-align: left; height: auto; min-height: 34px; padding: 6px 10px; }

/* ---------- návrh 18: počítanie, ktoré žije (Peter 17. a 18. 10.) ---------- */
.ws-stage > .calc18 { position: absolute; inset: 0; }
.calc18 { position: relative; overflow: hidden; display: grid; place-items: center; width: 100%; height: 100%; min-height: 220px; background: #0b0d0f; }
.calc18 .bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(18px) saturate(.7) brightness(.45); transform: scale(1.05); }
.sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.10) 45%, rgba(245,170,40,.10) 50%, transparent 65%); background-size: 260% 100%; animation: sweep18 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes sweep18 { 0% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
.calcbox { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 16px 22px; max-width: 380px; color: var(--text); }
.calcbox b { font-size: 15px; } .calcbox small { font-size: 12.5px; color: var(--text2); } .calcbox small.muted { color: var(--muted); }
.ring18 { width: 44px; height: 44px; color: var(--accent); animation: spin18 1.1s linear infinite; } @keyframes spin18 { to { transform: rotate(360deg); } }
.bar18 { width: 240px; max-width: 80%; height: 5px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; margin-top: 4px; } .bar18[hidden] { display: none; }
.bar18 i { position: relative; display: block; width: 0; height: 100%; background: var(--accent); border-radius: 3px; overflow: hidden; transition: width 1s linear; }
.bar18 i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); width: 40%; animation: bar18 1.6s ease-in-out infinite; }
@keyframes bar18 { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.pv18 { font-size: 13px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; } .pv18:empty { display: none; }
.calcmask { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: rgba(8,10,12,.55); }
.calcmask .ring18 { width: 30px; height: 30px; } .calc-known .arc18 { animation: none; }
.tp18 { font-size: 11px; line-height: 1; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.t13:has(.calcmask) > img { filter: blur(3px) brightness(.7); }
@media (prefers-reduced-motion: reduce) { .sweep, .bar18 i::after { animation: none; } .ring18 { animation-duration: 3s; } }

/* ---------- návrh 18: filtre (Peter 17. 10.: "citlivo, nech sa nenaruší čistota") ---------- */
.scrow18 { display: flex; align-items: baseline; gap: 8px; min-width: 0; margin-top: 2px; } .scrow18 > b { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scf18d { position: static; flex: none; margin-left: auto; } .ws-rail > .scene { position: relative; } .scf18d > summary { list-style: none; } .scf18d > summary::-webkit-details-marker { display: none; }
.scf18 { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 6px; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.scf18:hover { color: var(--text); background: var(--raised); } .scf18.on { color: var(--accent); } .scf18 > span[aria-hidden] { font-size: 11px; line-height: 1; }
/* the menu spans the list's head, never past its edges (Peter 18. 10.: it was cut off on the left) */
.scf18d > .pop { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40; min-width: 0; max-width: none; width: auto; }
.sw18b { display: inline-flex; align-items: center; gap: 5px; } .sw18 { flex: none; position: relative; width: 18px; height: 10px; border-radius: 5px; background: var(--accent); }
.sw18::after { content: ''; position: absolute; top: 1px; right: 1px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); transition: right .15s; }
.sw18b[aria-checked="false"] .sw18 { background: var(--line2); } .sw18b[aria-checked="false"] .sw18::after { right: 9px; background: var(--text2); }
.hid18 { flex: none; align-self: stretch; display: grid; place-items: center; width: 74px; border: 1px dashed var(--line2); border-radius: 8px; background: none; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.25; text-align: center; padding: 4px; }
.hid18:hover { color: var(--text); border-color: var(--text2); } .hid18[hidden], .t13[hidden], .ws-rail-item[hidden], .ws-rail-scene[hidden] { display: none; }

/* ---------- návrh 18: zvuk pri modeli bez zvuku (Peter 17. 10.) ---------- */
.pr10.mute18 .pl, .pr10.mute18 .pv { color: var(--muted); font-weight: 500; } .pr10.mute18 .pi { opacity: .5; }
.pa10.mute18 { color: var(--muted); } .pa10.mute18 svg { opacity: .55; } .no18 { font-size: 11.5px; opacity: .85; } .no18[hidden] { display: none; }
.snd18 { display: grid; gap: 6px; } .snd18 > p { margin: 0; }
.kept18 { margin: 2px 0 0; font-size: 12.5px; color: var(--text2); }
.calc18.calc-end .ring18, .calc18.calc-end .sweep, .calc18.calc-end .bar18, .calc18.calc-end .pv18 { display: none; }
/* návrh 18: the narrow list keeps the scene filter, short, under « */
.scf-s { display: none; }
@media (min-width: 901px) {
  .ws.rail-c > .rail > .scene { display: block !important; padding: 0; margin: 0 0 4px; text-align: center; }
  .ws.rail-c > .rail > .scene > .eyebrow, .ws.rail-c > .rail > .scene .scrow18 > b, .ws.rail-c > .rail > .scene .scrow18 > :not(.scf18d) { display: none; }
  .ws.rail-c > .rail > .scene .scrow18 { justify-content: center; } .ws.rail-c .scf18d { margin: 0 auto; }
  .ws.rail-c .scf18 { padding: 2px 4px; font-size: 11px; } .ws.rail-c [data-scf-label] { display: none; } .ws.rail-c .scf-s { display: inline; }
  .ws.rail-c > .rail > .scene:not(:has(.scf18d)) { display: none !important; }
  .ws.rail-c .scf18d > .pop { position: fixed; left: 8px; right: auto; top: auto; width: 240px; }
}

.olbl { display: flex; align-items: center; gap: 6px; }
/* Kvalita (Peter 30. 10.: the page had no styles of its own): the cards and tables of Prevádzka */
.ocard.q-wide { grid-column: 1 / -1; } .q-scroll { overflow-x: auto; }
.q-cases td { vertical-align: top; } .q-cases td:last-child { overflow-wrap: anywhere; } .q-cases code { font-size: 11.5px; color: var(--text2); }
.q-sev { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: var(--muted); vertical-align: middle; }
.q-sev.q-warn { background: #E0A33A; } .q-sev.q-error, .q-sev.q-bad { background: #E5675A; }
.ocard.q-sum { grid-column: 1 / -1; } .ocard.q-sum th, .q-cases td:first-child { white-space: nowrap; }
