:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #66635d;
  --faint: #5f5c56;
  --rule: #e8e5df;
  --surface: #fffdf9;
  --soft: #f7f5f0;
  --blue: #1769e8;
  --blue-soft: #e9f1ff;
  --green: #1e7043;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--surface); color: var(--ink); font-size: 14px; line-height: 1.55; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
code { padding: .08em .3em; border: 1px solid var(--rule); border-radius: 4px; background: #faf9f5; font: .88em ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #8dc9ff; outline-offset: 3px; border-radius: 4px; }
.lucide-icon { width: 16px; height: 16px; flex: none; }

.site-header { position: sticky; z-index: 50; top: 0; height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 24px; border-bottom: 1px solid var(--rule); background: rgba(255, 253, 249, .96); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; white-space: nowrap; }
.brand-mark { position: relative; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; margin-right: 1px; }
.brand-mark i { position: absolute; display: block; width: 10px; height: 17px; border-bottom: 2px solid var(--blue); border-left: 2px solid var(--blue); transform: skewY(-34deg) rotate(11deg); }
.brand-mark i:first-child { left: 3px; }
.brand-mark i:last-child { right: 3px; border-right: 2px solid var(--blue); border-left: 0; transform: skewY(34deg) rotate(-11deg); }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -.03em; }
.brand-divider { color: #bbb7af; font-size: 18px; }
.brand-section { color: #55534e; font-size: 14px; font-weight: 600; }
.top-nav { display: flex; align-items: center; gap: 25px; }
.top-nav a, .signin-link { color: #494743; font-size: 13px; font-weight: 600; text-decoration: none; }
.top-nav a:hover, .signin-link:hover, .top-nav a[aria-current="page"] { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search-trigger, .sidebar-search { display: flex; align-items: center; gap: 9px; border: 1px solid var(--rule); border-radius: 7px; background: #fff; color: #77736c; cursor: pointer; text-align: left; }
.search-trigger .lucide-icon, .sidebar-search .lucide-icon, .search-form .lucide-icon { width: 14px; height: 14px; }
.search-trigger { width: 232px; height: 36px; padding: 0 10px; font-size: 13px; }
.search-trigger > span { white-space: nowrap; }
.search-trigger kbd { margin-left: auto; padding: 1px 5px; border: 1px solid #dedbd4; border-bottom-color: #cbc7be; border-radius: 4px; background: #fbfaf7; color: #75716a; font: 11px ui-monospace, monospace; }
.signin-link { padding: 7px 8px; }
.header-cta, .button-primary, .button-secondary { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border-radius: 7px; font-weight: 650; letter-spacing: -.02em; text-decoration: none; }
.header-cta .lucide-icon, .button-primary .lucide-icon, .button-secondary .lucide-icon { width: 14px; height: 14px; stroke-width: 2.25; }
.header-cta, .button-primary { border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.header-cta { min-height: 36px; }
.header-cta:hover, .button-primary:hover { background: #353535; }
.button-secondary { border: 1px solid #dcd9d2; background: #fff; color: #2c2b29; }
.button-secondary:hover { border-color: #aaa69e; background: #fbfaf7; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle .lucide-icon { width: 20px; height: 20px; }

.docs-shell { width: min(100% - 48px, 1360px); display: grid; grid-template-columns: 242px minmax(0, 740px) 205px; align-items: start; column-gap: 42px; margin: 0 auto; }
.sidebar { position: sticky; top: 88px; height: calc(100vh - 108px); overflow: auto; padding: 27px 15px 34px 0; scrollbar-width: thin; }
.sidebar-search { width: 100%; height: 38px; padding: 0 10px; margin-bottom: 24px; }
.sidebar-section { margin: 0 0 22px; }
.sidebar-label { display: block; margin: 0 0 8px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.sidebar nav a { display: block; padding: 5px 9px; border-radius: 5px; color: #575550; font-size: 13px; line-height: 1.45; text-decoration: none; }
.sidebar nav a:hover { background: var(--soft); color: var(--ink); }
.sidebar nav a.active { background: var(--blue-soft); color: #1456bf; font-weight: 650; }
.article { min-width: 0; padding: 44px 0 110px; }
.breadcrumb { display: flex; align-items: center; gap: 7px; margin-bottom: 25px; overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; }
.breadcrumb a { flex: none; text-decoration: none; }
.breadcrumb .current { overflow: hidden; color: #4b4945; text-overflow: ellipsis; }
.toc { position: sticky; top: 94px; padding-top: 40px; }
.toc-title { display: block; margin-bottom: 11px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.toc nav { display: grid; }
.toc a { padding: 4px 0 4px 11px; border-left: 1px solid var(--rule); color: #77736c; font-size: 12px; line-height: 1.45; text-decoration: none; }
.toc a:hover, .toc a.active { border-left-color: var(--blue); color: var(--ink); }

.doc-hero { display: grid; grid-template-columns: minmax(0, 1fr) 256px; gap: 40px; padding: 4px 0 48px; border-bottom: 1px solid var(--rule); }
.hero-copy h1, .content-hero h1 { margin: 0; font-size: clamp(43px, 4.25vw, 56px); font-weight: 650; line-height: 1; letter-spacing: -.06em; }
.hero-copy h1 { max-width: 520px; }
.hero-copy > p, .content-hero > p { max-width: 650px; margin: 19px 0 0; color: #5f5d58; font-size: 18px; line-height: 1.52; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.hero-note { display: block; max-width: 240px; margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.hero-output { align-self: start; margin-top: 9px; overflow: hidden; border: 1px solid #dedbd4; border-radius: 8px; background: #fff; }
.panel-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 11px; border-bottom: 1px solid var(--rule); color: #6c6861; font-size: 11px; }
.panel-top strong { color: #33312e; font-weight: 650; }
.hero-output pre { margin: 0; padding: 13px 14px; color: #165dbd; white-space: pre-wrap; font: 11px/1.7 ui-monospace, monospace; }
.hero-output pre code { padding: 0; border: 0; background: transparent; font: inherit; }
.hero-stat { display: flex; align-items: baseline; gap: 8px; padding: 11px 13px; border-top: 1px solid var(--rule); color: #77736b; }
.hero-stat strong { color: var(--ink); font-size: 20px; line-height: 1; letter-spacing: -.04em; }
.hero-stat span { font-size: 11px; }
.article-section { padding-top: 52px; scroll-margin-top: 82px; }
.section-heading { margin-bottom: 21px; }
.section-kicker { display: block; margin: 0 0 7px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.section-heading h2, .article-body h2, .article-sources h2, .related-grid > h2, .article-cta h2 { margin: 0 0 9px; font-size: 28px; font-weight: 650; line-height: 1.16; letter-spacing: -.04em; scroll-margin-top: 82px; }
.section-heading > p { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.quick-grid, .read-grid, .doc-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.quick-card, .read-card, .doc-card-grid > article { min-width: 0; border: 1px solid var(--rule); border-radius: 8px; background: #fff; }
.quick-card { padding: 17px 16px; }
.quick-card > span, .read-card > span, .doc-card-grid article span { display: block; margin-bottom: 22px; color: var(--blue); font: 11px ui-monospace, monospace; }
.quick-card h3, .read-card h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.25; letter-spacing: -.02em; }
.quick-card p, .read-card p { margin: 0; color: #6b6862; font-size: 12px; line-height: 1.55; }
.note-box { margin-top: 13px; padding: 11px 13px; border-left: 2px solid var(--blue); background: var(--blue-soft); color: #3b4c67; font-size: 13px; line-height: 1.5; }

.workspace-figure { margin: 0; overflow: hidden; border: 1px solid #dcd9d2; border-radius: 9px; background: #fff; box-shadow: 0 5px 18px rgba(22, 22, 22, .035); }
.workspace-toolbar, .workspace-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; color: #6e6a63; font-size: 11px; }
.workspace-toolbar { border-bottom: 1px solid var(--rule); }
.workspace-toolbar strong { color: #292724; }
.workspace-toolbar .status { display: inline-flex; align-items: center; gap: 5px; color: var(--green); }
.workspace-toolbar .status .lucide-icon { width: 12px; height: 12px; }
.build-strip { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-bottom: 1px solid var(--rule); background: #fbfaf7; }
.build-strip span { color: var(--muted); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.build-strip p { min-width: 0; margin: 0; overflow: hidden; color: #3a3834; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.build-strip b { margin-left: auto; color: var(--green); font-size: 10px; white-space: nowrap; }
.workspace-body { min-height: 248px; display: grid; grid-template-columns: 126px minmax(0, 1fr) 142px; }
.library { padding: 14px 10px; border-right: 1px solid var(--rule); }
.library h3, .reference-panel h3 { margin: 0 0 10px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.library span { display: block; padding: 7px; border-radius: 5px; color: #68645d; font-size: 10px; }
.library span.active { background: var(--blue-soft); color: #1456bf; font-weight: 650; }
.editor { min-width: 0; padding: 14px 16px; }
.editor-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 11px; color: #34322e; font: 10px ui-monospace, monospace; }
.editor-head small { color: var(--muted); font: 10px Inter, sans-serif; }
.editor-sheet { min-height: 190px; padding: 12px 13px; border: 1px solid #e8e4dc; border-radius: 6px; background: #fffdfa; }
.editor-sheet h3 { margin: 0 0 10px; font-size: 17px; letter-spacing: -.03em; }
.editor-sheet h4 { margin: 13px 0 4px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.editor-sheet p { margin: 0; color: #66615a; font-size: 10px; line-height: 1.5; }
.proposal { margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--rule); color: #1769b5; font-size: 9px; }
.reference-panel { padding: 14px 10px; border-left: 1px solid var(--rule); background: #fbfaf7; }
.reference-panel > p { margin: 0 0 13px; color: var(--muted); font-size: 9px; }
.reference-panel blockquote { margin: 0; padding: 9px; border: 1px solid #e6e2da; border-radius: 5px; background: #fff; color: #5f5b54; font-size: 9px; line-height: 1.5; }
.reference-panel blockquote strong { display: block; margin-bottom: 5px; color: #35322d; font-size: 10px; }
.workspace-footer { border-top: 1px solid var(--rule); font-size: 9px; }
.workspace-footer strong { color: var(--green); }
.figure-caption { margin-top: 10px; color: #78746c; font-size: 11px; }

.runtime-wrap, .table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--rule); border-radius: 8px; background: #fff; }
.runtime-table, .article-body table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 12px; }
.runtime-table th, .article-body th { padding: 11px 13px; border-bottom: 1px solid var(--rule); background: #faf9f5; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.runtime-table td, .article-body td { padding: 13px; border-bottom: 1px solid var(--rule); color: #55514a; line-height: 1.48; text-align: left; vertical-align: top; }
.runtime-table td:first-child { width: 23%; color: #2c2a27; font-weight: 650; }
.runtime-table td:nth-child(2) { width: 22%; }
.path-tag { display: inline-block; padding: 2px 7px; border-radius: 999px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.native { background: #e8f6ed; color: #176c45; }
.distributor { background: #fff3cf; color: #715311; }
.builder { background: #eeeaff; color: #5544a0; }
.adapter { background: #efeeec; color: #5c5960; }
.portable-grid, .safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.portable-grid article { padding: 14px 1px 5px; border-top: 1px solid var(--rule); }
.portable-grid h3 { margin: 0 0 6px; font-size: 14px; }
.portable-grid p { margin: 0; color: #69665f; font-size: 12px; line-height: 1.55; }
.safety-grid article { display: grid; grid-template-columns: 27px 1fr; gap: 10px; padding: 15px; border: 1px solid var(--rule); border-radius: 8px; background: #fff; }
.safety-grid article > .lucide-icon { width: 26px; height: 26px; padding: 6px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); }
.safety-grid h3 { margin: 0 0 5px; font-size: 13px; }
.safety-grid p { margin: 0; color: #6d6962; font-size: 11px; line-height: 1.5; }
.read-card { min-height: 148px; padding: 17px 16px; }
.read-card > span { margin-bottom: 13px; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.read-card a { display: inline-flex; align-items: center; gap: 5px; margin-top: 17px; color: var(--blue); font-size: 11px; font-weight: 650; text-decoration: none; }
.read-card a .lucide-icon { width: 12px; height: 12px; }
.field-note { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-top: 13px; padding: 17px 18px; border: 1px solid #cfdcf5; border-radius: 8px; background: #f3f7ff; }
.field-note h3 { margin: 0 0 6px; font-size: 14px; }
.field-note p { max-width: 500px; margin: 0; color: #5d687b; font-size: 12px; line-height: 1.55; }
.field-note > a { flex: none; display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 11px; font-weight: 650; text-decoration: none; }
.field-note > a .lucide-icon { width: 12px; height: 12px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: 12px; font-weight: 650; }
.faq-list summary > .lucide-icon { width: 16px; height: 16px; color: var(--blue); transform-box: fill-box; transform-origin: center; transition: transform .18s ease; }
.faq-list details[open] summary > .lucide-icon { transform: rotate(180deg); }
.faq-list p { margin: -2px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.content-hero { padding: 4px 0 35px; border-bottom: 1px solid var(--rule); }
.content-hero h1 { max-width: 720px; font-size: clamp(39px, 4vw, 53px); }
.content-hero > p { font-size: 17px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: var(--faint); font-size: 11px; }
.evidence-note { display: grid; grid-template-columns: 145px 1fr; gap: 20px; margin: 27px 0 43px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 12px; line-height: 1.55; }
.evidence-note strong { color: var(--ink); }
.article-body { color: #353b37; font-size: 16px; line-height: 1.72; }
.article-body .article-lede { margin-top: 0; color: #252925; font-size: 19px; line-height: 1.62; }
.article-body h2, .article-sources h2, .related-grid > h2 { margin-top: 52px; }
.article-body p { margin: 0 0 21px; }
.article-body ul, .article-body ol { display: grid; gap: 10px; margin: 0 0 27px; padding-left: 24px; }
.article-body a, .article-sources a { color: #075fae; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body pre { max-width: 100%; margin: 27px 0 31px; overflow-x: auto; border: 1px solid #202521; border-radius: 8px; background: #171a18; color: #eff4f0; }
.article-body pre code { min-width: max-content; display: block; padding: 22px; border: 0; background: transparent; color: inherit; font-size: 12px; line-height: 1.7; }
.article-sources { margin-top: 65px; padding-top: 1px; border-top: 1px solid var(--rule); }
.article-sources > p { color: var(--muted); font-size: 12px; }
.article-sources ol { display: grid; gap: 10px; padding-left: 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.related-grid { margin-top: 60px; }
.related-grid > h2 { grid-column: 1 / -1; margin-bottom: 2px; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 58px; padding: 24px; border: 1px solid #cfdcf5; border-radius: 8px; background: #f3f7ff; }
.article-cta > div > span { color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-cta h2 { margin: 5px 0 7px; font-size: 22px; }
.article-cta p { margin: 0; color: var(--muted); font-size: 12px; }
.article-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 10px; }
.article-footer a { display: inline-flex; align-items: center; gap: 5px; color: #55514a; text-decoration: none; }
.article-footer a .lucide-icon { width: 12px; height: 12px; }
.doc-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.doc-card-grid > article { min-height: 250px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: #fff; }
.doc-card-grid > article > a { height: 100%; display: flex; flex-direction: column; padding: 24px; text-decoration: none; }
.doc-card-grid h2 { margin: 0 0 10px; font-size: 20px; line-height: 1.2; letter-spacing: -.035em; }
.doc-card-grid p { margin: 0 0 25px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.doc-card-grid strong { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; color: var(--blue); font-size: 11px; }
.doc-card-grid strong .lucide-icon { width: 12px; height: 12px; }

.docs-footer { padding: 56px max(24px, calc((100vw - 1360px) / 2 + 24px)) 35px; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; }
.footer-grid section { display: grid; align-content: start; gap: 6px; }
.footer-grid h2 { margin: 0 0 7px; font-size: 11px; }
.footer-grid a { color: #6d6962; font-size: 10px; text-decoration: none; }
.footer-grid a:hover { color: var(--ink); }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 10px; }
.footer-base .brand { color: var(--ink); }

.search-panel[hidden] { display: none; }
.search-panel { position: fixed; z-index: 100; inset: 0; display: grid; align-content: start; justify-items: center; padding: 12vh 18px 30px; background: rgba(20, 20, 20, .28); backdrop-filter: blur(4px); }
.search-panel::before { content: ""; position: absolute; z-index: -1; inset: 0; }
.search-form, .search-results { width: min(100%, 650px); background: #fff; }
.search-form { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #d8d4cc; border-radius: 10px 10px 0 0; box-shadow: 0 18px 50px rgba(20, 20, 20, .16); }
.search-form input { min-width: 0; flex: 1; border: 0; outline: 0; font-size: 15px; }
.search-form kbd { color: #77736c; font: 11px ui-monospace, monospace; }
.search-results { max-height: 60vh; margin: 0; padding: 0 8px 8px; overflow: auto; border: 1px solid #d8d4cc; border-top: 0; border-radius: 0 0 10px 10px; list-style: none; box-shadow: 0 24px 50px rgba(20, 20, 20, .16); }
.search-results:empty::after { content: "No matching documentation"; display: block; padding: 24px; color: var(--muted); text-align: center; }
.search-results a { display: block; padding: 13px; border-radius: 7px; text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: var(--soft); }
.search-results span { color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.search-results strong { display: block; margin-top: 3px; font-size: 14px; }
.search-results p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }

@media (max-width: 1120px) {
  .docs-shell { grid-template-columns: 220px minmax(0, 740px); justify-content: center; }
  .toc { display: none; }
}

@media (max-width: 850px) {
  .top-nav, .search-trigger, .signin-link { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; place-items: center; }
  .docs-shell { width: min(100% - 32px, 740px); display: block; }
  .sidebar { position: fixed; z-index: 45; top: 64px; right: 0; left: 0; height: calc(100vh - 64px); display: none; padding: 24px max(22px, calc((100vw - 740px) / 2)); border-top: 1px solid var(--rule); background: var(--surface); }
  .sidebar.is-open { display: block; }
  .sidebar-search { max-width: 360px; }
  .article { padding-top: 35px; }
  .docs-footer { padding-inline: 24px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .site-header { height: 58px; gap: 8px; padding: 0 13px; }
  .brand-section, .brand-divider { display: none; }
  .header-cta { min-height: 36px; padding-inline: 11px; font-size: 11px; }
  .menu-toggle { width: 36px; }
  .sidebar { top: 58px; height: calc(100vh - 58px); }
  .article { padding: 26px 0 75px; }
  .breadcrumb { margin-bottom: 18px; }
  .doc-hero { grid-template-columns: 1fr; gap: 23px; padding-bottom: 37px; }
  .hero-copy h1, .content-hero h1 { font-size: 42px; }
  .hero-copy > p, .content-hero > p { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions a { min-height: 44px; }
  .hero-note { max-width: none; }
  .hero-output { margin-top: 0; }
  .article-section { padding-top: 45px; }
  .quick-grid, .read-grid, .doc-card-grid { grid-template-columns: 1fr; }
  .quick-card, .read-card { min-height: 0; }
  .quick-card > span { margin-bottom: 12px; }
  .workspace-body { grid-template-columns: 1fr; }
  .library { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .library h3 { grid-column: 1 / -1; }
  .reference-panel { border-top: 1px solid var(--rule); border-left: 0; }
  .build-strip { align-items: flex-start; flex-wrap: wrap; }
  .build-strip p { flex-basis: 100%; white-space: normal; }
  .build-strip b { margin-left: 0; }
  .portable-grid, .safety-grid { grid-template-columns: 1fr; }
  .field-note, .article-cta { align-items: stretch; flex-direction: column; }
  .content-hero { padding-bottom: 28px; }
  .evidence-note { grid-template-columns: 1fr; gap: 6px; }
  .article-body { font-size: 15px; }
  .article-body .article-lede { font-size: 17px; }
  .article-body h2, .article-sources h2, .related-grid > h2 { margin-top: 44px; font-size: 25px; }
  .article-footer { align-items: flex-start; flex-direction: column; }
  .doc-card-grid > article { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-base { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
