.vx-assets { display: flex; flex-direction: column; gap: 12px; }
/* Vantax web: tablet + desktop layout. Web build only (never shipped in the extension). Mobile <768px untouched. */
.vx-desk { display: none !important; }
.vx-side { display: none; }

/* ---------- tablet 768–1023 ---------- */
@media (min-width: 768px) {
  body.web { font-size: 15px; }
  body.web:not(.popup) .frame { max-width: 980px; margin: 24px auto; min-height: calc(100vh - 48px - 30px); border-radius: 22px; }
  body.web #app { padding: 0 24px; }
  body.web .body { padding: 22px 26px; gap: 16px; }
  body.web .tabs button { font-size: 12px; padding: 12px 0; }
  body.web .vx-home { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 16px; }
  body.web .vx-home > .balance-hero, body.web .vx-home > .sect, body.web .vx-home > p { grid-column: 1 / -1; }
  body.web .vx-home > .vx-assets { display: flex; flex-direction: column; gap: 12px; }
  body.web .vx-home > .vx-side { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
  body.web .vx-nonav .body, body.web [data-screen="settings"] .body, body.web [data-screen="send"] .body { width: 100%; max-width: 760px; margin: 0 auto; }
  body.web [data-screen="onboard"] .body { justify-content: center; }
  body.web .hero { max-width: 560px; margin: 0 auto; }
}
.vx-actlist { display: flex; flex-direction: column; gap: 6px; min-height: 60px; color: var(--vx-muted); font-size: 13px; }
.vx-actrow { padding: 9px 11px; border-radius: 10px; border: 1px solid var(--vx-border); background: rgba(14,22,52,.4); color: var(--vx-text); font-size: 12.5px; }

/* ---------- desktop ≥1024 ---------- */
@media (min-width: 1024px) {
  body.web { font-size: 16px; }
  body.web #app { padding: 0 32px; }
  body.web:not(.popup) .frame { max-width: 1440px; width: 100%; margin: 28px auto; min-height: calc(100vh - 56px - 30px);
    display: grid; grid-template-columns: 248px minmax(0, 1fr); grid-template-rows: auto 1fr; border-radius: 24px; overflow: visible; }
  body.web .frame > .top { grid-column: 1 / -1; grid-row: 1; padding: 18px 28px; gap: 16px; border-radius: 24px 24px 0 0; }
  body.web .frame > .top .brand > div { display: block; }
  body.web .brand strong { font-size: 18px; } body.web .brand small { font-size: 9px; } body.web .logo { width: 38px; height: 38px; }
  body.web .title { font-size: 18px; text-align: left; }
  body.web .iconbtn { width: 40px; height: 40px; } body.web .netpill { font-size: 11px; padding: 5px 10px; }
  body.web .acct { justify-self: start; font-size: 15px; padding: 8px 16px; }
  body.web .frame > .warn, body.web .frame > .demo-banner { grid-column: 1 / -1; }
  /* sidebar */
  body.web .frame > .tabs { grid-column: 1; grid-row: 2 / span 5; position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; gap: 4px;
    padding: 20px 14px; border-top: 0; border-right: 1px solid var(--vx-border); background: transparent; backdrop-filter: none; min-height: 100%; }
  body.web .frame > .tabs .vx-desk { display: flex !important; }
  body.web .frame > .tabs button { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; letter-spacing: .02em; position: relative; }
  body.web .frame > .tabs button .ic { width: 20px; height: 20px; }
  body.web .frame > .tabs button:hover { background: rgba(76,140,255,.08); color: #fff; }
  body.web .frame > .tabs button.on { background: rgba(76,140,255,.14); box-shadow: inset 3px 0 0 var(--vx-blue); }
  body.web .frame > .tabs button.on::before { display: none; }
  body.web .frame > .tabs .vx-panic { margin-top: 18px; color: var(--vx-red); border: 1px solid rgba(255,77,109,.35); }
  body.web .frame > .tabs .vx-panic:hover { background: rgba(255,77,109,.1); }
  body.web .frame > .tabs [data-go="dapps"] { order: 0; }
  /* main */
  body.web .frame > .body { grid-column: 2; grid-row: 2; padding: 32px 40px 40px; gap: 20px; overflow: visible; }
  body.web .frame.vx-nonav > .body { grid-column: 1 / -1; }
  body.web .vx-home { grid-template-columns: minmax(0, 1fr) 380px; gap: 22px 28px; }
  body.web .vx-home > .balance-hero { grid-column: 1; grid-row: 1; padding: 28px 30px; }
  body.web .vx-home > .sect { grid-column: 1; grid-row: 2; margin: 6px 0 -6px; }
  body.web .vx-home > .vx-assets { grid-column: 1; grid-row: 3; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  body.web .vx-home > p { grid-column: 1; grid-row: 4; }
  body.web .vx-home > .vx-side { grid-column: 2; grid-row: 1 / span 4; align-self: start; position: sticky; top: 24px; padding: 22px; }
  body.web .bh-name { font-size: 38px; } body.web .bh-addr { font-size: 15px; }
  body.web .balance-hero .actions { max-width: 640px; } body.web .balance-hero .actions button { padding: 16px 8px; font-size: 14px; }
  body.web .asset { grid-template-columns: 48px 1fr; grid-template-rows: auto auto; padding: 20px; gap: 14px 14px; min-height: 140px; align-content: space-between; }
  body.web .asset .glyph { width: 48px; height: 48px; } body.web .asset .amt { grid-column: 1 / -1; font-size: 28px; font-weight: 700; text-align: left; }
  body.web .asset .meta strong { font-size: 16px; }
  /* forms & secondary screens */
  body.web [data-screen="send"] .body, body.web [data-screen="receive"] .body { max-width: 820px; width: 100%; }
  body.web [data-screen="settings"] .body { max-width: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); align-items: start; gap: 22px; }
  body.web [data-screen="settings"] .body > :not(.glass) { grid-column: 1 / -1; }
  body.web input, body.web select, body.web textarea { font-size: 15px; }
  body.web .btn { font-size: 15px; padding: 14px 18px; }
  body.web .toast { bottom: 32px; font-size: 14px; max-width: 480px; }
  /* onboarding / unlock: centred card with brand panel */
  body.web .frame[data-screen="onboard"], body.web .frame.vx-nonav:has(.hero) { max-width: 1040px; min-height: 0; margin: max(40px, 8vh) auto; }
  body.web [data-screen="onboard"] > .body { padding: 0; }
  body.web .hero { max-width: none; width: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: min-content; column-gap: 0; row-gap: 14px;
    text-align: left; align-items: start; justify-items: start; padding: 0; }
  body.web .hero > .orbit { grid-column: 1; grid-row: 1 / span 20; justify-self: stretch; align-self: stretch; width: auto; height: auto; min-height: 520px; margin: 0;
    background: radial-gradient(420px 320px at 50% 45%, rgba(109,75,255,.28), transparent 70%), linear-gradient(160deg, rgba(14,22,52,.7), rgba(3,6,15,.6));
    border-right: 1px solid var(--vx-border); border-radius: 0 0 0 24px; }
  body.web .hero > .orbit .ring { inset: auto; width: 320px; height: 320px; left: calc(50% - 160px); top: calc(50% - 160px); }
  body.web .hero > .orbit .core { inset: auto; width: 140px; height: 140px; left: calc(50% - 70px); top: calc(50% - 70px); }
  body.web .hero > .orbit .core .logo { width: 64px; height: 64px; }
  body.web .hero > :not(.orbit) { grid-column: 2; margin-left: 56px; margin-right: 56px; width: calc(100% - 112px); }
  body.web .hero > :nth-child(2) { margin-top: 72px; }
  body.web .hero h2 { font-size: 46px; } body.web .hero.compact h2 { font-size: 38px; } body.web .hero p { font-size: 16px; }
  body.web .hero .vx-foot { text-align: left; padding: 6px 0 40px; }
}
@media (min-width: 1600px) { body.web { font-size: 17px; } body.web .vx-home { grid-template-columns: minmax(0, 1fr) 420px; } }
@media (min-width: 1024px) {
  body.web:not(.popup) .frame.vx-nonav { grid-template-columns: minmax(0, 1fr); }
  body.web .frame.vx-nonav > .top { grid-column: 1; }
  body.web .hero > .orbit { min-height: 560px; }
}
@media (min-width: 1600px) { body.web .vx-home > .vx-assets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  body.web .frame.vx-nonav > .body { max-width: none; margin: 0; }
  body.web .frame.vx-nonav:not([data-screen="onboard"]) > .body { max-width: 860px; margin: 0 auto; width: 100%; }
  body.web .frame > .top { position: relative; }
  body.web .frame > .tabs { position: relative; top: auto; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.web .vx-home > .vx-assets { grid-column: 1; grid-row: 3; }
  body.web .vx-home > .vx-side { grid-column: 2; grid-row: 3; align-self: start; }
  body.web .vx-home > p { grid-row: 4; }
}
@media (min-width: 1024px) {
  body.web .frame[data-screen="onboard"] > .body { justify-content: flex-start; }
  body.web .frame[data-screen="onboard"] .hero { flex: 1; }
  body.web .frame[data-screen="onboard"] .hero > .orbit { border-radius: 0 0 0 24px; }
}
.tabs.vx-made { display: none; }
@media (min-width: 1024px) {
  body.web .frame > .tabs.vx-made { display: flex; }
  body.web:not(.popup) .frame[data-screen="onboard"] { min-height: 0; }
  body.web .frame[data-screen="onboard"] .hero > .orbit { min-height: 600px; }
  body.web [data-screen="receive"] .qr { width: 300px; height: 300px; padding: 14px; }
  body.web [data-screen="receive"] .addr { font-size: 15px; }
  body.web [data-screen="receive"] .qrbox { padding: 32px; gap: 18px; }
}
@media (min-width: 1024px) {
  body.web .hero { row-gap: 0; align-content: start; }
  body.web .hero > :not(.orbit) { margin-bottom: 14px; }
  body.web .hero > :not(.orbit):last-child { margin-bottom: 48px; }
  body.web .frame[data-screen="onboard"] .hero > .orbit { min-height: 560px; }
}
@media (min-width: 1024px) {
  body.web:not(.popup) .frame[data-screen="onboard"] { align-self: center; height: auto; margin: 40px auto; }
  body.web .vx-home { grid-template-columns: minmax(0, 1fr) 320px; }
  body.web .vx-home > .vx-assets { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (min-width: 1440px) { body.web .vx-home { grid-template-columns: minmax(0, 1fr) 380px; } }
@media (min-width: 1600px) { body.web .vx-home { grid-template-columns: minmax(0, 1fr) 420px; } body.web .vx-home > .vx-assets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  body.web .asset .meta { min-width: 0; } body.web .asset .meta small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (min-width: 1600px) { body.web .vx-home > .vx-assets { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } body.web .vx-home { grid-template-columns: minmax(0, 1fr) 400px; } }
