:root{scroll-behavior:smooth;scrollbar-color:#87a391 #f7f3ee}button.secondary{background:#e9eee7;color:#19251f}button.secondary:hover{background:#d7e4d9}.learning-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:42px;align-items:start}.contents{position:sticky;top:18px;font-size:15px}.contents summary{font-weight:600;padding:8px 0;cursor:pointer}.contents nav{display:grid;gap:4px}.contents a{display:block;padding:7px 0;text-decoration:none}.contents a:hover{text-decoration:underline}.lesson-step{padding:30px 0 34px;border-bottom:1px solid #cdd8ce;scroll-margin-top:20px}.lesson-step h2{font-size:27px}.lesson-step p,.lesson-step dd{max-width:70ch}.lesson-step .example{font-size:23px;line-height:1.6;color:#087746;margin:24px 0 3px}.lesson-step .translation{font-size:16px;color:#4f6257;margin:0 0 24px}.formula{padding:20px;background:#e9eee7;font-weight:600;font-size:21px;overflow-wrap:anywhere}.table-wrap{overflow-x:auto;max-width:100%;margin:20px 0}table{width:100%;border-collapse:collapse;background:white;font-size:16px}th,td{text-align:left;border-bottom:1px solid #ccd8ce;padding:13px;vertical-align:top;min-width:90px}th{background:#e9eee7}td:first-child{font-weight:500}.lesson-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding-bottom:8px}.lesson-toolbar span{font-size:14px;color:#4f6257}.height-chart{padding:24px;background:white;margin:24px 0}.height-chart div+div{margin-top:16px}.height-chart span{display:block;font-size:16px}.height-chart i{display:block;height:22px;background:#087746;margin-top:5px}.height-chart div:last-child i{background:#8e26bf}.corrections dt{font-weight:600;font-size:20px;margin-top:20px;overflow-wrap:anywhere}.corrections dd{margin:5px 0 20px}.checklist li{padding:8px 0}#practice{margin-top:56px;padding-top:30px;border-top:2px solid #087746;scroll-margin-top:20px}#questions>fieldset{border:0;padding:22px 0;margin:24px 0}#questions>fieldset>legend{font-weight:600;font-size:24px}.question{padding:22px 24px;background:white;margin:0 0 16px}.question h3{font-size:18px;line-height:1.65;font-weight:500;margin:0 0 14px}.question label{display:block;padding:9px 8px;min-height:44px}.question input[type=radio]{margin-right:10px}.question input[type=text],.question textarea{display:block;width:100%;max-width:620px;border:1px solid #92a699;padding:11px;font:inherit;background:#fff;color:#19251f;border-radius:4px}.question textarea{min-height:104px}.question fieldset{border:0;padding:0;margin:0}.question legend{padding:0}.question label:has(input:checked){background:#e9eee7}.question:focus-within{outline:2px solid #087746;outline-offset:2px}#practice-actions{position:sticky;bottom:0;background:#f7f3ee;padding:16px 0;border-top:1px solid #ccd8ce;z-index:2}#save-status{min-height:29px}#submission-result{background:#e9eee7}#submission-result:not(:empty){padding:24px;margin-top:24px}#submission-result details{padding:12px 0;border-bottom:1px solid #bdcdbf}#submission-result summary{cursor:pointer}body.present .lesson-step{min-height:480px}body.present .lesson-step h2{font-size:32px}.source-note{margin-top:48px;border-top:1px solid #cdd8ce;padding-top:24px}.source-note h2{font-size:18px}.source-note p{max-width:95ch}.actions>button{font-size:16px}input,textarea{caret-color:#087746}body{overflow-wrap:break-word}button:disabled{cursor:not-allowed}.page-heading{margin-bottom:42px}
@media(max-width:850px){.learning-layout{grid-template-columns:1fr;gap:20px}.contents{position:static}.contents nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.lesson-step .example{font-size:21px}.lesson-step h2{font-size:24px}body.present .lesson-step h2{font-size:26px}}
@media(max-width:480px){.site-header img{width:230px}.contents nav{grid-template-columns:1fr}.lesson-step{padding:24px 0}.question{padding:18px 16px}.formula{font-size:18px;padding:16px}th,td{padding:10px;font-size:14px}#practice-actions{position:static}h1{font-size:30px}body.present .lesson-step{min-height:0}.page-heading{margin-bottom:26px}}
@media print{html{scroll-behavior:auto}.learning-layout{display:block}.contents,.lesson-toolbar,#account,#save-status,#submission-result{display:none!important}.lesson-step[hidden]{display:block!important}.lesson-step{padding:18px 0;min-height:0!important;break-inside:auto}.lesson-step h2,body.present .lesson-step h2{font-size:17pt}.lesson-step .example{font-size:14pt;margin-top:12px}.translation{margin-bottom:12px!important}.question{padding:10px 0;break-inside:avoid;margin-bottom:12px}.question h3{font-size:11pt}.question input[type=text]{border:0;border-bottom:1px solid #888;height:30px}.question textarea{height:65px;border:1px solid #aaa}.source-note{font-size:9pt}.height-chart{padding:10px}#practice{break-before:page}#questions>fieldset>legend{font-size:15pt}body{font-size:11pt}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}
/* Heading hierarchy: title in purple, lessons in green, exercises in blue. */
.page-heading h1{display:inline-block;background:#eee4f4;color:#63317e;padding:12px 20px;border-radius:6px;font-weight:700}
.lesson-step h2{background:#e3eee5;color:#145d3a;padding:13px 18px;border-radius:6px}
.lesson-step:nth-of-type(3n+2) h2{background:#eee4f4;color:#63317e}
.lesson-step:nth-of-type(3n) h2{background:#f4e9dc;color:#83501f}
#practice>h2{background:#e1edf5;color:#245879;padding:13px 18px;border-radius:6px}
#questions>fieldset>legend{background:#edf3f7;color:#245879;padding:9px 14px;width:100%;font-size:22px}
#questions>fieldset:last-child>legend{background:#eee4f4;color:#63317e}
.source-note h2{display:inline-block;background:#e9eee7;color:#3e5948;padding:7px 12px}
@media(max-width:480px){.page-heading h1{padding:10px 14px;font-size:28px}.lesson-step h2,#practice>h2{padding:12px 14px}#questions>fieldset>legend{font-size:20px}}
@media print{.page-heading h1{font-size:20pt;padding:8px 12px}.lesson-step h2,#practice>h2{padding:8px 10px}#questions>fieldset>legend{font-size:14pt}}
