/* Isolated publication integration: the site's own theme preference is reused. */
.report-site-nav{grid-template-columns:minmax(80px,1fr) auto minmax(0,1fr);gap:14px}
.report-site-nav .languages{display:flex;justify-content:flex-end;align-items:center;gap:18px;justify-self:end;min-width:0;font-size:13px}
.report-site-nav .writing-back,.report-site-nav .history-entry-link{white-space:nowrap}
.report-site-nav .languages .site-theme-toggle{margin-left:0}
.report-site-nav .mobile-contents{flex:none}.report-site-nav .mobile-contents nav{z-index:30}
.article-footer{gap:18px;flex-wrap:wrap}
@media(max-width:760px){.report-site-nav{gap:8px;grid-template-columns:auto 1fr auto}.report-site-nav .languages{gap:10px;font-size:12px}.report-site-nav .writing-back{font-size:12px}.report-site-nav .edition-current{justify-self:center;font-size:15px;padding:6px 7px 10px}.report-site-nav .languages .site-theme-toggle{width:28px;min-width:28px}.mobile-contents nav{position:fixed;left:24px;right:24px;top:72px;width:auto}.article-footer{font-size:12px}}
@media screen{
html[data-theme=dark] .mobile-contents nav{background:var(--theme-surface);border-color:var(--line);box-shadow:0 10px 28px #080e1438}
html[data-theme=dark] :is(.figure-toolbar,.value-strip,.score-strip>div,.decomposition,.step-example,.references,.article-footer){border-color:var(--line)}
html[data-theme=dark] .blog-article :is(.article-meta,.result-context,.a3-note,.a3-example-note,.ile-micro){color:var(--muted)!important}
html[data-theme=dark] .interactive-figure :is(button,select),html[data-theme=dark] .step-example button{color:var(--link);background:transparent}
html[data-theme=dark] :is(.interactive-figure button,.step-example button):hover{color:var(--heading);border-bottom-color:var(--green)}
html[data-theme=dark] .interactive-figure button[aria-pressed=true]{color:var(--heading);border-bottom-color:var(--green)}
html[data-theme=dark] .select-label select{background:var(--theme-page);color:var(--ink)}
html[data-theme=dark] .blog-article .lab-insight,html[data-theme=dark] .ile-evidence-row[data-available=true] output{color:#bdd0ad}
html[data-theme=dark] .interactive-figure .plot-text,html[data-theme=dark] .interactive-figure .plot-axis-label{fill:#b6c0ba}
html[data-theme=dark] .interactive-figure .plot-axis{stroke:#72807f}
html[data-theme=dark] .interactive-figure .plot-grid{stroke:#344248}
html[data-theme=dark] .interactive-figure .plot-curve{stroke:#b1c69a}
html[data-theme=dark] .interactive-figure .plot-other{stroke:#9aa8b1}
html[data-theme=dark] .interactive-figure .plot-guide{stroke:#859b76}
html[data-theme=dark] .interactive-figure .plot-dot{fill:#b1c69a;stroke:var(--theme-page)}
html[data-theme=dark] .interactive-figure .plot-opt{fill:var(--theme-page);stroke:#b1c69a}
html[data-theme=dark] .interactive-figure svg [fill=white]{fill:var(--theme-page)}
html[data-theme=dark] .interactive-figure svg [fill="#71855f"],html[data-theme=dark] .interactive-figure svg [fill="#849080"]{fill:#b1c69a}
html[data-theme=dark] .interactive-figure svg [stroke="#71855f"],html[data-theme=dark] .interactive-figure svg [stroke="#849080"]{stroke:#b1c69a}
html[data-theme=dark] .interactive-figure svg [stroke="#b5b7b1"]{stroke:#87918a}
html[data-theme=dark] .interactive-figure svg [fill="#a77a4b"]{fill:#d8ac82}
html[data-theme=dark] .interactive-figure svg [stroke="#a77a4b"]{stroke:#d8ac82}
html[data-theme=dark] .result-selected{background:#26332b}
html[data-theme=dark] .a3-bar-track,html[data-theme=dark] .ile-track{background:#2c393d}
html[data-theme=dark] .a3-bar-track i{background:#89978d}
html[data-theme=dark] .a3-focus .a3-bar-track i,html[data-theme=dark] .ile-track>span{background:#b0c49e}
html[data-theme=dark] :is(.a3-focus>span,.a3-equation-result){color:#c0d5ad!important}
html[data-theme=dark] .ile-track>.ile-obligation{background:#a5b2bb}
html[data-theme=dark] .ile-track>[data-shortfall=true]{background:#d5ad89}
html[data-theme=dark] .ile-evidence-row[data-selected=true]::before{border-color:var(--green)}
html[data-theme=dark] .a3-controls select{border-color:var(--line)}
html[data-theme=dark] .interactive-figure input[type=range]{accent-color:#b1c69a;appearance:none;background:transparent}
html[data-theme=dark] .interactive-figure input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:3px;background:#52635b}
html[data-theme=dark] .interactive-figure input[type=range]::-webkit-slider-thumb{appearance:none;width:14px;height:14px;margin-top:-5px;border-radius:50%;background:#b1c69a;border:0}
html[data-theme=dark] .interactive-figure input[type=range]::-moz-range-track{height:4px;border-radius:3px;background:#52635b}
html[data-theme=dark] .interactive-figure input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#b1c69a;border:0}
html[data-theme=dark] dialog.trajectory-dialog{background:var(--theme-page)}
html[data-theme=dark] dialog.trajectory-dialog::backdrop{background:#080e14c4}

/* Loaded as the final stylesheet inside each existing open diagram Shadow DOM. */
:host([data-theme=dark]){color-scheme:dark;color:#dce0dc;--publication-page:#171d21;--publication-surface:#222c30;--publication-line:#435156;--publication-muted:#b1bcb5}
:host([data-theme=dark]) [data-diagram-style]{--diagram-ink:#dce0dc;--diagram-muted:#b1bcb5;--diagram-line:#b2bdb5;--diagram-border:#91a18e;--diagram-accent:#b1c69a;--diagram-accent-ink:#c2d6b3;--diagram-failure:#d8ac82;--diagram-paper:#171d21;--diagram-soft:#27352a;--diagram-warm:#3b3025}
:host([data-theme=dark]) :is(.tm-shell,.tm-toolbar,.tm-breadcrumb,.tm-replay,.tm-status,.tm-navigator,.tm-aside){background:var(--publication-page)!important;color:#dce0dc;border-color:var(--publication-line)!important}
:host([data-theme=dark]) :is(.tm-viewport,.canvas){background-color:var(--publication-page)!important;color:#dce0dc}
:host([data-theme=dark]) :is(button,select){color:#becfbb!important;background:transparent!important;border-color:#52634f!important}
:host([data-theme=dark][data-reader-ready]) [data-expand]{color:#becfbb!important}
:host([data-theme=dark]) :is(button,select):hover{color:#eff3e9!important;background:#26322e!important}
:host([data-theme=dark]) :is(select option,.tm-aside){background:#222c30!important}
:host([data-theme=dark]) :is(.tm-scale,.tm-status,.tm-aside small,.tm-aside dt,.tm-toolbar::after){color:#b1bcb5!important}
:host([data-theme=dark]) .canvas :is(.node,.event,.checkpoint,.restore,.bundle){color:#dce0dc!important;background:#222c30!important;border-color:#91a18e!important;background-image:none!important}
:host([data-theme=dark]) .canvas :is(.node.soft,.event.soft,.checkpoint.soft,.restore.soft,.bundle.soft){background-color:#27352a!important;border-color:#a7be8c!important;background-image:radial-gradient(#a8c39238 .5px,transparent .65px)!important;background-size:5px 5px!important}
:host([data-theme=dark]) .canvas .node.failed{background-color:#3b3025!important;border-color:#d0a47c!important}
:host([data-theme=dark]) .canvas :is(.sub,.note,.edge-label,.label,.key,.index,.legend){color:#b1bcb5!important}
:host([data-theme=dark]) .canvas .label.heading{color:#e6ece1!important}
:host([data-theme=dark]) .canvas :is(.label,.edge-label,.note){background-color:var(--publication-page)!important}
:host([data-theme=dark]) .canvas :is(.group,.workspace){background:#1e282b!important;border-color:#72836d!important}
:host([data-theme=dark]) .canvas .rule{border-color:#435156!important}
:host([data-theme=dark]) .canvas .edge{border-top-color:#aebcaf!important}
:host([data-theme=dark]) .canvas .edge.arrow::after{border-left-color:#aebcaf!important}
:host([data-theme=dark]) .canvas .edge.feedback{border-top-color:#b1c69a!important}
:host([data-theme=dark]) .canvas .edge.feedback.arrow::after{border-left-color:#b1c69a!important}
:host([data-theme=dark]) .canvas .is-active:not(.connection){outline-color:#bfd3ae!important}
:host([data-theme=dark]) .canvas [data-drill]::after{color:#b1c69a}
:host([data-theme=dark]) :is(button,select,[tabindex]):focus-visible{outline-color:#c4d3bc}
:host([data-theme=dark]) .tm-minimap{background:#202a2b}
:host([data-theme=dark]) .tm-minimap-frame{border-color:#b1c69a;background:#b1c69a18}
}
@media print{.report-site-nav .languages{display:none!important}}
