/* OpenDesk — vanity AMS shell. Steal-at-$99 density. */
:root {
  --bg: #e8eef4;
  --bg-deep: #d5e0ea;
  --paper: #ffffff;
  --ink: #0a1620;
  --mute: #5c7080;
  --line: rgba(10, 22, 32, 0.1);
  --line-strong: rgba(10, 22, 32, 0.16);
  --go: #0b5f6e;
  --go-ink: #f3fffc;
  --go-soft: #e4f5f3;
  --warn: #9a4d0f;
  --warn-bg: #fff1e2;
  --bad: #9b1c1c;
  --chip: #e4ebf1;
  --side: #0a1620;
  --side-ink: #d7e3ec;
  --side-mute: #7f95a6;
  --side-on: #123a44;
  --shadow: 0 1px 2px rgba(10, 22, 32, 0.04), 0 12px 32px rgba(10, 22, 32, 0.06);
  --radius: 12px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(11, 95, 110, 0.12), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(10, 22, 32, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
a { color: var(--go); }

/* —— Top chrome (auth + desk) —— */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: inherit;
  font-size: 1.35rem;
}
.brand span { color: var(--go); }
.who { color: var(--mute); font-size: 0.86rem; }

/* —— Marketing wrap —— */
.wrap { max-width: 1120px; margin: 0 auto; padding: 28px 20px 72px; }
h1 {
  font-family: var(--display);
  font-size: 1.75rem;
  margin: 0 0 6px;
  letter-spacing: -0.035em;
  font-weight: 650;
}
.sub { color: var(--mute); margin: 0 0 18px; line-height: 1.5; font-size: 0.98rem; }

/* —— Auth cards —— */
#gate, #step2, #enroll2fa, #paywall {
  max-width: 440px;
  margin: 48px auto;
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 28px 26px 24px;
}
#gate h1, #step2 h1, #enroll2fa h1, #paywall h1 {
  font-size: 1.85rem;
}
#gate .primary, #step2 .primary, #enroll2fa .primary, #paywall .primary {
  margin-top: 16px;
}

body.desk-open {
  background: var(--bg);
}
body.desk-open .top {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.92);
}
body.desk-open .top .brand { display: none; }

/* —— Desk shell —— */
#app.app-root {
  display: grid;
  grid-template-columns: 232px 1fr;
  min-height: calc(100vh - 57px);
  max-width: none;
  margin: 0;
  padding: 0;
}
#app.app-root.hidden { display: none !important; }
.sidebar {
  background: var(--side);
  color: var(--side-ink);
  padding: 18px 12px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.sidebar-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  padding: 6px 12px 18px;
  color: #fff;
}
.sidebar-brand span { color: #5fd4c0; }
.sidebar-group {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--side-mute);
  padding: 14px 12px 6px;
}
.sidebar .tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--side-ink);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 500;
}
.sidebar .tab:hover { background: rgba(255, 255, 255, 0.06); }
.sidebar .tab.on {
  background: var(--side-on);
  color: #fff;
  box-shadow: inset 3px 0 0 #5fd4c0;
}
.nav-badge {
  flex: 0 0 auto;
  min-width: 1.35rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.nav-badge.hidden { display: none !important; }
body.labs-desk .sidebar .tab.on .nav-badge {
  background: #fff;
  color: #b91c1c;
}
.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 22px 48px;
}
.app-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.app-head h1 { font-size: 1.9rem; margin: 0; }
.app-head .sub { margin: 4px 0 0; max-width: 560px; }

.tabs { display: none; } /* moved into sidebar */

.tab, button, .ghost {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  padding: 9px 13px;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.08s ease;
}
button:hover, .ghost:hover { border-color: var(--line-strong); }
button:active { transform: translateY(1px); }
.tab.on, button.primary {
  background: var(--go);
  color: var(--go-ink);
  border-color: var(--go);
}
button.primary:hover { filter: brightness(1.06); }

.grid {
  display: grid;
  grid-template-columns: minmax(300px, 340px) 1fr;
  gap: 16px;
  align-items: start;
}
@media (max-width: 960px) {
  #app.app-root { grid-template-columns: 1fr; }
  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px;
  }
  .sidebar-brand, .sidebar-group { display: none; }
  .sidebar .tab { width: auto; padding: 8px 10px; font-size: 0.82rem; }
  .grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow);
}
.card > strong:first-child {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 4px;
}
label { display: block; font-size: 0.78rem; font-weight: 560; color: var(--mute); margin: 10px 0 4px; letter-spacing: 0.01em; }
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fbfcfd;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(11, 95, 110, 0.45);
  box-shadow: 0 0 0 3px rgba(11, 95, 110, 0.12);
  background: #fff;
}
textarea { min-height: 72px; resize: vertical; }
button.primary { width: 100%; margin-top: 12px; font-weight: 650; }

