.attendance-five{display:flex;gap:3px;align-items:center;white-space:nowrap}.attendance-dot{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;border-radius:50%;font-size:17px;line-height:1;font-weight:900;background:#ece9ee;color:#72667b}.attendance-dot.attended{background:#62ad35;color:#fff}.attendance-dot.missed{background:#e22128;color:#fff}.attendance-dot.optional{background:#fff0bc;color:#654b00}.attendance-dot.no-history{opacity:.55}.history-name{border:0;background:none;padding:0;color:#4b1b6d;text-align:center;font:inherit;font-weight:750;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.history-name:focus-visible{outline:3px solid #ffc629;outline-offset:4px}.attendance-cell small{display:block;font-size:11px;color:#706773;margin-top:4px}.history-dialog{width:min(850px,95vw);max-width:850px}.history-dialog .modal-body{padding-top:12px}.history-range{display:flex;flex-wrap:wrap;gap:6px}.history-range button[aria-pressed=true]{background:#4b1b6d;color:white}.weight-chart{width:100%;height:auto;min-height:160px;background:#fcfafd;border-radius:10px;margin-top:12px}.weight-chart text{font:12px system-ui;fill:#645c6b}.history-caption{font-size:12px;color:#695e73;line-height:1.5;margin:4px 0 12px}.history-empty{padding:25px;background:#f7f4fa;border-radius:8px}.history-sample{font-size:12px;color:#5e4300;background:#fff0bd;padding:8px 12px;border-radius:7px}.history-readings{font-size:13px;margin-bottom:22px}.history-readings summary{cursor:pointer;color:#4b1b6d}.history-readings table{width:100%;border-collapse:collapse}.history-readings td,.history-readings th{padding:7px;border-bottom:1px solid #eee;text-align:center}.attendance-panel{border-top:1px solid #e4dce9;padding-top:14px;margin-top:14px}.attendance-panel h3{margin:0 0 6px;font-size:20px;color:#4b1b6d}.attendance-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.attendance-totals>div{background:#f5effa;border-radius:10px;padding:13px;text-align:center;border-bottom:3px solid #ffc629}.attendance-totals strong{display:block;font-size:30px;color:#4b1b6d}.attendance-totals span{font-size:13px}.attendance-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.attendance-dow{font-size:11px;text-align:center;color:#75647d;padding:5px}.attendance-day{min-height:49px;background:#f6f5f7;border-radius:7px;padding:5px 7px;font-size:12px;display:flex;align-items:flex-start;justify-content:space-between}.attendance-day b{align-self:center;font-size:26px;line-height:1}.attendance-day.attended{background:#edf7e6;color:#2c6c1f}.attendance-day.missed{background:#fff0f0;color:#c51c27}.attendance-day.optional{background:#fff7da;color:#756022}.attendance-day.pending{border:1px dashed #a18aaa;color:#755382}.attendance-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;margin:12px 0}.attendance-month{display:flex;justify-content:space-between;align-items:center;margin:18px 0 8px;gap:8px}.attendance-month strong{font-size:15px}.attendance-month button{padding:6px 12px;min-height:36px}.checkin-entry .attendance-panel{max-width:700px}.checkin-entry .attendance-month{max-width:700px}.history-context{margin:0 0 12px;font-size:13px;color:#73647a}@media(max-width:600px){.attendance-day{padding:4px;min-height:40px;font-size:11px}.attendance-day b{font-size:21px}.attendance-totals>div{padding:9px 4px}.attendance-totals strong{font-size:26px}.attendance-totals span{font-size:12px}.daily-table td.attendance-cell{display:table-cell!important}.history-dialog .modal-body{padding:12px}.attendance-cell{min-width:126px}}@media print{.history-dialog{width:100%}.attendance-dot,.attendance-day{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.history-dialog{width:min(1100px,96vw);max-width:1100px}.history-content{display:grid;grid-template-columns:1fr 1fr;gap:25px}.history-content>section{min-width:0}.history-attendance .attendance-month{margin-top:0}.history-attendance .attendance-panel{margin-top:0;border-top:0}.history-attendance .attendance-day{min-height:38px}.history-weights h3{margin:0 0 16px}.history-readings{max-height:270px;overflow:auto}@media(max-width:800px){.history-content{grid-template-columns:1fr}.history-dialog{width:95vw}.history-readings{max-height:180px}}

@media(max-width:600px){.weight-chart text{font-size:20px}}
