:root{--navy:#142a49;--navy2:#24466f;--blue:#2f73da;--bg:#f3f5f8;--card:#fff;--line:#dbe1ea;--text:#172033;--muted:#667085;--green:#18794e;--greenbg:#e7f6ed;--amber:#a05a00;--amberbg:#fff2d8;--red:#b42318;--redbg:#feeceb;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Inter,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-size:16px}.native-app body{overscroll-behavior-y:none;-webkit-user-select:none;user-select:none}.native-app input,.native-app select,.native-app textarea,.native-app [contenteditable=true]{-webkit-user-select:text;user-select:text}button,input,select,textarea{font:inherit}.loading{min-height:100vh;color:var(--navy);place-items:center;font-weight:800;display:grid}.login{background:var(--navy);grid-template-columns:minmax(0,1fr) minmax(360px,520px);min-height:100vh;display:grid}.login-brand{color:#fff;flex-direction:column;justify-content:center;padding:8vw;display:flex}.mark{width:62px;height:62px;color:var(--navy);letter-spacing:-2px;background:#fff;border-radius:16px;place-items:center;font-size:22px;font-weight:950;display:grid}.login h1{margin:28px 0 16px;font-size:clamp(34px,5vw,64px);line-height:1}.login-brand p{color:#c8d6e9;max-width:620px;font-size:18px;line-height:1.55}.login-panel{background:#fff;border-radius:24px;flex-direction:column;justify-content:center;margin:24px;padding:clamp(28px,5vw,56px);display:flex}.login-panel h2{color:var(--navy);margin:0 0 8px;font-size:28px}.login-panel p{color:var(--muted);line-height:1.5}.msbtn{cursor:pointer;background:#fff;border:1px solid #aab2bf;border-radius:9px;justify-content:center;align-items:center;gap:12px;margin-top:16px;padding:14px 18px;font-weight:800;display:flex}.mslogo{grid-template-columns:repeat(2,10px);gap:2px;display:grid}.mslogo i{background:#f25022;width:10px;height:10px}.mslogo i:nth-child(2){background:#7fba00}.mslogo i:nth-child(3){background:#00a4ef}.mslogo i:nth-child(4){background:#ffb900}.security{background:#f1f5fb;border-radius:9px;padding:12px;font-size:13px!important}.shell{min-height:100vh}.topbar{background:var(--navy);color:#fff;z-index:20;align-items:center;gap:14px;height:68px;padding:0 20px;display:flex;position:sticky;top:0}.native-app .topbar{height:calc(68px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}.topbar .mark{border-radius:9px;width:38px;height:38px;font-size:14px}.brand{font-weight:850}.brand small{color:#b9c8dc;font-size:12px;font-weight:500;display:block}.grow{flex:1}.user{text-align:right;font-size:13px}.user b{display:block}.signout{color:#fff;cursor:pointer;background:0 0;border:1px solid #617694;border-radius:8px;padding:8px 11px}.connection-pill{color:#fff;white-space:nowrap;cursor:default;background:#ffffff12;border:1px solid #7eaa91;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}.connection-pill.online:before,.connection-pill.offline:before,.connection-pill.syncing:before,.connection-pill.blocked:before{content:"";background:#6ee7a7;border-radius:50%;width:7px;height:7px;margin-right:6px;display:inline-block}.connection-pill.offline:before,.connection-pill.blocked:before{background:#ffd166}.connection-pill.syncing:before{background:#9fc5ff}.sync-banner{color:#69420a;z-index:19;background:#fff5d9;border-bottom:1px solid #e3bb67;justify-content:space-between;align-items:center;gap:18px;padding:11px 20px;display:flex;position:sticky;top:68px}.native-app .sync-banner{top:calc(68px + env(safe-area-inset-top))}.sync-banner[hidden]{display:none}.sync-banner>div{gap:2px;display:grid}.sync-banner span{font-size:12px;line-height:1.35}.sync-banner.blocked{background:var(--redbg);color:var(--red);border-color:#e9a09a}.sync-banner.syncing{color:#254e85;background:#edf4ff;border-color:#a7c2e6}.offline-job-note,.pending-sync{background:#fff9e8!important;border-color:#e3bb67!important}.error-text{color:var(--red);overflow-wrap:anywhere;margin-top:5px}.layout{grid-template-columns:230px 1fr;min-height:calc(100vh - 68px);display:grid}aside{border-right:1px solid var(--line);background:#fff;padding:18px 12px}.nav{text-align:left;width:100%;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;margin-bottom:4px;padding:12px;font-weight:650}.nav.active{background:var(--navy);color:#fff}.nav.hfml-nav{color:#fff;background:linear-gradient(135deg,#0d5f46,#153653);border:1px solid #43b98a;border-radius:12px;gap:3px;margin:8px 0 16px;padding:15px 14px;display:grid;box-shadow:0 9px 20px #142a4933}.nav.hfml-nav:hover{border-color:#72ddb5;transform:translateY(-1px)}.nav.hfml-nav.active{color:#fff;background:linear-gradient(135deg,#12815f,#142a49);box-shadow:0 0 0 3px #43b98a33,0 10px 22px #142a493d}.nav.hfml-nav:focus-visible{outline-offset:2px;outline:3px solid #72ddb5}.hfml-nav-kicker,.nav.hfml-nav strong,.nav.hfml-nav small{display:block}.hfml-nav-kicker{color:#a8f0d5;letter-spacing:.09em;font-size:11px;font-weight:850}.nav.hfml-nav strong{letter-spacing:.015em;font-size:15px}.nav.hfml-nav small{color:#e0f5ed;font-size:12px;font-weight:650}.main{width:100%;max-width:1400px;margin:0 auto;padding:26px}.pagehead{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px;display:flex}.pagehead h1{color:var(--navy);margin:0 0 4px;font-size:28px}.sub{color:var(--muted);font-size:14px}.btn{background:var(--navy);color:#fff;cursor:pointer;border:0;border-radius:9px;padding:11px 15px;font-weight:800}.btn.secondary{color:var(--navy);border:1px solid var(--navy);background:#fff}.btn.green{background:var(--green)}.btn.red{background:var(--red)}.btn.small{padding:7px 10px;font-size:13px}.btn:disabled{opacity:.45;cursor:not-allowed}.cards{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.card,.job{border:1px solid var(--line);background:#fff;border-radius:14px;padding:18px}.job{cursor:pointer}.job h3{margin:11px 0 5px;font-size:17px}.job-card-head,.job-list-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.job-card-head{flex-wrap:wrap}.job-list-tabs{margin-bottom:9px}.job-list-heading{color:var(--muted);margin:0 0 10px;font-size:12px}.job-list-heading b{color:var(--text)}.compact-job-cards{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:10px}.compact-job-cards .job h3{margin:7px 0 2px;font-size:15px;line-height:1.25}.compact-job-cards .job>.sub,.compact-job-cards .job>.meta{font-size:11px;line-height:1.3}.compact-job-cards .badge{padding:3px 7px;font-size:10px}.compact-job-cards .availability{margin-top:7px;padding:6px 7px;font-size:11px;line-height:1.3}.compact-job-cards .progress{height:5px;margin:8px 0 5px}.badge{color:#4b5c73;background:#edf1f6;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:850;display:inline-flex}.badge.in_progress,.badge.booked{background:var(--amberbg);color:var(--amber)}.badge.complete,.badge.approved{background:var(--greenbg);color:var(--green)}.badge.returned{background:var(--redbg);color:var(--red)}.progress{background:#e7ebf1;border-radius:10px;height:8px;margin:14px 0 8px;overflow:hidden}.bar{background:var(--green);height:100%}.detail{grid-template-columns:minmax(0,1fr) 330px;gap:18px;display:grid}.sticky{align-self:start;position:sticky;top:88px}.tabs{flex-wrap:wrap;gap:7px;margin-bottom:15px;display:flex}.tab{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:#fff;border-radius:8px;padding:9px 12px;font-weight:700}.tab.active{background:var(--navy);color:#fff;border-color:var(--navy)}.tab:disabled{cursor:not-allowed;opacity:.58;background:#eef1f5}.row{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:13px 0;display:flex}.row:last-child{border-bottom:0}.row-main{flex:1}.row-main b{display:block}.meta{color:var(--muted);margin-top:3px;font-size:13px}.metric{border-bottom:1px solid var(--line);justify-content:space-between;gap:14px;padding:11px 0;display:flex}.metric:last-child{border:0}.formgrid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.field label{color:#44516a;margin-bottom:6px;font-size:13px;font-weight:800;display:block}.field input,.field select,.field textarea{background:#fff;border:1px solid #cbd3df;border-radius:9px;width:100%;padding:11px}.field textarea{resize:vertical;min-height:92px}.field.check{background:#f7f9fc;border-radius:9px;align-items:flex-start;gap:10px;padding:12px;display:flex}.field.check input{width:20px;height:20px}.field.check label{margin:1px 0 0}.document-form-section,.document-information{grid-column:1/-1}.document-form-section{border-bottom:2px solid var(--green);margin-top:8px;padding:14px 0 7px}.document-form-section h3{color:var(--navy);margin:0;font-size:17px}.document-information{color:#365f4d;white-space:pre-line;background:#f6faf7;border-left:4px solid #78a98b;border-radius:0 9px 9px 0;padding:12px 14px;line-height:1.55}.document-choice{grid-column:1/-1}.notice{color:#254e85;background:#edf4ff;border-radius:10px;margin-bottom:14px;padding:12px 14px}.notice.error{background:var(--redbg);color:var(--red)}.notice.ok{background:var(--greenbg);color:var(--green)}.group-title{text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin:22px 0 9px;font-size:12px;font-weight:900}.photos{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.photo{text-align:center;cursor:pointer;background:#f8fafc;border:1.5px dashed #b9c2cf;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;min-height:145px;padding:11px;font-size:13px;font-weight:750;display:flex}.photo.done{background:var(--greenbg);color:var(--green);border-style:solid}.photo.needs-retake,.photo.done.needs-retake{border:2px solid var(--red);background:var(--redbg);color:var(--red)}.photo.needs-retake .photo-state{letter-spacing:.3px;font-weight:950}.photo small{margin-top:7px;font-weight:500;display:block}.modalback{z-index:50;background:#0b1523aa;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:16px;width:min(680px,100%);max-height:92vh;padding:22px;overflow:auto}.modal h2{color:var(--navy);margin:0 0 16px}.picture-viewer{z-index:120;color:#fff;background:#07110c;grid-template-rows:auto minmax(0,1fr);display:grid;position:fixed;inset:0}.picture-viewer-head{min-height:64px;padding:calc(10px + env(safe-area-inset-top,0px)) 16px 10px;background:var(--navy);align-items:center;gap:14px;display:flex}.picture-viewer-head b{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.picture-viewer-stage{place-items:center;min-height:0;padding:12px;display:grid;overflow:auto}.picture-viewer-stage img{object-fit:contain;max-width:100%;max-height:100%;display:block}body.rams-reader-open{overflow:hidden}.rams-viewer::backdrop{background:#0b1523cc}.rams-viewer:not([open]){display:none}.rams-viewer{box-sizing:border-box;width:100vw;max-width:none;height:100vh;max-height:none;z-index:125;height:100dvh;color:var(--navy);background:#e9eeeb;border:0;grid-template-rows:auto minmax(0,1fr) auto;margin:0;padding:0;display:grid;position:fixed;inset:0}.rams-viewer-head{min-height:72px;padding:calc(10px + env(safe-area-inset-top,0px)) 16px 10px;background:var(--navy);color:#fff;align-items:center;gap:14px;display:flex}.rams-viewer-head>div{gap:3px;min-width:0;display:grid}.rams-viewer-head b,.rams-viewer-head small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rams-viewer-head small{color:#d9e6de;font-size:12px}.rams-viewer-stage{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;width:100%;min-height:0;overflow:auto}.rams-viewer-loading,.rams-viewer-error{width:min(620px,100% - 32px);margin:32px auto}.rams-viewer-loading{justify-content:center;align-items:center;gap:12px;min-height:180px;display:flex}.rams-pdf-frame{background:#fff;border:0;width:100%;height:100%;min-height:0;display:block}.rams-docx-stage{padding:18px}.rams-docx-stage .docx-wrapper{background:0 0!important;padding:0!important}.rams-docx-stage section.docx{max-width:900px;margin:0 auto 18px;box-shadow:0 2px 12px #0b152329}.rams-docx-stage img,.rams-docx-stage table{max-width:100%}.rams-viewer-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #c9d4cc;justify-content:space-between;align-items:center;gap:16px;display:flex;box-shadow:0 -3px 14px #0b15231f}.rams-viewer-actions>div{gap:3px;display:grid}.rams-viewer-actions small{color:var(--muted)}@media (max-width:700px){.rams-viewer{grid-template-rows:auto minmax(0,1fr) auto}.rams-viewer-head{min-height:58px;padding:calc(7px + env(safe-area-inset-top,0px)) 9px 7px;align-items:center;gap:9px}.rams-viewer-head .btn{flex:none;min-height:44px;padding:9px 12px}.rams-viewer-head b{font-size:14px}.rams-viewer-head small{white-space:normal;font-size:10px;line-height:1.25}.rams-viewer-stage,.rams-pdf-frame{width:100vw;height:100%;min-height:0}.rams-docx-stage{touch-action:pan-x pan-y pinch-zoom;padding:6px}.rams-docx-stage section.docx{margin-bottom:8px;width:100%!important;min-height:auto!important;padding:12px!important}.rams-viewer-actions{padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));flex-direction:column;align-items:stretch;gap:7px}.rams-viewer-actions>div small{display:none}.rams-viewer-actions .btn{width:100%;min-height:52px}}.visit-outcome-choice{border:0;gap:10px;margin:16px 0;padding:0;display:grid}.visit-outcome-choice legend{margin-bottom:8px;font-weight:800}.visit-outcome-choice label{background:#f8faf8;border:1px solid #c9d4cc;border-radius:10px;align-items:flex-start;gap:11px;padding:13px;display:flex}.visit-outcome-choice input{width:20px;height:20px;margin-top:2px}.visit-outcome-choice span{gap:3px;display:grid}.visit-outcome-choice small{color:var(--muted)}.attendance-history{margin-top:14px}.attendance-history>summary{cursor:pointer;padding:10px 0;font-weight:800}.attendance-visit{background:#fff;border:1px solid #d8e0da;border-radius:9px;margin-top:9px;padding:11px}.attendance-visit-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;display:flex}.actions{flex-wrap:wrap;gap:9px;display:flex}.empty{text-align:center;color:var(--muted);padding:50px 20px}.save-state{color:var(--muted);margin-left:auto;font-size:13px}.mobilebar{display:none}.spinner{border:2px solid #fff5;border-top-color:#fff;border-radius:50%;width:17px;height:17px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.stats{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px;display:grid}.stat-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:18px}.stat-num{color:var(--navy);font-size:28px;font-weight:900}.stat-label{color:var(--muted);margin-top:4px;font-size:12px}.finance-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0;display:grid}.finance-grid div{background:#f7f9fc;border-radius:10px;padding:14px}.finance-grid span{color:var(--muted);font-size:12px;display:block}.finance-grid b{margin-top:5px;font-size:22px;display:block}.profit{color:var(--green)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:900px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:10px;font-size:13px}th{color:var(--muted);text-transform:uppercase;font-size:11px}td input{border:1px solid #cbd3df;border-radius:7px;width:120px;padding:8px}.measure-picker{grid-template-columns:1fr 1fr;gap:8px;display:grid}.measure-picker label{border:1px solid var(--line);background:#f7f9fc;border-radius:8px;align-items:center;gap:8px;padding:10px;font-size:13px;font-weight:700;display:flex}.measure-picker input{width:18px;height:18px}.requirements-list{margin-top:14px}@media (max-width:900px){.login{grid-template-columns:1fr}.login-brand{padding:42px 24px 14px}.login-brand p{font-size:15px}.login-panel{border-radius:18px;margin:18px}.layout{grid-template-columns:1fr}aside{display:none}.main{padding:18px 12px 84px}.cards,.detail{grid-template-columns:1fr}.sticky{position:static}.photos{grid-template-columns:1fr 1fr}.mobilebar{border-top:1px solid var(--line);z-index:30;background:#fff;justify-content:space-around;height:66px;display:flex;position:fixed;bottom:0;left:0;right:0;overflow-x:auto}.native-app .mobilebar{height:calc(66px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.native-app .main{padding-bottom:calc(86px + env(safe-area-inset-bottom))}.mobilebar button{color:var(--muted);background:0 0;border:0;min-width:82px;font-size:11px;font-weight:700}.mobilebar button.active{color:var(--navy)}.mobilebar button.hfml-mobile-nav{color:#fff;background:linear-gradient(135deg,#0d6a4e,#153653);border-radius:10px;align-content:center;gap:2px;min-width:92px;margin:6px 3px;display:grid;box-shadow:0 4px 11px #142a4933}.mobilebar button.hfml-mobile-nav strong,.mobilebar button.hfml-mobile-nav small{display:block}.mobilebar button.hfml-mobile-nav strong{letter-spacing:.04em;font-size:12px}.mobilebar button.hfml-mobile-nav small{color:#dff7ee;font-size:10px}.mobilebar button.hfml-mobile-nav.active{color:#fff;background:linear-gradient(135deg,#12815f,#142a49);box-shadow:inset 0 0 0 2px #72ddb5,0 4px 11px #142a493d}.topbar{padding:0 12px}.connection-pill{text-overflow:ellipsis;max-width:132px;padding:7px 8px;overflow:hidden}.sync-banner{align-items:flex-start;padding:10px 12px;top:68px}.native-app .sync-banner{top:calc(68px + env(safe-area-inset-top))}.brand small,.user{display:none}.formgrid{grid-template-columns:1fr}.pagehead{flex-direction:column}.pagehead h1{font-size:24px}.stats{grid-template-columns:1fr 1fr}.finance-grid,.measure-picker{grid-template-columns:1fr}}.page-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;display:flex}.page-actions>.actions{justify-content:flex-end}.system-back{white-space:nowrap}.payment-filters{grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;margin-bottom:16px;display:grid}.stats.compact{grid-template-columns:repeat(3,1fr)}.payments-table td{vertical-align:top}.payments-table input[type=checkbox]{width:20px;height:20px}.positive{color:var(--green)}.negative{color:var(--red)}.badge.payment-ready_for_approval,.badge.payment-approved{background:var(--greenbg);color:var(--green)}.badge.payment-pending_compliance{background:var(--amberbg);color:var(--amber)}.badge.payment-included_in_pay_run{color:#2457a6;background:#e8f1ff}.badge.payment-paid{background:var(--navy);color:#fff}.rate-import-preview{margin-top:16px}.compliance-progress{margin-bottom:16px}.completion-ring{border:7px solid var(--greenbg);width:62px;height:62px;color:var(--green);border-radius:50%;flex:0 0 62px;place-items:center;font-size:15px;display:grid}.measure-progress-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px;margin-top:12px;display:grid}.measure-progress-grid>div{border:1px solid var(--line);background:#f8fafc;border-radius:9px;grid-template-columns:1fr auto;gap:3px 10px;padding:10px 12px;display:grid}.measure-progress-grid span{font-size:13px;font-weight:800}.measure-progress-grid b{color:var(--green)}.measure-progress-grid small{color:var(--muted);grid-column:1/-1}.outstanding-list{background:var(--amberbg);color:#71450b;border:1px solid #e8bd77;border-radius:9px;margin:12px 0;padding:11px 12px;font-size:13px}.outstanding-list ul{margin:7px 0 0;padding-left:20px}.job-requirements-list{gap:10px;display:grid}.requirement-card{border:1px solid var(--line);border-left:5px solid var(--amber);background:#fff;border-radius:10px;align-items:flex-start;gap:14px;padding:14px;display:flex}.requirement-card.status-approved,.requirement-card.status-not_applicable{border-left-color:var(--green)}.requirement-card.status-rejected{border-left-color:var(--red)}.requirement-card-main{flex:1;min-width:0}.requirement-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.requirement-title h3{margin:0}.requirement-type{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900}.audit-changes{color:var(--muted);gap:3px;margin-top:7px;font-size:12px;display:grid}.calendar-drag-help{color:var(--muted);grid-column:1/-1;margin:0;font-size:12px}.calendar-job-movable{cursor:grab}.calendar-job-movable:active{cursor:grabbing}.calendar-job.dragging{opacity:.45}.calendar-day.drop-target,.calendar-schedule-slot.drop-target{border:2px dashed var(--green);background:var(--greenbg)}.management-override{border:1px solid #e8bd77;background:var(--amberbg)!important}.owner-identity{border-top:5px solid var(--green);justify-content:space-between;align-items:center;gap:22px;display:flex}.owner-identity h2{color:var(--navy);margin:4px 0}.owner-identity p{color:var(--muted);margin:0}.owner-kicker{color:var(--green);letter-spacing:.08em;font-size:11px;font-weight:900}.owner-builder{border-top:5px solid var(--blue)}.owner-builder .pagehead h2{color:var(--navy);margin:4px 0}.owner-builder-compose{border:1px solid var(--line);background:#f8fafc;border-radius:11px;margin-top:16px;padding:16px}.owner-builder-compose>label{color:var(--navy);margin-bottom:7px;font-weight:900;display:block}.owner-builder-compose textarea{resize:vertical;background:#fff;border:1px solid #cbd3df;border-radius:9px;width:100%;min-height:110px;padding:11px}.owner-builder-compose .actions{justify-content:space-between;align-items:center;margin-top:9px}.owner-builder-compose .meta{flex:360px}.owner-builder-message{border-left:4px solid var(--blue);color:var(--navy);background:#edf4ff;border-radius:0 9px 9px 0;margin-top:12px;padding:11px 13px;line-height:1.45}.owner-change-list{gap:12px;margin-top:18px;display:grid}.owner-change-card{border:1px solid var(--line);background:#fff;border-left:5px solid #9aa8bb;border-radius:11px;padding:16px}.owner-change-card.preview_ready,.owner-change-card.published{border-left-color:var(--green)}.owner-change-card.preview_failed,.owner-change-card.failed{border-left-color:#c43d34}.owner-change-card.preview_building,.owner-change-card.creating,.owner-change-card.publishing{border-left-color:#c98b20}.owner-change-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.owner-change-head h3{color:var(--navy);margin:0 0 3px}.owner-change-card p{margin:12px 0 0;line-height:1.5}.owner-change-request{color:var(--muted)}.owner-change-files{color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px;font-size:12px;display:flex}.owner-change-files code{color:var(--navy);background:#f3f5f8;border:1px solid #dbe2eb;border-radius:6px;padding:3px 7px}.owner-change-actions{margin-top:14px}.owner-approval-note{margin-top:9px}.owner-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.owner-check{border:1px solid var(--line);background:#f8fafc;border-radius:11px;align-items:flex-start;gap:11px;min-width:0;padding:14px;display:flex}.owner-check.pass{background:var(--greenbg);border-color:#acd5bd}.owner-check.attention{background:var(--redbg);border-color:#e6aaa5}.owner-check.information{background:#edf4ff;border-color:#b9cceb}.owner-check-icon{width:28px;height:28px;color:var(--navy);background:#fff;border-radius:50%;flex:0 0 28px;place-items:center;font-weight:900;display:grid}.owner-check h3,.owner-check p{margin:0}.owner-check p{color:var(--muted);margin-top:4px;font-size:13px}.owner-check-details{color:var(--muted);margin:8px 0 0;padding-left:18px;font-size:12px}.owner-agent-chat{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.owner-agent-chat>label{color:var(--navy);margin-bottom:7px;font-weight:900;display:block}.owner-agent-chat textarea{resize:vertical;border:1px solid #cbd3df;border-radius:9px;width:100%;min-height:88px;padding:11px}.owner-agent-chat .actions{justify-content:space-between;align-items:center;margin-top:9px}.owner-agent-chat .meta{flex:360px}.owner-agent-answer{border-left:4px solid var(--green);white-space:pre-wrap;background:#f4f9f6;border-radius:0 9px 9px 0;margin-top:12px;padding:14px;line-height:1.55}.owner-route-list{gap:0;display:grid}.owner-route-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(180px,1fr) minmax(260px,.8fr);align-items:center;gap:16px;padding:13px 0;display:grid}.owner-route-row:last-child{border-bottom:0}.owner-route-row .field label{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}@media (max-width:600px){.owner-change-head{display:grid}.owner-builder-compose .actions,.owner-change-actions{flex-direction:column;align-items:stretch}.owner-builder-compose .btn,.owner-change-actions .btn{justify-content:center;width:100%}}.evidence-entry-gate{border-top:5px solid #c43d34}.evidence-entry-gate h3{color:var(--navy);margin-top:0}@media (min-width:901px){.layout>aside{align-self:start;height:calc(100vh - 68px);position:sticky;top:68px;overflow-y:auto}.native-app .layout>aside{top:calc(68px + env(safe-area-inset-top));height:calc(100vh - 68px - env(safe-area-inset-top))}}@media (max-width:1100px){.payment-filters{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media (max-width:900px){.page-actions,.page-actions>.actions{justify-content:flex-start;width:100%}.page-actions>.btn,.page-actions>.actions>.btn{flex:auto;justify-content:center}.mobilebar{-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;min-height:66px;transform:translateZ(0);position:fixed!important;bottom:0!important}.mobilebar::-webkit-scrollbar{display:none}.mobilebar button{flex:1 0 82px;min-height:64px;position:relative}.mobilebar button.active:before{content:"";background:var(--green);border-radius:0 0 3px 3px;height:3px;position:absolute;top:0;left:20%;right:20%}.requirement-card{flex-direction:column}.requirement-card>.actions{width:100%}}@media (max-width:560px){.payment-filters,.stats.compact{grid-template-columns:1fr}.page-actions>.btn,.page-actions>.actions,.page-actions>.actions>.btn{width:100%}}@media (max-width:480px){.photos{grid-template-columns:1fr}.login h1{font-size:36px}.login-panel{padding:28px 22px}}.doc-group{margin-bottom:14px}.doc-group h3{color:var(--navy);margin:0 0 8px}.doc-row{border-bottom:1px solid var(--line);align-items:center;gap:11px;padding:14px 0;display:flex}.doc-row:last-child{border-bottom:0}.doc-state{width:28px;height:28px;color:var(--muted);background:#edf1f6;border-radius:50%;flex:none;place-items:center;font-weight:900;display:grid}.doc-row.complete .doc-state{background:var(--greenbg);color:var(--green)}.doc-row.complete>.row-main>b{color:var(--green)}.doc-row.needs-replacement{background:var(--redbg);border:1px solid #e6aaa5;border-radius:10px;margin:6px 0;padding:14px 10px}.doc-row.needs-replacement .doc-state{background:var(--red);color:#fff}.doc-row.needs-replacement>.row-main>b{color:var(--red)}@media (max-width:600px){.doc-row{flex-wrap:wrap;align-items:flex-start}.doc-row .actions{width:100%;padding-left:39px}}.area-section{margin:0 0 26px}.area-head{justify-content:space-between;align-items:center;gap:12px;margin:0 2px 10px;display:flex}.area-head h2{color:var(--navy);margin:0;font-size:20px}.area-head span{color:var(--muted);font-size:13px;font-weight:750}.job.locked{background:#f7f8fa;border-style:dashed}.job.locked:hover{border-color:#9aa6b7}.badge.locked{color:#5e6878;background:#eceff3}.lock-note{background:var(--amberbg);color:#774600;border:1px solid #efc47d}.photo:disabled{cursor:not-allowed;opacity:.72;background:#eef1f5;border-color:#aab3c0}.photo.done:disabled{background:var(--greenbg)}.map-link{align-items:center;text-decoration:none;display:inline-flex}.route-list{margin-top:16px}.route-stop{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:14px 0;display:flex}.route-stop:last-child{border-bottom:0}.route-stop.route-conflict{background:#fff3f3;border:1px solid #d99090;border-radius:12px;margin:8px 0;padding:14px 10px}.route-stop.route-conflict .route-number{background:var(--red)}.route-number{background:var(--navy);color:#fff;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-weight:900;display:grid}.availability{border-radius:8px;margin-top:12px;padding:9px 10px;font-size:13px;font-weight:750}.availability.not-booked{background:var(--amberbg);color:var(--amber)}.badge.cancelled,.badge.compliance_issue,.badge.no_access{background:var(--redbg);color:var(--red)}.engineer-outcomes{gap:9px;margin-top:14px;display:grid}.engineer-outcomes .btn{width:100%}.attendance-panel{border:1px solid var(--line);background:#f7f9fc;border-radius:10px;margin:12px 0;padding:12px}.attendance-panel h4{color:var(--navy);margin:0 0 8px}.attendance-panel>.btn,.attendance-panel>a.btn{justify-content:center;width:100%;margin-top:10px;text-decoration:none;display:flex}.attendance-prompt{background:var(--amberbg);color:var(--amber);border-radius:8px;padding:10px}.live-attendance{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:14px 0;display:flex}.live-attendance:last-child{border-bottom:0}.team-map-layout{grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:16px;display:grid}.team-map-card{padding:12px}.team-map{border:1px solid var(--line);z-index:1;border-radius:12px;width:100%;height:min(68vh,650px);min-height:430px;overflow:hidden}.team-map-card>.sub{margin-bottom:2px;padding:0 6px}.map-engineer{border-bottom:1px solid var(--line);align-items:flex-start;gap:10px;padding:13px 0;display:flex}.map-engineer:last-child{border-bottom:0}.map-dot{background:var(--green);width:13px;height:13px;box-shadow:0 0 0 4px var(--greenbg);border-radius:50%;flex:none;margin-top:4px}.programme-actions{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:10px 0 20px;display:flex}.programme-actions:last-child{border-bottom:0;padding-top:20px;padding-bottom:4px}.programme-actions h3{margin:0 0 5px}.programme-actions p{margin:0}.programme-file-picker{flex:none;justify-content:flex-end;align-items:center;gap:10px;display:flex}.programme-file-picker span{max-width:250px;color:var(--muted);overflow-wrap:anywhere;font-size:13px;line-height:1.35}.programme-preview{min-width:1050px}.programme-preview td{vertical-align:top}.integration-status{color:#6b4c08;background:#fff8e6;border:1px solid #e5c67b;border-radius:12px;align-items:flex-start;gap:12px;margin-bottom:14px;padding:15px;display:flex}.integration-status>span{background:#c58a00;border-radius:50%;flex:none;width:13px;height:13px;margin-top:4px;box-shadow:0 0 0 4px #f7e5b6}.integration-status.connected{background:var(--greenbg);color:#216447;border-color:#a9d3b3}.integration-status.connected>span{background:var(--green);box-shadow:0 0 0 4px #c9e8d1}.integration-status p{margin:4px 0 0}.integration-status small{opacity:.86;margin-top:7px;display:block}.notice ul{margin:10px 0 0;padding-left:20px}.safety-rams.complete{box-shadow:inset 5px 0 0 var(--green);border-color:#9bc9a8}.safety-actions{grid-template-columns:1fr 1fr;gap:12px;margin:16px 0;display:grid}.engineer-safety-launch{border-left:6px solid var(--amber);grid-template-columns:minmax(0,1fr) minmax(320px,.75fr);align-items:center;gap:20px;display:grid}.engineer-safety-launch h2,.engineer-safety-launch p{margin:4px 0}.engineer-safety-launch .safety-actions{margin:0}.safety-actions .btn{min-height:54px}.btn.safety-near{background:var(--amber)}.safety-register{margin-top:14px}.safety-report-row{border-bottom:1px solid var(--line);grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:15px 0;display:grid}.safety-report-row:last-child{border-bottom:0}.safety-report-row.accident{border-left:4px solid var(--red);padding-left:10px}.safety-report-row.near_miss{border-left:4px solid #d49422;padding-left:10px}.safety-icon{background:var(--amberbg);width:38px;height:38px;color:var(--amber);border-radius:50%;place-items:center;font-size:20px;font-weight:950;display:grid}.safety-report-row.accident .safety-icon{background:var(--redbg);color:var(--red)}.safety-filter{max-width:340px}.safety-answer{align-items:flex-start}.safety-answer span{flex:0 0 38%}.safety-answer b{text-align:right;white-space:pre-wrap}@media (min-width:760px){:is(.modal:has(#submit-safety-report),.modal:has(#save-safety-review)){width:min(980px,100%)}}@media (max-width:650px){.live-attendance{flex-direction:column;align-items:flex-start}.team-map-layout{grid-template-columns:1fr}.team-map{height:55vh;min-height:360px}.programme-actions{flex-direction:column;align-items:flex-start}.programme-file-picker{flex-direction:column;align-items:flex-start;width:100%}.safety-actions,.engineer-safety-launch{grid-template-columns:1fr}.safety-report-row{grid-template-columns:42px minmax(0,1fr);align-items:start}.safety-report-row>.badge,.safety-report-row>.actions,.safety-report-row>.btn{grid-column:2;justify-self:start}.safety-answer{display:block}.safety-answer b{text-align:left;margin-top:5px;display:block}}.measure-edit{border-bottom:1px solid var(--line);padding:16px 0}.photo .btn{margin-top:10px}.photo-meta{color:var(--muted);margin-top:8px;font-size:11px;font-weight:600;display:block}.engineer-value{background:var(--greenbg);border:1px solid #a9d3b3;border-radius:12px;margin:12px 0;padding:14px}.engineer-value span{color:var(--green);font-size:13px;display:block}.engineer-value b{color:var(--green);margin-top:3px;font-size:28px;display:block}.completion-checks{gap:10px;margin:14px 0;display:grid}.completion-checks label{border:1px solid var(--line);background:#f6faf7;border-radius:9px;align-items:flex-start;gap:10px;padding:12px;font-weight:700;display:flex}.completion-checks input{flex:none;width:20px;height:20px}.signature-field{margin-top:14px}.signature-field canvas{touch-action:none;background:#fff;border:2px dashed #8da99a;border-radius:10px;width:100%;height:190px;margin-bottom:9px;display:block}.saved-signature{object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:8px;max-width:100%;height:90px;margin-bottom:8px;display:block}.prime-camera{z-index:100;color:#fff;background:#07110c;grid-template-rows:auto minmax(0,1fr) auto;display:grid;position:fixed;inset:0}.camera-head{min-height:58px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;background:var(--navy);justify-content:space-between;align-items:center;display:flex}.camera-head button{color:#fff;background:#ffffff20;border:0;border-radius:50%;width:42px;height:42px;font-size:30px}.camera-stage{background:#000;min-height:0;position:relative;overflow:hidden}.camera-stage video{object-fit:cover;width:100%;height:100%}.camera-live-overlay{pointer-events:none;grid-template-rows:auto auto 1fr auto;align-items:start;display:grid;position:absolute;inset:0}.camera-live-overlay strong,.camera-live-overlay span,.camera-live-overlay small{text-shadow:0 1px 3px #000;padding:10px 14px}.camera-live-overlay strong{background:#000b;font-size:clamp(20px,5vw,36px)}.camera-live-overlay>span{color:#102018;text-shadow:none;background:#ffffffe8;font-weight:800}.camera-live-overlay small{background:#000b;grid-row:4;font-size:14px;line-height:1.5}.camera-controls{min-height:116px;padding:12px 18px calc(14px + env(safe-area-inset-bottom));background:#07110c;flex-direction:column;align-items:center;gap:8px;font-size:13px;display:flex}.camera-shutter{background:#2f9c61;border:6px solid #fff;border-radius:50%;width:68px;height:68px;box-shadow:0 0 0 3px #2f9c61}.camera-shutter:disabled{opacity:.55}.measure-edit:last-child{border-bottom:0}.measure-edit>.formgrid{margin:12px 0}.stats.compact{grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0}@media (max-width:600px){.stats.compact{grid-template-columns:1fr}.measure-edit .actions{flex-direction:column;align-items:flex-start}}.staff-list{margin-top:16px}.staff-list .row>.actions{justify-content:flex-end}.staff-list .row>.badge{flex:none}@media (max-width:700px){.staff-list .row{flex-wrap:wrap;align-items:flex-start}.staff-list .row>.row-main{min-width:100%}.staff-list .row>.actions{justify-content:flex-start;width:100%}}:root{--navy:#164b35;--navy2:#216447;--blue:#2f7d52;--bg:#f3f7f3;--line:#d7e2da;--text:#163026;--muted:#607269;--green:#238636;--greenbg:#e5f4e8}.login-brand p{color:#d1e5d7}.brand small{color:#c9dfd0}.signout{border-color:#75a58a}.security,.notice{color:#275d43;background:#edf6f0}.job:hover{border-color:#78a98b;box-shadow:0 8px 24px #164b3514}.badge.submitted,.badge.compliance_review{color:#216447;background:#e5f4e8}.availability.booked{color:#275d43;background:#e9f5ed}.field label{color:#365f4d}.finance-grid div,.field.check,.photo,.attendance-panel{background:#f6faf7}.pagehead{flex-wrap:wrap;min-width:0}.pagehead>:first-child{flex:280px;min-width:0}.pagehead h1,.pagehead h3,.pagehead .sub{overflow-wrap:anywhere}.pagehead>.btn,.pagehead>.actions,.pagehead>.field{flex:none;max-width:100%}.measure-photo-schedule{margin:18px 0 26px}.measure-title{background:var(--navy);color:#fff;border-radius:10px;padding:13px 15px;font-size:17px;font-weight:850}.notification-panel .row,.requirement-group .row,.requirement-section .row{align-items:flex-start}.notification-panel .row:last-child,.requirement-group .row:last-child,.requirement-section .row:last-child{border-bottom:0}.requirement-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;display:flex}.requirement-toolbar>.field{flex:260px;margin:0}.requirement-section{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.requirement-section>h2{color:var(--navy);margin:0 0 12px;font-size:20px}.requirement-group{margin:14px 0 20px}.requirement-group>h3{color:var(--navy);background:#edf6f0;border-radius:9px;margin:0;padding:10px 12px;font-size:15px}.review-actions{gap:9px;margin-top:14px;display:grid}.review-actions .btn,.workflow-action{width:100%}.timeline{display:grid}.timeline-row{border-bottom:1px solid var(--line);grid-template-columns:18px minmax(0,1fr);gap:10px;padding:11px 0;display:grid}.timeline-row:last-child{border-bottom:0}.timeline-row>span{background:var(--green);width:11px;height:11px;box-shadow:0 0 0 4px var(--greenbg);border-radius:50%;margin-top:5px}.contract-meta{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:14px;display:grid}.contract-meta div{min-width:0}.contract-meta span{color:var(--muted);margin-bottom:4px;font-size:12px;display:block}.contract-meta b{overflow-wrap:anywhere}.portfolio-table{min-width:980px}.portfolio-progress{background:#e3ebe6;border-radius:999px;min-width:130px;height:8px;overflow:hidden}.portfolio-progress>span{border-radius:inherit;background:var(--green);height:100%;display:block}.portfolio-progress+small{color:var(--muted);margin-top:5px;display:block}.tracker-launch .pagehead{margin-bottom:14px}.tracker-launch .pagehead h3{color:var(--navy);margin:0 0 5px;font-size:20px}.tracker-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.tracker-summary>div{border:1px solid var(--line);background:#f6faf7;border-radius:10px;padding:13px 14px}.tracker-summary span{color:var(--muted);font-size:12px;display:block}.tracker-summary b{color:var(--navy);margin-top:4px;font-size:21px;display:block}.tracker-contract-list{gap:8px;margin-top:16px;display:grid}.tracker-contract-list h4{color:var(--navy);margin:0 0 2px}.tracker-contract-row{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:#f6faf7;border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;display:flex}.tracker-contract-row span,.tracker-contract-row small{display:block}.tracker-contract-row small{color:var(--muted);margin-top:3px}.tracker-contract-row strong{color:var(--green);flex:none;font-size:18px}.tracker-breakdown-title{margin:24px 2px 12px}.contract-tracker-list{gap:16px;display:grid}.contract-tracker-card{margin:0}.contract-tracker-head{margin-bottom:14px}.contract-tracker-head h2{color:var(--navy);margin:0 0 4px;font-size:22px}.tracker-rule{margin-bottom:16px}.tracker-legend{color:var(--muted);flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:14px;font-size:13px;display:flex}.tracker-legend>span{align-items:center;gap:7px;display:inline-flex}.tracker-legend i{font-style:normal}.tracker-table-wrap{border:1px solid var(--line);border-radius:10px;max-height:min(70vh,780px)}.measure-matrix thead th{z-index:3;background:#eef5f0;position:sticky;top:0}.measure-matrix th:first-child,.measure-matrix td:first-child{z-index:2;background:var(--card);min-width:190px;box-shadow:1px 0 0 var(--line);position:sticky;left:0}.measure-matrix thead th:first-child{z-index:4;background:#eef5f0}.measure-cell{text-align:center;min-width:104px}.measure-check{color:#0000;background:#fff;border:2px solid #91a69a;border-radius:6px;place-items:center;width:28px;height:28px;font-weight:900;line-height:1;display:inline-grid}.measure-check.approved{border-color:var(--green);background:var(--green);color:#fff}.measure-check.outstanding{box-shadow:inset 0 0 0 2px #fff}.measure-not-assigned{color:#8a9991;place-items:center;min-width:28px;min-height:28px;font-weight:850;display:inline-grid}.reviewed-by{color:var(--muted);margin-top:6px;line-height:1.35;display:block}.tracker-rule-note{margin:12px 2px 0}.signed-document-review{gap:8px;display:grid}.saved-signature{object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:8px;width:min(100%,620px);max-height:190px;margin-top:12px;display:block}.contract-rams-stats{margin-bottom:18px}.contract-rams-list,.job-notes-list{gap:12px;margin-top:16px;display:grid}.contract-rams-row{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:14px;padding:16px;display:flex}.contract-rams-row.missing{background:#fffaf8;border-color:#e1b4aa}.contract-rams-state{background:var(--green);color:#fff;border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;font-weight:900;display:grid}.contract-rams-row.missing .contract-rams-state{background:var(--red,#a43d2d)}.contract-rams-file{margin-top:8px;line-height:1.45}.contract-rams-inherited{border-left:4px solid var(--green);background:#f2f8f4;margin:16px 0}.error-text{color:var(--red,#9d3527)}.full-span{grid-column:1/-1}.job-notes-summary{border-left:5px solid var(--green)}.job-note{border:1px solid var(--line);background:#f7faf8;border-radius:10px;padding:13px 15px}.job-note.important{background:#fff9e8;border-color:#e5c979}.job-note p,.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.job-note-compose,.job-chat-compose{border-top:1px solid var(--line);gap:9px;margin-top:18px;padding-top:16px;display:grid}.job-note-compose label{font-weight:750}.job-chat-messages{border:1px solid var(--line);background:#f4f7f5;border-radius:12px;flex-direction:column;gap:10px;min-height:220px;max-height:430px;margin-top:14px;padding:14px;display:flex;overflow-y:auto}.chat-message{border:1px solid var(--line);background:#fff;border-radius:13px 13px 13px 3px;width:-moz-fit-content;width:fit-content;max-width:min(78%,620px);padding:10px 13px;box-shadow:0 1px 2px #1434240f}.chat-message.mine{background:#e9f6ed;border-color:#a7c8b2;border-radius:13px 13px 3px;align-self:flex-end}.chat-message.pending-sync{border-style:dashed}.chat-author{color:var(--green);font-size:12px;font-weight:800}.chat-message>span{color:var(--muted);font-size:11px}.chat-presence{color:var(--muted);align-self:center;font-size:13px;font-weight:800}.chat-presence.online{color:var(--green)}.chat-presence.offline{color:var(--red,#9d3527)}.notification-bell{color:#fff;cursor:pointer;background:#ffffff12;border:1px solid #75a58a;border-radius:10px;width:42px;height:42px;font-size:18px;position:relative}.notification-bell span{border:2px solid var(--navy);color:#fff;background:#d63d31;border-radius:999px;min-width:21px;height:21px;padding:0 5px;font-size:10px;font-weight:900;line-height:17px;position:absolute;top:-7px;right:-7px}.notification-bell.has-unread{background:#ffffff26}.notification-kind{background:var(--greenbg);width:34px;height:34px;color:var(--green);border-radius:50%;flex:0 0 34px;place-items:center;font-weight:900;display:grid}.notification-centre .row{align-items:flex-start}.calendar-controls{grid-template-columns:auto auto;align-items:end;gap:16px;margin-bottom:14px;display:grid}.calendar-view-switch,.calendar-navigation{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.calendar-navigation{justify-content:flex-end}.calendar-navigation input{border:1px solid var(--line);min-height:37px;color:var(--text);background:#fff;border-radius:8px;padding:6px 9px}.calendar-filters{grid-column:1/-1;grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px;display:grid}.calendar-filters .field{margin:0}.calendar-legend{flex-wrap:wrap;gap:8px;margin:0 0 14px;display:flex}.calendar-legend span{background:#fff;border-left:5px solid;border-radius:6px;padding:6px 9px;font-size:11px;font-weight:850}.status-scheduled{--status-colour:#2563aa;--status-bg:#eaf2ff;color:#204f88}.status-in_progress{--status-colour:#b7791f;--status-bg:#fff4d6;color:#805616}.status-evidence_required{--status-colour:#d97706;--status-bg:#fff0df;color:#9a4d00}.status-awaiting_final_check{--status-colour:#7c3eb0;--status-bg:#f3eafe;color:#62308d}.status-complete{--status-colour:#238636;--status-bg:#e5f4e8;color:#1d6d2d}.status-on_hold{--status-colour:#b64034;--status-bg:#fbe8e6;color:#913229}.calendar-board{margin-bottom:16px;overflow-x:auto}.calendar-title{justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:14px;display:flex}.calendar-title h2{color:var(--navy);margin:0;font-size:21px}.calendar-title span{color:var(--muted);font-size:13px}.calendar-grid{gap:8px;display:grid}.calendar-grid.view-day{grid-template-columns:minmax(280px,1fr)}.calendar-grid.view-week,.calendar-grid.view-month{grid-template-columns:repeat(7,minmax(150px,1fr));min-width:1080px}.calendar-day{border:1px solid var(--line);background:#f8fbf9;border-radius:10px;min-height:250px;overflow:hidden}.calendar-grid.view-month .calendar-day{min-height:170px}.calendar-day.today{border:2px solid var(--green)}.calendar-day.outside-month{opacity:.52}.calendar-day-head{border-bottom:1px solid var(--line);color:var(--muted);background:#fff;justify-content:space-between;align-items:center;padding:9px 10px;font-size:12px;display:flex}.calendar-day-head b{color:var(--navy);font-size:18px}.calendar-day.today .calendar-day-head b{background:var(--green);color:#fff;border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.calendar-day-jobs,.calendar-unscheduled{gap:7px;padding:8px;display:grid}.calendar-unscheduled{grid-template-columns:repeat(3,minmax(220px,1fr))}.calendar-job{border:0;border-left:5px solid var(--status-colour);background:var(--status-bg);width:100%;color:var(--text);text-align:left;cursor:pointer;border-radius:7px;gap:2px;padding:8px;display:grid}.calendar-job:hover{box-shadow:0 3px 10px #16302618}.calendar-job-time{color:var(--status-colour);font-size:11px;font-weight:900}.calendar-job b{font-size:12px;line-height:1.25}.calendar-job small{color:var(--muted);font-size:10px;line-height:1.3}.calendar-empty-day{color:#8a9991;padding:8px 2px;font-size:11px}.calendar-schedule-card{margin-bottom:16px}.calendar-schedule-card .calendar-title{align-items:flex-start}.calendar-schedule-card .calendar-title p{color:var(--muted);margin:4px 0 0;font-size:12px}.calendar-schedule-wrap{border:1px solid var(--line);border-radius:10px;max-width:100%;overflow:auto}.calendar-schedule-grid{grid-template-columns:74px repeat(var(--schedule-columns), minmax(180px, 1fr));min-width:calc(74px + var(--schedule-columns) * 180px);background:#fff;display:grid}.calendar-schedule-corner,.calendar-schedule-engineer,.calendar-schedule-time,.calendar-schedule-slot{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.calendar-schedule-corner,.calendar-schedule-engineer{z-index:2;background:var(--navy);color:#fff;min-height:52px;padding:9px;position:sticky;top:0}.calendar-schedule-corner{z-index:3;place-items:center;display:grid;left:0}.calendar-schedule-engineer{align-content:center;gap:2px;display:grid}.calendar-schedule-engineer small{color:#c8d6e9;font-size:10px}.calendar-schedule-time{z-index:1;min-height:56px;color:var(--navy);text-align:center;background:#f6f8fb;padding:8px;font-size:12px;font-weight:900;position:sticky;left:0}.calendar-schedule-slot{background:#fbfdfc;min-height:56px;padding:4px;transition:background .15s,border-color .15s}.calendar-schedule-slot:nth-child(odd){background:#f8fbf9}.calendar-schedule-slot .calendar-job{min-height:46px}.management-schedule-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.management-schedule-grid>div{border:1px solid var(--line);background:#f8fbf9;border-radius:10px;min-width:0;padding:10px}.management-schedule-grid h4{color:var(--navy);justify-content:space-between;margin:0 0 8px;display:flex}.management-schedule-grid h4 span{background:var(--greenbg);width:23px;height:23px;color:var(--green);border-radius:50%;place-items:center;font-size:11px;display:grid}.management-schedule-grid .calendar-job{margin-top:6px}.chat-mention{margin:0 0 10px}.warranty-row{align-items:flex-start}@media (max-width:900px){.topbar{height:auto;min-height:68px;padding:10px 12px}.topbar .mark,.signout{flex:none}.brand{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.signout{white-space:nowrap}.pagehead{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:12px;display:grid}.pagehead>.btn,.pagehead>.actions,.pagehead>.field{width:100%}.pagehead>.btn{justify-content:center;display:inline-flex}.contract-meta,.tracker-summary{grid-template-columns:1fr}.tracker-contract-row{align-items:flex-start}.tracker-table-wrap{max-height:calc(100vh - 260px)}.requirement-toolbar{align-items:stretch;display:grid}.requirement-toolbar .actions,.requirement-toolbar .btn{width:100%}.requirement-toolbar .btn{justify-content:center}.contract-rams-row{flex-wrap:wrap;align-items:flex-start}.contract-rams-row .actions,.job-note-compose .actions,.job-chat-compose .actions{width:100%}.contract-rams-row .btn,.job-note-compose .btn,.job-chat-compose .btn{justify-content:center}.chat-message{max-width:90%}.notification-bell{flex:0 0 40px}.calendar-controls{grid-template-columns:1fr}.calendar-navigation{justify-content:flex-start}.calendar-filters{grid-column:auto;grid-template-columns:1fr}.calendar-unscheduled,.management-schedule-grid{grid-template-columns:1fr}.notification-row{flex-wrap:wrap}.notification-row .actions{justify-content:flex-end;width:100%}.owner-identity{flex-direction:column;align-items:flex-start}.owner-check-grid,.owner-route-row{grid-template-columns:1fr}}.layout>.main{min-width:0;max-width:100%}.sync-banner,.native-app .sync-banner{top:var(--shell-header-height,68px)}@media (min-width:901px){.layout{grid-template-columns:230px minmax(0,1fr)}.layout>aside,.native-app .layout>aside{top:var(--shell-sticky-offset,68px);height:calc(100vh - var(--shell-sticky-offset,68px));height:calc(100dvh - var(--shell-sticky-offset,68px))}.sticky{top:calc(var(--shell-sticky-offset,68px) + 20px)}}@media (max-width:900px){.layout{grid-template-columns:minmax(0,1fr)}.mobilebar,.native-app .mobilebar{height:calc(66px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}.main,.native-app .main{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}.modal{max-height:92dvh}}.delivery-scope,.delivery-chat{margin-bottom:16px}.delivery-scope details{margin-top:14px}.delivery-scope summary{cursor:pointer;color:var(--navy);font-weight:850}.delivery-scope li{margin:8px 0}.delivery-filters{border:1px solid var(--line);background:#fff;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px;padding:14px 18px;display:grid}.delivery-filters .field{margin:0}.delivery-stats .stat-card.alert{background:var(--redbg);border-color:#e6aaa5}.delivery-contract-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.delivery-contract{border:1px solid var(--line);background:#f8fafc;border-radius:11px;min-width:0;padding:14px}.delivery-contract.needs-allocation{background:var(--redbg);border-color:#e6aaa5}.delivery-contract.team-complete{border-color:#a9d8b9}.delivery-contract>b{color:var(--navy)}.delivery-contract-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.delivery-contract-head>b{color:var(--navy)}.delivery-contract .field{margin:12px 0}.delivery-team-grid,.delivery-team-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.delivery-team-summary{margin:12px 0}.delivery-team-summary>div{border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px}.delivery-team-summary span,.delivery-team-summary b{display:block}.delivery-team-summary span{color:var(--muted);margin-bottom:3px;font-size:12px}.delivery-contract-actions{margin-top:12px}.delivery-engineer-split{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.delivery-engineer-split>div{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.delivery-workload-chip{color:var(--navy);background:#fff;border:1px solid #cad6e5;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800;display:inline-flex}.delivery-workload-chip.unassigned{background:var(--amberbg);color:var(--amber);border-color:#e5bd71}.delivery-table td{vertical-align:top}.delivery-job-team{gap:5px;min-width:150px;display:grid}.badge.delivery-flagged{background:var(--redbg);color:var(--red)}.badge.delivery-in_progress{background:var(--amberbg);color:var(--amber)}.badge.delivery-compliant,.badge.delivery-forwarded{background:var(--greenbg);color:var(--green)}.delivery-chat textarea{resize:vertical;border:1px solid #cbd3df;border-radius:9px;width:100%;min-height:94px;padding:11px}.evidence-ai-status{border:1px solid var(--line);color:var(--muted);background:#f7f9fc;border-radius:8px;gap:3px;margin-top:9px;padding:9px 10px;font-size:12px;line-height:1.35;display:grid}.evidence-ai-status b,.evidence-ai-status span,.evidence-ai-status small{display:block}.evidence-ai-status.pass{background:var(--greenbg);color:var(--green);border-color:#acd5bd}.evidence-ai-status.fail,.evidence-ai-status.error{background:var(--redbg);color:var(--red);border-color:#e6aaa5}.evidence-ai-status.waiting{background:var(--amberbg);color:var(--amber);border-color:#e6c785}.notification-controls{grid-template-columns:minmax(0,1fr) minmax(220px,360px);align-items:center;gap:12px;display:grid}.notification-controls .notification-filter{flex-wrap:wrap;gap:8px;display:flex}.notification-controls input{width:100%}.notification-controls .meta{grid-column:1/-1}.notification-row.read{opacity:.72}.notification-row.evidence-action-required{border:1px solid #e6aaa5;border-left:5px solid var(--red);background:var(--redbg);border-radius:9px;margin:7px 0;padding:11px}[data-evidence-focus=true]{outline-offset:3px;outline:3px solid #e6a51b;scroll-margin-top:150px;box-shadow:0 0 0 7px #e6a51b24}.evidence-focus-banner{border-left:5px solid #e6a51b}.evidence-focus-banner.failure{border:1px solid #e6aaa5;border-left:5px solid var(--red);background:var(--redbg);color:var(--red)}.evidence-focus-banner .actions{margin-top:12px}.retake-blocked{color:var(--red);margin-top:7px;font-size:12px;font-weight:800;display:block}.retake-history{text-align:left;width:100%;margin-top:10px}.retake-history summary{cursor:pointer;font-weight:800}.retake-history-item{color:var(--red);background:#fff;border:1px solid #e6aaa5;border-radius:8px;margin-top:8px;padding:9px}.retake-history-item .btn{margin-top:7px}.engineer-site-entry{border-left:6px solid var(--navy);justify-content:space-between;align-items:center;gap:18px;display:flex}.engineer-site-entry h3,.engineer-site-entry p{margin:0}.engineer-site-entry p{color:var(--muted);margin-top:5px}.engineer-site-entry.action,.engineer-site-entry.locked{border-left-color:var(--amber);background:var(--amberbg)}.engineer-site-entry.active{border-left-color:var(--green);background:var(--greenbg)}.engineer-site-entry.complete{border-left-color:var(--navy)}.engineer-site-entry.blocked{border-left-color:var(--red);background:var(--redbg)}.owner-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.owner-performance-grid>div{min-width:0}@media (max-width:900px){.delivery-contract-grid,.delivery-filters,.delivery-team-grid,.delivery-team-summary,.delivery-stats,.owner-performance-grid,.notification-controls{grid-template-columns:1fr}.engineer-site-entry{flex-direction:column;align-items:stretch}.delivery-table .actions{min-width:150px}}.survey-hub-intro,.survey-editor-head{color:#fff;background:linear-gradient(135deg,#0f3428,#176c49);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;display:grid;overflow:hidden}.survey-hub-intro h2,.survey-hub-intro p,.survey-editor-head h2,.survey-editor-head p{color:inherit;margin:5px 0}.survey-kicker{color:#a8f0d5;letter-spacing:.14em;font-size:11px;font-weight:900;display:block}.survey-flow{grid-template-columns:repeat(2,minmax(120px,1fr));gap:8px;display:grid}.survey-flow span{text-align:center;background:#ffffff14;border:1px solid #ffffff42;border-radius:10px;padding:10px 12px;font-size:12px;font-weight:850}.survey-admin-guide{border-left:6px solid var(--green);margin-top:16px}.survey-admin-guide .survey-kicker{color:var(--green)}.survey-admin-guide-head h2,.survey-admin-guide-head p{margin:5px 0}.survey-admin-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.survey-admin-actions article{border:1px solid var(--line);background:#f8fbf9;border-radius:12px;align-items:flex-start;gap:12px;padding:15px;display:flex}.survey-admin-actions article>span,.survey-builder-steps div>span{background:var(--green);color:#fff;border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;font-weight:900;display:grid}.survey-admin-actions h3,.survey-admin-actions p{margin:0 0 7px}.survey-admin-actions p{min-height:44px;color:var(--muted);font-size:13px}.survey-stats{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:16px}.survey-filters{grid-template-columns:minmax(180px,.7fr) minmax(220px,1fr) minmax(280px,1.5fr);align-items:end;gap:14px;margin-bottom:16px;display:grid}.survey-filters .notice{margin:0}.survey-list{gap:12px;display:grid}.survey-row{border:1px solid var(--line);background:#fbfdfb;border-radius:12px;grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px;display:grid}.survey-row h3{margin:0 0 3px}.survey-row-status,.survey-status-stack{flex-direction:column;align-items:flex-start;gap:7px;display:flex}.survey-row-meta{color:var(--muted);flex-wrap:wrap;gap:7px 16px;margin-top:9px;font-size:12px;display:flex}.survey-template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.survey-template-grid article{border:1px solid var(--line);background:#f6faf7;border-radius:11px;padding:15px}.survey-template-grid p{min-height:42px;color:var(--muted);margin:7px 0;font-size:13px}.survey-template-measure{color:var(--muted);margin-top:4px;font-size:12px;font-weight:700}.survey-template-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0;display:grid}.survey-template-facts span{color:var(--muted);background:#eaf3ed;border-radius:7px;padding:7px 8px;font-size:11px}.survey-template-facts b{color:var(--navy)}.survey-empty-state{background:#f8fbf9;border:2px dashed #b8cbbd;border-radius:12px;align-items:flex-start;gap:18px;padding:20px;display:flex}.survey-empty-state h3,.survey-empty-state p{margin:0 0 8px}.survey-empty-number{width:56px;height:56px;color:var(--green);background:#e3f1e8;border-radius:14px;flex:0 0 56px;place-items:center;font-size:26px;font-weight:900;display:grid}.survey-template-preview>p{color:var(--muted)}.survey-template-preview .survey-kicker{color:var(--green)}.survey-preview-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0;display:grid}.survey-preview-summary div{background:#edf5f0;border-radius:9px;padding:10px}.survey-preview-summary span,.survey-preview-summary b{display:block}.survey-preview-summary span{color:var(--muted);font-size:11px}.survey-preview-section{border:1px solid var(--line);border-radius:10px;margin-top:14px;padding:14px}.survey-preview-section h3{margin:0}.survey-preview-questions{margin:10px 0 0;padding:0;list-style:none}.survey-preview-questions li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:9px 0;display:flex}.survey-preview-questions li span:not(.badge){color:var(--muted);margin-top:2px;font-size:11px;display:block}.survey-preview-photos{margin-top:10px}.survey-job-row,.survey-photo-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:13px 0;display:flex}.survey-job-row:last-child,.survey-photo-row:last-child{border-bottom:0}.survey-editor-back{margin-bottom:12px}.survey-editor-head{margin-bottom:14px}.survey-status-stack .badge{color:#164b35;background:#fff}.survey-start,.survey-save-card{border-left:6px solid var(--green);justify-content:space-between;align-items:center;gap:18px;display:flex}.survey-start h3,.survey-start p{margin:0}.survey-start p{color:var(--muted);margin-top:4px}.survey-scope-banner{background:#edf6f0;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.survey-scope-banner div{border-right:1px solid #bcd7c5;padding:5px 12px}.survey-scope-banner div:last-child{border-right:0}.survey-scope-banner span,.survey-scope-banner b{display:block}.survey-scope-banner span{color:var(--muted);font-size:12px}.survey-scope-banner b{color:var(--navy);margin-top:4px;font-size:20px}.survey-form-section,.survey-items-section,.survey-photo-section,.survey-final-check,.survey-design-card,.survey-variation-card,.survey-save-card{margin-top:14px}.survey-item-card{background:#fbfdfb;border:1px solid #b9cdbf;border-radius:12px;margin-top:12px;padding:15px}.survey-item-photos{border-top:1px solid var(--line);margin-top:14px;padding-top:10px}.survey-item-photos h4{margin:0}.survey-photo-row.missing{border-left:4px solid var(--amber);padding-left:10px}.survey-photo-row.complete{border-left:4px solid var(--green);padding-left:10px}.survey-design-form{margin:14px 0}.survey-variation{border:1px solid var(--line);background:#f8faf8;border-radius:10px;margin-top:12px;padding:13px}.survey-template-card-head,.survey-builder-group-head,.survey-builder-save{justify-content:space-between;align-items:center;gap:14px;display:flex}.survey-template-card-head{align-items:flex-start}.survey-template-draft{background:#fffaf0!important;border-color:#ddb867!important}.survey-template-warning{background:var(--amberbg);color:var(--amber);border-radius:7px;margin:10px 0;padding:7px 9px;font-size:12px;font-weight:800}.survey-template-grid article .actions{margin-top:12px}.survey-builder-head{color:#fff;background:linear-gradient(135deg,#102f25,#225f47);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;display:grid}.survey-builder-head h2,.survey-builder-head p{color:inherit;margin:5px 0}.survey-builder-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0;display:grid}.survey-builder-steps div{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:auto 1fr;column-gap:10px;padding:12px;display:grid}.survey-builder-steps div>span{grid-row:1/3}.survey-builder-steps b,.survey-builder-steps small{display:block}.survey-builder-steps small{color:var(--muted)}.survey-builder-blockers{margin:14px 0}.survey-builder-blockers ul,.survey-findings ul{margin:8px 0 0;padding-left:20px}.builder-wide{grid-column:1/-1}.survey-builder-groups{gap:14px;display:grid}.survey-builder-groups>.pagehead{margin-bottom:0}.survey-builder-group{background:#fbfdfb;border:1px solid #b9cdbf;border-radius:12px;padding:16px}.survey-builder-group-head{align-items:flex-end;margin-bottom:10px}.survey-builder-group-head>.field,.survey-builder-group-head>.formgrid{flex:1}.survey-builder-field{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:11px 0;display:flex}.survey-builder-field .actions{flex-wrap:nowrap}.survey-builder-group>.btn{margin-top:12px}.survey-builder-save{border-left:6px solid var(--green);margin-bottom:32px}.survey-field-flagged,.survey-check-field.survey-field-flagged{border:1px solid #e4bd62;border-left:5px solid var(--amber);background:var(--amberbg);border-radius:9px;padding:10px}.survey-findings{border-left:5px solid var(--amber);background:var(--amberbg);color:#654609}.survey-field-help{margin-top:5px}.survey-inline-photo{grid-column:1/-1}.survey-inline-photo>label{margin-bottom:3px;display:block}.survey-signature-field{grid-column:1/-1}.survey-signature-canvas,.survey-signature-image{object-fit:contain;touch-action:none;background:#fff;border:2px dashed #9bb7a5;border-radius:10px;width:100%;max-width:720px;height:170px;margin-top:7px;display:block}.survey-signature-field .actions{justify-content:space-between;max-width:720px;margin-top:7px}@media (max-width:900px){.survey-stats,.survey-template-grid,.survey-admin-actions,.survey-builder-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.survey-filters,.survey-row,.survey-builder-head{grid-template-columns:1fr}.survey-row-status{flex-flow:wrap}}@media (max-width:640px){.survey-hub-intro,.survey-editor-head,.survey-stats,.survey-template-grid,.survey-admin-actions,.survey-builder-steps,.survey-scope-banner{grid-template-columns:1fr}.survey-flow{grid-template-columns:1fr 1fr}.survey-status-stack{flex-flow:wrap}.survey-job-row,.survey-photo-row,.survey-start,.survey-save-card,.survey-builder-group-head,.survey-builder-field,.survey-builder-save,.survey-empty-state{flex-direction:column;align-items:stretch}.survey-row .actions,.survey-job-row .actions,.survey-photo-row .actions,.survey-save-card .actions{width:100%}.survey-builder-field .actions,.survey-builder-save .actions{flex-wrap:wrap;width:100%}.survey-builder-field .btn,.survey-builder-save .btn,.survey-builder-head .btn{flex:140px}.survey-row .btn,.survey-job-row .btn,.survey-photo-row .btn,.survey-save-card .btn,.survey-start .btn{width:100%}.survey-scope-banner div,.survey-scope-banner div:last-child{border-bottom:1px solid #bcd7c5;border-right:0}.survey-scope-banner div:last-child{border-bottom:0}}.solar-work-packages{background:linear-gradient(#f7fcf8 0%,#fff 100%);border:1px solid #9cc8aa}.solar-package-grid,.solar-package-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}.solar-package,.solar-package-form>section{background:#fff;border:1px solid #c8d8cc;border-radius:16px;min-width:0;padding:18px;box-shadow:0 8px 22px #143b240f}.solar-package.completed{background:#f1faf3;border-color:#75ae84}.solar-package.issue{background:#fff7f6;border-color:#d38e87}.solar-package-head{align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.solar-package-head h4,.solar-package-form h3{margin:2px 0 8px}.solar-package-step{color:#fff;background:#174f37;border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;font-weight:800;display:inline-grid}.solar-package .metric:last-of-type{border-bottom:0}.solar-package .actions{margin-top:14px}.solar-package-form>section>.solar-package-step{float:left;margin-right:10px}.solar-new-job-panel{background:#f4faf5;border:1px solid #9cc8aa;border-radius:16px;grid-column:1/-1;margin:18px 0;padding:18px}.calendar-package-label{color:#255c40;margin:3px 0;font-weight:750;display:block}@media (max-width:760px){.solar-package-grid,.solar-package-form{grid-template-columns:1fr}.solar-work-packages .pagehead{align-items:stretch}.solar-work-packages .pagehead>.btn,.solar-package .actions .btn{width:100%}.solar-package,.solar-package-form>section,.solar-new-job-panel{padding:14px}}.technical-survey-route-panel{background:#f4faf5;border:2px solid #6ca980;border-radius:16px;grid-column:1/-1;margin:18px 0;padding:18px}.technical-survey-route-panel>[id^=n-survey-]{border-top:1px solid #c6ddcd;margin-top:14px;padding-top:14px}.survey-route-step{color:#fff;text-transform:uppercase;background:#174f37;border-radius:999px;place-items:center;min-width:52px;min-height:34px;padding:0 12px;font-size:12px;font-weight:900;display:inline-grid}.survey-route-locked{border-color:#dfad55;box-shadow:inset 5px 0 #dfad55}.imported-survey-pack{background:#f8fcf9;border-color:#86ad94}.calendar-survey-task{box-shadow:inset 0 0 0 1px #174f3738}.calendar-survey-task .calendar-job-time:before{content:"1";background:var(--status-colour);color:#fff;border-radius:50%;place-items:center;width:18px;height:18px;margin-right:5px;font-size:10px;display:inline-grid}@media (max-width:760px){.technical-survey-route-panel{padding:14px}.technical-survey-route-panel .pagehead{align-items:flex-start}.technical-survey-route-panel .formgrid{grid-template-columns:1fr}}.survey-job-card{cursor:pointer}.survey-job-card:focus-within{outline-offset:2px;outline:3px solid #216044}.engineer-start .engineer-step-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.engineer-start .engineer-step-grid .btn{white-space:normal;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:80px;display:flex}.engineer-start .engineer-step-grid .btn.rag-green{color:#fff;background:#166534}.engineer-start .engineer-step-grid .btn.rag-yellow{color:#1c1917;background:#facc15}.engineer-start .engineer-step-grid .btn.rag-red{color:#fff;background:#b42318}.engineer-start .engineer-step-grid .btn.rag-locked{color:#374151;background:#e5e7eb}@media (max-width:700px){.engineer-start .engineer-step-grid{grid-template-columns:1fr}}body{background:#f3f7f5}.layout>.main{max-width:1560px;padding:clamp(18px,2.3vw,34px)}.sidebar{background:#f9fbfa;padding:18px 12px 30px}.nav-section+.nav-section{border-top:1px solid #dce7e1;margin-top:18px;padding-top:14px}.nav-section-title{color:#587166;letter-spacing:.06em;text-transform:uppercase;padding:0 12px 8px;font-size:12px;font-weight:800}.sidebar .nav{color:#334b41;margin:0 0 3px;padding:10px 12px;font-size:14px;line-height:1.3}.sidebar .nav:hover{color:#15482f;background:#e8f2eb}.sidebar .nav.active:not(.hfml-nav){color:#125738;background:#e1f1e7;box-shadow:inset 3px 0 #168353}.sidebar .nav.hfml-nav{margin:3px 0 4px}.sidebar .nav.hfml-nav:hover{color:#fff}.pagehead{align-items:center;margin-bottom:18px}.pagehead h1{letter-spacing:-.025em;font-size:clamp(25px,2.1vw,32px);line-height:1.14}.pagehead .sub{margin-top:5px;line-height:1.5}.card,.job,.stat-card{border-color:#dce6e0;border-radius:16px;box-shadow:0 2px 9px #1532250b}.stat-card{border-top:3px solid #168353}.stat-label{font-size:14px;line-height:1.4}.compact-job-cards{gap:12px}.compact-job-cards .job{border-radius:14px;padding:15px}.compact-job-cards .job h3{font-size:16px;line-height:1.35}.compact-job-cards .job>.sub,.compact-job-cards .job>.meta,.compact-job-cards .availability{font-size:13px;line-height:1.4}.compact-job-cards .badge{font-size:12px}.mobile-menu-layer{display:none}.mobile-menu-layer[hidden]{display:none!important}.nav:focus-visible,.mobilebar button:focus-visible,.mobile-menu-panel button:focus-visible{outline-offset:2px;outline:3px solid #23a366}@media (min-width:901px){.layout{grid-template-columns:248px minmax(0,1fr)}}@media (max-width:900px){.layout>.main{padding:18px 14px calc(92px + env(safe-area-inset-bottom,0px))}.topbar .signout{display:none}.mobilebar,.native-app .mobilebar{height:calc(68px + env(safe-area-inset-bottom,0px));justify-content:stretch;overflow-x:hidden;box-shadow:0 -5px 22px #122f211c}.mobilebar .mobile-nav-item,.mobilebar .hfml-mobile-nav{overflow-wrap:anywhere;border-radius:0;flex:1 1 0;width:20%;min-width:0;margin:0;padding:9px 3px;font-size:12px;line-height:1.18}.mobilebar .mobile-nav-item.active:not(.hfml-mobile-nav){color:#12633e;background:#eff8f1;box-shadow:inset 0 3px #178450}.mobilebar .hfml-mobile-nav,.mobilebar .hfml-mobile-nav.active{box-shadow:none;color:#12633e;background:0 0;border-radius:0}.mobilebar .hfml-mobile-nav strong{font-size:12px}.mobilebar .hfml-mobile-nav small{color:#426b55;font-size:10px}.mobilebar .hfml-mobile-nav.active{background:#eff8f1;box-shadow:inset 0 3px #178450}.mobile-menu-layer{z-index:29;display:block;position:fixed;inset:0}.mobile-menu-backdrop{background:#0c22187a;border:0;width:100%;position:absolute;inset:0}.mobile-menu-panel{left:0;right:0;bottom:calc(68px + env(safe-area-inset-bottom,0px));overscroll-behavior:contain;background:#fff;border-radius:20px 20px 0 0;max-height:min(74dvh,680px);padding:16px 18px 22px;position:absolute;overflow-y:auto;box-shadow:0 -12px 36px #081f1433}.mobile-menu-heading{justify-content:space-between;align-items:center;margin-bottom:14px;font-size:20px;display:flex}.mobile-menu-heading button{cursor:pointer;background:#edf3ef;border:0;border-radius:10px;min-width:42px;min-height:42px}.mobile-menu-section{border-top:1px solid #e3ece6;padding:13px 0}.mobile-menu-section>strong{color:#426453;margin:0 0 9px;font-size:13px;display:block}.mobile-menu-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.mobile-menu-links .nav{color:#203d2d;background:#f5f9f6;min-height:46px;margin:0;padding:12px;font-size:14px}.mobile-menu-links .nav.active:not(.hfml-nav){color:#125738;background:#dff2e6}.mobile-menu-links .nav.hfml-nav{min-height:66px;margin:0;font-size:12px}.mobile-menu-signout{color:#243d2c;cursor:pointer;background:#fff;border:1px solid #cbd9d0;border-radius:10px;min-height:44px;margin-top:12px;padding:10px 14px}.pagehead{align-items:stretch}}@media (max-width:480px){.topbar{gap:9px}.topbar .mark{width:34px;height:34px}.topbar .brand{font-size:14px}.topbar .connection-pill{max-width:75px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:15px}.stat-num{font-size:25px}.mobile-menu-panel{padding-left:12px;padding-right:12px}}.rams-viewer-stage.rams-pdf-stage{grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.rams-reader-tools{background:#fff;border-bottom:1px solid #c9d4cc;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:8px;display:flex}.rams-reader-tools .btn{min-width:44px;min-height:44px;padding:8px 12px}.rams-reader-tools output{text-align:center;min-width:105px;font-size:14px;font-weight:700}.rams-reader-page{overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;min-height:0;padding:8px;overflow:auto}.rams-reader-page canvas{background:#fff;max-width:none;margin:0 auto;display:block;box-shadow:0 2px 8px #0b152329}.rams-reader-text{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.rams-docx-stage{font-size:16px;line-height:1.5}@media (max-width:700px){.rams-viewer-head small{font-size:12px}.rams-viewer-actions>div{font-size:14px}.rams-docx-stage section.docx{box-sizing:border-box;overflow-x:auto}.rams-docx-stage section.docx p{font-size:max(1em,16px)}}.camera-tools{text-align:center;gap:8px;width:100%;max-width:520px;display:grid}.camera-tool-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.camera-tool-row output{min-width:36px;font-weight:800}.camera-tools .btn{min-height:44px}.camera-tools small{color:#e1e9e4;line-height:1.4}.camera-tools button:disabled{opacity:.65}.camera-recovery{line-height:1.5}.camera-recovery ol{padding-left:22px}.camera-recovery li{margin-bottom:10px}.camera-recovery .actions{gap:10px;display:grid}.camera-recovery .btn{white-space:normal;min-height:48px}
