:root {
  --bg: #f4eadb;
  --surface: #fffaf2;
  --ink: #33231c;
  --muted: #766052;
  --line: #decdbb;
  --accent: #c45c26;
  --accent-deep: #98421f;
  --on-accent: #ffffff;
  --sage: #5d734f;
  --sage-soft: #e5eddf;
  --danger: #a33b2b;
  --danger-soft: #f6e2dc;
  --warn: #9a5b1f;
  --warn-soft: #f6e7d2;
  --rail: #3a2922;
  --rail-text: #fff8ef;
  --rail-dim: #d2b9a3;
  --rail-active: #614033;
  --shadow: 0 1px 1px rgba(76, 48, 34, 0.05), 0 12px 32px rgba(76, 48, 34, 0.1);
  --shadow-soft: 0 1px 1px rgba(76, 48, 34, 0.04), 0 8px 20px rgba(76, 48, 34, 0.07);
  --r: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(255, 255, 255, 0.7), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(196, 92, 38, 0.08), transparent 50%),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.45;
}
a { color: var(--accent-deep); text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
h1, .hello { font-family: "Manrope", "Segoe UI", sans-serif; font-size: 1.7rem; font-weight: 560; letter-spacing: -0.03em; }
h2 { font-size: 0.92rem; color: var(--ink); font-weight: 700; letter-spacing: 0; text-transform: none; }
h3 { font-size: 1rem; font-family: "Manrope", "Segoe UI", sans-serif; }
.muted { color: var(--muted); }
.eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.ico {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
}
.btn .ico, .link-btn .ico, .tabs a .ico, .meter .ico, .page-head p .ico {
  margin-right: 0.35rem;
}

.app-shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
}
body.rail-collapsed .app-shell { grid-template-columns: 76px 1fr; }

.scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 22, 19, 0.46);
  z-index: 40;
}
body.rail-open .scrim { display: block; }

