/* Approved Croeso heritage treatment. Shared by the app and homepage shadow root. */
:root,:host{--croeso-green:#123d34;--croeso-cream:#f5efdf;--croeso-line:#b5a17a;--croeso-red:#9a1c1f}
.croeso-banner,.home-root .welcome{position:relative;isolation:isolate;background:var(--croeso-green);color:#fff9eb;border:0;border-radius:0;min-height:156px;padding:24px 28px;margin:18px 0;display:flex;align-items:center;justify-content:space-between;gap:24px;clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px)}
.croeso-banner:before,.home-root .welcome:before{content:'';position:absolute;inset:8px;background:#eadbba;clip-path:polygon(6px 0,calc(100% - 6px) 0,100% 6px,100% calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,0 calc(100% - 6px),0 6px);z-index:0;pointer-events:none}
.croeso-banner:after,.home-root .welcome:after{content:'';position:absolute;inset:9px;background:var(--croeso-green);clip-path:polygon(5.4px 0,calc(100% - 5.4px) 0,100% 5.4px,100% calc(100% - 5.4px),calc(100% - 5.4px) 100%,5.4px 100%,0 calc(100% - 5.4px),0 5.4px);z-index:0;pointer-events:none}
.croeso-banner>*,.home-root .welcome>*{position:relative;z-index:1;min-width:0}
.croeso-banner h1,.home-root .welcome h1{font-family:Montserrat,Arial,sans-serif;font-size:clamp(23px,2vw,29px);font-weight:800;line-height:1.15;letter-spacing:-.6px;text-transform:uppercase;margin:0 0 9px;color:#fff9eb;max-width:580px}
.croeso-banner>div>p{font:400 12px/1.6 Roboto,Arial,sans-serif;color:#d5e0d5;white-space:normal;margin:0;max-width:520px}
.croeso-banner .filters,.home-root .banner-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;flex:0 1 520px;width:auto;min-width:0}
.croeso-banner .chrome-control,.home-root .banner-controls>label{display:block;flex:1 1 160px;min-width:0;margin:0;font:500 12px/1.4 Roboto,Arial,sans-serif;color:#fff4dc;letter-spacing:.2px}
.croeso-banner .chrome-control select,.croeso-banner .chrome-control input,.home-root .banner-controls select{display:block;width:100%;min-width:0;min-height:44px;height:44px;max-width:none;background:#f1e5c9;color:#153d33;border:1px solid #e0cfa9;border-radius:4px;padding:10px 12px;margin:5px 0 0;font:600 13px Roboto,Arial,sans-serif}
.croeso-banner [hidden],.croeso-banner .filters[hidden],.home-root [hidden]{display:none!important}
.croeso-banner input:focus-visible,.croeso-banner select:focus-visible,.home-root .banner-controls select:focus-visible{outline:2px solid #fff5d8;outline-offset:3px}
#app[data-page] main{min-width:0}#page{padding-top:2px}#app aside{display:flex;flex-direction:column}#app aside .side-logo{flex-shrink:0}#app aside>#nav{flex:1;display:flex;flex-direction:column}#nav .nav-divider{flex-shrink:0}#nav .nav{flex-shrink:0}#nav .sub{flex-shrink:0}
#nav .nav-brand-signoff{margin-top:auto;padding:24px 8px 12px;color:#eadbba;font:700 10px/1.7 Montserrat,Arial,sans-serif;text-transform:uppercase;letter-spacing:1px;flex-shrink:0}
#nav .nav-brand-signoff:before{content:'';display:block;height:1px;background:#567467;margin-bottom:16px}
/* Replace duplicate page titles only, preserving adjacent controls and actions. */
#page .gp-heading h2,#page .pnl-heading h2,#page .wg-heading h2,#page .ac-heading h2,#page .rep-heading h2,#page .sp-heading h2,#page .ci-heading h2,#page .sh-heading h2,#page .sales-report-heading h2{display:none}
#page .gp-financial>.gp-heading{display:none}
#page .bible-controls label[hidden],#page label[hidden]{display:none!important}
#page :is(.gp-panel,.pnl-panel,.wg-panel,.ov-panel,.rep-panel,.ac-panel){border-radius:5px;box-shadow:none}
#page :is(.gp-panel,.ov-panel,.pnl-panel,.wg-panel)>h3:after{content:'';display:block;width:22px;height:1px;background:var(--croeso-red);margin-top:7px}
/* Metric plaques use one-pixel chamfered frames and compact spacing. */
:is(.ov-kpi,.gp-card,.pnl-card,.wg-card,.rep-kpi),.home-root .kpi{position:relative;isolation:isolate;background:var(--croeso-cream);border:0!important;border-radius:0!important;padding:17px 22px 16px;box-shadow:none;min-width:0;clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px)}
:is(.ov-kpi,.gp-card,.pnl-card,.wg-card,.rep-kpi):before,.home-root .kpi:before{content:'';position:absolute;inset:7px;background:var(--croeso-line);clip-path:polygon(6px 0,calc(100% - 6px) 0,100% 6px,100% calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,0 calc(100% - 6px),0 6px);z-index:0;pointer-events:none}
:is(.ov-kpi,.gp-card,.pnl-card,.wg-card,.rep-kpi):after,.home-root .kpi:after{content:'';position:absolute;inset:8px;background:var(--croeso-cream);clip-path:polygon(5.4px 0,calc(100% - 5.4px) 0,100% 5.4px,100% calc(100% - 5.4px),calc(100% - 5.4px) 100%,5.4px 100%,0 calc(100% - 5.4px),0 5.4px);z-index:0;pointer-events:none}
:is(.ov-kpi,.gp-card,.pnl-card,.wg-card,.rep-kpi)>*,.home-root .kpi>*{position:relative;z-index:1}
.ov-number,.gp-value,.home-root .kpi>strong{font-family:Roboto,Arial,sans-serif;font-weight:650;font-size:clamp(25px,2.2vw,32px);line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.6px;overflow-wrap:anywhere}
.home-root .kpi>strong{margin:10px 0 8px}.home-root .kpi p{margin:7px 0 0}.home-root .kpi .eyebrow{font-size:10px;letter-spacing:1px}.home-root .kpi .eyebrow:after{content:'';display:block;width:22px;height:1px;background:var(--croeso-red);margin-top:5px}
#page table td,#page table th{font-variant-numeric:tabular-nums}#page :is(.gp-table,.ov-venues table,.wg-table) tbody tr:hover>*{background:#edf3e9}
#page :is(.ac-primary,.sp-primary),.home-root .report-reply{background:var(--croeso-red);border-color:var(--croeso-red);color:#fff;border-radius:4px}
/* Home retains every live section; weather becomes a compact row below its banner. */
.home-root{max-width:none}.home-root .welcome{margin-top:18px}.home-root .welcome h1{margin:0}.home-root .weather{width:100%;flex-shrink:1;border:0;padding:12px 16px;background:#e9eee5;border-radius:4px;color:#183d33;margin:0 0 18px;display:grid;grid-template-columns:170px 1fr;gap:5px 16px}
.home-root .weather-top{align-self:center}.home-root .weather-top b{font-size:12px}.home-root .weather .forecast{margin:0;gap:5px}.home-root .weather .forecast>div{padding:4px}.home-root .weather .forecast small,.home-root .weather .forecast b,.home-root .weather .forecast em{color:#365a48}.home-root .weather .forecast span{font-size:20px;margin:3px 0}.home-root .weather .today{background:#dce7d6}.home-root .weather #weather-status{font-size:10px!important;color:#526d5b;grid-column:1;margin:0}.home-root .weather-credit{grid-column:2;color:#526d5b;font-size:10px;align-self:end}.home-root .weather-credit a{color:inherit}
.home-root .page-heading{margin:16px 0 14px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.home-root #home-date{font-size:10px;color:#61736a;letter-spacing:.6px;flex-basis:100%}.home-root .page-heading h2{font-size:19px}.home-root #home-refresh{margin-left:auto;border-radius:4px;color:var(--croeso-red);border-color:#dfbabc}.home-root .kpis{gap:14px;margin-bottom:18px}.home-root .card:not(.kpi){border-radius:5px}.home-root .section-head h3:after{content:'';display:block;width:22px;height:1px;background:var(--croeso-red);margin-top:7px}
@media(max-width:1200px){.croeso-banner,.home-root .welcome{flex-direction:column;align-items:stretch;padding:22px 26px;gap:16px}.croeso-banner .filters,.home-root .banner-controls{flex:none;width:100%;max-width:620px}.home-root .kpis{grid-template-columns:1fr 1fr}.home-root .kpi:first-child{grid-column:1/-1}.home-root .weather{grid-template-columns:1fr}.home-root .weather-credit,.home-root .weather #weather-status{grid-column:1}.home-root .forecast{max-width:650px}}
@media(max-width:800px){#app aside{display:flex;flex-direction:row}#app aside>#nav{display:none}#app aside>#nav[data-open=true]{display:flex}.croeso-banner,.home-root .welcome{padding:22px;margin-top:14px;min-height:0}.croeso-banner h1,.home-root .welcome h1{font-size:24px}.croeso-banner .chrome-control,.home-root .banner-controls>label{flex-basis:135px}.croeso-banner .chrome-control select,.croeso-banner .chrome-control input,.home-root .banner-controls select{font-size:16px}.home-root .weather{padding:12px}.home-root .kpi{padding:17px 20px}.home-root .kpi>strong{font-size:27px}#mobileMenu #nav .nav-brand-signoff{color:#34594b}}
@media(max-width:440px){.home-root .kpis{grid-template-columns:1fr}.home-root .kpi:first-child{grid-column:auto}.home-root .weather .forecast span{font-size:18px}.home-root .weather .forecast b{font-size:11px}.home-root .weather .forecast small{font-size:10px}.home-root .weather .forecast>div{padding:3px 0}}

/* Reset the former circular homepage watermark before drawing the inset frame. */
.home-root .welcome:after{width:auto;height:auto;border:0;border-radius:0;box-shadow:none;transform:none;opacity:1}
.home-root .banner-controls>div{display:block;flex:1 1 160px;min-width:0;margin:0}
.home-root .banner-controls label{display:block;color:#fff4dc;font:500 12px/1.4 Roboto,Arial,sans-serif}
.home-root .kpi .eyebrow{display:block}

.home-root .welcome .banner-description{font:400 12px/1.6 Roboto,Arial,sans-serif;color:#d5e0d5;margin:9px 0 0}

/* Keep the sales chart and report carousel aligned as one desktop row. */
@media(min-width:851px){.home-root .middle-grid{align-items:stretch}.home-root .middle-grid>.sales,.home-root .middle-grid>.home-reports{height:100%;box-sizing:border-box}.home-root .middle-grid>.sales{display:flex;flex-direction:column}.home-root .middle-grid>.sales>.text-link{margin-top:auto;padding-top:12px}}

.wg-chart-card:has(croeso-trend)>.wg-legend{display:none}.wg-chart-card:has(croeso-trend){border-radius:5px;box-shadow:none}
/* Compact navigation requested alongside the chart review. */
@media(min-width:801px){#nav .nav{font-size:12px;padding-top:7px;padding-bottom:7px;min-height:34px}#nav .sub .nav{font-size:11.5px}#nav .nav-divider{margin-top:7px;margin-bottom:7px}#nav .nav-brand-signoff{padding-top:16px}}
