/* Návrh 23, verzia 3 — Čo vidíš, to odíde (Peter 22. 10.). Copied from docs/navrh-portalu-2026-10/navrh-23/navrh23.css
   (without the prototype's bar; the stage rules fitted to the portal's viewer). The stage keeps the medium;
   the exact request is readable text (the body font, parts tinted lightly, one small word per part) in a strip under the
   stage; one line above Vytvoriť sums it up. Colours of the parts follow the "Model dostane" palette. */

/* the parts' colours (kamera #9CC6EE and karty #C9A7F0 as in "Model dostane", own text amber) */
:root { --p-tvoje: #F5AA28; --p-preklad: #8FD3B5; --p-kamera: #9CC6EE; --p-karta: #C9A7F0; --p-pravidlo: #B8BDBC; --p-predvolba: #7FC9D9; }
.k-tvoje { --pc23: var(--p-tvoje); } .k-preklad { --pc23: var(--p-preklad); } .k-kamera { --pc23: var(--p-kamera); }
.k-karta { --pc23: var(--p-karta); } .k-pravidlo { --pc23: var(--p-pravidlo); } .k-predvolba { --pc23: var(--p-predvolba); }

/* 1. the stage keeps the medium; the exact request opens under it (the port: shot_workspace.html .sw23s after the viewer) */
.f23form .zd23 { padding-bottom: 10px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }  /* Znova, inak: what changes against V2 */
.zd23 .tip { vertical-align: middle; }
.zd23 del, .sgd23 del { color: var(--muted); text-decoration-color: var(--bad); }
.zd23 ins, .sgd23 ins { text-decoration: none; background: rgba(127,211,162,.14); color: var(--ok); border-radius: 3px; padding: 0 2px; }
.cmain > .sw23s { flex: none; min-height: 0; }
.cmain.open23 > .viewer { flex: 1 1 44%; min-height: 140px; }
.cmain.open23 > .sw23s { flex: 1 1 56%; overflow: auto; scrollbar-width: thin; }
.n23own { margin-top: 8px; }  /* outside the shot's page: the exact request under the form's own button */
.cmain > [data-live-note]:empty { display: none; }  /* an empty live note takes no height */

/* 2. the exact request as readable text: one paragraph, the parts lightly tinted, one small word at each */
.pzs23 { display: grid; gap: 8px; padding: 10px 14px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.ph23 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ph23 > b { font-size: 14px; }
.pm23 { font-size: 12px; color: var(--muted); }
.ph23 .sp { flex: 1; }
/* návrh 52 R2: a state is never the shape of a button — a word in its colour, no frame (ok is the .st52 dot) */
.ok23 { flex: none; color: var(--ok); font-size: 12px; font-weight: 600; }
.ok23.no { color: var(--warn); }
.pb23 { display: grid; gap: 6px; }
.tx23 { margin: 0; font-size: 14px; line-height: 1.75; color: var(--text); overflow-wrap: anywhere; }
.pc23 { padding: 2px 5px; border-radius: 5px; background: color-mix(in srgb, var(--pc23) 13%, transparent); box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--pc23) 45%, transparent); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tg23 { margin-right: 5px; font-size: 11px; font-weight: 600; color: var(--pc23); }
/* a translation the student just prepared: lit for a moment (Peter 23. 10.: a click must answer visibly) */
.pc23.flash23 { animation: flash23 2.4s ease-out 1; }
@keyframes flash23 { 0%, 35% { background: color-mix(in srgb, var(--pc23) 42%, transparent); } 100% { background: color-mix(in srgb, var(--pc23) 13%, transparent); } }
@media (prefers-reduced-motion: reduce) { .pc23.flash23 { animation: none; outline: 2px solid var(--pc23); outline-offset: 1px; } }
.tr23 { margin: 6px 0 0; color: var(--ok); }
.st23w { color: var(--warn); font-style: italic; }
.none23 { padding: 8px 10px; border-radius: 8px; border: 1px dashed var(--line2); font-size: 13px; color: var(--text2); line-height: 1.5; }
.ex23 { margin: 0; font-size: 13px; line-height: 1.7; color: var(--text2); }
.ex23 > b { margin-right: 6px; font-weight: 600; color: var(--text); }
.ins23 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.in23x { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text2); }
.in23x img { width: 44px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; display: block; }
.n23 { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--raised); color: var(--text); font-size: 11px; font-weight: 700; flex: none; }
.w23x { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--warn-line); background: var(--warn-bg); color: var(--warn); }
.w23 { margin: 0 0 10px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--warn-line); background: var(--warn-bg); color: var(--warn); font-size: 12.5px; }
/* Pas pokusu: the chain, step by step, in the same readable form */
.st23l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.st23l > li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.st23l > li > div { padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.75; }
.st23l > li > div > b { margin-right: 6px; }
.st23l small { color: var(--faint); }

