/* Velnode Web Dashboard styles — tokens only (CLAUDE.md §3), dark Style A.
   States covered: button default/hover/focus/disabled; nav active; pills. AA+. */
* { box-sizing: border-box; }
html, body {
  margin: 0; min-height: 100vh;
  background: var(--velora-bg-page); color: var(--velora-text);
  font-family: var(--velora-font-sans); line-height: 1.5;
}
a { color: var(--velora-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--velora-text-strong); font-weight: 700; margin: 0; }
img { max-width: 100%; }

/* ── Centered auth pages (sign in / sign up / recovery kit / reset) ───── */
.center {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: var(--velora-space-6);
  background: radial-gradient(900px 420px at 50% -10%, var(--velora-accent-soft), transparent 60%);
}
.authcard {
  width: 100%; max-width: 380px; background: var(--velora-bg-card);
  border: 1px solid var(--velora-border-soft); border-radius: var(--velora-radius-200);
  padding: var(--velora-space-8) var(--velora-space-6); text-align: center;
  box-shadow: var(--velora-shadow-card);
}
.authcard.wide { max-width: 560px; }
.logo { width: 48px; height: 48px; object-fit: contain; margin: 0 auto var(--velora-space-3); display: block; }
.authcard h2 { font-size: 18px; margin-bottom: var(--velora-space-1); }
.authcard .sub { font-size: 13px; color: var(--velora-text-muted); margin: 0 0 var(--velora-space-6); }
.authcard .alt { margin-top: var(--velora-space-4); font-size: 12px; color: var(--velora-text-muted); }

/* ── Fields ──────────────────────────────────────────────────────────── */
.field { text-align: left; margin-bottom: var(--velora-space-3); }
.field label { display: block; }
.field .fld-label { display: block; font-size: 12px; color: var(--velora-text-soft); margin-bottom: var(--velora-space-1); }
.field input {
  width: 100%; background: var(--velora-bg-deep); border: 1px solid var(--velora-border);
  border-radius: var(--velora-radius-100); padding: var(--velora-space-2) var(--velora-space-3);
  color: var(--velora-text); font-size: 13px; font-family: inherit;
}
.field input::placeholder { color: var(--velora-text-soft); opacity: 1; }
.field input:focus { outline: none; border-color: var(--velora-border-strong); box-shadow: var(--velora-focus-ring); }
.field .err { display: block; color: var(--velora-danger); font-size: 12px; margin-top: var(--velora-space-1); }
.meter { height: var(--velora-space-1); border-radius: var(--velora-radius-pill); background: var(--velora-bg-deep); margin-top: var(--velora-space-1); overflow: hidden; }
.meter > span { display: block; height: 100%; width: 0; background: var(--velora-success); transition: width .2s; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; text-align: center; padding: var(--velora-space-2) var(--velora-space-4); border: none;
  border-radius: var(--velora-radius-200); background: var(--velora-accent);
  color: var(--velora-text-on-accent); font-weight: 700; font-size: 13px;
  font-family: inherit; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible { outline: none; box-shadow: var(--velora-focus-ring); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--velora-accent); border: 1px solid var(--velora-border-strong); font-weight: 600; }
.btn.ghost:hover { background: var(--velora-accent-soft); filter: none; }
.btn.danger { background: transparent; color: var(--velora-danger); border: 1px solid var(--velora-danger-edge); font-weight: 600; }
.btn.danger:hover { background: var(--velora-danger-soft); filter: none; }

