/* ---- PM schedules (mod/pm.js and the machine's PM tab) ---- */
.pm-sum{display:flex; gap:8px; flex-wrap:wrap; margin:2px 0 14px;}
.pm-sum .pill b{font-size:14px; color:inherit;}
.pm-ins{font-size:13px; color:var(--muted); margin-top:4px; line-height:1.45;}
.pm-pick:empty{display:none;}
/* the item card already carries .m in muted; the board note is the warning
   colour so "it is already out with someone" is not missed */
.item .m.warnc{color:var(--warn); margin-top:4px;}
.item button.pm-hist{width:auto; margin-top:10px; min-height:30px; padding:4px 11px; font-size:12.5px;
  border-radius:var(--r-pill);}

/* ---- checklists (D52 item 6) ----
   Rule 8: a result is a WORD in a FRAME, never a hue on its own. The
   chosen answer gets a 2px solid border and bold text; colour is added on
   top for those who see it. */

/* the editor in the schedule form: one line per row */
.ck-ed .ck-row{display:flex; gap:6px; align-items:center; margin-top:6px;}
.ck-ed .ck-row input.ck-text{flex:1; min-width:0; padding:8px 10px; font-size:14px;}
.ck-ed .ck-row select{width:auto; flex:none; padding:8px 6px; font-size:13px;}
.ck-ed .ck-row input.ck-unit{width:64px; flex:none; padding:8px; font-size:13px;}
.ck-ed .ck-row button{width:auto; min-height:32px; min-width:32px; padding:4px 8px; flex:none; font-size:14px; line-height:1;}
.ck-ed .ck-row button.del:hover:not(:disabled){color:var(--bad);}
.ck-ed .ck-empty{font-size:12.5px; color:var(--muted); margin:4px 0 0;}

/* filling it in when the PM is done */
.ck-fill .ck-item{padding:10px 0; border-bottom:1px solid var(--line);}
.ck-fill .ck-item:last-of-type{border-bottom:0;}
.ck-fill .ck-t{font-size:14px; line-height:1.4;}
.ck-fill .ck-choices{display:flex; gap:6px; margin-top:7px;}
.ck-fill .ck-choices button{flex:1; min-height:36px; padding:5px 8px; font-size:13.5px;
  background:transparent; border:1px solid var(--line); color:var(--muted);}
.ck-fill .ck-choices button.on{border:2px solid var(--text); font-weight:700; color:var(--text);
  background:var(--panel-2); padding:4px 7px;}
.ck-fill .ck-choices button.on.pass{border-color:var(--good); color:var(--good);}
.ck-fill .ck-choices button.on.fail{border-color:var(--bad); color:var(--bad);}
.ck-fill .ck-more{display:flex; gap:6px; margin-top:6px; align-items:center;}
.ck-fill .ck-more input{padding:8px 10px; font-size:13.5px; min-width:0;}
.ck-fill .ck-more input.ck-val{width:110px; flex:none;}
.ck-fill .ck-more .ck-unit{font-size:12.5px; color:var(--muted); flex:none;}
.ck-fill .ck-report{margin-top:12px; border:1px solid var(--line); border-radius:var(--r-md); padding:6px 10px;}
.modal .card:has(.ck-fill), .modal .card:has(.ck-ed){max-width:560px;}

/* the findings on a completion (PM tab, PM screen) */
.ck-res{margin-top:6px; font-size:12.5px;}
.ck-res summary{cursor:pointer; color:var(--muted); font-family:var(--mono); font-size:11.5px;}
.ck-res summary:hover{color:var(--text);}
.ck-res .ck-line{display:flex; gap:8px; padding:3px 0 3px 4px; line-height:1.4; align-items:baseline;}
.ck-res .ck-line .r{font-family:var(--mono); font-size:11px; flex:none; min-width:58px; letter-spacing:.04em;}
.ck-res .ck-line .r.pass{color:var(--good);}
.ck-res .ck-line .r.fail{color:var(--bad); font-weight:700;}
.ck-res .ck-line .r.na{color:var(--muted);}
.ck-res .ck-line .nt{color:var(--muted);}
.ck-res .ck-line.fail .tx{font-weight:600;}
