/* Firstkey: night blue (trust) and brick red (Amsterdam and Paris facades) on light stone. Layout: single column, generous sections, sticky top bar. */
:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --ink: #13294b;
  --muted: #56627a;
  --line: #e6dfd4;
  --accent: #13294b;
  --accent-ink: #ffffff;
  --accent-soft: #e8edf5;
  --brick: #b4533a;
  --brick-soft: #f3ddd5;
  --ok: #1d7a55;
  --ok-soft: #e7f4ee;
  --warn: #9a5b00;
  --warn-soft: #fff5e0;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1727; --surface: #152238; --ink: #eef1f6; --muted: #a3adc0; --line: #24324b;
    --accent: #9db8e8; --accent-ink: #0e1727; --accent-soft: #1d2c47; --brick: #e07a5f; --brick-soft: #3a2420;
    --ok: #4fc493; --ok-soft: #15281f; --warn: #f0b04a; --warn-soft: #2a2213;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1727; --surface: #152238; --ink: #eef1f6; --muted: #a3adc0; --line: #24324b;
  --accent: #9db8e8; --accent-ink: #0e1727; --accent-soft: #1d2c47; --brick: #e07a5f; --brick-soft: #3a2420;
  --ok: #4fc493; --ok-soft: #15281f; --warn: #f0b04a; --warn-soft: #2a2213;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-body); }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }

/* top bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; text-decoration: none; letter-spacing: -0.03em; }
.logo span { color: var(--brick); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav a.hide-sm { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: 600 1rem var(--font-body); padding: 14px 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .choice:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.small { padding: 9px 16px; font-size: .9rem; }

/* hero */
.hero { padding-block: clamp(48px, 9vw, 110px) 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 em { font-style: normal; color: var(--brick); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-top: 20px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero .fine { margin-top: 14px; font-size: .88rem; color: var(--muted); }

/* live board mock */
.board { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 10px; }
.board-head { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; margin-right: 6px; }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 1.6s ease-in-out infinite; } @keyframes pulse { 50% { opacity: .3; } } }
.row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.row b { font-weight: 600; }
.row .meta { font-size: .82rem; color: var(--muted); }
.tag { font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; align-self: start; white-space: nowrap; }
.tag.sent { background: var(--accent-soft); color: var(--accent); }
.tag.view { background: var(--ok-soft); color: var(--ok); }
.tag.new { background: var(--line); color: var(--muted); }

/* sections */
section.band { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.section-head { max-width: 640px; display: grid; gap: 12px; margin-bottom: 36px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--accent); line-height: 1; }

/* pricing */
.price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); font-family: var(--font-body); }
.plan ul { margin: 6px 0 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--muted); }
.plan.featured { border: 2px solid var(--accent); }
.badge { justify-self: start; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.nocure { margin-top: 22px; padding: 16px 20px; border-radius: var(--radius); background: var(--ok-soft); color: var(--ok); font-weight: 500; }

/* faq */
details { border-bottom: 1px solid var(--line); padding-block: 16px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--accent); font-weight: 700; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 10px; color: var(--muted); max-width: 60em; }

