/* Illustration styles for src/site/visual.mjs (v2: flat, hairline, SaaS). Load after ds.css.
   Only `vx-` classes live here; colours come from the ds `--ux-*` tokens (light-dark pairs), so .ux-dark and themes just work. */

/* ---- hero: library window (inline SVG) ---- */
.vx-hero { display: block; width: 100%; height: auto; overflow: visible; }
.vx-hero--compact { display: none; }
@media (max-width: 640px) { .vx-hero--wide { display: none; } .vx-hero--compact { display: block; } }
.vx-hero text { font-family: var(--ux-font); font-size: 13px; fill: var(--ux-text); }
.vx-hero .s-acc { stop-color: var(--ux-accent); } .vx-hero .s-deep { stop-color: light-dark(#2D6BFF, #6301E4); }
.vx-hero .s-p1 { stop-color: light-dark(#7424F7, #8443FF); } .vx-hero .s-p2 { stop-color: light-dark(#6301E4, #6A10EE); }
.vx-hero .f-sh { flood-color: rgb(var(--ux-sh)); }
.vx-hero .h-win { fill: var(--ux-surface); stroke: var(--ux-line-strong); }
.vx-hero .h-bar { fill: var(--ux-surface-2); } .vx-hero .h-line { stroke: var(--ux-line); fill: none; } .vx-hero .h-dot { fill: var(--ux-line-strong); }
.vx-hero .h-side { fill: var(--ux-bg-alt); } .vx-hero .h-on { fill: var(--ux-accent-soft); }
.vx-hero .h-title { font-family: var(--ux-font-display); font-weight: 600; font-size: 12.5px; }
.vx-hero .h-mute { fill: var(--ux-muted); } .vx-hero .h-mute-i { color: var(--ux-muted); } .vx-hero .h-sm { font-size: 11.5px; }
.vx-hero .h-cap { font-size: 10px; font-weight: 600; letter-spacing: .1em; fill: var(--ux-muted); }
.vx-hero .h-side-t { font-size: 12.5px; font-weight: 500; } .vx-hero .h-acc-t { fill: var(--ux-accent); font-weight: 650; }
.vx-hero .h-num { font-family: var(--ux-mono); font-size: 10.5px; fill: var(--ux-muted); }
.vx-hero .h-field { fill: var(--ux-field); stroke: var(--ux-line-strong); } .vx-hero .h-kbd { fill: var(--ux-surface-2); stroke: var(--ux-line); }
.vx-hero .h-kbd-t { font-family: var(--ux-mono); font-size: 11px; }
.vx-hero .h-seg { fill: var(--ux-well); stroke: var(--ux-line); } .vx-hero .h-segon { fill: var(--ux-surface); stroke: var(--ux-line); }
.vx-hero .h-seg-t { font-size: 12px; font-weight: 600; fill: var(--ux-muted); } .vx-hero .h-seg-on { fill: var(--ux-text); }
.vx-hero .h-pro { fill: var(--ux-pro-bg); stroke: var(--ux-pro-edge); } .vx-hero .h-pro-t { font-size: 8.5px; font-weight: 800; letter-spacing: .05em; fill: var(--ux-pro-ink); }
.vx-hero .h-sel { fill: var(--ux-accent-soft); stroke: color-mix(in srgb, var(--ux-accent) 50%, transparent); stroke-width: 1.25; }
.vx-hero .h-ink { color: var(--ux-text); } .vx-hero .h-acc { color: var(--ux-accent); } .vx-hero .h-white { color: #FFFFFF; } .vx-hero .h-acc-f { fill: var(--ux-accent); }
.vx-hero .h-lockb { fill: var(--ux-pro-bg); stroke: var(--ux-pro-edge); } .vx-hero .h-lock { color: var(--ux-pro-ink); }
.vx-hero .h-sheet { fill: var(--ux-surface); stroke: var(--ux-line-strong); } .vx-hero .h-handle { fill: var(--ux-line-strong); }
.vx-hero .h-prev { fill: var(--ux-surface-2); stroke: var(--ux-line); } .vx-hero .h-grid { stroke: var(--ux-accent); stroke-opacity: .16; fill: none; }
.vx-hero .h-name { font-family: var(--ux-mono); font-size: 16px; font-weight: 600; }
.vx-hero .h-chip { fill: var(--ux-well); stroke: var(--ux-line); } .vx-hero .h-chip-t { font-size: 11px; fill: var(--ux-muted); }
.vx-hero .h-pri-t { font-size: 12.5px; font-weight: 650; fill: #FFFFFF; }
.vx-hero .h-key { fill: var(--ux-surface); stroke: var(--ux-line-strong); } .vx-hero .h-key-t { font-size: 12.5px; font-weight: 600; }
.vx-hero .h-gold { fill: var(--ux-gold); }

/* ---- small shared atoms ---- */
.vx-cell { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ux-line); border-radius: 14px; background: var(--ux-surface); color: var(--ux-text); box-shadow: var(--ux-e1); }
.vx-cell--lg { width: 76px; height: 76px; border-radius: 18px; color: var(--ux-accent); }
.vx-cell--xl { width: 104px; height: 104px; border-radius: 24px; color: var(--ux-accent); box-shadow: var(--ux-e2); }
.vx-tag { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; border: 1px solid var(--ux-line); border-radius: 6px; background: var(--ux-surface); color: var(--ux-muted); font: 500 11px/1 var(--ux-mono); }
.vx-tv { position: relative; display: grid; place-items: center; width: 100%; min-width: 0; color: var(--ux-text); }

/* ---- icon wall ---- */
.vx-wall { grid-template-columns: repeat(var(--cols, 12), minmax(0, 1fr)); }
@media (max-width: 900px) { .vx-wall { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); } }
.vx-wall--sm { --icon: 22px; width: 100%; max-height: 190px; }

/* ---- style showcase (15 cells) ---- */
.vx-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.vx-style { position: relative; display: grid; overflow: hidden; border: 1px solid var(--ux-line); border-radius: var(--ux-r-xl); background: var(--ux-surface); box-shadow: var(--ux-e1); }
.vx-style--free { border-color: color-mix(in srgb, var(--ux-accent) 30%, var(--ux-line)); }
.vx-style__art { display: flex; align-items: center; justify-content: center; gap: 14px; height: 96px; color: var(--ux-accent); border-bottom: 1px solid var(--ux-line);
  background: var(--ux-dots), var(--ux-surface-2); background-size: 18px 18px, auto; }
.vx-style--free .vx-style__art { color: var(--ux-text); }
.vx-style__art--glass { gap: 10px; background: radial-gradient(70% 90% at 15% 15%, rgb(99 1 228 / .55), transparent 70%), radial-gradient(60% 80% at 90% 90%, rgb(251 174 23 / .45), transparent 70%), radial-gradient(60% 80% at 85% 10%, rgb(45 107 255 / .4), transparent 70%), var(--ux-tile-bg); }
.vx-gl.ux-plate { --s: 44px; color: #FFFFFF; } .vx-gl svg { width: 20px; height: 20px; filter: none; }
.vx-sharp svg, .vx-sharp svg * { stroke-linejoin: miter; stroke-linecap: square; }
.vx-style__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; }
.vx-style__meta b { display: block; font: 600 14px/1.2 var(--ux-font-display); color: var(--ux-text); }
.vx-style__meta small { display: block; font-size: 11.5px; color: var(--ux-muted); }
.vx-free { height: 19px; padding: 0 6px; border-radius: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.vx-style .ux-lock--corner { inset: 8px 8px auto auto; }

/* ---- tile visuals ---- */
.vx-g24 { display: block; width: min(100%, 240px); height: auto; }
.vx-g24 .g-bg { fill: var(--ux-surface); stroke: var(--ux-line); } .vx-g24 .g-l { stroke: var(--ux-line); stroke-width: .75; fill: none; }
.vx-g24 .g-pad { fill: none; stroke: var(--ux-accent); stroke-opacity: .35; stroke-dasharray: 3 3; }
.vx-g24 .g-k { fill: none; stroke: var(--ux-accent); stroke-opacity: .28; } .vx-g24 .g-c { stroke: var(--ux-accent); stroke-opacity: .18; fill: none; }
.vx-g24 .g-ic { color: var(--ux-accent); opacity: .16; }
.vx-g24 .g-ic2 { color: var(--ux-accent); } .vx-g24 .g-ic2 svg, .vx-g24 .g-ic2 svg * { stroke-width: .12; }
.vx-weights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 380px; text-align: center; }
.vx-weights .vx-cell { width: 100%; height: auto; aspect-ratio: 1; max-width: 76px; }
.vx-weights b { display: block; margin-top: 8px; font: 600 12.5px/1.2 var(--ux-font-display); } .vx-weights small { color: var(--ux-muted); font: 500 11px/1.4 var(--ux-mono); }
.vx-pic { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.vx-pic__card { max-width: 220px; padding: 12px 14px; border: 1px solid var(--ux-line); border-radius: 14px; background: var(--ux-surface); box-shadow: var(--ux-e2); }
.vx-pic__card small { display: block; margin-bottom: 4px; color: var(--ux-accent); font: 600 11px/1 var(--ux-font); letter-spacing: .06em; text-transform: uppercase; }
.vx-pic__card p { margin: 0; font: 500 15px/1.35 var(--ux-font-display); color: var(--ux-text); }
.vx-pic__arrow { color: var(--ux-muted); display: inline-flex; rotate: 90deg; }
.vx-pic__out { display: grid; justify-items: center; gap: 6px; } .vx-pic__out code { font: 500 11px/1 var(--ux-mono); color: var(--ux-muted); }
.vx-audit { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.vx-check { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 8px; border: 1px solid var(--ux-line); border-radius: 99px; background: var(--ux-surface); box-shadow: var(--ux-e2); font: 600 12px/1 var(--ux-font); color: var(--ux-text); }
.vx-check svg { color: light-dark(#0F8A4F, #4ADE80); }
.vx-check--a { transform: translateY(-18px); } .vx-check--b { transform: translateY(18px); }
.vx-studio { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; width: 100%; max-width: 340px; }
.vx-rail { display: grid; align-content: start; gap: 4px; padding: 6px; border: 1px solid var(--ux-line); border-radius: 12px; background: var(--ux-surface); box-shadow: var(--ux-e1); }
.vx-rail span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--ux-muted); }
.vx-rail .is-on { color: var(--ux-accent); background: var(--ux-accent-soft); }
.vx-canvas { display: block; width: 100%; height: auto; border: 1px solid var(--ux-line); border-radius: 12px; background: var(--ux-surface); box-shadow: var(--ux-e1); }
.vx-canvas .c-dot { fill: var(--ux-line-strong); } .vx-canvas .c-art { fill: none; stroke: var(--ux-line); stroke-dasharray: 3 3; }
.vx-canvas .c-path { fill: none; stroke: var(--ux-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vx-canvas .c-h { stroke: var(--ux-muted); stroke-width: 1; } .vx-canvas .c-hp { fill: var(--ux-surface); stroke: var(--ux-muted); }
.vx-canvas .c-n { fill: var(--ux-surface); stroke: var(--ux-accent); stroke-width: 1.5; } .vx-canvas .c-n--on { fill: var(--ux-accent); }
.vx-prolock { width: 100%; max-width: 340px; padding: 14px 14px 64px; border-radius: 14px; }
.vx-prolock__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; justify-items: center; color: var(--ux-accent); }
.vx-prolock .vx-cell { width: 100%; max-width: 64px; height: auto; aspect-ratio: 1; color: var(--ux-accent); }
.vx-ring { position: relative; width: min(100%, 260px); aspect-ratio: 1; }
.vx-ring__orbit { position: absolute; inset: 12%; border: 1px dashed var(--ux-line-strong); border-radius: 50%; }
.vx-ring .vx-cell { position: absolute; width: 46px; height: 46px; translate: -50% -50%; color: var(--ux-accent); }
.vx-ring__core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 72px; height: 72px; translate: -50% -50%; border-radius: 20px; background: var(--ux-tile-bg); color: #FFFFFF; box-shadow: var(--ux-e3); }
.vx-copy { width: 100%; max-width: 420px; text-align: left; }
.vx-copy pre { font-size: 12px; line-height: 1.65; white-space: pre; overflow: hidden; }
.vx-tab { padding: 7px 10px; border-radius: 7px; color: var(--ux-code-muted); font: 500 .8125rem/1 var(--ux-mono); }
.vx-tab.is-on { background: rgb(255 255 255 / .09); color: #FFFFFF; }
.vx-search { display: grid; gap: 12px; width: 100%; max-width: 360px; }
.vx-search__field { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1px solid var(--ux-line-strong); border-radius: 12px; background: var(--ux-field); box-shadow: var(--ux-e2); color: var(--ux-muted); }
.vx-search__field span { color: var(--ux-text); font-weight: 500; }
.vx-search__field i { width: 1.5px; height: 18px; margin-left: -8px; background: var(--ux-accent); }
.vx-search__hits { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.vx-search__hits .vx-cell { width: 100%; height: auto; aspect-ratio: 1; }
.vx-sizes { display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 3vw, 22px); color: var(--ux-text); }
.vx-sizes div { display: grid; justify-items: center; gap: 8px; } .vx-sizes small { color: var(--ux-muted); font: 500 11px/1 var(--ux-mono); }
.vx-dl { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 380px; overflow: hidden; border: 1px solid var(--ux-line); border-radius: 14px; }
.vx-dl > div { display: flex; justify-content: center; gap: 14px; padding: 22px 10px; background: var(--ux-surface); color: var(--ux-text); }
.vx-dl__l { color-scheme: light; }
.vx-sg { display: grid; grid-template-columns: repeat(3, 52px); gap: 10px; color: var(--ux-accent); }
.vx-sg .vx-cell:first-child, .vx-sg .vx-cell:nth-child(2) { color: var(--ux-text); }
.vx-sg .ux-lock--corner { inset: -6px -6px auto auto; } .vx-sg .ux-lock--corner > svg { width: 18px; height: 18px; padding: 3px; }

/* ---- use-case mockups: flat product UI ---- */
.vx-mock { width: 100%; }
.vx-mock .ux-phone { margin-inline: auto; }
.vx-mock .ux-window { width: 100%; max-width: 760px; container-type: inline-size; }
.vx-mock .ux-window__body { font-size: 12px; line-height: 1.3; }
.vx-mock .ux-plate { box-shadow: none; border-color: transparent; background: var(--ux-accent-soft); color: var(--ux-accent); }
.vx-mock .ux-plate svg { filter: none; }
.vx-scr { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 54px 14px 72px; font-size: 12px; line-height: 1.3; }
.vx-mock b, .vx-ttl { font: 600 13px/1.2 var(--ux-font-display); color: var(--ux-text); }
.vx-mock small, .vx-mute { display: block; font-size: 10.5px; color: var(--ux-muted); }
.vx-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vx-top .vx-ttl { font-size: 17px; letter-spacing: -.01em; }
.vx-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--ux-text); background: var(--ux-surface); border: 1px solid var(--ux-line); }
.vx-ico svg { width: 16px; height: 16px; }
.vx-bar { display: block; height: 7px; width: var(--w, 60%); border-radius: 4px; background: currentColor; opacity: .14; }
.vx-bar--lg { height: 10px; border-radius: 5px; opacity: 1; background: color-mix(in srgb, var(--ux-accent) 70%, transparent); }
.vx-card { position: relative; padding: 12px; border: 1px solid var(--ux-line); border-radius: 14px; background: var(--ux-surface); box-shadow: var(--ux-e1); }
.vx-card--brand { color: #FFFFFF; border-color: transparent; background: var(--ux-tile-bg); box-shadow: 0 12px 24px -14px rgb(var(--ux-pri-glow) / .55); overflow: hidden; }
.vx-card--brand b, .vx-card--brand small { color: inherit; } .vx-card--brand small { opacity: .8; }
.vx-card--brand .vx-bar { opacity: .9; background: #FFFFFF; }
.vx-card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vx-card__row svg { width: 18px; height: 18px; }
.vx-stack { --gap: 8px; display: grid; gap: var(--gap); }
.vx-acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; text-align: center; }
.vx-acts span:last-child { display: block; margin-top: 6px; font-size: 10.5px; font-weight: 600; color: var(--ux-text); }
.vx-acts .ux-plate { --s: 44px; border-radius: 14px; }
.vx-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--ux-line); border-radius: 12px; background: var(--ux-surface); }
.vx-row .ux-plate { --s: 32px; border-radius: 10px; }
.vx-row > :last-child:not(.ux-plate) { justify-self: end; }
.vx-sec { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2px; }
.vx-sec b { font-size: 12px; } .vx-sec small { color: var(--ux-accent); font-weight: 600; }
.vx-tabbar { position: absolute; left: 10px; right: 10px; bottom: 12px; display: flex; justify-content: space-around; align-items: center; height: 50px; border: 1px solid var(--ux-line); border-radius: 18px;
  background: color-mix(in srgb, var(--ux-surface) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--ux-e2); color: var(--ux-muted); }
.vx-tabbar svg { width: 20px; height: 20px; }
.vx-tabbar .is-on { display: inline-grid; place-items: center; width: 40px; height: 32px; border-radius: 11px; color: var(--ux-accent); background: var(--ux-accent-soft); }
.vx-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 99px; font: 600 10px/1 var(--ux-font); white-space: nowrap; color: var(--ux-accent); background: var(--ux-accent-soft); }
.vx-chip svg { width: 12px; height: 12px; }
.vx-chip--mute { color: var(--ux-muted); background: var(--ux-well); }
.vx-chip--gem::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ux-gold); }
.vx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 10px; font: 600 12px/1 var(--ux-font); color: #FFFFFF;
  background: var(--ux-pri-bg); border: 1px solid var(--ux-pri-border); box-shadow: var(--ux-e1); }
.vx-btn svg { width: 14px; height: 14px; }
.vx-btn--block { width: 100%; }
.vx-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border: 1px solid var(--ux-line); border-radius: 14px; background: var(--ux-surface); box-shadow: var(--ux-e3); font-size: 12px; text-align: left; }
.vx-float__i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ux-accent-soft); color: var(--ux-accent); }
.vx-float--a { left: 4%; top: 20%; } .vx-float--b { right: 4%; bottom: 18%; }
.vx-mock--phone { container-type: inline-size; }
@container (max-width: 700px) { .vx-float { display: none; } }

