/* Scoped to the build-process page; uses the shared font family through the type migration. */
.pg-built { --ink: #191b18; --bg: #faf9f6; --panel: #fff; color: var(--ink); background: var(--bg); font-family: var(--ui); }
[data-theme="dark"] .pg-built { --ink: #f5f5ef; --bg: #10120f; --panel: #171a16; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pg-built { --ink: #f5f5ef; --bg: #10120f; --panel: #171a16; } }
.pg-built .lay { max-width: 1080px; margin: auto; padding: 40px 24px 80px; display: block; }
.built-page { max-width: 820px; margin: auto; font: 18px/1.65 var(--ui); overflow-wrap: anywhere; }
.built-page h1, .built-page h2, .built-page h3 { font-family: var(--ui); color: var(--ink); line-height: 1.25; }
.built-page h1 { font-size: 36px; letter-spacing: -.025em; margin: 16px 0 24px; }
.built-page h2 { font-size: 28px; margin: 0 0 24px; }
.built-page h3 { font-size: 22px; margin: 24px 0 12px; }
.built-page p { font-size: 18px; color: var(--ink); margin: 16px 0; }
.built-page .built-label { font-size: 15px; font-weight: 650; }
.built-intro { padding-bottom: 40px; }
.built-page section { border-top: 1px solid currentColor; padding: 40px 0; }
.built-page a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.built-page a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.built-page code { font: 15px/1.6 var(--mono); white-space: normal; }
.built-diagram { width: 280px; max-width: 100%; height: auto; display: block; margin: 24px auto; color: var(--ink); }
.built-diagram rect { fill: var(--panel); stroke: currentColor; }
.built-diagram text { fill: currentColor; font: 18px var(--ui); }
.built-process { padding-left: 28px; }
.built-process li { padding-left: 10px; margin-bottom: 28px; }
.built-process h3 span { display: block; font-size: 15px; font-weight: 500; margin-top: 8px; }
.built-table { overflow-x: auto; }
.built-page table { width: 100%; border-collapse: collapse; font-size: 18px; }
.built-page caption { text-align: left; margin-bottom: 16px; font-weight: 650; }
.built-page th, .built-page td { border-bottom: 1px solid currentColor; padding: 14px 8px; text-align: left; vertical-align: top; }
.built-page th { font-weight: 600; }
.built-page .built-end { padding-top: 24px; }
@media (max-width: 480px) { .pg-built .lay { padding: 28px 18px 48px; } .built-page th, .built-page td { padding: 12px 4px; } }
@media (forced-colors: active) { .built-diagram rect { fill: Canvas; } .built-diagram text { fill: CanvasText; } }
.pg-built .foot, .pg-built .foot p, .pg-built .foot a, .pg-built .top button { font-size: 15px; color: var(--ink); }
/* Keep measured values intact and override the shared lesson table's small row labels. */
.built-page th { font-size: 18px; background: transparent; color: var(--ink); }
.built-page td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.built-page th, .built-page td { border-left: 0; border-right: 0; border-top: 0; }
.built-page h2 { border-bottom: 0; padding-bottom: 0; }
.pg-built .top button { border-color: var(--ink); }
/* Words in a table wrap between words only (the page's anywhere-wrapping split "Characters" at 390 px); the wrapper
   scrolls if a table is ever wider than the screen. Every cell of a row shares one baseline. */
.built-page table { overflow-wrap: normal; }
.built-page th, .built-page td { vertical-align: baseline; }