/* ── Dashboard shell ─────────────────────────────────────────────────── */
.shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.side {
  background: var(--velora-bg-deep); border-right: 1px solid var(--velora-border);
  padding: var(--velora-space-4) var(--velora-space-3); display: flex; flex-direction: column;
}
.brand { display: flex; align-items: center; gap: var(--velora-space-2); font-weight: 700; color: var(--velora-text-strong); font-size: 15px; padding: var(--velora-space-1) var(--velora-space-2) var(--velora-space-4); }
.brand img { width: 22px; height: 22px; object-fit: contain; }
.nav a { display: flex; align-items: center; gap: var(--velora-space-2); padding: var(--velora-space-2) var(--velora-space-3); border-radius: var(--velora-radius-100); font-size: 13px; color: var(--velora-text-muted); margin-bottom: var(--velora-space-1); cursor: pointer; }
.nav a:hover { color: var(--velora-text); text-decoration: none; }
.nav a.active { background: var(--velora-accent-soft); color: var(--velora-accent); font-weight: 600; }
.nav a .soon { margin-left: auto; font-size: 10px; color: var(--velora-text-soft); background: var(--velora-bg-raised); border: 1px solid var(--velora-border); border-radius: var(--velora-radius-pill); padding: 1px 6px; font-weight: 600; }
.side .me { margin-top: auto; padding-top: var(--velora-space-3); border-top: 1px solid var(--velora-border); font-size: 12px; color: var(--velora-text-soft); word-break: break-all; }
.side .me .me-plan { display: inline-block; margin-top: var(--velora-space-2); }
.side .me .signout { display: inline-block; margin-top: var(--velora-space-2); cursor: pointer; background: none; border: none; padding: 0; font: inherit; color: var(--velora-accent); }
.side .me .signout:hover { text-decoration: underline; }
.side .me .signout:focus-visible { outline: none; box-shadow: var(--velora-focus-ring); border-radius: var(--velora-radius-100); }

.main { padding: var(--velora-space-6); max-width: 880px; }
.main h2 { font-size: 20px; margin-bottom: var(--velora-space-1); }
.crumb { color: var(--velora-text-muted); font-size: 12px; margin-bottom: var(--velora-space-4); }

/* ── Cards / rows / pills / sections ─────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--velora-space-4); }
.card { background: var(--velora-bg-card); border: 1px solid var(--velora-border); border-radius: var(--velora-radius-200); padding: var(--velora-space-4); }
.card .k { font-size: 12px; color: var(--velora-text-muted); margin-bottom: var(--velora-space-2); }
.card .v { font-size: 22px; font-weight: 700; color: var(--velora-text); }
.card .v small { font-size: 12px; font-weight: 400; color: var(--velora-text-muted); }
.card .v.v-sm { font-size: 14px; }
.linklike { display: inline-block; margin-top: var(--velora-space-2); background: none; border: none; padding: 0; font: inherit; font-size: 12px; color: var(--velora-accent); cursor: pointer; }
.linklike:hover { text-decoration: underline; }
.linklike:focus-visible { outline: none; box-shadow: var(--velora-focus-ring); border-radius: var(--velora-radius-100); }
.pill { display: inline-flex; align-items: center; gap: var(--velora-space-2); font-size: 12px; padding: var(--velora-space-1) var(--velora-space-3); border-radius: var(--velora-radius-pill); background: var(--velora-accent-soft); color: var(--velora-accent); border: 1px solid var(--velora-border-strong); font-weight: 600; }
.pill.ok { background: var(--velora-success-soft); color: var(--velora-success); border-color: var(--velora-success-edge); }
.pill.warn { background: var(--velora-warn-soft); color: var(--velora-warn); border-color: var(--velora-warn-edge); }
.pill.muted { background: var(--velora-bg-raised); color: var(--velora-text-soft); border-color: var(--velora-border); }
.row { display: flex; align-items: center; justify-content: space-between; gap: var(--velora-space-3); padding: var(--velora-space-3) 0; border-bottom: 1px solid var(--velora-border); }
.row:last-child { border-bottom: none; }
.row .l { font-size: 14px; }
.row .l small { display: block; color: var(--velora-text-muted); font-size: 12px; margin-top: var(--velora-space-1); }
.sec { margin-top: var(--velora-space-6); }
.sec h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--velora-text-soft); margin-bottom: var(--velora-space-3); }
.note { font-size: 12px; color: var(--velora-text-muted); margin-top: var(--velora-space-4); padding: var(--velora-space-2) var(--velora-space-3); background: var(--velora-accent-soft); border-radius: var(--velora-radius-100); border: 1px solid var(--velora-border-soft); }
.caption { font-size: 12px; color: var(--velora-text-soft); margin-top: var(--velora-space-4); }
.skel { color: var(--velora-text-soft); font-size: 13px; }

/* ── Coming-soon box ─────────────────────────────────────────────────── */
.soonbox { margin-top: var(--velora-space-2); padding: var(--velora-space-6); text-align: center; background: var(--velora-bg-card); border: 1px dashed var(--velora-border-strong); border-radius: var(--velora-radius-200); color: var(--velora-text-muted); font-size: 13px; }
.soonbox strong { color: var(--velora-text-strong); display: block; font-size: 15px; margin-bottom: var(--velora-space-1); }

