:root{font-family:Inter,system-ui,-apple-system,sans-serif;color:#233b4b;background:#f3f5f6;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#193b52;color:white;padding:22px max(20px,calc((100% - 900px)/2));display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{display:flex;gap:12px;align-items:center;font-size:23px}.brand b{color:#78c4ef}.brand small{display:block;font-size:10px;letter-spacing:2px;margin-top:5px}.logo{background:#2c9cd0;border-radius:12px;padding:6px 13px;font-weight:800}.pill{border:1px solid #526b7d;border-radius:30px;font-size:11px;padding:7px 10px;white-space:nowrap}.notice{background:#fbefd5;color:#624e21;padding:12px 20px;text-align:center;font-size:13px;line-height:1.5}main{max-width:760px;margin:24px auto;padding:0 20px;min-height:65vh}nav{display:flex;gap:6px;border-bottom:1px solid #d5dfe3;margin-bottom:30px}button,input,select,textarea{font:inherit}button{cursor:pointer;min-height:46px;border:1px solid #c7d5dc;border-radius:9px;padding:10px 15px;background:white;color:#24485f;font-weight:650}nav button{background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0}nav button.active{border-color:#246d78;color:#246d78}#count{font-size:12px;background:#dce9f0;border-radius:20px;padding:3px 7px}h1{font-size:34px;letter-spacing:-1px;margin:8px 0 10px}h2{font-size:22px;margin:6px 0}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.5px;color:#527183}.muted{color:#536a78;line-height:1.6;margin-top:0}.hint{color:#5b6e7a;font-size:12px;line-height:1.6}label{display:block;font-size:13px;font-weight:650;margin:16px 0}input,select,textarea{display:block;width:100%;padding:12px;margin-top:7px;border:1px solid #bdcdd5;border-radius:8px;background:white;color:#233b4b;min-height:47px}textarea{resize:vertical}.card{background:white;border:1px solid #d7e0e5;border-radius:14px;padding:20px;margin:14px 0;box-shadow:0 3px 8px #173c5505}.cardhead{display:flex;justify-content:space-between;gap:10px}.code{font:12px ui-monospace,monospace;color:#607987}.address{font-size:14px;color:#5b7180;margin:7px 0 16px}.meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;margin:12px 0 18px}.meta span{padding:5px 8px;background:#edf3f5;border-radius:5px}.primary{background:#246d78;border-color:#246d78;color:white}.full{width:100%}.quiet{border:0;background:transparent}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.status{font-size:11px;text-transform:uppercase;letter-spacing:.8px;font-weight:750;color:#936414}.approved{color:#2c7157}.returned{color:#98433f}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.instructions{background:#edf4f7;border-left:3px solid #6c9eaf;padding:12px;font-size:14px;line-height:1.6}.summary{background:#e6f1eb;color:#285e49;padding:14px;border-radius:9px;font-size:14px;margin:16px 0}dialog{width:calc(100% - 24px);max-width:580px;max-height:92dvh;border:0;border-radius:17px;padding:24px;color:#233b4b}dialog::backdrop{background:#0c2639b8}.dialoghead{display:flex;justify-content:space-between;align-items:flex-start}#error{color:#9c3f3f;font-size:14px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#163b50;color:white;padding:13px 20px;border-radius:10px;display:none;max-width:90%;z-index:5}footer{max-width:760px;padding:25px 20px;margin:auto;font-size:10px;letter-spacing:1px;color:#6b8191;display:flex;justify-content:space-between;gap:14px}[hidden]{display:none!important}.details{font-size:14px;line-height:1.7;white-space:pre-wrap}.empty{padding:40px 20px;text-align:center;color:#657e8f}@media(max-width:500px){header{padding:18px 16px}.brand{font-size:20px}.pill{font-size:10px;padding:6px}.grid{grid-template-columns:1fr}h1{font-size:29px}.card{padding:17px}footer{flex-direction:column}dialog{padding:19px}input{min-width:0}}

.timer-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.timer-controls button{min-height:64px;font-size:22px;color:white}.start-button{background:#2c7157;border-color:#2c7157}.stop-button{background:#a54946;border-color:#a54946}button:disabled{opacity:.48;cursor:default}details summary{cursor:pointer;font-size:13px;color:#38617c;padding:10px 0}.quantity-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px;padding:12px;border:1px solid #bdcdd5;border-radius:10px;background:#f0f4f6}.wheel-column>span{display:block;text-align:center;color:#5b6e7a;font-size:11px;margin-bottom:7px}.quantity-wheel{height:132px;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;padding:44px 0;scrollbar-width:thin;border-radius:8px;background:linear-gradient(#e5edf1 0 33.33%,#fff 33.33% 66.66%,#e5edf1 66.66%);touch-action:pan-y}.quantity-wheel:focus-visible{outline:3px solid #246d78}.wheel-option{display:block;width:100%;height:44px;min-height:44px;padding:0;border:0;border-radius:0;scroll-snap-align:center;background:transparent;font-size:23px;color:#5b6e7a}.wheel-option[aria-selected=true]{color:#246d78;font-weight:800}.quantity-total{grid-column:1/-1;text-align:center;font-size:15px;color:#24485f;padding-top:3px}

.field-label{font-size:13px;font-weight:650;margin:16px 0 7px}.workers-picker{padding:12px;background:#f0f4f6;border:1px solid #bdcdd5;border-radius:10px;max-width:170px}.workers-picker .quantity-wheel{width:100%}

.timer-controls>div{min-width:0}.timer-controls button{width:100%}.timer-timestamp{display:block;text-align:center;font-size:13px;font-weight:650;line-height:1.5;color:#24485f;margin-top:9px;overflow-wrap:anywhere}

.equipment-choice{border:1px solid #d7e0e5;border-radius:10px;padding:0 12px;margin:9px 0}.equipment-check{display:flex;align-items:center;gap:12px;min-height:54px;margin:0;font-size:16px;cursor:pointer}.equipment-check input{width:23px;height:23px;min-height:0;margin:0;accent-color:#246d78}.crew-choice{padding-bottom:12px}.crew-choice .field-label{margin-top:0}.crew-choice .workers-picker{max-width:100%;padding:6px}.crew-choice .quantity-wheel{height:132px}.activity{display:flex;justify-content:space-between;gap:12px;border:1px solid #c2d7df;background:#f3f8fa;padding:12px;border-radius:10px;margin:12px 0}.activity strong{display:block;font-size:15px}.activity-state{display:block;color:#2c7157;font-size:12px;margin:5px 0}.activity time{display:block;font-size:12px;line-height:1.6;color:#536a78}.activity-action{min-width:90px;max-width:42%}.activity-action button{color:white;width:100%}.activity-action time{text-align:center;margin-top:6px}#startError{color:#9c3f3f}#startSelected{position:sticky;bottom:0;box-shadow:0 -6px 12px white;margin-top:15px}

/* Compact worker controls stay beside their equipment, including on phones. */
.equipment-choice{display:flex;align-items:center;gap:10px;padding:5px 10px;margin:6px 0;min-height:52px}
.equipment-check{flex:1;min-width:0;min-height:42px;gap:9px;font-size:15px}
.crew-choice{flex:0 0 64px;padding:0}
.crew-choice .field-label,#workersField .field-label{font-size:10px;text-align:center;margin:0 0 3px;line-height:12px}
.workers-picker,.crew-choice .workers-picker{width:64px;max-width:64px;padding:0;border-radius:7px;background:white}
.workers-picker .quantity-wheel,.crew-choice .quantity-wheel{height:44px;padding:0;background:white;scrollbar-width:none;border-radius:7px}
.workers-picker .quantity-wheel::-webkit-scrollbar{display:none}
.workers-picker .wheel-option{height:44px;min-height:44px;scroll-snap-align:start;font-size:20px}
.service-count-row{display:flex;align-items:center;gap:12px;margin:12px 0}
.service-count-row>label{flex:1;min-width:0;margin:0}
#workersField{flex:0 0 64px}
#workersField .field-label{margin-top:0}
#startForm h3{margin:14px 0 6px}
#startForm>.hint{margin:6px 0 12px}

.activity-running{border-left:4px solid #2c7157}.activity-stopped{background:#faf2df;border-color:#dac798;border-left:4px solid #a98136}.activity-stopped .activity-state{color:#715725}.service-counts{font-size:12px;font-weight:700;color:#38617c;margin:8px 0}.activity-action button{font-size:13px;padding:8px}

.property-actions{display:grid;grid-template-columns:1.4fr 1fr;gap:8px}.property-actions button{font-size:13px;line-height:1.3;padding:9px;min-height:48px}.finish-all{background:#a54946;border-color:#a54946;color:white}.finish-all:disabled{background:#e5ebee;border-color:#d5dfe3;color:#5b6e7a;opacity:1}

.activity{padding:9px 10px;margin:7px 0;gap:8px}.activity-state{display:inline-block;font-size:11px;margin:3px 0}.activity time{font-size:11px}.property-submission{border-top:1px solid #d7e0e5;margin-top:10px;padding-top:8px}.property-material{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0}.property-material strong{display:block;font-size:13px}.property-material .hint{display:block;font-size:11px}.property-material .quantity-picker{flex:0 0 116px;margin:0;padding:3px;gap:4px;border:0;background:transparent}.property-material .quantity-wheel{height:44px;padding:0;background:#edf3f5;scrollbar-width:none}.property-material .quantity-wheel::-webkit-scrollbar{display:none}.property-material .wheel-option{scroll-snap-align:start;font-size:20px}.property-material .wheel-column>span{display:none}.property-material .quantity-total{font-size:11px;padding:0}.submit-property-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px}.submit-property-row>span{font-size:12px;color:#536a78}.submit-property-row button{min-width:110px}.inline-material{display:flex;align-items:center;gap:8px;margin:6px 0;font-size:12px}.inline-material select{margin:0;min-height:38px;padding:7px}

.review-property h2{margin-bottom:12px}.review-service{padding:12px 0;border-top:1px solid #d7e0e5}.review-service:last-child{padding-bottom:0}.review-service-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.review-approval{display:flex;align-items:center;gap:9px;margin:0;flex:1;min-width:0;min-height:38px;cursor:pointer}.review-approval input{width:23px;height:23px;min-height:23px;flex:0 0 23px;margin:0;accent-color:#2c7157}.equipment-label{font-size:13px;line-height:1.35;font-weight:750;color:#24485f;background:#e9f1f4;border:1px solid #c8dae6;padding:5px 8px;border-radius:6px}.review-service-head .status{font-size:9px;letter-spacing:.4px;flex-shrink:0}.review-summary{font-size:12px;line-height:1.65;margin:5px 0 0 32px}.review-details{margin-left:32px;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.review-details summary{padding:5px 0;font-size:11px}.review-actions{margin-left:32px}.review-actions:empty{display:none}.review-actions button{font-size:11px;padding:6px 0;min-height:32px;border:0;background:transparent;text-decoration:underline}.review-reason{font-size:12px;margin:4px 0 4px 32px}

/* Compact timestamps, one event per line. */
.time-log{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:4px 0}
.time-log .time-bubble{display:block;width:fit-content;max-width:100%;padding:3px 8px;border:1px solid;border-radius:12px;font-size:11px;line-height:1.5;overflow-wrap:normal}
.time-log .time-start{background:#e2f0e7;border-color:#a8cdb7;color:#285d43}
.time-log .time-stop{background:#f6e6ec;border-color:#dcb4c4;color:#7c3653}
.card.property-in-progress{background:#386f98;border-color:#305f84;color:#fff}
.card.property-complete{background:#234962;border-color:#1d3e55;color:#fff}
.cardhead{align-items:center}
.property-status{display:inline-block;border-radius:20px;padding:3px 8px;font-size:10px;font-weight:750;line-height:1.5;white-space:nowrap}
.property-status.in-progress{background:#f6e7c8;color:#6c4a1c;border:1px solid #d8bc83}
.property-status.complete{background:#deeee4;color:#2b5d43;border:1px solid #abcbb6}

/* Keep card details readable against both blue status backgrounds. */
.card:is(.property-in-progress,.property-complete) :is(.code,.address,.service-counts,.property-material .hint,.submit-property-row>span,.review-details summary,.review-actions button){color:#fff}
.card:is(.property-in-progress,.property-complete) .meta span{background:#ffffffeb;color:#24485f}
.card:is(.property-in-progress,.property-complete) .activity{color:#233b4b}
.card:is(.property-in-progress,.property-complete) :is(.property-submission,.review-service){border-color:#ffffff55}
.card:is(.property-in-progress,.property-complete) .primary{background:#fff;border-color:#fff;color:#285974}
.card:is(.property-in-progress,.property-complete) .review-service-head .status{color:#fff}

/* Review timestamps are always visible and share a row when space allows. */
.review-details .time-log{flex-direction:row;flex-wrap:wrap;gap:4px 6px;margin-top:7px}
.review-details .time-bubble{font-size:10px;padding:3px 6px;white-space:nowrap}
/* Shared workspace additions. */
.banner-logo{width:160px;height:78px;object-fit:contain;background:white;border-radius:6px}.brand{font-size:22px}.brand small{font-size:9px}header{padding-top:12px;padding-bottom:12px}.sync-error{background:#fbefd5;color:#803600}nav{position:sticky;top:0;background:#f3f5f6;z-index:2;padding-top:6px;margin-bottom:18px;flex-wrap:wrap}nav button{padding:9px 10px;font-size:14px}#liveWork{margin:22px 0}#dispatch{margin:24px 0}#dispatchForm{background:#fff;border:1px solid #d7e0e5;padding:15px;border-radius:12px}.live-row{display:flex;flex-direction:column;gap:4px;border-bottom:1px solid #c7d5dc;padding:12px 0;font-size:13px}.live-row>span{color:#536a78}.live-row .time-log{flex-flow:row wrap}.dispatch-alert{padding:14px;background:#fbefd5;border:2px solid #d89416;border-radius:10px;margin:10px 0;color:#664000}.dispatch-alert.critical{background:#ffe0e0;border-color:#b12c2c;color:#7c1d1d}.dispatch-alert p{margin:7px 0}.dispatch-alert button{margin:8px 6px 0 0;min-height:38px;padding:7px 10px;font-size:13px}.proof-actions{display:flex;align-items:center;gap:10px;margin-top:12px}.proof-actions button{font-size:13px;min-height:38px;padding:6px 10px}.proof-actions>span{font-size:12px}.proof-photos{display:flex;gap:8px;overflow-x:auto;margin-top:9px}.proof-photos:empty{display:none}.proof-photos a{display:flex;flex-direction:column;flex:0 0 135px;font-size:10px;color:inherit;text-decoration:none}.proof-photos img{width:135px;height:100px;object-fit:cover;border-radius:7px;border:1px solid #afc3d3}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters label{flex:1;min-width:130px}.filters input,.filters select{padding:8px;font-size:13px}.boss-line-actions,.office-decision{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 0 32px}.boss-line-actions button,.office-decision button{font-size:11px;min-height:32px;padding:6px 8px}.office-decision>span{flex-basis:100%;font-size:11px}.boss-line-actions small{font-size:11px}.edit-reason{font-size:11px;margin-left:32px;line-height:1.6}.review-service.boss-edited{background:#faf0d4;color:#192c40;margin:8px -8px;padding:12px 8px;border-radius:8px}.card .review-service.boss-edited :is(.status,.review-actions button){color:#604a20}.boss-edited .edit-reason{color:#604a20}.boss-edited .review-details{color:#192c40}#memberList{font-size:12px;white-space:pre-line;line-height:1.8;margin:12px 0}.review-details{overflow-wrap:anywhere}.review-details .time-log{gap:4px}.review-details .time-bubble{font-size:10px}.notice button{font-size:11px;min-height:30px;padding:4px 8px;margin-left:8px}.office-decision button:disabled{opacity:.5}@media(max-width:500px){.banner-logo{width:108px;height:54px}.brand{font-size:18px;gap:8px}.brand small{letter-spacing:1px;font-size:8px}header{padding:10px 12px}.pill{max-width:95px;white-space:normal;text-align:center}.filters label{min-width:100px}.review-details{margin-left:0}.office-decision,.boss-line-actions,.edit-reason{margin-left:0}}
.photo-job{background:#ecf3f7;color:#2b4b60;border:1px solid #adc9d9;border-radius:8px;padding:10px;margin:9px 0;display:flex;flex-direction:column;gap:6px;font-size:12px}.photo-job-error{background:#fbefd5;border-color:#dba546;color:#663d06}.photo-job strong{font-size:14px}.photo-job p{margin:0;line-height:1.5}.photo-job button{align-self:flex-start;min-height:36px;padding:6px 12px}.photo-job small{font-size:10px;line-height:1.4}

/* Property alerts stay pink; escalation adds a stronger pink border. */
.dispatch-alert{background:#f8e6ed;border-color:#c78ba2;color:#64374a}
.dispatch-alert.critical{background:#f4d8e4;border-color:#a04b6c;color:#62283e}
.dispatch-alert.alert-resolved{background:#f5edf1;border-color:#cbb2bd;color:#65525a}
.alert-update-form label{margin:12px 0 6px;font-size:12px}
.alert-update-form textarea{font-size:13px;margin-top:5px;min-height:62px;resize:vertical}
.alert-update-actions{display:flex;flex-wrap:wrap;gap:6px}
.alert-update-actions button{margin:0;font-size:12px}
.alert-save-error{font-size:12px;color:#913c5a;white-space:pre-line}
.alert-updates{list-style:none;margin:12px 0 0;padding:0;border-top:1px solid #d6b1c1}
.alert-updates li{padding:9px 0;border-bottom:1px solid #d6b1c1;font-size:12px;line-height:1.5}
.alert-updates li>div{font-size:11px}.alert-updates li p{white-space:pre-wrap;margin:4px 0}
.dispatch-alert>p{white-space:pre-wrap}.dispatch-alert small{overflow-wrap:anywhere}

body.location-locked main{display:none!important}
#locationGate{max-width:620px;margin:32px auto;padding:24px;background:#fff;border:1px solid #bdd2e3;border-radius:14px;line-height:1.6}
#locationGate h1{font-size:28px}#locationGate button{width:100%;margin:12px 0}
#locationGate details{font-size:13px}#locationGate details summary{color:#245d87}
#locationStatus{max-width:720px;margin:10px auto -8px;padding:0 20px;color:#2e617d;font-size:11px}
@media(max-width:650px){#locationGate{margin:20px 16px;padding:20px}}

#interfaceTestBanner{background:#fbefd5;color:#61491f;padding:12px 20px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;border-bottom:2px solid #be9849;font-size:12px}
#interfaceTestBanner strong{letter-spacing:.8px}#interfaceTestBanner button{min-height:30px;padding:5px 9px;font-size:11px}
#locationGate .test-mode-button{background:#234962;border-color:#234962;color:white}
.proof-actions{flex-wrap:wrap}.proof-actions [data-sample-photo]{background:#fbefd5;color:#61491f;border-color:#be9849}
.view-photos-link{display:inline-block;margin-top:10px;font-size:13px;font-weight:700;color:#1b6188;text-decoration:underline}.card:is(.property-in-progress,.property-complete)>.view-photos-link{color:#fff}.property-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.property-gallery figure{margin:0;background:#fff;border:1px solid #c7d5dc;border-radius:10px;overflow:hidden}.property-gallery img{width:100%;height:auto;display:block}.property-gallery figcaption{font-size:12px;padding:10px;line-height:1.6;color:#476075}.gallery-back{color:#1b6188;font-size:14px;font-weight:650}

.ice-melt-used{display:flex;align-items:center;gap:3px 8px;flex-wrap:wrap;width:fit-content;max-width:100%;box-sizing:border-box;font-size:12px;line-height:1.4;background:#fbefd5;color:#61491f;border:2px solid #be9849;border-radius:10px;padding:5px 8px;margin:7px 0}.ice-melt-used span{font-weight:750}.ice-melt-used strong{font-size:15px}.ice-melt-used small{font-size:11px}.ice-melt-entry{background:#fbefd5!important;color:#61491f!important;border:2px solid #be9849!important;border-radius:12px;padding:14px!important;margin:14px 0}.ice-melt-entry .hint{color:#66512a!important;display:block}.ice-melt-entry .quantity-total{font-size:24px;font-weight:800;color:#61491f}.ice-melt-entry label{color:#61491f}

/* DenSnowDB: slate, harbor blue and muted teal, with semantic status accents. */
:root{color-scheme:light;--focus:#246d78}
button,input,select,textarea{transition:background-color .15s,border-color .15s}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.card:is(.property-in-progress,.property-complete) :is(button,a):focus-visible{outline-color:#c9eaf1}
button:not(:disabled):hover{filter:brightness(.97)}
.card{box-shadow:0 3px 12px #193b5208}
.equipment-label{color:#24485f}.dispatch-alert button{border-color:#cbb2bd;color:#64374a}
.ice-melt-used,.ice-melt-entry{box-shadow:none}
@media(prefers-reduced-motion:reduce){button,input,select,textarea{transition:none}}

.timesheet-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:18px 0}.timesheet-tools>div{display:flex;gap:4px}.timesheet-tools button{font-size:12px;padding:8px 10px;min-height:38px}.timesheet-tools [aria-pressed=true]{background:#24485f;color:#fff;border-color:#24485f}.timesheet-tools small{flex-basis:100%;font-size:12px;color:#536a78}.traditional-sheet{background:#fff;color:#233b4b;border:1px solid #bdcdd5;border-radius:8px;padding:16px;margin:14px 0 24px}.sheet-heading{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.sheet-heading h2{font-size:18px}.sheet-heading strong{font-size:14px}.sheet-heading p,.sheet-key{font-size:11px;line-height:1.6}.sheet-heading img{width:130px;height:64px;object-fit:contain}.sheet-scroll{overflow-x:auto}.paper-timesheet{border-collapse:collapse;min-width:1100px;width:100%;font:11px Arial,sans-serif;color:#233b4b}.paper-timesheet th,.paper-timesheet td{border:1px solid #899da9;padding:8px 6px;vertical-align:top;line-height:1.5}.paper-timesheet thead th{background:#e4eaee;font-weight:700;text-align:center}.paper-timesheet td:first-child{min-width:160px}.paper-timesheet td{min-width:58px}.paper-timesheet td:nth-last-child(2){min-width:160px}.paper-timesheet td:last-child{min-width:130px}.paper-timesheet tfoot{font-weight:700;background:#edf3f5}.paper-timesheet small{font-size:10px}.sheet-approval{display:flex;gap:6px;align-items:center;margin:0;font-size:11px;text-transform:capitalize}.sheet-approval input{width:22px;height:22px;min-height:22px;margin:0;accent-color:#2c7157}.sheet-line-actions{display:flex;flex-direction:column;gap:5px;margin-top:8px}.sheet-line-actions button{min-height:30px;padding:5px;font-size:10px}.sheet-material{background:#fbefd5}.sheet-material strong{font-size:16px}.sheet-edited{background:#faf0d4}.sheet-approved .sheet-approval{color:#285d43;font-weight:750}
@media print{@page{size:landscape;margin:10mm}body{background:#fff}body>header,body>footer,body>main>nav,#locationGate,#locationStatus,#interfaceTestBanner,.notice,.timesheet-tools,#office> :not(#entries),#boss> :not(#bossEntries),.sheet-line-actions,#toast{display:none!important}main{max-width:none;margin:0;padding:0;min-height:0}.traditional-sheet{border:0;padding:0;margin:0 0 12mm;break-after:page}.traditional-sheet:last-child{break-after:auto}.sheet-scroll{overflow:visible}.paper-timesheet{min-width:0;font-size:8px;table-layout:fixed}.paper-timesheet th,.paper-timesheet td{min-width:0!important;padding:4px;overflow-wrap:anywhere}.paper-timesheet th:first-child{width:15%}.paper-timesheet th:nth-last-child(2){width:15%}.paper-timesheet th:last-child{width:10%}.paper-timesheet tr{break-inside:avoid}.paper-timesheet thead{display:table-header-group}.paper-timesheet tfoot{display:table-row-group}.sheet-material strong{font-size:10px}.sheet-approval{font-size:8px}.sheet-approval input{width:12px;height:12px;min-height:12px}.sheet-heading img{width:120px}.sheet-key{font-size:9px}}

@media screen and (min-width:900px){body.traditional-view main{max-width:1400px}}

/* Quiet controls: color marks state, while solid buttons mark the next action. */
@media screen{
:root{background:#f5f6f7;color:#273b49;--focus:#315f82}
header{background:#203e54}nav{background:#f5f6f7}nav button{font-weight:600;color:#526471}nav button.active{color:#274f6e;border-color:#274f6e}
button{background:#edf1f4;color:#304e63;border-color:transparent;border-radius:7px;box-shadow:none;font-weight:600}
.primary{background:#315f82;border-color:transparent;color:#fff}.quiet{background:transparent;color:#526471}
button:disabled{opacity:.55}.finish-all:disabled{background:#dfe5e9;border-color:transparent;color:#536777}
.card{box-shadow:none;border-color:#e0e5e9;border-radius:12px}.card.property-in-progress{background:#3c7097;border-color:transparent}.card.property-complete{background:#254962;border-color:transparent}
.card:is(.property-in-progress,.property-complete) button:not(.wheel-option){background:#f8fafb;color:#23465f;border:1px solid #dce5eb}
.card:is(.property-in-progress,.property-complete) .primary{background:#fff;border-color:transparent;color:#284f6c}
.stop-button,.finish-all{background:#914b49;color:#fff;border-color:transparent}
.card:is(.property-in-progress,.property-complete) .property-actions .finish-all:not(:disabled){background:#984541;border-color:#984541;color:#fff}
.card:is(.property-in-progress,.property-complete) .activity button{background:#914b49;color:#fff}
.card:is(.property-in-progress,.property-complete) .property-actions .finish-all:disabled{background:#cbd5dc;border-color:#cbd5dc;color:#465560;opacity:1}
.start-button{background:#356d56;border-color:transparent}
.activity{background:#f7fafb;border:0;border-left:3px solid #629a7c}.activity-stopped{background:#f8f4ea;border-left-color:#b89a62}
.equipment-label{background:transparent;border:0;border-radius:0;padding:0;color:inherit;font-weight:700}
.review-service{border-top-color:#dde4e8}.card:is(.property-in-progress,.property-complete) .review-service{border-color:#ffffff30}
.time-log .time-bubble{border:0;border-radius:5px}.time-log .time-start{background:#e7f1eb;color:#345e47}.time-log .time-stop{background:#f2e7ec;color:#714459}
.property-status{border:0!important;border-radius:5px;font-weight:650}.property-status.in-progress{background:#e9eef3;color:#36536b}.property-status.complete{background:#e3eee7;color:#355d46}
.proof-actions button[data-proof]{background:#f8fafb!important;color:#23465f!important;border:1px solid #dce5eb;padding:10px 14px;min-height:44px}.proof-actions button[data-sample-photo]{background:transparent!important;border:0!important;color:inherit!important;text-decoration:underline;font-weight:500;font-size:12px;min-height:44px}
.view-photos-link{font-weight:500}.boss-line-actions button,.office-decision button,.review-actions button,.sheet-line-actions button{background:transparent!important;border:0;text-decoration:underline;padding-left:0;padding-right:0;text-align:left;min-height:36px}
.boss-line-actions button{font-weight:600}.office-decision button{color:inherit!important}.sheet-line-actions button{color:#315f82!important}
.dispatch-alert,.dispatch-alert.critical{border-width:0 0 0 4px;border-radius:7px}.dispatch-alert button{background:#ffffffb3;color:#64374a;border:0}.dispatch-alert textarea{border-color:#dbc7cf}
.ice-melt-used{background:#f7f0df;border-width:0 0 0 3px;border-color:#b99b5e;border-radius:6px;color:#614f2d}.ice-melt-entry{background:#f7f0df!important;border-width:0 0 0 3px!important;border-color:#b99b5e!important;border-radius:6px;padding:12px!important}
.ice-melt-entry .quantity-wheel{background:#fffcf5}.quantity-picker,.workers-picker{border-color:#d5dee4;background:#f1f4f6}.quantity-wheel{background:linear-gradient(#edf1f4 0 33.33%,#fff 33.33% 66.66%,#edf1f4 66.66%)}.wheel-option[aria-selected=true]{color:#315f82}
.notice{background:#edf1f4;color:#526471}#interfaceTestBanner{background:#f5efdf;color:#665534;border-bottom:1px solid #e1d6bb;display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:10px 20px;font-size:11px}#interfaceTestBanner strong{letter-spacing:.6px}#interfaceTestBanner span{grid-column:1;line-height:1.5}#interfaceTestBanner button{grid-column:2;grid-row:1/3;background:transparent;color:#665534;text-decoration:underline;font-size:11px;padding:5px;min-height:36px}
.timesheet-tools>div{background:#e7ecef;padding:3px;border-radius:8px;gap:2px}.timesheet-tools>div button{background:transparent;border:0;font-size:12px}.timesheet-tools [aria-pressed=true]{background:#fff;color:#284f6c;box-shadow:0 1px 3px #203e5414}.timesheet-tools>[data-print-timesheet]{background:transparent;text-decoration:underline}
}

@media screen{
.card:is(.property-in-progress,.property-complete) .property-actions .primary{background:#fff;color:#23465f;border-color:#fff;font-weight:750;box-shadow:0 2px 3px #102c4120}
.property-actions button{min-height:48px;padding:11px 12px;border-radius:8px}
.card:is(.property-in-progress,.property-complete) .activity .stop-button{background:#984541;color:#fff;border-color:#984541;min-height:44px}
.boss-line-actions button,.office-decision button{background:#f8fafb!important;color:#23465f!important;border:1px solid #dce5eb!important;border-radius:7px;padding:9px 12px;min-height:44px;text-decoration:none}
.card:is(.property-in-progress,.property-complete) .submit-property-row .primary{background:#fff;color:#23465f;border-color:#fff;min-height:48px}
.card:is(.property-in-progress,.property-complete) button:disabled:not(.wheel-option){background:#cbd5dc;color:#465560;border-color:#cbd5dc;opacity:1;box-shadow:none}
button:active:not(:disabled){transform:translateY(1px)}
}

.paper-timesheet td:first-child{min-width:130px}.paper-timesheet td:nth-child(2){min-width:160px}.paper-timesheet td:last-child{min-width:160px}.paper-timesheet td:nth-last-child(2){min-width:58px}
@media print{.paper-timesheet th:first-child{width:10%}.paper-timesheet th:nth-child(2){width:15%}.paper-timesheet th:nth-last-child(2){width:auto}.paper-timesheet th:last-child{width:15%}}

.resolved-alerts-link{display:inline-block;padding:12px 0;min-height:44px;font-size:13px;font-weight:600;color:#315f82;text-decoration:underline}

.live-property h2{margin:8px 0 12px}.live-property-service{border-top:1px solid #ffffff30;padding:10px 0;font-size:13px;line-height:1.5}.live-property-service>strong{display:block}.live-property-service>span{display:block;font-size:11px;margin:3px 0 6px}.live-property .time-log{flex-flow:row wrap}.live-property>.view-photos-link{margin-top:5px;padding:8px 0;min-height:44px}

@media screen{
.card{border:3px solid #8297a6}
.card.property-in-progress{border:3px solid #244e70}
.card.property-complete{border:3px solid #132e43}
}

.property-list-card h2{margin:8px 0}.property-list-card h2 button{width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center;background:transparent!important;color:inherit!important;border:0!important;padding:8px 0;font-size:22px;font-weight:750;min-height:48px}.property-list-card .hint{margin-bottom:0}.card:is(.property-in-progress,.property-complete).property-list-card .hint{color:#fff}.property-back{margin:4px 0 10px}.guide-review-link{margin:8px 0 12px;min-height:44px}.guide-text{white-space:pre-wrap;font-size:14px;line-height:1.6}.guide-scope{display:block;max-width:100%;height:auto;border:2px solid #8297a6;border-radius:8px}.guide-agree{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6}.guide-agree input{width:24px;min-width:24px;min-height:24px;margin:2px 0}.guide-agree span{flex:1}#guideError{color:#984541;font-size:13px}#guideEditor{border-top:1px solid #bdcdd5;margin-top:18px;padding-top:8px}

/* Readability pass: opaque surfaces, explicit text colors, no faded labels. */
@media screen{
:root{background:#f3f5f7;color:#253746;--focus:#285b7e}
nav{background:#f3f5f7}h1,h2,h3{color:inherit}
dialog,#locationGate{background:#fff;color:#253746}
.muted,.hint,.eyebrow,.address,.code,.live-row>span{color:#4c6170}
button{background:#e8eef2;color:#253f53;border-color:#b8c8d3;font-weight:650}
.primary{background:#285b7e;color:#fff;border-color:#285b7e}
button:disabled,.primary:disabled{background:#dce3e8!important;color:#465662!important;border-color:#b9c5ce!important;opacity:1!important;box-shadow:none!important}
input,select,textarea{background:#fff;color:#253746;border-color:#9cafbd}input::placeholder,textarea::placeholder{color:#586b79;opacity:1}
.card.property-in-progress{background:#dceaf5;color:#203e54;border-color:#5a809d}
.card.property-in-progress :is(.code,.address,.service-counts,.submit-property-row>span,.review-details summary,.review-actions button,.review-service-head .status){color:#203e54}
.card.property-in-progress.property-list-card .hint{color:#344f63}
.card.property-in-progress .meta span{background:#f7fafc;color:#203e54}
.card.property-in-progress :is(.property-submission,.review-service,.live-property-service){border-color:#9db7ca}
.card.property-in-progress>.view-photos-link{color:#214f72}
.card.property-in-progress .property-status.in-progress{background:#fff;color:#244a65;border:1px solid #87a4b9!important}
.card.property-complete{background:#254962;color:#fff;border-color:#132e43}
.card.property-complete :is(.code,.address,.service-counts,.submit-property-row>span,.review-details summary,.review-actions button,.review-service-head .status){color:#fff}
.card.property-complete.property-list-card .hint{color:#fff}
.card.property-complete>.view-photos-link{color:#fff}
.card:is(.property-in-progress,.property-complete) :is(.guide-review-link,.property-actions .primary,.submit-property-row .primary){background:#fff;color:#23465f;border:1px solid #a9bdcb;font-weight:750;box-shadow:none}
.card:is(.property-in-progress,.property-complete) .activity{background:#fff;color:#253746}
.card:is(.property-in-progress,.property-complete) .activity :is(strong,time){color:#253746}
.card:is(.property-in-progress,.property-complete) .activity .activity-state{color:#2b6247}
.card:is(.property-in-progress,.property-complete) .activity-stopped{background:#faf4e5;color:#584720}
.card:is(.property-in-progress,.property-complete) .activity-stopped .activity-state{color:#675024}
.card:is(.property-in-progress,.property-complete) .activity .stop-button,.card:is(.property-in-progress,.property-complete) .property-actions .finish-all:not(:disabled){background:#984541;color:#fff;border-color:#984541}
.card:is(.property-in-progress,.property-complete) .review-service.boss-edited{background:#faf0d4;color:#253746}
.card:is(.property-in-progress,.property-complete) .review-service.boss-edited :is(.equipment-label,.review-summary,.review-details,.status,.edit-reason,.office-decision>span){color:#253746}
.time-log .time-start{background:#e4f0e8;color:#285a3f}.time-log .time-stop{background:#f4e3eb;color:#76334f}
.ice-melt-used,.ice-melt-entry{background:#faf0d9!important;color:#5e4822!important;border-color:#a98a49!important}
.ice-melt-entry :is(strong,label,.hint,.quantity-total){color:#5e4822!important}
.wheel-option{background:transparent;color:#4c6170}.wheel-option[aria-selected=true]{color:#254f70}
#guideDialog .instructions{background:#edf3f7;color:#29475c;border-left-color:#6a91aa}
#guideDialog .hint{color:#4c6170}#guideDialog .guide-agree{color:#253746}#guideAcknowledge:not(:disabled){background:#285b7e;color:#fff;border-color:#285b7e}
#guideError{color:#8c3334}a.gallery-back,.resolved-alerts-link{color:#214f72}
.card.property-in-progress :is(button,a):focus-visible{outline-color:#234f70}
}
@media screen{
.card:is(.property-in-progress,.property-complete) .instructions{background:#e8f0f6;color:#243f54;border-left:4px solid #6287a1}
.card:is(.property-in-progress,.property-complete) .instructions :is(strong,span,p){color:#243f54}
.card:is(.property-in-progress,.property-complete) .activity .time-start{background:#e4f0e8;color:#285a3f}
.card:is(.property-in-progress,.property-complete) .activity .time-stop{background:#f4e3eb;color:#76334f}
}
.office-tools{margin:18px 0;padding:14px;border:2px solid #8297a6;border-radius:10px;background:#fff;color:#253746}.office-tools summary{font-weight:750;cursor:pointer}.office-tools button{margin:6px 4px 6px 0}.catalog-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #bdcbd5}.catalog-row>div{min-width:0}.catalog-row small,.catalog-row span{display:block;font-size:12px;line-height:1.6}.catalog-row button{flex-shrink:0;font-size:12px}.setup-needed{color:#854b13}.setup-ready{color:#285a3f}#routeImportError{color:#8c3334}.card.property-complete :is(.hint,.live-property-service>span,.review-summary,.office-decision>span){color:#fff}.card.property-complete .boss-edited :is(.hint,.review-summary,.office-decision>span){color:#253746}

#iceMeltConfirm{max-width:390px;width:calc(100% - 32px);padding:24px;background:#fff;color:#253746;border:2px solid #8297a6;border-radius:12px}#iceMeltConfirm h2{margin:0 0 12px;font-size:23px}#iceMeltConfirm p{line-height:1.6;color:#344f63}.ice-confirm-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.ice-confirm-actions button{flex:1;min-height:48px}#iceMeltConfirm::backdrop{background:#102b4366}

.property-back.property-back-complete{background:#2f6b45;color:#fff;border:2px solid #245236;font-weight:750}.property-back.property-back-complete:hover{background:#245236}.property-back.property-back-complete:focus-visible{outline:3px solid #173e29;outline-offset:3px}

.paper-timesheet td.ice-melt-column{background:inherit}

.office-section{margin:8px 0}.office-section>summary{cursor:pointer;color:#214f72;text-decoration:underline;text-underline-offset:3px;font-size:16px;font-weight:700;padding:12px 0;min-height:44px}.office-section>summary:focus-visible{outline:3px solid #285b7e;outline-offset:3px;border-radius:4px}.office-section[open]>summary{margin-bottom:6px}

.office-section .section-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;margin-left:8px;padding:0 8px;border-radius:14px;background:#dceaf5;color:#203e54;font-size:14px;font-weight:750;vertical-align:middle;text-decoration:none}

/* Escalations override property color while work-status badges remain visible. */
#route .card.property-escalated{background:#f8e6ee;color:#633044;border-color:#a95f7c}
#route .card.property-escalated :is(.code,.address,.hint,.service-counts,.submit-property-row>span){color:#633044}
#route .property-escalation-preview{border-top:1px solid #c994aa;margin:10px 0;padding-top:10px;font-size:13px;line-height:1.5}
#route .property-escalation-preview p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
#route .property-escalation{border-top:1px solid #c994aa;margin:12px 0;padding:14px 0;color:#633044;font-size:13px;line-height:1.5}
#route .property-escalation>p{white-space:pre-wrap;overflow-wrap:anywhere}
#route .property-escalation :is(button,textarea){background:#fff;color:#633044;border-color:#bd829b}
#route .property-escalation small{color:#704458}
#route [data-escalation-property]{scroll-margin-top:230px;outline-offset:4px}
#crewAlerts:has(.escalation-notice){position:sticky;top:65px;z-index:9;background:#f3f5f7;padding-top:4px}
.escalation-notice{border:2px solid #a95f7c;border-radius:9px;background:#f8e6ee;color:#633044;padding:10px 12px;font-size:13px;line-height:1.5}
.escalation-jump-links{display:flex;flex-wrap:wrap;gap:4px 14px;max-height:96px;overflow-y:auto;margin-top:4px}
.escalation-jump-links a{color:#633044;font-weight:750;min-height:36px;display:inline-flex;align-items:center}
#crewAlerts:has(.escalation-notice) .resolved-alerts-link{font-size:11px;padding:5px 0;min-height:30px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.property-actions button[data-start-blocked="true"]{background:#dce3e8!important;color:#465662!important;border-color:#b9c5ce!important;box-shadow:none!important}#blockedStartDialog{max-width:460px;width:calc(100% - 32px);background:#fff;color:#253746;border:2px solid #8297a6;border-radius:12px;padding:24px}#blockedStartDialog h2{font-size:23px;margin-top:0}#blockedStartDialog p{line-height:1.6}.blocked-start-actions{display:flex;gap:10px;flex-wrap:wrap}.blocked-start-actions button{flex:1;min-height:48px}

/* Compact, keyboard-operable language slider in the banner. */
header{flex-wrap:wrap}.brand{min-width:0}.language-control{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto;color:#fff;font-size:13px;font-weight:650;white-space:nowrap}.language-control [lang]{opacity:.72}.language-control[data-language=en] [lang=en],.language-control[data-language=es] [lang=es]{opacity:1;text-decoration:underline;text-underline-offset:4px}.language-control button{position:relative;display:block;width:54px;min-height:44px;padding:0;border:0;background:transparent;flex-shrink:0}.language-control button:before{content:"";position:absolute;left:0;right:0;top:8px;height:28px;background:#e5eef4;border:1px solid #a9bfce;border-radius:20px}.language-thumb{position:absolute;width:22px;height:22px;border-radius:50%;top:11px;left:4px;background:#295a78;transition:transform .15s ease}.language-control [aria-checked=true] .language-thumb{transform:translateX(24px)}.language-control button:focus-visible{outline:3px solid #f3c66d;outline-offset:3px;border-radius:22px}header .pill{margin-left:auto}header .language-control{flex-basis:100%;margin-top:-8px}html[lang=es] nav button{font-size:13px;padding-left:8px;padding-right:8px}@media(min-width:760px){header .language-control{flex-basis:auto;margin-top:0}}@media(max-width:420px){.banner-logo{width:125px;height:62px}.brand{gap:8px;font-size:19px}header .pill{font-size:10px;max-width:135px;white-space:normal;text-align:center}}
@media(prefers-reduced-motion:reduce){.language-thumb{transition:none}}
@media print{.language-control{display:none}}
.language-control{line-height:1.4}

/* Banner: larger logo, with status and language controls aligned in one column. */
header{display:grid;grid-template-columns:minmax(0,1fr) 220px;grid-template-areas:"brand status" "brand language";align-items:center;column-gap:24px;row-gap:0;padding-top:14px;padding-bottom:14px}
header .brand{grid-area:brand;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
header .banner-logo{display:block;width:240px;max-width:100%;height:auto;aspect-ratio:160/78;object-fit:contain;border-radius:8px}
header .pill{grid-area:status;justify-self:center;align-self:end;margin:0 0 5px;padding:8px 14px;font-size:13px;line-height:1.35;color:#fff;border-color:#8ba6b6;max-width:100%;white-space:normal;text-align:center}
header .language-control{grid-area:language;justify-self:center;align-self:start;justify-content:center;flex-basis:auto;margin:0;gap:8px;font-size:14px}
@media(max-width:600px){header{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);column-gap:12px;padding:12px}header .banner-logo{width:210px}header .pill{font-size:12px;padding:7px 11px}header .language-control{font-size:12px;gap:5px}header .language-control button{width:46px}header .language-control [aria-checked=true] .language-thumb{transform:translateX(16px)}}
@media(max-width:350px){header{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"brand brand" "status language";row-gap:8px;column-gap:8px}header .brand{align-items:center}header .banner-logo{width:220px}header .pill,header .language-control{align-self:center;margin:0}header .pill{font-size:11px;padding:6px 9px}header .language-control{font-size:11px;gap:4px}}

.contracted-services{margin:12px 0 8px;padding:10px 12px;border:1px solid #9aafbb;border-radius:9px;background:#f2f6f8;color:#233f52}.contracted-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:750;margin-bottom:4px}.contracted-caption small{font-size:10px;font-weight:500;text-align:right}.contracted-service-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-top:1px solid #d5dfe5}.contracted-service-row strong{display:block;font-size:13px;line-height:1.35}.contracted-service-row small{display:block;font-size:11px;margin-top:3px;color:#526a7b}.contracted-service-status{font-size:11px;font-weight:750;text-align:right;max-width:42%;flex-shrink:0;color:#675024}.contracted-service-status.service-complete{color:#285a3f}.contracted-service-status.service-running{color:#285c82}.card.property-complete .contracted-services,.card.property-in-progress .contracted-services{background:#f2f6f8;color:#233f52}.card .contracted-services small{color:#526a7b}#iceSlicerConfirm{max-width:390px;width:calc(100% - 32px);padding:24px;background:#fff;color:#253746;border:2px solid #8297a6;border-radius:12px}#iceSlicerConfirm h2{font-size:23px}#iceSlicerConfirm p{line-height:1.6;color:#344f63}#iceSlicerConfirm::backdrop{background:#102b4366}

/* Preparation is complete; the contracted lot ice-control service is still pending. */
.iceslicer-ready-message{margin:6px 0 8px;padding:8px 10px;border-left:4px solid #4a8059;background:#dcefdc;color:#254b35;font-size:13px;font-weight:750;line-height:1.4}


.activity>div:first-child{flex:1;min-width:0}.activity .activity-state{display:flex;align-items:center;justify-content:flex-start;gap:6px}.service-elapsed{font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}

.property-list-card[data-route-open]{cursor:pointer}

.route-completion{margin:12px 0 16px}.route-completion>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.route-completion strong{color:#285a3f;font-size:18px}.route-completion small{color:#526774;font-size:12px}.route-completion progress{display:block;width:100%;height:9px;margin-top:7px;accent-color:#629a7c;border:0;border-radius:9px;overflow:hidden}.route-completion progress::-webkit-progress-bar{background:#dce6e9;border-radius:9px}.route-completion progress::-webkit-progress-value{background:#629a7c;border-radius:9px}

.contracted-service-row.contracted-service-pending{background:#f9e7ee;border-color:#e5c5d1;border-radius:6px;padding:8px;margin-top:3px}.contracted-service-pending .contracted-service-status{color:#773d54}

.service-elapsed::before{content:"– ";font-weight:400}

.activity-selection{display:flex;align-items:flex-start;gap:8px;margin:0;cursor:pointer}.activity-selection input{flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:2px 0 0;accent-color:#2c7157}.activity-selection strong{flex:1}

.contracted-service-row.contracted-service-complete{background:#e2f0e3;border-color:#b9d6bf;border-radius:6px;padding:8px;margin-top:3px}.contracted-service-complete .contracted-service-status{color:#285a3f}

.card.property-workspace .property-actions button.primary[data-property]:not(:disabled):not([data-start-blocked]){background:#2f704e;color:#fff;border-color:#2f704e}
.card.property-workspace .property-actions button.finish-all:not(:disabled){background:#a33f3f;color:#fff;border-color:#a33f3f}
.card.property-workspace .property-actions button.finish-all:disabled{background:#f1dddd!important;color:#875353!important;border-color:#d8b5b5!important}

.member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #cbd8df;font-size:13px}.member-row>div{min-width:0;overflow-wrap:anywhere}.member-row button{flex-shrink:0}.member-row strong{font-size:14px}

.driving-address{color:#205b7c;text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:5px 0}.driving-map-preference{display:flex;align-items:center;gap:10px;font-size:14px;margin:10px 0 16px}.driving-map-preference select{width:auto;max-width:210px;min-height:44px;padding:7px 10px}

.no-ice-melt{border:3px solid #a22d25;background:#fff0ed;color:#7c201a;border-radius:10px;padding:12px;margin:12px 0}.no-ice-melt strong{display:block;font-size:18px;line-height:1.35}.no-ice-melt span{display:block;margin-top:5px;font-size:14px}

.route-display-count{display:block;font-size:14px;line-height:1.4;font-weight:600;color:#465f6d;margin-top:7px}

.route-display-count.filter-active{background:#ffeb00;color:#181800;border-radius:5px;padding:7px 9px;font-weight:750}

/* Map links keep their own contrast across every property status color. */
.card a.driving-address,.card:is(.property-in-progress,.property-complete) a.driving-address{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;width:100%;padding:12px 14px;border:2px solid #56778a;border-radius:9px;background:#fff;color:#183c53;text-decoration:none;font-weight:650;line-height:1.45;box-shadow:0 1px 3px #102b4320}
.card a.driving-address span,.card:is(.property-in-progress,.property-complete) a.driving-address span{color:#183c53}
.card a.driving-address:visited{color:#183c53}
.card a.driving-address:hover{background:#edf5fa;border-color:#234f6a}
.card a.driving-address:focus-visible{outline:3px solid #ffdf00;outline-offset:3px}

.unserviced-filter{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:650;margin-top:10px}.unserviced-filter input{width:22px;height:22px;min-height:22px;margin:0;flex-shrink:0;accent-color:#285b7e}

.unserviced-filter[hidden],.route-display-count[hidden]{display:none}

.route-order-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;font-size:13px}.route-order-tools button{min-height:40px;font-size:13px;padding:7px 10px}.card .route-drag-handle{touch-action:none;user-select:none;cursor:grab;min-width:44px;min-height:44px;padding:3px 9px;background:#fff;color:#183c53;border:1px solid #607e90;border-radius:7px;font-size:26px;line-height:1}.route-dragging{outline:4px solid #e5af00;box-shadow:0 5px 20px #102b4340;opacity:.8}.route-drag-handle:focus-visible{outline:3px solid #e5af00}

/* Safari needs the prefixed rules to stop selection and long-press callouts. */
.property-list-card{position:relative}
.property-list-card>.cardhead{padding-right:58px;min-height:44px;flex-wrap:wrap}
.property-list-card .route-drag-handle{position:absolute;top:16px;right:16px;margin:0;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none}
body.route-sort-gesture,body.route-sort-gesture *{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important;cursor:grabbing!important}

#crewAlerts:has(.active-work-notice){position:sticky;top:65px;z-index:9;background:#f3f5f7;padding:4px 0}
.active-work-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:3px solid #b77c00;border-radius:10px;background:#fff4bc;color:#332700;margin:0 0 10px;box-shadow:0 3px 8px #173c5520}
.active-work-notice strong{display:block;font-size:15px}.active-work-notice span{display:block;font-weight:750;font-size:15px;margin-top:3px}.active-work-notice p{font-size:12px;line-height:1.4;margin:4px 0 0}.active-work-notice button{flex-shrink:0;max-width:145px;background:#244f68;color:#fff;border:2px solid #16384e;min-height:46px;padding:9px 12px;font-size:14px}
.property-workspace{scroll-margin-top:230px}
@media(max-width:420px){.active-work-notice{gap:8px;padding:10px}.active-work-notice button{max-width:118px;font-size:13px}.active-work-notice span{font-size:14px}}

body:not(.authenticated) #route,body:not(.authenticated) #entries,body:not(.authenticated) #bossEntries{visibility:hidden}

.recorded-worker{font-size:.85rem;color:inherit;margin:4px 0 6px;font-weight:400;overflow-wrap:normal}.recorded-worker>span{display:inline-block;white-space:nowrap;font-weight:400}

header{grid-template-areas:"brand status" "brand language" "account account"}header .account-controls{grid-area:account;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;margin-top:6px;min-width:0}#signedInName{font-size:13px;font-weight:400;overflow-wrap:anywhere}header #signOut{min-height:44px;width:auto;flex:none;padding:6px 12px;font-size:13px;font-weight:500;line-height:1.2;border-radius:7px}@media(max-width:350px){header{grid-template-areas:"brand brand" "status language" "account account"}}

.card .review-service.boss-edited .recorded-worker{color:#253746}

.property-status.visit-status{white-space:normal;text-align:center;max-width:230px;padding:5px 9px;line-height:1.4}.visit-status small{display:block;font-size:10px;font-weight:400;color:inherit}.property-list-card .cardhead .visit-status{min-width:0}

.member-row .delete-member{color:#913c38;border-color:#cda7a4}

.member-sort-controls{display:flex;justify-content:flex-end;margin:12px 0 4px}.member-sort-controls label{width:min(100%,240px)}

@media(max-width:480px){nav{gap:2px}nav button{padding-left:7px;padding-right:7px;font-size:13px}html[lang=es] nav button{padding-left:5px;padding-right:5px;font-size:12px}}

.member-team{margin:12px 0;border:1px solid #b5c5cf;border-radius:8px;background:#fff}.member-team>summary{cursor:pointer;padding:13px 12px;font-size:14px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}.member-team-count{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:12px;background:#e7eef3;color:#36566a;font-size:12px}.member-team-workers{margin:0 12px 10px 22px;padding-left:12px;border-left:2px solid #b5c5cf}.member-team-workers .member-row{gap:10px}.member-team-workers .member-row>div:first-child{min-width:0;overflow-wrap:anywhere}@media(max-width:480px){.member-team-workers{margin-left:12px;padding-left:8px}.member-team-workers .member-row{flex-wrap:wrap}.member-team-workers .member-row>div:last-child{margin-left:auto}}

.all-route-filters{display:grid;grid-template-columns:160px minmax(160px,1fr) 180px;gap:12px;align-items:end}.all-routes-summary{padding:12px;background:#eaf0f5;border-radius:8px;font-size:14px;line-height:1.6}.live-route-team{margin-top:14px;border:1px solid #b5c5cf;border-radius:8px;background:#fff}.live-route-team>summary{padding:14px;cursor:pointer;font-weight:700;overflow-wrap:anywhere}.live-route-totals{display:block;margin-top:5px;font-size:13px;font-weight:400;color:#476075}.live-route-team>progress{display:block;width:calc(100% - 28px);height:10px;margin:0 14px 12px;accent-color:#397650}.live-route-property{margin:0 12px;border-top:1px solid #d9e2e8}.live-route-property>summary{padding:12px 0;cursor:pointer;line-height:1.5}.live-route-name{display:inline;font-size:14px;font-weight:650;overflow-wrap:anywhere}.live-route-name small{display:block;margin:3px 0 6px;font-size:12px;font-weight:400;color:#476075}.live-route-status{display:inline-block;border-radius:5px;padding:3px 7px;margin:2px 4px 2px 0;font-size:12px;font-weight:650;background:#edf0f3;color:#435566}.live-route-status.running{background:#dbeaf7;color:#18466b}.live-route-status.complete{background:#e0eee3;color:#265c36}.live-route-status.awaiting{background:#fff0ce;color:#6e4b05}.live-route-status.correction,.live-route-alert{background:#fbe5e1;color:#8b2f24}.live-route-alert{display:inline-block;padding:3px 7px;border-radius:5px;font-size:12px}.live-route-services{margin:0 0 12px 14px;padding:0 0 10px 12px;border-left:2px solid #b5c5cf}.live-route-service{padding:8px 0;font-size:13px}.live-route-service strong{margin-right:8px}.live-route-service small{display:block;margin-top:5px;color:#476075;overflow-wrap:anywhere}@media(max-width:650px){.all-route-filters{grid-template-columns:1fr 1fr}.all-route-filters label:nth-child(2){grid-column:1/-1;grid-row:2}.live-route-team>summary{padding:12px}.live-route-property{margin:0 10px}}

#adminFieldToggle{margin:20px 0}#adminRoutesOverview h1 .section-count{vertical-align:middle;font-size:14px}#adminRoutesOverview+#fieldWorkArea:not([hidden]){margin-top:16px;padding-top:20px;border-top:2px solid #b5c5cf}

/* Admin routes use the same bordered property cards and state colors as My route. */
.live-route-card-group{background:transparent;border:0;border-radius:0;margin-top:26px}.live-route-card-group>summary{padding:12px 0;border-bottom:2px solid #9aafbb;font-size:16px}.live-route-card-group>progress{width:100%;margin:12px 0}.admin-route-cards .admin-route-card{margin:14px 0;padding:20px}.admin-route-card h2{overflow-wrap:anywhere}.admin-route-card .cardhead{align-items:flex-start}.admin-route-card .property-status{white-space:normal;text-align:right}.admin-route-card.admin-route-has-alert{border-color:#b74637}.all-route-filters{grid-template-columns:1fr 1fr}.all-route-filters label:nth-child(2){grid-column:auto;grid-row:auto}@media(max-width:480px){.all-route-filters{grid-template-columns:1fr}.admin-route-cards .admin-route-card{padding:16px}.live-route-card-group>summary{font-size:14px}}

/* Compact admin route selector and expandable cards. */
body.admin-routes-view main{max-width:1220px}.compact-route-tools{display:grid;grid-template-columns:150px minmax(130px,1fr) 160px;gap:10px;align-items:end;margin:8px 0 14px}.compact-route-tools label{margin:0;font-size:12px}.compact-route-tools :is(input,select){min-height:38px;padding:8px;margin-top:4px;font-size:13px}.compact-route-layout{display:grid;grid-template-columns:185px minmax(0,1fr);gap:16px;align-items:start}.compact-route-sidebar{position:sticky;top:65px;max-height:calc(100dvh - 85px);overflow:auto;padding:10px;border:1px solid #bac9d3;border-radius:8px;background:#fff;font-size:13px}.compact-route-select-actions{display:flex;gap:5px;margin:6px 0}.compact-route-select-actions button{padding:4px 7px;min-height:30px;font-size:11px}.compact-team-choice{display:flex;align-items:flex-start;gap:7px;margin:0;padding:8px 0;border-top:1px solid #e0e7ec;cursor:pointer;line-height:1.35}.compact-team-choice input{flex:none;width:17px;height:17px;min-height:17px;margin:2px 0 0;accent-color:#315e7e}.compact-team-choice span{min-width:0;overflow-wrap:anywhere}.compact-team-choice strong{font-size:12px;font-weight:600;display:block}.compact-team-choice small{font-size:10px;color:#5b6f7f;display:block;margin-top:3px}.compact-route-results{min-width:0}.compact-route-summary{font-size:12px;color:#476075;margin:0 0 8px;line-height:1.5}.compact-route-summary:empty{display:none}.compact-route-empty{font-size:14px;line-height:1.6;padding:18px;margin:0;border:1px dashed #acbdc9;border-radius:8px;background:#fff}.compact-route-group{margin:0 0 18px}.compact-route-group-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:0 0 7px;font-size:13px}.compact-route-group-heading small{flex:none;font-size:11px;color:#526b7d}.card.compact-property-card{padding:8px 10px;margin:6px 0;border-width:2px;border-radius:8px}.compact-property-head{display:grid;grid-template-columns:minmax(0,1fr) auto 32px;gap:9px;align-items:center}.compact-property-head h2{font-size:15px;line-height:1.35;margin:0;font-weight:600;letter-spacing:0;overflow-wrap:anywhere}.compact-visit-progress{display:block;background:#fff0c8;color:#674a14;border:1px solid #d9bf83;border-radius:5px;padding:5px 7px;text-align:center;font-size:11px;line-height:1.3;white-space:nowrap}.compact-visit-progress strong{font-size:11px;font-weight:650}.compact-visit-progress small{display:block;font-size:10px;margin-top:1px}.compact-property-expand{width:32px;min-height:34px;padding:2px;font-size:20px;line-height:1;font-weight:500}.compact-property-details{padding-top:10px;margin-top:8px;border-top:1px solid #b5c5cf}.compact-property-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;line-height:1.5}.compact-property-meta>span{overflow-wrap:anywhere}.compact-property-details .contracted-services{margin:8px 0;padding:5px 8px}.compact-route-record{padding:7px 0;border-bottom:1px solid #c3d1da;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.compact-route-record strong,.compact-route-record span{display:block}.compact-route-record strong span{display:inline}.compact-route-record p{margin:3px 0}.compact-route-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.compact-route-photos figure{margin:0;width:130px;font-size:10px}.compact-route-photos img{display:block;width:130px;height:90px;object-fit:cover;border-radius:4px}.compact-route-photos figcaption{margin-top:3px}.compact-property-details>.view-photos-link{margin:7px 0;font-size:12px}.card:is(.property-in-progress,.property-complete) .compact-property-meta,.card:is(.property-in-progress,.property-complete) .compact-route-record,.card:is(.property-in-progress,.property-complete) .compact-route-photos{color:#fff}@media(max-width:650px){body.admin-routes-view main{padding:0 8px}.compact-route-layout{grid-template-columns:125px minmax(0,1fr);gap:8px}.compact-route-sidebar{padding:7px;top:65px}.compact-team-choice strong{font-size:11px}.compact-route-select-actions{flex-wrap:wrap}.compact-route-tools{grid-template-columns:120px 1fr;gap:8px}.compact-route-tools label:nth-child(2){grid-column:auto;grid-row:auto}.compact-route-tools label:nth-child(3){grid-column:1/-1}.compact-property-head{grid-template-columns:minmax(0,1fr) 86px;gap:5px}.compact-property-head h2{font-size:13px}.compact-visit-progress{white-space:normal;padding:4px;font-size:10px}.compact-visit-progress strong{font-size:10px}.compact-property-expand{grid-column:2;justify-self:end;min-height:28px;width:30px;margin-top:1px}.card.compact-property-card{padding:7px}.compact-route-group-heading{display:block;font-size:12px}.compact-route-group-heading small{display:block;margin-top:2px}.compact-property-details .contracted-service-row{flex-wrap:wrap}.compact-property-details .contracted-service-status{max-width:100%}.compact-route-photos figure,.compact-route-photos img{width:100%}}

body.admin-routes-view #adminRoutesOverview>.eyebrow{display:none}body.admin-routes-view #adminRoutesOverview>h1{font-size:26px;margin:4px 0}body.admin-routes-view #allRoutesUpdated{margin:4px 0 10px;font-size:11px}

body.admin-routes-view #fieldRouteIntro,body.admin-routes-view #crewAlerts{display:none}.compact-route-tools{grid-template-columns:140px minmax(160px,1fr) 145px 155px}.compact-property-head{grid-template-columns:22px minmax(0,1fr) auto 32px}.card .compact-route-handle{min-width:22px;width:22px;min-height:30px;padding:0;border:0;background:transparent;color:inherit;font-size:18px}.compact-property-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.compact-property-actions button{min-height:34px;font-size:12px;padding:6px 9px}.route-drop-placeholder{display:flex;align-items:center;justify-content:center;border:2px dashed #5783a0;border-radius:9px;background:#e4eff6;color:#315d78;font-size:12px;box-sizing:border-box;pointer-events:none}.card.route-dragging{position:fixed!important;z-index:10000;pointer-events:none;opacity:.92;box-shadow:0 10px 28px #15374c55;outline:2px solid #dcae3c;will-change:transform;cursor:grabbing}.route-sort-gesture *{cursor:grabbing!important}@media(max-width:650px){.compact-route-tools{grid-template-columns:1fr 1fr}.compact-route-tools label:nth-child(3){grid-column:auto}.compact-property-head{grid-template-columns:18px minmax(0,1fr) 80px}.compact-property-expand{grid-column:3}.card .compact-route-handle{width:18px;min-width:18px}}
/* Snow Event history and compact photo access */
.snow-event-toolbar,.snow-event-form{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin:10px 0}.snow-event-toolbar label{flex:1;min-width:220px;margin:0;font-size:12px}.snow-event-toolbar select{margin-top:4px}.snow-event-toolbar button,.snow-event-form button{min-height:38px;padding:7px 10px;font-size:12px}.snow-event-toolbar a{padding:10px 0;font-size:12px;font-weight:650;text-decoration:underline}.snow-event-form{padding:10px;border:1px solid #b8cbd8;border-radius:8px;background:#fff}.snow-event-form[hidden]{display:none}.snow-event-form label{flex:1;min-width:180px;margin:0;font-size:12px}.snow-event-form input{margin-top:4px}.snow-event-toolbar [hidden]{display:none}#snowEventNotice{font-size:12px;line-height:1.5;margin:6px 0 10px}.compact-route-tools{grid-template-columns:140px 140px minmax(150px,1fr) 150px 150px}.card.compact-property-card>.compact-photo-link{display:inline-block;margin:4px 0 0 31px;padding:3px 0;min-height:24px;font-size:12px;font-weight:650;color:#1b5478;text-decoration:underline}.card.compact-property-card.property-complete>.compact-photo-link{color:#fff}.card.compact-property-card.property-in-progress>.compact-photo-link{color:#173f5a}.compact-property-details a{color:inherit;text-decoration:underline}.compact-property-details details{font-size:12px;margin:8px 0}.compact-property-details details p{white-space:pre-wrap}.compact-property-details details summary{cursor:pointer}.compact-route-handle:disabled{visibility:hidden}@media(max-width:950px){.compact-route-tools{grid-template-columns:1fr 1fr}.compact-route-tools label:nth-child(3){grid-column:1/-1}}@media(max-width:650px){.snow-event-toolbar{gap:6px}.snow-event-toolbar label{flex-basis:100%}.card.compact-property-card>.compact-photo-link{margin-left:0;font-size:11px}.compact-route-tools label:nth-child(2){grid-column:auto}.compact-route-tools label:nth-child(3){grid-column:1/-1}}
/* Narrow route columns keep crews side by side. */
body.admin-routes-view main{max-width:1600px}#allRoutesRows{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;padding:0 0 12px;scrollbar-gutter:stable}.compact-route-group{flex:0 0 340px;width:340px;max-width:100%;margin-bottom:0;min-width:0}.compact-route-group-heading{min-height:32px;margin-bottom:4px;display:block;line-height:1.3}.compact-route-group-heading strong{font-size:12px}.compact-route-group-heading small{display:block;margin-top:2px;font-size:10px}.card.compact-property-card{padding:5px 7px;margin:4px 0;border-radius:6px}.compact-property-head{grid-template-columns:18px minmax(0,1fr) 79px 25px;gap:5px}.compact-property-head h2{font-size:12px;line-height:1.3}.compact-property-head .compact-route-handle{width:18px;min-width:18px;min-height:25px;padding:0;font-size:12px}.compact-visit-progress{padding:3px 4px;white-space:normal;line-height:1.15}.compact-visit-progress strong{font-size:9px}.compact-visit-progress small{font-size:9px}.compact-property-head .compact-property-expand{grid-column:auto;width:25px;min-height:26px;margin:0;font-size:17px}.card.compact-property-card>.compact-photo-link{margin:2px 0 0 23px;min-height:20px;padding:1px 0;font-size:10px}.compact-property-details{padding-top:7px;margin-top:5px}.compact-property-details .contracted-services{padding:4px}.compact-property-details .contracted-service-row{flex-wrap:wrap}.compact-route-empty{width:100%}@media(max-width:650px){.compact-route-layout{grid-template-columns:112px minmax(0,1fr);gap:7px}.compact-route-group{flex-basis:300px;width:300px;max-width:none}.compact-property-head{grid-template-columns:16px minmax(0,1fr) 70px 24px;gap:4px}.compact-property-head h2{font-size:12px}.compact-property-head .compact-property-expand{grid-column:auto}.card.compact-property-card>.compact-photo-link{margin-left:20px}.compact-route-group-heading{display:block}}
.compact-property-head h2{font-size:13px}.compact-visit-progress strong,.compact-visit-progress small{font-size:10px}.compact-property-head .compact-visit-progress{min-width:0}.card.compact-property-card>.compact-photo-link{font-size:11px}
/* Keep the route column scrollbar in reach while reading long routes. */
.route-viewport-scrollbar{position:fixed;bottom:env(safe-area-inset-bottom,0px);z-index:90;height:24px;overflow-x:scroll;overflow-y:hidden;background:#e5edf3;border:1px solid #a3b8c8;border-radius:5px 5px 0 0;box-shadow:0 -2px 7px #173c5020;scrollbar-color:#587b94 #dce7ee;scrollbar-width:auto;box-sizing:border-box}.route-viewport-scrollbar[hidden]{display:none}.route-viewport-scrollbar>div{height:1px}.route-viewport-scrollbar::-webkit-scrollbar{height:18px}.route-viewport-scrollbar::-webkit-scrollbar-track{background:#dce7ee;border-radius:5px}.route-viewport-scrollbar::-webkit-scrollbar-thumb{background:#587b94;border:3px solid #dce7ee;border-radius:9px}.route-viewport-scrollbar:focus-visible{outline:2px solid #214f72;outline-offset:2px}body.admin-routes-view{padding-bottom:calc(30px + env(safe-area-inset-bottom,0px))}
.temporary-route-label{display:block;font-size:10px;font-weight:500;margin-top:2px;color:inherit}.route-transfer-target{outline:2px dashed #bc8519;outline-offset:3px;border-radius:6px;background:#fff2cf66}.route-transfer-dialog{max-width:480px;width:calc(100% - 24px);max-height:85dvh;overflow:auto;border:1px solid #91aaba;border-radius:10px;padding:18px;color:#203e50}.route-transfer-dialog::backdrop{background:#102c4470}.route-transfer-dialog h2{margin:0 0 8px;font-size:20px}.route-transfer-dialog label{font-size:13px}.route-transfer-dialog fieldset{border:1px solid #b3c5d0;border-radius:6px;margin:10px 0;padding:8px}.route-transfer-dialog legend{font-size:13px;font-weight:650}.route-transfer-service{display:flex;align-items:center;gap:8px;margin:7px 0}.route-transfer-service input{width:18px;min-height:18px;margin:0}.route-transfer-actions{display:flex;gap:8px;flex-wrap:wrap}#routeTransferError{color:#9b2f21;font-size:13px}.temporary-route-coverage{border:1px solid #d7bd7d;background:#fff9e8;border-radius:6px;padding:8px 10px;margin:8px 0;font-size:12px}.temporary-route-coverage summary{cursor:pointer;font-weight:650}.coverage-group-head,.coverage-line{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 0}.coverage-line{border-top:1px solid #e3d7b7}.coverage-line span{overflow-wrap:anywhere}.temporary-route-coverage button{font-size:11px;min-height:28px;padding:4px 7px;flex-shrink:0}
.compact-team-row{border-top:1px solid #e0e7ec;padding-bottom:3px}.compact-team-row .compact-team-choice{border-top:0;padding-bottom:4px}.compact-team-row.subcontractor-disabled{background:#fff2e6;border-radius:4px;padding:0 3px 5px}.compact-team-choice .sub-disabled-badge{display:inline-block;color:#8c3d15;background:#ffe0c3;border:1px solid #d9a379;border-radius:4px;font-size:10px;font-weight:700;margin-top:4px;padding:2px 4px;line-height:1.2}.resume-sub-button{display:block;margin:0 0 0 24px;min-height:26px;font-size:11px;padding:3px 8px}.empty-sub-route{font-size:12px;padding:12px;border:1px dashed #aabbc7;border-radius:6px;color:#496171;background:#fff;line-height:1.5}.subcontractor-availability-notice{background:#fff0df;color:#833d1b;border:1px solid #d29b6f;border-radius:6px;padding:10px;font-size:13px;line-height:1.5}
.named-manager-layout{display:grid;grid-template-columns:minmax(200px,280px) minmax(0,1fr);gap:14px;margin:12px 0}.named-route-item{padding:9px;border:1px solid #bdccd7;border-radius:6px;margin-bottom:7px;background:#fff}.named-route-item.selected{border:2px solid #315f7d;padding:8px}.named-route-item>strong,.named-route-item>small{display:block}.named-route-item>small{font-size:11px;color:#526b7d;margin:4px 0}.named-route-item button,.named-assignment-tools button,.named-route-management button{font-size:12px;padding:5px 8px;min-height:30px}.named-route-item>div{display:flex;flex-wrap:wrap;gap:4px}.named-route-form{padding:12px;background:#fff;border:1px solid #b5c8d6;border-radius:8px}.named-route-form fieldset{max-height:220px;overflow:auto;border:1px solid #c6d4dc;border-radius:5px;margin:10px 0}.named-assignment-tools{display:flex;gap:7px;flex-wrap:wrap}.named-assignment-tools input{flex:1}.named-assignment-tools select{width:auto}.named-assignment-row{padding:8px 0;border-top:1px solid #ccd8e0;font-size:12px}.named-assignment-row>strong{display:block;margin-bottom:5px}.named-assignment-row>div{display:flex;flex-wrap:wrap;gap:8px}.named-assignment-choice{display:flex;align-items:center;gap:5px;margin:0;font-size:12px}.named-assignment-choice input{min-height:17px;width:17px;margin:0}.named-assignment-choice small{display:block;font-size:10px;color:#567084}.named-readiness-setup{margin:15px 0;border-top:1px solid #bdccd6;padding-top:10px}.readiness-rule-row{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #d5dfe5;font-size:12px}.readiness-rule-row>strong{flex:1;min-width:160px}.readiness-rule-row label{display:flex;align-items:center;gap:4px;margin:0;font-size:12px}.readiness-rule-row input{width:16px;min-height:16px;margin:0}.named-sidebar-routes{margin:2px 0 5px 20px;padding-left:5px;border-left:2px solid #d7e2e9}.named-sidebar-routes label{display:flex;gap:5px;margin:0;padding:4px 0;font-size:11px;line-height:1.3}.named-sidebar-routes input{width:15px;height:15px;min-height:15px;margin:0;flex:none}.field-named-selector{display:flex;align-items:center;gap:8px;font-size:13px;margin:8px 0}.field-named-selector select{width:auto;min-width:180px}.treatment-ready-banner{padding:9px 12px;margin:10px 0;border:1px solid #6d9c72;border-radius:7px;background:#e9f5e8;color:#285534;font-size:13px}.treatment-ready-banner>strong{display:block}.treatment-ready-banner button{display:block;padding:5px 0;min-height:30px;background:transparent;border:0;color:inherit;text-decoration:underline;font-size:12px;text-align:left}.named-treatment-status{padding:6px 8px;font-size:12px;line-height:1.4;background:#edf2f5;color:#334f62;border-radius:4px}.named-treatment-status.status-ready{background:#e0f0df;color:#265a30}.named-treatment-status.status-waiting{background:#fff0d1;color:#735118}.restore-choice-list{max-height:45dvh;overflow:auto;margin:12px 0}.restore-choice{display:flex;gap:8px;align-items:flex-start;padding:8px 0;border-top:1px solid #d6e1e8;margin:0;font-size:12px}.restore-choice input{width:18px;min-height:18px;flex:none;margin:2px 0}.restore-choice small{display:block;color:#526c7f;margin-top:3px;line-height:1.4}.recorded-worker small{display:block;font-size:11px;margin-top:2px}@media(max-width:750px){.named-manager-layout{grid-template-columns:1fr}.named-manager-list{display:flex;overflow:auto;gap:8px}.named-route-item{flex:0 0 240px}.field-named-selector select{max-width:80%}}
.compact-team-row.holding-has-work{background:#ffe0ec;border:1px solid #dc94b1;border-radius:5px;padding:3px;color:#77304c}.compact-route-group.holding-has-work{background:#fff0f5;border:1px solid #e5a9bf;border-radius:7px;padding:7px;box-sizing:border-box}.holding-has-work .compact-route-group-heading{color:#78344e}

/* Compact contract settings and auditable draft charges. */
.billing-agreement{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #cbd5e1;padding:9px 0}.billing-agreement small,.billing-agreement span,.billing-table small{display:block;font-size:.8rem;margin-top:3px}.billing-inline{display:inline-flex;align-items:center;gap:6px;margin:4px 14px 4px 0!important}.billing-inline input{width:auto!important}.billing-rates{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}.billing-review{margin-top:12px;border:1px solid #cbd5e1;border-radius:8px;padding:10px}.billing-review summary{font-weight:650;cursor:pointer}.billing-table{width:100%;border-collapse:collapse;font-size:.85rem}.billing-table th,.billing-table td{padding:8px;border-bottom:1px solid #cbd5e1;text-align:left;vertical-align:top}.billing-table td:last-child{white-space:nowrap}.billing-warning{padding:9px;background:#fff3cd;color:#624600;border-left:4px solid #ce9300}#billingAgreementEditor{margin-top:12px;padding:12px;border:2px solid #93a9b8;border-radius:8px}#billingSetup fieldset{margin:12px 0;border:1px solid #cbd5e1}#billingSetup [hidden]{display:none!important}#billingSetup button{margin:4px 0}#billingPaymentSchedule{line-height:1.7}#billingVoidDialog{max-width:520px}
.boss-review-team{border:1px solid #bdcbd4;border-radius:9px;margin:9px 0;background:#fff;overflow:hidden}.boss-review-team>summary{cursor:pointer;padding:11px 13px;color:#173e54;background:#eaf0f4}.boss-review-team>summary span{display:block;font-size:.8rem;margin:3px 0 0 17px}.boss-team-content{padding:10px}.boss-team-content>.card{margin-bottom:9px}.boss-history-team{padding:9px;border-bottom:1px solid #cbd5e1}.boss-history-team>summary{cursor:pointer;font-weight:600}.boss-review-team[open]>summary{border-bottom:1px solid #bdcbd4}
.profit-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:8px;margin:16px 0}.profit-metrics>div{padding:12px;background:#edf3f7;border:1px solid #bdd0dc;border-radius:8px;color:#193d53}.profit-metrics small,.profit-metrics span{display:block;font-size:12px}.profit-metrics strong{display:block;font-size:23px;margin:5px 0;overflow-wrap:anywhere}.profit-options{display:flex;gap:14px;flex-wrap:wrap;font-size:13px}.profit-options label{display:flex;gap:6px;align-items:center}.profit-options input{width:auto}.profit-table{border-collapse:collapse;font-size:12px;min-width:1050px;width:100%}.profit-table th,.profit-table td{text-align:right;padding:9px 7px;border-bottom:1px solid #cbd5e1;vertical-align:top}.profit-table th:first-child,.profit-table td:first-child{text-align:left;min-width:190px}.profit-table td small{display:block;font-size:11px}.profit-table td:first-child strong{font-weight:600}.profit-table details{text-align:left;margin-top:6px}.profit-table details p{min-width:180px}.profit-table td button{min-height:34px;padding:6px;font-size:12px}.profit-unmeasured{background:#fff4d9}.profit-sort{max-width:300px}.property-area-dialog{width:min(680px,95vw);max-height:90vh;overflow:auto;border:2px solid #7d98aa;border-radius:12px;padding:22px}.property-area-dialog::backdrop{background:#152f4480}#propertyProfitPanel{scroll-margin-top:90px}#propertyProfitPanel>summary{font-size:16px}#propertyProfitPanel .sheet-scroll{max-height:65vh;overflow:auto}
nav{flex-wrap:wrap}#sqftContent #propertyProfitPanel{margin-top:12px}#sqftContent h2{font-size:18px}

.profit-table tr.profit-loss{background:#fce0ea;color:#61213d}.profit-table tr.profit-loss td{border-bottom-color:#e5b5c7}.profit-loss-filter{background:#fce0ea;color:#61213d;padding:5px 8px;border-radius:5px}

.record-scroll{max-height:55vh;overflow:auto}.record-item{border:1px solid #b7c9d5;border-radius:7px;padding:9px;margin:7px 0;background:#f8fafc;color:#193d53}.record-item>summary{cursor:pointer}.record-item>summary span:last-child{font-size:12px;margin-left:8px}.record-hold{background:#fce0ea;color:#61213d;padding:3px 6px;border-radius:4px}#retentionForm{display:flex;align-items:end;gap:10px;flex-wrap:wrap}#retentionForm input{max-width:120px}#recordActionDialog{width:min(600px,95vw);border:2px solid #7d98aa;border-radius:10px;padding:22px}
/* Filing-folder navigation */
main>nav{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:5px;margin-bottom:0;padding:5px 4px 0;border-bottom:1px solid #91a7b4;overflow-x:auto;scrollbar-width:thin}
main>nav>button{position:relative;flex:0 0 auto;min-height:40px;margin:4px 0 -1px;padding:9px 16px 10px;border:1px solid #a7b6bd;border-bottom-color:#91a7b4;border-radius:9px 16px 0 0;background:linear-gradient(#eee9df,#e1d9c8);color:#3c4d56;box-shadow:inset 0 1px 0 #ffffffb3;font-size:13px;font-weight:600;white-space:nowrap}
main>nav>button:hover{background:#f4eee2;color:#193b52}
main>nav>button.active{z-index:1;min-height:45px;margin-top:0;border-color:#91a7b4;border-bottom-color:#fffdf8;background:#fffdf8;color:#193b52;box-shadow:inset 0 3px 0 #315b75;font-weight:750}
main>nav>button:focus-visible{outline:3px solid #197ba0;outline-offset:-4px}
main>section:not([hidden]){padding:17px 14px;border:1px solid #91a7b4;border-top:0;border-radius:0 0 9px 9px;background:#fffdf8}
@media(max-width:650px){main>nav{gap:3px;padding-left:0;padding-right:0}main>nav>button{padding:9px 11px 10px;font-size:12px}main>section:not([hidden]){padding:12px 8px}}
main>nav{overflow-y:hidden}

/* One shared calendar for the All Routes work range. */
.compact-route-tools{grid-template-columns:minmax(210px,1fr) minmax(170px,2fr) 150px 150px}.compact-route-tools>label:nth-child(n){grid-column:auto;grid-row:auto}.all-routes-range{min-width:0}.all-routes-range label{display:block}.all-routes-range button{display:block;width:100%;box-sizing:border-box;min-height:44px;white-space:normal;overflow-wrap:anywhere;text-align:left;margin-top:4px}@media(max-width:950px){.compact-route-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.compact-route-tools .all-routes-range,.compact-route-tools>label.all-routes-search{grid-column:1/-1}}

.password-input{display:flex;align-items:center;gap:8px;width:100%}.password-input input{min-width:0;flex:1}.password-toggle{flex:none;min-width:62px;min-height:44px;padding:8px;font-size:14px;margin:0}

.photo-checklist{padding:12px;border:2px solid #7493a8;border-radius:8px;background:#f2f7fa;color:#253746}.photo-checklist-buttons{display:flex;flex-wrap:wrap;gap:6px}.photo-checklist-buttons button{min-height:44px;font-size:13px}.catalog-row input[data-photo-minimum]{max-width:90px}

header .banner-refresh{min-height:44px;width:auto;flex:none;margin:0;padding:6px 10px;font-size:13px;line-height:1.2;border:1px solid #a6c0d0;border-radius:7px;background:#295a78;color:#fff}header .banner-refresh:focus-visible{outline:3px solid #f3c66d;outline-offset:2px}header .refresh-status{font-size:12px;color:#fff;flex-basis:100%;text-align:right}header .refresh-status:empty{display:none}@media print{header .banner-refresh,header .refresh-status{display:none}}

.admin-property-open{display:inline;text-align:left;background:transparent;color:inherit;border:0;padding:0;margin:0;font:inherit;font-weight:inherit;min-height:44px;cursor:pointer}.admin-property-open:focus-visible{outline:3px solid #397fa5;outline-offset:3px;border-radius:4px}.admin-route-card[data-admin-route-open]{cursor:pointer}

.location-review{margin:8px 0;padding:8px 10px;border-left:4px solid #8d9eaa;border-radius:4px;background:#eef2f5;color:#243944;font-size:12px;line-height:1.5;break-inside:avoid}.location-review details{margin-top:4px}.location-review summary{cursor:pointer}.location-review p{margin:6px 0;overflow-wrap:anywhere}.location-outside{border-color:#b93b42;background:#fff0f0;color:#872b31}.location-unverified,.location-not-configured{border-color:#ad791c;background:#fff6df;color:#67480e}.location-inside{border-color:#417859;background:#edf7ef;color:#28533a}.location-test{border-color:#4d789e;background:#edf3fa;color:#25465e}#geofenceDialog{max-width:600px;width:calc(100% - 32px)}#geofenceDialog input[type=checkbox]{width:auto;margin-right:8px}@media print{.location-review{border:1px solid #555;color:#111;background:#fff}.location-review details{display:block}.location-review details>*{display:block}}

#geofenceDialog{max-width:960px;width:calc(100% - 24px);max-height:94dvh;overflow:auto}.geofence-map{position:relative;height:420px;min-height:280px;overflow:hidden;background:#243944;border:2px solid #8ba6b6;border-radius:8px;touch-action:none;user-select:none;cursor:crosshair}.fence-map-tiles,.fence-map-overlay{position:absolute;inset:0;width:100%;height:100%}.fence-map-tiles img{position:absolute;width:256px;height:256px;max-width:none;pointer-events:none}.fence-map-overlay circle{cursor:grab}.fence-map-credit{position:absolute;bottom:0;right:0;max-width:95%;font-size:10px;background:#ffffffe8;color:#182b36;padding:3px 5px;pointer-events:none}.fence-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:10px 0}.fence-tools button,.fence-tools select{min-height:44px;margin:0;width:auto;max-width:100%;font-size:13px;padding:8px}.readiness-summary{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.readiness-summary span{padding:10px;background:#eaf1f5;border-radius:7px}.readiness-summary strong{font-size:20px;display:block}.readiness-filters{display:grid;grid-template-columns:minmax(200px,2fr) repeat(3,minmax(140px,1fr));gap:12px}.readiness-table{border-collapse:collapse;width:100%;min-width:1250px;font-size:13px}.readiness-table th,.readiness-table td{padding:12px;border:1px solid #c1cdd5;vertical-align:top;text-align:left}.readiness-table th{background:#e5edf2;position:sticky;top:0}.readiness-table small,.readiness-table td span{display:block;line-height:1.6}.readiness-table button{font-size:12px;min-height:44px;margin:7px 0 0;padding:6px 8px}.readiness-missing{background:#fff3de;color:#704a11}.readiness-ready{background:#edf7f0;color:#285439}.readiness-service{margin-bottom:8px}#teamWorkers .member-row small{display:block;overflow-wrap:anywhere}#teamWorkerDialog{width:calc(100% - 32px);max-width:520px;max-height:92dvh;overflow:auto}@media(max-width:720px){.readiness-filters{grid-template-columns:1fr 1fr}.geofence-map{height:350px}}

.fence-legend{display:flex;gap:7px;flex-wrap:wrap}.fence-legend span{border:2px solid;padding:3px 8px;border-radius:5px;color:#233b4b}

/* Organized banner: brand, connection/language, navigation, then account. */
header{
  background-color:#193e53;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27300%27%20height%3D%27190%27%20viewBox%3D%270%200%20300%20190%27%3E%3Cg%20fill%3D%27none%27%20stroke-width%3D%271.15%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cg%20transform%3D%27translate(40%2040)%20rotate(0)%27%20stroke%3D%27%23ffffff%27%20stroke-opacity%3D%270.65%27%3E%3Cpath%20transform%3D%27rotate(0)%27%20d%3D%27M0%200V-28M0-9L-6-15M0-9L6-15M0-17L-5-22M0-17L5-22M0-25L-3-28M0-25L3-28%27%2F%3E%3Cpath%20transform%3D%27rotate(60)%27%20d%3D%27M0%200V-28M0-9L-6-15M0-9L6-15M0-17L-5-22M0-17L5-22M0-25L-3-28M0-25L3-28%27%2F%3E%3Cpath%20transform%3D%27rotate(120)%27%20d%3D%27M0%200V-28M0-9L-6-15M0-9L6-15M0-17L-5-22M0-17L5-22M0-25L-3-28M0-25L3-28%27%2F%3E%3Cpath%20transform%3D%27rotate(180)%27%20d%3D%27M0%200V-28M0-9L-6-15M0-9L6-15M0-17L-5-22M0-17L5-22M0-25L-3-28M0-25L3-28%27%2F%3E%3Cpath%20transform%3D%27rotate(240)%27%20d%3D%27M0%200V-28M0-9L-6-15M0-9L6-15M0-17L-5-22M0-17L5-22M0-25L-3-28M0-25L3-28%27%2F%3E%3Cpath%20transform%3D%27rotate(300)%27%20d%3D%27M0%200V-28M0-9L-6-15M0-9L6-15M0-17L-5-22M0-17L5-22M0-25L-3-28M0-25L3-28%27%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%27translate(218%20126)%20rotate(15)%27%20stroke%3D%27%23b9e5ff%27%20stroke-opacity%3D%270.65%27%3E%3Cpath%20transform%3D%27rotate(0)%27%20d%3D%27M0%200V-24M0-8L-8-16L-8-21M0-8L8-16L8-21M0-16L-4-20M0-16L4-20M-3-24L0-29L3-24L0-19Z%27%2F%3E%3Cpath%20transform%3D%27rotate(60)%27%20d%3D%27M0%200V-24M0-8L-8-16L-8-21M0-8L8-16L8-21M0-16L-4-20M0-16L4-20M-3-24L0-29L3-24L0-19Z%27%2F%3E%3Cpath%20transform%3D%27rotate(120)%27%20d%3D%27M0%200V-24M0-8L-8-16L-8-21M0-8L8-16L8-21M0-16L-4-20M0-16L4-20M-3-24L0-29L3-24L0-19Z%27%2F%3E%3Cpath%20transform%3D%27rotate(180)%27%20d%3D%27M0%200V-24M0-8L-8-16L-8-21M0-8L8-16L8-21M0-16L-4-20M0-16L4-20M-3-24L0-29L3-24L0-19Z%27%2F%3E%3Cpath%20transform%3D%27rotate(240)%27%20d%3D%27M0%200V-24M0-8L-8-16L-8-21M0-8L8-16L8-21M0-16L-4-20M0-16L4-20M-3-24L0-29L3-24L0-19Z%27%2F%3E%3Cpath%20transform%3D%27rotate(300)%27%20d%3D%27M0%200V-24M0-8L-8-16L-8-21M0-8L8-16L8-21M0-16L-4-20M0-16L4-20M-3-24L0-29L3-24L0-19Z%27%2F%3E%3Cpath%20d%3D%27M0-7L6.06-3.5V3.5L0%207L-6.06%203.5V-3.5Z%27%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%27translate(135%2047)%20rotate(30)%27%20stroke%3D%27%23e4f7ff%27%20stroke-opacity%3D%270.7%27%3E%3Cpath%20transform%3D%27rotate(0)%27%20d%3D%27M0%200V-19M0-7L-5-11L-5-15M0-7L5-11L5-15M0-13L-3-16M0-13L3-16%27%2F%3E%3Cpath%20transform%3D%27rotate(60)%27%20d%3D%27M0%200V-19M0-7L-5-11L-5-15M0-7L5-11L5-15M0-13L-3-16M0-13L3-16%27%2F%3E%3Cpath%20transform%3D%27rotate(120)%27%20d%3D%27M0%200V-19M0-7L-5-11L-5-15M0-7L5-11L5-15M0-13L-3-16M0-13L3-16%27%2F%3E%3Cpath%20transform%3D%27rotate(180)%27%20d%3D%27M0%200V-19M0-7L-5-11L-5-15M0-7L5-11L5-15M0-13L-3-16M0-13L3-16%27%2F%3E%3Cpath%20transform%3D%27rotate(240)%27%20d%3D%27M0%200V-19M0-7L-5-11L-5-15M0-7L5-11L5-15M0-13L-3-16M0-13L3-16%27%2F%3E%3Cpath%20transform%3D%27rotate(300)%27%20d%3D%27M0%200V-19M0-7L-5-11L-5-15M0-7L5-11L5-15M0-13L-3-16M0-13L3-16%27%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%27translate(92%20148)%20rotate(10)%27%20stroke%3D%27%23a3d9ff%27%20stroke-opacity%3D%270.5%27%3E%3Cpath%20transform%3D%27rotate(0)%27%20d%3D%27M0%200V-19M0-7L-5-11L-5-15M0-7L5-11L5-15M0-13L-3-16M0-13L3-16%27%2F%3E%3Cpath%20transform%3D%27rotate(60)%27%20d%3D%27M0%200V-19M0-7L-5-11L-5-15M0-7L5-11L5-15M0-13L-3-16M0-13L3-16%27%2F%3E%3Cpath%20transform%3D%27rotate(120)%27%20d%3D%27M0%200V-19M0-7L-5-11L-5-15M0-7L5-11L5-15M0-13L-3-16M0-13L3-16%27%2F%3E%3Cpath%20transform%3D%27rotate(180)%27%20d%3D%27M0%200V-19M0-7L-5-11L-5-15M0-7L5-11L5-15M0-13L-3-16M0-13L3-16%27%2F%3E%3Cpath%20transform%3D%27rotate(240)%27%20d%3D%27M0%200V-19M0-7L-5-11L-5-15M0-7L5-11L5-15M0-13L-3-16M0-13L3-16%27%2F%3E%3Cpath%20transform%3D%27rotate(300)%27%20d%3D%27M0%200V-19M0-7L-5-11L-5-15M0-7L5-11L5-15M0-13L-3-16M0-13L3-16%27%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"brand status" "brand language" "account account";
  gap:8px 24px;padding:18px max(20px,calc((100% - 900px)/2));
  border-bottom:1px solid #789bab;
}
header .brand{grid-area:brand;min-width:0;align-self:center}
header .banner-logo{width:220px;max-width:100%;height:auto;border-radius:9px;box-shadow:0 3px 12px #0b253640}
header .pill{justify-self:end;align-self:end;margin:0;padding:6px 11px;font-size:12px;background:#102f4380;max-width:100%}
header .language-control{justify-self:end;align-self:start;margin:0;font-size:12px;gap:6px}
header .account-controls{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  align-items:center;gap:8px;margin:6px 0 0;padding-top:12px;
  border-top:1px solid #d6ebf22e;
}
header .account-controls>.banner-refresh{
  grid-row:1;grid-column:span 2;width:100%;min-width:0;min-height:44px;
  padding:9px 6px;font-size:13px;font-weight:600;border-radius:8px;
  background:#315e76e6;border:1px solid #98b5c6;color:#fff;
  box-shadow:inset 0 1px 0 #ffffff12;
}
header .account-controls>.banner-refresh:hover{background:#3d718c}
header #signedInName{grid-row:2;grid-column:1/5;min-width:0;font-size:12px;line-height:1.5;font-weight:400;overflow-wrap:anywhere;text-align:left;padding:4px 0}
header #signOut{grid-row:2;grid-column:5/7;justify-self:end;min-width:86px;min-height:44px;padding:8px 13px;margin:0;border:1px solid #b9ccd7;background:#edf4f8;color:#23465b;font-size:12px;border-radius:8px}
header .refresh-status{grid-column:1/-1;font-size:12px;text-align:left;line-height:1.5}
header button:focus-visible{outline:3px solid #f3c66d;outline-offset:3px}
@media(min-width:760px){
  header .account-controls{grid-template-columns:repeat(3,minmax(90px,115px)) minmax(0,1fr) auto}
  header .account-controls>.banner-refresh{grid-column:auto;grid-row:1}
  header #signedInName{grid-column:4;grid-row:1;text-align:right;padding:0 8px}
  header #signOut{grid-column:5;grid-row:1}
}
@media(max-width:600px){
  header{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"brand brand" "status language" "account account";padding:14px 16px;gap:8px 10px}
  header .brand{align-items:center}
  header .banner-logo{width:190px}
  header .pill{justify-self:start;align-self:center;font-size:11px;padding:6px 10px}
  header .language-control{justify-self:end;align-self:center;font-size:11px;gap:4px}
  header .language-control button{width:46px}
  header .account-controls{margin-top:0;padding-top:10px;gap:8px}
}
@media(max-width:350px){
  header{padding:12px;column-gap:6px}
  header .language-control{font-size:10px;gap:3px}
  header .pill{font-size:10px;padding:5px 7px}
}

/* Dual-brand banner: keep identity and phone-sized controls in distinct rows. */
header{grid-template-areas:"brand brand" "tagline tagline" "status language" "account account";gap:12px 18px;background-color:#06243a}
header .brand{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:18px;width:100%}
header .banner-logo{width:38%;max-width:300px;flex:0 1 300px;object-fit:contain}
header .crewvio-brand{position:relative;width:58%;max-width:480px;min-width:0}
header .crewvio-brand img{display:block;width:100%;height:auto}
header .powered-by{position:absolute;left:29.3%;right:0;top:10%;text-align:center;color:#fff;font-size:clamp(15px,2.4vw,25px);font-weight:650;line-height:1.2;text-shadow:0 1px 3px #000}
header .banner-tagline{grid-area:tagline;display:flex;align-items:center;justify-content:center;gap:clamp(7px,2vw,20px);font-size:clamp(12px,3.25vw,23px);font-weight:750;line-height:1.5;letter-spacing:.025em;text-transform:uppercase;white-space:nowrap;padding:7px 0 11px;border-bottom:1px solid #d6ebf22e}
header .banner-tagline span:nth-of-type(1){color:#29d3ff}header .banner-tagline span:nth-of-type(2){color:#ffb441}header .banner-tagline span:nth-of-type(3){color:#a1ec69}header .banner-tagline b{color:#d5e7ef;font-weight:400}
header #syncStatus{display:inline-flex;align-items:center;gap:7px;justify-self:start;align-self:center;white-space:normal;line-height:1.4;color:#d7e5ee;border-color:#819bab;cursor:default;text-align:left}
header #syncStatus::before{content:"";width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:currentColor}
header #syncStatus[data-state="live"]{color:#b9f7cf;border-color:#5ba781;background:#103d36}
header #syncStatus[data-state="syncing"],header #syncStatus[data-state="reconnecting"]{color:#d0eaff;border-color:#77b4e7;background:#173e60}
header #syncStatus[data-state="offline"]{color:#ffe1a0;border-color:#c49d52;background:#473a20}
header #syncStatus[data-state="error"]{color:#ffd3d3;border-color:#df8787;background:#5a2633;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
header .language-control{align-self:center}
@media(max-width:600px){header{grid-template-areas:"brand brand" "tagline tagline" "status language" "account account";gap:10px 8px;padding:14px 12px}header .brand{gap:10px}header .banner-logo{width:40%;flex-basis:40%}header .crewvio-brand{width:58%}header .powered-by{font-size:clamp(12px,3.4vw,20px)}header .banner-tagline{font-size:clamp(11px,3.5vw,20px);gap:6px;letter-spacing:0}header #syncStatus{font-size:11px;padding:7px 8px}header .language-control{font-size:11px;gap:4px}}

header #syncStatus::before{width:15px;flex-basis:15px;height:auto;line-height:1;text-align:center;background:none;border-radius:0;content:"…";font-size:15px;font-weight:800}
header #syncStatus[data-state="live"]::before{content:"✓"}
header #syncStatus[data-state="syncing"]::before,header #syncStatus[data-state="reconnecting"]::before{content:"↻"}
header #syncStatus[data-state="offline"]::before{content:"!"}
header #syncStatus[data-state="error"]::before{content:"×"}
header #syncStatus:focus-visible{outline:3px solid #f3c66d;outline-offset:3px}

/* Equal status/language columns on wide screens too. */
header{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}

header .crewvio-brand img{mix-blend-mode:lighten}

/* A submitted service is visible even while other contracted services remain. */
.card.property-partial{background:#e2f0e3;border-color:#6e9877;color:#254b35}.card.property-partial .admin-property-open{color:#233b4b}.card.property-partial>.view-photos-link{color:#1b6188}.card.property-partial .last-serviced{color:#233b4b}

/* Escalations override running, partial, completed and readiness colors. */
.card:is(.property-escalated,.admin-route-has-alert){background:#f8e6ee!important;color:#633044!important;border-color:#a95f7c!important}.card:is(.property-escalated,.admin-route-has-alert) :is(.code,h2,.hint,.temporary-route-label,.last-serviced,.admin-property-open){color:#633044}.card:is(.property-escalated,.admin-route-has-alert)>.view-photos-link{color:#633044}

/* Mobile users swipe the board; admin reassignment remains one tap away. */
.mobile-route-move{display:none}
@media (max-width:700px), (hover:none) and (pointer:coarse){
 #routeViewportScrollbar{display:none!important}
 body.admin-routes-view{padding-bottom:env(safe-area-inset-bottom,0px)}
 #allRoutesRows{overflow-x:auto;-webkit-overflow-scrolling:touch}
 .card .mobile-route-move{display:block;min-height:44px;margin:6px 0 2px;padding:8px 12px;font-size:13px}
}

/* Highlight subcontractors with pending HQ approvals. */
.office-review-team.needs-approval{border-color:#c79b40}
.office-review-team.needs-approval>summary{background:#fff3cd}
.office-review-team.needs-approval[open]>summary{border-bottom-color:#c79b40}

/* GPS applies to the two field tabs; keep its notice centered above both. */
main>nav{align-items:flex-end}.field-tab-group{display:grid;grid-template-columns:auto auto;column-gap:6px;align-items:end;max-width:100%}.field-tab-group #locationStatus{grid-column:1/-1;max-width:none;width:100%;margin:0 0 3px;padding:5px 7px;border-radius:5px;background:#fff59d;color:#594800;font-size:11px;line-height:1.35;text-align:center;cursor:pointer}.field-tab-group>button{align-self:stretch}.field-tab-group:has(#bossTab[hidden]){grid-template-columns:1fr}@media(max-width:480px){.field-tab-group{column-gap:2px}.field-tab-group #locationStatus{max-width:220px;font-size:10px}}@media print{.field-tab-group{display:none!important}}


/* DenverSnow leads; the partner tagline stays inside the Crewvio column. */
header{grid-template-areas:"brand brand" "status language" "account account"}
header .brand{gap:14px}
header .banner-logo{width:56%;height:auto;max-width:440px;flex:0 1 56%}
header .crewvio-brand{width:42%;max-width:330px;flex:0 1 42%;container-type:inline-size}
header .powered-by{font-size:clamp(10px,4.8cqw,18px)}
header .crewvio-brand .banner-tagline{width:100%;max-width:100%;gap:0;justify-content:space-between;font-size:4cqw;letter-spacing:0;line-height:1.5;padding:5px 0 0;border:0;white-space:nowrap}
@media(max-width:600px){header .brand{gap:10px}header .banner-logo{width:56%;flex-basis:56%}header .crewvio-brand{width:42%;flex-basis:42%}}


/* One camera action contains the photo guidance and remains easy to tap. */
.photo-checklist .photo-action-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;min-height:120px;margin:14px 0;padding:18px;text-align:left;background:#fff09b;color:#49370b;border:2px solid #d8b330;border-radius:12px;white-space:normal}
.photo-action-card strong{font-size:20px;line-height:1.3}.photo-action-card span{font-size:15px;line-height:1.45;font-weight:500}.photo-action-card small{font-size:13px;font-weight:700}.photo-action-card:focus-visible{outline:3px solid #246d78;outline-offset:3px}.photo-step-status{font-size:14px;line-height:1.6;margin-bottom:0}

/* Override the generic running-property button treatment for photo actions. */
.card.property-workspace .photo-checklist[data-photo-stage="work"]{background:#fff9dc;border-color:#c7a63c}
.card.property-workspace .photo-checklist .photo-action-card:not(:disabled){background:#fff2ad;color:#49370b;border:2px solid #c7a030;box-shadow:0 3px 8px #70540014}
.card.property-workspace .photo-checklist .photo-action-card:not(:disabled):active{background:#ffe78a}
.photo-action-card .photo-camera-icon{display:block;font-size:52px;line-height:1.15;font-weight:400}
.card.property-workspace .photo-action-card strong{font-size:22px;line-height:1.3}

/* Shared workspace navigation: daily work is a main tab; configuration stays in Setup. */
#servicesJobsTab{border-color:#61909f;background:linear-gradient(#e6f4f8,#d0e7ed);color:#164d61;font-weight:750}.workspace-setup-links{margin:18px 0;padding:20px;background:#eef5f8;border:1px solid #cadce5;border-radius:12px}.workspace-setup-links h2{font-size:20px}.workspace-shortcuts{display:flex;gap:10px;flex-wrap:wrap}.workspace-shortcuts a{display:block;padding:11px 14px;background:white;border:1px solid #a8c2d0;border-radius:8px;color:#204e68;text-decoration:none;font-weight:650}.workspace-shortcuts a:hover{background:#e0eef4}.workspace-shortcuts a:focus-visible{outline:3px solid #3278af;outline-offset:3px}

.workspace-sidebar .field-tab-group>a{display:block;width:100%;padding:11px 12px;border-radius:8px;color:#264a61;font-size:14px;font-weight:600;text-align:left;text-decoration:none}.workspace-sidebar .field-tab-group>a.active{background:#dceef5;color:#145171;font-weight:750}