/* window apps */
.vx-app { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 360px; font-size: 12px; line-height: 1.3; }
.vx-side { display: grid; align-content: start; gap: 2px; padding: 14px 10px; border-right: 1px solid var(--ux-line); background: var(--ux-bg-alt); }
.vx-side a { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 10px; border-radius: 8px; color: var(--ux-muted); font-weight: 600; text-decoration: none; white-space: nowrap; }
.vx-side svg { width: 16px; height: 16px; flex: none; }
.vx-side a[aria-current] { color: var(--ux-accent); background: var(--ux-accent-soft); }
.vx-side .vx-mute { padding: 10px 10px 4px; text-transform: uppercase; letter-spacing: .08em; font-size: 9.5px; }
.vx-main { display: grid; align-content: start; gap: 14px; padding: 16px; min-width: 0; }
.vx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vx-kpi { display: grid; gap: 8px; }
.vx-kpi .ux-plate { --s: 32px; border-radius: 10px; }
.vx-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.vx-map { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--ux-line); background: var(--ux-grid), var(--ux-surface-2); background-size: 16px 16px; }
.vx-map .m-road { fill: none; stroke: var(--ux-line-strong); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.vx-map .m-route { fill: none; stroke: var(--ux-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vx-map .m-done { fill: none; stroke: var(--ux-accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 6; opacity: .55; }
.vx-map .m-park { fill: color-mix(in srgb, var(--ux-accent) 8%, transparent); }
.vx-map .m-pin { fill: var(--ux-surface); stroke: var(--ux-line-strong); }
.vx-map .m-pin--on { fill: var(--ux-accent); stroke: none; }
.vx-map .m-ink { color: var(--ux-accent); } .vx-map .m-ink--w { color: light-dark(#FFFFFF, #120E20); }
.vx-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.vx-step { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 99px; font-weight: 600; color: var(--ux-muted); background: var(--ux-surface); border: 1px solid var(--ux-line); }
.vx-step svg { width: 14px; height: 14px; }
.vx-step[aria-current] { color: var(--ux-accent); background: var(--ux-accent-soft); border-color: color-mix(in srgb, var(--ux-accent) 35%, var(--ux-line)); }
.vx-step.is-done { color: var(--ux-text); }
.vx-opt { grid-template-columns: auto auto minmax(0, 1fr) auto; }
.vx-radio { width: 14px; height: 14px; border-radius: 50%; background: var(--ux-field); box-shadow: inset 0 0 0 1.5px var(--ux-line-strong); }
.vx-radio.is-on { background: var(--ux-field); box-shadow: inset 0 0 0 4px var(--ux-accent); }
.vx-opt.is-on { border-color: color-mix(in srgb, var(--ux-accent) 50%, var(--ux-line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ux-accent) 12%, transparent); }
.vx-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--ux-line); }
.vx-line > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: var(--ux-muted); }
.vx-line svg { width: 14px; height: 14px; color: var(--ux-accent); }
.vx-line--total { border-bottom: 0; padding-top: 10px; } .vx-line--total > span:first-child { color: var(--ux-text); font-weight: 700; }
.vx-secure { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--ux-muted); font-size: 10.5px; }
.vx-secure svg { width: 13px; height: 13px; color: var(--ux-accent); }

/* developer tool */
.vx-ide { grid-template-columns: 176px minmax(0, 1fr); }
.vx-tree a { height: 26px; gap: 7px; font-weight: 500; }
.vx-tree a.in { padding-left: 24px; }
.vx-tree svg { width: 14px; height: 14px; }
.vx-editor { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.vx-tabs { display: flex; gap: 2px; padding: 6px 8px 0; background: var(--ux-bg-alt); border-bottom: 1px solid var(--ux-line); overflow: hidden; }
.vx-tabs span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 8px 8px 0 0; color: var(--ux-muted); font: 500 11px/1 var(--ux-mono); white-space: nowrap; }
.vx-tabs span[aria-current] { color: var(--ux-code-text); background: var(--ux-code-bg); }
.vx-tabs svg { width: 13px; height: 13px; }
.vx-code { display: grid; gap: 7px; align-content: start; padding: 14px 16px; background: var(--ux-code-bg); }
.vx-code p { display: flex; gap: 8px; align-items: center; margin: 0; min-height: 8px; }
.vx-code i { display: block; height: 7px; width: var(--w); border-radius: 4px; background: var(--c, var(--ux-code-muted)); opacity: .85; flex: none; }
.vx-code .k { --c: var(--ux-code-k); } .vx-code .s { --c: var(--ux-code-s); } .vx-code .a { --c: var(--ux-code-a); } .vx-code .m { --c: var(--ux-code-muted); opacity: .45; }
.vx-code .in1 { margin-left: 18px; } .vx-code .in2 { margin-left: 36px; }
.vx-code .cur { width: 2px; height: 12px; border-radius: 1px; background: var(--ux-code-k); opacity: 1; }
.vx-term { display: grid; gap: 6px; padding: 10px 12px 12px; border-top: 1px solid var(--ux-line); background: var(--ux-surface); }
.vx-term .vx-row { padding: 6px 8px; }
.vx-status { display: flex; align-items: center; gap: 14px; height: 26px; padding: 0 12px; border-top: 1px solid var(--ux-line); background: var(--ux-bg-alt); color: var(--ux-muted); font: 500 10.5px/1 var(--ux-mono); grid-column: 1 / -1; }
.vx-status span { display: inline-flex; align-items: center; gap: 5px; } .vx-status svg { width: 12px; height: 12px; }

@container (max-width: 520px) {
  .vx-app { grid-template-columns: 52px minmax(0, 1fr); }
  .vx-side a { justify-content: center; padding: 0; } .vx-side a span, .vx-side .vx-mute { display: none; }
  .vx-tree a.in { padding-left: 0; }
  .vx-split { grid-template-columns: minmax(0, 1fr); }
  .vx-kpis { gap: 6px; }
  .vx-kpi small { font-size: 9.5px; }
  .vx-main { padding: 12px; }
  .vx-hide-sm { display: none !important; }
}

/* industry plates (v1 trays, flattened) */
.vx-plates { gap: clamp(12px, 2.4vw, 20px); padding: clamp(20px, 4vw, 36px); }
.vx-plates .ux-plate { --s: clamp(60px, 15vw, 88px); }

/* ================================================================== v3 */
.vx-styles, .vx-wall { width: 100%; }
/* 15 styles: 5 or 3 columns leave no orphan row */
@media (min-width: 1000px) { .vx-styles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 560px) and (max-width: 999px) { .vx-styles { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* auto-fill grids collapse to one column inside a place-items:center stage without this */

/* ---- heroField: one field, every style pre-rendered; [data-style] shows one layer ---- */
.vx-hf { --cell: clamp(52px, 6.4vw, 84px); position: relative; container-type: inline-size; width: 100%; margin-top: clamp(28px, 4vw, 48px); }
.vx-hf::before { content: ""; position: absolute; inset: -10% 10% 0; z-index: -1; background: radial-gradient(50% 55% at 50% 45%, color-mix(in srgb, var(--ux-accent) 16%, transparent), transparent 72%); pointer-events: none; }
.vx-hf__grid { display: grid; grid-template-columns: repeat(var(--cols), var(--cell)); justify-content: center; gap: clamp(8px, 1.1vw, 14px); margin: 0; padding: 0; list-style: none;
  -webkit-mask-image: radial-gradient(62% 78% at 50% 42%, #000 46%, transparent 100%); mask-image: radial-gradient(62% 78% at 50% 42%, #000 46%, transparent 100%); }
.vx-hf li { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--ux-line); border-radius: 26%; color: var(--ux-text);
  background: linear-gradient(180deg, var(--ux-surface), var(--ux-surface-2)); box-shadow: inset 0 1px 0 var(--ux-hi), var(--ux-e1);
  opacity: calc(1 - var(--d) * .55); scale: calc(1 - var(--d) * .1); }
.vx-hf li > span { grid-area: 1 / 1; display: grid; opacity: 0; scale: .7; transition: opacity .38s var(--ux-ease, ease), scale .38s var(--ux-ease, ease); transition-delay: calc(var(--d) * 260ms); }
.vx-hf li svg { width: calc(var(--cell) * .42); height: calc(var(--cell) * .42); }
.vx-hf li.vx-hf__feat { position: relative; aspect-ratio: auto; border-radius: 22%; color: var(--ux-accent); border-color: color-mix(in srgb, var(--ux-accent) 45%, var(--ux-line));
  background: radial-gradient(80% 80% at 50% 0%, color-mix(in srgb, var(--ux-accent) 14%, transparent), transparent 70%), var(--ux-surface);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--ux-accent) 8%, transparent), 0 30px 60px -28px rgb(var(--ux-pri-glow) / .55), inset 0 1px 0 var(--ux-hi); }
.vx-hf li.vx-hf__feat svg { width: calc(var(--cell) * .9); height: calc(var(--cell) * .9); }
.vx-hf__feat code { position: absolute; bottom: 9%; font: 500 11px/1 var(--ux-mono); color: var(--ux-muted); }
.vx-hf[data-style="stroke-thin-rounded"] [data-s="stroke-thin-rounded"], .vx-hf[data-style="stroke-light-rounded"] [data-s="stroke-light-rounded"],
.vx-hf[data-style="stroke-regular-rounded"] [data-s="stroke-regular-rounded"], .vx-hf[data-style="stroke-bold-rounded"] [data-s="stroke-bold-rounded"],
.vx-hf[data-style="solid"] [data-s="solid"], .vx-hf[data-style="duotone"] [data-s="duotone"], .vx-hf[data-style="twotone"] [data-s="twotone"],
.vx-hf[data-style="bulk"] [data-s="bulk"], .vx-hf[data-style="gradient"] [data-s="gradient"], .vx-hf[data-style="tile"] [data-s="tile"] { opacity: 1; scale: 1; }
.vx-hf:is([data-style="duotone"], [data-style="twotone"], [data-style="bulk"], [data-style="tile"]) li { color: var(--ux-accent); }
.vx-hf[data-style="tile"] li:not(.vx-hf__feat) svg { width: calc(var(--cell) * .56); height: calc(var(--cell) * .56); }
.vx-hf[data-style="tile"] li.vx-hf__feat svg { width: calc(var(--cell) * 1.1); height: calc(var(--cell) * 1.1); }
@container (max-width: 720px) {
  .vx-hf__grid { --cell: calc((min(100cqi, 440px) - (var(--cm) - 1) * 10px) / var(--cm)); gap: 10px; grid-template-columns: repeat(var(--cm), var(--cell)); }
  .vx-hf__edge { display: none !important; }
  .vx-hf li.vx-hf__feat { grid-column: var(--fx) / span 2 !important; }
}
.vx-hf-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; border: 1px solid var(--ux-line); border-radius: var(--ux-r-pill); background: var(--ux-surface); box-shadow: var(--ux-e1); }
.vx-hf-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: var(--ux-r-pill); background: none; color: var(--ux-muted); font: 600 .875rem/1 var(--ux-font); cursor: pointer; }
.vx-hf-chip:hover { color: var(--ux-text); background: var(--ux-hover); }
.vx-hf-chip[aria-pressed="true"] { color: var(--ux-on-accent); background: var(--ux-pri-bg); box-shadow: var(--ux-e1); }
.vx-hf-chip .ux-pro { font-size: 9px; padding: 2px 4px; }
@media (max-width: 640px) { .vx-hf-chips { flex-wrap: nowrap; justify-content: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; } .vx-hf-chip { flex: none; } }
@media (prefers-reduced-motion: reduce) { .vx-hf li > span { transition: none; } }

/* ---- snippets: shared ---- */
.vx-sn { --v: light-dark(#6301E4, #B79BFF); --b: light-dark(#2D6BFF, #7AA2FF); --o: light-dark(#F2741F, #FFA766); --i: light-dark(#16035E, #8E7CFF);
  position: relative; container-type: inline-size; display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; color: var(--ux-text); font: 500 12px/1.3 var(--ux-font); text-align: left; }
.vx-sn--dark { color-scheme: dark; }
.vx-sn b { font: 600 13px/1.25 var(--ux-font-display); color: var(--ux-text); }
.vx-sn small { display: block; color: var(--ux-muted); font-size: 11px; }
.vx-sn svg { flex: none; }
.vx-sn > * { width: 100%; }
.vx-panel, .vx-co, .vx-st, .vx-ch, .vx-cal, .vx-fm, .vx-nt__card, .vx-sh, .vx-ht, .vx-ob, .vx-es { border: 1px solid var(--ux-line); border-radius: 18px; background: var(--ux-surface); box-shadow: inset 0 1px 0 var(--ux-edge), var(--ux-e3); }
.vx-tone { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; color: #FFFFFF; background: var(--t, var(--v)); }
.vx-tone--v { --t: #6301E4; } .vx-tone--b { --t: #2D6BFF; } .vx-tone--o { --t: #F2741F; } .vx-tone--i { --t: #16035E; } .vx-tone--g { --t: #E59A07; }
.vx-sw { position: relative; width: 34px; height: 20px; flex: none; border-radius: 99px; background: var(--ux-well-2); transition: background .2s; }
.vx-sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgb(0 0 0 / .25); }
.vx-sw.is-on { background: var(--ux-accent); } .vx-sw.is-on::after { left: 16px; background: light-dark(#FFFFFF, #120E20); }
.vx-ava { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ux-accent-soft); color: var(--ux-accent); position: relative; flex: none; }
.vx-ava--g { width: 36px; height: 36px; background: var(--ux-tile-bg); color: #FFFFFF; }
.vx-ava--g i { position: absolute; right: 0; bottom: 0; width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 2px var(--ux-surface); }

/* tabBar */
.vx-tb { position: relative; max-width: 340px; height: 100%; min-height: 250px; overflow: hidden; border: 1px solid var(--ux-line); border-bottom: 0; border-radius: 28px 28px 0 0; background: var(--ux-bg-alt); align-self: end; box-shadow: var(--ux-e3); }
.vx-tb__screen { display: grid; gap: 12px; padding: 18px 16px 90px; }
.vx-tb__head { display: flex; align-items: center; justify-content: space-between; } .vx-tb__head b { font-size: 20px; letter-spacing: -.02em; }
.vx-tb__cards { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.vx-tb__card { display: grid; gap: 8px; align-content: start; min-height: 96px; padding: 12px; border: 1px solid var(--ux-line); border-radius: 16px; background: var(--ux-surface); color: var(--ux-accent); }
.vx-tb__card--g { border-color: transparent; background: var(--ux-tile-bg); color: #FFFFFF; } .vx-tb__card--g b { color: #FFFFFF; } .vx-tb__card--g .vx-bar { background: #FFFFFF; opacity: .5; }
.vx-tb__bar { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 10px; border: 1px solid var(--ux-line); border-radius: 22px;
  background: color-mix(in srgb, var(--ux-surface) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--ux-e3); color: var(--ux-muted); }
.vx-tb__bar > span { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 14px; }
.vx-tb__bar .is-on { color: var(--ux-accent); background: var(--ux-accent-soft); } .vx-tb__bar .is-on b { color: inherit; font-size: 12px; }
.vx-tb__fab { flex: none; width: 44px; height: 44px !important; padding: 0 !important; justify-content: center; border-radius: 15px !important; color: #FFFFFF; background: var(--ux-tile-bg); box-shadow: 0 8px 18px -8px rgb(var(--ux-pri-glow) / .8); }
.vx-tb__sec { margin-top: 4px; font-weight: 600; }
@container (max-width: 280px) { .vx-tb__bar .is-on b { display: none; } .vx-tb__bar > span { padding: 0 8px; } }
.vx-tb__row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--ux-line); border-radius: 14px; background: var(--ux-surface); color: var(--ux-muted); }
.vx-tb__row > div { flex: 1; display: grid; gap: 5px; } .vx-tb__row .vx-bar { width: 60%; height: 5px; }
.vx-dotted::after { content: ""; position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--ux-gold); box-shadow: 0 0 0 2px var(--ux-surface); }

/* bankCard */
.vx-bk { display: grid; gap: 16px; max-width: 320px; }
.vx-bk__cards { position: relative; }
.vx-bk__card { position: relative; display: grid; gap: 14px; aspect-ratio: 1.6; padding: 18px; border-radius: 18px; color: #FFFFFF; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / .26), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgb(0 0 0 / .22), transparent 60%), var(--ux-tile-bg);
  box-shadow: 0 22px 40px -22px rgb(var(--ux-pri-glow) / .9), inset 0 1px 0 rgb(255 255 255 / .25); }
.vx-bk__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgb(255 255 255 / .14) 50%, transparent 60%); }
.vx-bk__card--back { position: absolute; inset: 0; scale: .9; translate: 0 -16px; opacity: .45; filter: saturate(.6); box-shadow: none; }
.vx-bk__card b, .vx-bk__card small { color: #FFFFFF; } .vx-bk__card small { opacity: .8; }
.vx-bk__row { display: flex; align-items: center; justify-content: space-between; }
.vx-bk__chip { width: 36px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #FFE3A3, #E5A93A); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.vx-bk__num { display: flex; gap: 14px; } .vx-bk__num span { display: flex; gap: 4px; } .vx-bk__num i { width: 6px; height: 6px; border-radius: 50%; background: #FFFFFF; opacity: .85; }
.vx-bk__acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; font-weight: 600; font-size: 11px; color: var(--ux-text); }
.vx-bk__acts span { display: grid; justify-items: center; gap: 6px; }
.vx-bk__acts i { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ux-line); border-radius: 50%; background: var(--ux-surface); color: var(--ux-accent); box-shadow: var(--ux-e1); }

/* checkout */
.vx-co { display: grid; gap: 10px; max-width: 320px; padding: 16px; }
.vx-co__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; } .vx-co__head b { font-size: 16px; }
.vx-co__line { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; font-weight: 600; }
.vx-co__line .vx-bar { justify-self: end; width: 42px; }
.vx-co__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ux-accent-soft); color: var(--ux-accent); }
.vx-co__pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
.vx-co__pay span { display: grid; justify-items: center; gap: 4px; padding: 9px 4px; border: 1px solid var(--ux-line); border-radius: 12px; color: var(--ux-muted); font-weight: 600; font-size: 11px; }
.vx-co__pay .is-on { color: var(--ux-accent); border-color: color-mix(in srgb, var(--ux-accent) 55%, var(--ux-line)); background: var(--ux-accent-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ux-accent) 12%, transparent); }
.vx-co__btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; margin-top: 4px; border-radius: 12px; color: #FFFFFF; font: 600 13px/1 var(--ux-font); background: var(--ux-tile-bg); box-shadow: 0 10px 20px -12px rgb(var(--ux-pri-glow) / .9), inset 0 1px 0 rgb(255 255 255 / .2); }