/* ── Recovery kit grid ───────────────────────────────────────────────── */
.reckit { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--velora-space-2); margin: var(--velora-space-4) 0; text-align: left; }
.reckit .w { background: var(--velora-bg-deep); border: 1px solid var(--velora-border); border-radius: var(--velora-radius-100); padding: var(--velora-space-2) var(--velora-space-3); font-size: 13px; }
.reckit .w b { color: var(--velora-text-soft); font-weight: 400; margin-right: 6px; }
.checkline { display: flex; align-items: center; gap: var(--velora-space-2); font-size: 13px; color: var(--velora-text-muted); margin: var(--velora-space-3) 0; text-align: left; }

/* ── Toast ───────────────────────────────────────────────────────────── */
#toast-host { position: fixed; top: var(--velora-space-4); left: 50%; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; gap: var(--velora-space-2); }
.toast { padding: var(--velora-space-2) var(--velora-space-4); border-radius: var(--velora-radius-100); font-size: 13px; border: 1px solid var(--velora-border-strong); background: var(--velora-bg-card); color: var(--velora-text); box-shadow: var(--velora-shadow-card); }
.toast.ok { border-color: var(--velora-success-edge); color: var(--velora-success); }
.toast.err { border-color: var(--velora-danger-edge); color: var(--velora-danger); }

/* ── Modal ───────────────────────────────────────────────────────────── */
.backdrop { position: fixed; inset: 0; background: var(--velora-overlay-modal); display: flex; align-items: center; justify-content: center; z-index: 40; padding: var(--velora-space-4); }
.modal { width: 100%; max-width: 400px; background: var(--velora-bg-card); border: 1px solid var(--velora-border-soft); border-radius: var(--velora-radius-200); padding: var(--velora-space-6); box-shadow: var(--velora-shadow-card); }
.modal h3 { font-size: 16px; margin-bottom: var(--velora-space-2); }
.modal .actions { display: flex; gap: var(--velora-space-2); justify-content: flex-end; margin-top: var(--velora-space-4); }

