#modal.record-checklist-dialog,#modal.install-response-dialog{width:min(860px,calc(100vw - 40px));max-height:calc(100dvh - 48px);overflow:auto}
.response-section-title{font-size:19px;font-weight:500;margin:24px 0 8px}.checklist-response-row{position:relative;display:grid;grid-template-columns:minmax(160px,1fr) minmax(240px,1.2fr) 32px;gap:18px;align-items:start;padding:22px 0;border-top:1px solid var(--divider)}.response-label{font-size:16px;line-height:1.5;overflow-wrap:anywhere;padding-top:8px}.response-required{color:#b42318}.response-answer{min-width:0}.response-answer input:not([type=checkbox]):not([type=radio]):not([type=file]),.response-answer select{width:100%;margin:0}.response-check{display:flex;gap:10px;align-items:center;margin:0!important;border:1px solid var(--primary);border-radius:22px;padding:9px 14px!important;color:var(--primary)}.response-check input,.response-pills input{width:18px!important;height:18px;min-height:18px;margin:0!important;flex:none;accent-color:var(--primary)}.response-pills{display:flex;gap:8px;flex-wrap:wrap}.response-pills label{display:flex;align-items:center;gap:8px;border:1px solid var(--divider);border-radius:20px;margin:0;padding:8px 12px;line-height:1.4;overflow-wrap:anywhere}.response-pills label:has(input:checked){background:var(--canvas);border-color:var(--primary)}.response-pills .response-pass{color:#247747}.response-pills .response-flag{color:#8b6500}.response-pills .response-fail{color:#b42318}.response-clear{border:0;background:transparent;text-decoration:underline;font-size:12px;padding:4px 8px}.response-comment{display:contents}.response-comment summary{grid-column:3;grid-row:1;list-style:none;cursor:pointer;position:relative;padding:8px 0}.response-comment summary::-webkit-details-marker{display:none}.response-comment svg{height:24px;width:24px;fill:none;stroke:var(--secondary);stroke-width:1.5}.comment-dot{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--primary);right:2px;top:5px}.response-comment>div{grid-column:1/-1;background:var(--canvas);padding:12px 16px;border-radius:5px}.response-comment label{margin:0}.response-comment textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:90px}.response-comment small{display:block;margin-top:8px;color:var(--secondary)}.response-photo-list{display:flex;flex-wrap:wrap;gap:12px}.response-photo-list figure{position:relative;width:90px;margin:0 0 12px}.response-photo-list img{width:88px;height:76px;object-fit:cover;border:1px solid var(--divider);border-radius:5px}.response-photo-list figcaption{font-size:11px;line-height:15px;overflow-wrap:anywhere;margin-top:4px}.response-photo-list button{position:absolute;right:-7px;top:-7px;background:var(--surface);border:1px solid var(--divider);border-radius:50%;width:24px;height:24px;min-height:24px;padding:0}.response-upload-actions{display:flex;gap:8px;flex-wrap:wrap}.response-upload-actions button{font-size:13px;padding:7px 11px}.response-photo small{display:block;margin-top:8px;color:var(--secondary);font-size:12px}.response-upload-error{color:#b42318;margin:8px 0 0}.checklist-photo-preview{width:min(1000px,calc(100vw - 48px));max-height:calc(100dvh - 48px);padding:20px;box-sizing:border-box;color:var(--ink);background:var(--surface)}.checklist-photo-preview header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 16px}.checklist-photo-preview h2{font-size:18px;overflow-wrap:anywhere;margin:0}.checklist-photo-preview>img{display:block;max-width:100%;max-height:calc(100dvh - 160px);object-fit:contain;margin:auto}.install-response-dialog .install-fields{border:0;padding:0}.install-response-dialog .actions{position:sticky;bottom:0;background:var(--surface);padding:16px 0;margin:0}.checklist-response-row:has(:disabled) .response-label{opacity:.85}
[data-theme=dark] .response-required,[data-theme=dark] .response-upload-error,[data-theme=dark] .response-pills .response-fail{color:#ffaaa0}[data-theme=dark] .response-pills .response-pass{color:#9addad}[data-theme=dark] .response-pills .response-flag{color:#f6d06b}[data-theme=dark] .response-check{color:#efb47a;border-color:#efb47a}
@media(max-width:700px){.checklist-response-row{grid-template-columns:minmax(0,1fr) 32px;gap:12px}.response-label{grid-column:1}.response-answer{grid-column:1;grid-row:2}.response-comment summary{grid-column:2}.response-comment>div{grid-column:1/-1}.response-section-title{margin-top:18px}}
.response-comment::details-content{display:contents}.response-comment:not([open])::details-content{display:none}
.install-response-dialog .actions{display:flex;justify-content:flex-end;gap:12px}
