.att-tabs,.att-toolbar,.att-summary{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0;align-items:center}.att-tabs button.selected{background:#d6ae47;border-color:#c29b39}.att-summary span{background:#f4f4f4;border-radius:8px;padding:10px}.att-player{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;border-bottom:1px solid #e5e5e5;flex-wrap:wrap}.att-choices{display:flex;gap:9px}.att-choice{min-width:80px;min-height:44px;background:white;border:1px solid #aaa}.att-choice.present{background:#d8f4e1;border-color:#279a4d;color:#155b2a}.att-choice.absent{background:#ffe0e0;border-color:#c84646;color:#8a2020}.att-assignment{display:flex;justify-content:space-between;align-items:center;padding:10px;border-bottom:1px solid #ddd;gap:10px}.att-assignment select{min-width:125px}.att-days{display:flex;flex-wrap:wrap;gap:14px;margin:14px 0}.att-days label{white-space:nowrap}.att-date input{max-width:190px}.att-report-table{overflow-x:auto}.att-report-table table{min-width:440px}.att-hidden[hidden],#attendanceDashboard[hidden],#attendanceDashboard [hidden]{display:none!important}@media(max-width:650px){.att-player{align-items:stretch}.att-player strong{width:100%}.att-choices{width:100%}.att-choice{flex:1}.att-tabs button{min-height:44px}.att-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact one-row attendance, including narrow phones */
.att-player{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 4px;flex-wrap:nowrap}
.att-player strong{min-width:0;width:auto;overflow-wrap:anywhere;font-size:clamp(12px,2.5vw,16px);line-height:1.35}
.att-choices{width:auto;display:flex;gap:4px;flex:0 0 auto}
.att-choice{min-width:0;min-height:40px;padding:7px 9px;border-radius:8px;font-size:clamp(11px,2.4vw,14px);white-space:nowrap;flex:none}
.att-choice.late{background:#ffedd2;border-color:#d88922;color:#864800}
.att-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:14px 0}
.att-day-pill{position:relative;display:block;min-width:0;cursor:pointer}
.att-day-pill input{position:absolute;opacity:0;width:1px;height:1px}
.att-day-pill span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 3px;border:1px solid #c6c6c6;border-radius:9px;background:white;color:#222;font-size:13px;text-align:center;white-space:nowrap}
.att-day-pill input:checked+span{background:#d6ae47;border-color:#b58d27;color:#171717;font-weight:700}
.att-day-pill input:focus-visible+span{outline:3px solid #297bd5;outline-offset:2px}
@media(max-width:650px){.att-player{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.att-player strong{width:auto}.att-choices{width:auto}.att-choice{flex:none}.att-days{grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:8px}}
@media(max-width:360px){.att-player{gap:4px}.att-choice{padding:7px 5px;font-size:11px}.att-choices{gap:3px}}