/* ── Stage 3a billing page ───────────────────────────────────────────────── */
.pill.pro { background: linear-gradient(90deg, var(--velora-accent-soft), var(--velora-success-soft)); color: var(--velora-accent); border-color: var(--velora-border-strong); font-weight: 700; }
.bill-toggle { display: inline-flex; background: var(--velora-bg-deep); border: 1px solid var(--velora-border); border-radius: var(--velora-radius-pill); padding: var(--velora-space-1); margin-bottom: var(--velora-space-4); font-size: 13px; }
.bill-toggle button { padding: var(--velora-space-1) var(--velora-space-4); border: none; background: transparent; font: inherit; border-radius: var(--velora-radius-pill); color: var(--velora-text-muted); cursor: pointer; }
.bill-toggle button.on { background: var(--velora-accent); color: var(--velora-text-on-accent); font-weight: 700; }
.bill-toggle button:focus-visible { outline: none; box-shadow: var(--velora-focus-ring); }
.bill-toggle .bill-save { color: var(--velora-success); font-weight: 600; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--velora-space-4); }
.plan { background: var(--velora-bg-card); border: 1px solid var(--velora-border); border-radius: var(--velora-radius-200); padding: var(--velora-space-6); }
.plan.cur { border-color: var(--velora-border-strong); }
.plan.pro { border-color: var(--velora-accent); box-shadow: 0 0 0 1px var(--velora-accent) inset; position: relative; }
.plan h3 { margin: 0; font-size: 16px; color: var(--velora-text-strong); }
.bill-price { font-size: 30px; font-weight: 700; color: var(--velora-text); margin: var(--velora-space-2) 0 var(--velora-space-1); }
.bill-price small { font-size: 13px; color: var(--velora-text-muted); font-weight: 400; }
.bill-sub { font-size: 12px; color: var(--velora-text-muted); margin-bottom: var(--velora-space-3); }
.plan-feats { list-style: none; margin: var(--velora-space-3) 0 0; padding: 0; font-size: 13px; color: var(--velora-text); }
.plan-feats li { padding: var(--velora-space-1) 0; display: flex; gap: var(--velora-space-2); align-items: flex-start; flex-wrap: wrap; }
.plan-feats .ck { color: var(--velora-success); font-weight: 700; }
.plan-feats .soon-tag { color: var(--velora-text-soft); font-size: 11px; border: 1px solid var(--velora-border); border-radius: var(--velora-radius-pill); padding: 0 var(--velora-space-2); }
.ribbon { position: absolute; top: -10px; right: var(--velora-space-4); background: var(--velora-accent); color: var(--velora-text-on-accent); font-size: 11px; font-weight: 700; padding: var(--velora-space-1) var(--velora-space-3); border-radius: var(--velora-radius-pill); }
.bill-stripe { font-size: 11px; color: var(--velora-text-soft); margin-top: var(--velora-space-2); text-align: center; }
.bill-manage { margin-top: var(--velora-space-4); }
/* Auto-renew toggle (Stage 3a) */
.bill-auto-row { display: flex; align-items: center; justify-content: space-between; gap: var(--velora-space-3); margin-top: var(--velora-space-4); padding-top: var(--velora-space-4); border-top: 1px solid var(--velora-border); }
.bill-auto-l { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--velora-text); }
.bill-auto-status { font-size: 12px; color: var(--velora-text-muted); }
.switch { flex: 0 0 auto; width: 44px; height: 24px; border-radius: var(--velora-radius-pill); border: 1px solid var(--velora-border-strong); background: var(--velora-bg-deep); padding: 2px; cursor: pointer; transition: background .15s; }
.switch .switch-thumb { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--velora-text-muted); transition: transform .15s, background .15s; }
.switch.on { background: var(--velora-accent); border-color: var(--velora-accent); }
.switch.on .switch-thumb { transform: translateX(20px); background: var(--velora-text-on-accent); }
.switch:focus-visible { outline: none; box-shadow: var(--velora-focus-ring); }
.switch:disabled { opacity: .55; cursor: not-allowed; }
/* Billing dashboard card grid + inline invoice history */
.bill-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--velora-space-4); align-items: start; margin-bottom: var(--velora-space-4); }
.bill-card-wide { grid-column: span 2; }
@media (max-width: 760px) { .bill-card-wide { grid-column: span 1; } }
.bill-card { background: var(--velora-bg-card); border: 1px solid var(--velora-border); border-radius: var(--velora-radius-200); padding: var(--velora-space-6); }
.bill-card h4 { margin: 0 0 var(--velora-space-2); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--velora-text-soft); }
.bill-metric { font-size: 22px; font-weight: 700; color: var(--velora-text-strong); display: flex; flex-direction: column; gap: 2px; }
.bill-metric.bill-pay { font-size: 16px; }
.bill-card-note { font-size: 12px; color: var(--velora-text-muted); font-weight: 400; }
.bill-bar { height: 8px; border-radius: var(--velora-radius-pill); background: var(--velora-bg-deep); border: 1px solid var(--velora-border); margin: var(--velora-space-3) 0 var(--velora-space-2); overflow: hidden; }
.bill-bar-fill { height: 100%; width: 0; background: var(--velora-accent); border-radius: var(--velora-radius-pill); transition: width .3s; }
.bill-sm { margin-top: var(--velora-space-3); padding: var(--velora-space-2) var(--velora-space-3); font-size: 13px; }
.bill-invoices-full { margin-bottom: var(--velora-space-4); }
.bill-invoices { background: var(--velora-bg-card); border: 1px solid var(--velora-border); border-radius: var(--velora-radius-200); padding: var(--velora-space-6); }
.bill-invoices h4 { margin: 0 0 var(--velora-space-3); font-size: 14px; color: var(--velora-text-strong); }
.bill-inv-list { display: flex; flex-direction: column; }
.bill-inv-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: var(--velora-space-3); align-items: center; padding: var(--velora-space-2) 0; border-bottom: 1px solid var(--velora-border); font-size: 13px; }
.bill-inv-row:last-child { border-bottom: none; }
.bill-inv-date { color: var(--velora-text); }
.bill-inv-amt { color: var(--velora-text); font-weight: 600; }
.bill-inv-pdf { color: var(--velora-accent); text-decoration: none; font-size: 12px; white-space: nowrap; }
.bill-inv-pdf:hover { text-decoration: underline; }
.bill-inv-loading, .bill-inv-empty { color: var(--velora-text-muted); font-size: 13px; }
@media (max-width: 800px) { .bill-grid { grid-template-columns: 1fr; } }

