/* ===================== Light mode · look 9 Frosted glass on soft white =====================
   Linked last. Everything is scoped to html[data-theme="light"] (set before first paint by the inline script in
   index.html), so Dark is untouched. The prefix below (0,4,1) out-ranks the look layers' own prefixes
   (html:root[data-look="9"][data-look] = 0,3,1), and as the last sheet it wins ties.
   1. tokens  2. page + background marks  3. panels, tiles, inputs  4. buttons, chips, segmented  5. shell + L-frame
   6. pop-ups, menus, toasts, wallet panel  7. per-layer fixes (select, calm, inner, fit-venue, review-edit, flame, hover) */

/* ---------- 1 · tokens ---------- */
html:root:root[data-look="9"][data-theme="light"] {
  color-scheme: light;
  --ac: #2f6fb5; --ac-hi: #2f6fb5; --ac-ice: #1d4f8a; --ac-d: #5b8fd0; --ac-tx: #fff; --c-green: #2f6fb5; --c-blue: #5b8fd0; --wm-off: #9fb6d3;
  --up: #077a4b; --dn: #c92a47; --on-up: #fff; --c-amber: #9a5a00; --c-violet: #6d4fd8;
  --c-trade: #1f66c2; --c-mm: #6d4fd8; --c-ss: #9a5a00; --c-path: #0f8a7c; --c-launch: #a85d00; --c-rebuy: #2563c9;
  --bg: #eef2f7; --bg1: #f6f8fb; --bg2: #e9eef5; --bg2b: #ebf0f6; --bg3: #dfe6ef;
  --tx: #0f1724; --tx2: #3b4657; --tx3: #5d6879;
  --ln: rgba(20,40,70,.08); --ln2: rgba(20,40,70,.11); --ln3: rgba(20,40,70,.18);
  --grid: rgba(20,40,70,.04); --row-h: rgba(20,40,70,.03);
  --g0: rgba(255,255,255,.55); --g1: rgba(255,255,255,.8); --g2: rgba(47,111,181,.1); --gl: rgba(20,40,70,.1);
  --gt: linear-gradient(160deg, rgba(255,255,255,.75), rgba(255,255,255,.5));
  --gt-h: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.66));
  --gt-on: linear-gradient(160deg, rgba(47,111,181,.12), rgba(47,111,181,.05));
  --gt-sh: inset 0 0 0 1px rgba(20,40,70,.08);
  --gt-sh-on: inset 0 0 0 1px rgba(47,111,181,.35);
  --glow: 0 6px 18px -10px rgba(47,111,181,.4); --ac-sh: var(--glow);
  --nav-on: rgba(255,255,255,.8); --nav-on-sh: none; --seg-on: #fff;
  --wm-fill: #1f3350;
  /* frosted glass recipe */
  --fz: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), rgba(248,250,253,.22);
  --fz-top: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 42%);
  --fz-blur: blur(28px) saturate(1.5);
  --fz-sh: 0 1px 2px rgba(20,35,60,.05), 0 18px 40px -22px rgba(20,35,60,.22);
  /* hairline rings (panels · options · hover · selected) */
  --s1: rgba(255,255,255,.95); --s2: rgba(20,40,70,.09); --s3: rgba(20,40,70,.1);
  --o1: rgba(255,255,255,.9);  --o2: rgba(20,40,70,.11); --o3: rgba(20,40,70,.12);
  /* --h1 is left alone: l9 reuses it as the h1 font token */ --h2: rgba(20,40,70,.18); --h3: rgba(20,40,70,.2);
  --a1: rgba(47,111,181,.75);  --a2: rgba(47,111,181,.45); --a3: rgba(47,111,181,.3);
  --fill: rgba(255,255,255,.5);
  --fill-top: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 40%);
  --glow-on: 0 0 0 1px rgba(47,111,181,.06), 0 8px 20px -12px rgba(47,111,181,.45);
  --fade-s: linear-gradient(90deg, transparent, rgba(20,40,70,.1) 30%, rgba(20,40,70,.1) 70%, transparent);
  /* select.css hooks */
  --sel-ice: 20, 40, 70;
  --sel-bg: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.45) 46%), rgba(255,255,255,.35);
  --sel-edge: linear-gradient(135deg, rgba(20,40,70,.13), rgba(20,40,70,.08) 45%, rgba(20,40,70,.07) 70%, rgba(20,40,70,.11));
  --box-bg: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.55));
  --box-sh: inset 0 0 0 1px rgba(20,40,70,.09), 0 1px 2px rgba(20,35,60,.04);
  --pop-bg: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,251,253,.9) 40%), rgba(244,247,251,.9);
  --pop-sh: inset 0 0 0 1px rgba(20,40,70,.08), 0 40px 90px -30px rgba(20,35,60,.38), 0 10px 28px -14px rgba(20,35,60,.2);
  /* L-frame */
  --fr-c: rgba(247,249,252,.66); --fr-l1: rgba(20,40,70,.14); --fr-l2: rgba(20,40,70,.06);
}
html:root:root[data-look="9"][data-theme="light"] ::selection { background: rgba(47,111,181,.2); color: inherit; }

/* ---------- 2 · page + the faint marks behind it ---------- */
html:root:root[data-look="9"][data-theme="light"] body { color: var(--tx); background:
  radial-gradient(900px 700px at 78% 40%, rgba(91,143,208,.09), transparent 70%),
  radial-gradient(700px 500px at 18% 100%, rgba(120,150,190,.08), transparent 70%),
  linear-gradient(180deg, #f1f4f9, #e6ebf2 70%) fixed !important; }
html:root:root[data-look="9"][data-theme="light"] body::after { opacity: .05; filter: invert(1); }
html:root:root[data-look="9"][data-theme="light"] #run-bg::before,
html:root:root[data-look="9"][data-theme="light"] #run-bg::after {
  filter: grayscale(.7) contrast(.28) brightness(1.6) opacity(.6) drop-shadow(0 0 40px rgba(91,143,208,.1)); }

/* ---------- 3 · panels, tiles, inputs ---------- */
html:root:root[data-look="9"][data-theme="light"] :is(.card, .stat, .save-row, .lc-opt, .hh, .wv-fund, .engine-strip, .fees-box, .wv-tbl, .ql-c, .tq-head, .ro-empty) {
  background: var(--fz-top), var(--fz) !important; box-shadow: var(--fz-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] .ql-c:hover { background: var(--fz-top), rgba(255,255,255,.82) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.card, .wpop, .hh) :is(.card, .stat, .save-row, .lc-opt, .fees-box, .wv-fund) {
  background: rgba(255,255,255,.45) !important; box-shadow: none !important; --e1: rgba(20,40,70,.1); --e2: rgba(20,40,70,.08); --e3: rgba(20,40,70,.08); }
html:root:root[data-look="9"][data-theme="light"] .tstrip { background: var(--fz-top), rgba(250,251,253,.62) !important; box-shadow: var(--fz-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] .vstep.locked { --e1: rgba(20,40,70,.06); --e2: rgba(20,40,70,.05); --e3: rgba(20,40,70,.04); }

html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode, .hl-prev, .hw, .hs-t, .tile, .check, .mini-g div, .bun-row, .rv-head, .rv-s, .src-row, .cln-row, .tpl-venue,
  .wv-mkt, .presets button, .drop, .empty, .lcard.add, .tt-dir) { background: var(--fill-top), var(--fill) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode:not(.on), .hl-prev:not(:disabled), .hw, .hs-t, .tile:not(.on):not(.static), .check, .bun-row, .src-row, .cln-row,
  .tpl-venue, .wv-mkt, .presets button:not(.on), .lcard.add, .tt-dir):hover { background: var(--fill-top), rgba(255,255,255,.82) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode.on, .tile.on:not(.static), .presets button.on, .check.next, .tt-dir.on) {
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.5) 60%), rgba(47,111,181,.06) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode.on, .tile.on:not(.static))::after { background: var(--ac); box-shadow: 0 0 0 3px rgba(47,111,181,.16); }
html:root:root[data-look="9"][data-theme="light"] .hl-mode.on { color: var(--ac-ice); }
html:root:root[data-look="9"][data-theme="light"] .hs-t.off { background: rgba(255,255,255,.25) !important; }
html:root:root[data-look="9"][data-theme="light"] .hw-slot { background: rgba(255,255,255,.55) !important; --e1: rgba(20,40,70,.1); --e2: rgba(20,40,70,.08); }
html:root:root[data-look="9"][data-theme="light"] .hw:hover .hw-slot { background: rgba(255,255,255,.85) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.hw-ic, .hl-tpl, .pk-ic, .ql-ic, .steps .sn) {
  background: rgba(255,255,255,.8) !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.1), 0 1px 2px rgba(20,35,60,.06) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.stat-ic, .stat .i) { color: var(--ac); }

