:root{--background:#f3f5f7;--surface:#fff;--surface-muted:#edf2f4;--surface-strong:#e4ecef;--text:#17232c;--muted:#5f6e78;--border:#d5dee3;--accent:#174f5b;--accent-hover:#103e48;--accent-soft:#dfedf0;--success:#23653a;--success-soft:#e7f4ea;--danger:#963232;--danger-soft:#fae9e9;--shadow:0 12px 34px #1f303a14;--shadow-small:0 6px 18px #1f303a12;--base-font-size:16px;--page-gutter:clamp(.75rem, 3vw, 1.25rem)}:root[data-font-size=small]{--base-font-size:14px}:root[data-font-size=standard]{--base-font-size:16px}:root[data-font-size=large]{--base-font-size:19px}*{box-sizing:border-box}[hidden]{display:none!important}html{font-size:var(--base-font-size);scroll-behavior:smooth}body{background:var(--background);min-width:320px;color:var(--text);text-rendering:optimizelegibility;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.55}button,input,select,textarea{font:inherit}button,label,select{-webkit-tap-highlight-color:transparent}button,input,select,textarea{min-height:44px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.025em;margin-bottom:0;font-size:clamp(1.6rem,5vw,2.35rem);line-height:1.12}h2{letter-spacing:-.015em;margin-bottom:1rem;font-size:clamp(1.2rem,3.6vw,1.7rem);line-height:1.3}h3{margin-bottom:.5rem}.centered-page{place-items:center;min-height:100vh;padding:1.5rem;display:grid}.login-card{background:var(--surface);border:1px solid var(--border);width:min(100%,31rem);box-shadow:var(--shadow);border-radius:1.25rem;padding:clamp(1.5rem,5vw,2.5rem)}.brand-mark{background:var(--accent);color:#fff;border-radius:.8rem;place-items:center;width:3rem;height:3rem;margin-bottom:1.3rem;font-size:1.35rem;font-weight:750;display:grid}.app-shell{width:min(calc(100% - (2 * var(--page-gutter))), 84rem);padding:max(.65rem, env(safe-area-inset-top)) 0 max(3rem, env(safe-area-inset-bottom));margin:0 auto}.topbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.8rem;padding:.6rem .15rem;display:flex}.page-heading{min-width:0}.breadcrumb{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.42rem;margin-bottom:.32rem;font-size:.82rem;font-weight:400;display:flex}.breadcrumb a{color:var(--accent);text-decoration:none}.breadcrumb a:hover{text-decoration:underline}.breadcrumb [aria-current=page]{color:var(--muted)}.account-menu{position:relative}.account-popover{z-index:40;width:min(19rem, calc(100vw - (2 * var(--page-gutter))));border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:.8rem;padding:.85rem;position:absolute;top:calc(100% + .45rem);right:0}.account-caption{color:var(--muted);font-size:.72rem;display:block}.account-popover-email{overflow-wrap:anywhere;margin:.18rem 0 .75rem}.panel{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:1rem;padding:clamp(1rem,3vw,1.6rem)}.eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--accent);margin-bottom:.35rem;font-size:.84rem;font-weight:600}.muted{color:var(--muted)}.small{font-size:.88rem}.quiz-position{color:var(--text);margin:0 0 .18rem;font-size:.9rem;font-weight:400}.choice-title{font-weight:500;display:block}.meta-label{font-weight:500}.pilot-title{margin:0;font-weight:500}.button{cursor:pointer;border:1px solid #0000;border-radius:.72rem;padding:.72rem 1rem;font-weight:550;transition:background .15s,border-color .15s,transform .15s,box-shadow .15s}.button:hover:not(:disabled){box-shadow:var(--shadow-small);transform:translateY(-1px)}.button:disabled{opacity:.5;cursor:not-allowed}.button.primary{background:var(--accent);color:#fff;font-weight:600}.button.primary:hover:not(:disabled){background:var(--accent-hover)}.button.secondary{background:var(--surface);border-color:var(--border);color:var(--text);font-weight:400}.button.secondary:hover:not(:disabled){background:var(--surface-muted)}.button.compact{min-height:40px;padding:.52rem .78rem;font-size:.9rem}.button.wide{width:100%}.login-actions{margin:1.4rem 0}.error-message{color:var(--danger);margin:.8rem 0 0;font-weight:550}.saved-message{color:var(--success);font-weight:550}.utility-row{justify-content:flex-end;align-items:center;gap:.7rem;min-height:44px;margin:0 0 .75rem;display:flex}.font-size-control{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-small);border-radius:.7rem;display:inline-flex;overflow:hidden}.font-size-control button{border:0;border-right:1px solid var(--border);background:var(--surface);cursor:pointer;min-width:44px;min-height:40px;padding:.4rem .65rem;font-weight:400}.font-size-control button:last-child{border-right:0}.font-size-control button:hover:not(:disabled){background:var(--surface-muted)}.font-size-control button:disabled{opacity:.38;cursor:default}.font-icon-small{font-size:.82rem;line-height:1;display:inline-block}.font-icon-large{font-size:1.24rem;line-height:1;display:inline-block}.intro-grid{grid-template-columns:minmax(0,1.35fr) minmax(18rem,.65fr);gap:1.15rem;display:grid}.settings-panel{align-self:start}.check-list{gap:.6rem;margin-top:1rem;display:grid}.compact-list{margin-bottom:1.2rem}.check-row{border:1px solid var(--border);cursor:pointer;background:var(--surface);border-radius:.75rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;min-height:54px;padding:.72rem .78rem;display:grid}.check-row:hover{background:var(--surface-muted)}.check-row:has(input:checked){background:#f4fafb;border-color:#8eb3bc}.check-row input{width:1.2rem;height:1.2rem;min-height:0;accent-color:var(--accent)}.check-row small{color:var(--muted);margin-top:.1rem;display:block}.count-badge,.status-chip{background:var(--accent-soft);color:var(--accent);white-space:nowrap;border-radius:999px;padding:.2rem .56rem;font-size:.78rem;font-weight:500}.chapter-selection-actions{row-gap:.4rem}.chapter-tree{gap:.8rem;margin-top:1rem;display:grid}.chapter-group{border:1px solid var(--border);background:var(--surface);border-radius:.85rem;overflow:hidden}.chapter-group.chapter-level-0{box-shadow:var(--shadow-small);border-color:#91b5bd}.chapter-summary{background:var(--surface);grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.72rem;min-height:58px;padding:.72rem .78rem;display:grid}.chapter-level-0>.chapter-summary{background:#eef7f8}.chapter-level-1>.chapter-summary{background:#f7fafb}.chapter-checkbox{width:1.2rem;height:1.2rem;min-height:0;accent-color:var(--accent);cursor:pointer}.chapter-title-button{min-width:0;min-height:40px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;padding:0;display:flex}.chapter-title-button small{color:var(--muted);margin-top:.08rem;font-size:.77rem}.chapter-level-0>.chapter-summary .choice-title{font-size:1.03rem}.chapter-expand-button{width:38px;min-height:38px;color:var(--accent);cursor:pointer;background:0 0;border:0;border-radius:.55rem;place-items:center;display:grid}.chapter-expand-button:hover{background:var(--accent-soft)}.chapter-expand-button span{font-size:1.2rem;transition:transform .16s;display:inline-block;transform:rotate(-90deg)}.chapter-expand-button.expanded span{transform:rotate(0)}.chapter-children{border-top:1px solid var(--border);background:#fbfdfd;gap:.55rem;padding:.65rem;display:grid}.chapter-group.chapter-level-1{margin-left:.45rem}.chapter-group.chapter-level-2{margin-left:.9rem}.chapter-leaf-row{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:.72rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.72rem;min-height:52px;padding:.67rem .75rem;display:grid}.chapter-leaf-row:hover{background:var(--surface-muted)}.chapter-leaf-row:has(input:checked){background:#f4fafb;border-color:#8eb3bc}.chapter-leaf-row.chapter-level-2{margin-left:1.35rem}.chapter-direct-row{margin-left:.45rem}.button-row{flex-wrap:wrap;gap:.75rem;display:flex}.button-row.small-gap{gap:1rem}.button-row.align-center{align-items:center}.text-button{min-height:36px;color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;font-weight:500}.text-button:hover{text-decoration:underline}.subheading{margin-top:1.7rem}.field-label{margin:.85rem 0 .35rem;font-weight:500;display:block}select,textarea{border:1px solid var(--border);width:100%;color:var(--text);background:#fff;border-radius:.7rem;padding:.72rem}textarea{resize:vertical}select:focus,textarea:focus,button:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #174f5b38}.availability-box{background:var(--surface-muted);border-radius:.75rem;align-items:baseline;gap:.55rem;margin:1.2rem 0;padding:.82rem;display:flex}.availability-number{color:var(--accent);font-size:1.5rem;font-weight:600}.pilot-notice{margin-top:1.15rem}.pilot-notice p{color:var(--muted);margin:.35rem 0 0}.quiz-top{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;margin-bottom:1rem;padding:.9rem 1rem;display:grid}.quiz-progress-block{min-width:0}.quiz-progress-labels{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.progress-percent{color:var(--muted);white-space:nowrap;font-size:.78rem;font-weight:400}.progress-track{background:var(--surface-strong);border-radius:999px;height:.42rem;margin-top:.65rem;overflow:hidden}.progress-track span{border-radius:inherit;background:var(--accent);height:100%;transition:width .25s;display:block}.quiz-tools{align-items:center;gap:.85rem;display:flex}.timer-control{border:1px solid var(--border);background:var(--surface-muted);border-radius:.75rem;align-items:center;gap:.7rem;min-width:10rem;padding:.5rem .65rem;display:flex}.timer-control>div{min-width:5.5rem}.timer-caption{color:var(--muted);font-size:.7rem;line-height:1.2;display:block}.timer-readout{font-variant-numeric:tabular-nums;letter-spacing:.03em;margin-top:.08rem;font-size:1.13rem;font-weight:500;display:block}.timer-hidden-label{color:var(--muted);margin-top:.1rem;font-size:.85rem;display:block}.timer-toggle{min-height:32px;font-size:.78rem}.question-card{margin-bottom:1rem}.question-card>h2{max-width:58rem;font-size:clamp(1.25rem,3.4vw,1.8rem);font-weight:400}.hint-area{margin:.9rem 0 0}.hint-toggle{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--accent);cursor:pointer;border-radius:.7rem;align-items:center;gap:.5rem;padding:.42rem .68rem;font-weight:500;display:inline-flex}.hint-toggle:hover{background:var(--surface-muted)}.hint-toggle-icon{border:1px solid #8eb3bc;border-radius:50%;place-items:center;width:1.45rem;height:1.45rem;font-size:.82rem;line-height:1;display:grid}.hint-box{border-left:3px solid var(--accent);background:var(--accent-soft);border-radius:.35rem .7rem .7rem .35rem;margin:.8rem 0;padding:.8rem .9rem}.option-list{gap:.72rem;margin:1.25rem 0 .8rem;display:grid}.option{border:1px solid var(--border);cursor:pointer;background:var(--surface);border-radius:.8rem;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:.75rem;min-height:58px;padding:.88rem;transition:background .12s,border-color .12s,transform .12s;display:grid}.option:hover{background:var(--surface-muted)}.option:active{transform:scale(.995)}.option.selected{border-color:var(--accent);background:var(--accent-soft)}.option.correct{border-color:var(--success);background:var(--success-soft)}.option.incorrect{border-color:var(--danger);background:var(--danger-soft)}.option input{width:1.18rem;height:1.18rem;min-height:0;accent-color:var(--accent)}.option-letter{border:1px solid var(--border);background:#fff;border-radius:50%;place-items:center;width:1.9rem;height:1.9rem;font-weight:600;display:grid}.answer-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;display:flex}.answer-actions>button{flex:none;width:auto}.feedback{border-radius:.82rem;margin-top:1.3rem;padding:1rem}.feedback.success{background:var(--success-soft);border:1px solid var(--success)}.feedback.failure{background:var(--danger-soft);border:1px solid var(--danger)}.feedback p:last-of-type{margin-bottom:1rem}.feedback-meta{line-height:1.45}.note-panel{margin-bottom:1rem}.section-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.result-panel{text-align:center;max-width:42rem;margin:2rem auto}.result-panel .button-row{justify-content:center;margin-top:1.2rem}.site-footer{border-top:1px solid var(--border);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.25rem;padding:1rem .25rem .35rem;font-size:.82rem;display:flex}.footer-links{flex-wrap:wrap;gap:.85rem;display:flex}.footer-links span{color:var(--accent)}.module-grid{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1rem;display:grid}.module-card{min-height:12rem;color:inherit;flex-direction:column;text-decoration:none;display:flex}.module-card h2{margin-bottom:.45rem;font-weight:500}.module-card p{color:var(--muted)}.module-card .module-card-action{color:var(--accent);margin-top:auto}.module-card.available:hover{background:#fbfefe;border-color:#8eb3bc}.module-card.coming-soon{box-shadow:none;background:var(--surface-muted)}.module-overview-intro{margin-bottom:1rem}@media (max-width:760px){.chapter-selection-actions{gap:.7rem}.chapter-summary{gap:.55rem;padding:.65rem}.chapter-children{padding:.5rem}.chapter-group.chapter-level-1,.chapter-group.chapter-level-2,.chapter-leaf-row.chapter-level-2,.chapter-direct-row{margin-left:0}.chapter-title-button small{display:none}:root{--page-gutter:.55rem}.app-shell{padding-top:max(.35rem, env(safe-area-inset-top))}.topbar{align-items:flex-start;margin-bottom:.35rem;padding-inline:.25rem}.utility-row{top:max(.25rem, env(safe-area-inset-top));z-index:20;border:1px solid var(--border);box-shadow:var(--shadow-small);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff0;border-radius:.75rem;justify-content:flex-end;padding:.35rem .45rem;position:sticky}.intro-grid{grid-template-columns:1fr}.quiz-top{top:calc(max(.25rem, env(safe-area-inset-top)) + 52px);z-index:15;box-shadow:var(--shadow-small);grid-template-columns:1fr;gap:.75rem;padding:.8rem;position:sticky}.quiz-tools{justify-content:space-between}.timer-control{flex:1;justify-content:space-between;min-width:0}.question-card,.note-panel{border-radius:.85rem}.question-card{padding:1rem .85rem}.section-heading,.site-footer{flex-direction:column;align-items:flex-start}.option{gap:.65rem;padding:.82rem .72rem}.feedback .button{width:100%}.button-row>.button{flex:10rem}}@media (max-width:430px){h1{font-size:1.55rem}.panel{padding:.9rem .78rem}.quiz-progress-labels,.quiz-tools{gap:.5rem}.timer-control{padding:.42rem .5rem}.timer-control>div{min-width:0}.timer-toggle{padding-inline:.2rem}.option{grid-template-columns:auto auto minmax(0,1fr)}.option-letter{width:1.75rem;height:1.75rem}.check-row{padding:.68rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.note-heading{align-items:center;margin-bottom:.45rem}.note-heading .eyebrow{margin-bottom:0}.note-save-status{min-height:1.3em;color:var(--muted);margin:.45rem 0 0;font-size:.82rem;font-weight:400}.note-save-status.error{color:var(--danger)}.module-card-meta{justify-content:space-between;align-items:center;gap:.65rem;margin-bottom:.35rem;display:flex}.module-card-meta .eyebrow{margin-bottom:0}.language-flags{align-items:center;gap:.35rem;display:inline-flex}.language-flag{background:var(--accent-soft);border:1px solid #b8ced3;border-radius:999px;place-items:center;min-width:2rem;min-height:1.7rem;padding:.12rem .38rem;font-size:1rem;line-height:1;display:inline-grid}.language-flag.planned{border-color:var(--border);background:var(--surface-muted);filter:grayscale(.15);opacity:.72}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.module-card.informational:hover{background:#fbfefe;border-color:#b8ced3}.planned-module-intro{margin-bottom:1rem}.planned-module-intro>p:last-child{margin-bottom:0}.language-readiness{flex-wrap:wrap;gap:.5rem;margin-top:.9rem;display:flex}.planned-language-note{margin-top:.65rem}.planned-area-grid{margin-top:1rem}@media (max-width:430px){.module-card-meta{flex-direction:column;align-items:flex-start}}.question-footer-actions,.feedback-navigation{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.feedback-next-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;display:flex}@media (max-width:560px){.question-footer-actions,.feedback-navigation{align-items:stretch}.question-footer-actions>.button,.feedback-navigation>.button{flex:none}.answer-actions,.feedback-next-actions{margin-left:auto}}@media (max-width:430px){.question-footer-actions,.feedback-navigation{grid-template-columns:1fr;display:grid}.question-footer-actions>.button,.feedback-navigation>.button{justify-self:start}.answer-actions,.feedback-next-actions{justify-content:flex-end;width:100%;margin-left:0}}.account-links{border-top:1px solid var(--border);border-bottom:1px solid var(--border);gap:.25rem;margin:0 0 .75rem;padding:.55rem 0;display:grid}.account-links a{color:var(--accent);border-radius:.45rem;padding:.45rem .5rem;font-weight:400;text-decoration:none}.account-links a:hover{background:var(--surface-muted)}input[type=text],input[type=search],input[type=date]{border:1px solid var(--border);width:100%;min-height:44px;color:var(--text);font:inherit;background:#fff;border-radius:.7rem;padding:.68rem .72rem}input[type=checkbox]{accent-color:var(--accent)}input:disabled{opacity:.58;cursor:not-allowed}.account-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.account-panel h2{font-weight:500}.account-access-panel{grid-column:1/-1}.details-list{gap:.72rem;margin:0;display:grid}.details-list>div{border-bottom:1px solid var(--border);grid-template-columns:minmax(7rem,.35fr) minmax(0,1fr);gap:.8rem;padding-bottom:.65rem;display:grid}.details-list>div:last-child{border-bottom:0;padding-bottom:0}.details-list dt{color:var(--muted)}.details-list dd{overflow-wrap:anywhere;margin:0}.field-help{color:var(--muted);margin:.35rem 0 .8rem;font-size:.82rem}.inline-check{cursor:pointer;align-items:center;gap:.55rem;margin:.65rem 0 .9rem;display:inline-flex}.inline-check input{width:1.15rem;height:1.15rem}.public-name-preview{background:var(--surface-muted);border-radius:.7rem;justify-content:space-between;align-items:center;gap:1rem;margin:0 0 1rem;padding:.7rem .8rem;display:flex}.access-card-list{gap:.7rem;display:grid}.access-card{border:1px solid var(--border);border-radius:.75rem;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem;display:flex}.access-card h3{margin-bottom:.2rem;font-weight:500}.status-chip.positive{background:var(--success-soft);color:#17653b}.status-chip.negative{background:var(--danger-soft);color:var(--danger)}.status-chip.neutral{background:var(--surface-muted);color:var(--muted)}.wide-shell{max-width:92rem}.admin-summary{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.admin-search{width:min(24rem,100%)}.admin-user-list{gap:1rem;display:grid}.admin-user-card{padding:clamp(1rem,2.3vw,1.45rem)}.admin-user-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:1rem;padding-bottom:.9rem;display:flex}.admin-user-header h2{margin-bottom:.2rem;font-weight:500}.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem;display:grid}.admin-subpanel{border:1px solid var(--border);background:#fff;border-radius:.78rem;padding:.9rem}.admin-subpanel h3{margin-bottom:.75rem;font-size:1.05rem;font-weight:500}.admin-subpanel label>span,.form-grid label>span,.extension-row label>span{color:var(--muted);margin-bottom:.3rem;font-size:.82rem;display:block}.form-grid{gap:.75rem;display:grid}.form-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.access-management{margin-top:1rem}.existing-access-list{gap:.7rem;margin-bottom:.9rem;display:grid}.existing-access-card{border:1px solid var(--border);background:var(--surface-muted);border-radius:.7rem;padding:.78rem}.existing-access-heading{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.existing-access-heading h4{margin-bottom:.15rem;font-weight:500}.extension-row{grid-template-columns:minmax(9rem,.8fr) minmax(10rem,1fr) minmax(10rem,1fr) auto;align-items:end;gap:.65rem;margin-top:.75rem;display:grid}.access-form{border-top:1px solid var(--border);gap:.75rem;padding-top:.9rem;display:grid}@media (max-width:900px){.form-grid.three-columns,.extension-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.account-layout,.admin-grid{grid-template-columns:1fr}.account-access-panel{grid-column:auto}.admin-summary{flex-direction:column;align-items:stretch}.admin-search{width:100%}.form-grid.two-columns,.form-grid.three-columns,.extension-row{grid-template-columns:1fr}.access-card,.admin-user-header{flex-direction:column;align-items:flex-start}}.result-stage{isolation:isolate;position:relative}.result-panel{z-index:2;position:relative}.perfect-score-message{color:var(--success);margin:-.2rem 0 .7rem;font-weight:500}.session-rating{border:1px solid var(--border);background:var(--surface-muted);border-radius:.8rem;margin:1.25rem 0 0;padding:1rem}.session-rating>p:first-child{margin-bottom:.7rem}.rating-buttons{flex-wrap:wrap;justify-content:center;gap:.75rem;display:flex}.rating-button{border:1px solid var(--border);background:var(--surface);min-width:7.5rem;color:var(--text);cursor:pointer;border-radius:.72rem;padding:.65rem .85rem;font-weight:400}.rating-button:hover:not(:disabled){background:var(--accent-soft);border-color:#8eb3bc}.rating-button:disabled{opacity:.55;cursor:not-allowed}.rating-button span:first-child{margin-bottom:.15rem;font-size:1.65rem;line-height:1;display:block}.rating-thanks{color:var(--success);margin-bottom:0}.confetti-layer{z-index:1;pointer-events:none;position:fixed;inset:0;overflow:hidden}.confetti-piece{opacity:.92;background:#d9a423;border-radius:.08rem;width:.58rem;height:1rem;animation-name:confetti-fall;animation-timing-function:cubic-bezier(.22,.61,.36,1);animation-iteration-count:1;animation-fill-mode:both;position:absolute;top:-10vh}.confetti-piece:nth-child(4n+1){background:#2f7b8a}.confetti-piece:nth-child(4n+2){background:#b94c5f}.confetti-piece:nth-child(4n+3){background:#4d8b50}.confetti-piece:nth-child(3n){border-radius:50%;width:.72rem;height:.72rem}@keyframes confetti-fall{0%{transform:translateY(-8vh)rotate(0)}45%{transform:translate(2.2rem,48vh)rotate(410deg)}to{transform:translate(-1.4rem,112vh)rotate(810deg)}}@media (prefers-reduced-motion:reduce){.confetti-layer{display:none}}input[type=url]{border:1px solid var(--border);width:100%;min-height:44px;color:var(--text);font:inherit;background:#fff;border-radius:.7rem;padding:.68rem .72rem}.button.warning{color:#73550b;background:#fff8e6;border-color:#e7c86d;font-weight:500}.button.warning:hover:not(:disabled){background:#fff2c9}.button.secondary.emphasized{color:var(--accent);background:#f4fafb;border-color:#8eb3bc;font-weight:500}.review-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.review-kpi{box-shadow:var(--shadow-small);justify-content:space-between;align-items:center;gap:.7rem;padding:.85rem 1rem;display:flex}.review-kpi span{color:var(--muted);font-size:.84rem}.review-kpi strong{font-size:1.45rem;font-weight:550}.review-kpi.positive strong{color:var(--success)}.review-kpi.negative strong{color:var(--danger)}.review-filter-panel{grid-template-columns:minmax(12rem,.35fr) minmax(0,1fr);align-items:end;gap:1rem;margin-bottom:1rem;display:grid}.review-filter-panel h2{margin-bottom:0;font-weight:500}.review-filter-grid{grid-template-columns:minmax(14rem,1.35fr) repeat(3,minmax(10rem,1fr));gap:.7rem;display:grid}.review-filter-grid label>span,.review-field>span,.question-editor .form-grid label>span{color:var(--muted);margin-bottom:.3rem;font-size:.82rem;display:block}.question-review-card{padding:clamp(1rem,2vw,1.35rem)}.question-review-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:1rem;padding-bottom:.9rem;display:flex}.question-review-header h2{margin-bottom:.2rem;font-weight:500}.review-status-group{flex-wrap:wrap;justify-content:flex-end;gap:.45rem;display:flex}.status-chip.review-unreviewed{background:var(--surface-muted);color:var(--muted)}.status-chip.review-reviewed{background:var(--success-soft);color:var(--success)}.status-chip.review-revise{color:#765708;background:#fff2cf}.status-chip.publication-draft{background:var(--accent-soft);color:var(--accent)}.status-chip.publication-published{background:var(--success-soft);color:var(--success)}.status-chip.publication-archived{background:var(--surface-strong);color:var(--muted)}.question-review-layout{grid-template-columns:minmax(0,1.5fr) minmax(19rem,.65fr);align-items:start;gap:1rem;margin-top:1rem;display:grid}.question-editor{min-width:0}.question-editor .span-two{grid-column:1/-1}.review-field{margin-top:.9rem;display:block}.review-field small{color:var(--muted);margin-top:.3rem;display:block}.answer-editor-fieldset{border:1px solid var(--border);border-radius:.8rem;margin:.95rem 0 0;padding:.9rem}.answer-editor-fieldset legend{padding:0 .35rem;font-weight:500}.answer-editor-list{gap:.65rem;display:grid}.answer-editor-row{border:1px solid var(--border);background:var(--surface);border-radius:.72rem;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:.65rem;padding:.62rem;display:grid}.answer-editor-row:has(input:checked){background:#f3fafb;border-color:#82aeb7}.answer-editor-row input[type=radio]{width:1.15rem;height:1.15rem;min-height:0;accent-color:var(--accent)}.answer-letter{background:var(--surface-muted);width:1.8rem;height:1.8rem;color:var(--accent);border-radius:999px;place-items:center;font-size:.85rem;font-weight:600;display:grid}.answer-editor-row textarea{min-height:4.3rem}.internal-note-field textarea{background:#fffdf6;border-color:#e5d8ad}.source-link{color:var(--accent);margin-top:.35rem;font-size:.82rem;text-decoration:none;display:inline-block}.source-link:hover{text-decoration:underline}.student-preview-panel{border:1px solid var(--border);background:var(--surface-muted);border-radius:.8rem;padding:.9rem;position:sticky;top:.75rem}.student-preview-heading{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.student-preview-heading h3{margin:0;font-weight:500}.student-preview-card{border:1px solid var(--border);background:var(--surface);border-radius:.75rem;margin-top:.9rem;padding:.9rem}.preview-question{font-size:1.04rem;line-height:1.45}.preview-options{gap:.55rem;display:grid}.preview-option{border:1px solid var(--border);background:var(--surface);width:100%;min-height:48px;color:var(--text);text-align:left;cursor:pointer;border-radius:.7rem;padding:.7rem .75rem}.preview-option:hover:not(:disabled){background:var(--surface-muted)}.preview-option.selected{background:#f2fafb;border-color:#7faab4}.preview-option.correct{background:var(--success-soft);border-color:#83b394}.preview-option.incorrect{background:var(--danger-soft);border-color:#d19393}.preview-actions{flex-wrap:wrap;justify-content:flex-end;gap:.55rem;margin-top:.75rem;display:flex}.preview-hint,.preview-explanation{background:var(--accent-soft);border-radius:.65rem;margin-top:.75rem;padding:.75rem}.preview-explanation{background:var(--surface-muted)}.preview-explanation p:last-of-type{margin-bottom:.5rem}.pending-message{color:#765708;margin:.8rem 0 0;font-weight:500}.question-review-actions{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;margin-top:1rem;padding-top:1rem;display:flex}.question-navigation-buttons,.question-status-buttons{flex-wrap:wrap;gap:.55rem;display:flex}.empty-review-state{text-align:center}@media (max-width:1180px){.review-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.review-filter-panel{grid-template-columns:1fr;align-items:stretch}.review-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.question-review-layout{grid-template-columns:1fr}.student-preview-panel{position:static}}@media (max-width:700px){.review-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-filter-grid{grid-template-columns:1fr}.question-review-header{flex-direction:column}.review-status-group{justify-content:flex-start}.answer-editor-row{grid-template-columns:auto auto minmax(0,1fr)}.question-review-actions{flex-direction:column;align-items:stretch}.question-navigation-buttons,.question-status-buttons{grid-template-columns:1fr;display:grid}.question-navigation-buttons .button,.question-status-buttons .button{width:100%}}.question-code{color:color-mix(in srgb, var(--muted) 82%, transparent);letter-spacing:.015em;margin:-.45rem 0 1.1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.72rem}.question-rating-panel{border:1px solid var(--border);background:#ffffff9e;border-radius:.78rem;margin:1.15rem 0 1rem;padding:.9rem}.question-rating-heading-row{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem;display:flex}.question-rating-eyebrow{color:var(--muted);letter-spacing:.035em;text-transform:uppercase;margin:0 0 .15rem;font-size:.74rem}.question-rating-heading-row h4{margin:0;font-size:1rem;font-weight:500}.question-feedback-save-status{max-width:16rem;color:var(--muted);text-align:right;font-size:.76rem;line-height:1.35}.question-feedback-save-status.error{color:var(--danger)}.question-rating-buttons{flex-wrap:wrap;gap:.55rem;display:flex}.question-rating-button{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--text);cursor:pointer;font:inherit;border-radius:.68rem;align-items:center;gap:.42rem;padding:.5rem .7rem;font-weight:400;display:inline-flex}.question-rating-button:hover:not(:disabled){background:var(--accent-soft);border-color:#8eb3bc}.question-rating-button.active{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent)}.question-rating-button:disabled{opacity:.6;cursor:wait}.question-rating-button span:first-child{font-size:1.25rem;line-height:1}.question-rating-details{border-top:1px solid var(--border);grid-template-columns:minmax(13rem,.85fr) minmax(16rem,1.4fr);gap:.75rem;margin-top:.8rem;padding-top:.8rem;display:grid}.question-rating-details label>span{color:var(--muted);margin-bottom:.3rem;font-size:.8rem;display:block}.question-rating-details textarea{min-height:82px}@media (max-width:700px){.question-rating-heading-row{display:block}.question-feedback-save-status{text-align:left;max-width:none;margin-top:.35rem;display:block}.question-rating-details{grid-template-columns:1fr}}.flashcard-status{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding-top:1rem;padding-bottom:1rem;display:flex}.flashcard-status p{margin-bottom:0}.flashcard-progress-text{font-size:1.05rem}.flashcard-progress-summary{color:var(--muted);justify-content:flex-end;align-items:center;gap:1rem;font-size:.9rem;display:flex}.text-button{min-height:auto;color:var(--accent);cursor:pointer;text-underline-offset:.18rem;background:0 0;border:0;padding:.25rem 0;text-decoration:underline}.flashcard-panel{margin-bottom:1rem}.flashcard-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:1.5rem;padding-bottom:1.15rem;display:flex}.flashcard-heading h2{margin-bottom:.25rem}.flashcard-english-term{color:var(--muted);margin-bottom:0}.flashcard-reference{background:var(--accent-soft);color:var(--accent);border-radius:999px;flex:none;margin:0;padding:.42rem .7rem;font-size:.85rem}.flashcard-question-block{margin:1.4rem 0 1.15rem}.flashcard-question{max-width:58rem;margin-bottom:0;font-size:1.18rem}.flashcard-answer-field{gap:.45rem;display:grid}.flashcard-answer-field textarea{resize:vertical;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:.8rem;padding:.9rem 1rem;line-height:1.55}.flashcard-answer-field textarea:focus{border-color:var(--accent);outline:3px solid #174f5b24}.flashcard-answer-field textarea:disabled{background:var(--surface-muted);opacity:1}.flashcard-primary-action{align-items:center;gap:1rem;margin-top:1rem;display:flex}.flashcard-primary-action p{margin-bottom:0}.flashcard-reveal{margin-top:1.2rem}.flashcard-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.comparison-box{border:1px solid var(--border);background:var(--surface-muted);border-radius:.85rem;min-width:0;padding:1rem}.comparison-box.model-answer{background:var(--accent-soft);border-color:#b8d2d8}.comparison-box p:last-child{white-space:pre-wrap;margin-bottom:0}.flashcard-rating{border-top:1px solid var(--border);gap:.85rem;margin-top:1.2rem;padding-top:1.2rem;display:grid}.flashcard-rating p{margin-bottom:0}.rating-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;display:grid}.rating-button{border:1px solid var(--border);background:var(--surface);min-height:66px;color:var(--text);cursor:pointer;border-radius:.75rem;gap:.15rem;padding:.65rem .55rem;display:grid}.rating-button:hover{background:#fbfefe;border-color:#8eb3bc}.rating-button.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 2px #174f5b1a}.rating-button span{font-weight:600}.rating-button small{color:var(--muted)}.flashcard-saved-status{margin-top:.1rem}.flashcard-navigation{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;display:grid}.flashcard-dots{flex-wrap:wrap;justify-content:center;gap:.4rem;display:flex}.flashcard-dots button{border:1px solid var(--border);background:var(--surface);min-width:38px;min-height:38px;color:var(--text);cursor:pointer;border-radius:50%}.flashcard-dots button.active{border-color:var(--accent);background:var(--accent);color:#fff}@media (max-width:760px){.flashcard-status,.flashcard-heading,.flashcard-primary-action{flex-direction:column;align-items:stretch}.flashcard-progress-summary{flex-direction:column;align-items:flex-start;gap:.25rem}.flashcard-reference{align-self:flex-start}.flashcard-comparison{grid-template-columns:1fr}.rating-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flashcard-navigation{grid-template-columns:1fr 1fr}.flashcard-dots{grid-area:1/1/auto/-1}.flashcard-navigation>.button{width:100%}}@media (max-width:430px){.rating-grid{grid-template-columns:1fr}}.admin-section-tabs{border-bottom:1px solid var(--border);gap:.45rem;margin-bottom:1rem;display:flex}.admin-section-tabs a{color:var(--muted);border-bottom:2px solid #0000;padding:.65rem .85rem;text-decoration:none}.admin-section-tabs a:hover,.admin-section-tabs a.active{color:var(--text);border-bottom-color:currentColor}.admin-summary-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;display:flex}.segmented-control{border:1px solid var(--border);background:var(--surface-subtle);border-radius:.65rem;padding:.2rem;display:inline-flex}.segmented-control button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:.45rem;padding:.48rem .72rem}.segmented-control button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #00000014}.admin-user-overview-panel{padding:0;overflow:hidden}.admin-table-scroll{overflow-x:auto}.admin-user-table{border-collapse:collapse;width:100%;min-width:860px}.admin-user-table th,.admin-user-table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:.78rem .9rem}.admin-user-table th{color:var(--muted);background:var(--surface-subtle);font-size:.82rem;font-weight:600}.admin-user-table tbody tr:last-child td{border-bottom:0}.feedback-filter-row{grid-template-columns:minmax(15rem,1fr) minmax(13rem,.55fr);gap:.75rem;width:min(44rem,100%);display:grid}.feedback-filter-row label>span{color:var(--muted);margin-bottom:.35rem;font-size:.86rem;display:block}.feedback-question-list{gap:.8rem;display:grid}.feedback-question-card{padding:0;overflow:hidden}.feedback-question-summary{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;display:flex}.feedback-question-summary:hover{background:var(--surface-subtle)}.feedback-question-copy{gap:.25rem;min-width:0;display:grid}.feedback-question-text{line-height:1.45}.feedback-count-group{flex-wrap:wrap;justify-content:flex-end;gap:.4rem;display:flex}.feedback-count{white-space:nowrap;background:var(--surface-subtle);border-radius:999px;padding:.25rem .48rem;font-size:.78rem}.feedback-entry-list{border-top:1px solid var(--border);gap:.65rem;padding:0 1.1rem 1rem;display:grid}.feedback-entry{padding-top:.85rem}.feedback-entry+.feedback-entry{border-top:1px solid var(--border)}.feedback-entry-heading{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.35rem;display:flex}.feedback-comment{background:var(--surface-subtle);white-space:pre-wrap;border-radius:.6rem;margin-top:.45rem;padding:.7rem .8rem}.status-chip.feedback-helpful{background:var(--positive-soft)}.status-chip.feedback-unclear{background:var(--warning-soft)}.status-chip.feedback-problematic{background:var(--negative-soft)}@media (max-width:760px){.admin-summary-controls{flex-direction:column;align-items:stretch}.segmented-control{width:100%}.segmented-control button{flex:1}.feedback-filter-row{grid-template-columns:1fr}.feedback-question-summary{flex-direction:column;align-items:flex-start}.feedback-count-group{justify-content:flex-start}}
