/* ITMAEN official SDS reference palette — scoped to main app; preserves dark mode and semantic warning states. */
:root{--bg:#f6faff;--s1:#fff;--s2:#edf5fc;--ink:#092542;--ink2:#48627d;--line:#c8d8e8;--brand:#075fc9;--brand-ink:#fff;--cy:#138bd6;--teal:#0875bc;--soft:#e8f3ff;--orb1:#e8f3ff;--orb2:#8cc7f7;--orb3:#075fc9;--fb:'IBM Plex Sans Arabic',Tahoma,Arial,sans-serif;--fd:'Cairo','IBM Plex Sans Arabic',Tahoma,sans-serif}
body{background:radial-gradient(ellipse at 92% 4%,rgba(40,168,230,.09),transparent 32%),#f6faff;color:var(--ink)}
#app{background:linear-gradient(180deg,#fff,#f6faff 70%)}
.appbar{background:linear-gradient(110deg,#064da7,#086acb 68%,#138bd6)!important;border-bottom:1px solid rgba(255,255,255,.24);box-shadow:0 5px 18px rgba(5,69,145,.2)}
.appbar .ab-name,.appbar .ab-name b,.appbar .ab-name span{color:#fff!important}
.card,.art,.tile,.path,.row,.model-card,.organ-detail{border-color:#c8d8e8;box-shadow:0 4px 14px rgba(7,55,105,.07)}
h1,h2,h3{font-family:var(--fd);font-weight:600}
.wlc h1,.wname,.wh{color:#071f3d}
.ov.wl,.ov.wl.splash,.ov.wl.language-step,.ov.wl.select-step{background:linear-gradient(180deg,#fff,#f5faff)!important;color:#092542}
.glass-btn,.select-step .itile{background:#fff;color:#123e6c;border-color:#c8d8e8}
.select-step .itile.on{background:#dceeff;color:#092542;border-color:#075fc9}
.wbtn,.select-step .wbtn{background:linear-gradient(135deg,#075fc9,#0877d9);color:#fff;border:1px solid rgba(255,255,255,.15);box-shadow:0 8px 18px rgba(7,95,201,.2)}
.btn:not(.ghost),.sendbtn,.chip.on,.part-filter.on{background:#075fc9;color:#fff}
.btn.ghost{color:var(--ink);background:#fff;border-color:var(--line)}
.askbar,.sinput{background:#fff;border:1px solid #c8d8e8;box-shadow:0 4px 14px rgba(7,55,105,.07)}
.nav{background:rgba(255,255,255,.97);border-color:#dce7f1}
.nb.on,.nb.on .ic{color:#075fc9}
.feature{background:linear-gradient(135deg,#064da7,#0877d9);color:#fff}
.feature h3,.feature .sm,.feature .pill{color:#fff}
.model-stage{background:linear-gradient(140deg,#fff,#e8f3ff)}
:root[data-theme=dark]{--bg:#0b1d31;--s1:#102a43;--s2:#143451;--ink:#f1f7ff;--ink2:#b7cde3;--line:#365c7d;--brand:#72b9ff;--brand-ink:#082744;--cy:#8cc7f7;--teal:#6bb8ee;--soft:#193a59}
:root[data-theme=dark] body,:root[data-theme=dark] #app{background:#0b1d31;color:var(--ink)}
:root[data-theme=dark] .card,:root[data-theme=dark] .art,:root[data-theme=dark] .tile,:root[data-theme=dark] .path,:root[data-theme=dark] .row{background:var(--s1);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] .ov.wl,:root[data-theme=dark] .ov.wl.splash,:root[data-theme=dark] .ov.wl.language-step,:root[data-theme=dark] .ov.wl.select-step{background:#102a43!important;color:#f1f7ff}
:root[data-theme=dark] .wlc h1,:root[data-theme=dark] .wname,:root[data-theme=dark] .wh{color:#f1f7ff}
:root[data-theme=dark] .nav,:root[data-theme=dark] .askbar,:root[data-theme=dark] .sinput{background:#102a43;border-color:#365c7d}
:root[data-theme=dark] .btn.ghost{background:#143451;color:#f1f7ff}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0b1d31;--s1:#102a43;--s2:#143451;--ink:#f1f7ff;--ink2:#b7cde3;--line:#365c7d;--brand:#72b9ff;--brand-ink:#082744;--cy:#8cc7f7;--teal:#6bb8ee;--soft:#193a59}}
@media(prefers-reduced-motion:reduce){.fl,.ecg .run,.orb,.orb::before{animation:none!important}}
