.eng-layout { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 3rem; max-width: 1320px; margin-inline: auto; }
.eng-toc { position: sticky; top: 70px; align-self: start; display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.84rem; padding-top: 2.5rem; max-height: calc(100vh - 80px); overflow-y: auto; }
.eng-toc a { color: var(--ink-2); text-decoration: none; padding: 0.28rem 0.5rem; border-left: 2px solid var(--line-2); }
.eng-toc a:hover { color: var(--ink); border-color: var(--ink); }
.eng-toc .srctoggle { margin-top: 1rem; padding-left: 0.5rem; }
@media (max-width: 900px) { .eng-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; } .eng-toc { position: static; max-height: none; padding-top: 1rem; flex-direction: row; flex-wrap: wrap; gap: 0.3rem 0.6rem; } .eng-toc a { border-left: 0; border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.6rem; } .eng-toc .srctoggle { margin-top: 0; width: 100%; } }
.eng { display: flex; flex-direction: column; gap: 3.5rem; }
.eng section { display: flex; flex-direction: column; gap: 1.3rem; scroll-margin-top: 70px; border-top: 1px solid var(--line-2); padding-top: 2rem; }
.eng section:first-of-type { border-top: 0; padding-top: 0; }
.eng h2 { font-size: 1.7rem; }
.eng .two > div { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.eng .fig { margin: 0; display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.eng .fig img { background: var(--plate); border: 1px solid var(--line-2); border-radius: var(--radius); width: 100%; }
.eng .fig figcaption, .eng .cap { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.eng .fig.wide { max-width: 900px; }
.eq { font-family: var(--serif); font-size: 1.02rem; padding: 0.6rem 0.9rem; background: var(--bg-2); border-radius: var(--radius); overflow-x: auto; line-height: 1.6; }
.eng table { font-size: 0.88rem; }
.eng table th, .eng table td { padding: 0.4rem 0.6rem 0.4rem 0; }
.eng .tbl { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.eng .tbl table { display: block; overflow-x: auto; }
.eng .sym td:first-child { white-space: nowrap; }
.eng .dr td, .eng .val td { font-size: 0.84rem; }
.runs { display: flex; flex-direction: column; font-size: 0.85rem; }
.run { display: grid; grid-template-columns: 5.2rem 1fr; gap: 0.6rem; padding: 0.45rem 0; border-top: 1px solid var(--line-2); }
.run b { font-weight: 600; }
.run span { color: var(--ink-2); line-height: 1.5; }
.run i { color: var(--muted); font-style: normal; }
