/* ═══════════════════════════════════════════════════════════════════
   VaultIQ v2 — two themes: Ledger (light) and Midnight (dark).
   Phones: bottom tab bar. Wider screens: sidebar.
   ═══════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter.woff2) format('woff2'); }

html[data-v2theme="ledger"] {
  --v2-bg: #F2F2F7; --v2-surf: #FFFFFF; --v2-surf2: #F2F2F7; --v2-fill: #E3E3E8; --v2-line: #E3E3E8;
  --v2-text: #111114; --v2-text2: #6C6C72; --v2-acc: #0A66D9; --v2-accT: #FFFFFF; --v2-pos: #0B7A4B; --v2-neg: #B42318;
  --v2-chip: #E6E6EB; --v2-chipT: #111114; --v2-chipOn: #111114; --v2-chipOnT: #FFFFFF;
  --v2-tab: rgba(249,249,251,.94); --v2-tabLine: #D7D7DD; --v2-tabOn: #0A66D9; --v2-tabOff: #6C6C72;
  --v2-barIn: #0B7A4B; --v2-barOut: #C9CBD3; --v2-track: #EDEDF1; --v2-side: #FFFFFF;
  --v2-r: 14px; --v2-rs: 10px; --v2-font: 'Inter', system-ui, -apple-system, sans-serif;
  --v2-title: 34px; --v2-titleW: 700; --v2-numW: 700; --v2-cardBorder: transparent;
  --v2-goodBg: #E3F4EC; --v2-good: #0B7A4B; --v2-badBg: #FDECEA; --v2-bad: #B42318;
  --v2-c0: #0A66D9; --v2-c1: #F08A24; --v2-c2: #6E56CF; --v2-c3: #0B7A4B; --v2-c4: #D6409F; --v2-c5: #8D99AE; --v2-c6: #C9CBD3;
  color-scheme: light;
}
html[data-v2theme="midnight"] {
  --v2-bg: #0A0C11; --v2-surf: #141821; --v2-surf2: #1B2030; --v2-fill: #141821; --v2-line: #262C3B;
  --v2-text: #F2F4F8; --v2-text2: #9AA3B5; --v2-acc: #5CF0BD; --v2-accT: #04130D; --v2-pos: #5CF0BD; --v2-neg: #FF8A7A;
  --v2-chip: #1B2030; --v2-chipT: #C9D0DD; --v2-chipOn: #5CF0BD; --v2-chipOnT: #04130D;
  --v2-tab: rgba(14,17,24,.95); --v2-tabLine: #222837; --v2-tabOn: #5CF0BD; --v2-tabOff: #8C95A8;
  --v2-barIn: #5CF0BD; --v2-barOut: #3A4256; --v2-track: #232838; --v2-side: #0E1118;
  --v2-r: 18px; --v2-rs: 12px; --v2-font: 'Manrope', system-ui, -apple-system, sans-serif;
  --v2-title: 30px; --v2-titleW: 800; --v2-numW: 800; --v2-cardBorder: #262C3B;
  --v2-goodBg: rgba(92,240,189,.10); --v2-good: #5CF0BD; --v2-badBg: rgba(255,138,122,.10); --v2-bad: #FF8A7A;
  --v2-c0: #5CF0BD; --v2-c1: #7AA2FF; --v2-c2: #FFB86B; --v2-c3: #C792EA; --v2-c4: #FF8A7A; --v2-c5: #8C95A8; --v2-c6: #3A4256;
  color-scheme: dark;
}

/* the old interface stays loaded underneath (its loaders, modals and sheets are reused) but is never shown */
html.v2on #app { display: none !important; }
html.v2on body { background: var(--v2-bg) !important; color: var(--v2-text); }
html.v2on #vq-loaderr { top: 0 !important; }
#v2 { display: none; }
html.v2on #v2 { display: block; }

#v2, #v2 * { box-sizing: border-box; }
#v2 { font-family: var(--v2-font); color: var(--v2-text); background: var(--v2-bg); min-height: 100vh; -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.35; }
#v2 button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; -webkit-tap-highlight-color: transparent; }
#v2 button:focus-visible, #v2 a:focus-visible, #v2 input:focus-visible, #v2 select:focus-visible { outline: 2px solid var(--v2-acc); outline-offset: 2px; }
#v2 a { color: var(--v2-acc); text-decoration: none; font-weight: 600; }
#v2 h1, #v2 h2, #v2 h3 { margin: 0; font-family: inherit; color: inherit; }
#v2 .num { font-variant-numeric: tabular-nums; }
#v2 .v2-pos { color: var(--v2-pos); }
#v2 .v2-neg { color: var(--v2-neg); }
#v2 .t2 { color: var(--v2-text2); }

/* ── shell ── */
#v2 .v2-shell { display: flex; min-height: 100vh; }
#v2 .v2-side { display: none; }
#v2 .v2-main { flex: 1; min-width: 0; padding: calc(var(--vq-sat, env(safe-area-inset-top, 0px)) + 18px) 0 calc(104px + env(safe-area-inset-bottom, 0px)); }
#v2 .v2-inner { max-width: 640px; margin: 0 auto; }

