/* All overview cards share the RH reference; values and interactions stay local. */
html .v3-site .dashboard-metric{width:100%;min-width:0;text-align:left;border:1px solid var(--v3-line)!important;border-top:3px solid var(--v3-line)!important;border-radius:20px;background:var(--v3-panel)!important;box-shadow:var(--v3-shadow);color:var(--v3-text);font:inherit;padding:24px!important;min-height:154px}
html .v3-site .dashboard-metric:has(.v3-danger),html .v3-site .dashboard-metric:has(.v3-warning),html .v3-site .dashboard-metric:has(.v3-purple),html .v3-site .dashboard-metric:has(.v3-success){border-top-color:var(--v3-line)!important}
.dashboard-metric .v3-metric-body{flex:1;min-width:0}.dashboard-metric .v3-metric-body>strong{font-size:clamp(24px,2.2vw,36px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;letter-spacing:-.7px;line-height:1.25}.dashboard-metric .v3-metric-label{font-size:13px}.dashboard-metric .v3-metric-body>small{font-size:11px;overflow-wrap:anywhere}.dashboard-metric .v3-metric-icon{width:54px;height:54px;border-radius:16px}.dashboard-metric .v3-metric-arrow{right:18px;bottom:18px}
button.dashboard-metric{cursor:pointer;transition:box-shadow .15s,transform .15s}button.dashboard-metric:hover{transform:translateY(-2px);box-shadow:0 6px 22px #14171c20}
.dashboard-metric{container-type:inline-size}.dashboard-money .v3-metric-body>strong{font-size:clamp(16px,8cqw,32px)!important;overflow-wrap:normal;word-break:normal}
.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0}.dashboard-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-total{margin-top:18px}.dashboard-total.dashboard-metric{min-height:110px!important;align-items:center}.dashboard-total .v3-metric-body{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 20px}.dashboard-total .v3-metric-body>strong{grid-column:2;grid-row:1/3;margin:0}.dashboard-total .v3-metric-body>small{grid-column:1}
.dashboard-bars{display:grid;gap:18px;margin-top:22px}.dashboard-bar-label{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;margin-bottom:8px}.dashboard-bar-label span{min-width:0;overflow-wrap:anywhere;color:var(--v3-muted)}.dashboard-bar-label b{font-variant-numeric:tabular-nums;white-space:nowrap}.dashboard-bar-track{height:12px;background:var(--v3-soft);border-radius:5px;overflow:hidden}.dashboard-bar-fill{height:100%;background:linear-gradient(90deg,#1568fa,#77b4ff);border-radius:5px}
.dashboard-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.dashboard-panels>.v3-panel{min-width:0}
.dashboard-finance-composition{margin-top:20px}.dashboard-donut-layout{display:flex;align-items:center;gap:32px;justify-content:center;padding:12px 0}.dashboard-donut-layout .v3-donut{width:190px;height:190px}.dashboard-donut-layout .v3-donut strong{font-size:20px;overflow-wrap:anywhere;text-align:center;padding:8px;max-width:100%}.dashboard-donut-layout dl{display:grid;gap:16px;min-width:0;flex:1;max-width:600px}.dashboard-donut-layout dl>div{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px}.dashboard-donut-layout dt{display:flex;align-items:center;gap:9px;color:var(--v3-muted)}.dashboard-donut-layout i{width:10px;height:10px;border-radius:50%;flex-shrink:0}.dashboard-donut-layout dd{font-weight:750;font-variant-numeric:tabular-nums}
@media(max-width:600px){.dashboard-donut-layout{flex-direction:column;gap:22px}.dashboard-donut-layout dl{width:100%}.dashboard-donut-layout dl>div{flex-wrap:wrap;gap:6px}}
@media(max-width:1200px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){html .v3-site .dashboard-metric{padding:18px!important;min-height:140px}.dashboard-grid{gap:12px}.dashboard-panels{grid-template-columns:1fr}.dashboard-metric .v3-metric-icon{width:40px;height:40px;border-radius:12px}.dashboard-metric .v3-metric-label{font-size:12px}.dashboard-metric .v3-metric-body>strong{font-size:26px}.dashboard-total .v3-metric-body{display:flex;flex-direction:column;align-items:flex-start}}
@media(max-width:480px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-metric .v3-metric-body>strong{font-size:30px}.dashboard-bar-label{flex-wrap:wrap;gap:6px}html .v3-site .dashboard-metric{min-height:130px}}
