/* css/skills-report.css */
/* Reading skills tab on the teacher class page. */
.skills-report{margin-top:8px}
.skills-report .sk-range{margin:18px 0}
.sk-insights{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:6px 0 18px}
.sk-insight{border-radius:16px;padding:18px 20px;border:1px solid #5a4a30;background:linear-gradient(160deg,#2a2a1f,#1f2219)}
.sk-insight.focus{border-color:#b98a4a;background:linear-gradient(160deg,#3a2d1a,#23211a)}
.sk-insight.strength{border-color:#4f6e52;background:linear-gradient(160deg,#21362a,#1c241d)}
.sk-insight h3{font-family:Georgia,'Times New Roman',serif;font-size:22px;margin:6px 0 6px;color:#f6e8c9}
.sk-insight p{margin:0 0 8px;color:#e6d6b6;line-height:1.5}
.sk-insight .sk-tip{font-size:13.5px;color:#d8c7a6}
.sk-insight ul{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}
.sk-insight li{display:flex;justify-content:space-between;gap:10px;font-size:14px;color:#f2e6cf;border-bottom:1px dashed #5a4a30;padding-bottom:5px}
.sk-insight li span{color:#d8b779;white-space:nowrap}
.sk-cards{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-bottom:20px}
.sk-card{border-radius:14px;padding:14px 12px;border:1px solid #4a4230;background:#1f1d17;display:flex;flex-direction:column;gap:6px}
.sk-card span{font-size:12.5px;letter-spacing:.04em;color:#d8c7a6;font-weight:700}
.sk-card b{font-family:Georgia,serif;font-size:30px;color:#f6e8c9;line-height:1}
.sk-card small{font-size:11.5px;color:#b9aa8e}
.sk-bar{height:7px;border-radius:999px;background:#3a3428;overflow:hidden}.sk-bar i{display:block;height:100%;border-radius:999px;background:#d8b779}
.sk-card.strong .sk-bar i{background:#6fb27a}.sk-card.steady .sk-bar i{background:#e2bf78}.sk-card.grow .sk-bar i{background:#e08a6a}.sk-card.thin .sk-bar i{background:#6a6250}
.sk-card.grow{border-color:#8a5a40}.sk-card.strong{border-color:#4f6e52}
.sk-table th button{font:inherit;font-weight:700;color:inherit;white-space:nowrap}
.sk-table th button[aria-pressed="true"]{color:#e2bf78}
.sk-table tbody th{text-align:left;font-weight:600;white-space:nowrap}
.sk-who{display:flex;align-items:center;gap:12px;text-transform:none;letter-spacing:0;font-size:14.5px}.sk-who .seat-number{flex:none;min-width:34px;height:34px;font-variant-numeric:tabular-nums}
.sk-cell{text-align:center;min-width:86px}
.sk-cell b{display:block;font-size:15px}
.sk-cell small{font-size:11px;opacity:.75}
.sk-cell.strong{background:rgba(111,178,122,.22)}
.sk-cell.steady{background:rgba(226,191,120,.18)}
.sk-cell.grow{background:rgba(224,138,106,.26)}
.sk-cell.thin{background:transparent;opacity:.65}
.sk-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:13px;color:#d8c7a6;margin:12px 0}
.sk-key{display:inline-block;width:14px;height:14px;border-radius:4px;margin-right:-8px;vertical-align:middle}
.sk-key.strong{background:rgba(111,178,122,.6)}.sk-key.steady{background:rgba(226,191,120,.55)}.sk-key.grow{background:rgba(224,138,106,.65)}.sk-key.thin{border:1px solid #6a6250}
@media (max-width:900px){.sk-cards{grid-template-columns:repeat(2,1fr)}}
/* css/skill-groups.css */
/* Skill groups dialog and the summary line on the current reading card. */
.orthos-dialog.sg-host{width:min(860px,94vw)}
.sg-dialog h2{margin:8px 0 10px}
.sg-dialog>p{line-height:1.55;max-width:64ch}
.sg-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:18px 0 6px}
.teacher-dialog .sg-tools .linkbtn{color:#e1c47f}
.sg-note{min-height:1.4em;font-size:14px;margin:6px 0 10px}
.sg-summary{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 14px}
.sg-chip{display:inline-flex;align-items:baseline;gap:6px;border-radius:999px;padding:6px 12px;font-size:13.5px;background:#3a4a35;border:1px solid #6f7d55;color:#f0e3c5}
.sg-chip.base{background:#2b2f24;border-color:#6a6250}
.sg-chip b{font-size:15px}.sg-chip small{opacity:.75}
.sg-warn{color:#f0a27e;font-weight:700;font-size:14px;align-self:center}
.sg-list{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:6px;max-height:min(46vh,520px);overflow:auto;border-top:1px solid #4e5a3e;border-bottom:1px solid #4e5a3e;padding:8px 2px}
.sg-row{display:grid;grid-template-columns:auto 1fr minmax(220px,300px);align-items:center;gap:12px;padding:8px 10px;border-radius:10px}
.sg-row.moved{background:#33432f;box-shadow:inset 3px 0 #d4b574}
.sg-row .seat-number{min-width:34px;height:34px}
.sg-name{display:grid;gap:2px}.sg-name b{font-size:15px}.sg-name small{font-size:12.5px;opacity:.8}
.sg-pick select{width:100%;padding:9px 10px;border-radius:9px;background:#1d241b;color:#f0e3c5;border:1px solid #7d7552;font:inherit;font-size:14px}
.sg-pick select:disabled{opacity:.6}
.sg-card-summary{margin:12px 0 0;font-size:14px;color:#d8c7a6}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sk-insight.needs .btn{margin-top:12px}
@media (max-width:640px){.sg-row{grid-template-columns:auto 1fr}.sg-pick{grid-column:1/-1}}
.sg-tools .linkbtn:disabled{opacity:.45;cursor:default;text-decoration:none}
.sg-dialog .focus-assign-footer{position:static;margin-top:0}
.sg-row{border:0}
/* css/welcome-tour.css */
/* Orthos Reading Room: first-visit lounge tour (v19). Same look as the public guided tour. */
.wt-card{position:fixed;inset:auto 20px 20px auto;margin:0;overflow:visible;width:min(350px,calc(100vw - 40px));z-index:2147483001;background:#FAF5E8;color:#2D1B3D;border:0;border-top:5px solid #C09A4A;border-radius:18px;padding:20px 22px 16px;box-shadow:0 24px 60px #0b1f1a66,0 0 0 1px #1F5A4F22;font:15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;animation:wtIn .35s ease}
@keyframes wtIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.wt-card h2{font:700 21px/1.2 Georgia,serif;color:#1F5A4F;margin:6px 0 8px}
.wt-card p{margin:0 0 10px}
.wt-kick{font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:#8a6a24;font-weight:800}
.wt-dots{display:flex;gap:6px;margin:10px 0 12px}
.wt-dots i{width:8px;height:8px;border-radius:50%;background:#A8C8BE}
.wt-dots i.on{width:22px;border-radius:999px;background:#1F5A4F}
.wt-nav{display:flex;justify-content:space-between;align-items:center;gap:10px}
.wt-nav span{display:flex;gap:8px;align-items:center}
.wt-skip,.wt-back{border:0;background:none;color:#1F5A4F;font:600 14px system-ui,sans-serif;cursor:pointer;padding:8px 4px}
.wt-skip{color:#6b6375}
.wt-go{border:0;background:#1F5A4F;color:#FAF5E8;font:700 14px system-ui,sans-serif;padding:11px 18px;border-radius:12px;cursor:pointer}
.wt-go:hover{background:#2C7A6B}
.wt-card button:focus-visible{outline:3px solid #C09A4A;outline-offset:2px}
.wt-ring{position:fixed;inset:auto;margin:0;padding:0;background:transparent;z-index:2147482999;pointer-events:none;border:3px solid #C09A4A;border-radius:16px;box-shadow:0 0 0 6px #C09A4A33,0 0 0 9999px #0b1f1a52;transition:all .35s ease,opacity .2s;opacity:0;animation:wtPulse 2.2s ease-in-out infinite}
@keyframes wtPulse{50%{box-shadow:0 0 0 12px #C09A4A1f,0 0 0 9999px #0b1f1a52}}
@media (max-width:720px){
  .wt-card{inset:auto 8px 8px 8px;width:auto;padding:14px 16px 12px;font-size:14px;border-radius:14px}
  .wt-card h2{font-size:18px}
}
@media (prefers-reduced-motion:reduce){.wt-card,.wt-ring{animation:none;transition:none}}
/* css/read-aloud.css */
/* Read-aloud (v20) */
.ra-ico{width:18px;height:18px;flex:none;vertical-align:-3px}
.ra-listen{display:inline-flex;align-items:center;gap:8px;background:#1b4d43;color:#fff;border:0;border-radius:14px;padding:10px 18px;font-weight:800;box-shadow:0 1px 0 #0e2f28;cursor:pointer}
.ra-listen:hover{background:#24554d}
.ra-listen.on{background:#f3c96b;color:#2b2210;box-shadow:0 0 0 3px rgba(243,201,107,.35)}
.reading-toolbar .ra-listen{margin-right:auto;margin-left:12px}
@media(max-width:550px){.reading-toolbar .ra-listen{margin-left:0}}

/* sentence and word marks */
::highlight(ra-sentence){background-color:rgba(243,201,107,.42);color:inherit}
::highlight(ra-word){background-color:rgba(232,160,40,.75);color:#1d1606}
[data-paper="night"] ::highlight(ra-sentence){background-color:rgba(243,201,107,.28)}
[data-paper="night"] ::highlight(ra-word){background-color:rgba(243,201,107,.85);color:#111}
.ra-reading{background:rgba(243,201,107,.32);border-radius:8px;box-shadow:0 0 0 4px rgba(243,201,107,.32)}
[data-paper="night"] .ra-reading{background:rgba(243,201,107,.18);box-shadow:0 0 0 4px rgba(243,201,107,.18)}
.ans button.ra-reading{outline:3px solid #e2b04a;outline-offset:1px}

/* controls bar while the story is read aloud */
body.ra-on .reading-space{padding-bottom:96px}
.ra-bar{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;
  max-width:calc(100vw - 24px);padding:10px 14px;border-radius:18px;background:#13332d;color:#f4efe2;box-shadow:0 12px 30px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.06) inset;font:600 14px/1.2 ui-sans-serif,system-ui,sans-serif}
.ra-bar button{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:11px;padding:9px 13px;font:inherit;font-weight:800;cursor:pointer;background:rgba(255,255,255,.1);color:inherit}
.ra-bar button:hover{background:rgba(255,255,255,.18)}
.ra-bar button:focus-visible,.ra-bar select:focus-visible,.ra-listen:focus-visible,.ra-q:focus-visible,.ra-fb:focus-visible{outline:3px solid #f3c96b;outline-offset:2px}
.ra-bar .ra-main{background:#f3c96b;color:#2b2210;min-width:98px;justify-content:center}
.ra-bar .ra-main:hover{background:#f7d688}
.ra-speed{display:inline-flex;gap:2px;background:rgba(0,0,0,.22);border-radius:12px;padding:3px}
.ra-speed button{padding:7px 10px;background:none;font-weight:700}
.ra-speed button.on{background:#f4efe2;color:#13332d}
.ra-voice{display:inline-flex;align-items:center;gap:6px}
.ra-voice span{opacity:.8;font-weight:700}
.ra-voice select{max-width:150px;border-radius:10px;border:0;padding:8px;background:#f4efe2;color:#13332d;font:inherit;font-weight:700}
.ra-tip{opacity:.7;font-weight:600;font-size:12.5px}
@media(max-width:700px){.ra-tip{display:none}.ra-bar{bottom:10px;gap:6px;padding:8px}.ra-bar button{padding:8px 10px}.ra-voice span{display:none}.ra-voice select{max-width:110px}}

/* question and feedback buttons */
.qz .qn{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ra-q{margin-left:auto;display:inline-flex;align-items:center;gap:6px;border:1.5px solid #c9dcd5;background:#fff;color:#1b4d43;border-radius:999px;padding:5px 12px 5px 9px;font:800 12.5px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:.02em;text-transform:none;cursor:pointer}
.ra-q:hover{background:#eef6f2}
.ra-q .ra-ico{width:16px;height:16px}
.ra-q.on{background:#f3c96b;border-color:#e2b04a;color:#2b2210}
.ra-fb{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin:-4px 8px -4px 0;border:0;border-radius:50%;background:rgba(0,0,0,.07);color:inherit;cursor:pointer;vertical-align:middle}
.ra-fb .ra-ico{width:16px;height:16px}
.ra-fb.on{background:#f3c96b;color:#2b2210}
@media(prefers-reduced-motion:reduce){.ra-bar{transition:none}}
.ra-look{margin:10px 0 2px}
/* css/upgrade.css */
/* v23 upgrade prompts */
.school-access.upgrade-panel{background:#fbf2dc;border-color:#e6cf97}
.upgrade-actions{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}
.t-page .school-access.upgrade-panel,.teacher-home .school-access.upgrade-panel{background:#2b2a1d;border-color:#7a6838;color:#efe3c4}
.t-page .school-access.upgrade-panel p,.teacher-home .school-access.upgrade-panel p{color:#d9cfb2}
.t-page .school-access.upgrade-panel h2,.teacher-home .school-access.upgrade-panel h2{color:#f4dfa6}
.share-principal{max-width:620px;color:#263c32}
.share-principal h2{font-size:26px;margin:8px 0}
.share-principal textarea{display:block;width:100%;box-sizing:border-box;font:15px/1.5 ui-sans-serif,system-ui,sans-serif;padding:14px;border:1px solid #c3cfc3;border-radius:12px;background:#fbfcf8;color:#24372f;resize:vertical;margin:10px 0 14px}
.share-principal .class-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
/* lock badge on stories outside the free library */
.shelf-book.member-preview .book-jacket{position:relative}
.shelf-book.member-preview .book-jacket::after{content:"";position:absolute;top:8px;right:8px;width:30px;height:30px;border-radius:50%;background:#1d1a14e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='10' rx='2' fill='%23f2c14e'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3' fill='none' stroke='%23f2c14e' stroke-width='2.2'/%3E%3C/svg%3E") center/16px no-repeat;box-shadow:0 2px 8px #0006}
.shelf-book.member-preview .book-jacket img{filter:saturate(.75) brightness(.92)}
.orthos-dialog .share-principal .linkbtn{color:#f2c14e}
/* css/simple-view.css */
/* v24 Simple view: one plain article, reading settings respected */
.reading-space.sv-on .book2,.reading-space.sv-on .rd-nav{display:none!important}
.sv-article{max-width:760px;margin:10px auto 18px;background:var(--paper,#fffaf0);color:var(--ink,#22302b);font-family:var(--page-font,Georgia,serif);font-size:var(--page-size,21px);line-height:var(--page-leading,1.65);border-radius:16px;padding:34px clamp(18px,5vw,56px) 30px;box-shadow:0 18px 40px -26px #0007,0 0 0 1px #00000014}
.sv-title{font-weight:700;font-size:1.45em;line-height:1.2;margin:0 0 4px;color:inherit}
.sv-meta{font:600 13px/1.4 ui-sans-serif,system-ui,sans-serif;color:var(--muted,#5b6862);margin:0 0 22px}
.sv-para{display:grid;grid-template-columns:2.2em minmax(0,1fr);align-items:start}
.sv-num{font:600 12px/2.4 ui-sans-serif,system-ui,sans-serif;color:var(--muted,#6b7670);text-align:right;padding-right:.9em;user-select:none}
.sv-para p{margin:0 0 .9em}
.sv-end{text-align:center;padding:12px 0 4px;border-top:1px solid #00000018;margin-top:10px}
.sv-end p{font-style:italic;margin:10px 0 14px}
.sv-toggle[aria-pressed=true]{background:#1b4d43;color:#fff;border-color:#1b4d43}
@media(max-width:550px){.sv-article{border-radius:10px;padding:22px 16px}.sv-para{grid-template-columns:1.8em minmax(0,1fr)}}
.legal-links{margin:16px 0 0;font-size:13px;text-align:center}.legal-links a{color:inherit;opacity:.85}
/* css/school-license.css */
/* v25 school licenses */
.school-access.school-licensed{background:#e7f1ea;border-color:#b9d4c2}
.t-page .school-access.school-licensed{background:#1f3328;border-color:#4f7a5f;color:#e3ecd9}
.t-page .school-access.school-licensed h2{color:#f1e3b6}
.t-page .school-access.school-licensed p{color:#cfdcc8}
.school-code-dialog label{display:block;font-weight:700;margin:14px 0 6px}
.school-code-dialog input{font:700 22px/1.2 ui-monospace,monospace;letter-spacing:1px;text-transform:uppercase;width:100%;max-width:340px;box-sizing:border-box;padding:12px 14px;border:2px solid #9fb6a5;border-radius:12px;background:#fff;color:#1f3328}
.school-code-dialog input:focus-visible{outline:3px solid #c19b49;outline-offset:2px}
.school-code-dialog #school-code-status{color:#8d2424;min-height:1.2em}
.small-note{font-size:14px;color:#586b5d}
.t-page .card .small-note,.t-page .lic-card .small-note{color:#586b5d}
.licenses-page .lic-list{display:grid;gap:16px;margin:22px 0 40px}
.lic-card .lic-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;flex-wrap:wrap}
.lic-card h2{margin:8px 0 2px}
.lic-card.off{opacity:.8}
.lic-pill{display:inline-block;font:700 12px/1 system-ui,sans-serif;padding:5px 9px;border-radius:99px;background:#e6e1d2;color:#3b3a2e}
.lic-pill.pilot{background:#f6e6b8;color:#4a3a0c}.lic-pill.paid{background:#cfe6d6;color:#1d4a2d}
.lic-pill.live{background:#1f6b4a;color:#fff}.lic-pill.ended{background:#d9d2c3;color:#3d372b}
.lic-code{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid #cad8cb;background:#edf3ed;color:#1f3328;border-radius:12px;padding:10px 14px}
.lic-code small{font-size:12px;color:#4f6156}.lic-code strong{font:800 20px/1.2 ui-monospace,monospace;letter-spacing:1px}
.lic-counts{font-size:15px}
.lic-form{max-width:620px;margin:0;padding:6px;color:#263c32}
.lic-form label{display:block;font-weight:700;font-size:14px;margin:12px 0 0}
.lic-form label small{font-weight:400;color:#586b5d}
.lic-form input,.lic-form select,.lic-form textarea{display:block;margin-top:6px;font:16px/1.4 system-ui,sans-serif;width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #bfcbbf;border-radius:9px;background:#fff;color:#243e33}
.lic-form .lic-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lic-form #lic-status{color:#8d2424}
.lic-teachers{max-width:720px}.lic-teachers table{width:100%;border-collapse:collapse}.lic-teachers td,.lic-teachers th{text-align:left;padding:8px;border-bottom:1px solid #d4ddd2;vertical-align:top}
@media(max-width:600px){.lic-form .lic-row{grid-template-columns:1fr}}
/* dark teacher dialogs */
.teacher-dialog .small-note,.teacher-dialog p.small-note{color:#d6cba9}
.teacher-dialog .small-note a{color:#f2c14e}
.teacher-dialog .school-code-dialog label,.teacher-dialog .lic-form,.teacher-dialog .lic-form label{color:#f0e3c5}
.teacher-dialog .lic-form label small{color:#cfc3a3}
.teacher-dialog .school-code-dialog #school-code-status,.teacher-dialog .lic-form #lic-status{color:#ffb4a8}
.teacher-dialog .lic-teachers td,.teacher-dialog .lic-teachers th{border-color:#566048;color:#efe3c4}
.teacher-dialog .lic-teachers small{color:#cfc3a3}
/* css/billing.css */
/* v45 billing */
.lic-form label[hidden]{display:none}
.invoice-form .invoice-total{font-weight:700;color:#263c32;margin-top:14px}
.invoice-form #inv-status{color:#8d2424}
.lic-invoices h3{font-size:15px;margin:12px 0 4px}
.lic-invoices ul{margin:0 0 6px;padding-left:18px;font-size:14px;line-height:1.5}
.lic-invoices a{font-weight:700}
.billing-card .class-actions{display:flex;gap:10px;flex-wrap:wrap}
.billing-card h2{margin-top:6px}
/* v64: Teacher plan terms on the purchase panel (same as the pricing page) */
.upgrade-panel .billing-terms{margin:10px 0 0;padding-left:18px;font-size:14px;line-height:1.45;color:inherit;opacity:.92}
.upgrade-panel .billing-terms li{margin:2px 0}
/* css/decodables.css */
/* v28 decodable shelf */
.dcd-page h1{font-family:Georgia,serif;font-size:clamp(30px,4vw,42px);margin:10px 0 8px;color:#f6e7c6}
.dcd-page .h-kick{font-size:13px;letter-spacing:.08em;text-decoration:none}
.dcd-page .wrap.narrow{max-width:820px}
.dcd-lead{font-size:18px;line-height:1.6;max-width:720px;color:#eadcbd}
.dcd-level{margin:30px 0}
.dcd-level h2{font-family:Georgia,serif;font-size:24px;margin:0 0 14px;color:#f3dfb2}
.dcd-level h2 small{font:600 15px/1.3 ui-sans-serif,system-ui,sans-serif;color:#d6c7a6;margin-left:8px}
.dcd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:18px}
.dcd-card{display:flex;flex-direction:column;gap:5px;text-align:left;background:#21170f;border:1px solid #4a3826;border-radius:14px;padding:10px 10px 14px;color:#f2e6cf;text-decoration:none;font:inherit;cursor:pointer;position:relative}
.dcd-card img{width:100%;aspect-ratio:300/388;object-fit:cover;border-radius:8px;box-shadow:0 6px 16px #0008}
.dcd-card b{font-family:Georgia,serif;font-size:18px;line-height:1.2;color:#fff3da}
.dcd-card small{font-size:13px;line-height:1.35;color:#d8caa9}
.dcd-card:hover,.dcd-card:focus-visible{border-color:#e0bd6f;outline:none;box-shadow:0 0 0 3px #e0bd6f66}
.dcd-card.current{border-color:#e0bd6f}
.dcd-card.locked img{filter:saturate(.6) brightness(.8)}
.dcd-step{font:800 12px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#f0c96b}
.dcd-tag{align-self:flex-start;margin-top:4px;font:700 12px/1 ui-sans-serif,system-ui,sans-serif;padding:5px 9px;border-radius:99px;background:#3a2c1c;color:#f2e6cf}
.dcd-tag.done{background:#1f5a43;color:#fff}.dcd-tag.now{background:#f0c96b;color:#2a1d0c}.dcd-tag.lock{background:#2b2a26;color:#e6dcc6}
.dcd-banner{display:flex;align-items:center;gap:16px;margin:0 0 22px;padding:14px 18px;border-radius:16px;background:#2a2012;border:1px solid #8a6a32;color:#f5e7c8;text-decoration:none}
.dcd-banner img{width:54px;border-radius:6px}
.dcd-banner small{display:block;font:800 11px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:.12em;color:#f0c96b;margin-bottom:5px}
.dcd-banner b{display:block;font-family:Georgia,serif;font-size:21px}
.dcd-banner span span{display:block;font-size:14px;color:#dccdaa;margin-top:3px}
.dcd-banner i{margin-left:auto;font-style:normal;font-size:26px;color:#f0c96b}
.dcd-banner:focus-visible{outline:3px solid #f0c96b;outline-offset:2px}
.dcd-head{display:flex;gap:18px;align-items:center;margin:14px 0 18px}
.dcd-head img{width:96px;border-radius:8px;box-shadow:0 8px 20px #0009}
.dcd-head h1{margin:6px 0 4px}
.dcd-head p{margin:0;color:#dccdaa;font-size:15px}
/* the story: paper page, numbers outside the sentences */
.dcd-story{background:#fbf6ea;color:#231c13;border-radius:16px;padding:22px clamp(16px,4vw,40px) 28px;box-shadow:0 14px 40px #0007}
.dcd-tools{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin:0 0 14px}
.dcd-tools .btn.ghost{color:#2f5245;border:2px solid #2f5245;background:#fff}
.dcd-tools .btn.ghost[aria-pressed="true"]{background:#2f5245;color:#fff}
.dcd-story .qt{font-family:Georgia,"Iowan Old Style",serif;font-size:21px;line-height:1.75;max-width:66ch}
.dcd-story.big .qt{font-size:26px;line-height:1.8}
.dcd-para{display:grid;grid-template-columns:2.2em 1fr;align-items:baseline;border-radius:8px;transition:background .6s}
.dcd-para p{margin:0 0 .9em}
.dcd-num{font:700 13px/1 ui-sans-serif,system-ui,sans-serif;color:#6b6250;text-align:right;padding-right:.9em;user-select:none;-webkit-user-select:none}
.dcd-para.flash{background:#f6e2a8}
@media (prefers-reduced-motion:reduce){.dcd-para{transition:none}}
/* questions */
.dcd-qs{margin:34px 0 10px}
.dcd-qs h2{font-family:Georgia,serif;font-size:28px;color:#f3dfb2;margin:0 0 6px}
.dcd-note{color:#dccdaa;margin:0 0 16px}
.dcd-q{background:#fbf6ea;color:#231c13;border-radius:14px;padding:16px 18px;margin:0 0 14px}
.dcd-q label b{font-size:18px;line-height:1.45;color:#231c13}
.dcd-qtype{display:block;font:800 12px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#7a5410;margin-bottom:8px}
.dcd-look{margin:6px 0 0;font-size:15px;color:#4a4232}
.dcd-look a{color:#1d5f8a;font-weight:700}
.dcd-starter{margin:8px 0 0;font-size:15px;color:#4a4232;font-style:italic}
.dcd-q textarea{display:block;width:100%;box-sizing:border-box;margin-top:10px;font:18px/1.5 ui-sans-serif,system-ui,sans-serif;padding:12px;border:2px solid #b9b19c;border-radius:10px;background:#fff;color:#231c13;resize:vertical}
.dcd-q textarea:focus-visible{outline:3px solid #c19b49;outline-offset:1px;border-color:#7a5410}
.dcd-saved{display:block;min-height:1.2em;margin-top:5px;font-size:13px;color:#4f6156}
.dcd-end{text-align:center;margin:24px 0 10px}
.dcd-done{color:#bfe3c9;font-weight:700}
/* teacher dialog */
.dcd-teacher{max-width:860px}
.dcd-table-wrap{overflow-x:auto;margin:14px 0}
.dcd-table{width:100%;border-collapse:collapse}
.dcd-table th,.dcd-table td{text-align:left;padding:9px 8px;border-bottom:1px solid #566048;vertical-align:middle}
.dcd-table select{font:15px/1.3 system-ui,sans-serif;padding:7px 9px;border-radius:8px;border:1px solid #9aa58c;background:#fff;color:#243e33;max-width:300px}
.dcd-check{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.dcd-check input{width:18px;height:18px}
.teacher-dialog .muted,.dcd-teacher .muted{opacity:.85;font-style:italic}
.dcd-teacher #dcd-work-step{font:15px/1.3 system-ui,sans-serif;padding:7px 9px;border-radius:8px;margin:6px 0 12px}
.dcd-work-q{border-top:1px solid #566048;padding:12px 0}
.dcd-ans{background:#ffffff14;border-radius:8px;padding:9px 12px;margin:8px 0;white-space:pre-wrap}
.dcd-sum span{display:block;margin-top:6px;opacity:.9}
.dcd-teacher-btn{white-space:nowrap}
@media(max-width:600px){.dcd-head img{width:70px}.dcd-para{grid-template-columns:1.8em 1fr}.dcd-story .qt{font-size:19px}.dcd-story.big .qt{font-size:23px}}
/* dark teacher dialog: the shared table style is light, so give this table its own colors */
.teacher-dialog .dcd-table,.teacher-dialog .dcd-table tr,.teacher-dialog .dcd-table td{background:transparent!important;color:#f0e3c5}
.teacher-dialog .dcd-table th{background:#2c3a2b!important;color:#e7cf95;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.teacher-dialog .dcd-table .seat-number{display:inline-grid;vertical-align:middle;min-width:30px;height:30px;background:#3c4831;color:#f3e3be;margin-right:8px}
.teacher-dialog .dcd-check span{color:#f0e3c5}
.teacher-dialog .dcd-check input:disabled+span{color:#b8ad92}
.teacher-dialog .dcd-table .muted{color:#d6cba9}
.teacher-dialog #dcd-status{color:#cfe6c9}
.teacher-dialog .dcd-work-q b{color:#f3e3be}
.teacher-dialog .dcd-work-q details summary{color:#e7cf95;cursor:pointer}
.teacher-dialog .dcd-teacher label{color:#f0e3c5}
.dcd-teacher .linkbtn{display:block;margin:0 0 10px;color:#f2c14e;background:none;border:0;padding:0;font:700 14px/1.3 system-ui,sans-serif;cursor:pointer;text-decoration:underline}
/* css/decodables-teacher.css */
/* v29 decodables for teachers */
.dt-page h1{margin:6px 0 10px}
.dt-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;align-items:start;background:#f4eddd;color:#2b2a22;border:1px solid #b3a17c;border-radius:18px;padding:26px 28px;margin:10px 0 18px;box-shadow:0 4px 0 #49351e,0 9px 25px #0003}
.dt-hero .h-kick{color:#7a5410}
.dt-hero h1{color:#24372f}
.dt-hero p{line-height:1.6;color:#3b3a2e;margin:0}
.dt-how{margin:0;padding-left:22px;color:#3b3a2e;line-height:1.5}
.dt-how li{margin:0 0 10px}
.dt-note{color:#e8ddc0}
.dt-note a{color:#f2c14e}
.dt-section,.dt-card{background:#f4eddd;color:#2b2a22;border:1px solid #b3a17c;border-radius:18px;padding:22px 26px;margin:0 0 22px;box-shadow:0 4px 0 #49351e,0 9px 25px #0003}
.dt-section h2,.dt-card h2{color:#24372f;margin:4px 0 6px;font-size:24px}
.dt-section p,.dt-card p{color:#3b3a2e;line-height:1.55}
.dt-card .h-kick{color:#7a5410}
.dt-section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}
.dt-card-btns{display:flex;gap:8px;flex-wrap:wrap}
.dt-card.slim{padding:14px 22px}
.dt-card.slim h2{font-size:19px}
.dt-card.big{border:2px solid #7a5410}
.dt-table-wrap{overflow-x:auto;margin:12px 0 4px}
.dt-table{width:100%;border-collapse:collapse;font-size:15px}
.dt-table th{text-align:left;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#5a563f;background:#e5ddc9;padding:8px 10px}
.dt-table td{padding:10px;border-bottom:1px solid #d7ccb3;vertical-align:middle;color:#2b2a22}
.dt-table small{color:#5f5a48}
.dt-actions{white-space:nowrap;text-align:right}
.dt-actions .btn{margin-left:4px}
.dt-chip{display:inline-block;font:700 12px/1 system-ui,sans-serif;padding:5px 9px;border-radius:99px;background:#e5ddc9;color:#3b3a2e}
.dt-chip.done{background:#cfe6d6;color:#1d4a2d}
.dt-up{margin-left:6px}
.dt-empty{background:#fbf7ee;border:1px dashed #b3a17c;border-radius:12px;padding:14px 18px;margin-top:10px}
.dt-type{margin:12px 0 0;font-size:14px;color:#3b3a2e}
.dt-type select,.dt-form select{font:15px/1.3 system-ui,sans-serif;padding:7px 9px;border-radius:8px;border:1px solid #9aa58c;background:#fff;color:#243e33}
.dt-type small{color:#5f5a48;margin-left:6px}
.dt-level{font-family:Georgia,serif;color:#24372f;margin:22px 0 10px;font-size:20px}
.dt-level small{font:600 14px system-ui,sans-serif;color:#5f5a48;margin-left:6px}
.dt-steps{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:14px} /* v65: min() so one column fits a 320px screen */
.dt-step{display:grid;grid-template-columns:78px 1fr;gap:14px;background:#fbf7ee;border:1px solid #d7ccb3;border-radius:14px;padding:12px}
.dt-step img{width:78px;border-radius:6px;box-shadow:0 3px 8px #0003}
.dt-step h4{margin:2px 0 4px;font-family:Georgia,serif;font-size:18px;color:#24372f}
.dt-step p{margin:0 0 4px;font-size:14px;line-height:1.4}
.dt-num{font:800 11px/1 system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#7a5410}
.dt-eg{color:#5f5a48!important;font-style:italic}
.dt-step-btns{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.dt-home{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;margin:0 0 18px;padding:14px 20px;border-radius:14px;background:#f4eddd;border:2px solid #7a5410;color:#2b2a22;text-decoration:none}
.dt-home .h-kick{color:#7a5410}
.dt-home b{font-family:Georgia,serif;font-size:20px;color:#24372f}
.dt-home span:not(.h-kick){color:#3b3a2e}
.dt-home i{margin-left:auto;font-style:normal;font-size:22px;color:#7a5410}
.dt-home:focus-visible{outline:3px solid #c19b49;outline-offset:2px}
/* preview dialog (dark teacher dialog) */
.dt-preview{max-width:760px}
.dt-preview .dt-pat{font-weight:700}
.dt-story{background:#fbf6ea;color:#231c13;border-radius:12px;padding:16px 20px;max-height:46vh;overflow:auto;margin:12px 0 18px;font-family:Georgia,serif;font-size:17px;line-height:1.65}
.teacher-dialog .dt-story p{color:#231c13;margin:0 0 .8em}
.dt-pn{display:inline-block;min-width:2em;font:700 12px system-ui,sans-serif;color:#6b6250}
.teacher-dialog .dt-story .dt-more{font-style:italic;color:#5f5a48}
.dt-qs{line-height:1.5;padding-left:22px}
.dt-qs li{margin:0 0 12px}
.teacher-dialog .dt-qs small{color:#d6cba9}
.teacher-dialog .dt-qs summary{color:#e7cf95;cursor:pointer}
.dt-form label{display:block;font-weight:700;margin:12px 0 0}
.dt-form select{display:block;width:100%;margin-top:6px}
.teacher-dialog .dt-form,.teacher-dialog .dt-form label{color:#f0e3c5}
.teacher-dialog #dt-status{color:#ffb4a8}
.dt-form .dcd-check{margin-top:14px;font-weight:400}
@media(max-width:800px){.dt-hero{grid-template-columns:1fr}.dt-actions{white-space:normal;text-align:left}}
/* new class form: class type */
.new-library-class #ctype{width:100%;margin:4px 0 10px}
/* v50: advancing a reader is a normal, positive action: green, not red */
.btn.dt-up{background:#1F5A4F;border-color:#1F5A4F;color:#fff8e8}
.btn.dt-up:hover{background:#174a41}
/* v63: readiness check before moving up a step */
.dt-ready h2{margin:4px 0 8px}
.dt-ready-words{background:#fbf6ea;border:1px solid #e2d6b8;border-radius:14px;padding:12px 14px;margin:12px 0}
.dt-words{display:flex;flex-wrap:wrap;gap:8px 18px;margin:10px 0 6px;font:600 26px/1.3 "Atkinson Hyperlegible",Verdana,system-ui,sans-serif;color:#1f2a24}
.dt-ready-hunt{font-size:14px;color:#3a2a10}
.dt-ready-q{border:1px solid #e2d6b8;border-radius:12px;padding:8px 12px 10px;margin:10px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.dt-ready-q legend{padding:0 4px}.dt-ready-q legend b{display:block}.dt-ready-q legend small{color:#7a6a4a}
.dt-ready-msg{font-weight:700;color:#1b4d43;min-height:1.4em}

@media (max-width:360px){.dt-step{grid-template-columns:56px 1fr;gap:10px}.dt-step img{width:56px}}
/* v95: Decodables board (tiles, step map, visual rows, student panel). Colors also carry an icon or word, never color alone. */
.db-page{--db-amber:#c98a12;--db-amber-bg:#fdf0d2;--db-ok:#2f8a5b;--db-ok-bg:#ddf2e4;--db-gray:#8b8676;--db-gray-bg:#ebe6d9;--db-rose:#b4553f;--db-rose-bg:#f8e1da;--db-green:#1f5a4f;--db-line:#d7ccb3}
.db-page .btn svg,.db-drawer .btn svg{width:18px;height:18px;flex:none;vertical-align:-3px;margin-right:4px}
.db-head{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap;margin:10px 0 14px}
.db-head h1{font-size:40px;line-height:1;color:#24372f;margin:0}
.db-head p{margin:6px 0 0;color:#5f5a48}
.db-head-btns{margin-left:auto;display:flex;gap:10px;flex-wrap:wrap}
.db-how{list-style:none;margin:0 0 16px;padding:10px 14px;display:flex;gap:10px 18px;flex-wrap:wrap;background:#fbf6ea;border:1px solid var(--db-line);border-radius:14px}
.db-how li{display:flex;align-items:center;gap:10px;flex:1;min-width:220px;font-size:14.5px;color:#3b3a2e}
.db-how b{display:block;font-size:15px;color:#2b2a22}
.db-ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex:none}
.db-ic svg{width:22px;height:22px}
.db-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.db-tile{display:flex;align-items:center;gap:14px;border:2px solid transparent;border-radius:16px;padding:12px 14px;background:#fff;cursor:pointer;text-align:left;font:inherit;color:#2b2a22;box-shadow:0 3px 0 #0001}
.db-tile .db-ic{width:46px;height:46px}
.db-tile .db-ic svg{width:25px;height:25px}
.db-n{font:800 28px/1 system-ui,sans-serif;display:block}
.db-l{font-size:14px;color:#5f5a48;font-weight:600}
.db-tile[aria-pressed="true"]{border-color:currentColor}
.db-t-check .db-ic{background:var(--db-amber-bg);color:var(--db-amber)}.db-t-check[aria-pressed="true"]{border-color:var(--db-amber)}
.db-t-ready .db-ic{background:var(--db-ok-bg);color:var(--db-ok)}.db-t-ready[aria-pressed="true"]{border-color:var(--db-ok)}
.db-t-new .db-ic{background:var(--db-gray-bg);color:var(--db-gray)}.db-t-new[aria-pressed="true"]{border-color:var(--db-gray)}
.db-t-quiet .db-ic{background:var(--db-rose-bg);color:var(--db-rose)}.db-t-quiet[aria-pressed="true"]{border-color:var(--db-rose)}
.db-card{background:#f4eddd;border:1px solid #b3a17c;border-radius:18px;padding:20px 22px;box-shadow:0 4px 0 #49351e,0 9px 25px #0002;margin-bottom:22px;color:#2b2a22}
.db-card h2{font-size:24px;color:#24372f;margin:0}
.db-sub{color:#5f5a48;margin:2px 0 0;font-size:14.5px}
.db-map{margin-top:14px;overflow-x:auto;padding-bottom:4px}
.db-map-in{min-width:860px}
.db-bands,.db-track{display:grid;grid-template-columns:repeat(25,1fr);gap:4px}
.db-bands{margin-bottom:6px}
.db-band{grid-row:1;font:700 11px system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#3b3a2e;border-radius:8px 8px 0 0;padding:4px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.db-track{align-items:end}
.db-col{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:104px;justify-content:flex-end}
.db-ppl{display:flex;flex-direction:column-reverse;align-items:center;gap:3px}
.db-dot{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font:800 11px system-ui,sans-serif;color:#fff;border:2px solid #fff;padding:0;cursor:pointer;box-shadow:0 0 0 2px var(--ring,#0000)}
.db-node{width:100%;height:30px;border-radius:8px;display:grid;place-items:center;font:800 13px system-ui,sans-serif;color:#24372f;border:1px solid #0001}
.db-node.has{outline:2px solid var(--db-green);outline-offset:1px}
.db-ring-check{--ring:var(--db-amber)}.db-ring-ready,.db-ring-done{--ring:var(--db-ok)}.db-ring-on{--ring:var(--db-green)}.db-ring-quiet{--ring:var(--db-rose)}.db-ring-new{--ring:var(--db-gray)}
.db-legend{list-style:none;display:flex;gap:16px;flex-wrap:wrap;margin:12px 0 0;padding:0;font-size:13.5px;color:#5f5a48}
.db-legend li{display:inline-flex;align-items:center;gap:6px}
.db-legend i{width:12px;height:12px;border-radius:50%;display:inline-block}
.db-c-check{background:var(--db-amber)}.db-c-ready{background:var(--db-ok)}.db-c-on{background:var(--db-green)}.db-c-quiet{background:var(--db-rose)}.db-c-new{background:var(--db-gray)}
.db-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.db-bar h2{margin-right:auto}
.db-seg{display:inline-flex;background:#e7dfcb;border-radius:12px;padding:3px}
.db-seg button{border:0;background:none;font:700 14px system-ui,sans-serif;color:#5f5a48;padding:7px 14px;border-radius:9px;cursor:pointer}
.db-seg button[aria-pressed="true"]{background:#fffdf7;color:var(--db-green);box-shadow:0 1px 3px #0002}
.db-list{display:flex;flex-direction:column;gap:10px}
.db-grp{margin:14px 0 2px;display:flex;align-items:center;gap:12px}
.db-grp img{width:34px;height:46px;object-fit:cover;border-radius:4px;box-shadow:0 2px 5px #0003}
.db-grp b{font-family:Georgia,serif;font-size:18px;color:#24372f;display:block}
.db-grp small{color:#5f5a48}
.db-row{display:grid;grid-template-columns:190px 250px minmax(240px,1fr) 150px 172px;gap:16px;align-items:center;background:#fff;border:1px solid var(--db-line);border-left:6px solid var(--db-line);border-radius:14px;padding:12px 14px;cursor:pointer;transition:box-shadow .15s,transform .15s}
.db-row:hover{box-shadow:0 6px 18px #0002;transform:translateY(-1px)}
.db-k-check{border-left-color:var(--db-amber)}.db-k-ready,.db-k-done{border-left-color:var(--db-ok)}.db-k-on{border-left-color:var(--db-green)}.db-k-quiet{border-left-color:var(--db-rose)}.db-k-new{border-left-color:var(--db-gray)}
.db-min{min-width:0}
.db-who{display:flex;align-items:center;gap:12px;min-width:0}
.db-av{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font:800 15px system-ui,sans-serif;color:#fff;flex:none}
.db-name{display:block;max-width:100%;background:none;border:0;padding:0;font:700 16px system-ui,sans-serif;color:#24372f;cursor:pointer;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.db-name:hover{text-decoration:underline}
.db-who small,.db-stp small{color:#5f5a48;font-size:13px;display:block}
.db-sup{white-space:nowrap;display:inline-flex;align-items:center;gap:3px;background:#e7eef8;color:#2f6db3;border-radius:999px;padding:1px 7px 1px 5px;font-size:12px;font-weight:700}
.db-sup svg{width:13px;height:13px}
.db-stp{display:flex;align-items:center;gap:12px;min-width:0}
.db-cv{position:relative;flex:none}
.db-cv img{width:44px;height:60px;object-fit:cover;border-radius:5px;box-shadow:0 3px 7px #0003;display:block}
.db-cv span{position:absolute;bottom:-6px;right:-8px;background:var(--db-green);color:#fff;font:800 12px system-ui,sans-serif;border-radius:999px;padding:2px 7px;border:2px solid #fff}
.db-stp b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.db-prog{display:grid;gap:7px}
.db-pl{display:flex;align-items:center;gap:10px;font-size:13px;color:#5f5a48}
.db-lbl{width:96px;white-space:nowrap;font-weight:700;color:#4a4636;display:flex;align-items:center;gap:5px;flex:none}
.db-lbl svg{width:15px;height:15px}
.db-pips{display:flex;gap:3px}
.db-pip{width:16px;height:12px;border-radius:3px;background:#e7e1d1}
.db-pip.s{width:12px}
.db-pip.done{background:var(--db-ok)}.db-pip.wait{background:var(--db-amber)}.db-pip.start{background:#fff;box-shadow:inset 0 0 0 2px #9cc7b2}
.db-ct{min-width:40px}
.db-muted{color:#7a7462;font-size:13px}
.db-act{font-size:13.5px;color:#5f5a48;display:flex;flex-direction:column;gap:6px;min-width:0}
.db-when{display:flex;align-items:center;gap:6px;color:#2b2a22;font-weight:600}
.db-when i{width:10px;height:10px;border-radius:50%;display:inline-block;flex:none}
.db-dot-fresh{background:var(--db-ok)}.db-dot-week{background:var(--db-amber)}.db-dot-old{background:var(--db-rose)}.db-dot-none{background:#b9b3a3}
.db-pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:3px 10px 3px 7px;font-weight:800;font-size:12.5px;width:max-content;max-width:100%}
.db-pill svg{width:14px;height:14px;flex:none}
.db-p-check{background:var(--db-amber-bg);color:#7a5000}.db-p-ready,.db-p-done{background:var(--db-ok-bg);color:#1d6a43}.db-p-new{background:var(--db-gray-bg);color:#5e5a4c}.db-p-quiet{background:var(--db-rose-bg);color:#8f3b28}.db-p-on{background:#e3eef0;color:#24524a}
.db-ctl{display:flex;align-items:center;gap:6px;justify-content:flex-end}
.btn.db-go-check{background:var(--db-amber);border-color:var(--db-amber);color:#2a1d0c}
.btn.db-go-ready{background:var(--db-ok);border-color:var(--db-ok);color:#fff}
.db-menu-wrap{position:relative}
.db-more{width:38px;height:38px;border-radius:10px;border:1px solid var(--db-line);background:#fffdf7;display:grid;place-items:center;cursor:pointer;color:#5f5a48}
.db-more svg{width:20px;height:20px}
.db-menu{position:absolute;right:0;top:42px;background:#fff;border:1px solid var(--db-line);border-radius:12px;box-shadow:0 10px 30px #0003;padding:6px;z-index:6;min-width:230px}
.db-menu button{display:flex;gap:10px;align-items:center;width:100%;border:0;background:none;padding:9px 10px;border-radius:8px;font:600 14.5px system-ui,sans-serif;color:#2b2a22;cursor:pointer;text-align:left}
.db-menu button:hover,.db-menu button:focus-visible{background:#f3eddf}
.db-menu svg{width:17px;height:17px;color:#5f5a48;flex:none}
.db-empty{padding:20px;text-align:center;color:#5f5a48}
/* student panel: the shared dialog, docked to the right */
dialog.orthos-dialog.db-drawer{margin:0 0 0 auto;height:100vh;max-height:100vh;width:min(520px,100%);max-width:100%;border-radius:0;padding:0;background:#f6efe0;overflow-y:auto}
dialog.orthos-dialog.db-drawer .dialog-close{position:absolute;top:12px;right:12px;z-index:2;color:#fff}
.db-dh{background:#12302b;color:#fff;padding:20px 52px 20px 22px;display:flex;gap:16px;align-items:center}
.db-dh img{width:70px;height:96px;object-fit:cover;border-radius:6px;box-shadow:0 6px 14px #0006;flex:none}
.db-dh .h-kick{color:#e9c86a}
dialog.orthos-dialog.db-drawer .db-dh h2{color:#fff;font-size:26px;margin:2px 0 0}
dialog.orthos-dialog.db-drawer .db-dh p{margin:4px 0 0;color:#cfe0d9;font-size:14px}
dialog.orthos-dialog.db-drawer .db-box h3{color:#7a5410}
dialog.orthos-dialog.db-drawer .db-qs li,dialog.orthos-dialog.db-drawer .db-tg{color:#2b2a22}
.db-db{padding:18px 22px;display:grid;gap:14px}
.db-box{background:#fff;border:1px solid var(--db-line,#d7ccb3);border-radius:14px;padding:14px 16px;display:grid;gap:10px;justify-items:start}
.db-box h3{font:800 13px system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#7a5410;margin:0}
.db-journey{display:grid;grid-template-columns:repeat(25,1fr);gap:3px;width:100%}
.db-journey i{height:14px;border-radius:3px;background:#e7e1d1}
.db-journey i.past{background:#9cc7b2}.db-journey i.now{background:#1f5a4f;outline:2px solid #e9b949;outline-offset:1px}
.db-jl{display:flex;justify-content:space-between;font-size:12px;color:#5f5a48;width:100%}
.db-qs{list-style:none;margin:0;padding:0;display:grid;gap:6px;width:100%}
.db-qs li{display:flex;align-items:center;gap:10px;font-size:14.5px;color:#2b2a22}
.db-qstate{margin-left:auto;font-size:12.5px;color:#5f5a48}
.db-m{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;flex:none;font:800 12px system-ui,sans-serif}
.db-m.done{background:#ddf2e4;color:#2f8a5b}.db-m.wait{background:#fdf0d2;color:#7a5000}.db-m.no{background:#f0ebdf;color:#8b8676}
.db-reads{display:grid;grid-template-columns:repeat(10,1fr);gap:5px;width:100%}
.db-reads span{aspect-ratio:1;border-radius:8px;display:grid;place-items:center;font:800 13px system-ui,sans-serif;background:#f0ebdf;color:#8b8676}
.db-reads span.done{background:#ddf2e4;color:#2f8a5b}.db-reads span.wait{background:#fdf0d2;color:#7a5000}.db-reads span.start{background:#fff;color:#2f8a5b;box-shadow:inset 0 0 0 2px #9cc7b2}
.db-tg{display:flex;align-items:center;gap:10px;font-size:14.5px}
.db-tg span{display:inline-flex;align-items:center;gap:6px}
.db-tg svg{width:18px;height:18px}
.db-sw{width:44px;height:26px;border-radius:999px;background:#cfc8b6;position:relative;border:0;cursor:pointer;flex:none}
.db-sw::after{content:"";position:absolute;top:4px;left:4px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s}
.db-sw[aria-checked="true"]{background:#2f6db3}.db-sw[aria-checked="true"]::after{left:22px}
.db-dacts{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:1180px){.db-row{grid-template-columns:minmax(160px,1fr) minmax(190px,1.1fr) minmax(240px,1.3fr) 140px auto}}
@media (max-width:1000px){.db-tiles{grid-template-columns:repeat(2,1fr)}.db-row{grid-template-columns:1fr 1fr;row-gap:12px}.db-row .db-prog{grid-column:1/-1}.db-ctl{justify-content:flex-start}}
@media (max-width:560px){.db-row{grid-template-columns:1fr}.db-head-btns{margin-left:0}.db-head h1{font-size:32px}}
@media (prefers-reduced-motion:reduce){.db-row,.db-sw::after{transition:none}.db-row:hover{transform:none}}
dialog.orthos-dialog.db-drawer .db-dh .db-pill{background:#fffdf7;color:#24524a}dialog.orthos-dialog.db-drawer .db-dh .db-p-check{color:#7a5000}dialog.orthos-dialog.db-drawer .db-dh .db-p-ready,dialog.orthos-dialog.db-drawer .db-dh .db-p-done{color:#1d6a43}dialog.orthos-dialog.db-drawer .db-dh .db-p-quiet{color:#8f3b28}
/* css/screener.css */
/* v30 placement screener */
.scr-page h1{margin:4px 0}
.scr-head{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:flex-start;background:#f4eddd;color:#2b2a22;border:1px solid #b3a17c;border-radius:18px;padding:18px 24px;margin:10px 0 16px}
.scr-head .h-kick,.scr-result>.h-kick{color:#7a5410}
.scr-head h1{color:#24372f;font-size:30px}
.scr-head p{margin:0;color:#3b3a2e}
.scr-head-btns{display:flex;gap:8px;flex-wrap:wrap}
.scr-say{color:#e8ddc0;margin:0 0 12px}
.scr-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.scr-word{background:#fbf7ee;color:#231c13;border:2px solid #d7ccb3;border-radius:14px;padding:12px}
.scr-word.made-up{border-style:dashed;border-color:#7a5410;background:#f6ecd4}
.scr-w{font:700 30px/1.2 Georgia,serif;text-align:center;margin:4px 0}
.scr-word small{display:block;text-align:center;font-size:12px;color:#5f5a48;margin-bottom:6px}
.scr-codes{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
.scr-code{font:700 14px/1.2 system-ui,sans-serif;min-height:44px;border-radius:10px;border:2px solid #9aa58c;background:#fff;color:#243e33;cursor:pointer}
.scr-code.c-X{border-color:#b9867a;color:#7a2a1d}
.scr-code.on{background:#24543f;border-color:#24543f;color:#fff}
.scr-code.c-X.on{background:#9b2f22;border-color:#9b2f22;color:#fff}
.scr-code:focus-visible{outline:3px solid #c19b49;outline-offset:2px}
.scr-extra{margin:18px 0;max-width:320px}
.scr-extra h3{color:#f3e3be;margin:0 0 4px}.scr-extra p{color:#e8ddc0;margin:0 0 8px}
.scr-next{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin:18px 0}
#scr-tally{color:#f0e3c5;font-weight:700}
.scr-key{color:#e8ddc0;max-width:760px}.scr-key summary{cursor:pointer;color:#f2c14e}
.scr-big{background:#fbf6ea;color:#231c13;border-radius:18px;padding:24px;text-align:center}
.scr-big p{font-size:18px;margin:0 0 16px}
.scr-big-row{display:flex;flex-wrap:wrap;gap:18px 28px;justify-content:center;margin:22px 0}
.scr-big-row span{font:700 clamp(34px,6vw,64px)/1.2 Georgia,serif;background:#fbf6ea;color:#231c13;border:3px solid transparent;border-radius:14px;padding:8px 18px}
.scr-big-row span.made-up{border:3px dashed #7a5410}
.scr-result h1{color:#24372f}.scr-result h2{color:#24372f;font-size:20px;margin:20px 0 6px}
.scr-placed{font-size:20px}
.scr-change{margin:10px 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.scr-change select{font:15px/1.3 system-ui,sans-serif;padding:7px 9px;border-radius:8px;border:1px solid #9aa58c;background:#fff;color:#243e33;max-width:100%}
.scr-cell{display:inline-block;margin:2px 4px 2px 0;padding:2px 7px;border-radius:7px;font-size:14px}
.scr-cell.ok{background:#e1efe5;color:#1d4a2d}.scr-cell.miss{background:#f7dfd9;color:#7a2a1d}
.scr-cell small{font-size:11px;font-weight:700}
.scr-fine{font-size:13px;color:#5f5a48}
.teacher-dialog .scr-fine{color:#d6cba9}
.scr-steps{line-height:1.5;padding-left:20px}
.teacher-dialog .scr-steps li{color:#e8ddc0}
.dt-scr-hint{font-size:14px}
.teacher-dialog .dt-scr-hint{color:#e8ddc0}
.teacher-dialog .dt-scr-hint .linkbtn{color:#f2c14e;background:none;border:0;padding:0;font:inherit;text-decoration:underline;cursor:pointer}
/* student */
.scr-student{text-align:center}
.scr-student h1{font-family:Georgia,serif;color:#f6e7c6;margin:20px 0 8px}
.scr-s-lead{font-size:20px;color:#f2e6cf;max-width:720px;margin:10px auto}
.scr-s-note{color:#dccdaa;max-width:620px;margin:14px auto}
.scr-student .h-kick{display:block;margin-top:16px}
@media(max-width:600px){.scr-row{grid-template-columns:1fr 1fr}.scr-w{font-size:24px}.scr-codes{grid-template-columns:1fr}}
/* v34 results 2.0 */
.scr2 .dt-section h2{font-size:22px}
.scr2-status{background:#fbf7ee;border:1px solid #d7ccb3;border-radius:12px;padding:8px 12px;font-size:15px;display:inline-block;margin:6px 0 10px}
.scr2-status.warn{border-color:#c79a3b;background:#fff3d6}
.scr2-review{border:2px solid #c79a3b;background:#fff8e6}
.scr2-review ul{margin:6px 0 12px;padding-left:20px;color:#3b3a2e}.scr2-review li{margin:3px 0}
.scr2-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:10px 0}
.scr2-opt{display:block;background:#fff;border:2px solid #d7ccb3;border-radius:14px;padding:12px 14px;cursor:pointer;color:#24372f;font-weight:700}
.scr2-opt input{accent-color:#24543f;margin-right:4px}
.scr2-opt.on{border-color:#24543f;background:#eef5ef}
.scr2-opt small{display:block;color:#5f5a48;margin-top:4px;font-size:13px;font-weight:400}
.scr2-opt:focus-within{outline:3px solid #c19b49;outline-offset:2px}
.scr2-rec{font:800 10px/1 system-ui,sans-serif;background:#f2c14e;color:#2b2a22;border-radius:6px;padding:3px 6px;margin-left:4px;vertical-align:middle}
.scr2-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 22px}
.scr2-stats .dt-section{margin:0;padding:16px 20px}
.scr2 .scr2-stat .h-kick{color:#7a5410}
.scr2-big{font:700 40px/1 Georgia,serif;color:#24372f;margin:8px 0 6px}
.scr2-big small{font:600 15px system-ui,sans-serif;color:#5f5a48;margin-left:6px}
.scr2-stat p{font-size:14px;margin:6px 0 0}
.scr2-bar{height:12px;border-radius:8px;background:#e2d6bb;overflow:hidden}
.scr2-bar i{display:block;height:100%;background:#24543f}.scr2-bar.mu i{background:#a8662a}
.scr2-effort{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px}
.scr2-effort div{background:#fbf7ee;border:1px solid #d7ccb3;border-radius:10px;padding:6px 2px;text-align:center;font-size:11px;color:#5f5a48}
.scr2-effort b{display:block;font:700 22px Georgia,serif;color:#24372f}
.scr2-insight{background:#1c3a2f;border:1px solid #3f6b58;border-radius:18px;padding:18px 22px;margin:0 0 22px;color:#f5e7c8}
.scr2-insight h2{color:#f2c14e!important;font-size:19px;margin:0 0 6px;font-family:Georgia,serif}
.scr2-insight p{color:#f5e7c8;margin:0 0 8px;line-height:1.55}.scr2-insight p:last-child{margin:0}
.scr2-map{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:8px;margin:14px 0 10px}
.scr2-cell{position:relative;border-radius:12px;padding:8px 4px;text-align:center;font:inherit;border:2px solid transparent;min-height:72px;cursor:pointer}
.scr2-cell b{display:block;font:700 20px Georgia,serif}
.scr2-cell span{display:block;font:700 12px system-ui,sans-serif}
.scr2-cell small{display:block;font-size:11px}
.scr2-cell.ready{background:#dcebdd;color:#1e4733;border-color:#9cc2a3}
.scr2-cell.teach{background:#f6dcd4;color:#7a2a1d;border-color:#d7a294}
.scr2-cell.untested{background:transparent;color:#6e6754;border:2px dashed #b3a17c;cursor:default}
.scr2-cell.placed{box-shadow:0 0 0 3px #24372f}
.scr2-cell.placed::after{content:'Placed';position:absolute;top:-9px;left:50%;transform:translateX(-50%);background:#24372f;color:#fff;font:700 10px/1 system-ui,sans-serif;padding:3px 6px;border-radius:6px}
.scr2-cell:focus-visible{outline:3px solid #c19b49;outline-offset:2px}
.scr2-dot{position:absolute;top:6px;right:6px;width:10px;height:10px;border-radius:50%}
.scr2-dot.real,.lg.real{background:#9b2f22;border-radius:50%}.scr2-dot.mu,.lg.mu{background:#a8662a;border-radius:2px}
.scr2-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;color:#5f5a48}
.scr2-legend span{display:inline-flex;align-items:center;gap:6px}
.lg{display:inline-block;width:14px;height:14px;border-radius:4px}
.lg.ready{background:#dcebdd;border:2px solid #9cc2a3}.lg.teach{background:#f6dcd4;border:2px solid #d7a294}.lg.untested{border:2px dashed #b3a17c}
.scr2-pats{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;margin:10px 0}
.scr2-pat{background:#fbf7ee;border:1px solid #d7ccb3;border-radius:14px;padding:10px 12px;break-inside:avoid}
.scr2-pat-h{display:flex;gap:8px;align-items:center;margin-bottom:6px;font-size:14px;color:#24372f}
.scr2-pill{font:800 11px/1 system-ui,sans-serif;background:#24372f;color:#fff;border-radius:999px;padding:4px 8px;white-space:nowrap}
.scr2-pat-row{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap;font-size:14px;margin:3px 0}
.scr2-pat-l{font:700 11px system-ui,sans-serif;text-transform:uppercase;letter-spacing:.05em;color:#6e6450;width:66px}
.scr2-chip{font:700 15px Georgia,serif;border-radius:8px;padding:1px 8px;border:2px solid #d7a294;background:#fff;color:#7a2a1d}
.scr2-chip.made{border-style:dashed}
.scr2-pw{font:600 15px Georgia,serif;color:#1e4733}
.scr2 .dt-table td,.scr2 .dt-table th{vertical-align:top}
.scr2-rows summary{cursor:pointer;font:700 16px system-ui,sans-serif;color:#24543f}
.scr2-rows th[scope=row]{font:700 18px Georgia,serif;color:#24372f;min-width:120px}
.scr2-rows th small{display:block;font:500 12px/1.3 system-ui,sans-serif;color:#5f5a48}
.scr2-ws{display:flex;flex-wrap:wrap;gap:6px}
.scr2-w{display:inline-flex;flex-direction:column;align-items:center;min-width:72px;border-radius:10px;padding:3px 8px;font:700 16px Georgia,serif;border:2px solid #9cc2a3;background:#eef5ef;color:#1e4733}
.scr2-w small{font:600 10px system-ui,sans-serif;color:#5f5a48}
.scr2-w.made{border-style:dashed}.scr2-w.miss{border-color:#d7a294;background:#fbe8e2;color:#7a2a1d}
.scr2-ghost td{color:#857b62;font-style:italic}.scr2-this td{font-weight:700}
.scr2-flash{animation:scr2fl 1.6s}
@keyframes scr2fl{0%,40%{background:#fff0bf}100%{background:transparent}}
.scr2>.wrap>.scr-fine{color:#c5b79e}
@media (max-width:760px){.scr2-stats{grid-template-columns:1fr}.scr2-big{font-size:34px}}
@media (prefers-reduced-motion:reduce){.scr2-flash{animation:none;background:#fff0bf}}
@media print{.scr2 .scr2-noprint,.scr2 .scr2-insight{box-shadow:none}.scr2-noprint{display:none!important}.scr2 .dt-section{box-shadow:none;border-color:#bbb;break-inside:avoid}
  .scr2 details.scr2-rows>*{display:block}.scr2-insight{background:#fff;color:#222;border-color:#999}.scr2-insight p{color:#222}.scr2-insight h2{color:#222!important}
  body.scr2-words .scr2>.wrap>*:not(.scr2-practice):not(.scr-result){display:none!important}}
.scr2 .scr2-rows .dt-table th[scope=row]{text-transform:none;letter-spacing:0;width:170px;font:700 18px Georgia,serif;color:#24372f;background:transparent}
.scr2 .scr2-rows .dt-table th[scope=row] small{text-transform:none;letter-spacing:0;font:500 12px/1.3 system-ui,sans-serif;color:#5f5a48}
/* css/arcade.css */
/* v31 lounge arcade */
.room3d .arc-blink{animation:arcBlink 1.2s steps(2,end) infinite}
.room3d .arc-spark{animation:arcTwinkle 1.6s ease-in-out infinite}
.room3d .arc-coin{animation:arcCoin 2.4s ease-in-out infinite}
.room3d .arc-glow,.room3d .arc-floorglow{animation:arcGlow 3s ease-in-out infinite}
@keyframes arcBlink{0%{opacity:1}100%{opacity:.15}}
@keyframes arcTwinkle{0%,100%{opacity:.25}50%{opacity:1}}
@keyframes arcCoin{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes arcGlow{0%,100%{opacity:.8}50%{opacity:1}}
.l3d-lite .room3d .arc-blink,.l3d-lite .room3d .arc-spark,.l3d-lite .room3d .arc-coin,.l3d-lite .room3d .arc-glow,.l3d-lite .room3d .arc-floorglow{animation:none}
@media (prefers-reduced-motion:reduce){.room3d .arc-blink,.room3d .arc-spark,.room3d .arc-coin,.room3d .arc-glow,.room3d .arc-floorglow{animation:none}}
.room3d .plaque.arc rect{fill:rgba(26,12,40,.92);stroke:#ff9a3c}

body.arc-lock{overflow:hidden}
.arc-ov{position:fixed;inset:0;z-index:100000;background:rgba(8,6,16,.82);display:flex;align-items:center;justify-content:center;padding:14px;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.arc-box{width:min(980px,100%);max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);overflow:auto;background:linear-gradient(180deg,#1d1631,#120e1f);color:#f4eddd;border-radius:22px;box-shadow:0 0 0 2px #3c2e66,0 30px 80px -20px rgba(0,0,0,.9);padding:20px 22px 22px}
.arc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:0 0 12px}
.arc-head h2{font:800 30px/1.1 Georgia,serif;margin:4px 0 0;color:#fff6d8}
.arc-kick{font:800 11px/1 ui-monospace,Menlo,Consolas,monospace;letter-spacing:.18em;color:#ffb84a}
.arc-x{background:#2a2142;color:#fff;border:0;border-radius:12px;width:44px;height:44px;font-size:26px;line-height:1;cursor:pointer}
.arc-x:hover{background:#3a2e5c}
.arc-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:12px;border:0;background:#ff9a3c;color:#24140a;font:800 15px/1 ui-sans-serif,system-ui,sans-serif;cursor:pointer}
.arc-btn:hover:not([disabled]){background:#ffb860}
.arc-btn[disabled]{background:#3a3350;color:#b8b0cc;cursor:not-allowed}
.arc-btn.ghost{background:transparent;color:#f4eddd;box-shadow:0 0 0 1.5px #6a5a9a inset}
.arc-btn.ghost:hover{background:#2a2142}
.arc-btn.sm{min-height:36px;padding:8px 12px;font-size:13px}
.arc-ov :focus-visible{outline:3px solid #7af0ff;outline-offset:2px}
.arc-power{display:flex;align-items:baseline;gap:10px;background:#261d40;border-radius:14px;padding:12px 16px;margin:0 0 10px}
.arc-power b{font:800 34px/1 ui-monospace,Menlo,Consolas,monospace;color:#ffd34a}
.arc-power.empty b{color:#b8b0cc}
.arc-power span{color:#e6dcf5;font-weight:600}
.arc-how{color:#d8cfe8;font-size:15px;line-height:1.5;margin:0 0 14px}
.arc-how b{color:#fff}
.arc-tally{display:block;color:#b8b0cc;font-size:13.5px;margin-top:4px}
.arc-note{background:#4a2030;color:#ffe0e6;border-radius:10px;padding:10px 12px;margin:0 0 10px}
.arc-hint{color:#ffd9a0;margin:12px 0 0}
.arc-games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.arc-game{background:#1a142c;border-radius:16px;padding:12px;box-shadow:0 0 0 1.5px color-mix(in srgb,var(--gc) 45%,transparent) inset;display:flex;flex-direction:column}
.arc-game h3{font:800 18px/1.2 ui-sans-serif,system-ui,sans-serif;color:var(--gc);margin:10px 0 4px}
.arc-game p{margin:0 0 8px;color:#d8cfe8;font-size:14px;line-height:1.45}
.arc-game .arc-best{color:#b8b0cc;font-size:13px;margin-top:auto}
.arc-game .arc-best b{color:#fff}
.arc-thumb svg{display:block;width:100%;height:96px;border-radius:10px}
.arc-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.arc-hud{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.arc-hud span{font:700 15px/1 ui-monospace,Menlo,Consolas,monospace;color:#d8cfe8;margin-right:6px}
.arc-hud b{color:#ffd34a;font-size:20px}
.arc-stage{background:#000;border-radius:14px;overflow:hidden;box-shadow:0 0 0 2px #3c2e66;width:min(100%,calc((100vh - 190px) * 16 / 9));width:min(100%,calc((100dvh - 190px) * 16 / 9));margin:0 auto}
.arc-stage canvas{display:block;width:100%;height:auto;aspect-ratio:16/9;touch-action:none;cursor:pointer}
.arc-keys{color:#b8b0cc;font-size:13.5px;margin:8px 0 0}
.arc-loading{color:#d8cfe8;padding:30px 0;text-align:center}
.arc-over{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:16px;align-items:start}
.arc-final{background:#261d40;border-radius:16px;padding:18px;text-align:center;display:flex;flex-direction:column;gap:6px}
.arc-final span{color:#d8cfe8;font-weight:600}
.arc-final b{font:800 54px/1 ui-monospace,Menlo,Consolas,monospace;color:#ffd34a}
.arc-final em{font-style:normal;font-weight:800;color:#7af0ff}
.arc-final small{color:#b8b0cc}
.arc-final .arc-err{color:#ffb0b0}
.arc-board{background:#1a142c;border-radius:16px;padding:14px 16px}
.arc-board h3{margin:0 0 8px;font:800 17px/1.2 ui-sans-serif,system-ui,sans-serif;color:#fff6d8}
.arc-board table{width:100%;border-collapse:collapse;font-size:15px}
.arc-board th{text-align:left;color:#b8b0cc;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:4px 6px;border-bottom:1px solid #3a2e5c}
.arc-board td{padding:6px;border-bottom:1px solid #2a2142;color:#efe6ff}
.arc-board td:last-child,.arc-board th:last-child{text-align:right;font-family:ui-monospace,Menlo,Consolas,monospace}
.arc-board tr.me td{background:#3a2a10;color:#ffe9a8;font-weight:700}
.arc-board tr.me small{color:#ffd34a}
.arc-board p{margin:0;color:#d8cfe8}
.arc-mine{margin-top:8px!important;color:#ffd9a0!important}
/* v47: tickets, streak, tournament, prize counter, 8 games */
.arc-games{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.arc-game{position:relative}
.arc-game.feat{box-shadow:0 0 0 2.5px var(--gc) inset,0 0 22px -6px var(--gc)}
.arc-feat{position:absolute;top:8px;left:8px;background:#ffd34a;color:#24140a;font:800 10px/1 ui-monospace,Menlo,monospace;letter-spacing:.08em;padding:5px 7px;border-radius:6px}
.arc-thumb svg{height:84px}
.arc-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 6px}
.arc-chips .arc-power{margin:0;flex:1 1 180px;align-items:center}
.arc-power span small{display:block;font-size:12px;color:#ffd34a;font-weight:700}
button.arc-power{border:0;font:inherit;cursor:pointer;text-align:left;color:inherit}
button.arc-power:hover{background:#30254f}
.arc-tk{width:30px;height:20px;flex:none}
.arc-fl{width:20px;height:25px;flex:none}
.arc-streak.empty .arc-fl{filter:grayscale(1) opacity(.5)}
.arc-streak b{color:#ff9a4a}
.arc-streakline{color:#ffd9a0;font-size:14.5px;margin:4px 0 12px}
.arc-earn{background:#1a142c;border-radius:12px;padding:10px 14px;margin:0 0 14px;color:#d8cfe8;font-size:14.5px;line-height:1.5}
.arc-earn summary{cursor:pointer;font-weight:800;color:#fff6d8}
.arc-earn ul{margin:8px 0 4px;padding-left:20px}
.arc-earn b{color:#fff}
.arc-tourney{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:center;background:linear-gradient(90deg,color-mix(in srgb,var(--gc) 22%,#1a142c),#1a142c);border-radius:16px;padding:12px 14px;margin:0 0 14px;box-shadow:0 0 0 1.5px color-mix(in srgb,var(--gc) 60%,transparent) inset}
.arc-tourney h3{margin:4px 0 4px;font:800 22px/1.15 Georgia,serif;color:#fff6d8}
.arc-tourney p{margin:0 0 4px;color:#e6dcf5;font-size:14.5px;line-height:1.45}
.arc-tourney b{color:#ffd34a}
.arc-tsmall{font-size:13.5px!important;color:#c8bedb!important}
.arc-tthumb svg{display:block;width:100%;height:84px;border-radius:10px}
.arc-award{background:linear-gradient(90deg,#4a3410,#2a1d0a);border:1.5px solid #ffd34a;color:#fff1c8;border-radius:12px;padding:10px 14px;margin:0 0 12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.arc-award b{color:#ffe08a}
.arc-last{margin-top:10px!important;color:#c8bedb!important;font-size:14px}
.arc-prizes{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:6px 0 4px}
.arc-prize{background:#1a142c;border-radius:14px;padding:10px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;box-shadow:0 0 0 1.5px #3a2e5c inset}
.arc-prize[data-rarity="rare"]{box-shadow:0 0 0 1.5px #4a8aff inset}
.arc-prize[data-rarity="veryrare"]{box-shadow:0 0 0 1.5px #b06aff inset}
.arc-prize[data-rarity="legendary"]{box-shadow:0 0 0 2px #ffcf4a inset,0 0 18px -6px #ffcf4a}
.arc-prize.have{opacity:.85}
.arc-part{width:100%;height:104px;background:radial-gradient(ellipse at 50% 70%,#2e2450,#140f22);border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.arc-part svg{max-width:100%;max-height:100%;width:100%;height:100%}
.arc-prize h3{margin:4px 0 0;font:800 15px/1.2 ui-sans-serif,system-ui,sans-serif;color:#fff6d8}
.arc-prize p{margin:0;color:#b8b0cc;font-size:12.5px}
.arc-prize .arc-btn{margin-top:auto;gap:6px}
.arc-prize .arc-btn .arc-tk{width:22px;height:15px}
.arc-prize small{color:#b8b0cc;font-size:12px}
.arc-btn.sure{background:#7af0a0;color:#0e2a18}
.arc-note.ok{background:#173a2a;color:#d8ffe8;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.arc-cups{font-size:13.5px;color:#b8b0cc}
.arc-won{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:6px;background:#2a2010;border-radius:12px;padding:8px}
.arc-won b{font:800 26px/1 ui-monospace,Menlo,monospace;color:#ffd34a}
.arc-won span{color:#fff1c8;font-weight:700;text-align:left}
.arc-won small{display:block;color:#d8c8a0;font-weight:500}
.arc-link{background:none;border:0;color:#7af0ff;text-decoration:underline;font:inherit;cursor:pointer;padding:0}
.arc-tline{color:#ffd9a0!important}
@media (max-width:980px){.arc-games{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.arc-games,.arc-over{grid-template-columns:1fr}.arc-games{grid-template-columns:repeat(2,minmax(0,1fr))}.arc-box{padding:14px}.arc-head h2{font-size:24px}.arc-tourney{grid-template-columns:1fr}.arc-tthumb{display:none}.arc-chips .arc-power{flex:1 1 28%;padding:8px 10px;gap:6px;flex-wrap:wrap}.arc-chips .arc-power b{font-size:24px}.arc-chips .arc-power span{font-size:12.5px}.arc-chips .arc-tk{display:none}.arc-game p:not(.arc-best){display:none}}
/* teacher class page */
.arc-setting{margin:0 0 18px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;font-size:14.5px}
.arc-setting label{font-weight:700}
.arc-setting select{padding:6px 8px;border-radius:8px}
.arc-setting small{flex-basis:100%;color:#4f5a54}
/* css/passages.css */
/* v32 short reads (decodable passages) */
.dcp-now{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;margin:18px 0 8px;padding:16px 18px;border-radius:18px;background:#2a2012;border:1px solid #8a6a32;color:#f5e7c8}
.dcp-now img{width:70px;border-radius:8px;box-shadow:0 6px 16px #0008}
.dcp-kick{font:800 11px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:.12em;color:#f0c96b}
.dcp-now h2{font-family:Georgia,serif;font-size:24px;margin:6px 0 4px;color:#fff3da}
.dcp-now p{margin:0 0 8px;color:#dccdaa;font-size:15px}
.dcp-dots{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.dcp-dots span{width:14px;height:14px;border-radius:50%;background:#4a3826;border:1px solid #8a6a32}
.dcp-dots span.on{background:#f0c96b;border-color:#f0c96b}
.dcp-dots small{margin-left:6px;color:#e6d6b2;font-size:13.5px}
.dcp-now-btns{display:flex;flex-direction:column;gap:8px;align-items:stretch}
.dcp-done{font-weight:800;color:#9fe0b8}
.dcp-level{margin:12px 0 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#dccdaa;font-size:14.5px}
.dcp-level a{display:inline-flex;gap:6px;align-items:center;padding:6px 10px;border-radius:99px;background:#2a2012;border:1px solid #6a5232;color:#f5e7c8;text-decoration:none;font-weight:700}
.dcp-level a small{color:#f0c96b}
.dcp-level a:hover,.dcp-level a:focus-visible{border-color:#e0bd6f;outline:none;box-shadow:0 0 0 3px #e0bd6f66}
.dcp-storylink{display:block;margin:0 0 16px;padding:12px 16px;border-radius:14px;background:#2a2012;border:1px solid #8a6a32;color:#f5e7c8;text-decoration:none}
.dcp-storylink b{color:#f0c96b}
.dcp-storylink:focus-visible{outline:3px solid #f0c96b;outline-offset:2px}
.dcp-parts{list-style:none;margin:16px 0;padding:0;display:grid;gap:10px}
.dcp-parts a,.dcp-parts button{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:4px 12px;align-items:center;width:100%;text-align:left;padding:12px 14px;border-radius:14px;background:#21170f;border:1px solid #4a3826;color:#f2e6cf;text-decoration:none;font:inherit;cursor:pointer}
.dcp-parts a:hover,.dcp-parts a:focus-visible,.dcp-parts button:focus-visible{border-color:#e0bd6f;outline:none;box-shadow:0 0 0 3px #e0bd6f66}
.dcp-parts a.done{border-color:#2f7a5a}
.dcp-parts .locked{opacity:.75}
.dcp-n{grid-row:span 2;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#3a2c1c;color:#f0c96b;font:800 17px/1 ui-sans-serif,system-ui,sans-serif}
.dcp-parts b{font-family:Georgia,serif;font-size:18px;color:#fff3da}
.dcp-parts small{grid-column:2;color:#d8caa9;font-size:13px}
.dcp-parts i{grid-row:1/span 2;grid-column:3;font-style:normal;font-weight:800;color:#9fe0b8;font-size:14px}
.dcp-opts{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 4px}
.dcp-opt{min-height:44px;padding:10px 16px;border-radius:12px;border:2px solid #b89a5a;background:#fffaf0;color:#2a1d0c;font:700 16px/1.25 ui-sans-serif,system-ui,sans-serif;cursor:pointer;text-align:left}
.dcp-opt:hover:not([disabled]){border-color:#7a5410;background:#fff3d6}
.dcp-opt:focus-visible{outline:3px solid #7a5410;outline-offset:2px}
.dcp-opt[disabled]{cursor:default}
.dcp-opt.right{background:#1f5a43;border-color:#58c08a;color:#fff}
.dcp-opt.wrong{background:#f6e2e0;border-color:#b0504a;color:#7a2420;text-decoration:line-through}
.dcp-fb{min-height:1.4em;margin:4px 0 0;font-weight:700;color:#5a3d0a}
.dcp-need{color:#e6d6b2;margin:0 0 8px}
@media (max-width:640px){.dcp-now{grid-template-columns:1fr}.dcp-now img{display:none}}
/* teacher */
.dcp-teacher .dcp-wpart{border:1px solid rgba(255,255,255,.25);border-radius:12px;padding:8px 12px;margin:8px 0}
.dcp-teacher .dcp-wpart summary{cursor:pointer}
.dcp-ok{color:#1f6a46;font-weight:700}.dcp-teacher .dcp-ok{color:#8fe0b0}
.dcp-no{color:#9a3a2a;font-weight:700}.dcp-teacher .dcp-no{color:#ffb8a8}
.dcp-dict{margin:6px 0 0}
.dcp-preview{margin:18px 0}
.dcp-preview details{border-top:1px solid rgba(0,0,0,.12);padding:8px 0}
.dcp-preview summary{cursor:pointer;font-weight:700}
.dcp-teacher select{font:inherit;font-size:15px;padding:6px 10px;margin-left:4px;border-radius:10px;background:#1c2a22;color:#f5e7c8;border:1px solid #8a6a32}
.dcp-teacher select:focus-visible{outline:3px solid #f0c96b;outline-offset:2px}
/* css/words.css */
/* v36 vocabulary: Word Collection, Daily Word Workout (student, dark lounge pages) and Class words (teacher). */
.ww .wrap{max-width:1080px}
.ww h1{font-family:Georgia,serif;font-size:38px;color:#fff3da;margin:6px 0 8px}
.ww-lead{color:#dccdaa;max-width:680px;margin:0 0 20px;font-size:17px}
.ww-panel{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;padding:18px 20px;border-radius:18px;background:#2a2012;border:1px solid #8a6a32;margin-bottom:18px}
.ww-panel h2{font-family:Georgia,serif;margin:4px 0 2px;font-size:26px;color:#fff3da}
.ww-panel p{margin:0;color:#dccdaa}
.ww-panel .ww-streak{grid-column:1/-1}
.ww-deck{position:relative;width:96px;height:72px}
.ww-deck span{position:absolute;min-width:62px;max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:44px;padding:0 8px;border-radius:8px;background:#fffaf0;border:2px solid #e0bd6f;color:#2a1d0c;font:700 13px/40px Georgia,serif;text-align:center;box-shadow:0 6px 14px #0007}
.ww-deck span:nth-child(1){left:0;top:18px;transform:rotate(-8deg)}.ww-deck span:nth-child(2){left:12px;top:9px;transform:rotate(-2deg)}.ww-deck span:nth-child(3){left:24px;top:0;transform:rotate(6deg)}
.ww-btns{display:flex;flex-direction:column;gap:8px}
.ww-streak{display:flex;gap:6px;align-items:center;font-size:14px;color:#e6d6b2}
.ww-streak i{width:13px;height:13px;border-radius:50%;background:#4a3826;border:1px solid #8a6a32}.ww-streak i.on{background:#f0c96b;border-color:#f0c96b}
.ww-levels{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:6px 0 16px}
.ww-lv{background:#21170f;border:1px solid #4a3826;border-radius:14px;padding:12px 14px}
.ww-lv b{font:700 26px Georgia,serif;color:#fff3da;display:block}
.ww-lv small{color:#dccdaa;font-weight:600;margin-right:6px}
.ww-pip{display:inline-flex;gap:3px;vertical-align:middle}.ww-pip i{width:9px;height:9px;border-radius:50%;background:#4a3826}.ww-pip i.f{background:#f0c96b}
.ww-chips{margin:0 0 14px}
.ww-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.ww-card{position:relative;text-align:left;background:#fffaf0;color:#2a1d0c;border:2px solid #e2d3b0;border-radius:16px;padding:14px;min-height:150px;display:flex;flex-direction:column;gap:6px;font:inherit;cursor:pointer}
.ww-card:hover{border-color:#b89a5a}
.ww-card:focus-visible{outline:3px solid #f0c96b;outline-offset:2px}
.ww-card.own{border-color:#e0bd6f;box-shadow:0 0 0 3px #f0c96b55}
.ww-card .w{font:700 23px Georgia,serif;color:#1d140a;padding-right:44px;overflow-wrap:anywhere}
.ww-card .d{font-size:14.5px;color:#4a3a22;padding-right:40px}
.ww-card img{position:absolute;right:12px;top:12px;width:34px;border-radius:4px;box-shadow:0 2px 6px #0004}
.ww-card .meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:#6b5634;font-weight:600}
.ww-card .ww-pip i{background:#e3d6b8}.ww-card .ww-pip i.f{background:#c08a2a}
.ww-badge{display:inline-block;font:800 10.5px/1 system-ui,sans-serif;letter-spacing:.08em;padding:4px 7px;border-radius:6px;background:#1f5a43;color:#e9fff3;align-self:flex-start}
.ww-badge.sound{background:#4a2f7a}
.ww-wall{margin-top:22px;padding:16px 18px;border-radius:18px;background:linear-gradient(#3a2a18,#2a1d10);border:1px solid #8a6a32}
.ww-wall h3{font-family:Georgia,serif;margin:0 0 4px;font-size:20px;color:#fff3da}.ww-wall p{margin:0 0 12px;color:#dccdaa;font-size:14.5px}
.ww-plaques{display:flex;flex-wrap:wrap;gap:10px}
.ww-plaque{padding:8px 14px;border-radius:8px;background:linear-gradient(#e9c87a,#b98a3a);color:#2a1a06;font:700 16px Georgia,serif;box-shadow:inset 0 1px 0 #fff6,0 3px 8px #0006;border:1px solid #6b4a14}
.ww-plaque.empty{background:#3a2c1c;color:#a8916a;border-style:dashed;box-shadow:none;font-weight:400}
.ww-note{font-size:13.5px;color:#cbb994;margin-top:14px}
/* dialogs */
.ww-dlg h2{font-family:Georgia,serif;font-size:34px;margin:2px 0 4px}
.ww-def{font-size:18px;margin:6px 0}
.ww-sub{margin:10px 0 2px}
.ww-quote{display:grid;grid-template-columns:52px 1fr;gap:12px;align-items:start;background:#fff;color:#2a1d0c;border:1px solid #e2d3b0;border-radius:12px;padding:12px;margin:12px 0}
.ww-quote.solo{grid-template-columns:1fr}
.ww-quote img{width:52px;border-radius:5px}
.ww-quote p{margin:0;font:16px/1.55 Georgia,serif}.ww-quote small{font-family:system-ui,sans-serif;color:#6b5634}
.ww mark,.ww-dlg mark,.tw mark,.tw-proj mark{background:#f6dd8f;color:inherit;padding:0 2px;border-radius:3px;font-weight:700}
.ww-steps{list-style:none;padding:0;margin:8px 0;display:grid;gap:6px}
.ww-steps li{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;background:#fff;color:#2a1d0c;border-radius:10px;border:1px solid #eadfc4;font-size:15px}
.ww-dlg .ok,.tw .ok{color:#1f6a46;font-weight:800}.ww-dlg .todo{color:#8a7350}.ww-dlg .nope,.tw .nope{color:#8a2f22;font-weight:800}
/* workout */
.ww-wo{max-width:760px;margin:0 auto;padding:22px 22px 60px}
.ww-top{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.ww-prog{flex:1;height:12px;border-radius:99px;background:#3a2c1c;overflow:hidden}
.ww-prog i{display:block;height:100%;background:#f0c96b;transition:width .35s}
.ww-xp{background:#f0c96b;color:#2a1d0c;border-radius:99px;padding:5px 12px;font-weight:800;font-size:14px;white-space:nowrap}
.ww-round{background:#fffaf0;color:#2a1d0c;border-radius:20px;padding:22px 24px;box-shadow:0 14px 40px #0008}
.ww-rtype{font:800 12px/1 system-ui,sans-serif;letter-spacing:.12em;color:#7a5410}
.ww-round h2{font-family:Georgia,serif;font-size:26px;margin:8px 0 12px;line-height:1.25;color:#1d140a}
.ww-round p{color:#2a1d0c}
.ww-opts{display:grid;gap:10px;margin:14px 0 6px}
.ww-opts.words{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.ww-opt{min-height:52px;text-align:left;padding:12px 16px;border-radius:12px;border:2px solid #b89a5a;background:#fffdf7;color:#2a1d0c;font:600 17px/1.35 system-ui,sans-serif;cursor:pointer}
.ww-opts.words .ww-opt{text-align:center;font:700 20px Georgia,serif}
.ww-opt:hover:not([disabled]){background:#fff3d6;border-color:#7a5410}
.ww-opt:focus-visible{outline:3px solid #c19b49;outline-offset:2px}
.ww-opt.right{background:#1f5a43;border-color:#58c08a;color:#fff}
.ww-opt.wrong{background:#f6e2e0;border-color:#b0504a;color:#7a2420;text-decoration:line-through}
.ww-opt[disabled]{cursor:default}
.ww-fb{min-height:1.6em;font-weight:700;margin:8px 0 0}
.ww-fb.good{color:#1f6a46}.ww-fb.bad{color:#8a2f22}
.ww-why{background:#fff;border-left:4px solid #e0bd6f;padding:10px 14px;border-radius:8px;margin-top:10px;font-size:15.5px}
.ww-why p{margin:6px 0 0;font:16px/1.5 Georgia,serif}.ww-why small{font-family:system-ui,sans-serif;color:#6b5634}
.ww-next{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;flex-wrap:wrap}
.ww-say{margin:4px 0 6px}
.ww-big{font:700 28px Georgia,serif}
.ww-starters{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.ww-round textarea{width:100%;min-height:96px;border-radius:12px;border:2px solid #b89a5a;padding:12px;font:17px/1.5 Georgia,serif;background:#fffdf7;color:#2a1d0c;box-sizing:border-box}
.ww-done{text-align:center;padding:10px 0 4px}
.ww-done h2{font-size:34px;margin:6px 0}
.ww-bigxp{font:700 54px Georgia,serif;color:#7a5410;margin:0}
.ww-ups{list-style:none;padding:0;margin:16px 0;display:grid;gap:8px}
.ww-ups li{display:grid;grid-template-columns:150px 1fr auto;gap:12px;align-items:center;padding:10px 14px;border-radius:12px;background:#fff;border:1px solid #eadfc4}
.ww-ups b{font:700 19px Georgia,serif}
.ww-ups .up{color:#1f6a46;font-weight:800}
/* teacher */
.tw .h-kick{color:#d8b779}
.tw-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0 18px}
.tw-tiles div{background:#1c2e26;border:1px solid #2f4a3e;border-radius:14px;padding:14px}
.tw-tiles b{font:700 28px Georgia,serif;color:#fff3da;display:block}.tw-tiles small{color:#bcd2c5;font-weight:600}
.tw-card{background:#f4eddd;color:#2b2a22;border:1px solid #b3a17c;border-radius:18px;padding:20px 22px;margin-bottom:18px}
.tw-card h3{font-family:Georgia,serif;color:#24372f;margin:0 0 4px;font-size:22px}
.tw-sub{margin:0 0 12px;color:#4a4232}
.tw-empty{color:#6b5f48;margin:0}
.tw-word{font:700 18px Georgia,serif}
.tw-bar{height:10px;border-radius:99px;background:#eadfc4;overflow:hidden;width:110px;display:inline-block;vertical-align:middle;margin-right:8px}.tw-bar i{display:block;height:100%;background:#c0662a}
.tw-pick{color:#8a2f22;font-size:14px}
.tw-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.tw-row select{font:15px/1.3 system-ui,sans-serif;padding:7px 9px;border-radius:8px;border:1px solid #9aa58c;background:#fff;color:#243e33;max-width:100%}
.tw-sent{display:grid;grid-template-columns:130px 110px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #e2d6bb}
.tw-sent q{font:16px/1.5 Georgia,serif;quotes:none}
.tw-sent .tw-acts{display:flex;gap:6px}
.tw-note{grid-column:1/-2;font:inherit;padding:8px 10px;border-radius:9px;border:1px solid #d9c9a3}
.tw-sent.is-ok{background:#eef5ef}.tw-sent.is-no{background:#fbefec}
.tw-proj-wrap .h-kick{color:#d8b779}
.tw-proj{background:#13261F;color:#fff3da;border-radius:16px;padding:26px;text-align:center;margin:10px 0}
.tw-proj h2{font:700 52px Georgia,serif;margin:4px 0;color:#fff3da}
.tw-proj p{font-size:20px;color:#fff3da}.tw-proj .tw-proj-s{font:18px/1.5 Georgia,serif;color:#e6d6b2}.tw-proj small{color:#cbb994}
.tw-proj mark{background:#f0c96b;color:#13261F}
@media (max-width:720px){.ww-panel{grid-template-columns:1fr}.ww-levels,.tw-tiles{grid-template-columns:repeat(2,1fr)}.ww-wo{padding:14px 12px 40px}.ww-round{padding:18px 16px}.ww-round h2{font-size:22px}.ww-ups li,.tw-sent{grid-template-columns:1fr}.ww h1{font-size:30px}}
@media (prefers-reduced-motion:reduce){.ww-prog i{transition:none}}
/* css/reading-summary.css */
/* v40 reading summary: a paper sheet on screen, plain black on white when printed */
.rs-page .wrap.narrow{max-width:860px}
.rs-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0}
.rs-tools a{color:#f1e6c8;font-weight:700}.rs-tools .btn{margin-left:auto}
.rs-range{display:flex;gap:4px;background:rgba(255,255,255,.08);border-radius:999px;padding:4px}
.rs-range button{border:0;background:none;color:#e9dfc4;font:600 13px/1 ui-sans-serif,system-ui;padding:8px 12px;border-radius:999px;cursor:pointer}
.rs-range button.on{background:#f3e7c4;color:#1d2a24}
.rs-sheet{background:#fff;color:#1f2a26;border-radius:10px;padding:34px 40px;box-shadow:0 10px 30px rgba(0,0,0,.35);font-size:14.5px;line-height:1.5;margin-bottom:40px}
.rs-head{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;border-bottom:2px solid #1b4d43;padding-bottom:14px;margin-bottom:8px}
.rs-head h1{font:700 30px/1.15 Georgia,serif;margin:4px 0 0;color:#1b2a24}.rs-head .h-kick{color:#8a6a2a}
.rs-head dl{display:grid;grid-template-columns:auto auto;gap:2px 14px;margin:0;font-size:13px}.rs-head dl div{display:contents}
.rs-head dt{color:#5d6b65}.rs-head dd{margin:0;font-weight:700}
.rs-sheet section{margin-top:22px;break-inside:avoid}
.rs-sheet h2{font:700 19px/1.2 Georgia,serif;color:#1b4d43;margin:0 0 8px}.rs-sheet h3{font-size:15px;margin:14px 0 6px}
.rs-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:6px 0 10px}
.rs-stats div{border:1px solid #dcd6c8;border-radius:8px;padding:10px 12px}.rs-stats b{display:block;font:700 24px/1.1 Georgia,serif;color:#1b2a24}.rs-stats span{font-size:12.5px;color:#4a5753}
.rs-table{width:100%;border-collapse:collapse;font-size:13.5px}.rs-table th,.rs-table td{text-align:left;padding:6px 8px;border-bottom:1px solid #e3ddd0}
.rs-table th{font-size:12px;color:#5d6b65;font-weight:700}.rs-table small{color:#6b7772}
.rs-fine{font-size:12.5px;color:#5d6b65;margin:6px 0}
.rs-foot{margin-top:26px;padding-top:12px;border-top:1px solid #dcd6c8;font-size:12px;color:#5d6b65}
@media(max-width:600px){.rs-sheet{padding:22px 18px}.rs-stats{grid-template-columns:1fr}.rs-tools .btn{margin-left:0}}
@media print{.rs-page .no-print,.teacher-bar,#bar{display:none!important}.rs-page,.rs-page .wrap{background:#fff!important;padding:0!important;max-width:none}
  .rs-sheet{box-shadow:none;padding:0;border-radius:0;font-size:12.5px}.rs-stats div{border-color:#bbb}body{background:#fff!important}}
/* css/v41.css */
/* v41: version guide, written-answer guide, class glance card, tab hints, first-story strip. */
.vguide{margin:14px 0 4px;border:1px solid #e3d8bf;border-radius:14px;background:#fffdf7;color:#1f2a26}
.vguide summary{cursor:pointer;padding:12px 16px;font-weight:700;font-size:15px;color:#1f5a4f;list-style-position:inside}
.vguide summary:focus-visible{outline:3px solid #c09a4a;outline-offset:2px;border-radius:12px}
.vguide-body{padding:0 18px 14px;font-size:14.5px;line-height:1.55}
.vguide-body p{margin:0 0 8px}
.vguide-body ul{margin:0;padding-left:18px}
.vguide-body li{margin:4px 0}
.vguide-body b{color:#123a32}
.assignment-dialog .vguide{text-align:left}

.write-guide{margin:10px 0 12px;padding:12px 14px;border-radius:12px;background:#f3efe4;border:1px solid #e3d8bf;color:#1f2a26}
.write-guide b{display:block;font-size:14px;margin-bottom:6px}
.write-guide ol{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.write-guide li{display:flex;gap:10px;align-items:baseline;font-size:14.5px;line-height:1.45}
.write-guide li span{flex:0 0 auto;min-width:78px;padding:2px 8px;border-radius:999px;background:#1f5a4f;color:#fff;font-size:12px;font-weight:700;text-align:center}
.wc{color:#5d6863;font-size:13.5px}

.class-glance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 20px}
.class-glance .cg-item{background:#fffdf7;border:1px solid #e3d8bf;border-radius:16px;padding:14px 16px;color:#1f2a26;display:flex;flex-direction:column;gap:6px}
.class-glance .cg-item p{margin:0;font-size:15px}
.class-glance .cg-item b{font-size:18px;color:#123a32}
.class-glance .cg-item ul{margin:0;padding-left:16px;font-size:14.5px}
.class-glance .cg-item li small{color:#6b5a2a;font-size:12.5px}
.class-glance .cg-item > small{color:#5d6863;font-size:12.5px;line-height:1.4}
.class-glance .cg-btns{display:flex;flex-wrap:wrap;gap:8px}
.class-glance .cg-more{color:#5d6863;font-size:13px}
@media (max-width:900px){.class-glance{grid-template-columns:1fr}}

.tab-hint{margin:8px 2px 0;color:#5d6863;font-size:13.5px;flex-basis:100%}

.l3d-first{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 auto 12px;max-width:1200px;padding:14px 18px;border-radius:16px;background:#123a32;border:1px solid #c09a4a;color:#fff8e8}
.l3d-first .h-kick{color:#e3b955}
.l3d-first ol{display:flex;flex-wrap:wrap;gap:6px 18px;margin:6px 0 4px;padding:0;list-style:none;counter-reset:fs;font-weight:700;font-size:15px}
.l3d-first li{counter-increment:fs}
.l3d-first li::before{content:counter(fs);display:inline-grid;place-items:center;width:22px;height:22px;margin-right:6px;border-radius:50%;background:#e3b955;color:#1d160a;font-size:12px}
.l3d-first small{color:#c8d6cf;font-size:13px}
@media (prefers-reduced-motion:no-preference){.l3d-firstrun .l3d-dock .cta{animation:l3dPulse 2.4s ease-in-out 3}}
@keyframes l3dPulse{50%{box-shadow:0 0 0 6px rgba(227,185,85,.35)}}
/* css/v42.css */
/* v42: review queue, Check answer, version check, unified student inbox. */
.rq-card{max-width:860px}
.rq-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.rq-count{font-weight:800;font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:#6b4e12}
.rq-kind{padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:700;background:#e6efe9;color:#1f5a4f}
.rq-kind.assignment{background:#f6ead0;color:#6b4e12}
.rq-note{display:block;margin-top:14px;font-weight:700}
.rq-note small{font-weight:500;color:#5d6863}
.rq-note textarea{display:block;width:100%;margin-top:6px}
.rq-actions{margin-top:12px;align-items:center}
.rq-guide{margin-top:10px}

.ans button.selected{outline:3px solid #c09a4a;outline-offset:2px;background:#fff6dd}
.ans button[aria-pressed="true"] .l{background:#c09a4a;color:#1d160a}
.check-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 2px}
.check-row span{color:#5d6863;font-size:13.5px}

.version-check h2{margin:4px 0 8px}
.version-check .class-actions{margin:14px 0 4px}
.vc-compare{margin-top:14px}
.vc-note{color:#5d6863;font-size:13.5px}
.vc-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.vc-cols section{border:1px solid #e3d8bf;border-radius:12px;padding:12px 14px;background:#fffdf7;color:#1f2a26}
.vc-cols section.on{border:2px solid #c09a4a}
.vc-cols h3{font-size:15px;margin:0 0 6px;color:#123a32}
.vc-cols p{font-family:Georgia,serif;font-size:15.5px;line-height:1.55;margin:0 0 10px;color:#1f2a26}

.feedback-page .student-note.is-new{box-shadow:0 0 0 2px #e3b955}
.feedback-page .inbox-sub{margin:28px 0 10px;font-size:20px}
/* css/v43.css */
/* v43: check-in reasons, teaching tips */
.class-glance .cg-alerts{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.class-glance .cg-alerts li{display:flex;flex-direction:column;gap:2px;font-size:14.5px}
.class-glance .cg-alerts li > span{color:#4b5853;font-size:13.5px;line-height:1.4}
.class-glance .cg-links{display:flex;gap:12px;flex-wrap:wrap}
.class-glance .cg-links .linkbtn{font-size:13px}
.class-glance .cg-tip summary{cursor:pointer;font-size:13px;color:#1f5a4f;font-weight:700}
.class-glance .cg-tip p{margin:4px 0 0;font-size:13.5px;color:#1f2a26}
.sg-teach{margin:12px 0;padding:12px 14px;border-radius:12px;background:#f3efe4;border:1px solid #e3d8bf;color:#1f2a26;font-size:14px}
.sg-teach ul{margin:6px 0 0;padding-left:18px}
.sg-teach li{margin:4px 0}
.teach-tip{font-size:14px;color:#1f2a26}
/* contrast (axe): kickers and link buttons on the cream glance cards */
.class-glance .h-kick{color:#7a5a17}
.class-glance .linkbtn{color:#1f5a4f;text-decoration:underline}
.ww-plaque.empty{color:#bda783}
/* contrast (axe) on the roster and student window */
table.roster .nm small{color:#5d6358}
table.roster th{color:#4f5651}
.daily-status{color:#4f564c}
.score.lo{color:#9a3a32}
button.stu-open{appearance:none;border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}
button.stu-open:focus-visible{outline:3px solid #c09a4a;outline-offset:2px;border-radius:4px}
table.hist th{color:#4f5651}
/* css/wordlab.css */
/* v44 Word Lab: student practice (dark lounge style) and the teacher Word Lab tab. */
.wl .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wl-wrap{max-width:900px;margin:0 auto;padding:20px 22px 60px}
.wl h1{font-family:Georgia,serif;font-size:36px;color:#fff3da;margin:6px 0 8px}
.wl h2{font-family:Georgia,serif;color:#fff3da;margin:0 0 8px;font-size:24px}
.wl-h2{font-size:22px!important;margin:22px 0 10px!important}
.wl-lead{color:#e3d4b2;margin:0 0 16px;font-size:16.5px}
.wl-note,.wl-hint{font-size:14px;color:#dccdaa}
.wl .wl-c{text-align:center}
.wl-card{background:#2a2012;border:1px solid #8a6a32;border-radius:18px;padding:22px;margin-bottom:16px}
.wl-today{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:linear-gradient(135deg,#3a2c1c,#2a2012);border:2px solid #e0bd6f;border-radius:18px;padding:20px 22px;margin-bottom:16px}
.wl-today p{margin:4px 0 0;color:#e3d4b2}
.wl-path{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 4px}
.wl-node{min-width:122px;text-align:center;border-radius:14px;padding:10px 10px 8px;border:2px solid #4a3826;background:#1a130c;color:#fff3da;text-decoration:none;display:block}
.wl-node b{display:block;font-size:14.5px}.wl-node small{display:block;color:#dccdaa;font-size:12.5px}
.wl-node em{display:inline-block;margin-top:4px;font-style:normal;font-size:11.5px;font-weight:800;background:#f0c96b;color:#2a1d0c;border-radius:99px;padding:1px 8px}
.wl-node.done{border-color:#58c08a}.wl-node.done small{color:#9fe0bd}
.wl-node.cur{border-color:#f0c96b;background:#3a2c1c;box-shadow:0 0 0 3px rgba(240,201,107,.2)}
.wl-node.lock{border-style:dashed;background:#16100a;color:#d8c8a6}.wl-node.lock small{color:#bfae8a}
a.wl-node:hover{border-color:#f0c96b}
.wl-games{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.wl-game{display:block;text-decoration:none;border:2px solid #4a3826;background:#1a130c;color:#fff3da;border-radius:16px;padding:16px}
.wl-game:hover{border-color:#f0c96b}
.wl-game b{display:block;font:700 19px Georgia,serif;color:#f0c96b}.wl-game span{font-size:14px;color:#dccdaa}
.wl-steps{display:flex;gap:6px;margin:12px 0 18px;padding:0;list-style:none;flex-wrap:wrap}
.wl-steps li{flex:1;min-width:110px;text-align:center;font-size:13px;font-weight:800;padding:6px 8px;border-radius:99px;background:#2a2012;color:#bfae8a;border:1px solid #4a3826}
.wl-steps li.on{background:#f0c96b;color:#2a1d0c;border-color:#f0c96b}
.wl-steps li.done{color:#9fe0bd;border-color:#2f6b4e}
.wl-learn{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wl-ex{background:#1a130c;border-radius:12px;padding:12px 14px;font:18px/1.5 Georgia,serif;color:#fff8ea}
.wl-ex small{display:block;font:14px system-ui,sans-serif;color:#dccdaa;margin-top:2px}
.wl-n,.wl-v,.wl-j,.wl-a{border-radius:6px;padding:0 4px;font-weight:700;color:#1d160a}
.wl-n{background:#d9f2d0}.wl-v{background:#f6d2ee}.wl-j{background:#ffe0a8}.wl-a{background:#c9e4ff}
.wl-trickbox{background:#123a2e;border:1px solid #2f6b4e;border-radius:14px;padding:13px 16px;margin-top:12px;color:#f2ede0}
.wl-trickbox b{color:#bff0d6}
.wl-heads{background:#3a1d18;border:1px solid #7a3d33;border-radius:12px;padding:10px 14px;margin:12px 0 0;font-size:15px}
.wl-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.wl-meta i{text-transform:none}
.wl-count{color:#f0c96b}
.wl-ask{font-size:21px!important;margin-top:8px!important}
.wl-sent{font:22px/1.75 Georgia,serif;color:#fff8ea;background:#1a130c;border-left:4px solid #e0bd6f;border-radius:10px;padding:12px 16px;margin:10px 0 14px}
.wl-sent mark{background:none;color:#f0c96b;font-weight:700;border-bottom:2px solid #f0c96b;padding:0}
.wl-hlw{color:#f6b6e6;font-weight:700}
.wl-w{border:0;background:none;color:inherit;font:inherit;padding:0 3px;border-radius:6px;border-bottom:2px dotted #8a6a32;cursor:pointer}
.wl-w:hover{background:#3a2c1c}
.wl-w.sel{background:#3a2c1c;outline:2px solid #f0c96b}
.wl-w.right{background:#173a2b;outline:2px solid #58c08a;color:#fff}
.wl-w.wrong{background:#3a1d18;outline:2px solid #e07a6a}
.wl-w.hl{color:#f6b6e6;font-weight:700}
.wl-w:disabled{cursor:default;color:inherit}
.wl-w:focus-visible,.wl-choice:focus-visible,.wl-bin:focus-visible,.wl-tile:focus-visible,.wl-wtray button:focus-visible,.wl-tabs button:focus-visible{outline:3px solid #f0c96b;outline-offset:2px}
.wl-blank{display:inline-block;min-width:110px;border-bottom:2px dashed #f0c96b;color:#f0c96b;text-align:center;font-weight:700}
.wl-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:8px 0}
.wl-choice{text-align:center;border:2px solid #4a3826;background:#1a130c;color:#fff3da;border-radius:14px;padding:12px 14px;font-size:18px;font-weight:700;cursor:pointer}
.wl-choice small{display:block;font-weight:600;font-size:13px;color:#dccdaa}
.wl-choice[aria-pressed="true"]{border-color:#f0c96b;background:#3a2c1c}
.wl-choice.right{border-color:#58c08a;background:#173a2b}.wl-choice.wrong{border-color:#e07a6a;background:#3a1d18}
.wl-choice:disabled{cursor:default;opacity:1}
.wl-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px}
.wl-row.wl-c{justify-content:center}
.wl-fb{margin-top:12px;padding:12px 14px;border-radius:12px;font-size:16px;color:#f7f1e3}
.wl-fb.ok{background:#173a2b;border:1px solid #58c08a}.wl-fb.no{background:#3a1d18;border:1px solid #e07a6a}.wl-fb.info{background:#123a2e;border:1px solid #2f6b4e}
.wl-fb b{color:#fff}
.wl-xp{display:inline-block;background:#3a2c1c;color:#f0c96b;border-radius:99px;padding:2px 10px;font-weight:800;font-size:14px;margin-left:4px}
.wl-big{font-size:19px;margin:4px 0 8px}
.wl-dlg .wl-learn{grid-template-columns:1fr}
.wl-dlg h2{font-family:Georgia,serif}
/* Sort Rush */
.wl-rush{text-align:center}
.wl-hud{display:flex;justify-content:space-between;align-items:center;font-weight:800;color:#fff3da}
.wl-time{font:700 26px Georgia,serif;color:#f0c96b}
.wl-streak{color:#9fe0bd}
.wl-combo{display:inline-block;background:#f0c96b;color:#2a1d0c;border-radius:99px;padding:1px 9px;margin-left:6px;font-size:13px}
.wl-rcard{margin:18px auto;max-width:520px;background:#fffaf0;color:#2a1d0c;border-radius:18px;padding:24px 18px;font:28px/1.3 Georgia,serif;box-shadow:0 10px 30px rgba(0,0,0,.4);transition:transform .15s}
.wl-rcard b{background:#fff0c7;border-radius:8px;padding:0 6px}
.wl-rcard.go{transform:scale(.96)}.wl-rcard.shake{animation:wlshake .3s}
@keyframes wlshake{25%{transform:translateX(-10px)}75%{transform:translateX(10px)}}
@media (prefers-reduced-motion:reduce){.wl-rcard{transition:none}.wl-rcard.shake{animation:none}}
.wl-bins{display:grid;gap:12px;max-width:640px;margin:0 auto}
.wl-bins.n2{grid-template-columns:1fr 1fr}.wl-bins.n4{grid-template-columns:1fr 1fr}
.wl-bin{border:3px solid;border-radius:18px;padding:14px 10px;font-weight:800;font-size:19px;cursor:pointer}
.wl-bin small{display:block;font-weight:600;font-size:13.5px}
.wl-bin.noun{background:#d9f2d0;border-color:#6bb35a;color:#173a12}
.wl-bin.verb{background:#f6d2ee;border-color:#c46fb0;color:#4a1440}
.wl-bin.adjective{background:#ffe0a8;border-color:#c99a3c;color:#3a2a10}
.wl-bin.adverb{background:#c9e4ff;border-color:#5d8fc4;color:#14304d}
.wl-why{min-height:28px;margin-top:10px;font-weight:700}
.wl-why.no{color:#ffb3a6}.wl-why.ok{color:#9fe0bd}
/* Word Forge */
.wl-tabs{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}
.wl-tabs button{border:2px solid #4a3826;background:#1a130c;color:#fff3da;border-radius:99px;padding:6px 14px;font-weight:800;cursor:pointer}
.wl-tabs button[aria-pressed="true"]{border-color:#f0c96b;background:#3a2c1c;color:#f0c96b}
.wl-tabs small{font-weight:600}
.wl-anvil{display:flex;align-items:center;justify-content:center;gap:6px;min-height:82px;background:#1a130c;border:2px dashed #6b5432;border-radius:16px;padding:10px;flex-wrap:wrap;color:#fff3da}
.wl-eq{font:700 24px Georgia,serif;color:#f0c96b;margin-left:10px}
.wl-tile{border:2px solid #e0bd6f;background:#fffaf0;color:#2a1d0c;border-radius:12px;padding:8px 14px;font:700 21px Georgia,serif;min-width:58px;cursor:pointer}
.wl-tile.pre{background:#e6f1ff;border-color:#7aa7d8}.wl-tile.suf{background:#ffe9e2;border-color:#d99282}.wl-tile.base{background:#fff6dc;font-size:25px;cursor:default}
.wl-tile small{display:block;font:600 11.5px system-ui,sans-serif;color:#4a3a1c}
.wl-tile[aria-pressed="true"]{box-shadow:0 0 0 3px #f0c96b}
.wl-tile:disabled{opacity:.45;cursor:default}
.wl-tray{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:10px 0}
.wl-found{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.wl-found>span{background:#1a130c;border:1px solid #4a3826;border-radius:12px;padding:6px 10px;font:700 17px Georgia,serif;color:#fff3da}
.wl-chip{display:inline-block;border-radius:99px;padding:1px 8px;font:800 11.5px system-ui,sans-serif;font-style:normal;color:#2a1d0c;vertical-align:2px;background:#eee}
.wl-chip.noun{background:#d9f2d0}.wl-chip.verb{background:#f6d2ee}.wl-chip.adjective{background:#ffe0a8}.wl-chip.adverb{background:#c9e4ff}
/* Silly Sentences */
.wl-frame{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;justify-content:center;font:700 26px Georgia,serif;color:#fff8ea;margin:8px 0 14px}
.wl-slot{min-width:128px;text-align:center;border-bottom:3px solid;padding:4px 6px 2px}
.wl-slot small{display:block;font:800 12px system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.wl-slot.adjective{border-color:#c99a3c}.wl-slot.adjective small{color:#ffe0a8}
.wl-slot.noun{border-color:#6bb35a}.wl-slot.noun small{color:#d9f2d0}
.wl-slot.verb{border-color:#c46fb0}.wl-slot.verb small{color:#f6d2ee}
.wl-slot.adverb{border-color:#5d8fc4}.wl-slot.adverb small{color:#c9e4ff}
.wl-slot.next{background:#3a2c1c;border-radius:8px 8px 0 0}
.wl-wtray{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.wl-wtray button{border:2px solid #6b5432;background:#fffaf0;color:#2a1d0c;border-radius:12px;padding:8px 14px;font:700 19px Georgia,serif;cursor:pointer}
.wl-wtray button:disabled{opacity:.35;cursor:default}
.wl-made{font:700 30px/1.3 Georgia,serif;color:#f0c96b;text-align:center;margin:10px 0}
@media (max-width:720px){.wl-games,.wl-learn,.wl-bins.n2,.wl-bins.n4{grid-template-columns:1fr}.wl h1{font-size:28px}.wl-wrap{padding:14px 12px 40px}.wl-sent{font-size:19px}.wl-node{min-width:0;flex:1 1 40%}}
/* teacher tab */
.wlt h2{margin:0 0 6px}
.wlt-head p{max-width:820px;color:#4b5853}
.wlt-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0}
.wlt-stats div{background:#fffdf7;border:1px solid #e3d8bf;border-radius:14px;padding:12px 16px}
.wlt-stats b{font:700 26px Georgia,serif;color:#123a32;display:block}
.wlt-stats small{color:#4f5651}
.wlt-card{background:#fffdf7;border:1px solid #e3d8bf;border-radius:14px;padding:16px;margin-bottom:14px;color:#1f2a26}
.wlt-card h3{margin:0 0 8px;color:#123a32}
.wlt-form{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.wlt-form label{display:flex;flex-direction:column;gap:4px;font-weight:700;font-size:14px}
.wlt-form select{padding:7px 10px;border-radius:10px;border:1px solid #c9bb98;background:#fff;font:inherit}
.wlt-pick{margin:12px 0 0;border:1px solid #e3d8bf;border-radius:10px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:8px 16px}
.wlt-pick legend{font-weight:700}
.wlt-scroll{overflow-x:auto}
.wlt-grid{width:100%;border-collapse:collapse;font-size:14px}
.wlt-grid th,.wlt-grid td{padding:8px 6px;text-align:center;border-bottom:1px solid #eee3cc}
.wlt-grid thead th{font-size:12.5px;color:#4f5651}
.wlt-grid tbody th{text-align:left}
.wlt-c{display:inline-block;min-width:44px;border-radius:8px;padding:2px 6px;font-weight:800;font-size:13px}
.wlt-c.L{background:#d7efe2;color:#14563a}.wlt-c.P{background:#fbefd0;color:#6b4e12}.wlt-c.H{background:#f8d9d3;color:#8a2b20}.wlt-c.N{color:#5f655c}
.wlt-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:13.5px;color:#4b5853;margin:8px 0 0}
.wlt-miss{border-left:5px solid #b84a41}
.wlt-miss ul{list-style:none;padding:0;margin:0}
.wlt-miss li{border-bottom:1px solid #eee3cc;padding:10px 0}
.wlt-miss li p{margin:2px 0}
.wlt-s{font-family:Georgia,serif;font-size:16.5px}
.wlt-s mark{background:#f6dd8f;padding:0 2px;border-radius:3px}
.wlt-rush{margin:10px 0 0}
@media (max-width:720px){.wlt-stats{grid-template-columns:1fr}}
/* v44.1: six student menu items (Word Lab added) fit on phones: full-width row, labels may wrap, Sign out moves up next to points */
@media (max-width:720px){.ap-bar .student-nav{width:100%;justify-content:space-between;gap:2px}.student-nav .ap-link{flex:1 1 auto;min-width:0;padding:8px 4px;white-space:normal;line-height:1.15;font-size:12px}.ap-bar .signout{order:1}}
@media (max-width:400px){.ap-bar .student-nav{gap:0}.student-nav .ap-link{font-size:11px;padding:8px 2px}}
@media (max-width:340px){.student-nav .ap-link{font-size:10.5px;padding:8px 1px}}
/* v56 Word Forge: meaning and example for a forged word */
.wl-fb .wl-mean{display:block;margin-top:8px}
.wl-fb .wl-ex{display:block;margin-top:4px;font-style:italic;color:#d9e8df}
.wl-fb .wl-ex b{font-style:normal;color:#ffe08a}
/* v57 Word Forge: part notes and the occasional check */
.wl-fb .wl-parts{display:block;margin-top:8px;padding:6px 10px;border-radius:8px;background:rgba(255,255,255,.08);font-weight:600}
.wl-chk{margin-top:10px;padding:12px 14px;border-radius:12px;background:#1d2a3a;border:1px solid #4a6a9a;color:#f7f1e3}
.wl-chk p{margin:0 0 8px}
.wl-chk-o{display:block;width:100%;text-align:left;margin:6px 0;padding:10px 12px;border-radius:10px;border:1px solid #6a7a9a;background:#26354a;color:#f7f1e3;font-size:15px;cursor:pointer}
.wl-chk-o.ok{border-color:#58c08a;background:#173a2b}.wl-chk-o.no{border-color:#e07a6a;background:#3a1d18}
.wl-chk-why{margin-top:8px!important;font-size:14px}
/* v68 grammar levels 8-13: bins reuse the three word-job palettes; the grammar path sits under the word jobs path */
.wl-bin.action,.wl-bin.agrees,.wl-bin.past,.wl-bin.subject,.wl-bin.where,.wl-bin.plural{background:#d9f2d0;border-color:#6bb35a;color:#173a12}
.wl-bin.linking,.wl-bin.fix,.wl-bin.present,.wl-bin.object,.wl-bin.when,.wl-bin.one{background:#f6d2ee;border-color:#c46fb0;color:#4a1440}
.wl-bin.helping,.wl-bin.future,.wl-bin.possessive,.wl-bin.direction,.wl-bin.many{background:#ffe0a8;border-color:#c99a3c;color:#3a2a10}
.wl-path-h{margin:22px 0 4px}
/* v85: capitals and punctuation items (taps, gap, choose) */
.wl-taps .wl-w{border-bottom-style:solid;border-bottom-color:#5a4630;margin:2px 0}
.wl-gaps{line-height:2.4}
.wl-gw{padding:0 1px;border-radius:5px}
.wl-gw.sel{color:#f0c96b}
.wl-gw.right{background:#173a2b;color:#fff;box-shadow:0 0 0 2px #58c08a}
.wl-gw.missed{background:#3a3015;color:#fff;box-shadow:0 0 0 2px #e0b23c}
.wl-gw.wrong{background:#3a1d18;box-shadow:0 0 0 2px #e07a6a}
.wl-gap{display:inline-block;vertical-align:middle;width:22px;height:1.5em;margin:0 1px;padding:0;border:0;border-radius:6px;background:none;cursor:pointer;position:relative}
.wl-gap::after{content:"";position:absolute;left:9px;top:18%;width:4px;height:64%;border-radius:2px;background:#5a4630}
.wl-gap:hover::after{background:#c2a66a}
.wl-gap.on::after,.wl-gap.right::after{background:#f0c96b;left:7px;width:8px;border-radius:4px}
.wl-gap.wrong::after{background:#e07a6a;left:7px;width:8px;border-radius:4px}
.wl-gap.missed::after{background:#e0b23c;left:7px;width:8px;border-radius:4px}
.wl-gap:disabled{cursor:default}
.wl-gap:focus-visible{outline:3px solid #f0c96b;outline-offset:1px}
.wl-ctx{color:#dccdaa;margin:0 0 10px}
.wl-sents{grid-template-columns:1fr!important}
.wl-sents .wl-choice{text-align:left;font:600 19px/1.5 Georgia,serif;letter-spacing:.01em}
@media (max-width:640px){.wl-gap{width:26px}.wl-sents .wl-choice{font-size:17px}}
/* css/assess.css */
/* v86 Assessments: teacher Tests section (light theme) + student test pages (Word Lab dark look) */
.as{--ut-g:#1F5A4F;--ut-ink:#1f2a24;--ut-mu:#5b665f;--ut-line:#e2d8c4;--ut-paper:#fffdf8}
.as h2{font:700 21px/1.25 Georgia,serif;color:var(--ut-g);margin:2px 0 8px}
.as h3{font-size:16px;color:#173e35;margin:0 0 8px}
.ut-hero{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;background:var(--ut-paper);border-radius:16px;box-shadow:inset 0 0 0 1.5px var(--ut-line);padding:18px 20px;margin-bottom:14px}
.ut-hero p{margin:0;color:var(--ut-mu);max-width:720px}
.ut-hero-b{display:grid;gap:4px;justify-items:start}.ut-hero-b small{color:var(--ut-mu);font-size:12.5px}
.ut-filter{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
.ut-filter button{border:0;border-radius:999px;padding:6px 13px;background:#fff;box-shadow:inset 0 0 0 1.5px #cfc3a8;color:#123f37;font-weight:700;font-size:13.5px;cursor:pointer}
.ut-filter button[aria-pressed=true]{background:var(--ut-g);color:#fff;box-shadow:none}
.ut-strand{margin:18px 0 8px}
.ut-tests{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.ut-test{background:#fff;border-radius:12px;box-shadow:inset 0 0 0 1.5px var(--ut-line);padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.ut-test b{color:#173e35}.ut-test.soon{background:#faf6ec}
.ut-meta{font-size:12.5px;color:var(--ut-mu);margin:0}
.ut-tag{align-self:flex-start;border-radius:999px;padding:2px 9px;font:800 11px system-ui;letter-spacing:.02em}
.ut-tag.p{background:#f3e6c4;color:#6b4f12}.ut-tag.x{background:#fff;color:#7a4b3c;box-shadow:inset 0 0 0 1px #e2c3b6}
.ut-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:8px}.ut-row.sp{justify-content:space-between;margin-top:0}
.ut-card{background:var(--ut-paper);border-radius:16px;box-shadow:inset 0 0 0 1.5px var(--ut-line);padding:18px 20px;margin-bottom:14px}
.ut-table{width:100%;border-collapse:collapse;font-size:14px}
.ut-table th,.ut-table td{text-align:left;padding:8px 10px;border-bottom:1px solid #eee5d3;vertical-align:middle}
.ut-table thead th{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--ut-mu);font-weight:800}
.ut-table small{color:var(--ut-mu);font-weight:700}
.ut-acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.ut-scroll{overflow-x:auto}
.ut-kpi{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:12px 0 4px}
.ut-kpi div{background:#fff;border-radius:12px;box-shadow:inset 0 0 0 1.5px var(--ut-line);padding:10px 12px;color:var(--ut-mu);font-size:13px}
.ut-kpi b{display:block;font:700 24px/1.1 Georgia,serif;color:#173e35}
.ut-sc{display:inline-block;min-width:44px;text-align:center;border-radius:8px;padding:2px 6px;font-weight:800}
.ut-sc.hi{background:#dcefe4;color:#1d4d35}.ut-sc.mid{background:#fbf0d2;color:#6b4f12}.ut-sc.lo{background:#f8e0d9;color:#7a2d1d}
.ut-send{display:flex;flex-direction:column;gap:6px;align-items:flex-start;margin-top:12px}
.ut-items{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:6px}
.ut-items li{background:#fff;border-radius:10px;box-shadow:inset 0 0 0 1px var(--ut-line);padding:8px 12px}
.ut-ib{display:grid;grid-template-columns:40px 1fr 48px;gap:10px;align-items:center}
.ut-qn{font-weight:800;color:#173e35}
.ut-meter{height:10px;border-radius:6px;background:#efe7d6;overflow:hidden}.ut-meter i{display:block;height:100%;background:var(--ut-g)}
.ut-items summary{cursor:pointer;font-size:13.5px;color:var(--ut-mu);margin-top:4px}
.ut-qs{font-weight:700;margin:6px 0 2px}.ut-qs2{font:17px/1.5 Georgia,serif;margin:0 0 6px}
.ut-dlg{min-width:min(560px,86vw)}.ut-dlg h4{margin:12px 0 6px;color:#173e35}
.ut-lbl{display:grid;gap:4px;font-weight:700;margin:6px 0 10px}.ut-lbl input{font:inherit;padding:8px 10px;border-radius:9px;border:1.5px solid #cdbf9f}
.ut-fs{border:1.5px solid #e2d8c4;border-radius:12px;padding:8px 12px;margin:10px 0}.ut-fs legend{font-weight:800;padding:0 4px}.ut-fs small{display:block;color:#5b665f;margin-top:4px}
.ut-fs label{margin-right:12px;white-space:nowrap}
.ut-pick{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px;margin-top:8px;max-height:200px;overflow:auto}
.ut-chk{display:block;margin:6px 0 10px}
.ut-topics{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:6px}
.ut-tp{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;background:#fff;border-radius:9px;box-shadow:inset 0 0 0 1px #e2d8c4;padding:6px 8px}
.ut-tp select{font:inherit;padding:2px 4px}
.ut-sum{font-weight:800;color:#173e35}
.ut-prev{padding-left:22px}.ut-prev>li{margin:0 0 12px}.ut-prev ul{margin:2px 0 4px}
/* student */
.ut-stu .ut-top{display:flex;justify-content:space-between;gap:12px;align-items:end;flex-wrap:wrap}
.ut-dots{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 14px}
.ut-dots button{width:34px;height:34px;border-radius:50%;border:2px solid #6a5232;background:#1a130c;color:#fff3da;font-weight:800;cursor:pointer}
.ut-dots button.done{background:#3a2c1c;border-color:#c8a35a}
.ut-dots button.cur{background:#f0c96b;color:#2a1d0c;border-color:#f0c96b}
.ut-dots button.flag{box-shadow:0 0 0 3px #e07a6a}
.ut-dots button:focus-visible,.ut-link:focus-visible{outline:3px solid #f0c96b;outline-offset:2px}
.ut-stu .wl-choice[aria-pressed=true]{border-color:#f0c96b;background:#3a2c1c;box-shadow:0 0 0 2px #f0c96b inset}
.ut-link{border:0;background:none;color:#f0c96b;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer;padding:0}
.ut-mine{list-style:none;padding:0;display:grid;gap:10px}
.ut-mine li{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#2a2012;border:1px solid #8a6a32;border-radius:14px;padding:14px 16px;color:#fff3da}
.ut-mine small{display:block;color:#dccdaa}
.ut-rev{padding-left:22px;color:#fff3da}.ut-rev>li{background:#2a2012;border:1px solid #8a6a32;border-radius:12px;padding:10px 14px;margin:0 0 10px}
.ut-rev>li.no{border-color:#e07a6a}.ut-rev .ut-qs2{color:#fff8ea}
.ut-big .wl-sent{font-size:28px}.ut-big .wl-choice{font-size:22px}.ut-big .wl-ask{font-size:26px}
@media (max-width:720px){.ut-hero{grid-template-columns:1fr}.ut-acts{justify-content:flex-start}}
@media print{.cw-sub,.cw-tabs,.ut-row,.ut-send,.btn{display:none!important}.ut-card{box-shadow:none;border:1px solid #ccc}.ut-items details{display:block}.ut-items details>*{display:block}}
/* v87 reading passage tests */
.ut-pnote{background:#eef5f1;border-left:4px solid #1F5A4F;border-radius:8px;padding:10px 14px;margin:6px 0 4px;font-size:14px;color:#1f2a24}
.ut-test.pt{border-top:4px solid #c19b49}
.ut-ver .ut-vrow{display:inline-block;margin-left:6px}
.ut-vtabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.ut-idea{margin:0;font-size:14px;background:#fbf6ea;border-radius:8px;padding:8px 12px}
.ut-pass{background:#fffdf7;border-radius:12px;box-shadow:inset 0 0 0 1.5px #e2d8c4;padding:14px 18px;margin:10px 0;color:#1f2a24;font:16px/1.6 Georgia,serif}
.ut-pass p{margin:0 0 10px;padding-left:30px;position:relative}
.ut-pn{position:absolute;left:0;top:2px;font:800 11px/1.6 system-ui;color:#8a6a24;min-width:22px;text-align:right}
.ut-ptitle{font:700 19px/1.3 Georgia,serif;margin:0 0 10px;color:#173e35}
.ut-phead{font:800 13px/1.3 system-ui;letter-spacing:.04em;text-transform:uppercase;color:#1F5A4F;margin:14px 0 6px}
.ut-pdlg{max-width:760px}
.ut-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;align-items:start}
.ut-split .wl-card{position:sticky;top:12px}
.ut-spass{max-height:72vh;overflow:auto;margin:0}
.ut-stu .ut-pass{background:#fbf6ea;color:#2b2420}
.ut-big .ut-pass{font-size:20px}
.ut-revp{list-style:none;margin-left:-22px}.ut-revp summary{cursor:pointer;color:#f0c96b;font-weight:700}
@media (max-width:860px){.ut-split{grid-template-columns:1fr}.ut-split .wl-card{position:static}.ut-spass{max-height:none}}
/* v88 year check */
.ut-warn{background:#fbf0d2;border-left-color:#c19b49}
.ut-link2{border:0;background:none;color:#1F5A4F;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer;padding:0}
.ut-seasons{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));margin:12px 0 14px}
.ut-season{border-top:4px solid #c9d9d2}.ut-season.given{border-top-color:#1F5A4F}
.ut-yc2{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px}
.ut-chart{display:block;max-width:640px}
.ut-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;color:#5b665f;margin:4px 0 8px}.ut-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.ut-mini{font-size:13px}.ut-mini th,.ut-mini td{padding:5px 8px}
.ut-ia{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:baseline;padding:7px 0;border-bottom:1px solid #eee5d3;font-size:14px}
.ut-ia b{font:700 18px/1 Georgia,serif;color:#5b665f}.ut-ia .muted{font-size:12.5px;text-align:right}
b.up{color:#1d6b45}b.down{color:#9a3b22}
.ut-ycd td{background:#fbf8f1}
.ut-ycgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.ut-ycgrid h4{margin:4px 0 6px;color:#173e35}.ut-ycgrid p{margin:0 0 6px;font-size:13.5px}
.ut-steps{margin:0;padding-left:20px;display:grid;gap:6px}
.ut-meter-d{width:140px;background:#3a2c1c}.ut-meter-d i{background:#f0c96b}
@media (max-width:860px){.ut-yc2,.ut-ycgrid{grid-template-columns:1fr}.ut-ia{grid-template-columns:40px 1fr}.ut-ia .muted{grid-column:2;text-align:left}}
.ut-pick[hidden]{display:none}