.rail {
  background: var(--rail);
  color: var(--rail-text);
  padding: 1rem 0.75rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  z-index: 50;
}
.rail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}
.brand {
  color: inherit;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(180deg, #d8793d, var(--accent-deep));
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  flex: 0 0 30px;
  box-shadow: 0 6px 16px rgba(152, 66, 31, 0.35);
}
.brand-name span, .guest-brand span { color: #e08a4f; }
.rail-nav { display: grid; gap: 0.18rem; }
.rail-nav a, .link-btn {
  color: var(--rail-dim);
  text-decoration: none;
  border-radius: 12px;
  padding: 0.62rem 0.7rem;
  font-weight: 550;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.rail-nav a:hover, .link-btn:hover { color: var(--rail-text); background: var(--rail-active); }
.rail-nav a.is-on { color: var(--rail-text); background: var(--rail-active); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04); }
.rail-foot { margin-top: auto; }
.userchip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.4rem 0.7rem;
}
.userchip-meta { min-width: 0; }
.userchip-meta strong, .userchip-meta em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.userchip-meta strong { color: var(--rail-text); font-size: 0.82rem; }
.userchip-meta em { color: var(--rail-dim); font-size: 0.72rem; font-style: normal; }
.inline-form { margin: 0; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3a3029;
  color: #f3ebe0;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex: 0 0 32px;
}

body.rail-collapsed .brand-name,
body.rail-collapsed .rail-nav span,
body.rail-collapsed .userchip-meta,
body.rail-collapsed .link-btn span { display: none; }
body.rail-collapsed .rail-nav a,
body.rail-collapsed .link-btn { justify-content: center; padding: 0.7rem; }
body.rail-collapsed .userchip { justify-content: center; }
body.rail-collapsed .rail-top { flex-direction: column; }

.workspace { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.chrome {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.15rem;
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.chrome-title { min-width: 9rem; }
.chrome-title strong { display: block; font-size: 0.92rem; }
.chrome-title span { color: var(--muted); font-size: 0.72rem; }
.chrome-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  box-shadow: inset 0 1px 2px rgba(76, 48, 34, 0.04);
  max-width: 520px;
}
.chrome-search input {
  border: 0;
  background: none;
  font: inherit;
  width: 100%;
  outline: none;
}
.chrome-search kbd {
  font: inherit;
  font-size: 0.68rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.05rem 0.35rem;
}
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow-soft);
}
.rail .icon-btn {
  background: #2a221d;
  color: var(--rail-text);
  border-color: rgba(255,255,255,0.06);
}
.bell-wrap { position: relative; }
.bell { position: relative; }
.dot-alert {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 99px;
  background: var(--accent);
  color: white;
  font-size: 0.58rem;
  font-style: normal;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.popover {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 40;
}
.popover header {
  padding: 0.7rem 0.9rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 650;
  background: #f6f8fb;
  border-bottom: 1px solid var(--line);
}
.popover a {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.75rem 0.9rem;
  color: inherit;
  border-bottom: 1px solid var(--line);
}
.popover a:hover { background: #f1f6fa; }
.popover a:last-child { border-bottom: 0; }
.popover strong, .popover em { display: block; }
.popover em { color: var(--muted); font-style: normal; font-size: 0.78rem; }
.popover p { margin: 0; padding: 0.9rem; }
.chrome-avatar { background: #e8d9c6; color: var(--ink); }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.4rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.guest-brand { color: var(--ink); }
.nav { display: flex; gap: 1rem; align-items: center; }
.nav a { color: var(--ink); }

.page { width: min(1180px, calc(100% - 2.4rem)); margin: 1.35rem auto 3rem; }
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.page-head p { margin: 0.35rem 0 0; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; max-width: 36rem; }
.coach { font-size: 0.92rem; }
.head-actions { display: flex; gap: 0.45rem; align-items: center; flex-wrap: wrap; }

.next-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 20px;
  color: inherit;
  background:
    linear-gradient(135deg, rgba(20, 125, 146, 0.12), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  border: 1px solid rgba(20, 125, 146, 0.22);
  box-shadow: var(--shadow);
}
.next-card strong { display: block; font-size: 1.15rem; margin: 0.15rem 0 0.25rem; }
.next-card p { margin: 0; color: var(--muted); }
.next-card .btn { flex: 0 0 auto; }

.signal-list {
  display: grid;
  gap: 0.55rem;
}
.listing-signal {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  color: inherit;
}
.listing-signal:hover { border-color: rgba(20, 125, 146, 0.28); background: #f4fafc; }
.listing-signal strong, .listing-signal em { display: block; }
.listing-signal em { color: var(--muted); font-style: normal; font-size: 0.82rem; }
.row-actions { display: flex; gap: 0.35rem; align-items: center; justify-content: flex-end; flex-wrap: wrap; }

.btn, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.52rem 0.95rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn {
  background: var(--accent-deep);
  color: var(--on-accent);
  box-shadow: 0 6px 16px rgba(8, 103, 123, 0.2);
}
.btn:hover { background: var(--accent); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.btn-ghost:hover { background: #f1f6fa; }
.btn-small { padding: 0.32rem 0.6rem; font-size: 0.82rem; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.85rem;
}
.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.chip.is-on, .chip:hover { color: var(--ink); background: #eaf3f7; }
.field-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 0.7rem;
  min-width: min(280px, 100%);
}
.field-search .field { border: 0; box-shadow: none; padding-left: 0; }
.field.compact { width: auto; min-width: 160px; }

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.kpi {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.95rem 1rem 0.85rem;
  box-shadow: var(--shadow-soft);
}
.kpi b { display: block; font-size: 1.28rem; font-weight: 700; letter-spacing: -0.03em; }
.kpi span { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.02em; }
.kpi-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eaf3f7;
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 0.55rem;
}
.kpi-ico.warn { background: var(--danger-soft); color: var(--danger); }

.panel {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.1rem 1.15rem 1.05rem;
  box-shadow: var(--shadow);
  margin-bottom: 0.85rem;
}
.panel > h2 { margin-bottom: 0.85rem; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0.85rem; }
.desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 0.9rem;
  align-items: start;
}
.side-stack { display: grid; gap: 0.85rem; }
.timeline { display: grid; gap: 0.55rem; }
.timeline-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.6rem;
  align-items: start;
}
.timeline-item strong, .timeline-item em { display: block; }
.timeline-item em { color: var(--muted); font-style: normal; font-size: 0.78rem; }
.ico-bubble {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eaf3f7;
  color: var(--accent-deep);
  display: grid;
  place-items: center;
}
.watch-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.watch-row:last-child { border-bottom: 0; }
.watch-row strong, .watch-row em { display: block; }
.watch-row em { color: var(--muted); font-style: normal; font-size: 0.75rem; }

.table-wrap {
  overflow-x: auto;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.78rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 650;
  background: #f3f6fa;
}
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(247, 241, 232, 0.75); }
.icon-cell { width: 40px; color: var(--accent-deep); }
.row-main {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
}
.row-main strong, .row-main em { display: block; }
.row-main em { color: var(--muted); font-style: normal; font-size: 0.75rem; }

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.58rem;
  font-size: 0.7rem;
  font-weight: 650;
  background: #f3f6fa;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.pill-high { background: var(--danger-soft); color: var(--danger); }
.pill-med { background: var(--warn-soft); color: var(--warn); }
.pill-good { background: var(--sage-soft); color: var(--sage); }
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--sage);
}
.pulse-watch { background: var(--warn); }
.pulse-sold { background: var(--accent); }
.pulse-idle { background: #b7aea3; }

.bar {
  height: 6px;
  background: #e7edf3;
  border-radius: 99px;
  overflow: hidden;
}
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.factor {
  display: grid;
  grid-template-columns: 140px 1fr 36px;
  gap: 0.6rem;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.85rem;
}
.factor b { font-weight: 550; }
.meter { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.45rem 0; }
.meter span { color: var(--muted); font-size: 0.8rem; display: inline-flex; align-items: center; }

.score {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), #e7edf3 0);
  box-shadow: var(--shadow-soft);
}
.score i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  font-style: normal;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin: 0 0 1rem;
  padding: 0.28rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.tabs a {
  padding: 0.42rem 0.75rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}
