/* =====================================================================
   Business Growth Hub — design system
   Layout: fixed left sidebar (desktop) / bottom tab bar (phone), one
   content column with cards. Calm neutrals biased toward the blue accent.
   ===================================================================== */
:root {
  /* Gravity Command Center — premium dark foundation (default) */
  --bg: #0a0e19;
  --surface: #121828;
  --surface-2: #182036;
  --surface-3: #1f2944;
  --border: #263150;
  --border-strong: #34416a;
  --text: #eef1f8;
  --muted: #a9b3cc;
  --faint: #8590ad;
  --accent: #a78bfa;
  --accent-hover: #c4b5fd;
  --accent-soft: rgba(139, 92, 246, 0.18);
  --accent-text: #ffffff;
  --success: #34d399;
  --success-soft: rgba(52, 211, 153, 0.14);
  --warning: #fbbf24;
  --warning-soft: rgba(251, 191, 36, 0.14);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.15);
  --purple: #b69cff;
  --purple-soft: rgba(139, 92, 246, 0.16);
  --cyan: #22d3ee;
  --magenta: #f472b6;
  --orange: #fb923c;
  --overlay: rgba(3, 6, 14, 0.66);
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  --shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.75);
  --brand-grad: linear-gradient(135deg, #8b5cf6 0%, #c44ad0 48%, #e0409f 100%);
  --cool-grad: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 100%);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --sidebar: 252px;
  --topbar: 62px;
  --bottombar: 66px;
  color-scheme: dark;
}
/* Light mode: scaffolded for later; chosen explicitly in Settings. */
:root[data-theme="light"] {
  --bg: #f6f7fb; --surface: #ffffff; --surface-2: #f2f4fa; --surface-3: #e8ebf5;
  --border: #dde2ee; --border-strong: #c5cce0; --text: #121828; --muted: #4a5470; --faint: #646e8a;
  --accent: #7c3aed; --accent-hover: #6d28d9; --accent-soft: #f1ebff; --accent-text: #ffffff;
  --success: #0f7a4a; --success-soft: #e2f5ea; --warning: #9a5b00; --warning-soft: #fff2d9;
  --danger: #c2302a; --danger-soft: #fde7e5; --purple: #6a3fd2; --purple-soft: #efe9ff;
  --overlay: rgba(14, 18, 28, 0.45); --shadow-sm: 0 1px 2px rgba(20,26,40,.06); --shadow: 0 6px 24px rgba(20,26,40,.08); --shadow-lg: 0 18px 50px rgba(20,26,40,.18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1100px 560px at 85% -10%, rgba(139, 92, 246, 0.13), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(34, 211, 238, 0.06), transparent 60%), var(--bg);
  background-attachment: fixed; color: var(--text);
  font: 14.5px/1.5 var(--font-body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: 24px; font-weight: 800; }
h2 { font-size: 17px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 13px; }
.small { font-size: 13px; }
.strong { font-weight: 700; }
.nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row.tight { gap: 4px; }
.row.between { justify-content: space-between; }
.spacer { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack.sm { gap: 8px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-kpi { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.minw0 { min-width: 0; }
.mt { margin-top: 16px; }

/* ---------------- App shell ---------------- */
.app { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: var(--surface); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 14px 12px 18px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand-grad); color: #fff;
  display: grid; place-items: center; font: 800 13px var(--font-head); letter-spacing: -.02em; flex: none;
}
.brand-name { font: 800 15px/1.15 var(--font-head); }
.brand-sub { font-size: 12px; color: var(--faint); }
.nav-group { margin-top: 10px; }
.nav-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 8px 10px 4px; }
.nav-link {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px;
  color: var(--muted); font-weight: 600; font-size: 14px; position: relative;
}
.nav-link:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav-link.active { background: var(--accent-soft); color: var(--accent); }
.nav-link .count { margin-left: auto; font-size: 11.5px; font-weight: 700; background: var(--surface-3); color: var(--muted); border-radius: 999px; padding: 1px 7px; }
.nav-link .count.alert { background: var(--danger-soft); color: var(--danger); }
.sidebar-foot { margin-top: auto; padding: 12px 8px 0; font-size: 12px; color: var(--faint); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; height: var(--topbar);
  display: flex; align-items: center; gap: 10px;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); }
.topbar .menu-btn { display: none; }
.search-trigger {
  display: flex; align-items: center; gap: 8px; width: min(420px, 100%); height: 38px; padding: 0 12px;
  border: 1px solid var(--border); background: var(--surface); border-radius: 10px; color: var(--faint); cursor: pointer; text-align: left;
}
.search-trigger:hover { border-color: var(--border-strong); }
.search-trigger kbd { margin-left: auto; font: 600 11px var(--font-body); border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; color: var(--faint); }
.demo-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: var(--warning-soft); color: var(--warning); font-weight: 700; font-size: 12px; white-space: nowrap; border: 0; cursor: pointer;
}
.content {
  width: 100%; max-width: 1240px; margin: 0 auto;
  padding-block: 22px 48px;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.bottombar { display: none; }

@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; width: min(290px, 86vw); z-index: 70; height: 100%;
    transform: translateX(-102%); transition: transform .2s ease; box-shadow: var(--shadow-lg);
    padding-top: calc(14px + env(safe-area-inset-top, 0px)); padding-left: max(12px, env(safe-area-inset-left, 0px));
  }
  body.nav-open .sidebar { transform: none; }
  .scrim { position: fixed; inset: 0; background: var(--overlay); z-index: 60; }
  .topbar { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); gap: 8px; }
  .topbar .menu-btn { display: inline-flex; }
  .search-trigger kbd, .search-trigger .label { display: none; }
  .search-trigger { width: 38px; padding: 0; justify-content: center; flex: none; }
  .content { padding-block: 16px calc(var(--bottombar) + 28px + env(safe-area-inset-bottom, 0px)); padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: max(14px, env(safe-area-inset-right, 0px)); }
  .bottombar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--surface); border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
  }
  .bottombar a, .bottombar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: var(--bottombar);
    color: var(--faint); font-size: 11px; font-weight: 600; background: none; border: 0; cursor: pointer;
  }
  .bottombar a:hover { text-decoration: none; }
  .bottombar .active { color: var(--accent); }
  .hide-sm { display: none !important; }
}
@media (min-width: 901px) { .show-sm { display: none !important; } }

