.dashboard-kpi-section{margin:24px 0}.dashboard-kpi-section>h2{font-size:16px;line-height:1.4;margin:0 0 12px;color:var(--ink)}
.dashboard-financial-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-financial-kpi,.dashboard-status-kpi{background:var(--white,#fff);border:1px solid var(--line,#dce5ed);border-radius:12px;padding:18px;min-width:0}.dashboard-financial-kpi h3,.dashboard-status-kpi h3{font-size:13px;font-weight:500;line-height:1.5;margin:0 0 12px;color:var(--muted)}.dashboard-financial-kpi p{font-size:clamp(20px,1.8vw,30px);font-weight:700;line-height:1.4;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:var(--ink)}.dashboard-financial-kpi small{font-size:11px;font-weight:500}
.dashboard-status-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.dashboard-status-kpi{display:flex;flex-direction:column;padding:16px}.dashboard-status-kpi h3{margin-bottom:10px;flex:1}.dashboard-status-kpi>strong{font-size:27px;line-height:1.3;font-variant-numeric:tabular-nums}.dashboard-status-kpi>span{font-size:11px;color:var(--muted);margin-top:6px}.dashboard-status-kpi[data-dashboard-group=delivered]>strong{color:var(--green,#117d74)}
.dashboard-overview-charts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px;align-items:start}.dashboard-trend-card{grid-column:span 2}.dashboard-card-heading{padding:20px 18px 10px}.dashboard-card-heading h2{font-size:15px;line-height:1.4;margin:0;color:var(--ink)}.dashboard-card-heading p{font-size:11px;line-height:1.5;margin:6px 0 0;color:var(--muted)}.dashboard-trend-legend{display:flex;gap:18px;flex-wrap:wrap;padding:0 18px 8px;font-size:11px}.dashboard-trend-legend span{display:flex;gap:6px;align-items:center}.dashboard-trend-legend i{width:18px;height:3px;border-radius:2px}.legend-total{background:var(--ink)}.legend-delivered{background:var(--green,#117d74)}.dashboard-trend{display:block;width:100%;height:auto;padding:0 12px 12px;overflow:visible}.dashboard-trend text{font:11px var(--app-font-family,Arial,sans-serif);fill:var(--muted)}.trend-grid{stroke:var(--line,#dce5ed);stroke-width:1}.trend-total,.trend-delivered{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.trend-total{stroke:var(--ink)}.trend-delivered{stroke:var(--green,#117d74)}.trend-point-total{fill:var(--ink)}.trend-point-delivered{fill:var(--green,#117d74)}
.dashboard-pie-content{padding:10px 16px 16px}.dashboard-pie{width:142px;aspect-ratio:1;border-radius:50%;margin:0 auto 18px;display:grid;place-items:center}.dashboard-pie>div{width:94px;aspect-ratio:1;border-radius:50%;background:var(--white,#fff);display:flex;flex-direction:column;align-items:center;justify-content:center}.dashboard-pie strong{font-size:24px;line-height:1.2;font-variant-numeric:tabular-nums}.dashboard-pie span{font-size:11px;color:var(--muted)}.dashboard-pie.is-empty{background:var(--line,#dce5ed)}.dashboard-pie-legend{list-style:none;padding:0;margin:0;max-height:240px;overflow-y:auto}.dashboard-pie-legend li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;font-size:11px;align-items:start;margin:9px 0;font-variant-numeric:tabular-nums}.dashboard-status-name{display:flex;align-items:baseline;gap:6px;min-width:0;overflow-wrap:anywhere}.dashboard-status-name i{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%}.dashboard-chart-empty{font-size:12px;color:var(--muted);line-height:1.6;text-align:center;padding:24px 18px}
.dashboard-rankings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.dashboard-ranking{overflow:hidden}.dashboard-ranking table{width:100%;table-layout:fixed;border-collapse:collapse}.dashboard-ranking th,.dashboard-ranking td{padding:12px 14px;font-size:12px;text-align:right;border-bottom:1px solid var(--line,#dce5ed);font-variant-numeric:tabular-nums}.dashboard-ranking th{font-size:11px;color:var(--muted);font-weight:500}.dashboard-ranking th:first-child,.dashboard-ranking td:first-child{width:52%;text-align:left}.dashboard-ranking td:first-child>span:last-child{overflow-wrap:anywhere}.dashboard-rank{display:inline-block;min-width:22px;color:var(--muted);font-size:11px}.dashboard-ranking small{display:block;margin-top:3px;font-size:10px;color:var(--muted)}.dashboard-ranking tbody tr:last-child td{border-bottom:0}
@media(max-width:1100px){.dashboard-financial-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-status-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-overview-charts{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-trend-card{grid-column:1/-1}.dashboard-rankings{grid-template-columns:1fr}}
@media(max-width:600px){.dashboard-kpi-section{margin:20px 0}.dashboard-financial-kpis,.dashboard-status-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-financial-kpi,.dashboard-status-kpi{padding:14px}.dashboard-financial-kpi h3{font-size:12px}.dashboard-financial-kpi p{font-size:21px}.dashboard-status-kpi h3{font-size:12px}.dashboard-overview-charts{grid-template-columns:minmax(0,1fr);gap:14px}.dashboard-pie-content{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:center}.dashboard-pie{width:120px;margin:0}.dashboard-pie>div{width:80px}.dashboard-pie-legend{max-height:220px}.dashboard-chart-empty{grid-column:1/-1}.dashboard-ranking th,.dashboard-ranking td{padding:12px}.dashboard-card-heading{padding:16px 16px 10px}}

.dashboard-private-amount{display:flex;align-items:center;justify-content:space-between;gap:8px}.dashboard-private-amount p{min-width:0}.dashboard-private-amount .icon-button{flex:none;color:var(--ink);width:36px;height:36px}.dashboard-private-amount .icon-button:hover{background:var(--green-light)}

.dashboard-filters{align-items:flex-end;flex-wrap:wrap}.dashboard-filters .quick-field-filters{flex:1 1 360px}.dashboard-charts-subset{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.dashboard-charts-subset .dashboard-trend-card{grid-column:auto}.dashboard-rankings{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}

.dashboard-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dashboard-filters .quick-field-filters{display:contents}.dashboard-filters .filter-field{min-width:0;width:auto;max-width:none}.dashboard-filters select,.dashboard-filters .date-range-control{width:100%;min-width:0}.dashboard-filter-actions{grid-column:1/-1;display:flex;gap:10px;align-items:center}.dashboard-filter-actions .icon-button{flex:none}@media(max-width:600px){.dashboard-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-filters .date-filter-field:nth-child(3){grid-column:1/-1}}

.dashboard-delivered-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dashboard-delivered-section>h2 small{display:inline-block;font-size:11px;font-weight:400;color:var(--muted);margin-left:8px}.dashboard-delivered-kpis .dashboard-status-kpi>strong{color:var(--green,#117d74)}@media(max-width:600px){.dashboard-delivered-kpis{grid-template-columns:minmax(0,1fr)}.dashboard-delivered-section>h2 small{display:block;margin:4px 0 0}}
.dashboard-exchange-kpi{max-width:420px}.dashboard-exchange-kpi small{display:block;margin-top:6px;font-size:11px;color:var(--muted)}
.dashboard-refresh-status{display:flex;align-items:center;gap:9px;color:var(--ink);font-size:13px;margin:0;grid-column:1/-1}.dashboard-refresh-spinner{width:16px;height:16px;flex:none;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:dashboard-refresh-spin .8s linear infinite}#content[data-dashboard-loading] :is(.dashboard-kpi-section,.dashboard-overview-charts,.dashboard-rankings){opacity:.55;pointer-events:none}@keyframes dashboard-refresh-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.dashboard-refresh-spinner{animation:none}}

.dashboard-filters #list-advanced-filters{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dashboard-filters #list-advanced-filters[hidden]{display:none!important}
.dashboard-filters #toggle-list-filters{flex:none}
@media(max-width:600px){.dashboard-filters #list-advanced-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}

.dashboard-custom-kpi{background:var(--kpi-background)!important;color:var(--kpi-text)!important;border:1px solid var(--kpi-border)!important}.dashboard-custom-kpi :is(h3,strong,span,small,p,a,button){color:inherit!important}.dashboard-custom-kpi:hover,.dashboard-custom-kpi:focus-within{background:var(--kpi-hover-background)!important;color:var(--kpi-hover-text)!important;border-color:var(--kpi-hover-border)!important}
.dashboard-color-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.dashboard-color-fields input[type=color]{width:100%;height:40px}#dashboard-presentation-form h3{margin:24px 0 12px}.trend-bar-total,.trend-area-total{fill:var(--green)}.trend-bar-delivered,.trend-area-delivered{fill:#43a3d4}.trend-area-total,.trend-area-delivered{opacity:.22}.dashboard-pie-full>div{visibility:hidden}.dashboard-status-bars{list-style:none;padding:8px 20px 20px;margin:0;max-height:330px;overflow:auto}.dashboard-status-bars li{margin-bottom:14px}.dashboard-status-bars li>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:5px}.dashboard-status-bars strong{white-space:nowrap;font-variant-numeric:tabular-nums}.dashboard-status-bar-track{height:12px;background:var(--canvas);border-radius:3px;overflow:hidden}.dashboard-status-bar-track>span{display:block;height:100%}@media(max-width:600px){.dashboard-color-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
