/* The fixed .scene is the only wallpaper. Dialogs reveal the same image and crop. */
dialog{background:#0c1726d9!important;background-image:none!important;box-shadow:0 20px 65px #0007,inset 0 1px #c9e2ff18}
dialog::backdrop{background:#03070c45;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.dialog-shell,.dialog-scroll{background:transparent}
html:has(dialog[open]) .card{visibility:hidden}
/* v34: one navy material system for every infographic, including expanded examples.
   Saturated reference colours belong to diagram pieces, never to reading surfaces. */
.atlas{
 --ink:#eff5ff;--muted:#bacde2;--line:#34506c;--paper:#142235;
 color:var(--ink);background:linear-gradient(145deg,#18293d,#101b2b 78%);
 border-color:#38516d;box-shadow:inset 0 1px #c9e2ff12,0 8px 22px #0004;
 color-scheme:dark;
}
.atlas .atlas-focus-copy{background:#1b3047;border-inline-start-color:#68aeff;color:var(--ink)}
.atlas .atlas-focus-copy>strong{color:#f4f8ff}
.atlas .atlas-focus-copy>p,.atlas .research-measure>p,.atlas .research-example{color:var(--muted)}
.atlas .research-measure{background:#142437;color:var(--ink);border:1px solid #324b65}
.atlas .workflow-gate{background:#17344a;color:#d4eaff;border-color:#427393}
.atlas .atlas-deep-dive,.atlas .research-sources{border-color:var(--line)}
.atlas .atlas-deep-dive summary,.atlas .research-sources>a{color:#9acbff!important}
.atlas .atlas-caption{color:var(--muted)!important}
.atlas .atlas-node{background:linear-gradient(145deg,#223b54,#172a40);border-color:#456581;color:var(--ink);box-shadow:inset 0 1px #c9e2ff12,0 3px 8px #0003!important}
.atlas .atlas-node small{color:var(--muted)}
.atlas .atlas-node.is-active{background:linear-gradient(135deg,#224f7d,#1a3959);border-color:#80baff;box-shadow:inset 3px 0 #80baff!important}
.atlas .atlas-node.is-active small{color:#e0edff}
.atlas .atlas-icon{color:#9fcfff}
.atlas .atlas-chip,.atlas .atlas-source-row .atlas-chip,.atlas .web-baseline .atlas-chip{background:#213a52;border-color:#486985;color:#dcecff}
.atlas .atlas-flow{color:#8ec6ff}.atlas .atlas-flow b{background:#142437}
.atlas .atlas-outcome{background:#18384d;border-color:#427c99;color:#e4f4ff}
.atlas :is(.web-blueprint,.ai-workspace,.automation-compare section,.system-layer,.roadmap-ledger>section,.opportunity-lanes>section,.time-scenarios>section){background:linear-gradient(145deg,#1d334a,#142337);border-color:#3c5d7b;box-shadow:0 4px 0 #091521,0 8px 14px #0003}
.atlas .web-chrome{background:#213b54;color:#c5e1ff;border-color:#496a88}
.atlas :is(.social-entry>span,.approval-gate,.destination-hub,.security-core){background:linear-gradient(145deg,#25405b,#192c40);border-color:#4d7194;color:#ecf5ff;box-shadow:inset 0 1px #a8d1ff22,0 5px 12px #0004}
.atlas :is(.social-exits p,.approval-gate>span,.friction-note,.automation-compare p,.review-tick,.owner-decision,.roadmap-ledger ul,.roadmap-gate,.retry-path,.security-core small,.control-matrix p,.intervention span){color:var(--muted)}
.atlas :is(.friction-note strong,.review-tick b,.owner-decision strong,.retry-path b,.control-matrix p span){color:#9bcbff}
.atlas .automation-compare li{background:#243b52;border-color:#42617d;color:#e3eeff}
.atlas .system-layer .atlas-node{background:transparent;box-shadow:none!important}
.atlas .system-layer.current-layer{background:linear-gradient(130deg,#235d91,#1a3b5a)}
.atlas .brand-emblem{background:#1e3650;box-shadow:inset 0 1px #b3d5ff33,3px 6px 10px #0004}
.atlas .type-specimen{background:#1b3048;color:#f0f6ff}
.atlas .validation-gate{background:#1c3a4e;border-color:#6394b1;color:#d9efff}
.atlas .sample-record{background:#1b3045;border-color:#4b657d;color:#e8f0ff}
.atlas .sample-record b{color:#a6d1ff}
.atlas .sample-record span:last-child{color:#ebcdac}
.atlas .data-quality .duplicate{background:#392a2d;border-color:#cb8e74}
.atlas .data-quality .field-warning{background:#4a3821;color:#ffe0a0}
.atlas .data-quality .clean-record{background:#173d3b;border-color:#49b5a4}
.atlas .sample-record.clean-record span:last-child{color:#b4eee1}
.atlas :is(.intervention,.roadmap-gate,.retry-path){border-color:#4a6a84}
.atlas :is(.time-equation>b,.time-equation>strong,.time-scenarios dd){color:#a9d5ff}
.atlas :is(.time-equation>span,.time-scenarios dt,.time-scenarios span,.time-scenarios>section>div>span){color:#c2d4e7}
.atlas .time-scenarios>section{box-shadow:0 4px 0 #081622,0 8px 12px #0003}
.atlas .time-scenarios>section.is-current{outline-color:#68c6d1}
.atlas .time-ring{border-color:#496580;background:conic-gradient(#10bcb2 0 var(--share),#2c455a var(--share) 100%);box-shadow:0 4px 0 #091d2b,0 8px 10px #0005}
.atlas .time-scenarios>section:nth-child(2) .time-ring{background:conic-gradient(#ec2784 0 var(--share),#2c455a var(--share) 100%)}
.atlas .time-ring:before{background:linear-gradient(145deg,#27435e,#17283b);border-color:#537491}
.atlas .time-ring b{color:#eff8ff}
/* Dark ceramic inserts replace white petals and center medallions. */
.atlas .segment-surface linearGradient[id$="-paper"] stop:first-child{stop-color:#2c4661}
.atlas .segment-surface linearGradient[id$="-paper"] stop[offset=".7"]{stop-color:#20364c}
.atlas .segment-surface linearGradient[id$="-paper"] stop:last-child{stop-color:#132335}
.atlas :is(.label-petal,.label-disc,.label-leaf){color:#eff6ff}
.atlas .sculpture-label .atlas-icon{color:inherit}
.atlas .sculpture-core{background:linear-gradient(145deg,#29445f,#17283b);color:#eff6ff;border-color:#435f7c;box-shadow:0 4px 0 #0a1724,0 9px 12px #0005,inset 0 0 0 1px #6c8cac}
.atlas .sculpture-core:before{border-color:#6888a5}
.atlas .sculpture-core i{background:#8aafd0}
.atlas .cycle-direction{color:#a4d0f5}
.atlas .sculpture-core:after{border-top-color:#b9e1ff;border-right-color:#448ad0}
.atlas .sculpture-ground{background:radial-gradient(ellipse,#0007,transparent 70%)}
.atlas .reference-ribbons .reference-ribbon{background:linear-gradient(145deg,#263e56,#192b40);color:var(--ink);border-color:#47637e;box-shadow:0 4px 0 #0a1826,0 8px 12px #0004}
.atlas .ribbon-information strong{color:#f0f6ff}.atlas .ribbon-information small{color:#c0d2e5}
.atlas .ribbon-medallion{background:linear-gradient(145deg,#304e6a,#182c42);border-color:#51718f}
.atlas .ribbon-ring{border-inline-end-color:#49627b;background:#15293e;box-shadow:inset 0 2px 4px #0004,0 4px 0 var(--ribbon-dark),0 7px 9px #0005,0 0 0 2px #54718c}
.atlas .folded-ribbons .reference-ribbon{background:linear-gradient(115deg,var(--ribbon-tone),var(--ribbon-dark));color:var(--ribbon-ink)}
.atlas .folded-ribbons .ribbon-information :is(strong,small){color:var(--ribbon-ink)}
.atlas .folded-ribbons .ribbon-medallion{background:transparent}
.atlas .brand-sample-art{box-shadow:0 3px 0 #091a2a;border:1px solid #47779f;border-top:5px solid #408dce}
.atlas .brand-sample>strong{color:#d5e8ff}
.atlas[data-atlas=architecture] .reference-ribbon:not(:last-child):after{color:#a6ccf0}
.atlas :is(button,a,summary):focus-visible{outline:2px solid #b4dbff;outline-offset:3px}
/* Keep the Persian AI caption below the center without shrinking the type. */
@media(max-width:600px){
 html[lang=fa] .scene-ai .sculpture-label[data-stage="2"]{width:42%}
 html[lang=fa] .scene-ai .sculpture-label[data-stage="2"]>span{white-space:nowrap}
}
@media(max-width:359px){
 html[lang=fa] .scene-ai .sculpture-label[data-stage="2"] .atlas-icon{display:none!important}
}
