:root {
  /* whatsnap.ai palette — light, warm, clean SaaS */
  --bg: #f7f7f5;
  --card: #ffffff;
  --line: #ececE8;
  --line: #eceae6;
  --text: #0b0b0c;
  --muted: #6b7280;
  --subtle: #9aa3b4;          /* blue-grey secondary (the "with superpowers" tone) */
  --accent: #2563eb;          /* iMessage blue */
  --accent-soft: #eef3ff;
  --ink: #0b0b0c;             /* black pill buttons */
  --ok: #16a34a;
  --ok-soft: #e7f6ec;
  --warn: #d97706;
  --warn-soft: #fdf2e3;
  --bad: #dc2626;
  --bad-soft: #fdecec;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
  --shadow-lg: 0 12px 32px rgba(16,24,40,.10);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ---- top bar ---- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; border-bottom: 1px solid rgba(236,234,230,.7);
  background: rgba(247,247,245,.6); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  position: sticky; top: 0; z-index: 20;
}
.brand { font-weight: 800; font-size: 20px; text-decoration: none; color: var(--text); letter-spacing: -.02em; }
.brand span { color: var(--accent); }
.topbar nav { display: flex; align-items: center; gap: 22px; }
.topbar nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.topbar nav a:hover { color: var(--text); }
.topbar nav a.nav-cta {
  background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600;
}
.topbar nav a.nav-cta:hover { color: #fff; opacity: .9; }

.container { max-width: 880px; margin: 0 auto; padding: 44px 24px; }
h1 { font-size: 30px; margin: 0 0 10px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.lede { color: var(--subtle); margin: 0 0 28px; font-size: 17px; max-width: 60ch; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px; margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.card h2 { margin: 0 0 16px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
code { background: #f1f1ee; padding: 2px 7px; border-radius: 6px; color: #374151; font-size: .9em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- home hero ---- */
.home-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 32px; flex-wrap: wrap; }
.home-hero h1 { font-size: 38px; line-height: 1.08; }
.home-hero-sub { color: var(--subtle); }
.home-hero .lede { margin-bottom: 0; }
.home-hero-cta { display: flex; gap: 12px; flex: none; }
.btn-lg { padding: 14px 26px; font-size: 15px; }

/* ---- stat card ---- */
.stat-card { padding: 0; overflow: hidden; }
.stat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 26px 18px; }
.stat-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.stat-title { margin: 6px 0 4px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.stat-meta { margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 22px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.stat:last-child { border-right: none; }
.stat-num { font-size: 30px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 13px; color: var(--muted); }
.stat-icp { margin: 0; padding: 18px 26px; border-top: 1px solid var(--line); font-size: 14px; }

.empty-state { text-align: center; padding: 44px 26px; }
.empty-state h2 { margin-bottom: 6px; }
.empty-state .btn-primary { margin-top: 16px; display: inline-block; }

@media (max-width: 620px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .home-hero h1 { font-size: 30px; }
}

/* ---- build progress / phases ---- */
.phases { list-style: none; margin: 0; padding: 0; }
.phase { border-bottom: 1px solid var(--line); }
.phase:last-child { border-bottom: none; }
.phase-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 12px; margin: 0 -12px;
  text-decoration: none; color: inherit; border-radius: var(--radius-sm); transition: background .12s;
}
.phase-link:hover { background: #faf9f7; text-decoration: none; }
.phase-chevron { color: var(--subtle); font-size: 22px; line-height: 1; margin-left: 2px; }
.phase-link:hover .phase-chevron { color: var(--muted); }
.phase-num {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: #f1f1ee; color: var(--muted);
}
.phase-body { display: flex; flex-direction: column; flex: 1; gap: 2px; }
.phase-body strong { font-weight: 700; letter-spacing: -.01em; }
.phase-desc { color: var(--muted); font-size: 13.5px; }
.phase-status { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.phase--done .phase-num { background: var(--ok); color: #fff; }
.phase--done .phase-status { color: var(--ok); }
.phase--next .phase-num { background: var(--accent); color: #fff; }
.phase--next .phase-status { color: var(--accent); }

/* ---- banners ---- */
.banner { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; font-size: 14px; }
.banner--ok { background: var(--ok-soft); color: var(--ok); border: 1px solid rgba(22,163,74,.2); }
.banner--warn { background: var(--bad-soft); color: var(--bad); border: 1px solid rgba(220,38,38,.2); }
.banner--info { background: var(--accent-soft); color: var(--accent); padding: 13px 16px; border-radius: var(--radius-sm); margin: 14px 0; }

/* ---- health checks table ---- */
table.checks { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.checks th, .checks td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.checks th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.checks tr:last-child td { border-bottom: none; }
.row--ok td:nth-child(2) { color: var(--ok); font-weight: 600; }
.row--bad td:nth-child(2) { color: var(--bad); font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* ---- login ---- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-lg);
}
.login-brand { font-size: 26px; margin-bottom: 6px; text-align: center; font-weight: 800; letter-spacing: -.02em; }
.login-card label { font-size: 13px; color: var(--muted); font-weight: 500; }
.login-card input {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 13px; color: var(--text); font-size: 15px;
}
.login-card input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.login-card button {
  background: var(--ink); color: #fff; border: none; border-radius: 999px;
  padding: 13px; font-weight: 600; font-size: 15px; cursor: pointer; margin-top: 4px;
}
.login-card button:hover { opacity: .9; }

/* ---- estimator ---- */
.estimator { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.estimator label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.estimator input[type=number], .estimator select {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 12px; color: var(--text); font-size: 14px; min-width: 130px;
}
.estimator input:focus, .estimator select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.estimator label.check { flex-direction: row; align-items: center; gap: 6px; color: var(--text); }

/* ---- buttons ---- */
.btn-primary {
  background: var(--ink); color: #fff; border: none; border-radius: 999px;
  padding: 11px 22px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.btn-primary:hover { opacity: .9; }
.btn-ghost {
  background: #fff; color: var(--text); border: 1px solid var(--line);
  border-radius: 999px; padding: 11px 20px; font-size: 14px; font-weight: 500; cursor: pointer;
}
.btn-ghost:hover { background: #faf9f7; border-color: #ddd; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ---- modal ---- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(16,24,40,.4);
  display: grid; place-items: center; padding: 24px; z-index: 50;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg);
}
.modal h3 { margin: 0 0 6px; font-weight: 700; letter-spacing: -.01em; }
.cost-grid { display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; margin: 20px 0; }
.cost-grid dt { color: var(--muted); font-size: 14px; }
.cost-grid dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; }
.cost-emph { font-weight: 800; font-size: 18px !important; color: var(--accent); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ---- page head ---- */
.nav-cta { font-weight: 600; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }

/* ============================================================
   WIZARD — progressive, guided one-step-at-a-time flow
   ============================================================ */
.wiz { max-width: 640px; margin: 0 auto; }

/* progress bar (replaces the old list-of-steps stepper) */
.wiz-progress { margin: 8px 0 28px; }
.wiz-progress-head {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px;
}
.wiz-progress-step { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.wiz-progress-title { font-size: 14px; font-weight: 600; color: var(--text); }
.wiz-progress-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wiz-progress-track { height: 6px; background: #eceae6; border-radius: 999px; overflow: hidden; }
.wiz-progress-fill {
  height: 100%; background: var(--accent); border-radius: 999px;
  transition: width .35s cubic-bezier(.4,0,.2,1);
}

.wiz-card { margin-top: 0; }
.wiz-card h1 { margin-top: 0; font-size: 26px; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.wiz-stepcount { display: none; } /* superseded by the progress bar */

.field { display: block; margin: 18px 0; }
.field > span { display: block; font-weight: 600; margin-bottom: 7px; font-size: 14px; }
.field input[type=text], .field input[type=number], .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font: inherit; box-sizing: border-box; background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.estimate-box { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* ---- review list ---- */
.review { display: grid; grid-template-columns: 170px 1fr; gap: 12px 18px; margin: 20px 0; }
.review dt { color: var(--muted); font-size: 14px; }
.review dd { margin: 0; }

/* ---- done ---- */
.done-check { width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff;
  display: grid; place-items: center; font-size: 28px; margin-bottom: 14px; }

/* ---- table ---- */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.empty { text-align: center; padding: 48px; color: var(--muted); }

/* ---- pills ---- */
.pill { font-size: 12px; padding: 3px 11px; border-radius: 999px; background: #f1f1ee; color: #555; font-weight: 600; }
.pill--draft { background: var(--warn-soft); color: var(--warn); }
.pill--active { background: var(--ok-soft); color: var(--ok); }

/* ---- phase detail page ---- */
.crumb { margin: 0 0 18px; }
.crumb a { color: var(--muted); font-weight: 500; font-size: 14px; }
.crumb a:hover { color: var(--text); text-decoration: none; }
.phase-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.phase-head-num {
  width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; font-weight: 800; background: #f1f1ee; color: var(--muted);
}
.phase-head-num.phase--done { background: var(--ok); color: #fff; }
.phase-head-num.phase--next { background: var(--accent); color: #fff; }
.phase-head-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.phase-head h1 { margin: 0; }
.pill--phase-done { background: var(--ok-soft); color: var(--ok); }
.pill--phase-next { background: var(--accent-soft); color: var(--accent); }
.pill--phase-planned { background: #f1f1ee; color: var(--muted); }
.phase-steps { list-style: none; margin: 0 0 4px; padding: 0; }
.phase-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.phase-steps li:last-child { border-bottom: none; }
.phase-steps-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); }
.phase-cta { display: inline-block; margin-top: 18px; }
.phase-pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 8px; }
.phase-pager-link {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  text-decoration: none; color: var(--text); min-width: 0;
}
.phase-pager-link:hover { border-color: #d4d4cf; text-decoration: none; }
.phase-pager-link--next { text-align: right; align-items: flex-end; }
.phase-pager-link strong { font-weight: 700; letter-spacing: -.01em; }

/* ---- choice tiles (new vs reuse) ---- */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.choice-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.choice-tile:hover { border-color: #d4d4cf; }
.choice-tile.is-on { border-color: var(--accent); background: var(--accent-soft); }
.choice-tile input { margin-bottom: 4px; accent-color: var(--accent); }
.choice-tile strong { font-size: 15px; color: var(--text); }
.mode-panel { margin-top: 8px; }

@media (max-width: 560px) { .choice, .grid-2 { grid-template-columns: 1fr; } }

/* ===================== command center ===================== */
.nav-newform { margin: 0; display: inline; }
.nav-newform .nav-cta { border: none; cursor: pointer; font-size: 14px; font-family: inherit;
  background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.nav-newform .nav-cta:hover { opacity: .9; }

.cc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 26px; flex-wrap: wrap; }
.cc-head h1 { margin: 6px 0 8px; }
.cc-head .lede { margin: 0; }
.cc-head form { margin: 0; }

.cc-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 18px; align-items: start; }
.cc-card { margin-bottom: 0; min-height: 180px; }
.cc-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cc-card-head h2 { margin: 0; }
.cc-count { font-size: 13px; font-weight: 700; background: #f1f1ee; color: var(--muted);
  border-radius: 999px; padding: 2px 10px; }
.cc-count--bad { background: var(--bad-soft); color: var(--bad); }

.cc-list { list-style: none; margin: 0; padding: 0; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line); }
.cc-row:last-child { border-bottom: none; }
.cc-row-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-row--alert .cc-row-name { color: var(--bad); }
.cc-alert-issue { font-size: 12px; color: var(--bad); background: var(--bad-soft);
  border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.cc-foot { margin: 12px 0 0; }
.cc-empty { text-align: center; padding: 18px 0 6px; }
.cc-empty form { margin-top: 10px; }

.cc-bignum { font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums; margin: 4px 0 6px; }
.cc-meter { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.cc-meter-ok { font-size: 12px; font-weight: 600; color: var(--ok); background: var(--ok-soft);
  border-radius: 999px; padding: 4px 11px; }
.cc-meter-bad { font-size: 12px; font-weight: 600; color: var(--bad); background: var(--bad-soft);
  border-radius: 999px; padding: 4px 11px; }
.cc-allgood { color: var(--ok); font-weight: 600; font-size: 14px; padding: 8px 0; }

/* pill colour variants used by campaign status */
.pill--draft { background: #f1f1ee; color: var(--muted); }
.pill--active, .pill--running { background: var(--ok-soft); color: var(--ok); }
.pill--paused { background: var(--warn-soft); color: var(--warn); }

@media (max-width: 760px) { .cc-grid { grid-template-columns: 1fr; } }

/* metrics row sub-figure */
.stat-sub { font-size: 18px; color: var(--muted); font-weight: 700; margin-left: 2px; }

/* two-column monitor grid (campaigns + alerts) */
.cc-grid2 { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; align-items: start; margin-bottom: 22px; }
@media (max-width: 760px) { .cc-grid2 { grid-template-columns: 1fr; } }

/* campaign rows with stats */
.cc-camp { padding: 13px 0; border-bottom: 1px solid var(--line); }
.cc-camp:last-child { border-bottom: none; }
.cc-camp-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-camp-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.cc-camp-stats strong { color: var(--text); font-variant-numeric: tabular-nums; }
.cc-rate { color: var(--ok); font-weight: 600; }

/* email accounts table */
.acct-table { width: 100%; border-collapse: collapse; }
.acct-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); font-weight: 600; padding: 0 12px 10px 0; }
.acct-table td { padding: 11px 12px 11px 0; border-top: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.acct-email { font-weight: 600; }
.acct-warm { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.acct-warm-bar { display: inline-block; width: 70px; height: 6px; border-radius: 999px; background: #ececE8; overflow: hidden; }
.acct-warm-bar span { display: block; height: 100%; background: var(--ok); border-radius: 999px; }

/* pill variants for inbox state */
.pill--warming { background: var(--warn-soft); color: var(--warn); }
.pill--active, .pill--running { background: var(--ok-soft); color: var(--ok); }

/* ===================== campaign builder (page per stage) ===================== */
.cb { display: grid; grid-template-columns: 232px 1fr; gap: 26px; align-items: start; }
.stage-rail { position: sticky; top: 92px; }
.stage-rail-title { display: block; font-weight: 700; font-size: 14px; color: var(--text);
  margin-bottom: 14px; letter-spacing: -.01em; }
.stage-rail-title:hover { text-decoration: none; color: var(--accent); }
.stage-rail ol { list-style: none; margin: 0; padding: 0; }
.stage-step a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: var(--radius-sm);
  color: var(--muted); text-decoration: none; font-size: 14px; transition: background .12s; }
.stage-step a:hover { background: #faf9f7; text-decoration: none; color: var(--text); }
.stage-dot { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none;
  border-radius: 999px; background: #f1f1ee; color: var(--muted); font-size: 12px; font-weight: 700; }
.stage-step.is-done .stage-dot { background: var(--ok); color: #fff; }
.stage-step.is-current .stage-dot { background: var(--accent); color: #fff; }
.stage-step.is-current a { color: var(--text); font-weight: 600; }
.stage-step.is-current .stage-name { color: var(--text); }

.cb-main { min-width: 0; }
.cb-stagehead { margin-bottom: 18px; }
.cb-stagehead h1 { margin: 8px 0 6px; }
.cb-card { margin-top: 4px; }
.cb-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }

@media (max-width: 760px) {
  .cb { grid-template-columns: 1fr; }
  .stage-rail { position: static; }
  .stage-rail ol { display: flex; flex-wrap: wrap; gap: 4px; }
}

/* ---- Domain search/buy ---- */
.inline-search { display: flex; gap: 8px; }
.inline-search input { flex: 1; }
.field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }

.domain-results { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.domain-result {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 14px; cursor: pointer; background: var(--card);
}
.domain-result:hover { border-color: var(--accent); }
.domain-result-name { flex: 1; font-weight: 600; }
.domain-result-price { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.domain-buy-row { display: flex; align-items: center; gap: 12px; margin: 12px 0; }

.owned-domains { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.domain-chips { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.domain-chip {
  background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: 13px;
  padding: 5px 12px; border-radius: 999px;
}

/* ---- Inbox naming ---- */
.inbox-group { padding: 16px 18px; margin: 14px 0; }
.inbox-group-head {
  font-weight: 700; font-size: 14px; margin-bottom: 12px;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.inbox-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.inbox-name { flex: 0 0 240px; }
.inbox-preview {
  font-size: 13px; color: var(--muted); font-family: ui-monospace, Menlo, monospace;
  overflow-wrap: anywhere;
}
