/* Contract KPIs, reports, mobilisation and the prepared contract (contract-kpi-ui.js). Only what app.css and contracts-ui.css
   do not already have; colours come from the theme variables. */
.kx-grid{margin-top:var(--gap)}
.kx-pad{padding:10px 13px;margin:0;line-height:1.5}
.kx-pad b{color:var(--ink);font-weight:600}
.kx-sub{margin:6px 13px 2px;font-size:11.5px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--ink-3)}
.kx-score,.kx-rec,.kx-caps,.kx-version,.kx-mob{margin-bottom:var(--gap)}
.kx-score .pane-h,.kx-version .pane-h,.kx-mob .pane-h{border-top:1px solid var(--line)}
.kx-version .pane-h:first-child,.kx-mob .pane-h:first-child{border-top:0}
.kx-version h3,.kx-mob h3{margin:0;font-size:13px;font-weight:600}
.kx-range{align-items:flex-end;max-width:460px}
.kx-flag{margin:6px 0;padding:7px 10px;border-radius:8px;background:var(--warn-soft);color:var(--ink);line-height:1.45;font-size:12.5px}
.kx-flag[data-k="not_in_force"]{background:var(--s2)}
.kx-mt{margin-top:6px}
.ct-acts a.btn{text-decoration:none}
.kx-tasks{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}
.kx-tasks .fchk{font-size:12.5px}
.kx-more{margin-top:4px}
.kx-switch{align-items:center;border-top:1px solid var(--line)}
.ct-row .ct-num .pill{margin-top:2px}
@media (max-width:640px){
  .kx-range{max-width:none}
  .kx-score .ct-row,.kx-version .ct-row{flex-wrap:wrap}
  .kx-score .ct-num{flex-direction:row;align-items:center;gap:8px}
}
/* polish sweep: a paragraph in a card is body size, not the page's 16px (a hint keeps its own size) */
.kx-pad:not(.hint){font-size:12.5px}