#v2 .v2-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 6px 20px 12px; }
#v2 .v2-hd .sub { font-size: 13px; font-weight: 600; color: var(--v2-text2); margin-bottom: 2px; }
#v2 .v2-hd h1 { font-size: var(--v2-title); font-weight: var(--v2-titleW); letter-spacing: -0.6px; line-height: 1.1; }
#v2 .v2-hd .right { display: flex; gap: 8px; align-items: center; }
#v2 .v2-ibtn { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--v2-text); background: var(--v2-surf); border: 1px solid var(--v2-line); flex: none; }
html[data-v2theme="ledger"] #v2 .v2-ibtn { background: transparent; border-color: transparent; color: var(--v2-acc); }
#v2 .v2-ibtn.acc { background: var(--v2-acc); color: var(--v2-accT); border-color: transparent; }
#v2 .v2-av { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; background: var(--v2-surf); border: 1px solid var(--v2-line); color: var(--v2-text); }
html[data-v2theme="ledger"] #v2 .v2-av { background: #E3E3E8; }
#v2 .v2-back { display: inline-flex; align-items: center; gap: 2px; padding: 0 14px 2px; font-size: 16px; font-weight: 500; color: var(--v2-acc); min-height: 32px; }

/* tab bar (phones) */
#v2 .v2-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 2px; padding: 6px 10px calc(8px + env(safe-area-inset-bottom, 18px)); background: var(--v2-tab); border-top: 1px solid var(--v2-tabLine); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); }
#v2 .v2-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border-radius: 14px; color: var(--v2-tabOff); font-size: 10.5px; font-weight: 500; letter-spacing: .1px; text-align: center; }
#v2 .v2-tab.on { color: var(--v2-tabOn); font-weight: 700; }
html[data-v2theme="midnight"] #v2 .v2-tab.on { background: rgba(92,240,189,.12); }

/* segmented control */
#v2 .v2-seg { margin: 0 20px 14px; display: flex; gap: 2px; padding: 3px; border-radius: 13px; background: var(--v2-surf); border: 1px solid var(--v2-line); }
#v2 .v2-seg button { flex: 1; text-align: center; padding: 7px 4px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--v2-chipT); }
#v2 .v2-seg button[aria-pressed="true"] { background: var(--v2-chipOn); color: var(--v2-chipOnT); font-weight: 700; }
html[data-v2theme="ledger"] #v2 .v2-seg { background: #E3E3E8; border-color: transparent; border-radius: 10px; }
html[data-v2theme="ledger"] #v2 .v2-seg button { border-radius: 8px; font-weight: 500; color: var(--v2-text); }
html[data-v2theme="ledger"] #v2 .v2-seg button[aria-pressed="true"] { background: #FFFFFF; color: var(--v2-text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* cards and rows */
#v2 .v2-card { margin: 0 16px 12px; background: var(--v2-surf); border-radius: var(--v2-r); padding: 16px; border: 1px solid var(--v2-cardBorder); }
#v2 .v2-card.rows { padding: 2px 16px; }
#v2 .v2-card.list { padding: 16px 16px 4px; }
#v2 .v2-ch { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
#v2 .v2-ch h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.2px; }
#v2 .v2-ch a, #v2 .v2-ch .lnk { font-size: 14px; font-weight: 600; color: var(--v2-acc); }
#v2 .v2-row { display: flex; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--v2-line); width: 100%; }
#v2 .v2-row:last-child { border-bottom: 0; }
#v2 button.v2-row { text-align: left; }
#v2 .v2-row .m { flex: 1; min-width: 0; }
#v2 .v2-row .m b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#v2 .v2-row .m small { display: block; font-size: 12.5px; color: var(--v2-text2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#v2 .v2-row .e { text-align: right; flex: none; }
#v2 .v2-row .e b { display: block; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
#v2 .v2-row .e small { display: block; font-size: 12.5px; color: var(--v2-text2); margin-top: 2px; }
#v2 .v2-row.off { opacity: .62; }
#v2 .v2-mono { width: 36px; height: 36px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #FFFFFF; background: var(--c, var(--v2-c0)); }
html[data-v2theme="midnight"] #v2 .v2-mono { border-radius: 11px; font-weight: 800; color: var(--c, var(--v2-c0)); background: color-mix(in srgb, var(--c, var(--v2-c0)) 15%, transparent); }
#v2 .v2-mono.sm { width: 30px; height: 30px; font-size: 13px; }
#v2 .v2-grp { display: flex; justify-content: space-between; padding: 0 22px 6px; font-size: 12.5px; font-weight: 600; color: var(--v2-text2); }
html[data-v2theme="ledger"] #v2 .v2-grp .l { text-transform: uppercase; }
#v2 .v2-note { margin: 0 20px 12px; font-size: 12.5px; color: var(--v2-text2); line-height: 1.45; }
#v2 .v2-empty { padding: 22px 6px; text-align: center; color: var(--v2-text2); font-size: 14px; line-height: 1.45; }
#v2 .v2-load { padding: 18px 4px; color: var(--v2-text2); font-size: 14px; }
#v2 .v2-bar { height: 6px; border-radius: 6px; background: var(--v2-track); overflow: hidden; }
#v2 .v2-bar > i { display: block; height: 100%; border-radius: inherit; background: var(--c, var(--v2-acc)); }
#v2 .v2-bar.b8 { height: 8px; }
#v2 .v2-bar.b5 { height: 5px; }
#v2 .v2-kv { display: flex; gap: 8px; }
#v2 .v2-kv > div { flex: 1; min-width: 0; }
#v2 .v2-kv .k { font-size: 12.5px; color: var(--v2-text2); }
#v2 .v2-kv .v { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
#v2 .v2-kv.big .v { font-size: 20px; }
#v2 .v2-big { font-size: 28px; font-weight: var(--v2-numW); letter-spacing: -0.6px; font-variant-numeric: tabular-nums; }
#v2 .v2-lbl { font-size: 12.5px; color: var(--v2-text2); }
#v2 .v2-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--v2-goodBg); color: var(--v2-good); white-space: nowrap; }
#v2 .v2-pill.v2-bad { background: var(--v2-badBg); color: var(--v2-bad); }
#v2 .v2-tag { font-size: 12px; font-weight: 600; color: var(--v2-text2); padding: 2px 8px; border-radius: 999px; background: var(--v2-surf2); margin-left: 6px; white-space: nowrap; }
#v2 .v2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; font-weight: 700; background: var(--v2-acc); color: var(--v2-accT); }
#v2 .v2-btn.ghost { background: var(--v2-surf2); color: var(--v2-text); }
#v2 .v2-btn.wide { width: 100%; }
#v2 .v2-legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--v2-text2); margin-bottom: 6px; }
#v2 .v2-legend span { display: flex; align-items: center; gap: 6px; }
#v2 .v2-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
#v2 .v2-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
#v2 svg text { font-family: var(--v2-font); }