/* ---------------- Detail layout ---------------- */
.detail-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .detail-grid { grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr); } .detail-grid.main-first { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); } }

/* ---------------- Page header ---------------- */
.page-head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head .titles { min-width: 0; flex: 1 1 260px; }
.page-head .sub { color: var(--muted); margin-top: 4px; max-width: 70ch; }
.back-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.back-link:hover { color: var(--text); text-decoration: none; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px;
  border-radius: 10px; border: 1px solid transparent; font-weight: 650; font-size: 14px; cursor: pointer; white-space: nowrap;
  transition: background .12s, border-color .12s, box-shadow .12s; text-decoration: none !important; -webkit-tap-highlight-color: transparent;
}
.btn svg { flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(.95); }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { height: 32px; padding: 0 10px; font-size: 13px; border-radius: 8px; }
.btn-icon { width: 38px; padding: 0; }
.btn-icon.btn-sm { width: 32px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-block { width: 100%; }
@media (max-width: 560px) { .page-head .actions .btn .btn-label-long { display: none; } }

/* ---------------- Cards ---------------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); min-width: 0; }
.card-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.card-head h2 { font-size: 15.5px; }
.card-head .hint { color: var(--faint); font-size: 13px; }
.card-body { padding: 16px 18px; }
.card-body.flush { padding: 0; }
.card-foot { padding: 12px 18px; border-top: 1px solid var(--border); }

.kpi { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; color: var(--text); }
a.kpi:hover { text-decoration: none; border-color: var(--border-strong); }
.kpi .label { color: var(--muted); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.kpi .value { font: 800 23px/1.15 var(--font-head); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi .hint { font-size: 12.5px; color: var(--faint); }
.kpi.tone-red .value { color: var(--danger); }
.kpi.tone-green .value { color: var(--success); }

/* ---------------- Badges ---------------- */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.badge.plain::before { display: none; }
.tone-gray { background: var(--surface-3); color: var(--muted); }
.tone-blue { background: var(--accent-soft); color: var(--accent); }
.tone-green { background: var(--success-soft); color: var(--success); }
.tone-amber { background: var(--warning-soft); color: var(--warning); }
.tone-red { background: var(--danger-soft); color: var(--danger); }
.tone-purple { background: var(--purple-soft); color: var(--purple); }
.kpi.tone-red, .kpi.tone-green { background: var(--surface); }

/* ---------------- Tables (become cards on phones) ---------------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; }
table.data th { text-align: left; font-size: 12px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--surface); }
table.data td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr.clickable { cursor: pointer; }
table.data tbody tr.clickable:hover td { background: var(--surface-2); }
table.data .right { text-align: right; }
table.data .cell-title { font-weight: 650; }
table.data .cell-sub { font-size: 12.5px; color: var(--faint); }
@media (max-width: 700px) {
  table.data.responsive thead { display: none; }
  table.data.responsive, table.data.responsive tbody, table.data.responsive tr, table.data.responsive td { display: block; width: 100%; }
  table.data.responsive tr { padding: 12px 14px; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
  table.data.responsive tr:last-child { border-bottom: 0; }
  table.data.responsive td { border: 0; padding: 0; text-align: left !important; }
  table.data.responsive td.col-primary { grid-column: 1; }
  table.data.responsive td.col-end { grid-column: 2; grid-row: 1 / span 2; text-align: right !important; align-self: center; }
  table.data.responsive td.col-hide-sm { display: none; }
  table.data.responsive td.col-meta { grid-column: 1; font-size: 13px; color: var(--muted); }
}

/* ---------------- Tabs / segmented ---------------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: none; padding: 9px 12px; font-weight: 650; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab .count { font-size: 11.5px; background: var(--surface-3); color: var(--muted); border-radius: 999px; padding: 0 7px; }
.segmented { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; }
.segmented button { border: 0; background: none; padding: 5px 12px; border-radius: 7px; font-weight: 650; font-size: 13px; color: var(--muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.segmented button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* ---------------- Toolbar ---------------- */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 240px; max-width: 380px; }
.search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.search input { padding-left: 34px; }

