.metrics-summary{grid-template-columns:repeat(5,minmax(0,1fr))}
.metrics-range{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.metrics-range label{min-width:150px}
.metrics-presets{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.metrics-presets button{border:1px solid #d4d8d5;background:#fff;color:#35463e;padding:10px 12px;border-radius:5px;font-size:13px;font-weight:600;min-height:42px}
.metrics-presets button[aria-pressed=true]{background:#1a3b30;border-color:#1a3b30;color:#fff}
.metrics-toolbar .metrics-refresh{margin-left:auto}
.metrics-chart{margin-top:8px}
.metrics-chart-head{display:flex;align-items:start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.metrics-chart-head p{font-size:14px;margin:6px 0 0}
.performance-legend{display:flex;gap:9px 16px;flex-wrap:wrap;font-size:12px;color:#4d5651;margin:18px 0 16px}
.performance-legend span{display:inline-flex;align-items:center;gap:6px}
.performance-legend i{display:inline-block;width:11px;height:11px;border-radius:2px;background:#829a8e}
.performance-legend .metric-phone{background:#ba6b39}.performance-legend .metric-quote{background:#3b6278}.performance-legend .metric-form_start{background:#9a78a8}.performance-legend .metric-enquiry_received{background:#23734c}
.performance-chart-scroll{display:flex;overflow-x:auto;gap:12px;max-width:100%;padding:0 0 8px}
.performance-chart-axes{flex:0 0 58px;display:grid;grid-template-rows:150px 110px 42px;align-items:center;color:#5e6861;font-size:12px;font-weight:700;position:sticky;left:0;background:#fff;z-index:1}
.performance-chart-axes small{font-size:10px;font-weight:400}
.performance-chart-grid{display:grid;grid-template-columns:repeat(var(--bucket-count),minmax(38px,1fr));gap:5px;min-width:max(100%,calc(var(--bucket-count) * 46px));flex:1}
.performance-chart-bucket{appearance:none;border:0;border-radius:4px;background:transparent;display:grid;grid-template-rows:150px 110px 42px;min-width:0;padding:0 3px;cursor:pointer;color:#545c57;text-align:center}
.performance-chart-bucket:hover,.performance-chart-bucket[aria-pressed=true]{background:#eef4ef}
.performance-chart-bucket:focus-visible{outline:2px solid #28533f;outline-offset:-2px}
.performance-chart-views,.performance-chart-actions{display:flex;flex-direction:column-reverse;align-items:stretch;justify-content:flex-start;min-width:0;position:relative;border-bottom:1px solid #bfc9c0}
.performance-chart-views{background:repeating-linear-gradient(to top,#edf0ed 0,#edf0ed 1px,transparent 1px,transparent 50%)}
.performance-chart-actions{margin-top:13px;background:repeating-linear-gradient(to top,#edf0ed 0,#edf0ed 1px,transparent 1px,transparent 50%)}
.performance-chart-views i{display:block;background:#829a8e;border-radius:3px 3px 0 0;min-height:0;width:100%;max-width:38px;margin-inline:auto}
.performance-chart-actions i{display:block;min-height:2px;width:100%;max-width:38px;margin-inline:auto}
.performance-chart-actions .metric-phone{background:#ba6b39}.performance-chart-actions .metric-quote{background:#3b6278}.performance-chart-actions .metric-form_start{background:#9a78a8}.performance-chart-actions .metric-enquiry_received{background:#23734c}
.performance-chart-label{font-size:11px;line-height:1.2;align-self:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.performance-chart-detail{border-top:1px solid #e5e9e5;padding-top:14px;margin-top:12px;display:flex;gap:8px 18px;flex-wrap:wrap;font-size:14px;color:#4a574d}
.performance-chart-detail strong{color:#1a3024}
.performance-chart-empty{background:#f5f8f5;border:1px dashed #bacbbd;padding:40px 20px;text-align:center;margin:0;min-width:250px}
@media(max-width:1050px){.metrics-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.metrics-range{width:100%}.metrics-range label{flex:1;min-width:130px}.metrics-toolbar .metrics-refresh{margin-left:0}.performance-chart-axes{flex-basis:45px}.metrics-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
