:root {
  color-scheme: light;
  --paper: #f9f5eb;
  --ink: #173f3d;
  --muted: #51645c;
  --coral: #ef8067;
  --yellow: #f6cf64;
  --mint: #dbe8d8;
  --line: #ccd3c7;
  --white: #fffdf8;
  --danger: #963b29;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
a { color: inherit; text-underline-offset: 4px; }
button { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; opacity: .55; }
svg, img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a9432d; outline-offset: 4px; }
::selection { color: var(--ink); background: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font: 500 clamp(40px, 5vw, 64px)/1.08 var(--serif); letter-spacing: -2.7px; margin-bottom: 18px; overflow-wrap: anywhere; }
h2 { font: 500 30px/1.2 var(--serif); letter-spacing: -.8px; margin-bottom: 14px; }
h3 { font-size: 17px; line-height: 1.4; margin-bottom: 8px; }
p { margin-bottom: 16px; }
.app-wrap { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: 10px; z-index: 5; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-170%); }
.skip-link:focus { transform: none; }
.app-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand svg { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-name { font: 700 27px/1.1 var(--serif); letter-spacing: -1px; }
.header-actions { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.header-actions form { margin: 0; }
.header-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.role-label { color: var(--muted); font-size: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; padding: 11px 19px; border: 1px solid var(--ink); border-radius: 5px; background: var(--ink); color: var(--white); font-size: 14px; line-height: 1.4; font-weight: 650; text-decoration: none; transition: background 140ms ease; }
.button:hover { background: #285a54; }
.button svg { width: 17px; height: 17px; flex: 0 0 auto; }
.button-secondary { color: var(--ink); background: transparent; }
.button-secondary:hover { background: #e9e9dc; }
.button-yellow { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.button-yellow:hover { background: #ffe08c; }
.button-danger { color: var(--danger); border-color: #bc8478; background: transparent; }
.button-danger:hover { background: #f8e5dd; }
.button-small { min-height: 42px; padding: 9px 14px; font-size: 13px; }
.button-wide { width: 100%; }
.text-link { font-size: 14px; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 19px; font-size: 11px; line-height: 1.5; letter-spacing: 1.7px; font-weight: 750; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); flex: 0 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.fine-print { margin-top: 16px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; max-width: 1010px; margin-inline: auto; padding-block: 65px 75px; }
.login-story { max-width: 470px; }
.login-story h1 { font-size: clamp(45px, 4.7vw, 61px); }
.login-story > p:not(.eyebrow) { max-width: 360px; color: var(--muted); font-size: 17px; }
.login-art { width: 270px; height: auto; margin: 26px 0 0 25px; }
.login-card { padding: 36px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); box-shadow: 7px 7px 0 var(--mint); }
.login-card h2 { font-size: 33px; }
.login-card .intro { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.login-card form { margin: 0; }
.field { margin-bottom: 21px; }
.field label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 8px; }
.field input { width: 100%; min-height: 50px; padding: 11px 13px; color: var(--ink); background: #fff; border: 1px solid #82968a; border-radius: 4px; font-size: 16px; line-height: 1.4; }
.field input[aria-invalid="true"] { border: 2px solid var(--danger); }
.field input::placeholder { color: #65716a; opacity: 1; }
.field .code-input { font-family: ui-monospace, 'Cascadia Code', 'Courier New', monospace; font-size: 28px; letter-spacing: .2em; text-transform: uppercase; }
.field-help { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.remember-login { margin-bottom: 21px; }
.remember-login label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.remember-login input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.remember-login .field-help { margin-left: 28px; }
.login-divider { border-top: 1px solid var(--line); margin: 26px 0 20px; }
.login-switch { margin: 0; color: var(--muted); font-size: 13px; }
.login-switch a { color: var(--ink); font-weight: 600; }
.alert { border: 1px solid #c9a191; border-left: 4px solid var(--danger); background: #fff0e8; border-radius: 5px; padding: 16px 19px; margin-bottom: 24px; font-size: 14px; overflow-wrap: anywhere; }
.alert p { margin-bottom: 0; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.alert-success { background: #e5eddf; border-color: #a7b89a; border-left-color: #42684c; }
.page-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; padding-block: 46px 32px; }
.page-intro h1 { margin-bottom: 14px; }
.page-intro .eyebrow { margin-bottom: 13px; }
.page-intro p:last-child { color: var(--muted); margin: 0; font-size: 15px; max-width: 650px; }
.count-pill { border: 1px solid #adbbaa; border-radius: 999px; padding: 8px 15px; white-space: nowrap; font-size: 13px; background: #edf0e4; }
.teacher-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 36px; align-items: start; padding-bottom: 55px; }
.panel { border: 1px solid var(--line); border-radius: 7px; padding: 26px; background: var(--white); }
.create-panel { background: #eaeede; }
.create-panel h2 { font-size: 27px; }
.create-panel p { font-size: 13px; color: var(--muted); }
.create-panel .field { margin-bottom: 17px; }
.create-panel .field label { color: var(--ink); }
.account-tip { padding: 21px 7px 0; }
.account-tip p { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 17px; }
.section-heading h2 { margin: 0; font-size: 29px; }
.section-heading > p { margin: 0; font-size: 12px; color: var(--muted); }
.student-list { display: grid; gap: 13px; }
.student-row { background: var(--white); border: 1px solid var(--line); border-radius: 7px; padding: 21px 23px 0; min-width: 0; }
.student-row.is-disabled { background: #f2f0e8; }
.student-row-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.student-name { font: 500 26px/1.25 var(--serif); letter-spacing: -.5px; margin: 0 0 3px; overflow-wrap: anywhere; }
.account-id { font-size: 11px; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; font-size: 10px; font-weight: 700; border-radius: 999px; color: #375339; background: #e1ebda; white-space: nowrap; }
.status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-disabled { color: #6a6258; background: #e9e4d9; }
.student-summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 16px; }
.student-summary p { font-size: 12px; color: var(--muted); margin: 0; }
.student-summary a { font-size: 12px; font-weight: 650; }
.student-progress-detail > summary { cursor: pointer; padding: 16px 0; font-size: 12px; font-weight: 650; }
.inline-progress { background: #edf0e4; padding: 17px; margin-bottom: 18px; border-radius: 4px; }
.inline-progress p { color: var(--muted); font-size: 12px; line-height: 1.75; margin-bottom: 6px; }
.inline-progress p:last-child { margin-bottom: 0; }
.inline-progress strong { color: var(--ink); }
.manage-account { border-top: 1px solid var(--line); }
.manage-account > summary { cursor: pointer; padding: 13px 0; font-size: 12px; font-weight: 650; }
.manage-content { padding: 7px 0 21px; }
.edit-name-form { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 21px; }
.edit-name-form .field { flex: 1; min-width: 0; margin: 0; }
.edit-name-form .field label { font-size: 12px; }
.edit-name-form .field input { min-height: 44px; }
.account-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.account-actions form { margin: 0; }
.account-action-note { font-size: 11px; line-height: 1.7; color: var(--muted); margin: 10px 0 0; }
.empty-state { text-align: center; border: 1px dashed #adbbaa; border-radius: 7px; padding: 43px 28px; background: #f2f2e7; }
.empty-state h2 { margin-bottom: 11px; font-size: 29px; }
.empty-state p { margin-inline: auto; max-width: 390px; color: var(--muted); font-size: 14px; }
.empty-state p:last-child { margin-bottom: 0; }
.empty-mark { display: grid; place-items: center; width: 61px; height: 61px; margin: 0 auto 22px; background: var(--yellow); border-radius: 50%; }
.empty-mark svg { width: 31px; height: 31px; }
.issued-code { padding: 26px 29px; margin: 0 0 32px; border: 1px solid #b4beaa; border-left: 5px solid var(--ink); border-radius: 6px; background: #e7eddb; }
.issued-code h2 { font-size: 27px; overflow-wrap: anywhere; }
.issued-code > p { max-width: 660px; font-size: 13px; color: var(--muted); }
.issued-code-value { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin: 20px 0 13px; }
.issued-code-value input { width: 220px; max-width: 100%; padding: 11px 16px; border: 1px solid #9daf98; background: #fffdf5; border-radius: 4px; font: 700 29px/1.3 ui-monospace, 'Courier New', monospace; letter-spacing: .19em; color: var(--ink); }
.copy-status { margin: 0; font-size: 12px; color: var(--muted); min-height: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; margin-top: 25px; }
.progress-layout { max-width: 820px; margin: 0 auto 60px; }
.progress-layout .page-intro { padding-top: 25px; }
.progress-panel { padding: 35px; }
.progress-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.progress-heading h2 { margin: 0; }
.progress-empty { background: #edf0e4; border: 0; }
.progress-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 20px 0; }
.progress-stats div { border-top: 1px solid var(--line); padding-top: 20px; }
.progress-stats dt { font-size: 12px; color: var(--muted); }
.progress-stats dd { font: 500 29px/1.4 var(--serif); margin: 10px 0 0; overflow-wrap: anywhere; }
.student-welcome { max-width: 850px; margin: 0 auto; padding: 58px 0 65px; }
.student-hero { display: grid; grid-template-columns: 1fr 235px; gap: 28px; align-items: center; padding-bottom: 35px; }
.student-hero h1 { font-size: clamp(40px, 5vw, 63px); }
.student-hero p:last-child { color: var(--muted); max-width: 460px; margin-bottom: 0; }
.student-hero img { width: 235px; height: auto; }
.student-progress { padding: 29px 32px; background: var(--white); border: 1px solid var(--line); border-radius: 7px; }
.coming-label { display: inline-block; font-size: 10px; font-weight: 650; border: 1px solid #a8b79f; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.session-note { display: flex; gap: 15px; align-items: center; justify-content: space-between; margin-top: 24px; }
.session-note p { font-size: 13px; color: var(--muted); margin: 0; }
.error-page { max-width: 660px; margin: 65px auto; }
.error-page p { color: var(--muted); }
.app-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; padding: 25px 0 30px; color: var(--muted); font-size: 12px; }
.app-footer p { margin: 0; }
.app-footer a { font-weight: 600; }
.workspace-nav { display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.workspace-nav a { padding: 17px 2px 14px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 650; text-decoration: none; }
.workspace-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.workspace-nav a:hover { color: #38695d; }
.set-library-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; padding-bottom: 55px; }
.set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.set-tile { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--white); overflow: hidden; }
.set-tile-picture { display: flex; align-items: center; justify-content: center; background: #eeeedf; padding: 16px; height: 170px; border-bottom: 1px solid var(--line); }
.set-tile-picture img { width: 100%; height: 100%; object-fit: contain; }
.set-tile-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.set-tile h2, .set-tile h3 { font: 500 27px/1.2 var(--serif); letter-spacing: -.6px; margin-bottom: 12px; overflow-wrap: anywhere; }
.set-tile p { color: var(--muted); font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.set-tile .set-meta { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.set-tile .button { margin-top: auto; align-self: flex-start; }
.upload-panel { background: #eaeede; }
.upload-panel h2 { font-size: 28px; }
.upload-panel > p { font-size: 13px; color: var(--muted); }
.field input[type="file"] { background: var(--white); font-size: 12px; padding: 8px; min-width: 0; }
.field input[type="file"]::file-selector-button { border: 1px solid var(--ink); border-radius: 3px; padding: 8px 10px; margin-right: 8px; background: var(--paper); color: var(--ink); cursor: pointer; font: inherit; }
.upload-notes { margin-top: 22px; border-top: 1px solid #bdc7b1; padding-top: 17px; }
.upload-notes > summary { cursor: pointer; font-weight: 650; font-size: 12px; }
.upload-notes p, .upload-notes ul { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 10px 0 0; }
.upload-notes ul { padding-left: 18px; }
.set-heading { padding-block: 24px 30px; }
.set-heading h1 { max-width: 860px; font-size: clamp(39px, 4.7vw, 59px); }
.set-heading .description { max-width: 760px; color: var(--muted); font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.set-heading .eyebrow { margin-bottom: 16px; }
.set-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; padding-bottom: 55px; }
.word-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; align-items: stretch; }
.word-study-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-width: 0; }
.word-picture { background: #f0f0e6; padding: 18px; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; }
.word-picture img { width: 100%; height: 100%; object-fit: contain; }
.word-study-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.word-study-body h2 { font: 500 37px/1.15 var(--serif); letter-spacing: -1px; overflow-wrap: anywhere; margin-bottom: 14px; }
.word-meaning-copy { color: var(--muted); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.word-phrase { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.word-phrase .phrase-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1.1px; color: var(--muted); font-weight: 650; margin-bottom: 7px; }
.word-phrase blockquote { margin: 0; font: 400 23px/1.45 var(--serif); overflow-wrap: anywhere; }
.assignment-panel { background: #eaeede; }
.assignment-panel h2 { font-size: 27px; }
.assignment-panel > p { font-size: 13px; color: var(--muted); }
.assignment-panel fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.assignment-panel legend { font-size: 13px; font-weight: 650; padding: 0; margin-bottom: 10px; }
.student-checklist { max-height: 370px; overflow-y: auto; padding: 3px; }
.student-check { display: flex; gap: 11px; align-items: flex-start; padding: 12px 9px; border-top: 1px solid #c6ceba; cursor: pointer; }
.student-check:first-child { border-top: 0; }
.student-check input { width: 19px; height: 19px; flex: 0 0 auto; accent-color: var(--ink); margin: 3px 0 0; }
.student-check span { min-width: 0; }
.student-check strong { display: block; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.student-check small { display: block; font-size: 11px; color: var(--muted); }
.assigned-list { margin: 25px 0 0; border-top: 1px solid #bdc7b1; padding-top: 20px; }
.assigned-list h3 { font-size: 14px; margin-bottom: 12px; }
.assigned-list ul { padding: 0; margin: 0; list-style: none; }
.assigned-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 12px; border-top: 1px solid #c6ceba; }
.assigned-list li:first-child { border: 0; }
.assigned-list .student-assignment-name { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.assigned-list .account-id { display: block; font-weight: 400; }
.unassign-button { background: transparent; border: 1px solid #94a58d; border-radius: 4px; min-height: 38px; padding: 7px 9px; color: var(--ink); font-size: 11px; }
.unassign-button:hover { background: #dce5d1; }
.assigned-list > p { font-size: 12px; color: var(--muted); margin-bottom: 0; }
.student-set-list { padding-top: 5px; }
.student-set-list .section-heading { margin-bottom: 22px; }
.student-set-list .set-tile-picture { height: 205px; }
.student-set-page { max-width: 980px; margin-inline: auto; padding-bottom: 55px; }
.word-browser-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; padding-block: 14px; border-block: 1px solid var(--line); }
.word-browser-toolbar p { margin: 0; color: var(--muted); font-size: 13px; }
.word-browser-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.word-browser-actions .button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.word-browser-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 750px; margin: 22px auto 0; }
.word-browser-nav p { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.word-grid.is-single { display: block; max-width: 750px; margin-inline: auto; }
.word-grid.is-single .word-study-card { display: grid; grid-template-columns: 1fr 1fr; }
.word-grid.is-single .word-picture { aspect-ratio: auto; min-height: 310px; border-bottom: 0; border-right: 1px solid var(--line); }
.word-grid.is-single .word-study-body { justify-content: center; padding: 29px; }
.word-grid.is-single .word-phrase { margin-top: 8px; }
.word-grid.is-single .word-study-body h2 { font-size: 42px; }
.browse-note { color: var(--muted); font-size: 12px; margin: 26px 0 0; }
.assignment-list-inline { margin: 0; padding: 0; list-style: none; }
.assignment-list-inline li { margin-block: 9px; }
.assignment-list-inline a { font-size: 13px; }
.word-search-field { max-width: 520px; margin-bottom: 24px; }
.set-access-list { margin: 20px 0 0; padding: 0; list-style: none; max-height: 510px; overflow-y: auto; }
.set-access-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 2px; border-top: 1px solid #bdc7b1; }
.set-access-list li > div { min-width: 0; }
.set-access-list strong { font-size: 14px; display: block; overflow-wrap: anywhere; }
.set-access-list .access-state { display: inline-block; font-size: 10px; color: var(--muted); margin-top: 5px; }
.week-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border-block: 1px solid var(--line); padding-block: 22px; margin-bottom: 30px; }
.week-bar .eyebrow { font-size: 10px; margin-bottom: 5px; }
.week-label { margin: 0; font: 500 24px/1.35 var(--serif); }
.week-selector { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.week-selector .field { margin: 0; }
.week-selector .field label { font-size: 11px; }
.week-selector .field input, .week-selector select { min-height: 42px; padding: 8px 10px; font-size: 13px; border: 1px solid #a5b3a2; border-radius: 4px; color: var(--ink); background: var(--white); width: 100%; }
.week-selector .button { min-height: 42px; }
.word-selection { margin: 0; padding: 0; border: 0; min-width: 0; }
.word-selection > legend { font: 500 29px/1.3 var(--serif); letter-spacing: -.7px; margin-bottom: 12px; padding: 0; }
.selection-help { font-size: 13px; color: var(--muted); }
.word-choice-list { display: grid; gap: 10px; max-height: 790px; overflow-y: auto; padding: 5px; margin: -5px; scrollbar-gutter: stable; }
.word-choice { position: relative; border: 1px solid var(--line); border-radius: 6px; background: var(--white); padding: 17px 20px; }
.word-choice:has(input:checked) { border-color: #8ea585; background: #f2f5e9; }
.word-choice-label { display: flex; gap: 12px; cursor: pointer; }
.word-choice-label input { flex: 0 0 auto; width: 20px; height: 20px; margin: 5px 0 0; accent-color: var(--ink); }
.word-choice-label > span { min-width: 0; }
.word-choice-label strong { display: block; font: 500 25px/1.25 var(--serif); overflow-wrap: anywhere; }
.word-choice-label span span { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; overflow-wrap: anywhere; }
.word-preview { margin: 10px 0 0 32px; }
.word-preview summary { cursor: pointer; font-size: 12px; padding-block: 5px; font-weight: 650; }
.word-preview-content { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 12px; }
.word-preview-content img { width: 150px; height: 150px; object-fit: contain; border-radius: 5px; background: #eceee0; }
.word-preview-content .word-phrase { border: 0; padding: 0; margin: 0; }
.word-preview-content blockquote { font-size: 21px; }
.selection-count { font-size: 13px; font-weight: 650; background: #dce7d2; border-radius: 4px; padding: 11px 12px; }
.selection-count.selection-outside-range { background: #f6dfcf; color: #843e2d; }
.assignment-note { border-top: 1px solid #bdc7b1; margin-top: 22px; padding-top: 18px; font-size: 12px; color: var(--muted); }
.assignment-note a { font-weight: 650; color: var(--ink); }
.weekly-assignment .fine-print { font-size: 11px; color: var(--muted); margin-top: 12px; }
.weekly-roster { display: grid; gap: 15px; padding-bottom: 55px; }
.weekly-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 1.2fr); gap: 18px 35px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); padding: 25px; scroll-margin-top: 20px; }
.weekly-row h2 { font-size: 28px; margin-bottom: 5px; overflow-wrap: anywhere; }
.weekly-set-name { color: var(--muted); font-size: 13px; margin: 12px 0 0; overflow-wrap: anywhere; }
.weekly-counts, .practice-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 22px; margin: 0; }
.weekly-counts dt, .practice-summary dt { color: var(--muted); font-size: 12px; }
.weekly-counts dd, .practice-summary dd { margin: 6px 0 0; font: 500 32px/1.4 var(--serif); overflow-wrap: anywhere; }
.weekly-counts dd span, .practice-summary dd span { font: 400 14px/1.5 var(--sans); color: var(--muted); }
.weekly-counts .date-value, .practice-summary .date-value { font: 400 14px/1.6 var(--sans); margin-top: 10px; }
.weekly-row-action { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 15px; }
.weekly-row-action .fine-print { font-size: 12px; color: var(--muted); margin: 0; }
.student-week-plan { padding: 29px 32px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.student-week-plan > p:not(.eyebrow) { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.practice-summary { border-block: 1px solid var(--line); padding-block: 19px; margin: 22px 0; }
.practice-help { color: var(--muted); font-size: 13px; max-width: 700px; }
.student-week-plan .practice-help { margin: 18px 0 0; font-size: 12px; }
.word-practice { padding-top: 22px; }
.word-practice form { margin: 0; }
.practiced-label { font-size: 13px; color: #2e5b3a; font-weight: 650; margin: 0; }
.practice-date { color: var(--muted); font-size: 11px; margin: 6px 0 0; }
.word-study-card { scroll-margin-top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
  .login-layout { gap: 45px; }
  .teacher-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
  .panel { padding: 22px; }
  .set-library-layout, .set-detail-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; }
  .set-tile-body, .word-study-body { padding: 20px; }
  .word-grid { gap: 17px; }
}
@media (max-width: 720px) {
  .app-wrap { width: calc(100% - 36px); }
  .app-header { min-height: 81px; gap: 15px; }
  .brand { gap: 8px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-name { font-size: 23px; }
  .header-actions { gap: 10px; font-size: 12px; }
  .role-label { display: none; }
  .header-actions .button { min-height: 42px; font-size: 12px; padding: 9px 12px; }
  h1 { font-size: 43px; letter-spacing: -1.8px; }
  .login-layout { grid-template-columns: 1fr; gap: 26px; max-width: 470px; padding-block: 35px 45px; }
  .login-story h1 { font-size: 43px; letter-spacing: -1.8px; }
  .login-story > p:not(.eyebrow) { font-size: 15px; max-width: 100%; margin-bottom: 0; }
  .login-art { display: none; }
  .login-card { padding: 26px; margin-right: 7px; }
  .login-card h2 { font-size: 29px; }
  .eyebrow { font-size: 10px; margin-bottom: 14px; }
  .page-intro { flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 34px 25px; }
  .page-intro p:last-child { font-size: 14px; }
  .teacher-layout { grid-template-columns: 1fr; gap: 31px; padding-bottom: 35px; }
  .create-panel { padding: 24px; }
  .account-tip { padding-top: 14px; }
  .student-row { padding: 20px 20px 0; }
  .student-summary { align-items: flex-start; }
  .section-heading h2 { font-size: 27px; }
  .issued-code { padding: 23px; margin-bottom: 27px; }
  .issued-code h2 { font-size: 26px; }
  .issued-code-value input { width: 196px; font-size: 25px; }
  .progress-panel { padding: 23px; }
  .progress-heading { align-items: flex-start; gap: 12px; }
  .progress-heading h2 { font-size: 26px; }
  .progress-stats { grid-template-columns: 1fr; gap: 5px; }
  .progress-stats div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; }
  .progress-stats dd { font-size: 24px; margin: 0; }
  .progress-layout { margin-bottom: 35px; }
  .student-welcome { padding-block: 36px; }
  .student-hero { grid-template-columns: 1fr; gap: 10px; padding-bottom: 29px; }
  .student-hero img { width: 180px; justify-self: center; }
  .student-hero h1 { font-size: 43px; }
  .student-progress { padding: 23px; }
  .empty-state { padding: 29px 22px; }
  .empty-state h2 { font-size: 26px; }
  .empty-state p { font-size: 13px; }
  .app-footer { flex-direction: column; gap: 8px; padding-block: 22px; }
  .workspace-nav { gap: 25px; }
  .workspace-nav a { padding-block: 14px 12px; font-size: 13px; }
  .set-library-layout, .set-detail-layout { grid-template-columns: 1fr; gap: 30px; padding-bottom: 35px; }
  .set-library-layout .upload-panel { grid-row: 1; }
  .set-grid { gap: 16px; }
  .set-tile-picture { height: 135px; padding: 10px; }
  .set-tile-body { padding: 17px; }
  .set-tile h2, .set-tile h3 { font-size: 24px; }
  .set-tile .button { font-size: 12px; padding: 10px 12px; }
  .set-detail-layout .assignment-panel { grid-row: 1; }
  .weekly-assignment .assignment-panel { grid-row: auto; }
  .week-bar { align-items: flex-start; gap: 16px; }
  .week-selector { width: 100%; }
  .word-choice-list { max-height: 560px; }
  .word-choice { padding: 15px; }
  .word-preview-content { grid-template-columns: 1fr; gap: 14px; }
  .weekly-row { grid-template-columns: 1fr; padding: 23px; gap: 20px; }
  .weekly-counts, .practice-summary { gap: 18px; }
  .student-week-plan { padding: 24px; }
  .workspace-nav { gap: 20px; }
  .set-heading h1 { font-size: 40px; }
  .set-heading .description { font-size: 15px; }
  .word-grid { grid-template-columns: 1fr; gap: 23px; }
  .word-picture { max-height: 300px; }
  .word-study-body { padding: 24px; }
  .student-set-list .set-tile-picture { height: 160px; }
  .word-grid.is-single .word-study-card { display: flex; }
  .word-grid.is-single .word-picture { aspect-ratio: 4 / 3; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .word-grid.is-single .word-study-body { padding: 24px; }
  .word-grid.is-single .word-study-body h2 { font-size: 37px; }
  .word-browser-nav { gap: 10px; }
  .word-browser-nav .button { padding: 10px 13px; font-size: 12px; }
  .word-browser-nav p { font-size: 12px; }
  .student-set-page { padding-bottom: 35px; }
}
@media (max-width: 480px) {
  .set-grid { grid-template-columns: 1fr; }
  .set-tile-picture, .student-set-list .set-tile-picture { height: 190px; }
  .set-tile-body { padding: 22px; }
}
@media (max-width: 360px) {
  .app-wrap { width: calc(100% - 28px); }
  .brand-name { font-size: 20px; }
  .brand svg { width: 30px; height: 30px; }
  .header-actions { gap: 5px; }
  .login-card { padding: 23px; }
  .edit-name-form { flex-wrap: wrap; }
  .edit-name-form .field { flex-basis: 100%; }
  .student-summary { flex-wrap: wrap; }
  .session-note { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
