@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Geist:wght@400;500;600;700&display=swap');

.vx, .vx *, .vx *::before, .vx *::after { box-sizing: border-box; }
.vx h1,.vx h2,.vx h3,.vx h4,.vx p,.vx ul,.vx ol { margin: 0; padding: 0; }
.vx ul,.vx ol { list-style: none; }
.vx button { font: inherit; border: 0; background: transparent; cursor: pointer; color: inherit; padding: 0; }
.vx a { color: inherit; text-decoration: none; }
.vx input, .vx textarea { font: inherit; color: inherit; background: transparent; border: 0; outline: 0; }

:root {
  --bg: #fff7f1;
  --bg-warm: #ffeede;
  --sky-1: #d8ecff;
  --sky-2: #f1ecff;
  --mint: #e3f5e8;
  --cream: #fffaf3;
  --card: #ffffff;
  --line: #1a1a1a14;
  --line-2: #1a1a1a26;
  --line-3: #1a1a1a40;
  --ink: #1a1a1a;
  --ink-2: #5b5b67;
  --mute: #9a9aab;
  --pig: #ffb1bf;
  --pig-2: #ff8aa0;
  --pig-3: #e85676;
  --pig-deep: #b73355;
  --sky: #8cc4ff;
  --good: #1f9e5b;
  --good-2: #e6f5ec;
  --warn: #e89b1a;
  --warn-2: #fff2dc;
  --bad: #d6463b;
  --bad-2: #fde7e5;
}

.vx {
  font-family: "Geist", -apple-system, system-ui, sans-serif;
  font-size: 15px; line-height: 1.45;
  color: var(--ink);
  background: var(--bg);
  width: 100%; height: 100%;
  display: grid;
  grid-template-columns: 240px minmax(0,1fr);
  -webkit-font-smoothing: antialiased;
}
.vx .serif { font-family: "Fraunces", Georgia, serif; letter-spacing: -0.02em; }
.vx .mono { font-family: ui-monospace, monospace; font-variant-numeric: tabular-nums; }

/* RAIL ─────────────────────────────────────────────── */
.vx .rail {
  background: var(--cream);
  border-right: 1px solid var(--line);
  padding: 22px 14px 16px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  min-height: 0;
}
.vx .brand {
  display: flex; align-items: center; gap: 10px;
  padding: 0 6px 22px;
}
.vx .brand .logo {
  width: 44px; height: 44px;
  background: url('vestya-logo.png') center/contain no-repeat;
  border-radius: 50%;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(232,86,118,0.25));
}
.vx .brand .wm {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1;
}
.vx .brand .wm em {
  font-style: normal;
  font-family: "Geist", system-ui, sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  display: block;
  color: var(--mute);
  font-weight: 500;
  margin-top: 3px;
}

