:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#162e41;background:#f2f5f8;font-size:16px;line-height:1.5;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a.action{min-height:46px;padding:10px 16px;border:1px solid #b8c8d5;border-radius:12px;background:#fff;color:#16476a;font-weight:650;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,a.action:hover{background:#eaf2f9}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #007fb5;outline-offset:3px}button.primary,a.primary{background:#145e91;color:white;border-color:#145e91}input,select{width:100%;min-height:48px;border:1px solid #afbfca;border-radius:10px;padding:10px;background:white;color:#162e41}label{display:block;font-weight:600;margin:12px 0 6px}p{margin:8px 0}h1{font-size:1.65rem;line-height:1.2;margin:6px 0 12px;letter-spacing:-.04em}h2{font-size:1.2rem;line-height:1.35;margin:2px 0 8px}h3{font-size:1rem;margin:0 0 8px}.employeeHeader{padding:18px max(20px,calc((100vw - 760px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px;background:#123a58;color:white}.employeeHeader strong{display:block;font-size:1.3rem}.employeeHeader button{background:transparent;color:white;border-color:#6f91a8}.eyebrow{font-size:.75rem;letter-spacing:.09em;font-weight:700}#employeeApp{max-width:800px;margin:auto;padding:22px 20px calc(110px + env(safe-area-inset-bottom));min-height:70vh}.muted{color:#536b7c;font-size:.9rem}.toolbar{display:grid;grid-template-columns:1fr auto;align-items:end;gap:12px;margin:16px 0}.toolbar label{margin:0}.preview{border:1px solid #9ab9d0;background:#e6f0f8;border-radius:14px;padding:14px;margin-bottom:20px}.preview a{color:#16476a;font-weight:600}.card,.empty,.login{background:white;border:1px solid #d6e0e8;border-radius:18px;padding:20px;margin:16px 0;box-shadow:0 3px 12px #183b5610}.login{max-width:480px;margin:24px auto}.login button{width:100%;margin-top:14px}.login .secondary{background:none;border:none;text-decoration:underline}.empty{padding:30px 22px;text-align:center}.team{margin-top:24px;border-left:5px solid var(--team,#145e91);padding-left:14px}.team h2{font-size:1.1rem}.visitTop{display:flex;gap:14px;align-items:flex-start}.stopNumber{background:#145e91;color:white;border-radius:12px;min-width:38px;height:38px;display:grid;place-items:center;font-size:1.1rem;font-weight:750}.visitBody{min-width:0;flex:1}.visitBody p,.note{overflow-wrap:anywhere}.badge{display:inline-block;font-size:.8rem;padding:4px 9px;background:#edf3f8;color:#31556e;border-radius:7px;margin:3px 5px 3px 0}.note{white-space:pre-wrap;background:#f2f6fa;border-radius:10px;padding:12px;margin-top:12px}.complaint{border-left:4px solid #b52636;background:#fff1f1;color:#831c2a}.note strong{display:block;font-size:.85rem;margin-bottom:5px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.actions>*{flex:1}details{margin-top:16px;border-top:1px solid #d6e0e8;padding-top:12px}summary{cursor:pointer;font-weight:650;min-height:34px}.payAmount{font-size:1.8rem;font-weight:750;letter-spacing:-.04em}.payGrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.payGrid div{background:#f4f7f9;border-radius:10px;padding:12px}.payGrid span{display:block;font-size:.8rem;color:#536b7c}.payGrid strong{display:block;font-size:1.05rem}.payLines{margin:0}.payLines div{display:flex;gap:16px;justify-content:space-between;padding:8px 0;border-bottom:1px solid #edf1f5}.payLines dt{font-size:.9rem}.payLines dd{margin:0;text-align:right;white-space:nowrap;font-weight:600}.error{color:#93202b;background:#fff0f1;padding:12px;border-radius:10px}.status{min-height:24px}.mapCanvas{height:420px;max-height:55vh;border-radius:18px;background:#e1eaf0;isolation:isolate}.mapPin{background:#145e91;color:white;border:3px solid white;border-radius:50%;display:grid;place-items:center;font-weight:700;box-shadow:0 2px 6px #123a5860}.mapStop{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #d6e0e8}.mapStop .action{margin-left:auto;font-size:.9rem;padding:8px 12px}#employeeNav{position:fixed;bottom:0;left:0;right:0;z-index:1000;display:flex;justify-content:center;background:#fff;border-top:1px solid #cbd8e1;padding:8px 12px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -3px 20px #183b5610}#employeeNav[hidden]{display:none}#employeeNav button{flex:1;max-width:240px;border:none;background:transparent;flex-direction:column;gap:2px;font-size:.85rem;color:#526879}#employeeNav button[aria-current="page"]{background:#e6f0f8;color:#104f7c}#employeeNav svg{width:22px;height:22px}.version{text-align:center;font-size:.75rem;color:#627786;margin-top:28px}@media(min-width:700px){.card{padding:24px}.mapCanvas{height:490px}}@media(max-width:360px){#employeeApp{padding-left:12px;padding-right:12px}.card{padding:16px}.employeeHeader{padding:16px 12px}.actions{flex-direction:column}}@media print{.employeeHeader,#employeeNav,.toolbar,.preview,.actions{display:none}#employeeApp{padding:0}.card{break-inside:avoid;box-shadow:none}}

