.grammar-entry{margin-top:1.5rem;display:flex;gap:1.5rem;align-items:center;justify-content:space-between}.grammar-entry p{margin:.5rem 0}.grammar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.grammar-tile{background:var(--white,#fff);color:var(--ink,#163e36);border:1px solid #cedfd7;border-radius:22px;padding:1.4rem;text-align:left;white-space:normal;display:block}.grammar-tile h2{font-size:1.2rem;margin:.8rem 0}.grammar-tile p{font-size:1rem;font-weight:400;line-height:1.7}.grammar-tile small{font-weight:400;color:#537368}.grammar-tile-icon{display:block;font-size:2.4rem;margin-bottom:.8rem}.grammar-lesson{max-width:800px;margin:auto}.grammar-lesson h2{margin-top:1.8rem;font-size:1.3rem}.grammar-lesson p,.grammar-parent p,.grammar-parent li{line-height:1.8}.grammar-scene{display:flex;gap:1rem;align-items:center;padding:1rem;background:#eaf4ef;border-radius:18px;margin:1.2rem 0}.grammar-scene>span{font-size:3rem}.grammar-examples{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.grammar-example{padding:1rem;background:#f1f6f3;border-radius:18px}.grammar-example p{margin:.5rem 0}.grammar-example p[lang=en]{font-size:1.25rem;font-weight:700}.grammar-question{margin:1rem 0;padding:1.2rem 0;border-top:1px solid #d7e3dc}.grammar-question h3{font-size:1.1rem;line-height:1.8}.grammar-choices{display:flex;flex-wrap:wrap;gap:.7rem}.grammar-choices button{min-height:48px;white-space:normal}.grammar-choices .answer-correct{background:#e3f4e9;border-color:#387650;color:#17452a;opacity:1}.grammar-choices .answer-wrong{background:#fff0e5;border-color:#bd734b;color:#7b361d;opacity:1}.grammar-feedback{background:#f3f7f3;padding:.8rem 1rem;border-radius:12px}.grammar-source-links{display:flex;flex-direction:column;gap:.8rem}.grammar-parent summary{font-weight:700;cursor:pointer}#grammar-grade{max-width:400px}@media(max-width:850px){.grammar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.grammar-entry{display:block}.grammar-entry>button{width:100%;margin-top:1rem}.grammar-grid,.grammar-examples{grid-template-columns:1fr}.grammar-lesson{padding:1.2rem}.grammar-lesson .panel-title{align-items:flex-start}.grammar-lesson h1{font-size:1.6rem}.grammar-scene>span{font-size:2.3rem}.grammar-question{scroll-margin-top:1rem}}
.grammar-lesson-nav{margin:1rem 0;padding:.8rem 0;border-top:1px solid #d7e3dc;border-bottom:1px solid #d7e3dc}.grammar-lesson-nav .button-row{margin:0 0 .5rem}.grammar-question-panel{scroll-margin-top:1rem;outline:none}.grammar-question-nav{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.8rem 0}.grammar-question-nav span{font-size:1rem;font-weight:600;text-align:center}.grammar-question-nav button{min-height:48px}.grammar-question-progress{display:block;width:100%;height:10px;border:0;border-radius:8px;accent-color:#285b4b}.grammar-question-progress::-webkit-progress-bar{background:#e3eee7;border-radius:8px}.grammar-question-progress::-webkit-progress-value{background:#285b4b;border-radius:8px}@media(max-width:420px){.grammar-question-nav{gap:.4rem}.grammar-question-nav button{padding:.7rem .65rem;font-size:.95rem}.grammar-question-nav span{font-size:.95rem}}
