:root {
  --navy: #0a1628;
  --navy2: #10233d;
  --gold: #c9a227;
  --gold-bright: #e3c04a;
  --ink: #1c2733;
  --muted: #5b6b7c;
  --bg: #f4f6f9;
  --card: #ffffff;
  --line: #dde4ec;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

.site-header {
  background: var(--navy);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { display: flex; gap: 12px; align-items: center; }
.monogram {
  width: 44px; height: 44px; border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 800; letter-spacing: 1px; font-size: 15px;
}
.brand-name { font-weight: 700; font-size: 17px; }
.brand-tag { color: var(--gold); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.call-btn {
  color: var(--navy); background: var(--gold); text-decoration: none; font-weight: 700;
  padding: 9px 12px; border-radius: 9px; font-size: 13px; white-space: nowrap;
}

main { max-width: 680px; margin: 0 auto; padding: 16px; }

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%);
  color: #fff; border-radius: var(--radius); padding: 28px 22px; margin-bottom: 16px;
}
.hero h1 { margin: 0 0 8px; font-size: 27px; line-height: 1.2; }
.hero p { color: #c8d3e0; margin: 0 0 14px; }
.hero-steps { list-style: none; padding: 0; margin: 0 0 18px; }
.hero-steps li { padding: 3px 0; color: #e9eef5; }
.hero-steps strong { color: var(--gold); }
.trust { font-size: 13px; color: #93a5bb !important; margin-top: 10px !important; }

.cta {
  display: inline-block; background: var(--gold); color: var(--navy); border: none;
  font-size: 16px; font-weight: 700; padding: 13px 20px; border-radius: 10px;
  cursor: pointer; text-decoration: none; width: 100%; text-align: center; margin-top: 10px;
}
.cta:hover { background: var(--gold-bright); }
.cta.gold { background: var(--navy); color: var(--gold); border: 2px solid var(--gold); }
.ghost {
  background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 9px;
  padding: 9px 14px; cursor: pointer; font-size: 14px;
}
.ghost-cta { background: #fff; border: 2px solid var(--navy); color: var(--navy); }
.back { margin-top: 12px; }

.progress {
  display: flex; gap: 4px; margin-bottom: 14px; flex-wrap: wrap;
}
.progress span {
  flex: 1; text-align: center; font-size: 12px; padding: 7px 2px; border-radius: 7px;
  background: #e3e9f0; color: var(--muted); min-width: 56px;
}
.progress span.on { background: var(--navy); color: var(--gold); font-weight: 700; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px;
}
.card h2 { margin-top: 0; font-size: 20px; color: var(--navy); }

label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--navy); }
label.check { display: flex; gap: 8px; align-items: center; font-weight: 500; color: var(--ink); }
input, select, textarea {
  width: 100%; padding: 11px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 16px; margin-top: 4px; background: #fff; color: var(--ink);
}
label.check input { width: auto; margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { color: var(--muted); font-size: 14px; }
.ai-note { font-size: 13px; color: var(--muted); }

.room { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.room-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.room-head strong { color: var(--navy); }
.room-head button { border: none; background: none; color: #b03a2e; cursor: pointer; font-size: 13px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumb { position: relative; width: 76px; height: 76px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.thumb button {
  position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%;
  border: none; background: var(--navy); color: #fff; cursor: pointer; font-size: 13px; line-height: 1;
}
.add-room { display: flex; gap: 8px; }
.add-room input { flex: 1; margin-top: 0; }
.add-room button { white-space: nowrap; }

.badge {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
  background: var(--navy); color: var(--gold); margin-bottom: 10px;
}
.badge.manual { background: #eef1f5; color: var(--navy); border: 1px solid var(--gold); }
.analysis-room { margin-bottom: 14px; }
.analysis-room h3 { margin: 0 0 4px; font-size: 16px; color: var(--navy); }
.analysis-room ul { margin: 0; padding-left: 18px; }
.totals {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0;
}
.totals div { background: #f0f3f8; border-radius: 10px; padding: 12px; text-align: center; }
.totals b { display: block; font-size: 20px; color: var(--navy); }
.totals span { font-size: 12px; color: var(--muted); }
.flags { background: #fdf6e0; border: 1px solid var(--gold); border-radius: 10px; padding: 12px 16px; margin-bottom: 12px; }
.flags h3, .prep h3 { margin: 0 0 6px; font-size: 15px; color: var(--navy); }
.flags ul, .prep ul { margin: 0; padding-left: 18px; font-size: 14px; }

.price-lines { width: 100%; border-collapse: collapse; margin: 10px 0; }
.price-lines td { padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-lines td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.price-lines .detail { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.range { font-size: 20px; font-weight: 800; color: var(--navy); margin: 8px 0 2px; }
.disclaimer { font-size: 13px; color: var(--muted); }

.compare { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.compare th, .compare td { padding: 8px; border: 1px solid var(--line); text-align: left; }
.compare th { background: var(--navy); color: #fff; }
.compare tr.pe td { background: #fdf6e0; font-weight: 700; }
.match-card {
  border: 2px solid var(--gold); border-radius: 10px; padding: 16px; margin-top: 16px; background: #fffdf4;
}
.match-card h3 { margin-top: 0; color: var(--navy); }
.match-card textarea { min-height: 70px; }
.deposit-card {
  border: 2px solid var(--navy); border-radius: 10px; padding: 16px; margin-top: 16px; background: #f2f6fc;
}
.deposit-card h3 { margin-top: 0; color: var(--navy); }
.deposit-card .cta { display: inline-block; margin-top: 6px; text-decoration: none; }

.confirm-actions { display: grid; gap: 4px; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 20px 16px 30px; }
footer a { color: var(--navy); }
.fineprint { font-size: 12px; }
.error { color: #b03a2e; font-size: 14px; }

table.leads { width: 100%; border-collapse: collapse; font-size: 14px; }
table.leads th, table.leads td { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; }
table.leads tr { cursor: pointer; }
.admin-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-photos img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; }
pre.dump { background: #0a1628; color: #d7e3f2; padding: 12px; border-radius: 10px; overflow-x: auto; font-size: 12px; }