.payStatement{padding:12px 0;color:#233b4b}.payStatement h2{font-size:1.12rem;letter-spacing:.06em;margin:8px 0 14px}.payStatement h3{margin:16px 0 8px}.statementMeta{font-size:.85rem}.payStatement .payLines{margin:18px 0;border-top:1px solid #cbd8e1}.payStatement .payLines div{padding:8px 0}.payStatement .statementTotal{font-weight:750}.statementDays{width:100%;border-collapse:collapse;font-size:.85rem;text-align:left}.statementDays th,.statementDays td{padding:8px 4px;vertical-align:top}.statementDays th{border-bottom:1px solid #cbd8e1}.statementDays th:last-child,.statementDays td:last-child{text-align:right}.statementNote{font-size:.9rem;white-space:pre-wrap;overflow-wrap:anywhere}.statementFooter{font-size:.75rem;color:#536b7c;margin-top:22px;overflow-wrap:anywhere}

.visitCheck{margin-top:20px;padding-top:16px;border-top:1px solid #d6e0e8}.visitCheck h3{margin-bottom:6px}.checkDisclosure{font-size:.82rem;line-height:1.5}.checkSaved{font-size:.9rem;font-weight:600;color:#245b40;background:#edf7f0;border-radius:9px;padding:9px 11px}.checkStatus{padding:11px 13px;border-radius:10px;background:#edf3f8;color:#234c68}.visitCheck .actions{margin-top:12px}.visitCheck .actions button{flex:1 1 145px}button:disabled{cursor:not-allowed}@media print{.visitCheck{display:none}}
/* v2.18 crew workflow: roomy controls, navy hierarchy, a single house at a time. */
:root{background:#eef3f7;color:#18384b;font-size:17px;--blue:#1267a5;--ink:#102f45;--line:#d2dfe8}h1{font-size:2rem;letter-spacing:-.035em}h2{font-size:1.4rem}h3{font-size:1.12rem}.eyebrow{font-size:.76rem;line-height:1.5}.employeeHeader{background:#102f45;padding-top:20px;padding-bottom:20px}.headerActions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.employeeHeader button{font-size:.85rem;padding:8px 10px}.employeeHeader .eyebrow{font-size:.65rem}.employeeHeader strong{font-size:1.45rem}.muted,.note strong,.checkDisclosure,#employeeNav button{font-size:.88rem}button,input,select,textarea{font-size:1rem;min-height:48px}button.primary,a.primary{background:#1267a5;border-color:#1267a5;border-radius:12px}.wide{width:100%}.workflowRoot{margin-top:18px}.workflowHeading{margin:26px 0 14px}.workflowHeading h2{margin-top:6px}.workflowHeading .eyebrow{color:#1769a8}.workTeam{border-left:5px solid var(--team);padding-left:16px;margin:28px 0 16px}.workTeam h2{margin-bottom:4px}.supplyEntry{display:flex;width:100%;justify-content:flex-start;gap:12px;background:#e3edf5;border:0;margin-bottom:18px;text-align:left}.supplyEntry small{margin-left:auto;font-size:.8rem}.prepIcon{height:32px;width:32px;border-radius:50%;background:#fff;display:grid;place-items:center}.workHouse{padding:22px;margin:16px 0;background:white;border:1px solid #d2dfe8;border-radius:18px}.workHouse h3{font-size:1.4rem}.scopeLabel{font-size:.9rem;color:#546b7c;margin:10px 0}.workflowStatus{display:inline-flex;border-radius:7px;padding:5px 10px;margin:10px 0;font-size:.82rem;font-weight:700;background:#e6edf3;color:#35586e}.workflowStatus.submitted{background:#fff1c8;color:#775008}.workflowStatus.touch_up{background:#fce3dc;color:#973d24}.workflowStatus.reviewed{background:#e0f0e7;color:#246047}.miniProgress{display:flex;gap:12px;align-items:center;margin-bottom:16px;font-size:.85rem}progress{width:100%;height:8px;border:0;border-radius:10px;overflow:hidden;accent-color:#1267a5}progress::-webkit-progress-bar{background:#e5edf3}progress::-webkit-progress-value{background:#1267a5}.miniProgress span{white-space:nowrap}.backButton{background:transparent;border:0;padding-left:0;min-height:44px;text-decoration:underline}.houseHeader{padding:18px 0}.houseHeader h2{font-size:1.9rem;letter-spacing:-.035em;margin:8px 0}.houseHeader .action{display:block;text-align:center;margin-top:10px}.houseInstructions{font-size:1rem;margin-bottom:26px}.houseInstructions details{padding:14px;background:white;border:1px solid var(--line);border-radius:12px}.arrivalPanel{padding:2px 0 10px}.conditionGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.conditionGrid button{font-weight:550}.selected{background:#deedf9!important;border-color:#1267a5!important;color:#074976!important}.checkGroup{border:1px solid var(--line);border-radius:16px;padding:18px;background:white;margin:14px 0}.checkGroup>h3{font-size:1.32rem;color:#123f5b;margin:0 0 12px}.checkRow{display:grid;grid-template-columns:1fr 40px;border-top:1px solid #e9eef2;padding:8px 0;gap:4px}.checkToggle{display:flex;align-items:center;justify-content:flex-start;gap:12px;text-align:left;border:none;padding:8px 0;background:white;color:#203d50;font-weight:500;line-height:1.45}.checkToggle:hover{background:#f5f9fc}.checkToggle:disabled{opacity:1;color:#516773;cursor:default}.checkSquare{display:grid;place-items:center;flex:none;width:29px;height:29px;border:2px solid #94aabe;border-radius:8px;font-size:1.2rem;font-weight:750;background:white}.checkToggle.done .checkSquare{background:#1267a5;border-color:#1267a5;color:white}.checkToggle.na .checkSquare{background:#edf1f3}.checkToggle.issue .checkSquare{background:#ffe8db;color:#ab4319;border-color:#dd9a76}.checkMore{min-width:36px;align-self:center;padding:5px;border:0;background:transparent;font-size:1.4rem}.answerNote{grid-column:1/-1;font-size:.88rem;color:#5b6670;white-space:pre-wrap;overflow-wrap:anywhere}.roomGuide{font-size:.94rem}.roomGuide li,.guideSection li{margin:12px 0;padding-left:3px}.roomGuide ul,.guideSection ul{padding-left:22px}.roomGuide summary{color:#1a6192}.mediaPanel{padding:14px 0 0;margin-top:10px;border-top:1px dashed #cedce7;display:flex;flex-wrap:wrap;gap:8px}.photoPrompt{width:100%;font-size:.9rem;font-weight:650}.mediaPanel button{font-size:.85rem}.textButton{border:0;background:none;text-decoration:underline}.mediaLink{flex:1 1 100%;justify-content:flex-start}.submitPanel{padding:24px 20px;background:#dfeaf3;border-radius:18px;margin:24px 0}.submitPanel p{font-size:.94rem;margin-bottom:16px}.previewNotice{font-size:.9rem;color:#345975;background:#e1edf6;border-radius:10px;padding:12px}.workflowNotice{position:sticky;top:8px;z-index:20;padding:12px 16px;border-radius:10px;background:#dff0e6;color:#1b6042;box-shadow:0 3px 12px #16334f15}.workflowNotice.error{background:#ffeded;color:#8b2834}.supplyRow{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px 0;border-top:1px solid #e7edf3;align-items:center}.supplyRow small{grid-column:1/-1;color:#903d31}.segmented{display:flex;gap:4px}.segmented button{padding:7px 10px;font-size:.88rem;border-radius:8px}.reviewSummary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.reviewSummary>div{padding:14px 12px;background:white;border:1px solid var(--line);border-radius:12px}.reviewSummary strong{display:block;font-size:1.8rem;color:#123f5b}.reviewSummary span{font-size:.8rem}.ratingActions{display:flex;gap:6px;margin-top:16px;flex-wrap:wrap}.ratingActions button{flex:1;font-size:.87rem;padding:8px}.rating{padding:12px;border-radius:8px;margin-top:12px;background:#eef2f5}.rating.good{background:#e1f2e9;color:#285c42}.rating.touch_up{background:#ffebe5;color:#92341b}.correctionReady{padding:12px;background:#e1effb;border-radius:8px;font-size:.9rem}.guideSection{background:white;border:1px solid var(--line);padding:18px;border-radius:14px;margin:14px 0}.workflowDialog,.mediaDialog{border:0;border-radius:20px;padding:24px;width:calc(100% - 24px);max-width:560px;max-height:90dvh;overflow:auto;color:#18384b;box-shadow:0 20px 90px #08273f60}.workflowDialog::backdrop,.mediaDialog::backdrop{background:#102f4590}.workflowDialog textarea{width:100%;padding:12px;border:1px solid #9eb4c5;border-radius:10px;font:inherit;resize:vertical}.mediaDialog img,.mediaDialog video{display:block;max-width:100%;max-height:70dvh;margin:14px auto}.workflowDialog .actions button{flex:1}button:disabled{cursor:default}.workflowRoot[aria-busy=true] button{pointer-events:none}.version{font-size:.8rem}@media(max-width:500px){.employeeHeader{padding:16px}.employeeHeader .eyebrow{max-width:145px;display:block}.employeeHeader strong{font-size:1.25rem}.headerActions button{font-size:.78rem;padding:8px;min-height:40px}#employeeApp{padding:18px 14px calc(100px + env(safe-area-inset-bottom))}.checkGroup{padding:16px 14px}.workHouse{padding:18px}.checkToggle{font-size:1rem}.reviewSummary span{font-size:.76rem}.supplyRow{grid-template-columns:1fr}.segmented{justify-content:flex-start}.supplyEntry{flex-wrap:wrap}#employeeNav{padding-left:4px;padding-right:4px}#employeeNav button{font-size:.8rem;padding:8px 3px}}@media(min-width:750px){.workflowRoot{max-width:680px;margin-left:auto;margin-right:auto}.conditionGrid{grid-template-columns:repeat(4,1fr)}}
.roomAccordion{padding-top:0;padding-bottom:0;border-top:1px solid var(--line)}.roomAccordion>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0;color:#123f5b;font-size:1.25rem;list-style:none}.roomAccordion>summary:after{content:'+';font-size:1.4rem;color:#526879}.roomAccordion[open]>summary:after{content:'−'}.roomAccordion[open]{padding-bottom:18px}.roomAccordion>summary .roomCount{margin-left:auto;font-size:.86rem;color:#526879}.roomAccordion>summary::-webkit-details-marker{display:none}
.pdfPaystub{margin-top:16px}.pdfToolbar{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin:16px 0}.pdfToolbar label{flex:1 1 160px;margin:0;font-size:.85rem}.pdfToolbar .action{font-size:.85rem;padding:8px 12px}.pdfPages{width:100%;overflow:auto;overscroll-behavior:contain;background:#dce4ea;border-radius:8px;padding:2px}.pdfPage{margin:0 0 16px;width:max-content;max-width:none}.pdfPage canvas{display:block;background:#fff;box-shadow:0 1px 7px #172d4320}.pdfPage figcaption{font-size:.8rem;padding:6px 0;text-align:center;position:sticky;left:0;width:min(100%,320px)}.srOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.payCard{padding:18px}@media(max-width:500px){.payCard{padding:12px}.pdfToolbar .action{flex:1}}

/* Mi Día v2.19: one visit, two clear time controls. */
.arrivalActions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:start}.houseHeader .addressButton,.addressButton{display:flex;text-align:left;justify-content:flex-start;white-space:normal;overflow-wrap:anywhere;margin:0;min-height:62px;background:#fff}.mapMarker{font-size:1.6rem;flex:none}.houseHeader .visitTimeButton{min-height:62px}.visitTimeControl .visitTimeButton{width:100%;white-space:normal}.visitTimeButton.complete,.visitTimeButton.complete:disabled{opacity:1;background:#247443;border-color:#247443;color:white}.editTime{min-height:44px;font-size:.9rem;padding:6px 8px}.finishCheck .visitTimeButton{min-height:60px;font-size:1.1rem}.workHouse.isComplete{background:#edf8f0;border-color:#82b992}.workHouse.isComplete .stopNumber{background:#247443}.workflowStatus.complete{background:#dcefe1;color:#215e38}.promisedEta{font-size:1rem;font-weight:650;color:#264f6e}.visitNotes:empty{display:none}.houseHeader{padding:10px 0 2px}.arrivalPanel>.workflowHeading{margin-top:18px}.submitPanel:has(.finishCheck){padding:0;background:none}.workflowNotice{position:fixed;top:auto;bottom:100px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);margin:0;pointer-events:none}.workflowNotice[hidden]{display:none}.previewNotice button{font-size:.9rem}.visitTimeControl .actions{display:grid;grid-template-columns:1fr}.visitTimeControl .checkStatus{font-size:.88rem}.roomAccordion[open]{scroll-margin-top:12px}@media(max-width:370px){.arrivalActions{grid-template-columns:1fr}.houseHeader .addressButton{min-height:48px}}

/* Shared area completion */
.checkRow.itemComplete{background:#edf8f0;border-radius:10px;padding:8px}.checkToggle.done,.checkToggle.na,.checkToggle.done:disabled,.checkToggle.na:disabled{background:transparent;color:#215e38}.checkToggle.done .checkSquare,.checkToggle.na .checkSquare{background:#247443;border-color:#247443;color:#fff}.itemBy{grid-column:1;font-size:.85rem;color:#276641;padding-left:41px}.checkMore{grid-column:2;grid-row:1}.roomAccordion.areaComplete{background:#edf8f0;border-color:#82b992}.roomAccordion.areaComplete>summary,.roomAccordion.areaComplete>summary .roomCount{color:#215e38}.roomAccordion>summary{flex-wrap:wrap;gap:6px 12px}.roomAccordion>summary .roomCount{font-size:.88rem;text-align:right;max-width:65%}.areaComplete .roomCount{font-weight:650}.areaComplete .checkToggle{background:transparent}

/* Owner workspace shares the employee navigation and touch targets. */
#employeeNav.ownerNav{display:flex;flex-direction:column;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));max-height:75dvh;overflow:auto}#employeeNav.ownerNav[hidden]{display:none}#employeeNav.ownerNav .ownerMenuPanel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;max-width:800px;margin:auto}#employeeNav.ownerNav .ownerMenuPanel[hidden]{display:none}#employeeNav.ownerNav .ownerMenuPanel button{max-width:none;min-width:0;min-height:66px;font-size:.85rem;padding:8px 3px}#employeeNav.ownerNav .ownerMenuToggle{flex:none;display:flex;flex-direction:row;justify-content:space-between;gap:12px;min-height:50px;width:100%;max-width:800px;margin:auto;padding:8px 14px;font-size:.95rem;background:#e6f0f8;color:#104f7c}.ownerCurrentSection{margin-left:auto;text-align:right;font-weight:500}.menuChevron{font-size:1.15rem}.ownerPhone #employeeApp{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.ownerPhone .workflowNotice{bottom:calc(84px + env(safe-area-inset-bottom))}.ownerTools{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:18px 0;min-width:0}.ownerTools label{margin:0;min-width:0;max-width:100%}.ownerTools input[type=date]{display:block;min-width:0;max-width:100%;width:100%;min-height:48px;-webkit-appearance:none;appearance:none}.ownerToolActions{display:flex;gap:8px;flex-wrap:wrap;min-width:0}.ownerToolActions button{flex:1;min-width:0;padding:10px 12px}.ownerTools input::-webkit-date-and-time-value{text-align:left;min-width:0}
.ownerRecord{padding:16px;background:white;border:1px solid #d2dfe8;border-radius:14px;margin:12px 0}.ownerRecord>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none}.ownerRecord>summary:after{content:'+';font-size:1.25rem}.ownerRecord[open]>summary:after{content:'−'}.ownerRecord>summary>div{min-width:0;flex:1}.ownerRecord>summary strong,.ownerRecord>summary .muted{display:block;overflow-wrap:anywhere}.ownerRecord .badge{text-transform:capitalize;margin:0;max-width:40%;font-size:.8rem}.ownerRecord .payLines{margin-top:16px}.ownerRecord .payLines dd{white-space:pre-wrap;overflow-wrap:anywhere;max-width:65%;font-weight:500}.ownerTeam{padding:18px;background:white;border:1px solid #d2dfe8;border-left:5px solid var(--team);border-radius:14px;margin:16px 0}.ownerTeam .ownerRecord{background:#f6f9fb}.ownerPayroll{width:100%;border-collapse:collapse;margin-top:16px}.ownerPayroll th{position:sticky;top:0;background:#e5eef5;text-align:left;z-index:2}.ownerPayroll td,.ownerPayroll th{padding:12px 8px;border-bottom:1px solid #d2dfe8}.ownerPayroll td:last-child,.ownerPayroll th:last-child{text-align:right;white-space:nowrap}@media(min-width:780px){#employeeNav.ownerNav .ownerMenuPanel{grid-template-columns:repeat(7,minmax(0,1fr))}.ownerTools{grid-template-columns:minmax(0,1fr) auto;align-items:end}}

.officePin{background:#102f45}.completePin{background:#247443}.routeMapView>.wide{margin:14px 0}.mapStop>div{min-width:0;flex:1}.mapStop .addressButton{margin-top:6px;font-weight:500;font-size:.9rem;width:100%}.routeMapView h2{margin-bottom:12px}
.routeOrder{display:flex;gap:8px;overflow-x:auto;list-style:none;margin:0 0 12px;padding:3px 1px 8px;scrollbar-width:thin}.routeOrder li{flex:none}.routeOrderButton{min-height:44px;white-space:nowrap;font-size:14px;padding:8px 12px}.houseRoutePin{border-radius:13px;display:flex;flex-direction:column;justify-content:center;gap:0;line-height:1.05}.houseRoutePin span{font-size:14px}.houseRoutePin strong{font-size:20px}.routeFit{margin-top:10px;width:100%}.routeOrder .completeStop,.mapStop.completeStop{background:#eef8f0;color:#22673d}.mapStop.completeStop .stopNumber{background:#247443}.routeCompleteLabel{display:block;color:#22673d;font-size:14px;margin-top:4px}

/* Owner inspections: review work directly, with notes and evidence per area. */
.inspectionIntro{padding:10px 0;margin-bottom:18px}.inspectionIntro h2{font-size:1.3rem}.inspectionArea{border-left:4px solid #b4c6d4}.inspectionArea.good{border-color:#77ab8c;background:#f3faf5}.inspectionArea.touch_up{border-color:#d59467;background:#fff8f1}.inspectionChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.inspectionChoice{min-width:0;min-height:56px;white-space:normal;line-height:1.25;padding:10px;font-size:1rem}.inspectionChoice.good[aria-pressed=true]{color:#fff;background:#247443;border-color:#247443}.inspectionChoice.touch_up[aria-pressed=true]{color:#fff;background:#994518;border-color:#994518}.inspectionNote{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 0;margin:0}.inspectionArea .mediaPanel{margin-top:6px}.inspectionArea .photoPrompt{font-weight:500}.inspectionArea .mediaPanel .secondary{width:100%;font-size:1rem}.inspectionArea .textButton{padding-left:0;justify-content:flex-start}.inspectionResult{padding:16px;border-radius:12px;font-weight:650}.inspectionResult.good{color:#215e38;background:#e1f2e9}.inspectionResult.touch_up{color:#873d16;background:#ffebdc}.ownerPhone .houseHeader .arrivalActions{grid-template-columns:minmax(0,1fr)}@media(max-width:340px){.inspectionChoices{grid-template-columns:1fr}#employeeNav.ownerNav .ownerMenuPanel{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Inspection feedback, explicit finish and trip planning. */
.inspectionSaveState{color:#245b40;font-size:.9rem;font-weight:650;margin:8px 0}.inspectionSaveState[hidden]{display:none}.inspectionArea.saving{border-style:dashed}.inspectionFinish{margin:24px 0;padding-top:10px}.endInspection{min-height:60px;font-size:1.1rem}.endInspection.complete:disabled{opacity:1;background:#247443;border-color:#247443;color:#fff}.inspectionTripTeam{margin:22px 0;padding:18px;background:white;border:1px solid #d2dfe8;border-top:5px solid var(--team);border-radius:16px}.inspectionTripTeam>h2{margin:0}.inspectionTripStop{margin:14px 0;padding:16px;border:1px solid #c9dbe8;border-radius:12px;background:#f7fafc}.inspectionTripStop.current{background:#e9f4fc;border-color:#7aaacb}.inspectionTripStop.next{background:#fff;border-color:#b4c8d8}.tripKicker{display:block;font-size:.86rem;color:#1a577f;font-weight:750;margin-bottom:8px}.inspectionTripStop h3{font-size:1.18rem;margin-bottom:6px}.tripAddress{font-size:1rem;overflow-wrap:anywhere}.tripEvidence{font-size:.88rem;color:#486273}.tripActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.tripActions>*{flex:1;min-width:120px}.tripOtherHouses summary{font-size:.96rem}.inspectionTripStop .promisedEta{font-size:.94rem}

/* Directions picker and inspection management. */
.directionsDialog p{overflow-wrap:anywhere}.mapChoices{display:grid;gap:12px;margin:20px 0}.mapChoices a{min-height:56px;font-size:1.05rem}.directionsDialog>button{min-height:48px}.inspectionList{margin:18px 0 30px}.inspectionListGroup{margin:18px 0}.inspectionListGroup>h3{font-size:1rem;color:#486273}.inspectionRecord{padding:16px;border:1px solid #c9dbe8;border-left:5px solid #327bb0;border-radius:12px;margin:12px 0;background:#fff}.inspectionRecord.finished{border-left-color:#247443;background:#f3faf5}.inspectionRecord h3{margin:0 0 6px}.dangerButton{color:#a12626;border-color:#dba6a6;background:#fff;min-height:48px}.teamActivity{font-size:1.1rem;font-weight:750;line-height:1.45;padding:12px;border-radius:10px;background:#e9f4fc;color:#164f78}.teamActivity.working{background:#e7f5eb;color:#21613a}.workHouse>.addressButton{width:100%;margin:12px 0}.inspectionRecord .tripActions{gap:10px}

/* Owner team map: reference-inspired navigation discs in each team's color. */
.ownerLiveMap{height:52dvh;min-height:320px;max-height:620px;border:1px solid #c5d6e3;border-radius:16px;overflow:hidden;margin:10px 0 12px;z-index:0}.teamNavigationMarker{background:none;border:0;filter:drop-shadow(0 2px 4px #16364a70)}.teamNavigationMarker svg{width:48px;height:48px}.teamNavigationMarker.stale{opacity:1}.teamMapList{display:grid;gap:8px;margin-top:16px}.teamMapRow{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:12px;background:white;border:1px solid #d2dfe8;border-radius:12px}.teamMapRow:disabled{opacity:1;color:#586773}.teamMapRow>span:last-child{min-width:0}.teamMapRow strong{display:block;font-size:1rem}.teamMapTime{display:block;font-size:.875rem;font-weight:400;margin-top:4px;line-height:1.4}.teamMapIcon{width:44px;height:44px;flex:none}.teamMapIcon svg{width:100%;height:100%}.teamMapRow.stale .teamMapTime{color:#7d5c28}@media(min-width:780px){#employeeNav.ownerNav .ownerMenuPanel{grid-template-columns:repeat(8,minmax(0,1fr))}.teamMapList{grid-template-columns:1fr 1fr}}
.myLocationMarker{background:#fff;border:3px solid white;border-radius:50%;box-shadow:0 0 0 2px #1475dc,0 2px 6px #16364a66}.myLocationMarker span{display:block;width:100%;height:100%;border-radius:50%;background:#1678ed}.ownerLiveMap~button.action{margin-right:10px;margin-bottom:8px}
/* One fixed-height, horizontally swipeable owner navigation row. */
#employeeNav.ownerNav{position:fixed;inset:auto 0 0;transform:none;display:block;margin:0;width:100%;height:calc(76px + env(safe-area-inset-bottom));max-height:none;overflow:hidden;padding:4px 0 calc(4px + env(safe-area-inset-bottom));z-index:1100;background:#fff}#employeeNav.ownerNav .ownerMenuPanel{display:flex;flex-flow:row nowrap;justify-content:flex-start;width:100%;max-width:none;margin:0;gap:3px;padding:0 8px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x}#employeeNav.ownerNav .ownerMenuPanel::-webkit-scrollbar{display:none}#employeeNav.ownerNav .ownerMenuPanel button{flex:0 0 86px;width:86px;min-width:86px;min-height:64px;max-width:86px;font-size:.82rem;white-space:nowrap;padding:7px 4px;scroll-snap-align:start}.ownerPhone #employeeApp{padding-bottom:calc(106px + env(safe-area-inset-bottom));min-width:0}.tabOrderRow{display:flex;gap:6px;align-items:center;padding:7px 0;border-bottom:1px solid #d2dfe8}.tabOrderRow strong{flex:1}.tabOrderRow button{padding:8px;font-size:.85rem}.tabOrderDialog .actions{flex-wrap:wrap;margin-top:18px}.teamNavigationMarker svg{width:32px;height:32px}.teamMapIcon{width:34px;height:34px}.dayValuesNote{font-size:.85rem;color:#506879}.teamDayMetrics,.visitMetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.teamDayMetrics>div,.visitMetrics>div{min-width:0}.teamDayMetrics span,.visitMetrics span{display:block;color:#526879;font-size:.8rem}.teamDayMetrics strong,.visitMetrics strong{font-size:1rem;overflow-wrap:anywhere}.teamCrew{font-size:.95rem}.teamAssignments{font-size:.9rem;line-height:1.6}.phoneVisitCard{border:1px solid #ccdae4;border-left:4px solid var(--team);border-radius:12px;padding:16px;margin:12px 0;background:#fff}.phoneVisitCard h3{margin:0}.phoneVisitCard .workflowStatus{margin:8px 0 0}.phoneVisitCard.departed{background:#f1f7f3}.phoneVisitCard.working{border-color:#4e91bc;background:#f0f8ff}.phoneVisitCard .note{margin:8px 0;font-size:.9rem}.visitMore{border-top:1px solid #dbe5eb;padding-top:8px}.visitMore summary{font-size:.9rem}.visitMore .addressButton{font-size:.9rem;min-height:46px}.visitDayBoard{overflow:auto;max-height:72dvh;border:1px solid #cbd8e1;border-radius:14px;background:#eaf0f5;overscroll-behavior:contain}.visitLane{display:flex;align-items:stretch;width:max-content;min-width:100%;border-bottom:2px solid #cbd8e1;position:relative}.visitLaneLabel{position:sticky;left:0;z-index:2;width:118px;flex:0 0 118px;padding:12px 9px;background:#fff;border-right:4px solid var(--team);box-shadow:3px 0 6px #1734480c}.visitLaneLabel h2{font-size:1.08rem;margin:0}.visitLaneLabel .teamCrew{font-size:.8rem}.visitLaneLabel .teamActivity{font-size:.83rem;padding:6px;overflow-wrap:anywhere}.visitLaneStops{display:flex;gap:12px;padding:0 12px;align-items:stretch}.visitLaneStops .phoneVisitCard{width:255px;flex:0 0 255px}.visitReturn{width:145px;align-self:center;padding:16px;font-size:.9rem}.visitLaneLabel .muted{font-size:.8rem}@media(min-width:780px){.phoneSchedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.phoneSchedule .ownerTeam{margin:0}.visitLaneLabel{width:170px;flex-basis:170px}}
/* v2.26: compact owner header, collapsible dock and vertical team columns. */
.ownerPhone .employeeHeader{padding:10px 14px;min-height:52px}.ownerPhone .employeeHeader .eyebrow,.ownerPhone .employeeHeader .headerActions{display:none}.ownerPhone .employeeHeader strong{font-size:1.3rem;line-height:1.3}.ownerPhone #employeeApp{padding-top:10px}.ownerTools{display:flex;gap:8px;align-items:center;margin:0 0 12px}.ownerTools .ownerDate{flex:1;min-width:0}.ownerTools input[type=date]{min-height:44px;height:44px;font-size:.9rem;padding:7px 8px}.ownerToolActions{flex:none;display:flex;flex-wrap:nowrap;gap:6px}.ownerToolActions button{min-height:44px;padding:7px 10px;font-size:.85rem;white-space:nowrap}.phoneSchedule>.ownerTeam:first-child{margin-top:0}
#employeeNav.ownerNav{display:flex;flex-direction:row;align-items:center;gap:0;overflow:hidden}#employeeNav.ownerNav .ownerMenuPanel{min-width:0;flex:1;width:auto;padding:0 2px;margin:0}#employeeNav.ownerNav .ownerDockToggle{flex:0 0 32px;min-width:32px;max-width:none;min-height:50px;padding:4px;font-size:1.3rem;border-radius:8px}#employeeNav.ownerNav .ownerSettingsButton{flex:0 0 46px;min-width:46px;max-width:none;font-size:1.6rem;padding:4px;min-height:52px;border-left:1px solid #e2e9ee;border-radius:0}#employeeNav.ownerNav .ownerSettingsButton[hidden],#employeeNav.ownerNav .ownerMenuPanel[hidden]{display:none}#employeeNav.ownerNav.collapsed{inset:auto 12px calc(8px + env(safe-area-inset-bottom)) auto;width:auto;height:44px;padding:0;border:1px solid #cbd8e1;border-radius:12px;box-shadow:0 2px 12px #183b5626}#employeeNav.ownerNav.collapsed .ownerDockToggle{font-size:.9rem;min-width:88px;min-height:44px;padding:6px 12px}.ownerMenuCollapsed #employeeApp{padding-bottom:calc(64px + env(safe-area-inset-bottom))}.ownerSettingsDialog>button{display:flex;width:100%;margin:10px 0}.tabOrderRow{gap:4px}.tabOrderRow strong{font-size:.95rem}.tabOrderRow button{font-size:.8rem;padding:6px}.tabOrderRow .tabDragHandle{touch-action:none;cursor:grab;flex:0 0 34px;min-width:34px;font-size:1.1rem;border:0}.tabOrderRow.dragging{background:#e3f1fc;box-shadow:0 0 0 2px #2980b9;border-radius:8px}.tabOrderRow.dragging .tabDragHandle{cursor:grabbing}
.visitDayBoard{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;overflow-y:visible;max-height:none;padding:0 0 12px;border:0;border-radius:0;background:none;scroll-snap-type:x proximity;overscroll-behavior-x:contain;overscroll-behavior-y:auto}.visitLane{display:block;flex:0 0 min(340px,calc(100vw - 44px));width:min(340px,calc(100vw - 44px));min-width:0;max-width:none;background:#fff;border:1px solid #ccdbe5;border-top:5px solid var(--team);border-radius:14px;scroll-snap-align:start}.visitLaneLabel{position:static;width:auto;padding:12px;box-shadow:none;border:0}.visitLaneLabel h2{font-size:1.2rem}.visitLaneLabel .teamCrew{font-size:.88rem}.visitLaneLabel .teamActivity{font-size:.95rem;padding:10px}.visitLaneStops{display:block;padding:0 10px 10px}.visitLaneStops .phoneVisitCard{width:auto;min-width:0;margin:10px 0;padding:12px}.visitReturn{width:auto;padding:12px;border-top:1px solid #d7e2ea}.dayValuesNote{margin:12px 0;font-size:.82rem}.dayValuesNote summary{font-size:.82rem;font-weight:500}
.teamMapRow{justify-content:flex-start;align-items:flex-start}.teamMapRow>span:last-child{flex:1}.teamMapStatus{display:block;font-size:.92rem;font-weight:650;line-height:1.4;margin-top:4px;color:#174c70}.teamMapDetail{display:block;font-size:.82rem;font-weight:400;line-height:1.45;margin-top:3px}.teamMapRemaining{display:block;font-size:.9rem;font-weight:750;color:#236540;margin-top:5px}.teamMapRemaining.overdue{color:#934512}.teamMapTime{font-size:.75rem}.teamMapIcon{margin-top:3px}.ownerLiveMap{touch-action:none;overscroll-behavior:contain}.ownerLiveMap .leaflet-gl-layer,.ownerLiveMap .maplibregl-canvas-container,.ownerLiveMap .maplibregl-canvas{pointer-events:none!important}.payrollProgress{padding:8px 12px;margin:10px 0;background:#f0f5f8;border-radius:10px;font-size:.9rem}.payrollDone{color:#24643e;font-weight:650}.payrollEmployee{padding:14px 0;border-top:1px solid #d7e2ea}.payrollEmployee>div:first-child{display:flex;justify-content:space-between;gap:12px}.payrollEmployee>div:first-child strong{flex:1;min-width:0}.payrollEmployee p{font-size:.86rem}.payrollEmployee details{margin-top:8px}.ownerRecord:has(.payrollProgress)>summary{align-items:flex-start}@media(max-width:350px){.ownerToolActions button{padding:7px;font-size:.8rem}.ownerTools{gap:4px}.ownerTools input[type=date]{font-size:.8rem}}

.tabOrderRows{display:flex;flex-direction:column}.tabOrderRow{flex:none}

.payrollOverview{display:block;font-size:.8rem;font-weight:500;color:#3f637a;margin-top:5px;line-height:1.45}
/* v2.27: swipe between complete team columns in Schedule and Visits. */
.phoneSchedule{display:flex;gap:12px;align-items:flex-start;overflow-x:auto;overflow-y:visible;scroll-snap-type:x proximity;overscroll-behavior-x:contain;padding-bottom:12px}.phoneSchedule .scheduleTeam{flex:0 0 min(370px,calc(100vw - 44px));width:min(370px,calc(100vw - 44px));min-width:0;margin:0;scroll-snap-align:start;padding:14px}.scheduleCrewPoints{margin:12px 0;border-top:1px solid #d7e2ea}.scheduleCrewPoint{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #d7e2ea}.scheduleCrewPoint>div:first-child{min-width:0;flex:1}.scheduleCrewPoint>div:last-child{text-align:right;flex:none}.scheduleCrewPoint strong{display:block;font-size:1rem}.scheduleCrewPoint small,.scheduleCrewPoint span{display:block;font-size:.77rem;line-height:1.45;color:#506879}.scheduleCrewPoint>div:last-child strong{color:#154f79;font-size:1.15rem}.customerPhoneSection{margin-top:18px}.customerPhoneSection>h3{font-size:1rem;margin:0 0 8px;color:#174e72}.customerPhoneSection .payLines{margin:0}.customerPhoneSection .payLines div{gap:10px}.customerPhoneSection .payLines dt{flex:1;min-width:0}.customerPhoneSection .payLines dd{flex:1;max-width:58%;white-space:normal}.customerPhoneService{background:#f2f7fa;border:1px solid #d7e2ea;border-radius:10px;margin:10px 0;padding:12px}.customerPhoneSection>.addressButton{width:100%;margin:8px 0}.teamMapDialog{padding:12px 18px 20px;max-height:calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:hidden}.mapDetailClose{display:flex;margin-left:auto;min-height:44px;position:relative;flex:none}.teamMapDialogBody{max-height:calc(100dvh - 130px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;padding:8px 2px 14px}.teamMapDialogBody h2{font-size:1.4rem}.teamMapDialogBody p{padding:8px 0;margin:0;border-bottom:1px solid #e0e8ee;overflow-wrap:anywhere;font-size:1rem}
/* v2.28: contact actions have their own rows, never competing flex columns. */
/* Phone Quo: full-width contacts and a bounded, keyboard-friendly conversation. */
.customerQuoButton{width:100%;margin-top:10px;background:#e6f1f8}.quoInbox{display:grid;gap:10px}.quoConversation{display:block;width:100%;text-align:left;padding:14px;min-width:0;white-space:normal}.quoConversationHead{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.quoConversationHead strong{min-width:0;overflow-wrap:anywhere}.quoConversationHead small{font-size:.75rem;white-space:nowrap;font-weight:400}.quoPreview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#526b7c;font-size:.9rem;font-weight:400;margin-top:6px;overflow-wrap:anywhere}.quoDialog{box-sizing:border-box;width:calc(100% - 20px);max-width:600px;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:0;border:1px solid #b9cbd7;border-radius:16px;color:#193e50;overflow:hidden}.quoDialog::backdrop{background:#102c43a6}.quoHeader{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #d2dfe8;background:white}.quoHeader h2{font-size:1.1rem;margin:0;min-width:0;overflow-wrap:anywhere}.quoHeader button{min-height:44px;flex:none;padding:8px 12px}.quoBody{max-height:calc(100dvh - 125px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;padding:14px 16px 22px}.quoRecipient{font-size:.9rem;margin:0 0 10px;overflow-wrap:anywhere}.quoBody h3{font-size:1rem;margin:18px 0 8px}.quoMessages{max-height:35dvh;min-height:100px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px;padding:4px}.quoMessage{max-width:94%;border-radius:12px;padding:10px 12px;background:#eef2f5;align-self:flex-start;font-size:.95rem;overflow-wrap:anywhere}.quoMessage.outgoing{background:#e2f1fb;align-self:flex-end}.quoMessage small{display:block;font-size:.72rem;color:#466078}.quoMessage p{white-space:pre-wrap;margin:6px 0 0}.quoComposer{display:grid;gap:10px;border-top:1px solid #d2dfe8;padding-top:14px}.quoComposer label{margin:0}.quoComposer textarea{resize:vertical;width:100%;min-height:100px;font-size:16px}.quoComposer .muted{margin:0;font-size:.8rem}.quoComposer>button{width:100%}.quoComposer>button[hidden]{display:none}
.ownerContacts{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:16px;width:100%;min-width:0}.ownerContacts .contactAction{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;justify-content:initial;gap:10px;min-width:0;width:100%;max-width:100%;height:auto;min-height:48px;padding:12px;text-align:left;white-space:normal;line-height:1.4}.contactActionLabel{font-size:.88rem;font-weight:700}.contactActionValue{min-width:0;overflow-wrap:anywhere;word-break:normal;font-size:.9rem;font-weight:500}.ownerPhone .employeeHeader{position:sticky;top:0;z-index:1001;padding-top:calc(10px + env(safe-area-inset-top,0px));padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px));padding-bottom:10px;background:#102f45}.ownerPhone .employeeHeader strong{line-height:1.35}.ownerRecord>summary .muted{font-weight:500}

/* Owner phone editing · v2.30 */
.ownerEditActions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.ownerEditButton{background:#164e69;color:#fff;border:1px solid #164e69;min-height:44px;padding:10px 16px;border-radius:11px;font-size:16px;font-weight:700}
.ownerRecord>.ownerEditButton{margin:10px 0}
.ownerEditorDialog{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#eff5f8;overflow:hidden}
.ownerEditorDialog iframe{width:100%;height:100%;border:0;display:block;background:#eff5f8}
.ownerEditorDialog>p,.ownerEditorDialog>button{margin:20px}
body.ownerEditing{overflow:hidden!important}

/* v2.31: compact editing controls beside the date. */
.ownerTools{gap:6px;flex-wrap:nowrap}.ownerTools>.ownerEditButton{flex:none;min-width:48px;padding:8px 10px;font-size:.875rem;white-space:nowrap}.ownerTools .ownerToolActions{gap:6px}.ownerTools .ownerToolActions button{padding:7px 8px;font-size:.875rem}.ownerTools .ownerRefreshButton{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;padding:10px}.ownerRefreshButton svg{width:22px;height:22px}.ownerTools input[type=date]{font-size:.875rem;padding:7px 5px}

/* v2.33: employee workspace uses the same compact header and dock. */
.employeePhone .employeeHeader{position:sticky;top:0;z-index:1001;min-height:52px;padding:calc(10px + env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) 10px max(14px,env(safe-area-inset-left,0px));background:#102f45}.employeePhone .employeeHeader .eyebrow,.employeePhone .employeeHeader .headerActions{display:none}.employeePhone .employeeHeader strong{font-size:1.3rem;line-height:1.35}.employeePhone #employeeApp{padding:10px 14px calc(100px + env(safe-area-inset-bottom))}.employeePhone.ownerMenuCollapsed #employeeApp{padding-bottom:calc(64px + env(safe-area-inset-bottom))}.employeeTools{display:flex;align-items:center;gap:8px;margin:0 0 12px}.employeeTools .employeeDate{flex:1;min-width:0;margin:0}.employeeTools input[type=date]{min-width:0;width:100%;min-height:44px;height:44px;appearance:none;-webkit-appearance:none;font-size:16px;padding:7px 8px}.employeeTools input::-webkit-date-and-time-value{text-align:left}.employeeTools button{flex:none;min-height:44px;padding:7px 12px;font-size:14px}.employeeTools .employeeRefresh{width:44px;padding:10px}.employeeRefresh svg{width:22px;height:22px}.employeeTools>.muted{flex:1;margin:0}.employeePhone #employeeNav.employeeCompactNav .ownerMenuPanel button{flex:1 0 70px;min-width:70px;width:auto;max-width:none;font-size:14px}.employeeShellDialog button{min-height:44px}.employeeShellDialog .tabOrderRow button{font-size:14px}.employeePhone .preview{padding:12px;margin-bottom:12px}

.employeePreviewSettings{border-bottom:1px solid #d2dfe8;padding-bottom:14px;margin-bottom:14px}.employeePreviewSettings select{font-size:16px}.employeePreviewSettings>button{width:100%;margin-top:10px}

.practiceStatus{display:inline-block;padding:4px 10px;margin:0 0 8px;border:1px solid #d5b970;border-radius:8px;background:#fff5d9;color:#725210;font-size:14px;font-weight:650}

.inspectionReadGrid{display:grid;gap:14px}.inspectionReadArea{margin:0;min-width:0;overflow-wrap:anywhere}.inspectionReadArea.good{border-left:4px solid #247443}.inspectionReadArea.touch_up{border-left:4px solid #be7428}.inspectionReadArea .mediaPanel:empty{display:none}.inspectionVerdict{font-weight:700}.inspectionReadView .mediaLink{width:100%;justify-content:flex-start;overflow-wrap:anywhere;text-align:left}@media(min-width:900px){.workflowRoot:has(.inspectionReadView){max-width:1100px}.inspectionReadGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.scheduleEditActions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.scheduleEditActions .ownerEditButton{flex:1;min-width:120px;font-size:14px;padding:10px 12px}.scheduleEditActions .ownerEditButton:last-child{background:#fff;color:#164e69;border-color:#b8c8d5}

/* Full viewport map keeps the existing map and live markers mounted. */
.ownerMapStage{position:relative}.ownerMapStage .ownerLiveMap{margin-top:0}.mapExpandButton{position:absolute;top:12px;right:12px;z-index:1000;background:#fff;color:#164e69;min-height:44px;font-size:14px;box-shadow:0 2px 10px #102f4525}.mapExpandButton[hidden]{display:none}.ownerMapControls{display:flex;gap:8px}.ownerMapControls button{flex:1;min-width:0;font-size:14px;padding:10px 8px}.ownerMapPanel>p{font-size:13px;margin:8px 0;line-height:1.4}.ownerMapPanel>p:empty{display:none}
.ownerMapFullscreen{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#e9f0f4;color:#18384b;overscroll-behavior:none}.ownerMapFullscreen::backdrop{background:#e9f0f4}.ownerMapFullscreen .ownerMapStage{width:100%;height:100%}.ownerMapFullscreen .ownerLiveMap{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;margin:0;border:0;border-radius:0}.ownerMapFullscreen .mapExpandButton{top:calc(12px + env(safe-area-inset-top));right:calc(12px + env(safe-area-inset-right))}.ownerMapFullscreen .leaflet-top{top:env(safe-area-inset-top)}.ownerMapFullscreen .leaflet-left{left:env(safe-area-inset-left)}.ownerMapFullscreen .ownerMapPanel{position:absolute;bottom:calc(30px + env(safe-area-inset-bottom));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));z-index:1000;max-width:520px;margin:0 auto;padding:10px 12px 4px;border:1px solid #d2dfe8;border-radius:16px;background:#fffffff5;box-shadow:0 4px 24px #102f4530}.ownerMapFullscreen .leaflet-bottom{bottom:env(safe-area-inset-bottom)}.ownerMapFullscreen .leaflet-control-attribution{font-size:9px;line-height:1.3;max-width:100%;overflow-wrap:anywhere}

/* Schedule keeps a day-first header and optional compact overview. */
.ownerPhone .employeeHeader>div:has(.ownerScheduleView){display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0}.ownerScheduleView{flex:0 0 auto;width:auto;min-height:42px;max-width:132px;padding:6px 10px;border:1px solid #7894a4;border-radius:10px;background:#fff;color:#173e50;font-size:15px;font-weight:650}.scheduleLayoutSwitch{display:flex;gap:4px;margin:0 0 12px;padding:3px;background:#dfeaf1;width:max-content;border-radius:12px}.scheduleLayoutSwitch button{min-height:40px;padding:7px 18px;font-size:14px;border:0;background:transparent}.scheduleLayoutSwitch button[aria-pressed=true]{background:#fff;color:#164e69;box-shadow:0 1px 4px #102f4520}.phoneSchedule.compactSchedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:8px;align-items:start}.phoneSchedule.compactSchedule .scheduleTeam{width:auto;min-width:0;padding:10px;border-left-width:4px}.compactSchedule .scheduleTeamHeader h2{font-size:1.1rem;margin:0 0 6px}.compactSchedule .scheduleTeamHeader .teamActivity{font-size:11px;padding:5px;margin:0 0 5px;line-height:1.3}.compactSchedule .scheduleTeam:not(.compactExpanded) :is(.scheduleEditActions,.phoneVisitCard,.scheduleTeam>.note,.scheduleTeam>.muted){display:none}.compactTeamSummary{font-size:12px;line-height:1.35}.compactCrew{margin:4px 0 8px;color:#526879;font-size:11px}.compactVisit{display:flex;gap:5px;align-items:flex-start;padding:6px 0;border-top:1px solid #e0e8ee}.compactVisit>span{flex:1;min-width:0;overflow-wrap:anywhere}.compactVisit>strong{flex:none;font-size:10px;white-space:nowrap;color:#164e69}.compactTeamToggle{padding:5px 0;min-height:34px;font-size:11px;border:0;background:none;text-decoration:underline}.compactSchedule .compactExpanded{grid-column:1/-1}.compactExpanded .compactVisit{display:none}.compactExpanded .compactTeamSummary{order:1}.plannedVisitIntro{margin:8px 0 18px}.plannedVisitIntro p{margin:4px 0;font-size:14px}.plannedVisitGroup h2{font-size:17px;margin:18px 0 8px}.plannedVisitCard{padding:14px;background:#fff;border:1px solid #cfdee5;border-radius:12px;margin-bottom:10px;min-width:0}.plannedVisitHeading{display:flex;align-items:flex-start;gap:10px;justify-content:space-between}.plannedVisitHeading h3{margin:0;font-size:18px}.plannedVisitHeading>strong{font-size:14px;white-space:nowrap}.plannedVisitCard p{font-size:14px;margin:7px 0}.plannedVisitCard .visitMore{margin-top:12px}.compactPlannedVisits .plannedVisitCard{padding:10px;margin-bottom:6px}.compactPlannedVisits .plannedVisitCard>p:not(.scopeLabel){display:none}.compactPlannedVisits h3{font-size:15px}.compactPlannedVisits .visitMore{font-size:12px;margin-top:6px;padding-top:5px}.scheduleCalendarHeading{display:flex;align-items:center;gap:8px;justify-content:space-between;margin:10px 0}.scheduleCalendarHeading strong{font-size:16px;text-align:center}.scheduleCalendarHeading button{min-width:42px;padding:6px}.scheduleMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.calendarWeekday{text-align:center;color:#526879;font-size:11px;padding:6px 0}.scheduleCalendarDay{min-width:0;padding:9px 3px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:flex-start;border-radius:9px;font-size:14px}.scheduleMonthGrid .scheduleCalendarDay{min-height:70px}.calendarCount{font-size:10px;font-weight:500;line-height:1.2}.calendarToday{border:2px solid #164e69;background:#e3f1fa}.scheduleWeekList{display:grid;gap:8px}.scheduleWeekList .scheduleCalendarDay{align-items:stretch;padding:12px;text-align:left;gap:6px}.scheduleWeekList .calendarCount{font-size:12px}.calendarTeams{font-size:13px;color:#164e69}.calendarCustomers{font-size:13px;font-weight:400;line-height:1.5}.scheduleMonthGrid button:hover{background:#e3f1fa}@media(min-width:780px){.phoneSchedule.compactSchedule{grid-template-columns:repeat(3,minmax(0,1fr))}.compactVisit>strong{font-size:12px}.compactCrew{font-size:12px}.scheduleMonthGrid .scheduleCalendarDay{min-height:95px}.calendarCount{font-size:12px}}

.ownerScheduleControls{display:flex;align-items:center;gap:6px;flex:none}.ownerScheduleLayout,.ownerScheduleControls .ownerScheduleView{width:auto;max-width:112px;min-height:42px;padding:6px 8px;border:1px solid #7894a4;border-radius:10px;background:#fff;color:#173e50;font-size:14px;font-weight:650}.ownerPhone .employeeHeader>div:has(.ownerScheduleControls){gap:8px}.ownerPhone .employeeHeader:has(.ownerScheduleControls) strong{min-width:0;font-size:1.2rem}@media(max-width:350px){.ownerScheduleLayout,.ownerScheduleControls .ownerScheduleView{font-size:13px;padding:6px 4px;max-width:96px}.ownerScheduleControls{gap:4px}.ownerPhone .employeeHeader:has(.ownerScheduleControls){padding-left:10px;padding-right:10px}.ownerPhone .employeeHeader:has(.ownerScheduleControls) strong{font-size:1.05rem}}

.mapControlsToggle{display:block;margin:0 auto 5px;padding:4px 14px;min-height:34px;border:0;background:transparent;color:#164e69;font-size:13px;font-weight:650}.mapControlsToggle:before{content:'';display:block;width:32px;height:4px;border-radius:4px;background:#96aebd;margin:0 auto 5px}.mapControlContent[hidden]{display:none}.mapControlContent>p{font-size:13px;margin:8px 0;line-height:1.4}.mapControlContent>p:empty{display:none}.ownerMapFullscreen .ownerMapPanel{bottom:0;left:0;right:0;max-width:none;padding:4px max(12px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-radius:18px 18px 0 0;border-bottom:0}.ownerMapFullscreen .mapControlContent{max-width:520px;margin:auto}.ownerMapFullscreen .leaflet-bottom.leaflet-right{bottom:auto;top:calc(64px + env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));max-width:calc(100% - 80px)}.ownerMapFullscreen .controlsCollapsed{padding-top:5px}.ownerMapFullscreen .controlsCollapsed .mapControlsToggle{margin-bottom:0}

/* Edit toggles targets on the same cards; no dimensions or positioning change. */
.scheduleInlineEditing .scheduleEditTarget{cursor:pointer;outline:1px dashed #4285a3;outline-offset:2px;border-radius:4px}.scheduleInlineEditing .scheduleEditTarget:focus-visible{outline:3px solid #1678bd}.ownerEditorDialog.ownerFocusedEditor{inset:auto 0 0!important;height:88dvh!important;max-width:740px!important;margin:0 auto!important;border-radius:18px 18px 0 0!important;box-shadow:0 -8px 32px #123a5833}.ownerFocusedEditor::backdrop{background:#123a5844}

/* No desktop page is shown inside a Schedule panel. */
.phoneEditorEngine{position:fixed;left:-10000px;top:0;width:390px;height:844px;border:0;pointer-events:none;visibility:hidden}
.nativeScheduleEditor{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:620px;height:88dvh;max-height:88dvh;padding:0;border:0;border-radius:18px 18px 0 0;background:#f2f7f9;color:#183e50;overflow:hidden;display:none;grid-template-rows:auto auto minmax(0,1fr)}.nativeScheduleEditor[open]{display:grid}.nativeScheduleEditor::backdrop{background:#123a5855}.nativeScheduleEditor>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #cbdce5;background:white}.nativeScheduleEditor h2{font-size:18px;margin:0}.nativeScheduleEditor button{font:inherit;font-weight:700;color:#174e67;background:white;min-height:44px;border:1px solid #b6cbd7;border-radius:9px;padding:9px 13px;white-space:normal}.nativeScheduleEditor button.primary{background:#174e67;color:white}.nativeEditStatus{font-size:13px;line-height:1.4;padding:8px 14px;margin:0;background:#e7f1f5}.nativeEditContent{overflow:auto;overscroll-behavior:contain;padding:16px 16px calc(24px + env(safe-area-inset-bottom));font-size:16px}.nativeEditContent *{box-sizing:border-box;max-width:100%;min-width:0}.nativeEditContent input:not([type=checkbox]):not([type=radio]),.nativeEditContent select,.nativeEditContent textarea{display:block;width:100%;min-height:46px;font:inherit;color:#183e50;background:white;border:1px solid #a9c1ce;border-radius:8px;padding:10px;margin:5px 0 10px}.nativeEditContent input[type=checkbox],.nativeEditContent input[type=radio]{width:24px;height:24px;margin:8px;vertical-align:middle}.nativeEditContent button{margin:4px 5px 4px 0}.nativeEditContent label,.nativeFieldLabel{display:block;font-size:14px;font-weight:700;margin-top:10px}.nativeEditContent small{display:block;line-height:1.4;font-size:13px;color:#526c7a}.nativeEditContent fieldset,.nativeEditField{padding:12px;border:1px solid #cddde5;border-radius:10px;margin:12px 0;background:white}.nativeEditContent legend{font-weight:750}.nativeEditContent summary{padding:12px 0;font-weight:700;cursor:pointer}.nativeEditContent p{line-height:1.4}.nativeEditContent input[readonly]{background:#edf3f6}.nativeEditContent a{color:#174e67}.nativeEditContent [role=alert],.nativeEditStatus.error{color:#a22727}.nativeEditContent button:disabled{opacity:.55}

.roadMapLoading{position:absolute;z-index:450;top:50%;left:50%;transform:translate(-50%,-50%);max-width:80%;padding:10px 14px;border-radius:10px;background:#ffffffed;box-shadow:0 2px 12px #123a5822;color:#234c60;font-size:14px;text-align:center;pointer-events:none}

.weekDayCard{background:white;border:1px solid #cbdce5;border-radius:14px;overflow:hidden;margin-bottom:4px}.weekDayCard.weekToday{border-color:#1d6884;box-shadow:inset 4px 0 #1d6884}.weekDayHeading{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;border-radius:0;background:#f3f8fb;padding:14px 16px;min-height:58px}.weekDayHeading strong{flex:1;font-size:16px;line-height:1.4}.weekCount{font-size:12px;font-weight:650;border-radius:20px;padding:5px 9px;background:#e1edf4;white-space:nowrap}.weekDayArrow{font-size:24px}.weekTeamChips{display:flex;gap:6px;flex-wrap:wrap;padding:10px 16px 2px}.weekTeamChips span{font-size:12px;color:#355b6c;padding:4px 8px;border-radius:6px;background:#edf4f7}.weekCustomerList{list-style:none;margin:0;padding:4px 16px}.weekCustomerList li{padding:11px 0;border-bottom:1px solid #e4edf1;font-size:15px;line-height:1.4;overflow-wrap:break-word}.weekCustomerList li:last-child{border-bottom:0}.weekMore{width:100%;min-height:44px;border:0;border-top:1px solid #dfebf0;border-radius:0;background:white;font-size:14px;padding:10px;color:#175873}.weekEmpty{font-size:14px;color:#617784;padding:4px 16px 12px;margin:0}.directoryMore{display:block;width:100%;min-height:46px;margin:12px 0}.directoryMore[hidden]{display:none}.phoneUpdating{font-size:12px;margin:6px 0}

/* Complete day columns and in-place month summaries. */
.scheduleWeekList{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;max-width:100%;padding:0 0 10px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.scheduleWeekList .weekDayCard{flex:0 0 calc(100% - 24px);min-width:0;max-width:420px;scroll-snap-align:start;margin:0}.weekCustomerList li{font-size:1rem;line-height:1.45}.calendarSwipeHint{font-size:14px;color:#536b7c;margin:8px 0 12px}.weekTeamChips span{font-size:14px}.monthDaySummary{grid-column:1/-1;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:7px;width:100%;padding:16px;margin:5px 0 9px;border:2px solid #1d6884;background:white;border-radius:12px;min-width:0;white-space:normal}.monthDaySummary>strong{font-size:18px}.monthSummaryCount,.monthSummaryTeams{font-size:14px;font-weight:500;color:#355b6c}.monthSummaryCustomers{display:flex;flex-direction:column;gap:5px;font-size:16px;font-weight:500;overflow-wrap:anywhere}.monthSummaryOpen{font-size:15px;color:#145e91;font-weight:750;padding-top:8px;border-top:1px solid #d8e5ec}.scheduleMonthGrid .scheduleCalendarDay[aria-expanded=true]{background:#164e69;color:white;border-color:#164e69}.scheduleMonthGrid .monthDaySummary:hover{background:#f4f9fc}
.ownerPhone .employeeHeader>div:has(.ownerScheduleBack){display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:6px;width:100%;min-width:0}.ownerPhone .employeeHeader .ownerScheduleBack{width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;border:0;border-radius:10px;background:#ffffff10;color:white}.ownerScheduleBack svg{width:22px;height:22px}.ownerScheduleBack:disabled{opacity:.35}.ownerPhone .employeeHeader:has(.ownerScheduleBack) strong{font-size:1.1rem;overflow-wrap:anywhere}.ownerPhone .employeeHeader:has(.ownerScheduleBack) .ownerScheduleControls{gap:4px}.ownerPhone .employeeHeader:has(.ownerScheduleBack) select{padding:6px;max-width:102px}@media(max-width:360px){.ownerPhone .employeeHeader:has(.ownerScheduleBack) strong{font-size:1rem}.ownerPhone .employeeHeader:has(.ownerScheduleBack) select{font-size:13px;max-width:88px;padding:6px 3px}}

.quickScheduleMenu{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:480px;max-height:80dvh;padding:20px 18px calc(18px + env(safe-area-inset-bottom));border:0;border-radius:18px 18px 0 0;background:white;color:#183e50}.quickScheduleMenu::backdrop{background:#123a5855}.quickScheduleMenu h2{font-size:20px;margin:0 0 18px}.quickScheduleMenu button{display:flex;width:100%;min-height:50px;text-align:left;justify-content:flex-start;margin:8px 0;font-size:16px}.quickScheduleMenu .textButton{justify-content:center}.nativeScheduleEditor.quickNativeEditor{height:auto;max-height:86dvh}.quickNativeEditor .nativeEditContent{max-height:calc(86dvh - 125px)}.quickNativeEditor .nativeEditStatus{font-size:14px}.scheduleEmployeeName{display:inline-flex;align-items:center;min-height:44px;border-radius:5px}.quickNativeEditor .nativeEditContent details{background:white;border:1px solid #cddde5;border-radius:10px;padding:0 12px}.quickNativeEditor .nativeEditContent details>summary{font-size:16px}

/* v2.48: calendar month with compact customer labels. */
.monthCalendarHeading{padding:12px 0 14px;margin:0;background:white;gap:10px}.monthCalendarHeading strong{flex:1;text-align:left;font-size:28px;line-height:1.15;color:#173e50;letter-spacing:-.5px}.monthCalendarHeading button{border:0;background:#eef4f7;border-radius:50%;width:40px;min-width:40px;height:40px;padding:0;font-size:27px}.scheduleMonthGrid{gap:0;background:#fff;border-radius:0;overflow:hidden}.scheduleMonthGrid .calendarWeekday{font-size:11px;font-weight:700;padding:8px 0;border-bottom:1px solid #dbe3e7;color:#6a7881}.scheduleMonthGrid .calendarBlank{border-bottom:1px solid #dbe3e7;min-height:122px}.scheduleMonthGrid .scheduleCalendarDay{min-height:122px;border:0;border-bottom:1px solid #dbe3e7;border-radius:0;background:#fff;color:#173e50;gap:3px;padding:8px 2px 10px;overflow:hidden;box-shadow:none}.calendarDateNumber{display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin-bottom:4px;border-radius:50%;font-size:21px;line-height:1;font-weight:750;flex:none}.scheduleMonthGrid .calendarToday .calendarDateNumber{background:#e94b57;color:#fff}.calendarEventList{display:flex;flex-direction:column;gap:3px;width:100%;min-width:0}.calendarEvent{display:block;background:var(--event-color,#d7eafa);color:#24485c;border-radius:4px;font-size:10px;font-weight:650;line-height:17px;min-height:17px;padding:0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;width:100%;box-sizing:border-box}.calendarMore{font-size:11px;color:#6a7881;line-height:17px;font-weight:500}.scheduleMonthGrid .scheduleCalendarDay[aria-expanded=true]{background:#edf5fa;color:#173e50;border-color:#dbe3e7}.scheduleMonthGrid .scheduleCalendarDay[aria-expanded=true]:not(.calendarToday) .calendarDateNumber{background:#164e69;color:white}.scheduleMonthGrid .monthDaySummary{width:calc(100% - 12px);margin:8px 6px 12px}.scheduleMonthGrid .scheduleCalendarDay:focus-visible{outline:2px solid #164e69;outline-offset:-2px}.scheduleMonthGrid .scheduleCalendarDay:hover{background:#f0f6fa}@media(min-width:600px){.calendarEvent{font-size:12px;line-height:21px}.scheduleMonthGrid .scheduleCalendarDay,.scheduleMonthGrid .calendarBlank{min-height:146px}.calendarDateNumber{font-size:24px}}

/* v2.49 month summary expansion and dismissal. */
.monthSummaryHeading{display:flex;align-items:center;justify-content:space-between;gap:12px}.monthSummaryHeading strong{font-size:18px}.monthSummaryClose{min-height:44px;padding:8px 12px;flex:none;font-size:14px}.monthSummaryCustomers{border:0;background:transparent;padding:0;text-align:left;min-height:44px;border-radius:0;color:inherit;white-space:normal}.monthSummaryCustomers span{padding:5px 0;overflow-wrap:anywhere}.monthSummaryMore{font-size:15px;min-height:44px;padding:8px 12px;align-self:flex-start}.monthSummaryOpen{background:transparent;border:0;border-top:1px solid #d8e5ec;border-radius:0;text-align:left;min-height:44px;padding:10px 0}.scheduleMonthGrid .monthDaySummary:hover{background:white}

/* v2.50: scheduled week days use saved team assignments. */
.weekAssignedTeam{border-left:4px solid var(--team);margin:12px;border-radius:8px;background:#f6f9fb;padding:12px;min-width:0}.weekTeamHeading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.weekTeamHeading h3{font-size:19px;margin:0;color:#173e50}.weekTeamHeading>span{font-size:12px;color:#536b7c;white-space:nowrap}.weekTeamCrew{font-size:14px;line-height:1.4;color:#536b7c;margin:6px 0 10px;overflow-wrap:anywhere}.weekTeamHouses{list-style:none;margin:0;padding:0}.weekTeamHouses li{display:flex;gap:8px;padding:10px 0;border-top:1px solid #dce7ed;line-height:1.4;font-size:16px;overflow-wrap:anywhere}.weekHouseNumber{color:#526b7b;min-width:20px;flex:none}.weekAssignedTeam .weekEmpty{padding:8px 0 0}

/* v2.51: compact week retains every crew member and house, with less spacing. */
.scheduleWeekList.compactWeek{gap:8px}.scheduleWeekList.compactWeek .weekDayCard{flex-basis:76%;min-width:min(240px,100%);max-width:310px}.compactWeek .weekDayHeading{padding:9px 10px;gap:6px;min-height:48px}.compactWeek .weekDayHeading strong{font-size:14px}.compactWeek .weekCount{font-size:11px;padding:4px 6px}.compactWeek .weekDayArrow{font-size:19px}.compactWeek .weekAssignedTeam{margin:7px;padding:8px;border-left-width:3px}.compactWeek .weekTeamHeading h3{font-size:16px}.compactWeek .weekTeamHeading>span{font-size:11px}.compactWeek .weekTeamCrew{font-size:12px;line-height:1.35;margin:4px 0 6px}.compactWeek .weekTeamHouses li{font-size:13px;line-height:1.35;padding:5px 0;gap:5px}.compactWeek .weekHouseNumber{min-width:17px}.compactWeek .weekCustomerList{padding:3px 10px}.compactWeek .weekCustomerList li{font-size:13px;line-height:1.35;padding:6px 0}.compactWeek .weekTeamChips{padding:6px 10px 2px;gap:4px}.compactWeek .weekTeamChips span{font-size:11px;padding:3px 5px}.compactWeek .weekEmpty{font-size:12px}

/* v2.52: expanded month houses and totals, plus compact month. */
.monthSummaryColumns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;align-items:start}.monthSummaryHouses{min-width:0;text-align:left}.monthSummaryLabel{display:block;font-size:13px;color:#536b7c;margin:0 0 6px}.monthSummaryHouses .monthSummaryCustomers{display:flex;align-items:stretch;justify-content:flex-start;width:100%;text-align:left;font-size:15px;font-weight:550;gap:0}.monthSummaryCustomers span{display:block;text-align:left;width:100%;padding:7px 0;border-bottom:1px solid #e3ebef}.monthSummaryHouses .monthSummaryMore{font-size:13px;width:100%;margin-top:8px;padding:8px 5px;white-space:normal}.monthSummaryStats{border-left:1px solid #dbe5eb;padding-left:12px;min-width:0;display:flex;flex-direction:column;gap:10px;text-align:left}.monthSummaryStat{display:flex;flex-direction:column;gap:3px}.monthSummaryStat>span{font-size:12px;color:#536b7c}.monthSummaryStat>strong{font-size:21px;line-height:1.2;color:#164e69}.monthPointsNote{font-size:11px;color:#536b7c;line-height:1.4;margin-top:-6px}.monthSummaryTeamDetail{display:flex;flex-direction:column;gap:3px;font-size:12px;padding-top:8px;border-top:1px solid #dbe5eb;overflow-wrap:anywhere}.monthSummaryTeamDetail>span{color:#536b7c}.scheduleMonthGrid.compactMonth .scheduleCalendarDay,.scheduleMonthGrid.compactMonth .calendarBlank{min-height:92px}.scheduleMonthGrid.compactMonth .scheduleCalendarDay{padding:4px 2px 6px;gap:2px}.compactMonth .calendarDateNumber{font-size:17px;width:27px;height:27px;margin-bottom:2px}.compactMonth .calendarEventList{gap:2px}.compactMonth .calendarEvent{font-size:9px;line-height:13px;min-height:13px;padding:0 2px}.compactMonth .calendarMore{font-size:10px;line-height:13px}.compactMonth .calendarWeekday{padding:5px 0}.compactMonth .monthDaySummary{padding:12px}.compactMonth .monthSummaryCustomers span{padding:5px 0}.compactMonth .monthSummaryStats{gap:8px}.compactMonth .monthSummaryStat>strong{font-size:19px}

/* Owner revenue / labor reports. */
.reportsIntro{font-size:14px;margin:0 0 12px}.reportsControls{display:grid;grid-template-columns:1fr 1.3fr;gap:10px;align-items:end}.reportsControls label{display:flex;flex-direction:column;gap:5px;font-size:13px;color:#526b7b;min-width:0}.reportsControls input,.reportsControls select{width:100%;min-width:0;font-size:16px;min-height:44px}.reportsRange{font-size:19px;margin:18px 0 12px}.reportTotals{display:grid;grid-template-columns:1fr 1fr;gap:10px}.reportTotals>div{display:flex;flex-direction:column;gap:6px;padding:14px;background:white;border:1px solid #d8e3e9;border-radius:12px;min-width:0}.reportTotals span,.reportAmounts span{font-size:13px;color:#536b7c}.reportTotals strong{font-size:23px;overflow-wrap:anywhere}.reportTotals small{font-size:11px;line-height:1.3;color:#536b7c}.reportMethod{font-size:13px;margin:14px 0;line-height:1.5}.reportMethod summary{font-weight:650;padding:10px 0}.reportFilters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0 12px}.reportFilters>input{grid-column:1/-1;min-width:0}.reportFilters select{min-width:0;font-size:13px}.reportFilters label{display:flex;align-items:center;gap:6px;font-size:14px}.reportFilters input[type=checkbox]{width:20px;height:20px;min-height:20px}.reportCustomer{background:white;border:1px solid #d0dfe6;border-radius:12px;padding:14px;margin-bottom:10px}.reportCustomer>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer}.reportCustomer>summary>div{display:flex;flex-direction:column;gap:5px;min-width:0}.reportCustomer>summary strong{font-size:17px}.reportCustomer small{font-size:12px;color:#536b7c}.reportPercent{font-size:21px;font-weight:750;white-space:nowrap}.reportPercent.good{color:#276b46}.reportCustomer .high,.reportPercent.high{color:#a44a20}.reportFlag{font-size:13px;margin:10px 0}.reportAmounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0}.reportAmounts>div{display:flex;flex-direction:column;gap:5px}.reportAmounts strong{font-size:15px;overflow-wrap:anywhere}.reportTarget{font-size:13px;line-height:1.5;margin:8px 0}.reportVisitList article{display:flex;flex-direction:column;gap:5px;border-top:1px solid #dce7ed;padding:12px 0;font-size:14px}.reportDaily{margin:14px 0;background:white;border:1px solid #d8e3e9;border-radius:10px;padding:12px}.reportDaily summary{font-weight:650;min-height:24px}.reportDaily>div{display:flex;flex-direction:column;gap:5px;margin-top:10px;font-size:14px}.reportDaily p{font-size:13px}@media(min-width:750px){.reportsControls{grid-template-columns:repeat(4,minmax(0,1fr))}.reportTotals{grid-template-columns:repeat(4,minmax(0,1fr))}.reportCustomerList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}}

.weekTeamHouses li,.weekCustomerList li{align-items:center}.weekMoveHandle,.weekDeleteVisit{flex:none;padding:6px!important;min-width:32px;font-size:18px!important}.weekMoveHandle{touch-action:none;cursor:grab;margin-left:auto}.weekDeleteVisit{color:#9f4127}.calendarDropTarget{outline:3px solid #167cad;outline-offset:-3px}.weekTeamHouses li>span:nth-child(2),.weekCustomerList li>span{min-width:0;overflow-wrap:anywhere}

/* v2.54: desktop frequency palette, separate from team accents. */
[data-frequency=weekly]{--freq-accent:#276749;--freq-bg:#e5f4eb;--freq-text:#215a3f}
[data-frequency=biweekly]{--freq-accent:#315c9b;--freq-bg:#e8f0fb;--freq-text:#294f86}
[data-frequency="3week"]{--freq-accent:#6c4d9c;--freq-bg:#f0eafb;--freq-text:#5c4087}
[data-frequency=monthly]{--freq-accent:#9a6b1e;--freq-bg:#fff3d8;--freq-text:#785315}
[data-frequency="5week"]{--freq-accent:#9b4b63;--freq-bg:#fae9ef;--freq-text:#7d3b50}
[data-frequency="8week"]{--freq-accent:#3e7680;--freq-bg:#e7f3f5;--freq-text:#32616a}
[data-frequency=other]{--freq-accent:#727d84;--freq-bg:#f0f2f3;--freq-text:#59636a}
.calendarEvent[data-frequency],.weekTeamHouses [data-frequency],.weekCustomerList [data-frequency],.monthSummaryCustomers [data-frequency],.calendarFrequencyKey [data-frequency]{background:var(--freq-bg);color:var(--freq-text);border-left:3px solid var(--freq-accent);border-radius:4px}
.weekTeamHouses [data-frequency]{flex:1;min-width:0;padding:2px 7px}
.weekCustomerList [data-frequency]{display:block;padding:2px 7px}
.monthSummaryCustomers [data-frequency],.compactMonth .monthSummaryCustomers [data-frequency]{padding-left:7px;padding-right:5px;margin:2px 0}
.calendarFrequencyKey{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;width:54px;flex:0 0 54px;font-size:12px;font-weight:750;line-height:16px}
.calendarFrequencyKey [data-frequency]{border-left-width:2px;padding:0 2px;text-align:center;white-space:nowrap}
.ownerScheduleControls:has(.calendarFrequencyKey){gap:4px}
.ownerPhone .employeeHeader:has(.calendarFrequencyKey) .ownerScheduleLayout{width:82px;font-size:13px;padding:6px 3px}
.ownerPhone .employeeHeader:has(.calendarFrequencyKey) .ownerScheduleView{width:72px;font-size:13px;padding:6px 3px}
.ownerPhone .employeeHeader:has(.calendarFrequencyKey) strong{font-size:1rem;line-height:1.1}
@media(max-width:380px){
 .ownerPhone .employeeHeader:has(.calendarFrequencyKey){padding-left:max(10px,env(safe-area-inset-left,0px));padding-right:max(10px,env(safe-area-inset-right,0px))}
 .ownerPhone .employeeHeader>div:has(.calendarFrequencyKey){gap:4px}
 .ownerPhone .employeeHeader:has(.calendarFrequencyKey) .ownerScheduleControls{gap:3px}
 .ownerPhone .employeeHeader:has(.calendarFrequencyKey) .ownerScheduleLayout{width:77px}
 .ownerPhone .employeeHeader:has(.calendarFrequencyKey) .ownerScheduleView{width:67px}
 .calendarFrequencyKey{width:50px;flex-basis:50px}
}

/* v2.55: distinct reading and scanning densities, with complete Week house lists. */
.scheduleWeekList:not(.compactWeek){gap:10px}
.scheduleWeekList:not(.compactWeek) .weekDayHeading{padding:10px 12px;min-height:52px;gap:8px}
.scheduleWeekList:not(.compactWeek) .weekDayHeading strong{font-size:16px;line-height:1.35}
.scheduleWeekList:not(.compactWeek) .weekAssignedTeam{margin:9px;padding:10px}
.scheduleWeekList:not(.compactWeek) .weekTeamCrew{font-size:14px;line-height:1.4;margin:5px 0}
.scheduleWeekList:not(.compactWeek) .weekTeamHouses li{padding:6px 0;gap:6px;line-height:1.35}
.scheduleWeekList:not(.compactWeek) .weekCustomerList{padding:4px 12px}
.scheduleWeekList:not(.compactWeek) .weekCustomerList li{padding:6px 0}
.scheduleWeekList:not(.compactWeek) [data-frequency]{padding:2px 6px}
.weekDayPoints{font-size:14px;font-weight:650;color:#355b6c;margin:6px 12px}
.weekTeamPoints{font-size:14px;color:#536b7c;margin:4px 0 6px}
.scheduleWeekList.compactWeek{gap:6px}
.scheduleWeekList.compactWeek .weekDayCard{flex-basis:70%;min-width:min(220px,100%);max-width:280px;border-radius:9px}
.compactWeek .weekDayHeading{padding:7px 8px;min-height:44px;gap:4px}
.compactWeek .weekDayHeading strong{font-size:14px;line-height:1.25}
.compactWeek .weekCount{font-size:12px;padding:2px 4px}
.compactWeek .weekAssignedTeam{margin:5px;padding:6px}
.compactWeek .weekTeamHeading h3{font-size:15px;line-height:1.3}
.compactWeek .weekTeamCrew,.compactWeek .weekDayPoints,.compactWeek .weekTeamPoints,.compactWeek .weekTeamHeading>span{display:none}
.compactWeek .weekTeamHouses li{font-size:14px;line-height:1.3;padding:3px 0;gap:4px}
.compactWeek .weekCustomerList{padding:2px 8px}
.compactWeek .weekCustomerList li{font-size:14px;line-height:1.3;padding:3px 0}
.compactWeek .weekTeamHouses [data-frequency],.compactWeek .weekCustomerList [data-frequency]{padding:1px 5px}
.scheduleMonthGrid:not(.compactMonth) .scheduleCalendarDay,.scheduleMonthGrid:not(.compactMonth) .calendarBlank{min-height:126px}
.scheduleMonthGrid:not(.compactMonth) .scheduleCalendarDay{padding:6px 2px;gap:3px}
.scheduleMonthGrid:not(.compactMonth) .calendarDateNumber{width:30px;height:30px;font-size:20px;margin-bottom:2px}
.scheduleMonthGrid:not(.compactMonth) .calendarEventList{gap:3px}
.scheduleMonthGrid:not(.compactMonth) .calendarEvent{font-size:12px;line-height:18px;min-height:18px}
.scheduleMonthGrid:not(.compactMonth) .monthDaySummary{padding:12px;gap:8px}
.scheduleMonthGrid:not(.compactMonth) .monthSummaryCustomers{font-size:16px}
.scheduleMonthGrid:not(.compactMonth) .monthSummaryCustomers span{padding-top:5px;padding-bottom:5px}
.scheduleMonthGrid:not(.compactMonth) .monthSummaryStats{gap:8px}
.scheduleMonthGrid.compactMonth .scheduleCalendarDay,.scheduleMonthGrid.compactMonth .calendarBlank{min-height:88px}
.scheduleMonthGrid.compactMonth .scheduleCalendarDay{padding:4px 2px;gap:2px}
.compactMonth .calendarDateNumber{width:24px;height:24px;font-size:16px;margin-bottom:1px}
.compactMonth .calendarEventList{gap:2px}
.compactMonth .calendarEvent{font-size:12px;line-height:16px;min-height:16px}
.compactMonth .calendarEvent:nth-child(n+3){display:none}
.compactMonth .calendarMore{font-size:12px;line-height:14px}
.calendarMore[hidden]{display:none}
.compactMonth .monthDaySummary{padding:10px;gap:5px}
.compactMonth .monthSummaryColumns{gap:8px;grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.compactMonth .monthSummaryCustomers{font-size:14px}
.compactMonth .monthSummaryCustomers span{padding-top:3px;padding-bottom:3px;margin:1px 0}
.compactMonth .monthSummaryTeamDetail,.compactMonth .monthSummaryStat~.monthSummaryStat{display:none}
.compactMonth .monthSummaryStats{padding-left:8px;gap:8px}
.compactMonth .monthSummaryStat>strong{font-size:18px}

/* v2.58: inline calendar actions, sized independently of full-width form buttons. */
.weekTeamHouses li,.weekCustomerList li.calendarEditableRow,.monthCustomerRow{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0}
.weekCustomerList li.calendarEditableRow>[data-frequency]{flex:1;min-width:0;width:auto}
.calendarEditableRow>.weekMoveHandle,.calendarEditableRow>.weekDeleteVisit{display:inline-flex;flex:0 0 32px;width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;max-height:32px;box-sizing:border-box;padding:0!important;margin:0;gap:0;border-radius:6px;font-size:18px!important;line-height:1;align-items:center;justify-content:center}
.calendarEditableRow>.weekMoveHandle{margin-left:0}
.monthCustomerRow{width:100%;padding:3px 0;border-bottom:1px solid #e3ebef}
.monthCustomerRow>.monthCustomerName{display:flex;flex:1;min-width:0;width:auto;min-height:32px;height:auto;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;text-align:left;justify-content:stretch;font:inherit;white-space:normal}
.monthCustomerName>[data-frequency]{min-width:0;overflow-wrap:anywhere}
.scheduleMonthGrid .monthCustomerName>[data-frequency]{margin:0;padding:3px 5px;border-bottom:0}
.monthCustomerRow>.weekMoveHandle{touch-action:manipulation;cursor:pointer}
.compactMonth .monthCustomerRow{padding:2px 0}

/* Phone v2.59: map layers and compact map controls. */
.mapViewRow{display:flex;gap:8px;margin-bottom:6px}.mapViewRow button{flex:1;min-width:0;font-size:14px;padding:8px;min-height:42px}.mapViewToggle{background:#e7f1f8;border-color:#87abc3}.mapViewStatus{color:#405f75}.mapControlContent>p{font-size:12px;margin:6px 0}.mapHouseCount[hidden]{display:none}.ownerHousePin{background:transparent;border:0;position:relative}.housePinFace{position:absolute;left:4px;top:4px;width:34px;height:34px;border:3px solid white;border-radius:50% 50% 50% 4px;transform:rotate(-45deg);box-shadow:0 2px 7px #16384b70;color:white}.housePinFace>span{display:flex;width:100%;height:100%;align-items:center;justify-content:center;transform:rotate(45deg);font-size:13px;font-weight:800;white-space:nowrap}.houseInspectionBadge{position:absolute;right:-2px;top:-2px;min-width:21px;height:21px;display:grid;place-items:center;border:2px solid white;border-radius:50%;background:#64798a;color:white;font-size:13px;font-weight:800;box-shadow:0 1px 5px #173f6040}.houseInspectionBadge.started{background:#9b6600}.houseInspectionBadge.finished{background:#207446}.houseInspectionBadge.needsWork{background:#b62e35}.teamMapDialogBody>.action{margin-top:10px;width:100%}.mapHouseListRow{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;margin:8px 0;gap:3px}.mapHouseListRow strong,.mapHouseListRow span{overflow-wrap:anywhere}.mapHouseCheckDialog{width:min(700px,calc(100vw - 16px));max-width:none;max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:12px;overflow-y:auto;overscroll-behavior:contain}.mapHouseCheckDialog>.mapDetailClose{position:sticky;top:0;z-index:2;background:white;box-shadow:0 1px 6px #173f6020}.ownerMapFullscreen .ownerMapPanel{max-height:48dvh;overflow-y:auto}.leaflet-popup-content{overflow-wrap:anywhere;max-height:50dvh;overflow-y:auto}

/* Phone v2.60: direct map view selection. */
.mapViewRow{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;padding:3px;border:1px solid #bccfdd;border-radius:12px;background:#edf3f7}.mapViewRow .mapViewButton{min-height:42px;padding:7px 4px;border:0;border-radius:8px;background:transparent;color:#36556b;white-space:normal;font-size:14px;line-height:1.25}.mapViewRow .mapViewButton[aria-pressed="true"]{background:#145e91;color:white;box-shadow:0 1px 4px #173f6020}.mapMissingPins{width:100%;min-height:36px;padding:6px;font-size:13px;margin-bottom:6px;color:#805110;background:#fff7e8;border-color:#dac79f}.mapMissingPins[hidden]{display:none}

/* Phone v2.61: House Check is a live team meetup view. */
.meetupBoard{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;margin:9px -3px 2px;padding:2px 3px 7px;align-items:stretch}.meetupBoard[hidden],.teamMapList[hidden]{display:none}.meetupCard{flex:0 0 min(300px,calc(100vw - 56px));min-width:0;scroll-snap-align:start;padding:11px;background:#f7f9fb;border:1px solid #d5e0e8;border-radius:12px}.meetupCard.atHouse{background:#f0faf4;border:2px solid #2f8055;padding:10px}.meetupTeam{display:inline-block;font-size:16px;margin:0 10px 4px 0}.meetupPresence{display:inline-block;font-size:14px;font-weight:750;color:#536571;margin:0 0 5px;line-height:1.25}.meetupPresence.atHouse{color:#146239;background:#d7f0df;border-radius:6px;padding:3px 8px}.meetupPresence.travel{color:#1d6091}.meetupPresence.unconfirmed{color:#895c15}.meetupCustomer{font-size:16px;margin:2px 0 7px;line-height:1.3;overflow-wrap:anywhere}.meetupMetrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:7px 0;border-top:1px solid #c7ddce;border-bottom:1px solid #c7ddce;margin:5px 0}.meetupMetrics span{display:block;font-size:13px;color:#496856}.meetupMetrics strong{display:block;font-size:18px;line-height:1.3;color:#175936}.meetupNext{font-size:14px;line-height:1.35;overflow-wrap:anywhere;margin:7px 0 4px}.meetupEstimate,.meetupGps{font-size:12px;line-height:1.3;color:#536b64;margin:4px 0}.meetupActions{display:flex;gap:7px;margin-top:8px}.meetupActions button{flex:1;min-height:38px;font-size:14px;padding:7px 8px}.teamMapDialogBody .meetupPresence{border:0;padding:4px 8px}.teamMapDialogBody .meetupNext{font-size:16px}.teamMapDialogBody .meetupEstimate,.teamMapDialogBody .meetupGps{font-size:13px}.occupiedHousePin,.meetupCarMarker{background:transparent;border:0;position:relative}.occupiedHouseFace{display:block;width:48px;height:44px;color:#17623b;filter:drop-shadow(0 1px 3px #173c3055)}.occupiedHouseFace svg{width:100%;height:100%}.occupiedHouseLabel{position:absolute;left:50%;top:44px;transform:translateX(-50%);min-width:92px;max-width:150px;text-align:center;border-radius:7px;border:2px solid #17623b;box-shadow:0 2px 5px #173c3040;background:white;color:#173a29;line-height:1.15;white-space:nowrap}.occupiedHouseLabel strong{display:block;font-size:12px;padding:3px 6px;background:#17623b;color:white}.occupiedHouseLabel>span{display:block;font-size:14px;font-weight:750;padding:3px 6px;overflow:hidden;text-overflow:ellipsis}.meetupCarFace{display:block;width:40px;height:40px;border:2px solid var(--car);border-radius:8px;background:white;color:var(--car);box-shadow:0 2px 6px #173f6050}.meetupCarFace svg{width:100%;height:100%}.meetupCarName{position:absolute;left:50%;top:41px;transform:translateX(-50%);padding:1px 5px;font-size:14px;font-weight:750;line-height:1.25;background:#fff;border:1px solid #8ca7b9;border-radius:5px;white-space:nowrap}.meetupCarMarker.stale .meetupCarName{color:#895c15}

/* Phone v2.62: consistent team dots, outlined numbered pins and area work-in-progress. */
.housePinFace{border:1.5px solid #000;color:#000}.housePinFace>span{font-weight:850;text-shadow:0 0 2px #ffffff90}.teamNavigationMarker svg{width:32px;height:32px}.occupiedHouseLabel{top:66px;border:1px solid #000}.meetupBoard{align-items:flex-start}.meetupGps{color:#365365}.inspectionChoices{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.inspectionChoice{font-size:14px;padding:8px 5px}.inspectionChoice.in_progress[aria-pressed=true]{background:#205f91;border-color:#205f91;color:white}.inspectionArea.in_progress,.inspectionReadArea.in_progress{border-left:4px solid #367daa;background:#f0f7fc}.inspectionResult.in_progress{color:#205979;background:#e4f1fa}.rating.in_progress{color:#205979}@media(max-width:340px){.inspectionChoices{grid-template-columns:1fr}}

/* Phone v2.64: Fit and location controls follow Leaflet zoom in the top-left stack. */
.ownerLiveMap .ownerMapQuickTools{overflow:hidden;background:#fff}.ownerLiveMap .ownerMapQuickTools button{display:flex;align-items:center;justify-content:center;width:30px;min-width:30px;max-width:30px;height:30px;min-height:30px;max-height:30px;margin:0;padding:0;border:0;border-radius:0;background:#fff;color:#173e55;box-shadow:none;font-size:12px;font-weight:750;line-height:1;touch-action:manipulation}.ownerLiveMap .ownerMapQuickTools button+button{border-top:1px solid #ccc}.ownerLiveMap .ownerMapQuickTools button[aria-pressed=true]{background:#145e91;color:#fff}.ownerLiveMap .ownerMapQuickTools button[aria-busy=true]{background:#e6f1f8;color:#145e91}.ownerMapQuickTools svg{width:18px;height:18px;display:block}.ownerLiveMap .ownerMapQuickTools button:focus-visible{outline:2px solid #145e91;outline-offset:-3px}
.houseDoneBadge{position:absolute;top:-2px;right:-3px;display:grid;place-items:center;width:18px;height:18px;box-sizing:border-box;border:1px solid #172c21;border-radius:50%;background:#fff;color:#17613a;font-size:14px;font-weight:850;line-height:1;box-shadow:0 1px 3px #173f6040}

/* Phone v2.65: smaller vehicle dots centered in the existing tap area. */
.ownerLiveMap .teamNavigationMarker{filter:drop-shadow(0 1px 2px #16364a70)}.ownerLiveMap .teamNavigationMarker svg{display:block;width:24px;height:24px;margin:4px}

/* Phone v2.67: destination and arrival estimate share the compact card rhythm. */
.meetupDestination{font-size:14px;line-height:1.3;margin:2px 0 7px;overflow-wrap:anywhere;color:#365365}.meetupTravelMetrics{border-color:#c9dce9;gap:8px}.meetupTravelMetrics span{color:#405d72;font-size:14px}.meetupTravelMetrics strong{color:#1d6091;font-size:17px}.meetupCard.travel{background:#f1f7fc;border-color:#b7d2e5}

/* Phone v2.69: active inspection badge, separate from route completion. */
.houseHardHatBadge{position:absolute;top:-8px;left:-7px;display:grid;place-items:center;width:23px;height:23px;box-sizing:border-box;border:1px solid #302b1b;border-radius:50%;background:#fff;box-shadow:0 1px 3px #173f6040}.houseHardHatBadge svg{display:block;width:20px;height:20px}

.houseHardHatBadge.active{color:#ffd24a}.houseHardHatBadge.completed{color:#48b777}

/* Phone v2.70: hats sit on pins; team identity remains distinct from status. */
.houseHardHatBadge{top:-15px;left:3px;width:38px;height:29px;border:0;border-radius:0;background:transparent;box-shadow:none;pointer-events:none;filter:drop-shadow(0 1px 1px #173f6040)}
.houseHardHatBadge svg{width:38px;height:29px}
.houseHardHatBadge.completed{color:#8fabc0}
.meetupCard,.meetupCard.atHouse,.meetupCard.travel{border:1px solid #d5e0e8;border-left:5px solid var(--team,#789);padding:11px;background:color-mix(in srgb,var(--team,#789) 10%,white)}
.meetupPresence.atHouse{color:#254454;background:#ffffffa6}
.meetupMetrics{border-color:#cad7dd}.meetupMetrics span,.meetupMetrics strong{color:#254454}
.inspectionTripTeam{border-left:5px solid var(--team);background:color-mix(in srgb,var(--team) 9%,white)}
.inspectionTripTeam .inspectionTripStop{background:color-mix(in srgb,var(--team) 7%,white)}

/* Phone v2.71: match House Check's light team tint on Schedule. */
.phoneSchedule .scheduleTeam,.weekAssignedTeam,.monthSummaryTeamDetail{background:color-mix(in srgb,var(--team,#789) 10%,white)}
.monthSummaryTeamDetail{border-left:4px solid var(--team,#789);border-radius:7px;padding:6px 8px}

.ownerAccessDialog form{display:grid;gap:14px}.ownerAccessDialog label{display:grid;gap:6px}.ownerAccessDialog input{width:100%;box-sizing:border-box;padding:10px}

/* Phone v2.90: map credits sit above Back; hidden controls leave only a small tab. */
.ownerMapStage .mapCredits{clear:both;max-width:620px;margin:3px auto 0;text-align:center;line-height:1.2}
.ownerMapStage .mapCredits .leaflet-control-attribution{float:none;position:static;margin:0;padding:2px 4px;background:transparent;font-size:9px;line-height:1.25;color:#536b7c;max-width:none}
.ownerMapStage .mapCredits a{color:#315b70}.pinVerifyHelp{font-size:14px}
.ownerMapHeaderTools{position:absolute;top:8px;right:12px;z-index:1000;display:flex;flex-direction:column;align-items:flex-end;gap:6px;width:min(340px,calc(100% - 80px));pointer-events:none}
.ownerMapFullscreen .ownerMapHeaderTools{top:calc(8px + env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}
.ownerMapHeaderTools>*{pointer-events:auto}
.ownerMapStage .ownerMapHeaderTools .mapExpandButton{position:static;max-width:100%}
.ownerMapHeaderTools .mapCredits{max-width:100%;margin:0;border-radius:4px;background:#ffffffe6;text-align:right}
.ownerMapFullscreen .ownerMapPanel.controlsCollapsed{width:max-content;max-width:calc(100% - 24px);padding:0;border-radius:12px 12px 0 0;overflow:visible}
.ownerMapPanel.controlsCollapsed .mapControlsToggle{margin:0 auto}

/* Phone v2.74: compare and approve parking directly on the map. */
.parkingVerifyDialog{width:calc(100% - 16px);max-width:680px;padding:14px;max-height:94dvh}.parkingVerifyDialog h2{font-size:20px;margin:0 0 6px}.parkingVerifyAddress{font-size:15px;margin:0 0 10px}.parkingVerifyMap{height:38dvh;min-height:240px;border:1px solid #c8d8e3;border-radius:12px;overflow:hidden}.parkingVerifyMarker span{width:34px;height:34px;border:2px solid #173e50;border-radius:50%;display:grid;place-items:center;color:#173e50;font-size:18px;font-weight:800;box-shadow:0 2px 5px #1236}.parkingVerifyStatus{font-size:14px;line-height:1.4}.parkingVerifyStatus.saved{background:#e2f2e8;padding:12px;border-radius:9px}.parkingVerifyDialog .wide{margin-top:8px}.parkingVerifyMap .leaflet-tooltip{max-width:240px;white-space:normal;font-size:12px}.parkingVerifyMap .leaflet-control-attribution{font-size:9px}

.reportMatchNote{margin:10px 0;padding:10px 12px;border-left:3px solid #638fa5;background:#eef5f8;border-radius:0 6px 6px 0;white-space:normal;overflow-wrap:anywhere}.reportMatchNote strong{font-size:13px}.reportMatchNote p{font-size:13px;line-height:1.5;margin:5px 0}.reportMatchNote small{display:block;font-size:11px;color:#526a7b}

/* Compact report visits: source text is disclosed only on request. */
.reportVisitHeading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.reportVisitRate{white-space:nowrap;font-weight:650;color:#27576d;font-size:13px}
.reportVisitDetails{margin:0;min-width:0}
.reportVisitDetails>summary{cursor:pointer;min-height:36px;display:list-item;align-content:center;font-size:13px;font-weight:650;color:#27576d;list-style-position:inside}
.reportVisitDetails>summary:focus-visible,.reportVisitDetailsToggle:focus-visible{outline:2px solid #196da0;outline-offset:2px}
.reportVisitSourceNotes{white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.45}
.reportVisitSourceNotes>small{display:block;margin-top:5px;color:#526a7b}
.reportVisitSourceNotes .high{color:#a44a20}
.reportVisitDetails[open]>.reportVisitSourceNotes{padding:8px 10px;background:#f3f7fa;border-radius:6px}
.reportVisitList article{gap:4px;padding:10px 0}

/* Phone report parity: sortable desktop metrics and visible revenue subtotals. */
.reportFilters .reportSortField{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;font-size:13px;color:#526b7b}
.reportSortField select{width:100%;min-width:0;min-height:44px;font-size:16px}
.reportFilterChecks{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 16px}
.reportFilterChecks label{min-height:36px;font-size:13px}
.reportCustomerCount{grid-column:1/-1;font-size:12px;color:#526b7b}
.reportCustomer .reportRevenuePreview{font-size:13px;font-weight:650;color:#27576d}
.reportPartialLabel{font-size:11px;line-height:1.35;color:#8a5a20}

/* v2.82: discoverable navigation, readable controls, and clear sync status. */
#employeeNav.ownerNav.primaryDock{display:block;padding:4px 8px calc(4px + env(safe-area-inset-bottom));height:calc(76px + env(safe-area-inset-bottom))}
#employeeNav.ownerNav.primaryDock .ownerMenuPanel{display:flex;overflow:visible;width:100%;gap:3px;height:64px;padding:0;margin:0;flex-flow:row nowrap}
#employeeNav.ownerNav.primaryDock .ownerMenuPanel>button{flex:1 1 0;min-width:0;width:auto;padding:6px 2px;font-size:12px;white-space:nowrap}
.ownerNav.primaryDock .ownerMenuPanel>button[aria-current=page]{background:#dfedf6;color:#123c50;font-weight:750}
.ownerMoreGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}
.ownerMoreGrid button{min-height:72px;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13px}
.ownerMoreGrid svg{width:24px;height:24px}.ownerMoreGrid [aria-current=page]{background:#dfedf6}
.ownerPhone input:not([type=checkbox]),.ownerPhone select,.ownerPhone textarea{font-size:16px}
.weekMoveHandle,.weekDeleteVisit{min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important;flex-shrink:0}
.weekDeleteVisit{margin-left:6px}.frequencyHelp{min-width:44px;min-height:44px}
.scheduleTeamDetails{background:#f0f5f8;border-radius:10px;padding:10px;margin:10px 0}.scheduleTeamDetails>summary{cursor:pointer;font-size:14px;font-weight:650;min-height:28px}
.scheduleTeamDetails .teamDayMetrics{margin:8px 0}.scheduleTeamDetails .teamCrew{margin-top:10px}
.teamSwitcher{position:sticky;top:52px;z-index:8;display:flex;align-items:center;gap:8px;background:#eff5f8;padding:8px 0}
.teamSwitcher select{flex:1;min-width:0}.teamSwitcher button{min-width:44px;min-height:44px}.teamPosition{font-size:12px;white-space:nowrap;color:#486474}
.phoneSyncStatus{font-size:12px;color:#486474;margin:8px 0 16px}.phoneSyncStatus.stale{background:#fff2d9;color:#765108;border-radius:8px;padding:10px}
.reportFilterPanel{padding:12px;border:1px solid #dbe5ea;border-radius:10px;margin:12px 0}.reportFilterPanel>summary{font-weight:700;cursor:pointer;min-height:30px}.reportFilterPanel .reportFilters{margin:10px 0 0}
.phoneVisitCard.missing.departure .workflowStatus{background:#fff2d9;color:#765108}
@media(max-width:420px){.ownerScheduleControls{gap:4px}.ownerScheduleControls select{max-width:92px}.ownerMoreGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* House Check: five tap targets, with text and color for each rating. */
.score1{--score-bg:#fee2e2;--score-ink:#991b1b;--score-border:#dc2626}.score2{--score-bg:#ffedd5;--score-ink:#9a3412;--score-border:#ea580c}.score3{--score-bg:#fef3c7;--score-ink:#785300;--score-border:#c2910b}.score4{--score-bg:#dcf5c9;--score-ink:#365d20;--score-border:#80ad57}.score5{--score-bg:#15803d;--score-ink:#fff;--score-border:#166534}
.scoreChoices.inspectionChoices{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.scoreChoices .inspectionChoice{min-height:48px;min-width:0;font-size:20px;font-weight:800;background:var(--score-bg);color:var(--score-ink);border:2px solid transparent;border-bottom-color:var(--score-border)}.scoreChoices .inspectionChoice[aria-pressed=true]{outline:3px solid #18364a;outline-offset:2px;border-color:var(--score-border);box-shadow:none}.scoreChoices .inspectionChoice.in_progress{grid-column:1/-1;font-size:15px;background:#eff6fb;color:#255c85;border:1px solid #a7c6da;margin-top:6px;min-height:44px}.scoreChoices .inspectionChoice.in_progress[aria-pressed=true]{background:#205f91;color:#fff}.scoreChoices button:disabled{opacity:.55}.inspectionScaleGuide{font-size:14px;line-height:1.6;max-width:52rem}.inspectionVerdict{font-weight:750}.inspectionVerdict[class*=score],.memberRating[class*=score]{background:var(--score-bg);color:var(--score-ink);border-radius:8px;padding:6px 9px;display:inline-block}.inspectionArea[class*=score]{border-left-color:var(--score-border)}.memberScorecards>summary{font-weight:750;font-size:1.05rem;cursor:pointer;min-height:44px;padding:8px 0}.memberScorecard{border-top:1px solid #dbe5eb;padding:10px 0}.memberScorecard>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;min-height:44px}.memberScorecard>summary strong{overflow-wrap:anywhere}.memberScorecard[open]>summary{margin-bottom:12px}.memberRating{font-size:13px;max-width:58%;text-align:right}.memberChoices{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0}.memberChoices button{min-height:44px}.memberChoices .selected{background:#e4f0f7;border:2px solid #24597c;color:#173d58}.areaMembers{border-top:1px solid #e1e8ed;margin-top:8px;padding-top:6px}.areaMembers summary{padding:10px 0;min-height:44px;cursor:pointer;font-size:14px;color:#36576a}.areaAssigned{font-size:14px;color:#36576a}.memberAreaScores{padding-left:20px;font-size:14px;line-height:1.7}.inspectionReadArea[class*=score]{border-left:4px solid var(--score-border)}
.inspectionArea>.inspectionVerdict{display:table;margin:12px 0 2px}.inspectionArea>.textButton{display:block;margin:6px 0}

/* Expanded maps show tab navigation while controls are open. */
.ownerMapFullscreen.withNavigation[open]{display:flex;flex-direction:column}
.ownerMapFullscreen.withNavigation>.ownerMapStage{flex:1;min-height:0;height:auto;width:100%}
.ownerMapFullscreen.withNavigation #employeeNav.ownerNav{position:relative;inset:auto;flex:0 0 auto;width:100%;box-sizing:border-box;max-height:44dvh;z-index:1100}
.ownerMapFullscreen[data-controls-hidden=true] #employeeNav.ownerNav{display:none}
.ownerMapFullscreen[data-controls-hidden=true] .ownerMapPanel.controlsCollapsed{bottom:0}
.ownerMapFullscreen .controlsCollapsed .mapControlsToggle{min-height:max(44px,calc(33px + env(safe-area-inset-bottom,0px)*.75));padding:4px 14px calc(4px + env(safe-area-inset-bottom,0px)*.5)}
/* Root-page navigation follows the visible viewport; map-dialog navigation stays in its flex layout. */
body>#employeeNav{position:fixed;top:auto!important;bottom:0!important;transform:translateZ(0);backface-visibility:hidden}

/* Stronger team identity, consistent panels, and completed-house cues. */
.phoneSchedule .scheduleTeam{background:color-mix(in srgb,var(--team) 24%,white);border-color:color-mix(in srgb,var(--team) 50%,white);border-left:5px solid var(--team)}
.phoneSchedule .scheduleTeam .teamActivity,.phoneSchedule .scheduleTeam .scheduleTeamDetails{background:transparent;color:inherit}
.phoneSchedule .scheduleTeam .scheduleTeamDetails{border-color:color-mix(in srgb,var(--team) 45%,white)}
.phoneSchedule .scheduleTeam .phoneVisitCard.completedVisit,.phoneSchedule .scheduleTeam .compactVisit.completedVisit{background:color-mix(in srgb,var(--team) 40%,white);border-color:var(--team);color:#173e50}
.visitCompletionMark{display:inline-flex;align-items:center;justify-content:center;margin-left:7px;width:20px;height:20px;border:1.5px solid currentColor;border-radius:50%;font-size:13px;line-height:1;vertical-align:middle}
.weekAssignedTeam{background:color-mix(in srgb,var(--team) 24%,white)}
/* v2.98: spreadsheet-style team columns with one continuous horizontal board. */
.ownerScheduleDirection{max-width:130px;min-height:42px;border:1px solid #7894a4;border-radius:10px;background:white;color:#173e50}
.phoneSchedule,.phoneSchedule.compactSchedule,.phoneSchedule.horizontalSchedule{display:flex;flex-direction:column;align-items:stretch;overflow:visible;scroll-snap-type:none;gap:12px;min-width:0}
.phoneSchedule .scheduleTeam,.phoneSchedule.compactSchedule .scheduleTeam{width:100%;max-width:100%;flex:0 0 auto;min-width:0;box-sizing:border-box}
.phoneSchedule .scheduleTeam[hidden]{display:none}

.phoneSchedule .phoneVisitCard{width:100%;min-width:0;box-sizing:border-box}
.phoneSchedule .phoneVisitCard h3{overflow-wrap:anywhere}
.phoneSchedule .compactTeamSummary{display:block;overflow:visible;font-size:15px;min-width:0}
.phoneSchedule .compactCrew{font-size:13px;line-height:1.45;margin:6px 0 10px}
.phoneSchedule .compactVisit{min-height:48px;box-sizing:border-box;padding:12px 8px;gap:10px;align-items:center}
.phoneSchedule .compactVisit>strong{font-size:12px}
.phoneSchedule .compactTeamToggle{display:block;width:100%;min-height:44px;font-size:13px;text-align:left;padding:8px}
.phoneSchedule.compactSchedule .scheduleTeamHeader .teamActivity{font-size:13px;padding:5px 0;line-height:1.4}
.teamSwitcher{position:static;scroll-margin-top:135px}
.phoneSchedule .scheduleTeam{scroll-margin-top:135px}
.teamSwitcher button:disabled{opacity:.35}
@media(max-width:520px){
 .ownerPhone .employeeHeader>div:has(.ownerScheduleDirection){display:grid!important;grid-template-columns:38px minmax(0,1fr);gap:6px!important;width:100%;min-width:0}
 .ownerPhone .employeeHeader:has(.ownerScheduleDirection) strong{white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
 .ownerPhone .employeeHeader .ownerScheduleControls:has(.ownerScheduleDirection){grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px;margin:0}
 .ownerPhone .employeeHeader .ownerScheduleControls:has(.ownerScheduleDirection) select{width:100%!important;max-width:none!important;min-width:0!important;font-size:13px;padding:7px 5px}
}

/* Left / right uses native panning across whole teams, never individual house strips. */
.phoneSchedule.horizontalSchedule{display:flex;flex-direction:row;align-items:flex-start;overflow-x:auto;overflow-y:visible;gap:10px;max-width:100%;scroll-snap-type:none;overscroll-behavior-x:contain;touch-action:auto;-webkit-overflow-scrolling:touch;padding-bottom:14px}
.phoneSchedule.horizontalSchedule .scheduleTeam{flex:0 0 min(360px,calc(100vw - 36px));width:min(360px,calc(100vw - 36px));padding:10px;max-width:none}
.phoneSchedule.horizontalSchedule.compactSchedule .scheduleTeam{flex-basis:min(310px,calc(100vw - 36px));width:min(310px,calc(100vw - 36px))}
.horizontalSchedule .scheduleTeamHeader{min-height:76px}
.horizontalSchedule .scheduleTeamHeader h2{font-size:18px;line-height:1.2;margin:0 0 5px}
.horizontalSchedule .scheduleTeamHeader .teamActivity{font-size:12px;line-height:1.4;margin:0;padding:0;min-height:34px}
.horizontalSchedule .teamVisitJump{display:none}
.horizontalSchedule .scheduleTeam:not(.compactExpanded)>.phoneVisitCard{display:none}
.phoneSchedule.horizontalSchedule .compactTeamSummary{font-size:12px}
.teamScheduleTable{width:100%;table-layout:fixed;border-collapse:collapse;font-variant-numeric:tabular-nums;color:#173e50;font-size:12px;line-height:1.35}
.teamScheduleTable th,.teamScheduleTable td{box-sizing:border-box;padding:8px 2px;text-align:right;vertical-align:top;border-bottom:1px solid color-mix(in srgb,var(--team) 40%,#dce4e9)}
.teamScheduleTable th:first-child{width:33%;text-align:left;overflow-wrap:anywhere}
.teamScheduleTable thead th{font-size:10px;padding:7px 2px;color:#36576a;white-space:nowrap;background:color-mix(in srgb,var(--team) 32%,white)}
.teamScheduleTable tbody th{font-weight:600;min-height:44px}
.teamScheduleTable td{white-space:nowrap;font-weight:600}
.teamScheduleTable .scheduleGridCustomer>span{display:block;min-height:28px}
.teamScheduleTable .scheduleGridStatus,.teamScheduleTable .scheduleGridNote{display:block;font-size:11px;font-weight:400;line-height:1.3;margin-top:3px}
.teamScheduleTable .scheduleGridStatus{color:#466678}
.teamScheduleTable .visitCompletionMark{width:14px;height:14px;font-size:10px;margin-left:3px}
.teamScheduleTable .completedVisit{background:color-mix(in srgb,var(--team) 40%,white)}
.horizontalSchedule .compactCrew{border-top:1px solid color-mix(in srgb,var(--team) 50%,white);padding-top:10px;margin-top:10px}
.horizontalSchedule.compactSchedule .teamScheduleTable{font-size:11px}
@media(orientation:landscape) and (min-width:620px){
 .phoneSchedule.horizontalSchedule.compactSchedule .scheduleTeam{flex-basis:290px;width:290px}
 .phoneSchedule.horizontalSchedule .scheduleTeam{flex-basis:340px;width:340px}
}

.teamScheduleTable thead th:nth-child(2),.teamScheduleTable thead th:nth-child(3),.teamScheduleTable thead th:nth-child(4){width:14%}
.teamScheduleTable thead th:nth-child(5){width:16%}
.teamScheduleTable thead th:nth-child(6){width:9%}

/* v2.99: compact team headings and a persistent, small menu restore control. */
.phoneSchedule.horizontalSchedule.compactSchedule .scheduleTeamHeader{min-height:0;padding-bottom:6px}
.phoneSchedule.horizontalSchedule.compactSchedule .scheduleTeamHeader h2{font-size:16px;margin:0 0 3px}
.phoneSchedule.horizontalSchedule.compactSchedule .scheduleTeamHeader .teamActivity{min-height:0;font-size:11px;line-height:1.3;margin:0;padding:0}
#employeeNav.ownerNav.primaryDock .ownerMenuToggle{position:absolute;right:max(12px,env(safe-area-inset-right));top:-28px;min-height:28px;height:28px;min-width:80px;width:auto;max-width:none;padding:3px 12px;border:1px solid #bdcfd9;border-radius:9px 9px 0 0;background:white;color:#174e69;font-size:12px;line-height:20px;pointer-events:auto}
#employeeNav.ownerNav.primaryDock{overflow:visible}
#employeeNav.ownerNav.primaryDock .ownerMenuPanel[hidden]{display:none}
#employeeNav.ownerNav.primaryDock.menuHidden{height:calc(36px + env(safe-area-inset-bottom));padding:0;border:0;background:transparent;box-shadow:none;pointer-events:none}
#employeeNav.ownerNav.primaryDock.menuHidden .ownerMenuToggle{top:0;height:36px;min-height:36px;border-radius:9px;padding:7px 12px}
body.ownerMenuCollapsed #employeeApp{padding-bottom:calc(48px + env(safe-area-inset-bottom))}
.ownerMapFullscreen #employeeNav.ownerNav.primaryDock .ownerMenuToggle{top:0;right:8px}
.ownerMapFullscreen #employeeNav.ownerNav.primaryDock:not(.menuHidden){padding-top:28px;height:calc(104px + env(safe-area-inset-bottom))}

/* v3.00: use the screen width for the board and hide both sets of menus together. */
body.ownerPhone.ownerScheduleWide{width:var(--owner-schedule-viewport-width,100%)}
body.ownerPhone.ownerScheduleWide #employeeApp{width:100%;max-width:none;margin:0;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));min-width:0}
body.ownerPhone.ownerScheduleWide>.employeeHeader{width:100%;max-width:none}
body.ownerPhone.ownerMenuCollapsed>.employeeHeader,
body.ownerPhone.ownerMenuCollapsed .ownerTools,
body.ownerPhone.ownerMenuCollapsed .teamSwitcher,
body.ownerPhone.ownerMenuCollapsed .phoneSyncStatus{display:none}
body.ownerPhone.ownerMenuCollapsed #employeeApp{padding-top:max(6px,env(safe-area-inset-top))}

/* Shorter schedule cards, with two teams per column on tall compact screens. */
.phoneSchedule.horizontalSchedule .compactCrew{border-top:0;padding-top:0;margin:5px 0 2px;font-size:11px;line-height:1.35}
.phoneSchedule.horizontalSchedule .compactTeamToggle{min-height:32px;padding:4px 0;font-size:12px}
.phoneSchedule.horizontalSchedule .scheduleTeamDetails{margin:2px 0 0;padding:4px 0 0;border-radius:0}
.phoneSchedule.horizontalSchedule .scheduleTeamDetails>summary{min-height:32px;padding:4px 0;font-size:12px;line-height:24px}
.horizontalSchedule.compactSchedule .teamScheduleTable tbody th,.horizontalSchedule.compactSchedule .teamScheduleTable tbody td{padding:6px 2px}
.horizontalSchedule.compactSchedule .scheduleGridCustomer>span{min-height:24px}
@media(orientation:portrait){
 .phoneSchedule.horizontalSchedule.compactSchedule{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-template-rows:repeat(2,max-content);grid-auto-columns:min(310px,calc(100vw - 36px));align-items:start;align-content:start;gap:8px}
 .phoneSchedule.horizontalSchedule.compactSchedule .scheduleTeam{width:100%;min-width:0;grid-column:auto}
}

/* Employee room ownership and four clear destinations. */
.crewAreaNames{background:#f1f7fb;border-radius:14px;padding:12px;margin:10px 0}.crewNamePrompt{font-weight:700;margin:4px 0 8px}.crewNameChoices,.crewRoomPresets{display:flex;flex-wrap:wrap;gap:8px}.crewNameChoices button,.crewRoomPresets button{min-height:48px;padding:10px 16px;border-radius:12px;font-size:16px}.crewNameChoices button.selected{background:#d6f0df;color:#174e2e;border:2px solid #368957}.crewMissingName{display:block;color:#8b4c00;margin:6px 0}.crewRoom{background:white;border:1px solid #cddce5;border-radius:12px;padding:12px;margin:10px 0}.crewRoomHead{display:flex;justify-content:space-between;align-items:center;gap:8px}.crewRoomHead button{min-height:44px}.crewAddRooms,.crewAllNames{padding:10px 0}.crewAddRooms summary,.crewAllNames summary{min-height:44px;display:flex;align-items:center;font-weight:700;cursor:pointer}.crewNamesProgress{background:#eef6fc;border-radius:12px;padding:12px;margin:10px 0}.crewNamesProgress button{margin:4px;min-height:44px}.employeeCompactNav .ownerMenuPanel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:2px}.employeeCompactNav .ownerMenuPanel button{min-width:0;padding:6px 2px;font-size:11px}.employeeRatingCard{background:#fff;border:1px solid #d6e0e5;border-radius:14px;padding:16px;margin:12px 0}.employeeRatingCard h3{margin:0 0 8px}.employeeRatingCard li{margin:10px 0}

/* v3.05: employee destinations always visible; settings belong in the header. */
.employeePhone #employeeNav.employeeCompactNav{display:block;padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));height:auto;max-height:none;background:#fff;border-top:2px solid #c2d5e2}
.employeePhone #employeeNav.employeeCompactNav .ownerMenuPanel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:4px;overflow:visible;padding:0;margin:0}
.employeePhone #employeeNav.employeeCompactNav .ownerMenuPanel button{display:flex;flex-direction:column;justify-content:center;min-width:0;max-width:none;width:100%;min-height:68px;padding:7px 1px;font-size:12px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;gap:5px;border:1px solid transparent;border-radius:12px;color:#354e60}
.employeePhone #employeeNav.employeeCompactNav .ownerMenuPanel button[aria-current=page]{background:#123f5c;color:#fff;border-color:#123f5c;font-weight:750}
.employeePhone #employeeNav.employeeCompactNav svg{width:25px;height:25px;display:block}
.employeePhone .employeeSettingsButton{flex:none;min-height:44px;width:44px;padding:5px;font-size:24px;border-color:#7895a8}
.employeePhone #employeeApp{padding-bottom:calc(112px + env(safe-area-inset-bottom))}
.visitPreparation{margin:14px 0;border:1px solid #c4d6e0;background:#f7fafc;border-radius:12px;padding:12px;text-align:left}
.visitPreparation h4{font-size:1rem;margin:0 0 10px;color:#163f58}.preparationItem{padding:9px 0;border-top:1px solid #dbe5eb;font-size:.94rem;overflow-wrap:anywhere}.preparationItem strong{font-size:.85rem;display:block}.preparationItem p{margin:4px 0 0;white-space:pre-wrap}.preparationItem.entry{padding:10px;background:#e5f1fb;border-radius:8px;border:1px solid #aac9df;margin-bottom:8px}.preparationItem.complaint{padding:10px;margin:8px 0;border-radius:6px;border-top:0}.visitPreparation>.muted{margin:0}
.employeePhone .houseRoutePin{display:grid;place-items:center;background:#fff;color:#111;border:1.5px solid #111;border-radius:50%;font-size:19px;line-height:1;box-shadow:0 2px 5px #0005;position:relative;padding:0}
.employeePhone .houseRoutePin strong{font-size:19px;color:#111}.employeePhone .houseRoutePin.completePin{background:#d5efda;border-color:#172c1c}.houseRoutePin i{position:absolute;right:-6px;top:-7px;background:#21693a;color:#fff;border-radius:50%;width:16px;height:16px;font-size:12px;font-style:normal;display:grid;place-items:center}
.employeePhone .routeOrderButton{min-width:42px;font-size:17px;font-weight:750}.employeePhone .routeOrder{gap:6px}
.paystubDialog{position:fixed;inset:0;width:100%;height:100dvh;max-width:100%;max-height:100dvh;padding:0;margin:0;border:0;border-radius:0;background:#e8edf1;color:#18384b;overflow:auto;overscroll-behavior:contain}.paystubHeading{display:flex;align-items:center;gap:14px;position:sticky;top:0;z-index:2;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;background:#fff;border-bottom:1px solid #c7d5df}.paystubHeading button{min-height:44px}.paystubDialog .pdfPaystub{padding:8px 8px calc(20px + env(safe-area-inset-bottom));max-width:900px;margin:auto}.paystubDialog .pdfToolbar{display:flex;justify-content:flex-end;margin:0 0 8px}.paystubDialog .pdfPage{margin:0 0 12px}.paystubDialog .pdfPage canvas{display:block;max-width:100%;height:auto!important}.paystubDialog .pdfPage figcaption{display:none}.paystubDialog .pdfPages{overflow:auto}.payCard>h2{font-size:1.4rem;margin:4px 0 16px}
.ratingSummary{background:#143f5a;color:#fff;border-radius:16px;padding:20px;margin:10px 0 24px}.ratingSummary h2{font-size:1rem;font-weight:650}.ratingAverage{font-size:2.25rem;display:block;margin:6px 0}.ratingSummary p,.ratingSummary small{color:#e0edf4}.feedbackReceived{font-size:.85rem;color:#2f647d}.feedbackNote{white-space:pre-wrap;overflow-wrap:anywhere}.ratingMedia{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.ratingMedia button{min-height:48px;background:#edf5fa}.ratingMediaDialog{width:calc(100% - 16px);max-width:900px;max-height:95dvh;padding:14px;border:0;border-radius:14px}.ratingMediaDialog::backdrop{background:#102738b3}.ratingMediaDialog img,.ratingMediaDialog video{display:block;width:100%;max-height:65dvh;object-fit:contain;background:#111;border-radius:8px}
@media(min-width:390px){.employeePhone #employeeNav.employeeCompactNav .ownerMenuPanel button{font-size:14px}}

.pdfPaystub [hidden]{display:none!important}.paystubDialog .pdfPage{width:100%;max-width:100%}

/* v3.07: two-line work header, useful instructions, illustrated map markers. */
.employeePhone.employeeDayView .employeeHeader{min-height:0;align-items:center;gap:10px;padding-top:calc(7px + env(safe-area-inset-top,0px));padding-bottom:8px}
.employeePhone.employeeDayView .employeeHeader>div:first-child{min-width:0;flex:1}
.employeePhone.employeeDayView .employeeHeader strong{font-size:17px;line-height:1.2;display:block}
.employeeDayIdentity{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:5px;font-size:14px;line-height:1.25}
.employeeTeamPill{padding:3px 8px;border-radius:7px;background:#fff;color:#19394b;border-left:5px solid var(--team);font-weight:750}
.employeeDayName{color:#f0f6fa;overflow-wrap:anywhere}
.employeePhone.employeeDayView .employeeSettingsButton{font-size:21px;width:40px;min-height:40px;padding:4px;background:transparent}
.employeePhone .compactTeam{margin:8px 0;padding:5px 10px;border-left:4px solid var(--team);font-size:17px}
.employeePhone .workHouse{margin:0 0 14px;padding:15px}.employeePhone .visitPreparation{margin:10px 0;padding:10px}
.employeePhone .visitPreparation h4{font-size:14px;margin-bottom:5px}.homeDetailsSource{display:block;margin:8px 0 0;color:#536b79;font-size:12px;line-height:1.4}
.employeePhone .employeePastelTiles{filter:saturate(.72) contrast(.88) brightness(1.1)}
.employeePhone .mapCanvas{background:#e6f1eb;border:2px solid #c6ddd5;border-radius:20px}
.employeePhone .houseRoutePin,.employeePhone .houseRoutePin.completePin{display:block;border:0;border-radius:0;background:none;box-shadow:none;position:relative;color:#183b51}
.employeePhone .houseRoutePin svg{position:absolute;inset:0;width:44px;height:48px;overflow:visible;filter:drop-shadow(0 3px 2px #17344955)}
.employeePhone .houseRoutePin path{fill:#fff7d2;stroke:#294b5d;stroke-width:2.5;stroke-linejoin:round}
.employeePhone .houseRoutePin strong{position:absolute;z-index:1;left:0;top:18px;width:44px;text-align:center;font-size:22px;line-height:1;color:#15384c;font-weight:850}
.employeePhone .houseRoutePin.completePin path{fill:#16864e;stroke:#07562e}.employeePhone .houseRoutePin.completePin strong{color:#fff}
.employeePhone .houseRoutePin text{font:800 22px Arial,sans-serif;fill:#15384c;stroke:none}.employeePhone .houseRoutePin.completePin text{fill:#fff}
.employeePhone .houseRoutePin i{z-index:2;right:-6px;top:-2px;width:22px;height:22px;background:#fff;color:#08743c;border:2px solid #08743c;font-size:16px;font-weight:900}
.employeePhone .routeOrder .completeStop{background:#16864e;border-color:#08733b;color:#fff}
.employeePhone .mapCompletionLegend{margin:8px 0;color:#08743c;font-size:13px;font-weight:650}
/* v3.08: one continuous route, completed green and next stop outlined. */
.employeePhone .routeProgress{margin:0 0 10px;padding:10px 12px;background:#edf5fd;border:1px solid #c1d8ec;border-radius:10px;color:#164f7c;font-size:13px;font-weight:700;line-height:1.4}
.employeePhone .routeOrder{gap:4px;padding:4px 1px 10px;align-items:center;margin:0 0 8px}
.employeePhone .routeOrder li{flex:1;min-width:38px;position:relative;text-align:center}.employeePhone .routeOrder li:first-child,.employeePhone .routeOrder li:last-child{min-width:49px}
.employeePhone .routeOrder li:not(:last-child):after{content:'›';position:absolute;right:-5px;top:9px;font-size:18px;font-weight:800;color:#7890a1;z-index:1}
.employeePhone .routeOrderButton{width:calc(100% - 5px);min-width:32px;min-height:46px;padding:7px 3px;border-radius:12px;font-size:17px;position:relative;background:#f7f9fc;border:1px solid #b6c7d5;color:#28485f}
.employeePhone .routeOrderButton.officeStep{font-size:11px;font-weight:750}
.employeePhone .routeOrderButton.completeStop{background:#159447;border-color:#0b6e32;color:#fff;box-shadow:0 2px 4px #0b6e321c}
.employeePhone .routeOrderButton.completeStop:after{content:'✓';position:absolute;top:-5px;right:-2px;background:white;color:#087234;border:1px solid #108441;border-radius:50%;width:17px;height:17px;font-size:12px;line-height:15px}
.employeePhone .routeOrderButton.nextStop{background:#e6f2ff;border:2px solid #1267a5;color:#0f5284;box-shadow:0 0 0 2px #cbe5fc}
.employeePhone .mapStop.nextStop{border:2px solid #1267a5;background:#eff7ff}.employeePhone .mapStop.completeStop{background:#e4f7e9;border-color:#56a471}.preparationItem.service{border-left:3px solid #2672a4;background:#eef6fc}

/* Schedule uses the same completion and next-stop colors as the route. */
.employeePhone .workHouse{border:2px solid #d2dde6;border-radius:16px;background:#fff;position:relative}
.employeePhone .workHouse.isComplete,.employeePhone .houseHeader.isComplete{background:#def5e5;border:2px solid #159447;border-left:7px solid #159447;box-shadow:0 2px 7px #11743812}
.employeePhone .workHouse.isComplete .stopNumber{background:#159447;color:#fff;border-color:#087236}
.employeePhone .workHouse.isComplete .visitTop h3{color:#105f30}.employeePhone .workHouse.isComplete .visitPreparation{background:#f1fbf4;border-color:#b4dec0}
.employeePhone .workHouse.isNext{border:2px solid #1267a5;border-left:7px solid #1267a5;background:#f0f7ff}.employeePhone .workHouse.isNext .stopNumber{background:#1267a5;color:#fff}
.employeePhone .workHouse.needsAttention{border-color:#b87413;background:#fff7e6}
.employeePhone .visitCompletionMark,.employeePhone .visitNextMark{order:3;flex:none;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;font-size:25px;font-weight:850;background:#159447;color:#fff;margin-left:auto}.employeePhone .visitNextMark{background:#1267a5;font-size:24px}
.employeePhone .workHouse .visitBody{min-width:0;flex:1}

/* Compact crew itinerary and clear return navigation. */
.workflowRoot .workHouse{padding:12px;margin:10px 0}.workHouse .visitTop{gap:10px;margin-bottom:6px}.workHouse .visitBody h3{margin:0 0 4px}.workHouse .promisedEta{margin:3px 0}.workHouse .compactVisitAddress{display:block;width:100%;text-align:left;white-space:normal;min-height:44px;padding:7px 9px;margin:4px 0 0}.workHouse .visitPreparation{margin:8px 0;padding:10px}.workHouse .preparationItem{margin:4px 0;padding:6px 8px}.workHouse .visitPreparation h4{margin:0 0 6px}.workflowRoot .crewBackButton{display:inline-flex;align-items:center;min-height:48px;padding:10px 18px;margin:4px 0 14px;background:#e0eff9;border:1px solid #8ab3d0;border-radius:10px;color:#134765;font-size:17px;font-weight:750}

/* Personal note review and compact open-house header */
.visitPreparation .preparationItem{display:flex;align-items:flex-start;gap:10px}.preparationItem .noteContent{flex:1;min-width:0}.preparationItem.noteReviewed{background:#e8f5ec;border-color:#a3d5b3;color:#205c38}.preparationItem .noteAcknowledge{flex:0 0 42px;width:42px;min-height:42px;padding:6px;border:2px solid #98adbb;border-radius:9px;background:#fff;color:#7b8f9b;font-size:25px;line-height:1;margin:0}.preparationItem.noteReviewed .noteAcknowledge{background:#247a47;color:#fff;border-color:#247a47;opacity:1}.noteReviewHint{display:block;margin-top:6px;color:#617583}.workHouse button:disabled.primary{opacity:.5;cursor:default}
.houseHeader.compactHouseHeader{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.85fr);gap:4px 12px;align-items:center;padding:12px}.compactHouseHeader h2{font-size:20px;line-height:1.15;margin:0;grid-column:1}.compactHouseHeader .promisedEta{font-size:13px;margin:0;grid-column:1}.compactHouseHeader>.workflowStatus{grid-column:1;margin:0;justify-self:start}.compactHouseHeader .arrivalActions{grid-column:2;grid-row:1 / span 3;display:flex;flex-direction:column;gap:6px;margin:0;padding:0;min-width:0}.compactHouseHeader .houseAddress{width:100%;padding:7px 8px;min-height:40px;font-size:12px;line-height:1.3;white-space:normal;text-align:left;overflow-wrap:anywhere}.compactHouseHeader .arrivalCheck:empty{display:none}.compactHouseHeader .arrivalCheck button{padding:7px 8px;min-height:36px;font-size:12px}

.employeeCompactNav .ownerMenuPanel{grid-template-columns:repeat(5,minmax(0,1fr))!important}.employeeCompactNav .employeeHomeButton>span{background:#1b654e;color:white;clip-path:polygon(50% 0,100% 35%,100% 100%,0 100%,0 35%);width:42px;height:42px;padding:9px 8px 5px;box-sizing:border-box}.employeeCompactNav .employeeHomeButton[aria-current=page]>span{background:#218864}.employeeHome{max-width:640px;margin:auto;padding:12px 4px}.employeeHome h1{font-size:26px;margin:5px 0 18px}.employeeHomeStats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.employeeHomeStats>div{background:#eef7f3;border:1px solid #c4ded3;border-radius:15px;padding:18px 14px;display:grid;gap:6px}.employeeHomeStats strong{font-size:34px;color:#1c624d}.employeeHomeStats span{font-size:14px}.homeActions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.homeActions button,.homeToday{min-height:52px;border-radius:12px;white-space:normal}.homeToday{width:100%;background:#163f5b;color:white}.homeRequest{display:grid;gap:4px;border-bottom:1px solid #dce4e9;padding:12px 0}.homeRequest span{font-size:13px;color:#526b78}.employeeHomeDialog{max-width:420px;width:92vw}.employeeHomeDialog form{display:grid;gap:12px}.employeeHomeDialog label{display:grid;gap:5px}.employeeHomeDialog input,.employeeHomeDialog textarea{width:100%;box-sizing:border-box;min-height:44px}

/* Employee area progress: responsibility first, then completed cleaning. */
.roomAccordion.crewStatus-needs-name,.crewAreaNames.crewStatus-needs-name,.crewRoom.crewStatus-needs-name{background:#fffbea;border-color:#e5d99f}
.roomAccordion.crewStatus-assigned,.crewAreaNames.crewStatus-assigned,.crewRoom.crewStatus-assigned{background:#dceeff;border-color:#69a6dc}
.roomAccordion.crewStatus-complete,.crewAreaNames.crewStatus-complete,.crewRoom.crewStatus-complete{background:#daf2df;border-color:#62a776}
.roomAccordion[class*="crewStatus-"]{border-width:1px;border-style:solid;border-radius:14px;padding-left:12px;padding-right:12px;margin:12px 0}
.roomAccordion.crewStatus-needs-name>summary,.roomAccordion.crewStatus-needs-name>summary .roomCount{color:#604b00}
.roomAccordion.crewStatus-assigned>summary,.roomAccordion.crewStatus-assigned>summary .roomCount{color:#164a76}
.roomAccordion.crewStatus-complete>summary,.roomAccordion.crewStatus-complete>summary .roomCount{color:#205936}
.crewNameChoices button.selected{background:#c6e3fc;color:#164a76;border-color:#377fb9}
.crewStatus-complete>.crewNameChoices button.selected{background:#c5eacd;color:#205936;border-color:#499661}

.compactHouseHeader .arrivalActions{grid-column:1/-1;grid-row:auto;display:grid;grid-template-columns:minmax(0,1fr);width:100%}
.compactHouseHeader .arrivalActions>.visitTimeControl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.compactHouseHeader .arrivalActions>.visitTimeControl>.visitTimeButton{grid-column:1;min-height:58px;width:100%;font-size:1.15rem}
.compactHouseHeader .arrivalActions>.visitTimeControl>.visitTimeButton:only-child{grid-column:1/-1}
.compactHouseHeader .arrivalActions>.visitTimeControl>.editTime{grid-column:2;grid-row:1;white-space:nowrap}
.compactHouseHeader .arrivalActions>.visitTimeControl>p,.compactHouseHeader .arrivalActions>.visitTimeControl>.actions{grid-column:1/-1}
.arrivalRequired{padding:16px;border-radius:12px;background:#fffbea;color:#604b00}
.roomAccordion>summary .crewAddRoomsButton{margin-left:auto;min-height:44px;font-size:.88rem;padding:6px 10px;white-space:nowrap}
.roomAccordion>summary:has(.crewAddRoomsButton) .roomCount{margin-left:0;order:3;font-size:.8rem}
.crewRoomMenu{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.crewRoomMenu label{display:flex;gap:8px;align-items:center;padding:10px;border:1px solid #d2dfe7;border-radius:10px;min-height:44px}
.crewRoomMenu input{width:20px;height:20px;flex:none}.crewRoomsDialog{max-height:85dvh;overflow:auto;width:min(440px,calc(100vw - 28px))}

.roomAccordion>summary .crewAddRoomsButton{order:1;margin-left:0}.roomAccordion>summary:has(.crewAddRoomsButton) .roomCount{order:2;margin-left:auto}.roomAccordion>summary .roomCount{overflow-wrap:anywhere}

.compactHouseHeader .promisedEta{grid-column:2;grid-row:1;text-align:right;justify-self:end;font-size:13px;line-height:1.3}.compactHouseHeader h2{min-width:0;overflow-wrap:anywhere}.compactHouseHeader>.workflowStatus{grid-column:1/-1}

/* Mi calidad: recognition first, readable rating counts on small phones. */
.ratingCelebration{background:linear-gradient(125deg,#e9f6ef,#eef6fb);color:#164d40;border:1px solid #c5e0d4;padding:18px;margin-bottom:16px}
.ratingCelebration h2{font-size:1.3rem;line-height:1.25;margin:8px 0}.ratingCelebration p,.ratingCelebration small{color:#35594f}.ratingEyebrow{font-size:.7rem;letter-spacing:.09em;font-weight:800}.ratingRecognition{line-height:1.5}.ratingStats{display:flex;align-items:center;gap:12px;margin:16px 0 8px}.ratingStats .ratingAverage{font-size:1.7rem;white-space:nowrap}.ratingStats>span{font-size:.85rem}.ratingBreakdown{padding:16px;background:white;border:1px solid #dbe5e9;border-radius:16px;margin-bottom:22px}.ratingBreakdown h2{margin:0 0 12px;font-size:1.1rem}.ratingCountRow{display:grid;grid-template-columns:minmax(115px,1.6fr) minmax(40px,1fr) 28px;gap:10px;align-items:center;padding:9px 0}.ratingCountLabel{display:flex;align-items:center;gap:10px;font-size:.85rem}.ratingCountLabel strong{white-space:nowrap}.ratingCountTrack{height:8px;background:#edf1f3;border-radius:8px;overflow:hidden}.ratingCountTrack span{display:block;height:100%;background:var(--rating-color);border-radius:8px}.ratingCountValue{text-align:right;font-size:1.1rem}.ratingLevel5{--rating-color:#279666}.ratingLevel4{--rating-color:#8bc466}.ratingLevel3{--rating-color:#e7be43}.ratingLevel2{--rating-color:#e99443}.ratingLevel1{--rating-color:#d87775}.ratingBreakdown .muted{font-size:.75rem;line-height:1.45;margin:10px 0 0}

.dustCrewPicker{margin:10px 0 6px;padding:10px 14px;background:#f3f7fa;border-radius:12px}.dustCrewPicker .crewNamePrompt{margin:0 0 7px}.dustBlock summary{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.dustBlock .dustTitle{flex:1;min-width:120px}.dustBlock .roomCount{margin-left:auto}.dustAreaPicker{border:0;background:transparent;color:#28698c;padding:5px 8px;font-size:.8rem}.dustBlock .checkToggle{width:100%;text-align:left}.dustBlock .checkRow{margin:8px 0}.dustAreaMenu{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dustAreaMenu label{display:flex;gap:8px;align-items:center;padding:10px;background:#f1f6fa;border-radius:8px}.dustAreaMenu input{width:auto}.dustAreaDialog{max-width:480px}.dustAreaDialog input[type=text]{width:100%;margin:8px 0}

.dustFloorChoice{margin:12px 0;padding:12px;border:1px solid #dbe5e9;border-radius:12px}.dustFloorChoice>button{width:100%}.dustFloorChoice .dustAreaMenu{margin-top:12px}.dustCrewPicker{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dustAreaDialog>button{margin:6px}
.dustFloorChoice [hidden]{display:none!important}

.areaAssignmentPanel{width:100%;grid-column:1/-1;margin:12px 0}.arrivalActions:has(.areaAssignmentPanel){display:flex;flex-direction:column;align-items:stretch}.areaAssignmentPanel .checkGroup{margin:8px 0}.officeNotesPanel{margin:24px 0 16px;padding:18px;background:#fff8e8;border:1px solid #e2c989;border-left:5px solid #c59b45;border-radius:12px}.officeNotesPanel h3{margin-top:0}

.officeNotesPanel>button{margin:4px 6px 4px 0}

.crewAssignmentRow{border:1px solid #c5d5df;border-radius:10px;padding:9px 11px;margin:6px 0}.crewAssignmentHead{display:flex;align-items:center;gap:8px;justify-content:space-between;font-weight:700}.crewAssignmentRow .crewAreaNames{padding:0;margin:5px 0 0;border:0;background:none}.crewAssignmentRow .crewNameChoices{gap:6px}.crewAssignmentRow .crewNameChoices button{min-height:36px;padding:6px 10px}.crewAssignmentRow .roomCount{display:none}.crewAssignmentRow>.textButton{padding:4px 0;min-height:30px;font-size:12px}.areaAssignmentPanel>h3{margin:6px 0 10px}.teamPendingPanel{margin:16px 0;padding:14px;border:1px solid #e0c88e;border-radius:12px;background:#fff9ec}.teamPendingPanel h3{margin:0 0 6px}.teamPendingRow{border-top:1px solid #e8dcc1;padding:10px 0}.teamPendingRow summary{display:flex;flex-wrap:wrap;gap:4px 10px;cursor:pointer}.teamPendingRow summary small{margin-left:auto}.teamPendingRow ul{padding-left:20px;margin:8px 0;font-size:14px}

.areaAssignmentPanel .crewAssignmentRow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:7px 10px}.crewAssignmentRow .crewAssignmentHead{flex:0 1 auto;min-width:95px;gap:6px;font-size:14px}.crewAssignmentRow .crewAreaNames{margin:0 0 0 auto;padding:0;flex:0 1 auto}.crewAssignmentRow .crewNameChoices{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:5px}.crewAssignmentRow .crewNameChoices button{min-height:34px;padding:5px 8px;font-size:13px}.crewAssignmentHead .removeDustBlock{padding:2px 5px;min-height:28px;font-size:18px}.dustAssignmentBlock .crewAssignmentHead{max-width:65%}.crewAssignmentRow .crewRoom,.crewAssignmentRow .crewAllNames{flex-basis:100%}
.crewAssignmentRow.crewStatus-needs-name{background:#fffbea;border-color:#e5d99f}.crewAssignmentRow.crewStatus-assigned{background:#dceeff;border-color:#69a6dc}.crewAssignmentRow.crewStatus-complete{background:#daf2df;border-color:#62a776}

.crewResponsibility{padding:10px 12px;margin:0 0 12px;border-left:3px solid #69a6dc;background:#edf6fc;border-radius:8px;color:#25485f;font-size:13px;line-height:1.45}

.employeeNotePhotos{display:flex;gap:10px;overflow-x:auto;padding:8px 0}.employeeNotePhoto{flex:0 0 140px;display:flex;flex-direction:column;gap:5px;border:1px solid #adc7d7;background:white;border-radius:9px;padding:7px;color:#25465e}.employeeNotePhoto img{width:124px;height:94px;object-fit:cover;border-radius:5px}.employeeNotePhoto span{font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.notePhotoDialog img,.notePhotoDialog video{max-width:90vw;max-height:75vh;object-fit:contain}

.employeeNoteGroup{border:1px solid #d0deea;border-radius:10px;margin:8px 0;padding:0 10px;background:#f7fafc}.employeeNoteGroup>summary{padding:12px 0;font-weight:750;cursor:pointer}.employeeNoteGroup>summary small{font-size:12px;font-weight:500}.employeeNoteGroup.newRecurring{background:#edf5ff;border-color:#b5d4ed}.employeeNoteGroup.complaint{background:#fff4ed;border-color:#efc6ab}.employeeNoteGroup .employeeNotePhotos{padding-bottom:10px}

.employeeMainSection{margin-top:12px;padding-top:10px;border-top:1px solid #d9e6ee}.employeeMainSection>h5{margin:0 0 6px;font-size:13px;color:#24546d}.employeeMainSection .preparationItem{margin:5px 0}.employeeMainSection .noteContent p{margin:4px 0;white-space:pre-wrap}.employeeMainSection[hidden],.visitPreparation .employeeNoteGroup[hidden]{display:none!important}

/* One personal acknowledgment per note group, with Main Notes opened first. */
.employeeNoteGroup>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:52px;padding:7px 0}.employeeNoteGroup>summary::-webkit-details-marker{display:none}.employeeNoteGroup>summary::before{content:'\203a';font-size:24px;line-height:1;transition:transform .15s}.employeeNoteGroup[open]>summary::before{transform:rotate(90deg)}.noteGroupTitle{flex:1;min-width:0}.noteGroupStatus{display:block;font-size:11px!important;color:#627d8e;margin-top:3px}.employeeNoteGroup .noteAcknowledge{flex:0 0 42px;width:42px;height:42px;min-height:42px;padding:6px;border:2px solid #98adbb;border-radius:9px;background:white;color:#7b8f9b;font-size:25px;line-height:1;margin:0}.employeeNoteGroup .noteAcknowledge:disabled{opacity:.45;cursor:default}.employeeNoteGroup.noteReviewed{background:#e8f5ec;border-color:#a3d5b3;color:#205c38}.employeeNoteGroup.noteReviewed .noteAcknowledge{background:#247a47;color:white;border-color:#247a47;opacity:1}.employeeNoteGroup .preparationItem{padding-right:0}.employeeNoteGroup.noteReviewed .noteGroupStatus{color:#205c38}

.employeeNoteGroup.noteReviewed .preparationItem{background:transparent;border-color:#a3d5b3;color:#205c38}

.noteLanguageHeading{display:flex;align-items:center;justify-content:space-between;gap:8px}.noteLanguageHeading h4{margin:4px 0}.noteLanguageSwitch{display:flex;gap:4px}.noteLanguageSwitch button{font:inherit;font-size:12px;border:1px solid #adc9d9;background:white;border-radius:8px;padding:6px 9px;color:#234a60;min-height:32px}.noteLanguageSwitch button[aria-pressed=true]{color:white;background:#245d7c}.noteTranslationHint{display:block;color:#697b86;font-size:10px;margin-top:3px}.noteTranslationHint[hidden]{display:none}

/* Codes remain readable at a glance without enlarging other instructions. */
.visitPreparation .entryAccessCode{display:inline;margin:0;font-size:1.18em;font-weight:800;line-height:1.5;overflow-wrap:anywhere;color:#153d54}
.visitPreparation .noteKeyInstruction{display:inline;margin:0;font-weight:800;color:inherit}.visitPreparation .employeeNoteGroup.newRecurring:not(.noteReviewed),.visitPreparation .employeeNoteGroup.once:not(.noteReviewed){background:#eaf4ff;border:2px solid #8bb8e3}.visitPreparation .employeeNoteGroup.complaint:not(.noteReviewed){background:#fff0f0;border:2px solid #dc9298}.visitPreparation .employeeNoteGroup.complaint:not(.noteReviewed)>.summary,.visitPreparation .employeeNoteGroup.complaint:not(.noteReviewed)>.noteGroupTitle{color:#8e2934}.visitPreparation .employeeNoteGroup.noteReviewed{background:#e8f5ec;border:2px solid #8ec7a0}.visitPreparation .employeeNoteGroup.once .preparationItem,.visitPreparation .employeeNoteGroup.newRecurring .preparationItem,.visitPreparation .employeeNoteGroup.complaint .preparationItem{background:transparent}

/* Notes photo viewer shared by office and employee screens. */
.opsPhotoViewer{box-sizing:border-box;width:min(1100px,96vw);max-width:96vw;height:min(850px,94dvh);max-height:94dvh;padding:14px;border:0;border-radius:16px;background:#fff;color:#183c50;overflow:hidden}
.opsPhotoViewer[open]{display:flex;flex-direction:column;gap:10px}.opsPhotoViewer::backdrop{background:#071e2bca}.opsPhotoToolbar{display:flex;align-items:center;gap:8px;flex-shrink:0}.opsPhotoToolbar button{min-width:40px;min-height:40px;padding:5px 11px;border:1px solid #b7cad7;border-radius:8px;background:#f2f7fa;color:#1d4963;font:600 18px system-ui;cursor:pointer}.opsPhotoToolbar button:last-child{margin-left:auto}.opsPhotoToolbar strong{white-space:nowrap;font:600 14px system-ui}.opsPhotoToolbar button:disabled{opacity:.4}.opsPhotoStage{flex:1;min-height:0;overflow:auto;background:#edf2f5;border-radius:8px;text-align:center;overscroll-behavior:contain}.opsPhotoStage img,.opsPhotoStage video{max-width:100%;max-height:100%;object-fit:contain;vertical-align:middle}.opsPhotoCaption{flex-shrink:0;white-space:pre-wrap;max-height:100px;overflow:auto;margin:0;font:14px/1.45 system-ui;text-align:left}.opsPhotoStatus{margin:0;font:14px system-ui}.opsPhotoStatus:empty,.opsPhotoCaption:empty{display:none}.opsPhotoViewer [hidden]{display:none!important}
@media(max-width:500px){.opsPhotoViewer{padding:10px;width:96vw}.opsPhotoToolbar{gap:5px}.opsPhotoToolbar button{min-width:36px;padding:4px 8px}.opsPhotoCaption{font-size:15px}}

.employeeNotePhotos{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:9px;margin:10px 0}.employeeNotePhoto{width:100%;min-height:132px;padding:5px;display:flex;flex-direction:column;gap:6px;border-radius:10px;background:#fff}.employeeNotePhoto img{width:100%;height:116px;object-fit:contain;background:#f1f5f8;border-radius:6px}.employeeNotePhoto .employeePhotoCaption{font-size:13px;line-height:1.35;text-align:left;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

.noteUpdateAlert{border:2px solid #2475aa;border-radius:12px;background:#eaf5ff;color:#174b70;padding:12px 14px;margin:0 0 12px;text-align:left}
.noteUpdateAlert strong{font-size:17px}.noteUpdateAlert p{font-size:14px;line-height:1.45;margin:5px 0 0}
.employeeNoteGroup.noteNeedsReview:not(.complaint){border-color:#2475aa;background:#eef7ff}.noteNeedsReview .noteGroupStatus{color:#165c8b;font-weight:700}

/* Match the office phone preview, with unmistakable New / visit / complaint colors. */
.visitPreparation .employeeNoteGroup.newRecurring:not(.noteReviewed),.visitPreparation .employeeNoteGroup.once:not(.noteReviewed){background:#fff9dc;border:2px solid #dcc364;color:#4e431e}
.visitPreparation .employeeNoteGroup.complaint:not(.noteReviewed){background:#ffdadd;border:2px solid #ce5866;color:#7f2330}
.visitPreparation .employeeNoteGroup.newRecurring:not(.noteReviewed) .noteGroupStatus,.visitPreparation .employeeNoteGroup.once:not(.noteReviewed) .noteGroupStatus{color:#4e431e}
.visitPreparation .employeeNoteGroup.complaint:not(.noteReviewed) .noteGroupStatus{color:#7f3340}
.visitPreparation .employeeNoteGroup.noteReviewed{background:#e8f5ec;border:2px solid #8ec7a0;color:#205c38}

/* A visual dash per instruction; wording and acknowledgment identities are unchanged. */
.visitPreparation .noteContent p{white-space:normal}
.visitPreparation .noteContent .noteLine{display:block;position:relative;padding-left:15px;white-space:pre-wrap;line-height:1.45}
.visitPreparation .noteContent .noteLine+.noteLine{margin-top:3px}
.visitPreparation .noteContent .noteLine:before{content:'–';position:absolute;left:0;color:currentColor;opacity:.72}

/* Main Notes acknowledgment follows all text and photos. */
.mainNotesReviewFooter{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #cbdde7;padding:14px 0;margin-top:10px;font-size:14px;font-weight:650}.mainNotesReviewFooter>span{flex:1}
/* Desktop-style numbered route pins, sized for touch. */
.mapPin.desktopRoutePin,.mapPin.desktopOfficePin{background:transparent;border:0;box-shadow:none;border-radius:0;position:relative}
.routePinDrop{display:grid;place-items:center;box-sizing:border-box;width:32px;height:32px;position:absolute;left:3px;top:3px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--pin,#163e56);border:2px solid white;box-shadow:0 1px 5px #0007}
.routePinDrop>i{display:block;transform:rotate(45deg);color:#102f43;text-shadow:0 0 2px white,0 0 3px white;font:normal 900 16px/1 Arial}
.desktopRoutePin.completePin .routePinDrop{background:#278047}.desktopRoutePin.completePin .routePinDrop>i,.desktopOfficePin .routePinDrop>i{color:white;text-shadow:none}
.routePinCheck{position:absolute;right:-3px;top:-5px;width:17px;height:17px;display:grid;place-items:center;border:2px solid white;border-radius:50%;background:#216c3d;color:white;font:900 11px/1 Arial}

/* Collapsed Main Notes retains a quiet, non-interactive review indicator. */
.employeeNoteGroup .noteCollapsedStatus{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #c9d1d7;border-radius:9px;background:#edf0f2;color:#9aa4ab;font-size:21px;box-sizing:border-box}
.employeeNoteGroup[open] > summary .noteCollapsedStatus{display:none}
.employeeNoteGroup.noteReviewed .noteCollapsedStatus{background:#d8f3df;border-color:#72b687;color:#22763c}

#employeeNav .supervisorSettings{position:absolute;left:12px;top:-32px;width:36px;min-width:36px;height:32px;min-height:32px;padding:2px;background:white;border:1px solid #bdcfd9;border-radius:9px;color:#174e69;font-size:23px;pointer-events:auto}

.supervisorPreviewBanner{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff4d6;border:1px solid #d9ba68;border-radius:10px;padding:10px 12px;margin-bottom:12px}.supervisorPreviewBanner small{display:block;margin-top:3px;font-size:12px}.supervisorPreviewBanner button{flex-shrink:0;font-size:12px;padding:8px}@media(max-width:420px){.supervisorPreviewBanner{align-items:flex-start}.supervisorPreviewBanner button{max-width:110px;white-space:normal}}

.ratingsExampleNotice{background:#fff3cc;border:2px solid #b68b24;border-radius:12px;padding:14px;margin-bottom:16px;color:#59430a}.ratingsExampleNotice strong{font-size:21px;letter-spacing:2px}.ratingsExampleNotice p{margin:6px 0 0}.ratingsExample{position:relative;padding-top:36px!important}.ratingsExampleWatermark{display:block;position:absolute;right:12px;top:9px;font-size:13px;font-weight:800;letter-spacing:2px;color:#7b6018;background:#fff2c7;border:1px solid #c9ab58;border-radius:5px;padding:3px 7px;pointer-events:none}

.homePtoBalance{border:1px solid #a9ccbb;border-radius:12px;background:#eff9f3;padding:14px 16px;margin:14px 0;color:#20533b}.homePtoBalance>strong{display:block;font-size:15px}.homePtoBalance>div{font-size:25px;font-weight:750;margin:5px 0}.homePtoBalance>small{display:block;font-size:12px;line-height:1.5}

.homePtoMonth{display:flex;align-items:center;justify-content:space-between}.homePtoMonth button{min-width:44px}.homePtoGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:10px 0;text-align:center}.homePtoGrid button{min-height:42px;padding:5px;border:1px solid #b6cbd9;border-radius:8px;background:white;color:#173e55}.homePtoGrid button[aria-pressed="true"]{background:#216b9c;color:white}.homePtoGrid button:disabled{background:#eef0f2;color:#9aa3ab;border-color:#e5e8eb}

.homePtoCost{padding:12px;background:#edf6fb;border:1px solid #bcd7e6;border-radius:10px;margin:12px 0}.homePtoCost>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:5px 0}.homePtoCost strong{white-space:nowrap}.homePtoCost small{display:block;color:#536c7c;margin-top:8px}

.supervisorRouteToolbar label{display:flex;align-items:center;gap:10px;font-weight:700}.supervisorRouteToolbar select{flex:1;min-height:44px}.supervisorRoute{display:grid;gap:18px}.supervisorRouteTeam{border-top:4px solid var(--team);padding-top:8px;min-width:0}.supervisorRouteTeam>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.supervisorRouteTeam h2{font-size:19px;margin:0}.supervisorRouteCrew,.supervisorRouteTeam>.teamActivity{margin:5px 0;font-size:13px}.supervisorHouse{background:#fff;border:1px solid #c9dae4;border-radius:12px;padding:12px;margin-top:9px}.supervisorHouse.completedVisit{background:#edf8f0;border-color:#a5cfb2}.supervisorHouseHeading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.supervisorHouseHeading h3{font-size:17px;margin:0;line-height:1.35;overflow-wrap:anywhere}.supervisorHouseEta{text-align:right;flex-shrink:0;font-size:13px}.supervisorHouseEta small{display:block;margin-top:3px}.supervisorHouseAddress{display:block!important;width:100%;text-align:left!important;margin:7px 0;padding:8px!important;background:#f0f6fa;border:1px solid #d2e2eb;border-radius:8px;font-size:14px}.supervisorHouseNotes,.supervisorHouseDetails{margin-top:8px;border-top:1px solid #e1e9ee;padding-top:8px}.supervisorHouse summary{font-weight:600;cursor:pointer}.supervisorHouseNotes p{white-space:pre-wrap;font-size:14px;margin:8px 0}.supervisorHouse .visitMetrics{margin-top:8px}@media(min-width:800px){.supervisorRoute{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}

.homeUsePto{display:flex!important;align-items:center;gap:10px;padding:10px;border:1px solid #c5d5df;border-radius:9px}.homeUsePto input{width:22px!important;height:22px;flex:0 0 22px}.homePtoCost[hidden],.homePtoBalance[hidden]{display:none!important}

/* Distinct note cards, with the existing group-level acknowledgment retained. */
.visitPreparation .employeeMainSection{margin:10px 0;padding:12px;border:1px solid #cbdde8;border-left:4px solid #6b9bb7;border-radius:12px;background:#fff;box-shadow:0 1px 3px #15384c0a}
.visitPreparation .employeeMainSection>h5{font-size:16px;margin:0 0 8px;color:#173d50}
.visitPreparation .noteReviewed .employeeMainSection{background:#f5fff6;border-color:#a8d5af;border-left-color:#47965c}
.employeeFrequency{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:26px;height:26px;margin-left:8px;padding:0 6px;border:1px solid #9cbbd1;border-radius:8px;background:#e8f3ff;color:#194b70;font:700 14px system-ui;vertical-align:middle;cursor:pointer}

/* Frequency badge palette matches the desktop customer frequency legend. */
.employeeFrequency{border-color:var(--freq-border,#d7dde0);background:var(--freq-bg,#f0f2f3);color:var(--freq-text,#59636a)}
.employeeFrequency[data-frequency="1"]{--freq-accent:#276749;--freq-bg:#e5f4eb;--freq-border:#b9ddc8;--freq-text:#215a3f}
.employeeFrequency[data-frequency="2"]{--freq-accent:#315c9b;--freq-bg:#e8f0fb;--freq-border:#c1d4ef;--freq-text:#294f86}
.employeeFrequency[data-frequency="3"]{--freq-accent:#6c4d9c;--freq-bg:#f0eafb;--freq-border:#d7c8ef;--freq-text:#5c4087}
.employeeFrequency[data-frequency="4"]{--freq-accent:#9a6b1e;--freq-bg:#fff3d8;--freq-border:#ecd49d;--freq-text:#785315}
.employeeFrequency[data-frequency="5"]{--freq-accent:#9b4b63;--freq-bg:#fae9ef;--freq-border:#edc4d1;--freq-text:#7d3b50}
.employeeFrequency[data-frequency="8"]{--freq-accent:#3e7680;--freq-bg:#e7f3f5;--freq-border:#bedde1;--freq-text:#32616a}

/* ETA and directions use the whole card width, independent of the stop number. */
.workHouse .visitTop{display:grid;grid-template-columns:38px minmax(0,1fr) auto;column-gap:10px;row-gap:2px}
.workHouse .visitTop>.stopNumber{grid-column:1;grid-row:1}
.workHouse .visitTop>.visitCompletionMark,.workHouse .visitTop>.visitNextMark{grid-column:3;grid-row:1}
.workHouse .visitBody{display:contents}
.workHouse .visitBody>h3{grid-column:2;grid-row:1;min-width:0;align-self:center}
.workHouse .visitBody>.promisedEta{grid-column:1/-1;text-align:left;justify-self:stretch;margin:3px 0}
.workHouse .visitBody>.compactVisitAddress,.workHouse .visitBody>.muted{grid-column:1/-1;min-width:0;text-align:left;justify-self:stretch}
.workHouse .visitBody>.compactVisitAddress{padding-left:0;padding-right:0;overflow-wrap:anywhere}
.houseHeader.compactHouseHeader>.promisedEta{grid-column:1/-1;grid-row:auto;text-align:left;justify-self:stretch}
.houseHeader.compactHouseHeader>.arrivalActions{grid-column:1/-1;grid-row:auto}
.houseHeader.compactHouseHeader .houseAddress{padding-left:0;padding-right:0}

.employeeVisitService{display:inline-block;margin-left:7px;font-size:12px;font-weight:650;line-height:1.35;color:#785315;vertical-align:middle;overflow-wrap:anywhere}

/* Smaller route addresses keep more streets on one line, with a full tap target. */
.workHouse .visitBody>.compactVisitAddress{font-size:14px;line-height:1.3}
@media(max-width:360px){.workHouse .visitBody>.compactVisitAddress{font-size:13px}}

.assignedCheck .checkReason{display:block;color:#224e6d;margin:8px 0}.assignedCheck .checkInstructions{white-space:pre-wrap;background:#fff3d1;padding:12px;border-radius:8px}.assignedCheck>button{margin-top:10px;min-height:44px}.supervisorRouteToolbar button[aria-pressed="true"]{background:#185b83;color:white}

/* Supervisor: five evenly spaced, readable navigation destinations. */
#employeeNav.ownerNav.primaryDock.supervisorNav{height:calc(86px + env(safe-area-inset-bottom));padding:5px 6px calc(5px + env(safe-area-inset-bottom))}
#employeeNav.ownerNav.primaryDock.supervisorNav .ownerMenuPanel{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;height:74px;overflow:visible}
#employeeNav.ownerNav.primaryDock.supervisorNav .ownerMenuPanel>button{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:5px;width:100%;min-width:0;min-height:72px;height:74px;padding:7px 2px 4px;font-size:12px;line-height:1.2;white-space:normal;border-radius:10px;overflow:visible}
#employeeNav.supervisorNav .ownerMenuPanel>button>span:first-child{height:24px;display:flex;align-items:center;justify-content:center;flex:none}
#employeeNav.supervisorNav .ownerMenuPanel svg{width:24px;height:24px}
#employeeNav.supervisorNav .supervisorTabLabel{display:flex;align-items:flex-start;justify-content:center;min-height:29px;max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal;text-align:center}
body:has(#employeeNav.supervisorNav) #employeeApp{padding-bottom:calc(130px + env(safe-area-inset-bottom))}
#employeeNav.ownerNav.primaryDock.supervisorNav.menuHidden{height:calc(36px + env(safe-area-inset-bottom));padding:0}
@media(max-width:360px){#employeeNav.ownerNav.primaryDock.supervisorNav{padding-left:3px;padding-right:3px}#employeeNav.ownerNav.primaryDock.supervisorNav .ownerMenuPanel{gap:2px}#employeeNav.ownerNav.primaryDock.supervisorNav .ownerMenuPanel>button{font-size:11px;padding-left:0;padding-right:0}}

.assignedCheckActions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.assignedCheckActions>button{min-height:44px;margin:0}.assignedCheckActions>.primary{margin-left:auto}.assignedCheckNotes[hidden]{display:none}

.assignedNotesDialog{padding:0 16px 16px;max-height:88dvh}.assignedNotesHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;background:white;z-index:1;padding:14px 0}.assignedNotesHeader h2{font-size:1.1rem;margin:0}.assignedNotesHeader button{flex-shrink:0;min-height:44px}.assignedNotesDialog .visitPreparation{margin:0}

.meetupBoard.scheduleTeamBoard{display:flex;flex-direction:column;gap:5px;overflow-x:hidden;align-items:stretch;margin:6px 0 0;padding:0;scroll-snap-type:none}.mapScheduleTeamRow{display:grid;grid-template-columns:86px minmax(0,1fr);align-items:center;gap:6px;padding:4px 5px;border:1px solid #d5e0e8;border-left:4px solid var(--team,#789);border-radius:8px;background:color-mix(in srgb,var(--team,#789) 8%,white);min-width:0}.mapScheduleTeamName{font-size:12px;line-height:1.2;overflow-wrap:anywhere}.mapScheduleHouseLane{display:flex;align-items:center;gap:6px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.mapScheduleHouseLane .mapScheduleHouse{flex:0 0 auto;white-space:nowrap;min-height:44px;padding:6px 9px;font-size:12px;margin:0}.mapScheduleHouseLane>.muted{white-space:nowrap;font-size:12px}

.supervisorHouse.assignedCheck{border:2px solid var(--assigned-team,#7893a4);border-left-width:5px;background:color-mix(in srgb,var(--assigned-team,#7893a4) 8%,white)}

.assignedArrivalGoal{display:flex;flex-direction:column;gap:3px;padding:8px 10px;margin:8px 0;background:#edf5fb;border-radius:8px;color:#163e59}.assignedArrivalGoal strong{font-size:14px}.assignedArrivalGoal small{font-size:12px;color:#476176}

.assignedArrivalGoal{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:10px}.assignedArrivalGoal>div{display:flex;flex-direction:column;gap:3px}.assignedCheckStatus{padding:6px 9px;border-radius:6px;font-weight:700;margin:6px 0;background:#eaf3fc}.assignedCheckStatus.late{background:#fff0cf;color:#825000}.assignedCheckStatus.finished{background:#ffe1dc;color:#8b2922}.assignedCheckStatus.complete{background:#dcf3e2;color:#216634}.assignedCheckEstimate{display:block;color:#825000}

/* Company logo and white name, including employee and supervisor headers. */
.employeeHeader .phoneBrand{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.phoneBrand>div{min-width:0}.phoneBrandLogo{width:42px;height:42px;object-fit:contain;box-sizing:border-box;padding:3px;background:#fff;border-radius:8px;flex:none}.employeeHeader .phoneBrand .eyebrow{display:block;color:#fff;font-size:11px;letter-spacing:.05em;max-width:none}.login>.eyebrow{display:flex;align-items:center;gap:12px;background:#123a58;color:#fff;border-radius:12px;padding:12px;letter-spacing:.04em}.loginLogo{width:64px;height:64px;padding:5px;box-sizing:border-box;object-fit:contain;background:#fff;border-radius:8px;flex:none}

/* Employee header: logo only, aligned with the team identity row. */
.employeePhone .employeeHeader .phoneBrand .eyebrow{display:none}.employeePhone .employeeHeader .phoneBrand{align-items:flex-end}.employeePhone .phoneBrandLogo{width:52px;height:52px;padding:4px}

.employeeScheduleHeld dialog{visibility:hidden!important;pointer-events:none!important}.employeeScheduleHeld dialog::backdrop{background:transparent!important;pointer-events:none!important}

/* Crew header: own schedule nickname first; wrap without clipping. */
.employeeDayIdentity{display:grid;gap:5px;width:100%}
.employeeTeamIdentity{display:flex;align-items:baseline;gap:7px;min-width:0}
.employeeTeamIdentity .employeeTeamPill{flex:none;white-space:nowrap}
.employeeTeamMembers{min-width:0;color:#f0f6fa;font-size:14px;line-height:1.4;font-weight:400;overflow-wrap:anywhere}
.employeeTeamMember{display:inline-block;max-width:100%;font-weight:400;vertical-align:top}
.employeePhone.employeeDayView .employeeHeader .employeeTeamSelf{display:inline-block;font-size:inherit;line-height:inherit;font-weight:750}
