*{box-sizing:border-box}body{--main:#1d4ed8;--soft:#eff6ff;--line:#bfdbfe;margin:0;background:#f3f6fa;color:#1e293b;font:18px/1.5 system-ui,-apple-system,sans-serif}body.emo,.emo{--main:#be185d;--soft:#fdf2f8;--line:#fbcfe8}body.soc,.soc{--main:#6d28d9;--soft:#f5f3ff;--line:#ddd6fe}body.cog,.cog{--main:#1d4ed8;--soft:#eff6ff;--line:#bfdbfe}main{max-width:650px;margin:auto;padding:16px 14px 40px}nav{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}a{color:var(--main)}h1{font-size:1.65rem;line-height:1.2;background:linear-gradient(120deg,var(--main),#64748b);color:white;padding:23px 18px;border-radius:22px;margin:0 0 14px}h2{font-size:1.16rem;margin:14px 0;line-height:1.4}p{margin:12px 0}.card,.tile{display:block;background:white;border:1px solid #e2e8f0;border-radius:22px;padding:18px;box-shadow:0 4px 18px #16385c0c}figure{margin:0 0 12px}img{display:block;width:100%;height:auto;max-height:275px;object-fit:contain;border-radius:16px;background:#f8fafc}.objective{background:var(--soft);border:2px solid var(--line);border-radius:14px;padding:13px}.context{background:var(--soft);border-radius:12px;padding:12px}.progress{font-size:.9rem;font-weight:700;color:var(--main)}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,summary:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #0f172a;outline-offset:3px}.option,.next,.word-button{width:100%;display:block;border:2px solid var(--line);background:#fff;border-radius:14px;padding:13px 14px;margin:9px 0;text-align:left;min-height:48px;color:#1e293b;font-weight:650}.option[aria-pressed=true]{background:var(--main);border-color:var(--main);color:white}.option[aria-pressed=true]:before{content:'✓ '}.next{background:var(--main);color:white;border-color:var(--main);text-align:center;margin-top:15px}.next:disabled,.option:disabled{opacity:.5;cursor:default}.audio,.help,.small{border:1px solid var(--line);background:var(--soft);color:var(--main);border-radius:25px;padding:9px 15px;min-height:44px;font-weight:700}.help{margin-top:10px;background:white}.feedback:not(:empty){padding:12px;background:var(--soft);border-left:4px solid var(--main);border-radius:10px}.word{font-size:1.7rem;text-align:center;font-weight:800}.family-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.family-options .option{margin:0}.sentence{padding:14px;background:var(--soft);border-radius:12px;min-height:55px}.word-button{font-size:.95rem;background:var(--soft);font-weight:500}textarea{display:block;width:100%;padding:12px;border-radius:12px;border:2px solid var(--line);font:inherit;min-height:100px;resize:vertical;margin:10px 0}.teacher{margin-top:24px;color:#475569;font-size:.9rem}.teacher summary{min-height:44px;cursor:pointer;padding:10px 0}.tiles{display:grid;gap:18px}.tile{text-decoration:none;color:#1e293b;border-top:5px solid var(--main)}.tile h2{color:var(--main)}.tile img{max-height:230px}.private{font-size:.9rem;color:#475569}.large{font-size:22px}.large h2{font-size:1.35rem}@media(min-width:1000px){body:has(.tiles) main{max-width:1100px}.tiles{grid-template-columns:repeat(3,1fr)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(max-width:360px){main{padding:10px}.card{padding:14px}h1{font-size:1.4rem}}
.condition{font-size:.94rem;color:#475569;margin:12px 0 4px}.condition+h2{margin-top:4px;font-weight:500}.condition+h2 strong{font-weight:800}
.bank{margin:12px 0;background:var(--soft);border-radius:12px;padding:8px 12px}.bank summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:.95rem;font-weight:700}.teacher a{overflow-wrap:anywhere}button{white-space:normal}img{height:auto}@media(max-width:480px){.card img{max-height:230px}}