/* sidebarNav (dark) */
.vx-nv { display: grid; grid-template-columns: minmax(170px, 210px) 1fr; max-width: 560px; height: 100%; min-height: 300px; overflow: hidden; border: 1px solid var(--ux-line); border-radius: 18px; background: var(--ux-bg); box-shadow: var(--ux-e4); }
.vx-nv__side { display: grid; align-content: start; gap: 2px; padding: 12px 10px; border-right: 1px solid var(--ux-line); background: var(--ux-bg-alt); }
.vx-nv__ws { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; color: var(--ux-muted); } .vx-nv__ws b { flex: 1; }
.vx-nv__logo { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--ux-tile-bg); color: #FFFFFF; }
.vx-nv__search { display: flex; align-items: center; gap: 8px; height: 30px; margin-bottom: 8px; padding: 0 8px; border: 1px solid var(--ux-line); border-radius: 8px; background: var(--ux-field); color: var(--ux-muted); }
.vx-nv__search span { flex: 1; } .vx-nv__search kbd { padding: 1px 6px; border: 1px solid var(--ux-line-strong); border-radius: 4px; font: 500 10px/1.4 var(--ux-mono); }
.vx-nv a { position: relative; display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: 8px; color: var(--ux-muted); font-weight: 600; }
.vx-nv a.is-on { color: var(--ux-text); background: var(--ux-hover); box-shadow: inset 0 0 0 1px var(--ux-line); } .vx-nv a.is-on svg { color: var(--ux-accent); }
.vx-nv__badge { position: absolute; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--ux-gold); }
.vx-nv small { padding: 12px 10px 4px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.vx-nv__sq { width: 10px; height: 10px; border-radius: 3px; margin: 0 3px; background: var(--b); } .vx-nv__sq--1 { background: var(--o); }
.vx-nv__main { display: grid; align-content: start; gap: 10px; padding: 18px; } .vx-nv__main b { font-size: 18px; }
.vx-nv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.vx-nv__grid i { height: 64px; border: 1px solid var(--ux-line); border-radius: 12px; background: var(--ux-surface); }
.vx-nv__grid i:first-child { background: radial-gradient(80% 90% at 100% 0%, color-mix(in srgb, var(--ux-accent) 25%, transparent), transparent 70%), var(--ux-surface); }
@container (max-width: 400px) { .vx-nv { grid-template-columns: 1fr; } .vx-nv__main { display: none; } .vx-nv__side { border: 0; } }

/* settingsList */
.vx-st { display: grid; gap: 12px; max-width: 320px; padding: 16px; background: var(--ux-bg-alt); }
.vx-st__ttl { font-size: 20px !important; letter-spacing: -.02em; padding: 0 4px; }
.vx-st__group { overflow: hidden; border: 1px solid var(--ux-line); border-radius: 14px; background: var(--ux-surface); }
.vx-st__row { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px; font-weight: 600; font-size: 12.5px; }
.vx-st__row + .vx-st__row { border-top: 1px solid var(--ux-line); }
.vx-st__row > span:nth-child(2) { flex: 1; }
.vx-st__row .vx-tone { width: 28px; height: 28px; border-radius: 8px; }
.vx-st__row em { display: inline-flex; align-items: center; gap: 4px; color: var(--ux-muted); font-style: normal; font-weight: 500; }

/* chat */
.vx-ch { display: grid; grid-template-rows: auto 1fr auto; max-width: 340px; height: 100%; min-height: 320px; overflow: hidden; }
.vx-ch__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--ux-line); } .vx-ch__head > div { flex: 1; }
.vx-ch__head small { color: light-dark(#15803D, #4ADE80); }
.vx-ch__acts { display: flex; gap: 14px; color: var(--ux-accent); }
.vx-ch__log { display: grid; align-content: end; gap: 8px; padding: 14px; background: var(--ux-dots), var(--ux-surface-2); background-size: 18px 18px, auto; }
.vx-ch__log p { max-width: 78%; margin: 0; padding: 9px 12px; border-radius: 16px; font-size: 12.5px; line-height: 1.35; }
.vx-ch__log .in { justify-self: start; border: 1px solid var(--ux-line); border-bottom-left-radius: 5px; background: var(--ux-surface); }
.vx-ch__log .out { justify-self: end; border-bottom-right-radius: 5px; color: #FFFFFF; background: var(--ux-tile-bg); }
.vx-ch__att { display: flex; align-items: center; gap: 10px; justify-self: start; width: 78%; padding: 10px; border: 1px solid var(--ux-line); border-radius: 14px; background: var(--ux-surface); color: var(--ux-muted); }
.vx-ch__att > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ux-accent-soft); color: var(--ux-accent); } .vx-ch__att > div { flex: 1; }
.vx-ch__typing { display: flex; gap: 4px; } .vx-ch__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ux-muted); opacity: .5; animation: vx-blink 1.2s infinite; }
.vx-ch__typing i:nth-child(2) { animation-delay: .2s; } .vx-ch__typing i:nth-child(3) { animation-delay: .4s; }
@keyframes vx-blink { 50% { opacity: 1; translate: 0 -2px; } }
.vx-ch__input { display: flex; align-items: center; gap: 10px; margin: 10px; padding: 0 6px 0 12px; height: 44px; border: 1px solid var(--ux-line-strong); border-radius: 99px; color: var(--ux-muted); background: var(--ux-field); }
.vx-ch__input span { flex: 1; }
.vx-ch__input i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #FFFFFF; background: var(--ux-tile-bg); }

