.lesson-intro .grammar-category{font-variant-numeric:tabular-nums}.lesson-readable .grammar-rule-box h2{margin:0 0 8px}.lesson-readable .grammar-examples,.lesson-readable .grammar-try{margin-top:36px}.lesson-readable :is(.grammar-rule-box,.grammar-examples,.grammar-try,.grammar-neighbours){margin-inline:auto}.play-discovery .lesson-readable :is(.grammar-rule-box,.grammar-try) p,.play-discovery :is(.lesson-module,.lesson-readable) .grammar-line{max-width:none}.play-discovery .lesson-activity .grammar-group-figure{text-align:center}.play-discovery .lesson-activity .grammar-group-art{max-width:16rem;color:var(--lesson-figure-ink);margin:0 auto}.play-discovery .lesson-activity .grammar-group-art svg{width:100%;height:auto;display:block}.play-discovery .lesson-activity .grammar-rule-figure p{overflow-wrap:break-word;margin:0;font-size:1.0625rem;line-height:1.65}.play-discovery .lesson-activity .grammar-rule-figure figcaption{text-align:start}.play-discovery .lesson-activity .grammar-pairs-figure{padding:16px}.play-discovery .lesson-activity .grammar-pairs-figure .grammar-verdict svg{width:1.125em;height:1.125em;margin:0 6px 0 0;display:inline-block}.grammar-rule-box{background:var(--mint);color:var(--ink);border-radius:16px;margin:0 0 36px;padding:20px 24px}.grammar-rule-box h2{letter-spacing:0;color:var(--ink-spatial);margin-bottom:8px;font-size:1rem}.grammar-rule-box p{overflow-wrap:break-word;margin:0;font-size:1.125rem;line-height:1.65}.grammar-pairs{gap:16px;margin:0;padding:0;list-style:none;display:grid}.grammar-pair{border:1px solid var(--line);background:var(--card);border-radius:12px;margin:0;overflow:hidden;container:grammar-pair/inline-size}.grammar-line{grid-template-columns:6.5rem minmax(0,1fr);align-items:baseline;gap:4px 12px;margin:0;padding:12px 16px;line-height:1.55;display:grid}.grammar-line+.grammar-line{border-top:1px solid var(--line)}.grammar-right{background:var(--accent-soft)}.grammar-verdict{letter-spacing:.01em;white-space:nowrap;font-size:.875rem;font-weight:650;display:inline-block}.grammar-verdict svg{vertical-align:-.2em;fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;width:1.125em;height:1.125em;margin-inline-end:6px;display:inline-block}.grammar-wrong .grammar-verdict{color:var(--bad)}.grammar-right .grammar-verdict{color:var(--good)}.grammar-sentence{min-width:0;color:var(--ink);overflow-wrap:break-word;font-size:1.0625rem}.grammar-right .grammar-sentence{font-weight:600}.grammar-neighbours{margin-top:40px;padding-top:28px}.grammar-neighbours h2{font-size:var(--text-sub);letter-spacing:-.015em}.grammar-neighbours ul{grid-template-columns:repeat(auto-fill,minmax(min(100%,14rem),1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.grammar-neighbour{min-width:0;margin:0}.grammar-next{text-align:end;grid-column:-2/-1}.grammar-neighbour a{border:1px solid var(--control-border);height:100%;min-height:44px;color:var(--ink);overflow-wrap:anywhere;border-radius:12px;flex-direction:column;justify-content:center;gap:2px;padding:12px 16px;text-decoration:none;display:flex}.grammar-neighbour-label{color:var(--muted);letter-spacing:.02em;font-size:.8125rem;font-weight:600}.grammar-neighbour-name{color:var(--accent);text-underline-offset:var(--underline-offset);font-weight:600;line-height:1.4;text-decoration:underline 1px}.grammar-neighbour a:focus-visible,.grammar-book-link a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.grammar-book-link{margin:20px 0 0}.grammar-book-link a{min-height:44px;color:var(--accent);text-underline-offset:var(--underline-offset);overflow-wrap:anywhere;align-items:center;font-weight:600;display:inline-flex}@media (hover:hover){.grammar-neighbour a:hover{border-color:var(--accent);background:var(--accent-soft)}.grammar-neighbour a:hover .grammar-neighbour-name{text-decoration-thickness:2px}}@media (width<=36.25em){.grammar-rule-box{margin-bottom:28px;padding:16px 18px}.grammar-rule-box p{font-size:1.0625rem}.grammar-examples h2{font-size:var(--text-sub)}.grammar-line{grid-template-columns:5.5rem minmax(0,1fr);gap:4px 8px;padding:10px 14px}.grammar-sentence{font-size:1rem}.grammar-next{grid-column:auto}}@container grammar-pair (width<17rem){.grammar-line{grid-template-columns:minmax(0,1fr)}}@media (forced-colors:active){.grammar-pair,.grammar-neighbour a{border-color:canvastext}.grammar-line+.grammar-line{border-top-color:canvastext}.grammar-rule-box{border:1px solid canvastext}.grammar-verdict{color:canvastext}.grammar-neighbour-name,.grammar-book-link a{color:linktext}}
