* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

:root {
  --bg: #f5f5f0;
  --card-bg: #ffffff;
  --stat-bg: #f0efe8;
  --border: #e0dfd6;
  --text: #1a1a18;
  --text-dim: #5f5e5a;
  --text-faint: #888780;
  --blue: #185fa5;
  --blue-bg: #e6f1fb;
  --blue-border: #b5d4f4;
  --green: #3b6d11;
  --green-bg: #eaf3de;
  --green-border: #c0dd97;
  --amber: #854f0b;
  --amber-bg: #faeeda;
  --red: #a32d2d;
}

[data-theme="dark"] {
  --bg: #161614;
  --card-bg: #1f1f1c;
  --stat-bg: #232320;
  --border: #33332e;
  --text: #f0f0ea;
  --text-dim: #b8b7b0;
  --text-faint: #86857e;
  --blue: #4a9eeb;
  --blue-bg: #1a2c3d;
  --blue-border: #2d4a63;
  --green: #6fbf3a;
  --green-bg: #1e2c14;
  --green-border: #35501f;
  --amber: #e0a94a;
  --amber-bg: #3a2c14;
  --red: #e0605f;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

.app { max-width: 420px; width: 100%; margin: 0 auto; background: var(--bg); min-height: 100vh; overflow-x: hidden; }

.header { background: var(--card-bg); border-bottom: 0.5px solid var(--border); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; }
.logo { font-size: 16px; font-weight: 500; color: var(--text); }
.logo span { color: var(--blue); }
.header-right { display: flex; align-items: center; gap: 8px; }
.theme-toggle { background: none; border: 0.5px solid var(--border); border-radius: 20px; width: 30px; height: 30px; cursor: pointer; color: var(--text-dim); font-size: 14px; }
.user-pill { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 0.5px solid var(--border); border-radius: 20px; padding: 4px 10px 4px 6px; cursor: pointer; }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; color: var(--blue); }
.user-name { font-size: 12px; color: var(--text-dim); }

.tabs { display: flex; border-bottom: 0.5px solid var(--border); background: var(--card-bg); position: sticky; top: 49px; z-index: 9; }
.tab { flex: 1; padding: 10px 8px; font-size: 12px; color: var(--text-faint); cursor: pointer; border-bottom: 2px solid transparent; text-align: center; }
.tab.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 500; }

