/* Page-specific proportions from the approved workspace mockups. */
.workspace-page{background:#fff;color:#092b50}
.workspace-page .site-header{min-height:84px;padding:12px 0;border-bottom:1px solid #e1edf6}
.workspace-page .site-header .container{width:min(1400px,calc(100% - 48px))}
.workspace-page .site-header .nav{gap:18px;flex-wrap:nowrap}
.workspace-page .site-header .brand{margin-right:0;gap:9px}
.workspace-page .site-header .logo{width:50px;height:50px}
.workspace-page .site-header .brand-name,.workspace-page .site-header .brand-name span{font-size:13px}
.workspace-page .site-header .brand-name b{font-size:12px;letter-spacing:2px}
.workspace-page .site-header .workspace-navigation{flex:1;display:flex;justify-content:center;align-items:stretch;width:auto;order:initial;gap:2px;margin:0;padding:0;border:0;background:#fff;max-width:none;min-width:0}
.workspace-page .workspace-navigation a{display:flex;align-items:center;justify-content:center;gap:7px;padding:14px 9px;font-size:12px;min-height:48px;white-space:nowrap;flex:none;color:#25456a}
.workspace-page .workspace-navigation a svg{flex-shrink:0;color:#087af5;width:18px;height:18px}
.workspace-page .workspace-navigation a.active{background:#eaf4ff;color:#087af5;box-shadow:inset 0 -2px #087af5;border-radius:6px}
.workspace-page .site-header nav[aria-label="Main navigation"]{flex-shrink:0;gap:12px;width:auto;margin-left:auto;font-size:12px}
.workspace-page .site-header nav[aria-label="Main navigation"] a,.workspace-page .site-header nav[aria-label="Main navigation"] button{font-size:12px}
.workspace-page main{max-width:1280px;width:100%;padding:0 24px;margin:32px auto 50px}
.workspace-page .workspace-page-heading{margin-bottom:24px}
.workspace-page .workspace-page-heading h1{font-size:32px;font-weight:700;letter-spacing:-.6px}
.workspace-page .workspace-page-heading p{font-size:15px;color:#506986}
.workspace-page .panel{border-radius:8px;border-color:#cfE3f3;background:#fff;padding:22px}
.workspace-page .panel h2,.workspace-page h2{font-size:19px;color:#092b50}
.workspace-page .customer-tools{border-bottom:1px solid #e1edf6;padding-bottom:14px;margin-bottom:16px}
.workspace-page .customer-tools .workspace-search-title{font-size:17px}
.workspace-page .customer-read-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 36px;padding-top:18px;border-top:1px solid #e1edf6}
.workspace-page .customer-read-details>div{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:start;gap:12px}
.workspace-page .customer-read-details dt{font-size:13px;font-weight:500;color:#092b50;line-height:1.6}
.workspace-page .customer-read-details dd{margin:0;font-size:14px;line-height:1.6}
.workspace-page #customer-editor-card{position:relative}
.workspace-page #customer-logo-card{margin:0 0 16px}
.workspace-page #customer-logo-preview{max-width:180px;max-height:80px}
.workspace-page .customer-related-cards .panel{padding:20px}
.workspace-page .customer-related-cards .customer-contact-heading{border-bottom:1px solid #e1edf6;padding-bottom:12px}
.workspace-page .company-contact{padding:16px 0}
.workspace-page .company-contact h4{font-size:15px}
.workspace-page .company-contact p{font-size:13px;color:#506986}
.workspace-page #customer-properties-list p{padding:16px 0}
.workspace-page .customer-fields{gap:16px 22px}
.workspace-page .workspace-heading-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
.workspace-page #locations-workspace>.workspace-property-filters{grid-column:1/-1;grid-row:1;grid-template-columns:minmax(0,1.4fr) minmax(0,.65fr) minmax(0,1.1fr);gap:20px;margin:0}
.workspace-page #locations-workspace>.workspace-property-filters>div:last-child{grid-column:auto}
.workspace-page #locations-workspace>.property-browser{grid-row:2}
.workspace-page #location-details,.workspace-page #location-editor{grid-row:2}
.workspace-page main.estimator-workspace,.workspace-page main.estimator-workspace:not(.multi-quote),.workspace-page main.estimator-workspace.multi-quote{max-width:1280px;width:100%;padding:0 24px;margin:30px auto 50px;gap:18px}
.workspace-page .estimator-workspace .estimate-mode-panel{background:#fff;padding:0;border:0;gap:18px}
.workspace-page .estimate-choice-group{padding:16px;background:#f2f9fe;border:1px solid #c9e2f6;border-radius:8px}
.workspace-page .estimate-mode-toolbar{margin-top:-8px}
.workspace-page .estimator-workspace .customer-details-card{border-radius:8px;background:#fff}
.workspace-page .quote-customer-heading{border-bottom:1px solid #e1edf6;padding-bottom:12px}
.workspace-page .quote-customer-read{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 28px}
.workspace-page .estimator-workspace #property-search-panel{padding:18px;border-radius:8px}
.workspace-page #property-search-panel h2{padding-bottom:12px;border-bottom:1px solid #e1edf6}
.workspace-page .quote-property-card .property-card-heading{background:#f2f9fe;padding:15px 18px}
.workspace-page .quote-property-card .address-card-body{padding:18px}
.workspace-page .summary .section-heading{border-bottom:1px solid #e1edf6;padding-bottom:14px}
.workspace-page .summary #monthly-total{color:#087af5;font-size:30px}
.workspace-page .summary .actions{margin-top:20px}
.workspace-page .overview-page{max-width:1280px;padding:0 24px;margin:30px auto 50px}
.workspace-page .overview-heading h1{font-size:36px;letter-spacing:-.7px}
.workspace-page .overview-heading label{font-size:12px}
.workspace-page .overview-heading input{width:210px;min-height:44px}
.workspace-page .overview-status{margin-bottom:20px}
.workspace-page .overview-kpis{gap:16px;margin-bottom:20px}
.workspace-page .overview-kpi{border-radius:7px;padding:24px 18px;background:#f3faff;gap:14px}
.workspace-page .overview-kpi strong{font-size:34px;margin-top:6px}
.workspace-page .overview-icon{width:48px;height:48px;background:#e3f3ff}
.workspace-page .overview-charts{gap:20px}
.workspace-page .overview-card{padding:22px;border-radius:8px;border-color:#cfe3f3}
.workspace-page .overview-card h2{font-size:19px}
.workspace-page .overview-chart-content{gap:22px;min-height:245px}
.workspace-page .overview-donut{max-width:265px;flex:1.1}
.workspace-page .overview-legend{gap:24px;flex:1}
.workspace-page .overview-legend>div{font-size:14px}
.workspace-page .overview-key{width:18px;height:18px}
.workspace-page .overview-bar-row{grid-template-columns:180px minmax(0,1fr)}
.workspace-page .overview-bar-track{height:24px}
.workspace-page .overview-note{font-size:12px;color:#607b97}
.workspace-page.workspace-estimator-settings main{max-width:1280px;padding-left:245px}
.workspace-page .settings-section-nav{left:24px;width:195px;top:98px;border:1px solid #d6e5f0;border-radius:8px;padding:8px}
.workspace-page .settings-section-nav a{padding:14px 12px;font-size:13px}
.workspace-page.workspace-estimator-settings .panel>.section-heading{padding-bottom:12px;border-bottom:1px solid #e1edf6;margin-bottom:14px}
@media(min-width:1001px){
 .workspace-page.workspace-estimates,.workspace-page.workspace-prospects{display:grid;grid-template-columns:230px minmax(0,1fr);grid-template-rows:auto 1fr auto;min-height:100vh}
 .workspace-page.workspace-estimates>.site-header,.workspace-page.workspace-prospects>.site-header{grid-column:1/-1;grid-row:1}
 .workspace-page.workspace-estimates>.workspace-navigation,.workspace-page.workspace-prospects>.workspace-navigation{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-self:stretch;align-items:stretch;width:230px;max-width:none;margin:0;padding:24px 12px;border:0;border-right:1px solid #d6e5f0;border-radius:0;background:#fbfdff;gap:8px}
 .workspace-page.workspace-estimates>.workspace-navigation a,.workspace-page.workspace-prospects>.workspace-navigation a{justify-content:flex-start;font-size:14px;padding:14px;gap:12px}
 .workspace-page.workspace-estimates>.workspace-navigation a svg,.workspace-page.workspace-prospects>.workspace-navigation a svg{width:22px;height:22px}
 .workspace-page.workspace-estimates>.workspace-navigation a.active,.workspace-page.workspace-prospects>.workspace-navigation a.active{box-shadow:none}
 .workspace-page.workspace-estimates>main,.workspace-page.workspace-prospects>main{grid-column:2;grid-row:2;max-width:1400px;padding:0 28px;margin:28px auto 44px}
 .workspace-page.workspace-estimates>.site-footer,.workspace-page.workspace-prospects>.site-footer{grid-column:2;grid-row:3;width:calc(100% - 56px)}
 .workspace-page .saved-estimates-page>.panel{border:0;padding:0;border-radius:0}
 .workspace-page .saved-estimates-page .table-wrap{border:1px solid #cfe3f3;border-radius:8px;overflow:hidden}
 .workspace-page .saved-estimates-page th{padding:14px 10px;background:#eef7ff}
 .workspace-page .saved-estimates-page td{padding:16px 10px;border-bottom:1px solid #e1edf6}
 .workspace-page .estimate-filters{border:0;background:#eff8ff;padding:16px;gap:24px}
 .workspace-page .saved-estimates-page .estimate-search-label>input{min-height:46px}
 .workspace-page.workspace-prospects .workspace-kpi-row article{padding:24px 20px;min-height:116px}
}
@media(min-width:801px) and (max-width:1150px){
 .workspace-page .site-header .container{width:calc(100% - 32px)}.workspace-page .site-header .nav{flex-wrap:wrap}
 .workspace-page .site-header .workspace-navigation{order:3;width:100%;flex-basis:100%;justify-content:flex-start}
 .workspace-page .site-header nav[aria-label="Main navigation"]{order:initial}
 .workspace-page .overview-chart-content{gap:14px;min-height:210px}
 .workspace-page .customer-read-details>div{grid-template-columns:90px minmax(0,1fr)}
}
@media(max-width:1000px){
 .workspace-page.workspace-estimator-settings main{padding-left:24px}
 .workspace-page .settings-section-nav{position:static;width:auto;border:0;border-bottom:1px solid #d6e5f0;border-radius:0;padding:0 0 6px}
}
@media(max-width:800px){
 .workspace-page .site-header{min-height:68px;padding:8px 0}
 .workspace-page .site-header .container{width:calc(100% - 24px)}
 .workspace-page .site-header .nav{gap:8px;flex-wrap:wrap}
 .workspace-page .site-header .brand{margin-right:auto;gap:8px}
 .workspace-page .site-header .logo{width:44px;height:44px}
 .workspace-page .site-header .brand-name,.workspace-page .site-header .brand-name span{font-size:12px}
 .workspace-page .site-header .brand-name b{font-size:11px}
 .workspace-page .site-header .workspace-navigation{order:3;width:100%;flex-basis:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;background:#f8fcff;border:1px solid #d6e5f0;border-radius:8px;gap:4px}
 .workspace-page .workspace-navigation a{justify-content:flex-start;white-space:normal;gap:8px;padding:12px;font-size:13px}
 .workspace-page .site-header nav[aria-label="Main navigation"]{order:4;width:100%;justify-content:flex-start}
 .workspace-page.workspace-menu-ready:not(.workspace-menu-open) .site-header .workspace-navigation,.workspace-page.workspace-menu-ready:not(.workspace-menu-open) .site-header nav[aria-label="Main navigation"]{display:none}
 .workspace-page main,.workspace-page main.estimator-workspace,.workspace-page main.estimator-workspace:not(.multi-quote),.workspace-page main.estimator-workspace.multi-quote,.workspace-page .overview-page{padding:0 12px;margin:20px auto 36px}
 .workspace-page .workspace-page-heading h1{font-size:25px}.workspace-page .workspace-page-heading p{font-size:13px}
 .workspace-page .panel{padding:16px}
 .workspace-page .customer-read-details{grid-template-columns:1fr;gap:14px;padding-top:14px}
 .workspace-page .customer-read-details>div{display:block}.workspace-page .customer-read-details dt{font-size:11px;color:#607b97}.workspace-page .customer-read-details dd{font-size:14px;margin-top:4px}
 .workspace-page .customer-related-cards .panel{padding:16px}
 .workspace-page .workspace-heading-actions{gap:12px;font-size:13px}
 .workspace-page #locations-workspace>.workspace-property-filters{grid-template-columns:1fr;gap:12px}
 .workspace-page #locations-workspace>.property-browser,.workspace-page #location-details,.workspace-page #location-editor{grid-row:auto}
 .workspace-page .quote-customer-read{grid-template-columns:1fr}
 .workspace-page .estimator-workspace .estimate-mode-panel{gap:12px;padding:0}
 .workspace-page .estimate-choice-group{padding:14px}
 .workspace-page .estimator-workspace #property-search-panel{padding:16px}
 .workspace-page .overview-heading h1{font-size:27px}
 .workspace-page .overview-heading label,.workspace-page .overview-heading input{width:100%}
 .workspace-page .overview-kpis{gap:10px;margin-bottom:14px}
 .workspace-page .overview-kpi{padding:14px 10px;gap:9px}
 .workspace-page .overview-kpi strong{font-size:26px}
 .workspace-page .overview-icon{width:34px;height:34px}
 .workspace-page .overview-card{padding:16px}
 .workspace-page .overview-card h2{font-size:17px}
 .workspace-page .overview-chart-content{gap:12px;min-height:145px}
 .workspace-page .overview-donut{max-width:175px}
 .workspace-page .overview-legend{gap:16px}
 .workspace-page .overview-legend>div{font-size:12px}
 .workspace-page .overview-key{width:12px;height:12px}
 .workspace-page .overview-bar-row{grid-template-columns:100px minmax(0,1fr);gap:10px}
 .workspace-page .overview-bar-track{height:18px}
 .workspace-page .overview-note{font-size:11px}
 .workspace-page.workspace-estimator-settings main{padding:0 12px}
 .workspace-page .settings-section-nav{padding-bottom:6px}
 .workspace-page .settings-section-nav a{font-size:12px;padding:12px 10px}
}
@media print{.workspace-page.workspace-estimates,.workspace-page.workspace-prospects{display:block}.workspace-page .workspace-navigation{display:none!important}}
/* Stronger contrast for workspace navigation on white and pale blue backgrounds. */
.workspace-page .workspace-navigation a{color:#153b60}
.workspace-page .workspace-navigation a svg{color:#14568c}
.workspace-page .workspace-navigation a.active{color:#084478}
.workspace-page .workspace-navigation a.active svg{color:#084478}
.workspace-page .workspace-navigation a:hover{color:#082c50;background:#e5f1fb}

/* Override the legacy header span color on navigation labels. */
.workspace-page .workspace-navigation a>span{color:inherit;font-size:inherit;font-weight:600;letter-spacing:normal;text-transform:none}

/* Keep workspace navigation above scrolling data. */
.workspace-page .site-header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 3px 12px #092b5010}
.workspace-page main [id]{scroll-margin-top:calc(var(--workspace-header-height,140px) + 16px)}
@media(max-width:800px){.workspace-page.workspace-menu-open .site-header{max-height:85dvh;overflow-y:auto}}
@media print{.workspace-page .site-header{position:static;box-shadow:none}}

/* Mobile links scroll independently beneath the pinned logo and toggle. */
.workspace-page .workspace-menu-panel{display:contents}
@media(max-width:800px){
 .workspace-page .site-header,.workspace-page.workspace-menu-open .site-header{max-height:none;overflow:visible}
 .workspace-page .workspace-menu-panel{display:block;position:absolute;left:0;right:0;top:100%;max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:12px;background:#fff;border-bottom:1px solid #cce2f5;box-shadow:0 8px 18px #092b5020}
 .workspace-page.workspace-menu-ready:not(.workspace-menu-open) .workspace-menu-panel{display:none}
 .workspace-page .site-header .workspace-menu-panel .workspace-navigation{width:100%;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .workspace-page .site-header .workspace-menu-panel nav[aria-label="Main navigation"]{display:flex;width:100%;margin:8px 0 0;padding:8px;gap:20px;flex-wrap:wrap}
 .workspace-page .workspace-menu-toggle{position:relative;z-index:1;touch-action:manipulation}
}

.workspace-page.workspace-customer-locations #locations-workspace{grid-template-columns:minmax(0,1fr)}
.workspace-page.workspace-customer-locations #locations-workspace>.property-browser{grid-column:1/-1;grid-row:auto;width:100%;min-width:0}
.workspace-page.workspace-customer-locations #location-details,.workspace-page.workspace-customer-locations #location-editor{grid-column:1/-1;grid-row:auto;width:100%;min-width:0}

/* Desktop workspace links occupy their own row instead of overflowing into account actions. */
@media(min-width:801px){
 :root body.workspace-page .site-header[data-workspace-header] .nav{flex-wrap:wrap;row-gap:12px}
 :root body.workspace-page .site-header[data-workspace-header] .workspace-menu-panel{display:contents}
 :root body.workspace-page .site-header[data-workspace-header] .workspace-navigation{
  display:flex;order:3;flex:0 0 100%;width:100%;min-width:0;max-width:100%;
  flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:4px 8px;margin:0;padding:0;
 }
 :root body.workspace-page .site-header[data-workspace-header] .workspace-navigation>a{flex:0 0 auto;white-space:nowrap}
 :root body.workspace-page .site-header[data-workspace-header] nav[aria-label="Main navigation"]{
  order:0;flex:0 0 auto;width:auto;min-width:0;margin:0 0 0 auto;gap:18px;flex-wrap:wrap;
 }
 :root body.workspace-page .site-header[data-workspace-header] nav[aria-label="Main navigation"]>a,
 :root body.workspace-page .site-header[data-workspace-header] nav[aria-label="Main navigation"]>button{flex:0 0 auto;white-space:nowrap}
}
