.checklist-tools{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 24px}.checklist-tools button{font-size:14px;min-height:44px}
.checklist-dialog{box-sizing:border-box;width:min(680px,calc(100% - 24px));height:min(820px,92dvh);max-height:92dvh;border:1px solid var(--line);border-radius:22px;background:var(--panel);color:var(--text);padding:24px;overflow:auto;overscroll-behavior:contain}
.checklist-dialog::backdrop{background:var(--backdrop)}.checklist-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.checklist-dialog h2{font-size:28px;margin:0}.checklist-dialog .eyebrow{margin:0 0 8px;overflow-wrap:anywhere}.checklist-dialog .icon-button{font-size:26px;min-width:44px;min-height:44px;flex-shrink:0}
.checklist-dialog button:hover,.checklist-tools button:hover,#checklist-common-form button:hover{background:var(--hover-bg)!important}.checklist-dialog button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.checklist-feedback{color:var(--muted);font-size:14px;line-height:1.5;overflow-wrap:anywhere}.checklist-feedback:empty{display:none}.checklist-progress{display:flex;gap:16px;align-items:center;margin:24px 0;color:var(--muted);font-size:14px}.checklist-progress progress{width:120px;height:7px;accent-color:var(--good);margin-left:auto}
.checklist-group{margin:24px 0}.checklist-group h3{font-size:13px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:0 0 10px}.checklist-item{display:flex;align-items:center;gap:14px;padding:14px 12px;margin:6px 0;border-radius:12px;background:var(--bg);cursor:pointer}.checklist-item:hover{background:var(--hover-bg)}.checklist-item input{width:22px;height:22px;min-height:22px;flex-shrink:0;margin:0;accent-color:var(--good)}.checklist-item>span{display:grid;gap:4px;min-width:0}.checklist-item strong{font-weight:550;overflow-wrap:anywhere}.checklist-item small{color:var(--muted)}.checklist-item.is-checked strong{text-decoration:line-through;color:var(--muted)}.checklist-item.is-checked{background:var(--good-bg)}
.checklist-note-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.checklist-note-actions button{font-size:14px;min-height:44px}.checklist-note{padding:18px 0;border-bottom:1px solid var(--line)}.checklist-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 10px;line-height:1.6}.checklist-note small{color:var(--muted)}.checklist-note>div{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:8px}.checklist-note button{min-height:40px}.checklist-note-form textarea{width:100%;box-sizing:border-box;resize:vertical;font-size:16px;line-height:1.5}.checklist-recorder{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--soft);border-radius:14px;padding:16px;margin:16px 0}.checklist-recorder>span{flex:1;min-width:130px}.checklist-recorder button{min-height:44px}
.checklist-common-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:12px;align-items:end;margin-bottom:18px}.checklist-common-row .quote-field{min-width:0}.checklist-common-row select{box-sizing:border-box;width:100%;min-height:46px;padding:10px;border-radius:10px;border:1px solid var(--line);background:var(--bg);color:var(--text);font:inherit;font-size:16px}.checklist-common-row .icon-button{padding:10px;min-height:46px}#checklist-common-form>.primary-button{margin-top:18px;display:block}#checklist-common-form input{font-size:16px}
@media(max-width:600px){.checklist-dialog{padding:18px;width:calc(100% - 16px);height:94dvh;max-height:94dvh}.checklist-tools button{flex:1;white-space:nowrap;padding:12px}.checklist-common-row{grid-template-columns:minmax(0,1fr) 40px;gap:8px;padding-bottom:16px;border-bottom:1px solid var(--line)}.checklist-common-row>label:nth-child(2){grid-row:2;grid-column:1}.checklist-common-row>button{grid-column:2;grid-row:1}.checklist-dialog h2{font-size:24px}}

.checklist-header-actions{display:flex;gap:8px;align-items:center}.checklist-mic{display:grid;place-items:center;background:var(--soft);color:var(--accent);border-radius:50%}.checklist-notes-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.checklist-notes-heading h3{font-size:16px;margin:0}.checklist-notes-heading button{min-height:44px;font-size:14px}.checklist-notes-section .checklist-note:first-child{padding-top:8px}

.checklist-dialog>header{position:sticky;top:-24px;background:var(--panel);z-index:2;padding:8px 0}.checklist-dialog .checklist-mic:disabled{opacity:.5}@media(max-width:600px){.checklist-dialog>header{top:-18px}}

.checklist-note-row{position:relative;overflow:hidden;border-radius:12px;margin:6px 0;touch-action:pan-y;background:var(--bg)}.checklist-note-row>.checklist-item{position:relative;margin:0;transition:transform .18s ease;min-height:54px;box-sizing:border-box}.checklist-note-row strong{white-space:pre-wrap}.checklist-note-delete{position:absolute;right:0;top:0;bottom:0;width:54px;padding:0;display:grid;place-items:center;color:var(--muted);background:var(--bg);border:0;opacity:0;pointer-events:none;border-radius:12px;cursor:pointer}.checklist-note-row:hover .checklist-note-delete,.checklist-note-delete:focus-visible,.checklist-note-row.is-revealed .checklist-note-delete{opacity:1;pointer-events:auto}.checklist-note-row>.checklist-item{padding-right:58px}.checklist-note-row.reveal-left .checklist-note-delete{right:auto;left:0}.checklist-note-row.is-dragging>.checklist-item{transition:none;user-select:none}.checklist-delete-confirm{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 12px}.checklist-delete-confirm button{min-height:44px}.checklist-header-actions{gap:4px}.checklist-dialog>header{gap:8px}
@media(hover:none),(pointer:coarse){.checklist-note-row>.checklist-item{padding-right:12px}.checklist-note-row:not(.is-revealed) .checklist-note-delete{opacity:0;pointer-events:none}.checklist-note-row:focus-within .checklist-note-delete:focus-visible{opacity:1;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){.checklist-note-row>.checklist-item{transition:none}}
