.bd-performance{max-width:1440px;margin:auto;color:var(--text,#182b48);font-size:16px;line-height:1.55}.bd-performance h1{font-size:clamp(25px,3vw,36px);line-height:1.2}.bd-performance h2{font-size:22px;margin:24px 0 12px}.bd-performance label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:600;min-width:0}.bd-performance input,.bd-performance select,.bd-performance textarea,.bd-admin-workspaces select{font:inherit;min-height:44px;padding:10px;border:1px solid #8ca1bd;border-radius:8px;max-width:100%;width:100%;background:var(--surface,#fff);color:inherit;box-sizing:border-box}.bd-performance button,.bd-performance .button{min-height:44px;cursor:pointer}.bdp-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;padding:18px;border:1px solid #879bb655;border-radius:14px;background:var(--surface,#fff)}.bdp-filters button{align-self:end}.bdp-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px}.bdp-metric{text-align:left;background:var(--surface,#fff);border:1px solid #879bb666;border-radius:12px;padding:16px;color:inherit;display:flex;flex-direction:column;gap:8px}.bdp-metric strong{font-size:26px;color:var(--text,#173b70);font-variant-numeric:tabular-nums}.bdp-table{overflow:auto;max-width:100%;border:1px solid #879bb655;border-radius:12px}.bdp-table table{border-collapse:collapse;width:100%;text-align:left;min-width:560px}.bdp-table th,.bdp-table td{padding:12px;border-bottom:1px solid #879bb644;vertical-align:top}.bdp-table th{background:var(--surface,#eaf0f8)}.bdp-table td{max-width:290px;overflow-wrap:anywhere}.bdp-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.bdp-report{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:16px;background:var(--surface,#fff);padding:20px;border-radius:12px;border:1px solid #879bb666}.bdp-banner{padding:14px;border:2px solid #b8944f;border-radius:12px;margin-bottom:16px;background:var(--surface,#fff);color:var(--text,#172a48);display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap}.bdp-notice{padding:14px;border-left:4px solid #c3984b;background:var(--surface,#f4f6fa);margin:12px 0}.bdp-trend-row{display:grid;grid-template-columns:100px 1fr 90px;gap:8px;align-items:center;font-size:14px;margin:6px 0}.bdp-bar{height:12px;background:#486ca7;border-radius:6px;min-width:2px}.bdp-moneybar{background:#ac8643}.bd-performance details{margin:12px 0;padding:12px;border:1px solid #879bb666;border-radius:10px}.bd-performance summary{cursor:pointer;min-height:40px;font-weight:600}.bd-performance dialog{color:inherit;background:var(--surface,#fff);width:min(700px,92vw);max-height:85vh;overflow:auto;border:1px solid #879bb6;border-radius:14px;padding:20px}.bd-admin-workspaces{padding:12px 0}.bd-admin-workspaces h2{font-size:16px}.bd-admin-workspaces label{font-size:13px}.bdp-form{display:grid;gap:12px}.bdp-form textarea{min-height:90px}.bdp-status{min-height:28px;margin:8px 0}.bdp-layout-compact .bdp-table td{padding:7px}.bd-performance [data-money]{white-space:nowrap}
@media(max-width:600px){.bdp-filters{grid-template-columns:1fr 1fr;padding:12px;gap:10px}.bdp-filters label:first-child{grid-column:1/-1}.bdp-metrics{grid-template-columns:1fr 1fr;gap:8px}.bdp-metric{padding:12px;font-size:14px}.bdp-metric strong{font-size:22px}.bdp-trend-row{grid-template-columns:85px 1fr 75px}.bdp-report{padding:12px}.bd-performance dialog{padding:14px}.bdp-actions>*{flex:1 1 140px}.bdp-banner{font-size:14px}.bdp-table{overscroll-behavior-x:contain}.bd-performance h2{font-size:20px}}
html[data-portal-theme=dark] .bd-performance,body[data-theme=dark] .bd-performance{--surface:#15243b;--text:#eef3fb}html[data-portal-theme=dark] .bdp-banner{--surface:#15243b;--text:#eef3fb}

@media(max-width:360px){.bdp-filters{grid-template-columns:1fr}.bdp-metrics{grid-template-columns:1fr 1fr}.bdp-metric strong{font-size:19px}.bdp-trend-row{grid-template-columns:80px 1fr 65px}}

.bdp-advanced{grid-column:1/-1}.bdp-advanced summary{cursor:pointer;padding:12px 0;font-weight:650}.bdp-advanced>.bdp-filters{padding:12px 0}
.bd-performance,.bdp-metric{min-width:0;overflow-wrap:anywhere}.bdp-metric strong{max-width:100%;font-size:clamp(18px,4.6vw,26px)}.bd-performance button{white-space:normal;max-width:100%}.bdp-table{box-sizing:border-box}

/* Direct unit shortcuts stay grouped with the shared sales dashboard. */
.bd-unit-links{margin:3px 0 6px 13px;padding-left:8px;border-left:1px solid #55789f;display:grid;gap:2px}.workspace-modern .portal-sidebar .bd-unit-links a{min-height:44px;font-weight:650;letter-spacing:.04em}
/* Keep the short report heading visible below the sticky mobile header. */
.bdp-report{scroll-margin-top:140px}

[data-whatsapp-preview]{scroll-margin-top:140px}
