/* Premium system: neutral surfaces, explicit action hierarchy, spacious desktop / compact field work. */
html[data-theme="light"]:root{--bg:#f7f7f5!important;--surface:#fff!important;--soft:#f0f0ed!important;--text:#202124!important;--muted:#61646b!important;--green:#3c506d!important;--green2:#3c506d!important;--mint:#eaf0f7!important;--border:#dedfdf!important;--line:#e3e4e4!important;--white:#fff!important;--danger:#b7353e!important;--shadow:0 2px 5px #17171703!important;--shadow-sm:0 1px 3px #17171705!important;--action:#24272c;--action-text:#fff;--sidebar:#efefed;--accent:#416a9a;--focus:#3c78bd}
html[data-theme="dark"]:root{--bg:#141416!important;--surface:#1b1c1f!important;--soft:#25262a!important;--text:#f0f0f1!important;--muted:#adafb6!important;--green:#b5c9e3!important;--green2:#b5c9e3!important;--mint:#283445!important;--border:#35363c!important;--line:#33343a!important;--white:#1b1c1f!important;--danger:#ff939a!important;--shadow:0 2px 5px #00000010!important;--shadow-sm:0 1px 3px #00000015!important;--action:#e9e9ec;--action-text:#202126;--sidebar:#18191b;--accent:#9fbbdd;--focus:#91bfff}
html[data-theme] body.premium-os{font-size:14px!important;-webkit-font-smoothing:antialiased!important}
html[data-theme] body.premium-os :is(button,a,input,select,textarea,summary,[tabindex="0"]):focus-visible{outline:3px solid var(--focus)!important;outline-offset:3px!important}
html[data-theme] body.premium-os :is(button.primary,button.success,.primary,.success,.occ-head-add){background:var(--action)!important;color:var(--action-text)!important;font-weight:600!important;border-radius:8px!important}
html[data-theme] body.premium-os :is(button,a){transition:background-color .14s ease,border-color .14s ease,opacity .14s ease}
html[data-theme] body.premium-os :is(.panel,.occ-card,.schedule-board,.schedule-side-card,.stat,.schedule-kpi,.finance-stat,.growth-hero,.login-card){border-radius:12px!important;box-shadow:var(--shadow)!important}
html[data-theme] body.premium-os :is(.sub,.muted,.field-help){font-size:13px!important}
html[data-theme] body.premium-os :is(.lead,.customer-row,.estimate-row) strong{font-size:14px!important;font-weight:600!important}
html[data-theme] body.premium-os :is(.lead,.customer-row,.estimate-row){padding:19px 20px!important}
html[data-theme] body.premium-os :is(.topbar,.mobile-app-nav){background:var(--sidebar)!important}
html[data-theme] body.premium-os .topbar{width:232px!important;padding:24px 14px 14px!important;border-right:1px solid var(--line)!important}
html[data-theme] body.premium-os .brand{padding:0 10px 22px!important;gap:10px!important}
html[data-theme] body.premium-os .logo{background:var(--action)!important;color:var(--action-text)!important;border-radius:10px!important;border:0!important;font-weight:600!important;box-shadow:none!important}
html[data-theme] body.premium-os .tabs{gap:3px!important}
html[data-theme] body.premium-os .tab{min-height:39px!important;font-size:13px!important;font-weight:500!important;border-radius:7px!important;padding:8px 11px!important}
html[data-theme] body.premium-os .tab.active{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important;box-shadow:0 1px 3px #00000008!important}
html[data-theme] body.premium-os .os-nav-label{font-size:10px!important;letter-spacing:.09em!important;text-transform:uppercase!important;margin-top:20px!important;color:var(--muted)!important}
html[data-theme] body.premium-os .os-nav-icon{color:var(--muted)!important}
html[data-theme] body.premium-os #appView.app{margin-left:232px!important;width:calc(100% - 232px)!important;padding:28px clamp(20px,3vw,52px) 48px!important}
html[data-theme] body.premium-os .hero{min-height:64px!important;border-bottom:1px solid var(--line)!important;padding-bottom:22px!important;margin-bottom:26px!important;gap:20px!important}
html[data-theme] body.premium-os .hero h1{font-size:22px!important;letter-spacing:-.04em!important}
.premium-header-actions{display:flex;gap:10px;align-items:center;min-width:0}
html[data-theme] body.premium-os .premium-header-actions .occ-search{position:relative!important;display:flex!important;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:0 10px!important;background:var(--surface)!important;width:230px;margin:0!important}
html[data-theme] body.premium-os .premium-header-actions #occSearchInput{border:0!important;background:transparent!important;margin:0!important;padding:10px 0!important;font-size:13px!important}
.premium-header-actions kbd{white-space:nowrap}
html[data-theme] body.premium-os #ownerCommandCenter{gap:24px!important}
html[data-theme] body.premium-os #ownerCommandCenter .occ-v108-greeting>h2{font-size:29px!important;font-weight:600!important;letter-spacing:-.04em!important}
html[data-theme] body.premium-os #occDateLine{font-size:13px!important;margin-top:8px!important}
html[data-theme] body.premium-os .premium-work-grid{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:20px;align-items:start}
html[data-theme] body.premium-os #ownerCommandCenter .occ-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--line)!important;border-radius:12px;overflow:hidden;background:var(--surface)!important}
html[data-theme] body.premium-os #ownerCommandCenter .occ-kpis>*{border:0!important;border-right:1px solid var(--line)!important;border-radius:0!important;background:none!important;box-shadow:none!important;padding:20px!important;min-height:110px!important}
html[data-theme] body.premium-os #ownerCommandCenter .occ-kpis>:last-child{border-right:0!important}
html[data-theme] body.premium-os #ownerCommandCenter .occ-kpis strong{font-size:27px!important;font-weight:600!important;font-variant-numeric:tabular-nums;color:var(--text)!important}
html[data-theme] body.premium-os #ownerCommandCenter .os-home-today{padding:0!important;border:1px solid var(--line)!important;overflow:hidden}
html[data-theme] body.premium-os .today-command-head{padding:20px!important;border-bottom:1px solid var(--line)!important;flex-wrap:wrap;gap:10px!important}
html[data-theme] body.premium-os #todayHeading{font-size:18px!important}
html[data-theme] body.premium-os .today-jobs{padding:0 18px 12px!important}
html[data-theme] body.premium-os .today-job{background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;padding:20px 0!important;box-shadow:none!important}
html[data-theme] body.premium-os .today-job:last-child{border-bottom:0!important}
html[data-theme] body.premium-os .today-job-top strong{font-size:17px!important;font-weight:600!important}
html[data-theme] body.premium-os .today-stop span{background:var(--soft)!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:9px!important}
html[data-theme] body.premium-os .today-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:14px!important}
html[data-theme] body.premium-os .today-actions button{min-height:44px!important;font-size:12px!important;padding:9px 12px!important}
html[data-theme] body.premium-os .today-actions .today-start{background:var(--action)!important;color:var(--action-text)!important;border-color:var(--action)!important}
html[data-theme] body.premium-os .today-actions .today-complete{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme] body.premium-os #ownerCommandCenter .occ-attention-card{padding:20px!important}
html[data-theme] body.premium-os .os-upcoming{display:grid!important;grid-template-columns:1fr 1fr!important;gap:20px!important}
html[data-theme] body.premium-os .os-home-details{padding:0!important;border:0!important;background:none!important}
html[data-theme] body.premium-os .os-home-details>summary{padding:14px 0!important;border-top:1px solid var(--line);font-size:14px!important}
html[data-theme] body.premium-os .os-home-details>summary span{color:var(--muted);font-size:12px;font-weight:400}
html[data-theme] body.premium-os .occ-v107-bottom{margin-top:16px!important}
.premium-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px}
html[data-theme] body.premium-os .premium-filters button{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:7px;padding:9px 13px;min-height:40px;font-size:12px;font-weight:600}
html[data-theme] body.premium-os .premium-filters button[aria-pressed="true"]{background:var(--soft);color:var(--text);border-color:var(--muted)}
.premium-schedule-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(140px,220px);gap:12px;margin-bottom:18px;align-items:end}
.premium-schedule-filters label{margin:0!important}
#premiumScheduleResult:empty{display:none}
#premiumScheduleResult{color:var(--muted);font-size:12px;grid-column:1/-1}
html[data-theme] body.premium-os .schedule-page-head>div:first-child{display:none!important}
html[data-theme] body.premium-os .schedule-day-head{background:var(--soft)!important;color:var(--text)!important;padding:16px 18px!important}
html[data-theme] body.premium-os .scheduled-job{background:var(--surface)!important;padding:20px!important;border-color:var(--line)!important}
html[data-theme] body.premium-os .schedule-customer{font-size:15px!important;font-weight:600!important}
html[data-theme] body.premium-os .schedule-job-status-rail{background:var(--accent)!important;width:3px!important}
html[data-theme] body.premium-os .schedule-projected .schedule-job-status-rail{background:var(--muted)!important}
html[data-theme] body.premium-os .schedule-job-details{line-height:1.8!important}
html[data-theme] body.premium-os .premium-kind{font-size:11px!important;letter-spacing:.02em;border:1px solid var(--line);border-radius:5px;padding:2px 6px;color:var(--accent)!important;background:var(--mint)!important}
html[data-theme] body.premium-os .range.active,html[data-theme] body.premium-os .schedule-mode.active{background:var(--action)!important;color:var(--action-text)!important}
html[data-theme] body.premium-os dialog{border:1px solid var(--line)!important;box-shadow:0 24px 90px #0004!important;border-radius:16px!important}
html[data-theme] body.premium-os dialog::backdrop{background:#08090c80!important;backdrop-filter:blur(3px)}
html[data-theme] body.premium-os .os-fieldset{border-color:var(--line)!important}
html[data-theme] body.premium-os .os-fieldset legend{font-size:13px!important;font-weight:600!important;letter-spacing:0!important}
.premium-skip{position:fixed;top:-80px;left:250px;z-index:99999;padding:12px 18px;background:var(--surface);color:var(--text);border:1px solid var(--line)}
.premium-skip:focus{top:10px}
@media(min-width:1500px){html[data-theme] body.premium-os #appView.app{max-width:1700px!important}}
@media(max-width:1100px){html[data-theme] body.premium-os .premium-work-grid{grid-template-columns:1fr!important}.premium-header-actions .occ-search{max-width:200px}.premium-header-actions kbd{display:none}}
@media(max-width:760px){
html[data-theme] body.premium-os #appView.app{margin:0!important;width:100%!important;padding:18px 16px calc(100px + env(safe-area-inset-bottom))!important}
html[data-theme] body.premium-os .topbar{display:none!important}
html[data-theme] body.premium-os .hero{display:flex!important;flex-wrap:wrap!important;gap:14px!important;margin-bottom:22px!important;padding-bottom:18px!important}
html[data-theme] body.premium-os .hero>div:first-child{flex:1}
html[data-theme] body.premium-os .hero #pageSub{display:none!important}
html[data-theme] body.premium-os .premium-header-actions{display:flex!important;width:100%;gap:8px}
html[data-theme] body.premium-os .premium-header-actions .occ-search{flex:1;width:auto;max-width:none;min-width:0}
html[data-theme] body.premium-os #refreshBtn{min-width:44px!important;padding:10px!important}
html[data-theme] body.premium-os #ownerCommandCenter{gap:18px!important}
html[data-theme] body.premium-os #ownerCommandCenter .occ-v108-greeting>h2{font-size:25px!important}
html[data-theme] body.premium-os #ownerCommandCenter .occ-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-theme] body.premium-os #ownerCommandCenter .occ-kpis>*{padding:16px!important;min-height:99px!important;border-bottom:1px solid var(--line)!important}
html[data-theme] body.premium-os #ownerCommandCenter .occ-kpis>:nth-child(2n){border-right:0!important}
html[data-theme] body.premium-os #ownerCommandCenter .occ-kpis>:nth-last-child(-n+2){border-bottom:0!important}
html[data-theme] body.premium-os #ownerCommandCenter .occ-kpis strong{font-size:24px!important}
html[data-theme] body.premium-os .premium-work-grid{display:flex!important;flex-direction:column!important;gap:18px}
.premium-work-grid>*{width:100%}
html[data-theme] body.premium-os .today-command-head{padding:16px!important}
html[data-theme] body.premium-os .today-jobs{padding:0 14px 6px!important}
html[data-theme] body.premium-os .today-actions{display:grid!important;grid-template-columns:1fr 1fr!important}
html[data-theme] body.premium-os .today-actions button{width:100%!important;min-width:0!important}
html[data-theme] body.premium-os .os-upcoming{grid-template-columns:1fr!important}
html[data-theme] body.premium-os .premium-filters button{min-height:44px!important}
html[data-theme] body.premium-os :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){font-size:16px!important}
html[data-theme] body.premium-os .premium-schedule-filters{grid-template-columns:1fr!important}
html[data-theme] body.premium-os .schedule-head-actions{display:flex!important;flex-wrap:wrap;gap:8px;width:100%}
html[data-theme] body.premium-os .schedule-head-actions button{flex:1;min-height:44px!important}
html[data-theme] body.premium-os .schedule-overview{grid-template-columns:1fr 1fr!important}
html[data-theme] body.premium-os .mobile-app-nav{display:grid!important;border-top:1px solid var(--line)!important;box-shadow:0 -4px 16px #00000008!important;padding-bottom:env(safe-area-inset-bottom)!important}
html[data-theme] body.premium-os .mobile-nav-btn{color:var(--muted)!important;min-height:64px!important}
html[data-theme] body.premium-os .mobile-nav-btn.active{color:var(--text)!important;background:var(--soft)!important}
html[data-theme] body.premium-os .mobile-add svg{background:var(--action)!important;color:var(--action-text)!important;border-radius:10px!important}
html[data-theme] body.premium-os dialog{max-height:calc(100dvh - 16px)!important;border-radius:18px 18px 0 0!important}
html[data-theme] body.premium-os .scheduled-job{padding:16px!important}
html[data-theme] body.premium-os .schedule-job-name{flex-wrap:wrap!important}
.premium-skip{left:16px}
}
@media(prefers-reduced-motion:reduce){html[data-theme] body.premium-os *,html[data-theme] body.premium-os *::before,html[data-theme] body.premium-os *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Visibility wins over legacy display declarations, including filtered records. */
html[data-theme] body.premium-os #appView.app [hidden],html[data-theme] body.premium-os #ownerCommandCenter .occ-v107-top[hidden],html[data-theme] body.premium-os #ownerCommandCenter .occ-v108-head-tools[hidden]{display:none!important}
@media(max-width:760px){
html[data-theme] body.premium-os #ownerCommandCenter>.occ-v108-head{order:0}
html[data-theme] body.premium-os #ownerCommandCenter>.premium-work-grid{order:1}
html[data-theme] body.premium-os #ownerCommandCenter>#occKpis{order:2}
html[data-theme] body.premium-os #ownerCommandCenter>.os-upcoming{order:3}
html[data-theme] body.premium-os #ownerCommandCenter>.os-home-details{order:4}
}
@media(min-width:761px) and (max-width:1150px){
html[data-theme] body.premium-os .hero{flex-wrap:wrap!important}
html[data-theme] body.premium-os .premium-header-actions{flex:1 1 100%;width:100%}
html[data-theme] body.premium-os .premium-header-actions .occ-search{flex:1;max-width:none;width:auto}
html[data-theme] body.premium-os #ownerCommandCenter .occ-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-theme] body.premium-os .os-upcoming{grid-template-columns:1fr!important}
}
/* Task workspaces: one company system with distinct record and decision surfaces. */
html[data-theme] body.premium-os .workspace-intro{display:flex;gap:12px;align-items:center;margin:0 0 22px;padding:0!important}
.workspace-mark{width:42px;height:42px;display:grid;place-items:center;background:var(--soft);border:1px solid var(--line);border-radius:12px;color:var(--accent);flex:none}
.workspace-mark svg,.workspace-empty svg,.workspace-tool-mark svg,.workspace-alert-button svg{width:21px;height:21px}
.workspace-intro>div>span{display:block;color:var(--muted);font-size:11px;font-weight:650;letter-spacing:.08em;text-transform:uppercase}
.workspace-intro p{margin:4px 0 0;font-size:14px;color:var(--text);line-height:1.5}
html[data-theme] body.premium-os :is(.workspace-sections,.workspace-mode){display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:0 0 18px;padding:0!important;background:none!important;min-width:0}
html[data-theme] body.premium-os .workspace-sections{border-bottom:1px solid var(--line);padding-bottom:10px!important;margin-bottom:22px}
html[data-theme] body.premium-os :is(.workspace-sections,.workspace-mode)>button{min-height:42px;padding:10px 15px;border-radius:8px;background:transparent;border:1px solid transparent;color:var(--muted);font-size:13px;font-weight:600;white-space:normal}
html[data-theme] body.premium-os :is(.workspace-sections,.workspace-mode)>button[aria-pressed="true"]{background:var(--surface);border-color:var(--line);color:var(--text);box-shadow:0 1px 3px #00000008}
html[data-theme] body.premium-os .workspace-pane{display:flex;flex-direction:column;gap:20px;min-width:0}
html[data-theme] body.premium-os .workspace-pane>*{margin:0!important}
html[data-theme] body.premium-os .workspace-view>.page-intro:not(.map-page-intro){display:none!important}
html[data-theme] body.premium-os :is(#leadsList,#estimatesList){padding:16px!important;display:flex;flex-direction:column;gap:12px}
html[data-theme] body.premium-os .workspace-record{display:flex;flex-direction:column;gap:15px;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:20px;min-width:0;box-shadow:0 1px 4px #00000003;overflow-wrap:anywhere}
html[data-theme] body.premium-os .workspace-record-head{display:flex;align-items:flex-start;gap:11px;min-width:0}
.workspace-avatar{width:38px;height:38px;background:var(--soft);border:1px solid var(--line);color:var(--muted);border-radius:11px;display:grid;place-items:center;flex:none;font-weight:650;font-size:12px}
.workspace-record-head>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.workspace-record-head>div>span{font-size:13px;color:var(--muted);line-height:1.5}
html[data-theme] body.premium-os .workspace-record-head>div>.workspace-action{background:transparent!important;border:0!important;padding:0!important;min-height:26px!important;justify-content:flex-start!important;font-size:16px!important;color:var(--text)!important;font-weight:650!important;text-align:left!important;line-height:1.35!important}
html[data-theme] body.premium-os .workspace-status{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:6px;background:var(--soft);color:var(--muted);font-size:11px;font-weight:650;padding:4px 7px;flex:none;max-width:140px;line-height:1.4;text-align:center}
html[data-theme] body.premium-os .workspace-status:is([data-status="Accepted"],[data-status="Won"],[data-status="Active"],[data-status="Scheduled"],[data-status="Completed"]){color:var(--accent);background:var(--mint);border-color:transparent}
html[data-theme] body.premium-os .workspace-status:is([data-status="Overdue"],[data-status="Lost"],[data-status="Declined"]){color:var(--danger);background:var(--soft)}
html[data-theme] body.premium-os .workspace-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;min-height:42px;font-size:12px;font-weight:600;text-decoration:none!important;border-radius:8px;border:1px solid var(--line);background:var(--surface);color:var(--text);line-height:1.4}
html[data-theme] body.premium-os .workspace-action:hover{background:var(--soft)}
html[data-theme] body.premium-os .workspace-action-primary{background:var(--action)!important;color:var(--action-text)!important;border-color:var(--action)!important}
html[data-theme] body.premium-os .workspace-record footer{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:13px;margin-top:auto}
.workspace-service{margin:0;font-size:14px;line-height:1.6;color:var(--text)}
.workspace-record-meta{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);line-height:1.5}
html[data-theme] body.premium-os #leadsList.workspace-pipeline{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;background:var(--bg);gap:12px;padding:16px}
.workspace-lane{min-width:0;display:flex;flex-direction:column;gap:10px}
.workspace-lane>header{display:flex;align-items:center;justify-content:space-between;padding:8px 3px 12px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}
.workspace-lane>header>span{background:var(--soft);padding:2px 7px;border-radius:5px}
.workspace-lane .workspace-record{padding:15px;gap:12px}
.workspace-lane .workspace-record-head{flex-wrap:wrap}
.workspace-lane .workspace-avatar{display:none}
.workspace-lane .workspace-record-meta{display:block}
.workspace-lane footer{display:grid!important;grid-template-columns:1fr}
.workspace-lane-empty{font-size:12px;color:var(--muted);padding:12px 3px}
html[data-theme] body.premium-os #customersList.workspace-account-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px!important}
.workspace-account-plan{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:14px}
.workspace-account-plan>strong{font-size:23px;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.workspace-account-plan small{font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0}
.workspace-account-plan>span{font-size:12px;color:var(--muted)}
.workspace-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0}
.workspace-facts>div{min-width:0}
.workspace-facts>div:last-child{grid-column:1/-1}
.workspace-facts dt{font-size:11px;color:var(--muted);margin-bottom:4px}
.workspace-facts dd{margin:0;font-size:13px;font-weight:550;line-height:1.5}
.workspace-facts .workspace-amount-due{color:var(--danger)}
html[data-theme] body.premium-os #estimatesList.workspace-quotes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.workspace-quote-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.workspace-overline{display:block;font-size:10px;letter-spacing:.07em;font-weight:650;color:var(--muted);text-transform:uppercase;line-height:1.5}
html[data-theme] body.premium-os .workspace-quote h3{margin:7px 0 5px;font-size:17px!important}
.workspace-quote-head p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}
.workspace-quote-amount{font-size:24px;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap}
.workspace-quote-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.workspace-quote-progress>span{border-top:3px solid var(--line);padding-top:8px;font-size:10px;color:var(--muted);line-height:1.4}
.workspace-quote-progress>.is-met{border-color:var(--accent);color:var(--text)}
.workspace-date{font-size:11px;color:var(--muted)}
.workspace-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:36px 24px;min-height:175px;color:var(--muted)}
.workspace-empty>span{display:grid;place-items:center;width:45px;height:45px;border-radius:12px;background:var(--soft);color:var(--muted)}
.workspace-empty>strong{font-size:15px;color:var(--text);font-weight:600}
.workspace-empty>p{font-size:13px;line-height:1.6;margin:0;max-width:350px}
html[data-theme] body.premium-os :is(.workspace-collections,.history-list){padding:0 18px!important}
html[data-theme] body.premium-os .workspace-collections .payment-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;gap:18px;padding:22px 0!important;border-bottom:1px solid var(--line)!important;background:transparent!important;border-radius:0!important}
html[data-theme] body.premium-os .workspace-collections .payment-row strong{font-size:16px!important;font-weight:600!important}
.workspace-aging{display:inline-flex;margin-top:7px;font-size:11px;color:var(--muted);background:var(--soft);border-radius:5px;padding:3px 6px}
html[data-theme] body.premium-os .workspace-month{font-size:12px!important;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)!important;padding:22px 0 8px;border-bottom:1px solid var(--line);margin:0}
html[data-theme] body.premium-os .history-visit{padding:20px 0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important}
html[data-theme] body.premium-os .history-pay{display:flex!important;gap:7px;flex-wrap:wrap}
html[data-theme] body.premium-os .history-delete-btn{font-size:11px!important;opacity:.85}
html[data-theme] body.premium-os :is(.growth-kpis,.finance-stats,#expenseStats){grid-template-columns:repeat(3,minmax(0,1fr))!important}
html[data-theme] body.premium-os :is(.growth-hero,.finance-hero){padding:24px!important;background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:13px!important;box-shadow:none!important}
html[data-theme] body.premium-os .growth-hero-number{border-left:1px solid var(--line)!important;background:none!important;padding-left:22px!important}
html[data-theme] body.premium-os .growth-hero-number strong{color:var(--text)!important;font-size:36px!important;font-weight:550!important}
html[data-theme] body.premium-os :is(.growth-bar-track i,.funnel-track i,.finance-bar i){background:var(--accent)!important;background-image:none!important;box-shadow:none!important}
html[data-theme] body.premium-os :is(.growth-bars,.customer-book,.growth-actions,.growth-funnel,.route-density){padding:18px!important}
html[data-theme] body.premium-os .growth-action-row{border:1px solid var(--line)!important;border-radius:10px!important;margin-bottom:9px!important;background:var(--surface)!important;padding:14px!important}
html[data-theme] body.premium-os .growth-action-index{background:var(--soft)!important;color:var(--muted)!important}
html[data-theme] body.premium-os .finance-tx-row{background:transparent!important;border-bottom:1px solid var(--line)!important;padding:17px 18px!important}
html[data-theme] body.premium-os .finance-tx-header{background:var(--soft)!important;color:var(--muted)!important;font-size:11px!important}
html[data-theme] body.premium-os .finance-account-card{border:1px solid var(--line)!important;border-radius:11px!important;padding:18px!important;background:var(--surface)!important;box-shadow:none!important}
html[data-theme] body.premium-os .finance-account-icon{background:var(--soft)!important;color:var(--text)!important}
html[data-theme] body.premium-os .workspace-cost-mix{border:1px solid var(--line);border-radius:13px;background:var(--surface);padding:20px;margin:0 0 20px!important}
.workspace-surface-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}
html[data-theme] body.premium-os .workspace-surface-head h3{font-size:15px!important;margin:0!important}
.workspace-surface-head>span{font-size:11px;color:var(--muted)}
.workspace-cost-row{margin:16px 0}
.workspace-cost-row>div{display:flex;justify-content:space-between;gap:15px;font-size:13px;margin-bottom:8px}
.workspace-cost-row>div>strong{font-weight:550}
.workspace-cost-row meter{display:block;width:100%;height:8px;border:0;border-radius:4px;overflow:hidden;background:var(--soft)}
.workspace-cost-row meter::-webkit-meter-bar{background:var(--soft);border:0}
.workspace-cost-row meter::-webkit-meter-optimum-value{background:var(--accent)}
.workspace-cost-row meter::-moz-meter-bar{background:var(--accent)}
html[data-theme] body.premium-os #equipmentList.workspace-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:18px!important}
.workspace-tool-mark{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--accent)}
html[data-theme] body.premium-os .workspace-tool h3{margin:7px 0 12px;font-size:19px!important}
.workspace-tool .workspace-facts{grid-template-columns:1fr}
.workspace-tool .workspace-action{margin-top:auto}
html[data-theme] body.premium-os .referral-card-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px!important}
html[data-theme] body.premium-os .referral-card{background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:13px!important;box-shadow:none!important;padding:20px!important}
html[data-theme] body.premium-os .referral-credit-chip{background:var(--soft)!important;color:var(--text)!important;font-size:23px!important;border-radius:10px!important}
html[data-theme] body.premium-os .referral-flow{background:var(--soft)!important;border-radius:9px!important;padding:14px!important}
html[data-theme] body.premium-os .feedback-list{padding:18px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html[data-theme] body.premium-os .feedback-card{padding:20px!important;border-radius:13px!important;box-shadow:none!important}
html[data-theme] body.premium-os .service-requests-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px!important}
html[data-theme] body.premium-os .service-request-card{display:flex!important;flex-direction:column!important;gap:16px!important;align-items:stretch!important;padding:20px!important;background:var(--surface)!important;border-radius:13px!important}
html[data-theme] body.premium-os .service-request-main>strong{font-size:17px!important;font-weight:600!important}
html[data-theme] body.premium-os .service-request-side{display:flex!important;justify-content:space-between!important;align-items:center!important;border-top:1px solid var(--line);padding-top:13px;gap:10px}
html[data-theme] body.premium-os .workspace-ai-workbench .ai-lead-card{border:1px solid var(--line)!important;border-radius:13px!important;background:var(--surface)!important;box-shadow:none!important;overflow:hidden}
html[data-theme] body.premium-os .ai-action{background:var(--soft)!important;border:1px solid var(--line)!important;border-radius:10px!important;padding:18px!important}
html[data-theme] body.premium-os .ai-action blockquote{background:var(--surface)!important;border-left:2px solid var(--accent)!important;color:var(--text)!important;padding:16px!important;font-size:14px!important;line-height:1.65!important}
html[data-theme] body.premium-os .workspace-reference{border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.workspace-reference>summary{padding:15px;font-size:12px;color:var(--muted);cursor:pointer;min-height:44px}
html[data-theme] body.premium-os .workspace-reference .schedule-legend{border:0!important}
html[data-theme] body.premium-os .schedule-board-head{padding:20px!important}
html[data-theme] body.premium-os .schedule-day{border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;margin:0!important;overflow:visible!important}
html[data-theme] body.premium-os .schedule-date-block{min-width:85px}
html[data-theme] body.premium-os .schedule-date-block>strong{font-size:20px!important;font-weight:600!important}
html[data-theme] body.premium-os :is(.premium-map-panel,.map-side-panel){overflow:hidden;border-radius:13px!important}
html[data-theme] body.premium-os .big-map{height:530px!important;min-height:400px!important}
html[data-theme] body.premium-os .workspace-route-book{padding:20px!important;margin-top:20px!important}
.workspace-route-customer{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:18px 0;min-width:0}
.workspace-route-customer>div{flex:1;min-width:0}
.workspace-route-customer strong{font-size:14px;font-weight:600}
.workspace-route-customer p{margin:4px 0;font-size:13px;color:var(--muted)}
.workspace-route-customer small{font-size:11px;color:var(--muted)}
html[data-theme] body.premium-os .rm-now{display:grid!important;grid-template-columns:1.4fr 1fr!important;background:var(--surface)!important;border:1px solid var(--line)!important;padding:24px!important;color:var(--text)!important;border-radius:13px!important}
html[data-theme] body.premium-os .workspace-live-book h2{font-size:36px!important;margin:12px 0 8px!important;color:var(--text)!important}
.workspace-live-book h2 small{font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted)}
.workspace-live-book p,.workspace-plan-context p{font-size:13px;line-height:1.6;color:var(--muted)}
.workspace-live-book>div{display:flex;gap:8px;flex-wrap:wrap}
.workspace-plan-context{padding:20px!important;border-left:1px solid var(--line)}
html[data-theme] body.premium-os :is(.rm-now,.rm-plan,.rm-detail,.rm-moves,.rm-node,.rm-planner,.rm-research,.rm-path-brief){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important;box-shadow:none!important;background-image:none!important}
html[data-theme] body.premium-os .rm-heading h1{font-size:30px!important;line-height:1.2!important}
html[data-theme] body.premium-os .rm-heading h1>span{color:var(--muted)!important}
html[data-theme] body.premium-os .rm-node.rm-selected,html[data-theme] body.premium-os .rm-selected .rm-node{border-color:var(--accent)!important}
html[data-theme] body.premium-os .workspace-notifications .owner-push-status-card{border:1px solid var(--line)!important;background:var(--surface)!important;padding:20px!important}
html[data-theme] body.premium-os .workspace-notifications .owner-notification-row{padding:18px 0!important;min-height:75px;border-bottom:1px solid var(--line)!important}
html[data-theme] body.premium-os .workspace-notifications .owner-notification-row input{width:24px!important;height:24px!important;flex:none}
html[data-theme] body.premium-os .workspace-alert-button{padding:10px!important;min-width:44px!important;min-height:44px!important}
@media(max-width:1200px){html[data-theme] body.premium-os #leadsList.workspace-pipeline{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-theme] body.premium-os #equipmentList.workspace-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){
html[data-theme] body.premium-os .workspace-intro{align-items:flex-start;margin-bottom:18px}
.workspace-intro p{font-size:13px;line-height:1.6}
.workspace-mark{width:36px;height:36px;border-radius:10px}
html[data-theme] body.premium-os :is(.workspace-sections,.workspace-mode){gap:6px}
html[data-theme] body.premium-os .workspace-sections>button{flex:1;padding:11px 8px;min-height:46px;font-size:12px}
html[data-theme] body.premium-os .workspace-mode>button{min-height:44px;padding:10px 12px;font-size:12px}
html[data-theme] body.premium-os :is(#customersList.workspace-account-grid,#estimatesList.workspace-quotes,#leadsList.workspace-pipeline,#equipmentList.workspace-tools,.referral-card-list,.feedback-list,.service-requests-list){grid-template-columns:1fr!important;padding:12px!important;gap:12px!important}
html[data-theme] body.premium-os .workspace-record{padding:17px!important;gap:14px}
.workspace-record-head{flex-wrap:wrap}
.workspace-record-head>div{min-width:100px}
.workspace-record-head>.workspace-status{margin-left:auto}
html[data-theme] body.premium-os .workspace-action{min-height:46px;font-size:13px;padding:11px 13px}
html[data-theme] body.premium-os .workspace-record footer>.workspace-action{flex:1 1 auto}
html[data-theme] body.premium-os .workspace-record-head>div>.workspace-action{font-size:17px!important;min-height:32px!important}
.workspace-account-plan>strong{font-size:25px}
.workspace-quote-head{flex-wrap:wrap}
.workspace-quote-amount{font-size:26px}
.workspace-quote-progress>span{font-size:11px;line-height:1.5}
.workspace-record-meta{font-size:12px;gap:8px}
html[data-theme] body.premium-os .workspace-collections .payment-row{grid-template-columns:minmax(0,1fr) auto!important;gap:12px;padding:20px 0!important}
html[data-theme] body.premium-os .workspace-collections .payment-row>button{grid-column:1/-1;min-height:46px!important;width:100%!important}
html[data-theme] body.premium-os .workspace-collections .payment-row>div:first-child{min-width:0}
html[data-theme] body.premium-os :is(.growth-kpis,.finance-stats,#expenseStats){grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-theme] body.premium-os .growth-hero-number{padding:18px 0 0!important;border-left:0!important;border-top:1px solid var(--line)!important;width:100%!important}
html[data-theme] body.premium-os .finance-hero-actions{width:100%;display:flex!important;flex-wrap:wrap!important;gap:9px!important}
html[data-theme] body.premium-os .finance-hero-actions>button{flex:1;min-height:46px!important}
html[data-theme] body.premium-os .finance-tx-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:18px!important}
html[data-theme] body.premium-os .finance-tx-name{grid-column:1/-1!important}
html[data-theme] body.premium-os .finance-tx-header{display:none!important}
html[data-theme] body.premium-os .finance-tx-date{font-size:11px!important;grid-column:1!important}
html[data-theme] body.premium-os .finance-tx-amount{grid-column:2!important;grid-row:1!important;text-align:right!important;font-size:17px!important}
html[data-theme] body.premium-os .finance-tx-account{grid-column:1/-1!important;font-size:12px!important}
html[data-theme] body.premium-os .finance-category-input{grid-column:1!important}
html[data-theme] body.premium-os .finance-scope-select{grid-column:2!important}
html[data-theme] body.premium-os .finance-filters{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
html[data-theme] body.premium-os #financeSearch{grid-column:1/-1!important}
html[data-theme] body.premium-os .finance-transactions-head{flex-direction:column!important;align-items:stretch!important}
html[data-theme] body.premium-os .workspace-pane{gap:16px}
html[data-theme] body.premium-os .workspace-cost-mix{padding:17px!important}
html[data-theme] body.premium-os .workspace-route-customer{flex-wrap:wrap;padding:18px 0}
.workspace-route-customer>div{flex:1 1 calc(100% - 60px)}
.workspace-route-customer>.workspace-action{flex:1}
html[data-theme] body.premium-os .big-map{height:370px!important;min-height:320px!important}
html[data-theme] body.premium-os .premium-map-layout{display:flex!important;flex-direction:column!important}
html[data-theme] body.premium-os .map-actions{width:100%!important;display:flex!important;flex-wrap:wrap;gap:8px!important}
html[data-theme] body.premium-os .map-actions>button{flex:1;min-height:46px!important}
html[data-theme] body.premium-os .map-actions>input,.zone-location-search{flex:1 1 100%!important;width:100%!important}
html[data-theme] body.premium-os .schedule-day-head{padding:17px 14px!important;flex-wrap:wrap;gap:10px}
html[data-theme] body.premium-os .scheduled-job{display:flex!important;flex-direction:column!important;gap:14px!important;padding:18px 15px!important}
html[data-theme] body.premium-os .scheduled-job>.job-actions{display:flex!important;justify-content:flex-start!important;gap:8px!important;width:100%}
html[data-theme] body.premium-os .scheduled-job .schedule-primary-action{flex:1;min-height:46px!important}
html[data-theme] body.premium-os .schedule-job-details{font-size:13px!important;line-height:1.65!important}
html[data-theme] body.premium-os .schedule-job-name{gap:7px!important}
html[data-theme] body.premium-os .schedule-price{font-size:22px!important;font-weight:600!important}
html[data-theme] body.premium-os .history-price{font-size:17px!important;flex:none!important}
html[data-theme] body.premium-os .history-visit{grid-template-columns:52px minmax(0,1fr) auto!important;gap:10px!important}
html[data-theme] body.premium-os .history-pay button{min-height:44px!important}
html[data-theme] body.premium-os .rm-now{grid-template-columns:1fr!important;padding:20px!important}
.workspace-plan-context{padding:18px 0 0!important;border-left:0;border-top:1px solid var(--line)}
html[data-theme] body.premium-os .rm-route{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important;min-width:0!important}
html[data-theme] body.premium-os .rm-node{width:100%!important;min-width:0!important}
html[data-theme] body.premium-os .rm-path-brief{display:flex!important;flex-direction:column!important}
html[data-theme] body.premium-os .rm-detail-grid{grid-template-columns:1fr!important}
html[data-theme] body.premium-os .workspace-notifications .owner-push-status-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px}
html[data-theme] body.premium-os .workspace-notifications .owner-push-status-card>button{width:100%!important;min-height:48px!important}
html[data-theme] body.premium-os .hero{margin-bottom:18px!important}
html[data-theme] body.premium-os .premium-header-actions .occ-search{flex:1 1 100%!important;order:2}
html[data-theme] body.premium-os .premium-header-actions{flex-wrap:wrap;justify-content:flex-end}
html[data-theme] body.premium-os .premium-header-actions #occAddBtn{flex:1;min-height:44px!important}
html[data-theme] body.premium-os .premium-header-actions #refreshBtn,.workspace-alert-button{flex:0 0 44px;min-width:44px!important}
html[data-theme] body.premium-os #appView.app .workspace-pane[hidden]{display:none!important}
}
html[data-theme] body.premium-os #appView.app [hidden]{display:none!important}
html[data-theme] body.premium-os .workspace-search-toggle{display:none}
.workspace-search-toggle svg{width:20px;height:20px}
html[data-theme] body.premium-os .workspace-form-group{border:1px solid var(--line);border-radius:11px;background:var(--surface);margin-bottom:14px;overflow:hidden}
.workspace-form-group>summary{padding:17px;font-size:13px;font-weight:650;min-height:48px;cursor:pointer}
html[data-theme] body.premium-os .workspace-form-group .os-fieldset{margin:0!important;border:0!important;padding:0 17px 17px!important}
.workspace-form-group legend{display:none}
@media(max-width:760px){
html[data-theme] body.premium-os .workspace-search-toggle{display:inline-flex!important;min-width:44px!important;min-height:44px!important;padding:10px!important}
html[data-theme] body.premium-os .premium-header-actions .occ-search{display:none!important}
html[data-theme] body.premium-os.workspace-search-open .premium-header-actions .occ-search{display:flex!important}
html[data-theme] body.premium-os .hero{align-items:center!important;gap:10px!important}
html[data-theme] body.premium-os .hero h1{font-size:21px!important}
html[data-theme] body.premium-os .premium-header-actions{width:auto!important;flex:1;gap:7px;align-items:center}
html[data-theme] body.premium-os .premium-header-actions #occAddBtn{flex:0 0 auto!important;min-width:58px!important;padding:10px!important}
html[data-theme] body.premium-os #refreshBtn{font-size:0!important;min-width:44px!important;width:44px!important}
html[data-theme] body.premium-os #refreshBtn::before{content:'↻';font-size:20px;line-height:1}
html[data-theme] body.premium-os .workspace-alert-button{padding:10px!important}
html[data-theme] body.premium-os .premium-header-actions .occ-search{order:3!important;flex-basis:100%!important}
}
html[data-theme] body.premium-os .workspace-search-result{display:flex;flex-direction:column;gap:5px;align-items:flex-start;text-align:left;width:100%;padding:15px!important;min-height:64px!important;background:var(--surface)!important;color:var(--text)!important;border:0;border-bottom:1px solid var(--line)}
.workspace-search-result small{font-size:12px;color:var(--muted)}
html[data-theme] body.premium-os .cleanup-row{border:1px solid var(--line)!important;border-radius:11px!important;padding:18px!important;margin:12px 16px!important;background:var(--surface)!important;gap:16px}
html[data-theme] body.premium-os .cleanup-row-main strong{font-size:15px!important;font-weight:600!important}
html[data-theme] body.premium-os .cleanup-row-main span{font-size:13px!important;line-height:1.5!important}
html[data-theme] body.premium-os .cleanup-delete{min-height:44px!important;min-width:70px!important;border:1px solid var(--line)!important;background:var(--surface)!important;color:var(--danger)!important;border-radius:8px!important}
html[data-theme] body.premium-os .cleanup-warning{background:var(--soft)!important;border:1px solid var(--line)!important;border-left:3px solid var(--danger)!important;border-radius:8px!important;margin:16px!important;color:var(--text)!important}
.workspace-segment-empty{grid-column:1/-1}
html[data-theme] body.premium-os .workspace-home-review,html[data-theme] body.premium-os .workspace-home-appointments{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:20px}
html[data-theme] body.premium-os .workspace-home-review{border-left:3px solid var(--danger)}
.workspace-home-review>p{font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 14px}
.workspace-home-review-row{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:13px 0;border-top:1px solid var(--line)}
.workspace-home-review-row>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.workspace-home-review-row strong{font-size:14px;font-weight:600}
.workspace-home-review-row small{font-size:12px;color:var(--muted);line-height:1.5}
@media(max-width:760px){
html[data-theme] body.premium-os #ownerCommandCenter>#workspacePastVisits{order:1}
html[data-theme] body.premium-os #ownerCommandCenter>.premium-work-grid{order:2}
html[data-theme] body.premium-os #ownerCommandCenter>#workspaceTodayWalkthroughs{order:3}
html[data-theme] body.premium-os #ownerCommandCenter>#occKpis{order:4}
html[data-theme] body.premium-os #ownerCommandCenter>.os-upcoming{order:5}
html[data-theme] body.premium-os #ownerCommandCenter>.os-home-details{order:6}
.workspace-home-review-row{flex-wrap:wrap}
.workspace-home-review-row>.workspace-action{width:100%}
}

/* Schedule names must retain theme contrast at phone widths. */
html[data-theme] body.premium-os #scheduleView .schedule-job-name .schedule-customer{color:var(--text)!important}
