.attendance-chart-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.attendance-chart-panel{min-width:0}
.attendance-chart-panel h3{margin-bottom:6px}
.attendance-chart-panel>.muted{margin:0 0 12px}
.attendance-chart-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;align-items:end;height:220px;padding:0 8px 1px}
.attendance-chart-day{display:flex;flex-direction:column;align-items:center;gap:9px;height:100%;min-width:0;color:var(--rd-muted);font-size:11px;font-weight:650}
.attendance-chart-track{flex:1;display:flex;align-items:flex-end;justify-content:center;width:100%;min-height:0;border-bottom:1px solid var(--rd-line);background:linear-gradient(to top,transparent 24%,rgba(120,143,185,.07) 25%,transparent 25.5%,transparent 49%,rgba(120,143,185,.07) 50%,transparent 50.5%,transparent 74%,rgba(120,143,185,.07) 75%,transparent 75.5%);border-radius:4px}
.attendance-chart-bar{width:min(45px,90%);display:flex;flex-direction:column;border-radius:7px 7px 0 0;overflow:hidden;min-height:0;box-shadow:0 -3px 10px rgba(16,43,89,.07)}
.attendance-chart-bar>span{min-height:0}
.attendance-chart-legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:18px}
.attendance-chart-legend-item{display:flex;align-items:center;gap:7px;color:var(--rd-muted);font-size:12px}
.attendance-chart-legend-item strong{color:var(--rd-ink)}
.attendance-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex-shrink:0}
.attendance-chart-pie-row{min-height:242px;display:flex;align-items:center;justify-content:space-around;gap:15px}
.attendance-chart-donut{position:relative;border-radius:50%;width:min(200px,48vw);aspect-ratio:1;display:grid;place-items:center;flex-shrink:0}
.attendance-chart-donut>div{width:70%;height:70%;border-radius:50%;background:var(--rd-surface);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px}
.attendance-chart-donut strong{font-size:30px;letter-spacing:-.7px;color:var(--rd-ink)}
.attendance-chart-donut span{font-size:12px;color:var(--rd-muted)}
.attendance-chart-vertical{flex-direction:column;margin-top:0}
@media(max-width:1000px){.attendance-chart-grid{grid-template-columns:1fr}}
@media(max-width:520px){.attendance-chart-bars{height:185px;gap:5px;padding:0 2px 0}.attendance-chart-donut{width:min(180px,43vw)}.attendance-chart-pie-row{gap:8px}.attendance-chart-panel{padding:15px}}
