.classroom-table{display:block!important;max-height:none!important}.classroom-row{display:grid;grid-template-columns:minmax(90px,1fr) 76px 96px 132px;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #eee;text-align:center}.classroom-row>div:first-child{text-align:left;min-width:0}.classroom-name{background:transparent;color:inherit;padding:6px;font-size:16px;overflow-wrap:anywhere;white-space:normal}.classroom-name[aria-pressed=true]{background:#fff0f2;color:#b62039}.classroom-row .linkbtn{display:block;font-size:12px}.classroom-score-buttons{display:flex;gap:6px}.classroom-score-buttons button{font-size:13px;padding:10px 8px;min-width:0;flex:1}.classroom-head{font-weight:650;background:#fafafa}.classroom-head button{padding:8px 0;min-width:0}.classroom-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}.classroom-actions button{padding:12px 4px;font-size:14px;min-width:0}.classroom-overview .my-teams{margin:0}.report-table{width:100%;margin-top:20px;border-collapse:collapse}.report-table th,.report-table td{padding:12px;border-bottom:1px solid #eee;text-align:left}#modal .toolbar{flex-wrap:wrap}#modal .toolbar label{min-width:0;max-width:100%}.feature-history p{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:600px){.classroom-row{grid-template-columns:minmax(60px,1fr) 47px 62px 98px;gap:4px;font-size:13px}.classroom-head button{font-size:13px}.classroom-name{font-size:15px}.classroom-actions button{font-size:13px}.classroom-score-buttons button{padding:10px 4px;font-size:12px}.classroom-overview{padding:16px}.classroom-overview .panel-title{align-items:start}.classroom-overview .panel-title>div:last-child{font-size:13px;flex-shrink:0}}

.classroom-overview .team-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}.classroom-overview .team-chip{padding:12px;min-height:96px;justify-content:center;gap:4px}.classroom-overview .team-chip strong{display:block;line-height:1.3}.classroom-overview .team-chip strong small{display:inline;font-size:12px;margin:0;padding:0}.classroom-overview .team-chip b{font-size:14px}.classroom-overview .team-chip:last-child{white-space:normal;line-height:1.5}@media(max-width:600px){.classroom-overview .team-chip{padding:10px 7px}.classroom-overview .team-chip b{font-size:12px}.classroom-overview .team-chip strong{font-size:22px}.classroom-overview .team-chip:last-child{font-size:12px}}

/* v0.6.8 layout corrections. */
.classroom-overview .class-school-name{font-size:20px;font-weight:650;margin-bottom:18px}.classroom-overview .class-overview{padding:20px;border:1px solid #eee;border-radius:14px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:16px}.class-overview h2{margin:0;min-width:0}.my-teams .group-filter-head{display:flex;align-items:center;gap:22px;margin:18px 0}.my-teams .group-filter-head h3{margin:0}.my-teams .class-all-button{border:1px solid transparent;border-radius:8px;padding:8px 28px;background:#fff;color:#636366}.my-teams .class-all-button.team-active{border-color:#d52b40;background:#fff0f2;color:#b62039}.classroom-overview .team-chip{min-height:70px;align-items:center;text-align:center;padding:12px 5px;gap:6px}.classroom-overview .team-chip .team-caption{font-weight:600;white-space:nowrap;font-size:13px;letter-spacing:-.3px}.classroom-head button{border:1px solid transparent;border-radius:7px;white-space:nowrap}.classroom-head button.sort-active{border-color:#d52b40;background:#fff8f9;color:#b62039}.classroom-overview .team-chip.add-team{font-size:13px;white-space:nowrap}@media(max-width:600px){.classroom-overview .class-school-name{font-size:18px}.classroom-overview .class-overview{padding:14px 10px;gap:10px}.class-overview h2{font-size:18px}.classroom-overview .team-chip .team-caption{font-size:10px;letter-spacing:-.5px}.classroom-overview .team-chip.add-team{font-size:11px}.classroom-overview .team-chip span{font-size:11px}}

.rank-toggle{display:flex;gap:12px;margin:16px 0}.rank-toggle button{flex:1}.rank-toggle button.selected{border:1px solid #d52b40;background:#fff0f2;color:#b62039}

.report-group-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 0;background:#fff;color:#b62039;font-size:14px;text-align:left;border:0;border-radius:0}.report-group-link span{color:#999}.report-team-back{margin-bottom:16px;border:1px solid #d52b40!important;background:#fff!important;color:#b62039!important}.report-subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.report-subject-cell{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:#f7f7fa;border-radius:8px;overflow-wrap:anywhere;font-size:13px}.report-subject-cell b{white-space:nowrap;font-variant-numeric:tabular-nums}.report-student-card{padding:20px 0;border-bottom:1px solid #eee}.report-student-summary{display:flex;align-items:center;gap:12px}.report-student-summary b{flex:1}.report-student-summary>span{color:#999}.report-team-detail{margin-top:24px}.report-team-detail>h3{margin-top:28px}

#modal .report-period-button{background:#fff;color:#bd2d46;border:1px solid #cf5368;font-weight:550}#modal .report-period-button:disabled{background:#fff;color:#b7b7bf;border-color:#e8e8ed}

.class-identity-badges{display:flex;flex-wrap:wrap;gap:6px;max-width:100%;margin:4px 0}.class-identity-badge{max-width:100%;overflow-wrap:anywhere;border:1px solid #d8d8e1;border-radius:6px;background:#fff;padding:3px 9px;font-size:12px;line-height:1.5;color:#63636b}.class-identity-badge.badge-role{color:#bd2d46;border-color:#e7adb8}.class-identity-badge.badge-subject{color:#476078;border-color:#cbd4df}.dashboard-single{display:block}

.class-overview-title{flex:1;min-width:0}.class-overview-title h2{margin-bottom:6px}.class-overview>.class-overview-title{max-width:65%}