/* inputs: light frosted fields, steel ring on focus */
html:root:root[data-look="9"][data-theme="light"] :is(.inp, .hf-addr, .addr, .picker, .search, .wv-q, .rl-q, .wx-q, .pp-search, .ro-q) {
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.66)) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.inp, .search, .hf-addr, .picker, .wv-q, .rl-q, .pp-search, .ro-q, .wx-q):focus-within {
  background: #fff !important; box-shadow: 0 0 0 3px rgba(47,111,181,.14) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(input.inp, textarea, select) { background: rgba(255,255,255,.8) !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.13) !important; color: var(--tx); }
html:root:root[data-look="9"][data-theme="light"] :is(input.inp, textarea, select):focus { box-shadow: inset 0 0 0 1px rgba(47,111,181,.6), 0 0 0 3px rgba(47,111,181,.14) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.inp, .search, .picker) :is(input, textarea, select) { background: none !important; box-shadow: none !important; }
html:root:root[data-look="9"][data-theme="light"] :is(input, textarea)::placeholder { color: #6b7687 !important; }
html:root:root[data-look="9"][data-theme="light"] select option { color: var(--tx); background: #fff; }

/* tables, lines, charts */
html:root:root[data-look="9"][data-theme="light"] :is(.kv > div, .tbl th, .tbl td, .feed li, .tgl, .tp-r, .hr, .rung, .tabs) { border-color: rgba(20,40,70,.08); }
html:root:root[data-look="9"][data-theme="light"] .mk-chart { background: linear-gradient(180deg, rgba(47,111,181,.07), transparent); }
html:root:root[data-look="9"][data-theme="light"] :is(.trk-rail .trk-d.done path, .trk-run .i) { fill: var(--ac); stroke: var(--ac); }
html:root:root[data-look="9"][data-theme="light"] .trk-rail .trk-d { background: var(--bg); }

/* type */
html:root:root[data-look="9"][data-theme="light"] :is(h1, h2, h3, .h1) { color: var(--tx); }
html:root:root[data-look="9"][data-theme="light"] .ph h1 { color: #0f1724; background: none; -webkit-text-fill-color: currentColor; }

/* ---------- 4 · buttons, chips, segmented ---------- */
/* primary: dark glass pill, white ink (the light theme's mirror of the silver pill) */
html:root:root[data-look="9"][data-theme="light"] :is(.btn.pri, .dep, .rl-new) {
  color: #f4f7fb !important; text-shadow: none !important;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 50%), linear-gradient(180deg, #2c3849, #161e2a) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(10,16,26,.5), 0 6px 16px -8px rgba(15,23,36,.55) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.btn.pri, .dep, .rl-new):hover:not(:disabled) { color: #fff !important;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 50%), linear-gradient(180deg, #364559, #1c2533) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 0 1px rgba(10,16,26,.5), 0 10px 22px -10px rgba(15,23,36,.6) !important; }
html:root:root[data-look="9"][data-theme="light"] .btn.pri.start-btn { background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 50%), linear-gradient(180deg, #2c3849, #161e2a) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.btn.pri:disabled, .btn.pri[disabled]) {
  background: rgba(20,40,70,.07) !important; color: #7a8494 !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.06) !important; }
/* secondary: frosted white */
html:root:root[data-look="9"][data-theme="light"] :is(.btn:not(.pri):not(.ghost):not(.dn), .newr, .wl-btn, .balchip) {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.62)) !important; color: var(--tx) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.btn:not(.pri):not(.ghost):not(.dn), .newr, .wl-btn):hover { background: #fff !important; }
html:root:root[data-look="9"][data-theme="light"] .btn.ghost { color: var(--tx2) !important; }
html:root:root[data-look="9"][data-theme="light"] .btn.ghost:hover { background: rgba(20,40,70,.05) !important; color: var(--tx) !important; }
html:root:root[data-look="9"][data-theme="light"] .newr i { background: var(--ac); box-shadow: 0 0 0 3px rgba(47,111,181,.15); }
html:root:root[data-look="9"][data-theme="light"] :is(.btn, .dep, .newr, .mode-sw button, .rl-new):focus-visible { box-shadow: 0 0 0 2px rgba(47,111,181,.55) !important; }

/* segmented controls and tab strips: white lens on a faint track */
html:root:root[data-look="9"][data-theme="light"] .mode-sw { background: rgba(20,40,70,.05) !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.07) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.seg, .wv-chs) { background: rgba(20,40,70,.045) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.seg button.on, .wv-chs .wv-ch.on, .mode-sw button.on, .tabs .on, .tf .on, .wl-tabs button.on, .set-tabs a.on) {
  background: #fff !important; color: var(--tx) !important;
  box-shadow: inset 0 0 0 1px rgba(20,40,70,.08), 0 1px 3px rgba(20,35,60,.14) !important; }
html:root:root[data-look="9"][data-theme="light"] .mode-sw button { color: var(--tx3) !important; }
html:root:root[data-look="9"][data-theme="light"] .mode-sw button.on { color: var(--tx) !important; }
html:root:root[data-look="9"][data-theme="light"] .mode-sw button.on .i { color: var(--ac); }

/* chips, pills, small badges */
html:root:root[data-look="9"][data-theme="light"] :is(.chip, .hh-ven, .balchip) { background: rgba(255,255,255,.7) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.nl .cnt, kbd, .tbtn) { box-shadow: inset 0 0 0 1px rgba(20,40,70,.14) !important; }
html:root:root[data-look="9"][data-theme="light"] .eb { color: var(--ac); box-shadow: inset 0 0 0 1px rgba(20,40,70,.14); }
html:root:root[data-look="9"][data-theme="light"] .vs-n { color: var(--ac); background: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px rgba(20,40,70,.14), 0 1px 2px rgba(20,35,60,.08); }
html:root:root[data-look="9"][data-theme="light"] .vs-n.ok { color: #fff; background: linear-gradient(160deg, #4f86c6, #2f6fb5); box-shadow: 0 2px 8px -2px rgba(47,111,181,.5); }
html:root:root[data-look="9"][data-theme="light"] .vstep.locked .vs-n { color: var(--tx3); background: rgba(255,255,255,.5); }

/* ---------- 5 · shell + L-frame (the frame itself follows --fr-c) ---------- */
html:root:root[data-look="9"][data-theme="light"] :is(.nl.on, .rl-row.on) { background: rgba(255,255,255,.85) !important; color: var(--tx);
  box-shadow: inset 0 0 0 1px rgba(20,40,70,.07), 0 1px 3px rgba(20,35,60,.08) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.nl.on .i, .sb .nl.on .i) { color: var(--ac); }
html:root:root[data-look="9"][data-theme="light"] :is(.nl:not(.on), .rl-row:not(.on)):hover { background: rgba(20,40,70,.045); }
html:root:root[data-look="9"][data-theme="light"] .sb-foot { background: rgba(255,255,255,.55) !important; }
/* wordmark: steel-blue on white, the flame blade dark steel → ice */
html:root:root[data-look="9"][data-theme="light"] .sb .wordmark.wm-bd .wbd-r { background-image: linear-gradient(180deg, #1f3350 0%, #2f4a6e 50%, #4e6f98 100%); }
html:root:root[data-look="9"][data-theme="light"] .sb .wordmark.wm-bd .wbd-n { background-image: linear-gradient(180deg, #4f86c6, #2f6fb5); }
html:root:root[data-look="9"][data-theme="light"] .sb .wordmark.wm-bd .wbd-b { filter: drop-shadow(0 1px 2px rgba(47,111,181,.25)); }
html:root:root[data-look="9"][data-theme="light"] #wbdG stop:nth-child(1) { stop-color: #1f3d66; }
html:root:root[data-look="9"][data-theme="light"] #wbdG stop:nth-child(2) { stop-color: #2f6fb5; }
html:root:root[data-look="9"][data-theme="light"] #wbdG stop:nth-child(3) { stop-color: #8fb6e4; }
html:root:root[data-look="9"][data-theme="light"] .wordmark .wm-t { color: #1f3350; }

/* ---------- 6 · pop-ups, sheets, menus ---------- */
html:root:root[data-look="9"][data-theme="light"] :is(.wpop-bg, .sh-bg, .ov:not(.docked) .ov-bg, .lf-scrim) { background: rgba(28,40,58,.24) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.wpop, .sh, .ov:not(.docked) .ov-panel, .cr-card, .mk-card, .xp-pop) { background: var(--pop-bg) !important; box-shadow: var(--pop-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] .wpop > .wpop-h { background: linear-gradient(90deg, transparent, rgba(20,40,70,.1) 20%, rgba(20,40,70,.1) 80%, transparent) bottom / 100% 1px no-repeat !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.wpop > :is(.wpop-f, footer.wpop-f), .wpop .wpop-f:last-child) { background: linear-gradient(90deg, transparent, rgba(20,40,70,.1) 20%, rgba(20,40,70,.1) 80%, transparent) top / 100% 1px no-repeat !important; }
html:root:root[data-look="9"][data-theme="light"] .wpop-b .wpop-f { background: none !important; }
html:root:root[data-look="9"][data-theme="light"] .sh > header { background: linear-gradient(90deg, transparent, rgba(20,40,70,.1) 20%, rgba(20,40,70,.1) 80%, transparent) bottom / 100% 1px no-repeat; }
html:root:root[data-look="9"][data-theme="light"] :is(.wpop-h h3, .sh > header b, .wv-pop .wv-ph b) { color: var(--tx); }
html:root:root[data-look="9"][data-theme="light"] .wpop-h > .i { color: var(--ac) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.wpop-x, .ov:not(.docked) .ov-x, .sh header button, .wv-pop .wv-ph .ic-b) {
  color: var(--tx2) !important; background: rgba(255,255,255,.7) !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.1) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.wpop-x, .ov:not(.docked) .ov-x, .sh header button, .wv-pop .wv-ph .ic-b):hover { color: var(--tx) !important; background: #fff !important; }
html:root:root[data-look="9"][data-theme="light"] .wv-pop { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.7)) !important;
  box-shadow: inset 0 0 0 1px rgba(20,40,70,.08), 0 24px 50px -28px rgba(20,35,60,.35) !important; }
html:root:root[data-look="9"][data-theme="light"] .wv-pop > .row:last-child { background: linear-gradient(90deg, transparent, rgba(20,40,70,.1) 20%, rgba(20,40,70,.1) 80%, transparent) top / 100% 1px no-repeat; }

/* wallet panel (top right) + balance pill */
html:root:root[data-look="9"][data-theme="light"] .wl .wl-btn b { color: var(--tx); background: none; -webkit-text-fill-color: currentColor; }
html:root:root[data-look="9"][data-theme="light"] .wl .wl-btn .dot { background: radial-gradient(circle at 35% 30%, #8fb6e4, #2f6fb5) !important; box-shadow: 0 0 0 3px rgba(47,111,181,.14) !important; }
html:root:root[data-look="9"][data-theme="light"] .wl .wl-btn > .i { color: var(--tx3); }
html:root:root[data-look="9"][data-theme="light"] .wl.open .wl-btn > .i { color: var(--tx); }
html:root:root[data-look="9"][data-theme="light"] .topbar .wl .wl-panel.wl-panel {
  background: linear-gradient(180deg, #fff, #f4f7fb) !important;
  box-shadow: inset 0 0 0 1px rgba(20,40,70,.08), 0 24px 60px -14px rgba(20,35,60,.3), 0 8px 20px -10px rgba(20,35,60,.16) !important; }
html:root:root[data-look="9"][data-theme="light"] .wl-panel .wl-total { background: none; color: var(--tx); -webkit-text-fill-color: currentColor; }
html:root:root[data-look="9"][data-theme="light"] .wl-panel .wl-num b.up { color: var(--up) !important; }
html:root:root[data-look="9"][data-theme="light"] .wl-panel .wl-num b.dn { color: var(--dn) !important; }

/* ---------- 7 · per-layer fixes ---------- */
/* select.css: option cards default to steel, selected text stays ink */
html:root:root[data-look="9"][data-theme="light"] :where(.tile, .presets button, .theme-opt, .tt-dir, .tt-risk button, .hl-mode) { --tc: #5b8fd0; }
html:root:root[data-look="9"][data-theme="light"] .hl-mode { --tc: var(--mc, #5b8fd0); }
html:root:root[data-look="9"][data-theme="light"] .tt-dir { --tc: var(--dc, #5b8fd0); }
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode, .tt-modes button, .tt-dir, .tile:not(.static), .theme-opt) { box-shadow: 0 6px 16px -14px rgba(20,35,60,.35) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode, .tt-modes button).on b, html:root:root[data-look="9"][data-theme="light"] .tt-dir.on b { color: var(--tx) !important; }
html:root:root[data-look="9"][data-theme="light"] .hl-mode.on b i { color: color-mix(in srgb, var(--tc) 70%, #000) !important; }
html:root:root[data-look="9"][data-theme="light"] .presets button { box-shadow: inset 0 0 0 1px rgba(20,40,70,.1) !important; }
html:root:root[data-look="9"][data-theme="light"] .presets button.on { color: var(--tx) !important; background: #fff !important; box-shadow: inset 0 0 0 1px rgba(47,111,181,.45), 0 4px 12px -8px rgba(47,111,181,.5) !important; }
/* coloured buttons (Buy / Sell, danger, % chips): tinted glass, deep ink */
html:root:root[data-look="9"][data-theme="light"] :is(.btn.pri.buyb, .btn.dn) { color: color-mix(in srgb, var(--tc) 78%, #000) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.2)), color-mix(in srgb, var(--tc) 16%, #fff) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.btn.pri.buyb, .btn.dn):hover:not(:disabled) { color: color-mix(in srgb, var(--tc) 70%, #000) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.1)), color-mix(in srgb, var(--tc) 24%, #fff) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.pc-b, .pc-s) button { color: color-mix(in srgb, var(--tc) 80%, #000) !important; background: color-mix(in srgb, var(--tc) 9%, #fff) !important; }
html:root:root[data-look="9"][data-theme="light"] .bs button.on { color: color-mix(in srgb, var(--tc) 80%, #000) !important; }
html:root:root[data-look="9"][data-theme="light"] .lt-sw i { background: rgba(20,40,70,.12) !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.08) !important; }
html:root:root[data-look="9"][data-theme="light"] .lt-sw.on i { background: linear-gradient(180deg, #4f86c6, #2f6fb5) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.25) !important; }
html:root:root[data-look="9"][data-theme="light"] .lt-sw.on i::after { background: #fff !important; box-shadow: 0 1px 3px rgba(20,35,60,.35); }
html:root:root[data-look="9"][data-theme="light"] .mm-b > span { background: rgba(20,40,70,.04) !important; box-shadow: inset -1px 0 0 rgba(20,40,70,.08); }
html:root:root[data-look="9"][data-theme="light"] .lr-from:hover { background: #fff !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.lr-cnt, .wv-cnt) { background: rgba(20,40,70,.06) !important; box-shadow: none; }
html:root:root[data-look="9"][data-theme="light"] :is(.hh-pen, .wv-add) { background: rgba(255,255,255,.7) !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.1) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.hh-pen, .wv-add):hover { background: #fff !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.src-list, .mk-stat, .tt-fee, .wl-asset, .wl-mw) { background: var(--fill-top), rgba(255,255,255,.55) !important; }
html:root:root[data-look="9"][data-theme="light"] .mk-pill { background: rgba(255,255,255,.6) !important; }
html:root:root[data-look="9"][data-theme="light"] .mk-pill.on { background: #fff !important; box-shadow: inset 0 0 0 1px rgba(47,111,181,.4) !important; }

/* calm.css: icons and the clone mini-cards */
html:root:root[data-look="9"][data-theme="light"] .lc-ic { color: var(--ac); }
html:root:root[data-look="9"][data-theme="light"] .ill-cln .cl-card { border-color: rgba(20,40,70,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.66)); box-shadow: 0 22px 44px -24px rgba(20,35,60,.35); }
html:root:root[data-look="9"][data-theme="light"] .ill-cln .cl-tag { color: var(--tx2); box-shadow: inset 0 0 0 1px rgba(20,40,70,.1); }
html:root:root[data-look="9"][data-theme="light"] .ill-cln .cl-r > i { background: linear-gradient(90deg, rgba(47,111,181,.55), rgba(47,111,181,.12)); }
html:root:root[data-look="9"][data-theme="light"] .ql-clone .ql-cl-btn .i { color: var(--ac); }

/* inner.css / hover.css tokens: nested glass, recessed tracks, picked segments, hover wash, primary rest */
html:root:root[data-look="9"][data-theme="light"] {
  --in-bg: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.5) 44%), rgba(255,255,255,.3);
  --in-edge: linear-gradient(150deg, rgba(20,40,70,.12), rgba(20,40,70,.08) 38%, rgba(20,40,70,.07) 72%, rgba(20,40,70,.1));
  --in-sh: 0 1px 2px rgba(20,35,60,.04);
  --rc-bg: rgba(20,40,70,.05);
  --rc-sh: inset 0 1px 2px rgba(20,35,60,.07), inset 0 0 0 1px rgba(20,40,70,.06);
  --seg-on-bg: #fff;
  --seg-on-sh: inset 0 0 0 1px rgba(20,40,70,.08), 0 1px 3px rgba(20,35,60,.14);
  --hv-fill: rgba(20,40,70,.05); --hv-edge: inset 0 0 0 1px rgba(20,40,70,.05);
  --hv-ring: 0 0 0 2px rgba(47,111,181,.5), 0 0 0 5px rgba(47,111,181,.12);
  --pri-rest: linear-gradient(180deg, #364559, #1c2533);
}
html:root:root[data-look="9"][data-theme="light"] :is(.btn.pri, .dep, .rl-new):not(.buyb):active:not(:disabled) { color: #fff !important;
  background: linear-gradient(180deg, #232d3b, #121925) !important; box-shadow: inset 0 1px 2px rgba(0,0,0,.3), 0 2px 6px -3px rgba(15,23,36,.5) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.btn:not(.pri):not(.ghost):not(.dn), .newr, .wl-btn):active:not(:disabled) { background: rgba(255,255,255,.7) !important; box-shadow: inset 0 1px 2px rgba(20,35,60,.12) !important; }
html:root:root[data-look="9"][data-theme="light"] .btn.ghost:active:not(:disabled) { background: rgba(20,40,70,.07) !important; }
html:root:root[data-look="9"][data-theme="light"] .btn.pri:not(.buyb):is(:disabled, [disabled]):is(:hover, :active) { background: rgba(20,40,70,.07) !important; color: #7a8494 !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.06) !important; }
html:root:root[data-look="9"][data-theme="light"] .btn:not(.pri):not(.ghost):not(.dn):is(:disabled, [aria-disabled="true"]):is(:hover, :active) { background: rgba(255,255,255,.6) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.imp-tbl, .mkp-tbl, .wv-tbl, .tbl, .ro-tbl) tbody tr:hover > td { background: rgba(20,40,70,.035) !important; }
html:root:root[data-look="9"][data-theme="light"] .wc .fold-row:hover { background: rgba(20,40,70,.04) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.lcards .lcard, .tpl, .cln-row):hover { box-shadow: 0 8px 22px -14px rgba(20,35,60,.3), inset 0 0 0 1px rgba(20,40,70,.08); background-color: rgba(255,255,255,.5); }
html:root:root[data-look="9"][data-theme="light"] :is(.nl:not(.on), .rl-row:not(.on), .wl-row, .pk-row, .ic-b, .chip, .wv-gchip, .src-pick, .pp-row, .wx-rr):active { background: rgba(20,40,70,.07) !important; }
html:root:root[data-look="9"][data-theme="light"] :where(input[type="checkbox"], input[type="radio"]):focus-visible { outline-color: rgba(47,111,181,.6) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode.on, .tile.on:not(.static), .presets button.on, .check.next, .tt-dir.on):hover {
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.7) 60%), rgba(47,111,181,.07) !important; }

/* inner.css: Creator wallet / Holders, Send to, the (?) discs, Connect X, switches, checkboxes, sticky table heads */
html:root:root[data-look="9"][data-theme="light"] :is(.split.fitv .fv-seg .fee-to-r.on, .fv-seg.fv-seg-sm .fee-to-r.on) { color: var(--tx) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.split.fitv .fv-seg .fee-to-r.on, .fv-seg.fv-seg-sm .fee-to-r.on) b { color: var(--tx) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.split.fitv .fv-seg .fee-to-r:not(.on):hover, .fv-seg.fv-seg-sm .fee-to-r:not(.on):hover, .fee-to-r:not(.fitv .fee-to-r):hover) { background: rgba(255,255,255,.6) !important; box-shadow: none !important; }
html:root:root[data-look="9"][data-theme="light"] .split.fitv .fv-q { color: var(--tx2); background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(20,40,70,.14); }
html:root:root[data-look="9"][data-theme="light"] .split.fitv :is(.fv-q-b[aria-expanded="true"] .fv-q, .fv-q-b:hover .fv-q) { color: #fff; background: var(--ac); box-shadow: none; }
html:root:root[data-look="9"][data-theme="light"] .fee-to:not(.fv-feeto) .fee-to-how { border-top-color: rgba(20,40,70,.08); }
html:root:root[data-look="9"][data-theme="light"] .xc-av { background: linear-gradient(180deg, #2c3849, #161e2a); color: #f4f7fb; box-shadow: none; }
html:root:root[data-look="9"][data-theme="light"] :is(.xc, .xt) .lnk { text-decoration-color: rgba(20,40,70,.3); }
html:root:root[data-look="9"][data-theme="light"] :is(.xc, .xt) .lnk:hover { color: var(--ac); text-decoration-color: rgba(47,111,181,.6); }
/* the tweet preview stays X's dark card (it is a picture of a tweet), on a soft shadow */
html:root:root[data-look="9"][data-theme="light"] .tw { box-shadow: 0 12px 28px -16px rgba(20,35,60,.5); }
/* switches */
html:root:root[data-look="9"][data-theme="light"] :is(.te-sw > span:not(.lr-was), .tgl > i, .c-tog button i) {
  background: rgba(20,40,70,.13) !important; box-shadow: inset 0 1px 2px rgba(20,35,60,.12) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.te-sw > span:not(.lr-was), .tgl > i, .c-tog button i)::after { background: #fff !important; box-shadow: 0 1px 3px rgba(20,35,60,.3) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.te-sw input:checked + span, .tgl input:checked + i, .c-tog button.on i) {
  background: linear-gradient(180deg, #4f86c6, #2f6fb5) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.25) !important; }
html:root:root[data-look="9"][data-theme="light"] .c-tog { background: var(--rc-bg) !important; box-shadow: var(--rc-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] .xt-h .c-tog { background: none !important; box-shadow: none !important; }
/* checkboxes: white box, steel tick */
html:root:root[data-look="9"][data-theme="light"] input[type="checkbox"] { background: #fff center / 16px 16px no-repeat; box-shadow: inset 0 0 0 1px rgba(20,40,70,.28); }
html:root:root[data-look="9"][data-theme="light"] input[type="checkbox"]:hover:not(:disabled) { box-shadow: inset 0 0 0 1px rgba(47,111,181,.6); }
html:root:root[data-look="9"][data-theme="light"] input[type="checkbox"]:is(:checked, :indeterminate) {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.6 8.3 L6.6 11.1 L12.4 5' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 16px no-repeat,
    linear-gradient(180deg, #4f86c6, #2f6fb5); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
html:root:root[data-look="9"][data-theme="light"] input[type="checkbox"]:indeterminate {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8 H12' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round'/></svg>") center / 16px 16px no-repeat,
    linear-gradient(180deg, #4f86c6, #2f6fb5); }
/* nested info boxes, the launch bar */
html:root:root[data-look="9"][data-theme="light"] :is(.where div, .lr-sum, .te-cost, .te-rung, .lf-sum, .hg-sum, .wx-sum, .tt-sum > div, .pp-note, .curve-note, .wv-job, .wv-finds-box, .ro-panel) {
  box-shadow: inset 0 0 0 1px rgba(20,40,70,.08) !important; }
html:root:root[data-look="9"][data-theme="light"] .start-bar { background: radial-gradient(420px 130px at 0% 0%, rgba(47,111,181,.07), transparent 70%), var(--fz-top), var(--fz) !important;
  box-shadow: inset 0 0 0 1px rgba(20,40,70,.08), var(--fz-sh) !important; }
/* small glass chips that used --bg3 */
html:root:root[data-look="9"][data-theme="light"] .tpl-emos button { background: rgba(255,255,255,.7) !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.1) !important; }
html:root:root[data-look="9"][data-theme="light"] .tpl-emos button.on { background: color-mix(in srgb, var(--tc, #5b8fd0) 12%, #fff) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc, #5b8fd0) 50%, transparent) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.wx-cnt, .con-split) { background: rgba(255,255,255,.7) !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.1) !important; }
html:root:root[data-look="9"][data-theme="light"] .con-split:hover { background: #fff !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.ctabs button.on, .wv-nav button.on, .imp-tab.on, .tt-unit button.on, .tp-who button.on) {
  background: #fff !important; color: var(--tx) !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.08), 0 1px 3px rgba(20,35,60,.12) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.ctabs button:not(.on), .wv-nav button:not(.on), .imp-tab:not(.on)):hover { background: rgba(20,40,70,.045) !important; }
/* sticky table headers: a pale frosted band */
html:root:root[data-look="9"][data-theme="light"] :is(.wv-tbl, .wc, .wx-tbl, .imp-tbl) thead th { background: rgba(244,247,251,.96) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.wc thead th, .wv-tbl thead th, .tp-h, .wx-tbl thead th) { background: rgba(244,247,251,.96); }
/* At a glance */
html:root:root[data-look="9"][data-theme="light"] .ag-id { background: rgba(255,255,255,.7) !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.08), var(--fz-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] .ag-mode { box-shadow: inset 0 0 0 1px rgba(20,40,70,.08) !important; }
html:root:root[data-look="9"][data-theme="light"] .ag-mode:not(.on):not(:disabled):hover { background: rgba(255,255,255,.85) !important; }
html:root:root[data-look="9"][data-theme="light"] .ag-bubmap { background: radial-gradient(120% 90% at 50% 0%, rgba(47,111,181,.05), transparent 70%), rgba(255,255,255,.45) !important; box-shadow: inset 0 1px 2px rgba(20,35,60,.08), inset 0 0 0 1px rgba(20,40,70,.07); }
html:root:root[data-look="9"][data-theme="light"] .ag-mi { background: rgba(255,255,255,.8) !important; box-shadow: inset 0 0 0 1px rgba(20,40,70,.1); }
/* Launch a Runner illustrations */
html:root:root[data-look="9"][data-theme="light"] :is(.io-sliders, .tc) { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.66)) !important;
  box-shadow: inset 0 0 0 1px rgba(20,40,70,.08), 0 22px 44px -24px rgba(20,35,60,.35) !important; }
html:root:root[data-look="9"][data-theme="light"] .tc-btn { color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }

/* fit-how.css: the mode detail panel */
html:root:root[data-look="9"][data-theme="light"] .hl-panel { background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.5)) !important; }
html:root:root[data-look="9"][data-theme="light"] .ha-doc { color: color-mix(in srgb, var(--mc, var(--ac)) 62%, #000) !important; }
html:root:root[data-look="9"][data-theme="light"] .hl-mode.on { color: color-mix(in srgb, var(--mc, var(--ac)) 62%, #000); }
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode, .tt-modes button).on > .i { color: color-mix(in srgb, var(--tc) 75%, #000) !important; filter: none !important; }

/* review-edit.css: the banner row + the Token info art */
html:root:root[data-look="9"][data-theme="light"] .tq-bn-add { background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.6)); --e1: rgba(20,40,70,.12); --e2: rgba(20,40,70,.1); --e3: rgba(20,40,70,.1); }
html:root:root[data-look="9"][data-theme="light"] .tq-bn-add:is(:hover, .over, :focus-within) { background: #fff; --e1: rgba(47,111,181,.5); --e2: rgba(47,111,181,.3); --e3: rgba(47,111,181,.2); }
html:root:root[data-look="9"][data-theme="light"] .tq-bn-add > .i { color: var(--tx3); }
html:root:root[data-look="9"][data-theme="light"] .tq-bn-add em { color: var(--ac) !important; background: rgba(47,111,181,.08) !important; box-shadow: none !important; }
html:root:root[data-look="9"][data-theme="light"] .rv-seg { border-color: rgba(20,40,70,.1); background: rgba(20,40,70,.05); }
html:root:root[data-look="9"][data-theme="light"] .wpop-bg.rv-obg { background: rgba(28,40,58,.16) !important; }

/* status pills, ratings, roles, chart lines */
html:root:root[data-look="9"][data-theme="light"] .pmk-rt { color: #9a5a00; background: rgba(251,191,36,.16); }
html:root:root[data-look="9"][data-theme="light"] .rt.buy { color: #1f5fb8; background: rgba(76,141,255,.12); }
html:root:root[data-look="9"][data-theme="light"] .rt.dev { color: #fff; }
html:root:root[data-look="9"][data-theme="light"] .ro-tbl .rt.hub { color: #5b3fc4; }
html:root:root[data-look="9"][data-theme="light"] .ro-tbl .rt.dev { color: #8a5200; }
html:root:root[data-look="9"][data-theme="light"] .c-line span { background: rgba(255,255,255,.85); }
html:root:root[data-look="9"][data-theme="light"] .c-line.ssl { --lc: var(--c-ss); }

/* step tracker: pale glass beads on light, the lit ones steel, the fire untouched */
html:root:root[data-look="9"][data-theme="light"] :is(.trk, .rv-trk) .trk-rail::before { background: rgba(20,40,70,.14) !important; box-shadow: none; }
html:root:root[data-look="9"][data-theme="light"] :is(.trk, .rv-trk) .trk-rail .trk-d.bead {
  background: radial-gradient(circle at 33% 28%, #fff 0, rgba(255,255,255,.6) 1.4px, transparent 2.8px), radial-gradient(circle at 50% 62%, #f4f7fb 0, #dde5ef 70%, #c6d2e1 100%) !important;
  box-shadow: inset 0 0 0 .75px rgba(20,40,70,.2), 0 1px 2px rgba(20,35,60,.2) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.trk, .rv-trk) .trk-rail .trk-d.bead:is(.past, .hold) {
  background: radial-gradient(circle at 33% 27%, rgba(255,255,255,.9) 0, rgba(255,255,255,.3) 1.3px, transparent 2.6px), radial-gradient(circle at 50% 58%, #7fa9dc 0, #2f6fb5 70%, #1f4f8a 100%) !important;
  box-shadow: 0 0 0 .75px rgba(31,79,138,.4), 0 1px 4px rgba(47,111,181,.4) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.trk, .rv-trk) .trk-rail .trk-d.bead.cur {
  background: radial-gradient(circle at 31% 24%, #fff 0, rgba(255,255,255,.5) 2.2px, transparent 4.5px), radial-gradient(circle at 50% 66%, rgba(143,182,228,.5) 0, rgba(201,220,242,.7) 45%, #e9eff7 80%, #f6f8fb 100%) !important;
  box-shadow: inset 0 0 0 .75px rgba(20,40,70,.18), inset 0 -3px 5px rgba(47,111,181,.18), 0 1px 3px rgba(20,35,60,.2) !important; }
html:root:root[data-look="9"][data-theme="light"] .trk.firing .trk-rail .trk-d.bead.cur { background: radial-gradient(circle at 50% 62%, #e9eff7 0, #d5dfeb 70%, #c6d2e1 100%) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.trk, .rv-trk) .trk-run::before {
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.4), rgba(201,220,242,.55) 60%, rgba(233,239,247,.9)); box-shadow: inset 0 0 0 .75px rgba(20,40,70,.18); }
html:root:root[data-look="9"][data-theme="light"] :is(.trk, .rv-trk) .trk-fill {
  background: linear-gradient(90deg, #8fb6e4, #4f86c6 70%, #2f6fb5); }

/* the live console (being rebuilt): its own segmented control and sticky heads */
html:root:root[data-look="9"][data-theme="light"] :is(.cx .cx-tape .tp-h, .cx .tbl th) { background: rgba(244,247,251,.96); }

/* ---------- 8 · text that was hard-coded ice / white (found by sweeping every `color:` lighter than mid grey) ---------- */
/* review & launch (review-edit.css) */
html:root:root[data-look="9"][data-theme="light"] .rv-pen { color: var(--tx3); border-color: rgba(20,40,70,.1); }
html:root:root[data-look="9"][data-theme="light"] :is(.rv-pen:hover, .rv-pen:focus-visible) { color: var(--ac); border-color: rgba(47,111,181,.35); }
html:root:root[data-look="9"][data-theme="light"] :is(.rv-hint, .rv-in em, .rv-two > i, .rv-fnote small, .rv-runnote small) { color: var(--tx3); }
html:root:root[data-look="9"][data-theme="light"] .rv-go > .i { color: rgba(20,40,70,.35); }
html:root:root[data-look="9"][data-theme="light"] :is(.rv-go:hover > .i, .rv-go:focus-visible > .i) { color: var(--ac); }
html:root:root[data-look="9"][data-theme="light"] .rv-in { border-color: rgba(20,40,70,.1); background: rgba(255,255,255,.6); }
html:root:root[data-look="9"][data-theme="light"] .rv-in:hover { border-color: rgba(20,40,70,.2); }
html:root:root[data-look="9"][data-theme="light"] .rv-in:focus-within { border-color: rgba(47,111,181,.55); background: #fff; box-shadow: 0 0 0 3px rgba(47,111,181,.12); }
html:root:root[data-look="9"][data-theme="light"] .rv-seg button { color: var(--tx3); }
html:root:root[data-look="9"][data-theme="light"] .rv-seg button:hover { color: var(--tx); }
html:root:root[data-look="9"][data-theme="light"] .rv-seg button.on { color: var(--tx); background: #fff; box-shadow: inset 0 0 0 1px rgba(20,40,70,.08), 0 1px 3px rgba(20,35,60,.14); }
html:root:root[data-look="9"][data-theme="light"] .rv-fnote b { color: var(--tx); }
html:root:root[data-look="9"][data-theme="light"] .rv-runnote { color: #b23d0c; }
html:root:root[data-look="9"][data-theme="light"] .rv-r[data-rv-miss] b { color: #c2410c; }
/* banner + crop pop-ups: a light drop zone and stage */
html:root:root[data-look="9"][data-theme="light"] .cr-stage { background: #e9eef5; border-color: rgba(20,40,70,.1); }
html:root:root[data-look="9"][data-theme="light"] .cr-card.cr-empty .cr-drop { background: radial-gradient(120% 140% at 50% 0%, rgba(47,111,181,.06), transparent 60%), rgba(255,255,255,.7); }
html:root:root[data-look="9"][data-theme="light"] :is(.cr-card.cr-empty .cr-drop:hover, .cr-card.cr-empty .cr-stage.over .cr-drop) { background: radial-gradient(120% 140% at 50% 0%, rgba(47,111,181,.1), transparent 60%), #fff; }
html:root:root[data-look="9"][data-theme="light"] .cr-card.cr-empty .cr-drop::before { box-shadow: inset 0 0 0 1px rgba(20,40,70,.16); }
html:root:root[data-look="9"][data-theme="light"] :is(.cr-card.cr-empty .cr-drop:hover, .cr-card.cr-empty .cr-stage.over .cr-drop, .cr-card.cr-empty .cr-drop:focus-visible)::before { box-shadow: inset 0 0 0 1px rgba(47,111,181,.5); }
html:root:root[data-look="9"][data-theme="light"] .cr-drop-ic { color: var(--ac); }
html:root:root[data-look="9"][data-theme="light"] .cr-stage.over { box-shadow: 0 0 0 2px rgba(47,111,181,.5); }
html:root:root[data-look="9"][data-theme="light"] .cr-f .inp > em { color: var(--tx3); }
html:root:root[data-look="9"][data-theme="light"] .cr-back { background: rgba(28,40,58,.24); }
html:root:root[data-look="9"][data-theme="light"] .cr-err { color: #9a5a00; }
/* banner row on Token info */
html:root:root[data-look="9"][data-theme="light"] :is(.tq-bn-add:hover em, .tq-bn-add.over em) { color: #fff !important; background: var(--ac) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(button.tq-bn-add, button.tq-bn-pick):focus-visible { outline-color: rgba(47,111,181,.55); }

/* Token & Venue (fit-venue.css) */
html:root:root[data-look="9"][data-theme="light"] .ft-pop .hint b { color: var(--tx); }
html:root:root[data-look="9"][data-theme="light"] .ft-pop .hint.on b { color: var(--ac-ice); }
html:root:root[data-look="9"][data-theme="light"] :is(.fv-ca-copy, .fs-x, .fs-add, .fv-oq, .tq-sf-o, .fv-bb-edit, .tw-chips button):is(:hover, :focus-visible),
html:root:root[data-look="9"][data-theme="light"] .fv-oq[aria-describedby="fv-tip"] { color: var(--ac) !important; background: rgba(47,111,181,.08); box-shadow: inset 0 0 0 1px rgba(47,111,181,.3); }
html:root:root[data-look="9"][data-theme="light"] .up-name:is(:hover, :focus-visible) { color: var(--ac); text-decoration-color: rgba(47,111,181,.4); }
html:root:root[data-look="9"][data-theme="light"] .fv-ca-copy.ok { color: var(--up); }
html:root:root[data-look="9"][data-theme="light"] .tq-pen { color: var(--tx2); }
html:root:root[data-look="9"][data-theme="light"] .fv-tip { color: var(--tx2); }
html:root:root[data-look="9"][data-theme="light"] input.fv-ca-s { color: var(--tx); caret-color: var(--ac); }
html:root:root[data-look="9"][data-theme="light"] input.fv-ca-s::placeholder { color: #8a94a3; }
html:root:root[data-look="9"][data-theme="light"] .fv-sel select option { color: var(--tx); background: #fff; }
html:root:root[data-look="9"][data-theme="light"] :is(.fv-ft-note.err, .fv-ca-note.err, .fs-sum.err, .soc-err, .tq-sf-err, .tw-n.over, .bbp-rm) { color: #b4331a; }
html:root:root[data-look="9"][data-theme="light"] .bbp-rm:is(:hover, :focus-visible) { color: #8f2412; }
html:root:root[data-look="9"][data-theme="light"] .fs-burn { color: #c2410c; }
html:root:root[data-look="9"][data-theme="light"] :is(.fv-bb-u, .bbp-v > .fv-bb-u) { background: rgba(20,40,70,.06); box-shadow: inset 0 0 0 1px rgba(20,40,70,.06); }
html:root:root[data-look="9"][data-theme="light"] .fv-bb-u button.on { background: #fff; box-shadow: inset 0 0 0 1px rgba(20,40,70,.08), 0 1px 3px rgba(20,35,60,.12); }
html:root:root[data-look="9"][data-theme="light"] .fv-bbo-ck { box-shadow: inset 0 0 0 1px rgba(20,40,70,.3); color: #fff; }
html:root:root[data-look="9"][data-theme="light"] .split.fitv .fv-seg .fee-to-r:hover { background: rgba(255,255,255,.6); }
html:root:root[data-look="9"][data-theme="light"] .split.fitv .fv-seg .fee-to-r.on { background: #fff; }
html:root:root[data-look="9"][data-theme="light"] .vstep.fv-x.opt .vs-n { background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px rgba(20,40,70,.14); }
/* the PFP art overlays (pen on the logo, the required star badge, crop busy / undo tags) sit on the image: keep them dark */
html:root:root[data-look="9"][data-theme="light"] .tq-art .tlogo::after { background: rgba(15,23,36,.35); }
/* tweet composer */
html:root:root[data-look="9"][data-theme="light"] .tw-mini { background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(20,40,70,.1); }
html:root:root[data-look="9"][data-theme="light"] .tw-mini:is(:hover, :focus-visible) { box-shadow: inset 0 0 0 1px rgba(47,111,181,.35); }
html:root:root[data-look="9"][data-theme="light"] .tw-pre-b:is(:hover, [aria-expanded="true"]) { box-shadow: inset 0 0 0 1px rgba(20,40,70,.18); }
html:root:root[data-look="9"][data-theme="light"] .tw-reset { text-decoration-color: rgba(20,40,70,.3); }
html:root:root[data-look="9"][data-theme="light"] :is(.inp, .search, .picker) :is(input, textarea, select):focus { box-shadow: none !important; }

/* style.css leftovers */
html:root:root[data-look="9"][data-theme="light"] :is(.te-rn, .lr-cnt.on, .lr-limits li.warn em, .lr-was, .lr .te-sw.chg, .pp-note b, .pp-under, .wpop .te-sw.chg) { color: #9a5a00; }
html:root:root[data-look="9"][data-theme="light"] .pnl-grp button { color: var(--tx2); }
html:root:root[data-look="9"][data-theme="light"] .pnl-grp button:is(:hover, .on) { color: var(--tx); }
html:root:root[data-look="9"][data-theme="light"] .ql-robinhood .ql-ic { color: var(--tx); }
html:root:root[data-look="9"][data-theme="light"] :is(.launch-modal h2, .lm-steps li.now, .lm-field input, .lm-or:hover) { color: var(--tx); }
html:root:root[data-look="9"][data-theme="light"] :is(.ctabs button.on, .wv-nav button.on, .imp-tab.on, .tt-unit button.on, .tp-who button.on) > * { color: inherit; }
html:root:root[data-look="9"][data-theme="light"] .wl.open .wl-btn > .i { color: var(--tx); }

/* toasts: a dark glass pill, the same ink as the primary button (reads on every light surface) */
html:root:root[data-look="9"][data-theme="light"] :is(#toast, .toast) { color: #f4f7fb; background: linear-gradient(180deg, #2c3849, #161e2a); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 14px 30px -12px rgba(15,23,36,.5); border-color: transparent; }

/* ---------- 9 · fire moments stay fire: "Run it" (a plain .btn, so the secondary rules above would whiten it) ---------- */
html:root:root[data-look="9"][data-theme="light"] .wpop .btn.rv-run.rv-run.rv-run {
  color: #fff6ee !important; border: 1px solid rgba(255,150,100,.38) !important;
  background: linear-gradient(160deg, rgba(255,120,60,.92), rgba(224,36,15,.9) 48%, rgba(122,13,8,.92)) !important;
  box-shadow: inset 0 1px 0 rgba(255,230,200,.35), inset 0 -1px 0 rgba(90,8,4,.5), 0 8px 24px -10px rgba(224,36,15,.8) !important; }
html:root:root[data-look="9"][data-theme="light"] .wpop .btn.rv-run.rv-run.rv-run:hover:not(:disabled) {
  background: linear-gradient(160deg, rgba(255,120,60,.92), rgba(224,36,15,.9) 48%, rgba(122,13,8,.92)) !important;
  box-shadow: inset 0 1px 0 rgba(255,230,200,.45), inset 0 -1px 0 rgba(90,8,4,.5), 0 12px 30px -10px rgba(255,80,20,.9) !important; }
/* custom ticks (Burn bought tokens, Post automatically): white box, the burn tick stays fire orange */
html:root:root[data-look="9"][data-theme="light"] .fv-tick i { background: #fff; box-shadow: inset 0 0 0 1px rgba(20,40,70,.3); }
html:root:root[data-look="9"][data-theme="light"] .fv-tick input:checked + i { background: linear-gradient(160deg, #ff7a45, #e0361a); box-shadow: inset 0 0 0 1px rgba(160,30,8,.35); }
html:root:root[data-look="9"][data-theme="light"] .fv-tick input:focus-visible + i { outline-color: rgba(47,111,181,.55); }

/* ---------- 10 · charts, presets, optional steps ---------- */
html:root:root[data-look="9"][data-theme="light"] .mk.own { color: #fff; }
html:root:root[data-look="9"][data-theme="light"] .te-n { color: color-mix(in srgb, var(--tc, var(--ac)) 62%, #000); }
html:root:root[data-look="9"][data-theme="light"] .tt-dir[data-d="both"] { --dc: #2f6fb5; }
html:root:root[data-look="9"][data-theme="light"] .tt-dir[data-d="buy"] { --dc: #0a8754; }
html:root:root[data-look="9"][data-theme="light"] .tt-dir[data-d="sell"] { --dc: #c92a47; }
html:root:root[data-look="9"][data-theme="light"] .vstep.fv-x.opt { --e1: rgba(20,40,70,.08); --e2: rgba(20,40,70,.06); --e3: rgba(20,40,70,.05); }
html:root:root[data-look="9"][data-theme="light"] .vstep.fv-x.opt .fv-x-b { opacity: .85; }

/* ---------- 11 · live console (js/console.js + looks/console.css, being rebuilt by another pass: token-level only) ---------- */
html:root:root[data-look="9"][data-theme="light"] .cx {
  --cx-edge: inset 0 0 0 1px rgba(20,40,70,.08); --cx-fill: rgba(20,40,70,.04); --cx-fill2: #fff; --cx-ice: var(--ac); }
html:root:root[data-look="9"][data-theme="light"] .cx-tabbar [role="tab"].on { color: var(--tx); box-shadow: 0 1px 3px rgba(20,35,60,.12); }
html:root:root[data-look="9"][data-theme="light"] .cx-tabbar [role="tab"].on::after { box-shadow: none; }
html:root:root[data-look="9"][data-theme="light"] :is(.cx-swp, .cx-lay, .cx-drawer) { background: var(--pop-bg); box-shadow: var(--pop-sh); }
html:root:root[data-look="9"][data-theme="light"] :is(.cx-lg + .cx-lg, .cx-lay footer, .cx-eh) { box-shadow: inset 0 1px 0 rgba(20,40,70,.07); }
html:root:root[data-look="9"][data-theme="light"] .cx-lw option { background: #fff; color: #1b2430; }
html:root:root[data-look="9"][data-theme="light"] .cx-sw:not([aria-checked="true"]) { background: rgba(20,40,70,.12); } html:root:root[data-look="9"][data-theme="light"] .cx-sw i { background: #fff; box-shadow: 0 1px 2px rgba(20,35,60,.3); }

/* ---------- 12 · menus and pickers with an opaque near-black slab in style.css ---------- */
html:root:root[data-look="9"][data-theme="light"] :is(.pp-menu, .pk-menu, .wm-pop) {
  background: var(--pop-bg) !important; border-color: transparent !important; box-shadow: var(--pop-sh) !important; color: var(--tx); }
html:root:root[data-look="9"][data-theme="light"] :is(.pp-row, .pk-row):hover { background: rgba(20,40,70,.05); }
html:root:root[data-look="9"][data-theme="light"] .mbar { background: rgba(247,249,252,.9); border-color: rgba(20,40,70,.08); }
html:root:root[data-look="9"][data-theme="light"] .launch-modal { background: rgba(28,40,58,.24); }
html:root:root[data-look="9"][data-theme="light"] .launch-modal .box { background: var(--pop-bg); box-shadow: var(--pop-sh); border-color: transparent; }
html:root:root[data-look="9"][data-theme="light"] .tag.proven { color: #24589a; }

/* =====================================================================================================================
   13 · GLASS PASS. Light was too flat (white on near-white). This mirrors the dark frosted look one stop lighter:
   a mid cool grey-blue page with the steel flames showing, sections as real frosted glass (translucent white, blur,
   a bright top edge, a crisp inset highlight + hairline rim, a soft layered shadow), tiles and fields sitting one level
   inside the glass (denser, recessed, inner top shadow), and glossy interactive glass with an ice-tinted selected state.
   Later in the file than 1–12, same prefix, so it wins on order.
   ===================================================================================================================== */
html:root:root[data-look="9"][data-theme="light"] {
  --bg: #dbe2ec; --bg1: #e4e9f1; --bg2: #d8dfe9; --bg2b: #dae1ea; --bg3: #ccd5e1;
  --tx3: #505b6c;   /* AA on the darker page and on recessed fields */
  /* sections */
  --fz: rgba(255,255,255,.46);
  --fz-top: linear-gradient(180deg, rgba(255,255,255,.62) 0, rgba(255,255,255,.16) 34%, rgba(255,255,255,0) 62%);
  --fz-blur: blur(24px) saturate(1.3);
  --gl-hi: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.55);
  --fz-sh: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.55), 0 0 0 1px rgba(30,50,80,.06), 0 8px 24px -8px rgba(30,50,80,.18);
  /* section ring (::before): bright top-left fading to a cool rim */
  --s1: rgba(255,255,255,1); --s2: rgba(255,255,255,.5); --s3: rgba(30,50,80,.1);
  /* tiles inside the glass: a denser frost, one level in */
  --fill: rgba(255,255,255,.34);
  --fill-top: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 46%);
  --o1: rgba(255,255,255,.95); --o2: rgba(30,50,80,.1); --o3: rgba(30,50,80,.14);
  --h2: rgba(30,50,80,.18); --h3: rgba(30,50,80,.24);
  --a1: rgba(255,255,255,1); --a2: rgba(91,143,208,.55); --a3: rgba(47,111,181,.45);
  --tile-sh: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 2px rgba(30,50,80,.06), 0 4px 12px -8px rgba(30,50,80,.18);
  /* recessed fields (inputs, tracks) */
  --well: linear-gradient(180deg, rgba(200,211,226,.42), rgba(236,240,246,.42));
  --well-sh: inset 0 1px 2px rgba(30,50,80,.12), inset 0 0 0 1px rgba(30,50,80,.09), 0 1px 0 rgba(255,255,255,.7);
  /* ice selected state */
  --ice-on: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.3) 52%, rgba(255,255,255,.18)), rgba(143,182,228,.24);
  --ice-on-sh: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(91,143,208,.42), 0 0 0 1px rgba(91,143,208,.12), 0 6px 20px -8px rgba(74,128,196,.55);
  --glow-on: var(--ice-on-sh);
  /* glossy controls */
  --gloss: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.5) 50%, rgba(255,255,255,.34));
  --gloss-h: linear-gradient(180deg, #fff, rgba(255,255,255,.66) 50%, rgba(255,255,255,.5));
  --gloss-sh: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255,255,255,.5), 0 0 0 1px rgba(30,50,80,.08), 0 2px 6px -2px rgba(30,50,80,.18);
  /* select / inner / pop hooks */
  --sel-bg: var(--fill-top), rgba(255,255,255,.34);
  --sel-edge: linear-gradient(135deg, rgba(255,255,255,.95), rgba(30,50,80,.1) 45%, rgba(30,50,80,.12) 75%, rgba(30,50,80,.16));
  --box-bg: var(--well); --box-sh: var(--well-sh);
  --in-bg: var(--fill-top), rgba(255,255,255,.34); --in-sh: var(--tile-sh);
  --in-edge: linear-gradient(150deg, rgba(255,255,255,.95), rgba(30,50,80,.1) 40%, rgba(30,50,80,.14));
  --rc-bg: var(--well); --rc-sh: var(--well-sh);
  --seg-on-bg: var(--gloss); --seg-on-sh: var(--gloss-sh);
  --pop-bg: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.58) 38%), rgba(226,232,241,.62);
  --pop-sh: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255,255,255,.6), 0 0 0 1px rgba(30,50,80,.08), 0 40px 90px -30px rgba(30,50,80,.45), 0 12px 30px -14px rgba(30,50,80,.25);
  /* L-frame: frosted, not white */
  --fr-c: rgba(234,239,246,.5); --fr-l1: rgba(255,255,255,.95); --fr-l2: rgba(255,255,255,.5);
}

/* page: mid cool grey-blue, the steel flames a little more present */
html:root:root[data-look="9"][data-theme="light"] body { background:
  radial-gradient(900px 700px at 78% 40%, rgba(120,160,215,.2), transparent 70%),
  radial-gradient(800px 560px at 12% 4%, rgba(255,255,255,.45), transparent 65%),
  radial-gradient(700px 500px at 18% 100%, rgba(110,140,185,.16), transparent 70%),
  linear-gradient(180deg, #dfe5ee, #d3dbe6 70%) fixed !important; }
html:root:root[data-look="9"][data-theme="light"] #run-bg::before,
html:root:root[data-look="9"][data-theme="light"] #run-bg::after {
  filter: grayscale(.35) sepia(.2) hue-rotate(175deg) contrast(.55) brightness(1.18) opacity(.85) drop-shadow(0 0 50px rgba(255,255,255,.55)); }

/* sections: real frosted glass */
html:root:root[data-look="9"][data-theme="light"] :is(.card, .stat, .save-row, .lc-opt, .hh, .wv-fund, .engine-strip, .fees-box, .wv-tbl, .ql-c, .tq-head, .ro-empty, .start-bar, .ag-id) {
  background: var(--fz-top), var(--fz) !important; box-shadow: var(--fz-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] .ql-c:hover { background: var(--fz-top), rgba(255,255,255,.62) !important; }
html:root:root[data-look="9"][data-theme="light"] .tstrip { background: var(--fz-top), rgba(255,255,255,.5) !important; box-shadow: var(--fz-sh) !important; }
/* nested panels: one level in (no second blur) */
html:root:root[data-look="9"][data-theme="light"] :is(.card, .wpop, .hh) :is(.card, .stat, .save-row, .lc-opt, .fees-box, .wv-fund) {
  background: var(--fill-top), rgba(255,255,255,.3) !important; box-shadow: var(--tile-sh) !important;
  --e1: rgba(255,255,255,.95); --e2: rgba(30,50,80,.08); --e3: rgba(30,50,80,.12); }

/* tiles, options, rows inside the glass */
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode, .hl-prev, .hw, .hs-t, .tile, .check, .mini-g div, .bun-row, .rv-head, .rv-s, .src-row, .cln-row, .tpl-venue,
  .wv-mkt, .presets button, .drop, .empty, .lcard.add, .tt-dir, .theme-opt, .tt-modes button) { background: var(--fill-top), var(--fill) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode, .tt-modes button, .tt-dir, .tile:not(.static), .theme-opt, .hw, .check, .bun-row, .src-row, .cln-row, .tpl-venue, .wv-mkt, .lcard.add):not(.on) { box-shadow: var(--tile-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode:not(.on), .hl-prev:not(:disabled), .hw, .hs-t, .tile:not(.on):not(.static), .check, .bun-row, .src-row, .cln-row,
  .tpl-venue, .wv-mkt, .presets button:not(.on), .lcard.add, .tt-dir:not(.on), .theme-opt:not(.on)):hover { background: var(--fill-top), rgba(255,255,255,.56) !important; }
/* selected: ice-tinted glass with a soft ice glow */
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode.on, .tile.on:not(.static), .presets button.on, .check.next, .tt-dir.on, .theme-opt.on, .tt-modes button.on),
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode.on, .tile.on:not(.static), .presets button.on, .check.next, .tt-dir.on, .theme-opt.on):hover {
  background: var(--ice-on) !important; box-shadow: var(--ice-on-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode, .tt-modes button, .tt-dir, .tile:not(.static), .theme-opt).on::before {
  background: linear-gradient(135deg, #fff, rgba(91,143,208,.5) 45%, rgba(47,111,181,.4)) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode.on, .tile.on:not(.static))::after,
html:root:root[data-look="9"][data-theme="light"] :is(.hl-mode, .tt-modes button, .tt-dir, .tile:not(.static), .theme-opt).on::after {
  background: #2f6fb5 !important; box-shadow: 0 0 0 3px rgba(91,143,208,.22), 0 0 8px rgba(91,143,208,.7) !important; }
html:root:root[data-look="9"][data-theme="light"] .hw-slot { background: var(--well) !important; box-shadow: var(--well-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] .hw:hover .hw-slot { background: rgba(255,255,255,.45) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.hw-ic, .hl-tpl, .pk-ic, .ql-ic, .steps .sn) { background: var(--gloss) !important; box-shadow: var(--gloss-sh) !important; }

/* fields: recessed frost inside the glass */
html:root:root[data-look="9"][data-theme="light"] :is(.inp, .hf-addr, .addr, .picker, .search, .wv-q, .rl-q, .wx-q, .pp-search, .ro-q, .rv-in) {
  background: var(--well) !important; box-shadow: var(--well-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.inp, .hf-addr, .addr, .picker, .search, .wv-q, .rl-q, .wx-q, .pp-search, .ro-q)::before { opacity: 0 !important; }
html:root:root[data-look="9"][data-theme="light"] :is(input.inp, textarea, select) { background: var(--well) !important; box-shadow: var(--well-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.inp, .search, .hf-addr, .picker, .wv-q, .rl-q, .pp-search, .ro-q, .wx-q, .rv-in):focus-within,
html:root:root[data-look="9"][data-theme="light"] :is(input.inp, textarea, select):focus {
  background: rgba(255,255,255,.78) !important; box-shadow: inset 0 1px 2px rgba(30,50,80,.08), inset 0 0 0 1px rgba(47,111,181,.55), 0 0 0 3px rgba(91,143,208,.2), 0 0 18px -6px rgba(91,143,208,.6) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.inp, .search, .picker) :is(input, textarea, select),
html:root:root[data-look="9"][data-theme="light"] :is(.inp, .search, .picker) :is(input, textarea, select):focus { background: none !important; box-shadow: none !important; }

/* glossy controls: secondary buttons, pills, chips */
html:root:root[data-look="9"][data-theme="light"] :is(.btn:not(.pri):not(.ghost):not(.dn), .newr, .wl-btn, .balchip) { background: var(--gloss) !important; box-shadow: var(--gloss-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.btn:not(.pri):not(.ghost):not(.dn), .newr, .wl-btn):hover:not(:disabled) { background: var(--gloss-h) !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255,255,255,.6), 0 0 0 1px rgba(30,50,80,.1), 0 4px 12px -4px rgba(30,50,80,.22) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.btn:not(.pri):not(.ghost):not(.dn), .newr, .wl-btn)::before { opacity: 0 !important; }
html:root:root[data-look="9"][data-theme="light"] .btn.ghost:hover { background: rgba(255,255,255,.45) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 1px rgba(30,50,80,.07) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.chip, .hh-ven, .tag, .st, .eb, .cx-pill, .cx .wn-f) { background: rgba(255,255,255,.42) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 0 0 1px rgba(30,50,80,.09) !important; }
html:root:root[data-look="9"][data-theme="light"] .st-live { background: color-mix(in srgb, var(--up) 12%, rgba(255,255,255,.5)) !important; }
html:root:root[data-look="9"][data-theme="light"] .st-setup { background: color-mix(in srgb, var(--c-amber) 12%, rgba(255,255,255,.5)) !important; }
/* primary: the dark glass pill, with a specular top like the silver one in dark */
html:root:root[data-look="9"][data-theme="light"] :is(.btn.pri, .dep, .rl-new):not(.buyb) {
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.04) 46%, transparent 52%), linear-gradient(180deg, #34425a, #182130) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 0 1px rgba(10,16,26,.55), 0 6px 18px -8px rgba(20,32,52,.6), 0 0 0 1px rgba(255,255,255,.35) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.btn.pri, .dep, .rl-new):not(.buyb):hover:not(:disabled) {
  background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.06) 46%, transparent 52%), linear-gradient(180deg, #3e4e68, #1e2938) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.btn.pri:disabled, .btn.pri[disabled]) { background: rgba(255,255,255,.3) !important; color: #6a7484 !important; box-shadow: inset 0 0 0 1px rgba(30,50,80,.1) !important; }

/* segmented controls: recessed track, the picked side a glossy lens */
html:root:root[data-look="9"][data-theme="light"] :is(.mode-sw, .seg, .wv-chs, .rv-seg, .fv-seg, .fv-bb-u, .cx-seg, .wl-tabs, .set-tabs, .c-tog, .cx .c-tog.cx-ctog, .bs) {
  background: var(--well) !important; box-shadow: var(--well-sh) !important; border-color: transparent !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.seg button.on, .wv-chs .wv-ch.on, .mode-sw button.on, .tabs .on, .tf .on, .wl-tabs button.on, .set-tabs a.on, .rv-seg button.on,
  .fv-seg .fee-to-r.on, .fv-bb-u button.on, .cx-seg button.on, .ctabs button.on, .wv-nav button.on, .imp-tab.on, .tt-unit button.on, .tp-who button.on, .cx-tabbar [role="tab"].on) {
  background: var(--gloss) !important; color: var(--tx) !important; box-shadow: var(--gloss-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] .split.fitv .fv-seg .fee-to-r.on { background: var(--gloss) !important; box-shadow: var(--gloss-sh) !important; }

/* shell: frosted sidebar, top bar and status bar (the L-frame tint is --fr-c), glossy active row */
html:root:root[data-look="9"][data-theme="light"] :is(.nl.on, .rl-row.on) { background: var(--gloss) !important; box-shadow: var(--gloss-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.nl:not(.on), .rl-row:not(.on)):hover { background: rgba(255,255,255,.4); }
html:root:root[data-look="9"][data-theme="light"] .sb-foot { background: var(--fill-top), rgba(255,255,255,.34) !important; box-shadow: var(--tile-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.sb, .topbar, .status) { -webkit-backdrop-filter: var(--fz-blur); backdrop-filter: var(--fz-blur); }

/* pop-ups and menus: a denser frosted slab */
html:root:root[data-look="9"][data-theme="light"] :is(.wpop-bg, .sh-bg, .ov:not(.docked) .ov-bg, .lf-scrim, .cr-back, .cx-scrim) { background: rgba(40,56,80,.26) !important; }
html:root:root[data-look="9"][data-theme="light"] .topbar .wl .wl-panel.wl-panel { background: var(--pop-bg) !important; box-shadow: var(--pop-sh) !important;
  -webkit-backdrop-filter: blur(36px) saturate(1.3) !important; backdrop-filter: blur(36px) saturate(1.3) !important; }
html:root:root[data-look="9"][data-theme="light"] .wv-pop { background: var(--pop-bg) !important; box-shadow: var(--pop-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] .cr-card.cr-empty .cr-drop { background: radial-gradient(120% 140% at 50% 0%, rgba(255,255,255,.5), transparent 60%), var(--well); box-shadow: var(--well-sh); }
html:root:root[data-look="9"][data-theme="light"] :is(.wv-tbl, .wc, .wx-tbl, .imp-tbl) thead th { background: rgba(232,237,244,.94) !important; }

/* live console: zones, drawers, menus, tape and tables */
html:root:root[data-look="9"][data-theme="light"] .cx { --cx-fill: rgba(255,255,255,.38); --cx-fill2: rgba(255,255,255,.72); --cx-edge: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.55); }
html:root:root[data-look="9"][data-theme="light"] .cx :is(.cx-z, .cx-strip, .cx-seq) { box-shadow: var(--fz-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.cx-drawer, .cx-swp, .cx-lay, .cx-trkm) { background: var(--pop-bg) !important; box-shadow: var(--pop-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] :is(.cx .cx-tape .tp-h, .cx .tbl th) { background: rgba(236,240,246,.94) !important; }
html:root:root[data-look="9"][data-theme="light"] .cx :is(.cx-pane, .cx-db) :is(.card, .stat, .engine-strip) { background: var(--fill-top), rgba(255,255,255,.3) !important; box-shadow: var(--tile-sh) !important; }
html:root:root[data-look="9"][data-theme="light"] .cx-ads > :is(.trade, .tt-form, .lr-body), html:root:root[data-look="9"][data-theme="light"] .cx-adh { background: var(--fill-top), rgba(255,255,255,.3); box-shadow: var(--tile-sh); }
html:root:root[data-look="9"][data-theme="light"] .cx :is(.cx-swq, .cx-eh, .cx-dh) { box-shadow: inset 0 -1px 0 rgba(30,50,80,.08); }
html:root:root[data-look="9"][data-theme="light"] .cx :is(.cx-swp footer, .cx-lay footer, .cx-lg + .cx-lg) { box-shadow: inset 0 1px 0 rgba(30,50,80,.08); }
html:root:root[data-look="9"][data-theme="light"] .cx-lw option { background: #fff; color: var(--tx); }
html:root:root[data-look="9"][data-theme="light"] .cx-demo { color: var(--ac); background: rgba(47,111,181,.08); box-shadow: inset 0 0 0 1px rgba(47,111,181,.2); }
html:root:root[data-look="9"][data-theme="light"] .cx-seqb li i { background: rgba(47,111,181,.14); }
html:root:root[data-look="9"][data-theme="light"] .cx :is(button, a):focus-visible { box-shadow: 0 0 0 2px rgba(47,111,181,.55) !important; }
html:root:root[data-look="9"][data-theme="light"] .trk-s small { color: var(--tx2); }
html:root:root[data-look="9"][data-theme="light"] :is(.tq-bn-add em, .cx-demo) { color: #24589a !important; }
