/* Home-only reference theme; original report pages remain unchanged. */
html:is(.ll-enabled,.ll-shell){--ll-rail:255px;--ll-top:86px;--panel:rgba(7,29,49,.94);--edge:#466f946e;--scene:none;--page-bg:#071b2d;--scene-position:right center;--scene-size:cover}
html:is(.ll-enabled,.ll-shell)[data-theme=light]{--panel:rgba(250,252,255,.92);--edge:#829db94f;--scene:none;--page-bg:#f5f8fc}
html:is(.ll-enabled,.ll-shell) :is(body,#theme-overrides){
 min-height:100vh!important;
 transition:none!important;
 background:var(--page-bg)!important;
 & .hub-sidebar{height:86px!important;display:block!important;padding:0!important;background:none!important}
 & .hub-sidebar:before{display:none!important}
 & .sidebar-brand-top{left:26px!important;top:12px!important;width:210px!important}
 & .sidebar-theme-logo{height:64px!important;max-height:64px!important}
 & .sidebar-date-time{left:28px!important;top:94px!important;width:210px!important;height:70px!important;background:var(--panel)!important;border:1px solid var(--edge)!important;border-radius:15px!important}
 & .hub-salutation-sidebar{left:auto!important;right:28px!important;top:30px!important;width:auto!important;max-width:240px!important;text-align:right!important}
 & .hub-salutation-sidebar p{font-size:13px!important}
 & .hub-nav{position:absolute!important;left:275px!important;right:280px!important;top:18px!important;width:auto!important;display:flex!important;justify-content:center!important;gap:8px!important;border:1px solid var(--edge)!important;border-radius:32px!important;background:var(--panel)!important;padding:0 10px!important}
 & .hub-nav-primary,& .hub-source-menu summary{font-size:12px!important;min-height:42px!important;padding:8px 7px!important}
 & .ll-main{inset:86px 0 0 255px;padding:0 24px 22px;min-height:0;background:none!important}
 & .ll-dashboard-content{max-width:1500px}
 & .ll-rail{padding:0 24px 12px}
 & .ll-rail-content{gap:20px}
 & .ll-rail .ll-location{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;grid-template-rows:auto auto;gap:0 18px;align-content:center;justify-content:initial;padding:14px 20px!important;min-height:130px;border:2px solid color-mix(in srgb,var(--loc) 50%,transparent)!important;border-radius:16px;background:linear-gradient(120deg,var(--card),var(--card-end))!important}
 & .ll-rail .ll-location-button{display:contents!important}
 & .ll-rail .ll-location-button>span{grid-column:2;grid-row:1;text-align:left!important;align-self:end}
 & .ll-rail .ll-location-button strong{font-size:17px}
 & .ll-rail .ll-shape{grid-column:1;grid-row:1/3;height:105px!important;width:100px!important;cursor:pointer}
 & .ll-rail .ll-sidebar-sales{grid-column:2;grid-row:2;text-align:left!important;align-self:start;padding:6px 0 0!important}
 & .ll-sidebar-sales-value{font-size:26px}
 & .ll-rail .selected{box-shadow:0 0 0 2px color-mix(in srgb,var(--loc) 20%,transparent)!important}
 & .ll-expanded{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;align-items:start}
 & .ll-map-card,& .ll-mini-card{background:var(--panel)!important;border:1px solid var(--edge)!important;box-shadow:0 3px 12px #071a2e14!important}
 & .ll-expanded .ll-map-card{display:flex;flex-direction:column;gap:10px;padding:20px!important;border-radius:20px}
 & .ll-map-header{grid-column:1/-1;padding-bottom:14px}
 & .ll-map-header h1{font-size:32px}
 & .ll-map-canvas{padding:8px 0;align-self:stretch;min-width:0}
 & .ll-expanded .ll-map-canvas svg{height:clamp(200px,36vh,370px)!important}
 & .ll-destinations{align-self:stretch;margin:0;gap:8px;min-width:0}
 & .ll-expanded .ll-destinations li{grid-template-columns:20px minmax(0,1fr) max-content max-content;gap:8px;padding:12px 10px;font-size:11px;background:var(--panel)!important;border-color:var(--edge);min-height:56px}
 & .ll-destinations li:before{width:20px;height:24px}
 & .ll-expanded .ll-units{font-size:10px}
 & .ll-map-note{grid-column:1/-1;margin:6px 0 0}
 & .ll-map-credit{grid-column:1/-1;margin:0}
 & .ll-empty{grid-column:2;grid-row:2;align-self:center}
 & .ll-expanded-metrics{gap:8px;align-content:stretch}
 & .ll-detail-summary{width:100%;max-width:none}
 & .ll-expanded-metrics .ll-mini-card{min-height:96px;padding:10px;border-radius:13px}
 & .ll-expanded-metrics h3{font-size:23px}
 & .ll-kicker{font-size:10px}
 & .ll-detail,& .ll-muted,& .ll-change{font-size:11px}
 & .ll-sidebar-footer{width:255px;height:130px;gap:12px;padding:12px 18px;background:none!important}
 & .ll-sidebar-footer .sidebar-account-controls button{background:var(--panel)!important;min-height:34px!important;font-size:11px!important}
 & .ll-sidebar-footer .ll-family{width:100%;height:48px}
}
html:is(.ll-enabled,.ll-shell)[data-theme=light] :is(body,#theme-overrides){
 & .hub-nav .hub-nav-icon{color:#527ab4!important;-webkit-text-fill-color:#527ab4!important}
 & .hub-nav .hub-nav-icon-gold{color:#e6ad20!important;-webkit-text-fill-color:#e6ad20!important}
 & .hub-nav .hub-nav-icon svg,& .hub-nav .hub-nav-icon svg *{color:inherit!important;stroke:currentColor!important;fill:none!important}
 & .ll-change.up{color:#24785b!important;-webkit-text-fill-color:#24785b!important}
 & .ll-change.down{color:#a1263d!important;-webkit-text-fill-color:#a1263d!important}
 & .ll-di{background:#fff3d5!important;color:#805b14!important;-webkit-text-fill-color:#805b14!important}
 & .ll-shape,& .ll-shape path{color:var(--loc)!important;fill:var(--loc)!important}
}
/* Shared centered frame; no reserved sidebar column. */
@media(min-width:721px){html:is(.ll-enabled,.ll-shell) :is(body,#theme-overrides){
 & .sidebar-date-time{left:max(24px,calc((100vw - 1500px)/2))!important;top:78px!important;width:194px!important;height:58px!important}
 & .sidebar-brand-top{left:20px!important;top:6px!important;width:194px!important}
 & .hub-nav{left:250px!important;right:auto!important;top:18px!important;width:max-content!important;max-width:calc(100vw - 530px)!important;box-sizing:border-box;flex-wrap:wrap!important}
 & .hub-salutation-sidebar{left:auto!important;right:max(24px,calc((100vw - 1500px)/2))!important;top:94px!important;max-width:240px!important;text-align:right!important}
 & .ll-main{inset:150px 0 110px 0!important;padding:0 24px!important;margin:0!important;display:flex;align-items:center;justify-content:center}
 & .ll-dashboard-content{max-width:1500px;margin-inline:auto}
 & .ll-rail{padding:0 0 12px}
 & .ll-dashboard-content{width:100%;flex:none}
 & .ll-sidebar-footer{left:50%!important;transform:translateX(-50%);bottom:4px;width:260px!important;height:100px!important;padding:4px 18px!important;gap:8px}
 & .ll-expanded{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
 & .ll-expanded-metrics{grid-template-rows:1.15fr repeat(3,1fr);height:100%}
 & .ll-expanded .ll-map-canvas svg{height:clamp(220px,29vh,320px)!important}
 & .ll-expanded .ll-destinations li{min-height:44px;padding:8px 12px}
}}
@media(min-width:1301px){html:is(.ll-enabled,.ll-shell) :is(body,#theme-overrides){
 & .hub-sidebar{display:grid!important;grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr)!important;grid-template-rows:86px!important;width:100%!important;align-items:start!important}
 & .hub-nav{position:relative!important;inset:auto!important;top:18px!important;grid-column:2!important;grid-row:1!important;max-width:none!important;margin:0!important}
 & .sidebar-brand-top{position:relative!important;inset:auto!important;top:6px!important;grid-column:1!important;grid-row:1!important;justify-self:end!important;margin:0 20px 0 0!important}
}}
@media(min-width:721px) and (max-width:1300px){html:is(.ll-enabled,.ll-shell) :is(body,#theme-overrides){
 & .hub-nav{left:24px!important;right:auto!important;top:90px!important;max-width:calc(100vw - 48px)!important}
 & .hub-salutation-sidebar{left:auto!important;right:24px!important;top:35px!important;width:230px!important}
 & .sidebar-date-time{top:12px!important;left:230px!important}
 & .ll-main{top:148px!important}
}}
@media(max-width:1250px){html:is(.ll-enabled,.ll-shell) :is(body,#theme-overrides){
 & .ll-rail{padding-left:0;padding-right:0}
 & .ll-rail .ll-location{grid-template-columns:65px minmax(0,1fr)!important;padding:10px!important;column-gap:8px}
 & .ll-rail .ll-shape{width:60px!important;height:85px!important}
 & .ll-expanded .ll-map-card{display:block}
 & .ll-expanded .ll-map-canvas svg{height:220px!important}
}}
@media(max-width:720px){html:is(.ll-enabled,.ll-shell) :is(body,#theme-overrides){
 & .ll-main{position:relative;inset:auto;margin:0;padding:190px 12px 140px;overflow:visible}
 & .hub-nav{left:10px!important;right:10px!important;top:120px!important;flex-wrap:wrap!important}
 & .sidebar-brand-top{width:160px!important}
 & .sidebar-date-time{left:24px!important;top:75px!important;width:170px!important;height:40px!important}
 & .hub-salutation-sidebar{right:16px!important;max-width:150px!important}
 & .ll-rail-content{gap:8px}
 & .ll-rail .ll-location{display:flex!important;min-height:0}
 & .ll-rail .ll-location-button{display:flex!important;flex-direction:column-reverse}
 & .ll-rail .ll-location-button strong{font-size:12px}
 & .ll-sidebar-sales-value{font-size:18px}
 & .ll-rail .ll-shape{height:65px!important;width:45px!important}
 & .ll-sidebar-sales,& .ll-rail .ll-location-button>span{text-align:center!important}
 & .ll-expanded{grid-template-columns:1fr}
 & .ll-sidebar-footer{width:100%;height:120px}
}}
/* Approved placement: clock/greeting, logo/navigation, overview, locations, map/metrics, footer. */
html:is(.ll-enabled,.ll-shell) .ll-source-date{position:fixed;left:calc(50% + 20px);top:55px;margin:0;font-size:12px;color:var(--text-secondary,#a9bfd2);z-index:50}
html:is(.ll-enabled,.ll-shell) .ll-overview{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px 22px;padding:0 10px 18px;font-size:13px;color:inherit;text-align:center}
html:is(.ll-enabled,.ll-shell) .ll-overview>span+span{border-left:1px solid var(--edge);padding-left:22px}
html:is(.ll-enabled,.ll-shell) .ll-location-share{grid-column:3;grid-row:1/3;align-self:center;white-space:nowrap;font-size:20px;font-weight:800;color:var(--loc)}
html:is(.ll-enabled,.ll-shell) .ll-overview-total{font-size:19px;font-weight:800}
@media(min-width:721px){
 html:is(.ll-enabled,.ll-shell) .ll-location{grid-template-columns:80px minmax(0,1fr) max-content;column-gap:14px;padding:14px 18px}
 html:is(.ll-enabled,.ll-shell) .ll-location .ll-shape{width:75px;height:96px}
 html:is(.ll-enabled,.ll-shell) :is(body,#theme-overrides) .sidebar-date-time{left:calc(50% - 95px)!important;top:20px!important;width:190px!important;height:62px!important}
 html:is(.ll-enabled,.ll-shell) :is(body,#theme-overrides) .hub-salutation-sidebar{left:calc(50% + 120px)!important;right:auto!important;top:22px!important;text-align:left!important;max-width:210px!important}
 html:is(.ll-enabled,.ll-shell) .ll-source-date{left:calc(50% + 120px);max-width:220px}
 html:is(.ll-enabled,.ll-shell) :is(body,#theme-overrides) .ll-main{top:174px!important;align-items:flex-start!important}
 html:is(.ll-enabled,.ll-shell) :is(body,#theme-overrides) .hub-nav{position:fixed!important;grid-column:auto!important;grid-row:auto!important;top:100px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100vw - 32px)!important}
 html:is(.ll-enabled,.ll-shell) :is(body,#theme-overrides) .sidebar-brand-top{position:absolute!important;left:calc(50% - 315px)!important;top:19px!important;width:194px!important;margin:0!important}
}
@media(min-width:721px) and (max-width:1300px){
 html:is(.ll-enabled,.ll-shell) .ll-location{grid-template-columns:55px minmax(0,1fr);column-gap:10px}
 html:is(.ll-enabled,.ll-shell) .ll-location .ll-shape{width:50px;height:76px}
 html:is(.ll-enabled,.ll-shell) .ll-location-share{grid-column:2;grid-row:3;font-size:17px;padding-top:4px}
}
@media(max-width:720px){
 html:is(.ll-enabled,.ll-shell) .ll-source-date{left:auto;right:12px;top:85px;font-size:10px;max-width:160px;text-align:right}
 html:is(.ll-enabled,.ll-shell) .ll-overview{font-size:11px;gap:8px}
 html:is(.ll-enabled,.ll-shell) .ll-overview>span+span{padding-left:8px}
 html:is(.ll-enabled,.ll-shell) .ll-location-share{font-size:10px;white-space:normal}
}
