/* css/modules/qz.css: the .qz-* module — split out of css/app.css by #360's sibling stage (#362).
   Load order is core.css, then every modules/*.css alphabetically; rules here
   are in their original relative order, and no selector in this file appears in
   any other (asserted in tests/css-split-check.js). */

/* ==========================================================================
   ASSESSMENTS (#238) — the dispatcher's quiz authoring and question analysis.
   `qz-` verified unused in css/app.css, driver/driver.css, js/app.js and
   driver/driver.js before it was added. Deliberately NOT a bare single-word
   class: `.card`, `.chk`, `.act`, `.list`, `.detail`, `.board`, `.kpis`,
   `.tabs`, `.reco`, `.grid`, `.items`, `.sum` and `.flow` are all already taken
   here, and borrowing one silently inherits its layout — which is exactly how
   the recommendations panel once shipped rendering sideways.
   ========================================================================== */
.qz-q{border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:12px;background:#fbfcfe}
.qz-q__hd{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.qz-q__n{font-weight:900;font-size:12px;color:var(--muted);letter-spacing:.4px;text-transform:uppercase}
.qz-q__tools{margin-left:auto;display:flex;gap:4px}
.qz-opts{margin-top:8px}
.qz-opt{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.qz-opt input[type=text]{flex:1;min-width:0}
.qz-opt__tick{display:flex;align-items:center;gap:5px;font-weight:800;font-size:12px;color:var(--muted);white-space:nowrap}
.qz-opt__x{border:none;background:none;color:var(--red);font-weight:900;cursor:pointer;font-size:15px;padding:0 4px}
.qz-warn{background:#fff6f2;border:1px solid var(--red);border-radius:10px;padding:10px 12px;margin-bottom:12px;
  color:#8a2b12;font-weight:700;font-size:12.5px;line-height:1.55}
.qz-warn ul{margin:6px 0 0;padding-left:18px}
/* Failure rate. A bar rather than a bare number so the worst-first ordering is
   readable at a glance; the number is still printed beside it, because a bar is
   not a figure anyone can quote in a toolbox talk. */
.qz-rate{display:flex;align-items:center;gap:8px;min-width:130px}
.qz-rate__bar{flex:1;height:8px;border-radius:5px;background:#eceff4;overflow:hidden}
.qz-rate__fill{display:block;height:100%;background:var(--orange);border-radius:5px}
.qz-rate__fill--hot{background:var(--red)}
.qz-rate__n{font-weight:900;font-size:12.5px;min-width:42px;text-align:right}
.qz-stem{font-weight:800}
.qz-gone{display:inline-block;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.3px;
  padding:1px 6px;border-radius:5px;background:#eceff4;color:#5b6472;margin-left:6px}
.qz-lead{color:var(--muted);font-weight:700;font-size:13px;line-height:1.55;margin:4px 0 0;max-width:720px}
/* "No attempts recorded yet" is NOT a 0% failure rate — the same refusal the
   dashboard's speed tile makes about showing 0 before it has looked. */
/* The heading carries its own class rather than being styled as `.qz-empty b` —
   a bare `b` selector would make every emphasis in the body copy a block too,
   breaking "This is not a 0% failure rate" across three lines. The same mistake
   was made once on the driver's result panel; see `.qz-res__t`. */
.qz-empty{padding:34px 26px;text-align:center;color:var(--muted);font-weight:700;line-height:1.6}
.qz-empty__t{display:block;color:var(--ink);font-size:15px;margin-bottom:6px}
/* A QUESTION NEVER ASKED IS NOT A QUESTION AT 0% (#236 report 6). The analysis
   rows come off recorded answers, so an authored question no attempt has drawn
   produces no row — normal, not exceptional, once `bankDraw` is in play. These
   name the remainder rather than letting the table read as the whole bank, the
   same refusal primeNote() and utScopeNote() make about a bounded scan. */
.qz-bank b{color:var(--ink)}
.qz-never{padding:16px 18px;margin-top:12px;border-left:4px solid var(--orange)}
.qz-never__t{display:block;font-size:13.5px;margin-bottom:4px}
.qz-neverl{margin:9px 0 0;padding-left:20px;font-weight:700;font-size:12.5px;line-height:1.7}
.qz-never__c{color:var(--muted);font-weight:700;font-size:11.5px}