/* hero */
#v2 .v2-hero { margin: 0 20px 14px; }
html[data-v2theme="midnight"] #v2 .v2-hero { margin: 0 16px 12px; background: var(--v2-surf); border: 1px solid var(--v2-line); border-radius: 20px; padding: 20px; }
#v2 .v2-hero .k { font-size: 13px; font-weight: 600; color: var(--v2-text2); letter-spacing: .3px; text-transform: uppercase; }
#v2 .v2-hero .nw { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; flex-wrap: wrap; }
#v2 .v2-hero .nw b { font-size: 42px; font-weight: var(--v2-numW); letter-spacing: -1.4px; font-variant-numeric: tabular-nums; line-height: 1.15; }
#v2 .v2-hero .boxes { display: flex; gap: 10px; margin-top: 12px; }
#v2 .v2-hero .boxes > div { flex: 1; padding: 10px 12px; border-radius: var(--v2-rs); background: var(--v2-surf); }
html[data-v2theme="midnight"] #v2 .v2-hero .boxes > div { background: var(--v2-surf2); }
#v2 .v2-hero .boxes .k { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12.5px; }
#v2 .v2-hero .boxes .v { font-size: 17px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }
#v2 .v2-hero.plain .nw b { font-size: 34px; }

/* search, chips, toggles, inputs */
#v2 .v2-search { margin: 0 20px 12px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--v2-rs); background: var(--v2-fill); color: var(--v2-text2); border: 1px solid var(--v2-line); }
html[data-v2theme="ledger"] #v2 .v2-search { border-color: transparent; }
#v2 .v2-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--v2-text); }
#v2 .v2-search input::placeholder { color: var(--v2-text2); }
#v2 .v2-chips { display: flex; gap: 8px; padding: 0 20px 14px; overflow-x: auto; scrollbar-width: none; }
#v2 .v2-chips::-webkit-scrollbar { display: none; }
#v2 .v2-chip { flex: none; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--v2-chip); color: var(--v2-chipT); border: 1px solid var(--v2-line); min-height: 34px; }
html[data-v2theme="ledger"] #v2 .v2-chip { border-color: transparent; }
#v2 .v2-chip[aria-pressed="true"] { background: var(--v2-chipOn); color: var(--v2-chipOnT); border-color: transparent; }
#v2 .v2-sw { width: 50px; height: 30px; border-radius: 15px; background: #D7D7DD; position: relative; flex: none; display: inline-block; transition: background .15s; }
html[data-v2theme="midnight"] #v2 .v2-sw { background: #3A4256; }
#v2 .v2-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .15s; }
#v2 [aria-checked="true"] .v2-sw, #v2 .v2-sw.on { background: var(--v2-acc); }
#v2 [aria-checked="true"] .v2-sw::after, #v2 .v2-sw.on::after { left: 22px; }
#v2 .v2-srow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; border-bottom: 1px solid var(--v2-line); width: 100%; font-size: 15px; font-weight: 500; }
#v2 .v2-srow:last-child { border-bottom: 0; }
#v2 .v2-srow .r { display: flex; align-items: center; gap: 6px; color: var(--v2-text2); }
#v2 .v2-srow.danger { color: var(--v2-neg); }
#v2 .v2-range { width: 100%; accent-color: var(--v2-acc); }
#v2 .v2-more { display: block; width: 100%; text-align: center; padding: 12px; font-size: 14px; font-weight: 600; color: var(--v2-acc); }