/* 3. the one line above Vytvoriť: what the model gets; a click opens the whole text */
.sum23 { display: grid; gap: 1px; width: 100%; padding: 5px 10px 6px; border-radius: 8px; border: 1px solid var(--line); background: var(--well); color: var(--text2); font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.sum23:hover { border-color: var(--line2); }
.sum23[aria-expanded="true"] { border-color: var(--accent-line); }
.sum23.no { border-color: var(--warn-line); }
.sh23 { display: flex; align-items: baseline; gap: 8px; }
.sl23 { flex: none; font-weight: 600; font-size: 12.5px; color: var(--text); }
.sm23 { flex: 1; min-width: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc23 { flex: none; color: var(--text2); font-weight: 600; }
.sum23:hover .sc23 { color: var(--text); }
.sv23 { min-width: 0; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c23 { color: var(--pc23); font-weight: 600; }
.sx23 { color: var(--muted); }
.od23 { font-size: 12px; color: var(--muted); }
.f23form .ifoot { gap: 8px; padding-top: 10px; }

/* 4. the form: one field per job, where it goes (small), switches, the suggestion; rare things under Pridať */
.go23 { font-size: 11px; font-weight: 600; color: var(--faint); white-space: nowrap; }
.f23 .irow { gap: 8px; }
.sw23 { margin: 2px 0 10px; gap: 8px; }
.irow .sp { flex: 1; }
.ms23 { gap: 6px; font-size: 12px; color: var(--text2); }
.tp23 { margin: -4px 0 10px; font-size: 12.5px; }
.m23 { margin: 0; }
.rg23 { width: 100%; }
.f23form .textbox textarea { min-height: 0; }  /* rows set the height; the panel fits 720 px with Kamera and Karty in view */
.f23form .ibody > .tp23, .f23form .ibody > .sg23, .f23form .ibody > .dn23, .f23form .ibody > p { margin-left: 18px; margin-right: 18px; }
.f23form .ibody > .tp23 { margin-top: -6px; }
.sel23 { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--well); font-size: 13px; }
.sel23 .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.th23 .th10 img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 3px; }
.sg23 { display: grid; gap: 5px; margin: -2px 0 12px; padding: 8px 12px 10px; border-radius: 10px; border: 1px solid var(--accent-line); background: var(--accent-soft); }
.sgh23 { display: flex; align-items: center; gap: 6px; } .sgh23 b { font-size: 13px; } .sgh23 .sp { flex: 1; } .sgh23 small { font-size: 11.5px; color: var(--muted); }
.sgw23 { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--text2); } .sgw23 small { color: var(--muted); white-space: nowrap; }
.sgd23 { margin: 0; font-size: 13px; line-height: 1.5; }
.sga23 { display: flex; gap: 6px; }
.dn23 { display: grid; gap: 8px; margin: -2px 0 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--warn-line); background: var(--warn-bg); }
.dna23 { display: flex; flex-wrap: wrap; gap: 6px; }
.dna23 .btn { white-space: normal; text-align: left; height: auto; min-height: 30px; }
.dna23 .btn:last-child { flex-basis: 100%; }

/* phone: the page scrolls; the picture keeps 16:9 and the exact request opens under the form */
.pzm23 { display: none; }
@media (max-width: 900px) {
  .cmain.open23 > .viewer { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .cmain.open23 > .sw23s { overflow: visible; }
}
@media (max-width: 760px) { .cmain > .sw23s { margin: 0; } }  /* a phone keeps the exact request under the stage (Codex 22. 10.) */

/* návrh 23 krok 4: "Čo sa stane" and its switch Nehybný záber stay on one line in the narrow panel */
.irow .ms23 { display: inline-flex; align-items: center; white-space: nowrap; }
.irow:has(> .ms23) .ilbl { white-space: nowrap; }
/* Peter 23. 10.: a click kept while the line waits says so on the button, whatever its markup */
button[data-n23-busy]::after { content: " · " attr(data-n23-busy); font-weight: 400; }
.cam23 { margin: 4px 0 0; color: var(--warn); }  /* Peter 23. 10.: the camera written in the plan text */
/* dohoda 65: the line of an older request while the new one is composed — never read as what leaves */
.old65 { opacity: .45; transition: opacity .15s; }
.sm23 .chg65 { color: var(--warn, #b26a00); }
