/* Navy navigation, topic artwork and viewport-sized simulation focus. */
:is(.u20-side,.p14-nav,.c206-courseside) :is(a,summary){transition:background-color .18s,color .18s,transform .18s,box-shadow .18s;position:relative;border-radius:9px!important;outline-offset:2px}
:is(.u20-side,.p14-nav,.c206-courseside) :is(a,summary):hover{background:#32608c!important;color:#fff!important;transform:translateX(3px);box-shadow:inset 3px 0 #8fc5ff;text-decoration:none!important}
:is(.u20-side,.p14-nav,.c206-courseside) :is(a,summary):hover :is(span,small,strong){color:#fff!important}
:is(.u20-side,.p14-nav,.c206-courseside) a[aria-current=page]{background:#244d78!important;color:#fff!important;box-shadow:inset 3px 0 #8ddbc8}
:is(.u20-side,.p14-nav,.c206-courseside) :is(a,summary):focus-visible{outline:2px solid #8fc5ff!important;outline-offset:-2px!important}
.u20-side .restore-sidegroup{margin:5px 0;border-radius:10px;border-top:1px solid #7293b344}.u20-side .restore-sidegroup[open]{background:#ffffff07}.u20-side .restore-sidegroup summary::after{transition:transform .2s}.u20-side .restore-sidegroup[open] summary::after{transform:rotate(0)}.u20-side nav,.p14-nav{scrollbar-width:thin;scrollbar-color:#6284a5 transparent}.nav72-filter{margin:8px 4px 12px;display:block!important;color:#d9e9f8!important;font-size:11px}.nav72-filter input{display:block;width:100%;min-width:0;box-sizing:border-box;margin-top:5px;padding:8px 10px;background:#1d3c5b!important;color:white!important;border:1px solid #587c9e;border-radius:9px;font:inherit;font-size:13px}.nav72-filter input::placeholder{color:#bad0e6}.nav72-hidden{display:none!important}
.hero72-ready{position:relative}.hero72-ready :is(.motion-art,.banner-motion,.studio-banner-canvas,.context-scene,.course207-art,.hero-visual,.lab207-banner-fallback){display:none!important}.hero72-ready .art202{display:none!important}.hero72-ready .hero72-art{display:block!important;max-width:100%;width:100%;margin:14px 0 0;padding:10px;box-sizing:border-box;background:#10253c;border:1px solid #6188ac;border-radius:13px;min-width:0;color:#dbeafa}.hero72-art svg{display:block;width:100%;max-height:200px;height:auto}.hero72-art figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:6px;justify-content:space-between;font-size:.75rem;color:#bfd6ee}.hero72-art button{font-size:.75rem!important;padding:6px 9px!important;background:#244d78!important;color:#fff!important;border:1px solid #769abd!important;border-radius:7px}.hero72-art .hero72-flow{animation:hero72-flow 2s linear infinite}.hero72-art[data-paused=true] .hero72-flow{animation-play-state:paused}.hero72-art[data-paused=true] svg{opacity:.95}@keyframes hero72-flow{to{stroke-dashoffset:-34}}.hero72-ready:is(.unified-hero,.c51-hero,.restore-hero,#overview.hero){display:block!important;min-height:0!important;overflow:hidden!important}.hero72-ready .hero72-art{grid-column:1/-1}.hero72-art .hero72-topic{font:600 11px system-ui,sans-serif;letter-spacing:.04em}
.sim72-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:8px 0 13px;padding:8px 10px;border:1px solid #9bb8d4;background:var(--ds-soft,#e4edf8);color:var(--ds-ink,#15304e);border-radius:9px}.sim72-bar button{background:#24568e!important;color:#fff!important;padding:8px 13px!important;border-radius:8px!important}.sim72-bar small{font-size:.8rem}.sim72-dialog{position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;box-sizing:border-box!important;border:0!important;padding:0!important;background:var(--ds-canvas,#f1f5fa)!important;color:var(--ds-ink,#172d46)!important;overflow:auto!important;z-index:2147483000!important}.sim72-dialog::backdrop{background:#10253c}.sim72-dialog .sim72-heading{position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 20px;background:#122b48;color:#fff}.sim72-dialog .sim72-heading button{background:#fff!important;color:#122b48!important;border-radius:8px;padding:8px 12px}.sim72-dialog .sim72-content{padding:clamp(10px,2vw,26px);max-width:1450px;margin:auto;box-sizing:border-box}.sim72-dialog .sim72-content>.x183-simulation,.sim72-dialog .sim72-content>#v191-lens,.sim72-dialog .sim72-content>section{width:100%!important;max-width:none!important;min-width:0!important;margin:0 0 12px!important;box-sizing:border-box!important}.sim72-dialog .sim72-content .sim72-bar{display:none}.sim72-dialog .sim72-content svg:not(.motion-icon):not(.ds-icon){max-width:100%;height:auto}.sim72-dialog .sim72-content .m72-visual svg{max-height:68dvh}.sim72-dialog .sim72-content .lab61-model-guide{max-width:none!important}.sim72-dialog .sim72-content .x183-sim-head .v191-button{display:none!important}body.sim72-open{overflow:hidden!important}
.m72-panel{margin:14px 0 20px;padding:clamp(12px,2vw,22px);border:1px solid #9dbbd7;border-radius:14px;background:var(--ds-surface,#fff);color:var(--ds-ink,#17334e);min-width:0}.m72-eyebrow{font-size:.75rem;font-weight:800;letter-spacing:.08em;color:var(--ds-link,#24568e)}.m72-panel h2{margin:8px 0!important}.m72-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.m72-panel label{display:block;font-size:.85rem;font-weight:600;min-width:0}.m72-panel :is(input,select){max-width:100%;box-sizing:border-box;border:1px solid #9dbbd7;border-radius:7px;padding:8px;background:var(--ds-surface,#fff);color:var(--ds-ink,#17334e)}.m72-inputs input,.m72-panel input[type=range]{display:block;width:100%}.m72-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.m72-actions button{font-size:.83rem;min-height:38px}.m72-visual{background:#10253c;border-radius:12px;margin:10px 0}.m72-visual svg{display:block;width:100%;height:auto}.m72-visual [data-merkle-node]{cursor:pointer}.m72-visual [data-merkle-node]:hover rect,.m72-visual [data-merkle-node]:focus rect{stroke:#f1c77c;stroke-width:3}.m72-inspect{padding:12px;background:var(--ds-soft,#e4edf8);border-radius:9px}.m72-panel pre{white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-all!important;max-width:100%;font-size:.82rem!important;padding:10px!important;background:#10253c!important;color:#e4f1fe!important;border-radius:8px}.m72-status{overflow-wrap:anywhere;font-size:.85rem;font-weight:600}.m72-pass,.m72-fail{display:block;padding:10px;border-radius:8px}.m72-pass{background:#d7f3e7;color:#14543b}.m72-fail{background:#ffe5de;color:#8e3024}.m72-panel [data-proof]{margin:10px 0}.m72-panel [data-proof] pre{margin:6px 0}.m72-panel button:disabled{opacity:.45;cursor:not-allowed}
@media(min-width:900px){.hero72-ready:not(#overview){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(250px,38%);column-gap:18px;align-items:center}.hero72-ready:not(#overview)>:not(.hero72-art){grid-column:1}.hero72-ready:not(#overview)>.hero72-art{grid-column:2;grid-row:1/span 12;margin:0;align-self:center}.hero72-ready#overview{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,40%);align-items:center;gap:16px}.hero72-ready#overview>.hero72-art{grid-column:2;margin:0}}
@media(max-width:650px){.m72-inputs{grid-template-columns:1fr}.sim72-dialog .sim72-heading{padding:10px}.sim72-dialog .sim72-heading strong{font-size:.85rem}.m72-panel .m72-actions{gap:5px}.hero72-art svg{max-height:155px}.nav72-filter{margin:6px}}
@media(prefers-reduced-motion:reduce){:is(.u20-side,.p14-nav,.c206-courseside) :is(a,summary){transition:none;transform:none!important}.hero72-art .hero72-flow{animation:none!important}}

/* Keep the complete tree visible alongside its playback controls. */
.sim72-dialog .sim72-content .m72-visual svg{max-height:42dvh}.x183-sim-head .v191-button{display:none!important}.hero72-ready#overview>.hero72-art{grid-area:1/2!important;width:100%!important}.hero72-ready#overview>.hero72-art svg{max-height:none}.hero72-ready#overview>div:first-child{grid-area:1/1!important}.hero72-art .hero72-flow{stroke-linecap:round}.u20-side nav a,.p14-nav a{min-height:34px}.u20-side nav a:hover,.p14-nav a:hover{background:linear-gradient(90deg,#32608c,#284d73)!important}.nav72-filter input:focus{box-shadow:0 0 0 3px #8fc5ff55}.hero72-ready .hero72-art svg text{font-family:system-ui,sans-serif}
@media(max-width:899px){.hero72-ready#overview>.hero72-art{grid-area:auto!important}}

/* Restore the original, richer homepage illustration; preserve compact topic artwork beside headings. */
.hero72-ready h1>.art202{display:inline-block!important;width:48px!important;height:34px!important;object-fit:contain!important;vertical-align:middle;margin-right:8px}.hero72-ready#overview h1>.art202{display:none!important}.hero72-ready#overview .hero72-art svg{max-height:240px}.hero72-ready#overview>.hero72-art{max-width:100%}.hero72-ready#overview{padding:clamp(18px,3vw,34px)!important}
@media(min-width:1000px){#main #overview.hero.hero72-ready{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(220px,.9fr)!important;grid-template-rows:auto!important;gap:20px!important;align-items:center!important}#main #overview.hero.hero72-ready>div:first-child{grid-column:1!important;grid-row:1!important}#main #overview.hero.hero72-ready>.hero72-art{grid-column:2!important;grid-row:1!important;align-self:center!important}}
