/* 070 workspace changes do not target service forms or reports. */
.login-other-070{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--border);border-radius:9px;font-weight:650;text-decoration:none;margin-top:14px;background:var(--surface-muted);color:var(--accent)}
.technician-picker-070{border:1px solid var(--border);border-radius:12px;padding:14px;margin:18px 0;background:var(--surface)}
.technician-picker-070 legend{font-weight:700;padding:0 6px}.technician-cards-070{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:9px;max-width:800px}
.technician-card-070{display:flex;flex-direction:row;align-items:center;gap:10px;padding:12px;border:2px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);cursor:pointer;margin:0;min-height:66px}
.technician-card-070 input{width:19px;height:19px;min-height:19px;padding:0;flex:0 0 19px;margin:0;accent-color:var(--accent)}
.technician-card-070 strong,.technician-card-070 small{display:block}.technician-card-070 small{color:var(--muted);margin-top:2px;font-size:12px}
.technician-card-070.selected{border-color:var(--accent);background:var(--surface-muted)}.technician-card-070:focus-within{outline:3px solid var(--focus);outline-offset:2px}
.technician-check-070{margin-left:auto;color:var(--accent);visibility:hidden}.technician-card-070.selected .technician-check-070{visibility:visible}
.technician-summary-070{margin:10px 0 0;font-size:13px}.staff-unavailable-070{border-left:3px solid var(--warning);padding-left:10px}
.completed-toolbar-070{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.completed-toolbar-070 label{display:flex;gap:8px;align-items:center;margin:0}.completed-toolbar-070 input{width:auto}.completed-page-070 .job-list-filters{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.completed-choice-070{display:flex;align-items:center;gap:8px;color:var(--text)}.completed-choice-070 input{width:20px;height:20px;margin:0}.order-completed-link-070{margin:6px 0 12px}
.assignment-statuses{flex-wrap:wrap}
.elapsed-070{border-top:1px solid var(--border);margin:12px 0 0;padding-top:10px;color:var(--text)}.elapsed-070 dl{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 4px}.elapsed-070 dt{font-size:11px;font-weight:700;letter-spacing:.06em}.elapsed-070 dd{margin:0;font-size:14px;font-weight:700}.elapsed-070 small{display:block;color:var(--muted);font-size:11px}.elapsed-070 p{font-size:12px;margin:6px 0}
.municipal-preview-070{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:16px;margin:14px 0}.municipal-preview-070 h3{margin:0 0 8px}.municipal-preview-070 ul{padding-left:22px}.municipal-preview-070 .municipal-actions-070{display:flex;gap:8px;flex-wrap:wrap}.municipal-preview-070 [role=status]{color:var(--muted)}
.customer-row-063.selected-070{border-left:4px solid var(--success)}.customer-selected-070{color:var(--success);font-weight:700;font-size:12px}.customer-direct-070 .facility-open{font-size:13px}
.order-remaining-070{display:inline-flex;gap:6px;align-items:center}.order-remaining-070>small{font-size:12px;color:var(--muted)}
.order-panel-061 .order-customers{container-type:inline-size;container-name:order-customers-070}
.order-panel-061 .stop-actions-061:empty{display:none}
@container order-customers-070 (max-width:360px){
 .order-panel-061 .order-customers .stop{grid-template-columns:minmax(0,1fr)}
 .order-panel-061 .order-customers .stop-select{grid-row:auto;min-width:0;max-width:100%}
 .order-panel-061 .order-customers .stop :is(.stop-state,.phone-link){justify-self:start;white-space:normal;overflow-wrap:anywhere;max-width:100%}
}
html[data-theme=dark][data-layout] .customer-details-063 .facility-open{background:var(--surface-muted)!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme=dark][data-layout] .customer-details-063 .facility-open[aria-pressed=true]{background:#174334!important;color:var(--success)!important;border-color:#53896a!important}
#mobile-menu-070{display:none}.order-view-tabs-070{display:none}.stop.selected{outline:2px solid var(--success);outline-offset:-2px}
html[data-layout=mobile] body[data-auth=signed-in]>header{grid-template-columns:52px minmax(0,1fr) auto;gap:5px 10px;padding:9px 14px;max-width:none}
html[data-layout=mobile] body[data-auth=signed-in]>header>img{width:52px;height:44px;min-height:44px}
html[data-layout=mobile] body[data-auth=signed-in]>header #mobile-menu-070{display:block;grid-column:3;grid-row:1;padding:8px 12px;min-height:42px;margin:0;font-size:13px}
html[data-layout=mobile] body[data-auth=signed-in]>header #logout{grid-row:4;grid-column:1/-1;justify-self:start;margin-top:8px}
html[data-layout=mobile] body[data-auth=signed-in]>header #navigation{grid-row:3}
html[data-layout=mobile][data-menu-open=false] body[data-auth=signed-in]>header #navigation,html[data-layout=mobile][data-menu-open=false] body[data-auth=signed-in]>header #logout{display:none!important}
html[data-layout=mobile] body[data-auth=signed-in]>header #account-summary{grid-row:2;font-size:11px;padding:0}

html[data-layout=mobile] .order-view-tabs-070{display:flex;gap:6px;margin:10px 0}
html[data-layout=mobile] .order-workspace[data-view=list]>.order-map-section,html[data-layout=mobile] .order-workspace[data-view=map]>.order-customers{display:none}
html[data-layout=mobile] .order-panel-061 .stop{padding:9px;margin:7px 0}.order-panel-061 .stop-select{min-width:0}
html[data-layout=mobile] .order-panel-061 .stop-select{gap:2px;padding:4px 0}.order-panel-061 .stop-select strong{line-height:1.3}
html[data-layout=mobile] .order-panel-061 .stop-select small{font-size:12px}
html[data-layout=mobile] .order-panel-061 .office-note{font-size:12px;margin:5px 0}
html[data-layout=mobile] .order-panel-061 #sync{font-size:10px}
.order-information-070{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:start;margin:8px 0}
.order-information-070>details{margin:0;font-size:13px}.order-information-070>details[open]{flex-basis:100%;order:1}
.order-information-070>details>summary{padding:9px 0;min-height:36px}.order-information-070>details[open]>summary{font-weight:700}
html[data-layout=mobile] body[data-page=order] .portal-top{gap:5px;margin-bottom:10px;padding-bottom:8px}
html[data-layout=mobile] body[data-page=order] .portal-preferences{gap:8px;justify-content:flex-start;flex-wrap:nowrap}
html[data-layout=mobile] body[data-page=order] .portal-preferences .test-badge{display:none}
html[data-layout=mobile] body[data-page=order] .portal-preferences label{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0;font-size:11px}
html[data-layout=mobile] body[data-page=order] .portal-preferences select{min-height:38px;padding:7px;width:auto;font-size:12px;margin:0}
html[data-layout=mobile] .order-panel-061 .order-heading-061{margin:0 0 8px}
html[data-layout=mobile] .order-panel-061 .order-heading-061 h2{font-size:18px}
html[data-layout=mobile] .order-panel-061 .order-toolbar-061{margin:5px 0;gap:6px}
html[data-layout=mobile] .order-panel-061 .order-toolbar-061 #sync{padding:4px 0;background:transparent;border:0;max-width:190px}
html[data-layout=mobile] .order-panel-061 .order-information-070{gap:0 13px;margin:3px 0}
html[data-layout=mobile] .order-panel-061 .order-information-070>details{font-size:12px}
html[data-layout=mobile] .order-panel-061 .order-information-070>details>summary{padding:6px 0}
html[data-layout=mobile] .order-panel-061 #order-status{margin-top:6px}
html[data-layout=mobile] .order-panel-061 #order-status>p{margin-bottom:7px;font-size:12px}
html[data-layout=mobile] .order-panel-061 .order-customers>h3{font-size:16px;margin:10px 0}
@media(orientation:landscape) and (min-width:560px){
 html[data-layout=mobile] body>main{max-width:none}
 html[data-layout=mobile] .order-workspace,html[data-layout=mobile] .directory-workspace{display:grid;grid-template-columns:minmax(220px,.95fr) minmax(280px,1.1fr);align-items:start;gap:14px}
 html[data-layout=mobile] .order-workspace>.order-customers,html[data-layout=mobile] .order-workspace>.order-map-section,html[data-layout=mobile] .directory-workspace>.directory-list,html[data-layout=mobile] .directory-workspace>.directory-map{display:block!important;margin-top:0;min-width:0}
 html[data-layout=mobile] .order-view-tabs-070,html[data-layout=mobile] .directory-tabs{display:none}
 html[data-layout=mobile] .order-map-section #order-map{height:65vh!important;min-height:240px}
}

/* 072: the single production login action keeps readable theme colours. */
html[data-theme=dark][data-layout] .login-choice-062 :is(strong,.login-choice-arrow-062){color:var(--accent)}
html[data-theme=dark][data-layout] .login-choice-icon-062{background:var(--surface-muted);color:var(--accent)}
body[data-auth=login] #navigation button::before{content:none}
/* 072: weekly follow-up keeps warning contrast in the dark dashboard. */
html[data-theme=dark][data-layout] .weekly-followup{background:#473b23;color:var(--warning);border-color:#8c7547}
html[data-theme=dark][data-layout] .weekly-followup :is(strong,p){color:var(--warning)}
/* 073: keep complete shortcut labels readable when forced PC cards become narrow. */
.home-shortcut{flex-wrap:wrap}
.home-shortcut>strong{min-width:min-content}
/* 084: align only the two top view/theme controls, including mobile order view. */
html[data-layout] body[data-auth=signed-in] .portal-top .portal-preferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:332px;max-width:100%;align-items:start;gap:8px 12px}
html[data-layout] body[data-auth=signed-in] .portal-top .portal-preferences .display-mode-control{width:auto;min-width:0}
html[data-layout] body[data-auth=signed-in] .portal-top .portal-preferences .theme-control-065{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:6px 8px;min-width:0}
html[data-layout] body[data-auth=signed-in] .portal-top .portal-preferences :is(.display-mode-control,.theme-control-065>label){display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0;font-size:12px;line-height:18px}
html[data-layout] body[data-auth=signed-in] .portal-top .portal-preferences label>span{font-size:12px;line-height:18px}
html[data-layout] body[data-auth=signed-in] .portal-top .portal-preferences select{width:100%;min-width:0;max-width:none;height:48px;min-height:48px;margin:0;padding:10px;font-size:14px;line-height:1.3}
html[data-layout] body[data-auth=signed-in] .portal-top .portal-preferences .theme-status-065{grid-column:1/-1;margin:0;font-size:12px;line-height:18px}
html[data-layout] body[data-auth=signed-in] .portal-top .portal-preferences .theme-control-065>button{align-self:end;min-height:48px}
@media(max-width:700px){
 html[data-layout] body[data-auth=signed-in] .portal-top .portal-preferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px 12px}
 html[data-layout] body[data-auth=signed-in] .portal-top .portal-preferences .display-mode-control{width:auto}
}
.workspace-mode-control-093{display:flex;flex-direction:column;gap:4px;max-width:230px;}
.workspace-mode-control-093 label{display:flex;flex-direction:column;gap:4px;margin:0;font-size:12px;}
.workspace-mode-control-093 select{min-height:40px;max-width:100%;}
.workspace-mode-control-093 p{font-size:11px;line-height:1.35;margin:0;color:var(--muted,#526c80);}
@media(max-width:600px){.workspace-mode-control-093{grid-column:1/-1;width:100%;max-width:none;}.workspace-mode-control-093 label{flex-direction:row;align-items:center;justify-content:space-between;gap:10px;}.workspace-mode-control-093 select{flex:1;min-width:190px;max-width:220px;}}
