﻿/* V1 dashboard; financial semantic warnings remain independent of brand. */
html.bc-v1 .bc-v1-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;gap:16px;margin:0 0 24px}
html.bc-v1 .bc-v1-kpi{position:relative;display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:10px;padding:22px 18px;min-width:0}
html.bc-v1 .bc-v1-kpi h2{font-size:12px;font-weight:600;color:var(--muted);margin:0 0 14px}
html.bc-v1 .bc-v1-kpi strong{display:block;font-size:clamp(20px,2.1vw,29px);letter-spacing:-1px;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html.bc-v1 .bc-v1-kpi p{font-size:10px;line-height:1.6;min-height:32px;color:var(--muted);margin:10px 0 0}
html.bc-v1 .bc-v1-formula{color:#875012}
html.bc-v1 #hm-dashboard .bc-v1-kpi .bc-v1-spark{display:block;flex-shrink:0;align-self:flex-end;width:110px;max-width:100%;height:28px;color:var(--brand-chart-primary);margin-top:auto}
html.bc-v1 #hm-dashboard .bc-v1-activity-chart{max-width:none!important;width:auto;margin:24px 0!important;padding:24px!important}
html.bc-v1 .bc-v1-activity-chart svg{max-height:320px!important}
html.bc-v1 .bc-v1-activity-chart rect:has(title){fill:var(--brand-chart-primary);transition:fill .15s}
html.bc-v1 .bc-v1-activity-chart rect:has(title):is(:hover,:focus){fill:var(--brand-chart-hover);outline:none}
html.bc-v1 .bc-v1-activity-chart :is(path[stroke="#7C3AED"],circle){stroke:var(--brand-secondary);fill:var(--brand-secondary)}
html.bc-v1 .bc-v1-activity-chart path[fill=none]{fill:none}
html.bc-v1 .bc-v1-chart-note{font-size:11px;line-height:1.6;color:var(--muted)}
@media(max-width:1100px){html.bc-v1 .bc-v1-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){html.bc-v1 .bc-v1-kpis{gap:10px}html.bc-v1 .bc-v1-kpi{padding:16px 12px}html.bc-v1 .bc-v1-kpi strong{font-size:24px}html.bc-v1 #hm-dashboard .bc-v1-activity-chart{padding:16px!important}}
html.v11.bc-v1 .bc-revenue{border-radius:10px!important;padding:24px!important}
html.bc-v1 .bc-revenue-heading h2{font-size:19px}
html.bc-v1 .bc-bar{fill:var(--brand-chart-primary)}
html.bc-v1 .bc-bar-group.is-active .bc-bar{fill:var(--brand-chart-hover)}
html.bc-v1 .bc-bar.is-negative{fill:#a72c35}
html.bc-v1 .bc-bar-track{fill:var(--brand-primary-soft)}
html.bc-v1 .bc-chart-detail{background:var(--brand-primary-soft)}
html.bc-v1 .bc-chart-legend i{background:var(--brand-chart-primary)}
html.bc-v1 .bc-revenue>.bc-v1-formula{font-size:11px;margin:14px 0}
@media(max-width:760px){html.v11.bc-v1 .bc-revenue{padding:16px!important}}
@media(max-width:760px){html.bc-v1 #hm-dashboard>.bc-v1-kpis{order:-4}html.bc-v1 #hm-dashboard>.bc-revenue{order:-3}}
html.bc-v1 .bc-v1-periods{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;flex-wrap:wrap;order:-5}
html.bc-v1 .bc-v1-periods>div{display:flex;gap:4px}
html.bc-v1 .bc-v1-periods>span{font-size:12px;color:var(--muted)}
html.bc-v1 .bc-v1-periods [aria-pressed=true]{background:var(--brand-primary-soft);color:var(--brand-primary);border-color:var(--brand-border-strong)}
html.bc-v1 .bc-v1-spark-empty{font-size:10px;line-height:1.5;color:var(--muted);margin-top:auto}
html.bc-v1 .bc-v1-revenue{padding:24px;margin-bottom:24px;order:-3}
html.bc-v1 .bc-v1-revenue .panel-head{padding:0 0 20px;gap:12px;flex-wrap:wrap}
html.bc-v1 .bc-v1-revenue h2{font-size:20px;margin:5px 0}
html.bc-v1 .bc-v1-revenue p{font-size:12px;color:var(--muted)}
html.bc-v1 .bc-v1-bars{display:flex;gap:8px;min-width:0;align-items:stretch}
html.bc-v1 .bc-v1-bar-button{border:0;background:transparent;min-width:0;flex:1;padding:0 3px;color:var(--muted);border-radius:5px;cursor:pointer}
html.bc-v1 .bc-v1-bar-track{display:block;position:relative;height:190px;background:transparent}
html.bc-v1 .bc-v1-bar-track:after{content:'';position:absolute;left:-7px;right:-7px;bottom:var(--bar-zero);border-top:1px solid var(--line);pointer-events:none}
html.bc-v1 .bc-v1-bar{position:absolute;display:block;left:10%;right:10%;bottom:var(--bar-bottom);height:var(--bar-height);border-radius:5px;background:#dce1df;transition:background .2s ease}
html.bc-v1 .bc-v1-bar-button:is(:hover,:focus-visible,.is-active) .bc-v1-bar{background:var(--brand-chart-hover)}
html.bc-v1 .bc-v1-bar-button:focus-visible{outline:2px solid var(--brand-focus);outline-offset:3px}
html.bc-v1 .bc-v1-bin-label{display:block;min-height:36px;padding-top:10px;font:10px/1.3 var(--font,inherit);overflow-wrap:anywhere}
html.bc-v1 .bc-v1-chart-detail{display:flex;gap:8px 20px;flex-wrap:wrap;padding:16px;margin-top:14px;border-radius:8px;background:var(--brand-primary-soft);font-size:12px;line-height:1.5;overflow-wrap:anywhere;min-height:50px}
html.bc-v1 .bc-v1-chart-empty{padding:50px 16px;text-align:center;color:var(--muted);font-size:13px}
html.bc-v1 .bc-v1-metric-warning{font-size:12px;line-height:1.6;color:#875012;background:#fff9ec;padding:12px;border-radius:8px}
@media(max-width:760px){html.bc-v1 .bc-v1-revenue{padding:16px}html.bc-v1 .bc-v1-bars{gap:2px}html.bc-v1 .bc-v1-bar-track{height:140px}html.bc-v1 .bc-v1-bar-button{padding:0 1px}html.bc-v1 .bc-v1-bin-label{font-size:8px}html.bc-v1 .bc-v1-chart-detail{gap:6px 14px}}
@media(prefers-reduced-motion:reduce){html.bc-v1 .bc-v1-bar{transition:none}}
