:root{color-scheme:light;--ink:#172e3d;--line:#dce4e8;--accent:#183e53}*{box-sizing:border-box}body{margin:0;background:#f3f5f6;color:var(--ink);font:16px/1.5 system-ui,-apple-system,sans-serif}header{background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:18px max(20px,calc((100vw - 1100px)/2));gap:20px}header img{max-width:110px;height:auto}header a{color:inherit}h1{font-size:26px;margin:0 0 10px}h2{font-size:20px}h3{font-size:17px;margin:0 0 8px}main{max-width:1100px;margin:25px auto;padding:0 20px 60px}section,article,.card{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;margin:16px 0}article article{background:#fafbfc}label{display:block;margin:12px 0}input,textarea,select,button{font:inherit;border:1px solid #becbd3;border-radius:7px;padding:10px 12px}input:not([type=checkbox]):not([type=radio]),textarea,select{width:100%;margin-top:5px;background:white;color:#162f3c}input[type=checkbox],input[type=radio]{width:22px;height:22px;vertical-align:middle;margin-right:8px;accent-color:var(--accent)}textarea{min-height:90px;resize:vertical}button,.button{cursor:pointer;background:var(--accent);color:white;padding:11px 17px;border:none;text-decoration:none;display:inline-block;margin:5px 5px 5px 0}button.secondary{color:var(--ink);background:#e8eef2}button:disabled{opacity:.5;cursor:default}small,.muted{color:#5d6e79;font-size:13px}.clock{text-align:right;font-size:14px;font-variant-numeric:tabular-nums}.clock small{display:block;font-size:11px}.row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}#connection{font-size:13px;padding:9px 13px;background:#e8eef2;border-radius:8px}#error,.error{background:#fce8e7;color:#8c2525;padding:12px;border-radius:7px;white-space:pre-wrap}[hidden]{display:none!important}.retired{opacity:.8;border-style:dashed}table{width:100%;border-collapse:collapse;font-size:14px}td,th{text-align:left;padding:10px;border-bottom:1px solid var(--line);vertical-align:top}.scroll{overflow:auto;max-height:70vh}.pill{display:inline-block;border-radius:20px;background:#edf2f5;padding:3px 10px;font-size:12px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:15px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}summary{cursor:pointer;font-weight:600}.upload{padding:9px;border-bottom:1px solid var(--line);font-size:14px}.help{font-size:14px;color:#5d6e79}.task-label{font-size:12px;color:#536b79;text-transform:uppercase;letter-spacing:.04em}.finish{border:2px solid #cedce4}a{color:#205d7d}input:focus,textarea:focus,button:focus,select:focus{outline:3px solid #a9d2e8;outline-offset:2px}@media(max-width:600px){main{margin-top:15px;padding:0 12px 35px}section,article{padding:16px}header{padding:14px 16px}h1{font-size:23px}.clock{font-size:12px}button{min-height:44px}td,th{padding:8px}}
/* Reserve status space so saving/focus messages never move a control under a finger. */
#connection{min-height:60px;display:flex;align-items:center}@media(max-width:600px){#connection{min-height:94px}}
/* Shared question controls */
.eyebrow-label{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#718794;margin:0 0 5px}.required-mark{color:#7d4d32}.input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}.input-grid>.wide{grid-column:1/-1}.choice-group{border:0;padding:0;margin:0;min-width:0}.choice-group legend{padding:0;font-size:15px;font-weight:600;color:#254657;line-height:1.5}.choice-group .help{margin:4px 0 10px}.choices-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px 12px}.choice-row{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 10px;border:1px solid #e0e8ed;border-radius:7px;margin:0;font-size:14px;cursor:pointer;background:#fbfcfd}.choice-row input[type=checkbox]{flex-shrink:0;margin:0;padding:0;width:20px;height:20px}.choice-row:has(input:checked){background:#edf5f8;border-color:#acc8d7}.choice-row:has(input:disabled){cursor:default}.single-confirm{font-size:15px;font-weight:500}.input-label{font-size:15px;font-weight:600;color:#254657;margin:0;display:block}.input-label input,.input-label select,.input-label textarea{font-size:15px;font-weight:400}.field-control{min-width:0}.field-control .help{margin:6px 0 0;font-size:12px}.archived-inputs{margin-top:20px;padding:12px;background:#f3f5f6;border-radius:6px}.archived-inputs summary{font-size:12px;color:#7a8d98}.archived-inputs .field-control{padding-top:12px}.question-title{font-size:16px;line-height:1.5}.input-grid .sub-input{padding-top:4px}.question-preview .input-grid .choice-row{font-size:14px}.question-preview .choice-row{margin:0}.question-preview legend{line-height:1.5}.is-complete{background:#e5f1ec;color:#366553}
/* Technician view */
.checklist-page header{position:sticky;top:0;z-index:30;min-height:88px;padding:12px max(20px,calc((100vw - 940px)/2));background:#fff}.checklist-page header img{max-width:90px}.checklist-page main{max-width:940px;padding:0 22px 40px;margin-top:18px}.checklist-page #connection{min-height:54px;font-size:12px;background:#eaf0f3;color:#526b7b;padding:10px 14px}.checklist-page .market-summary{padding:22px 25px;margin:18px 0 12px}.market-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.market-title h1{font-size:25px;margin:0;line-height:1.3}.market-address{font-size:14px;color:#57717f;margin:13px 0 9px}.schedule-hint{font-size:12px;color:#738996;margin:9px 0}.market-details{margin-top:14px;padding-top:12px;border-top:1px solid #e4ebf0}.market-details summary{font-weight:400;font-size:12px;color:#6b8493}.market-details p{font-size:13px}.visit-summary{padding:15px 20px;margin:0 0 15px!important;display:flex;gap:5px 12px;align-items:center;flex-wrap:wrap;font-size:13px}.visit-summary>strong{font-size:14px}.visit-summary>p{margin:0;flex:1;min-width:180px;font-size:12px}.visit-summary #refreshVisit{padding:6px 9px;font-size:11px;margin:0;min-height:32px}.checklist-progress{background:white;border:1px solid #dce5eb;border-radius:10px;padding:14px 20px;margin:14px 0;position:sticky;top:91px;z-index:20;box-shadow:0 3px 15px #18334407}.progress-copy{display:flex;justify-content:space-between;gap:10px;align-items:baseline;font-size:12px}.progress-copy strong{font-weight:600}.progress-copy>span{font-size:11px;color:#7a8f9b}.checklist-progress progress{width:100%;height:5px;display:block;appearance:none;border:0;border-radius:5px;background:#e9eff3;margin:10px 0 2px;accent-color:#537e98}.checklist-progress progress::-webkit-progress-bar{background:#e9eff3;border-radius:5px}.checklist-progress progress::-webkit-progress-value{background:#537e98;border-radius:5px}.checklist-progress progress::-moz-progress-bar{background:#537e98;border-radius:5px}.task-nav{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.task-nav a{background:#f3f7f9;border:1px solid #e3ebf0;color:#526e80;border-radius:5px;padding:4px 8px;font-size:10px;text-decoration:none}.task-nav a span{display:none}.task-section{background:white;border:1px solid #d9e4eb;border-radius:11px;margin:15px 0;overflow:hidden;scroll-margin-top:220px}.task-section>summary{list-style:none;padding:17px 22px;display:flex;align-items:center;gap:12px;font-size:13px;font-weight:600;cursor:pointer;min-height:58px}.task-section>summary::before{content:'›';font-size:23px;font-weight:400;color:#7d96a6;line-height:1;transition:transform .1s}.task-section[open]>summary::before{transform:rotate(90deg)}.task-section>summary>div{flex:1}.task-section>summary>div span{font-weight:400;margin-left:5px;color:#637c8b}.task-progress{border:1px solid #dce6ed;background:#f6f9fa;font-size:11px;font-weight:400;padding:2px 8px;border-radius:15px;color:#738d9d;font-variant-numeric:tabular-nums}.task-section[open]>summary{border-bottom:1px solid #e3ebf0;background:#fafcfd}.task-body{padding:0 22px}.checklist-page article.question{border:0;border-bottom:1px solid #e5ecf1;border-radius:0;background:transparent;padding:20px 0;margin:0}.checklist-page article.question:last-child{border-bottom:0}.question-kicker{display:flex;justify-content:space-between;gap:10px;color:#8a9eaa;font-size:10px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:10px}.question-kicker>span:last-child{font-size:9px}.question>.help{font-size:12px;margin:6px 0 12px}.question input:disabled,.question select:disabled,.question textarea:disabled{background:#f5f7f8;color:#6c808d;opacity:1}.question input[type=checkbox]:disabled{opacity:.65}.question>.input-grid{margin-top:14px}.question .upload{display:flex;gap:10px;align-items:center;padding:8px 0;border-bottom:0}.question .upload button{font-size:12px;padding:7px 10px;margin:0}.question .upload button:first-child{max-width:75%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.remove-file{color:#8e5d50!important;background:transparent!important;text-decoration:underline;padding:5px!important}.archived-questions{margin:18px 0;background:#edf1f3;border:1px dashed #d1dce3;padding:14px 20px;border-radius:9px}.archived-questions>summary{font-size:12px;font-weight:400;color:#7e929e}.checklist-page .finish{padding:22px 25px;margin-top:20px;border:1px solid #cadbe5;background:#fdfefe}.finish h2{margin:0 0 14px;font-size:18px}.finish label{font-size:14px}.finish>.muted{font-size:12px;margin:12px 0}.finish #checkout{width:100%;margin-top:10px}.finish #problemDetails{min-height:90px}.empty-checklist{font-size:13px;color:#6a8292}.checklist-page main>p.muted{font-size:11px;max-width:740px;color:#869ba8;margin-top:20px}input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true]{outline:2px solid #b87564;outline-offset:3px}@media(max-width:600px){.input-grid{grid-template-columns:1fr;gap:14px}.input-grid>.wide{grid-column:auto}.choices-grid{grid-template-columns:1fr}.checklist-page header{min-height:80px;padding:10px 16px}.checklist-page header img{max-width:85px}.checklist-page .clock{font-size:11px}.checklist-page .clock small{font-size:9px}.checklist-page main{padding:0 12px 30px;margin-top:12px}.checklist-page #connection{min-height:82px;font-size:11px;line-height:1.6}.checklist-page .market-summary{padding:19px;margin-top:13px}.market-title h1{font-size:23px}.market-title .pill{font-size:10px}.market-address{font-size:12px}.schedule-hint{font-size:11px}.visit-summary{padding:13px 17px;font-size:12px}.visit-summary>p{min-width:100%;font-size:11px}.visit-summary #refreshVisit{font-size:10px;margin-top:4px}.checklist-progress{top:81px;padding:12px 15px}.progress-copy{font-size:11px;flex-wrap:wrap;gap:3px}.progress-copy>span{font-size:10px}.task-section>summary{padding:14px 16px;font-size:12px}.task-section>summary>div span{display:block;margin-left:0;margin-top:2px;font-size:11px}.task-body{padding:0 16px}.checklist-page article.question{padding:18px 0}.input-label,.choice-group legend{font-size:14px}.single-confirm{font-size:14px}.checklist-page .finish{padding:19px}.question-title{font-size:15px}.task-nav a{font-size:9px;padding:4px 6px}}
/* Layout choices and uploads */
.input-grid{align-items:end}.input-grid.stacked{grid-template-columns:1fr}.input-grid.stacked>.wide{grid-column:auto}.sub-input:has(.single-confirm){align-self:end}.sub-input .single-confirm{min-height:44px;margin:0}.upload-picker{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 12px}.file-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.upload-button{display:inline-flex!important;align-items:center;gap:9px;border:1px solid #bdd0dd;border-radius:7px;background:#edf4f8;color:#315b73;padding:10px 14px;cursor:pointer;font-size:13px;font-weight:500;min-height:44px;margin:0!important}.upload-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}.upload-button:hover{background:#e2eef5}.file-input:disabled+.upload-button{opacity:.5;pointer-events:none}.file-input:focus-visible+.upload-button{outline:3px solid #a9d2e8;outline-offset:2px}.upload-picker small{font-size:10px;color:#8da0ab}.attachment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin:10px 0}.attachment-card{border:1px solid #dfe8ee;padding:8px;border-radius:8px;display:flex;flex-direction:column;gap:5px;min-width:0;background:#fff}.attachment-preview{position:relative;padding:0!important;margin:0!important;display:grid;place-items:center;height:105px;width:100%;background:#eef3f6!important;border-radius:5px;overflow:hidden;color:#79919e}.attachment-preview img{width:100%;height:100%;object-fit:cover}.attachment-placeholder{font-size:32px;color:#8298a7}.attachment-preview.has-image .attachment-placeholder{display:none}.attachment-name{font-size:11px;color:#496b80;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.attachment-actions button{margin:0!important;padding:4px 0!important;min-height:25px!important;background:transparent!important;color:#6b8797!important;font-size:10px!important}.attachment-actions .remove-file{color:#a16658!important}.image-dialog{max-width:min(95vw,1100px);max-height:94vh;border:0;border-radius:12px;padding:18px;background:#fff}.image-dialog::backdrop{background:#0b1c2ecc}.image-dialog>form{display:flex;justify-content:flex-end}.image-dialog img{display:block;max-width:100%;max-height:74vh;object-fit:contain;margin:auto}.image-dialog p{font-size:12px;color:#6d8493;margin:10px 0 0}.image-dialog button{font-size:12px}.header-status{display:flex;align-items:center;gap:14px}.network-toggle{padding:7px!important;margin:0!important;background:transparent!important;position:relative;width:38px;height:38px;min-height:38px;color:#92a6b2}.network-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}.network-toggle .wifi-slash{display:none}.network-toggle.is-offline{color:#986d58}.network-toggle.is-offline .wifi-slash{display:block}.network-toggle.is-online{color:#638676}.network-toggle span:not(:empty){position:absolute;top:-2px;right:-3px;background:#d8e6ee;color:#4d6c80;border:1px solid white;padding:0 4px;min-width:15px;height:15px;font-size:9px;border-radius:20px;line-height:13px}.checklist-page #connection{position:fixed;right:max(15px,calc((100vw - 940px)/2));top:102px;max-width:360px;width:calc(100vw - 30px);display:block;min-height:0!important;padding:18px 34px 16px 18px;z-index:60;background:#fff;border:1px solid #d5e0e7;box-shadow:0 8px 35px #18334418;border-radius:9px;font-size:12px}.checklist-page #connection strong{font-size:13px;color:#6e5748}.checklist-page #connection p{margin:8px 0 0;color:#6b8291;font-size:12px}.checklist-page #minimizeOffline{position:absolute;right:5px;top:3px;padding:4px 8px;background:transparent;color:#899ca7;font-size:20px;margin:0;min-height:30px}.checkout-hint{border-left:3px solid #b99479;background:#faf4ed;color:#866449;font-size:12px;padding:12px 14px;border-radius:4px}.visit-summary>p:empty{display:none}.finish>.muted{display:none}@media(max-width:600px){.checklist-page #connection{right:12px;top:90px;width:calc(100vw - 24px)}.header-status{gap:9px}.network-toggle{width:32px;height:32px;min-height:32px}.attachment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.upload-picker{gap:7px}.upload-button{font-size:12px}.checklist-page .market-summary{margin-top:0}}
.button.secondary{background:#e8eef2;color:#23495e}