.row {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.row:hover { background: rgba(11, 95, 110, 0.04); margin: 0 -8px; padding-left: 12px; padding-right: 12px; border-radius: 8px; }
.row:last-child { border-bottom: 0; }
.row strong { display: block; font-weight: 650; }
.meta { color: var(--mute); font-size: 0.86rem; line-height: 1.4; }
.pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--chip);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 999px;
  margin-right: 6px;
}
.pill.hot { background: var(--warn-bg); color: var(--warn); }
.pill.ok { background: var(--go-soft); color: var(--go); }
.pill.bad { background: #f8e4e4; color: var(--bad); }

.toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.toolbar button, .toolbar .tab, .toolbar label.tab {
  margin: 0;
  font-size: 0.84rem;
  padding: 8px 10px;
}
.search { flex: 1; min-width: 180px; margin: 0 !important; }
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.empty { color: var(--mute); padding: 28px 8px; text-align: center; }
.err { color: var(--bad); font-size: 0.9rem; }
.hidden { display: none !important; }
.detail h2 {
  font-family: var(--display);
  margin: 0 0 10px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.actions button { width: auto; margin-top: 0; }
.sheet { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.sheet th, .sheet td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.sheet th { color: var(--mute); font-weight: 650; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.sheet tbody tr:hover { background: rgba(11, 95, 110, 0.04); }

.agent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(400px, calc(100vw - 24px));
  max-height: min(540px, 72vh);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(10, 22, 32, 0.18);
  z-index: 40;
}
.agent-head { padding: 14px 16px 0; }
.agent-head strong { font-family: var(--display); }
.agent-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; }
.agent-chips button { width: auto; padding: 5px 9px; font-size: 0.78rem; }
.agent-log { flex: 1; overflow: auto; padding: 0 14px 8px; min-height: 160px; }
.agent-msg { white-space: pre-wrap; font-size: 0.9rem; line-height: 1.45; margin: 8px 0; }
.agent-msg.me { color: var(--go); font-weight: 560; }
.agent-in { display: flex; gap: 8px; padding: 10px 14px 14px; }
.agent-in input { flex: 1; }
.agent-in button { width: auto; margin: 0; }

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.kpi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.kpi::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--go);
  opacity: 0.85;
}
.kpi b {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.kpi span { color: var(--mute); font-size: 0.76rem; font-weight: 560; }

.subtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.subtabs button { width: auto; padding: 6px 11px; font-size: 0.82rem; }
.subtabs button.on { background: var(--go); color: var(--go-ink); border-color: var(--go); }
.timeline .row { cursor: default; }
.vip { color: var(--warn); }
.checkrow { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0; }
.checkrow label { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--ink); font-weight: 500; }
.checkrow input { width: auto; }
.carrier-picks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 6px 12px;
  margin: 0 0 12px;
  max-height: 220px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7fafc;
}
.carrier-picks label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
}
.carrier-picks input { width: auto; }
.sheet button { width: auto; padding: 4px 8px; font-size: 0.8rem; margin: 0 4px 0 0; }
.sheet .runrow td { background: var(--go-soft); font-weight: 650; }
.sheet tbody tr[data-quote-edit] { cursor: pointer; }
.row .actions { margin-top: 8px; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.shop-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbfcfd;
}
.shop-card strong { display: block; margin-bottom: 4px; font-family: var(--display); }
.shop-card .actions { margin: 0 0 8px; }
.shop-card a { font-size: 0.82rem; }
.shop-card input { margin-bottom: 6px; }
.shop-card.best { border-color: var(--go); box-shadow: 0 0 0 1px var(--go); background: var(--go-soft); }
.plan-tools {
  margin: 12px 0;
  padding: 16px 16px 14px;
  border: 1px solid rgba(11, 95, 110, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #f2faf8 0%, #ffffff 55%);
}
.plan-tools .hs-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.plan-tools .hs-head strong {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
}
.hs-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--go);
  border: 1px solid rgba(11, 95, 110, 0.35);
  background: var(--go-soft);
  padding: 2px 8px;
  border-radius: 999px;
}
.hs-tobacco {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
}
.hs-actions {
  margin-top: 4px;
  flex-wrap: wrap;
}
.hs-results {
  margin-top: 12px;
}
.hs-results .hs-status {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4f7fa;
  border: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.88rem;
}
.hs-results .hs-status.err {
  border-color: rgba(163, 32, 32, 0.35);
  background: #fff5f5;
  color: #7a1f1f;
}
.hs-county-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.hs-plan-grid {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.hs-plan {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.hs-plan.best {
  border-color: var(--go);
  background: var(--go-soft);
}
.hs-plan .hs-name {
  font-weight: 650;
  font-family: var(--display);
  line-height: 1.25;
}
.hs-plan .hs-meta {
  color: var(--mute);
  font-size: 0.8rem;
  margin-top: 2px;
}
.hs-plan .hs-price {
  text-align: right;
  white-space: nowrap;
}
.hs-plan .hs-price b {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
}
.hs-plan .hs-price span {
  font-size: 0.72rem;
  color: var(--mute);
}
.hs-metal {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 1px 6px;
  border-radius: 4px;
  background: #e8eef2;
  color: #334;
  margin-right: 6px;
}
.hs-metal.gold { background: #f5e6b8; }
.hs-metal.silver { background: #e4e8ec; }
.hs-metal.bronze { background: #edd5c0; }
.hs-metal.platinum { background: #dde8f5; }
.hs-metal.catastrophic { background: #f0dede; }
.scan-text {
  white-space: pre-wrap;
  font-size: 0.78rem;
  max-height: 180px;
  overflow: auto;
  background: #f4f7fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  margin: 8px 0 0;
  font-family: ui-monospace, Consolas, monospace;
}
#scanFields .scan-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px;
  align-items: center;
  margin: 6px 0;
}
#scanFields .scan-row label { margin: 0; font-size: 0.82rem; }
#scanFields .scan-row input { margin: 0; }
.scan-modal-card {
  max-width: 640px;
  max-height: 90vh;
  overflow: auto;
}
#scanApplyActions button { margin-bottom: 4px; }
#scanGuess { color: var(--ink); font-weight: 650; }

.shop-rank {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  margin: 10px 0;
  background: var(--go-soft);
  border-radius: 10px;
  border: 1px solid rgba(11, 95, 110, 0.2);
}
.shop-rank .best { font-weight: 700; color: var(--go); }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 32, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 16px;
}
.modal-card {
  background: var(--paper);
  border-radius: 16px;
  padding: 20px;
  width: min(520px, 100%);
  box-shadow: 0 24px 60px rgba(10, 22, 32, 0.28);
  border: 1px solid var(--line);
}
.fold { margin-top: 10px; }
.fold > summary,
.also-panel > summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
  padding: 6px 0;
}
.people-compose {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 88px);
  overflow: auto;
  padding-bottom: 8px;
}
.sheet-hint { margin: 4px 0 10px; }
.client-sheet .sticky-actions {
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--paper) 28%);
  padding-top: 10px;
  margin-top: 4px;
}
.also-add-card { padding-bottom: 12px; }
.also-add-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 10px;
}
.also-tab {
  width: auto;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--chip);
  font-size: 0.86rem;
  font-weight: 650;
}
.also-tab.on,
.also-tab:hover {
  background: var(--go-soft);
  border-color: rgba(11, 95, 110, 0.35);
  color: var(--go);
}
.also-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px 10px;
  margin-top: 8px;
  background: rgba(232, 238, 244, 0.35);
}
.also-panel[open] {
  padding-top: 4px;
}
.also-panel > summary {
  list-style: none;
}
.also-panel > summary::-webkit-details-marker { display: none; }
.also-panel > summary::before {
  content: '+ ';
  color: var(--go);
  font-weight: 700;
}
.also-panel[open] > summary::before { content: '− '; }
@media (max-width: 960px) {
  .people-compose {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

.flash-ok {
  background: var(--go-soft);
  color: var(--go);
  border: 1px solid rgba(11, 95, 110, 0.2);
  border-radius: 10px;
  padding: 8px 12px;
}

.call-pop-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 24px));
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid rgba(134, 239, 172, 0.35);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.call-pop-toast[hidden] {
  display: none !important;
}
.call-pop-toast strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.call-pop-toast .meta {
  color: #94a3b8;
  margin: 0 0 10px;
}
.call-pop-toast .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.call-pop-toast .row {
  display: block;
  width: 100%;
  text-align: left;
  margin: 4px 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.queue.card { margin-top: 4px; }
.today-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .today-split { grid-template-columns: 1fr; }
}
.today-panel h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.wb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 4px;
}
.wb-filters button {
  width: auto;
  margin: 0;
  padding: 6px 10px;
  font-size: 0.82rem;
}
.wb-filters button.on {
  background: var(--go);
  color: var(--go-ink);
  border-color: var(--go);
}
.renew-card { margin-top: 10px; }
.renew-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.renew-status { margin: 0; min-width: 160px; }
.renew-status select { margin-top: 4px; }
.renew-prem { margin: 8px 0; }
.renew-edit label { margin-top: 0; }
.var-ok { color: var(--go); font-weight: 650; }
.var-bad { color: var(--bad); font-weight: 650; }
.steal-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: linear-gradient(105deg, #0a1620 0%, #0b5f6e 100%);
  color: #e8f6f4;
  box-shadow: var(--shadow);
}
.steal-banner strong {
  font-family: var(--display);
  font-size: 1.05rem;
}
.steal-banner span { opacity: 0.88; font-size: 0.9rem; }

