/* Návrh 25 „Karta ako jedna cesta“ (Peter 23. 10.), copied from docs/navrh-portalu-2026-10/navrh-25/navrh25.css (2f0b12bc). */

/* the panel: head (name, stages) · body (description, stage) · footer (one yellow button, the model under it) */
.drawer.d21.p25 > form { display: flex; flex-direction: column; flex: 1; min-height: 0; margin: 0; }
.p25 .ibody25 { flex: 1; min-height: 0; overflow: auto; padding: 0 0 8px; }
.h25 { display: grid; gap: 6px; padding: 12px 14px 10px 18px; border-bottom: 1px solid var(--line); }
.h25 .eyebrow { display: flex; align-items: center; gap: 6px; margin: 0; }
.h25m > summary { list-style: none; } .h25m > summary::-webkit-details-marker { display: none; }
.h25m { position: relative; } .h25m > .pop { right: 0; left: auto; top: calc(100% + 4px); bottom: auto; min-width: 240px; }
/* the name: visibly editable (a pencil, an underline on hover), "Premenovať" also in ⋯ */
.nm25 { position: relative; display: flex; align-items: center; gap: 6px; }
.nm25 input.nm22 { flex: 1; margin: 0 0 0 -6px; border-bottom: 1px dashed var(--line2); border-radius: 6px 6px 0 0; }
.nm25 input.nm22:hover { border-color: transparent transparent var(--text2); }
.nm25 .pen25 { color: var(--muted); font-size: 14px; pointer-events: none; }
.nm25:hover .pen25, .nm25:focus-within .pen25 { color: var(--accent); }
/* a twin name: two ways, never a dead end */
.dup25 { display: grid; gap: 6px; padding: 9px 10px; border-radius: 9px; border: 1px solid var(--warn-line); background: var(--warn-bg); font-size: 13px; }
.dup25 > b { display: inline-flex; align-items: center; gap: 6px; color: var(--warn); }
.dup25 .btn { white-space: normal; text-align: left; height: auto; min-height: 30px; flex-basis: 100%; }
/* the stages of the card (the tabs of the shot, návrh 24) */
.st25 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 2px 0 0; }
.st25 { flex-wrap: nowrap; gap: 3px; }
.st25 .sv19 { height: 26px; padding: 0 6px 0 7px; gap: 4px; font-size: 11.5px; white-space: nowrap; }
.st25 .sv19 .c { min-width: 16px; height: 17px; padding: 0 4px; font-size: 10.5px; }
.st25 .ar24 { font-size: 11px; margin: 0 -1px; }
/* the description on top; one Model dostane under the field (never in the footer, never over the field) */
.op25 .sum23 { margin-top: 8px; }
.op25 .pzs23 { margin-top: 8px; }
.vl25 { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; line-height: 1.6; }
.vl25 i { font-style: normal; color: var(--muted); margin-right: 4px; }
/* the footer: one yellow button (and the next step beside a "znova"), the model in one row under it, always */
.p25 .ifoot { position: relative; display: grid; gap: 8px; }
.bt25 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.bt25 .btn.big { justify-content: center; padding: 0 10px; font-size: 13.5px; }
.bt25 .btn.big > span { white-space: normal; text-align: center; line-height: 1.2; }
.bt25 .btn.big { flex-wrap: wrap; row-gap: 2px; } .bt25 .btn.big .price { font-size: 11.5px; }
.mrow25 { display: flex; align-items: center; gap: 6px; }
.mrow25 .selbtn { flex: 1; min-width: 0; }
.p25 .mrow25 .selpop.pop22 { position: absolute; left: 12px; right: 12px; bottom: calc(100% + 6px); z-index: 30; max-height: calc(100vh - 140px); overflow: auto; }
.more25 { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.more25 > summary { cursor: pointer; padding: 6px 10px; font-size: 12.5px; color: var(--muted); }
.more25 .mo22 small { color: var(--warn); }
.mk25 i.ok { color: #0d1a12; }
.mkth25 { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #14171A 0 6px, #191D20 6px 12px); color: var(--accent); font-size: 12px; }
.ask25 { margin: 10px 18px 0; }
.up25 { cursor: pointer; }
/* the tiles: a tile opens its own menu; a place says when each view is used */
.cslot .cl small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 400; line-height: 1.3; }
.cslot .cl.wh25 { background: none; }
.cgrid.three25 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cstrip .mk25 { margin-top: 3px; }
@media (max-width: 760px) { .bt25 { grid-template-columns: minmax(0, 1fr); }
  .h25, .h25 .eyebrow, .nm25, .nm25 input.nm22 { min-width: 0; } .h25 .eyebrow { flex-wrap: wrap; }
  .st25 { flex-wrap: wrap; } .h25m > .pop { right: 0; max-width: calc(100vw - 32px); } }  /* a phone: the head wraps, the menu stays on screen */
/* round 1 of Codex: nothing is cut at 1280×720, the Pas and the "when" lines wrap; the views of an older main picture */
.p25 .ifoot, .bt25 > *, .p25 .mrow25 { min-width: 0; }
.bt25 .btn.big { width: 100%; }
.p25pas li > div { min-width: 0; overflow-wrap: anywhere; }
.cslot .cl:has(small) { white-space: normal; overflow: visible; text-overflow: clip; }
.cslot .cl small { white-space: normal; }
.cslot.old25 img { opacity: .55; }
.cslot .st25o { color: var(--warn); }
.old25t { color: var(--warn); }
.pop25 { margin: 4px 10px 6px; }
.pv25 > summary { cursor: pointer; list-style: none; } .pv25 > summary::-webkit-details-marker { display: none; }
.pv25[open] > summary { margin-bottom: 4px; }
.w25 { color: var(--warn); font-weight: 600; }
p.w25 { margin: 0; }

/* the port: the portal's panel keeps its own scroll (.b21) and footer (.f21) */
.p25 .b21 { padding-bottom: 8px; }
.p25 .f21.ifoot { display: grid; gap: 8px; }
.p25 .f21 .bt25 .btn { width: 100%; }
.p25 .h25m > .pop { top: calc(100% + 4px); bottom: auto; }  /* ⋯ in the head opens downward */
/* the port: the portal's panel is ~430 px; the head's parts never push it wider, the four stages fit without arrows */
.p25 .h25 > * { min-width: 0; }
.p25 .st25 .ar24 { display: none; }
.p25 .st25 { gap: 4px; flex-wrap: wrap; }
/* the run 24. 10.: the views' list sits in the panel's margin; the head's ⋯ stays on its line */
.p25 .vy24 .vl25 { margin: 0 18px 10px; }
.p25 .h25 .eyebrow { flex-wrap: nowrap; }
/* preklik 24. 11.: the state is read whole ("návrh · obrázky sa ešte kreslia"): it wraps inside its own box, the kind and
   the version never break and ⋯ stays on the line (never an ellipsis over the reason) */
.p25 .h25 .eyebrow [data-card-state] { min-width: 0; flex: 0 1 auto; white-space: normal; overflow-wrap: anywhere; }
.p25 .h25 .eyebrow .k25, .p25 .h25 .eyebrow [data-card-number] { flex-shrink: 0; white-space: nowrap; }
/* the card's rows (Zámer, Skutočná, Verzia, V záberoch) in line with its sections: the storyboard panel's -10px margin
   assumes a padded body, the card's body has none and the rows touched both edges (Peter 26. 10.) */
.p25 .rows21 { margin: 8px 4px 0; }
/* a model's refusal said in one line with its way out (Peter 26. 10.: the Seedance note took half the panel); the whole
   reason is behind (i) */
.made-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 10px; margin: 0 0 8px; font-size: 12.5px;
  border-color: var(--warn-line, var(--line2)); color: var(--warn, var(--text)); background: transparent; }
.made-note[hidden] { display: none; }
.made-note .linkish { font-weight: 600; }
