@font-face{font-family:'Archivo';src:url('fonts/archivo.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Inter';src:url('fonts/inter.woff2') format('woff2');font-weight:100 900;font-display:swap}
body{font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
h1,h2,h3,.brand-name,.topbar-name,.name,.wordmark{font-family:'Archivo','Inter',system-ui,sans-serif;letter-spacing:-.01em}
:root {
  --bg: #0d1522;
  --card: #16202f;
  --card-edge: #24344c;
  --text: #eef2f7;
  --muted: #9db0c5;
  --gold: #e3b341;
  --gold-dim: #8a6d24;
  --ok: #4caf7d;
  --warn: #e08a3c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.45;
  padding: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.site-header { text-align: center; padding: 18px 0 8px; }
.site-header h1 { font-size: 1.9rem; letter-spacing: 0.5px; color: var(--gold); }
.tagline { color: var(--text); font-size: 1.02rem; margin-top: 2px; }
.asof { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.benefit { max-width: 560px; margin: 12px auto 0; font-size: 1rem; line-height: 1.55; }

.card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  padding: 18px;
  margin-top: 16px;
}
.card h2 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-bottom: 12px;
}

.big-number { font-size: 2.6rem; font-weight: 700; line-height: 1.05; }
.label { color: var(--muted); font-size: 0.92rem; }
.value { font-weight: 600; }
.note { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }

.sub-block { margin-top: 18px; }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }

.bar {
  background: #0a101b;
  border: 1px solid var(--card-edge);
  border-radius: 999px;
  height: 12px;
  margin-top: 8px;
  overflow: hidden;
}
.bar-fill { background: var(--gold); height: 100%; border-radius: 999px; transition: width 0.4s ease; }

.badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--warn);
  color: #14100a;
  text-transform: uppercase;
}
.badge.done { background: var(--ok); color: #08130d; }

.lane { padding: 12px 0; border-bottom: 1px solid var(--card-edge); }
.lane:last-of-type { border-bottom: none; }
.lane-head { display: flex; justify-content: space-between; align-items: baseline; }
.lane-name { font-weight: 700; font-size: 1.05rem; }
.lane-account { color: var(--muted); font-size: 0.82rem; word-break: break-all; }
.lane-sent { font-size: 1.3rem; font-weight: 700; color: var(--gold); }
.lane-meta { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
.batch-times { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--card-edge);
  color: var(--muted);
}
.chip.done { border-color: var(--gold-dim); color: var(--text); }
.chip.next { background: var(--gold); color: #14100a; border-color: var(--gold); font-weight: 700; }

.total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--card-edge);
  font-size: 1rem;
}
.total-row strong { font-size: 1.35rem; color: var(--gold); }

.rules { list-style: none; }
.rules li { padding: 8px 0 8px 22px; position: relative; font-size: 0.95rem; border-bottom: 1px solid var(--card-edge); }
.rules li:last-child { border-bottom: none; }
.rules li::before { content: "•"; color: var(--gold); font-weight: 700; position: absolute; left: 4px; }

.version { color: var(--gold); font-weight: 600; }
.note-inline { color: var(--muted); font-size: 0.82rem; }
.freshness-label { margin: 0 0 10px; }

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.signal-tile {
  background: #0a101b;
  border: 1px solid var(--card-edge);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}
.pace-grid { margin-top: 14px; }
.signal-num { font-size: 1.5rem; font-weight: 700; color: var(--gold); line-height: 1.1; }
.signal-label { color: var(--muted); font-size: 0.78rem; margin-top: 3px; }


.ladder-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; border-top: 1px solid var(--card-edge);
}
.ladder-row:first-child { border-top: none; padding-top: 4px; }
.ladder-rung {
  flex: 0 0 auto; background: var(--gold); color: #14100a;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 8px; border-radius: 999px; margin-top: 2px;
}
.ladder-main { flex: 1 1 auto; min-width: 0; }
.ladder-main .note { margin: 4px 0 0; }


#support-desk { border-color: var(--gold-dim); }
.aidesk-badge {
  display: inline-block; background: var(--gold); color: #14100a;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.8px;
  padding: 3px 9px; border-radius: 999px; vertical-align: middle;
  white-space: nowrap; text-transform: uppercase;
}
#aidesk-thread { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 4px; max-height: 340px; overflow-y: auto; }
.aidesk-msg {
  max-width: 86%; padding: 9px 12px; border-radius: 14px;
  white-space: pre-wrap; word-wrap: break-word; line-height: 1.45; font-size: 0.95rem;
}
.aidesk-a { align-self: flex-start; background: #0a101b; color: var(--text); border: 1px solid var(--card-edge); border-bottom-left-radius: 4px; }
.aidesk-u { align-self: flex-end; background: var(--gold); color: #14100a; border-bottom-right-radius: 4px; }
.aidesk-row { display: flex; gap: 8px; margin-top: 10px; }
.aidesk-row input {
  flex: 1; min-width: 0; background: #0a101b; color: var(--text);
  border: 1px solid var(--card-edge); border-radius: 10px;
  padding: 10px 12px; font-size: 0.95rem; font-family: inherit;
}
.aidesk-row input::placeholder { color: var(--muted); }
.aidesk-row input:disabled { opacity: 0.6; }
#aidesk-send {
  background: var(--gold); color: #14100a; border: 1px solid var(--gold);
  border-radius: 10px; padding: 10px 16px; font-weight: 700;
  font-size: 0.95rem; font-family: inherit; cursor: pointer;
}
#aidesk-send:disabled { opacity: 0.6; cursor: default; }

.realtor { border-color: var(--gold-dim); }
.realtor p { font-size: 0.98rem; margin-top: 6px; }
.cta-line { color: var(--gold); font-weight: 700; margin-top: 12px; }
.subbtn { display: inline-block; background: var(--gold); color: #14100a; font-weight: 800; text-decoration: none; padding: 13px 22px; border-radius: 10px; font-size: 16px; }

footer { text-align: center; color: var(--muted); font-size: 0.82rem; padding: 22px 6px 10px; }
footer .generated { margin-top: 6px; font-size: 0.75rem; }


html, body { overflow-x: clip; }
img, svg, video, canvas, iframe { max-width: 100%; }
@media (max-width: 640px) {
  body { padding: 12px; }
  .card { padding: 14px; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .big-number { font-size: 2.1rem; }
  .row-between { flex-wrap: wrap; }
  .lane-head { flex-wrap: wrap; gap: 2px 10px; }
  button { min-height: 44px; }
  input, textarea, select { font-size: 16px; } 
}
@media (min-width: 980px) {
  body { max-width: 1140px; padding: 24px; }
  main { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; align-items: start; }
  main > .card { margin-top: 18px; }
  #pipeline, #support-desk { grid-column: 1 / -1; }
  .signal-grid { grid-template-columns: repeat(3, 1fr); }
}


#shareText {
  width: 100%; background: #0a101b; color: var(--text); border: 1px solid var(--card-edge);
  border-radius: 10px; padding: 12px; font-family: inherit; font-size: 0.9rem; line-height: 1.5;
  resize: vertical; margin-top: 10px;
}
.share-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
#shareCopy {
  background: var(--gold); color: #14100a; border: 1px solid var(--gold); border-radius: 10px;
  padding: 10px 16px; font-weight: 700; font-size: 0.95rem; font-family: inherit; cursor: pointer; min-height: 44px;
}
#shareDownloadCsv {
  background: transparent; color: var(--gold); border: 1px solid var(--gold); border-radius: 10px;
  padding: 10px 16px; font-weight: 700; font-size: 0.95rem; font-family: inherit; cursor: pointer; min-height: 44px;
}