/* ── Stage 4b: Overview redesign + profile ──────────────────────────────── */
.main { max-width: 1120px; }
.label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--velora-text-soft); margin: 0 0 var(--velora-space-2); }

/* Avatar (initials chip or uploaded photo) */
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%; font-weight: 700; font-size: 15px;
  color: var(--velora-text-on-accent); background: var(--velora-accent-soft); overflow: hidden;
  border: 1px solid var(--velora-border-strong); }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.avatar-lg { width: 60px; height: 60px; font-size: 22px; }
.avatar.avatar-sm { width: 30px; height: 30px; font-size: 12px; }
.avatar.av-aqua,   .palette .sw.av-aqua   { background: var(--velora-avatar-aqua); }
.avatar.av-mint,   .palette .sw.av-mint   { background: var(--velora-avatar-mint); }
.avatar.av-violet, .palette .sw.av-violet { background: var(--velora-avatar-violet); }
.avatar.av-coral,  .palette .sw.av-coral  { background: var(--velora-avatar-coral); }
.avatar.av-amber,  .palette .sw.av-amber  { background: var(--velora-avatar-amber); }
.avatar.av-blue,   .palette .sw.av-blue   { background: var(--velora-avatar-blue); }
.avatar.av-orange, .palette .sw.av-orange { background: var(--velora-avatar-orange); }
.avatar.av-rose,   .palette .sw.av-rose   { background: var(--velora-avatar-rose); }

/* Account-details header card */
.acct-card { margin-bottom: var(--velora-space-4); }
.acct { display: flex; gap: var(--velora-space-4); align-items: center; margin-bottom: var(--velora-space-4); flex-wrap: wrap; }
.acct-id { flex: 1; min-width: 180px; }
.acct-nm { font-size: 18px; font-weight: 700; color: var(--velora-text-strong); }
.acct-em { font-size: 13px; color: var(--velora-text-muted); display: flex; align-items: center; gap: var(--velora-space-2); margin-top: var(--velora-space-1); flex-wrap: wrap; word-break: break-all; }
.acct-actions { display: flex; align-items: center; gap: var(--velora-space-3); flex-wrap: wrap; }
.vchip { font-size: 11px; padding: var(--velora-space-1) var(--velora-space-2); border-radius: var(--velora-radius-pill); font-weight: 600; border: 1px solid var(--velora-border); }
.vchip.ok { background: var(--velora-success-soft); color: var(--velora-success); border-color: var(--velora-success-edge); }
.vchip.warn { background: var(--velora-warn-soft); color: var(--velora-warn); border-color: var(--velora-warn-edge); }
.acct-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--velora-border); border-radius: var(--velora-radius-100); overflow: hidden; }
.acct-grid > div { background: var(--velora-bg-card); padding: var(--velora-space-3) var(--velora-space-4); }
.acct-grid .k { font-size: 11px; color: var(--velora-text-soft); text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.acct-grid .v { font-size: 15px; color: var(--velora-text); font-weight: 600; margin-top: var(--velora-space-1); font-variant-numeric: tabular-nums; }

/* Stat cards */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--velora-space-3); margin: var(--velora-space-4) 0; }
.stat .num { font-size: 24px; font-weight: 700; color: var(--velora-text-strong); }
.stat .num.num-sm { font-size: 18px; }
.stat .num.ok { color: var(--velora-success); }
.stat .num.warn { color: var(--velora-warn); }
.stat .sub { font-size: 12px; color: var(--velora-text-muted); margin-top: var(--velora-space-1); }
.bar { height: var(--velora-space-2); border-radius: var(--velora-radius-pill); background: var(--velora-bg-deep); border: 1px solid var(--velora-border); margin: var(--velora-space-2) 0 0; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--velora-accent); }

