:root{font-family:system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;color:#342c45;background:#f8f5e9;font-size:16px;line-height:1.6}*{box-sizing:border-box}body{margin:0}header,main{max-width:1040px;margin:auto;padding:24px}header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d6d2c6;gap:20px}.brand{font-weight:900;font-size:24px;text-decoration:none;color:inherit;line-height:1.2}.brand span{display:block;font-size:13px;font-weight:500;margin-top:8px}nav{display:flex;gap:20px;flex-wrap:wrap}a{color:#594278}h1{font-size:clamp(26px,5vw,36px);line-height:1.3;margin:8px 0 20px}h2{font-size:22px;margin:0 0 16px}h3{margin:0 0 8px;font-size:18px}p{margin:8px 0 18px}.panel{background:#fffdf7;border:2px solid #514260;border-radius:18px;padding:24px;margin-bottom:24px;box-shadow:4px 4px 0 #e0d6e9}.muted{color:#74677c;font-size:14px}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:grid;gap:16px}label{display:block;font-weight:650}input,select,textarea{display:block;width:100%;font:inherit;color:inherit;background:white;border:1px solid #a99daf;border-radius:9px;padding:12px;margin:6px 0 18px;min-height:46px}textarea{min-height:140px;resize:vertical}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;border:2px solid #514260;background:#d7e9cb;color:#342c45;border-radius:10px;font:inherit;font-weight:650;cursor:pointer;text-decoration:none}button.secondary,.button.secondary{background:#f3edf7}button:disabled{opacity:.5;cursor:wait}.tabs{margin:20px 0}.tabs button[aria-selected=true]{background:#d9c9ea}.card{border:1px solid #d2c7d8;border-radius:12px;padding:18px;margin:12px 0;background:white}.message{white-space:pre-wrap;overflow-wrap:anywhere}.error{color:#942d3d;background:#fff0f1;padding:12px;border-radius:8px}.notice{background:#e4f0db;padding:16px;border-radius:10px}.targets{max-height:280px;overflow:auto;border:1px solid #b9abbe;border-radius:10px;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:16px}.target{display:flex;align-items:center;gap:10px;font-weight:400;font-size:16px;overflow-wrap:anywhere}.target input{width:20px;min-height:20px;margin:0;flex-shrink:0}.code{font-family:ui-monospace,monospace;font-size:clamp(18px,4vw,26px);letter-spacing:1px;overflow-wrap:anywhere;user-select:all}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.status{font-size:14px;font-weight:700;color:#5f456f}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:520px}th,td{text-align:left;padding:12px;border-bottom:1px solid #d8cfdc;font-size:14px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #3c73a4;outline-offset:3px}.toolbar{margin:16px 0}.feedback-form{max-width:650px;margin:auto}.empty{padding:28px 12px;text-align:center;color:#74677c}@media(max-width:600px){header,main{padding:18px}.panel{padding:18px}.targets{grid-template-columns:1fr}header{align-items:flex-start}nav{gap:8px;font-size:14px;justify-content:flex-end}.tabs{gap:8px}.tabs button{flex:1;padding:9px}.row form{width:100%}}
/* A small quest journal, with tactile cards and completion stamps. */
body[data-page=student]{background:#f5f1fa}body[data-page=student] main{max-width:1100px}.quest-welcome{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#e8def2;border:2px solid #655079;border-radius:25px;padding:25px;box-shadow:0 6px 0 #d3c1e1;margin:8px 0 26px}.quest-greeting{display:flex;align-items:center;gap:18px}.quest-greeting img{border-radius:22px;flex-shrink:0}.quest-greeting h1{margin:2px 0 8px}.quest-greeting p{margin:0}.quest-eyebrow{letter-spacing:.14em;font-size:12px;font-weight:800;color:#725389}.quest-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:0 0 32px}.quest-stats>div{text-align:center;padding:18px 10px;background:#fffdf7;border:1px solid #d2c4df;border-radius:18px}.quest-stats strong{display:block;font-size:31px;color:#58416b;line-height:1.3}.quest-stats small{font-size:17px;font-weight:500}.quest-stats span{font-size:14px}.quest-section h2{font-size:25px}.quest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.quest-card{padding:24px;background:#fffcf3;border:2px solid #6a547b;border-radius:22px;box-shadow:4px 6px 0 #ded1e7;position:relative;overflow:hidden}.quest-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:18px}.quest-number{font-size:13px;font-weight:900;letter-spacing:.12em}.quest-badge{font-size:12px;border:1px solid #c5b3d3;border-radius:20px;padding:3px 10px;background:white}.quest-card h3{font-size:22px;line-height:1.4;overflow-wrap:anywhere}.quest-game{font-size:14px;color:#796683}.quest-color-1{background:#eff6e8}.quest-color-2{background:#fff0e9}.quest-checkpoints{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:20px 0}.quest-checkpoints span{display:flex;justify-content:center;align-items:center;width:32px;height:32px;border:2px dashed #c3b3cf;border-radius:50%;font-size:13px;font-weight:800;background:white}.quest-checkpoints .reached{border-style:solid;border-color:#748b63;background:#d9e9ce;color:#36522b}.quest-progress-label{font-size:14px;font-weight:600;color:#675674}progress{display:block;width:100%;height:14px;border:0;border-radius:20px;overflow:hidden;margin:8px 0 21px;background:#e4dce9;accent-color:#9e83b6}progress::-webkit-progress-bar{background:#e4dce9;border-radius:20px}progress::-webkit-progress-value{background:#9e83b6;border-radius:20px}progress::-moz-progress-bar{background:#9e83b6}.quest-card>button{width:100%;background:#dccccf;min-height:54px}.quest-color-0>button{background:#deceed}.quest-color-1>button{background:#d3e6c5}.quest-color-2>button{background:#f3d5c2}.quest-success{border-color:#668354;box-shadow:4px 6px 0 #d9e7ce}.quest-success .quest-badge{background:#dbe9d1;border-color:#8ba47c;color:#36522b;font-weight:800}.quest-award{border:2px solid #7e986e;color:#426232;border-radius:12px;text-align:center;padding:12px;font-size:21px;font-weight:850;margin:0;background:#e5efdc;transform:rotate(-2deg)}.quest-empty{text-align:center;padding:36px}.quest-history{margin-top:30px}.quest-history summary{cursor:pointer;font-weight:700;padding:16px;background:#ebe1f2;border-radius:14px;min-height:50px}@media(max-width:640px){.quest-welcome{padding:18px;align-items:flex-start;flex-wrap:wrap}.quest-greeting{gap:12px}.quest-greeting img{width:64px;height:64px}.quest-greeting h1{font-size:24px}.quest-greeting p:not(.quest-eyebrow){font-size:14px}.quest-welcome>button{margin-left:auto;font-size:14px}.quest-stats{gap:8px}.quest-stats strong{font-size:25px}.quest-stats small{font-size:14px}.quest-stats span{font-size:12px}.quest-grid{grid-template-columns:1fr}.quest-card{padding:21px}.quest-eyebrow{font-size:10px}}
.mini-nav-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:10px!important;background:#eee1f5;border:1px solid #d6c3e1;border-radius:16px;text-decoration:none}.mini-nav-icon img{width:23px;height:23px}.mini-nav-icon:hover{background:#e4d1ee;transform:translateY(-2px)}header nav{align-items:center}.review-hub{margin:0 0 30px}.review-launch{display:flex;width:100%;gap:16px;text-align:left;background:#fbe7d6;border:2px solid #bd9073;border-radius:22px;padding:20px;box-shadow:3px 5px 0 #ead0be}.review-launch:disabled{cursor:default;opacity:.7}.review-icon{display:flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:20px;background:#fffaf1;flex-shrink:0}.review-launch strong{display:block;font-size:24px}.review-launch small{display:block;font-size:14px;font-weight:400;margin-top:3px}.review-count{margin-left:auto;white-space:nowrap;background:#fffaf1;border-radius:16px;padding:8px 12px;font-size:14px}.quest-section h2 small{font-size:14px;color:#80628d;font-weight:500}.review-total{font-size:25px;font-weight:800;color:#70518a}@media(max-width:540px){.review-launch{gap:10px;flex-wrap:wrap;padding:16px}.review-count{font-size:13px}.review-launch strong{font-size:22px}.review-launch small{font-size:13px}.review-icon{width:50px;height:50px}}

.remembered-students{display:grid;gap:12px;margin:22px 0}.remembered-student{display:flex;align-items:center;gap:10px}.remembered-student>button:first-child{flex:1;min-height:56px;background:#e8dcf1;color:#43344f;border:1px solid #cbb7d9;border-radius:18px;font-size:20px}.remembered-student .forget-name{font-size:14px;padding:10px}.feedback-form details summary{cursor:pointer;padding:12px 0}

header{padding-block:28px;gap:24px}header nav{gap:10px;align-items:center}.mini-nav-icon{flex:0 0 10.75rem;flex-direction:row;gap:8px;width:10.75rem;min-height:2.75rem;height:2.75rem;padding:8px 10px!important;text-align:center;border-radius:12px}.mini-nav-icon img{width:22px;height:22px;flex-shrink:0}.mini-nav-icon span{font-size:.875rem;font-weight:700;line-height:1.3;white-space:nowrap;word-break:keep-all}
@media(max-width:900px){header{flex-wrap:wrap}header nav{width:100%;justify-content:flex-end}}
@media(max-width:700px){header{padding-block:20px 24px}header nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}header nav .mini-nav-icon{width:100%;min-width:0;height:3.25rem;min-height:3.25rem;flex-direction:row;gap:4px;border-radius:12px;padding:6px 4px!important}header nav .mini-nav-icon img{width:18px;height:18px}header nav .mini-nav-icon span{display:block;min-height:0;white-space:normal}}

.assignment-copy{margin-top:32px}.assignment-copy fieldset{border:1px solid #d6c3e1;border-radius:14px;padding:16px;margin:16px 0}.assignment-copy button[type=submit]{margin-top:12px}

.assigned-items{list-style:none;padding:0;display:grid;gap:8px}.assigned-items li{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #e3dbe8;padding:9px 0}.assigned-items small{white-space:nowrap;color:#655477}#assigned-learning progress{width:100%;accent-color:#8b73a6}.tabs{gap:8px}.tabs button{word-break:keep-all}
/* Teacher-only listening desk. */
.check-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.check-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:22px;align-items:start}.check-layout aside{min-width:0}.check-layout select[size]{width:100%;min-height:360px;font-size:16px}.check-layout option{padding:10px}.check-layout h2{overflow-wrap:anywhere;font-size:clamp(24px,4vw,36px)}.check-layout audio{display:block;width:100%;margin:20px 0}.check-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check-voices button[aria-pressed=true]{opacity:1;background:#d8eac8;color:#34294c}.check-navigation{margin-top:22px}.check-layout .panel{margin:0}.check-layout form{margin-top:24px}.check-filters label,.check-fields label{min-width:0}.check-layout button{min-height:44px}body[data-page=audio-check] .row{flex-wrap:wrap}
@media(max-width:650px){.check-filters{grid-template-columns:1fr 1fr}.check-layout{grid-template-columns:1fr}.check-layout select[size]{min-height:120px;height:150px}.check-fields{grid-template-columns:1fr}.check-layout .panel{padding:20px}}
.assignment-list,.assignment-batches{list-style:none;margin:0;padding:0}.assignment-row{border-bottom:2px solid #e0d8e8;padding:22px 0}.assignment-row:first-child{padding-top:4px}.assignment-row-main,.assignment-batches li{display:flex;justify-content:space-between;align-items:center;gap:16px}.assignment-row h3{margin:0 0 8px;font-size:20px}.assignment-row p{margin:0 0 8px}.assignment-row details{margin-top:16px}.assignment-row summary{cursor:pointer;min-height:32px}.assignment-delete{flex-shrink:0;color:#8b3549;border-color:#b97987;min-height:44px}.assignment-batches li{padding:14px 0;border-bottom:1px solid #e0d8e8}.assignment-batches small{display:block;margin-top:4px;color:#655477}.assignment-row-main>div,.assignment-batches li>div{min-width:0;overflow-wrap:anywhere}@media(max-width:450px){.assignment-row-main{align-items:flex-start}.assignment-delete{padding:10px 12px;font-size:14px}.assignment-row h3{font-size:18px}}
