/* ATHRTY X800 / shared enterprise visual contract — Genesis staging only.
   A single late-loaded layer; preserve component-specific industry themes inside generated iframes. */
:root{
 --bg:#eef1f0;--paper:#f8f9f7;--ink:#17212a;--muted:#586874;--dark:#111922;--accent:#c7d1d5;
 --control:10px;--x800-focus:#678796;
}
body{color:var(--ink);background:var(--bg)}
body:not(:has(.x5-home)) .global-header{background:#141d26;color:#ecf1f3;border-bottom:1px solid #34434f}
body:not(:has(.x5-home)) .sidebar{background:linear-gradient(180deg,#121a23,#0d141c);color:#d4e0e6;border-right:1px solid #384751}
body:not(:has(.x5-home)) .sidebar nav a{color:#bbcbd5;border-radius:9px}
body:not(:has(.x5-home)) .sidebar nav a:hover{background:#ffffff11;color:#fff}
body:not(:has(.x5-home)) .sidebar nav a.active{background:#e0e7ea;color:#15202a}
body:not(:has(.x5-home)) .sidebar select{background:#27333e;color:#eef1f4;border:1px solid #4a5865}
body:not(:has(.x5-home)) .contextbar{border-bottom:1px solid #d9dedf;color:#5c6b75}
body:not(:has(.x5-home)) #main{min-width:0}
body:not(:has(.x5-home)) .project-row:hover{background:#dee6e7}
body:not(:has(.x5-home)) button.primary{background:#17232e;color:#f3f5f6}
body:not(:has(.x5-home)) button.primary:hover{background:#304151}
body:not(:has(.x5-home)) .form-surface{background:#fff;border:1px solid #d5dfe2}
body:not(:has(.x5-home)) :focus-visible{outline:2px solid var(--x800-focus);outline-offset:3px}
.x5-config{--x5-ink:#18232b;--x5-sand:#e9eef0;--x5-green:#344855;--x5-paper:#f4f6f5;color:#1c2931}
.x5-config .x5-config-head{padding-top:clamp(24px,4vw,55px);border-bottom:1px solid #d5dddf;margin-bottom:18px}
.x5-config .x5-config-head h1{font:600 clamp(39px,5vw,70px)/1.06 Manrope,'DM Sans',sans-serif;letter-spacing:-.068em;color:#15202a}
.x5-config .x5-config-head h1 em{font-family:inherit;font-style:normal;color:#748793}
.x5-config .x5-config-head p{color:#60727d;line-height:1.65}
.x5-config .x5-eyebrow{color:#718591;letter-spacing:.14em}
.x5-config .x5-version{color:#70828d}
.x5-config .x5-spec.x605-journey{background:#141d26;border:1px solid #374754;color:#e6edf0;box-shadow:0 16px 55px #18202a12}
.x5-config .x605-step-nav{background:#202c36}
.x5-config .x605-step-nav button{color:#9cb0bd}
.x5-config .x605-step-nav button[aria-current=step]{background:#d4dee2;color:#15202a;box-shadow:inset 0 0 0 1px #aabac3}
.x5-config .x605-step-nav button[aria-current=step] .x605-step-index{color:#476072}
.x5-config .x605-step-index{color:#95acb9}
.x5-config .x605-step-intro h2{color:#ecf1f3}
.x5-config .x605-step-intro p{color:#a9b9c3}
.x5-config .x605-panel .x5-spec-title{color:#a6b7c1}
.x5-config .x605-panel .x5-spec-brand h2{color:#ecf2f4}
.x5-config .x605-panel .x5-spec-brand p,.x5-config .x605-panel .x5-choice-group p{color:#b5c4cc}
.x5-config .x605-panel .x5-spec-brand,.x5-config .x605-panel .x5-choice-group{border-color:#485864}
.x5-config .x605-panel .x5-choice-list button{background:#24313d;border-color:#455663;color:#e1e9ed}
.x5-config .x605-panel .x5-choice-list button.selected{background:#dbe4e8;border-color:#eef4f5;color:#19232b}
.x5-config .x605-panel .x5-module-list label{background:#23303b;border-color:#415362;color:#e4ebef}
.x5-config .x605-panel .x5-module-list input{accent-color:#bfd0d8}
.x5-config .x605-next,.x5-config .x605-compare-button{background:#d9e3e7!important;color:#19232d!important}
.x5-config .x605-next:hover,.x5-config .x605-compare-button:hover{background:#fff!important}
.x5-config .x605-back{background:#273743;color:#eef3f5;border-color:#495b69}
.x5-config .x605-bottom{border-color:#465562}
.x5-config .x605-bottom .x605-help{color:#b1bfca}
.x5-config .x605-panel .x5-spec-footer{border-color:#465663}
.x5-config .x605-panel .x5-spec-footer p{color:#bdcad2}
.x5-config .x605-direction{background:#1e2b35;border-color:#495b69}
.x5-config .x605-direction-meta span{color:#aebfc9}
.x5-config .x5-stage{background:#121c26;border:1px solid #33414e;box-shadow:0 18px 60px #13192324}
.x5-config .x5-stage-toolbar{color:#e2edf1}
.x5-config .x5-stage-toolbar span{color:#b1c2ce}
.x5-config .x5-device-controls{background:#22313d}
.x5-config .x5-device-controls button{color:#bccbd4}
.x5-config .x5-device-controls button[aria-pressed=true]{background:#d7e1e6;color:#17232d}
.x5-config .x5-frame-wrap{background:#2a3945;border:1px solid #445666}
.x5-config .x5-stage-bottom{color:#afc0ca}
.x5-config #x716-readiness{background:#dfe7ea;border-color:#bbc8cf;color:#21323c}
.x5-config .x800-blueprint{background:linear-gradient(145deg,#121c25,#0f151c)}
@media(max-width:660px){.x5-config .x5-config-head{padding-top:16px}.x5-config .x5-config-grid{gap:14px}.x5-config .x605-step-nav{gap:3px}.x5-config .x605-step-nav button{font-size:10px;padding:11px 7px}.x5-config .x800-head{padding:18px}.x5-config .x5-stage{border-radius:12px}}
@media(prefers-reduced-motion:reduce){.x5-config *{scroll-behavior:auto!important;animation-duration:0.01ms!important;transition-duration:0.01ms!important}}