/* web/ui/checklist.css (INS-T4): steps 10 and 11 of the Install page, the
   commissioning checklist and the sign-off (web/lib/checklist-view.js).
   chk- rules only. Phone first: each item is a card, its three answer
   buttons a row big enough for a thumb. Colours from tokens.css. */

.chk{display:flex;flex-direction:column;gap:16px}
.chk-left{margin:0;font-size:16px}
.chk-gate{margin:0;padding:8px 12px;border-radius:8px;border-left:4px solid var(--bad);background:var(--bad-bg)}
.chk-msg{margin:0 0 10px;padding:8px 12px;border-radius:8px;background:var(--surface-2)}
.chk-area h3{margin:0 0 8px}
.chk-items{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.chk-item{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;min-width:0}
.chk-item p{margin:0}
.chk-pass{border-left:4px solid var(--good)}
.chk-fail{border-left:4px solid var(--bad)}
.chk-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.chk-title{font-size:16px;overflow-wrap:anywhere}
.chk-how summary{cursor:pointer;color:var(--ink-2);font-size:13px}
.chk-how p{margin:6px 0 0}
.chk-note-read{font-style:italic}
.chk-answer{display:flex;flex-direction:column;gap:8px}
.chk-buttons{display:flex;flex-wrap:wrap;gap:6px}
.chk-buttons .btn{min-height:44px;min-width:88px}
.chk-res[aria-pressed="true"]{border-color:var(--accent);font-weight:600}
.chk-res-pass[aria-pressed="true"]{background:var(--good-bg);color:var(--ink);border-color:var(--good)}
.chk-res-fail[aria-pressed="true"]{background:var(--bad-bg);color:var(--ink);border-color:var(--bad)}
.chk-sign{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.chk-sign h3{margin:0}
.chk-signed{margin:0}
.chk-sigs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;margin:0}
.chk-sigs div{background:var(--surface-2);border-radius:8px;padding:8px 10px;min-width:0}
.chk-sigs dt{font-size:12px;color:var(--ink-2)}
.chk-sigs dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.chk-signform,.chk-unsign{display:flex;flex-direction:column;gap:8px}
.chk-signform .btn,.chk-unsign .btn{min-height:44px}