/* calendar */
.vx-cal { display: grid; gap: 12px; max-width: 330px; padding: 16px; }
.vx-cal__head { display: flex; justify-content: space-between; align-items: center; } .vx-cal__head b { font-size: 18px; letter-spacing: -.02em; }
.vx-cal__head span { display: flex; gap: 6px; color: var(--ux-muted); }
.vx-cal__week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.vx-cal__week span { display: grid; justify-items: center; gap: 4px; padding: 7px 0; border-radius: 10px; color: var(--ux-muted); font-weight: 600; font-size: 11px; }
.vx-cal__week i { width: 4px; height: 4px; border-radius: 50%; background: var(--ux-accent); } .vx-cal__week i[hidden] { display: block; visibility: hidden; }
.vx-cal__week .is-on { color: #FFFFFF; background: var(--ux-tile-bg); } .vx-cal__week .is-on i { background: #FFFFFF; }
.vx-cal__list { display: grid; gap: 6px; }
.vx-cal__ev { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); box-shadow: inset 3px 0 0 var(--c); }
.vx-cal__ev--v { --c: var(--v); } .vx-cal__ev--o { --c: var(--o); } .vx-cal__ev--b { --c: var(--b); } .vx-cal__ev--g { --c: light-dark(#0F8A4F, #4ADE80); }

/* musicPlayer (dark) */
.vx-mu { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; max-width: 360px; padding: 16px; border: 1px solid var(--ux-line); border-radius: 20px;
  background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--ux-accent) 30%, transparent), transparent 60%), var(--ux-surface); box-shadow: var(--ux-e4); }
.vx-mu__art { position: relative; display: grid; place-items: center; width: 84px; aspect-ratio: 1; grid-row: span 2; border-radius: 16px; overflow: hidden; color: #FFFFFF;
  background: radial-gradient(70% 70% at 80% 20%, rgb(255 255 255 / .35), transparent 60%), var(--ux-tile-bg); box-shadow: 0 14px 28px -14px rgb(var(--ux-pri-glow) / .9); }
.vx-mu__art i { position: absolute; inset: 22%; border: 1.5px solid rgb(255 255 255 / .3); border-radius: 50%; }
.vx-mu__meta { display: flex; justify-content: space-between; align-items: center; color: var(--ux-accent); }
.vx-mu__wave { display: flex; align-items: center; gap: 2px; height: 32px; }
.vx-mu__wave i { flex: 1; height: var(--h); border-radius: 2px; background: var(--ux-line-strong); } .vx-mu__wave i.on { background: linear-gradient(180deg, color-mix(in srgb, var(--ux-accent) 60%, #FFFFFF), var(--ux-accent)); }
.vx-mu__ctl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 0; color: var(--ux-text); }
.vx-mu__ctl > svg:first-child, .vx-mu__ctl > svg:last-child { color: var(--ux-muted); }
.vx-mu__ctl span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #120E20; background: #FFFFFF; box-shadow: 0 8px 20px -8px rgb(var(--ux-pri-glow) / .8); }

/* fileManager */
.vx-fm { display: grid; gap: 0; max-width: 560px; overflow: hidden; }
.vx-fm__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--ux-line); background: var(--ux-bg-alt); }
.vx-fm__crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--ux-muted); font-weight: 600; } .vx-fm__crumb > svg:first-child { color: var(--ux-accent); }
.vx-fm__tools { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--ux-line); border-radius: 8px; background: var(--ux-surface); }
.vx-fm__tools i { display: grid; place-items: center; width: 26px; height: 24px; border-radius: 6px; color: var(--ux-muted); } .vx-fm__tools .is-on { color: var(--ux-accent); background: var(--ux-accent-soft); }
.vx-fm__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 14px; }
.vx-fm__it { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 12px; color: var(--c, var(--ux-muted)); }
.vx-fm__it b { font: 500 11px/1.2 var(--ux-font); color: var(--ux-text); }
.vx-fm__it--v { --c: var(--v); } .vx-fm__it--o { --c: var(--o); } .vx-fm__it--b { --c: var(--b); }
.vx-fm__it.is-on { background: var(--ux-accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ux-accent) 40%, transparent); color: var(--ux-accent); }
.vx-fm__foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--ux-line); color: var(--ux-muted); }
.vx-fm__foot .vx-bar { flex: 1; opacity: 1; height: 6px; background: linear-gradient(90deg, var(--v) 0 46%, var(--o) 46% 62%, var(--b) 62% 74%, var(--ux-well-2) 74%); }
@container (max-width: 420px) { .vx-fm__grid { grid-template-columns: repeat(3, 1fr); } }