/* ---------------- Forms ---------------- */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > label { font-weight: 650; font-size: 13px; color: var(--muted); }
.field .req { color: var(--danger); }
.field .hint { font-size: 12.5px; color: var(--faint); }
.field .error { font-size: 12.5px; color: var(--danger); font-weight: 600; }
.input, select.input, textarea.input {
  width: 100%; min-height: 40px; padding: 8px 11px; border: 1px solid var(--border-strong); border-radius: 9px;
  background: var(--surface); color: var(--text); font-size: 15px;
}
textarea.input { min-height: 84px; resize: vertical; line-height: 1.45; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.input.invalid { border-color: var(--danger); }
.input-affix { position: relative; }
.input-affix .pre { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.input-affix .input { padding-left: 24px; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-section { font: 700 12px var(--font-body); text-transform: uppercase; letter-spacing: .07em; color: var(--faint); grid-column: 1 / -1; padding-top: 6px; }

/* ---------------- Overlays ---------------- */
.overlay { position: fixed; inset: 0; background: var(--overlay); z-index: 100; display: grid; place-items: center; padding: 16px; animation: fade .15s ease; }
.modal {
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: min(560px, 100%);
  max-height: calc(100dvh - 32px); display: flex; flex-direction: column; animation: pop .16s ease;
}
.modal.wide { width: min(820px, 100%); }
.modal.narrow { width: min(420px, 100%); }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; }
.modal-head h2 { font-size: 18px; }
.modal-head .sub { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.modal-body { padding: 4px 18px 16px; overflow-y: auto; }
.modal-foot { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 560px) {
  .overlay { place-items: end center; padding: 0; }
  .modal { width: 100%; max-height: 92dvh; border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .modal-foot .btn { flex: 1; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } }

.toasts { position: fixed; z-index: 200; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
@media (max-width: 900px) { .toasts { bottom: calc(var(--bottombar) + 14px + env(safe-area-inset-bottom, 0px)); } }
.toast { display: flex; align-items: center; gap: 10px; background: var(--text); color: var(--bg); padding: 11px 14px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 600; animation: pop .18s ease; }
.toast .t-icon { flex: none; display: grid; place-items: center; }
.toast.success .t-icon { color: #4ade80; }
.toast.error .t-icon { color: #f87171; }
.toast .t-action { margin-left: auto; background: none; border: 0; color: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }

.popover { position: fixed; z-index: 150; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 210px; animation: pop .12s ease; }
.popover button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 8px 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; text-align: left; font-weight: 600; color: var(--text); }
.popover button:hover { background: var(--surface-2); }
.popover button.danger { color: var(--danger); }
.popover .sep { height: 1px; background: var(--border); margin: 6px 4px; }
.popover .ptitle { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); padding: 6px 10px 2px; }

/* ---------------- Empty states ---------------- */
.empty { text-align: center; padding: 34px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty .e-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 4px; }
.empty h3 { font-size: 16px; }
.empty p { color: var(--muted); max-width: 46ch; }
.empty .row { justify-content: center; margin-top: 8px; }

/* ---------------- Lists ---------------- */
.list { display: flex; flex-direction: column; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--border); color: var(--text); min-width: 0; }
.list-item:last-child { border-bottom: 0; }
a.list-item:hover, button.list-item:hover { background: var(--surface-2); text-decoration: none; }
button.list-item { width: 100%; border: 0; border-bottom: 1px solid var(--border); background: none; text-align: left; cursor: pointer; }
.list-item .li-main { flex: 1; min-width: 0; }
.list-item .li-title { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item .li-sub { font-size: 12.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }

.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 12.5px var(--font-head); color: #fff; flex: none; }
.avatar.lg { width: 52px; height: 52px; font-size: 18px; }
.avatar.sm { width: 26px; height: 26px; font-size: 10.5px; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { border: 2px solid var(--surface); margin-left: -8px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

.kv { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 8px 14px; }
.kv dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* ---------------- Banners ---------------- */
.banner { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }
.banner .b-icon { flex: none; margin-top: 1px; }
.banner.info { background: var(--accent-soft); border-color: transparent; }
.banner.info .b-icon { color: var(--accent); }
.banner.warn { background: var(--warning-soft); border-color: transparent; }
.banner.warn .b-icon { color: var(--warning); }
.banner.danger { background: var(--danger-soft); border-color: transparent; }
.banner.danger .b-icon { color: var(--danger); }
.banner .b-body { flex: 1 1 220px; min-width: 0; }
.banner .b-title { font-weight: 700; }

/* ---------------- Pipeline (kanban) ---------------- */
.pipeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(205px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.stage { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; min-height: 200px; }
.stage.drop { outline: 2px dashed var(--accent); outline-offset: -4px; }
.stage-head { padding: 12px 14px 8px; display: flex; align-items: center; gap: 8px; }
.stage-head .s-total { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.stage-cards { display: flex; flex-direction: column; gap: 8px; padding: 4px 10px 12px; }
.lead-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 11px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 5px; box-shadow: var(--shadow-sm); text-align: left; width: 100%; color: var(--text); }
.lead-card:hover { border-color: var(--border-strong); }
.lead-card[draggable="true"] { cursor: grab; }
.lead-card .lc-top { display: flex; gap: 8px; align-items: baseline; }
.lead-card .lc-name { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-card .lc-value { font-weight: 700; font-variant-numeric: tabular-nums; }
.lead-card .lc-meta { font-size: 12.5px; color: var(--muted); }
@media (max-width: 700px) { .pipeline { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; } .stage { min-height: 0; } }

/* ---------------- Status stepper ---------------- */
.stepper { display: flex; gap: 6px; flex-wrap: wrap; }
.step { flex: 1 1 calc(50% - 6px); padding: 9px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 650; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; cursor: pointer; }
.step:hover { border-color: var(--border-strong); }
.step.done { color: var(--success); }
.step.current { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.step .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; flex: none; }
.step.done .dot { background: var(--success); border-color: var(--success); color: #fff; }

@media (min-width: 700px) { .step { flex-basis: 0; } }

/* ---------------- Workflow strip ---------------- */
.flow { display: flex; align-items: stretch; gap: 6px; flex-wrap: wrap; }
.flow-step { flex: 1 1 120px; display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); min-width: 0; }
a.flow-step:hover { border-color: var(--accent); text-decoration: none; }
.flow-step .f-icon { color: var(--accent); }
.flow-step .f-title { font-weight: 700; }
.flow-step .f-text { font-size: 12.5px; color: var(--muted); }
.flow-arrow { display: grid; place-items: center; color: var(--faint); }
@media (max-width: 700px) { .flow-arrow { display: none; } }

/* ---------------- Checklist ---------------- */
.checklist { display: flex; flex-direction: column; }
.check-item { display: flex; gap: 12px; align-items: center; padding: 10px 18px; border-bottom: 1px solid var(--border); color: var(--text); }
.check-item:last-child { border-bottom: 0; }
.check-item .ci-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; flex: none; color: #fff; }
.check-item.done .ci-dot { background: var(--success); border-color: var(--success); }
.check-item.done .ci-title { color: var(--muted); text-decoration: line-through; }
.check-item .ci-title { flex: 1; font-weight: 600; }
.progress { height: 8px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--success); border-radius: inherit; }

/* ---------------- Tasks ---------------- */
.task { display: flex; gap: 12px; align-items: flex-start; padding: 11px 18px; border-bottom: 1px solid var(--border); }
.task:last-child { border-bottom: 0; }
.task-check { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--border-strong); background: var(--surface); display: grid; place-items: center; cursor: pointer; flex: none; margin-top: 1px; color: #fff; padding: 0; }
.task-check:hover { border-color: var(--accent); }
.task.done .task-check { background: var(--success); border-color: var(--success); }
.task.done .t-title { text-decoration: line-through; color: var(--faint); }
.task .t-main { flex: 1; min-width: 0; cursor: pointer; }
.task .t-title { font-weight: 600; }
.task .t-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.task .t-meta .overdue { color: var(--danger); font-weight: 700; }
.task .t-meta .today { color: var(--warning); font-weight: 700; }
.group-label { padding: 10px 18px 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); background: var(--surface-2); border-bottom: 1px solid var(--border); }

/* ---------------- Calendar ---------------- */
.cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.cal-head h2 { font-size: 18px; min-width: 170px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--border); gap: 1px; }
.cal-dow { background: var(--surface-2); padding: 8px; font-size: 12px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.cal-day { background: var(--surface); min-height: 112px; padding: 6px; display: flex; flex-direction: column; gap: 3px; cursor: pointer; min-width: 0; border: 0; text-align: left; color: var(--text); }
.cal-day:hover { background: var(--surface-2); }
.cal-day.other { background: var(--surface-2); color: var(--faint); }
.cal-day .d-num { font-size: 12.5px; font-weight: 700; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.cal-day.today .d-num { background: var(--accent); color: var(--accent-text); }
.cal-day.selected { box-shadow: inset 0 0 0 2px var(--accent); }
.cal-ev { font-size: 11.5px; font-weight: 600; padding: 2px 6px; border-radius: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev.job { background: var(--accent-soft); color: var(--accent); }
.cal-ev.task { background: var(--surface-3); color: var(--muted); }
.cal-ev.invoice { background: var(--warning-soft); color: var(--warning); }
.cal-more { font-size: 11px; color: var(--faint); font-weight: 600; padding-left: 4px; }
@media (max-width: 700px) {
  .cal-day { min-height: 54px; align-items: center; padding: 4px 2px; }
  .cal-ev, .cal-more { display: none; }
  .cal-day .dots { display: flex; gap: 3px; }
  .cal-day .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .cal-day .dots i.task { background: var(--faint); }
  .cal-day .dots i.invoice { background: var(--warning); }
}
@media (min-width: 701px) { .cal-day .dots { display: none; } }

/* ---------------- Charts ---------------- */
.chart { width: 100%; height: auto; display: block; }
.chart text { fill: var(--faint); font: 600 11px var(--font-body); }
.chart .grid-line { stroke: var(--border); stroke-width: 1; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 32%) 1fr auto; gap: 10px; align-items: center; padding: 6px 0; }
.hbar .track { height: 10px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.hbar .track span { display: block; height: 100%; border-radius: inherit; }
.hbar .hb-label { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .hb-val { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13.5px; }

/* ---------------- Line items editor ---------------- */
.li-table { width: 100%; border-collapse: collapse; }
.li-table th { text-align: left; font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; padding: 8px 6px; border-bottom: 1px solid var(--border); }
.li-table td { padding: 8px 6px; border-bottom: 1px solid var(--border); vertical-align: top; }
.li-table .input { min-height: 36px; padding: 6px 9px; font-size: 14px; }
.li-table .c-qty { width: 84px; } .li-table .c-price { width: 120px; } .li-table .c-tax { width: 52px; text-align: center; } .li-table .c-total { width: 110px; text-align: right; } .li-table .c-del { width: 40px; }
.li-table td.c-total { padding-top: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .li-table thead { display: none; }
  .li-table tr { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .li-table td { border: 0; padding: 0; width: auto !important; }
  .li-table td.c-item { grid-column: 1 / -1; }
  .li-table td.c-tax { display: flex; align-items: center; gap: 6px; }
  .li-table td.c-total { grid-column: 1 / 3; text-align: left; padding-top: 0; }
  .li-table td.c-del { grid-column: 3; grid-row: 3; }
}
.totals { margin-left: auto; width: min(320px, 100%); display: grid; gap: 6px; }
.totals .t-row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.totals .t-row.grand { font: 800 18px var(--font-head); border-top: 1px solid var(--border); padding-top: 8px; }

/* ---------------- Document (quote / invoice) ---------------- */
.doc { background: #fff; color: #161b25; border-radius: 6px; box-shadow: var(--shadow); padding: clamp(20px, 5vw, 48px); max-width: 860px; margin: 0 auto; font-size: 14px; }
.doc h1 { font-size: 28px; letter-spacing: .02em; color: #161b25; }
.doc .d-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.doc .d-biz { display: flex; gap: 12px; align-items: center; }
.doc .d-logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; font: 800 18px var(--font-head); }
.doc .d-muted { color: #5d6577; }
.doc .d-meta { text-align: right; }
.doc .d-meta .kv { grid-template-columns: auto auto; justify-content: end; }
.doc .d-meta .kv dt { color: #5d6577; }
.doc .d-parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 28px 0; }
.doc .d-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #8a92a3; margin-bottom: 4px; }
.doc table { width: 100%; border-collapse: collapse; }
.doc th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: #5d6577; border-bottom: 2px solid #161b25; padding: 8px 6px; }
.doc td { padding: 10px 6px; border-bottom: 1px solid #e3e6eb; vertical-align: top; font-variant-numeric: tabular-nums; }
.doc .r { text-align: right; }
.doc .totals { margin-top: 16px; }
.doc .totals .t-row.grand { border-top-color: #161b25; }
.doc .d-notes { margin-top: 28px; display: grid; gap: 14px; color: #3c4456; white-space: pre-wrap; }
.doc .d-stamp { display: inline-block; padding: 4px 12px; border: 2px solid; border-radius: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; transform: rotate(-4deg); }
.doc .d-stamp.paid { color: #12804a; } .doc .d-stamp.overdue { color: #c2302a; } .doc .d-stamp.draft { color: #8a92a3; } .doc .d-stamp.accepted { color: #12804a; }
.doc .d-sign { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 36px; }
.doc .d-sign div { border-top: 1px solid #161b25; padding-top: 6px; font-size: 12.5px; color: #5d6577; }

/* ---------------- Welcome ---------------- */
.welcome { min-height: 100vh; display: grid; place-items: center; padding-block: 28px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.welcome-card { width: min(760px, 100%); }
.welcome-hero { padding: 28px; border-bottom: 1px solid var(--border); }
.welcome-hero h1 { font-size: clamp(26px, 5vw, 34px); margin-top: 16px; }
.welcome-hero p { color: var(--muted); margin-top: 8px; max-width: 56ch; font-size: 15.5px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; padding: 22px 28px 28px; }
.choice { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); text-align: left; cursor: pointer; color: var(--text); }
.choice:hover { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.choice .c-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.choice h3 { font-size: 16px; }
.choice p { color: var(--muted); font-size: 13.5px; }
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.industry { border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px; background: var(--surface); cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 3px; color: var(--text); }
.industry:hover { border-color: var(--accent); }
.industry.selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.industry .i-name { font-weight: 700; }
.industry .i-desc { font-size: 12.5px; color: var(--muted); }
.steps-dots { display: flex; gap: 6px; }
.steps-dots i { width: 28px; height: 4px; border-radius: 2px; background: var(--surface-3); }
.steps-dots i.on { background: var(--accent); }

/* ---------------- Help ---------------- */
.guide { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.guide summary { padding: 13px 16px; cursor: pointer; font-weight: 700; list-style: none; display: flex; gap: 10px; align-items: center; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary::after { content: "+"; margin-left: auto; color: var(--faint); font-size: 18px; }
.guide[open] summary::after { content: "–"; }
.guide .g-body { padding: 0 16px 14px; color: var(--muted); display: grid; gap: 8px; }
.guide ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }

/* ---------------- Search palette ---------------- */
.palette { width: min(620px, 100%); }
.palette .p-input { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.palette .p-input input { border: 0; outline: none; background: none; flex: 1; font-size: 16px; min-width: 0; }
.palette .p-results { max-height: min(60dvh, 460px); overflow-y: auto; padding: 6px; }
.palette .p-group { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); padding: 10px 10px 4px; }
.palette .p-item { display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: 9px; cursor: pointer; text-align: left; color: var(--text); }
.palette .p-item.active, .palette .p-item:hover { background: var(--accent-soft); }
.palette .p-item .p-sub { font-size: 12.5px; color: var(--faint); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------------- Print (quotes / invoices) ---------------- */
@media print {
  body { background: #fff; }
  .sidebar, .topbar, .bottombar, .no-print, .toasts, .banner { display: none !important; }
  .app { display: block; }
  .content { padding: 0; max-width: none; }
  .doc { box-shadow: none; padding: 0; max-width: none; }
}


/* ===================== Gravity Command Center additions ===================== */
.btn-primary { background: var(--brand-grad); border-color: transparent; color: #fff; box-shadow: 0 8px 22px -12px rgba(224, 64, 159, 0.75); }
.btn-primary:hover { background: var(--brand-grad); filter: brightness(1.08); }
.brand-mark { background: var(--brand-grad) !important; color: #fff; }
.card { background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent), var(--surface); }
:root[data-theme="light"] .card { background: var(--surface); }
.create-btn { width: 100%; justify-content: center; margin: 6px 0 4px; height: 42px; }
.nav-link { font-weight: 600; }
.nav-link.active { background: linear-gradient(90deg, rgba(139, 92, 246, 0.24), rgba(139, 92, 246, 0.04)); color: var(--text); box-shadow: inset 2px 0 0 #8b5cf6; }
.nav-link.active svg { color: var(--accent); }
.nav-secondary { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.nav-secondary .nav-link { font-weight: 500; color: var(--muted); }
.subnav { display: flex; gap: 6px; padding: 10px 24px 0; overflow-x: auto; scrollbar-width: none; max-width: 1240px; }
.subnav.empty { display: none; }
.subnav a { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-weight: 650; font-size: 13.5px; background: var(--surface); }
.subnav a:hover { text-decoration: none; color: var(--text); border-color: var(--border-strong); }
.subnav a.active { color: var(--text); border-color: #8b5cf6; background: var(--accent-soft); }
.demo-pill { background: #fbbf24 !important; color: #1a1205 !important; font-weight: 800; letter-spacing: .08em; font-size: 11px; border: 0; }
.sample-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: #1a1205; background: #fbbf24; white-space: nowrap; }
.sample-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 9px 24px; font-size: 13.5px; color: #fde9b0;
  background: repeating-linear-gradient(135deg, rgba(251,191,36,.12) 0 12px, rgba(251,191,36,.06) 12px 24px); border-bottom: 1px solid rgba(251,191,36,.35); }
:root[data-theme="light"] .sample-banner { color: #5c3d00; }
.sample-banner .grow { flex: 1; min-width: 200px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: 13px; cursor: pointer; }
.chip.on { border-color: #8b5cf6; color: var(--text); background: var(--accent-soft); }
.chip-n { font-size: 11px; padding: 0 6px; border-radius: 999px; background: var(--surface-3); }
.draft-msg { padding: 12px; border-radius: var(--radius); background: var(--bg); border: 1px dashed var(--border-strong); color: var(--muted); white-space: pre-wrap; }
.t-danger { color: var(--danger); }
.r { text-align: right; }
.stack-sm { display: flex; flex-direction: column; gap: 6px; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.score-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.score-ring { --p: 0; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--cyan) 0deg, #8b5cf6 calc(var(--p) * 1.8deg), #e0409f calc(var(--p) * 3.6deg), var(--surface-3) 0); }
.score-ring.empty { background: repeating-conic-gradient(var(--surface-3) 0 8deg, transparent 8deg 14deg); }
.score-ring > div { width: 100px; height: 100px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; text-align: center; padding: 6px; }
.score-big { font: 800 34px/1 var(--font-head); }
.score-row { display: flex; flex-direction: column; gap: 6px; text-align: left; width: 100%; padding: 12px; background: transparent; border: 0; border-top: 1px solid var(--border); cursor: pointer; color: inherit; font: inherit; }
.score-row:first-child { border-top: 0; }
.score-row:hover { background: var(--surface-2); }
.bar { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--cool-grad); }
details.how summary { cursor: pointer; font-weight: 650; color: var(--accent); }
details.how p { margin-top: 8px; }
.bottombar .active { color: var(--text) !important; position: relative; }
.bottombar .active svg { color: var(--accent); }
.bottombar .active::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand-grad); }
@media (max-width: 900px) {
  .subnav { padding: 10px 14px 0; }
  .sample-banner { padding: 8px 14px; }
  .topbar-create span { display: none; }
  .demo-pill { display: none !important; }
}
.plan-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.plan.current { border-color: #8b5cf6; box-shadow: 0 0 0 1px #8b5cf6 inset; }
.plan-price { font: 800 26px/1.1 var(--font-head); }
.plan-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; display: flex; flex-direction: column; gap: 3px; }