.tabs a.is-on, .tabs a:hover { color: var(--ink); background: #eaf3f7; }

.hero { width: min(880px, calc(100% - 2rem)); margin: 4.5rem auto 2.5rem; }
.market-hero h1 { max-width: 16ch; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 14ch; }
.hero p { max-width: 36rem; color: var(--muted); font-size: 1.02rem; }
.hero-actions { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.band { padding: 0 0 3rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.card {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.25rem; }
.card p { margin: 0; color: var(--muted); }
.product-frame {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 2.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(23, 43, 66, 0.1);
  overflow: hidden;
}
.product-frame header {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: #f6f8fb;
  border-bottom: 1px solid var(--line);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #d5c8b6; }

.narrow { width: min(400px, 100%); margin: 3rem auto; }
.stack { display: grid; gap: 0.75rem; margin: 1rem 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.85rem; }
.wide { grid-column: 1 / -1; }
label { display: grid; gap: 0.28rem; font-weight: 600; font-size: 0.82rem; }
.field, select.field, textarea.field {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(23, 43, 66, 0.04);
}
.field:focus { outline: 2px solid rgba(20, 125, 146, 0.25); border-color: var(--accent); }
.errorlist { color: var(--danger); list-style: none; padding: 0; margin: 0; }
.flash-wrap { width: min(1180px, calc(100% - 2.4rem)); margin: 0.8rem auto 0; }
.flash { padding: 0.65rem 0.9rem; border-radius: 14px; background: var(--sage-soft); color: var(--sage); }
.flash-error { background: var(--danger-soft); color: var(--danger); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.65rem; }
.facts > div {
  background: #f4f7fa;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}
.facts dt { color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; }
.facts dd { margin: 0.2rem 0 0; font-weight: 650; }
.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.5rem; margin-bottom: 0.75rem; }
.photo-row img { width: 100%; height: 100px; object-fit: cover; border-radius: 12px; }
.action-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
pre { white-space: pre-wrap; font: inherit; margin: 0; }
.check-label { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.report {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.report-agent { margin-top: 1.4rem; display: grid; color: var(--muted); }
.header-score { display: flex; align-items: center; gap: 1rem; }
.share-box {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: #f4f7fa;
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
}
.share-box code {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: inherit;
  font-size: 0.82rem;
}
.empty {
  text-align: center;
  padding: 2.2rem 1rem;
  color: var(--muted);
}
.empty .ico { margin: 0 auto 0.6rem; width: 28px; height: 28px; }
.settings-grid { display: grid; grid-template-columns: 280px 1fr; gap: 0.9rem; align-items: start; }
.plan-card b { font-size: 1.4rem; }
.billing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.billing-card { display: flex; flex-direction: column; margin: 0; min-height: 340px; }
.billing-card.is-current { border-color: #8dc6d0; box-shadow: inset 0 3px var(--accent); }
.billing-card h2 { font-size: 1.2rem; }
.billing-card .service-list { padding-left: 1.2rem; color: var(--muted); flex: 1; }
.billing-card .service-list li { margin: .55rem 0; }
.billing-price { margin: .9rem 0; font-size: 1.45rem; font-weight: 800; color: var(--ink); }
.billing-price span { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); }
.billing-card form, .billing-card .btn { width: 100%; }
.billing-card button:disabled { cursor: not-allowed; opacity: .48; }
.billing-summary { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; margin-top: 1rem; }
.billing-summary span, .billing-summary strong { display: block; }
.flash-neutral { background: #eaf3f7; color: var(--ink); margin-bottom: 1rem; }
.builder {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: 1rem;
  align-items: start;
}
.builder-tools .panel { margin-bottom: 0.75rem; }
.theme-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin-bottom: 0.75rem; }
.theme-pick {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.theme-pick.theme-adobe { background: #f3e4d0; }
.theme-pick.theme-clean { background: #fff; }
.theme-pick.theme-dusk { background: #30221d; color: #fff1df; }
.theme-pick.theme-sage { background: #e8eee4; }
.theme-pick.theme-slate { background: #e8eaed; }
.theme-pick.theme-blush { background: #f6ebe8; }
.option-picks ul { list-style: none; margin: 0 0 0.85rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.option-picks li { margin: 0; }
.option-picks label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
}
.section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
.section-move { display: flex; gap: 0.25rem; }
.section-move [data-move="up"] { transform: rotate(-90deg); }
.section-move [data-move="down"] { transform: rotate(90deg); }
.upgrade-card p { max-width: 36rem; }

@media (max-width: 980px) {
  .desk, .settings-grid, .builder, .billing-grid { grid-template-columns: 1fr; }
  .next-card { flex-direction: column; align-items: flex-start; }
  .billing-card { min-height: 0; }
}
@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; }
  .rail {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }
  body.rail-open .rail { transform: translateX(0); }
  body.rail-collapsed .app-shell { grid-template-columns: 1fr; }
  body.rail-collapsed .brand-name,
  body.rail-collapsed .rail-nav span,
  body.rail-collapsed .userchip-meta,
  body.rail-collapsed .link-btn span { display: initial; }
  .chrome-search kbd { display: none; }
  .card-grid { grid-template-columns: 1fr; }
}
@media print {
  .rail, .chrome, .topbar, .no-print, .flash-wrap, .tabs, .scrim { display: none !important; }
  .app-shell { display: block; }
  body { background: white; }
}

/* Shared product surfaces and responsive navigation. */
body { background: var(--bg); line-height: 1.6; }
h1, .hello { font-weight: 800; font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-weight: 700; }
.app-shell { grid-template-columns: 248px minmax(0, 1fr); }
.rail { padding: 1.6rem 1rem 1rem; gap: 1.8rem; background: linear-gradient(180deg, #3a2922, #2b1e1a); }
.brand-mark { background: #2b8c95; color: #fff; box-shadow: none; width: 34px; height: 34px; flex-basis: 34px; }
.brand-name span, .guest-brand .brand-name span { color: #e08a4f; }
.guest-brand .brand-mark { color: white; }
.rail .icon-btn { background: transparent; border: 0; box-shadow: none; }
.rail-close { display: none; font-size: 1.5rem; }
.nav-label { margin: 0 .7rem .7rem; color: #d2b9a3; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.rail-nav { gap: .4rem; }
.rail-nav a { border-radius: 8px; font-size: .82rem; padding: .75rem .7rem; }
.rail-nav a.is-on { background: #614033; color: #fff; box-shadow: inset 3px 0 #e08a4f; }
.rail-plan { display: block; padding: 1rem; margin-bottom: 1.2rem; border: 1px solid #76513e; border-radius: 10px; color: #fff1df; background: #4b3328; }
.rail-plan > span { font-size: .6rem; letter-spacing: .12em; color: #d2b9a3; }
.rail-plan strong { display: flex; justify-content: space-between; margin-top: .3rem; font-size: .88rem; }
.rail-collapsed .nav-label, .rail-collapsed .rail-plan { display: none; }
.avatar { background: #6b4938; color: #fff1df; }
.chrome { background: rgba(255,250,242,.96); padding: 1rem 1.8rem; gap: 1rem; }
.chrome-search { border-radius: 8px; background: #fff8ed; box-shadow: none; margin-left: auto; }
.chrome-avatar { background: #d9ece8; color: #236d72; }
.page { width: min(1320px, calc(100% - 3.6rem)); margin-top: 2rem; }
.page-head { margin-bottom: 1.6rem; align-items: center; }
.page-head .eyebrow { margin-bottom: .4rem; color: var(--accent-deep); }
.page-head p { max-width: 44rem; }
.btn, .btn-ghost { border-radius: 8px; padding: .6rem 1rem; font-size: .82rem; box-shadow: 0 1px 2px #4c302210; }
.btn-small { padding: .35rem .65rem; font-size: .75rem; }
.icon-btn { box-shadow: none; }
.panel, .card, .kpi, .table-wrap, .listing-signal { background: #fffaf2; box-shadow: 0 2px 4px #4c302204; }
.kpis { gap: 1rem; margin-bottom: 1.5rem; }
.kpi { position: relative; padding: 1.2rem; min-height: 128px; }
.kpi b { font-size: 1.8rem; font-weight: 800; line-height: 1.35; margin-top: .65rem; font-variant-numeric: tabular-nums; }
.kpi > span:last-child { font-size: .75rem; font-weight: 600; }
.kpi-ico { float: right; width: 34px; height: 34px; margin: 0; }
.panel { padding: 1.3rem; }
.panel h2 { font-size: .9rem; }
.next-card { border-radius: 12px; background: #e2f0ed; border-color: #b8d8d2; box-shadow: none; }
.next-card strong { font-size: 1rem; }
.launch-card { margin-bottom: 1.5rem; padding: 1.3rem; background: linear-gradient(135deg, #fffaf2 0%, #e2f0ed 100%); border: 1px solid #b8d8d2; border-radius: 12px; box-shadow: var(--shadow-soft); }
.launch-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.launch-head h2 { margin-bottom: .2rem; }
.launch-head p { margin-bottom: 0; }
.launch-checklist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.launch-step { display: flex; align-items: center; gap: .6rem; min-width: 0; padding: .7rem; color: var(--ink); background: rgba(255, 250, 242, .72); border: 1px solid var(--line); border-radius: 8px; }
.launch-step:hover { border-color: var(--accent); background: var(--surface); }
.launch-check { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; border-radius: 50%; color: var(--accent-deep); background: #f1d8c7; font-size: .72rem; font-weight: 800; box-shadow: 0 0 0 3px rgba(43, 140, 149, .08); }
.launch-step.is-done .launch-check { color: #fff; background: var(--sage); }
.launch-step span:nth-child(2) { min-width: 0; }
.launch-step strong, .launch-step em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.launch-step strong { font-size: .76rem; }
.launch-step em { margin-top: .12rem; color: var(--muted); font-size: .67rem; font-style: normal; }
.launch-arrow { margin-left: auto; color: var(--accent-deep); font-size: .9rem; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .4rem 0 1rem; }
.section-heading h2 { font-size: 1rem; }
.section-heading .eyebrow { font-size: .62rem; }
.listing-signal { padding: 1rem; border-radius: 10px; }
.listing-signal strong { font-size: .84rem; }
.listing-signal em { margin-top: .2rem; font-size: .75rem; }
.chip { border-radius: 7px; padding: .4rem .65rem; font-size: .7rem; }
.chip.is-on { color: #236d72; border-color: #9fcac3; background: #e2f0ed; }
.desk { grid-template-columns: minmax(0, 1fr) 330px; gap: 1.5rem; }
.timeline-item { padding: .55rem 0; font-size: .75rem; }
.watch-row { padding: .8rem 0; font-size: .8rem; }
th { background: #f8efe3; font-size: .65rem; padding-top: 1rem; padding-bottom: 1rem; }
td { font-size: .82rem; padding-top: 1rem; padding-bottom: 1rem; }
tbody tr:hover { background: #f8efe3; }
.tabs { border-radius: 10px; padding: .35rem; }
.tabs a { border-radius: 7px; }
.field, select.field, textarea.field { border-radius: 8px; box-shadow: none; }
.narrow { width: min(440px, 100%); background: white; padding: 2rem; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.narrow .stack { gap: 1.1rem; }
.topbar { padding: 1.2rem max(1.5rem, calc((100% - 1200px)/2)); }
.hero { width: min(1100px, calc(100% - 3rem)); text-align: center; margin: 5rem auto 3rem; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); max-width: 19ch; margin: .7rem auto 1.3rem; line-height: 1.13; }
.hero p { margin-left: auto; margin-right: auto; }
.hero-actions { justify-content: center; }
.product-frame { box-shadow: 0 24px 70px #4c302215; }
.product-frame header { background: #f1e6d8; }
.card { padding: 1.7rem; }
.card h3 { margin-bottom: .6rem; }
.portfolio-strip { margin-bottom: 1.6rem; }
.portfolio-strip .table-wrap { margin-top: .75rem; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 100; background: white; padding: .8rem; border: 2px solid var(--accent); }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #2b8c95; outline-offset: 3px; }
[hidden] { display: none !important; }
.filter-empty { padding: 1.5rem; text-align: center; color: var(--muted); background: white; border: 1px dashed var(--line); border-radius: 10px; }
@media (max-width: 1100px) { .desk { grid-template-columns: 1fr; } .side-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .launch-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
 .app-shell { grid-template-columns: 1fr; }
 .rail-close { display: grid; flex-shrink: 0; }
 .rail-collapsed .nav-label, .rail-collapsed .rail-plan { display: block; }
 .chrome { padding: .8rem 1rem; }
 .page { width: calc(100% - 2rem); }
 .rail-collapsed .rail-top { flex-direction: row; }
 .rail-collapsed .rail-nav a, .rail-collapsed .link-btn { justify-content: flex-start; }
 .rail-collapsed .userchip { justify-content: flex-start; }
}
@media (max-width: 600px) {
 .launch-head { align-items: flex-start; flex-direction: column; }
 .launch-checklist { grid-template-columns: 1fr; }
 .chrome { flex-wrap: wrap; gap: .6rem; }
 .chrome-title { min-width: 0; flex: 1; }
 .chrome-search { order: 5; flex-basis: 100%; max-width: none; }
 .page { margin-top: 1.3rem; }
 .page-head { flex-direction: column; align-items: flex-start; }
 .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
 .kpi { padding: .85rem; min-height: 112px; }
 .kpi b { font-size: 1.4rem; overflow-wrap: anywhere; }
 .side-stack, .split, .form-grid { grid-template-columns: minmax(0, 1fr); }
 .listing-signal { grid-template-columns: 28px minmax(0,1fr); }
 .listing-signal > .pill { grid-column: 2; justify-self: start; }
 .popover { position: fixed; top: 70px; left: 1rem; width: calc(100% - 2rem); }
 .header-score { align-items: flex-start; }
 .header-score .score { flex-shrink: 0; }
 .factor { grid-template-columns: 100px minmax(0, 1fr) 30px; }
 .billing-summary { grid-template-columns: 1fr; gap: 1rem; }
 .nav { gap: .6rem; font-size: .75rem; }
 .topbar { padding: 1rem; flex-wrap: wrap; gap: 1rem; }
 .hero { margin-top: 3rem; }
 .narrow { padding: 1.4rem; }
 .field.compact { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
@media print { .skip-link, .rail-plan { display: none; } .page { width: 100%; margin: 0; } .panel, .kpi, .report { box-shadow: none; break-inside: avoid; } }