/* mapRoute */
.vx-mr { position: relative; max-width: 560px; height: 100%; min-height: 240px; overflow: hidden; border: 1px solid var(--ux-line); border-radius: 18px; background: var(--ux-surface-2); box-shadow: var(--ux-e3); }
.vx-mr__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.vx-mr__map .m-road { fill: none; stroke: var(--ux-surface); stroke-width: 9; stroke-linecap: round; filter: drop-shadow(0 0 .5px var(--ux-line-strong)); }
.vx-mr__map .m-park { fill: light-dark(#E5F5E9, #13261A); } .vx-mr__map .m-water { fill: light-dark(#E3EDFF, #121C33); }
.vx-mr__map .m-glow { fill: none; stroke: var(--ux-accent); stroke-width: 12; stroke-linecap: round; opacity: .14; }
.vx-mr__map .m-route { fill: none; stroke: var(--ux-accent); stroke-width: 4.5; stroke-linecap: round; }
.vx-mr__map .m-start { fill: var(--ux-surface); stroke: var(--ux-accent); stroke-width: 4; }
.vx-mr__map .m-pin { fill: var(--ux-accent); } .vx-mr__map .m-ink--w { color: var(--ux-on-accent); }
.vx-mr__map .m-car { fill: var(--ux-surface); stroke: var(--ux-line-strong); filter: drop-shadow(0 4px 6px rgb(var(--ux-sh) / .25)); } .vx-mr__map .m-ink { color: var(--ux-accent); }
.vx-mr__sheet { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--ux-line); border-radius: 16px;
  background: color-mix(in srgb, var(--ux-surface) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--ux-e3); }
.vx-mr__to { display: flex; flex: 1; align-items: center; gap: 10px; } .vx-mr__to > div { flex: 1; }
.vx-mr__go { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 10px; color: #FFFFFF; font-weight: 700; background: var(--ux-tile-bg); }
.vx-mr__modes { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--ux-well); color: var(--ux-muted); }
.vx-mr__modes span { display: grid; place-items: center; width: 30px; height: 28px; border-radius: 8px; } .vx-mr__modes .is-on { color: var(--ux-accent); background: var(--ux-surface); box-shadow: var(--ux-e1); }
@container (max-width: 380px) { .vx-mr__modes { display: none; } }

/* healthTracker */
.vx-ht { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; max-width: 520px; padding: 18px; }
.vx-ht__rings { position: relative; display: grid; place-items: center; width: clamp(110px, 30cqi, 150px); aspect-ratio: 1; }
.vx-ht__rings > svg { position: absolute; inset: 0; }
.vx-ht__rings span { color: var(--v); }
.vx-ht__rings > svg circle { fill: none; stroke-width: 9; stroke-linecap: round; } .vx-ht .r-bg { opacity: .14; }
.vx-ht .r-v { stroke: var(--v); } .vx-ht .r-b { stroke: var(--b); } .vx-ht .r-o { stroke: var(--o); }
.vx-ht__list { display: grid; gap: 10px; }
.vx-ht__row { display: grid; grid-template-columns: auto 64px 1fr; align-items: center; gap: 10px; } .vx-ht__row .vx-tone { width: 26px; height: 26px; border-radius: 8px; }
.vx-ht__bar { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--c) var(--p), color-mix(in srgb, var(--c) 14%, transparent) var(--p)); }
.vx-ht__bar--v { --c: var(--v); --p: 78%; } .vx-ht__bar--b { --c: var(--b); --p: 62%; } .vx-ht__bar--o { --c: var(--o); --p: 88%; }
.vx-ht__spark { display: flex; align-items: center; gap: 10px; padding-top: 8px; border-top: 1px solid var(--ux-line); }
.vx-ht__spark > svg { flex: 1; height: 28px; } .vx-ht__spark > svg path { fill: none; stroke: var(--ux-accent); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
@container (max-width: 360px) { .vx-ht { grid-template-columns: 1fr; justify-items: center; } .vx-ht__list { width: 100%; } }

/* terminal (dark) */
.vx-tm { max-width: 520px; overflow: hidden; border: 1px solid var(--ux-code-line, var(--ux-line)); border-radius: 16px; background: var(--ux-code-bg); box-shadow: var(--ux-e4); color: var(--ux-code-text); }
.vx-tm__bar { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 12px; background: var(--ux-code-bar); color: var(--ux-code-muted); font: 500 11px/1 var(--ux-mono); }
.vx-tm__bar span:nth-child(2) { display: inline-flex; gap: 6px; align-items: center; }
.vx-tm__body { display: grid; gap: 7px; padding: 14px 16px 16px; font: 500 12px/1.4 var(--ux-mono); }
.vx-tm__body p { display: flex; align-items: center; gap: 8px; margin: 0; } .vx-tm__body em { color: var(--ux-accent); font-style: normal; } .vx-tm__body b { font: inherit; color: var(--ux-code-muted); }
.vx-tm__ok svg { color: #4ADE80; } .vx-tm__run svg { color: #FBAE17; animation: vx-spin 1.6s linear infinite; }
.vx-tm__dots::after { content: "..."; color: var(--ux-code-muted); }
.vx-tm__cur { width: 8px; height: 15px; background: var(--ux-accent); animation: vx-cur 1s steps(1) infinite; }
@keyframes vx-cur { 50% { opacity: 0; } } @keyframes vx-spin { to { rotate: 360deg; } }

/* smartHome */
.vx-sh { display: grid; gap: 12px; max-width: 520px; padding: 14px; background: var(--ux-bg-alt); }
.vx-sh__tabs { display: flex; gap: 6px; overflow: hidden; } .vx-sh__tabs span { padding: 7px 12px; border-radius: 99px; color: var(--ux-muted); font-weight: 600; white-space: nowrap; }
.vx-sh__tabs .is-on { color: var(--ux-text); background: var(--ux-surface); box-shadow: inset 0 0 0 1px var(--ux-line), var(--ux-e1); }
.vx-sh__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vx-sh__dev { display: grid; gap: 2px; padding: 12px; border: 1px solid var(--ux-line); border-radius: 14px; background: var(--ux-surface); }
.vx-sh__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.vx-sh__top > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ux-well); color: var(--ux-muted); }
.vx-sh__dev.is-on { border-color: transparent; color: #FFFFFF; background: radial-gradient(90% 90% at 100% 0%, rgb(255 255 255 / .24), transparent 60%), var(--ux-tile-bg); box-shadow: 0 14px 28px -16px rgb(var(--ux-pri-glow) / .9); }
.vx-sh__dev.is-on b, .vx-sh__dev.is-on small { color: #FFFFFF; } .vx-sh__dev.is-on .vx-sh__top > span { background: rgb(255 255 255 / .2); color: #FFFFFF; }
.vx-sh__dev.is-on .vx-sw { background: rgb(255 255 255 / .35); } .vx-sh__dev.is-on .vx-sw::after { background: #FFFFFF; }
@container (max-width: 420px) { .vx-sh__grid { grid-template-columns: repeat(2, 1fr); } .vx-sh__dev:nth-child(n+5) { display: none; } }

/* notifications */
.vx-nt { display: grid; gap: 0; max-width: 340px; padding-top: 4px; }
.vx-nt__card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; position: relative; z-index: calc(3 - var(--i));
  scale: calc(1 - var(--i) * .05); margin-top: calc(var(--i) * -10px); opacity: calc(1 - var(--i) * .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vx-nt__card > div { flex: 1; min-width: 0; } .vx-nt__card small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-nt__card time { align-self: start; color: var(--ux-muted); font-size: 10.5px; }
.vx-nt__card .vx-tone { width: 36px; height: 36px; border-radius: 11px; }

/* emptyState */
.vx-es { display: grid; justify-items: center; gap: 4px; max-width: 300px; padding: 22px 18px; text-align: center; }
.vx-es__art { position: relative; display: grid; place-items: center; width: 132px; height: 112px; margin-bottom: 8px; }
.vx-es__art > span { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; color: var(--ux-accent); background: var(--ux-accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ux-accent) 18%, transparent); }
.vx-es__art i { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ux-line); border-radius: 9px; background: var(--ux-surface); color: var(--ux-muted); box-shadow: var(--ux-e1);
  transform: translate(-50%, -50%) rotate(var(--a)) translate(60px) rotate(calc(-1 * var(--a))); }
.vx-es b { font-size: 15px; } .vx-es small { margin-bottom: 10px; }
.vx-es__btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border: 1px solid var(--ux-line-strong); border-radius: 10px; font-weight: 600; background: var(--ux-surface); box-shadow: var(--ux-e1); }

/* onboarding */
.vx-ob { display: grid; max-width: 300px; overflow: hidden; }
.vx-ob__hero { position: relative; display: grid; place-items: center; height: 132px; background: radial-gradient(60% 80% at 80% 10%, rgb(255 255 255 / .28), transparent 60%), radial-gradient(60% 80% at 10% 90%, rgb(0 0 0 / .2), transparent 60%), var(--ux-tile-bg); }
.vx-ob__plate { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid rgb(255 255 255 / .45); border-radius: 24px; color: #FFFFFF;
  background: linear-gradient(160deg, rgb(255 255 255 / .38), rgb(255 255 255 / .08)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 16px 30px -14px rgb(22 3 94 / .7), inset 0 1px 0 rgb(255 255 255 / .5); }
.vx-ob__f { position: absolute; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #FFFFFF; background: rgb(255 255 255 / .18); border: 1px solid rgb(255 255 255 / .3); }
.vx-ob__f--0 { left: 16%; top: 22%; } .vx-ob__f--1 { right: 15%; top: 18%; } .vx-ob__f--2 { left: 22%; bottom: 14%; } .vx-ob__f--3 { right: 20%; bottom: 18%; }
.vx-ob__body { display: grid; justify-items: center; gap: 4px; padding: 16px; text-align: center; } .vx-ob__body b { font-size: 16px; }
.vx-ob__dots { display: flex; gap: 5px; margin-bottom: 6px; } .vx-ob__dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--ux-line-strong); } .vx-ob__dots .is-on { width: 18px; background: var(--ux-accent); }
.vx-ob__btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 40px; margin-top: 10px; border-radius: 12px; color: var(--ux-on-accent); font-weight: 700; background: var(--ux-text); }
.vx-ob__body em { margin-top: 6px; font-style: normal; color: var(--ux-muted); font-weight: 600; font-size: 11.5px; }

