/* návrh 06 (docs/navrh-portalu-2026-10/navrh-06/index.html): what návrh 06 adds to the <style> of návrh 05, copied
   verbatim (without the prototype's own frame: #app, .demo). Loaded after navrh05.css. Do not edit here; edit the
   design and copy again (Peter 11. 10.: "nenapodobňuj, skús prevziať to, ako je to urobené v návrhu"). */
/* ---------- návrh 06 (Peter 10. 10. večer): záber je jednotka, jeden obraz záberu všade, jeden panel úpravy ---------- */
.scenehead { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; min-height: 30px; }
section > .scenehead:first-of-type { margin-top: 0; }
.scenehead b { font-size: 15px; }
.scenehead .sp { flex: 1; }
.scenehead .scenename { max-width: 320px; height: 30px; }
.iconbtn.sm { height: 26px; padding: 0 8px; font-size: 13px; }
.sbcard { cursor: pointer; }
.sbcard .sbtext p .faint, .sbcard .sbtext b .faint { font-weight: 400; }
.card.mk { position: relative; cursor: pointer; }
.card.mk .im { position: relative; }
.card.mk .edit { position: absolute; right: 8px; top: 8px; background: rgba(10, 12, 13, .82); color: var(--text); border-color: transparent; }
.card.mk .im .kind { left: 8px; bottom: 8px; }
.card.addcard { display: grid; place-items: center; min-height: 200px; border-style: dashed; background: transparent; color: var(--muted); font-weight: 600; }
.card.addcard:hover { color: var(--text); border-color: var(--accent-line); }
.phrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.phrow .btn { flex: none; height: 30px; padding: 0 10px; font-size: 12.5px; }
.imgacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.imgacts .btn { height: auto; min-height: 56px; flex-direction: column; gap: 3px; padding: 8px 6px; white-space: normal; text-align: center; line-height: 1.2; }
.imgacts .btn svg { width: 16px; height: 16px; }
.imgacts .btn small { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.picline { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--text2); }
.refrow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 10px; padding: 8px; border: 1px dashed var(--line2); border-radius: 9px; }
.refrow img { width: 64px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; background: #fff; }
.refrow b { display: block; font-size: 13px; } .refrow small { color: var(--muted); font-size: 12px; }
.linkish.danger, .btn.danger { color: var(--bad); }
.btn.dangerfill { background: var(--bad); border-color: var(--bad); color: #1a0f0d; }
.sbbig.empty[data-act] { cursor: pointer; }
.sbbig.empty[data-act]:hover { border-color: var(--accent-line); color: var(--text); }
.ifoot.pfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.drawer.pdrawer { width: min(430px, 100%); overflow: auto; display: block; }
.drawer.pdrawer .panel { border: 0; border-radius: 0; position: static; overflow: visible; }
.uprev { display: flex; align-items: center; gap: 14px; }
.uprev img { width: 200px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #fff; }
.uprev b { display: block; margin-bottom: 4px; }
.seg.tall button { height: auto; padding: 7px 8px; line-height: 1.25; white-space: normal; }
.seg.tall button small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }
.bulklist { display: grid; gap: 8px; max-height: 46vh; overflow: auto; }
.bulkrow { display: grid; grid-template-columns: 112px minmax(0, 1fr) 140px 112px 32px; gap: 8px; align-items: center; }
.bulkrow img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #fff; }
.bulkrow b { display: block; margin-bottom: 4px; color: var(--muted); }
.startbox { border: 1px dashed var(--line2); border-radius: 14px; padding: 44px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.startbox h2 { margin: 0; font-size: 20px; display: flex; gap: 8px; align-items: center; }
.startbox p { margin: 0; color: var(--text2); }
.startacts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.rail.n2 .scenelbl { padding: 12px 8px 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sbadd.newscene { width: 100%; min-height: 52px; margin-top: 18px; }
.dialog .field + .lbl, .dialog .textbox + .lbl { margin-top: 12px; }
.dialog .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.dialog .row .lbl { margin: 0; }
@media (max-width: 900px) { .imgacts { grid-template-columns: 1fr; } .imgacts .btn { min-height: 44px; flex-direction: row; justify-content: flex-start; } .imgacts .btn small { margin-left: auto; }
  .bulkrow { grid-template-columns: 96px minmax(0, 1fr); } .bulkrow > :nth-child(n+3) { grid-column: 2; } .uprev { flex-direction: column; align-items: flex-start; } }

/* návrh 06: the card of Postavy a miesta — click a slot, one description, fill the missing views in one step */
.cstrip { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 18px; padding-bottom: 2px; }
.cstrip button { flex: 0 0 auto; display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-align: left; }
.cstrip button:hover { border-color: var(--line2); }
.cstrip button[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.cstrip img { width: 38px; height: 38px; object-fit: cover; border-radius: 7px; }
.cstrip b { display: block; font-size: 13px; } .cstrip small { display: block; color: var(--muted); font-size: 11.5px; }
.cstrip .addc { border-style: dashed; color: var(--muted); padding: 0 14px; font-weight: 600; }
.cgroup { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.cgrid.portraits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cslot { position: relative; aspect-ratio: 3 / 4; max-width: 100%; border-radius: 10px; border: 1px dashed var(--line2); background: transparent; color: var(--muted); display: grid; place-items: center; padding: 0; overflow: hidden; font-size: 12.5px; font-weight: 600; text-align: center; }
.cgrid.wide .cslot { aspect-ratio: 4 / 3; }
.cslot:hover, .cslot[aria-expanded="true"] { border-color: var(--accent-line); color: var(--text); }
.cslot.full { border-style: solid; border-color: var(--line); }
.cslot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cslot .cl { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 2px 7px; border-radius: 5px; background: rgba(10, 12, 13, .8); color: var(--text); font-size: 11.5px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cslot .cl small { color: var(--muted); font-weight: 400; }
.cslot .newb { position: absolute; right: 6px; top: 6px; }
.cslot.making { border-style: solid; background: repeating-linear-gradient(135deg, #14171A 0 8px, #191D20 8px 16px); color: var(--text2); }
.cslot .plus { display: grid; gap: 4px; padding: 8px; } .cslot .plus span { font-size: 18px; line-height: 1; color: var(--muted); }
.cbatch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); margin-bottom: 16px; }
/* portraits are made upright like the views (bible.py "portrait"): the same 3:4 tile, never a square that cuts the head
   and the chin (Peter 18. and 19. 10.) */
.cgrid.portraits .cslot { aspect-ratio: 3 / 4; }
.cbatch .btn.big { width: auto; flex: 1 1 280px; }
.cbatch .ref { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text2); min-width: 0; }
.cbatch .ref img { width: 34px; height: 44px; object-fit: cover; border-radius: 5px; flex: none; }
.cbatch .ref b { display: block; color: var(--text); }
@media (max-width: 700px) { .cgrid, .cgrid.portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* návrh 06: predloha → obraz záberu, two places side by side, each with its own buttons */
.picpair { display: grid; grid-template-columns: minmax(0, 2fr) 18px minmax(0, 3fr); gap: 8px; align-items: start; }
.pslot { display: grid; gap: 6px; min-width: 0; }
.pslot-h b { display: block; font-size: 12.5px; }
.pslot-h small { display: block; font-size: 11.5px; color: var(--muted); }
.pthumb { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 8px; overflow: hidden; background: #0A0C0D; display: grid; place-items: center; color: var(--muted); font-size: 11.5px; text-align: center; }
.pthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pslot.ref .pthumb img { background: #fff; }
.pthumb.empty { background: repeating-linear-gradient(135deg, #14171A 0 8px, #191D20 8px 16px); border: 1px dashed var(--line2); cursor: pointer; padding: 6px; }
.pthumb.empty:hover { border-color: var(--accent-line); color: var(--text); }
.pthumb .xbtn { position: absolute; right: 5px; top: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(10, 12, 13, .82); color: var(--text); font-size: 15px; line-height: 1; display: grid; place-items: center; padding: 0; }
.pthumb .xbtn:hover { background: var(--bad); color: #1a0f0d; }
.parrow { align-self: center; margin-top: 18px; color: var(--muted); text-align: center; }
.pacts { display: grid; gap: 5px; }
.pacts .btn { height: auto; min-height: 32px; padding: 5px 8px; font-size: 12.5px; justify-content: flex-start; white-space: normal; text-align: left; line-height: 1.2; }
.pacts .btn svg { width: 14px; height: 14px; flex: none; }
.pacts .btn small { margin-left: auto; padding-left: 6px; font-size: 11.5px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.pcap { font-size: 12px; color: var(--text2); }

/* návrh 06: políčko (plán) and obraz záberu (video start), each with one pencil */
.pthumb.click { cursor: pointer; }
.pthumb.click:hover { box-shadow: 0 0 0 2px var(--accent-line); }
.pthumb .pen { position: absolute; right: 5px; top: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(10, 12, 13, .82); color: var(--text); font-size: 13px; display: grid; place-items: center; padding: 0; }
.pslot .btn.pedit { height: 30px; padding: 0 9px; font-size: 12.5px; justify-content: flex-start; }

/* návrh 06: the storyboard uses the whole width; the shot editor is one drawer everywhere */
.board.wide { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.refline, .prodline { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 12px; align-items: center; }
.refline .pthumb, .prodline .pthumb { width: 136px; }
.prodline img { width: 136px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.refline b, .prodline b { display: block; font-size: 13px; }
.refline small, .prodline small { display: block; color: var(--muted); font-size: 12px; margin: 2px 0 8px; }

/* návrh 06: the „Obrázky“ view of the storyboard — only the picture and the name, more frames in a row */
.board.thumbs { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.sbcard.thumb .thname { display: block; padding: 7px 10px 8px; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbcard.thumb .thname b { color: var(--muted); margin-right: 5px; }
.board.thumbs .sbadd { min-height: 120px; }
@media (max-width: 560px) { .board.thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
