:root{color-scheme:light;--ink:#162638;--muted:#697586;--line:#dce2e8;--paper:#fff;--canvas:#f3f5f8;--accent:#146e70;--green:#18734e;--red:#b63538;--amber:#9e6214;--focus:#287cbc;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px;color:var(--ink);background:var(--canvas)}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,label,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}svg.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid var(--focus);outline-offset:3px}input,textarea,select{border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink);padding:12px;min-height:48px;width:100%;max-width:100%}textarea{min-height:94px;resize:vertical;line-height:1.5}input::placeholder,textarea::placeholder{color:#8994a1}input[type=checkbox]{width:22px;height:22px;min-height:0;accent-color:var(--accent)}h1,h2,h3,p{margin:0}h1{font-size:2rem;letter-spacing:-1px;line-height:1.2;font-weight:650}h2{font-size:1.35rem;letter-spacing:-.4px;font-weight:650}h3{font-size:1.05rem;font-weight:650}p{line-height:1.6}button{border:0;background:none;color:inherit}button.primary,.primary{background:var(--ink);color:white;border-radius:7px;padding:13px 20px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:.95rem;font-weight:600;text-decoration:none}button.primary:hover{background:#28445c}.primary.teal{background:var(--accent)}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:white;border-radius:6px;padding:11px 16px;min-height:46px;font-size:.9rem;font-weight:600}.secondary:hover{background:#edf2f6}.text-button{color:var(--accent);padding:10px 0;font-size:.9rem;font-weight:600;display:inline-flex;align-items:center;gap:6px}.muted{color:var(--muted)}.eyebrow{font-size:.75rem;letter-spacing:1.3px;text-transform:uppercase;font-weight:650;color:var(--muted)}.shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.rail{background:var(--ink);color:#c4ced9;position:fixed;width:248px;inset:0 auto 0 0;padding:30px 20px;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;z-index:20}.rail>*{flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 30px;color:white;letter-spacing:-.6px;font-size:1.35rem;font-weight:650}.brand-mark{width:36px;height:39px;display:grid;place-items:center;background:#2d495c;border-radius:6px;color:#79cec9}.brand-mark .icon{width:23px;height:23px}.brand small{font-size:.7rem;display:block;letter-spacing:.65px;color:#afbdcc;margin-top:3px;font-weight:400}.rail-label{font-size:.7rem;font-weight:650;letter-spacing:1.2px;text-transform:uppercase;margin:18px 12px 10px;color:#7f95aa}.rail-nav{display:grid;gap:4px}.rail-nav button{min-height:45px;padding:10px 12px;border-radius:6px;display:flex;align-items:center;gap:10px;text-align:left;font-size:.85rem;width:100%}.rail-nav button:hover{background:#22384c}.rail-nav button.active{background:#294556;color:white}.rail-nav button.active:before{content:'';width:3px;height:21px;background:#72c7c0;border-radius:2px;position:absolute;left:20px}.section-number{font-size:.75rem;color:#a8bdcd;display:flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid #4c6073;border-radius:5px;flex-shrink:0}.rail-nav button.done .section-number{color:#82d2be;border-color:#51756e}.rail-nav .count{margin-left:auto;font-size:.75rem;color:#aabfcd}.rail-foot{margin-top:auto;border-top:1px solid #334759;padding:16px 10px 0;font-size:.75rem;line-height:1.6;color:#91a8bb}.rail-foot strong{display:block;color:#d3dde6;font-weight:500}.workspace{grid-column:2;min-width:0}.topbar{height:76px;background:white;border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:14px}.breadcrumb{color:var(--muted);font-size:.9rem;display:flex;align-items:center;gap:10px}.breadcrumb strong{font-weight:550;color:var(--ink)}.topbar-right{font-size:.8rem;color:var(--muted);display:flex;align-items:center;gap:16px}.privacy{border-left:1px solid var(--line);padding-left:16px}.avatar{width:31px;height:31px;border-radius:50%;background:#e8eff3;display:grid;place-items:center;color:#35536a;font-size:.7rem;font-weight:600}.content{max-width:1370px;margin:auto;padding:40px 42px 80px}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-title h1{margin-top:7px}.page-title .muted{margin-top:10px;font-size:.95rem}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);background:white;border-radius:9px;margin-bottom:36px}.stat{padding:24px 26px;border-right:1px solid var(--line)}.stat:last-child{border-right:0}.stat .stat-label{color:var(--muted);font-size:.82rem;display:flex;align-items:center;gap:8px}.stat .stat-value{font-size:2rem;font-weight:600;margin-top:12px;letter-spacing:-.8px}.stat .stat-sub{font-size:.8rem;color:var(--muted);margin-top:5px}.stat.alert .stat-value{color:var(--red)}.panel{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin:0 0 26px}.panel-heading{padding:22px 26px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel-heading h2{font-size:1.05rem}.pill{font-size:.75rem;border-radius:4px;display:inline-block;padding:5px 8px;font-weight:600;background:#edf1f5;color:#597083}.pill.draft{background:#fcf1dd;color:#865715}.pill.completed{background:#e7f2ec;color:var(--green)}.pill.danger{background:#fbe4e4;color:var(--red)}.empty{padding:42px 26px;display:flex;align-items:center;justify-content:center;gap:22px}.empty-icon{width:54px;height:60px;border:1px solid var(--line);border-radius:7px;color:#7890a3;display:grid;place-items:center;flex-shrink:0}.empty-icon .icon{width:30px;height:30px}.empty p{font-size:.9rem;color:var(--muted);margin-top:5px;max-width:420px}.empty .text-button{margin-top:6px}.inspection-row{padding:23px 26px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:22px}.inspection-row:last-child{border:0}.inspection-row .row-main{flex:1;min-width:0}.row-main h3{font-size:1rem}.row-main p{font-size:.84rem;color:var(--muted);margin-top:5px}.row-meta{display:flex;gap:12px;align-items:center;margin-top:7px;font-size:.8rem;color:var(--muted)}.row-actions{display:flex;gap:8px;flex-wrap:wrap}.notice{padding:15px 18px;border:1px solid #e6c486;background:#fff7e8;border-radius:6px;color:#714d16;font-size:.9rem;line-height:1.5;margin-bottom:24px}.notice.error{background:#fff1f1;border-color:#e0a7a7;color:#962a30}.notice a{font-weight:600}.ins-header{margin-bottom:26px}.ins-header-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.ins-header h1{font-size:1.85rem}.ins-sub{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:.8rem;margin-top:10px;flex-wrap:wrap}.progress-header{display:flex;align-items:center;justify-content:space-between;margin:24px 0 9px;font-size:.83rem;color:var(--muted)}.progress-track{height:5px;border-radius:3px;background:#dfe5eb;overflow:hidden}.progress-bar{height:100%;background:var(--accent);border-radius:3px;transition:width .3s}.step-intro{display:flex;align-items:flex-start;gap:14px;margin:32px 0 24px}.step-badge{background:#e5eef2;width:40px;height:40px;border-radius:7px;display:grid;place-items:center;color:#46657a;font-size:.85rem;font-weight:600;flex-shrink:0}.step-intro p{font-size:.87rem;color:var(--muted);margin-top:7px}.question{background:white;border:1px solid var(--line);border-radius:8px;padding:24px 26px;margin-bottom:15px;scroll-margin-top:30px}.question[data-answer=No]{border-left:3px solid var(--red)}.q-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px}.q-no{color:#6b8193;background:#f0f3f6;width:29px;height:29px;display:grid;place-items:center;font-size:.78rem;border-radius:4px;flex-shrink:0}.q-text{font-size:1.02rem;font-weight:550;line-height:1.5;max-width:750px}.unanswered{font-size:.7rem;font-weight:400;color:#81909f;white-space:nowrap;margin:7px 0 0 auto}.answer-group{display:flex;gap:8px;max-width:410px}.answer-button{height:52px;flex:1;min-width:88px;border:1px solid var(--line);border-radius:6px;background:white;font-size:.9rem;font-weight:600;display:flex;align-items:center;justify-content:center;gap:6px}.answer-button:hover{border-color:#809aa5;background:#f8fafb}.answer-button[aria-checked=true]{border-width:2px}.answer-button.yes[aria-checked=true]{border-color:#26835d;background:#eaf5ef;color:var(--green)}.answer-button.no[aria-checked=true]{border-color:#b94143;background:#fff0f0;color:var(--red)}.answer-button.na[aria-checked=true]{border-color:#6c7e8e;background:#eef2f5;color:#536878}.q-tools{display:flex;align-items:center;gap:22px;margin-top:13px}.q-tools .text-button{color:#677c8b;font-size:.8rem;padding:7px 0}.q-tools .icon{width:16px;height:16px}.comment-field{margin-top:12px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field>label,.field-label{font-size:.85rem;font-weight:550;line-height:1.4}.field small{font-size:.78rem;color:var(--muted);font-weight:400}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.field.full{grid-column:1/-1}.form-panel{background:white;border:1px solid var(--line);border-radius:8px;padding:27px;margin-bottom:22px}.form-panel h3{margin-bottom:24px}.form-panel .muted{font-size:.87rem}.field label .optional{font-weight:400;color:var(--muted);font-size:.75rem;margin-left:4px}.deficiency{margin-top:24px;padding:23px;background:#fff8f8;border:1px solid #eed5d5;border-radius:7px}.deficiency.immediate{background:#fff0ed;border:2px solid #c34135}.deficiency-title{display:flex;align-items:center;gap:9px;color:var(--red);font-size:.84rem;font-weight:650;margin-bottom:22px}.deficiency-title span:last-child{margin-left:auto;font-size:.72rem}.deficiency .fields{gap:18px}.deficiency input,.deficiency textarea,.deficiency select{background:white}.deficiency .answer-group{max-width:100%}.danger-box{background:#ffe5df;border-left:3px solid #b6382c;padding:18px;margin-top:20px}.danger-box h3{color:#a12e24;margin-bottom:18px}.danger-box .fields{grid-template-columns:1fr}.check-options{display:flex;gap:14px;flex-wrap:wrap;margin-top:20px}.check-options label{display:flex;align-items:center;gap:8px;font-size:.85rem;min-height:42px}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-top:16px}.photo-card{border:1px solid var(--line);border-radius:6px;background:white;overflow:hidden;position:relative}.photo-card img{display:block;width:100%;height:120px;object-fit:cover}.photo-card input{border:0;border-radius:0;font-size:.8rem;padding:9px;min-height:40px}.photo-card .remove-photo{position:absolute;right:6px;top:6px;background:white;border-radius:50%;width:30px;height:30px;font-size:1.2rem;box-shadow:0 1px 6px #0003}.photo-card small{font-size:.7rem;color:var(--muted);display:block;padding:6px 9px}.upload-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.upload-label{font-size:.83rem;color:#4c6b7e;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:40px}.upload-label input{position:absolute;width:1px;height:1px;opacity:0;min-height:0;padding:0;overflow:hidden}.upload-label:focus-within{outline:3px solid var(--focus);outline-offset:3px}.upload-label .icon{width:17px;height:17px}.mobile-sections{display:none}.section-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 0 4px}.section-footer .muted{font-size:.78rem}.risk-explainer{padding:16px 20px;background:#eaf0f5;border-radius:6px;font-size:.9rem;margin-bottom:20px;color:#52687d}.present-label{font-size:.8rem;color:var(--muted);margin-bottom:9px}.control-question{margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}.control-question .q-text{margin-bottom:15px}.finding-card{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px;cursor:pointer;width:100%;text-align:left}.finding-card:hover{background:#fafcfd}.finding-card:last-child{border:0}.finding-main{flex:1;min-width:0}.finding-main p{font-size:.84rem;color:var(--muted);margin-top:5px}.finding-main strong{font-size:.95rem;font-weight:550}.finding-index{border:1px solid #dfbcbc;color:var(--red);border-radius:5px;width:30px;height:30px;display:grid;place-items:center;font-size:.8rem;flex-shrink:0}.review-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:22px}.review-stats .stat{padding:17px}.review-stats .stat-value{font-size:1.7rem}.review-stats .stat-label{font-size:.77rem}.unanswered-list{display:grid;gap:6px;margin-top:12px}.unanswered-list button{text-align:left;min-height:40px;font-size:.85rem;color:#815814;text-decoration:underline;text-underline-offset:3px}.signature{width:100%;height:150px;border:1px dashed #b3c0cc;border-radius:6px;background:white;touch-action:none;display:block}.signature-help{font-size:.75rem;color:var(--muted);display:flex;align-items:center;justify-content:space-between;margin-top:7px}.sign-date{font-size:.8rem;color:var(--muted);margin-top:7px}.signature-preview{width:100%;height:150px;object-fit:contain;border:1px solid var(--line);border-radius:6px;background:white}.acknowledgement{font-size:.85rem!important;color:var(--muted);margin-bottom:23px}.report-action{padding:26px;background:var(--ink);color:white;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:22px;margin:28px 0}.report-action p{color:#b0c1ce;font-size:.87rem;margin-top:7px}.report-action .primary{background:#fff;color:var(--ink);flex-shrink:0}.report-disclaimer{font-size:.8rem;color:var(--muted);line-height:1.65;margin-top:25px}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%) translateY(110px);max-width:calc(100% - 30px);background:var(--ink);color:white;padding:13px 20px;border-radius:7px;font-size:.9rem;box-shadow:0 5px 30px #16263830;transition:transform .2s;z-index:100}#toast.visible{transform:translateX(-50%) translateY(0)}dialog{border:1px solid var(--line);border-radius:11px;padding:30px;width:min(510px,calc(100% - 30px));max-height:90vh;overflow:auto;color:var(--ink)}dialog::backdrop{background:#16263880;backdrop-filter:blur(2px)}dialog h2{margin-bottom:8px}dialog dl{margin:24px 0;display:grid;grid-template-columns:140px 1fr;gap:14px;font-size:.9rem}dialog dt{color:var(--muted)}dialog dd{margin:0;overflow-wrap:anywhere}dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}.initial-loading{padding:50px;color:var(--muted)}.save-status.failed{color:var(--red)}.save-status{font-size:.8rem}.topbar .save-status{max-width:230px;text-align:right}.equipment-entry{border:1px solid var(--line);border-radius:7px;padding:22px;margin-bottom:15px}.equipment-entry h3{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.add-item{width:100%;border:1px dashed #a7b8c5;color:#426779;border-radius:7px;background:#f8fbfc;display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;font-size:.9rem;font-weight:550}.highlights{display:flex;gap:15px;flex-wrap:wrap;font-size:.82rem;margin-bottom:22px}.highlights span{padding:9px 12px;background:white;border:1px solid var(--line);border-radius:5px}.highlights b{font-weight:650}.section-counter{color:#7c8c9a;font-size:.78rem}.restore-readonly{font-size:.85rem;padding:14px;background:#e8f2ef;border:1px solid #c0dbd0;border-radius:6px;color:#28644e;margin-bottom:20px}
@media(min-width:1450px){.content{padding-left:60px;padding-right:60px}.topbar{padding:0 60px}.question{padding:26px 30px}}
@media(max-width:1100px){.shell{grid-template-columns:220px minmax(0,1fr)}.rail{width:220px;padding:25px 15px}.content{padding:30px 26px 70px}.topbar{padding:0 26px}.stat{padding:19px}.inspection-row{gap:15px}.unanswered{display:none}.page-title h1{font-size:1.8rem}.review-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.review-stats .stat:nth-child(2){border-right:0}.review-stats .stat:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:760px){.shell{display:block}.rail{display:none}.workspace{width:100%}.topbar{height:62px;padding:0 20px}.breadcrumb{font-size:.8rem}.privacy,.avatar,.topbar-right .eyebrow{display:none}.topbar .save-status{font-size:.75rem;max-width:150px}.content{padding:25px 18px 105px}.page-title{align-items:flex-start;gap:15px;margin-bottom:22px}.page-title h1{font-size:1.7rem}.page-title .muted{font-size:.85rem}.page-title .primary{font-size:.85rem;padding:11px 12px;white-space:nowrap}.stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:24px}.stat{padding:19px}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.stat .stat-value{font-size:1.8rem}.stat .stat-label{font-size:.78rem}.stat .stat-sub{font-size:.74rem}.panel-heading{padding:18px}.empty{padding:30px 20px;align-items:flex-start;gap:15px}.empty-icon{width:45px;height:50px}.empty h3{font-size:.95rem}.empty p{font-size:.82rem}.inspection-row{padding:20px;align-items:flex-start;flex-wrap:wrap}.row-actions{width:100%}.row-actions button{flex:1}.row-meta{font-size:.75rem}.ins-header h1{font-size:1.6rem}.ins-header-top .secondary{font-size:.8rem;padding:10px 12px}.mobile-sections{display:block;margin:22px 0}.mobile-sections label{font-size:.75rem;display:block;margin-bottom:7px;color:var(--muted)}.mobile-sections select{font-weight:550}.step-intro{margin:22px 0 20px;gap:11px}.step-intro h2{font-size:1.2rem}.step-intro p{font-size:.8rem}.step-badge{width:34px;height:36px}.question{padding:21px 18px}.q-text{font-size:.98rem}.q-heading{gap:11px;margin-bottom:18px}.q-no{width:25px;height:25px;font-size:.7rem}.answer-group{max-width:100%}.answer-button{height:54px;min-width:0}.q-tools{gap:18px;flex-wrap:wrap}.fields{grid-template-columns:1fr;gap:18px}.form-panel{padding:22px 18px}.form-panel h3{margin-bottom:20px}.deficiency{padding:18px 14px;margin-top:20px}.deficiency .fields{grid-template-columns:1fr}.deficiency-title{font-size:.8rem}.section-footer{position:fixed;bottom:0;left:0;right:0;background:white;padding:12px 18px;border-top:1px solid var(--line);z-index:15;box-shadow:0 -3px 15px #16263808}.section-footer .muted{display:none}.section-footer button{min-height:48px}.report-action{flex-direction:column;align-items:stretch;padding:24px 20px}.report-action .primary{width:100%}.finding-card{padding:18px;gap:12px;align-items:flex-start;flex-wrap:wrap}.finding-main{min-width:65%}.finding-card .pill{margin-left:42px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-card img{height:110px}dialog{padding:25px 20px}dialog dl{grid-template-columns:110px 1fr;font-size:.85rem}.review-stats .stat{padding:17px}.highlights{gap:7px}.highlights span{padding:8px;font-size:.75rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

#report-dialog.report-preview{width:min(96vw,940px);max-width:none;max-height:94vh;padding:0;background:#e8edf1;overflow:auto}.report-controls{position:sticky;top:0;background:white;padding:20px;z-index:1;border-bottom:1px solid var(--line)}.report-controls h2{font-size:1.2rem}.report-controls .dialog-actions{margin:14px 0;flex-wrap:wrap;justify-content:flex-start}.report-controls p{font-size:14px;color:var(--muted)}.report-controls a{text-decoration:none}.report-page{width:min(100%,8.5in);margin:20px auto;background:white;box-shadow:0 2px 12px #16263822}.report-page img{display:block;width:100%;height:auto}@page{size:letter;margin:0}@media print{body{margin:0!important;background:white!important}body>*:not(#report-dialog){display:none!important}#report-dialog.report-preview{display:block!important;position:static!important;width:8.5in!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;background:white!important}#report-dialog::backdrop{display:none!important}.report-controls{display:none!important}.report-page{width:8.5in;height:11in;margin:0;box-shadow:none;break-after:page;page-break-after:always}.report-page:last-child{break-after:auto;page-break-after:auto}.report-page img{width:8.5in;height:11in}}

.signature-time-editor{margin-top:12px}.signature-time-editor label{display:block;font-size:.875rem;margin-bottom:6px}.signature-time-editor small{display:block;margin-top:6px;color:var(--muted)}

.required-marker{color:var(--red)}.required-hint{display:block;color:#9b282e;font-size:.8125rem;line-height:1.4;margin-top:6px}.required-missing input,.required-missing textarea,.required-missing select{border-color:#c7595d;background:#fff7f7}.answer-group.required-missing{outline:1px solid #c7595d;outline-offset:3px;border-radius:6px}.field[data-sign-required].required-missing .signature{border-color:#c7595d;background:#fff7f7}.required-hint[hidden],.required-marker[hidden],[data-report-blockers][hidden]{display:none}

.logo-help{font-size:.875rem;color:var(--muted);margin:-6px 0 22px}.logo-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.logo-slot{min-width:0}.logo-slot>label{display:block;font-size:.875rem;font-weight:600;margin-bottom:8px}.logo-preview,.logo-empty{height:100px;margin-top:12px;border:1px solid var(--line);border-radius:6px;background:#fafbfc;padding:14px;display:flex;align-items:center}.logo-preview.right{justify-content:flex-end}.logo-preview img{max-width:100%;max-height:72px;object-fit:contain}.logo-empty{color:var(--muted);font-size:.875rem;justify-content:center}.logo-upload{border-top:1px solid var(--line);padding-top:22px;margin-top:16px}.logo-upload h4{font-size:1rem;margin:0 0 18px}.logo-upload-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.logo-upload small{display:block;color:var(--muted);margin-top:7px;overflow-wrap:anywhere}.logo-error{font-size:.875rem;color:var(--red);margin-top:12px}@media(max-width:760px){.logo-selectors{grid-template-columns:1fr;gap:18px}}

.login-screen{min-height:100dvh;display:grid;place-items:center;padding:24px;background:var(--canvas)}.login-card{width:min(100%,420px);background:white;border:1px solid var(--line);border-radius:12px;padding:36px;box-shadow:0 12px 40px #1626380a}.login-brand{display:flex;align-items:center;gap:12px;font-size:1.3rem;font-weight:650;color:var(--ink);margin-bottom:32px}.login-brand>.icon{width:34px;height:34px;color:var(--accent)}.login-brand small{display:block;font-size:.65rem;letter-spacing:1px;font-weight:500;color:var(--muted);margin-top:4px}.login-card h1{font-size:1.7rem;margin-bottom:24px}.login-card form,#account-dialog form{display:grid;gap:20px}.login-card .primary{width:100%;margin-top:4px}.form-error{color:var(--red);font-size:.88rem}.form-error[hidden]{display:none}.danger-button{color:var(--red)}button.primary.danger-button{background:var(--red);color:white}.icon-button{padding:11px;min-width:46px}.users-help{font-size:.9rem;color:var(--muted);margin-bottom:24px}.user-row{display:flex;align-items:center;gap:18px;padding:24px 26px;border-bottom:1px solid var(--line)}.user-row:last-child{border:0}.user-details{flex:1;min-width:120px}.user-details p{color:var(--muted);font-size:.85rem;margin-top:5px}.user-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.user-actions select{width:110px;min-height:46px}.credential-result{margin-top:22px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mobile-account-nav{display:none}
@media(max-width:1100px){.user-row{flex-wrap:wrap}.user-actions{width:100%}.topbar-right{gap:10px}.topbar-right .privacy{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(max-width:760px){.mobile-account-nav{display:flex;gap:8px;margin-bottom:20px}.login-card{padding:28px}.user-row{padding:20px}.user-actions .secondary{font-size:.8rem;padding:10px}.topbar-right .text-button{font-size:.78rem}.user-details h3{overflow-wrap:anywhere}}

.admin-menu{margin-top:18px}.admin-menu summary{display:flex;align-items:center;gap:9px;padding:12px;cursor:pointer;color:#d3dde6;font-size:.85rem;font-weight:550;list-style:none}.admin-menu summary::-webkit-details-marker{display:none}.admin-menu summary:after{content:'›';margin-left:auto;transform:rotate(90deg);font-size:1.2rem;line-height:1}.admin-menu:not([open]) summary:after{transform:none}.admin-menu summary:hover{background:#22384c;border-radius:6px}.admin-menu summary:focus-visible{outline:3px solid var(--focus);outline-offset:1px}.admin-menu .rail-nav{margin-top:3px}

.log-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:end;margin-bottom:24px;padding:22px 26px}.log-filter-actions{display:flex;gap:18px;align-items:center;grid-column:1/-1}.log-table-scroll{overflow:auto}.log-table{border-collapse:collapse;width:100%;font-size:.88rem}.log-table th{background:#f8fafb;text-align:left;border-bottom:1px solid var(--line);padding:0}.log-table th button{width:100%;display:flex;gap:14px;align-items:center;text-align:left;padding:16px 24px;font-size:.85rem;font-weight:650;white-space:nowrap}.log-table th button:hover{background:#edf2f5}.log-table th[aria-sort=ascending] button,.log-table th[aria-sort=descending] button{color:var(--accent)}.log-table th button span{margin-left:auto;color:var(--muted)}.log-table td{padding:18px 24px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.55;overflow-wrap:anywhere}.log-table td:first-child{width:23%}.log-table td:nth-child(2){width:27%;white-space:nowrap}.log-table td:last-child{width:50%}.log-table strong{display:block;font-weight:550}.log-table small{display:block;color:var(--muted);font-size:.78rem;margin-top:3px}.log-table td>span{display:block;margin-top:3px}.log-table .log-empty{text-align:center;padding:40px 24px;color:var(--muted);white-space:normal}.log-count{font-size:.88rem;font-weight:550}.log-timezone{font-size:.78rem}.log-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;font-size:.82rem;color:var(--muted)}.log-pagination>div{display:flex;gap:8px}@media(max-width:1100px){.log-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.log-filters{padding:20px 18px;gap:16px}.log-table{min-width:740px}.log-table td,.log-table th button{padding:15px 18px}.log-panel .panel-heading{align-items:flex-start;gap:12px;flex-direction:column}.log-pagination{padding:18px;flex-wrap:wrap}.mobile-account-nav{flex-wrap:wrap}.log-filter-actions .primary{font-size:.85rem;padding:12px 16px}}

.q-guidance{font-size:.88rem;line-height:1.6;color:var(--muted);max-width:800px;margin:0 0 18px}.control-question .q-guidance{margin:0 0 18px}

.inspection-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.checklist-update-site{color:var(--muted);margin:10px 0 20px;font-size:.95rem}.checklist-update-help{font-size:.9rem;margin-bottom:20px;color:var(--muted)}.checklist-change-list{border-top:1px solid var(--line);padding:12px 0;font-size:.9rem}.checklist-change-list summary{cursor:pointer;font-weight:600;min-height:30px}.checklist-change-list li{line-height:1.5;margin:8px 0}.checklist-change-list ul{padding-left:22px}@media(max-width:760px){.ins-header-top{align-items:flex-start;flex-wrap:wrap}.inspection-actions{justify-content:flex-start}.inspection-actions .secondary{font-size:.85rem}}

dialog.checklist-update-dialog{width:min(700px,calc(100vw - 32px))}

dialog.checklist-update-dialog{padding:24px}.checklist-update-dialog dl{grid-template-columns:220px 1fr;gap:8px;margin:16px 0}.checklist-update-dialog .notice{margin-bottom:16px}.checklist-update-dialog .dialog-actions{margin-top:16px}.checklist-update-dialog .checklist-change-list{padding:8px 0}.checklist-update-dialog .checklist-change-list summary{min-height:24px}@media(max-width:480px){.checklist-update-dialog dl{grid-template-columns:1fr auto}}

.logo-slot-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.logo-slot-actions .danger-button{color:var(--red)}.logo-slot-actions .danger-button:hover{text-decoration:underline;text-underline-offset:3px}.logo-retained{display:block;font-size:.78rem;color:var(--muted);line-height:1.5;margin-top:2px}

/* Keep native Safari date/time controls within the same bounds as other fields. */
input:is([type="date"],[type="time"],[type="datetime-local"]){-webkit-appearance:none;appearance:none;display:block;box-sizing:border-box;min-width:0;width:100%;max-width:100%;height:48px;min-height:48px;line-height:normal;text-align:left}
input:is([type="date"],[type="time"],[type="datetime-local"])::-webkit-date-and-time-value{min-width:0;text-align:left}
input:is([type="date"],[type="time"],[type="datetime-local"])::-webkit-datetime-edit{padding:0;min-width:0}

/* Section identity stays visible; completion is a separate indicator. */
.rail-nav .section-name{flex:1;min-width:0}
.rail-nav .section-status{margin-left:auto;flex-shrink:0;display:flex;align-items:center;justify-content:flex-end;min-width:28px}
.rail-nav .section-status .count{margin-left:0}
.rail-nav .section-status>.icon{width:18px;height:18px;color:#82d2be}

.eq-toolbar,.eq-tabs,.eq-step-tabs{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.eq-step-tabs{margin-bottom:24px}.eq-toolbar button{white-space:nowrap}.eq-dashboard-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0 20px}.eq-search{max-width:420px;flex:1}.eq-note{font-size:.88rem;line-height:1.6;margin:18px 0}.eq-section-heading{margin:30px 0 16px;font-size:1.1rem}.eq-question-notes{margin-top:20px}.eq-question-notes .field{margin-bottom:14px}.eq-template-question .field{margin-top:16px}.eq-template-question .panel-heading{padding:0;border:0}.eq-mobile-workspace-nav{display:none}#equipment-dialog{width:min(760px,calc(100vw - 36px));max-height:90vh;overflow-y:auto}#equipment-dialog .fields{margin-top:20px}#equipment-dialog form>.field{margin-top:20px}.eq-save-state{color:var(--muted);font-size:.8rem}.eq-toolbar .danger-button{color:#b33f43}@media(max-width:760px){.eq-dashboard-controls{align-items:stretch;flex-direction:column}.eq-search{max-width:none}.eq-mobile-workspace-nav{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}.eq-step-tabs button{flex:1;font-size:.8rem;padding:10px 8px}.eq-toolbar{width:100%}.eq-toolbar button{flex:1}.eq-template-question .eq-toolbar{width:auto}}

/* Equipment controls share consistent typography, spacing and alignment. */
.equipment-button.primary:not(.icon-button),.equipment-button.secondary:not(.icon-button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:11px 16px;border-radius:6px;font-size:.9rem;font-weight:600;line-height:1.4;text-align:center;vertical-align:middle}
.equipment-button.primary{border:1px solid var(--ink)}
.equipment-button.icon-button{min-height:48px}
.equipment-button .icon{width:20px;height:20px;flex:0 0 20px}
.eq-start-intro{color:var(--muted);font-size:.9rem;line-height:1.5;margin:8px 0 22px}
.eq-start-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.eq-start-option{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:7px;padding:14px 16px;min-height:78px;text-align:left;background:white}
.eq-start-option strong{font-size:.95rem;font-weight:600}
.eq-start-option span{font-size:.8rem;color:var(--muted);line-height:1.4}
.eq-start-option[aria-pressed=true]{border-color:var(--accent);background:#eef7f6;box-shadow:inset 0 0 0 1px var(--accent)}
.eq-start-option:hover{border-color:var(--accent)}
.eq-identifier-help,.eq-start-help{font-size:.81rem;line-height:1.5;color:var(--muted);margin:12px 0}
.eq-start-more{border-bottom:1px solid var(--line);padding:5px 0 20px;margin-top:8px}
.eq-start-more summary{cursor:pointer;min-height:36px;font-size:.86rem;font-weight:600;align-content:center}
.eq-start-more summary span{font-weight:400;color:var(--muted)}
[data-eq-start-vehicle][hidden],[data-eq-vehicle-fields][hidden]{display:none}
.eq-find-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(140px,1fr);gap:14px;margin:22px 0 16px}
.eq-result-heading{display:flex;justify-content:space-between;gap:12px;font-size:.77rem;color:var(--muted);margin:12px 0 8px}
.eq-asset-results{max-height:285px;overflow-y:auto;border:1px solid var(--line);border-radius:7px;overscroll-behavior:contain}
.eq-asset-choice{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:82px;text-align:left;padding:14px 16px;border-bottom:1px solid var(--line);background:white}
.eq-asset-choice:last-child{border-bottom:0}
.eq-asset-choice:hover{background:#f7fafb}
.eq-asset-choice[aria-pressed=true]{background:#eef7f6;box-shadow:inset 3px 0 0 var(--accent)}
.eq-asset-identity{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px;overflow-wrap:anywhere}
.eq-asset-identity strong{font-size:.92rem;font-weight:600}
.eq-asset-type{font-size:.78rem;color:var(--muted)}
.eq-asset-identifiers,.eq-asset-context{display:flex;flex-wrap:wrap;gap:5px 16px;font-size:.78rem;line-height:1.5}
.eq-asset-context{color:var(--muted)}
.eq-asset-selection{flex-shrink:0;color:var(--accent);font-size:.82rem;font-weight:600}
.eq-asset-selection .icon{width:22px;height:22px}
.eq-selected-asset{border:1px solid #bfdbd6;border-radius:7px;background:#f4f9f8;padding:14px 16px;margin:14px 0}
.eq-selected-label{display:block;color:#39746c;font-size:.74rem;font-weight:600;margin-bottom:8px}
.eq-results-pages{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}
.eq-results-pages>span{font-size:.78rem;color:var(--muted)}
.eq-search-empty{padding:22px 18px;color:var(--muted);font-size:.87rem;line-height:1.6}
#equipment-dialog.eq-start-dialog .dialog-actions{position:sticky;bottom:0;background:white;border-top:1px solid var(--line);padding-top:16px;z-index:1;margin-top:20px}
@media(max-width:540px){.eq-start-options{gap:8px}.eq-start-option{padding:12px;min-height:86px}.eq-start-option span{font-size:.76rem}.eq-find-controls{grid-template-columns:1fr}.eq-asset-results{max-height:240px}.eq-result-heading>span:last-child{display:none}.eq-asset-choice{padding:12px}.eq-asset-selection{font-size:.75rem}.eq-results-pages .equipment-button{padding:9px 12px}}
.equipment-section-footer{align-items:center}
.equipment-section-footer>.equipment-button{height:48px;flex:0 0 auto}
.equipment-section-footer>button[data-eq-action="step"]{width:112px}
@media(max-width:760px){.equipment-section-footer>.equipment-button{font-size:.85rem;line-height:1.2;padding:6px 12px}.equipment-section-footer>.primary{flex-shrink:1;min-width:0}.equipment-section-footer>button[data-eq-action="step"]{width:104px}}

/* Equipment checklist library: compact browsing, one selected preview and action area. */
.eq-checklist-library{overflow:visible}
.eq-checklist-filters{display:grid;grid-template-columns:minmax(220px,1.7fr) minmax(145px,1fr) minmax(105px,.65fr);gap:16px;padding:22px 24px;border-bottom:1px solid var(--line)}
.eq-checklist-filters .field{margin:0;min-width:0}
.eq-checklist-filters label{display:block;margin-bottom:8px;font-size:.8rem;font-weight:600}
.eq-checklist-body{display:grid;grid-template-columns:minmax(275px,.9fr) minmax(0,1.35fr);align-items:start}
.eq-checklist-list{min-width:0}
.eq-checklist-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 20px;border-bottom:1px solid var(--line);font-size:.78rem;color:var(--muted)}
.eq-checklist-list-head select{font-size:.78rem;padding:8px 25px 8px 9px;min-height:36px;max-width:160px}
.eq-checklist-group{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 20px 9px;font-size:.78rem;letter-spacing:.1px;color:var(--muted)}
.eq-checklist-group span{font-size:.72rem;font-weight:400;white-space:nowrap}
.eq-checklist-choice{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 20px;min-height:68px;border-left:3px solid transparent;border-bottom:1px solid #eef2f4}
.eq-checklist-choice:hover{background:#f5f8fa}
.eq-checklist-choice.selected{background:#eef7f5;border-left-color:var(--accent)}
.eq-checklist-choice-main{min-width:0;flex:1}
.eq-checklist-choice strong{display:block;font-size:.85rem;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.eq-checklist-choice-main>span{display:block;font-size:.74rem;line-height:1.6;margin-top:3px;color:var(--muted)}
.eq-checklist-choice-arrow{color:var(--muted);font-size:1.3rem}
.eq-checklist-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;font-size:.75rem;color:var(--muted)}
.eq-checklist-pagination>div{display:flex;gap:8px}
.eq-checklist-pagination .equipment-button.secondary{font-size:.78rem;min-height:42px;padding:9px 12px}
.eq-checklist-preview{border-left:1px solid var(--line);padding:25px 28px;min-width:0}
.eq-checklist-preview-title{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}
.eq-checklist-preview-title>div{min-width:0}
.eq-checklist-preview-title h2{font-size:1.3rem;line-height:1.35;margin-top:8px;overflow-wrap:anywhere}
.eq-checklist-preview-title .pill{flex-shrink:0;margin-top:4px}
.eq-checklist-preview-meta{color:var(--muted);font-size:.81rem;line-height:1.6;margin:10px 0 18px}
.eq-checklist-preview-actions{display:flex;align-items:center;gap:12px}
.eq-checklist-preview-actions .equipment-button.primary{font-size:.85rem}
.eq-checklist-menu{position:relative}
.eq-checklist-menu summary{display:flex;align-items:center;justify-content:center;gap:10px;list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:6px;min-height:48px;padding:11px 15px;font-size:.85rem;font-weight:600;background:white}
.eq-checklist-menu summary::-webkit-details-marker{display:none}
.eq-checklist-menu summary:hover{background:#f4f7f9}
.eq-checklist-menu summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.eq-checklist-menu-items{position:absolute;z-index:8;top:calc(100% + 7px);right:0;min-width:205px;padding:6px;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #16263818}
.eq-menu-button{display:block;min-height:45px;width:100%;text-align:left;padding:11px 12px;border-radius:5px;font-size:.82rem}
.eq-menu-button:hover{background:#f2f6f8}
.eq-menu-button.danger-button{color:var(--red)}
.eq-checklist-updated{font-size:.73rem;color:var(--muted);margin-top:12px}
.eq-checklist-operation{font-size:.8rem;color:var(--muted);margin-top:12px}
.eq-checklist-archived-note{font-size:.8rem;line-height:1.6;color:var(--muted);margin-top:16px;padding:12px 14px;background:#f4f7f9;border-radius:6px}
.eq-checklist-reference{padding-top:22px;margin-top:22px;border-top:1px solid var(--line)}
.eq-checklist-reference h3{font-size:.82rem;margin-bottom:6px}
.eq-checklist-reference p{font-size:.82rem;white-space:pre-line;overflow-wrap:anywhere}
.eq-checklist-section{font-size:.85rem;margin:25px 0 13px}
.eq-checklist-preview-question{display:flex;gap:11px;padding:12px 0;border-bottom:1px solid #eef2f4}
.eq-checklist-preview-question>span{width:22px;height:22px;border-radius:5px;background:#f0f4f6;display:grid;place-items:center;flex-shrink:0;color:var(--muted);font-size:.69rem}
.eq-checklist-preview-question>div{min-width:0}
.eq-checklist-preview-question p{font-size:.85rem;line-height:1.55;overflow-wrap:anywhere}
.eq-checklist-preview-question small{display:block;font-size:.77rem;line-height:1.65;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}
.eq-checklist-snapshot-note{margin-top:24px;padding-top:17px;border-top:1px solid var(--line);color:var(--muted);font-size:.76rem;line-height:1.6}
.eq-checklist-empty{padding:32px 24px}
.eq-checklist-empty h3{font-size:1rem;margin-bottom:8px}
.eq-checklist-empty p{font-size:.85rem;color:var(--muted);margin-bottom:15px}
.eq-checklist-library.is-empty .eq-checklist-body{grid-template-columns:1fr}
.eq-checklist-back{display:none}
@media(max-width:1150px){.eq-checklist-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.eq-checklist-preview{padding:22px}}
@media(max-width:900px){.eq-checklist-body{display:block}.eq-checklist-preview{display:none;border-left:0}.eq-checklist-library.is-detail .eq-checklist-preview:not([hidden]){display:block}.eq-checklist-library.is-detail .eq-checklist-list,.eq-checklist-library.is-detail .eq-checklist-filters{display:none}.eq-checklist-back{display:inline-flex;margin-bottom:20px}.eq-checklist-library.is-empty .eq-checklist-list,.eq-checklist-library.is-empty .eq-checklist-filters{display:block}.eq-checklist-library.is-empty .eq-checklist-filters{display:grid}}
@media(max-width:540px){.eq-checklist-filters{padding:18px;gap:14px}.eq-checklist-search{grid-column:1/-1}.eq-checklist-preview{padding:21px 18px}.eq-checklist-preview-title{gap:12px}.eq-checklist-preview-title h2{font-size:1.15rem}.eq-checklist-list-head{padding:14px 18px}.eq-checklist-group{padding-left:18px;padding-right:18px}.eq-checklist-choice{padding-left:15px;padding-right:18px}.eq-checklist-pagination{padding:16px 18px}.eq-checklist-preview-actions .equipment-button.primary{font-size:.8rem;padding:11px 14px}}


.eq-checklist-list-summary{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.eq-checklist-reset{font-size:.73rem;min-height:36px;padding:4px 6px}.eq-checklist-reset[hidden]{display:none!important}
/* Searchable workspace lists and direct report-completion checks. */
.workspace-list-filters{display:grid;grid-template-columns:minmax(200px,2fr) minmax(145px,1fr) minmax(175px,1fr) auto;align-items:end;gap:16px;padding:22px 24px;border-bottom:1px solid var(--line)}
.workspace-list-filters .field,.eq-list-status{margin:0;min-width:0}
.workspace-list-filters label,.eq-list-status label{display:block;font-size:.8rem;font-weight:600;margin-bottom:8px}
.workspace-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;color:var(--muted);font-size:.82rem;border-top:1px solid var(--line)}
.workspace-pagination>div{display:flex;gap:8px}
.workspace-pagination .secondary{min-height:44px}
.completion-checks{border-left:3px solid var(--accent)}
.completion-links{display:grid;gap:4px;max-height:280px;overflow:auto;margin-top:12px;overscroll-behavior:contain}
.completion-links button{display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:left;padding:10px 12px;min-height:44px;border:1px solid transparent;border-radius:5px;color:var(--ink);font-size:.86rem;background:#fff}
.completion-links button:hover{border-color:var(--accent)}
.completion-links button span{flex-shrink:0;color:var(--accent)}
.inspection-fields{border:0;padding:0;margin:0;min-width:0}
.eq-save-state{min-height:36px;border-radius:4px;padding:4px 8px;text-decoration:underline;text-underline-offset:3px}
.eq-save-state.failed{color:var(--red);font-weight:600}
.eq-dashboard-controls{flex-wrap:wrap}
.eq-list-status{min-width:175px}
.eq-dashboard-controls .eq-search{min-width:200px}
.row-main h3,.ins-header h1{overflow-wrap:anywhere}
.inspection-row{align-items:center}
.row-actions{flex-wrap:wrap}
.mobile-sections select{min-width:0;max-width:100%}
@media(max-width:1000px){.workspace-list-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-list-filters .text-button{justify-self:start}.eq-dashboard-controls{gap:14px}}
@media(max-width:540px){.workspace-list-filters{grid-template-columns:1fr;padding:18px}.workspace-pagination{padding:16px 18px;flex-wrap:wrap}.eq-list-status,.eq-dashboard-controls .eq-search{width:100%;min-width:0}.completion-links{max-height:240px}.completion-links button{font-size:.82rem}.row-actions{width:100%}.row-actions .secondary:not(.icon-button){flex:1;justify-content:center}}

/* Compact inspection tools, a larger photograph viewer and touch navigation. */
.question-extras{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}
.question-extras>summary{cursor:pointer;color:var(--accent);font-size:.86rem;font-weight:600;min-height:38px;align-content:center}
.question-extras[open]>summary{margin-bottom:12px}
.question-extras .q-tools{margin-top:0}
.question-filter-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 22px}
.question-filter-bar>div{display:flex;gap:8px;flex-wrap:wrap}
.question-filter-bar button{min-height:42px;font-size:.83rem;padding:10px 14px}
.question-filter-bar>span{font-size:.8rem;color:var(--muted)}
.photo-open{display:block;width:100%;padding:0;border:0;text-align:left;background:#eef2f5;border-radius:6px;overflow:hidden}
.photo-open img{display:block;width:100%;object-fit:cover}
.photo-card .photo-reference{display:block;color:var(--accent);font-size:.75rem;padding:8px 10px 0;overflow-wrap:anywhere}
.photo-studio{width:min(1000px,calc(100vw - 32px));max-height:94dvh;overflow:auto;padding:22px;border:0;border-radius:10px}
.photo-studio::backdrop{background:#162638a8}
.photo-studio-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}
.photo-studio-head h2{font-size:1.3rem}
.photo-studio-head p{color:var(--muted);font-size:.84rem;margin-top:6px;overflow-wrap:anywhere}
.photo-studio-image{display:grid;place-items:center;border-radius:7px;background:#eef2f5;min-height:180px;padding:12px}
.photo-studio-image img{display:block;max-width:100%;max-height:48dvh;width:auto;height:auto;object-fit:contain}
.photo-studio-controls{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0 18px}
.photo-studio-controls>div{display:flex;gap:8px;flex-wrap:wrap}
.photo-studio-controls .secondary{font-size:.85rem;min-height:44px}
.photo-studio .field label{display:block;margin-bottom:8px;font-size:.86rem;font-weight:600}
.photo-studio textarea{min-height:78px}
.mobile-save-status{display:none}
@media(max-width:1100px){.content:has(.section-footer){padding-bottom:118px}.section-footer{position:fixed;left:220px;right:0;bottom:0;z-index:15;background:#fff;border-top:1px solid var(--line);box-shadow:0 -3px 15px #1626380c;padding:12px 18px calc(12px + env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px}.section-footer>.mobile-save-status{display:block;width:100%;text-align:center;min-height:22px;padding:0;font-size:.74rem;color:var(--muted);text-decoration:underline;text-underline-offset:3px}.section-footer>.mobile-save-status.failed{color:var(--red);font-weight:600}.section-footer>.muted{display:none}.equipment-section-footer>.mobile-save-status{height:auto;flex:1 1 100%}}
@media(max-width:760px){.section-footer{left:0}.question-filter-bar>div{width:100%}.question-filter-bar button{flex:1;padding:9px 8px;font-size:.77rem}.photo-studio-controls{flex-direction:column}.photo-studio-controls .secondary{flex:1}.photo-studio{padding:18px}.photo-studio-head{gap:12px}.photo-studio-head h2{font-size:1.1rem}.photo-studio-image img{max-height:42dvh}}
.report-page svg{display:block;width:100%;height:auto}
@media print{.report-page svg{width:100%;height:auto;max-width:none}}
@media(max-width:1100px){.content:has(.section-footer){padding-bottom:calc(140px + env(safe-area-inset-bottom))}}
@media(max-width:760px){.section-footer>.secondary,.section-footer>.primary{flex:1 1 0;min-width:0;font-size:.82rem;padding:10px 12px}.equipment-section-footer>button[data-eq-action="step"]{width:auto}}
.eq-toolbar [data-eq-action="next-item"][hidden]{display:none}

/* Inspection review: quieter validation, recovery and accessible sign-off. */
.additional-details,.typed-signature{margin-top:20px;border-top:1px solid var(--line);padding-top:14px}
.additional-details>summary,.typed-signature>summary{cursor:pointer;min-height:44px;align-content:center;color:var(--accent);font-size:.88rem;font-weight:600}
.additional-details>.fields{margin-top:16px}.typed-signature>label{display:block;margin:12px 0 8px;font-size:.85rem}.typed-signature>p{font-size:.82rem;color:var(--muted);margin:10px 0}.typed-signature .form-error{color:var(--red)}
.save-recovery{border-left:4px solid var(--red);scroll-margin-top:20px}.save-recovery p{margin:8px 0 14px}.recovery-actions{display:flex;gap:10px;flex-wrap:wrap}.save-recovery small{display:block;margin-top:12px}
.photo-card .remove-photo{width:44px;height:44px;top:3px;right:3px;display:grid;place-items:center;font-size:1.35rem;background:#fffffff2}
.photo-undo{position:fixed;left:50%;bottom:32px;transform:translateX(-50%);z-index:120;background:var(--ink);color:white;padding:12px 16px;border-radius:7px;box-shadow:0 4px 24px #16263833;max-width:calc(100vw - 32px);display:flex;align-items:center;gap:18px;font-size:.9rem}.photo-undo[hidden]{display:none}.photo-undo button{color:white;font-weight:650;text-decoration:underline;min-height:44px;padding:4px 12px}.photo-undo:focus-within{outline:3px solid var(--focus);outline-offset:3px}
.signed-history-list{display:grid;gap:12px;margin-top:20px}.signed-history-list>div{border:1px solid var(--line);border-radius:6px;padding:14px;display:flex;flex-direction:column;gap:12px;font-size:.85rem}.signed-history-list .secondary{align-self:start}
.password-toggle{justify-self:start;min-height:44px;padding:4px 0}.login-help,.username-help{font-size:.82rem;color:var(--muted);line-height:1.5}
.mobile-workspace-menu{display:none}.inspection-actions [hidden]{display:none}
@media(max-width:760px){.mobile-workspace-menu{display:block;margin:0 0 20px;border:1px solid var(--line);border-radius:7px;background:white;padding:4px 14px}.mobile-workspace-menu>summary{min-height:46px;align-content:center;font-size:.85rem;font-weight:600;color:var(--ink);cursor:pointer;overflow-wrap:anywhere}.mobile-workspace-menu .eq-mobile-workspace-nav,.mobile-workspace-menu .mobile-account-nav{margin:8px 0 12px;gap:8px;flex-wrap:wrap}.mobile-workspace-menu .secondary{font-size:.8rem;flex:1;min-height:46px}.recovery-actions{display:grid;grid-template-columns:1fr}.photo-undo{bottom:calc(120px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px)}.signature-help{flex-wrap:wrap;gap:6px}.signature-help .text-button{min-height:44px}}

.timestamp-field output{display:block;min-height:24px;line-height:1.5;overflow-wrap:anywhere}.timestamp-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.timestamp-buttons button{min-height:40px}.timestamp-adjust{margin-top:10px}.timestamp-adjust[hidden]{display:none}.signature-time-actions{display:flex;flex-wrap:wrap;gap:8px}
.user-table-scroll{overflow-x:auto}.user-table{width:100%;border-collapse:collapse;text-align:left}.user-table th{font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:#f5f7f8}.user-table th,.user-table td{padding:16px 22px;border-bottom:1px solid var(--line);vertical-align:middle}.user-table tr:last-child td{border-bottom:0}.user-table td:nth-child(2){min-width:150px}.user-table td small{display:block;color:var(--muted);font-size:.75rem}.person-control{display:flex;align-items:center;gap:8px;min-width:0}.person-control input{min-width:0;flex:1}.person-control input[readonly]{background:#f2f4f6;color:#52616c;border-color:#dbe0e4}.person-edit{padding:8px 10px;border:1px solid #dbe0e4;border-radius:6px;background:white;color:#52616c;font-size:.78rem;min-height:38px;flex-shrink:0}.person-edit:hover{background:#edf4f4}.person-edit[hidden]{display:none}@media(max-width:760px){.user-table th,.user-table td{padding:12px}.user-actions{min-width:170px}.user-table td:first-child{overflow-wrap:anywhere}}

.person-options{margin-top:8px}.person-options[hidden]{display:none}.person-options select{font-size:.82rem}

/* Keep account rows compact; management controls live in Edit user. */
.user-table th,.user-table td{padding:12px 16px}.user-table td:nth-child(2){min-width:0;overflow-wrap:anywhere}.user-table td:first-child{overflow-wrap:anywhere}.user-table td small{display:inline;margin-left:6px}.user-table .pill{white-space:nowrap}.user-table th:last-child,.user-table td:last-child{width:1%;text-align:right;white-space:nowrap}.user-table .user-actions{width:auto;min-width:0;flex-wrap:nowrap;justify-content:flex-end}.user-table .user-actions .secondary{min-height:38px;padding:8px 12px;font-size:.82rem}.account-other-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:22px;padding-top:14px;border-top:1px solid var(--line)}
@media(max-width:760px){.user-table th,.user-table td{padding:10px 8px}.user-table th{font-size:.68rem}.user-table td{font-size:.84rem}.user-table .pill{font-size:.72rem;padding:5px 7px}.user-table td small{display:block;margin-left:0}.user-table .user-actions .secondary{padding:8px 10px}}

/* Phone account rows keep names readable and Edit reachable without horizontal scrolling. */
@media(max-width:540px){
 .user-table-scroll{overflow:visible}.user-table,.user-table tbody{display:block;width:100%}
 .user-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .user-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;padding:16px;border-bottom:1px solid var(--line)}
 .user-table tr:last-child{border-bottom:0}.user-table td{display:block;padding:0;border:0;min-width:0;font-size:.9rem;overflow-wrap:anywhere}
 .user-table td::before{content:attr(data-label);display:block;font-size:.7rem;color:var(--muted);margin-bottom:5px}
 .user-table td:first-child{grid-column:1;grid-row:1}.user-table td:nth-child(2){grid-column:1;grid-row:2;overflow-wrap:break-word}
 .user-table td:nth-child(3){grid-column:2;grid-row:1}.user-table td:last-child{grid-column:2;grid-row:2;width:auto;align-self:end;text-align:left}
 .user-table td:last-child::before{display:none}.user-table td small{display:inline;margin-left:6px}
}

/* Reusable questions inside the equipment checklist editor. */
.inspection-builder{background:white;border:1px solid #b9d4d1;border-radius:8px;margin:0 0 26px;overflow:hidden}
.inspection-builder>summary{display:flex;align-items:center;gap:14px;padding:20px 24px;cursor:pointer;list-style:none;background:#f0f7f6;min-height:76px}
.inspection-builder>summary::-webkit-details-marker{display:none}
.inspection-builder>summary::before{content:'›';font-size:1.8rem;line-height:1;transition:transform .15s;color:var(--accent)}
.inspection-builder[open]>summary::before{transform:rotate(90deg)}
.inspection-builder>summary strong{font-size:1rem;display:block}
.inspection-builder>summary small{display:block;color:var(--muted);font-size:.82rem;margin-top:5px}
.inspection-builder>summary:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
.builder-content{padding:22px 24px 0}
.builder-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px}
.builder-result-count{font-size:.78rem;color:var(--muted);padding:12px 0}
.builder-results{max-height:min(56vh,560px);overflow-y:auto;overscroll-behavior:contain;padding:3px 6px 12px 3px;scrollbar-gutter:stable}
.builder-group{overflow-wrap:anywhere;font-size:.83rem;margin:18px 0 10px;color:var(--muted)}
.builder-group:first-child{margin-top:3px}
.builder-question{display:flex;gap:13px;align-items:flex-start;width:100%;text-align:left;padding:17px;border:1px solid var(--line);border-radius:7px;background:white;margin-bottom:10px;min-height:64px}
.builder-question:hover:not(:disabled){border-color:#80aaa3;background:#f6fbfa}
.builder-question[aria-pressed=true]{border-color:#258356;background:#eef8f2}
.builder-question:disabled{opacity:.65}
.builder-circle{width:26px;height:26px;flex-shrink:0;border:2px solid #a9b7c1;border-radius:50%;display:grid;place-items:center;margin-top:2px;color:transparent}
.builder-circle .icon{width:18px;height:18px}
.builder-question[aria-pressed=true] .builder-circle{background:var(--green);border-color:var(--green);color:white}
.builder-question-body{min-width:0;display:block}
.builder-source,.builder-related-label,.builder-context{display:block;font-size:.73rem;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.builder-question-text{display:block;font-size:.93rem;font-weight:550;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}
.builder-description{display:block;font-size:.82rem;color:#566676;line-height:1.6;margin-top:7px;overflow-wrap:anywhere}
.builder-related{border-left:3px solid #98b9b4}
.builder-related-label{color:var(--accent);font-weight:600;margin-top:5px}
.builder-context{margin-top:9px}
.builder-footer{border-top:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:18px 0;background:white}
.builder-footer>span{font-size:.85rem;font-weight:600}
.builder-footer>div{display:flex;flex-wrap:wrap;gap:10px}
.builder-footer>small{flex-basis:100%;font-size:.75rem;color:var(--muted)}
.builder-empty{padding:26px 12px;color:var(--muted);font-size:.88rem}
@media(max-width:760px){.builder-filters{grid-template-columns:1fr}.inspection-builder>summary{padding:18px}.builder-content{padding:18px 18px 0}.builder-question{padding:14px 11px;gap:10px}.builder-circle{width:24px;height:24px}.builder-footer>div{width:100%}.builder-footer button{flex:1;min-width:0;padding:11px 12px;font-size:.81rem}.builder-results{max-height:48dvh}.builder-question-text{font-size:.87rem}.builder-description{font-size:.79rem}}

/* Client colours produce a coordinated palette; safety colours retain their meaning. */
:root[data-client-theme]{--accent:var(--client-accent-text);--focus:var(--client-accent-text)}
[data-client-theme] .rail{background:var(--client-menu-bg);color:var(--client-menu-text)}
[data-client-theme] .rail :is(.brand,.rail-nav button,.section-status,.count){color:var(--client-menu-text)}
[data-client-theme] .rail :is(.brand small,.rail-label,.rail-foot){color:var(--client-menu-muted)}
[data-client-theme] .rail .section-number{color:var(--client-menu-text);border-color:var(--client-menu-border)}
[data-client-theme] .rail-foot{border-color:var(--client-menu-border)}
[data-client-theme] .rail-nav button:hover{background:var(--client-menu-hover)}
[data-client-theme] .rail-nav button.active{background:var(--client-menu-active);color:var(--client-menu-text)}
[data-client-theme] .rail-nav button.active:before{background:var(--client-menu-text)}
[data-client-theme] .brand-mark{background:var(--client-menu-active);color:var(--client-menu-text)}
[data-client-theme] .primary:not(.danger-button){background:var(--client-accent-text);color:var(--client-on-color)}
[data-client-theme] .primary:not(.danger-button):hover{background:var(--client-button-hover)}
[data-client-theme] .progress-bar{background:var(--client-accent-text)}
[data-client-theme] .mobile-workspace-menu{padding:4px;border-color:var(--client-menu-border)}
[data-client-theme] .mobile-workspace-menu>summary{background:var(--client-menu-bg);color:var(--client-menu-text);border-radius:5px;padding:0 12px}
[data-client-theme] :is(.cs-sections,.eq-steps) button.active{background:var(--client-soft);color:var(--client-accent-text);border-color:var(--client-accent-text)}
.client-theme-preview{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid var(--line);border-radius:7px;margin:14px 0 20px;font-size:.8rem}
.client-theme-preview-menu{background:var(--client-menu-bg);color:var(--client-menu-text);padding:16px 12px;display:grid;gap:12px}
.client-theme-preview-menu>small{color:var(--client-menu-muted);font-size:.7rem;letter-spacing:.7px;text-transform:uppercase}
.client-theme-preview-menu>span{background:var(--client-menu-active);padding:10px;border-radius:5px;border-left:3px solid var(--client-menu-text);font-weight:600}
.client-theme-preview-content{background:#fff;padding:16px 12px;display:flex;flex-direction:column;justify-content:center;gap:12px;color:var(--ink)}
.client-theme-preview-action{align-self:flex-start;background:var(--client-accent-text);color:var(--client-on-color);border-radius:5px;padding:10px;font-weight:600}
.application-choices{border:1px solid var(--line);border-radius:7px;margin:16px 0 0;padding:14px;display:grid;gap:12px}
.application-choices legend{font-weight:600;padding:0 5px}.application-choices label{display:flex;gap:10px;align-items:center}.application-choices input{flex-shrink:0}
.clients-panel{margin-top:28px}.clients-panel .panel-heading{gap:16px;flex-wrap:wrap}.clients-panel p{font-size:.88rem;margin-top:5px}
.client-row{display:flex;align-items:center;gap:14px;padding:16px 20px;border-top:1px solid var(--line)}.client-row>div{min-width:0;flex:1;overflow-wrap:anywhere}.client-row small,.account-client-name{display:block;color:var(--muted);font-size:.8rem;margin-top:4px}.client-colour-swatch{width:26px;height:26px;flex-shrink:0;border:1px solid #0003;border-radius:50%}
#account-dialog input[type=color]{padding:4px;width:100%;height:48px}.record-client-button{font-size:.8rem;min-height:36px;padding:6px 0}.client-assignment-dialog .field{margin:20px 0 12px}.client-assignment-dialog p{font-size:.9rem}.inspection-client{overflow-wrap:anywhere}
.application-choices[hidden],[data-client-choice][hidden]{display:none!important}
.workspace-branding{display:flex;flex-direction:column;align-items:center;gap:12px}
.workspace-branding[hidden]{display:none!important}
.rail .workspace-branding{margin:-8px 0 22px}
.workspace-branding-logo{display:flex;align-items:center;justify-content:center;width:100%;max-width:208px;padding:12px;background:#fff;border:1px solid #dce2e8;border-radius:8px;overflow:hidden}
.workspace-branding-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:76px;object-fit:contain}
.mobile-workspace-menu .workspace-branding{padding:16px 12px 12px;gap:10px}
.mobile-workspace-menu .workspace-branding-logo{max-width:220px;padding:10px 14px}
.mobile-workspace-menu .workspace-branding-logo img{max-height:64px}
@media(max-width:600px){.client-row{padding:14px;gap:10px}.clients-panel .panel-heading{align-items:flex-start}.application-choices label{min-height:32px}.client-assignment-dialog{width:calc(100% - 24px)}}
