/* Návrh 30 · Ovládanie Scény (Peter 26. 10.: „Páči sa mi to“): the 3D window and its overlays, the inspector of the
   selected thing. Ported from the approved prototype docs/navrh-ui/m-scena30.html (its own block of styles); the rest of
   the workplace is the portal's. No inline styles anywhere (CSP style-src 'self'): every variant is a class. */
.s30top { display: flex; align-items: center; gap: 8px; padding: 0 0 8px; }
.s30top .field { flex: 1; min-width: 0; height: 34px; }
.s30top .lbl { font-size: 12px; color: var(--muted); white-space: nowrap; }
.s30top .pill { flex: none; } .s30top .psum { flex: 1; min-width: 0; font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s30top .psum b { color: var(--info); } .s30top .pnote { flex: none; font-size: 12px; color: var(--muted); }
.cmain > .viewer.s30v { position: relative; flex: 1 1 auto; min-height: 0; padding: 0; overflow: hidden; background: #0b0d0f; border-radius: 10px; border: 1px solid var(--line); display: block; aspect-ratio: auto; }
.s30v .s30c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
.s30v.pick .s30c { cursor: crosshair; }
.s30v.kam .s30c { cursor: grab; } .s30v.kam.drag .s30c { cursor: grabbing; }
.s30nogl { position: absolute; left: 16px; right: 16px; top: 60px; z-index: 8; }
.s30bar { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; align-items: center; gap: 6px; z-index: 5; pointer-events: none; }
.s30bar > * { pointer-events: auto; }
.s30bar .sp { flex: 1; }
.s30bar .seg span { height: 26px; font-size: 13px; font-weight: 600; }
.s30kbd { font: 600 10.5px var(--mono); color: var(--muted); border: 1px solid var(--line2); border-radius: 4px; padding: 0 4px; margin-left: 6px; }
.s30ib { height: 32px; min-width: 32px; padding: 0 9px; border-radius: 8px; border: 1px solid var(--line2); background: rgba(29,33,36,.92); color: var(--text); font: 600 13px var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.s30ib:hover { border-color: #5A6268; } .s30ib[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.s30add { position: relative; } .s30add > summary { list-style: none; } .s30add > summary::-webkit-details-marker { display: none; }
.s30add .menu-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 220px; max-height: 360px; overflow-y: auto; 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); }
.s30add .menu-pop .h { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); padding: 8px 10px 3px; font-weight: 600; }
.s30add .menu-pop button { text-align: left; padding: 7px 10px; border-radius: 7px; border: 0; background: none; color: var(--text); font: 14px var(--font); cursor: pointer; }
.s30add .menu-pop button:hover, .s30add .menu-pop button:focus-visible { background: var(--raised); }
.s30mask { position: absolute; z-index: 2; pointer-events: none; box-shadow: 0 0 0 9999px rgba(6,8,9,.78); outline: 1px solid rgba(245,244,240,.55); }
.s30mask i { position: absolute; background: rgba(245,244,240,.16); }
.s30mask .v1 { left: 33.333%; top: 0; bottom: 0; width: 1px; } .s30mask .v2 { left: 66.666%; top: 0; bottom: 0; width: 1px; }
.s30mask .h1 { top: 33.333%; left: 0; right: 0; height: 1px; } .s30mask .h2 { top: 66.666%; left: 0; right: 0; height: 1px; }
.s30mask b { position: absolute; right: 6px; bottom: 5px; font: 600 11px var(--font); color: rgba(245,244,240,.7); letter-spacing: .02em; }
.s30map { position: absolute; left: 10px; bottom: 10px; z-index: 4; pointer-events: none; border-radius: 8px; background: rgba(16,19,21,.86); border: 1px solid var(--line); }
.s30br { position: absolute; right: 10px; bottom: 10px; z-index: 4; display: flex; gap: 6px; align-items: center; }
.s30lbl { position: absolute; z-index: 6; transform: translate(-50%, -130%); pointer-events: none; font: 600 12px var(--font); color: var(--accent-ink); background: var(--accent); border-radius: 6px; padding: 2px 8px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.s30lbl.info { background: var(--info-bg); color: var(--info); border: 1px solid var(--info-line); }
.s30toast { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 7; font: 13px var(--font); color: var(--text); background: rgba(34,39,42,.96); border: 1px solid var(--line2); border-radius: 9px; padding: 7px 12px; box-shadow: 0 8px 24px rgba(0,0,0,.45); max-width: 70%; text-align: center; }
.s30hint { position: absolute; left: 50%; bottom: 56px; transform: translateX(-50%); z-index: 4; font: 12.5px var(--font); color: var(--text2); background: rgba(16,19,21,.86); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; pointer-events: none; white-space: nowrap; }
.s30help { position: absolute; inset: 0; z-index: 20; background: rgba(8,10,12,.82); display: grid; place-items: center; }
.s30help > div { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--radius); padding: 16px 18px; }
.s30help h2 { margin: 0 0 8px; font-size: 16px; } .s30help h3 { margin: 12px 0 4px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.s30help dl { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 3px 12px; margin: 0; font-size: 13px; } .s30help dt { color: var(--text); font-weight: 600; } .s30help dd { margin: 0; color: var(--text2); }
.s30help .end { margin: 12px 0 0; }
.s30sum { margin-top: 8px; flex: none; cursor: default; }
.s30sum .sh23 { display: flex; align-items: center; gap: 6px; }
.s30sum .sv23 { white-space: normal; display: block; color: var(--text); font-size: 13px; line-height: 1.4; }
.s30sum .tip { position: relative; } .s30sum .tip-pop { position: absolute; left: -10px; top: auto; bottom: calc(100% + 8px); width: min(600px, 60vw); max-width: none; z-index: 40; }
.s30lift { position: absolute; z-index: 5; width: 78px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.s30lift .tr { position: relative; flex: 1; width: 6px; border-radius: 3px; background: rgba(245,244,240,.18); cursor: ns-resize; touch-action: none; }
.s30lift .tr::before { content: ""; position: absolute; inset: 0 -14px; }
.s30lift b { position: absolute; left: 50%; width: 30px; height: 12px; margin: -6px 0 0 -15px; border-radius: 4px; background: var(--accent); box-shadow: 0 1px 4px rgba(0,0,0,.6); }
.s30lift .v { font: 600 11px/1.3 var(--font); color: var(--text2); text-align: center; } .s30lift .v small { display: block; color: var(--muted); font-weight: 400; }
.s30behind { position: absolute; left: 10px; top: 50px; z-index: 5; font: 600 12px var(--font); color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 7px; padding: 3px 8px; pointer-events: none; }
.s30v.kam .s30behind { left: 8px; }
.s30i .chips button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.s30i .pickhint { font-size: 12px; color: var(--accent); margin: 0 0 6px; }
.s30i .isec { padding: 12px 18px; border-bottom: 1px solid var(--line); }
.s30i .irow { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.s30i .irow.mt { margin-top: 12px; }
.s30i .ilbl { font-size: 12.5px; color: var(--muted); min-width: 92px; }
.s30i .seg { flex: 1; } .s30i .seg span { padding: 0 6px; font-size: 12.5px; height: 28px; }
.s30i .irow > .tip { order: 1; } .s30i .irow > .num { order: 2; margin-left: auto; } .s30i .irow > .ilbl { order: 0; }
.s30i .num { display: inline-flex; align-items: center; gap: 4px; } .s30i .num input { width: 72px; height: 30px; text-align: right; padding: 0 8px; }
.s30i .num em { font-style: normal; color: var(--muted); font-size: 12px; }
.s30i .why { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.s30i .read { font-size: 12.5px; color: var(--text2); }
.s30i .read b { color: var(--text); font-weight: 600; }
.s30i .now { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.s30i .now b { color: var(--accent); font-weight: 600; }
.s30i .stack { display: grid; gap: 4px; margin: 8px 0; } .s30i .stack .hd { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.s30i .stack .seg { display: flex; } .s30i .stack .seg label { flex: 1; }
.s30i .chips { display: flex; flex-wrap: wrap; gap: 5px; }
.s30i .chips button { height: 28px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--line2); background: var(--raised); color: var(--text2); font: 12.5px var(--font); cursor: pointer; }
.s30i .chips button:hover { color: var(--text); border-color: #5A6268; }
.s30i .ihead h2 { display: flex; align-items: center; gap: 8px; }
.s30i .ihead .x { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--muted); }
.s30i .ifoot .s30st { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.s30i .ifoot .why { margin: 0; text-align: center; }
.s30i .ifoot.made .why[data-s30="usewhy"] { display: none; }
.s30i [data-s30-server] > .sec { padding: 12px 18px; border-bottom: 1px solid var(--line); }
.s30poses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.s30poses button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 2px 4px; border-radius: 8px; border: 1px solid var(--line2); background: var(--well); color: var(--text2); font: 11.5px var(--font); cursor: pointer; }
.s30poses button svg { width: 34px; height: 40px; }
.s30poses button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: #2a2213; }
.s30poses button:hover { color: var(--text); }
.s30i .s30make { display: grid; gap: 8px; margin-top: 8px; }
.s30i .s30gets { font-size: 12px; color: var(--muted); margin: 0; }
.s30i .s30gets b { color: var(--text2); font-weight: 600; }
.s30i .s30gets .tip { display: inline-block; vertical-align: middle; }
.s30lbox { position: absolute; inset: 0; z-index: 19; background: #08090b; display: flex; align-items: center; justify-content: center; padding: 12px; }
.s30lbox[hidden] { display: none; }
.s30lbox figure { margin: 0; display: flex; flex-direction: column; max-height: 100%; max-width: min(100%, 860px); }
.s30lbox img { display: block; min-height: 0; flex: 1 1 auto; max-width: 100%; object-fit: contain; border-radius: 6px; border: 1px solid var(--line2); }
.s30lbox figcaption { margin-top: 8px; font-size: 13px; color: var(--text2); display: flex; gap: 10px; align-items: baseline; }
.s30lbox figcaption .sp { flex: 1; }
.s30i .s30conflict { margin: 6px 0; padding: 8px 10px; } .s30i .s30conflict p { margin: 0 0 6px; }
.s30light figcaption b { white-space: nowrap; }
.s30plate { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.s30plate img { min-height: 0; flex: 1 1 auto; object-fit: contain; max-width: 100%; }
.s30plate figcaption { color: var(--text2); }
.s30add .menu-pop { overscroll-behavior: contain; scrollbar-gutter: stable; } .s30add .s30nocard { margin: 2px 10px 6px; max-width: 230px; }
.s30add .menu-pop .s30nocard a { display: inline; padding: 0; color: var(--accent); background: none; }
/* návrh 30 dodatok (Peter 26. 10.): the panel in three rows — head, the selected thing (the only scroll), a low foot */
.s30panel .s30ph { flex: none; border-bottom: 1px solid var(--line); }
/* the head and the foot never scroll away (over návrh 24's whole-panel scroll) */
.ws-panel > .insp.s30panel > .ibody { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.s30panel > .s30pf { flex: none; }
.s30panel .s30ph .ihead { border-bottom: 0; padding-top: 6px; }
.s30src { display: flex; align-items: center; gap: 6px; padding: 10px 18px 0; }
.s30src .seg { flex: 1; } .s30src .seg button { height: 28px; font-size: 13px; }
.s30panel .s30pf { gap: 6px; padding: 8px 14px 10px; }
.s30panel .s30pf .btn.big { height: 40px; }
.s30panel .s30pf .s30gets { margin: 0; font-size: 12px; line-height: 1.35; color: var(--muted); }  /* what is left out is read whole (Codex 26. 10.) */
.s30panel .s30pf .s30gets .warn { color: var(--warn); }
.s30panel .s30mrow { display: flex; align-items: center; gap: 6px; }
.s30panel .s30mrow .modelpick { flex: 1; min-width: 0; }
.s30panel .s30mrow .sm13w .tip { display: none; }
.s30panel .s30mrow .seg span { padding: 0 6px; font-size: 12px; height: 28px; }
/* Peter 1. 11.: the shared picker (návrh 38) in the narrow panel — the model's name whole, where it runs is in the panel */
.s30panel .s30mrow .mp38 > .selbtn { padding: 6px; gap: 5px; font-size: 13px; }
.s30panel .s30mrow .mp38 [data-model-where] { display: none; }
/* koordinátor 10. 11. (1280 × 720): the picker shares its row with another control, and its quick menu, as wide as the
   picker, opened as a 110–165 px column („FLUX 3 Kl…“): the menu takes the whole row of the footer instead */
.s30panel .s30mrow { position: relative; }
.s30panel .s30mrow > .mp38 { position: static; }
.s30panel .s30mrow > .mp38 > .pick-pop { left: 0; right: 0; width: auto; }
.s30panel .s30make { gap: 6px; margin-top: 0; }
.s30panel .s30make .imeta { font-size: 11.5px; }
.s30panel details.s30list > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.s30panel details.s30list > summary::-webkit-details-marker { display: none; }
.s30panel .s30look { display: flex; align-items: center; gap: 8px; }
.s30panel .s30look img { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line2); }
.s30panel .s30look select { flex: 1; min-width: 0; height: 30px; }
.s30panel .s30star[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.s30bar .s30place { font: 600 12px var(--font); color: var(--text2); background: rgba(16,19,21,.86); border: 1px solid var(--line); border-radius: 7px; padding: 4px 9px; white-space: nowrap; max-width: 280px; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }

/* Model dostane over the Scéna's stage (koordinátor 26. 10.): the stage keeps its height, the plan scrolls on its own */
.cmain.s30stage { position: relative; }
.cmain.s30stage.open23 > .viewer { flex: 1 1 auto; min-height: 0; }
.cmain.s30stage > .sw23s:not([hidden]) { position: absolute; z-index: 30; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; margin: 0; box-shadow: 0 12px 40px rgba(0,0,0,.55); background: var(--bg); border-radius: 12px; }
/* Scéna, prvý stav (Peter 26. 10., bod 4): the shot without its own scene shows one card on the stage */
.cmain > .viewer.s30start { display: flex; align-items: safe center; justify-content: center; overflow: auto; }  /* a sentence above never cuts its heading */
.s30startc { max-width: 540px; display: grid; gap: 12px; padding: 24px 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.s30startc h2 { margin: 0; font-size: 20px; }
.s30startc > p { margin: 0; color: var(--text2); font-size: 14px; line-height: 1.45; }
.s30startc form { margin: 0; }
.s30startc .btn.big { width: 100%; height: 46px; font-size: 15px; }
.s30startc .s30startalt { flex-wrap: wrap; gap: 6px; }
/* návrh 32 C: Z obrazu záberu — the shot's pictures as small tiles, one click = a scene estimated from that picture */
.s30startc .s30frompic { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.s30startc .s30frompic .s30pic { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 3px; }
.s30startc .s30frompic .s30pic img { width: 48px; height: 27px; object-fit: cover; border-radius: 4px; display: block; }
.s30startc .chips span { font-size: 12px; padding: 3px 9px; border: 1px solid var(--line2); border-radius: 999px; color: var(--text2); }
/* Karty pri prvom obraze (Peter 26. 10.): the row V zábere — chosen cards with what goes, proposals from the text */
.v30cards .chip .v30st { color: var(--muted); font-size: 11.5px; }
.v30cards .chip.v30textonly .v30st { color: var(--text2); }
.v30cards .v30sugg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.v30cards .v30sugg:empty { display: none; }
.v30cards .chip.v30prop { border: 1px dashed var(--accent); background: transparent; }
.v30cards .chip img, .v30cards .v30sugg img { width: 22px; height: 22px; object-fit: cover; border-radius: 5px; }
.v30cards .v30model { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 6px; color: var(--warn); }
.v30cards .ilbl { white-space: nowrap; }
/* the scene's place is not the text's (Peter 26. 10., 1.02): one line over the stage */
.s30mis { position: absolute; left: 50%; top: 52px; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 12px; background: rgba(16,19,21,.92); border: 1px solid var(--warn); border-radius: 9px; font-size: 13px; color: var(--text2); white-space: nowrap; }
.s30mis b { color: var(--text); }
.s30miesto .s30mpick { flex: 1; min-width: 0; }
.s30miesto .s30mpick > summary .val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s30miesto .pick-pop form { margin: 0; }
.s30miesto .pick-pop .pick-opt { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--text); padding: 8px 12px; cursor: pointer; }
.s30miesto .pick-pop .pick-opt[aria-current="true"] { color: var(--accent); }
.v30cards .v30more { flex-basis: 100%; font-size: 12px; color: var(--muted); }
.v30cards .v30more[open] { display: flex; flex-wrap: wrap; gap: 6px; }
.v30cards .v30more > summary { flex-basis: 100%; cursor: pointer; }
/* aku-test 26. 10. (1.09): tiles side by side, one line each; the model line one row too */
.v30cards [data-card-chips], .v30cards .v30sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.v30cards .chip { white-space: nowrap; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 4px; }
.v30cards .chip .v30st { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.v30cards .v30model { flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
.v30cards .v30model > span { flex: none; }
.v30cards .v30model .btn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the row's face under Na začiatku vidíme (its boxes stay in the picture's form) */
.v30mirror { padding: 8px 0 4px; border-top: 0; }
.v30mirror .v30tiles { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.v30mirror .v30add { position: relative; }
.v30mirror .v30addpop { position: absolute; z-index: 40; top: calc(100% + 4px); left: 0; min-width: 220px; max-height: 260px; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: grid; gap: 2px; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.v30mirror .v30addone { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--text); padding: 6px 8px; text-align: left; border-radius: 6px; cursor: pointer; }
.v30mirror .v30addone:hover { background: var(--raised); }
.v30mirror .v30addone img { width: 24px; height: 24px; object-fit: cover; border-radius: 5px; }
.v30mirror, .v30mirror .v30tiles, .v30mirror .v30sugg, .v30mirror .v30model { min-width: 0; max-width: 100%; }
.v30mirror { contain: inline-size; width: 100%; }  /* never widens the script's grid (its min-content is not ours) */
.v30mirror .chip { padding: 2px 6px 2px 2px; font-size: 12px; min-height: 26px; gap: 3px; }
.v30mirror .chip img { width: 20px; height: 20px; }
.v30mirror .chip .x { padding: 0 2px; min-width: 0; }
.v30mirror .v30model { display: flex; align-items: center; gap: 6px; }
.v30mirror .v30model .btn { flex: 1 1 auto; display: block; text-align: left; }
/* aku-test 26. 10.: in a narrow window (~800 px) the stage had 2 px — the 3D always keeps a height of its own */
.cmain.s30stage > .viewer.s30v { min-height: min(280px, 45vh); }
/* návrh 32 A: the picture to the place's card, and back to its 3D scene — two quiet lines under the main button */
.rb-decide .rb-place32 { margin: 8px 0 0; line-height: 1.35; }
.rb-decide .rb-place32 + .rb-place32 { margin-top: 4px; }
.rb-decide .rb-place32 + .rb-quiet { margin-top: 10px; }
/* aku-test 27. 10.: a plate P… opens its scene or makes a picture; the model's words behind (i) */
.s30plate .s30pact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--text2); }
.s30plate .s30pact form { display: inline-flex; gap: 8px; }
.s30pchg { border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.s30pchg p { margin: 0; flex: 1 1 320px; }
/* aku-test 27. 10.: the plate's actions in one row; the model's words open under it */
.s30light figcaption { align-items: center; flex-wrap: wrap; }
.s30light .s30lform { display: inline-flex; gap: 8px; align-items: center; }
.s30light .s30lform .btn { white-space: nowrap; flex: none; }
.s30light .s30lform { flex: none; }
.s30light details.s30lt { min-width: 0; }
.s30light details.s30lt[open] { flex-basis: 100%; order: 9; }
.s30light details.s30lt span { display: block; margin-top: 6px; max-height: 120px; overflow: auto; }
.s30light .s30pchg { margin-top: 8px; background: var(--bg2, #15191c); }
/* Nahrať vlastný podklad (Peter 27. 10.): the file is behind the button, the 16:9 cut shown before it goes */
.s30light [hidden], .s30upl [hidden] { display: none !important; }
.s30upl { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.s30upl label.btn { cursor: pointer; }
.s30uplprev { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.s30uplprev img { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; border: 1px solid var(--line, #333); }
/* návrh 32 B: the bars over the stage one under another (a newer version of the place, the text's other place) */
/* the bars over the 3D window (Peter 27. 10., laptop 1280×720: nothing over the picture): a strip above the stage,
   one compact line each, the buttons in the line; a long sentence is cut, its whole text in the title */
.s30bars { flex: none; display: flex; flex-direction: column; gap: 4px; margin: 0 0 6px; min-width: 0; }
.s30bars .s30mis { position: static; transform: none; z-index: auto; padding: 3px 6px 3px 10px; font-size: 12.5px; gap: 8px; min-width: 0; }
.s30bars .s30mis > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.s30bars .s30mis form { flex: none; }
.s30bars .s30mis .btn.small { padding: 3px 9px; }
.s30bars .s30picbar .s30mispic img { width: 48px; height: 27px; object-fit: cover; border-radius: 4px; display: block; }

/* Návrh 35 (ported from docs/navrh-portalu-2026-10/navrh-35/navrh35.css): Upraviť scénu vetou (a line right under the
   3D window), the proposal in the panel, the joints. Tokens of the portal (portal.css); no inline styles (CSP). */
.s35say { position: relative; flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.s35say .field { flex: 1 1 220px; width: auto; min-width: 0; height: 30px; font-size: 13px; }
.s35say .field:disabled { opacity: .55; }
.s35say .btn { white-space: nowrap; }
.s35say .offwhy { order: 9; flex-basis: 100%; margin: 0; font-size: 12px; color: var(--text2); }
.s35say .offwhy[hidden] { display: none; }
.s35say.busy .btn { opacity: .7; }
.s35say.busy .btn::after { content: "…"; }

.s35h { font-size: 15px; line-height: 1.35; }
.s35prop .s35ops { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.s35op label, .s35op.nejde { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); background: rgba(76,201,138,.07); cursor: pointer; }
.s35op label:has(input:not(:checked)) { background: transparent; opacity: .7; }
.s35op.bad label { background: rgba(239,111,98,.07); cursor: default; }
.s35op.nejde { background: rgba(255,255,255,.03); cursor: default; }
.s35op input { margin-top: 2px; }
.s35op b { display: block; font: 600 13px var(--font); color: var(--text); }
.s35op small { display: block; font-size: 12px; color: var(--text2); margin-top: 2px; }
.s35op small.bad { color: #ef8f84; }
.s35op small.warn { color: #e0b15a; }
.s35x { font: 700 15px var(--font); color: #ef8f84; text-align: center; line-height: 18px; }
.s35act { gap: 8px; }
.s35dost summary { font-size: 12.5px; color: var(--text2); cursor: pointer; margin-top: 6px; }
.s35dost pre { font: 11px/1.4 ui-monospace, Menlo, monospace; color: var(--text2); background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 8px; padding: 8px; max-height: 220px; overflow: auto; white-space: pre-wrap; word-break: break-word; }

.s35j { margin-top: 6px; }
.s35j button { font-size: 12px; }
.s35rng { font-size: 12px; color: var(--text2); }
.s35seg { flex-wrap: wrap; }
.s35seg label:has(input:disabled) span { opacity: .45; text-decoration: line-through; }
/* Návrh 39 (Peter 31. 10.): one label style in the inspector, Späť / Znova with words, joints folded, the lift named */
.s30i .ilbl { display: inline; font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.s30i .isec > .stack:first-child { margin-top: 0; }
.s30i .s39btns { gap: 6px; }
.s30bar .s30ib .s39what { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; color: var(--text2); }
.s39j > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; padding: 4px 0; font-size: 12.5px; color: var(--text2); }
.s39j > summary::-webkit-details-marker { display: none; }
.s39j > summary::before { content: "▸"; color: var(--muted); width: 10px; } .s39j[open] > summary::before { content: "▾"; }
.s39j > summary .s39jt { font-weight: 600; color: var(--text); }
.s39j > summary .s39jn { color: var(--accent); }
.s39j > summary .s30kbd { margin-left: auto; }
.s35j button.chg::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.s30lift .s39lt { font: 600 10.5px/1.2 var(--font); color: var(--text2); text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.s30i .irow > .read { flex: 1; min-width: 0; } .s30i .s39btns { justify-content: flex-start; }
/* návrh 57: ⋯ at each place of the menu Miesto — Premenovať / Zmazať / Oddeliť under the row, inside the menu */
.s30miesto .n57pl { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.s30miesto .n57pl > form { min-width: 0; }
.s30miesto .pick-pop .n57odz { text-decoration: none; color: inherit; margin-top: 4px; border-top: 1px solid var(--line2); border-radius: 0 0 8px 8px; padding-top: 10px; }
.s30miesto .n57plm { display: contents; }
.s30miesto .n57plm > summary { list-style: none; cursor: pointer; padding: 4px 10px; color: var(--muted); }
.s30miesto .n57plm > summary::-webkit-details-marker { display: none; }
.s30miesto .n57plm[open] > summary { color: var(--accent); }
.s30miesto .n57plb { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 10px; }
.s30miesto .n57plr { display: flex; gap: 6px; width: 100%; }
.s30miesto .n57plr input[type=text] { flex: 1; min-width: 0; }
/* návrh 57 R16: ⋯ beside the source switch in the panel's head; Začať odznova visible under the place */

/* Panel Prvý obraz at 1280 × 720 (coordinator 11. 11.): nothing in the row V zábere is cut — the text-only line wraps
   whole with its switch and price, a chosen card's chip wraps its state instead of ending in "…", and the proposals
   stand under their own words "Návrh z textu:" with room before the next heading (the walk measures it, prechadzka.py) */
.v30cards .v30model { flex-wrap: wrap; white-space: normal; }
.v30cards .v30model > span { flex: 1 1 auto; min-width: 0; }
.v30cards .v30model .btn { white-space: normal; overflow: visible; text-overflow: clip; text-align: left; height: auto; max-width: 100%; }
.v30cards .chip.on { flex-wrap: wrap; white-space: normal; height: auto; overflow: visible; row-gap: 2px; }
.v30cards .chip.on .v30st { overflow: visible; text-overflow: clip; white-space: normal; }
.v30cards .v30p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 14px; min-width: 0; }
.v30cards .v30p[hidden] { display: none; }
.v30cards .v30p .v30sugg { display: contents; }
.v30cards .v30plbl { font-size: 12px; color: var(--muted); white-space: nowrap; }
/* Codex on 9d996bb7 (P2): a proposal with a long name wraps too — its ✓ and × always have their room, never pushed
   out or cut */
.v30cards .chip.v30prop { flex-wrap: wrap; white-space: normal; height: auto; overflow: visible; row-gap: 2px; max-width: 100%; }
.v30cards .chip.v30prop b { overflow-wrap: anywhere; min-width: 0; }
.v30cards .chip.v30prop .x { flex: none; }
/* Peter 16. 11.: an uploaded plate alone on the stage — never over the 3D window */
.upl61 { padding: 0; background: #000; border-radius: 8px; overflow: hidden; }
.upl61 img { border-radius: 0; }
.upl61 .s30pact { padding: 8px 12px; background: var(--panel, #111); }
.upl61 .s30pact .sp { flex: 1; }
/* Peter 21. 11. (okno 1000 px: „(amerou“, Pridať ▾ na dva riadky): the 3D bar never cuts a control. Its parts keep their
   size; only the place's long name shortens (… and the whole name in its title). scena.js fitBar() sets the first level
   that fits: 1 without the last step's words and the key hint, 2 Späť / Znova as icons (their titles stay), 3 the
   right-hand group on a second row. */
.s30bar > * { flex: none; }
.s30bar .sp { flex: 1 1 0; min-width: 0; }
.s30bar .seg label, .s30bar .seg span, .s30bar .s30ib, .s30bar .s30add > summary { flex: none; white-space: nowrap; }
.s30bar .s30place { flex: 0 1 auto; min-width: 84px; }
.s30bar:is([data-fit="1"], [data-fit="2"], [data-fit="3"]) :is(.s39what, .s30kbd) { display: none; }
.s30bar:is([data-fit="2"], [data-fit="3"]) .s30t { display: none; }
.s30bar[data-fit="3"] { flex-wrap: wrap; row-gap: 6px; }
.s30bar[data-fit="3"] .sp { flex-basis: 100%; height: 0; }
/* the one step out of a refused save, under the reason of the button that waits (scena.js refusedShow) */
.s30refused { align-self: flex-start; margin-top: 4px; }
.s35say .s35why { color: var(--warn, #F0C672); }
/* Peter 21. 11. (720 px: Prijať pod okrajom, „Najprv prijmi alebo vráť návrh“ pri vypnutom Vytvoriť): while a proposal of a
   sentence is open the panel's foot keeps only the state of saving — its place belongs to Prijať / Vrátiť */
.s30panel.s35open .ifoot > :not(.s30st) { display: none; }
/* the hint over the stage wraps in a narrow window instead of running out of it on both sides */
.s30hint { width: max-content; max-width: calc(100% - 20px); white-space: normal; text-align: center; }

/* návrh 65 krok 5: 3D viewer */
/* Peter 22. 11.: OK — the approved prototype's viewer (scratchpad krok5, frame5.js). One bar; the view is the shot's
   16:9 frame itself (Kamera) or the scene seen from outside with the shot's camera small in its corner (Obzrieť sa);
   beside it the floor plan (always seen, it can take the big place) and the camera's moves; under it where the camera
   stands and what it aims at, the size and the lens, then the shortcuts of what is selected. The view keeps 16:9 by its
   container's size (container units), never by a script; nothing of the viewer lies over another control. */
/* the view's row is never taller than its 16:9 frame (a fresh film has no strip under the window: the spare height goes
   under the window, never between the view and its rows); 22px = the window's padding and border, 210px the side column */
.cmain > .viewer.s30v.v65 { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 30px minmax(0, calc((100cqw - 232px) * 9 / 16)) auto auto;
  gap: 7px; padding: 7px 10px; align-content: start; place-items: stretch; background: #0a0c0d; overflow: visible; flex: 0 0 auto; min-height: 0; }
.cmain:has(> .viewer.v65) { container-name: k5work; }
/* a long V zábere list scrolls inside itself; it never squeezes the view or pushes the enlarged plan over the camera rows */
.cmain:has(> .viewer.v65) > .s30sum { flex: 0 1 auto; min-height: 48px; overflow-y: auto; }
.v65 [hidden] { display: none !important; }
.v65 svg.ic52 { width: 16px; height: 16px; flex: none; }
.v65 .bar65 { position: relative; z-index: 6; display: flex; align-items: center; gap: 4px; min-width: 0; }
.v65 .bar65 > * { flex: none; }
.v65 .tn65 { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); margin-right: 3px; white-space: nowrap; }
.v65 .t65.ib52, .v65 .tb65b, .v65 .rg65 .t65.ib52 { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; width: auto;
  min-width: 30px; padding: 0 7px; border-radius: 8px; border: 1px solid var(--line2); background: var(--panel); color: var(--text2);
  font: 600 12.5px/1 var(--font); cursor: pointer; list-style: none; white-space: nowrap; }
.v65 .bar65 .tb65b { padding: 0 6px; gap: 5px; }
.v65 .tb65b::-webkit-details-marker { display: none; }
.v65 .t65.ib52:hover, .v65 .tb65b:hover { color: var(--text); background: #262c30; }
.v65 .t65.ib52:disabled { opacity: .38; cursor: default; background: var(--panel); color: var(--text2); }
.v65 .t65.ib52.xs { height: 20px; min-width: 20px; padding: 0 2px; border-radius: 6px; } .v65 .t65.xs svg.ic52 { width: 13px; height: 13px; }
.v65 .sep65 { width: 1px; height: 18px; background: var(--line); margin: 0 3px; }
.v65 .sp65 { flex: 1 1 0; min-width: 4px; }
.v65 .uw65 { flex: 0 1 auto; min-width: 0; font-size: 11.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v65 .uw65[data-s30="closewhy"] { color: var(--warn); }
.v65 .am65 .menu-pop { left: 0; right: auto; top: calc(100% + 4px); }
.v65 .seg65 { display: inline-flex; padding: 2px; border-radius: 9px; border: 1px solid var(--line); background: #101315; }
.v65 .seg65 button, .v65 .seg65 label > span { display: inline-flex; align-items: center; border: 0; background: none; color: var(--muted);
  font: 600 12.5px/1 var(--font); height: 24px; padding: 0 9px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.v65 .bar65 .seg65 label > span { padding: 0 7px; }
.v65 .seg65 label { display: inline-flex; cursor: pointer; } .v65 .seg65 label input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.v65 .seg65 button.on, .v65 .seg65 label input:checked + span { background: var(--raised); color: var(--text); }
.v65 .seg65 label input:focus-visible + span, .v65 .seg65 button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.v65 .ml65 { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.v65 .mlr65 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3px; }
/* the view and its column */
.v65 .main65 { display: flex; gap: 10px; min-height: 0; min-width: 0; container: v65main / size; }
.v65 .view65 { position: relative; flex: none; align-self: flex-start; width: min(calc(100cqw - 210px), calc(100cqh * 16 / 9)); aspect-ratio: 16 / 9;
  border-radius: 6px; overflow: hidden; outline: 1px solid rgba(255,255,255,.22); background: #000; }
.v65 .view65 .s30c { position: absolute; inset: 0; width: 100%; height: 100%; }
.v65 .view65 .n57ov { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: 1; }
.v65 .th65 { position: absolute; inset: 0; z-index: 1; pointer-events: none; }   /* Kamera: the thirds of the frame */
.v65 .th65 i { position: absolute; background: rgba(255,255,255,.14); }
.v65 .th65 .v1, .v65 .th65 .v2 { top: 0; bottom: 0; width: 1px; } .v65 .th65 .v1 { left: 33.333%; } .v65 .th65 .v2 { left: 66.666%; }
.v65 .th65 .h1, .v65 .th65 .h2 { left: 0; right: 0; height: 1px; } .v65 .th65 .h1 { top: 33.333%; } .v65 .th65 .h2 { top: 66.666%; }
.v65 .pb65 { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; background: #101315; touch-action: none; }
.v65 .view65.pick .s30c, .v65 .view65.pick .pb65, .v65 .map65.pick canvas { outline: 2px solid #6fb6ff; outline-offset: -2px; }
/* preklik 280d: the line wraps inside the picture, clear of the height and tilt column (76 px) and its stops (podhľad ·
   v úrovni · nadhľad, ~55 px left of it) — never over the sliders' labels at 1000 px */
.v65 .fl65 { position: absolute; z-index: 3; left: 8px; bottom: 7px; max-width: calc(100% - 140px); min-width: 0; font: 500 11.5px/1.3 var(--font);
  color: rgba(255,255,255,.86); text-shadow: 0 1px 3px #000, 0 0 6px #000; pointer-events: none; white-space: normal; overflow-wrap: anywhere; }
.v65 .view65.fr65 .fl65, .v65 .view65.pln65 .fl65 { left: auto; right: 10px; max-width: calc(100% - 20px); }
/* the sentences over the camera's picture (Nevidené, kamera vidí len hlavu): in flow inside this box, which is as wide
   as they are up to the stops beside the height (preklik 280d: the head's sentence took .hl65, the view's hint line,
   centred on this box of no width — it was cut away) */
.v65 .n65onpic { left: 8px; top: 8px; max-width: calc(100% - 140px); }
.v65 .view65.fr65 .n65onpic { top: auto; bottom: 190px; }
/* za stenou: top middle, clear of the stops beside the slider and of the plan over the corner; a question of the plan
   (Odkiaľ → na čo) takes the same place for its while */
.s30v.v65 .s30behind { left: 50%; right: auto; top: 8px; transform: translateX(-50%); white-space: nowrap; }
.v65 .view65:has(.hn65.mode:not([hidden])) .s30behind { display: none; }
.v65 .hn65 { position: absolute; z-index: 5; left: 50%; bottom: 30px; transform: translateX(-50%); max-width: calc(100% - 100px); padding: 5px 10px;
  border-radius: 7px; background: rgba(10,12,13,.85); color: #e9ecee; font: 12px var(--font); pointer-events: none; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.v65 .hn65.mode { bottom: auto; top: 8px; background: #16324d; color: #d6ebff; border: 1px solid #6fb6ff; font-weight: 600; }
.v65 .s30toast { max-width: calc(100% - 24px); }
.v65 .help65 { display: block; z-index: 8; background: rgba(10,12,13,.95); padding: 16px 22px; overflow: auto; cursor: pointer; }
.v65 .help65 > div { width: auto; max-height: none; overflow: visible; background: none; border: 0; padding: 0; }
.v65 .help65 h2 { margin: 0 0 10px; font-size: 14px; }
.v65 .help65 dl { grid-template-columns: 190px minmax(0, 1fr); gap: 5px 14px; margin: 0 0 10px; font-size: 12.5px; }
/* Kamera: the height and the tilt on the view's right edge (the stops podhľad · v úrovni · nadhľad beside the height) */
.v65 .hv65 { position: absolute; z-index: 3; right: 0; top: 0; bottom: 0; width: 76px; display: flex; gap: 2px; padding: 6px 4px 4px 0;
  background: linear-gradient(90deg, rgba(10,12,13,0), rgba(10,12,13,.78) 45%); }
.v65 .hvc { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.v65 .hvl { font: 600 9px/1.1 var(--font); letter-spacing: 0; color: #cfd5d9; text-align: center; height: 14px; white-space: nowrap; text-shadow: 0 1px 2px #000; cursor: help; }
.v65 .hvt { position: relative; flex: 1; width: 22px; cursor: ns-resize; touch-action: none; outline: none; }
.v65 .hvt::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: rgba(255,255,255,.28); }
.v65 .hvt:focus-visible::before { background: var(--accent); }
.v65 .hvk { position: absolute; left: 1px; width: 20px; height: 10px; margin-top: -5px; border-radius: 4px; background: #f5ac27; box-shadow: 0 1px 4px rgba(0,0,0,.6); pointer-events: none; }
.v65 .hvm { position: absolute; left: 2px; width: 18px; height: 6px; margin-top: -3px; background: linear-gradient(#6fb6ff, #6fb6ff) center / 14px 2px no-repeat; cursor: help; }
.v65 .hv0 { position: absolute; left: 4px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: rgba(255,255,255,.55); pointer-events: none; }
.v65 .hvc > b { font: 600 11px/1.15 var(--font); color: #fff; text-align: center; margin-top: 3px; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.v65 .hvc > b small { display: block; font-weight: 400; font-size: 9.5px; color: #c3cace; }
.v65 .hsn button { position: absolute; right: 24px; width: max-content; transform: translateY(-50%); border: 0; border-radius: 5px; padding: 2px 5px; background: rgba(16,19,21,.82);
  color: #cfd5d9; font: 500 10.5px/1.1 var(--font); white-space: nowrap; cursor: pointer; }
.v65 .hsn button::after { content: ""; position: absolute; left: 100%; top: 50%; width: 8px; height: 1px; background: rgba(255,255,255,.5); }
.v65 .hsn button.on { background: #f5ac27; color: #17191b; font-weight: 700; }
/* Obzrieť sa: the shot's camera small, with Použiť tento pohľad kamery */
.v65 .in65 { position: absolute; z-index: 4; left: 8px; bottom: 8px; width: 200px; padding: 4px; border-radius: 8px; background: rgba(16,19,21,.94);
  border: 1px solid #f5ac27; display: flex; flex-direction: column; gap: 4px; }
.v65 .in65 canvas { width: 100%; height: auto; display: block; border-radius: 4px; }
.v65 .in65 span { font-size: 11px; color: var(--muted); padding: 0 2px; }
.v65 .in65 .btn { font-size: 12px; padding: 5px 6px; white-space: nowrap; }
.v65 .side65 { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.v65 .map65 .s30map { position: static; display: block; width: 100%; height: auto; pointer-events: auto; border-radius: 6px; border: 1px solid var(--line);
  background: #101315; touch-action: none; }
.v65 .cam65 { display: block; width: 100%; padding: 0; border: 1px solid #f5ac27; border-radius: 6px; background: #000; cursor: pointer; }
.v65 .cam65 canvas { display: block; width: 100%; height: auto; border-radius: 5px; }
.v65 .rg65 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.v65 .rg65 .t65.ib52 { min-width: 0; padding: 0; height: 30px; }
.v65 .rg65 .t65:nth-child(4n) { margin-left: 5px; }
.v65 .rv65 { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* where the camera stands → what it aims at, the size, the lens; the shortcuts of what is selected */
.v65 .kr65 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.v65 .kr65 .ml65 { margin: 0 0 0 8px; }
.v65 .kr65 .tb65b { height: 28px; } .v65 .tb65b.on { border-color: #6fb6ff; color: #cfe6ff; }
.v65 .kr65 .seg65 button { height: 22px; padding: 0 8px; }
.v65 .pre65 { display: flex; align-items: center; gap: 5px; min-height: 28px; flex-wrap: wrap; row-gap: 5px; }
.v65 .pre65 .ml65 { margin: 0 4px 0 0; }
.v65 .sc65 { display: contents; }
.v65 .pre65 .pc64c { flex: none; cursor: pointer; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line2); background: none;
  color: var(--text2); font: 500 12.5px/1 var(--font); white-space: nowrap; display: inline-flex; align-items: center; }
.v65 .pre65 .pc64c:hover { color: var(--text); background: rgba(255,255,255,.05); }
.v65 .pre65 .pc64c.on { border-color: var(--accent); color: var(--text); background: rgba(245,172,39,.1); }
.v65 .pre65 .pc64c.dash { border-style: dashed; }
.v65 .pre65 .sm65t { font-size: 11.5px; margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pre65 .term { color: var(--faint); font-size: 11px; font-weight: 400; margin-left: 3px; }
.v65 .ab65 { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 3px 0 8px; border-radius: 6px; font: 600 12px/1 var(--font); white-space: nowrap; flex: none; }
.v65 .ab65.a { background: rgba(245,172,39,.16); color: #f5c873; } .v65 .ab65.b { background: rgba(111,182,255,.16); color: #a9d1ff; }
.v65 .ab65 button { border: 0; background: none; color: inherit; font-size: 14px; cursor: pointer; padding: 0 3px; }
/* a narrow bar gives way as fitBar() measures: 1 the reason beside Späť shortens, 2 the words of Pridať and Miesto go
   (their icons and hints stay), 3 the right-hand group goes to a second row */
.v65 .bar65:is([data-fit="2"], [data-fit="3"]) .tb65b > span { display: none; }
.v65 .bar65[data-fit="3"] { flex-wrap: wrap; row-gap: 6px; }
.v65 .bar65[data-fit="3"] .sp65 { flex-basis: 100%; height: 0; }
/* a work area under about 720 px (a 1000 px window): the plan keeps its own narrow column beside the view and the view
   gives way, nothing lies over the picture (dohoda 1, aku-test 9bf57e4: the plan over the view's corner covered it);
   the camera's arrows go (dragging and the keys stay) */
@container k5work (max-width: 720px) {
  .cmain > .viewer.s30v.v65 { grid-template-rows: 30px minmax(0, calc((100cqw - 22px - 128px) * 9 / 16)) auto auto; }
  .v65 .view65 { width: min(calc(100cqw - 128px), calc(100cqh * 16 / 9)); }
  .v65 .side65 { gap: 0; }
  .v65 .side65 .rig65 { display: none; }
  .v65 .side65 .ml65 { font-size: 10px; }
  .v65 .kr65 { flex-wrap: nowrap; } .v65 .kr65 .ml65 { display: none; } .v65 .kr65 .tb65b > span { display: none; }
  .v65 .kr65 .seg65 button { padding: 0 6px; }
  .v65 .bar65 .tn65 { font-size: 0; gap: 0; } .v65 .bar65 .tn65 svg { width: 17px; height: 17px; }
  .v65 .bar65 .tb65b > span { display: none; }
  .v65 .bar65 .uw65 { font-size: 11px; }
}
/* a phone (the page scrolls): the view keeps 16:9 by the work area's width */
@media (max-width: 900px) {
  .cmain > .viewer.s30v.v65 { flex: none; aspect-ratio: auto; grid-template-rows: 30px calc((100cqw - 20px) * 9 / 16) auto auto; }
}
/* Porovnaj (návrh 51): only the frame, read only */
.n51cmp.v65 .bar65, .n51cmp.v65 .side65, .n51cmp.v65 .kr65, .n51cmp.v65 .pre65, .n51cmp.v65 .hv65, .n51cmp.v65 .in65, .n51cmp.v65 .fl65,
.n51cmp.v65 .hn65, .n51cmp.v65 .pb65, .n51cmp.v65 .th65 { display: none !important; }
.n51cmp.v65 .main65, .n51cmp.v65 .view65 { position: absolute; inset: 0; width: auto; height: auto; aspect-ratio: auto; outline: 0; border-radius: 0; container-type: normal;
  align-self: stretch; justify-self: stretch; } /* .v65 .view65 sets align-self: flex-start, which gives an absolute box 0 height */
