/* Návrh 20 — Storyboard a Výroba na prvý pohľad (schválené Petrom 18. 10. 2026). Copied word for word from
   docs/navrh-portalu-2026-10/navrh-20/navrh20.css without the prototype's bar of situations; loaded after pomoc.css.
   What the port adds is at the end ("port"). Storyboard = the plan, drawn on paper (light, monochrome, small frames, many per row);
   Výroba = the result, on the dark screen (colour, moving clips, the state of each shot first). */


:root { --st-bad: var(--bad); --paper20: #ECE7DC; --frame20: #F7F4EC; --ink20: #29251F; --ink20-2: #5B544B; --ink20-3: #8C8478; --pline20: #D3CBBC; --st-film: #4CC38A; --st-ver: #6FA8DC; --st-ren: var(--accent); --st-img: #C9A04A; }

/* 1. the film head, compact: title and two facts in one block; "Postup" moves into the switch (its counts) */
.fh20 { margin: 0 0 12px; }
.fh20 .phead { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; }
.fh20 h1 { margin: 0; font-size: 26px; line-height: 1.15; }
.fh20 .logline { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62ch; }
.fm20 { display: flex; gap: 22px; margin: 0; }
.fm20 div { display: grid; gap: 1px; }
.fm20 dt { font-size: 11.5px; color: var(--muted); }
.fm20 dd { margin: 0; font-size: 13.5px; font-weight: 600; }

/* 2. the switch with counts: the active tab takes the look of its view (paper for Storyboard, screen for Výroba) */
.pt20 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; margin: 0 0 12px; }
.pt20 > .tip { margin-right: auto; }
.pt20 .sechacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vt20 { display: inline-flex; padding: 3px; gap: 3px; border-radius: 12px; background: var(--well); border: 1px solid var(--line); }
.seg.vt20 a { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 5px 9px; min-width: 0; height: auto; padding: 6px 14px 5px 11px; border-radius: 9px; color: var(--muted); text-decoration: none; background: none; border: 0; }
.vt20 .ic20 { display: grid; place-items: center; }
.vt20 .t20 { display: grid; text-align: left; line-height: 1.2; }
.vt20 .t20 b { font-size: 14.5px; font-weight: 700; color: var(--text2); }
.vt20 .t20 small { font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vt20 progress { grid-column: 1 / -1; width: 100%; height: 2px; border: 0; border-radius: 2px; appearance: none; -webkit-appearance: none; background: transparent; overflow: hidden; }
.vt20 progress::-webkit-progress-bar { background: rgba(255,255,255,.08); }
.vt20 progress::-webkit-progress-value { background: var(--muted); }
.vt20 progress::-moz-progress-bar { background: var(--muted); }
.seg.vt20 a:hover { color: var(--text); background: var(--raised); }
.seg.vt20 a.vt20-sb[aria-current="page"] { background: var(--paper20); color: var(--ink20); }
.vt20 a.vt20-sb[aria-current="page"] .t20 b { color: var(--ink20); } .vt20 a.vt20-sb[aria-current="page"] small { color: var(--ink20-2); }
.vt20 a.vt20-sb[aria-current="page"] progress::-webkit-progress-bar { background: rgba(41,37,31,.12); }
.vt20 a.vt20-sb[aria-current="page"] progress::-webkit-progress-value { background: var(--ink20); }
.vt20 a.vt20-sb[aria-current="page"] progress::-moz-progress-bar { background: var(--ink20); }
.seg.vt20 a.vt20-vy[aria-current="page"] { background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.vt20 a.vt20-vy[aria-current="page"] .t20 b { color: var(--text); } .vt20 a.vt20-vy[aria-current="page"] small { color: var(--text2); }
.vt20 a.vt20-vy progress::-webkit-progress-value { background: var(--st-film); }
.vt20 a.vt20-vy progress::-moz-progress-bar { background: var(--st-film); }
.vt20 a.full small::after { content: " ✓"; }

/* 3. Storyboard: the legend of sources in the bar, then one sheet of paper per scene */
.sbbar.sb20 { padding: 0 2px; margin: 0 0 8px; gap: 8px 12px; min-height: 34px; border: 0; background: none; }
.lg20 { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--text2); }
.lg20 .k { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lg20 .k.e { color: var(--muted); }
.gq20 { flex: 1 1 100%; margin: 0 0 2px; font-size: 13px; color: var(--text2); }
.gq20 b { color: var(--warn); font-weight: 600; }
.sl20 a { padding: 0 11px; }

.sheet20 { background: var(--paper20); color: var(--ink20); border-radius: 6px; padding: 6px 14px 14px; margin: 0 0 12px; box-shadow: 0 1px 0 rgba(0,0,0,.35), 0 10px 24px -14px rgba(0,0,0,.7); }
.sheet20 .scenehead { margin: 0 0 4px; min-height: 30px; }
.add20 { margin-left: 4px; padding: 2px 8px; border-radius: 6px; border: 1px dashed var(--line2); color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; }
.add20:hover { color: var(--text); border-color: var(--accent-line); }
.sheet20 .add20 { border-color: var(--ink20-3); color: var(--ink20-2); }
.sheet20 .add20:hover { color: var(--ink20); background: rgba(255,255,255,.5); }
.sheet20 .scenehead > b { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink20); }
.sheet20 .scenehead > .muted { color: var(--ink20-2); }
.sheet20 :focus-visible { outline-color: var(--ink20); }
.sheet20 .tip > summary, .sheet20 .iconbtn { color: var(--ink20-2); border-color: var(--pline20); background: transparent; }
.sheet20 .scenehead .iconbtn { color: var(--ink20); }
.sheet20 .iconbtn:hover { color: var(--ink20); border-color: var(--ink20-3); background: rgba(41,37,31,.06); }
.board.pb20 { grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 12px 12px; }
.sbcard.p20 { background: none; border: 0; border-radius: 0; overflow: visible; cursor: pointer; }
.sbcard.p20:hover { border: 0; }
.sbcard.p20[aria-current="true"] { box-shadow: none; border: 0; }
.p20 .ph20 { display: flex; align-items: baseline; gap: 6px; height: 18px; margin: 0 0 3px; font-size: 11px; color: var(--ink20-2); white-space: nowrap; }
.p20 .ph20 b { font-size: 12.5px; font-weight: 800; color: var(--ink20); }
.p20 .ph20 .src20 { margin-left: auto; overflow: hidden; text-overflow: ellipsis; }
.p20 .ph20 .sec20 { font-variant-numeric: tabular-nums; color: var(--ink20); font-weight: 600; }
.p20 .ph20 b + .sec20 { margin-left: auto; }
.p20 .sbhit { color: var(--ink20); text-decoration: none; display: block; }
.p20 .sbframe { aspect-ratio: 16 / 9; background: var(--frame20); border: 1.5px solid var(--ink20); border-radius: 2px; }
.p20 .sbframe img { filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; }
/* a frame taken from the production stays a plan: grey, flat, never in colour */
.p20.z20 .sbframe img { filter: grayscale(1) contrast(.8) brightness(1.18); opacity: .9; }
.p20.z20 .sbframe { border-style: double; border-width: 3px; }
.p20 .sbhit:hover .sbframe { box-shadow: 0 0 0 3px rgba(41,37,31,.14); }
.p20[aria-current="true"] .sbframe { outline: 3px solid var(--accent); outline-offset: 2px; }
/* one frame around the chosen picture, never the card's too (Peter 19. 10.); the keyboard's focus on the same place */
.sbcard.p20:focus-within, .sbrow.p20:focus-within { outline: none; }
.p20 .sbhit:focus-visible { outline: none; }
.p20 .sbhit:focus-visible .sbframe { outline: 3px solid var(--ink20); outline-offset: 2px; }
.p20[aria-current="true"] .sbhit:focus-visible .sbframe { outline-color: var(--accent); }
.sbrow.p20[aria-current="true"] { box-shadow: inset 3px 0 0 var(--accent); }
.p20 .sbtext { padding: 6px 1px 0; gap: 4px; }
.p20 .in20 { font-size: 13px; line-height: 1.35; color: var(--ink20); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p20 .sbcam span { background: rgba(41,37,31,.08); color: var(--ink20-2); font-size: 11px; padding: 0 6px; border-radius: 4px; }
.miss20 { color: #9A3F22; font-weight: 600; font-size: 13px; text-decoration: underline; text-decoration-color: rgba(154,63,34,.4); text-underline-offset: 3px; }
.miss20:hover { color: #7A2E16; }
/* the empty frame: dashed, with the two ways to fill it */
.p20 .sbframe.empty { background: transparent; border: 1.5px dashed var(--ink20-3); border-radius: 2px; display: grid; place-items: center; }
.p20 .sbempty { color: var(--ink20-2); gap: 4px; padding: 4px; font-size: 12px; }
.p20 .sbempty { width: 100%; }
.p20 .sbempty .acts { flex-direction: column; align-items: center; gap: 3px; }
.p20 .mini { display: inline-flex; align-items: center; justify-content: center; gap: 4px; max-width: 100%; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--pline20); background: rgba(255,255,255,.6); color: var(--ink20); font: 600 11px/1 var(--font); white-space: nowrap; cursor: pointer; }
.p20 .mini:hover { border-color: var(--ink20-3); background: #fff; }
.p20 .sbframe.pv20 { position: relative; overflow: hidden; }
.p20 .sbframe.pv20 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.7); opacity: .22; mix-blend-mode: multiply; }
.p20 .sbframe.pv20 .sbempty { position: relative; }
.p20 .sbframe.mk20 { border-style: dashed; background: repeating-linear-gradient(135deg, rgba(41,37,31,.05) 0 6px, transparent 6px 12px); background-size: 34px 34px; animation: mk20 1.2s linear infinite; }
.p20 .sbframe.mk20 .sbempty span:first-child { font-weight: 700; color: var(--ink20); }
@keyframes mk20 { to { background-position: 34px 0; } }
@media (prefers-reduced-motion: reduce) { .p20 .sbframe.pv20 { position: relative; overflow: hidden; }
.p20 .sbframe.pv20 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.7); opacity: .22; mix-blend-mode: multiply; }
.p20 .sbframe.pv20 .sbempty { position: relative; }
.p20 .sbframe.mk20 { animation: none; } }
.p20add { display: block; }
.board.pb20 .p20add .sbadd { min-height: 0; height: auto; aspect-ratio: 16 / 9; margin-top: 21px; border: 1.5px dashed var(--pline20); border-radius: 2px; color: var(--ink20-2); }
.board.pb20 .p20add .sbadd:hover { border-color: var(--ink20-3); color: var(--ink20); }
.empty20 .ghost20 .sbframe { border-color: var(--pline20); }
.empty20 .board.pb20 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 760px; }
.ea20 { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 2px; }
.ea20 .mini { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--ink20-3); background: rgba(255,255,255,.55); color: var(--ink20); font: 600 13.5px/1 var(--font); text-decoration: none; cursor: pointer; }
.ea20 .mini:first-child { background: var(--ink20); color: var(--paper20); border-color: var(--ink20); }
.ea20 .mini:hover { background: #fff; } .ea20 .mini:first-child:hover { background: #000; }
.empty20 .ghost20 .ph20 b { color: var(--ink20-3); }

/* Storyboard in rows: the same paper, a shot list */
.sbrows.r20 { gap: 0; }
.sbrow.p20, .sbrows.r20 .sbrow.p20 { grid-template-columns: 46px 168px minmax(0, 1fr); gap: 14px; padding: 10px 0; background: none; border: 0; border-bottom: 1px solid var(--pline20); border-radius: 0; color: var(--ink20); }
.sbrow.p20:last-child { border-bottom: 0; }
.sbrow.p20 .num { color: var(--ink20); font-weight: 800; font-size: 13px; }
.sbrow.p20 .rowtxt b { color: var(--ink20); font-size: 14px; }
.sbrow.p20 .kv dt { color: var(--ink20-2); } .sbrow.p20 .kv dd { color: var(--ink20); }
.sbrow.p20 .sbframe.empty .sbempty { font-size: 16px; }

/* 4. Výroba: the film in time (a bar per shot, width = length, colour = state), then the clips */
.tl20 { margin: 0 0 12px; padding: 9px 12px 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.tlh20 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 8px; font-size: 12.5px; color: var(--text2); }
.tlh20 > b { font-size: 13.5px; color: var(--text); font-variant-numeric: tabular-nums; }
.tlh20 .sp { flex: 1; }
.lk20 { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lk20 i { width: 12px; height: 10px; border-radius: 2px; }
.lock20 { color: var(--warn); font-weight: 600; }
.tlb20 { display: flex; gap: 2px; height: 22px; margin: 0; padding: 0; list-style: none; }
.tlb20 .s20 { flex: 3 1 0; min-width: 4px; }
.tlb20 .d2 { flex-grow: 2; } .tlb20 .d3 { flex-grow: 3; } .tlb20 .d4 { flex-grow: 4; } .tlb20 .d5 { flex-grow: 5; } .tlb20 .d6 { flex-grow: 6; }
.tlb20 .gap20 { flex: 0 0 6px; }
.tlb20 a { display: block; height: 100%; border-radius: 3px; background: var(--c20); }
.tlb20 a:hover { filter: brightness(1.25); outline: 2px solid var(--text); outline-offset: 1px; }
.st-film { --c20: var(--st-film); } .st-versions { --c20: var(--st-ver); } .st-render { --c20: var(--st-ren); } .st-image { --c20: var(--st-img); } .st-failed { --c20: var(--st-bad); } .st-plan, .st-empty { --c20: var(--line2); }
.tlb20 .st-film a, .lk20.st-film i { background: var(--st-film); }
.tlb20 .st-versions a, .lk20.st-versions i { background: repeating-linear-gradient(0deg, var(--st-ver) 0 3px, #3E6990 3px 5px); }
.tlb20 .st-image a, .lk20.st-image i { background: radial-gradient(circle, var(--st-img) 1.4px, #5A4A26 1.6px) 0 0 / 5px 5px; }
.tlb20 .st-failed a, .lk20.st-failed i { background: repeating-linear-gradient(45deg, var(--st-bad) 0 2px, #4A2620 2px 4px), var(--st-bad); }
.tlb20 .st-plan a, .lk20.st-plan i { background: repeating-linear-gradient(135deg, #3A4146 0 3px, #22272A 3px 6px); }
.tlb20 .st-empty a, .lk20.st-empty i { background: none; border: 1px dashed var(--line2); }
.tlb20 .st-render a, .lk20.st-render i { background: repeating-linear-gradient(135deg, var(--accent) 0 5px, #B87C14 5px 10px); background-size: 28px 28px; }
.tlb20 .st-render a { animation: mk20 1s linear infinite; }
@media (prefers-reduced-motion: reduce) { .tlb20 .st-render a { animation: none; } }

.grid4.v20 { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; }
.shot-tile.v20 { background: var(--panel); }
.shot-tile.v20.is-next { border-color: var(--accent); }
.v20 .im { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #050607; border-bottom: 3px solid var(--c20); }
.v20 .im img, .v20 .im video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.v20 .im video { opacity: 0; transition: opacity .2s; }
.v20.playing .im video { opacity: 1; }
.v20.st-render .im img { opacity: .5; }
.v20.st-failed .im img { opacity: .45; filter: grayscale(.7); }
.st-failed .stl20 b { color: var(--bad); }
/* a shot that is only planned shows its plan frame as a grey ghost: nothing here is a result yet */
.v20 .im.pl20 { background: #0E1113; }
/* a photo or a realistic drawing never turns into a negative (Peter 19. 10., návrh 20 prototype 65a32ce) */
.v20 .im.pl20 img { filter: grayscale(1) contrast(.85); opacity: .32; }
.v20 .pg20 { position: absolute; left: 8px; top: 8px; padding: 1px 7px; border-radius: 5px; border: 1px dashed var(--line2); color: var(--muted); font-size: 11px; font-weight: 600; }
.v20 .im.em20 { background: repeating-linear-gradient(135deg, #14171A 0 8px, #191D20 8px 16px); }
.v20 .cb { padding: 9px 76px 11px 12px; gap: 3px; }
.stl20 { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 14px; white-space: nowrap; }
.stl20 i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c20); }
.st-plan .stl20 i, .st-empty .stl20 i { background: none; border: 1.5px dashed var(--muted); }
.stl20 b { font-weight: 700; color: var(--text); }
.stl20 span { overflow: hidden; text-overflow: ellipsis; color: var(--text2); font-size: 12.5px; }
.st-film .stl20 b { color: var(--ok); }
.st-plan .stl20 b, .st-empty .stl20 b { color: var(--text2); }
.v20 .cb .bar { width: 100%; height: 4px; margin: 2px 0; }
.nm20 { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm20 .shot-no { margin-right: 6px; color: var(--text2); font-weight: 600; }
.ta20 { position: absolute; right: 8px; bottom: 9px; display: flex; gap: 4px; }
.v20 .ta20 .edit { position: static; opacity: 1; }
.v20 .ta20 .iconbtn { width: 30px; height: 30px; padding: 0; justify-content: center; font-size: 12px; }
.v20 .pl20b[aria-pressed="true"] { border-color: var(--st-film); color: var(--st-film); }
.v20 .shot-order { top: auto; bottom: 9px; right: 80px; }
.v20:not(:has(.pl20b)) .shot-order { right: 46px; }
/* dragging, as today: the moved shot fades, a yellow line shows where it lands */
.sbcard.p20.is-dragging, .sbrow.p20.is-dragging, .v20.is-dragging { opacity: .4; }
.drop20-b { box-shadow: -4px 0 0 -1px var(--accent); } .drop20-a { box-shadow: 4px 0 0 -1px var(--accent); }
.sbrows .drop20-b { box-shadow: 0 -3px 0 var(--accent); } .sbrows .drop20-a { box-shadow: 0 3px 0 var(--accent); }
.drop20-end { outline: 2px dashed var(--accent); outline-offset: 4px; }
li[draggable="true"] { cursor: grab; }
.v20.flash20 { outline: 2px solid var(--text); outline-offset: 3px; }
.em20b { text-align: center; padding: 36px 20px; }
.em20b .btn { display: inline-flex; gap: 8px; align-items: center; }

/* 5. phone (390 px): the switch in one row, actions short, Storyboard two frames per row, Výroba a list */
.sm20 { display: none; }
@media (max-width: 760px) {
  .pt20 .lb20, .sl20 a .lb20, .add20 .lb20 { display: none; } .pt20 .sm20 { display: inline; }
  .pt20 a.btn.primary[data-pomoc="film.prehrat"] .lb20 { display: inline; }
  .scenehead .small { white-space: nowrap; }
  .pt20 .add-menu > summary .chev { display: none; }
  .pt20 .vt20 { flex: 1 1 auto; }
  .seg.vt20 a { flex: 1 1 0; padding: 6px 8px 8px 8px; gap: 7px; }
  .pt20 .sechacts { flex: 1 1 100%; }
  .pt20 .sechacts > .btn.primary { flex: 1 1 auto; justify-content: center; }
  .pt20 .sechacts > .btn:not(.primary), .pt20 .add-menu > summary { min-width: 44px; justify-content: center; }
}
@media (max-width: 560px) {
  .fh20 { margin-bottom: 10px; }
  .fh20 h1 { font-size: 24px; }
  .fh20 .phead { align-items: baseline; }
  .fm20 { gap: 14px; }
  .fm20 div { display: flex; gap: 5px; align-items: baseline; }
  .vt20 .t20 b { font-size: 13.5px; }
  .vt20 .ic20 { display: none; }
  .seg.vt20 a { grid-template-columns: minmax(0, 1fr); padding: 5px 10px 5px; }
  .sbbar.sb20 { padding: 6px 6px 6px 12px; }
  .lg20 { gap: 2px 10px; font-size: 12.5px; }
  .sheet20 { padding: 8px 10px 12px; margin-left: -6px; margin-right: -6px; }
  .board.pb20, .empty20 .board.pb20 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .empty20 .ghost20:nth-child(n+3) { display: none; }
  .p20 .in20 { font-size: 12.5px; }
  .sbrows.r20 .sbrow.p20 { grid-template-columns: 34px 112px minmax(0, 1fr); gap: 10px; }
  .sbrow.p20 .num { display: block; font-size: 12.5px; }
  .sbrows .sbrow.p20 .kv { margin: 3px 0 0; }
  .sbrow.p20 .rowtxt { gap: 0; } .sbrow.p20 .rowtxt b { font-size: 13.5px; }
  .sbrow.p20 .kv { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 12px; margin-top: 2px; }
  .sbrow.p20 .kv dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sbrow.p20 .kv dd { margin: 0; }
  .tlb20 a { pointer-events: none; }
  .scenehead .scene-pop { min-width: 0; width: min(300px, calc(100vw - 40px)); }
  .shot-tile.v20 .shot-order { display: none; }
  .v20 .drop20-b { box-shadow: 0 -3px 0 var(--accent); } .v20 .drop20-a { box-shadow: 0 3px 0 var(--accent); }
  .tl20 { padding: 8px 10px 10px; }
  .tlh20 { gap: 3px 10px; font-size: 12px; }
  .grid4.v20 { grid-template-columns: 1fr; gap: 8px; }
  .shot-tile.v20 .card-link { display: grid; grid-template-columns: 136px minmax(0, 1fr); }
  .v20 .im { border-bottom: 0; border-left: 3px solid var(--c20); }
  .v20 .cb { padding: 7px 72px 8px 11px; align-content: center; }
  .stl20 { flex-wrap: wrap; row-gap: 0; }
  .stl20 span { flex-basis: 100%; padding-left: 16px; }
  .ta20 { top: 50%; bottom: auto; right: 6px; transform: translateY(-50%); }
}

/* port: what the portal's markup needs beyond the prototype */
/* "+ záber" in a scene's heading is a form (it adds a shot), its button looks like the prototype's link */
.add20f { display: inline; margin: 0; }
button.add20 { background: none; font-family: inherit; line-height: inherit; cursor: pointer; }
/* a clip without a picture of its own is its own picture */
.v20 .im video.own20 { opacity: 1; }
/* an uncertain result (it may be paid; the teacher decides, never made again by itself) */
.st-uncertain { --c20: var(--warn); }
.v20.st-uncertain .im img { opacity: .45; filter: grayscale(.7); }
.st-uncertain .stl20 b { color: var(--warn); }
.tlb20 .st-uncertain a, .lk20.st-uncertain i { background: repeating-linear-gradient(45deg, var(--warn) 0 2px, #4A3A1A 2px 4px), var(--warn); }
/* a scene without shots is still a place to drop one; the end of a scene is marked as the prototype marks it */
ol.board.pb20:not(:has(li)), ol.sbrows.r20:not(:has(li)), ol.grid4.v20:not(:has(li)) { min-height: 44px; }
ol[data-order-scene].drop-end { outline: 2px dashed var(--accent); outline-offset: 4px; }
/* Odovzdať storyboard in the row of actions */
.pt20 .sb-handin { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.pt20 .sb-handin-why { white-space: nowrap; }
/* návrh 20 § 30: under a frame the names of its cards (Eva · Most) */
.p20 .kt20 { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--ink20-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* port (Codex 18. 10.): on a phone ↑ ↓ stay (not everyone can drag), under ▶ ✎ at the row's right edge (the scene's
   menu is the portal's bottom sheet there already) */
@media (max-width: 560px) {
  .card.shot-tile.v20 .shot-order { display: flex; opacity: 1; top: auto; bottom: 6px; right: 6px; gap: 4px; }
  .shot-tile.v20 .shot-order .btn { width: 30px; height: 26px; min-height: 26px; padding: 0; justify-content: center; }
  .shot-tile.v20 .ta20 { top: 6px; bottom: auto; transform: none; }
  .shot-tile.v20 .cb { min-height: 76px; }
}
/* návrh 20 § 24: + Záber za tento in the drawer's foot, beside Odstrániť záber */
.pdrawer .pins20 > .pop { display: grid; gap: 6px; right: auto; left: -24px; width: 260px; }
.pdrawer .pins20 > .pop small { margin: -2px 0 4px; }
/* návrh 20 § 23: the empty sheet to draw on in pencil (screen and print) */
.pr20bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.pr20h { font-size: 20px; margin: 0 0 10px; }
.board.pb20.prb20 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
.prc20 .sbframe { background: #fff; }
.prc20 .in20 { min-height: 2.7em; border-bottom: 1px solid var(--pline20); }
.pcam20 { display: block; min-height: 1.4em; font-size: 12px; color: var(--ink20-2); border-bottom: 1px solid var(--pline20); }
@media (max-width: 560px) { .board.pb20.prb20 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media print {
  header.top, nav.subnav, .pr20bar, [data-pomoc-stranka] ~ .pomoc-launch, .pomoc-fab { display: none !important; }
  body, main.page { background: #fff !important; color: #000; padding: 0; margin: 0; }
  .pr20h { color: #000; }
  .prs20 { box-shadow: none; background: #fff; break-inside: avoid; page-break-after: always; border: 0; }
  .prs20 .sbframe { border: 1.5px solid #000; }
}
/* návrh 20 § 21: the teacher's note at a frame, a slip of paper on the sheet; § 22: changed since the hand-in before */
.nt20 { display: block; margin-top: 4px; padding: 4px 7px; border-radius: 3px; background: #F6E7A6; color: #3A3220; font-size: 12px; line-height: 1.35; box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.nt20 b { font-weight: 700; }
.sb-review .nt20 { margin: 6px 0 0; }
.ntf20 { display: block; margin-top: 6px; }
.ntf20 .field { width: 100%; font-size: 12.5px; }
.chg20 { margin-left: 6px; font-size: 11px; vertical-align: 1px; }
/* port (Peter 19. 10.: ▶ and ✎ could not be clicked): portal.css places `.card.shot-tile .shot-order` at the tile's top
   right with top and bottom set, so it stretched over ▶ ✎; in Výroba ↑ ↓ sit beside them, ▶ ✎ above everything */
.card.shot-tile.v20 .shot-order { top: auto; bottom: 9px; right: 80px; }
.card.shot-tile.v20:not(:has(.pl20b)) .shot-order { right: 46px; }
.v20 .ta20 { z-index: 2; }
@media (max-width: 560px) { .card.shot-tile.v20 .shot-order, .card.shot-tile.v20:not(:has(.pl20b)) .shot-order { top: auto; bottom: 6px; right: 6px; } }