.content { padding: 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.stat-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.stat-grid-3 .stat { padding: 8px 8px; }
.stat-grid-3 .stat-label { font-size: 10px; }
.stat-grid-3 .stat-value { font-size: 16px; }
.stat { background: var(--stat-bg); border-radius: 8px; padding: 10px 12px; }
.stat-label { font-size: 11px; color: var(--text-faint); margin-bottom: 4px; }
.stat-value { font-size: 20px; font-weight: 500; color: var(--text); word-break: break-word; }
.stat-sub { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.positive { color: var(--green); }
.negative { color: var(--red); }

.section-title { font-size: 11px; font-weight: 500; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.5px; margin: 12px 0 8px; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 8px; }
.section-title-row .section-title { margin: 0; }
.sizing-card { background: var(--blue-bg); border: 0.5px solid var(--blue-border); border-radius: 12px; padding: 12px 14px; margin-top: 12px; }
.sizing-label { font-size: 11px; color: var(--blue); font-weight: 500; margin-bottom: 2px; }
.sizing-value { font-size: 16px; font-weight: 500; color: var(--text); }
.sizing-note { font-size: 11px; color: var(--text-dim); margin-top: 4px; line-height: 1.4; }
.refresh-row { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--text-faint); }
.refresh-row button { background: var(--blue); border: none; border-radius: 8px; color: #ffffff; font-size: 18px; font-weight: 700; cursor: pointer; padding: 4px 10px; line-height: 1; }
.refresh-row button.spinning { animation: spin 0.6s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.trade-card { background: var(--card-bg); border: 0.5px solid var(--border); border-radius: 12px; padding: 10px 12px; margin-bottom: 6px; }
.trade-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.trade-duration { font-size: 11px; color: var(--text-faint); margin: -2px 0 8px; }
.trade-coin { display: flex; align-items: baseline; gap: 8px; }
.trade-symbol { font-size: 14px; font-weight: 500; color: var(--text); }
.trade-current-price { font-size: 12px; color: var(--text-faint); }
.locked-badge { background: var(--green-bg); color: var(--green); font-size: 10px; padding: 2px 6px; border-radius: 10px; }
.open-badge { background: var(--amber-bg); color: var(--amber); font-size: 10px; padding: 2px 6px; border-radius: 10px; }
.trade-pnl { font-size: 14px; font-weight: 500; }
.trade-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.trade-details-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trade-pnl-block { text-align: right; }
.trade-r-sub { font-size: 11px; margin-top: 2px; font-weight: 500; }
.trade-detail { font-size: 11px; color: var(--text-faint); }
.trade-detail span { display: block; font-size: 12px; color: var(--text-dim); font-weight: 500; }
.progress-bar { height: 3px; background: var(--border); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 2px; background: var(--blue); }
.progress-fill.locked { background: var(--green); }

.market-card { background: var(--card-bg); border: 0.5px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 8px; }
.market-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 0.5px solid var(--border); }
.market-row:last-child { border-bottom: none; }
.market-label { font-size: 13px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.market-value { font-size: 13px; font-weight: 500; color: var(--text); }
.regime-active { color: var(--green); }

.signal-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 0.5px solid var(--border); }
.signal-row:last-child { border-bottom: none; }
.signal-label { font-size: 13px; color: var(--text-dim); }
.signal-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.signal-dot.empty { background: var(--border); }

.paper-banner { background: var(--blue-bg); border: 0.5px solid var(--blue-border); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.paper-title { font-size: 13px; font-weight: 500; color: var(--blue); margin-bottom: 4px; }
.paper-sub { font-size: 12px; color: var(--text-dim); margin-bottom: 10px; line-height: 1.5; }
.paper-input-row { display: flex; gap: 8px; }
.paper-input-row input { flex: 1; height: 36px; font-size: 13px; border: 0.5px solid var(--blue-border); border-radius: 8px; padding: 0 10px; background: var(--card-bg); color: var(--text); outline: none; }
.paper-input-row input:focus { border-color: var(--blue); }
.paper-input-row button { height: 36px; padding: 0 14px; font-size: 13px; background: var(--blue); color: #ffffff; border: none; border-radius: 8px; cursor: pointer; font-weight: 500; }
.paper-error { font-size: 12px; color: var(--red); margin-top: 6px; display: none; }
.paper-warning { font-size: 12px; color: var(--red); background: rgba(163,45,45,0.08); border-radius: 6px; padding: 8px 10px; margin-bottom: 10px; line-height: 1.4; }
.paper-reset-btn { height: 32px; padding: 0 12px; font-size: 12px; background: transparent; color: var(--blue); border: 0.5px solid var(--blue-border); border-radius: 8px; cursor: pointer; font-weight: 500; }
.mini-tabs { display: flex; gap: 8px; margin: 4px 0 10px; }
.mini-tab { padding: 6px 14px; font-size: 12px; border-radius: 20px; border: 0.5px solid var(--border); background: var(--card-bg); color: var(--text-dim); cursor: pointer; }
.mini-tab.active { background: var(--blue); color: #ffffff; border-color: var(--blue); font-weight: 500; }

.account-card { background: var(--card-bg); border: 0.5px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.account-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.account-num { font-size: 15px; font-weight: 500; }
.account-since { font-size: 11px; color: var(--text-faint); }
.account-meta { font-size: 11px; color: var(--text-faint); margin-bottom: 10px; }
.mini-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 8px; }
.mini-stat { background: var(--stat-bg); border-radius: 8px; padding: 8px 10px; }
.mini-stat-label { font-size: 10px; color: var(--text-faint); margin-bottom: 2px; }
.mini-stat-value { font-size: 15px; font-weight: 500; }
.account-card-footer { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-dim); padding-top: 8px; border-top: 0.5px solid var(--border); }
.legend { background: var(--card-bg); border: 0.5px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-top: 10px; }
.legend-title { font-size: 11px; font-weight: 500; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.legend-row { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; line-height: 1.5; }
.legend-row:last-child { margin-bottom: 0; }
.legend-row b { color: var(--text); font-weight: 500; }

.history-card { background: var(--card-bg); border: 0.5px solid var(--border); border-radius: 12px; padding: 4px 12px; margin-bottom: 8px; }
.history-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 0.5px solid var(--border); }
.history-row:last-child { border-bottom: none; }
.history-left { display: flex; flex-direction: column; gap: 2px; }
.history-coin { font-size: 13px; font-weight: 500; color: var(--text); }
.history-date { font-size: 11px; color: var(--text-faint); }
.history-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.history-r { font-size: 13px; font-weight: 500; }
.history-profit { font-size: 11px; color: var(--text-faint); }

.bull-card { background: var(--green-bg); border: 0.5px solid var(--green-border); border-radius: 12px; padding: 12px; margin-bottom: 8px; text-align: center; }
.bull-title { font-size: 15px; font-weight: 500; color: var(--green); }
.bull-sub { font-size: 12px; color: var(--green); margin-top: 4px; opacity: 0.85; }

.empty-state { text-align: center; padding: 32px 16px; color: var(--text-faint); font-size: 13px; }

.r-note { font-size: 11px; color: var(--text-faint); margin: -4px 0 10px; line-height: 1.4; }

.dates-card { background: var(--card-bg); border: 0.5px solid var(--border); border-radius: 12px; padding: 4px 14px; margin-bottom: 12px; }
.date-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 0.5px solid var(--border); }
.date-row:last-child { border-bottom: none; }
.date-left { display: flex; align-items: center; gap: 10px; }
.date-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.date-icon.fomc { background: var(--blue-bg); color: var(--blue); }
.date-icon.cpi { background: var(--amber-bg); color: var(--amber); }
.date-icon.nfp { background: var(--green-bg); color: var(--green); }
.date-name { font-size: 13px; font-weight: 500; color: var(--text); }
.date-full { font-size: 11px; color: var(--text-faint); margin-top: 1px; }
.date-countdown { font-size: 12px; font-weight: 500; color: var(--text-dim); text-align: right; white-space: nowrap; }
.date-countdown.soon { color: var(--amber); }
.dates-note { font-size: 11px; color: var(--text-faint); margin: -4px 0 10px; line-height: 1.4; }

/* --- login screen --- */
.login-screen { max-width: 420px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.login-logo { font-size: 22px; font-weight: 500; margin-bottom: 24px; color: var(--text); }
.login-logo span { color: var(--blue); }
.login-form { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.login-form input { height: 42px; font-size: 14px; border: 0.5px solid var(--border); border-radius: 8px; padding: 0 12px; background: var(--card-bg); color: var(--text); outline: none; }
.login-form input:focus { border-color: var(--blue); }
.login-form button { height: 42px; font-size: 14px; background: var(--blue); color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: 500; margin-top: 4px; }
.login-error { font-size: 12px; color: var(--red); text-align: center; min-height: 16px; }
.auth-switch { font-size: 13px; color: var(--text-dim); text-align: center; margin-top: 16px; }
.auth-switch a { color: var(--blue); text-decoration: none; font-weight: 500; }

.hidden { display: none !important; }

.amount-input-row { display: flex; align-items: center; border: 0.5px solid var(--blue-border); border-radius: 8px; background: var(--card-bg); overflow: hidden; }
.amount-input-row .dollar-prefix { padding: 0 0 0 10px; font-size: 14px; color: var(--text-dim); font-weight: 500; }
.amount-input-row input { border: none; height: 36px; font-size: 13px; padding: 0 10px; flex: 1; background: transparent; color: var(--text); outline: none; }
.amount-input-row button { height: 36px; padding: 0 14px; background: var(--blue); color: #fff; border: none; font-size: 13px; font-weight: 500; cursor: pointer; }

.post-card { background: var(--card-bg); border: 0.5px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.post-card textarea { width: 100%; min-height: 60px; border: 0.5px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 13px; font-family: inherit; resize: vertical; margin-bottom: 8px; color: var(--text); background: var(--card-bg); }
.post-card button { background: var(--blue); color: #fff; border: none; border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 500; cursor: pointer; }

.announcement-card { background: var(--blue-bg); border: 0.5px solid var(--blue-border); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.announcement-text { font-size: 13px; color: var(--text); line-height: 1.5; margin-bottom: 4px; white-space: pre-line; }
.announcement-meta { display: flex; justify-content: space-between; align-items: center; }
.announcement-date { font-size: 11px; color: var(--blue); }
.announcement-delete { font-size: 11px; color: var(--red); background: none; border: none; cursor: pointer; }

.reset-request-card { background: var(--card-bg); border: 0.5px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.reset-email { font-size: 13px; font-weight: 500; }
.reset-date { font-size: 11px; color: var(--text-faint); }
.reset-btn { background: var(--blue); color: #fff; border: none; border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 500; cursor: pointer; }
.new-pw-reveal { background: var(--green); color: #fff; border-radius: 8px; padding: 10px 12px; font-size: 13px; font-weight: 600; margin-bottom: 8px; }

.explainer-card { background: var(--card-bg); border: 0.5px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 8px 0 12px; }
.explainer-row { font-size: 12px; color: var(--text-dim); margin-bottom: 6px; line-height: 1.4; }
.explainer-row:last-child { margin-bottom: 0; }
.explainer-row b { color: var(--text); }
.cancel-link { font-size: 12px; color: var(--red); text-align: center; display: block; margin-top: 4px; text-decoration: none; }
.forgot-confirm { background: var(--blue-bg); color: var(--blue); font-size: 12px; padding: 10px 12px; border-radius: 8px; margin-top: 10px; line-height: 1.4; }

.log-deposit-link { display: block; text-align: center; font-size: 13px; color: var(--blue); font-weight: 500; padding: 10px; border: 0.5px dashed var(--blue-border); border-radius: 10px; margin-bottom: 12px; text-decoration: none; }
.deposit-modal { background: var(--card-bg); border: 0.5px solid var(--blue-border); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.deposit-modal-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.deposit-modal-sub { font-size: 12px; color: var(--text-dim); margin-bottom: 12px; line-height: 1.4; }
.deposit-warning { background: var(--blue-bg); color: var(--blue); font-size: 12px; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; line-height: 1.5; }
.deposit-warning b { font-weight: 700; }
.deposit-modal .amount-input-row { margin-bottom: 12px; }
.usdt-tag { padding: 0 12px 0 0; font-size: 12px; color: var(--text-faint); font-weight: 500; }
.deposit-btn-row { display: flex; gap: 8px; margin-top: 8px; }
.deposit-btn-row button { flex: 1; height: 40px; border-radius: 8px; font-size: 13px; font-weight: 500; border: none; cursor: pointer; }
.btn-cancel { background: var(--stat-bg); color: var(--text-dim); }
.btn-confirm { background: var(--blue); color: #fff; }
.success-card { background: var(--green-bg); border: 0.5px solid var(--green-border); border-radius: 12px; padding: 14px 16px; text-align: center; margin-bottom: 12px; }
.success-title { font-size: 14px; font-weight: 600; color: var(--green); margin-bottom: 4px; }
.success-sub { font-size: 12px; color: var(--green); opacity: 0.85; }

.coin-select-row { margin-bottom: 12px; }
.coin-select-row select { width: 100%; height: 42px; border: 0.5px solid var(--border); border-radius: 10px; padding: 0 12px; font-size: 14px; background: var(--card-bg); color: var(--text); }

.bot-status-dot { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-faint); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.online { background: var(--green); }
.dot.offline { background: var(--red); }
.offline-banner { background: var(--amber-bg); border: 0.5px solid #e0c088; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.offline-title { font-size: 14px; font-weight: 600; color: var(--amber); margin-bottom: 4px; }
.offline-sub { font-size: 12px; color: var(--text-dim); line-height: 1.4; }
.update-banner { background: var(--amber-bg); border: 0.5px solid #e0c088; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.update-title { font-size: 14px; font-weight: 600; color: var(--amber); margin-bottom: 4px; }
.update-sub { font-size: 12px; color: var(--text-dim); line-height: 1.4; }
.update-sub code { background: var(--stat-bg); padding: 1px 5px; border-radius: 4px; font-size: 11px; }

.bot-update-card { background: var(--card-bg); border: 0.5px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.bot-update-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.bot-update-name { font-size: 14px; font-weight: 500; }
.update-pending-badge { background: var(--amber-bg); color: var(--amber); font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.bot-update-meta { font-size: 11px; color: var(--text-faint); margin-bottom: 8px; }
.push-update-row { display: flex; gap: 8px; margin-bottom: 6px; }
.push-update-row input { flex: 1; height: 36px; border: 0.5px solid var(--border); border-radius: 8px; padding: 0 10px; font-size: 13px; background: var(--card-bg); color: var(--text); }
.push-update-btn { height: 36px; padding: 0 16px; background: var(--blue); color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; }

.signup-card { background: var(--card-bg); border: 0.5px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.signup-name { font-size: 14px; font-weight: 500; color: var(--text); }
.signup-email { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.signup-date { font-size: 11px; color: var(--text-faint); margin-top: 4px; }
.paper-badge { display: inline-block; background: var(--blue-bg); color: var(--blue); font-size: 10px; padding: 2px 8px; border-radius: 10px; margin-top: 6px; }

.pause-card { background: var(--green-bg); border: 0.5px solid var(--green-border); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.pause-card.pause-active { background: var(--amber-bg); border-color: #e0c088; }
.pause-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pause-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.pause-card.pause-active .pause-title { color: var(--amber); }
.pause-card:not(.pause-active) .pause-title { color: var(--green); }
.pause-sub { font-size: 12px; color: var(--text-dim); line-height: 1.4; }

.switch { position: relative; display: inline-block; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--border); border-radius: 28px; transition: 0.2s; }
.switch-slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 3px; bottom: 3px; background-color: white; border-radius: 50%; transition: 0.2s; }
.switch input:checked + .switch-slider { background-color: var(--amber); }
.switch input:checked + .switch-slider:before { transform: translateX(20px); }

/* Admin tab accordions */
.accordion { background: var(--card-bg); border: 0.5px solid var(--border); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 14px; cursor: pointer; }
.accordion-title { font-size: 14px; font-weight: 600; }
.accordion-sub { font-size: 11px; color: var(--text-faint); margin-top: 2px; font-weight: 400; }
.accordion-chevron { font-size: 14px; color: var(--text-faint); transition: transform 0.15s; flex-shrink: 0; margin-left: 8px; }
.accordion.open .accordion-chevron { transform: rotate(90deg); }
.accordion-body { display: none; padding: 0 14px 14px; }
.accordion.open .accordion-body { display: block; }

/* Live Accounts — tap-to-expand rows within the accordion */
.live-account-block { border-bottom: 0.5px solid var(--border); }
.live-account-block:last-child { border-bottom: none; }
.live-account-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; cursor: pointer; }
.live-account-name { font-size: 14px; font-weight: 500; }
.live-account-sub { font-size: 11px; color: var(--text-faint); }
.live-account-right { text-align: right; }
.live-account-equity { font-size: 14px; font-weight: 600; }
.live-account-pct { font-size: 11px; }
.live-account-chevron { font-size: 13px; color: var(--text-faint); margin-left: 8px; transition: transform 0.15s; }
.live-account-block.open .live-account-chevron { transform: rotate(90deg); }
.live-account-detail { display: none; padding-bottom: 12px; }
.live-account-block.open .live-account-detail { display: block; }
.view-full-link { font-size: 12px; color: var(--blue); font-weight: 500; margin-bottom: 8px; display: block; text-decoration: none; }
.mini-stat-sub { font-size: 9px; color: var(--text-faint); margin-top: 1px; }

/* Admin "view as" banner on the Account tab */
.viewing-as-banner { background: var(--blue-bg); border: 0.5px solid var(--blue-border); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.viewing-as-text { font-size: 13px; color: var(--blue); font-weight: 500; }
.viewing-as-back { font-size: 13px; color: var(--blue); font-weight: 600; text-decoration: underline; cursor: pointer; }