/* plan / subscription card (shared markup from the old Settings) */
#v2 #vq-plan-card .settings-card-hd { display: none; }
#v2 #vq-plan-card .vq15-plan .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--v2-line); font-size: 15px; }
#v2 #vq-plan-card .vq15-plan .row span { color: var(--v2-text2); }
#v2 #vq-plan-card .vq15-badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--v2-surf2); color: var(--v2-text); }
#v2 #vq-plan-card .vq15-note, #v2 #vq-plan-card .vq20-store-note { font-size: 12.5px; color: var(--v2-text2); margin: 10px 0; line-height: 1.45; }
#v2 #vq-plan-card .vq15-seg { display: flex; gap: 2px; padding: 3px; margin: 12px 0; border-radius: 12px; background: var(--v2-surf2); }
#v2 #vq-plan-card .vq15-seg button { flex: 1; text-align: center; padding: 7px; border-radius: 9px; font-size: 13px; font-weight: 600; }
#v2 #vq-plan-card .vq15-seg button.on { background: var(--v2-chipOn); color: var(--v2-chipOnT); }
#v2 #vq-plan-card .vq15-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#v2 #vq-plan-card .vq15-p { border: 1px solid var(--v2-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
#v2 #vq-plan-card .vq15-p .n { font-weight: 700; }
#v2 #vq-plan-card .vq15-p .pr { font-size: 20px; font-weight: 800; }
#v2 #vq-plan-card .vq15-p .pr span, #v2 #vq-plan-card .vq15-p .f { font-size: 12px; color: var(--v2-text2); font-weight: 500; }
#v2 #vq-plan-card .vq15-p button, #v2 #vq-plan-card .btn-g, #v2 #vq-plan-card .btn-ghost { margin-top: 6px; min-height: 40px; border-radius: 10px; font-weight: 700; font-size: 14px; text-align: center; background: var(--v2-acc); color: var(--v2-accT); padding: 0 12px; }
#v2 #vq-plan-card .btn-ghost { background: var(--v2-surf2); color: var(--v2-text); }
#v2 #vq-plan-card .vq20-row, #v2 #vq-plan-card .settings-action { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
#v2 #vq20-del .vq20-note { font-size: 13px; color: var(--v2-text2); margin: 8px 0; line-height: 1.45; }
#v2 #vq20-del .vq20-lbl { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--v2-text2); margin: 8px 0; }
#v2 #vq20-del input { height: 42px; border-radius: 10px; border: 1px solid var(--v2-line); background: var(--v2-surf2); color: var(--v2-text); padding: 0 12px; font: inherit; }
#v2 #vq20-del .vq20-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
#v2 #vq20-del button { min-height: 42px; padding: 0 14px; border-radius: 10px; font-weight: 700; background: var(--v2-surf2); }
#v2 #vq20-del .btn-danger, #v2 #vq20-del button.danger { background: var(--v2-neg); color: #FFFFFF; }