.cta-band { background: var(--ink); color: var(--bg); border-radius: 24px; padding: clamp(32px, 6vw, 64px); display: grid; gap: 18px; justify-items: start; }
.cta-band p { color: color-mix(in srgb, var(--bg) 75%, var(--ink)); max-width: 36em; }
footer { padding-block: 40px; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); margin-top: 64px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* form */
.form-shell { max-width: 720px; margin: 0 auto; padding-block: 40px 80px; }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 18px 0 28px; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }
.step { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .legend { font-weight: 600; }
.hint { font-size: .86rem; color: var(--muted); }
.field small.hint { font-size: .78rem; font-weight: 400; margin-top: -4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
textarea { min-height: 96px; resize: vertical; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); cursor: pointer; display: flex; gap: 10px; align-items: center; }
.choice input { accent-color: var(--accent); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.error { color: #c2410c; font-size: .88rem; }
.result { border-radius: 18px; padding: 26px; display: grid; gap: 12px; border: 1px solid var(--line); background: var(--surface); }
.result.good { border: 2px solid var(--ok); }
.result.maybe { border: 2px solid var(--warn); }
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kpi div { background: var(--bg); border-radius: 12px; padding: 12px; }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--accent); }
[hidden] { display: none !important; }

/* language switch with flags */
.brand { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--muted); font: 600 .8rem var(--font-body); padding: 6px 10px; cursor: pointer; }
.lang button svg { width: 18px; height: 12px; border-radius: 2px; flex: none; }
.lang button[aria-pressed="true"] { background: var(--accent-soft); color: var(--ink); }
.langpick { display: inline-flex; margin-left: 6px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.langpick[hidden], .langpick button[hidden] { display: none; }
.langpick button { border: 0; background: transparent; color: var(--muted); font: 600 .72rem var(--font-body); padding: 5px 8px; cursor: pointer; }
.langpick button[aria-pressed="true"] { background: var(--accent-soft); color: var(--ink); }

/* city search */
.citybox { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; max-height: 260px; overflow-y: auto; padding: 4px; }
.suggest button { display: flex; justify-content: space-between; width: 100%; text-align: left; border: 0; background: transparent; color: var(--ink); font: inherit; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.suggest button:hover, .suggest button:focus-visible { background: var(--accent-soft); }
.chips { display: grid; gap: 8px; }
.chip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1.5px solid var(--accent); background: var(--accent-soft); border-radius: 12px; padding: 8px 12px; }
.chip b { margin-right: auto; }
.chip select { width: auto; padding: 6px 10px; }
.chip .x { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; text-decoration: underline; }
.flag-mini { font-size: .78rem; color: var(--muted); }

/* account + recommendations */
.recs { display: grid; gap: 12px; }
.rec { display: grid; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.rec.info { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.rec .btn { justify-self: start; }
.rec .saved { color: var(--ok); font-weight: 600; font-size: .9rem; }
.verdict { padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.verdict.ok { background: var(--ok-soft); color: var(--ok); }
.verdict.tight, .verdict.hard { background: var(--warn-soft); color: var(--warn); }
.ctas3 { display: flex; gap: 12px; flex-wrap: wrap; }

/* listings */
.listing { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; }
@media (max-width: 640px) { .listing { grid-template-columns: auto 1fr; } .listing .btn { grid-column: 1 / -1; justify-self: stretch; } }
.score { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font: 700 1.25rem var(--font-display); background: var(--accent-soft); color: var(--accent); font-variant-numeric: tabular-nums; }
.score.hi { background: var(--ok-soft); color: var(--ok); }
.score small { display: block; font: 600 .62rem var(--font-body); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: -10px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; color: var(--muted); }
.pts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pt { font-size: .8rem; padding: 3px 9px; border-radius: 999px; }
.pt.w { background: var(--warn-soft); color: var(--warn); }
.pt.g { background: var(--ok-soft); color: var(--ok); }
.demo { font-size: .85rem; color: var(--warn); background: var(--warn-soft); padding: 8px 12px; border-radius: 10px; justify-self: start; }

/* modal */
.backdrop { position: fixed; inset: 0; background: rgba(10, 12, 16, .55); display: grid; place-items: center; padding: 16px; z-index: 50; }
.modal { background: var(--surface); color: var(--ink); border-radius: 22px; max-width: 520px; width: 100%; padding: 28px; display: grid; gap: 14px; max-height: calc(100vh - 32px); overflow-y: auto; }
.modal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--muted); }
.modal .row2 { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* v3: listing photo, source link, 3-step progress, documents, file score */
.listing .media { display: grid; }
.listing .thumb { position: relative; display: block; width: 132px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--bg); }
.listing .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing .thumb .score { position: absolute; left: 6px; bottom: 6px; width: 46px; height: 46px; font-size: 1.05rem; border-radius: 12px; box-shadow: 0 2px 8px rgb(0 0 0 / .18); }
@media (max-width: 640px) { .listing .thumb { width: 96px; } }
.srclink { display: inline-block; margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--accent); }
.steps3 { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.steps3 li { font-size: .82rem; padding: 5px 11px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.steps3 li.done { background: var(--ok-soft); color: var(--ok); }
.steps3 li.now { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.docs { display: grid; gap: 8px; }
.doc { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.doc label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.doc .opt { font-size: .78rem; color: var(--muted); }
.doc input[type=file] { font-size: .8rem; max-width: 190px; }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.bar i { display: block; height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.bar i b { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.bigscore { font: 800 3rem var(--font-display); line-height: 1; font-variant-numeric: tabular-nums; }
.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 8px; align-content: start; }
.plan .price { margin: 0; }
.about { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.about .face { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); display: grid; place-items: center; font: 800 2.4rem var(--font-display); color: var(--accent); }
@media (max-width: 640px) { .about { grid-template-columns: 1fr; } }

/* One-page tenant profile (printed to PDF) */
.pp { background: #fff; color: #16181d; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: grid; gap: 16px; max-width: 820px; padding: 0 0 22px; }
.pp > *:not(.pp-band) { margin-inline: 30px; }
.pp-band { background: var(--accent); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 16px 30px; }
.pp-band .logo { color: #fff; } .pp-band .logo span { color: #f3ddd5; }
.pp-kind { font: 600 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .12em; opacity: .9; }
.pp-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.pp-hero .face { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 800 2.4rem var(--font-display); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.pp-hero h1 { font-size: 2rem; margin: 0; line-height: 1.1; }
.pp-sub { margin: 4px 0 0; color: var(--muted); }
.pp-score { text-align: center; background: var(--ok-soft); color: var(--ok); border-radius: 16px; padding: 12px 16px; }
.pp-score b { display: block; font: 800 2rem var(--font-display); line-height: 1; }
.pp-score span { font-size: .7rem; }
.pp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.pp-tiles div { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.pp-tiles b { display: block; font: 700 1.1rem var(--font-display); }
.pp-tiles span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pp-strengths { background: var(--ok-soft); border-radius: 14px; padding: 14px 18px; }
.pp-strengths ul { list-style: none; padding-left: 0; }
.pp-strengths li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pp-sec h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 0 0 6px; }
.pp-sec ul { margin: 0; padding-left: 1.1em; display: grid; gap: 3px; font-size: .95rem; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-chips span { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.pp-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
@media (max-width: 640px) { .pp-grid, .pp-hero { grid-template-columns: 1fr; } .pp > *:not(.pp-band) { margin-inline: 18px; } }
@media print {
  @page { size: A4; margin: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { background: #fff !important; }
  header#top, .no-print, #modal, footer.site { display: none !important; }
  main.wrap { padding: 0 !important; max-width: none !important; margin: 0 !important; }
  .pp { border: 0; border-radius: 0; max-width: none; min-height: 297mm; }
  .pp-grid { grid-template-columns: 1fr 1fr; }
  .pp-hero { grid-template-columns: auto 1fr auto; }
}

/* Text pages (about, press) */
.textpage { display: grid; gap: 14px; max-width: 760px; }
.textpage ul.plain { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--muted); }
.quote { margin: 8px 0; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0; }
.quote p { margin: 0; font: 600 1.15rem/1.5 var(--font-display); }
.quote cite { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: .9rem; }
.facts-dl { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 8px 18px; margin: 0; }
.facts-dl dt { color: var(--muted); }
.facts-dl dd { margin: 0; }
footer nav { display: flex; gap: 16px; }
footer nav a { color: inherit; }
@media print { .textpage .ctas3 { display: none; } }

/* Site footer */
footer.site { padding-block: 40px; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); margin-top: 64px; }
footer.site .foot { display: grid; gap: 28px 40px; grid-template-columns: minmax(220px, 1.2fr) 2fr; align-items: start; }
footer.site .foot-brand p { margin: 10px 0 0; max-width: 360px; line-height: 1.5; }
footer.site .foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
footer.site .foot-col h4 { margin: 0 0 10px; font: 600 .78rem/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
footer.site .foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site .foot-col a { color: inherit; text-decoration: none; }
footer.site .foot-col a:hover { color: var(--ink); text-decoration: underline; }
footer.site .foot-bottom { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); max-width: none; }
footer.site .logo { font-size: 1.3rem; }
@media (max-width: 760px) { footer.site .foot { grid-template-columns: 1fr; } }
@media (max-width: 460px) { footer.site .foot-cols { grid-template-columns: 1fr 1fr; } }
@media print { footer.site { display: none; } }

/* File review and photo */
.review { display: grid; gap: 14px; }
.review ul.pros li::marker { content: "✓  "; color: var(--ok); }
.review ul.cons li::marker { content: "!  "; color: var(--warn); font-weight: 700; }
.review ul.plain { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; }
.photo-row { gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
.photo-row .face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 800 1.6rem var(--font-display); }
.photo-row > div { flex: 1; min-width: 160px; }
.photo-row p { margin: 2px 0 0; }
.small { font-size: .85rem; }
.pdfcard { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-color: var(--accent); }
.pdfcard p { margin: 0; max-width: 420px; }
.photo-row [hidden] { display: none; }
.msgbox { width: 100%; font: .9rem/1.5 var(--font-body); padding: 12px; border: 1px solid var(--line); border-radius: 12px; resize: vertical; background: var(--bg); }

/* Agent dashboard */
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { display: grid; gap: 2px; padding: 8px 12px; border-radius: 12px; background: var(--bg); color: var(--muted); font-size: .85rem; }
.tool.on { background: var(--ok-soft); color: var(--ok); }
.tool small { font-size: .72rem; }
.invite { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.invite code { background: var(--bg); padding: 6px 10px; border-radius: 8px; font-size: .82rem; word-break: break-all; }
.tablewrap { overflow-x: auto; }
table.dash { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 760px; }
table.dash th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
table.dash td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.dash .match { display: block; font-size: .8rem; margin-bottom: 3px; }
.badge-score { font: 700 .95rem var(--font-display); padding: 3px 9px; border-radius: 999px; }
.badge-score.hi { background: var(--ok-soft); color: var(--ok); }
.badge-score.mid { background: var(--accent-soft); color: var(--accent); }
.badge-score.lo { background: var(--warn-soft); color: var(--warn); }
.badge-premium { font: 700 .78rem var(--font-display); padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--surface); letter-spacing: .02em; cursor: help; }
.badge-premium.potentiel { background: var(--accent-soft); color: var(--accent); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters input, .filters select { max-width: 240px; }
table.dash tr.click { cursor: pointer; }
table.dash tr.click:hover td { background: var(--bg); }

/* Beta: paid prices struck through but visible */
.beta-tag, .beta-note { display: none; }
#pricing.beta .was { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .5; }
#pricing.beta .beta-tag { display: inline-block; justify-self: start; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
#pricing.beta .beta-note { display: block; color: var(--ok); font-weight: 500; }

/* Drop zone */
.dz { display: grid; gap: 6px; place-items: center; text-align: center; padding: 28px 16px; border: 2px dashed var(--line); border-radius: 16px; cursor: pointer; background: var(--bg); }
.dz.over, .dz:hover { border-color: var(--accent); background: var(--accent-soft); }
.dropzone .doc .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; }
.dropzone .doc select { max-width: 220px; font-size: .85rem; }
.pp-hero { grid-template-columns: auto 1fr; }
.pp-pitch p { margin: 0; font-size: 1rem; line-height: 1.55; }
@media print { .pp-hero { grid-template-columns: auto 1fr; } }
.acts { display: inline-flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.acts .btn.small { padding: 4px 10px; font-size: .78rem; }
.rec .row2 input { flex: 1; min-width: 200px; }

/* Palette v2 touches: score badges and highlights in brick */
.score { background: var(--brick-soft); color: var(--brick); }
.badge-score.mid { background: var(--brick-soft); color: var(--brick); }
.srclink { color: var(--brick); }
.eyebrow { color: var(--brick); }
.gbtn { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
.gbtn:disabled { opacity: .75; cursor: not-allowed; }
.gbtn small { color: var(--muted); font-weight: 500; }
.picks { display: grid; gap: 12px; border-color: var(--brick); }
.pick { border-top: 1px solid var(--line); padding-top: 12px; }
.pk-acts { display: grid; gap: 6px; justify-items: end; }
@media (max-width: 640px) { .pk-acts { justify-items: start; grid-column: 1 / -1; } }
.bestp summary { cursor: pointer; font: 700 1.15rem var(--font-display); color: var(--ink); }
.bestp ol { margin: 10px 0 0; padding-left: 1.4em; display: grid; gap: 8px; }

/* Facebook offers page /o/<id> */
.warnbox { justify-self: stretch; }
.offer-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.offer-card { text-align: left; cursor: pointer; font: inherit; color: inherit; overflow: hidden; padding: 0 0 14px; gap: 6px; }
.offer-card > *:not(img) { margin-inline: 14px; }
.offer-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.offer-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.offer-top .big { font: 800 1.5rem var(--font-display); }
.offer-detail .offer-photo { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; }

/* Sign-in / sign-up: card on the left, visual on the right (inspired by clean SaaS onboarding) */
main.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 36px 64px; min-height: calc(100vh - 72px); }
.auth-left { display: grid; gap: 12px; justify-items: center; }
.auth-card { width: 100%; max-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 30px); box-shadow: 0 8px 30px rgb(19 41 75 / .07); }
.auth-card.form-shell { margin: 0; }
.auth-terms { text-align: center; max-width: 420px; }
.auth-visual { position: relative; border-radius: 28px; overflow: hidden; min-height: 580px; align-self: stretch; background: #13294b; }
.auth-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-caption { position: absolute; left: 22px; bottom: 18px; right: 22px; margin: 0; color: #f7f4ef; font-size: .85rem; opacity: .9; }
@media (max-width: 900px) { main.auth { grid-template-columns: 1fr; min-height: 0; } .auth-visual { display: none; } }
.phone { display: grid; grid-template-columns: 112px 1fr; }
.phone select { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; }
.phone input { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.actions .btn#next { min-width: 150px; }

/* Account tabs (profile, listings, documents, PDF) */
.acc-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin: 18px 0 6px; }
.acc-tabs a { text-decoration: none; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.acc-tabs a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.acc-tabs a:hover:not([aria-current]) { background: var(--bg); color: var(--ink); }
.acc-tabs { } @media print { .acc-tabs { display: none !important; } }
.doccols { margin-top: 12px; align-items: start; }
.docs2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .docs2 { grid-template-columns: 1fr; } }
.doc-card { align-items: flex-start; padding: 14px 16px; transition: border-color .15s, background .15s; }
.doc-card.have { border-color: var(--ok); background: var(--ok-soft); }
.doc-card .doc-main { align-items: flex-start; flex: 1; min-width: 0; }
.doc-card .doc-txt { display: grid; gap: 3px; min-width: 0; }
.doc-card .doc-txt b { font-weight: 600; line-height: 1.3; }
.doc-card .doc-txt .hint { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.doc-card .doc-txt .opt { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.doc-check { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; margin-top: 1px; border: 2px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.doc-check:checked { background: var(--ok); border-color: var(--ok); }
.doc-check:checked::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 700; }
.doc-check:disabled { cursor: default; }
.doc-card .doc-act { flex: none; }
.doc-card .doc-pick { cursor: pointer; white-space: nowrap; }
.photo-row.over { border-color: var(--accent); background: var(--accent-soft); }

/* Profile menu (top right) */
.umenu { position: relative; }
.avatar { width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: var(--accent); color: var(--accent-ink); font: 700 .85rem var(--font-body); }
.umenu-list { position: absolute; right: 0; top: 46px; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgb(19 41 75 / .14); padding: 6px; display: grid; z-index: 30; }
.umenu-list a { padding: 9px 12px; border-radius: 10px; text-decoration: none; font-size: .92rem; color: var(--ink); }
.umenu-list a:hover { background: var(--bg); }
.umenu-name { margin: 4px 12px 6px; font-weight: 700; font-size: .9rem; }
.nav { align-items: center; }
@media (max-width: 640px) { .acc-tabs { flex-wrap: nowrap; overflow-x: auto; } .acc-tabs a { white-space: nowrap; } }

.fiche{margin:6px 0;padding:8px 10px;border-left:3px solid var(--brick);background:var(--brick-soft);border-radius:6px;max-width:420px}.fiche p{margin:2px 0}
ul.reasons{margin:6px 0 0;padding-left:16px;max-width:260px}

/* Product page of a selected home */
.pickpage { display: grid; gap: 16px; }
.gallery { display: grid; gap: 8px; }
.g-main { width: 100%; aspect-ratio: 4 / 3; max-height: 520px; object-fit: cover; border-radius: 14px; background: #e9e4dc; }
.g-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.g-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; flex: 0 0 auto; }
.g-thumbs button.on { border-color: var(--brick); }
.g-thumbs img { width: 92px; height: 68px; object-fit: cover; border-radius: 6px; display: block; }
.g-empty { aspect-ratio: 16 / 7; display: grid; place-items: center; border-radius: 14px; background: var(--brick-soft); color: var(--accent); }
.pk-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.pk-head h1 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); margin: 0 0 4px; }
.pk-price { display: grid; text-align: right; }
.pk-price b { font-size: 1.6rem; color: var(--accent); }
.pk-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pk-cta .hint { flex-basis: 100%; margin: 0; }
.pk-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 18px; margin: 0; }
.pk-facts dt { font-size: .8rem; color: var(--muted, #6b6b6b); }
.pk-facts dd { margin: 2px 0 0; font-weight: 600; }
.pk-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card.ok { border-left: 4px solid #2f7d5b; }
.card.warn { border-left: 4px solid var(--brick); }
@media (max-width: 640px) { .pk-price { text-align: left; } }
.pickpage h2 { font-size: 1.2rem; margin: 0 0 10px; }
.pickpage .card ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }

/* Source of an offer (neutral badge, no platform logos) */
.src-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted, #6b6b6b); margin: 2px 0 6px; }
.src-badge i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; }
.photo-row.required { border: 2px solid #c0392b; border-radius: 12px; }
.photo-row .error.small { margin: 4px 0 0; }
.src-badge .src-ic { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line); }

/* Edit my profile: menu at the top left, form aligned left */
.edit-card { max-width: 760px; margin: 12px 0 0; }
.edit-card h3 { margin: 18px 0 4px; }
.avatar.has-photo { padding: 0; overflow: hidden; background: var(--line); }
.avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes kpulse { 0%,100% { box-shadow: 0 0 0 0 rgb(180 83 58 / .5); } 50% { box-shadow: 0 0 0 8px rgb(180 83 58 / 0); } }
.btn.pulse { animation: kpulse 1.2s ease-in-out 3; border-color: var(--brick); color: var(--brick); }
.me-hi { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.me-hi .eyebrow { margin: 0; }

/* Contact progress: 4 steps up to the viewing */
.tracker { display: flex; gap: 4px; list-style: none; padding: 0; margin: 8px 0; flex-wrap: wrap; flex-basis: 100%; counter-reset: st; }
.tracker li { counter-increment: st; font-size: .75rem; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--muted, #6b6b6b); border: 1px solid var(--line); }
.tracker li::before { content: counter(st) ". "; font-weight: 700; }
.tracker li.done { background: #e3f1ea; color: #1f6b48; border-color: #bfe0cf; }
.tracker li[aria-current="step"] { font-weight: 700; }
.tracker li.doing { background: #fff4e5; color: #8a5a12; border-color: #f0d6a8; font-weight: 700; }
.pk-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 8px; }
.pk-filters select { width: auto; min-width: 150px; }
.kpi.perf { margin: 8px 0 16px; }
.kpi.perf small { display: block; font-size: .75rem; margin-top: 2px; }
.kpi.perf div { background: var(--surface); border: 1px solid var(--line); }
.tracker li.ask { padding: 0; border: 0; background: none; }
.tracker li.ask::before { content: none; }
.tr-ask { padding: 3px 10px; font-size: .75rem; }
.review ul.tips li::marker { content: "→  "; color: var(--brick); font-weight: 700; }
.review ul.tips li { margin-bottom: 8px; }
.review ul.tips .ctas3 { margin-top: 6px; }

/* Complete your profile: the next light action */
.nextstep { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--brick-soft); border: 1px solid #ecc9bc; border-radius: 14px; padding: 12px 16px; margin: 0 0 14px; }
.nextstep > div { display: grid; gap: 3px; min-width: 0; flex: 1 1 280px; }
.nextstep b { color: var(--accent); }
.nextstep small { color: var(--muted, #6b6b6b); font-size: .75rem; }
.ns-meter { height: 6px; border-radius: 99px; background: #fff; overflow: hidden; max-width: 320px; margin-top: 4px; }
.ns-meter i { display: block; height: 100%; background: var(--brick); border-radius: 99px; }
@media print { .nextstep { display: none !important; } }

/* Prospect CRM: readable actions and folded score reasons */
table.dash td .btn.small { min-width: 96px; white-space: nowrap; }
table.dash td select { min-width: 160px; }
table.dash details.why summary { cursor: pointer; color: var(--accent); margin-top: 4px; }
table.dash details.why ul.reasons { position: absolute; z-index: 5; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px 8px 24px; max-width: 320px; box-shadow: 0 8px 24px rgb(19 41 75 / .12); }
.pst-legend { margin: 10px 0; }
.pst-legend ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
main.admin-wide { max-width: min(1400px, 100%); }
table.dash details summary { list-style: none; cursor: pointer; color: var(--accent); font-size: .8rem; margin-top: 4px; }
table.dash details summary::-webkit-details-marker { display: none; }
table.dash details[open] > summary { font-weight: 700; }
table.dash { width: 100%; }
.yesband { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 2px solid var(--brick); background: var(--brick-soft); margin: 8px 0 16px; }
.yesband > div { flex: 1 1 280px; }
.yesband b { font-size: 1.15rem; color: var(--accent); }
.yesband p { margin: 4px 0 0; }

/* Offers page: one offer per line */
.offer-list { display: grid; gap: 10px; }
.offer-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; text-align: left; cursor: pointer; font: inherit; color: inherit; padding: 10px 14px 10px 10px; }
.or-thumb { width: 96px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--brick-soft); display: grid; place-items: center; color: var(--accent); font-weight: 800; }
.or-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.or-body { display: grid; gap: 2px; min-width: 0; }
.or-body .offer-top { display: flex; gap: 8px; align-items: center; }
@media (max-width: 560px) { .offer-row { grid-template-columns: 72px 1fr; } .or-thumb { width: 72px; height: 56px; } .or-go { grid-column: 2; } }

/* Account page: short lists and requests */
ul.compact { display: grid; gap: 6px; margin: 8px 0; }
ul.compact details summary { cursor: pointer; font-weight: 600; list-style: none; }
ul.compact details summary::-webkit-details-marker { display: none; }
ul.compact details summary::after { content: " +"; color: var(--brick); }
ul.compact details[open] summary::after { content: " −"; }
ul.compact details p { margin: 4px 0 0; }
.rq-list { display: grid; gap: 8px; }
.rq-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.rq-row > div { display: grid; gap: 2px; min-width: 0; }
@media (max-width: 560px) { .rq-row { grid-template-columns: 1fr auto; } .rq-row .btn { grid-column: 1 / -1; justify-self: start; } }

/* Introduce yourself: guided recording */
.card.intro { max-width: 760px; margin: 12px 0 14px; }
.rec-guide { margin: 8px 0; padding-left: 20px; display: grid; gap: 4px; font-weight: 600; color: var(--accent); }
.rec-meter { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; margin: 6px 0 10px; max-width: 360px; }
.rec-meter i { display: block; height: 100%; width: 0; background: var(--brick); transition: width .08s linear; }
.edit-card { display: grid; gap: 14px; } .edit-card .card.intro { margin: 0; }
input.searchbar { flex: 1 1 360px; min-width: 240px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: .95rem; }
.todo { border: 2px solid var(--brick); }
.todo ul { display: grid; gap: 6px; margin: 6px 0 0; }
.todo li::before { content: "○ "; color: var(--muted, #888); }
.todo li.urgent::before { content: "● "; color: var(--brick); }
.ess-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.ess-col h3 { font-size: .95rem; margin: 4px 0; }
.todo .hint { display: inline; }
.todo > p.hint { display: block; margin-top: 10px; }

/* Prospect pipeline (HubSpot-like board) */
.pipeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.pl-col { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 10px; min-height: 120px; }
.pl-col.over { outline: 2px dashed var(--brick); }
.pl-col header { display: flex; justify-content: space-between; align-items: center; margin: 2px 4px 10px; font-size: .9rem; }
.pl-n { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 0 8px; font-size: .78rem; }
.pl-list { display: grid; gap: 8px; max-height: 70vh; overflow-y: auto; }
.pl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; cursor: grab; box-shadow: 0 1px 3px rgb(19 41 75 / .06); }
.pl-card.dragging { opacity: .5; }
.pl-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.pl-top b { font-size: .92rem; }
.pl-card small { font-size: .78rem; line-height: 1.35; }
.pl-group { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-links { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: .78rem; margin-top: 2px; }
.seg { display: flex; gap: 6px; }
.pl-list { overflow-x: hidden; padding-right: 2px; }
.pl-card { min-width: 0; overflow-wrap: anywhere; }
.pl-top b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filters input.searchbar { min-width: 280px; flex: 2 1 420px; }

/* Sign-up visual: photo of the visitor's city */
.auth-visual .auth-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.auth-visual.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(19 41 75 / 0) 55%, rgb(19 41 75 / .75)); }
.auth-visual .auth-caption { z-index: 2; }
.auth-credit { position: absolute; right: 12px; top: 10px; z-index: 2; font-size: .65rem; color: #fff; opacity: .75; }
.offer-next { margin-top: 18px; border: 2px solid var(--brick); }
.offer-next .price { font-size: 1.5rem; font-weight: 800; margin: 8px 0 4px; color: var(--accent); }
.offer-next .was { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .55; }
.offer-next .beta-tag { display: inline-block; margin-bottom: 10px; }
#pricing .grid3 { grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); justify-content: center; }
.offer-next h2 { font-size: 1.3rem; margin: 0 0 6px; }
.offer-next .beta-tag { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.offer-next .btn { justify-self: start; width: auto; }

/* Three ways to find a home */
table.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
table.compare th, table.compare td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .92rem; }
table.compare thead th { background: var(--bg); font-size: .85rem; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare .us { background: var(--brick-soft); }
table.compare s, .compare-short s { opacity: .6; }
.ok-txt { color: var(--ok); font-size: .85rem; }
.compare-short { margin-top: 16px; max-width: 780px; margin-inline: auto; }
.compare-short ul { display: grid; gap: 4px; margin: 8px 0; }
/* Admin: Netherlands / France switch for the two-market sprint */
.mkt-switch { display: flex; gap: 8px; margin: 10px 0 4px; }
.compare-mkt tr.on th, .compare-mkt tr.on td { font-weight: 600; background: var(--bg); }
.logo { display: inline-flex; align-items: center; }
.logo-mark { width: 28px; height: 28px; border-radius: 7px; flex: none; margin-right: 8px; }
.metrics h2 { font-size: 1.2rem; margin: 0 0 10px; }
.metrics .kpi-main { background: var(--accent-soft); }
.metrics details { margin-top: 10px; }

/* Firstkey Pro (29/11/2026): professionals' side, same layout, own palette (deep green and amber on cool grey) and a "Pro" tag. */
html[data-brand="pro"] {
  --bg: #f1f4f3; --surface: #ffffff; --ink: #0e2b2a; --muted: #4f6664; --line: #d9e2df;
  --accent: #0e4f4a; --accent-ink: #ffffff; --accent-soft: #e2efec; --brick: #b8862b; --brick-soft: #f5ead2;
}
@media (prefers-color-scheme: dark) {
  html[data-brand="pro"]:not([data-theme="light"]) {
    --bg: #0b1918; --surface: #11262a; --ink: #e9f2f0; --muted: #9fb4b0; --line: #1f3a3c;
    --accent: #7fcfc4; --accent-ink: #0b1918; --accent-soft: #163233; --brick: #e2b45a; --brick-soft: #33291a;
  }
}
html[data-brand="pro"][data-theme="dark"] {
  --bg: #0b1918; --surface: #11262a; --ink: #e9f2f0; --muted: #9fb4b0; --line: #1f3a3c;
  --accent: #7fcfc4; --accent-ink: #0b1918; --accent-soft: #163233; --brick: #e2b45a; --brick-soft: #33291a;
}
.pro-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--brick); color: #fff;
  font: 700 .6rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.brandswitch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-right: 6px; }
.brandswitch a { padding: 5px 10px; font: 600 .76rem var(--font-body); color: var(--muted); text-decoration: none; white-space: nowrap; }
.brandswitch a[aria-current="page"] { background: var(--accent-soft); color: var(--ink); }
.nav a, .brandswitch a { white-space: nowrap; }
@media (max-width: 900px) { html[data-brand="pro"] .nav .hide-sm { display: none; } }
/* Small screens: only the link to the other side (Firstkey <-> Firstkey Pro) */
@media (max-width: 640px) { .brandswitch a[aria-current="page"] { display: none; } .brandswitch a { padding: 4px 8px; font-size: .7rem; } }
/* Phone header: no call-to-action button (the page has its own), tighter gaps */
@media (max-width: 640px) {
  .top .wrap { gap: 8px; } .brand { gap: 6px; } .nav { gap: 8px; }
  .lang button { padding: 6px 8px; }
  .nav > .btn.small { display: none; }
  .logo { font-size: 1.25rem; }
}

/* Pros: "one link" flow in 3 steps (30/11/2026) */
.flow3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
@media (max-width: 820px) { .flow3 { grid-template-columns: 1fr; } }
.flowstep h3 { margin-top: 8px; }
.flowmock { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--bg); display: grid; gap: 6px; font-size: .86rem; }
.flowmock code { font-size: .8rem; word-break: break-all; }
.flowmock .pill { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: .8rem; }
.flowmock .fm-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.flowmock .fm-row b.ok { color: var(--ok); }

/* AI assistant line under the hero (30/11/2026) */
.ai-line { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-size: .92rem; max-width: 60ch; }
.stored-list li { padding: 6px 0; border-bottom: 1px solid var(--line); } .doclink { color: var(--accent); font-weight: 600; }
/* WhatsApp contact for signed-in users (30/11/2026) */
.wa-contact { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 60; transition: transform .15s; }
.wa-contact:hover { transform: scale(1.06); }
@media print { .wa-contact { display: none; } }

/* Footer: the two landing pages, each with its logo (30/11/2026) */
footer.site .foot-brands { display: grid; gap: 12px; max-width: 380px; }
footer.site .foot-land { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line, rgba(0,0,0,.08)); text-decoration: none; color: inherit; }
footer.site .foot-land:hover { border-color: var(--accent); }
footer.site .foot-land small { line-height: 1.45; }
.foot-logo { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: #13294b; }
.foot-logo > span { color: #b4533a; }
.foot-land.pro .foot-logo { color: #0e4f4a; }
.foot-land.pro .foot-logo > span { color: #b8862b; }
.foot-logo .pro-tag { margin-left: 6px; vertical-align: middle; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .foot-logo { color: #e8edf5; } :root:not([data-theme="light"]) .foot-land.pro .foot-logo { color: #9fd3cc; } }
:root[data-theme="dark"] .foot-logo { color: #e8edf5; }
:root[data-theme="dark"] .foot-land.pro .foot-logo { color: #9fd3cc; }

/* Header CTA (01/12/2026): the nav link colour must never win over the button's own text colour (dark text on green was unreadable).
   On Firstkey Pro the text takes the site background colour (light grey, dark in dark mode). */
.nav a.btn, header a.btn { color: var(--accent-ink); }
html[data-brand="pro"] .nav a.btn, html[data-brand="pro"] header a.btn { color: var(--bg); }

/* Country and language: one menu at the top right (01/12/2026); the old pill buttons stay hidden in the page */
.top .brand .lang, .top .brand .langpick { display: none !important; }
.locale { position: relative; margin-left: 4px; }
.locale > summary { list-style: none; cursor: pointer; font: 600 .82rem var(--font-body); color: var(--muted); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.locale > summary::-webkit-details-marker { display: none; }
.locale[open] > summary, .locale > summary:hover { color: var(--ink); }
.locale-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.08); display: grid; }
.locale-list button { display: flex; justify-content: space-between; gap: 12px; border: 0; background: transparent; padding: 8px 10px; border-radius: 8px; cursor: pointer; font: .88rem var(--font-body); color: var(--ink); text-align: left; }
.locale-list button span { color: var(--muted); }
.locale-list button:hover, .locale-list button[aria-current="true"] { background: var(--accent-soft); }
.locale > summary::marker { content: ""; }

/* Tenant / landlord (02/12/2026, replaces the Firstkey / Firstkey Pro switch): two header menus, the home chooser, the footer */
.sides { display: inline-flex; gap: 22px; }
.sides:empty { display: none; }
.side { position: relative; }
.side > summary { list-style: none; cursor: pointer; color: var(--muted); font-size: .95rem; white-space: nowrap; }
.side > summary::-webkit-details-marker { display: none; }
.side > summary::marker { content: ""; }
.side > summary::after { content: "▾"; margin-left: 5px; font-size: .85em; }
.side[open] > summary, .side > summary:hover { color: var(--ink); }
.side-list { position: absolute; left: 0; top: calc(100% + 6px); z-index: 50; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.08); display: grid; }
.nav .side-list a { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; color: var(--ink); white-space: normal; }
.side-list a small { color: var(--muted); font-size: .78rem; }
.side-list a:hover, .side-list a[aria-current="page"] { background: var(--accent-soft); }
@media (max-width: 640px) { html.choose .sides { display: none; } .sides { gap: 12px; } .side > summary { font-size: .88rem; } .side-list { min-width: 200px; } .sides .side:last-child .side-list { left: auto; right: 0; } }
/* Home chooser: alone on screen until the visitor picks (html.choose, set in index.html), hidden once the profile is known */
html:not(.choose) #sides { display: none; }
html.choose main > section:not(#sides) { display: none; }
html.choose #sides { padding-block: clamp(40px, 9vh, 96px); min-height: 60vh; }
.sides-home { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.side-card { padding: 28px; }
.side-card h2 { margin: 0 0 18px; font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.side-opts { display: grid; gap: 12px; }
.side-opts a { display: grid; gap: 3px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.side-opts a b { font-size: 1.05rem; }
.side-opts a:hover { border-color: var(--accent); background: var(--accent-soft); }
.side-opts a small { font-size: .82rem; }
@media (max-width: 700px) { .sides-home { grid-template-columns: 1fr; } .side-card { padding: 20px; } }
footer.site .foot-side { font-size: .85rem; }
@media (max-width: 420px) { .sides { gap: 10px; } .side > summary { font-size: .84rem; } .side > summary::after { display: none; } }

/* Content uses the full header width, from the logo to the avatar, centred (02/12/2026, Adrien): no narrow column stuck on the left */
.textpage, .edit-card, .card.intro { max-width: none; }
.section-head { max-width: none; }
.textpage > .ctas3, .textpage > .grid2, .textpage > .grid3, .textpage > .flow3 { width: 100%; }
h2[id], section[id] { scroll-margin-top: 84px; }
.page-hero { margin-bottom: 12px; } .page-hero h1 { margin-top: 14px; }
/* City field suggestions (02/12/2026) */
.city-wrap { position: relative; display: block; }
.city-wrap > input { width: 100%; }
.city-sug { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.08); display: grid; }
.city-sug[hidden] { display: none; }
.city-sug button { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border: 0; background: transparent; padding: 8px 10px; border-radius: 8px; cursor: pointer; font: .92rem var(--font-body); color: var(--ink); text-align: left; }
.city-sug button small { color: var(--muted); font-size: .78rem; }
.city-sug button:hover, .city-sug button.on { background: var(--accent-soft); }
/* Candidate's own LinkedIn / Instagram links (02/12/2026) */
.social-links { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.social-links:empty { display: none; }
.social-links a { font-size: .78rem; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); }
.social-links a:hover { border-color: var(--accent); }
/* Admin navigation (02/12/2026): Locataire / Bailleur, then type, then tabs */
.admin-nav { margin: 14px 0 6px; }
.nav-sides { display: flex; gap: 10px; flex-wrap: wrap; }
.nav-side { display: inline-flex; flex-direction: column; align-items: flex-start; padding: 12px 22px; font-size: 1.15rem; min-width: 180px; }
.nav-side small { font-size: .72rem; font-weight: 400; opacity: .75; }
.nav-subs { margin-top: 8px; }
.inbox-small > summary { font-size: .85rem; font-weight: 500; color: var(--muted); }
.inbox-small { font-size: .9rem; }