.vx .nav { display: flex; flex-direction: column; gap: 3px; }
.vx .nav .item {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px; align-items: center;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 14.5px; font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
}
.vx .nav .item:hover { background: var(--bg); color: var(--ink); }
.vx .nav .item.on { background: var(--ink); color: #fff; }
.vx .nav .item.on .badge { background: var(--pig); color: var(--ink); }
.vx .nav .item .badge {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  background: var(--bg); color: var(--ink-2);
  padding: 2px 7px; border-radius: 999px;
  font-weight: 700;
}
.vx .nav .item .desc {
  font-size: 11px;
  color: var(--mute);
  font-weight: 400;
  display: block;
  margin-top: 1px;
}
.vx .nav .item.on .desc { color: rgba(255,255,255,0.6); }
.vx .nav .item .twoline { line-height: 1.2; }

.vx .grp-lbl {
  font-family: ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 18px 12px 8px;
}

.vx .help-card {
  margin-top: auto;
  background: linear-gradient(160deg, var(--sky-2) 0%, var(--bg-warm) 100%);
  border-radius: 16px;
  padding: 14px 14px 12px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.45;
  border: 1px solid var(--line);
  position: relative;
}
.vx .help-card b { color: var(--ink); font-weight: 600; }
.vx .help-card .pig {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: url('mascot.png') center/120% no-repeat var(--pig);
  margin-bottom: 8px;
  box-shadow: 0 4px 10px rgba(232,86,118,0.2);
}

.vx .me {
  margin-top: 12px;
  padding: 10px 8px;
  display: grid;
  grid-template-columns: 32px 1fr 16px;
  gap: 10px; align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.vx .me:hover { background: var(--bg); }
.vx .me.on {
  background: var(--ink);
  color: #fff;
  border-top-color: transparent;
}
.vx .me.on .who span { color: rgba(255,255,255,0.6); }
.vx .me.on .av { background: var(--pig); color: var(--ink); }
.vx .me .chev { color: var(--mute); }
.vx .me .av {
  width: 32px; height: 32px; border-radius: 50%;
  background: #ffd6a0; color: var(--ink);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.vx .me .who { line-height: 1.2; }
.vx .me .who b { font-weight: 600; font-size: 13px; display: block; }
.vx .me .who span { font-size: 11px; color: var(--mute); }

/* MAIN ─────────────────────────────────────────────── */
.vx .main {
  overflow-y: auto;
  background:
    radial-gradient(60% 50% at 100% 0%, var(--sky-2) 0%, transparent 65%),
    radial-gradient(50% 40% at 0% 0%, var(--sky-1) 0%, transparent 60%),
    var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.vx .main::-webkit-scrollbar { width: 8px; }
.vx .main::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }

.vx .page-pad { padding: 32px 40px 100px; max-width: 920px; margin: 0 auto; width: 100%; }

/* HOME HERO ────────────────────────────────────────── */
.vx .hero {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: center;
  padding: 8px 0 26px;
}
.vx .hero .greet {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 6px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.vx .hero .greet .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.vx .hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.vx .hero h1 .pig-word { color: var(--pig-3); }
.vx .hero h1 .underline {
  background: linear-gradient(180deg, transparent 62%, rgba(255,177,191,0.55) 62%);
}
.vx .hero .sub {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 44ch;
  line-height: 1.5;
}
.vx .hero .sub b { color: var(--ink); font-weight: 600; }
.vx .hero .pig-art {
  width: 220px; height: 220px;
  background: url('mascot.png') center/cover no-repeat;
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(232,86,118,0.18);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* MONEY CARD ───────────────────────────────────────── */
.vx .money {
  background: var(--card);
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 22px 24px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}
.vx .money .lbl {
  font-size: 13px; color: var(--ink-2);
  margin-bottom: 4px;
  display: inline-flex; align-items: center; gap: 8px;
}
.vx .money .lbl .pip { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--mint); color: var(--good); font-weight: 600; }
.vx .money .num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 44px; font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.vx .money .num .cents { font-size: 0.55em; color: var(--mute); margin-left: 4px; vertical-align: top; }
.vx .money .delta {
  margin-top: 8px;
  font-size: 13.5px; font-weight: 600;
  color: var(--good);
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 6px;
}
.vx .money .delta .joke { font-weight: 400; color: var(--ink-2); font-style: italic; margin-left: 4px; }
.vx .money .spark { width: 220px; height: 64px; }
.vx .money .range {
  display: flex; gap: 4px; margin-top: 10px; grid-column: 1 / -1;
  width: 100%;
}
.vx .money .range button {
  flex: 1;
  padding: 6px 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mute);
  border-radius: 8px;
  font-family: ui-monospace, monospace;
}
.vx .money .range button.on { background: var(--ink); color: #fff; }

/* SECTION HEADER ───────────────────────────────────── */
.vx .section-h {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 22px 4px 12px;
}
.vx .section-h h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px; font-weight: 500;
  letter-spacing: -0.02em;
}
.vx .section-h h2 .joke {
  font-family: "Geist", system-ui, sans-serif;
  font-size: 12px;
  color: var(--mute);
  margin-left: 8px;
  font-style: italic;
  font-weight: 400;
}
.vx .section-h .see-all {
  font-size: 12.5px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 4px;
}
.vx .section-h .see-all:hover { color: var(--ink); }

/* ACTION CARDS ─────────────────────────────────────── */
.vx .actions { display: flex; flex-direction: column; gap: 10px; }
.vx .action {
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: center;
  transition: transform .15s, box-shadow .15s;
}
.vx .action:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,0.05); }
.vx .action.empty { grid-template-columns: 1fr; }
.vx .action.empty:hover { transform: none; box-shadow: none; }
.vx .action .who-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 600; font-size: 14px;
  font-family: "Fraunces", Georgia, serif;
}
.vx .action .who-av.vera { background: linear-gradient(135deg, var(--pig), var(--pig-3)); }
.vx .action .who-av.research { background: linear-gradient(135deg, #8cc4ff, #4a8cff); }
.vx .action .who-av.risk { background: linear-gradient(135deg, #ffd28c, #e89b1a); }
.vx .action .who-av.stocks { background: linear-gradient(135deg, #a8e6c3, #2bb673); }
.vx .action .who-av.crypto { background: linear-gradient(135deg, #ffc380, #e87b1a); }
.vx .action .who-av.reporter { background: linear-gradient(135deg, #c7b8ff, #8a6fff); }
.vx .action .body .ttl {
  font-size: 16px; font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.vx .action .body .from {
  font-size: 13px; color: var(--ink-2);
  line-height: 1.45;
}
.vx .action .body .from b { color: var(--ink); font-weight: 600; }
.vx .action .body .from em { font-style: italic; color: var(--ink-2); }
.vx .action .impact {
  text-align: right;
}
.vx .action .impact .val {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px; font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.vx .action .impact .val.good { color: var(--good); }
.vx .action .impact .lbl {
  font-size: 11px;
  color: var(--mute);
  margin-top: 1px;
}
.vx .action .yesno {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 12px;
  grid-column: 2 / span 2;
}
.vx .action .yesno button {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.vx .action .yesno .yes { background: var(--ink); color: #fff; }
.vx .action .yesno .yes:hover { background: #000; }
.vx .action .yesno .no { background: var(--bg); color: var(--ink-2); border: 1px solid var(--line-2); }
.vx .action .yesno .no:hover { background: var(--cream); }
.vx .action .yesno .more { background: transparent; color: var(--ink-2); padding-left: 4px; }
.vx .action .yesno .more:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.vx .action .who-av { cursor: pointer; transition: transform .15s; }
.vx .action .who-av:hover { transform: scale(1.08); }
.vx .action.resolved-y { background: linear-gradient(180deg, var(--good-2), var(--card)); border-color: rgba(31,158,91,0.25); }
.vx .action.resolved-n { opacity: 0.7; }
.vx .action .resolved {
  grid-column: 2 / span 2;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px;
}
.vx .action .resolved.ok { background: var(--good-2); color: var(--good); font-weight: 500; }
.vx .action .resolved.sk { background: var(--bg); color: var(--mute); }

/* REPORT (today's activity) ────────────────────────── */
.vx .report {
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.vx .report .row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  padding: 14px 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.vx .report .row:last-child { border: 0; }
.vx .report .row .av {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 13px;
  color: #fff;
}
.vx .report .row .av.research { background: linear-gradient(135deg, #8cc4ff, #4a8cff); }
.vx .report .row .av.stocks { background: linear-gradient(135deg, #a8e6c3, #2bb673); }
.vx .report .row .av.risk { background: linear-gradient(135deg, #ffd28c, #e89b1a); }
.vx .report .row .av.tax { background: linear-gradient(135deg, #ffd6a0, #d97706); }
.vx .report .row .av.crypto { background: linear-gradient(135deg, #ffc380, #e87b1a); }
.vx .report .row .av.vera { background: linear-gradient(135deg, var(--pig), var(--pig-3)); }
.vx .report .row .what { color: var(--ink); line-height: 1.4; }
.vx .report .row .what b { font-weight: 600; }
.vx .report .row .what .impact { color: var(--good); font-weight: 600; }
.vx .report .row .when {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--mute);
  white-space: nowrap;
}

/* MODE STRIP (hands-off/on) ────────────────────────── */
.vx .mode-strip {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
}
.vx .mode-strip .l .lbl { font-family: ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.vx .mode-strip .l .help { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.4; }
.vx .mode-strip .l .help b { color: var(--ink); font-weight: 600; }
.vx .mode-strip .seg {
  display: inline-flex;
  background: var(--bg);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--line);
}
.vx .mode-strip .seg button {
  padding: 8px 14px;
  font-size: 12.5px; font-weight: 600;
  color: var(--mute);
  border-radius: 999px;
  white-space: nowrap;
}
.vx .mode-strip .seg button.on { background: var(--ink); color: #fff; }

/* TILES (quick links) ─────────────────────────────── */
.vx .tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.vx .tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.vx .tile:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,0.05); }
.vx .tile .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--sky-2);
  display: grid; place-items: center;
  color: var(--ink); margin-bottom: 10px;
}
.vx .tile.warm .ic { background: var(--warn-2); color: var(--warn); }
.vx .tile.mint .ic { background: var(--mint); color: var(--good); }
.vx .tile .ttl { font-weight: 600; font-size: 14.5px; }
.vx .tile .sub { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.4; }

/* TEAM ─────────────────────────────────────────────── */
.vx .team-hero {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 28px;
  align-items: center;
  padding: 8px 0 26px;
}
.vx .team-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.vx .team-hero .sub { font-size: 16px; color: var(--ink-2); max-width: 50ch; line-height: 1.5; }
.vx .team-hero .pig-art { width: 160px; height: 160px; background: url('mascot.png') center/cover no-repeat; border-radius: 50%; box-shadow: 0 14px 30px rgba(232,86,118,0.18); animation: float 4s ease-in-out infinite; }

.vx .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.vx .agent-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px 18px;
  text-align: center;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  position: relative;
}
.vx .agent-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.06); }
.vx .agent-card .av {
  width: 72px; height: 72px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 26px;
  color: #fff;
  position: relative;
}
.vx .agent-card .av::after {
  content: ""; position: absolute;
  bottom: 4px; right: 4px;
  width: 12px; height: 12px;
  background: var(--good);
  border: 2px solid #fff;
  border-radius: 50%;
}
.vx .agent-card .av.idle::after { background: var(--mute); }
.vx .agent-card .av.busy::after { background: var(--warn); animation: pulse 1.3s infinite; }
.vx .agent-card .av.cio { background: linear-gradient(135deg, var(--pig), var(--pig-3)); }
.vx .agent-card .av.research { background: linear-gradient(135deg, #8cc4ff, #4a8cff); }
.vx .agent-card .av.stocks { background: linear-gradient(135deg, #a8e6c3, #2bb673); }
.vx .agent-card .av.crypto { background: linear-gradient(135deg, #ffc380, #e87b1a); }
.vx .agent-card .av.risk { background: linear-gradient(135deg, #ffd28c, #e89b1a); }
.vx .agent-card .av.reporter { background: linear-gradient(135deg, #c7b8ff, #8a6fff); }
.vx .agent-card .role {
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}
.vx .agent-card .title {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.vx .agent-card .blurb {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
  margin-bottom: 14px;
  min-height: 38px;
}
.vx .agent-card .last {
  font-size: 11.5px;
  color: var(--mute);
  padding: 8px 0;
  border-top: 1px dashed var(--line-2);
  line-height: 1.4;
}

/* CHAT ─────────────────────────────────────────────── */
.vx .conv {
  display: flex; flex-direction: column;
  height: 100%; min-height: 0;
  flex: 1;
}
.vx .chat-head {
  padding: 16px 32px;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 12px; align-items: center;
  background: var(--cream);
  flex-shrink: 0;
}
.vx .chat-head .av {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pig), var(--pig-3));
  display: grid; place-items: center;
  color: #fff; font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 17px;
  position: relative;
}
.vx .chat-head .av::after {
  content: ""; position: absolute;
  bottom: 0; right: 0;
  width: 11px; height: 11px;
  background: var(--good);
  border: 2px solid var(--cream);
  border-radius: 50%;
}
.vx .chat-head .name { font-weight: 600; font-size: 16px; line-height: 1.1; }
.vx .chat-head .sub { font-size: 12px; color: var(--ink-2); margin-top: 3px; }
.vx .chat-head .more {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--ink-2);
  font-weight: 500;
}
.vx .chat-head .more:hover { color: var(--ink); }

.vx .thread {
  flex: 1; overflow-y: auto;
  padding: 22px max(20px, calc((100% - 700px)/2)) 16px;
  display: flex; flex-direction: column; gap: 14px;
  scroll-behavior: smooth;
  min-height: 0;
}
.vx .daysep {
  display: flex; align-items: center; gap: 12px;
  font-family: ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.vx .daysep::before, .vx .daysep::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.vx .msg { display: flex; gap: 10px; align-items: flex-end; animation: rise .3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.vx .msg .av {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pig), var(--pig-3));
  display: grid; place-items: center;
  color: #fff; font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 13px;
  flex: 0 0 30px;
}
.vx .msg .bubble {
  max-width: 560px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  font-size: 15px;
  line-height: 1.5;
}
.vx .msg .bubble strong { font-weight: 600; }
.vx .msg .bubble em { font-style: normal; color: var(--pig-3); font-weight: 500; }

.vx .msg.you { flex-direction: row-reverse; }
.vx .msg.you .av { display: none; }
.vx .msg.you .bubble {
  background: var(--ink); color: #fff;
  border-radius: 18px;
  border-bottom-right-radius: 6px;
  border: 0;
  max-width: 440px;
}

.vx .delegate {
  margin-left: 40px;
  max-width: 580px;
  background: var(--sky-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px;
  animation: rise .3s both;
}
.vx .delegate .head { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.vx .delegate .head .av {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 11px;
}
.vx .delegate .head .av.research { background: linear-gradient(135deg, #8cc4ff, #4a8cff); }
.vx .delegate .head .av.risk { background: linear-gradient(135deg, #ffd28c, #e89b1a); }
.vx .delegate .head .av.stocks { background: linear-gradient(135deg, #a8e6c3, #2bb673); }
.vx .delegate .head .name { font-weight: 600; }
.vx .delegate .head .stat {
  margin-left: auto;
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 5px;
}
.vx .delegate .head .stat .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--warn);
  animation: pulse 1.2s ease-in-out infinite;
}
.vx .delegate .head .stat.done .pulse { background: var(--good); animation: none; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.vx .delegate .ask { font-size: 12.5px; color: var(--ink-2); font-style: italic; }
.vx .delegate .reply { font-size: 14px; line-height: 1.5; }
.vx .delegate .reply b { font-weight: 600; }

.vx .plan {
  margin-left: 40px;
  max-width: 580px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0,0,0,0.06);
}
.vx .plan .ph {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--sky-2);
  display: flex; justify-content: space-between; align-items: baseline;
}
.vx .plan .ph .ttl {
  font-family: "Fraunces", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.vx .plan .ph .meta { font-family: ui-monospace, monospace; font-size: 10px; color: var(--mute); letter-spacing: 0.1em; }
.vx .plan .pb { padding: 14px 18px; }
.vx .plan .item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  align-items: center;
}
.vx .plan .item + .item { border-top: 1px dashed var(--line); }
.vx .plan .item .badge {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sky-2);
  color: var(--ink-2);
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
  font-family: ui-monospace, monospace;
}
.vx .plan .item .what b { font-weight: 600; }
.vx .plan .item .what span { display: block; font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.vx .plan .item .amt { font-weight: 600; font-variant-numeric: tabular-nums; font-family: "Fraunces", Georgia, serif; font-size: 16px; }
.vx .plan .item .amt.good { color: var(--good); }
.vx .plan .saved {
  margin-top: 8px;
  padding: 12px 14px;
  background: var(--good-2);
  border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
}
.vx .plan .saved b { font-weight: 600; }
.vx .plan .saved .v { font-weight: 700; color: var(--good); font-family: "Fraunces", Georgia, serif; font-size: 18px; }
.vx .plan .cta {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.vx .plan .cta button { padding: 16px; font-weight: 600; font-size: 14.5px; }
.vx .plan .cta .yes { background: var(--ink); color: #fff; }
.vx .plan .cta .yes:hover { background: #000; }
.vx .plan .cta .yes.done { background: var(--good); }
.vx .plan .cta .pick { color: var(--ink-2); border-right: 1px solid var(--line); }
.vx .plan .cta .pick:hover { background: var(--bg); color: var(--ink); }

.vx .typing .bubble { display: flex; gap: 4px; padding: 14px 16px; }
.vx .typing i { width: 6px; height: 6px; background: var(--mute); border-radius: 50%; animation: bounce 1.2s ease-in-out infinite; }
.vx .typing i:nth-child(2) { animation-delay: 0.15s; }
.vx .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%,80%,100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-4px); opacity: 1; } }

.vx .composer-wrap {
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 14px max(20px, calc((100% - 700px)/2)) 18px;
  flex-shrink: 0;
}
.vx .sugs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.vx .sugs::-webkit-scrollbar { display: none; }
.vx .sugs button {
  flex: 0 0 auto;
  padding: 9px 14px;
  font-size: 13px;
  background: var(--card);
  color: var(--ink-2);
  border-radius: 999px;
  border: 1px solid var(--line-2);
  white-space: nowrap;
  font-weight: 500;
}
.vx .sugs button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.vx .composer { display: flex; gap: 10px; align-items: center; }
.vx .composer .field {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 15px;
}
.vx .composer .field:focus-within { border-color: var(--ink); }
.vx .composer .field input { width: 100%; }
.vx .composer .field input::placeholder { color: var(--mute); }
.vx .composer .send {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
}
.vx .composer .send[disabled] { opacity: 0.3; }

/* MONEY PAGE ───────────────────────────────────────── */
.vx .money-page .hero h1 { font-size: 38px; }
.vx .big-chart {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 18px;
}
.vx .big-chart .lbl { font-size: 13px; color: var(--ink-2); }
.vx .big-chart .num { font-family: "Fraunces", Georgia, serif; font-size: 52px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 4px; }
.vx .big-chart .num .cents { font-size: 0.45em; color: var(--mute); }
.vx .big-chart .delta { color: var(--good); font-weight: 600; margin-top: 8px; font-size: 14px; }
.vx .big-chart .chart-area { width: 100%; height: 180px; margin: 18px 0 12px; }
.vx .big-chart .range { display: flex; gap: 4px; }
.vx .big-chart .range button { flex: 1; padding: 8px 0; font-size: 12px; font-weight: 600; color: var(--mute); border-radius: 8px; font-family: ui-monospace, monospace; }
.vx .big-chart .range button.on { background: var(--ink); color: #fff; }

.vx .breakdown {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 18px;
}
.vx .breakdown h3 { font-family: "Fraunces", serif; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 16px; }
.vx .breakdown .alloc { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.vx .breakdown .alloc span { display: block; height: 100%; }
.vx .breakdown .row {
  display: grid;
  grid-template-columns: 14px 1fr auto auto;
  gap: 14px;
  padding: 9px 0;
  font-size: 14px;
  align-items: center;
}
.vx .breakdown .row + .row { border-top: 1px solid var(--line); }
.vx .breakdown .row .sw { width: 10px; height: 10px; border-radius: 3px; }
.vx .breakdown .row .k { font-weight: 500; }
.vx .breakdown .row .k span { display: block; font-size: 12px; color: var(--mute); font-weight: 400; margin-top: 1px; }
.vx .breakdown .row .pct { color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: 13px; font-family: ui-monospace, monospace; }
.vx .breakdown .row .v { font-weight: 600; font-variant-numeric: tabular-nums; font-family: "Fraunces", serif; font-size: 16px; }
.vx .breakdown h3 .serif-joke { font-family: "Geist", sans-serif; font-size: 13px; color: var(--mute); font-weight: 400; font-style: italic; letter-spacing: 0; margin-left: 4px; }

/* CHART HEADER ──────────────────────────────────────── */
.vx .big-chart-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.vx .chart-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--ink-2); padding-top: 10px; border-top: 1px dashed var(--line); margin-top: 4px; flex-wrap: wrap; gap: 6px; }
.vx .chart-foot .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); margin-right: 6px; }
.vx .chart-foot .muted { color: var(--mute); font-size: 12px; }
.vx .chart-foot b { color: var(--ink); font-weight: 600; }

/* GOAL ROW ─────────────────────────────────────────── */
.vx .goal-row { padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; transition: background .15s; margin: 0 -22px; padding-left: 22px; padding-right: 22px; }
.vx .goal-row:hover { background: var(--bg); }
.vx .goal-row-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.vx .goal-name { font-weight: 600; font-size: 14.5px; }
.vx .goal-sub { font-size: 12px; color: var(--mute); margin-top: 2px; }
.vx .goal-amt { font-family: "Fraunces", serif; font-size: 15px; font-variant-numeric: tabular-nums; font-weight: 500; }
.vx .goal-bar { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.vx .goal-bar-fill { height: 100%; background: linear-gradient(90deg, var(--pig), var(--pig-3)); border-radius: 999px; transition: width .8s ease; }
.vx .goal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.vx .goal-pct { font-family: ui-monospace, monospace; font-size: 11px; color: var(--mute); }
.vx .goal-cta { font-size: 12px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }
.vx .add-goal { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; background: var(--bg); border: 1px dashed var(--line-2); margin-top: 14px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.vx .add-goal:hover { background: var(--cream); color: var(--ink); }

/* STATS GRID ──────────────────────────────────────── */
.vx .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.vx .statcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.vx .statcard .k { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.vx .statcard .v { font-size: 26px; font-weight: 500; margin: 6px 0 2px; letter-spacing: -0.02em; }
.vx .statcard.good .v { color: var(--good); }
.vx .statcard.warn .v { color: var(--warn); }
.vx .statcard .sub { font-size: 11.5px; color: var(--ink-2); line-height: 1.35; }

/* TEAM FOOTER ─────────────────────────────────────── */
.vx .team-foot { margin-top: 28px; padding: 22px; background: linear-gradient(160deg, var(--sky-2), var(--bg-warm)); border-radius: 18px; border: 1px solid var(--line); }
.vx .team-foot-h { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 4px; }
.vx .team-foot-sub { font-size: 13.5px; color: var(--ink-2); }
.vx .team-foot-sub a { color: var(--pig-3); font-weight: 600; }

/* MOBILE TABBAR ─────────────────────────────────────── */
.vx .tabbar { display: none; }

/* SHEETS (MODAL) ────────────────────────────────── */
.vx .sheet-scrim {
  position: fixed; inset: 0;
  background: rgba(26,26,26,0.45);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: grid; place-items: center;
  padding: 24px;
  animation: scrim-in .25s ease;
}
@keyframes scrim-in { from { opacity: 0; } to { opacity: 1; } }
.vx .sheet {
  background: var(--card);
  border-radius: 22px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 26px 22px;
  position: relative;
  animation: sheet-in .3s cubic-bezier(0.2,0.9,0.3,1.2);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.vx .sheet-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg); color: var(--ink-2);
  display: grid; place-items: center;
}
.vx .sheet-close:hover { background: var(--ink); color: #fff; }
.vx .sheet-h { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.vx .sheet-av {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 600; font-size: 22px;
  position: relative;
}
.vx .sheet-av::after { content: ""; position: absolute; bottom: 2px; right: 2px; width: 13px; height: 13px; background: var(--good); border: 2.5px solid #fff; border-radius: 50%; }
.vx .sheet-av.idle::after { background: var(--mute); }
.vx .sheet-av.busy::after { background: var(--warn); animation: pulse 1.3s infinite; }
.vx .sheet-av.cio { background: linear-gradient(135deg, var(--pig), var(--pig-3)); }
.vx .sheet-av.research { background: linear-gradient(135deg, #8cc4ff, #4a8cff); }
.vx .sheet-av.stocks { background: linear-gradient(135deg, #a8e6c3, #2bb673); }
.vx .sheet-av.crypto { background: linear-gradient(135deg, #ffc380, #e87b1a); }
.vx .sheet-av.risk { background: linear-gradient(135deg, #ffd28c, #e89b1a); }
.vx .sheet-av.reporter { background: linear-gradient(135deg, #c7b8ff, #8a6fff); }
.vx .sheet-role { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.vx .sheet-title { font-size: 12px; color: var(--mute); margin-top: 4px; font-family: ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.vx .sheet-section { margin-bottom: 18px; }
.vx .sheet-sec-lbl { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.vx .sheet-body { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.vx .sheet-rules { display: flex; flex-direction: column; gap: 8px; }
.vx .sheet-rules li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.vx .sheet-rules li svg { color: var(--good); flex-shrink: 0; margin-top: 4px; }
.vx .sheet-recent { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.vx .sheet-recent li { padding: 7px 10px; background: var(--bg); border-radius: 8px; font-family: ui-monospace, monospace; font-size: 12px; }
.vx .sheet-cta { display: flex; gap: 10px; margin-top: 20px; }
.vx .sheet-btn { flex: 1; padding: 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.vx .sheet-btn.ghost { background: var(--bg); color: var(--ink-2); }
.vx .sheet-btn.ghost:hover { background: var(--cream); color: var(--ink); }
.vx .sheet-btn.solid { background: var(--ink); color: #fff; }
.vx .sheet-btn.solid:hover { background: #000; }

/* WHY SHEET ──────────────────────────── */
.vx .sheet.why { max-width: 520px; }
.vx .why-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--sky-2); color: var(--ink-2); font-size: 11px; font-weight: 600; font-family: ui-monospace, monospace; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.vx .why-title { font-size: 26px; font-weight: 500; line-height: 1.15; margin-bottom: 6px; }
.vx .why-by { font-size: 12px; color: var(--mute); font-family: ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.vx .why-summary { font-size: 15px; line-height: 1.55; color: var(--ink); margin-bottom: 18px; padding: 14px 16px; background: var(--cream); border-radius: 14px; border-left: 3px solid var(--pig-3); }
.vx .why-points { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.vx .why-pt { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 13.5px; }
.vx .why-pt:first-child { border-top: 0; padding-top: 0; }
.vx .why-pt .k { font-weight: 600; color: var(--ink-2); }
.vx .why-pt .v { color: var(--ink); line-height: 1.5; }
.vx .why-sources { padding-top: 12px; border-top: 1px solid var(--line); }
.vx .why-sources-lbl { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.vx .src-chip { display: inline-block; padding: 4px 10px; background: var(--bg); border-radius: 999px; font-size: 11.5px; color: var(--ink-2); margin-right: 6px; margin-bottom: 4px; font-family: ui-monospace, monospace; }

/* GOAL SHEET ──────────────────────────── */
.vx .sheet.goal { text-align: center; }
.vx .goal-emoji { font-size: 56px; margin-bottom: 6px; line-height: 1; }
.vx .goal-name { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 4px; }
.vx .goal-eta { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.vx .goal-big-bar { height: 14px; background: var(--bg); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.vx .goal-big-bar-fill { height: 100%; background: linear-gradient(90deg, var(--pig), var(--pig-3)); border-radius: 999px; }
.vx .goal-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; text-align: center; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.vx .goal-stats .lbl { font-size: 11px; color: var(--mute); font-family: ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.vx .goal-stats .v { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.vx .goal-meta-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--bg); border-radius: 12px; margin-bottom: 12px; font-size: 13px; text-align: left; }
.vx .goal-meta-k { color: var(--mute); }
.vx .goal-meta-v { color: var(--ink); font-weight: 600; }
.vx .goal-joke { padding: 12px 14px; background: linear-gradient(135deg, var(--sky-2), var(--bg-warm)); border-radius: 12px; font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.vx .goal-joke svg { color: var(--pig-3); flex-shrink: 0; }
.vx .goal-joke em { font-style: italic; color: var(--ink); }

/* TOAST ───────────────────────────────── */
.vx .toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translate(-50%, 24px);
  background: var(--ink); color: #fff;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s cubic-bezier(0.2,0.9,0.3,1.2);
  z-index: 200;
  box-shadow: 0 16px 36px rgba(0,0,0,0.25);
  max-width: calc(100vw - 32px);
}
.vx .toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.vx .toast .emoji { font-size: 18px; }

/* BRAND CURSOR ─────────────────────── */
.vx .brand { cursor: pointer; }
.vx .brand:hover .wm { color: var(--pig-3); transition: color .15s; }

/* RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .vx .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .vx { grid-template-columns: 68px minmax(0,1fr); }
  .vx .rail { padding: 18px 8px 14px; align-items: center; }
  .vx .brand .wm, .vx .nav .item .twoline,
  .vx .nav .item .badge, .vx .help-card,
  .vx .grp-lbl, .vx .me .who { display: none; }
  .vx .brand { padding: 0 0 18px; }
  .vx .nav .item { grid-template-columns: 38px; justify-content: center; padding: 11px 0; place-items: center; }
  .vx .me { grid-template-columns: 32px; justify-content: center; padding-top: 12px; }
  .vx .hero { grid-template-columns: 1fr; }
  .vx .hero .pig-art { width: 140px; height: 140px; justify-self: center; order: -1; }
  .vx .hero h1 { font-size: 36px; text-align: center; }
  .vx .hero .greet, .vx .hero .sub { text-align: center; }
  .vx .hero .sub { margin: 0 auto; }
  .vx .page-pad { padding: 22px 22px 100px; }
  .vx .team-hero { grid-template-columns: 1fr; text-align: center; }
  .vx .team-hero .pig-art { margin: 0 auto; }
  .vx .tiles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .vx { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .vx .rail { display: none; }
  .vx .page-pad { padding: 18px 16px 16px; }
  .vx .hero { padding: 8px 0 18px; gap: 12px; }
  .vx .hero h1 { font-size: 28px; }
  .vx .hero .pig-art { width: 110px; height: 110px; }
  .vx .hero .sub { font-size: 14.5px; max-width: 36ch; }
  .vx .money { grid-template-columns: 1fr; gap: 8px; padding: 20px; border-radius: 18px; }
  .vx .money .num { font-size: 38px; }
  .vx .money .spark { width: 100%; height: 50px; }
  .vx .section-h h2 { font-size: 20px; }
  .vx .section-h h2 .joke { display: none; }
  .vx .action { grid-template-columns: 40px 1fr; padding: 16px; gap: 12px; border-radius: 16px; }
  .vx .action .who-av { width: 40px; height: 40px; }
  .vx .action .body .ttl { font-size: 15px; }
  .vx .action .impact { grid-column: 2; text-align: left; margin-top: 6px; }
  .vx .action .impact .val { font-size: 18px; }
  .vx .action .yesno { grid-column: 1 / -1; }
  .vx .action .resolved { grid-column: 1 / -1; }
  .vx .mode-strip { grid-template-columns: 1fr; gap: 12px; }
  .vx .tiles { grid-template-columns: 1fr; }
  .vx .team-hero h1 { font-size: 28px; }
  .vx .team-hero .pig-art { width: 110px; height: 110px; }
  .vx .msg .bubble { max-width: 78%; font-size: 14.5px; }
  .vx .msg.you .bubble { max-width: 78%; }
  .vx .delegate, .vx .plan { margin-left: 38px; max-width: calc(100% - 38px); }
  .vx .chat-head { padding: 12px 16px; }
  .vx .chat-head .more { display: none; }
  .vx .thread { padding: 16px 14px; }
  .vx .composer-wrap { padding: 10px 14px 10px; }
  .vx .tabbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--cream);
    border-top: 1px solid var(--line);
    padding: 6px 6px 10px;
    flex-shrink: 0;
  }
  .vx .tabbar button {
    display: flex; flex-direction: column; align-items: center;
    gap: 3px; padding: 8px 0;
    color: var(--mute);
    font-size: 10.5px; font-weight: 600;
  }
  .vx .tabbar button.on { color: var(--pig-3); }
  .vx .report .row { grid-template-columns: 32px 1fr; gap: 10px; padding: 12px 14px; }
  .vx .report .row .when { grid-column: 2; font-size: 10.5px; margin-top: 3px; }
  .vx .breakdown { padding: 18px; }
  .vx .big-chart { padding: 18px; }
  .vx .big-chart .num { font-size: 38px; }
  .vx .big-chart .chart-area { height: 140px; }
  .vx .stats-grid { grid-template-columns: 1fr 1fr; }
  .vx .statcard .v { font-size: 22px; }
  .vx .sheet { padding: 22px 20px 18px; border-radius: 22px 22px 18px 18px; }
  .vx .sheet-scrim { padding: 0; align-items: flex-end; }
  .vx .sheet { max-width: 100%; border-radius: 22px 22px 0 0; max-height: 92vh; }
  .vx .why-pt { grid-template-columns: 1fr; gap: 2px; }
  .vx .why-title { font-size: 22px; }
  .vx .goal-stats .v { font-size: 18px; }
  .vx .goal-row { margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
  .vx .goal-name { font-size: 14px; }
  .vx .team-foot { padding: 18px; }
  .vx .team-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vx .agent-card { padding: 16px 12px 14px; }
  .vx .agent-card .av { width: 60px; height: 60px; font-size: 22px; }
  .vx .agent-card .role { font-size: 18px; }
  .vx .agent-card .blurb { font-size: 12px; min-height: 0; margin-bottom: 10px; }
  .vx .agent-card .last { font-size: 10.5px; }
  .vx .tabbar button svg { width: 20px; height: 20px; }
  .vx .toast { bottom: 84px; }
}

@media (max-width: 400px) {
  .vx .hero h1 { font-size: 24px; }
  .vx .hero .greet { font-size: 13px; }
  .vx .hero .sub { font-size: 13.5px; }
  .vx .money .num { font-size: 32px; }
  .vx .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vx .action .yesno { gap: 6px; }
  .vx .action .yesno button { padding: 8px 14px; font-size: 12.5px; }
  .vx .action .yesno .more { padding: 8px 6px; }
}