/* ---- page hero visuals ---- */
.vx-phv { position: relative; display: grid; place-items: center; width: 100%; min-width: 0; color: var(--ux-text); container-type: inline-size; }
.vx-phv > *, .vx-cc__code, .vx-sn > * { min-width: 0; }
.vx-gb__tag { position: absolute; padding: 5px 9px; border: 1px solid var(--ux-line); border-radius: 8px; background: var(--ux-surface); color: var(--ux-muted); box-shadow: var(--ux-e2); font: 500 11px/1 var(--ux-mono); white-space: nowrap; }
.vx-gb__tag--a { left: 4%; top: 8%; } .vx-gb__tag--b { right: 2%; top: 40%; } .vx-gb__tag--c { left: 8%; bottom: 8%; }
.vx-phv .g-l { stroke: var(--ux-line); stroke-width: .04; fill: none; } .vx-phv .g-c { stroke: var(--ux-accent); stroke-opacity: .2; stroke-width: .05; fill: none; }
.vx-phv .g-k { fill: none; stroke: var(--ux-accent); stroke-opacity: .3; stroke-width: .06; } .vx-phv .g-dash { stroke-dasharray: .4 .4; }
.vx-phv .g-pad { fill: none; stroke: var(--ux-accent); stroke-opacity: .4; stroke-width: .06; stroke-dasharray: .3 .3; } .vx-phv .g-out { fill: var(--ux-surface); stroke: var(--ux-line-strong); stroke-width: .06; }
.vx-phv .c-path { fill: none; stroke: var(--ux-accent); stroke-opacity: .16; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vx-phv .c-line { fill: none; stroke: var(--ux-accent); stroke-width: .1; }
.vx-phv .c-h { stroke: var(--ux-muted); stroke-width: .08; } .vx-phv .c-hp { fill: var(--ux-surface); stroke: var(--ux-muted); stroke-width: .08; }
.vx-phv .c-n { fill: var(--ux-surface); stroke: var(--ux-accent); stroke-width: .12; } .vx-phv .c-n--on { fill: var(--ux-accent); }

/* styleMorph: a dial of 15 styles, the centre cycles through them */
.vx-mo { position: relative; width: min(100%, 520px); aspect-ratio: 1; container-type: inline-size; }
.vx-mo__orbit { position: absolute; inset: 9%; border: 1px dashed var(--ux-line-strong); border-radius: 50%; }
.vx-mo::before { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ux-accent) 22%, transparent), transparent); }
.vx-mo ul { margin: 0; padding: 0; list-style: none; }
.vx-mo__s { position: absolute; left: 50%; top: 50%; display: grid; justify-items: center; gap: 3px; transform: translate(-50%, -50%) rotate(var(--a)) translate(41cqi) rotate(calc(-1 * var(--a))); }
.vx-mo__s > span { display: grid; place-items: center; width: clamp(36px, 10cqi, 50px); aspect-ratio: 1; border: 1px solid var(--ux-line); border-radius: 30%; background: var(--ux-surface); color: var(--ux-accent); box-shadow: var(--ux-e1);
  animation: vx-mo-on 22.5s infinite; animation-delay: calc(var(--i) * 1.5s); }
.vx-mo__s.is-free > span { color: var(--ux-text); }
.vx-mo__s--glass > span { color: #FFFFFF; border-color: rgb(255 255 255 / .5); background: radial-gradient(80% 80% at 20% 20%, rgb(255 138 61 / .7), transparent 60%), var(--ux-tile-bg); }
.vx-mo__s b { font: 600 10px/1 var(--ux-font); color: var(--ux-muted); white-space: nowrap; }
.vx-mo__s em { position: absolute; top: -6px; right: -10px; padding: 2px 4px; border-radius: 4px; font: 800 7.5px/1 var(--ux-font); letter-spacing: .04em; font-style: normal; color: var(--ux-pro-ink); background: var(--ux-pro-bg); box-shadow: inset 0 0 0 1px var(--ux-pro-edge); }
.vx-mo__s.is-free em { color: var(--ux-accent); background: var(--ux-accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ux-accent) 30%, transparent); }
.vx-mo__core { position: absolute; left: 50%; top: 50%; display: grid; width: 34%; aspect-ratio: 1; translate: -50% -50%; border: 1px solid var(--ux-line); border-radius: 30%; background: var(--ux-surface); box-shadow: var(--ux-e4); color: var(--ux-accent); }
.vx-mo__core > span { grid-area: 1 / 1; display: grid; place-items: center; opacity: 0; animation: vx-mo-core 22.5s infinite; animation-delay: calc(var(--i) * 1.5s); }
.vx-mo__core svg { width: 48%; height: 48%; }
.vx-mo__core > .vx-mo__glass { margin: 14%; border-radius: 26%; color: #FFFFFF; background: radial-gradient(80% 80% at 20% 20%, rgb(255 138 61 / .7), transparent 60%), var(--ux-tile-bg); }
.vx-mo__core > .vx-mo__glass svg { width: 64%; height: 64%; }
@keyframes vx-mo-core { 0%, 6.2% { opacity: 1; } 6.7%, 100% { opacity: 0; } }
@keyframes vx-mo-on { 0%, 6.2% { border-color: var(--ux-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ux-accent) 18%, transparent), var(--ux-e2); scale: 1.12; } 6.7%, 100% { scale: 1; } }
@container (max-width: 420px) { .vx-mo__s > span { width: 30px; border-radius: 9px; } .vx-mo__s > span svg { width: 16px; height: 16px; } .vx-mo__s em { top: -7px; right: -12px; font-size: 6.5px; } .vx-mo__s b { display: none; } .vx-mo__s { transform: translate(-50%, -50%) rotate(var(--a)) translate(42cqi) rotate(calc(-1 * var(--a))); } }
@media (prefers-reduced-motion: reduce) { .vx-mo__s > span, .vx-mo__core > span { animation: none; } .vx-mo__core > span:first-child { opacity: 1; } }

/* studioCanvas */
.vx-sc { width: min(100%, 760px); overflow: hidden; border: 1px solid var(--ux-line-strong); border-radius: 18px; background: var(--ux-surface); box-shadow: var(--ux-e4); font: 500 12px/1.3 var(--ux-font); text-align: left; }
.vx-sc__bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px; border-bottom: 1px solid var(--ux-line); background: var(--ux-bg-alt); }
.vx-sc__bar b { font: 500 12px/1 var(--ux-mono); color: var(--ux-muted); }
.vx-sc__tools, .vx-sc__undo { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--ux-line); border-radius: 10px; background: var(--ux-surface); color: var(--ux-muted); }
.vx-sc__tools { margin-left: auto; } .vx-sc__undo { border: 0; background: none; gap: 8px; padding: 3px 6px; }
.vx-sc__tools i { display: grid; place-items: center; width: 30px; height: 28px; border-radius: 7px; } .vx-sc__tools .is-on { color: var(--ux-on-accent); background: var(--ux-pri-bg); }
.vx-sc__exp { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 9px; color: #FFFFFF; font-weight: 600; background: var(--ux-tile-bg); }
.vx-sc__body { display: grid; grid-template-columns: 150px 1fr 150px; min-height: 340px; }
.vx-sc__layers, .vx-sc__props { display: grid; align-content: start; gap: 6px; padding: 14px 12px; background: var(--ux-surface); }
.vx-sc__layers { border-right: 1px solid var(--ux-line); } .vx-sc__props { border-left: 1px solid var(--ux-line); }
.vx-sc small { color: var(--ux-muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.vx-sc__layers span { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 8px; color: var(--ux-muted); font-weight: 600; }
.vx-sc__layers span svg:last-child { margin-left: auto; opacity: .6; } .vx-sc__layers .is-on { color: var(--ux-accent); background: var(--ux-accent-soft); }
.vx-sc__stage { display: grid; place-items: center; padding: 18px; background: var(--ux-dots), var(--ux-surface-2); background-size: 16px 16px, auto; }
.vx-sc__cv { width: min(100%, 300px); height: auto; border-radius: 6px; background: var(--ux-surface); box-shadow: var(--ux-e2); }
.vx-sc__cv .c-tag rect { fill: var(--ux-text); } .vx-sc__cv .c-tag text { fill: var(--ux-bg); font: 600 1px/1 var(--ux-mono); }
.vx-sc__range { position: relative; height: 4px; margin: 8px 0; border-radius: 2px; background: var(--ux-well-2); }
.vx-sc__range i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 2px; background: var(--ux-accent); }
.vx-sc__range i::after { content: ""; position: absolute; right: -7px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 1px var(--ux-line-strong), var(--ux-e1); }
.vx-sc__seg { display: grid; grid-template-columns: 1fr 1fr; padding: 2px; border-radius: 8px; background: var(--ux-well); }
.vx-sc__seg span { padding: 6px 0; border-radius: 6px; text-align: center; color: var(--ux-muted); font-weight: 600; font-size: 11px; } .vx-sc__seg .is-on { color: var(--ux-text); background: var(--ux-surface); box-shadow: var(--ux-e1); }
.vx-sc__prev { display: flex; align-items: flex-end; gap: 6px; color: var(--ux-text); } .vx-sc__prev span { display: grid; place-items: center; padding: 6px; border: 1px solid var(--ux-line); border-radius: 8px; }
@container (max-width: 620px) { .vx-sc__body { grid-template-columns: 1fr; min-height: 0; } .vx-sc__layers, .vx-sc__props, .vx-sc__undo, .vx-sc__bar b { display: none; } }
@container (max-width: 440px) { .vx-sc__bar .ux-window__dots { display: none; } .vx-sc__tools { margin-left: 0; } .vx-sc__tools i { width: 26px; } .vx-sc__exp { margin-left: auto; padding: 0 10px; } }

/* useCollage: real mockups, zoomed in steps */
.vx-cl { width: 100%; overflow: hidden; }
.vx-cl__in { position: relative; width: 980px; height: 620px; margin-inline: auto; zoom: 1; }
.vx-cl__win { position: absolute; right: 0; top: 30px; width: 700px; rotate: 1.5deg; } .vx-cl__win .ux-stage { padding: 0; border: 0; background: none; overflow: visible; }
.vx-cl__ph { position: absolute; left: 30px; top: 0; } .vx-cl__ph .ux-stage { padding: 0; border: 0; background: none; overflow: visible; } .vx-cl__ph .vx-float { display: none; }
.vx-cl__ph .ux-phone { rotate: -3deg; box-shadow: var(--ux-e4); }
.vx-cl__card { position: absolute; right: 30px; bottom: 0; width: 340px; rotate: -1deg; } .vx-cl__card .vx-nt { max-width: none; }
@container (max-width: 980px) { .vx-cl__in { zoom: .8; } } @container (max-width: 790px) { .vx-cl__in { zoom: .62; } }
@container (max-width: 610px) { .vx-cl__in { zoom: .48; } } @container (max-width: 470px) { .vx-cl__in { zoom: .37; } }
@container (max-width: 370px) { .vx-cl__in { zoom: .3; } } @container (max-width: 300px) { .vx-cl__in { zoom: .24; } } /* 980 x .3 = 294, 980 x .24 = 235: fits 375 px and 320 px phones */

/* industryRing */
.vx-ir { position: relative; width: min(100%, 520px); aspect-ratio: 1; container-type: inline-size; }
.vx-ir::before { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ux-accent) 24%, transparent), transparent); }
.vx-ir__ring { position: absolute; border: 1px solid var(--ux-line); border-radius: 50%; } .vx-ir__ring--1 { inset: 4%; } .vx-ir__ring--2 { inset: 21%; border-style: dashed; border-color: var(--ux-line-strong); }
.vx-ir__orb { position: absolute; inset: 0; animation: vx-spin 120s linear infinite; } .vx-ir__orb--in { animation-direction: reverse; animation-duration: 90s; }
.vx-ir__orb > span { position: absolute; left: 50%; top: 50%; }
.vx-ir__orb--out > span { transform: translate(-50%, -50%) rotate(var(--a)) translate(46cqi) rotate(calc(-1 * var(--a))); }
.vx-ir__orb--in > span { transform: translate(-50%, -50%) rotate(var(--a)) translate(29cqi) rotate(calc(-1 * var(--a))); }
.vx-ir__orb i { display: grid; place-items: center; width: clamp(34px, 9.5cqi, 48px); aspect-ratio: 1; border: 1px solid var(--ux-line); border-radius: 30%; background: var(--ux-surface); color: var(--ux-text); box-shadow: var(--ux-e1);
  animation: vx-spin 120s linear infinite reverse; }
.vx-ir__orb--in i { width: clamp(42px, 12cqi, 60px); animation-duration: 90s; animation-direction: normal; box-shadow: var(--ux-e2); }
.vx-ir__orb i.acc { color: var(--ux-accent); }
.vx-ir__orb i.sol { color: #FFFFFF; border-color: var(--ux-pri-border); background: var(--ux-pri-bg); }
.vx-ir__orb i.duo { color: var(--ux-accent); background: var(--ux-accent-soft); }
.vx-ir__orb i.til { color: var(--ux-accent); }
.vx-ir__core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 24%; aspect-ratio: 1; translate: -50% -50%; border-radius: 30%; color: #FFFFFF;
  background: radial-gradient(130% 70% at 50% -12%, rgb(255 255 255 / .34), transparent 60%), var(--ux-tile-bg); box-shadow: 0 24px 50px -20px rgb(var(--ux-pri-glow) / .9); }
