/* Delaris V9.3 — two accessible themes. Loaded AFTER V7, V8, V9 and V9.2.
   Do not remove the V8 entry experience or the server-rendered chart scene. */
:root,html[data-theme="light"]{
  color-scheme:light!important;
  --bg:#f5f8fc;--panel:#fff;--panel2:#edf4f8;--text:#193245;--muted:#536e81;
  --line:#d8e5ed;--gold:#a77d34;--gold2:#795817;--primary:#0d7387;--teal:#0e8b91;
  --blue:#1f5e98;--shadow:0 18px 46px rgba(20,64,87,.10);
  --v93-glow:rgba(41,144,166,.13);--v93-card:#fff;--v93-deep:#0c2539;
  --v93-input:#fff;--v93-input-text:#193245;--v93-muted-surface:#edf4f8;
  --v93-focus:#0a748a;
}
html[data-theme="dark"]{
  color-scheme:dark!important;
  --bg:#071321;--panel:#102339;--panel2:#1b3047;--text:#f1f6fc;--muted:#b4cada;
  --line:#314961;--gold:#f0c77e;--gold2:#ddad57;--primary:#83dbe9;--teal:#77d6cb;
  --blue:#8dbfed;--shadow:0 22px 58px rgba(0,0,0,.38);
  --v93-glow:rgba(74,178,201,.18);--v93-card:#12283e;--v93-deep:#081421;
  --v93-input:#172c43;--v93-input-text:#eff8ff;--v93-muted-surface:#1b3248;
  --v93-focus:#9be8f3;
}
html{background:var(--bg);scrollbar-gutter:stable}
body{background:var(--bg)!important;color:var(--text)!important;transition:background-color .2s ease,color .2s ease}
html,body,main,.shell,section,article,aside{min-width:0}
:focus-visible{outline:3px solid var(--v93-focus)!important;outline-offset:3px}
::selection{background:var(--teal);color:var(--v93-deep)}
.theme-toggle{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;
  min-height:40px;border:1px solid var(--line);padding:7px 11px;border-radius:12px;
  background:var(--panel);color:var(--text);font:inherit;font-size:12px;line-height:1.3;
  cursor:pointer;box-shadow:0 2px 8px rgba(14,45,67,.06);white-space:nowrap}
.theme-toggle:hover{background:var(--panel2);border-color:var(--teal)}
.theme-toggle-icon{font-size:18px;line-height:1;display:inline-block;min-width:18px;text-align:center}
.theme-toggle-text{font-size:11px;font-weight:750}
.nav-tools{display:flex;align-items:center;gap:7px}
html[data-theme="dark"] .theme-toggle{box-shadow:0 3px 13px rgba(0,0,0,.18)}
/* High-fidelity light and dark site chrome */
.header{background:color-mix(in srgb,var(--panel) 93%,transparent)!important;border-color:var(--line)!important;
 box-shadow:0 8px 26px rgba(8,34,56,.07)}
