/* ============================================================
   ACCOUNT
   ============================================================ */
.acc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.acc-avatar-lg {
  width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 24px; font-weight: 600; color: #fff;
  background: linear-gradient(140deg, var(--brand), #8b5cf6); box-shadow: 0 8px 20px -6px rgba(91,91,240,0.5);
}
.acc-head .name { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.acc-head .mail { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .acc-grid { grid-template-columns: 1fr; } }

/* subscription */
.plan-card {
  border-radius: 14px; padding: 20px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(125deg, #0c1322 0%, #1e2b52 60%, #3b2f6b 100%);
}
.plan-card::after { content:''; position:absolute; inset:0; background: radial-gradient(500px 200px at 90% -20%, rgba(139,92,246,0.4), transparent 60%); }
.plan-card .row { position: relative; z-index: 1; }
.plan-name { font-size: 13px; color: #c3b6f5; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.plan-price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.plan-price span { font-size: 14px; font-weight: 400; color: #b6c6d8; }
.plan-renew { font-size: 12.5px; color: #b6c6d8; margin-top: 6px; }

.usage-meter { margin-top: 14px; }
.usage-meter .lab { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; }
.usage-meter .lab b { font-weight: 600; }
.usage-track { height: 7px; border-radius: 999px; background: var(--bg-active); overflow: hidden; }
.usage-track > span { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
.usage-track > span.warn { background: var(--warn-fg); }
.usage-track > span.crit { background: var(--crit-fg); }

.plan-compare { width: 100%; border-collapse: collapse; font-size: 13px; }
.plan-compare th, .plan-compare td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.plan-compare thead th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); font-weight: 600; }
.plan-compare td.feat { color: var(--text-muted); }
.plan-compare .col-cur { background: var(--brand-soft); }
.plan-compare th.col-cur { color: var(--brand-strong); }

.notif-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.notif-row:first-of-type { border-top: 0; }
.notif-row .t { font-size: 13px; font-weight: 500; }
.notif-row .s { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.notif-channels { display: flex; gap: 14px; }
.notif-channels label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-soft); cursor: pointer; }

.cab-billing-embedded .dash-panel-title,
.cab-billing-embedded .dash-panel-sub { color: inherit; }
.cab-billing-embedded .btn { position: relative; z-index: 1; }

.api-token {
  flex: 1; font-family: var(--font-mono); font-size: 12.5px; background: var(--bg-muted);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 9px 12px;
  letter-spacing: 0.04em; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
