/* Delaris V9.2 Final: non-switchable light palette. Loaded after legacy CSS. */
:root,html,html[data-theme=light],html[data-theme=dark]{color-scheme:light!important;--bg:#f6f8fc;--panel:#fff;--panel2:#edf4f9;--text:#173448;--muted:#557083;--line:#dce8f0;--gold:#0b6e83;--gold2:#07576f;--primary:#0a7187;--shadow:0 16px 36px rgba(20,64,87,.08)}
body{background:var(--bg)!important;color:var(--text)!important}html{scrollbar-gutter:stable}h1,h2,h3,h4{color:var(--text)}.theme{display:none!important}
/* Prevent legacy dark-only surfaces from obscuring content when user OS is dark. */
.header,footer,.form-card,.card,.solution-card,.v8-capabilities,.v8-image-card,.v8-support,.guide-card,.v9c-item,.v9c-card,.v9c-intro,.v9c-empty{background-color:#fff;color:#173448}
input,textarea,select{background:#fff!important;color:#173448!important;border-color:#c7dbe6!important;color-scheme:light}
input::placeholder,textarea::placeholder{color:#687e8c}.errorlist{color:#9e2b3f!important}.button.secondary{color:#173448!important}
html,body,main,.shell,section,article{min-width:0}img,svg,video,canvas{max-width:100%}.shell{width:min(1160px,calc(100% - 36px))}
.v8-hero-grid{grid-template-columns:minmax(0, .9fr) minmax(0,1.1fr);align-items:center;gap:clamp(20px,3vw,45px)}.v8-hero-copy h1{font-size:clamp(25px,2.9vw,40px)!important;line-height:1.6!important}
/* Hero laptop, phone and real SVG candlestick elements — no chart bitmap. */
.v92-device-scene{position:relative;padding:18px 4px 31px;direction:ltr;isolation:isolate}.v92-laptop{position:relative;width:100%;filter:drop-shadow(0 26px 25px rgba(26,66,95,.16))}.v92-laptop-display{position:relative;overflow:hidden;background:#fbfdff;border:10px solid #243c51;border-bottom-width:13px;border-radius:15px 15px 6px 6px;box-shadow:inset 0 0 0 1px #7292a0;aspect-ratio:1.40}
.v92-terminal-bar{height:33px;display:flex;align-items:center;gap:9px;padding:0 13px;background:#172c40;color:#e8f2f5;font-size:10px;letter-spacing:.5px}.v92-terminal-dots{display:flex;gap:5px;margin-right:8px}.v92-terminal-dots i{display:block;width:7px;height:7px;border-radius:50%;background:#b9c7d4}.v92-terminal-dots i:first-child{background:#eb9c87}.v92-terminal-dots i:nth-child(2){background:#e6c77a}.v92-terminal-dots i:nth-child(3){background:#8ac5ae}.v92-terminal-status{margin-left:auto;color:#9ce4d0;border:1px solid #456d6f;border-radius:4px;padding:2px 6px;font-size:9px}
.v92-terminal-head{padding:10px 14px;display:flex;justify-content:space-between;align-items:center;gap:8px;background:#fff;border-bottom:1px solid #e7edf2}.v92-terminal-head small{display:block;direction:rtl;color:#718797;font-size:9px}.v92-symbol-label{font-size:13px;font-weight:800;color:#20394e}.v92-timeframes{display:flex;gap:4px}.v92-timeframes button{border:1px solid #d6e5ea;color:#517488;background:#eef6f9;padding:4px 8px;border-radius:6px;font-size:9px}.v92-timeframes button.is-active{color:#fff;background:#087b8a;border-color:#087b8a}
.v92-chart-holder{position:relative;background:#fff;height:calc(100% - 111px);padding:5px 7px}.v92-chart{display:block;width:100%;height:calc(100% - 20px);max-height:none;overflow:visible}.v92-axis{display:flex;justify-content:space-between;color:#92a5b1;font:9px sans-serif;padding:0 14px}.v92-terminal-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #edf2f5;height:24px;padding:0 14px;color:#647e8d;font-size:9px}.v92-up-dot{display:inline-block;width:7px;height:7px;background:#20a98c;border-radius:50%;margin-right:5px}.v92-laptop-keyboard{height:17px;width:111%;margin-left:-5.5%;background:linear-gradient(#e1e9ef,#a9b8c5);border:1px solid #9eaebc;border-radius:0 0 46% 46%;position:relative;box-shadow:0 5px 6px #55738a25}.v92-laptop-keyboard span{display:block;margin:auto;width:19%;height:6px;background:#a6b8c5;border-radius:0 0 10px 10px}
.v92-mobile{position:absolute;bottom:4px;right:-13px;width:27%;height:57%;border:6px solid #243e52;border-radius:24px;background:#fff;box-shadow:0 15px 35px #194a6160;z-index:2;overflow:hidden;max-width:155px}.v92-mobile-notch{position:absolute;top:-1px;left:35%;width:30%;height:10px;background:#243e52;border-radius:0 0 8px 8px;z-index:2}.v92-mobile-content{height:100%;padding:14px 9px 8px;position:relative;display:flex;flex-direction:column}.v92-phone-head{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#19384b;margin-bottom:10px}.v92-phone-head span{color:#189b85}.v92-mobile-content small{font-size:7px;color:#7393a0}.v92-mobile-content b{font-size:12px;color:#2e5369}.v92-mobile-content svg{width:100%;flex:1;min-height:30px}.v92-phone-metrics{display:flex;gap:6px}.v92-phone-metrics span{flex:1;background:#e7f6ef;color:#067858;border-radius:5px;font-size:8px;font-weight:700;text-align:center;padding:5px 0}.v92-phone-metrics span+span{background:#fff0f0;color:#a33e50}.v92-phone-tag{position:absolute;bottom:44px;left:8px;font:8px sans-serif;color:#4e8c95}
.v92-demo-note{font-size:10px;line-height:1.8!important;direction:rtl;text-align:center;color:#5a7588;margin:22px 0 0}.v92-grid{pointer-events:none}.v92-chart .v92-candle-up{stroke:#0e9f85;fill:#0e9f85}.v92-chart .v92-candle-down{stroke:#e06468;fill:#e06468}
/* Original V8 intro presentation retained, now with canonical logo. */
.v7-intro{z-index:100!important}.v7-intro-mark{object-fit:contain}.v7-intro-title{letter-spacing:0!important;direction:rtl}
.v9c-nav-dropdown{position:relative;z-index:41}.v9c-nav-dropdown>div{z-index:42}
@media(max-width:1000px){.v8-hero-grid{grid-template-columns:1fr}.v92-device-scene{max-width:750px;margin:auto}.v8-hero-copy{max-width:780px}.v9c-nav-dropdown{width:100%}}
@media(max-width:650px){.shell{width:calc(100% - 28px)}.v8-hero-copy h1{font-size:clamp(24px,6.7vw,30px)!important}.v92-laptop-display{border-width:6px;border-bottom-width:9px;aspect-ratio:1.32}.v92-mobile{right:-4px;border-width:4px;border-radius:14px}.v92-terminal-head{padding:6px}.v92-terminal-bar{height:25px}.v92-chart-holder{height:calc(100% - 91px)}.v92-terminal-bottom{height:21px;font-size:7px}.v92-terminal-head small{display:none}.v92-demo-note{padding:0 9px}.v92-phone-head{margin-bottom:4px}.v92-mobile-content{padding:12px 5px 6px}.v92-phone-metrics span{font-size:7px;padding:3px 0}}
@media(prefers-reduced-motion:reduce){.v92-chart *{animation:none!important;transition:none!important}}

/* readable selections, alerts, tables and responsive admin/login forms */
::selection{background:#bde9e9;color:#133c4a}
input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #0b7c91!important;outline-offset:2px}
.notice,.form-card,.workspace-side,.invoice-grid>div,.market-workspace{color:#203d50;background:#fff!important;border-color:#d9e7ee!important}
.form-layout h1,.detail h1,.page-intro h1{color:#183b50!important}.form-card .field label,.form-card .helptext{color:#36596d!important}
.form-layout .form-links a{color:#0d617d}.form-layout .form-links a:hover{color:#094557}
@media(max-width:550px){.form-layout{gap:22px;padding-block:30px}.form-card{padding:18px}.v92-device-scene{padding-top:8px}}
