:root {
  --accent: #6C5CE8;
  --accent-dark: #5A4BD1;
  --ink: #16181D;
  --ink-soft: #55575F;
  --muted: #8A8D96;
  --border: #E7E7EA;
  --bg: #FAFAFA;
  --card: #FFFFFF;
  --green: #17A673;
  --red: #E0483C;
  --navy: #16171D;
  --radius: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── Announcement bar ─────────────────────────────────────────── */
.announce {
  background: var(--navy);
  color: #E7E7EC;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 20px;
  gap: 12px;
}
.announce-left { display: flex; align-items: center; gap: 10px; }
.announce-logo { display: flex; align-items: center; }
.announce-link { color: #fff; text-decoration: underline; text-underline-offset: 2px; border: none; background: none; font: inherit; padding: 0; }
.announce-right { display: flex; align-items: center; gap: 10px; }

.pill {
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.pill-ghost { background: rgba(255,255,255,0.12); color: #fff; }
.pill-ghost:hover { background: rgba(255,255,255,0.18); }
.pill-solid { background: var(--accent); color: #fff; border-color: var(--accent); }
.pill-solid:hover { background: var(--accent-dark); }
.pill-outline { background: #fff; color: var(--ink); border-color: var(--border); }
.pill-outline:hover { background: #F5F5F7; }
.pill-lg { padding: 8px 16px; font-size: 13.5px; }
.dropdown-trigger svg { opacity: .8; }

/* ── Top bar ───────────────────────────────────────────────────── */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
}
.topbar-left { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand-logo { display: flex; align-items: center; }
.brand-name { font-weight: 600; font-size: 15px; }
.badge-pro {
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  letter-spacing: .3px;
}
.search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F2F2F4;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
}
.search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--ink);
  width: 100%;
  font-family: inherit;
}
.search input::placeholder { color: var(--muted); }
.topbar-right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.move-money {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  padding: 8px 10px; border-radius: 8px;
}
.move-money:hover { background: #F2F2F4; }
.icon-btn {
  border: none; background: transparent; color: var(--ink-soft);
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.icon-btn:hover { background: #F2F2F4; }
.icon-btn.sm { width: 26px; height: 26px; font-size: 13px; color: var(--muted); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: #EDE9FE; color: var(--accent-dark);
  border: none; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── Shell / Sidebar ───────────────────────────────────────────── */
.shell { display: flex; align-items: flex-start; }

.sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 14px 12px;
  min-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 10px;
  border-radius: 8px;
}
.nav-item:hover { background: #F5F5F7; color: var(--ink); }
.nav-item.active { background: #F1EEFD; color: var(--accent-dark); }
.nav-ico { display: flex; width: 16px; }
.count {
  margin-left: auto;
  background: #F0F0F2;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
}
.badge-new {
  margin-left: auto;
  background: #E9F9F1;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 5px;
}
.sidebar-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 14px 10px 6px;
}
.bookmark { flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 10px; }
.bookmark-label { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.bookmark-amount { font-size: 12px; color: var(--muted); }
.bm-ico { flex-shrink: 0; }

/* ── Content ───────────────────────────────────────────────────── */
.content {
  flex: 1;
  min-width: 0;
  padding: 28px 32px 60px;
}
.welcome { font-size: 26px; font-weight: 600; margin: 0 0 18px; letter-spacing: -.3px; }

.action-row { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.link-btn { background: none; border: none; color: var(--ink-soft); font-size: 13.5px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-title { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.verified { flex-shrink: 0; }
.card-head-actions { display: flex; align-items: center; gap: 4px; }

.row { display: grid; gap: 16px; margin-bottom: 16px; }
.row-top { grid-template-columns: 1.7fr 1fr; align-items: stretch; }
.row-summary { grid-template-columns: repeat(3, 1fr); }
.row-money { grid-template-columns: 1fr 1fr; }

/* ── Balance card ─────────────────────────────────────────────── */
.chart-toggle { display: flex; gap: 2px; background: #F2F2F4; border-radius: 8px; padding: 2px; }
.chart-toggle-btn { border: none; background: none; width: 28px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.chart-toggle-btn.active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.balance-amount { font-size: 34px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 8px; }
.balance-amount .cents { color: var(--muted); font-size: 24px; }
.balance-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; margin-bottom: 8px; }
.days-dropdown { border: none; background: none; color: var(--ink-soft); font-size: 13px; display: flex; align-items: center; gap: 4px; padding: 0; }
.delta { font-weight: 500; }
.delta.up { color: var(--green); }
.delta.down { color: var(--red); }
.chart-wrap { margin-top: 6px; }
.area-chart { width: 100%; height: 150px; display: block; }
.chart-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 4px; }

/* ── Accounts card ─────────────────────────────────────────────── */
.accounts-card { position: relative; }
.accounts-list { display: flex; flex-direction: column; gap: 2px; }
.account-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 6px; border-radius: 8px; font-size: 13.5px; position: relative;
}
.account-row.hoverable:hover, .account-row.active-row { background: #F5F5F7; cursor: pointer; }
.account-name { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.acc-dot { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg,#D9D3FB,#EDE9FE); flex-shrink: 0; }
.account-amount { font-variant-numeric: tabular-nums; color: var(--ink); }
.account-amount small { color: var(--muted); }
.view-all-accounts {
  margin-top: 10px; width: 100%; text-align: left; background: none; border: none;
  font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px;
  padding: 6px; border-radius: 8px;
}
.view-all-accounts:hover { background: #F5F5F7; }
.more-count { background: #F0F0F2; border-radius: 999px; padding: 1px 6px; font-size: 11px; font-weight: 600; }

.tooltip {
  display: none;
  position: absolute;
  right: 0;
  top: -6px;
  transform: translateY(-100%);
  background: #1B1C22;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  min-width: 210px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  z-index: 5;
}
.tooltip.show { display: block; }
.tooltip-row { display: flex; justify-content: space-between; gap: 20px; padding: 3px 0; color: #C9CAD1; }
.tooltip-total { border-top: 1px solid rgba(255,255,255,.15); margin-top: 4px; padding-top: 6px; color: #fff; font-weight: 600; }

/* ── Try panel ────────────────────────────────────────────────── */
.try-panel {
  display: none;
  position: absolute;
  top: 0;
  right: -1px;
  width: 340px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,.14);
  padding: 18px;
  z-index: 20;
}
.try-panel.show { display: block; }
.try-panel-head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 14.5px; margin-bottom: 14px; }
.try-panel-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.tab { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; color: var(--ink-soft); }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.try-panel-list { display: flex; flex-direction: column; gap: 2px; }
.try-panel-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; padding: 9px 6px; border-radius: 8px; color: var(--ink); cursor: pointer;
}
.try-panel-list li:hover { background: #F5F5F7; }
.try-ico { width: 26px; height: 26px; border-radius: 7px; background: #F1EEFD; color: var(--accent-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chev { margin-left: auto; color: var(--muted); flex-shrink: 0; }
.mini-btn { margin-left: auto; border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 11.5px; font-weight: 600; }
.try-panel-close {
  position: absolute; bottom: -14px; right: -14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 3px solid #fff;
  font-size: 13px; display: flex; align-items: center; justify-content: center;
}

/* ── Summary cards ────────────────────────────────────────────── */
.summary-amount { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.summary-amount .cents { color: var(--muted); font-size: 17px; }
.progress-bar { height: 6px; background: #F0F0F2; border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 999px; }
.progress-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 3px; }
.dot-blue { background: var(--accent); }
.dot-light { background: #D8D4F7; margin-left: 8px; }
.summary-footer { display: flex; align-items: flex-end; justify-content: space-between; }
.autopay-label { font-size: 12px; color: var(--muted); line-height: 1.5; display: flex; align-items: center; gap: 5px; }
.autopay-label svg { flex-shrink: 0; }
.autopay-label b { color: var(--ink); font-weight: 600; font-size: 13px; }
.sm-pill { padding: 6px 16px; font-size: 12.5px; }
.stat-row { display: flex; gap: 26px; margin-bottom: 18px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 12px; color: var(--muted); }
.stat-value { font-size: 16px; font-weight: 600; }
.stat-value small { font-weight: 500; font-size: 12px; color: var(--muted); }
.stat-value.muted { color: var(--muted); }
.view-link { font-size: 12.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 3px; }

/* ── Section headers ──────────────────────────────────────────── */
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 14px; }
.section-head h2 { font-size: 18px; font-weight: 600; margin: 0; }
.month-nav { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.view-all-link.plain { font-size: 13.5px; font-weight: 500; color: var(--accent-dark); }

/* ── Money movement ───────────────────────────────────────────── */
.money-head { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.info-ico { color: var(--muted); }
.money-amount { font-size: 26px; font-weight: 600; margin-bottom: 18px; }
.money-amount .cents { font-size: 18px; color: inherit; opacity: .75; }
.money-amount.up { color: var(--green); }
.money-amount.down { color: var(--red); }
.money-sources-head { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.money-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.money-list li { display: flex; align-items: center; gap: 10px; padding: 6px 4px; font-size: 13.5px; border-radius: 8px; cursor: pointer; }
.money-list li:hover { background: #F5F5F7; }
.src-name { flex: 1; color: var(--ink); }
.src-amt { font-variant-numeric: tabular-nums; color: var(--ink); }
.src-amt.neg { color: var(--ink); }
.src-amt small { color: var(--muted); }
.avatar-chip {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.chip-a { background: #6C5CE8; }
.chip-g { background: #4285F4; }
.chip-b { background: #17A673; }
.chip-o { background: #FF7A45; }
.chip-p { background: #EC4899; }
.chip-le { background: #F59E0B; }
.chip-d7 { background: #06B6D4; }
.chip-os { background: #8B5CF6; }
.chip-tj { background: #DC2626; }
.chip-neutral { background: #F0F0F2; color: var(--ink-soft); }
.view-all-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 16px; }
.avg-row { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 14px; }
.avg-label { font-size: 12px; color: var(--muted); }
.avg-value { font-size: 15px; font-weight: 600; margin-top: 2px; }
.mini-bars { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.mini-bars span { width: 7px; background: #D8D4F7; border-radius: 2px; }
.mini-bars span:last-child { background: var(--accent); }

/* ── Transactions ─────────────────────────────────────────────── */
.filter-pills { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-pill { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--ink-soft); }
.filter-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.tx-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tx-table th {
  text-align: left; font-size: 12px; font-weight: 600; color: var(--muted);
  padding: 0 10px 10px; border-bottom: 1px solid var(--border);
}
.sort { opacity: .6; }
.tx-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); color: var(--ink); vertical-align: middle; }
.tx-table tr:last-child td { border-bottom: none; }
.tx-who { display: flex; align-items: center; gap: 10px; }
.tag-failed { background: #FDEBEA; color: var(--red); font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: 4px; }
.pos { color: var(--green); font-variant-numeric: tabular-nums; }
.neg { color: var(--ink); font-variant-numeric: tabular-nums; }
.struck { color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.muted-cell { color: var(--muted); }
td small, .balance-amount small { font-size: 87%; }

/* ── Help FAB ─────────────────────────────────────────────────── */
.help-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
}
.help-fab:hover { background: #F5F5F7; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .row-top { grid-template-columns: 1fr; }
  .row-summary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .sidebar { display: none; }
  .row-summary { grid-template-columns: 1fr; }
  .row-money { grid-template-columns: 1fr; }
  .search { display: none; }
  .tx-table { display: block; overflow-x: auto; }
}

/* ── Generic dropdown system ─────────────────────────────────────────── */
.dropdown-wrap { position: relative; }
.topbar-left-btn {
  display: flex; align-items: center; gap: 8px; border: none; background: none;
  padding: 6px 8px; border-radius: 8px; font-family: inherit;
}
.topbar-left-btn:hover { background: #F2F2F4; }

.dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.14);
  z-index: 60;
  padding: 8px;
}
.dropdown-panel.show { display: block; }

.menu-list { display: flex; flex-direction: column; gap: 1px; }
.menu-list li, .menu-list .appearance-row {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--ink); padding: 8px 10px; border-radius: 8px;
  white-space: nowrap; cursor: pointer;
}
.menu-list li:hover { background: #F5F5F7; }
.menu-ico, .ext-ico { flex-shrink: 0; color: var(--ink-soft); }
.ext-ico { margin-left: auto; }
.menu-divider { height: 1px; background: var(--border); margin: 6px 4px; }
.menu-section-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; color: var(--muted); padding: 8px 10px 4px; }
.tag-earn { margin-left: auto; background: #E9F9F1; color: var(--green); font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.appearance-row { justify-content: space-between; }

/* Workspace switcher */
.workspace-panel { width: 300px; }
.workspace-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; }
.workspace-name { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.workspace-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.account-switch-list .check { margin-left: auto; color: var(--accent); flex-shrink: 0; }
.ws-ico {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700; color: #fff;
}
.ws-ico-a { background: var(--ink); }
.ws-ico-b { background: #F59E0B; }
.ws-ico-c { background: #4285F4; }
.ws-ico-d { background: #17A673; }
.ws-ico-e { background: #DC2626; }

/* Notifications */
.notif-panel { left: auto; right: 0; width: 380px; }
.notif-head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 14.5px; padding: 10px 10px 6px; }
.notif-head svg { color: var(--muted); }
.notif-empty { text-align: center; color: var(--muted); font-size: 13.5px; padding: 40px 10px; }

/* Avatar menu */
.avatar-panel { left: auto; right: 0; width: 250px; }
.avatar-head { padding: 6px 10px 12px; }
.avatar-head-pic {
  width: 44px; height: 44px; border-radius: 50%; background: #EDE9FE; color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; margin-bottom: 8px;
}
.avatar-name { font-weight: 600; font-size: 14px; }
.avatar-email { font-size: 12.5px; color: var(--muted); margin-top: 1px; }

/* Small per-card menus */
.small-menu { left: auto; right: 0; width: 190px; }

/* Customize panel */
.customize-wrap { position: relative; margin-left: auto; }
.customize-panel { left: auto; right: 0; width: 220px; top: calc(100% + 6px); }

.try-panel-collapse { border: none; background: none; padding: 2px; display: flex; color: var(--ink-soft); }

/* ── Modal ────────────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(20,20,24,.35);
  align-items: center; justify-content: center;
  z-index: 100;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: #fff; border-radius: 16px; padding: 28px;
  width: 460px; max-width: calc(100vw - 32px);
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}
.modal-box h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.modal-sub { margin: 0 0 20px; color: var(--ink-soft); font-size: 13.5px; }
.modal-label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.modal-type-row { display: flex; gap: 10px; margin-bottom: 14px; }
.type-option {
  flex: 1; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; cursor: pointer;
}
.type-option:has(input:checked) { border-color: var(--accent); background: #F8F7FE; }
.type-option input { display: none; }
.radio-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border); flex-shrink: 0; position: relative; }
.type-option input:checked + .radio-dot { border-color: var(--accent); }
.type-option input:checked + .radio-dot::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent);
}
.modal-note { font-size: 12.5px; color: var(--muted); margin: 0 0 16px; }
.modal-note a { color: var(--accent-dark); font-weight: 500; }
.modal-input {
  width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
  font-size: 13.5px; font-family: inherit; margin-bottom: 22px; outline: none;
}
.modal-input:focus { border-color: var(--accent); }
.modal-actions { display: flex; justify-content: flex-end; gap: 16px; align-items: center; }
.modal-actions .pill-solid:disabled { background: #D8D4F7; border-color: #D8D4F7; cursor: not-allowed; }

/* ── Balance table view ───────────────────────────────────────────────── */
.table-view { padding-top: 4px; }
.table-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.table-row:last-of-type { border-bottom: none; }
.table-row.table-sub { padding-left: 14px; font-size: 13px; color: var(--muted); border-bottom: none; padding-top: 0; padding-bottom: 8px; }
.table-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }

/* ── Settings page ────────────────────────────────────────────────────── */
.settings-sidebar { width: 240px; }
.back-item { color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.settings-content { max-width: 980px; }
.settings-title { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.settings-title h1 { font-size: 24px; font-weight: 600; margin: 0; }
.settings-row {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--border);
}
.settings-label { font-size: 13.5px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 5px; }
.info-ico { color: var(--muted); flex-shrink: 0; }
.settings-value { font-size: 14px; color: var(--ink); }
.dba-row { padding: 3px 0; display: flex; align-items: center; gap: 8px; }
.tag-default { background: #F0F0F2; color: var(--ink-soft); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.settings-desc { font-size: 12.5px; color: var(--muted); margin: 6px 0 8px; max-width: 460px; line-height: 1.5; }
.settings-edit { font-size: 13px; font-weight: 600; color: var(--ink); }
.settings-logo { width: 44px; height: 44px; border-radius: 10px; background: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