/* Landing extras */
.hero { max-width: 760px; padding-top: 28px; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.15rem); line-height: 1.08; }
.cta {
  display: inline-block;
  margin-top: 10px;
  margin-right: 10px;
  padding: 13px 18px;
  background: var(--go);
  color: var(--go-ink);
  border-radius: 11px;
  text-decoration: none;
  font-weight: 700;
}
.cta.ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 28px; }
.amt { font-family: var(--display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0; }
.compare-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 36px 0 8px;
}
.compare-strip .card { min-height: 120px; }
.compare-strip .was { text-decoration: line-through; color: var(--mute); font-size: 0.9rem; }
.feat ul { color: var(--mute); line-height: 1.55; padding-left: 1.15rem; }
.legal { font-size: 0.86rem; color: var(--mute); margin-top: 40px; max-width: 720px; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--go);
  margin-bottom: 10px;
}

/* Sales polish — demo + onboarding */
.top-actions { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; justify-content: flex-end; }
.demo-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #9a4d0f;
  color: #fff8f0;
}
body.demo-mode .sidebar-brand::after {
  content: " DEMO";
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.onboard-list { margin: 0 0 0.75rem 1.1rem; color: var(--mute); line-height: 1.55; }
.onboard-list li.done { color: var(--go); text-decoration: line-through; }
button.linkish {
  appearance: none; border: 0; background: none; color: var(--go);
  font: inherit; font-weight: 700; padding: 0; cursor: pointer; text-decoration: underline;
}
.trust-banner, .onboard-banner { border-color: rgba(11, 95, 110, 0.28); }
#btnTourDemo { margin-top: 0.5rem; width: 100%; }
@media (min-width: 520px) {
  #btnTourDemo { width: auto; }
}

/* TurnNet Labs ops shell — hide insurance chrome */
body.labs-desk .agency-only { display: none !important; }
body.labs-desk #tabCompare,
body.labs-desk #tabClaims,
body.labs-desk #tabDues,
body.labs-desk #tabMarket,
body.labs-desk #paneCompare,
body.labs-desk #paneClaims,
body.labs-desk #paneDues,
body.labs-desk #paneMarket,
body.labs-desk #coiModal,
body.labs-desk #planTools,
body.labs-desk #hsQuoteResults,
body.labs-desk #alsoInsuranceFold,
body.labs-desk #foldClientHousehold { display: none !important; }
body.labs-desk .sidebar-brand span { color: #5fd4c0; }
body.labs-desk #heroTitle { font-family: Fraunces, Georgia, serif; }
body.labs-desk .labs-sites { display: grid; gap: 12px; }
body.labs-desk .labs-site-group strong { display: block; margin-bottom: 6px; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); }
body.labs-desk .labs-site-links { display: flex; flex-wrap: wrap; gap: 8px; }
body.labs-desk .labs-site-link {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(11, 95, 110, 0.28);
  border-radius: 8px;
  background: rgba(95, 212, 192, 0.08);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
body.labs-desk .labs-site-link:hover { border-color: #5fd4c0; background: rgba(95, 212, 192, 0.16); }
body.labs-desk #labsViewResult { line-height: 1.45; }
body.labs-desk .labs-pipe-card .labs-pipe-row .pill.bad { background: rgba(180, 40, 40, 0.15); color: #b91c1c; }
body.labs-desk .pill.bad { background: rgba(180, 40, 40, 0.15); color: #b91c1c; }
.onboard-list { margin: 0 0 8px 1.1rem; padding: 0; }
.onboard-list li { margin: 0.25rem 0; }
.onboard-list li.done { text-decoration: line-through; opacity: 0.65; }


