/* Theme-aware schematic cards. Styles are scoped to this new component. */
.page-heading.with-domain-illustration{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:24px;align-items:center;padding:27px 0 18px}
.page-heading.with-domain-illustration h1{margin:8px 0;line-height:1.06}
.domain-figure{margin:0;width:100%;min-width:0;padding:14px 18px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--fg);--di-ink:var(--muted);--di-accent:var(--pfn);--di-node:var(--bg)}
.domain-figure-title{font:500 18px/1.2 var(--display);letter-spacing:-.3px;margin:0 0 9px;max-width:100%}
.domain-figure-title::after{content:'';display:block;width:25px;height:2px;background:var(--di-accent);opacity:.75;margin-top:9px}
.domain-figure svg{display:block;width:100%;height:auto;overflow:visible}
.domain-figure svg text{fill:var(--fg);font:11px var(--body)}
.domain-figure svg .di-small{font-size:10px}
.domain-figure svg .di-math{font:italic 15px var(--display)}
.domain-figure svg .di-symbol{font:italic 24px var(--display);fill:var(--fg)}
.domain-figure svg .di-table-title{font:14px var(--display)}
.domain-figure svg .di-accent-label{font:12px var(--body);fill:var(--di-accent)}
.domain-figure .di-node rect,.domain-figure .di-table-bg{fill:var(--di-node);stroke:var(--line-strong);stroke-width:1.2}
.domain-figure .di-latent rect{stroke-dasharray:5 4;fill:var(--surface)}
.domain-figure .di-edge,.domain-figure .di-axis,.domain-figure .di-accent,.domain-figure .di-guide,.domain-figure .di-guide-accent,.domain-figure .di-muted,.domain-figure .di-table-rule{fill:none;stroke:var(--di-ink);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.domain-figure .di-accent{stroke:var(--di-accent);stroke-width:1.8}
.domain-figure .di-muted{stroke:var(--quiet);stroke-width:1.7}
.domain-figure .di-guide{stroke:var(--quiet);stroke-dasharray:4 4;stroke-width:1.1}
.domain-figure .di-guide-accent{stroke:var(--di-accent);stroke-dasharray:4 4;stroke-width:1.2}
.domain-figure .di-table-rule{stroke:var(--line-strong);stroke-width:.8}
.domain-figure .di-ink-fill{fill:var(--di-ink)}
.domain-figure .di-accent-fill{fill:var(--di-accent)}
.domain-figure .di-muted-fill{fill:var(--quiet)}
.domain-figure .di-header-fill{fill:var(--accent-soft)}
.domain-figure .di-inference-bg{fill:var(--accent-soft);stroke:var(--line-strong);stroke-width:1}
.domain-figure .di-open-dot{fill:var(--surface);stroke:var(--di-accent);stroke-width:1}
.domain-figure .di-scatter{fill:var(--di-accent);opacity:.32}
.domain-figure .di-missing-cell{fill:var(--surface);stroke:var(--line-strong);stroke-dasharray:3 3}
@media(max-width:1100px){.page-heading.with-domain-illustration{grid-template-columns:minmax(0,1fr) minmax(240px,330px);gap:20px}.domain-figure{padding:13px 15px 9px}.domain-figure-title{font-size:17px}}
@media(min-width:861px) and (max-width:1000px){.page-heading.with-domain-illustration h1{font-size:34px}}
@media(max-width:700px){.page-heading.with-domain-illustration{grid-template-columns:1fr;gap:14px;padding:23px 0 15px}.page-heading.with-domain-illustration h1{margin:0}.domain-figure{max-width:360px;justify-self:start}.domain-figure-title{font-size:17px}}
@media print{.domain-figure{break-inside:avoid}}

