.dashboard-stat{display:block;transition:border-color .15s,background .15s;min-width:0}
.dashboard-stat:hover{border-color:var(--primary);background:var(--surface-soft)}
.dashboard-stat>div{font-size:15px}
.dashboard-stat>small{display:block;font-size:12px;line-height:1.6}
.dashboard-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.dashboard-panels>.panel{min-width:0;margin:0}
.dashboard-panels .panel-heading{min-height:80px}
.dashboard-panels .panel-heading h2{font-size:17px;line-height:1.4}
.dashboard-panels .panel-heading h2>.icon{width:21px;height:21px;color:var(--heading)}
.dashboard-chart{display:flex;align-items:center;gap:24px;padding:0 24px 28px}
.dashboard-donut{width:190px;max-width:44%;flex:0 0 190px;position:relative;aspect-ratio:1}
.dashboard-donut>svg{display:block;width:100%;height:100%}
.dashboard-donut-total{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}
.dashboard-donut-total>strong{font-size:34px;line-height:1.2;font-weight:650;color:var(--heading)}
.dashboard-donut-total>span{font-size:13px;color:var(--muted);margin-top:4px}
.dashboard-status-legend{list-style:none;margin:0;padding:0;flex:1;min-width:0}
.dashboard-status-legend a{display:flex;align-items:center;gap:10px;padding:9px 4px;border-radius:6px;font-size:14px}
.dashboard-status-legend a:hover{background:var(--surface-soft)}
.dashboard-status-legend i{width:10px;height:10px;flex:0 0 10px;background:var(--status-color);border-radius:50%}
.dashboard-status-legend a>span{flex:1;overflow-wrap:anywhere;min-width:0}
.dashboard-status-legend strong{font-size:15px;font-weight:650;color:var(--heading);margin-left:6px}
.dashboard-event{width:100%;display:flex;align-items:center;gap:14px;padding:16px 23px;border-top:1px solid var(--border);text-align:left;background:none;color:var(--text)}
.dashboard-event:hover{background:var(--surface-soft)}
.dashboard-event-date{flex:0 0 48px;border-radius:9px;min-height:54px;background:var(--primary-soft);color:var(--primary);display:flex;align-items:center;justify-content:center;flex-direction:column}
.dashboard-event-date>strong{font-size:21px;line-height:1.1}
.dashboard-event-date>span{font-size:11px}
.dashboard-event-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.dashboard-event-info>strong{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-event-info>span,.dashboard-event-info>small{font-size:12px;color:var(--muted)}
.dashboard-event>.icon{width:17px;height:17px;color:var(--muted)}
.dashboard-events-empty{min-height:228px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--muted);padding:24px;text-align:center;font-size:14px}
.dashboard-events-empty>.icon{width:30px;height:30px;opacity:.65}
@media(max-width:1250px){.dashboard-panels{grid-template-columns:1fr}.dashboard-chart{justify-content:center}.dashboard-status-legend{max-width:440px}}
@media(max-width:760px){.dashboard-panels{gap:18px}.dashboard-chart{gap:14px;padding:0 17px 22px}.dashboard-donut{flex-basis:155px}.dashboard-stat>div{font-size:13px}.dashboard-stat>small{font-size:11px}.dashboard-panels .panel-heading h2{font-size:15px}.dashboard-event{padding:15px 17px}.dashboard-panels .panel-heading .text-button{font-size:12px}}
@media(max-width:420px){.dashboard-donut{flex-basis:130px}.dashboard-donut-total>strong{font-size:29px}.dashboard-status-legend a{font-size:12px;gap:7px}.dashboard-status-legend strong{font-size:13px}.dashboard-panels .panel-heading{gap:8px}.dashboard-panels .panel-heading h2{font-size:14px}}

.dashboard-chart-heading{flex-wrap:wrap;gap:12px}
.dashboard-chart-tabs{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--border);border-radius:9px;background:var(--surface-soft)}
.dashboard-chart-tabs>button{padding:6px 10px;border-radius:6px;font-size:12px;font-weight:600;color:var(--muted);background:transparent;white-space:nowrap}
.dashboard-chart-tabs>button[aria-selected="true"]{background:var(--surface);color:var(--primary);box-shadow:var(--shadow)}
.dashboard-chart-tabs>button:hover{color:var(--primary)}