.brand-wordmark strong,.brand-wordmark small,.nav nav a,.v9c-nav-dropdown>summary{color:var(--text)!important}
.brand-wordmark small{color:var(--muted)!important}
.nav nav a:hover,.v9c-nav-dropdown>summary:hover{color:var(--primary)!important}
.menu-toggle,.nav-tools .account{background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important}
.v9c-nav-dropdown>div,.nav nav{background-color:var(--panel)}
html[data-theme="dark"] .v8-topline{background:#0a2134!important;color:#c5d9e6!important;border-color:#284257!important}
html[data-theme="dark"] .v8-topline a{color:#9cdeeb!important}
html[data-theme="dark"] .v8-hero-wrap{background:radial-gradient(ellipse at 74% 10%,rgba(23,98,132,.34),transparent 58%),linear-gradient(145deg,#091624,#122b42)!important;color:var(--text)!important;border-color:var(--line)}
html[data-theme="dark"] .v8-hero-copy h1{color:var(--text)!important}
html[data-theme="dark"] .v8-hero-copy h1 em{color:var(--gold)!important}
html[data-theme="dark"] .v8-eyebrow{color:#9edbe6!important}
html[data-theme="dark"] .v8-hero-description{color:var(--muted)!important}
html[data-theme="dark"] .v8-hero-trust{color:#b3cbd9!important;border-color:var(--line)!important}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,
html[data-theme="dark"] h4,html[data-theme="dark"] .form-layout h1,
html[data-theme="dark"] .detail h1,html[data-theme="dark"] .page-intro h1{color:var(--text)!important}
html[data-theme="dark"] p,html[data-theme="dark"] li{border-color:var(--line)}
html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .v9c-kicker{color:var(--gold)!important}
html[data-theme="dark"] .section-intro,html[data-theme="dark"] .v8-introduction p,
html[data-theme="dark"] .v8-image-card p,html[data-theme="dark"] .v8-support p,
html[data-theme="dark"] .v9c-card p,html[data-theme="dark"] .v9c-section>p,
html[data-theme="dark"] .v9c-prose,html[data-theme="dark"] .v9c-note,
html[data-theme="dark"] .v9c-faq p{color:var(--muted)!important}
html[data-theme="dark"] .capability-strip{background:#0c2035!important;color:#bdd2e0!important;border-color:var(--line)!important}
html[data-theme="dark"] .header,html[data-theme="dark"] footer,
html[data-theme="dark"] .card,html[data-theme="dark"] .solution-card,
html[data-theme="dark"] .v8-image-card,html[data-theme="dark"] .v8-capabilities,
html[data-theme="dark"] .v8-support,html[data-theme="dark"] .guide-card,
html[data-theme="dark"] .v9c-card,html[data-theme="dark"] .v9c-intro,
html[data-theme="dark"] .v9c-empty,html[data-theme="dark"] .v9c-filter,
html[data-theme="dark"] .v9c-home-grid a,html[data-theme="dark"] .v9c-cta,
html[data-theme="dark"] .route-finder,html[data-theme="dark"] .infrastructure-callout,
html[data-theme="dark"] .final-cta,html[data-theme="dark"] .notice,
html[data-theme="dark"] .form-card,html[data-theme="dark"] .workspace-side,
html[data-theme="dark"] .invoice-grid>div,html[data-theme="dark"] .market-workspace,
html[data-theme="dark"] .module,html[data-theme="dark"] .integration-map,
html[data-theme="dark"] .v9c-requirements li{background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme="dark"] .v8-capabilities,html[data-theme="dark"] .v8-support,
html[data-theme="dark"] .v9c-intro,html[data-theme="dark"] .v9c-cta{
 background:linear-gradient(135deg,#1d354b,#102338)!important}
html[data-theme="dark"] .guide-card,html[data-theme="dark"] .v9c-card,
html[data-theme="dark"] .v8-image-card,html[data-theme="dark"] .v9c-home-grid a{box-shadow:0 10px 30px rgba(0,0,0,.16)}
html[data-theme="dark"] .v9c-intro .v9c-subtitle,html[data-theme="dark"] .v9c-empty p{color:var(--muted)!important}
html[data-theme="dark"] .v9c-card-number{background:var(--panel2)!important;color:var(--gold)!important}
html[data-theme="dark"] .v9c-textlink,html[data-theme="dark"] .v9c-reset,
html[data-theme="dark"] .v9c-crumb a,html[data-theme="dark"] .v9c-card a,
html[data-theme="dark"] .v9c-home-grid a:hover strong{color:var(--primary)!important}
html[data-theme="dark"] .v9c-home-grid strong{color:var(--text)!important}
html[data-theme="dark"] .v9c-home-grid span{color:var(--muted)!important}
html[data-theme="dark"] .v8-image-card figure,html[data-theme="dark"] .v8-support-media{
 background:#1c3348!important;border-color:var(--line)!important}
html[data-theme="dark"] .v8-image-card figcaption,html[data-theme="dark"] .v8-support-media figcaption{
 background:#1b3044!important;color:#c0d3df!important}
html[data-theme="dark"] .v8-image-card-copy>span{color:var(--gold)!important}
html[data-theme="dark"] .v8-capability-grid article{border-color:var(--line)!important}
html[data-theme="dark"] .v8-support li{background:var(--panel2)!important;color:var(--text)!important}
html[data-theme="dark"] .v8-market-ticker{background:#10283f!important;color:var(--text)!important;border-color:var(--line)!important;box-shadow:var(--shadow)!important}
html[data-theme="dark"] .v8-ticker-head,html[data-theme="dark"] .v8-ticker-quotes b,
html[data-theme="dark"] .v8-move,html[data-theme="dark"] [data-v8-market-state]{color:var(--muted)!important}
html[data-theme="dark"] .v8-ticker-head button{background:#203e54!important;color:#9ce2ed!important;border-color:var(--line)!important}
html[data-theme="dark"] .v8-ticker-quotes>div{background:var(--panel2)!important}
html[data-theme="dark"] .v8-ticker-quotes .v8-price{color:var(--text)!important}
html[data-theme="dark"] .v8-move.positive{color:#91e6bd!important}
html[data-theme="dark"] .v8-move.negative{color:#ffacb2!important}
/* Device chart uses its own accessible dark terminal design, never an image. */
html[data-theme="dark"] .v92-laptop-display{background:#09192b;border-color:#020b15;box-shadow:inset 0 0 0 1px #5a8197}
html[data-theme="dark"] .v92-terminal-bar{background:#061321}
html[data-theme="dark"] .v92-terminal-head,html[data-theme="dark"] .v92-chart-holder,
html[data-theme="dark"] .v92-mobile{background:#0e2236!important;color:var(--text)!important;border-color:#061322!important}
html[data-theme="dark"] .v92-terminal-head{border-color:var(--line)!important}
html[data-theme="dark"] .v92-symbol-label,html[data-theme="dark"] .v92-phone-head,
html[data-theme="dark"] .v92-mobile-content b{color:var(--text)!important}
html[data-theme="dark"] .v92-terminal-head small,html[data-theme="dark"] .v92-mobile-content small,
html[data-theme="dark"] .v92-axis,html[data-theme="dark"] .v92-demo-note,
html[data-theme="dark"] .v92-terminal-bottom{color:var(--muted)!important}
html[data-theme="dark"] .v92-timeframes button{background:var(--panel2)!important;border-color:var(--line)!important;color:var(--text)!important}
html[data-theme="dark"] .v92-timeframes button.is-active{background:#0f8192!important;color:#fff!important;border-color:#4cbed0!important}
html[data-theme="dark"] .v92-terminal-bottom{background:#091d2e!important;border-color:var(--line)!important}
html[data-theme="dark"] .v92-mobile-notch{background:#061322}
html[data-theme="dark"] .v92-phone-metrics span{background:#184738;color:#aaf4cb}
html[data-theme="dark"] .v92-phone-metrics span+span{background:#4b2631;color:#ffbfc8}
html[data-theme="dark"] .v92-chart .v92-grid{stroke:#385368}
html[data-theme="dark"] .v92-chart [data-v92-average]{stroke:#92d4f8}
html[data-theme="dark"] .v92-phone-tag{color:#b9d5e3}
html[data-theme="dark"] .v92-demo-note{color:#bed1de!important}
html[data-theme="dark"] .v92-laptop-keyboard{background:linear-gradient(#314c62,#1c3042);border-color:#405a6b}
/* Form, dashboard, checkout, catalogue and support: never white text on white controls. */
html[data-theme="dark"] input,html[data-theme="dark"] textarea,
html[data-theme="dark"] select,html[data-theme="dark"] .v9c-filter-grid select,
html[data-theme="dark"] .market-workspace select,
html[data-theme="dark"] .form-card input,html[data-theme="dark"] .form-card textarea{
 background:var(--v93-input)!important;color:var(--v93-input-text)!important;
 border-color:#456078!important;color-scheme:dark!important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#b6cad8!important;opacity:1}
html[data-theme="dark"] label,html[data-theme="dark"] .form-card .field label,
html[data-theme="dark"] .form-card .helptext,html[data-theme="dark"] .form-layout .form-links a{
 color:var(--muted)!important}
html[data-theme="dark"] .button.secondary{color:var(--text)!important;background:var(--panel2)!important;border-color:var(--line)!important}
html[data-theme="dark"] .button.secondary:hover{color:#fff!important;background:#294a62!important}
html[data-theme="dark"] .v8-nav-cta,html[data-theme="dark"] .button:not(.secondary){background:#0f7c90!important;color:#fff!important;border-color:#2ca1b0!important}
html[data-theme="dark"] .v8-nav-cta:hover,html[data-theme="dark"] .button:not(.secondary):hover{background:#13667b!important}
html[data-theme="dark"] a:not(.button):hover{color:var(--primary)}
html[data-theme="dark"] .assistant,html[data-theme="dark"] .assistant-welcome,
html[data-theme="dark"] .assistant-messages,html[data-theme="dark"] .assistant-composer,
html[data-theme="dark"] .assistant-contact,html[data-theme="dark"] .assistant-input-wrap{
 background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme="dark"] .assistant-message-assistant,html[data-theme="dark"] .assistant-suggestions button{
 background:var(--panel2)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme="dark"] .assistant-message-user{background:#195f72!important;color:#fff!important}
html[data-theme="dark"] .faq-section details,html[data-theme="dark"] .faq-section summary,
html[data-theme="dark"] .v9c-faq details{color:var(--text)!important;border-color:var(--line)!important}
html[data-theme="dark"] .v7-intro{background:#081524!important;color:var(--text)!important}
html[data-theme="dark"] .v7-intro-title{color:var(--text)!important}
html[data-theme="dark"] .v7-intro-subtitle{color:var(--muted)!important}
html[data-theme="dark"] .footer-grid a,html[data-theme="dark"] footer p{color:var(--muted)!important}
html[data-theme="dark"] .v8-footer-grid h2{color:var(--gold)!important}
/* Deliberately avoid globally replacing SVG stroke/fill: candle colors encode direction. */
@media(max-width:1050px){.nav-tools{margin-inline-start:0}.theme-toggle{padding:7px 9px}}
@media(max-width:650px){.theme-toggle{min-width:36px;min-height:36px;padding:6px}.theme-toggle-text{display:none}.theme-toggle-icon{font-size:18px}
 .nav-tools{gap:5px}.v92-device-scene{max-width:100%}}
@media(max-width:380px){.nav-tools .account{padding:6px!important}.theme-toggle{min-width:34px}}
@media(prefers-reduced-motion:reduce){body,.theme-toggle{transition:none!important}}
/* Explicit grid fallback for bundles retaining different V8 base styles. */
.v8-hero-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
.v8-hero-media,.v8-hero-copy{min-width:0}
@media(max-width:1000px){.v8-hero-grid{grid-template-columns:minmax(0,1fr)}}