.vx-ir__core svg { width: 40%; height: 40%; }
@media (prefers-reduced-motion: reduce) { .vx-ir__orb, .vx-ir__orb i, .vx-tm__run svg, .vx-ch__typing i, .vx-tm__cur { animation: none; } }

/* codeCard */
.vx-cc { position: relative; width: min(100%, 560px); padding: 40px 0 64px 14%; }
.vx-cc__code { text-align: left; box-shadow: var(--ux-e4); } .vx-cc__code pre { font-size: 12.5px; line-height: 1.7; white-space: pre; overflow: hidden; }
.vx-cc__prev { position: absolute; left: 0; bottom: 0; display: grid; justify-items: center; gap: 8px; padding: 16px 18px 12px; border: 1px solid var(--ux-line); border-radius: 18px; background: var(--ux-surface); box-shadow: var(--ux-e3); color: var(--ux-accent); }
.vx-cc__prev span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 16px; background: var(--ux-grid), var(--ux-accent-soft); background-size: 6px 6px, auto; }
.vx-cc__prev code { font: 500 11px/1 var(--ux-mono); color: var(--ux-muted); }
.vx-cc__toast { position: absolute; right: 6%; top: 4px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border: 1px solid var(--ux-line); border-radius: 99px; background: var(--ux-surface); box-shadow: var(--ux-e3); font: 600 12.5px/1 var(--ux-font); color: var(--ux-text); }
.vx-cc__toast svg { color: light-dark(#0F8A4F, #4ADE80); }

/* proStack */
.vx-ps { position: relative; width: min(100%, 440px); height: 330px; }
.vx-ps__card { position: absolute; left: 50%; top: 50%; width: min(78%, 320px); padding: 14px; border: 1px solid color-mix(in srgb, var(--ux-pro-edge) 50%, var(--ux-line)); border-radius: 18px; background: var(--ux-card-bg); box-shadow: var(--ux-e3);
  transform: translate(-50%, -50%) translate(calc((var(--i) - 1.5) * 30px), calc((var(--i) - 1.5) * 38px)) rotate(calc((var(--i) - 1.5) * 3deg)); }
.vx-ps__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .vx-ps__head b { font: 600 14px/1 var(--ux-font-display); }
.vx-ps__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; color: var(--ux-accent); justify-items: center; }
.vx-ps__lock { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 9px; border-radius: 10px; color: var(--ux-pro-ink); background: var(--ux-pro-bg); box-shadow: inset 0 0 0 1px var(--ux-pro-edge); font: 600 12px/1 var(--ux-font); }

/* gridBuild + markStory */
.vx-gb, .vx-ms { position: relative; width: min(100%, 420px); aspect-ratio: 1; }
.vx-gb > svg, .vx-ms > svg { width: 100%; height: 100%; overflow: visible; }
.vx-gb .g-ghost { color: var(--ux-accent); opacity: .16; }
.vx-gb .g-draw svg { stroke-width: .14px; }
.vx-gb .g-draw { color: var(--ux-accent); } .vx-gb .g-draw * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: vx-draw 2.4s .3s var(--ux-ease, ease) forwards; }
@keyframes vx-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .vx-gb .g-draw * { animation: none; stroke-dashoffset: 0; } }
.vx-ms .vx-ms__d { display: none; }
:root[data-theme="dark"] .vx-ms__l, .ux-dark .vx-ms__l, .ux-tile--dark .vx-ms__l { display: none; }
:root[data-theme="dark"] .vx-ms__d, .ux-dark .vx-ms__d, .ux-tile--dark .vx-ms__d { display: inline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vx-ms__l { display: none; } :root:not([data-theme="light"]) .vx-ms__d { display: inline; } }
.vx-ms .c-h { stroke-width: .16; } .vx-ms .c-hp { stroke-width: .16; } .vx-ms .c-n { stroke-width: .22; } .vx-ms .g-l { stroke-width: .06; } .vx-ms .g-k { stroke-width: .1; }

/* timelineDots */
.vx-tl { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); width: min(100%, 640px); padding: 10px 0; }
.vx-tl::before { content: ""; position: absolute; left: 10%; right: 10%; top: calc(10px + 58px + 6px); height: 2px; background: linear-gradient(90deg, var(--ux-line-strong), var(--ux-accent)); }
.vx-tl__it { position: relative; display: grid; justify-items: center; gap: 10px; }
.vx-tl__it > span { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ux-line); border-radius: 16px; background: var(--ux-surface); color: var(--ux-accent); box-shadow: var(--ux-e2); }
.vx-tl__it > i { width: 14px; height: 14px; border-radius: 50%; background: var(--ux-surface); box-shadow: inset 0 0 0 3px var(--ux-accent); }
.vx-tl__it b { font: 600 12px/1.2 var(--ux-font); color: var(--ux-muted); }
.vx-tl__it.is-now > span { color: #FFFFFF; border-color: transparent; background: var(--ux-tile-bg); box-shadow: 0 14px 30px -12px rgb(var(--ux-pri-glow) / .9); }
.vx-tl__it.is-now > i { background: var(--ux-accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--ux-accent) 20%, transparent); } .vx-tl__it.is-now b { color: var(--ux-text); }
@container (max-width: 420px) { .vx-tl__it > span { width: 40px; height: 40px; border-radius: 12px; } .vx-tl::before { top: calc(10px + 46px + 6px); } .vx-tl__it b { font-size: 10.5px; } }

/* askCard */
.vx-ak { display: grid; width: min(100%, 420px); }
.vx-ak__card { position: relative; z-index: calc(3 - var(--i)); padding: 14px 16px; border: 1px solid var(--ux-line); border-radius: 16px; background: var(--ux-surface); box-shadow: var(--ux-e2); text-align: left;
  scale: calc(1 - var(--i) * .04); margin-top: calc(var(--i) * -2px); }
.vx-ak__card + .vx-ak__card { margin-top: 8px; }
.vx-ak__card.is-on { border-color: color-mix(in srgb, var(--ux-accent) 40%, var(--ux-line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ux-accent) 10%, transparent), var(--ux-e3); }
.vx-ak__q { display: flex; align-items: center; gap: 10px; color: var(--ux-accent); } .vx-ak__q b { flex: 1; font: 600 14px/1.3 var(--ux-font-display); color: var(--ux-text); } .vx-ak__q svg:last-child { color: var(--ux-muted); }
.vx-ak__a { display: grid; gap: 8px; padding: 12px 0 2px 28px; color: var(--ux-text); }
.vx-ak__card:nth-child(2) { opacity: .85; } .vx-ak__card:nth-child(3) { opacity: .65; }

/* mailCard */
.vx-ml { position: relative; width: min(100%, 420px); aspect-ratio: 1.3; }
.vx-ml__env { position: absolute; inset: 40% 0 0; border: 1px solid var(--ux-line); border-radius: 16px; background: color-mix(in srgb, var(--ux-accent) 12%, var(--ux-surface)); box-shadow: var(--ux-e3); }
.vx-ml__env::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 34%; margin-bottom: -1px; clip-path: polygon(0 100%, 50% 0, 100% 100%); background: color-mix(in srgb, var(--ux-accent) 22%, var(--ux-surface)); }
.vx-ml__letter { position: absolute; left: 9%; right: 9%; top: 4%; bottom: 22%; display: grid; align-content: start; gap: 11px; padding: 16px; border: 1px solid var(--ux-line); border-radius: 14px; background: var(--ux-surface); box-shadow: var(--ux-e2); text-align: left; }
.vx-ml__front { position: absolute; inset: 70% 0 0; border-radius: 0 0 16px 16px; border: 1px solid var(--ux-line); border-top: 0;
  background: linear-gradient(to top right, color-mix(in srgb, var(--ux-accent) 16%, var(--ux-surface)) 50%, color-mix(in srgb, var(--ux-accent) 9%, var(--ux-surface)) 50%); box-shadow: 0 -10px 20px -14px rgb(var(--ux-sh) / .3); }
