/* Návrh 64 „Jeden postup“ (Peter 17. 11.: "Návrh 64 – OK"), etapa 1: the first picture and the video of a shot in one
   form of five sections (Z čoho · Slovami · Kamera · V zábere · Výsledok). Ported from the prototype
   (navrh64/prototyp.html: .sec .sh .num .sn .sum .chev .sb .chips .chip .row .k .seg.ako .ro .phead .route .whyline
   .btn .t2 .pr); the class names carry the 64 suffix, every rule is scoped to form.p64 (the panel's own frame is
   návrh 46/55's: .hd46, .ibody, the pinned .f46.f55). The port's own lines are marked "port:". */
form.p64 .rt64 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 16px 7px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
form.p64 .rt64 b { color: var(--text2); font-weight: 600; }
form.p64 .pb64 { padding: 4px 10px 10px; }
/* ---- a section: its number, its name, (i), the summary when folded, the chevron ---- */
/* port: "fixed" of the prototype is fx64 here — navrh04.css styles every .fixed (a 34 px field) */
form.p64 .ps64 { border: 1px solid transparent; border-radius: var(--radius-sm, 10px); margin: 4px 0; transition: border-color .2s, background .2s; }
form.p64 .psh64 { display: flex; align-items: center; gap: 8px; padding: 4px; cursor: pointer; user-select: none; min-height: 28px; border-radius: 8px; }
form.p64 .psh64:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
form.p64 .ps64.fx64 .psh64 { cursor: default; }
form.p64 .pn64 { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--raised); border: 1px solid var(--line2); color: var(--text2); }
form.p64 .pt64 { font-weight: 600; font-size: 13.5px; color: var(--text); }
form.p64 .psh64 .tip { flex: none; }
form.p64 .psh64 .tip > summary { width: 16px; height: 16px; font-size: 10px; }
form.p64 .pu64 { margin-left: auto; color: var(--muted); font-size: 12px; text-align: right; max-width: 210px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
form.p64 .ps64.open .pu64, form.p64 .ps64.fx64 .pu64 { display: none; }
form.p64 .ps64.fx64 .psh64 .tip { margin-left: auto; }
form.p64 .pc64 { color: var(--faint); display: grid; place-items: center; transition: transform .15s; }
form.p64 .ps64:not(.open):not(.fx64) .pc64 { margin-left: 0; }
form.p64 .ps64.open .pc64 { transform: rotate(180deg); }
form.p64 .ps64.open .pt64 + .tip + .pu64 + .pc64 { margin-left: auto; } /* port: the summary hides while open */
form.p64 .pbd64 { display: none; padding: 0 2px 8px 8px; }
form.p64 .ps64.open .pbd64, form.p64 .ps64.fx64 .pbd64 { display: block; }
form.p64 .ps64.flash { animation: flash64 1.1s ease-out; }
@keyframes flash64 { 0% { background: #3a2c10; border-color: var(--accent); } 100% { background: transparent; border-color: transparent; } }
/* ---- Z čoho: the chips of every start of the step, always there ---- */
form.p64 .pcs64 { display: flex; flex-wrap: wrap; gap: 4px; }
form.p64 .pc64c { display: inline-flex; align-items: baseline; gap: 5px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line2); background: var(--raised); cursor: pointer; font: 400 12px var(--font); color: var(--text2); text-decoration: none; line-height: 1.35; }
form.p64 a.pc64c:hover { color: var(--text); border-color: var(--control); text-decoration: none; }
form.p64 .pc64c.on { border-color: var(--accent); color: var(--text); background: #2b2416; cursor: default; }
form.p64 .pc64c.off { opacity: .45; cursor: not-allowed; }
form.p64 .pw64 { margin: 4px 0 0; font-size: 11.5px; line-height: 1.35; color: var(--faint); }
form.p64 .ro64 { margin: 6px 0 0; font-size: 12.5px; color: var(--text2); background: var(--well); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
/* ---- Ako: one row of choices; its terms live in (i) and on the button (Peter 17. 11.) ---- */
form.p64 .ak64 { display: flex; align-items: center; gap: 6px 8px; margin-top: 6px; }
form.p64 .ak64 .k64 { color: var(--muted); font-size: 12px; min-width: 0; }
form.p64 .sg64 { display: inline-flex; flex-wrap: nowrap; gap: 2px; flex: 1 1 0; min-width: 0; }
form.p64 .sg64 > * { flex: 1 1 auto; display: inline-flex; justify-content: center; align-items: baseline; margin: 0; padding: 4px 6px; font: 400 12px var(--font); white-space: nowrap; border: 1px solid var(--line2); background: var(--well); border-radius: 8px; color: var(--text2); text-decoration: none; cursor: pointer; }
form.p64 .sg64 > a:hover { color: var(--text); border-color: var(--control); text-decoration: none; }
form.p64 .sg64 > .on { border-color: var(--accent); background: #2b2416; color: var(--text); cursor: default; }
form.p64 .sg64 > .off { opacity: .45; cursor: not-allowed; }
/* návrh 64 etapa 2: Ako of Z obrazu chosen in the form itself (a radio inside its label) looks like the one on */
form.p64 .ak64:has(.sg64 > :nth-child(4)) { align-items: flex-start; }
form.p64 .ak64:has(.sg64 > :nth-child(4)) .k64 { padding-top: 5px; }
form.p64 .sg64:has(> :nth-child(4)) { flex-wrap: wrap; gap: 3px; }
form.p64 .sg64:has(> :nth-child(4)) > * { flex: 0 1 auto; }
form.p64 .sg64 > label:hover { color: var(--text); border-color: var(--control); }
form.p64 .sg64 > label:has(input:checked) { border-color: var(--accent); background: #2b2416; color: var(--text); cursor: default; }
form.p64 .sg64 > label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }
form.p64 .sg64 > label.off:hover { color: var(--text2); border-color: var(--line2); }
/* návrh 64 etapa 4: Ako of Video Z videa — the tools of Upraviť toto video as one menu in four groups */
form.p64 .akt64 { align-items: center; }
form.p64 .at64 { position: relative; flex: 1 1 0; min-width: 0; }
form.p64 .at64 > summary { display: flex; align-items: baseline; gap: 6px; padding: 4px 8px; border: 1px solid var(--accent); background: #2b2416; border-radius: 8px; color: var(--text); font-size: 12px; cursor: pointer; list-style: none; }
form.p64 .at64 > summary::-webkit-details-marker { display: none; }
form.p64 .at64 > summary .chev { width: 12px; height: 12px; margin-left: auto; align-self: center; }
form.p64 .at64p { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 60vh; overflow: auto; padding: 6px; background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
form.p64 .at64g + .at64g { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
form.p64 .at64g .gl40 { display: block; padding: 0 4px 3px; font-size: 11px; color: var(--muted); }
form.p64 .at64r { display: flex; flex-direction: column; gap: 1px; }
form.p64 .at64r > * { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; padding: 5px 6px; border: 0; border-radius: 6px; background: none; color: var(--text2); font: 400 12.5px var(--font); text-align: left; text-decoration: none; }
form.p64 .at64r > a:hover { background: var(--well); color: var(--text); }
form.p64 .at64r > .on { background: #2b2416; color: var(--text); }
form.p64 .at64r > .off { opacity: .55; cursor: not-allowed; }
form.p64 .at64r small { flex-basis: 100%; font-size: 11px; color: var(--faint); }
form.p64 .at64p .ov40 { display: block; margin: 6px 4px 2px; font-size: 11.5px; }
/* ---- the bodies: the parts of návrh 46/55 inside a section lose their own frames ---- */
form.p64 .pbd64 > .sec, form.p64 .pbd64 .sec.isec { padding: 6px 0 0; border: 0; margin: 0; }
form.p64 .pbd64 .sec10 { padding: 4px 0 0; border: 0; }
form.p64 .pbd64 .pl10 { margin: 0; }
form.p64 .pbd64 .props { margin-top: 6px; }
form.p64 .pbd64 .sbref { margin-top: 6px; }
form.p64 .pbd64 .fp-pick { margin-top: 6px; }
form.p64 .pbd64 .ms64 { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; }
form.p64 .pbd64 .mp38 { margin-top: 2px; }
form.p64 [data-text-only].is-off { display: none; } /* port: Kamera of a video from a picture offers no size or angle */
form.p64 [data-look-only].off64 { opacity: .45; pointer-events: none; } /* port: a card's picture, grey */
form.p64 .pbd64 .nc64.sk21 { padding: 0; border: 0; }
/* ---- the footer: Vytvoriť O2 · its term · its price (návrh 46's .go46) ---- */
form.p64 .f55 .go46 .tm40 { margin-left: 8px; }
@media (max-width: 760px) {
  form.p64 .pu64 { max-width: 140px; }
}
/* port: Formát's three choices need the panel's whole width (1280 × 720: "Na šírku 16:9" was cut beside its label) */
form.p64 .pbd64 .ms64:has(> .seg) { flex-wrap: wrap; }
form.p64 .pbd64 .ms64 > .seg { flex: 1 1 100%; }
/* port: the video's model menu has Výsledok's whole row (a long name wraps between words, prechadzka foot_model) */
form.p64 .pbd64 .mr64 { grid-template-columns: minmax(0, 1fr); }
/* návrh 64 etapa 3: Z 3D scény — the views P… that can go (one row of thumbnails), the 3D preview and the look of a video */
/* Návrh 65 krok 3 (R4–R6, prototype navrh65 work/n65.css „jeden zdroj“): the one source control — the picture, its short
   name and the menu (.n43chip.zo64 of Z obrazu) — also for the view P… of Z 3D scény and the picture a video starts
   from. In the menu each source is one row: ✓, a small picture, the name, and small its kind · date · what it says of
   itself; under the line the other ways as rows with a drawing. One visible action beside it (Upraviť v 3D). */
.src65 { margin: 4px 0 2px; }
.src65 .n43chip { align-items: center; }
.src65 .n43txt { flex: 0 1 auto; }
.src65 .n43from { position: relative; }
.src65 .n43pop { min-width: 316px; left: -76px; right: auto; max-height: min(420px, 60vh); overflow-y: auto; }
.src65 .n43pop .opt { display: grid; grid-template-columns: 16px 44px minmax(0, 1fr); gap: 2px 8px; align-items: center; margin: 0; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; cursor: pointer; font-weight: 400; }
.src65 .n43pop .opt:hover, .src65 .n43pop .opt:has(input:focus-visible) { background: #2A3135; }
.src65 .n43pop .opt b { grid-column: 3; line-height: 1.2; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src65 .n43pop .opt small { grid-column: 3; color: var(--faint); font-size: 11px; line-height: 1.2; white-space: nowrap; display: block; }
.src65 .n43pop .opt .ck { grid-row: 1 / span 2; color: var(--accent); font-weight: 700; }
.src65 .n43pop .opt input { position: absolute; opacity: 0; pointer-events: none; }
.src65 .n43pop .opt:has(input:checked) .ck::before { content: "✓"; }
.src65 .n43pop .opt:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.src65 .mi65 { grid-row: 1 / span 2; width: 44px; height: 25px; object-fit: cover; border-radius: 4px; display: block; }
.src65 .n43pop .opt.act65 > svg { grid-row: 1 / span 2; justify-self: center; color: var(--text2); }
.src65 .n43pop .sep { height: 1px; background: var(--line); margin: 4px 0; }
.src65 .n43pop .head { display: none; }
.src65 .ed65 { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; flex: none; text-decoration: none; white-space: nowrap; }
.src65 .n43thumb:is(span) { display: grid; place-items: center; overflow: hidden; background: #0A0C0D; flex: none; }
.src65 .n43thumb:is(span) img { width: 100%; height: 100%; object-fit: cover; display: block; }
form.p64 .z3d64 { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 2px; }
form.p64 .z3d64 label { position: relative; display: flex; flex-direction: column; gap: 2px; width: 92px; flex: none; border: 1px solid var(--line); border-radius: 8px; padding: 3px; font-size: 11.5px; cursor: pointer; }
form.p64 .z3d64 label:has(input:checked) { border-color: var(--accent); }
form.p64 .z3d64 input { position: absolute; opacity: 0; pointer-events: none; }
form.p64 .z3d64 img, form.p64 .z3d64 video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; display: block; background: var(--well); }
form.p64 .z3d64 .z3d64v { display: block; }
/* návrh 65 krok 2: Nevidené prostredie beside Model dostane and at the camera (the plate's own measure), the note of a
   head alone; .hi = more than half of the frame is unseen (an emphasis, never a ban) */
.nev65 { margin: 4px 0 0; font-size: 12px; line-height: 1.35; color: var(--text2); }
.nev65[hidden] { display: none !important; }   /* the 3D panel's own rules lay its rows out as flex */
.nev65.hi { color: var(--warn); }
.nev65.hl65 { color: var(--warn); }
.nev65 .tip { display: inline-block; vertical-align: middle; margin-left: 4px; }
.s30sum .nev65s { display: block; margin: 3px 0 0; font-size: 12.5px; }   /* the 3D tool: under V zábere, at the camera's view */
form.p64 .f46 .nev65 { display: flex; align-items: flex-start; gap: 6px; } form.p64 .f46 .nev65 > span { flex: 0 1 auto; min-width: 0; } form.p64 .f46 .nev65 .tip { margin-left: 0; flex: none; }
.src65 details.pick.n43from.fp-pick { margin: 0; }

/* ---------- návrh 65 krok 5: the 3D panel and its view (one field Upraviť vetou, the camera's row, Nevidené on the picture) ---------- */
.n65cam { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; }
.n65cam[hidden] { display: none; }
.n65cam .seg { display: inline-flex; padding: 2px; gap: 1px; border-radius: 9px; background: var(--field, var(--well)); border: 1px solid var(--line); }
.n65cam .seg button { border: 0; background: transparent; color: var(--muted); height: 26px; padding: 0 9px; border-radius: 7px; font: 600 12px var(--font); white-space: nowrap; cursor: pointer; }
.n65cam .seg button:hover { color: var(--text); }
.n65cam .seg button[aria-pressed="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); }
.n65cam .n65sk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex-basis: 100%; }
.n65cam .n65sk[hidden] { display: none; }
.n65cam .n65sk .eyebrow { margin: 0 2px 0 0; }
.n65cam .term, .n65sayh .term { color: var(--muted); font-weight: 400; font-size: 11.5px; margin-left: 3px; }
.n65onpic { position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; pointer-events: none; }
.n65onpic .nev65 { pointer-events: auto; margin: 0; padding: 3px 9px; border-radius: 999px; background: rgba(16,19,21,.82); border: 1px solid var(--line); font-size: 12px; }
.n65sayh { display: flex; align-items: baseline; gap: 2px; margin: 0 0 6px; font: 600 13.5px var(--font); color: var(--text); }
.n65sayh .n65for { margin-left: auto; font-weight: 400; font-size: 12.5px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.n65sayh .n65for b { color: var(--text); }
.n65menu > summary { list-style: none; cursor: pointer; } .n65menu > summary::-webkit-details-marker { display: none; }
.n65menu[open] > summary { color: var(--text); }
.n65menu .n65list { margin-top: 6px; }
.s30i .ihead h2 .n65x, .s30i .ihead h2 .iconbtn { margin-left: auto; flex: none; }
.s30i .ihead h2:has(.n65x) { display: flex; align-items: center; gap: 8px; }
.s30make .n65left { margin: 4px 0 0; color: var(--warn); }
.s30make .n65left[hidden] { display: none; }
.s30make .n65det { margin-top: 4px; }
.s30make .n65det > summary { cursor: pointer; font-size: 12.5px; color: var(--muted); }
.s30make .n65det > summary:hover { color: var(--text); }
.s30make .n65det .s30gets { margin: 6px 0 2px; }
.n57read dt .linkish { font: inherit; color: inherit; text-decoration: underline dotted; text-underline-offset: 2px; background: none; border: 0; padding: 0; cursor: pointer; }
.s30panel .n23own { max-height: clamp(80px, calc(100vh - 600px), 190px); overflow: auto; }
/* the sentence field stays in sight when Model dostane or a refused save grows the foot; the panel scrolls instead */
.ws-panel > .insp.s30panel > .ibody.ws-scroll { min-height: min(180px, 30vh); }
.s35say .n65sayh { flex: 0 0 100%; margin: 0; }
.n65cam .n65sk .btn { height: 26px; padding: 0 8px; font-size: 12px; }
.n65cam .n65sk .term { margin-left: 2px; font-size: 11px; }
@container (max-width: 560px) { .n65cam .n65sk .eyebrow { display: none; } }
.n65cam .n65sk { flex-basis: auto; }
.s30v.n51cmp + .n65cam { display: none; }   /* Porovnaj: the frame is the canvas, no camera row */
.s30i .n65roll { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
/* návrh 65 krok 5: one Model dostane in the foot names the operation (Navrhnúť zmenu / Navrhnúť scénu / Vytvoriť obraz) */
.s30panel .ifoot.n65op [data-n23-sum], .s30panel .ifoot.n65op .n23own { display: none !important; }
.s30panel .ifoot .s35pre { margin: 0 0 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.s30panel .ifoot .s35pre > summary { cursor: pointer; font-size: 13px; }
.s30panel .ifoot .s35pre pre, .s30panel .ifoot .n65sees { max-height: clamp(80px, calc(100vh - 600px), 190px); overflow: auto; margin: 6px 0 0; white-space: pre-wrap; font-size: 12px; }
.s30panel .n65src { margin: 2px 0 6px; flex: 0 0 100%; }
/* Ďalšie možnosti: Svetlo a počasie, Prekryť obrazom, Vytvoriť video…, Nahrať vlastný obrázok in one row */
.s30panel .n65more { margin: 0 0 6px; }
.s30panel .n65more > summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.s30panel .n65mo { display: grid; gap: 8px; padding: 6px 0 4px; }
.s30panel .n65mo .pick-opt { display: flex; gap: 6px; padding: 4px 0; text-decoration: none; color: inherit; }
.s30panel .n65mo .pick-opt small { display: block; color: var(--muted); }
.s30panel .n65mo .n57mix { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.s30panel .n65navrh .term { color: var(--muted); font-size: 12px; }
.s30panel .s35slot [data-s30="navrhsec"] { margin: 0; padding: 0; border: 0; }
.s30panel .s35slot [data-s30="navrhsec"] .s30uplrow { display: none; }
