.student-space{display:block;margin-top:12px;color:var(--blue);font-size:14px;font-weight:750}.hw-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.hw-tabs button,.hw-mode button{border:1px solid var(--line,#d9e8ec);background:#fff;border-radius:10px;padding:11px 16px;color:var(--muted);font:inherit;font-weight:650;cursor:pointer}.hw-tabs button.active,.hw-mode button[aria-pressed=true]{background:#dceff0;color:#217c83;border-color:#a9cfd2}.hw-workspace{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.hw-overview{display:grid;gap:16px}.hw-welcome{padding:30px}.hw-welcome h2{font-size:26px;margin:10px 0 14px}.hw-welcome p,.hw-task p{color:var(--muted);line-height:1.8;margin:0}.hw-eyebrow{font-size:13px;font-weight:750;color:#287f84;letter-spacing:.02em}.hw-task{padding:25px 28px;display:flex;gap:20px;align-items:center;justify-content:space-between}.hw-task h2{font-size:20px;margin:6px 0}.hw-task .secondary{white-space:nowrap}.hw-task-status{display:block;font-size:14px;font-weight:650;color:#287f84;margin-top:12px}.hw-side{display:grid;gap:18px}.hw-total{margin:20px 0;color:var(--muted)}.hw-total strong{font-size:38px;color:var(--ink,#264349)}.hw-status{display:flex;justify-content:space-between;gap:12px;margin:16px 0;font-size:15px}.hw-send{padding:25px 22px}.hw-send h2{font-size:17px;margin:0 0 18px}.hw-export{display:flex;gap:8px;flex-wrap:wrap}.hw-export button{flex:1;white-space:nowrap;padding:13px 16px}.hw-small{font-size:14px;line-height:1.8;color:var(--muted);margin:14px 0 0}.hw-sheet{overflow:hidden}.hw-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid #e7eff1}.hw-sheet-head h2{font-size:19px;margin:0}.hw-sheet-head>span{white-space:nowrap;color:var(--muted)}.hw-body{padding:30px}.hw-mode{display:flex;gap:8px;margin-bottom:26px}.hw-mode button{font-size:14px}.hw-verb{display:inline-block;background:#edf6f7;border-radius:7px;padding:7px 10px;color:#287f84;margin-top:12px}.hw-sentence{font-size:25px;line-height:1.8;font-weight:650;margin:24px 0 30px;overflow-wrap:anywhere}.hw-blank{color:#287f84}.hw-options .option{font-size:19px}.hw-check{display:flex;justify-content:flex-end;margin-top:24px}.hw-pager{display:flex;justify-content:space-between;gap:18px;padding:22px 28px;border-top:1px solid #e7eff1}.hw-pager button:disabled{opacity:.4;cursor:default}.hw-input{display:block;width:100%;max-width:100%;box-sizing:border-box;border:1px solid #bbd5da;border-radius:10px;padding:14px 15px;font:inherit;line-height:1.7;background:#fff;color:inherit;resize:vertical;min-width:0}.hw-input:focus{outline:3px solid #cbe4e7;outline-offset:1px;border-color:#438f95}.hw-field-label,.hw-write-field label{display:block;font-size:14px;font-weight:650;color:var(--muted);margin-bottom:9px}.hw-accents{margin-top:12px}.hw-reading-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:24px 0}.hw-reading article{display:flex;align-items:flex-start;gap:14px;padding:22px 0;border-bottom:1px solid #e6eff1}.hw-reading article>div{flex:1;min-width:0}.hw-reading article p[lang=fr]{font-size:21px;line-height:1.85;margin:0;overflow-wrap:anywhere}.hw-reading .audio-button{flex-shrink:0;margin-top:7px}.hw-translation{font-size:16px;color:var(--muted);line-height:1.9;margin:12px 0 0}.hw-writing-fields{display:grid;gap:18px;margin:24px 0}.hw-write-field>p{font-size:21px;line-height:1.6;margin:0 0 12px}.hw-composed{padding:20px;background:#edf6f7;border-radius:12px;margin-top:25px}.hw-composed>span{font-size:13px;color:var(--muted);font-weight:700}.hw-composed p{font-size:22px;line-height:1.9;margin:8px 0 0;overflow-wrap:anywhere}.hw-copy-fallback{padding:24px;margin-top:24px}.hw-copy-fallback textarea{width:100%;box-sizing:border-box;font:inherit;line-height:1.8}.word-forms{display:block;color:var(--muted);font-size:14px;margin-top:7px;line-height:1.6}
@media(max-width:1150px){.hw-workspace{grid-template-columns:minmax(0,1fr)}.hw-side{grid-template-columns:1fr 1fr}.hw-send{height:fit-content}}@media(max-width:700px){.hw-tabs{gap:6px}.hw-tabs button{padding:10px 12px;font-size:14px}.hw-task{padding:22px;align-items:flex-start;flex-direction:column;gap:16px}.hw-task .secondary{width:100%}.hw-welcome{padding:24px}.hw-welcome h2{font-size:23px}.hw-side{grid-template-columns:1fr}.hw-body{padding:24px 20px}.hw-sheet-head{padding:22px 20px}.hw-pager{padding:20px}.hw-sentence{font-size:23px}.hw-options{grid-template-columns:1fr}.hw-reading article{display:block}.hw-reading article .audio-button{margin-top:12px}.hw-reading article p[lang=fr]{font-size:20px}.sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.sidebar .nav-button{min-width:0;padding:12px 4px;justify-content:center;gap:5px}.sidebar .nav-label{font-size:13px}.sidebar .nav-count{display:none}.sidebar .nav-icon{display:none}.hw-total strong{font-size:32px}.hw-composed p{font-size:20px}.student-space{margin-top:6px}}

.hw-side .progress-panel{display:block}

.hw-welcome p.hw-welcome-message{font-size:20px;line-height:1.8;font-weight:650;color:var(--ink)}

.hw-reading .hw-translation-label{margin-top:18px}.hw-reference{margin-top:14px;color:var(--muted);font-size:14px;line-height:1.8}.hw-reference summary{cursor:pointer;min-height:32px}.hw-reference p{margin-top:8px}

/* The same reading scale across the three homework parts. */
@media(max-width:700px){
 .sidebar .nav-button{display:flex;align-items:center;justify-content:center;min-height:52px;padding:10px 3px}
 .sidebar .nav-label{font-size:.9375rem;line-height:1.4;white-space:normal;word-break:keep-all}
 .hw-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .hw-tabs button{font-size:.875rem;line-height:1.4;min-height:48px;padding:10px 4px;word-break:keep-all}
 .hw-welcome p.hw-welcome-message{font-size:1.125rem;line-height:1.8}
 .hw-task h2{font-size:1.25rem;line-height:1.5}
 .hw-task p,.hw-task-status{font-size:1rem;line-height:1.7}
 .hw-sheet-head{gap:12px;align-items:flex-start}
 .hw-sheet-head h2{font-size:1.125rem;line-height:1.6}
 .hw-sheet-head>span{font-size:.9375rem;padding-top:2px}
 .hw-sentence{font-size:1.375rem;line-height:1.8}
 .hw-options .option{font-size:1.125rem;min-height:60px}
 .hw-input,.hw-copy-fallback textarea{font-size:1rem;line-height:1.75}
 .hw-reading article p[lang=fr],.hw-write-field>p{font-size:1.125rem;line-height:1.8;overflow-wrap:anywhere}
 .hw-composed p{font-size:1.25rem;line-height:1.8}
 .hw-field-label,.hw-write-field label,.hw-small,.hw-reference,.hw-translation{font-size:.875rem;line-height:1.8}
 .hw-reference summary{min-height:44px;display:list-item;padding:8px 0}
 .hw-mode button{font-size:.9375rem;min-height:44px}
 .hw-total strong{font-size:1.75rem}
 .hw-status{font-size:1rem}
 .hw-composed>span{font-size:.875rem}
 .hw-export button{font-size:.9375rem;padding:12px}
}
@media(max-width:360px){
 .hw-body,.hw-sheet-head,.hw-pager{padding:20px 16px}
 .hw-welcome,.hw-task,.hw-send{padding:20px}
 .hw-tabs{gap:4px}
}