.view-tabs { display: flex; gap: 8px; margin-top: 14px; }
.view-tab {
  flex: 1; background: var(--card); color: var(--muted); border: 1px solid var(--card-edge);
  border-radius: 999px; padding: 11px 10px; font-weight: 700; font-size: 0.95rem;
  font-family: inherit; cursor: pointer; min-height: 44px;
}
.view-tab.active { background: var(--gold); color: #14100a; border-color: var(--gold); }
.view-tab .tab-role { font-size: 0.68em; font-weight: 700; opacity: 0.72; }
.view[hidden] { display: none !important; }
@media (min-width: 980px) { main.view.active { display: grid; } }


.mh { --navy:#0a1f44;--navy2:#12294f;--gold:#d4af37;--ink:#16233c;--mut:#5b6a84;--bg:#f4f5f7;--card:#fff;--line:#e3e7ee }
.mh * { box-sizing:border-box }
.mh { scroll-behavior:smooth }
.mh { margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased }
.mh .mh-head { position:relative;top:0;z-index:50;background:var(--navy);color:#fff;padding:14px 18px 12px;border-bottom:3px solid var(--gold);display:flex;align-items:center;gap:12px }
.mh .mh-head .mark { width:44px;height:44px;flex:0 0 44px;background:#fff;border-radius:10px;display:grid;place-items:center;border:2px solid var(--gold);overflow:hidden }
.mh .mh-head h1 { font-family:Georgia,'Times New Roman',serif;font-size:19px;margin:0;font-weight:700;line-height:1.2 }
.mh .mh-head .sub { font-size:11px;letter-spacing:2px;color:var(--gold);text-transform:uppercase;margin-top:3px }
.mh .mh-main { max-width:720px;margin:0 auto;padding:16px 14px 28px }
.mh .hero { background:linear-gradient(135deg,var(--navy),var(--navy2));color:#fff;border-radius:16px;padding:24px 20px;margin-bottom:16px;border:1px solid var(--gold) }
.mh .hero h2 { font-family:Georgia,serif;font-size:27px;margin:0 0 10px;line-height:1.25 }
.mh .hero p { margin:0 0 18px;color:#dbe3f2;font-size:15.5px;line-height:1.55 }
.mh .btn { display:inline-block;background:var(--gold);color:var(--navy);font-weight:700;font-size:16px;padding:13px 20px;border-radius:10px;text-decoration:none;border:0;cursor:pointer }
.mh .btn:active { transform:scale(.98) }
.mh .hero .under { font-size:13px;color:#eef1f8;margin-top:10px }
.mh h2.sec { font-family:Georgia,serif;font-size:21px;color:var(--navy);margin:22px 2px 10px }
.mh .card { background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:12px;box-shadow:0 1px 3px rgba(10,31,68,.06) }
.mh .card h3 { margin:0 0 7px;font-size:16.5px;color:var(--navy) }
.mh .card p { margin:0 0 8px;font-size:14.5px;line-height:1.55;color:var(--ink) }
.mh .card p:last-child { margin-bottom:0 }
.mh .card a { color:var(--navy);font-weight:600 }
.mh .small { font-size:12.5px;color:var(--mut);line-height:1.5 }
.mh .cards { display:grid;grid-template-columns:1fr;gap:0 }
@media(min-width:560px) {
.mh .cards { grid-template-columns:repeat(3,1fr);gap:12px }
.mh .cards .card { margin-bottom:12px }
}
.mh .fld { margin:10px 0 }
.mh .fld label { display:block;font-size:13px;font-weight:600;color:var(--navy);margin-bottom:5px }
.mh .fld .in { display:flex;align-items:center;border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden }
.mh .fld .in span { padding:0 10px;color:var(--mut);font-size:14px }
.mh .fld input { flex:1;border:0;outline:0;padding:11px 6px;font-size:16px;min-width:0;background:transparent;color:var(--ink) }
.mh .outs { margin-top:12px;border-top:1px solid var(--line);padding-top:10px }
.mh .orow { display:flex;justify-content:space-between;font-size:14.5px;padding:5px 0 }
.mh .orow .amt { font-weight:600 }
.mh .orow.hero { border-top:2px solid var(--gold);margin-top:8px;padding-top:10px;font-size:16.5px }
.mh .orow.hero .amt { color:var(--navy);font-weight:800 }
.mh .vid { position:relative;padding-top:56.25%;border-radius:10px;overflow:hidden;background:#000 }
.mh .vid iframe { position:absolute;inset:0;width:100%;height:100%;border:0 }
.mh .askf input, .mh .askf textarea { width:100%;border:1px solid var(--line);border-radius:9px;padding:11px;font-size:15px;font-family:inherit;margin:0 0 10px;color:var(--ink) }
.mh .promise { border-left:3px solid var(--gold);background:#fffdf4;border-radius:0 10px 10px 0;padding:10px 13px;margin:10px 0;font-size:14px;line-height:1.5 }
.mh .imp-row { display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:10px;padding:11px 12px;margin:8px 0;cursor:pointer;background:#fff }
.mh .imp-row input { margin-top:3px;width:18px;height:18px;flex:0 0 18px;accent-color:var(--navy) }
.mh .imp-row .imp-main { flex:1;min-width:0 }
.mh .imp-row .imp-name { font-size:14.5px;font-weight:600;color:var(--navy);line-height:1.4 }
.mh .imp-row .imp-range { font-size:13px;color:var(--mut);line-height:1.45;margin-top:2px }
.mh .imp-out { margin-top:12px;border-top:1px solid var(--line);padding-top:10px }
.mh .snap-item { border:1px solid var(--line);border-radius:10px;padding:11px 12px;margin:8px 0;background:#fff }
.mh .snap-date { font-size:13px;font-weight:700;color:var(--navy) }
.mh .snap-figs { font-size:14.5px;margin-top:2px;line-height:1.5 }
.mh .snap-delta { font-size:13px;color:var(--mut);margin-top:2px }
.mh .snap-del { float:right;border:1px solid var(--line);background:#fff;border-radius:8px;padding:3px 9px;font-size:12.5px;font-weight:600;color:var(--mut);cursor:pointer }
.mh .care-season { font-size:13px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--gold);margin:14px 2px 4px }
.mh .care-count { font-size:15px;font-weight:700;color:var(--navy);margin:10px 0 2px }
.mh .care-reset { border:1px solid var(--line);background:#fff;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:600;color:var(--mut);cursor:pointer;margin-top:8px }


.mh { border-radius: 18px; overflow: clip; border: 1px solid var(--card-edge); margin-top: 16px; }
.mh .mh-head img { display: block; }
@media (max-width: 559px) {
  .mh .mh-main { padding: 12px 10px 24px; }
  .mh .mh-head { padding: 12px 12px 10px; flex-wrap: wrap; }
  .mh .imp-row { flex-wrap: wrap; }
  .mh .orow { font-size: 14px; }
  .mh .fld input, .mh .askf input, .mh .askf textarea { font-size: 16px; }
  .mh .btn { min-height: 44px; }
}
@media (min-width: 1100px) {
  .mh .mh-main { max-width: 1020px; }
}


.bulk-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.hq-file-hidden { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; overflow: hidden !important; padding: 0 !important; border: 0 !important; }
input[type="file"][hidden] { display: none !important; }
details.program-notes summary {
  cursor: pointer;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted);
  font-weight: 700;
}


details.perf-notes { margin-top: 10px; }
details.perf-notes summary {
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  min-height: 32px;
  display: flex;
  align-items: center;
}


.remove-card { border: 1px solid rgba(216, 108, 92, .38); }
.remove-block { margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, .10); padding-top: 14px; }
.danger-btn { background: #8c3226; color: #fff; }
.danger-btn.armed { background: #b3402e; }
.remove-search {
  display: block; width: 100%; box-sizing: border-box;
  padding: 10px 12px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .05); color: inherit;
  font: inherit; font-size: 14.5px;
}
.remove-result {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .08);
}
.remove-result .who { min-width: 0; overflow-wrap: anywhere; }
.remove-result .subbtn { padding: 8px 14px; font-size: 13.5px; white-space: nowrap; }
.remove-log { max-height: 180px; overflow: auto; font-size: 13px; color: var(--muted); }
.remove-log .entry { padding: 5px 0; border-top: 1px solid rgba(255, 255, 255, .07); overflow-wrap: anywhere; }
.remove-log .entry:first-child { border-top: 0; }
details.program-notes h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-bottom: 12px;
}


.hq-sync-foot { display:flex; align-items:center; justify-content:center; gap:10px; margin:18px 0 6px; padding:10px 12px; font-size:13.5px; color:var(--muted, #5a6a86); }
.hq-sync-foot-btn { background:none; border:0; padding:6px 8px; font:inherit; font-size:13.5px; font-weight:700; color:inherit; text-decoration:underline; cursor:pointer; min-height:32px; }
.hq-sync-overlay { position:fixed; inset:0; z-index:1200; background:rgba(6,17,38,.62); display:flex; align-items:flex-end; justify-content:center; }
.hq-sync-overlay[hidden] { display:none; }
.hq-sync-sheet { background:var(--card); color:var(--text); border:1px solid var(--card-edge); border-bottom:0; width:100%; max-width:640px; max-height:88vh; overflow-y:auto; border-radius:16px 16px 0 0; padding:16px 16px calc(16px + env(safe-area-inset-bottom)); box-sizing:border-box; }


.mb-add-banner { margin:16px 0 0; padding:10px 14px; border:1px solid var(--gold-dim); border-radius:10px; background:rgba(227,179,65,.12); color:var(--text); font-size:14.5px; font-weight:600; }
.mb-add-banner[hidden] { display:none; }
.bulk-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 0; border-bottom:1px solid var(--card-edge); }
.bulk-row:last-child { border-bottom:0; }
.bulk-row-name { font-weight:600; font-size:14.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bulk-row-link { flex:none; font-size:14px; font-weight:700; color:var(--gold); text-decoration:none; padding:6px 4px; }


.crm-check { margin:12px 0 0; padding:10px 12px; border-radius:10px; background:#e7f6ec; color:#14532d; font-weight:700; font-size:15px; line-height:1.4; }
.bulk-attest { margin:12px 0 0; padding:12px; border-radius:10px; border:1px solid rgba(10,31,68,.18); background:#f7f9fc; }
.bulk-attest-q { font-weight:700; font-size:15px; line-height:1.4; color:#0a1f44; }
.attest-btn { border:0; cursor:pointer; margin:0 8px 4px 0; }
.attest-btn[aria-pressed="true"] { outline:3px solid #14532d; outline-offset:2px; }
.attest-no { background:#e5e9f0; color:#0a1f44; }
.bulk-attest-ok { margin:10px 0 0; color:#14532d; font-weight:700; font-size:15px; line-height:1.4; }
.bulk-attest-warn { margin:10px 0 0; color:#7f1d1d; font-weight:700; font-size:15px; line-height:1.4; }
.attest-change { background:none; border:0; padding:0; font:inherit; font-size:13.5px; color:#0a1f44; text-decoration:underline; cursor:pointer; }
.bulk-stage { margin:12px 0 0; padding:14px; border:2px solid #0a1f44; border-radius:12px; background:#fff; }
.bulk-stage.is-error { border-color:#7f1d1d; }
.bulk-stage-msg { margin:0; font-weight:700; font-size:16.5px; line-height:1.4; color:#0a1f44; }
.bulk-stage.is-error .bulk-stage-msg { color:#7f1d1d; }
.bulk-stage-detail { margin:6px 0 0; font-size:14.5px; line-height:1.45; color:#33415c; }
.bulk-confirm-btn { display:block; width:100%; box-sizing:border-box; padding:16px 14px; border:0; border-radius:12px; background:var(--gold); color:#14100a; font:inherit; font-size:18.5px; font-weight:800; cursor:pointer; }
.bulk-done { margin:12px 0 0; padding:16px 14px; border:2px solid #14532d; border-radius:12px; background:#e7f6ec; }
.bulk-done-main { margin:0; font-size:25px; font-weight:800; line-height:1.25; color:#14532d; }
.bulk-done-sub { margin:6px 0 0; font-size:16px; font-weight:600; line-height:1.4; color:#14532d; }
.bulk-stage.is-loading .bulk-stage-msg::before { content:""; display:inline-block; width:15px; height:15px; margin-right:8px; vertical-align:-2px; border:3px solid rgba(10,31,68,.18); border-top-color:#0a1f44; border-radius:50%; animation:bulkspin .8s linear infinite; }
@keyframes bulkspin { to { transform:rotate(360deg); } }
.subbtn.is-disabled { opacity:.45; pointer-events:none; }
.email-footer-box { margin-top:14px; border:1px solid rgba(10,31,68,.14); border-radius:10px; padding:12px; }
.email-footer-preview { margin:0; white-space:pre-wrap; word-break:break-word; font:inherit; font-size:14px; line-height:1.5; color:#0a1f44; background:rgba(10,31,68,.04); border-radius:8px; padding:10px 12px; }


.snd-dry { display:inline-block; margin-left:8px; padding:2px 8px; border-radius:999px; background:var(--warn); color:#14100a; font-size:11px; font-weight:800; letter-spacing:.4px; text-transform:none; }
.snd-dry[hidden] { display:none; }
.snd-block { margin-top:16px; border-top:1px solid var(--card-edge); padding-top:14px; }
.snd-block:first-of-type { margin-top:6px; border-top:0; padding-top:0; }
.snd-lab { display:block; margin:10px 0 0; font-size:13.5px; font-weight:600; color:var(--muted); }
.snd-lab input[type="text"], .snd-lab input[type="number"], .snd-lab textarea, .snd-lab select,
#sndCap {
  display:block; width:100%; box-sizing:border-box; margin-top:5px;
  background:#0a101b; color:var(--text); border:1px solid var(--card-edge);
  border-radius:10px; padding:10px 12px; font:inherit; font-size:14.5px;
}
#sndCap { display:inline-block; width:76px; margin:0 2px; padding:5px 8px; }
.snd-lab textarea { resize:vertical; line-height:1.5; }
.snd-lab input::placeholder, .snd-lab textarea::placeholder { color:var(--muted); }
.snd-days input[type="number"] { display:inline-block; width:76px; margin:0 2px; padding:5px 8px; }
.snd-preview { margin:10px 0 0; white-space:pre-wrap; word-break:break-word; font:inherit; font-size:14px; line-height:1.5; color:var(--text); background:#0a101b; border:1px solid var(--card-edge); border-radius:8px; padding:10px 12px; max-height:320px; overflow:auto; }
.snd-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 0; border-bottom:1px solid var(--card-edge); font-size:14.5px; }
.snd-row:last-child { border-bottom:0; }
.snd-pick { display:flex; align-items:center; gap:9px; font-weight:600; min-width:0; }
.snd-pick input { width:19px; height:19px; accent-color:var(--gold); flex:none; }
.snd-pick span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.snd-btn { display:inline-block; background:var(--gold); color:#14100a; font-weight:800; border:0; cursor:pointer; text-decoration:none; padding:9px 14px; border-radius:9px; font-size:14px; font-family:inherit; }
.snd-btn-ghost { background:transparent; color:var(--gold); border:1px solid var(--gold-dim); padding:6px 10px; font-size:13px; }
.snd-btn:disabled, .subbtn:disabled { opacity:.45; cursor:default; }
.snd-still{display:inline-block;background:#f5c542;color:#111;border-radius:999px;padding:0 8px;font-size:.78rem;font-weight:700}
.snd-noteedit{display:block;margin-top:6px}
.snd-note{width:100%;box-sizing:border-box;font:inherit;font-size:.9rem;padding:6px 8px;border-radius:8px;border:1px solid #bbb;background:transparent;color:inherit}
.h1mem{font-size:.45em;font-weight:700;vertical-align:.55em;letter-spacing:.02em}
.snd-chip { display:inline-block; padding:2px 8px; border-radius:999px; border:1px solid var(--gold-dim); color:var(--gold); font-size:12px; font-weight:700; white-space:nowrap; }
.snd-chip-out { border-color:var(--warn); color:var(--warn); }
.snd-editor { margin-top:10px; border:1px solid var(--card-edge); border-radius:10px; padding:12px; background:rgba(10,16,27,.35); }
.snd-step { margin-top:12px; border-top:1px dashed var(--card-edge); padding-top:10px; }
.snd-step:first-of-type { border-top:0; padding-top:2px; }


.sheet-row { border-top: 1px solid rgba(10,31,68,.12); padding: 12px 0 4px; }
.sheet-row:first-child { border-top: none; padding-top: 2px; }
.sheet-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sheet-name { font-weight: 700; font-size: 1.02rem; }
.sheet-count { color: var(--muted); font-size: 0.92rem; }
.sheet-due { background: var(--gold); color: #14100a; font-weight: 800; font-size: 0.78rem; padding: 2px 9px; border-radius: 999px; }
.sheet-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.sheet-toggle { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.sheet-toggle input { width: 20px; height: 20px; accent-color: var(--navy); margin: 0; }
.sheet-cadence-label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.92rem; }
.sheet-cadence { font-size: 0.95rem; padding: 6px 8px; border-radius: 8px; }
.sheet-next { color: var(--muted); font-size: 0.9rem; }
.sheet-download { padding: 9px 16px; font-size: 15px; cursor: pointer; border: none; }
.sheet-last { margin-top: 6px; }


nav.mb-tabs { margin-top: 10px; }
nav.mb-tabs button {
  flex: 1; background: var(--card); color: var(--muted); border: 1px solid var(--card-edge);
  border-radius: 999px; padding: 11px 10px; font-family: inherit; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; min-height: 44px; white-space: nowrap;
}
nav.mb-tabs button[aria-pressed="true"] { background: var(--gold); color: #14100a; border-color: var(--gold); }
.snd-block[hidden] { display: none !important; }
@media (max-width: 979px) {
  body { padding-bottom: 92px; }
  nav.mb-tabs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: var(--card); border-top: 1px solid var(--card-edge);
    margin: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    flex-wrap: nowrap; gap: 2px;
  }
  nav.mb-tabs button {
    flex: 1 1 0; background: transparent; color: var(--muted); border: none; border-radius: 10px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    font-size: 0.66rem; font-weight: 700; padding: 6px 2px; white-space: normal; min-height: 52px; line-height: 1.15;
  }
  nav.mb-tabs button[aria-pressed="true"] { background: var(--gold); color: #14100a; border: none; }
  nav.mb-tabs .tico { font-size: 1.1rem; line-height: 1; }
}


#agent-start, #agent-link, #agent-update, #agent-login { display: none; }
.hq-agent #agent-start, .hq-agent #agent-link, .hq-agent #agent-update, .hq-agent #agent-login { display: block; }
.hq-agent .asof { display: none !important; }
.ag-label { display: block; font-weight: 600; margin: 10px 0 4px; }
.ag-field-err { display: none; margin: 6px 0 0; color: #ff8a7a; font-weight: 700; font-size: 14.5px; line-height: 1.4; }
.ag-field-err.on { display: block; }
input.ag-field-bad, textarea.ag-field-bad { border: 2px solid #f02849 !important; box-shadow: 0 0 0 3px rgba(240, 40, 73, .45); border-radius: 8px; }
#agent-start input, #agent-load input, #agent-login input, #agLinkUrl, #agPitch, #agPrevPick, #agPrevText {
  display: block; width: 100%; box-sizing: border-box; padding: 9px 12px;
  border-radius: 9px; border: 1px solid var(--card-edge); font: inherit; font-size: 14.5px;
  background: var(--card, #fff); color: var(--text, #12233d);
}

.lm-h { margin: 18px 0 8px; font-size: 1.02rem; }
.lm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line, #e3e3e3); }
.lm-row:last-child { border-bottom: none; }
.lm-badge { border: 1px solid var(--gold, #c9a227); border-radius: 999px; padding: 0 8px; font-size: .78rem; white-space: nowrap; }
.lm-msg { max-width: 86%; margin: 0 0 10px; padding: 10px 12px; border-radius: 14px; background: #f1efe8; }
.lm-msg.mine { margin-left: auto; background: #e8f0e4; }
.lm-meta { margin: 6px 0 0; font-size: .76rem; opacity: .65; }
.lm-chip { border: 1px solid var(--line, #ccc); background: #fff; border-radius: 999px; padding: 6px 10px; margin: 0 6px 6px 0; font-size: .82rem; cursor: pointer; }


.score-chip { display:inline-block; padding:2px 8px; border-radius:999px; border:1px solid var(--gold-dim); font-size:12px; font-weight:700; white-space:nowrap; margin-left:8px; }
.score-hot { background:#7a1f1f; border-color:#7a1f1f; color:#ffd9d0; }
.score-warm { background:#6b5510; border-color:#6b5510; color:#ffe9a8; }
.score-cold { background:transparent; color:var(--gold); opacity:.75; }
.agadd-row { border:1px solid rgba(128,128,128,.35); border-radius:10px; padding:8px 10px; margin:0 0 8px; }
.agadd-row input { display:block; width:100%; box-sizing:border-box; padding:8px 10px; border-radius:8px; border:1px solid rgba(10,31,68,.25); font:inherit; font-size:14px; margin:0 0 6px; }
.agadd-grid { display:flex; gap:6px; }
.agadd-grid input { margin:0; }
.agadd-flag { display:inline-block; padding:1px 8px; border-radius:999px; border:1px solid var(--gold-dim); color:var(--gold); font-size:12px; font-weight:700; margin:2px 6px 0 0; }
.agadd-flag.bad { border-color:#b0563a; color:#e8a08a; }
select#bulkSortSel, select#sndPeopleSortSel { font:inherit; font-size:14px; padding:6px 8px; border-radius:8px; }


#partners-doors, #agent-mylender, #agent-signals { display: none; }
.hq-agent #partners-doors, .hq-agent #agent-mylender, .hq-agent #agent-signals { display: block; }
#view-partners { display: none; }
body.hq-lender #view-agent, body.hq-lender #view-homeowners, body.hq-lender .view-tabs, body.hq-lender #mbTabs,
body.hq-builder #view-agent, body.hq-builder #view-homeowners, body.hq-builder .view-tabs, body.hq-builder #mbTabs { display: none !important; }
body.hq-lender #view-partners, body.hq-builder #view-partners { display: block; }
#partners-doors input, #agent-mylender input, #view-partners input, #view-partners textarea {
  display: block; width: 100%; box-sizing: border-box; padding: 9px 12px;
  border-radius: 9px; border: 1px solid var(--card-edge); font: inherit; font-size: 14.5px;
  background: var(--card, #fff); color: var(--text, #12233d);
}
#view-partners input[type="checkbox"] { display: inline-block; width: auto; padding: 0; }
#pvHead { border: 1px solid var(--card-edge); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }


#find-pros { display: none; }
.hq-agent #find-pros { display: block; }
body.hq-pro #view-agent, body.hq-pro #view-homeowners, body.hq-pro .view-tabs, body.hq-pro #mbTabs { display: none !important; }
body.hq-pro #view-partners { display: block; }
#find-pros select, #partners-doors select, #view-partners select {
  display: block; width: 100%; box-sizing: border-box; padding: 9px 12px;
  border-radius: 9px; border: 1px solid var(--card-edge); font: inherit; font-size: 14.5px;
  background: var(--card, #fff); color: var(--text, #12233d);
}
#view-partners input[type="checkbox"] { display: inline-block; width: auto; padding: 0; }


#referrals-inbox { display: none; }
.hq-agent #referrals-inbox { display: block; }
#referrals-inbox select, #referrals-inbox input[type="text"] {
  display: block; width: 100%; box-sizing: border-box; padding: 9px 12px;
  border-radius: 9px; border: 1px solid var(--card-edge); font: inherit; font-size: 14.5px;
  background: var(--card, #fff); color: var(--text, #12233d);
}
.ri-ladder { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.ri-step { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--card-edge); font-size: 12.5px; font-weight: 600; opacity: .55; }
.ri-step.done { opacity: .85; }
.ri-step.on { opacity: 1; border-color: var(--gold); color: var(--gold); }
.ri-arrow { opacity: .5; font-size: 12px; }


nav.mb-tabs button { position: relative; }
nav.mb-tabs .tico svg { width: 20px; height: 20px; display: block; margin: 0 auto; }
nav.mb-tabs .tlabel { white-space: nowrap; }
.mb-badge { position: absolute; top: 1px; right: calc(50% - 21px); min-width: 16px; height: 16px;
  line-height: 16px; padding: 0 4px; border-radius: 999px; background: var(--gold); color: #14100a;
  font-size: 10px; font-weight: 800; text-align: center; box-sizing: border-box; }
.mb-badge[hidden] { display: none; }


.mb-viewhide { display: none !important; }
.ad-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line, #e3e3e3); margin: 0; }
.ad-row span { opacity: .7; }
.ad-row strong { text-align: right; }


.ml-search { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid var(--card-edge, #24344c); border-radius: 999px; padding: 8px 14px; margin: 2px 0 8px; }
.ml-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: inherit; font: inherit; font-size: 15px; }
.ml-search input::placeholder { color: var(--muted, #9db0c5); }
.ml-rail { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.ml-railitem { flex: 0 0 auto; width: 62px; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ml-railname { font-size: 12px; max-width: 62px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-ava { position: relative; flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; background: var(--gold, #c9a227); color: #14100a; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center; }
.ml-railitem .ml-ava { width: 52px; height: 52px; }
.ml-on { position: absolute; right: 0; bottom: 0; width: 13px; height: 13px; border-radius: 50%; background: #31a24c; border: 2px solid var(--card, #16202f); }
.ml-avadot { position: absolute; right: 0; bottom: 0; border: 2px solid var(--card, #16202f); }
.ml-row { display: flex; gap: 12px; align-items: center; width: 100%; background: none; border: 0; border-radius: 12px; padding: 9px 6px; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.ml-row:active { background: rgba(255,255,255,.06); }
.ml-main { flex: 1; min-width: 0; display: block; }
.ml-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ml-name { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-time { font-size: 12px; color: var(--muted, #9db0c5); flex: 0 0 auto; }
.ml-prevrow { display: flex; align-items: center; gap: 6px; margin-top: 1px; }
.ml-prev { flex: 1; min-width: 0; font-size: 13.5px; color: var(--muted, #9db0c5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-row.ml-unread .ml-name { font-weight: 800; }
.ml-row.ml-unread .ml-prev { color: var(--text, #eef2f7); font-weight: 600; }
.ml-udot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold, #e3b341); flex: 0 0 auto; }
.ml-nav { display: flex; border-top: 1px solid var(--card-edge, #24344c); margin-top: 10px; padding-top: 4px; max-width: 100%; overflow: hidden; }
.ml-nav button { flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: none; border: 0; color: var(--muted, #9db0c5); font: inherit; font-size: 12.5px; padding: 9px 0 4px; cursor: pointer; }
.ml-nav button.ml-on { color: var(--gold, #c9a227); font-weight: 700; }
.ml-badge { background: #f02849; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 1px 6px; vertical-align: 2px; }
.ml-paywall { background: var(--gold, #e3b341); color: #14100a; border-radius: 999px; padding: 9px 14px; margin-top: 10px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.ml-planlink { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: #14100a; text-decoration: underline; cursor: pointer; }
.ml-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ml-head h2 { margin: 0; text-transform: lowercase; letter-spacing: .01em; }
.ml-compose { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--card-edge, #24344c); background: rgba(255,255,255,.07); color: var(--gold, #e3b341); font-size: 18px; line-height: 1; cursor: pointer; }
.ml-samplepill { display: inline-block; background: var(--gold, #c9a227); color: #14100a; font-size: 11px; font-weight: 800; letter-spacing: .06em; border-radius: 999px; padding: 2px 8px; vertical-align: 2px; }

.ml-daysep { text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: .3px; color: var(--muted, #9db0c5); margin: 14px 0 8px; }
.ml-brow { display: flex; gap: 8px; align-items: flex-end; margin: 0 0 2px; }
.ml-brow.me { justify-content: flex-end; }
.ml-bava { flex: 0 0 auto; width: 28px; }
.ml-ava-sm { width: 28px; height: 28px; font-size: 11px; }
.ml-bub { max-width: 75%; padding: 8px 12px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.ml-bub.them { background: #2c3a4f; color: var(--text, #eef2f7); border-bottom-left-radius: 4px; }
.ml-bub.me { background: var(--gold, #e3b341); color: #14100a; border-bottom-right-radius: 4px; }
.ml-composer { display: flex; gap: 8px; align-items: flex-end; margin-top: 12px; background: rgba(255,255,255,.07); border: 1px solid var(--card-edge, #24344c); border-radius: 999px; padding: 5px 5px 5px 16px; }
.ml-cinput { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: inherit; font: inherit; font-size: 15px; resize: none; max-height: 110px; padding: 7px 0; }
.ml-sendbtn { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--gold, #e3b341); color: #14100a; font-size: 15px; line-height: 1; cursor: pointer; }
.ml-ava-img { object-fit: cover; padding: 0; }
.fp-ava { width: 42px; height: 42px; font-size: 15px; object-fit: cover; margin-right: 2px; }
.pf-ava-img { object-fit: cover; padding: 0; }
.cx-photo-prev { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--gold, #e3b341); }


#agent-profile { padding: 0; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.pf-cover { height: 104px; background:
  radial-gradient(420px 120px at 85% -20%, rgba(227,179,65,.5), rgba(227,179,65,0) 60%),
  linear-gradient(120deg, #0a1f44 0%, #274b8f 46%, #c9a227 130%); }
.pf-ava {
  width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(150deg, #f0cd6a, var(--gold) 55%, #c9a227); color: #14100a;
  font-family: 'Archivo','Inter',sans-serif; font-size: 33px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--card); margin: -46px 0 0 18px; position: relative;
  box-shadow: 0 0 0 2px var(--gold), 0 10px 22px rgba(0,0,0,.45);
}

button.pf-ava-btn { padding: 0; font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button.pf-ava-btn:active { filter: brightness(1.08); }
.pf-ava-photo { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.pf-ava-badge {
  position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%;
  background: #101828; border: 2px solid var(--gold); color: #fff; font-size: 14px; font-weight: 400;
  display: flex; align-items: center; justify-content: center; line-height: 1; pointer-events: none;
}
.pf-main { padding: 10px 20px 20px; }
.pf-name { font-family: 'Archivo','Inter',sans-serif; font-size: 27px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin: 6px 0 4px; }
.pf-head-line { color: var(--muted); font-size: 14.5px; margin: 0; }
.pf-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 0; }
.pf-chip { display: inline-block; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--card-edge); background: rgba(255,255,255,.05); color: var(--text); font-size: 12.5px; font-weight: 700; letter-spacing: .2px; }
.pf-chip-role { background: var(--gold); border-color: var(--gold); color: #14100a; text-transform: uppercase; letter-spacing: .8px; font-size: 11.5px; }
.pf-chip-sep { color: var(--muted); font-size: 12px; }
.pf-line { color: var(--muted); font-size: 14.5px; margin: 4px 0 0; }
.pf-tiles { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pf-tile {
  flex: 1 1 40%; border: 1px solid rgba(227, 179, 65, .45); border-radius: 14px;
  padding: 12px 8px 10px; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.pf-tile-n { font-family: 'Archivo','Inter',sans-serif; font-size: 23px; font-weight: 800; line-height: 1.15; }
.pf-tile-t { font-size: 17px; padding-top: 3px; }
.pf-tile-l { font-size: 11px; font-weight: 700; letter-spacing: .4px; color: var(--muted); margin-top: 2px; text-transform: uppercase; }
.pf-about { margin-top: 16px; border-top: 1px solid var(--card-edge); padding-top: 12px; }
.pf-about h3 { font-size: 12.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin: 0 0 5px; }
.pf-about p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.pf-muted { color: var(--muted); }
.pf-actions { margin: 16px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.pf-actions .subbtn { flex: 1 1 auto; }
.pf-ghost { background: transparent !important; color: var(--gold) !important; border: 1.5px solid var(--gold) !important; }
.rs-tiles .pf-tile { flex: 1 1 28%; }


#bouncecheck { padding: 0; border: none; border-radius: 0; background: transparent; margin: 16px -16px 0; }
#bouncecheck > h2 { padding: 4px 14px 0; }
#bouncecheck > .note, #bouncecheck > p { padding-left: 14px; padding-right: 14px; }
#bouncecheck > p:last-child { padding-bottom: 14px; }
#bouncecheck .bc-frame-wrap { margin-top: 12px; }
@media (max-width: 640px) {
  #bouncecheck { margin: 12px -12px 0; }
}
@media (min-width: 980px) {
  #bouncecheck { margin: 18px -24px 0; grid-column: 1 / -1; }
}


#hqPhotoInput { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0.01 !important; overflow: hidden !important; padding: 0 !important; border: 0 !important; }
.hq-photo-status { margin: 8px 2px 0; font-size: 13px; line-height: 1.45; color: #aeb8c4; }
.hq-photo-status.ok { color: #82d18d; }
.hq-photo-status.err { color: #ffa08c; }

#agPhotoPrev[hidden], #agPhotoInit[hidden] { display: none !important; }

.hq-photo-confirm { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 2px 0; }
.hq-photo-confirm[hidden] { display: none !important; }
.hq-photo-confirm img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.hq-photo-confirm-t { font-size: 14px; font-weight: 600; }

/* v3.2.132 — Command Center hero: the book scored 0–100 above the fold */
.cc-hero { margin: 16px auto 4px; max-width: 520px; text-align: left; background: linear-gradient(160deg, #1a2a44, var(--card)); border: 1px solid var(--gold-dim); border-radius: 18px; padding: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.cc-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.cc-sample { background: var(--gold); color: #14100a; border-radius: 999px; padding: 2px 9px; font-size: .68rem; letter-spacing: .8px; }
.cc-score { margin-top: 6px; line-height: 1; }
.cc-score-num { font-family: 'Archivo','Inter',sans-serif; font-size: 4rem; font-weight: 800; color: var(--gold); letter-spacing: -.02em; }
.cc-score-den { font-size: 1.3rem; font-weight: 700; color: var(--muted); margin-left: 4px; }
.cc-who { margin-top: 8px; font-size: 1rem; line-height: 1.5; }
.cc-next { margin-top: 14px; }
.cc-cta { display: block; text-align: center; min-height: 52px; line-height: 52px; padding: 0 20px; border-radius: 12px; background: var(--gold); color: #14100a; font-weight: 800; font-size: 1.02rem; text-decoration: none; }
.cc-fine { margin-top: 10px; font-size: .82rem; color: var(--muted); }

.pf-vis { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--card-edge, #24344c); }
.pf-vis .sheet-toggle { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; cursor: pointer; }
.pf-vis .sheet-toggle input { width: 22px; height: 22px; accent-color: var(--gold, #e3b341); margin: 0; }
.ld-hero { margin: 16px auto 4px; max-width: 520px; text-align: left; background: linear-gradient(160deg, #1a2a44, var(--card)); border: 1px solid var(--gold-dim); border-radius: 18px; padding: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.ld-eyebrow { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.ld-head { margin: 8px 0 0; font-family: 'Archivo','Inter',sans-serif; font-size: 1.55rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.ld-sub { margin: 10px 0 0; font-size: .98rem; line-height: 1.55; }
.ld-list { margin: 12px 0 0; padding: 0; list-style: none; }
.ld-list li { margin-top: 10px; font-size: .95rem; line-height: 1.5; }
.ld-list li strong { color: var(--gold); }
.ld-price { margin: 14px 0 0; font-size: .95rem; line-height: 1.55; }
.ld-ctas { margin: 14px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.ld-cta { flex: 1 1 210px; display: block; text-align: center; min-height: 52px; line-height: 52px; padding: 0 20px; border-radius: 12px; background: var(--gold); color: #14100a; font-weight: 800; font-size: 1.02rem; text-decoration: none; }
.ld-cta2 { flex: 1 1 210px; display: block; text-align: center; min-height: 52px; line-height: 52px; padding: 0 20px; border-radius: 12px; background: var(--gold); color: #14100a; font-weight: 800; font-size: 1.02rem; text-decoration: none; }

/* v3.2.132 — co-brand preview (mirror of the .cb-* rules inlined in index.html) */
.cb-wrap { margin: 14px auto 4px; max-width: 520px; text-align: left; }
.cb-label { margin: 0; font-size: .95rem; font-weight: 800; color: var(--gold); }
.cb-inputs { display: flex; gap: 8px; margin-top: 8px; }
.cb-inputs input { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--gold-dim); background: rgba(255,255,255,.06); color: var(--text); font: inherit; font-size: 1rem; }
.cb-inputs input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(227,179,65,.35); }
.cb-card { margin-top: 12px; background: linear-gradient(180deg, #fdfaf1, #f5edd9); color: #17233c; border-radius: 16px; padding: 16px; box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.cb-top { display: flex; align-items: center; gap: 8px; }
.cb-pill { background: var(--gold); color: #14100a; border-radius: 999px; padding: 2px 9px; font-size: .68rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.cb-kind { font-size: .78rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #7a6a35; }
.cb-hi { margin: 12px 0 0; font-size: 1rem; line-height: 1.5; }
.cb-vlab { margin: 12px 0 0; font-size: .78rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #6b7686; }
.cb-val { margin: 2px 0 0; font-family: 'Archivo','Inter',sans-serif; font-size: 2.1rem; font-weight: 800; line-height: 1.1; color: #0a1f44; letter-spacing: -.01em; }
.cb-sub { margin: 4px 0 0; font-size: .88rem; color: #55617a; }
.cb-from { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(20,35,60,.12); display: flex; align-items: center; gap: 9px; font-size: .95rem; }
.cb-fava { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: #274b8f; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; }
.cb-spon { margin-top: 10px; display: flex; align-items: center; gap: 10px; background: rgba(201,162,39,.18); border: 1px solid rgba(201,162,39,.6); border-radius: 12px; padding: 10px 12px; }
.cb-sava { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: #0a1f44; color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 800; }
.cb-spon-t { font-size: .95rem; line-height: 1.4; }
.cb-cap { margin: 10px 0 0; font-size: .92rem; color: var(--muted); }

/* v3.2.132 — connected-lender card (My lender → Lender connection) */
.ml-lender-card { border: 1px solid var(--gold-dim, #8a6d1f); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border-radius: 14px; padding: 12px 14px; }
.ml-lender-head { display: flex; gap: 11px; align-items: center; }
.ml-lender-ava { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--gold, #e3b341); color: #14100a; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px rgba(227,179,65,.4); }

/* v3.2.132 — Profile setup flow (questions first, then the profile) */
.su-prog { margin: 2px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--muted, #9db0c5); }
.su-dots { display: flex; gap: 6px; margin: 8px 0 0; }
.su-dot { width: 22px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.14); }
.su-dot.on { background: var(--gold, #e3b341); }
.su-q { font-family: 'Archivo','Inter',sans-serif; font-size: 22px; font-weight: 800; line-height: 1.25; margin: 14px 0 0; }
.su-roles { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.su-role { min-height: 60px; border-radius: 14px; border: 1.5px solid var(--gold, #e3b341); background: rgba(255,255,255,.04); color: var(--text, #eef2f7); font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.su-role.sel { background: var(--gold, #e3b341); color: #14100a; }
.su-input { display: block; width: 100%; box-sizing: border-box; margin-top: 14px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--card-edge, #24344c); font: inherit; font-size: 16px; background: rgba(255,255,255,.06); color: var(--text, #eef2f7); }
.su-input:focus { outline: none; border-color: var(--gold, #e3b341); box-shadow: 0 0 0 2px rgba(227,179,65,.35); }
.su-err { margin: 10px 0 0; color: #ff8a7a; font-weight: 700; font-size: 14.5px; line-height: 1.4; }
.pf-join { display: block; text-align: center; min-height: 52px; line-height: 52px; padding: 0 20px; border-radius: 12px; background: var(--gold, #e3b341); color: #14100a; font-weight: 800; font-size: 1.02rem; text-decoration: none; }

/* v3.2.132 — Messages = Messenger shape: compact lock card, requests block,
   pinned composer (rides above the fixed tab bar on phones) */
.ml-lock { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border: 1px solid var(--gold-dim, #8a6d1f); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border-radius: 14px; padding: 12px 14px; margin: 0 0 10px; }
.ml-lock-t { margin: 0; font-size: 14.5px; font-weight: 700; flex: 1 1 170px; }
.ml-lock-b { flex: 0 0 auto; }
.cx-reqs { border-bottom: 1px solid var(--card-edge, #24344c); padding: 2px 0 8px; margin-bottom: 8px; }
.ml-head h2 { text-transform: none; letter-spacing: 0; }
.ml-composer { position: sticky; bottom: 10px; z-index: 6; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
@media (max-width: 979px) { .ml-composer { bottom: 84px; } }

/* Email-only contacts (v3.2.135) + Send audience toggle */
.eoc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eoc-who { overflow-wrap: anywhere; }
.eoc-meta { opacity: .65; }
.eoc-del { flex: 0 0 auto; padding: 4px 10px; font-size: 13px; }
.snd-aud[aria-pressed="true"] { background: var(--gold); color: #14100a; border-color: var(--gold); font-weight: 700; }