.vx-ml__head { display: flex; align-items: center; gap: 10px; } .vx-ml__head small { display: block; color: var(--ux-muted); font-size: 10.5px; } .vx-ml__head b { font: 600 14px/1.2 var(--ux-font-display); }
.vx-ml__lines { display: grid; gap: 7px; color: var(--ux-text); }
.vx-ml__foot { display: flex; align-items: center; justify-content: space-between; color: var(--ux-muted); }
.vx-ml__send { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 9px; color: #FFFFFF; font: 600 12px/1 var(--ux-font); background: var(--ux-tile-bg); }
.vx-ml__toast { top: auto; bottom: -4%; right: -2%; }

/* licenseCard */
.vx-lc { position: relative; width: min(100%, 360px); padding: 10px 26px 26px 0; }
.vx-lc__doc { position: relative; display: grid; gap: 14px; padding: 20px; border: 1px solid var(--ux-line); border-radius: 16px 34px 16px 16px; background: var(--ux-surface); box-shadow: var(--ux-e4); text-align: left; rotate: -2deg; }
.vx-lc__doc::before { content: ""; position: absolute; top: -1px; right: -1px; width: 34px; height: 34px; border-radius: 0 16px 0 10px; background: linear-gradient(225deg, transparent 50%, var(--ux-well-2) 50%); }
.vx-lc__head { display: flex; align-items: center; gap: 10px; color: var(--ux-accent); } .vx-lc__head b { flex: 1; font: 600 16px/1 var(--ux-font-display); color: var(--ux-text); }
.vx-lc__mit { margin-right: 22px; padding: 5px 9px; border-radius: 7px; color: #FFFFFF; font: 800 11px/1 var(--ux-mono); letter-spacing: .06em; background: var(--ux-tile-bg); }
.vx-lc__lines { display: grid; gap: 8px; color: var(--ux-text); }
.vx-lc ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vx-lc li { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 6px; border-radius: 99px; background: var(--ux-accent-soft); color: var(--ux-text); font: 600 12px/1 var(--ux-font); }
.vx-lc li svg { color: light-dark(#0F8A4F, #4ADE80); }
.vx-lc__seal { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; color: var(--ux-gold); background: var(--ux-surface); box-shadow: 0 0 0 6px color-mix(in srgb, var(--ux-gold) 22%, transparent), var(--ux-e3); outline: 1.5px dashed color-mix(in srgb, var(--ux-gold) 70%, transparent); outline-offset: -9px; }

/* demo-only bento row height */
.vx-demo-bento .ux-tile__media { min-height: 240px; }

/* ================================================================== v4: industry hues
   .vx-hue + inline vars from visual.mjs hueStyle() (--hue raw, --hue-t / --hue-d AA text shades, --hue-ink deep, --ux-pri-glow).
   One accent per mockup plus neutrals; tints are color-mix() of the accent. */
.vx-hue, .vx-sn.vx-hue {
  --ux-accent: light-dark(var(--hue-t), var(--hue-d)); --ux-focus: var(--ux-accent);
  --ux-accent-soft: light-dark(color-mix(in srgb, var(--hue) 12%, #FFFFFF), color-mix(in srgb, var(--hue) 18%, #15121F));
  --ux-tile-bg: linear-gradient(155deg, var(--hue-ink) 0%, var(--hue-t) 100%);
  --ux-pri-bg: linear-gradient(180deg, color-mix(in srgb, var(--hue-t) 86%, #FFFFFF), var(--hue-t)); --ux-pri-border: var(--hue-ink);
  --ux-pri: inset 0 1px 0 rgb(255 255 255 / .22), 0 1px 2px rgb(0 0 0 / .18), 0 6px 16px -6px rgb(var(--ux-pri-glow) / .5);
  --ux-grid-line: color-mix(in srgb, var(--hue) 9%, transparent);
  --v: var(--ux-accent); --b: color-mix(in srgb, var(--ux-accent) 60%, var(--ux-text)); --o: color-mix(in srgb, var(--ux-accent) 50%, var(--ux-muted));
  --i: light-dark(var(--hue-ink), color-mix(in srgb, var(--hue-d) 70%, #FFFFFF));
}
.vx-hue .vx-tone--v { --t: var(--hue-t); } .vx-hue .vx-tone--b { --t: color-mix(in srgb, var(--hue-t) 60%, var(--hue-ink)); }
.vx-hue .vx-tone--o { --t: color-mix(in srgb, var(--hue-t) 55%, #5A5472); } .vx-hue :is(.vx-tone--i, .vx-tone--g) { --t: var(--hue-ink); }
.vx-ir__orb i.vx-hue:not(.sol) { color: var(--ux-accent); }

/* ================================================================== v4: /how-we-draw/ section visuals */
.vx-phv :is(.vx-p2i, .vx-kl, .vx-mc, .vx-ta, .vx-tr, .vx-mg) { font: 500 12px/1.3 var(--ux-font); text-align: left; }
/* pictureToIcon */
.vx-p2i { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 3cqi, 24px); width: min(100%, 520px); }
.vx-p2i__card { flex: 1 1 0; max-width: 240px; display: grid; gap: 10px; justify-items: start; padding: 18px; border: 1px solid var(--ux-line); border-radius: 18px; background: var(--ux-surface); box-shadow: var(--ux-e3); rotate: -2deg; }
.vx-p2i__k { color: var(--ux-pro-ink); font: 700 10.5px/1 var(--ux-font); letter-spacing: .1em; text-transform: uppercase; }
.vx-p2i__card p { margin: 0; font: 500 17px/1.35 var(--ux-font-display); color: var(--ux-text); text-wrap: balance; }
.vx-p2i__arrow { color: var(--ux-muted); display: inline-flex; flex: none; }
.vx-p2i__out { display: grid; justify-items: center; gap: 10px; }
.vx-p2i__big { display: grid; place-items: center; width: 116px; aspect-ratio: 1; border: 1px solid var(--ux-line); border-radius: 30px; color: var(--ux-text); box-shadow: var(--ux-e2);
  background: var(--ux-grid), var(--ux-surface); background-size: 4.83px 4.83px, auto; }
.vx-p2i__sizes { display: flex; align-items: flex-end; gap: 10px; color: var(--ux-text); }
.vx-p2i__sizes span { display: grid; justify-items: center; gap: 4px; } .vx-p2i__sizes small { color: var(--ux-muted); font: 500 10px/1 var(--ux-mono); }
.vx-p2i__out code { font: 500 11px/1 var(--ux-mono); color: var(--ux-muted); }
@container (max-width: 400px) { .vx-p2i { flex-direction: column; } .vx-p2i__arrow { rotate: 90deg; } .vx-p2i__card { max-width: none; rotate: 0deg; } }
/* gridKeylines */
.vx-kl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: min(100%, 360px); }
.vx-kl figure { margin: 0; display: grid; gap: 8px; padding: 12px; border: 1px solid var(--ux-line); border-radius: 18px; background: var(--ux-surface); box-shadow: var(--ux-e1); }
.vx-kl svg { width: 100%; height: auto; overflow: visible; }
.vx-kl .g-l { stroke-width: .05; }
.vx-kl .g-on { fill: color-mix(in srgb, var(--ux-gold) 14%, transparent); stroke: var(--ux-gold); stroke-width: .14; stroke-dasharray: .5 .35; }
.vx-kl .g-icon { color: var(--ux-text); }
.vx-kl figcaption { display: flex; justify-content: space-between; color: var(--ux-muted); font: 600 11.5px/1 var(--ux-font); }
/* masterCompile */
.vx-mc { display: grid; grid-template-columns: auto 48px minmax(0, 1fr); align-items: center; gap: 0; width: min(100%, 560px); }
.vx-mc__src { display: grid; gap: 12px; justify-items: center; width: 150px; padding: 14px; border: 1px solid var(--ux-line); border-radius: 18px; background: var(--ux-surface); box-shadow: var(--ux-e3); }
.vx-mc__file { display: flex; align-items: center; gap: 6px; justify-self: start; color: var(--ux-muted); } .vx-mc__file b { font: 500 11px/1 var(--ux-mono); color: var(--ux-muted); }
.vx-mc__icon { display: grid; place-items: center; width: 92px; aspect-ratio: 1; border-radius: 20px; color: var(--ux-text); background: var(--ux-grid), var(--ux-surface-2); background-size: 7.6px 7.6px, auto; box-shadow: inset 0 0 0 1px var(--ux-line); }
.vx-mc__lines { display: grid; gap: 6px; width: 100%; color: var(--ux-text); }
.vx-mc__flow { display: grid; gap: 22px; } .vx-mc__flow i { height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--ux-line-strong), var(--ux-gold)); }
.vx-mc__flow i:nth-child(1) { rotate: -18deg; } .vx-mc__flow i:nth-child(3) { rotate: 18deg; }
.vx-mc__dst { display: grid; gap: 10px; justify-items: start; }
.vx-mc__dst ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.vx-mc__dst li { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--ux-line); border-radius: 12px; background: var(--ux-surface); color: var(--ux-muted); box-shadow: var(--ux-e1); }
.vx-mc__dst li.is-free { color: var(--ux-text); border-color: var(--ux-line-strong); }
.vx-mc__gl { display: grid; place-items: center; width: 80%; aspect-ratio: 1; border-radius: 9px; color: #FFFFFF; background: radial-gradient(80% 80% at 20% 20%, rgb(251 174 23 / .7), transparent 60%), #130B2E; }
.vx-mc__dst .vx-chip { color: var(--ux-pro-ink); background: var(--ux-pro-bg); box-shadow: inset 0 0 0 1px var(--ux-pro-edge); }
@container (max-width: 440px) { .vx-mc { grid-template-columns: 1fr; justify-items: center; gap: 14px; } .vx-mc__flow { display: none; } .vx-mc__dst { justify-items: center; } }
/* twoAudits */
.vx-ta { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; width: min(100%, 540px); padding-bottom: 40px; }
.vx-ta__card { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--ux-line); border-radius: 16px; background: var(--ux-surface); box-shadow: var(--ux-e2); }
.vx-ta__card--a { translate: 0 -16px; } .vx-ta__card--b { translate: 0 16px; }
.vx-ta__card small { color: var(--ux-muted); font: 700 10px/1 var(--ux-font); letter-spacing: .08em; text-transform: uppercase; }
.vx-ta__card b { font: 600 14px/1.25 var(--ux-font-display); color: var(--ux-text); }
.vx-ta__v { display: inline-flex; align-items: center; gap: 6px; justify-self: start; height: 24px; padding: 0 9px 0 5px; border-radius: 99px; font-weight: 700; font-size: 11.5px;
  color: light-dark(#0F6B3F, #6EE7A0); background: light-dark(#E7F6EE, #10261A); }
.vx-ta__icon { display: grid; justify-items: center; gap: 8px; }
.vx-ta__icon > span { display: grid; place-items: center; width: 112px; aspect-ratio: 1; border-radius: 30px; color: var(--ux-text); background: var(--ux-surface); border: 1px solid var(--ux-line-strong); box-shadow: 0 0 0 8px color-mix(in srgb, var(--ux-gold) 12%, transparent), var(--ux-e3); }
.vx-ta__icon em { display: inline-flex; align-items: center; gap: 4px; font: 500 10.5px/1 var(--ux-mono); font-style: normal; color: var(--ux-muted); }
.vx-ta__ship { position: absolute; left: 50%; bottom: 0; translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: 99px; color: #FFFFFF; font-weight: 700;
  background: linear-gradient(180deg, #2A1F4E, #130B2E); box-shadow: inset 0 -2px 0 var(--ux-gold), var(--ux-e2); }
@container (max-width: 420px) { .vx-ta { grid-template-columns: 1fr; justify-items: center; } .vx-ta__card { translate: none; width: 100%; } .vx-ta__icon { order: -1; } }
/* noTracing */
.vx-tr { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 4cqi, 32px); width: min(100%, 540px); }
.vx-tr__art { position: relative; display: grid; place-items: center; width: 190px; aspect-ratio: 1; border: 1px solid var(--ux-line); border-radius: 28px; background: var(--ux-grid), var(--ux-surface); background-size: 7.9px 7.9px, auto; box-shadow: var(--ux-e3); }
.vx-tr__art > span:is(.vx-tr__them, .vx-tr__us) { grid-area: 1 / 1; display: grid; }
.vx-tr__them { color: var(--ux-muted); translate: 7px 5px; rotate: 4deg; opacity: .7; } .vx-tr__them svg * { stroke-dasharray: 1.2 1; }
.vx-tr__us { color: var(--ux-text); }
.vx-tr__tag { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--ux-line); border-radius: 8px; background: var(--ux-surface); box-shadow: var(--ux-e2); font: 600 11px/1 var(--ux-font); color: var(--ux-text); white-space: nowrap; }
.vx-tr__tag i { width: 14px; height: 2px; border-radius: 1px; background: var(--ux-text); } .vx-tr__tag--b i { background: repeating-linear-gradient(90deg, var(--ux-muted) 0 3px, transparent 3px 5px); }
.vx-tr__tag--a { left: -14px; top: 14px; } .vx-tr__tag--b { right: -18px; bottom: 14px; }
.vx-tr__meters { display: grid; gap: 14px; }
.vx-tr__meters > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--ux-line); border-radius: 14px; background: var(--ux-surface); box-shadow: var(--ux-e1); }
.vx-tr__meters small { color: var(--ux-muted); font-weight: 600; font-size: 11.5px; }
.vx-tr__m { grid-column: 1 / -1; order: 3; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ux-muted) var(--p), var(--ux-well-2) var(--p)); }
.vx-tr__m--ok { background: linear-gradient(90deg, light-dark(#15803D, #4ADE80) var(--p), var(--ux-well-2) var(--p)); }
.vx-tr__meters em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-weight: 700; font-size: 11px; color: var(--ux-muted); } .vx-tr__meters em.ok { color: light-dark(#15803D, #4ADE80); }
@container (max-width: 440px) { .vx-tr { grid-template-columns: 1fr; justify-items: center; } .vx-tr__meters { width: 100%; } }
/* monthlyGrowth */
.vx-mg { display: grid; gap: 16px; width: min(100%, 500px); padding: 18px; border: 1px solid var(--ux-line); border-radius: 22px; background: var(--ux-surface); box-shadow: var(--ux-e3); }
.vx-mg__bars { display: flex; align-items: flex-end; gap: 8px; height: 170px; padding-top: 30px; border-bottom: 1px solid var(--ux-line); }
.vx-mg__bars span { position: relative; flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--ux-well-2), color-mix(in srgb, var(--ux-well-2) 60%, transparent)); }
.vx-mg__bars .is-now { background: linear-gradient(180deg, light-dark(#2A1F4E, #EEECF6), light-dark(#130B2E, #CFCAE0)); box-shadow: inset 0 3px 0 var(--ux-gold); }
.vx-mg__bars em { position: absolute; bottom: calc(100% + 8px); right: 0; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 99px; white-space: nowrap; font: 700 10.5px/1 var(--ux-font); font-style: normal;
  color: var(--ux-pro-ink); background: var(--ux-pro-bg); box-shadow: inset 0 0 0 1px var(--ux-pro-edge); }
.vx-mg__new { display: flex; align-items: center; gap: 6px; color: var(--ux-text); }
.vx-mg__new i { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--ux-line); border-radius: 10px; background: var(--ux-surface-2); }
.vx-mg__new b { margin-left: 6px; font: 600 12.5px/1.2 var(--ux-font); color: var(--ux-muted); }
@container (max-width: 380px) { .vx-mg__new i:nth-child(n+4) { display: none; } }
