/* Reading layout scoped to the ATOMIC article. */
.atomic-article { max-width: 78ch; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; font-size: 1.06rem; line-height: 1.75; }
.atomic-header h1 { font-size: clamp(1.95rem, 4vw, 2.8rem); line-height: 1.16; max-width: none; margin: .8rem 0 1rem; }
.atomic-header .lead { font-size: 1.15rem; color: var(--muted); }
.atomic-article p { margin: 0 0 1.2rem; }
.atomic-article section { margin-top: 2.5rem; scroll-margin-top: 7rem; }
.atomic-article h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.3; max-width: none; margin: 0 0 1rem; }
.atomic-toc { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; padding: 1rem 0; border-top: 1px solid var(--line, #d7e2e8); border-bottom: 1px solid var(--line, #d7e2e8); font-size: .9rem; }
.atomic-article a { text-underline-offset: .18em; }
.atomic-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.atomic-article table { border-collapse: collapse; width: 100%; min-width: 36rem; font-size: .94rem; line-height: 1.5; }
.atomic-article caption { text-align: left; color: var(--muted); margin-bottom: .8rem; }
.atomic-article th, .atomic-article td { padding: .85rem; border-bottom: 1px solid var(--line, #d7e2e8); text-align: left; vertical-align: top; }
.atomic-article thead { background: var(--cloud, #f2f6f8); }
.atomic-article tbody th { font-weight: 600; }
.atomic-equation, .atomic-practice { padding: 1.25rem; background: var(--cloud, #f2f6f8); border-left: 3px solid var(--teal, #0d716e); }
.atomic-equation { overflow-wrap: anywhere; }
.atomic-sources { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line, #d7e2e8); font-size: .9rem; color: var(--muted); }
@media (max-width: 480px) { .atomic-article { padding: 1.75rem 1.1rem 3rem; font-size: 1rem; } .atomic-header .lead { font-size: 1.06rem; } }
