:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f7f4ef;color:#202124;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#ffffffe6,#f7f4eff2),#f7f4ef}button,textarea{font:inherit}button{border:0}a{color:inherit;text-decoration:none}.app-shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:28px 0 56px}.topbar,.lesson-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0 28px}.eyebrow{margin:0 0 8px;color:#5d6f68;font-size:.78rem;font-weight:800;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{max-width:760px;margin-bottom:0;font-size:clamp(2rem,4vw,4.4rem);line-height:.98}h2{margin-bottom:12px;font-size:1rem}h3{margin-bottom:8px;font-size:1.05rem}.summary-strip{display:grid;grid-template-columns:repeat(2,minmax(92px,1fr));gap:10px}.summary-strip div{min-height:72px;padding:12px 16px;border:1px solid #ded7cb;border-radius:8px;background:#fffdf8}.summary-strip span{display:block;font-size:1.6rem;font-weight:800}.summary-strip small{color:#66736f}.level-grid{display:grid;gap:22px}.level-band{padding:22px 0;border-top:1px solid #ded7cb}.level-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:12px}.level-heading span,.status-pill,.marker-chip{color:#596963;font-size:.82rem;font-weight:700}.lesson-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lesson-card{display:flex;min-height:188px;flex-direction:column;justify-content:space-between;gap:20px;padding:18px;border:1px solid #ded7cb;border-radius:8px;background:#fffdf8}.lesson-card p,.lesson-panel p{color:#596963;line-height:1.55}.lesson-level{display:inline-flex;margin-bottom:14px;color:#0f6b5a;font-size:.78rem;font-weight:900}.lesson-card-side{display:flex;align-items:center;justify-content:space-between;gap:12px}.button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;padding:0 14px;border-radius:8px;cursor:pointer;font-weight:800;transition:transform .15s ease,background-color .15s ease,color .15s ease}.button:hover{transform:translateY(-1px)}.button:disabled{cursor:wait;opacity:.7;transform:none}.button-primary{background:#106b5b;color:#fff}.button-primary:hover{background:#0a574a}.button-secondary{border:1px solid #cfc7ba;background:#fff;color:#202124}.button-ghost{background:transparent;color:#4d5f5a}.score-pill,.score-large{display:inline-grid;place-items:center;background:#f2c94c;color:#202124;font-weight:900}.score-pill{width:46px;height:36px;border-radius:8px}.score-large{width:74px;height:58px;border-radius:8px;font-size:1.55rem}.lesson-shell{width:min(1280px,calc(100% - 32px))}.lesson-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:22px;align-items:start}.lesson-panel{padding:20px;border:1px solid #ded7cb;border-radius:8px;background:#fffdf8}.skill-list{display:grid;gap:8px;padding-left:18px;color:#3b4a46}.feedback-note{margin-top:20px;padding-top:16px;border-top:1px solid #ded7cb}.lesson-workspace{display:grid;gap:18px}.tool-section{padding:18px;border:1px solid #ded7cb;border-radius:8px;background:#fffdf8}.section-head,.action-row,.submit-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-head{margin-bottom:12px}.action-row{flex-wrap:wrap;justify-content:flex-end}.prompt-box,.report-box{width:100%;resize:vertical;border:1px solid #d8d0c3;border-radius:8px;background:#fbfaf7;color:#202124;line-height:1.5}.prompt-box{min-height:320px;padding:14px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.9rem}.report-box{min-height:180px;padding:14px}.submit-row{margin-top:12px}.status-message{min-height:24px;margin:0;color:#596963}.status-error{color:#a13c30}.status-saved{color:#0f6b5a}@media(max-width:900px){.topbar,.lesson-header,.lesson-layout{grid-template-columns:1fr}.topbar,.lesson-header,.level-heading,.section-head,.submit-row{align-items:stretch;flex-direction:column}.lesson-list{grid-template-columns:1fr}.summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-layout{display:grid}.action-row,.submit-row{justify-content:stretch}.button{width:100%}}