/* sheets, modals, toasts from the shared code, in the v2 colours */
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-sheet-bg { background: rgba(0,0,0,.45) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-sheet { background: var(--v2-surf) !important; color: var(--v2-text) !important; border-color: var(--v2-line) !important; font-family: var(--v2-font) !important; border-radius: var(--v2-r) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-sheet h3 { font-family: var(--v2-font) !important; color: var(--v2-text) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-sheet-ok { background: var(--v2-acc) !important; color: var(--v2-accT) !important; border: 0 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-sheet-ok.danger { background: var(--v2-neg) !important; color: #FFFFFF !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-sheet-cancel, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-sheet-alt { background: var(--v2-surf2) !important; color: var(--v2-text) !important; border: 0 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-sheet input, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-sheet select, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal input, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal select, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal textarea { background: var(--v2-surf2) !important; color: var(--v2-text) !important; border: 1px solid var(--v2-line) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal-bg { background: rgba(0,0,0,.45) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal { background: var(--v2-surf) !important; color: var(--v2-text) !important; border-color: var(--v2-line) !important; font-family: var(--v2-font) !important; border-radius: var(--v2-r) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal * { font-family: var(--v2-font) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal .modal-title, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal label, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal h3 { color: var(--v2-text) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal .modal-sub, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal .hint { color: var(--v2-text2) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal .btn-primary, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal .btn-g { background: var(--v2-acc) !important; color: var(--v2-accT) !important; border: 0 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal .btn-ghost { background: var(--v2-surf2) !important; color: var(--v2-text) !important; border: 0 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .toast, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq-toast-act { font-family: var(--v2-font) !important; bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; }
.v2-sheet-f { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; font-size: 13px; }
.v2-sheet-f select, .v2-sheet-f input { height: 42px; border-radius: 10px; padding: 0 10px; font: inherit; font-size: 15px; }
.v2-sheet-acc { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--v2-line); }
.v2-sheet-acc input { width: 96px; }

/* sign-in screen in the v2 colours */
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth { background: var(--v2-bg) !important; font-family: var(--v2-font) !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .auth-card { background: var(--v2-surf) !important; color: var(--v2-text) !important; border: 1px solid var(--v2-line) !important; border-radius: 20px !important; box-shadow: none !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .auth-brand, html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .vq-auth-h, html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth label { color: var(--v2-text) !important; font-family: var(--v2-font) !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .auth-tagline, html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .vq-auth-p { color: var(--v2-text2) !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth input { background: var(--v2-surf2) !important; color: var(--v2-text) !important; border: 1px solid var(--v2-line) !important; border-radius: 10px !important; font-family: var(--v2-font) !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .btn-primary { background: var(--v2-acc) !important; color: var(--v2-accT) !important; border: 0 !important; border-radius: 12px !important; font-family: var(--v2-font) !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .tab-btn { color: var(--v2-text2) !important; font-family: var(--v2-font) !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .tab-btn.active { color: var(--v2-text) !important; border-color: var(--v2-acc) !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .vq-auth-link { color: var(--v2-acc) !important; }

/* ── wider screens: sidebar instead of tabs, cards side by side ── */
@media (min-width: 900px) {
  #v2 .v2-tabs { display: none; }
  #v2 .v2-side { display: flex; flex-direction: column; width: 248px; flex: none; position: sticky; top: 0; height: 100vh; padding: 22px 14px; background: var(--v2-side); border-right: 1px solid var(--v2-line); overflow-y: auto; }
  #v2 .v2-logo { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
  #v2 .v2-logo i { width: 30px; height: 30px; border-radius: 9px; background: var(--v2-text); color: var(--v2-bg); display: flex; align-items: center; justify-content: center; font-style: normal; }
  #v2 .v2-nav { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; padding: 0 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--v2-text2); }
  #v2 .v2-nav:hover { background: var(--v2-surf2); color: var(--v2-text); }
  #v2 .v2-nav.on { background: var(--v2-surf2); color: var(--v2-text); }
  html[data-v2theme="midnight"] #v2 .v2-nav.on { background: rgba(92,240,189,.12); color: var(--v2-acc); }
  html[data-v2theme="ledger"] #v2 .v2-nav.on { background: #EAF2FD; color: var(--v2-acc); }
  #v2 .v2-nav.subn { min-height: 34px; padding-left: 44px; font-size: 13.5px; font-weight: 500; }
  #v2 .v2-side .sp { flex: 1; }
  #v2 .v2-main { padding: 28px 24px 48px; }
  #v2 .v2-inner { max-width: 1120px; }
  #v2 .v2-hd { padding: 0 16px 18px; }
  #v2 .v2-hd h1 { font-size: 34px; }
  #v2 .v2-seg { max-width: 520px; margin-left: 16px; }
  #v2 .v2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; align-items: start; }
  #v2 .v2-grid > .full { grid-column: 1 / -1; }
  #v2 .v2-search, #v2 .v2-chips { max-width: 720px; }
  #v2 .v2-narrow { max-width: 720px; }
  html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .toast, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq-toast-act { bottom: 24px !important; }
}
@media (min-width: 1280px) {
  #v2 .v2-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { #v2 * { transition: none !important; } }

/* ── the original stylesheet styles every button, heading and input with !important; win those back inside #v2 ── */
html.v2on body { padding: 0 !important; margin: 0 !important; }
html.v2on #v2 h1, html.v2on #v2 h2, html.v2on #v2 h3, html.v2on #v2 p, html.v2on #v2 label { color: inherit !important; }
html.v2on #v2 button { background: transparent !important; color: inherit !important; border-color: transparent; box-shadow: none; }
html.v2on #v2 .v2-ch .lnk, html.v2on #v2 .v2-more, html.v2on #v2 .v2-back { color: var(--v2-acc) !important; }
html.v2on #v2 .v2-tab { color: var(--v2-tabOff) !important; }
html.v2on #v2 .v2-tab.on { color: var(--v2-tabOn) !important; }
html.v2on[data-v2theme="midnight"] #v2 .v2-tab.on { background: rgba(92,240,189,.12) !important; }
html.v2on #v2 .v2-btn { background: var(--v2-acc) !important; color: var(--v2-accT) !important; }
html.v2on #v2 .v2-btn.ghost { background: var(--v2-surf2) !important; color: var(--v2-text) !important; }
html.v2on #v2 .v2-ibtn { background: var(--v2-surf) !important; color: var(--v2-text) !important; border: 1px solid var(--v2-line) !important; }
html.v2on[data-v2theme="ledger"] #v2 .v2-ibtn { background: transparent !important; color: var(--v2-acc) !important; border-color: transparent !important; }
html.v2on #v2 .v2-ibtn.acc { background: var(--v2-acc) !important; color: var(--v2-accT) !important; border-color: transparent !important; }
html.v2on #v2 .v2-av { background: var(--v2-surf) !important; color: var(--v2-text) !important; border: 1px solid var(--v2-line) !important; }
html.v2on[data-v2theme="ledger"] #v2 .v2-av { background: #E3E3E8 !important; border-color: transparent !important; }
html.v2on #v2 .v2-chip { background: var(--v2-chip) !important; color: var(--v2-chipT) !important; border: 1px solid var(--v2-line) !important; }
html.v2on[data-v2theme="ledger"] #v2 .v2-chip { border-color: transparent !important; }
html.v2on #v2 .v2-chip[aria-pressed="true"] { background: var(--v2-chipOn) !important; color: var(--v2-chipOnT) !important; border-color: transparent !important; }
html.v2on #v2 .v2-seg button { color: var(--v2-chipT) !important; }
html.v2on #v2 .v2-seg button[aria-pressed="true"] { background: var(--v2-chipOn) !important; color: var(--v2-chipOnT) !important; }
html.v2on[data-v2theme="ledger"] #v2 .v2-seg button { color: var(--v2-text) !important; }
html.v2on[data-v2theme="ledger"] #v2 .v2-seg button[aria-pressed="true"] { background: #FFFFFF !important; color: var(--v2-text) !important; box-shadow: 0 1px 3px rgba(0,0,0,.12) !important; }
html.v2on #v2 .v2-nav { color: var(--v2-text2) !important; }
html.v2on #v2 .v2-nav:hover, html.v2on #v2 .v2-nav.on { background: var(--v2-surf2) !important; color: var(--v2-text) !important; }
html.v2on[data-v2theme="midnight"] #v2 .v2-nav.on { background: rgba(92,240,189,.12) !important; color: var(--v2-acc) !important; }
html.v2on[data-v2theme="ledger"] #v2 .v2-nav.on { background: #EAF2FD !important; color: var(--v2-acc) !important; }
html.v2on #v2 .v2-srow.danger { color: var(--v2-neg) !important; }
html.v2on #v2 #vq-plan-card .vq15-seg button.on { background: var(--v2-chipOn) !important; color: var(--v2-chipOnT) !important; }
html.v2on #v2 #vq-plan-card .vq15-p button, html.v2on #v2 #vq-plan-card .btn-g { background: var(--v2-acc) !important; color: var(--v2-accT) !important; }
html.v2on #v2 #vq-plan-card .btn-ghost, html.v2on #v2 #vq20-del button { background: var(--v2-surf2) !important; color: var(--v2-text) !important; }
html.v2on #v2 #vq20-del .btn-danger, html.v2on #v2 #vq20-del button.danger { background: var(--v2-neg) !important; color: #FFFFFF !important; }
html.v2on #v2 #vq20-del > .v2-srow { background: transparent !important; color: var(--v2-neg) !important; }
html.v2on #v2 input, html.v2on #v2 select, html.v2on #v2 textarea { background: transparent !important; color: var(--v2-text) !important; border-color: var(--v2-line) !important; }
html.v2on #v2 .v2-search input { border: 0 !important; box-shadow: none !important; padding: 0 !important; height: auto !important; }
html.v2on #v2 #vq20-del input { background: var(--v2-surf2) !important; }
html.v2on #v2 input[type="range"] { background: transparent !important; border: 0 !important; padding: 0 !important; }
html.v2on #v2 .v2-inl { color: var(--v2-acc) !important; font-weight: 600; display: inline; }
html.v2on #v2 button[disabled] { opacity: .45; cursor: not-allowed; }
html.v2on #v2 .v2-pos { color: var(--v2-pos) !important; }
html.v2on #v2 .v2-neg { color: var(--v2-neg) !important; }
html.v2on #v2 .v2-pill { background: var(--v2-goodBg) !important; color: var(--v2-good) !important; }
html.v2on #v2 .v2-pill.v2-bad { background: var(--v2-badBg) !important; color: var(--v2-bad) !important; }
html.v2on #v2 button { border-color: transparent !important; }
html.v2on #v2 button.v2-row, html.v2on #v2 button[style*="border-bottom"], html.v2on #v2 button.v2-srow { border-bottom-color: var(--v2-line) !important; }
html.v2on #v2 button.v2-row:last-child, html.v2on #v2 button.v2-srow:last-child { border-bottom-color: transparent !important; }
html.v2on #v2 .v2-ibtn, html.v2on #v2 .v2-av, html.v2on #v2 .v2-chip { border-color: var(--v2-line) !important; }
html.v2on[data-v2theme="ledger"] #v2 .v2-ibtn, html.v2on[data-v2theme="ledger"] #v2 .v2-chip, html.v2on[data-v2theme="ledger"] #v2 .v2-av, html.v2on #v2 .v2-chip[aria-pressed="true"], html.v2on #v2 .v2-ibtn.acc { border-color: transparent !important; }
html.v2on #v2 #vq-plan-card, html.v2on #v2 #vq-plan-card * { color: var(--v2-text) !important; text-shadow: none !important; }
html.v2on #v2 #vq-plan-card .vq15-plan .row span, html.v2on #v2 #vq-plan-card .vq15-note, html.v2on #v2 #vq-plan-card .vq20-store-note, html.v2on #v2 #vq-plan-card .vq15-p .pr span, html.v2on #v2 #vq-plan-card .vq15-p .f { color: var(--v2-text2) !important; }
html.v2on #v2 #vq-plan-card .vq15-plan .row b { font-weight: 600; }
html.v2on #v2 #vq-plan-card .vq15-p, html.v2on #v2 #vq-plan-card .vq15-plan .row { border-color: var(--v2-line) !important; background: transparent !important; box-shadow: none !important; }
html.v2on #v2 #vq-plan-card .vq15-seg { border: 0 !important; background: var(--v2-surf2) !important; }
html.v2on #v2 #vq-plan-card .vq15-seg button { background: transparent !important; }
html.v2on #v2 #vq-plan-card .vq15-seg button.on, html.v2on #v2 #vq-plan-card .vq15-seg button.on * { color: var(--v2-chipOnT) !important; }
html.v2on #v2 #vq-plan-card .vq15-p button, html.v2on #v2 #vq-plan-card .btn-g { color: var(--v2-accT) !important; }
html.v2on #v2 #vq-plan-card a { color: var(--v2-acc) !important; }
html.v2on #v2 button[disabled], html.v2on #v2 button[aria-disabled="true"] { opacity: .45 !important; }
html.v2on #v2 #vq-plan-card button[disabled], html.v2on #v2 #vq-plan-card button[aria-disabled="true"] { opacity: .45 !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .auth-brand { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--v2-text) !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .tab-row { background: var(--v2-surf2) !important; border: 0 !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .tab-btn { background: transparent !important; color: var(--v2-text2) !important; -webkit-text-fill-color: currentColor !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .tab-btn.active { background: var(--v2-surf) !important; color: var(--v2-text) !important; box-shadow: 0 1px 3px rgba(0,0,0,.12) !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .vq-auth-link { background: transparent !important; color: var(--v2-acc) !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .auth-info { background: var(--v2-surf2) !important; color: var(--v2-text2) !important; border-color: var(--v2-line) !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .vq-mark { background: var(--v2-text) !important; }
html[data-v2theme]:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #auth .vq-mark path { stroke: var(--v2-bg) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal .modal-sub, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal .modal-sub * { color: var(--v2-text2) !important; -webkit-text-fill-color: currentColor !important; filter: none; }

/* heads-up flags, tags, activity summary panel */
#v2 .v2-flag { width: 30px; height: 30px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
#v2 .v2-flag-bad { background: var(--v2-badBg); color: var(--v2-bad); }
#v2 .v2-flag-warn { background: color-mix(in srgb, #F08A24 16%, transparent); color: #C2650A; }
html[data-v2theme="midnight"] #v2 .v2-flag-warn { color: #FFB86B; }
#v2 .v2-flag-good { background: var(--v2-goodBg); color: var(--v2-good); }
html.v2on #v2 .v2-tag-acc { background: var(--v2-acc) !important; color: var(--v2-accT) !important; }
#v2 .v2-aside { display: none; }
@media (min-width: 900px) {
  #v2 .v2-narrow:has(.v2-split) { max-width: none; }
  #v2 .v2-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 4px; align-items: start; }
  #v2 .v2-split #v2-txlist { max-width: 760px; }
  #v2 .v2-aside { display: block; position: sticky; top: 20px; }
  #v2 .v2-hero svg { height: 84px; }
}
#v2 .v2-row.wrap { padding: 8px 0; align-items: flex-start; }
#v2 .v2-row.wrap .m b, #v2 .v2-row.wrap .m small { white-space: normal; }
#v2 .v2-row.wrap > svg { align-self: center; color: var(--v2-text2); flex: none; }

/* add-something modal, trial banner, plans wall, sticky modal buttons — in the v2 colours */
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-modal-bg { background: rgba(0,0,0,.45) !important; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 16px; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-modal { background: var(--v2-surf) !important; color: var(--v2-text) !important; border: 1px solid var(--v2-line) !important; border-radius: var(--v2-r) !important; font-family: var(--v2-font) !important; box-shadow: 0 20px 60px rgba(0,0,0,.3) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-modal h3, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-modal label { color: var(--v2-text) !important; font-family: var(--v2-font) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-modal input, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-modal select { background: var(--v2-surf2) !important; color: var(--v2-text) !important; border: 1px solid var(--v2-line) !important; border-radius: 10px !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-modal .btn-g { background: var(--v2-acc) !important; color: var(--v2-accT) !important; border: 0 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-modal .dh-btn-refresh, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .vq-modal .vq-modal-x { background: var(--v2-surf2) !important; color: var(--v2-text) !important; border: 0 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) .modal .modal-actions { background: var(--v2-surf) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-banner { bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important; background: var(--v2-text) !important; color: var(--v2-bg) !important; border: 0 !important; font-family: var(--v2-font) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-banner button:not(.x) { background: var(--v2-bg) !important; color: var(--v2-text) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-banner .x { background: transparent !important; color: var(--v2-bg) !important; }
@media (min-width: 900px) { html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-banner { bottom: 24px !important; } }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall { background: rgba(0,0,0,.5) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .box { background: var(--v2-surf) !important; color: var(--v2-text) !important; border: 1px solid var(--v2-line) !important; border-radius: var(--v2-r) !important; font-family: var(--v2-font) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .box * { font-family: var(--v2-font) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .box h2, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-p .n, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-p .pr, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-plan b { color: var(--v2-text) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .box p, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-note, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-p .f, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-p .pr span, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-plan span { color: var(--v2-text2) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-p { background: var(--v2-surf2) !important; border: 1px solid var(--v2-line) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-seg { background: var(--v2-surf2) !important; border: 0 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-seg button { background: transparent !important; color: var(--v2-text) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-seg button.on { background: var(--v2-chipOn) !important; color: var(--v2-chipOnT) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-p button, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .btn-g { background: var(--v2-acc) !important; color: var(--v2-accT) !important; border: 0 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .vq15-p button[disabled] { opacity: .45 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #vq15-wall .btn-ghost { background: var(--v2-surf2) !important; color: var(--v2-text) !important; border: 0 !important; }

/* AI assistant: opened from the ✦ button (phones) or "Ask AI" (sidebar), in the v2 colours */
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-fab { display: none !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel.ai-panel { background: var(--v2-surf) !important; color: var(--v2-text) !important; border: 1px solid var(--v2-line) !important; font-family: var(--v2-font) !important; box-shadow: 0 24px 70px rgba(0,0,0,.35) !important; z-index: 3000 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel * { font-family: var(--v2-font) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel .ai-hd { background: var(--v2-surf) !important; border-bottom: 1px solid var(--v2-line) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel .ai-hd-icon { background: var(--v2-acc) !important; color: var(--v2-accT) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel .ai-hd-title { color: var(--v2-text) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel .ai-hd-sub { color: var(--v2-text2) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel .ai-close { background: var(--v2-surf2) !important; color: var(--v2-text) !important; border: 0 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel .ai-msg { background: var(--v2-surf2) !important; color: var(--v2-text) !important; border: 0 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel .ai-msg.user, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel .ai-msg.ai-user { background: var(--v2-acc) !important; color: var(--v2-accT) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel .ai-sg { background: var(--v2-surf2) !important; color: var(--v2-text) !important; border: 1px solid var(--v2-line) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel .ai-input-row { background: var(--v2-surf) !important; border-top: 1px solid var(--v2-line) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel .ai-input { background: var(--v2-surf2) !important; color: var(--v2-text) !important; border: 1px solid var(--v2-line) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel .ai-send { background: var(--v2-acc) !important; color: var(--v2-accT) !important; border: 0 !important; }
@media (max-width: 899px) {
  html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #ai-panel.ai-panel { left: 8px !important; right: 8px !important; width: auto !important; top: calc(var(--vq-sat, env(safe-area-inset-top, 0px)) + 8px) !important; bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; height: auto !important; border-radius: var(--v2-r) !important; }
}

/* Plaid costs (owner only) inside the v2 frame */
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs { display: block !important; padding: 0 16px !important; margin: 0 !important; background: transparent !important; color: var(--v2-text) !important; font-family: var(--v2-font) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs > .pg-hd .pg-title, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs > .pg-hd .pg-sub { display: none !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs > .pg-hd { display: flex !important; justify-content: flex-end !important; margin: 0 0 12px !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs * { font-family: var(--v2-font) !important; text-shadow: none !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .card, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .vq11-panel, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .vq11-kpis > * { background: var(--v2-surf) !important; color: var(--v2-text) !important; border: 1px solid var(--v2-cardBorder) !important; border-radius: var(--v2-r) !important; box-shadow: none !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs h3, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .card-title, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs b, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs td, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .vq11-kpis * { color: var(--v2-text) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs th, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .vq11-tag, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .ctag, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .pcm-note, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs label, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs small { color: var(--v2-text2) !important; background: transparent !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs td, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs th { border-color: var(--v2-line) !important; background: transparent !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .pcm-nav button { background: var(--v2-surf2) !important; color: var(--v2-text) !important; border: 0 !important; border-radius: 8px !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .pcm-nav span { color: var(--v2-text) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs svg text { fill: var(--v2-text2) !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs { position: static !important; inset: auto !important; top: auto !important; left: auto !important; transform: none !important; width: auto !important; max-width: none !important; min-height: 0 !important; height: auto !important; opacity: 1 !important; visibility: visible !important; animation: none !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .vq-back-settings { display: none !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .card-title, html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .card-hd span { color: var(--v2-text) !important; opacity: 1 !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .pcm-grid { margin-bottom: 12px !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs * { -webkit-text-fill-color: currentColor !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs > .pg-hd { position: static !important; inset: auto !important; transform: none !important; width: auto !important; height: auto !important; backdrop-filter: none !important; }
html.v2on:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body:not(#v2x#v2y#v2z) #v2 #page-costs .pcm-nav { border: 1px solid var(--v2-line) !important; background: var(--v2-surf) !important; border-radius: 10px !important; }
