@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#163d39;background:#f4f7f6;font-size:16px;--green:#113f3c;--muted:#58716c;--line:#d9e4df;--yellow:#f6d26f;--red:#a34436}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #dc9b32;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:'DM Serif Text',Georgia,serif;font-weight:400}h1{font-size:clamp(2.7rem,5vw,4.8rem);line-height:1.06;letter-spacing:-.03em}h2{font-size:clamp(1.9rem,3vw,2.8rem);line-height:1.15}h3{font-size:1.13rem}p{line-height:1.7}small{font-size:.875rem}.topbar{max-width:1160px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:24px 28px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:.85rem;letter-spacing:.12em;line-height:1.35}.brand-mark{background:var(--green);color:var(--yellow);padding:12px 10px;border-radius:50%;font-family:Georgia,serif;letter-spacing:-.08em;font-size:1.4rem}.topbar nav{display:flex;gap:16px}.quiet{background:none;border:0;color:inherit;padding:8px 4px;font-size:.9rem}.quiet:hover{text-decoration:underline}.wrap{max-width:1104px;margin:0 auto;padding:12px 28px 56px}.hero{border-radius:24px;background:var(--green);color:#fff;padding:54px;display:grid;grid-template-columns:1.35fr 1fr;gap:40px;overflow:hidden}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:.78rem;font-weight:700;margin-bottom:20px;color:#7d948e}.hero .eyebrow{color:#f6d26f}.hero h1{margin-bottom:25px}.hero .intro{color:#d7e6e0;max-width:570px}.hero-panel{align-self:center;background:#ffffff0c;border:1px solid #ffffff24;border-radius:18px;padding:30px}.hero-panel .big-term{font-family:'DM Serif Text',Georgia,serif;font-size:2.5rem;margin:15px 0 10px}.hero-panel p{font-size:.95rem;color:#d7e6e0;margin-bottom:16px}.word-list{display:flex;flex-wrap:wrap;gap:9px}.word-list span{font-size:.83rem;border:1px solid #ffffff38;padding:7px 11px;border-radius:40px}.primary,.secondary{border-radius:10px;padding:14px 20px;min-height:48px;font-weight:700;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.primary{background:var(--green);color:#fff}.hero .primary{background:var(--yellow);color:#173c38}.primary:hover{filter:brightness(1.08)}.secondary{background:#fff;color:var(--green);border-color:var(--line)}.action-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.stats-strip{display:grid;grid-template-columns:repeat(3,1fr);padding:30px 0;border-bottom:1px solid var(--line);gap:20px}.stats-strip strong{display:block;font-size:1.3rem}.stats-strip span{font-size:.88rem;color:var(--muted)}.section{padding-top:36px}.lead-note{max-width:740px;color:var(--muted)}.modes{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.mode{background:#fff;border:1px solid var(--line);text-align:left;color:var(--green);border-radius:14px;padding:23px}.mode:hover{border-color:#6e998d}.mode b{font-size:1.1rem;display:block;margin-bottom:7px}.mode p{font-size:.9rem;color:var(--muted);margin:0}.question-wrap{max-width:800px;margin:10px auto 50px;padding:0 24px}.progress-meta{display:flex;justify-content:space-between;font-size:.88rem;color:var(--muted);margin-bottom:12px}.progress{height:6px;background:#dbe7e0;border-radius:5px;overflow:hidden;margin-bottom:28px}.progress div{height:100%;background:#3d8372;transition:width .2s}.question-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:34px}.question-card .term{font-family:'DM Serif Text',Georgia,serif;font-size:2.3rem;margin:8px 0 20px;line-height:1.15}.step-label{font-size:.8rem;color:var(--muted);letter-spacing:.06em;margin-bottom:12px}.confidence{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.confidence button{background:#f6f8f5;border:1px solid var(--line);border-radius:12px;padding:18px 12px;color:var(--green);min-height:92px;text-align:left}.confidence button strong{display:block;margin-bottom:5px}.confidence button span{font-size:.8rem;color:var(--muted)}.question{font-size:1.4rem;font-weight:600;line-height:1.45}.options{display:grid;gap:10px}.option{text-align:left;border:1px solid var(--line);border-radius:12px;background:#fff;padding:17px;color:var(--green);display:flex;gap:14px;align-items:center;line-height:1.5}.option .letter{border:1px solid var(--line);border-radius:50%;width:30px;height:30px;display:inline-grid;place-items:center;flex-shrink:0;font-size:.85rem}.option:hover{background:#f1f6f2}.option.correct{border-color:#2a8064;background:#edf7ef}.option.incorrect{border-color:#bc675b;background:#fdf2ef}.answer-heading{font-weight:700;margin-bottom:8px}.explanation{margin-top:24px;border-top:1px solid var(--line);padding-top:22px}.explanation p{color:#44605a}.pill{display:inline-flex;border-radius:30px;background:#eaf1ec;padding:6px 12px;font-size:.8rem;color:#456258}.help-options{display:flex;flex-wrap:wrap;gap:8px}.help-options button{border:1px solid var(--line);background:#fff;border-radius:30px;padding:10px 14px;color:var(--green)}.help-options button.selected{background:var(--green);color:white}.bottom-actions{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:25px}.result-head{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:25px 0}.score-card{background:var(--green);color:#fff;padding:28px;border-radius:16px}.score-card.light{background:#e3eee7;color:var(--green)}.score-value{font-family:'DM Serif Text',Georgia,serif;font-size:3.7rem;line-height:1.05;margin:14px 0 8px}.score-card p{font-size:.9rem;margin:0;color:inherit;opacity:.85}.result-item{background:#fff;border:1px solid var(--line);border-radius:12px;margin:10px 0}.result-item summary{cursor:pointer;padding:16px;display:flex;justify-content:space-between;gap:15px;list-style:none}.result-item summary span{font-size:.85rem;color:var(--muted)}.result-item .inside{padding:0 17px 18px;color:#47625b}.survey{background:#fff;border:1px solid var(--line);padding:28px;border-radius:16px;margin-top:30px}.survey textarea{width:100%;border:1px solid #a8beb4;border-radius:10px;padding:13px;min-height:110px;margin:12px 0;background:#fafcfb}.survey label{line-height:1.6;display:block;margin-bottom:16px}.survey input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:8px;accent-color:var(--green)}.save-status{margin-top:12px;color:var(--muted)}.error{color:var(--red)}.library-controls{display:flex;gap:12px;margin:25px 0}.library-controls input,.library-controls select{padding:13px;border:1px solid #b3c8be;border-radius:8px;background:white;color:var(--green)}.library-controls input{flex:1;min-width:0}.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.term-card{border:1px solid var(--line);background:white;border-radius:14px;padding:23px;display:flex;flex-direction:column}.term-card h3{font-family:'DM Serif Text',Georgia,serif;font-size:1.5rem;margin:15px 0}.term-card p{font-size:.9rem;color:var(--muted)}.term-card a{margin-top:auto;font-size:.85rem}.library-empty{padding:35px;background:#fff;border-radius:14px}.admin-table{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px}table{width:100%;border-collapse:collapse;min-width:690px;font-size:.88rem}th,td{padding:14px 13px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:.8rem;background:#eaf1ec}td:first-child{font-weight:600}details summary::-webkit-details-marker{display:none}footer{border-top:1px solid var(--line);max-width:1104px;margin:auto;padding:24px 28px;display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:.8rem}dialog{max-width:620px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:18px;padding:32px;color:var(--green)}dialog::backdrop{background:#0e2c28aa}.close{float:right;margin:-10px -8px 10px 20px}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--green);color:white;padding:12px 20px;border-radius:8px;display:none;z-index:20}.loading{padding:70px;text-align:center}.muted{color:var(--muted)}.review-heading{margin-top:35px}.csv{font-size:.9rem}.admin-comments{white-space:pre-wrap;overflow-wrap:anywhere}.version{font-size:.8rem;color:var(--muted)}
@media(max-width:720px){.topbar{padding:20px}.topbar nav{gap:10px}.topbar .quiet{font-size:.8rem}.wrap{padding:8px 18px 36px}.hero{padding:32px 25px;grid-template-columns:1fr;gap:18px}.hero h1{font-size:3.1rem}.hero-panel{padding:20px}.hero-panel .big-term{font-size:2rem}.hero-panel p{margin-bottom:12px}.stats-strip{gap:15px;padding:24px 4px}.stats-strip strong{font-size:1.05rem}.stats-strip span{font-size:.78rem}.modes{grid-template-columns:1fr}.mode{padding:19px}.question-wrap{padding:0 16px}.question-card{padding:25px 20px}.question-card .term{font-size:2rem}.confidence{grid-template-columns:1fr}.confidence button{min-height:0;padding:16px}.confidence button span{display:block}.result-head{gap:12px}.score-card{padding:20px 16px}.score-value{font-size:3rem}.score-card p{font-size:.8rem}.question{font-size:1.2rem}.library-grid{grid-template-columns:1fr}.library-controls{flex-direction:column}.survey{padding:22px}.result-item summary{flex-direction:column;gap:5px}footer{padding:22px 20px;display:block}footer>*{display:block;margin:8px 0}.bottom-actions .primary{flex:1}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

main:focus{outline:none}

.community-stats{margin-top:28px;padding:22px;background:#fff;border:1px solid #d9e5df;border-radius:16px}.community-stats h3{font-size:1.25rem;margin:0 0 16px}.community-bar{display:flex;height:12px;overflow:hidden;border-radius:9px;background:#e7eae8;margin-bottom:18px}.community-bar .right{background:#176456}.community-bar .wrong{background:#b85b48}.community-bar .unsure{background:#d4b34d}.community-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.community-numbers strong{display:block;font-size:1.7rem}.community-numbers span{font-size:.8rem;display:block}.community-stats .muted{font-size:.8rem;line-height:1.6;margin-bottom:0}

.simple-wrap{max-width:620px;margin:40px auto 70px}.simple-term{font-size:clamp(2.2rem,8vw,3.6rem);line-height:1.15}.simple-choices{display:grid;gap:14px;margin-top:30px}.simple-choices button{text-align:left;padding:22px;font-size:1.15rem}.simple-explanation{font-size:1.1rem;line-height:1.75}.simple-next{display:block;margin:26px 0 18px}.simple-source{display:block;font-size:.85rem;margin-top:20px}.community-numbers{margin-top:16px}

/* Fresh, lightweight reader quiz */
:root{color:#263c4a;background:#fffdf7;--green:#247c79;--muted:#627583;--line:#e4e9e8;--yellow:#ffe7a1;font-family:'DM Sans',system-ui,sans-serif}
body{background:radial-gradient(ellipse at 8% 5%,#e4f6ed 0,transparent 38%),radial-gradient(ellipse at 96% 25%,#e9f4ff 0,transparent 35%),#fffdf7;min-height:100vh}
h1,h2,h3{font-family:'DM Sans',system-ui,sans-serif;font-weight:700;letter-spacing:-.035em}
.topbar{max-width:760px;padding:26px 28px 12px}.brand{font-size:.69rem;letter-spacing:.1em;color:#56716f}.brand-mark{background:#d5f1e5;color:#26766a;font-family:inherit;font-size:1rem;font-weight:700;letter-spacing:-.05em;border-radius:16px;padding:13px 11px}
.simple-wrap{max-width:648px;margin:26px auto 48px;padding:32px;background:#fff;border:1px solid #e9eeeb;border-radius:28px;box-shadow:0 14px 50px #2a666908}
.simple-wrap .eyebrow{color:#528581;letter-spacing:.075em;font-size:.72rem;margin-bottom:18px}
.simple-term{font-size:clamp(1.9rem,6vw,2.7rem);line-height:1.19;color:#293d4a;margin-bottom:23px;overflow-wrap:anywhere}
.simple-choices{gap:12px;margin-top:24px}.simple-choices button{justify-content:flex-start;padding:20px 22px;border:1px solid transparent;border-radius:17px;font-size:1.03rem;transition:transform .15s,box-shadow .15s;position:relative}
.simple-choices button::before{content:'';width:10px;height:10px;border:2px solid currentColor;border-radius:50%;margin-right:14px;flex-shrink:0;opacity:.7}
.simple-choices button[data-familiarity="2"]{background:#def4e9;color:#22634f}.simple-choices button[data-familiarity="1"]{background:#e5f1ff;color:#345e89}.simple-choices button[data-familiarity="0"]{background:#fff0d6;color:#82622f}
.simple-choices button:hover{transform:translateY(-2px);box-shadow:0 5px 15px #345c6112}.simple-choices button:active{transform:translateY(0)}
.primary{background:#287f7b;border-radius:14px;box-shadow:none}.simple-next{width:100%;min-height:52px;margin:24px 0 18px}.simple-explanation{font-size:1rem;line-height:1.8;color:#4c626e}
.community-stats{background:#f6fafb;border:0;border-radius:18px;padding:20px;margin-top:22px}.community-stats h3{font-size:1rem;letter-spacing:-.015em}.community-stats p{font-size:.87rem;line-height:1.7}.community-numbers{gap:14px}.community-numbers strong{font-size:1.6rem;color:#2d5660}.community-numbers span{font-size:.73rem;line-height:1.5;color:#596f7c}.community-bar{height:9px}.community-bar .right{background:#79c7a4}.community-bar .wrong{background:#8cb9e8}.community-bar .unsure{background:#eac47e}
.simple-source{text-align:center;color:#647f89;font-size:.78rem}.simple-wrap label{display:block;font-size:.88rem;line-height:1.7;margin:20px 0}.simple-wrap input[type=checkbox]{accent-color:#287f7b;width:18px;height:18px;vertical-align:middle;margin-right:8px}.muted{color:#6b7e87}
footer{max-width:700px;justify-content:center;padding:20px 24px;gap:10px 22px;border-color:#e4ebe6;font-size:.71rem;text-align:center}footer .quiet{font-size:.71rem;padding:0}footer>a{color:#798e97}footer span{width:100%}button:focus-visible,a:focus-visible{outline:3px solid #74b6d4;outline-offset:4px}
.simple-progress{height:5px;background:#edf3f3;border-radius:10px;margin:0 0 25px;overflow:hidden}.simple-progress span{display:block;height:100%;background:#85cbbb;border-radius:10px;transition:width .2s}
@media(max-width:720px){.topbar{padding:20px 20px 8px}.simple-wrap{margin:18px 16px 30px;padding:26px 22px;border-radius:23px}.simple-term{font-size:2rem}.simple-choices button{padding:19px 16px}.community-stats{padding:17px}.community-numbers{gap:8px}.community-numbers strong{font-size:1.45rem}footer{display:flex;padding:12px 20px 26px}footer>*{margin:0}.simple-wrap .eyebrow{font-size:.67rem}}

.source-return{max-width:390px;margin:12px auto 0;text-align:center;font-size:.77rem;line-height:1.65;color:#637986;background:#f0f7fa;padding:12px 15px;border-radius:12px}

.distribution{display:grid;gap:14px;margin:18px 0}.distribution-label{display:flex;justify-content:space-between;gap:12px;font-size:.85rem;margin-bottom:7px}.distribution-label strong{font-size:1rem;color:#304c5c}.distribution-track{height:11px;background:#e5ecef;border-radius:10px;overflow:hidden}.distribution-track span{display:block;height:100%;border-radius:10px}.level-2{background:#78c6a3}.level-1{background:#88b9ed}.level-0{background:#edc372}.compare-details{margin-top:20px;font-size:.85rem}.compare-details summary{cursor:pointer;font-weight:600;line-height:1.6}.term-comparison{border-top:1px solid #dfe8eb;padding:20px 0}.term-comparison h4{font-size:1rem;margin:0 0 8px}.term-comparison small{color:#647a85}.term-comparison .muted{margin-bottom:10px}

.completion-message{background:#e6f5ec;padding:18px;border-radius:15px;margin:20px 0;color:#2c6651}.completion-message p{margin:8px 0 0;font-size:.9rem}.completion-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.completion-actions>*{font-size:.85rem;text-align:center;padding:14px 10px}@media(max-width:480px){.completion-actions{grid-template-columns:1fr}}
