/*! © 2026 Nuvira Technologies, LLC. All rights reserved. WonderWise, its tutors, artwork, voices, lessons and software may not be copied, scraped or reused. See /terms. */
/* Homework Helper: the lesson screen in homework mode. Its home is the Homework Helper view; these rules swap the thin-bar page buttons per center. */
body:not([data-center=homework]) :is(#show-homework,#show-in-progress,#show-work){display:none}
body[data-center=homework] #show-lesson{display:none}
/* Prepared homework waits for GO here: the grade stays, the starting subject chips do not apply. */
body[data-center=homework] .learning-subjects-card{display:none}
body[data-center=homework] #learning-start .learning-start-pickers{grid-template-columns:minmax(0,1fr)}
/* All Homework (#work) swaps the board on the Homework Helper page; the tutor and chat stay on the left. The whiteboard scrolls a long list. */
body[data-board=work] #whiteboard>:not(#work-page),body[data-board=work] .workspace-actions{display:none!important}
.work-board{padding:18px 22px 24px;min-width:0}
.work-board[hidden]{display:none}
/* All Homework: two section cards, Add Homework then Saved Homework (Refresh at the right of its band). */
.work-board:not([hidden]){display:flex;flex-direction:column;gap:14px}
.work-board #work-heading:focus{outline:none}
.work-board .work-add-card .work-intake{margin:0}
.work-board .work-list-card .work-list{margin:0}
.work-board .work-list-card #work-notice{margin:0 0 12px}
.work-board .work-refresh{min-height:44px;padding:8px 16px;border:2px solid #fff;border-radius:var(--action-radius);background:var(--action-secondary-bg);color:var(--ink);font:700 16px/1.2 var(--font)}
.work-board .work-refresh:hover:not(:disabled){background:var(--action-selected);border-color:#fff;color:var(--ink)}
.work-board .work-refresh:active:not(:disabled){background:var(--sage);border-color:#fff}
.work-board .work-refresh:focus-visible{outline:3px solid var(--lamp);outline-offset:3px}
.work-board .work-refresh:disabled{background:var(--action-disabled-bg);border-color:var(--action-disabled-border);color:var(--action-disabled-ink);opacity:1;cursor:not-allowed;box-shadow:none;transform:none}
.work-board .work-intake{margin-bottom:16px}
@media(max-width:1280px){.work-board .work-row{grid-template-columns:44px minmax(0,1fr)}.work-board .work-row-actions{grid-column:2;justify-content:flex-start;max-width:none}}
@media(max-width:760px){.work-board{padding:12px 10px 18px}}
@media(max-width:480px){.work-board .work-row{grid-template-columns:minmax(0,1fr);gap:10px;padding:14px}.work-board .work-file-icon{display:none}.work-board .work-row-actions{grid-column:1/-1}}
