.maintenance-library{margin:20px 0}.maintenance-library>summary{padding:12px 0;cursor:pointer;font-size:18px}.maintenance-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.maintenance-library-grid article{min-width:0}.maintenance-library-grid pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 system-ui}.checklist-builder-step{border:1px solid #d3e0e9;border-radius:12px;margin:12px 0;padding:14px}.checklist-builder-step summary{cursor:pointer;font-weight:650;line-height:1.5}.checklist-builder-step>.actions{margin-top:14px}.checklist-progress{font-weight:650;color:#147c83;margin:16px 0}.checklist-section-nav{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:6px 0 12px}.checklist-section-nav button{flex:0 0 auto;max-width:260px;white-space:normal;font-size:13px}.checklist-section-nav button[aria-current=step]{background:#e3f5f3;border-color:#138487;color:#12575c;font-weight:700}.checklist-answer{padding:14px 0;border-bottom:1px solid #dae5ed}.checklist-answer label{display:flex;flex-direction:column;gap:8px}.checklist-answer small{display:block;line-height:1.6;color:#587184;margin-top:7px}.checklist-answer[hidden]{display:none!important}.checklist-answer .notice{font-size:14px;padding:10px;background:#fff4df;color:#664508;border-radius:8px}.checklist-answer input,.checklist-answer select,.checklist-answer textarea{width:100%;box-sizing:border-box}.checklist-builder-step textarea{min-height:90px}@media(max-width:600px){.checklist-builder-step{padding:10px}.checklist-section-nav button{max-width:180px}.maintenance-library-grid{grid-template-columns:1fr}}
#mobile-maintenance{min-width:0;max-width:100%}#mobile-maintenance fieldset{min-width:0;width:100%;max-width:100%;padding:0;box-sizing:border-box}[data-maintenance="answers"],#offline-maintenance-checklist{min-width:0;max-width:100%}.checklist-answer label{overflow-wrap:anywhere}.checklist-answer input,.checklist-answer select,.checklist-answer textarea{min-width:0;max-width:100%}
/* Shared checklist builder and field runner: compact office controls, touchable answers. */
.checklist-builder{max-width:1100px}.checklist-builder-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:0 0 14px;border-bottom:1px solid #dce2e6}.checklist-builder-bar strong{font-size:16px}.checklist-builder-bar small{display:block;color:#72808a;font-size:12px;margin-top:5px}.checklist-mode{display:flex;gap:0}.checklist-mode button{border-radius:0;min-height:32px;padding:5px 12px}.checklist-mode button[aria-pressed=true]{background:#eaf4f1;border-color:#67988c;color:#225f50}.checklist-palette{display:flex;flex-wrap:wrap;gap:7px;padding:16px 0}.checklist-palette button{display:flex;align-items:center;gap:7px;background:#fff;min-height:34px;font-size:12px;padding:6px 10px;border:1px solid #d8e0e5;border-radius:4px}.checklist-palette button span{font-size:13px;color:#36695f;min-width:20px;text-align:center}.checklist-builder .checklist-builder-step{border:1px solid #dce2e6;border-radius:4px;padding:0;margin:0 0 8px;background:#fff;box-shadow:none}.checklist-builder-step>summary{display:flex;align-items:center;gap:12px;list-style:none;padding:12px 14px;font-size:13px}.checklist-builder-step>summary::-webkit-details-marker{display:none}.checklist-step-number{display:grid;place-items:center;border:1px solid #dce2e6;border-radius:4px;width:27px;height:27px;flex:none;color:#6b7c86;font-size:12px}.checklist-step-caption{flex:1;min-width:0}.checklist-step-caption strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}.checklist-step-caption small{display:block;margin-top:4px;color:#71808a;font-size:11px;font-weight:400}.checklist-step-icon{color:#527b70;font-size:14px}.checklist-step-editor{padding:0 14px 14px;border-top:1px solid #e8edef}.checklist-step-actions{display:flex;gap:5px;flex-wrap:wrap;padding:10px 0}.checklist-step-actions button{padding:3px 8px;font-size:11px;min-height:28px;background:#fff;border-color:#dce2e6}.checklist-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 16px}.checklist-editor-grid>label{display:flex;flex-direction:column;gap:5px;margin:0;font-size:12px;font-weight:500}.checklist-editor-grid>.wide{grid-column:1/-1}.checklist-editor-grid input,.checklist-editor-grid select,.checklist-editor-grid textarea{width:100%;box-sizing:border-box;min-height:34px;font-size:13px}.checklist-builder .checklist-editor-grid textarea{min-height:60px}.checklist-editor-grid .checklist-required{display:flex;flex-direction:row;align-items:center;gap:8px}.checklist-editor-grid .checklist-required input{width:16px;min-height:16px}.checklist-extra{margin-top:12px;border-top:1px solid #edf0f2;padding-top:9px}.checklist-extra>summary{font-size:12px;font-weight:500;cursor:pointer;color:#5e7480}.checklist-extra .checklist-editor-grid{padding-top:12px}.checklist-empty{text-align:center;border:1px dashed #cdd9df;padding:28px 18px;margin:4px 0 16px;color:#566b77}.checklist-empty p{font-size:12px;max-width:550px;margin:10px auto}.checklist-runner{max-width:900px}.checklist-runner .checklist-answer{padding:16px;border:1px solid #dce5e9;border-radius:5px;margin:0 0 10px;background:#fff}.checklist-field-label{font-weight:600;font-size:14px;line-height:1.5}.checklist-field-label>input,.checklist-field-label>select,.checklist-field-label>textarea{margin-top:9px}.checklist-choices{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.checklist-choices button{min-height:44px;padding:9px 18px;border:1px solid #ced9de;border-radius:4px;background:#fff;color:#51656f;font-size:14px}.checklist-choices button[data-choice=yes][aria-pressed=true]{background:#e3f4e9;color:#166438;border-color:#39a66b}.checklist-choices button[data-choice=no][aria-pressed=true]{background:#fff0ed;color:#a12d27;border-color:#d9766a}.checklist-choices button[data-choice=""]{padding:6px 12px;color:#839099}.checklist-runner .checklist-tick{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:14px;padding:9px 14px;min-height:44px;border:1px solid #ced9de;border-radius:4px;box-sizing:border-box}.checklist-runner .checklist-tick:has(input:checked){background:#e3f4e9;border-color:#39a66b;color:#166438}.checklist-runner .checklist-tick input,.checklist-runner .checklist-sign-consent input{width:19px;flex:none;min-height:19px}.checklist-photo-control{margin-top:10px}.checklist-photo-control select{font-size:13px;min-height:38px}.checklist-runner .checklist-photo-pick{display:inline-flex;flex-direction:column;gap:7px;border:1px dashed #afc9c1;background:#f7fbf9;border-radius:4px;padding:12px;margin-top:10px;max-width:100%;box-sizing:border-box;font-weight:500;font-size:13px}.checklist-photo-pick input{font-size:12px}.checklist-runner [data-check-signature]{margin-top:12px;font-weight:400}.checklist-runner [data-check-signature]>label{margin:12px 0;font-size:13px}.checklist-runner [data-sign-pad] canvas{border:1px solid #9fb8af!important;border-radius:4px!important;margin-top:12px}.checklist-runner .checklist-sign-consent{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-size:12px;line-height:1.5}.checklist-runner [data-sign-accept]{min-height:40px;font-size:13px}.checklist-runner .checklist-progress{font-size:12px;color:#3e7467;background:#f2f8f5;border-left:3px solid #6da18e;padding:10px 12px;margin:12px 0}.checklist-editor-grid>label[hidden]{display:none!important}
@media(max-width:650px){.checklist-builder-bar{align-items:flex-start;flex-wrap:wrap}.checklist-palette{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.checklist-palette button{font-size:11px;padding:7px 6px;min-height:42px;justify-content:center}.checklist-palette button span{min-width:12px}.checklist-editor-grid{grid-template-columns:1fr}.checklist-editor-grid>.wide{grid-column:auto}.checklist-builder-step>summary{padding:12px 10px}.checklist-step-editor{padding:0 10px 12px}.checklist-runner .checklist-answer{padding:13px}.checklist-runner .checklist-section-nav button{min-height:42px}.checklist-choices button{flex:1}.checklist-choices button[data-choice=""]{flex:0}.checklist-photo-pick{width:100%}}
.checklist-runner .checklist-tick input{accent-color:#258a54}.checklist-runner [data-photo-preview] img{display:block;max-width:220px;max-height:180px;object-fit:contain;margin-top:10px;border:1px solid #dae3e7;border-radius:4px}
