/* Návrh 27 — Poradca (copied from docs/navrh-portalu-2026-10/navrh-27/navrh27.css; port: .sw23s[data-pz27] under the
   viewer like Model dostane). Only what is new against the portal's CSS, navrh23.css (Model dostane) and navrh24.css (the shot's
   grammar). The adviser's card sits under the stage like "Model dostane"; a changed control is marked in the panel. */
.w25 { color: var(--warn); font-weight: 600; }

/* the adviser's card: conflicts first, then the changes, each with Prijať · Odmietnuť */
.pz27 { display: grid; gap: 8px; padding: 10px 14px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--accent-line); }
.pz27 .ph23 .linkish { font-size: 12.5px; }
.chl27, .cfl27 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }  /* Peter 30. 10.: a long word never widens the list past the panel */
.ch27 { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 8px 10px; border-radius: 9px; background: var(--well); border: 1px solid var(--line); }
.ch27.ok27 { border-color: rgba(127, 211, 162, .45); }
.ch27.no27 { opacity: .55; }
.ch27.paid27 { border-style: dashed; }
.cl27 { display: grid; gap: 2px; font-size: 12.5px; }
.cl27 b { color: var(--text); font-weight: 600; }
.pr27 { font-size: 11.5px; color: var(--warn); }
.cv27 { min-width: 0; display: grid; gap: 3px; }
.cv27 .sgd23 { margin: 0; font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.cv27 del { color: var(--muted); text-decoration-color: var(--bad); }
.cv27 ins { text-decoration: none; background: rgba(127, 211, 162, .14); color: var(--ok); border-radius: 3px; padding: 0 2px; }
.why27 { margin: 0; font-size: 12.5px; color: var(--text2); line-height: 1.45; }
.cb27 { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.cb27 .btn.small { white-space: nowrap; }
.st27 { font-size: 12px; font-weight: 600; color: var(--ok); }
.ch27.no27 .st27 { color: var(--muted); }
.cf27 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--warn-line); background: var(--warn-bg); font-size: 13px; color: var(--text); }
.pf27 { display: flex; align-items: center; gap: 8px; }
.pf27 .sp { flex: 1; }
.nt27 { margin: 0; }
/* what the adviser sees: a plain list, read only */
.sv27 { display: grid; gap: 4px; padding: 8px 10px; border-radius: 9px; background: var(--well); border: 1px dashed var(--line2); }
.see27 { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 3px 10px; margin: 0; font-size: 12.5px; }
.see27 dt { color: var(--muted); } .see27 dd { margin: 0; color: var(--text2); overflow-wrap: anywhere; }
/* the free quick checks: one line above the model, the click asks the adviser */
.qc27 { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 30px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--warn-line); background: var(--warn-bg); color: var(--text2); font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.qc27 .qt27 { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc27 .qp27 { flex: none; font-weight: 600; color: var(--text); }
/* a control changed by an accepted proposal */
.pr10.chg27 .pv, .sel23.chg27 b { color: var(--ok); }
.f23.chg27 .textbox { border-color: rgba(127, 211, 162, .45); }
.go23.o27 { color: var(--ok); }
.f24form .textbox textarea { overflow: hidden; resize: none; }
@media (max-width: 900px) { .ch27 { grid-template-columns: minmax(0, 1fr); } .cb27 { flex-direction: row; } }
/* the adviser open: the picture gets a strip, the proposal the room (the picture stays in view) */
.viewer.adv27 .mw23 { flex: 0 0 22%; min-height: 96px; }
.viewer.adv27 .sw23s { flex: 1 1 auto; }
@media (min-width: 901px) { .ch27 { grid-template-columns: 128px minmax(0, 1fr) auto; padding: 7px 9px; } }
/* the card's panel is narrow: one change is one column, its buttons in a row */
.pz27k .ch27 { grid-template-columns: minmax(0, 1fr); }
.pz27k .cb27 { flex-direction: row; }
.pz27k .cf27 .btn { white-space: normal; text-align: left; height: auto; }
/* after Codex's direction (24. 10.): at most three items by priority, each with its number, the price difference and the
   source of the rule; an item the form has overtaken is greyed with its reason */
.ch27 .cl27 { align-content: start; }
.nn27 { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--raised); color: var(--accent); font-size: 11px; font-weight: 800; }
.co27 { font-size: 11.5px; color: var(--muted); }
.src27 { display: inline; margin-left: 4px; padding: 0 6px; border-radius: 999px; border: 1px solid var(--line2); font-size: 11px; color: var(--muted); overflow-wrap: anywhere; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ch27.cf27 { display: grid; border-color: var(--warn-line); background: var(--warn-bg); }
.ch27.cf27 .cb27 .btn.small { white-space: normal; height: auto; min-height: 26px; text-align: left; }
.tx27 { color: var(--text); font-size: 13px; }
.ch27.stale27 { opacity: .6; border-style: dashed; }
.st27.old27 { color: var(--muted); font-weight: 500; white-space: normal; }
.ch27.alt27 { border-style: dashed; }
.no27p { margin: 0; padding: 10px 12px; border-radius: 9px; background: var(--well); font-size: 13.5px; color: var(--text2); }
.no27p b { color: var(--ok); }
.ask27 { padding: 2px 14px 10px; }
.ch27.cf27 .cb27 .btn.small { min-height: 24px; padding-block: 2px; }
.pz27 .why27 { font-size: 12px; }
/* phone: navrh23.css hides the strip under the picture below 760 px; the advice and Model dostane stay, under the picture */
@media (max-width: 760px) { .viewer.open23 .sw23s { display: block; margin: 12px 0 0; } .viewer.open23 .mw23 { flex: none; } }
.rp27 { margin-left: auto; font-size: 12.5px; }
/* Peter 24. 10.: the advice sits at the text it changes, in the panel (no longer under the picture): one column */
.qc27s:empty { display: none; }
.qc27s { padding: 0 14px 8px; }
.sw27p { padding: 0 10px 10px; }
.sw27p .pz27 { padding: 8px 10px 10px; }
.sw27p .ch27, .sw27p .ch27.cf27 { grid-template-columns: minmax(0, 1fr); }
.sw27p .cb27 { flex-direction: row; flex-wrap: wrap; }
.sw27p .see27 { grid-template-columns: minmax(0, 1fr); }

/* port: the adviser's card sits in its own strip under the viewer, beside Model dostane (shot_workspace.html) */
.cmain > .sw27s { flex: none; min-height: 0; margin-top: 10px; }
.cmain.open23 > .sw27s:not([hidden]) { flex: 1 1 50%; overflow: auto; scrollbar-width: thin; }
.pz27 .more27 { justify-self: start; font-size: 12.5px; }
