.attendance-history-date{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}
.attendance-history-date select{font:inherit;padding:9px 12px;border:1px solid var(--line,#cbd5e1);border-radius:8px;background:var(--surface,#fff);color:var(--ink,#172554);max-width:100%}
.attendance-history-scroll{overflow-x:auto;margin-top:16px}
.attendance-history-table{width:100%;border-collapse:collapse;min-width:650px;text-align:left;font-size:14px}
.attendance-history-table th,.attendance-history-table td{padding:12px;border-bottom:1px solid var(--line,#cbd5e1);vertical-align:middle;white-space:nowrap}
.attendance-history-table thead th{font-weight:700}.attendance-history-table tbody th{font-weight:600}

.attendance-history-panel>summary{cursor:pointer;list-style:none;margin-bottom:0}
.attendance-history-panel>summary::-webkit-details-marker{display:none}
.attendance-history-panel>summary::after{content:'⌄';font-size:22px;color:var(--muted)}
.attendance-history-panel[open]>summary::after{content:'⌃'}
.attendance-history-panel[open]>summary{margin-bottom:16px}
.team-attendance-panel>summary{cursor:pointer}
.team-attendance-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:16px 0}
.team-attendance-filters label{display:flex;flex-direction:column;gap:6px;font-size:14px;max-width:100%}
.team-attendance-filters input,.team-attendance-filters select{font:inherit;padding:9px 12px;border:1px solid var(--line,#cbd5e1);border-radius:8px;background:var(--surface,#fff);color:var(--ink,#172554);max-width:100%;box-sizing:border-box}
.team-attendance-table{min-width:850px}
.team-attendance-records{padding-left:20px;min-width:230px;max-width:400px;white-space:normal}
.team-attendance-records li{margin:12px 0;overflow-wrap:anywhere}
.team-attendance-records span{display:block;color:var(--muted)}
.team-attendance-records p{margin:4px 0;white-space:pre-wrap}