/* Two-column sections */
.cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--velora-space-3); margin-bottom: var(--velora-space-4); align-items: start; }
.enc { font-size: 12px; padding: var(--velora-space-1) var(--velora-space-3); border-radius: var(--velora-radius-pill); background: var(--velora-success-soft); color: var(--velora-success); border: 1px solid var(--velora-success-edge); font-weight: 600; white-space: nowrap; }

/* Quick actions */
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--velora-space-2); }
.act { display: flex; align-items: center; gap: var(--velora-space-2); padding: var(--velora-space-3); border: 1px solid var(--velora-border); border-radius: var(--velora-radius-100); background: var(--velora-bg-raised); color: var(--velora-text); font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; text-align: left; }
.act:hover { border-color: var(--velora-border-strong); text-decoration: none; }
.act:focus-visible { outline: none; box-shadow: var(--velora-focus-ring); }
.act .ic { width: var(--velora-space-8); height: var(--velora-space-8); border-radius: var(--velora-radius-100); background: var(--velora-accent-soft); color: var(--velora-accent); display: flex; align-items: center; justify-content: center; font-size: 15px; flex: 0 0 auto; }
.act .act-l { flex: 1; }
.act .ar { color: var(--velora-text-soft); }

/* Recent activity timeline */
.timeline .ti { display: flex; gap: var(--velora-space-3); padding: var(--velora-space-2) 0; font-size: 13px; color: var(--velora-text); border-bottom: 1px solid var(--velora-border); }
.timeline .ti:last-child { border-bottom: none; }
.timeline .dot { width: var(--velora-space-2); height: var(--velora-space-2); border-radius: 50%; background: var(--velora-accent); margin-top: var(--velora-space-1); flex: 0 0 auto; }
.timeline small { color: var(--velora-text-muted); }

/* Edit-profile modal */
.edit-profile .ep-top { display: flex; align-items: center; gap: var(--velora-space-4); margin-bottom: var(--velora-space-4); }
.edit-profile .ep-photo { display: flex; flex-direction: column; gap: var(--velora-space-2); align-items: flex-start; }
.edit-profile .ep-hint { margin: var(--velora-space-2) 0 0; }
.palette { display: flex; flex-wrap: wrap; gap: var(--velora-space-2); margin: var(--velora-space-2) 0 0; }
.palette .sw { width: var(--velora-space-8); height: var(--velora-space-8); border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
.palette .sw:hover { filter: brightness(1.1); }
.palette .sw:focus-visible { outline: none; box-shadow: var(--velora-focus-ring); }
.palette .sw.on { border-color: var(--velora-text-strong); box-shadow: 0 0 0 2px var(--velora-bg-card), 0 0 0 4px var(--velora-accent); }

@media (max-width: 860px) {
  .acct-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .shell { grid-template-columns: 1fr; }
  .side { flex-direction: row; flex-wrap: wrap; }
  .side .me { width: 100%; }
  .plans { grid-template-columns: 1fr; }
  .acts { grid-template-columns: 1fr; }
}
