/* Daily admin workspace; legacy student and cohort screens keep their controls. */
.workspace-nav-note{margin:24px 12px 0;color:#837d71;font-size:12px;line-height:1.9}
.workspace-today-intro{margin-bottom:26px}
.workspace-eyebrow{font-size:12px;color:#8e7456;font-weight:700;letter-spacing:.08em;margin:0 0 8px}
.workspace-today-intro h1,.workspace-hub h1{font-family:inherit;font-weight:700;font-size:30px;line-height:1.35;color:#284d3a;margin-bottom:10px;letter-spacing:-.03em}
.workspace-today-intro>p:not(.workspace-eyebrow),.workspace-hub>p:not(.workspace-eyebrow){color:#746e62;font-size:14px;line-height:1.8}
.workspace-task-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:22px}
.workspace-task{display:flex;flex-direction:column;align-items:flex-start;min-width:0;border:1px solid #dfdfd1;border-radius:12px;background:#fffdf8;padding:18px;color:#355b49;text-align:left;font:inherit;cursor:pointer}
.workspace-task:hover{border-color:#879c7c;background:#f6f8f0}
.workspace-task>span{font-size:13px;font-weight:700}
.workspace-task>strong{font-size:34px;line-height:1.3;margin:12px 0 6px;font-variant-numeric:tabular-nums}
.workspace-task>small{color:#786f61;font-size:12px;min-height:38px;line-height:1.6}
.workspace-task>b{font-size:12px;margin-top:14px;font-weight:600}
.workspace-task .workspace-count-error{font-size:23px;color:#a25839}
.workspace-program-today{margin-bottom:20px}
.workspace-fold-section{padding:0;scroll-margin-top:24px}
.workspace-section-fold>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;padding:18px 20px}
.workspace-section-fold>summary::-webkit-details-marker{display:none}
.workspace-section-fold>summary>span:first-child{flex:1;min-width:0}
.workspace-section-fold>summary>b,.workspace-section-fold>summary b{font-size:15px;color:#3c493c;font-weight:700}
.workspace-section-fold>summary small{display:block;color:#827a6c;font-size:12px;margin-top:4px;font-weight:400}
.workspace-section-fold>summary::after{content:'＋';font-size:21px;color:#8c967f}
.workspace-section-fold[open]>summary::after{content:'−'}
.workspace-fold-count{display:inline-flex;align-items:center;justify-content:center;border-radius:20px;min-width:30px;padding:2px 10px;background:#e9eddf;color:#36543d;font-size:13px;font-weight:700;white-space:nowrap}
.workspace-fold-body{border-top:1px solid #ebe7dc;padding:18px 20px 20px}
.workspace-fold-body .workspace-hint{font-size:13px;margin:0 0 12px}
.workspace-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.workspace-toolbar .workspace-hint{margin:0;flex:1;min-width:180px}
.workspace-toolbar>details{font-size:12px;color:#787362}
.workspace-toolbar summary{cursor:pointer}
.workspace-toolbar>details .btn{margin-top:8px}
.workspace-fold-body label[for=homeworkClassFilter]{display:block;font-size:12px;font-weight:700;color:#6c725f;margin-bottom:6px}
.workspace-fold-body #homeworkClassFilter{max-width:330px;margin-bottom:12px}
.workspace-todo-form{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.workspace-todo-form input{flex:1;min-width:0}
.workspace-todo-form button{flex-shrink:0}
.workspace-hub{margin:24px 0}
.workspace-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}
.workspace-route{border:1px solid #e0dccf;border-radius:12px;background:#fffdf8;color:#355b49;padding:24px 20px;text-align:left;font:inherit;cursor:pointer;min-width:0}
.workspace-route:hover{border-color:#8c9e7e;background:#f4f7ed}
.workspace-route>b{display:block;font-size:16px;line-height:1.5;margin-bottom:10px}
.workspace-route>span{display:block;color:#797164;font-size:13px;line-height:1.7}
@media(max-width:1150px){.workspace-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.workspace-today-intro h1,.workspace-hub h1{font-size:26px}.workspace-task-grid{gap:10px}.workspace-task{padding:14px}.workspace-task>strong{font-size:28px;margin:8px 0}.workspace-task>b{font-size:11px}.workspace-task>small{min-height:40px;font-size:11px}.workspace-route-grid{grid-template-columns:1fr;gap:10px}.workspace-route{padding:18px}.workspace-fold-section{padding:0}.workspace-section-fold>summary{padding:16px 14px;gap:8px}.workspace-section-fold>summary b{font-size:14px}.workspace-section-fold>summary small{font-size:11px}.workspace-fold-body{padding:16px 14px}.workspace-todo-form{flex-wrap:wrap}.workspace-todo-form input{flex-basis:100%}.workspace-nav-note{display:none}.admin-header .header-actions .btn{font-size:12px}}

#workspace-correction-payment #pendingWrap{overflow-x:auto;max-width:100%}#workspace-correction-payment #pendingWrap table{min-width:750px}

@media(max-width:680px){.workspace-fold-section{scroll-margin-top:74px}}

/* The same homework reader appears in today's feed, the inbox and course panels. */
.admin-homework-review{min-width:0;max-width:100%;overflow-wrap:anywhere}
.admin-homework-review :is(div,section,details,fieldset){min-width:0;max-width:100%}
.admin-homework-review :is(p,pre,label,summary,h3,h4,h5){overflow-wrap:anywhere;word-break:normal}
.admin-homework-review pre{white-space:pre-wrap;font:inherit;line-height:1.85;margin:10px 0 16px;max-width:100%}
.admin-homework-review h5{font-size:1rem;margin:18px 0 8px}
.admin-homework-review label{display:block;margin:12px 0 8px;font-weight:700}
.admin-homework-review textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:160px;box-sizing:border-box;padding:12px;font:inherit;font-size:16px;line-height:1.8;resize:vertical;border:1px solid #d9d3c6;border-radius:8px;background:#fff}
.admin-homework-review audio{width:100%;min-width:0;max-width:100%;margin:12px 0}
.admin-homework-review audio:not([hidden]){display:block}
.admin-homework-review img{max-width:100%;height:auto}
.admin-homework-review button,.admin-homework-review a.btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.admin-homework-review [hidden]{display:none!important}
#homeworkFeed,#tb-inbox-list,#tb-admin-orders{min-width:0;max-width:100%}
#homeworkReviewDialog,#learningmateHomeworkDialog{min-width:0;overflow-wrap:anywhere}
#homeworkReviewDialog>*,#learningmateHomeworkDialog>*{min-width:0;max-width:100%}
#homeworkReviewDialog pre,#learningmateHomeworkDialog pre{white-space:pre-wrap;overflow-wrap:anywhere}
#homeworkReviewDialog button,#learningmateHomeworkDialog button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:680px){.admin-homework-review textarea{font-size:16px}.admin-homework-review :is(p,pre){line-height:1.85}}
