.schoolwide-participation{display:none;margin:24px 0;padding:22px 24px;background:#fffdf8;border:1px solid #d5c6b0;border-radius:16px;color:#302d29;box-shadow:0 3px 12px #49372508;font-family:"Source Sans 3",sans-serif}
.lesson-home .schoolwide-participation{display:block}.participation-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.schoolwide-participation h2{font-size:23px;margin:0 0 4px}.schoolwide-participation p{margin:6px 0;font-size:15px;color:#514b42}.participation-controls{display:flex;align-items:end;gap:10px}.participation-controls label{display:grid;gap:4px;font-size:14px}.participation-controls select,.participation-controls button{font:inherit;min-height:40px;background:#fffdf8;border:1px solid #b7a88f;border-radius:8px;padding:7px 10px;color:#302d29}.participation-controls button{cursor:pointer}.schoolwide-participation :is(button,select,summary):focus-visible{outline:3px solid #996b32;outline-offset:3px}.participation-metrics{display:grid;grid-template-columns:1fr 1.35fr;gap:24px;padding:18px 0}.participation-metrics strong{display:block;font-size:21px}.participation-metrics span{display:block;font-size:15px;color:#514b42}.participation-metrics progress{display:block;width:100%;height:9px;margin-top:10px;accent-color:#b94a0c}.participation-grades{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:13px 0;border-top:1px solid #e6dccb}.participation-grades :is(strong,span,small){display:block}.participation-grades span{font-size:15px}.participation-grades small{color:#514b42;font-size:14px}.schoolwide-participation details{border-top:1px solid #e6dccb;padding-top:12px;margin-top:4px}.schoolwide-participation summary{cursor:pointer;font-weight:600;font-size:16px}.participation-table{overflow-x:auto;margin-top:12px}.participation-table table{border-collapse:collapse;width:100%;min-width:580px;font-size:15px}.participation-table caption{text-align:left;padding-bottom:10px}.participation-table th,.participation-table td{padding:9px;border-bottom:1px solid #e6dccb;text-align:center}.participation-table th:first-child{text-align:left}.participation-table th small{display:block;font-weight:400}.participation-grade{background:#f1e7d6}.participation-mark.complete{color:#31573c;font-size:22px;font-weight:bold}.participation-mark.pending{color:#6c6559;font-size:22px}.participation-mark.future{font-size:13px;color:#6c6559}.participation-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.undo-completion{margin-left:10px;background:#fffdf8!important;color:#514b42!important;border:1px solid #b7a88f!important;font-size:15px!important}
@media(max-width:650px){.schoolwide-participation{padding:18px 16px}.participation-controls{width:100%}.participation-controls label{min-width:0;flex:1}.participation-controls select{width:100%}.participation-metrics{grid-template-columns:1fr;gap:16px}.participation-grades{grid-template-columns:repeat(2,1fr);gap:12px}.participation-metrics strong{font-size:20px}}
body.lesson-home #month-goals{display:none}
.schoolwide-participation{margin-top:8px;padding:18px 20px;border-radius:12px}
.schoolwide-participation h2{font-size:21px}.schoolwide-participation h3{font-size:16px;margin:12px 0 4px;font-weight:600}.participation-learning-goals{padding-bottom:12px;border-bottom:1px solid #e6dccb}.participation-learning-goals p{font-size:17px;line-height:1.45;margin:0}.participation-metrics{padding:8px 0 10px;gap:18px;grid-template-columns:1fr 1fr}.participation-metrics strong{font-size:18px}.participation-metrics span{font-size:14px;line-height:1.35}.participation-refresh{font:inherit;font-size:14px;padding:6px 10px;border:1px solid #b7a88f;border-radius:8px;background:#fffdf8;color:#514b42;cursor:pointer}.schoolwide-participation details .participation-controls{margin-top:14px}.participation-grades{grid-template-columns:repeat(2,1fr)}
@media(max-width:480px){.schoolwide-participation{padding:16px}.participation-metrics{grid-template-columns:1fr;gap:12px}}
/* Keep all five day columns visible; override the legacy board's wide cells. */
.schoolwide-participation,.schoolwide-participation details,.participation-table{min-width:0;max-width:100%}
.participation-table{overflow:visible}
.participation-table table{table-layout:fixed;min-width:0;width:100%}
.participation-table th,.participation-table td{min-width:0;width:auto;padding:9px 4px;white-space:normal;overflow-wrap:anywhere}
.participation-table th:first-child{width:34%}
.participation-table .participation-grade th{width:auto}
.participation-table caption{white-space:normal;overflow-wrap:anywhere}
.participation-mark.future{font-size:20px}
@media(max-width:480px){.participation-table table{font-size:13px}.participation-table th,.participation-table td{padding:8px 2px}.participation-table th small{font-size:11px}.participation-table th:first-child{width:32%}}
.schoolwide-participation .participation-table :is(th,td){min-width:0}
.classroom-spotlight:empty{display:none}.classroom-spotlight{background:#fff2d9;border:1px solid #e8ce9d;border-radius:12px;padding:14px;margin:12px 0 16px}.spotlight-heading{display:flex;align-items:center;gap:10px}.spotlight-heading h3{margin:0!important;font-size:19px;color:#65431d}.schoolwide-participation .spotlight-heading p{margin:1px 0 0;font-size:14px}.spotlight-star{color:#b76312;font-size:32px;line-height:1}.spotlight-classrooms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:14px 0 8px}.spotlight-classrooms li{background:#fffdf8;border:1px solid #ecdfc5;border-radius:10px;padding:12px 8px;text-align:center;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px}.spotlight-emoji{display:grid;place-items:center;background:#ffe2af;border-radius:50%;width:42px;height:42px;font-size:27px}.spotlight-classrooms strong{display:block;font-size:16px;line-height:1.25;overflow-wrap:anywhere}.spotlight-classrooms small{display:block;color:#654e33;font-size:13px;line-height:1.3}.spotlight-count{display:block;color:#9a440e;font-size:24px;font-weight:700;margin-top:auto}.spotlight-count small{font-weight:400}.schoolwide-participation .spotlight-note{font-size:13px;margin:8px 0 0;line-height:1.4}
@media(max-width:540px){.spotlight-classrooms{grid-template-columns:1fr;gap:8px}.spotlight-classrooms li{display:grid;grid-template-columns:42px minmax(0,1fr) 65px;gap:10px;text-align:left;padding:10px}.spotlight-count{text-align:center;margin:0}.spotlight-count small{font-size:11px}.spotlight-classrooms strong{font-size:16px}.classroom-spotlight{padding:12px}}
/* Recognition appears first as a compact strip; lesson views keep their layout. */
.classroom-spotlight{display:block;margin:0 0 14px;padding:12px;min-width:0;max-width:100%}
body.lesson-home .classroom-spotlight:not(:empty){display:block}
.classroom-spotlight .spotlight-heading{gap:7px}.classroom-spotlight .spotlight-heading h2{font-size:18px;line-height:1.25;margin:0;color:#65431d}.classroom-spotlight .spotlight-star{font-size:24px}.classroom-spotlight .spotlight-classrooms{margin:10px 0 7px;gap:8px}.classroom-spotlight .spotlight-classrooms li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:7px;align-items:center;text-align:left;padding:9px 7px;border-radius:8px}.classroom-spotlight .spotlight-emoji{width:30px;height:30px;font-size:21px}.classroom-spotlight .spotlight-classrooms strong{font-size:14px}.classroom-spotlight .spotlight-classrooms small{font-size:12px;margin-top:3px}.classroom-spotlight .spotlight-note{font-size:12px;line-height:1.35;color:#654e33;margin:0}
@media(max-width:540px){.classroom-spotlight .spotlight-classrooms{grid-template-columns:1fr;gap:6px}.classroom-spotlight .spotlight-classrooms li{padding:7px 9px;gap:9px}.classroom-spotlight .spotlight-classrooms strong{font-size:15px}}

.participation-challenge ul{padding-left:28px;margin:12px 0}.participation-challenge li{padding:8px 4px;border-bottom:1px solid #e6dccb}.participation-challenge li strong{float:right;font-size:14px}.participation-challenge li span{display:inline-block;margin-right:12px}.participation-challenge:empty{display:none}
