/* Page styles of the application. Tokens (colours, type, spacing, radii, control heights, shadows, focus, z-index) and the
   shared components (buttons, fields, select, checkbox and radio, segmented control, file drop zone, badges, alerts,
   dialog, tabs, meters, skeletons, empty states, utilities) live in /static/ds.css. Reuse them: no raw native control,
   no decorative inline style. */
html { scroll-behavior: smooth; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.brand { font-weight: 750; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand i { width: 28px; height: 28px; border-radius: 7px; background: url(/static/brand/icone.svg) center / cover; display: inline-block; flex: none; }

/* ============================================================ LANDING */
#landing { overflow: hidden; }
.lnav { max-width: 1180px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; gap: 28px; }
.lnav nav { display: flex; gap: 24px; margin-left: auto; }
.lnav nav a { color: var(--ink2); font-weight: 500; font-size: 14px; }
@media (max-width: 820px) { .lnav nav { display: none; } .lnav .btn { margin-left: auto; } }
@media (max-width: 430px) { .lnav { gap: 12px; padding: 14px 16px; } .lnav .brand { font-size: 0; gap: 0; } }  /* small phones: logo only, the buttons fit */
.lhero { position: relative; max-width: 1180px; margin: 0 auto; padding: 56px 20px 80px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lhero::before { content: ""; position: absolute; inset: -200px -300px auto auto; width: 900px; height: 700px; background: radial-gradient(closest-side, var(--hero-glow), transparent); z-index: -1; }
@media (max-width: 980px) { .lhero { grid-template-columns: 1fr; gap: 40px; padding-top: 30px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.lhero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 18px; font-weight: 800; }
.lhero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lhero .lead { font-size: 18px; color: var(--ink2); margin: 0 0 28px; max-width: 560px; line-height: 1.55; }
.bigform { display: flex; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 6px; box-shadow: var(--shadow-lg); max-width: 600px;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease; }
.bigform input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: var(--text-base) var(--font); padding: 0 12px; height: var(--control-lg); }
.bigform input:focus { outline: none; box-shadow: none; background: transparent; }
.bigform:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-lg); }
.bigform .btn { --btn-h: var(--control-lg); padding: 0 22px; font-size: var(--text-base); }
@media (max-width: 520px) { .bigform { flex-direction: column; } .bigform .btn { width: 100%; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; color: var(--muted); font-size: var(--text-sm); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { color: var(--ok); }
/* « Mon projet »: buying goal under each analysis form (segmented control injected by improvements.js, synchronised everywhere) */
.goal { display: flex; align-items: center; gap: 12px; margin-top: 14px; max-width: 600px; min-width: 0; }
.goal-label { font-size: var(--text-sm); font-weight: 600; color: var(--ink2); white-space: nowrap; }
.segmented .seg-short { display: none; }
.cta .goal { justify-content: center; margin: 16px auto 0; }
.cta .goal-label { color: #dbe4ff; }
.goal.compact { margin: 0; flex: none; }
.goal.compact .goal-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.goal.compact .seg-long { display: none; } .goal.compact .seg-short { display: inline; }
.top .goal .segmented { --seg-h: var(--control); }
/* app bar on laptops: the two choices as icons (full names in the tooltip and for screen readers) */
@media (max-width: 900px) {
  .top .goal.compact { order: 11; flex: 1 1 100%; }
  .top .goal.compact .segmented { display: grid; width: 100%; }
  .goal.compact .seg-long { display: inline; } .goal.compact .seg-short { display: none; }
}
@media (min-width: 901px) and (max-width: 1399px) { .goal.compact .seg-short { display: none; } .goal.compact .segmented > label > span { padding: 0 11px; } .goal.compact .segmented > label > span svg { opacity: 1; } }
@media (max-width: 520px) {
  .goal:not(.compact) { flex-direction: column; align-items: stretch; gap: 8px; }
  .goal:not(.compact) .segmented { display: grid; width: 100%; --seg-h: 44px; }
  .goal .segmented > label > span { padding: 0 8px; }
  .cta .goal .seg-long { display: none; } .cta .goal .seg-short { display: inline; }
}
@media (max-width: 430px) {  /* phones: the full labels fit once the icons go */
  .goal:not(.compact) .segmented > label > span { gap: 0; padding: 0 6px; }
  .goal:not(.compact) .segmented > label > span svg { display: none; }
}
/* preview card */
.preview { position: relative; }
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px; transform: rotate(-1deg); }
.pcard .tag { position: absolute; top: -12px; left: 20px; background: var(--ink); color: var(--bg); font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; }
.preview-more { display: flex; width: fit-content; align-items: center; gap: 6px; margin: 22px auto 0; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--panel); border: 1px solid var(--line); color: var(--accent); font-weight: 600; font-size: var(--text-sm); text-decoration: none; box-shadow: var(--shadow-xs); }
.preview-more:hover { border-color: var(--accent); }
.preview-more:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.pcard .head { display: flex; gap: 14px; align-items: center; }
.pcard .ph0 { width: 64px; height: 64px; border-radius: 12px; background: linear-gradient(160deg, #cfd6e4, #e9edf4); flex: none; position: relative; overflow: hidden; }
.pcard .ph0.img::after { display: none; }
.pcard .ph0::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 46px; background: repeating-linear-gradient(90deg, #aeb8cb 0 6px, transparent 6px 12px), #c4ccdb; border-radius: 3px 3px 0 0; opacity: .85; }
.pcard h4 { margin: 0; font-size: 16px; } .pcard .addr { color: var(--muted); font-size: 13px; }
.pmini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.pmini div { background: var(--soft); border-radius: 10px; padding: 8px 10px; }
.pmini span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.pmini b { font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 520px) { .pmini { grid-template-columns: repeat(2, 1fr); } }
.psig { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.psig li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.pfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line2); }
.pfoot .offer b { font-size: 20px; display: block; }
.float { position: absolute; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px 12px; font-size: 12.5px; display: flex; gap: 10px; align-items: center; }
.float.f1 { right: -14px; top: 64px; transform: rotate(2deg); }
.float.f2 { left: -26px; bottom: 34px; transform: rotate(-2deg); }
@media (max-width: 1100px) { .float { display: none; } }
/* sections */
.lsec { max-width: 1180px; margin: 0 auto; padding: 80px 20px; }
.lsec h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.03em; line-height: 1.12; margin: 0 0 12px; font-weight: 800; }
.lsec .intro { color: var(--ink2); font-size: 17px; max-width: 680px; margin: 0 0 40px; }
.center { text-align: center; } .center .intro { margin-left: auto; margin-right: auto; }
/* the refund promise, under the pricing intro */
.refund { display: inline-flex; align-items: center; gap: 8px; margin: -24px 0 36px; padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--ok-soft); color: var(--ok); font-size: 15px; font-weight: 500; }
.refund b { font-weight: 700; } .refund svg { flex: none; }
@media (max-width: 520px) { .refund { font-size: 14px; padding: 8px 14px; text-align: left; } }
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sources { max-width: 1180px; margin: 0 auto; padding: 26px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.sources small { width: 100%; text-align: center; font-weight: 500; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }
.step3 { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.step3 .n { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.step3 h3 { margin: 0 0 6px; font-size: 17px; } .step3 p { margin: 0; color: var(--ink2); }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.feat .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.feat h3 { margin: 0 0 6px; font-size: 15.5px; } .feat p { margin: 0; color: var(--ink2); font-size: 13.5px; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } }
.who > div { border-radius: 18px; padding: 30px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.who h3 { font-size: 21px; margin: 0 0 8px; letter-spacing: -.02em; } .who p { color: var(--ink2); margin: 0 0 16px; }
.who ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.who li { display: flex; gap: 10px; align-items: flex-start; } .who li svg { color: var(--ok); flex: none; margin-top: 3px; }
.who .dark { background: linear-gradient(150deg, #172554, #2448c7); color: #fff; border: 0; }
.who .dark p { color: #dbe4ff; } .who .dark li svg { color: #9fd8b6; }
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan.pro { background: linear-gradient(160deg, var(--accent-soft), var(--panel) 55%); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.plan .price small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plan h3 .ptag { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--accent); }
.plan .pnote { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.plan .tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 6px; margin: -8px 0 18px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-align: center; }
.plan .tiers .tiers-t { grid-column: 1 / -1; margin-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; }
.plan .tiers small { display: block; color: var(--muted); font-size: 11.5px; }
.plan .tiers b { color: var(--ink); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
.packrow.ent { background: var(--soft); border-style: dashed; }
.qgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
.qgrid .field { min-width: 0; } .qgrid .field input, .qgrid .field select, .qgrid .field textarea { width: 100%; min-width: 0; }
@media (max-width: 560px) { .qgrid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.pop { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); position: relative; }
.plan.pop::before { content: "Le plus choisi"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 16px; } .plan .price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 2px; }
.plan .unit { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; color: var(--ink2); }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.plan .btn { margin-top: auto; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink2); }
.cta { max-width: 1180px; margin: 0 auto 80px; padding: 0 20px; }
.cta > div { border-radius: 24px; padding: 54px 30px; text-align: center; background: linear-gradient(150deg, #172554, #2448c7 70%, #5b7cfa); color: #fff; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 10px; letter-spacing: -.03em; }
.cta p { color: #dbe4ff; margin: 0 0 26px; font-size: 16px; }
.cta .bigform { margin: 0 auto; border-color: transparent; }
footer.lfoot { border-top: 1px solid var(--line); }
footer.lfoot > div { max-width: 1180px; margin: 0 auto; padding: 26px 20px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; color: var(--muted); font-size: 13px; }
footer.lfoot .sp { margin-left: auto; }
footer.lfoot .cities { flex-basis: 100%; line-height: 1.9; } footer.lfoot .cities b { color: var(--ink2); font-weight: 650; margin-right: 6px; }
footer.lfoot .cities a { color: var(--muted); } footer.lfoot .cities a:hover { color: var(--accent); }

/* ============================================================ APP */
.top { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--panel) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
form.search { flex: 1; display: flex; gap: 8px; max-width: 760px; min-width: 180px; }
form.search input { flex: 1; width: 0; min-width: 0; padding: 0 14px; font-size: var(--text-md); border-color: var(--line); background-color: var(--soft); }
.progress { height: 3px; position: relative; overflow: hidden; }
.progress div { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); transition: width .6s ease; }
.progress.done div { background: var(--ok); }
#app { display: none; padding-bottom: 60px; }
#app.on { display: block; }
.dock { position: sticky; top: 65px; z-index: 900; background: var(--bg); padding-top: 14px; }
.dock::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
@media (max-width: 700px) { .dock { position: static; } .top { position: static; } }
/* phones: fixed mini header (property, score, tabs) once the full header has scrolled away */
.mbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; background: color-mix(in srgb, var(--panel) 96%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px -14px rgba(16,24,40,.45); padding: 7px 12px 0; transform: translateY(-105%); transition: transform .22s ease; }
.mbar.on { transform: none; }
@media (min-width: 701px) { .mbar { display: none !important; } }
.mbar .row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.mbar .row img, .mbar .row .ph { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; background: var(--soft); display: block; }
.mbar .row b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar .row small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar .sc { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: var(--muted); }
.mbar .tabs { margin: 4px -12px 0; padding: 0 6px; border-bottom: 0; background: transparent; }
.mbar .tabs button { padding: 8px 10px; font-size: 13px; }
.stages { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; max-height: 120px; overflow: hidden; transition: max-height .45s ease, opacity .3s ease, margin .45s ease; }
.stages.done { max-height: 0; opacity: 0; margin: 0; }  /* progress chips only while the analysis runs (kept on error) */
.stage { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.stage .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.stage.run { color: var(--ink); border-color: var(--accent); } .stage.run .dot { background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
.stage.ok { color: var(--ink2); } .stage.ok .dot { background: var(--ok); }
.stage.err .dot { background: var(--err); }
.stage.off { opacity: .6; } .stage.off .dot { background: transparent; border: 1.5px dashed var(--muted); }  /* free preview: stage of the full analysis */
.tabs .st.off { background: transparent; border: 1.5px dashed var(--muted); }
.locked { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; background: var(--soft); }
.locked > svg { flex: none; color: var(--accent); }
.locked p { flex: 1; min-width: 0; margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; } .locked p b { color: var(--ink2); font-weight: 650; }
.locked .lk { flex: none; background: none; border: 0; padding: 4px 2px; color: var(--accent); font: 650 13.5px Inter, system-ui, sans-serif; cursor: pointer; }
.locked .lk:hover { text-decoration: underline; }
.panel.apercu > .cols, .panel.apercu > .card:not(:first-child), .panel.apercu > .card:first-child > h3, .panel.apercu > .card:first-child > .sub { display: none; }
.lockall { display: flex; gap: 18px; padding: 6px 2px; } .lockall > svg { flex: none; width: 34px; height: 34px; color: var(--accent); }
.panel .lockall h4 { margin: 0 0 6px; font-size: 20px; font-weight: 750; letter-spacing: -.015em; color: var(--ink); text-transform: none; } .lockall p { margin: 0 0 12px; color: var(--ink2); }
.lockall ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 22px; }
.lockall li { position: relative; padding-left: 22px; color: var(--ink2); font-size: 14px; } .lockall li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
@media (max-width: 700px) { .lockall { flex-direction: column; gap: 10px; } .lockall ul { grid-template-columns: 1fr; } .lockall .btn { width: 100%; } }
.upsell { display: flex; gap: 18px; align-items: center; margin: 0 0 14px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }
.upsell p { margin: 0; flex: 1; font-size: 14px; line-height: 1.5; } .upsell b { font-weight: 750; }
.upsell .btn { background: #fff; color: #1c3aa8; flex: none; }
@media (max-width: 700px) { .upsell { flex-direction: column; align-items: stretch; } }
.upbox { display: flex; flex-direction: column; gap: 6px; max-width: 190px; text-align: center; align-items: center; }
.upbox small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.stage-time { margin-left: auto; font-size: 12.5px; color: var(--muted); align-self: center; font-variant-numeric: tabular-nums; }
.hero { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 18px; display: grid; grid-template-columns: 132px 1fr auto; gap: 20px; align-items: center; transition: padding .2s; }
@media (max-width: 960px) { .hero { grid-template-columns: 96px 1fr; } .hero .score-box { grid-column: 1 / -1; } }
.hero .thumb { width: 100%; aspect-ratio: 4/3; border-radius: 10px; object-fit: cover; background: var(--soft); display: block; }
.hero .thumbl { position: relative; display: block; border-radius: 10px; overflow: hidden; }
.hero .thumbl span { position: absolute; inset: auto 0 0 0; padding: 14px 6px 5px; font-size: 11.5px; font-weight: 650; color: #fff; text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transition: opacity .15s; }
.hero .thumbl:hover span, .hero .thumbl:focus-visible span { opacity: 1; }
.hero .thumbl:hover .thumb { transform: scale(1.04); } .hero .thumbl .thumb { transition: transform .3s ease; }
@media (hover: none) { .hero .thumbl span { opacity: 1; font-size: 10.5px; padding-top: 10px; } }
.dock.compact .hero .thumbl span { display: none; }
.hero h2 { margin: 0 0 3px; font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.hero .addr { color: var(--ink2); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.figs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
@media (max-width: 1100px) { .figs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fig { background: var(--soft); border-radius: 10px; padding: 8px 11px; min-width: 0; }
.fig .lab { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fig .v { display: flex; align-items: center; gap: 6px; min-height: 26px; font-size: 16px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig .v small { font-size: 12px; color: var(--muted); font-weight: 500; }
.hero .fig .escale i { display: none; }  /* header figure: the class badge and the consumption fit, the full scale is in the « Bien » tab */
.score-box { display: grid; grid-template-columns: auto auto; align-items: center; gap: 12px 14px; justify-content: end; min-width: 220px; }
.score-box > .ring { justify-self:center; }
.score-box > .upbox { grid-column:1 / -1; }
@media (max-width: 960px) { .score-box { justify-content: start; } }
.ring { --p: 0; --c: var(--line); width: 84px; height: 84px; border-radius: 50%; flex: none; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line2) 0); display: grid; place-items: center; transition: width .2s, height .2s; }
.ring > div { width: 68px; height: 68px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; text-align: center; line-height: 1; transition: width .2s, height .2s; }
.ring b { font-size: 24px; } .ring small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.score-box .lbl { font-size: 12px; color: var(--muted); }
.score-box .offer { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 12px 0 0; overflow-x: auto; scrollbar-width: none; background: var(--bg); }
.tabs .st { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.tabs .st.run { background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
.tabs .st.ok { background: var(--ok); }
/* compact dock while scrolling */
.dock.compact { padding-top: 8px; }
.dock.compact .stages { display: none; }
.dock.compact .hero { grid-template-columns: 48px 1fr auto; padding: 8px 14px; gap: 14px; }
.dock.compact .hero .thumb { aspect-ratio: 1; border-radius: 8px; }
.dock.compact .hero h2 { font-size: 14.5px; margin: 0; }
.dock.compact .hero .addr { display: none; }
.dock.compact .figs { margin-top: 4px; gap: 6px; }
.dock.compact .fig { padding: 3px 9px; }
.dock.compact .fig .lab { font-size: 10px; }
.dock.compact .fig .v { font-size: 13.5px; min-height: 20px; margin-top: 0; }
.dock.compact .ring { width: 50px; height: 50px; } .dock.compact .ring > div { width: 40px; height: 40px; }
.dock.compact .ring b { font-size: 16px; } .dock.compact .ring small { display: none; }
.dock.compact .score-box { min-width: 0; } .dock.compact .score-box .lbl, .dock.compact .score-box .hide-c { display: none; }
.dock.compact .score-box .offer { font-size: 16px; }
.dock.compact .tabs { margin-top: 8px; }
.panels { padding-top: 18px; }
.panel { display: none; } .panel.on { display: block; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cols.wide-left { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 960px) { .cols, .cols.wide-left { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; margin-bottom: 16px; min-width: 0; }
.card h3 { margin: 0 0 4px; font-size: 15px; font-weight: 650; letter-spacing: -.005em; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card .sub { color: var(--muted); font-size: 12.5px; margin: 0 0 14px; }
.card h4 { margin: 18px 0 8px; font-size: 13px; color: var(--ink2); font-weight: 600; }
.empty { color: var(--muted); font-size: 13.5px; padding: 6px 0; }
.note { color: var(--muted); font-size: 12.5px; margin-top: 10px; }
/* the source of a card (srcFoot): one quiet line at its foot */
.srcline { margin: 12px 0 0; padding-top: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.45; }
.srcline a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.srcline a:hover { color: var(--ink2); }
.team-msg { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: min(380px, calc(100vw - 32px)); padding: 12px 36px 12px 14px;
  background: var(--panel); color: var(--ink2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.12); font-size: 13.5px; line-height: 1.45; }
.team-msg b { display: block; font-size: 12.5px; color: var(--accent); margin-bottom: 4px; }
.team-msg p { margin: 0; }
.team-msg .x { position: absolute; top: 6px; right: 8px; border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 4px; }
.sk .msg { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.tw { overflow-x: auto; margin: 0 -4px; }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th, td { padding: 9px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line2); }
thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody tr:hover td { background: var(--soft); }
tbody tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.k { color: var(--muted); width: 42%; }
tr.hl td { background: var(--hl) !important; }
tr.total td { font-weight: 600; border-top: 1px solid var(--line); }
.kvt td { padding: 8px 4px; }
.dim { color: var(--muted); font-size: 12.5px; }
#p-risques .b, #p-nuisances .b, #p-regles-loc .b { white-space: normal; }
.ph.proj img { filter: saturate(.85); outline: 2px dashed var(--accent2); outline-offset: -2px; }
/* energy labels */
.dpe { display: inline-grid !important; place-items: center; width: 24px; height: 22px; border-radius: 5px; font: 700 13px/1 Inter, system-ui, sans-serif; color: #fff; flex: none; }
.dpe.A { background: #009c6d; } .dpe.B { background: #52b153; } .dpe.C { background: #78bd76; } .dpe.D { background: #f4e70f; color: #3d3a00; }
.dpe.E { background: #f0b40f; color: #3d2a00; } .dpe.F { background: #eb8235; } .dpe.G { background: #d7221f; } .dpe.x { background: var(--line); color: var(--muted); }
.escale { display: inline-flex; align-items: center; gap: 2px; }
.escale i { display: inline-block; width: 6px; height: 14px; border-radius: 2px; opacity: .45; }
.escale .dpe { width: 24px; height: 24px; margin: 0 2px; box-shadow: 0 0 0 2px var(--panel), 0 1px 3px rgba(0,0,0,.25); }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line2); align-items: start; }
.items li:last-child { border-bottom: 0; }
.items .src { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
ul.items.check { display: block; margin: 0; cursor: default; font-size: inherit; color: inherit; line-height: inherit; }  /* not the ds.css checkbox .check */
.check li { grid-template-columns: 18px 1fr; }
.check li::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--line); border-radius: 4px; margin-top: 3px; }
.verdict-phrase { font-size: 15.5px; line-height: 1.5; margin: 2px 0 14px; }
.verdict-title { font-size: 17px; font-weight: 650; line-height: 1.4; letter-spacing: -.01em; margin: 2px 0 10px; }
.verdict-text { font-size: 15px; line-height: 1.65; color: var(--ink2); margin: 0 0 16px; max-width: 86ch; }
/* the investigation's scenario beside the verdict (renderSynthese): its steps, their figures on the current hypotheses */
.vgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 4px 32px; align-items: start; }
.vscen { background: var(--soft); border-radius: var(--radius-md); padding: 14px 16px; margin: 2px 0 16px; }
.vscen h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.vs-strat { margin: 0 0 12px; font-weight: 600; line-height: 1.45; }
.vs-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 12px; }
.vs-steps li { counter-increment: st; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; align-content: start; }
.vs-steps li::before { content: counter(st); grid-row: 1 / span 3; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.vs-steps b { font-size: 14px; line-height: 1.4; }
.vs-detail { color: var(--ink2); font-size: 13px; line-height: 1.45; }
.vs-fig { margin-top: 3px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; } .vs-fig:empty { display: none; }
.vs-cond { display: flex; gap: 8px; margin: 14px 0 0; font-size: 13px; color: var(--ink2); line-height: 1.45; }
.vs-cond i { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--warn-soft); color: var(--warn); font-style: normal; font-weight: 700;
  font-size: 12px; display: grid; place-items: center; }
.vvisit h4:not(:first-child) { margin-top: 16px; }
.vvisit .items li { padding: 7px 0; font-size: 13.5px; line-height: 1.45; }
@media (max-width: 1000px) { .vgrid { grid-template-columns: minmax(0, 1fr); } }
.vkeys { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; }
.vkeys li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--soft); font-size: 14px; line-height: 1.4; font-weight: 500; }
.vkeys li i { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; margin-top: 0; }
.vkeys li.positif i { background: var(--ok-soft); color: var(--ok); }
.vkeys li.negatif i { background: var(--err-soft); color: var(--err); }
.vkeys li.vigilance i { background: var(--warn-soft); color: var(--warn); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ph { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); display: flex; flex-direction: column; }
.ph img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; cursor: zoom-in; background: var(--soft); }
.ph .c { padding: 10px 12px; font-size: 13px; }
.ph .t { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 4px; }
.ph .o { color: var(--ink2); font-size: 12.5px; }
#zoom { position: fixed; inset: 0; background: rgba(8,10,14,.92); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 30px; flex-direction: column; gap: 12px; }
#zoom.on { display: flex; }
#zoom img { max-width: 100%; max-height: calc(100% - 60px); border-radius: 10px; }
#zoom .cap { color: #e5e7eb; font-size: 13.5px; max-width: 900px; text-align: center; }
#zoom button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer; }
#zoom .prev { left: 18px; } #zoom .next { right: 18px; } #zoom .close { top: 30px; right: 18px; transform: none; }
.map { height: 520px; border-radius: 10px; z-index: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
#journal { list-style: none; margin: 0; padding: 0; }
#journal li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line2); font-size: 13.5px; }
#journal li.phase { grid-template-columns: 1fr; font-weight: 600; border: 0; padding: 16px 0 6px; }
#journal li.thought { grid-template-columns: 1fr; color: var(--ink2); background: var(--soft); border: 0; border-radius: 8px; padding: 8px 12px; margin: 6px 0; font-size: 13px; }
.ic { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; }
.ic.run { border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.ic.ok { background: var(--ok); box-shadow: inset 0 0 0 4px var(--ok-soft); } .ic.err { background: var(--err); }
/* listing that cannot be read: other ways to send it, in the same screen */
.fallback { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 18px; margin-top: 12px; }
.fallback h4 { margin: 0 0 4px; font-size: 15px; } .fallback p { margin: 0 0 12px; color: var(--ink2); font-size: 14px; }
.fallback .acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.manual-links { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.manual-links button { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 3px; border-radius: 4px; }
.manual-links button:hover { text-decoration-color: currentColor; }
.manual-links .mfail[hidden] { display: none; }
.manual textarea { min-height: 200px; font-size: var(--text-md); }
.manual .count { text-align: right; color: var(--muted); font-size: var(--text-xs); margin: -10px 0 var(--space-4); font-variant-numeric: tabular-nums; }
.manual .shots { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--space-4); }
.manual .shots:empty { display: none; }
.manual .shots figure { position: relative; margin: 0; width: 88px; height: 88px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.manual .shots img { width: 100%; height: 100%; object-fit: cover; display: block; }
.manual .shots button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.62); color: #fff; cursor: pointer; line-height: 1; font-size: 15px; }
.manual .shots button:focus-visible { outline: none; box-shadow: var(--focus-ring); }
/* end of the free preview: what the full analysis holds, and the account in one step */
.apercu-end { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; }
.apercu-end h4 { margin: 0 0 10px; font-size: 15px; }
.apercu-end ul { list-style: none; margin: 0; padding: 0; }
.apercu-end li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.apercu-end li:last-child { border-bottom: 0; } .apercu-end li b { white-space: nowrap; }
.apercu-end .blur { filter: blur(6px); user-select: none; }
.apercu-end form .field { margin-bottom: 10px; } .apercu-end form input[type=email], .apercu-end form input[type=password] { width: 100%; }
@media (max-width: 760px) { .apercu-end { grid-template-columns: 1fr; } }
.foot { color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.foot a { color: var(--muted); text-decoration: underline; }
/* ============================================================ MOTION DEMO */
.demo-wrap { max-width: 1180px; margin: 0 auto; padding: 30px 20px 70px; }
.demo-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #050816;
  box-shadow: 0 50px 90px -30px rgba(10,20,60,.6), 0 0 0 1px rgba(255,255,255,.06); }
.cv { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; color: #eef1ff; font-family: Inter, system-ui, sans-serif; overflow: hidden;
  background: radial-gradient(1200px 700px at 70% 10%, #13205a 0%, #070b1f 55%, #04060f 100%); }
.cv * { box-sizing: border-box; }
.cv .aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; pointer-events: none; }
.cv .floor { position: absolute; left: -400px; right: -400px; bottom: -120px; height: 520px; transform: perspective(700px) rotateX(62deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(111,140,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(111,140,255,.16) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%); }
.cv .dust i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #9fb4ff; opacity: .5; }
.cv .topline { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, #22d3ee, #6f8cff, #a78bfa); box-shadow: 0 0 14px #6f8cff; z-index: 40; }
.cv .cap { position: absolute; left: 64px; top: 46px; z-index: 30; }
.cv .cap .num { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(111,140,255,.14); border: 1px solid rgba(111,140,255,.35);
  font: 700 13px Inter, sans-serif; letter-spacing: .14em; color: #b9c8ff; }
.cv .cap .num i { width: 7px; height: 7px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 10px #22d3ee; }
.cv .cap .ttl { font: 800 46px/1.05 Inter, sans-serif; letter-spacing: -.035em; margin-top: 12px; }
.cv .cap .ttl span { display: inline-block; }
.cv .cap .sub { font-size: 18px; color: #aab4d8; margin-top: 10px; max-width: 560px; }
.cv .scene { position: absolute; inset: 0; opacity: 0; }
.cv .glass { background: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.14); border-radius: 18px;
  backdrop-filter: blur(16px); box-shadow: 0 30px 60px -24px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12); }
.cv .label { font: 700 12.5px Inter, sans-serif; text-transform: uppercase; letter-spacing: .12em; color: #8fa7ff; }
/* 1 — the link */
.cv .browser { position: absolute; left: 190px; top: 290px; width: 900px; padding: 18px 22px 22px; transform-style: preserve-3d; }
.cv .dots { display: flex; gap: 8px; } .cv .dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .cv .dots i:nth-child(2) { background: #febc2e; } .cv .dots i:nth-child(3) { background: #28c840; }
.cv .urlrow { display: flex; gap: 12px; margin-top: 18px; align-items: center; }
.cv .url { flex: 1; height: 60px; border-radius: 14px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; padding: 0 20px;
  font: 500 20px Inter, sans-serif; color: #dfe5ff; white-space: nowrap; overflow: hidden; }
.cv .url .lock { color: #34d399; margin-right: 10px; font-size: 16px; }
.cv .caret { width: 2px; height: 26px; background: #8fa7ff; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cv .go { height: 60px; padding: 0 30px; border-radius: 14px; background: linear-gradient(135deg, #3d63ff, #7c5cff); font: 700 19px Inter, sans-serif; display: flex; align-items: center;
  position: relative; overflow: hidden; box-shadow: 0 10px 30px -8px rgba(92,110,255,.8); }
.cv .ripple { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px; border-radius: 50%; background: rgba(255,255,255,.65); transform: scale(0); }
.cv .orb { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 30px 12px #6f8cff, 0 0 80px 30px rgba(34,211,238,.6); opacity: 0; }
.cv .flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.9), rgba(111,140,255,.3) 30%, transparent 60%); opacity: 0; pointer-events: none; z-index: 35; }
.cv .cursor { position: absolute; width: 28px; height: 28px; z-index: 36; filter: drop-shadow(0 4px 6px rgba(0,0,0,.6)); opacity: 0; }
/* 2 — reading the listing */
.cv .listing { position: absolute; left: 92px; top: 196px; width: 500px; padding: 16px; transform-style: preserve-3d; }
.cv .listing .img { height: 300px; border-radius: 12px; overflow: hidden; position: relative; background: #1b2550 center / cover no-repeat; }
.cv .listing .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(5,8,22,.55)); }
.cv .beam { position: absolute; left: -10%; right: -10%; top: 0; height: 90px; z-index: 2; background: linear-gradient(rgba(34,211,238,0), rgba(34,211,238,.55) 50%, rgba(34,211,238,0)); mix-blend-mode: screen; }
.cv .beam::after { content: ""; position: absolute; left: 0; right: 0; top: 45px; height: 2px; background: #a5f3fc; box-shadow: 0 0 16px 4px #22d3ee; }
.cv .hit { position: absolute; z-index: 3; border: 2px solid #22d3ee; border-radius: 8px; box-shadow: 0 0 14px rgba(34,211,238,.7); opacity: 0; }
.cv .hit b { position: absolute; left: -2px; top: -26px; padding: 2px 8px; border-radius: 6px; background: #22d3ee; color: #04131a; font: 800 12px Inter, sans-serif; white-space: nowrap; }
.cv .listing .t { font: 750 21px Inter, sans-serif; margin-top: 14px; letter-spacing: -.01em; } .cv .listing .p { color: #aab4d8; font-size: 16px; margin-top: 4px; }
.cv .wires { position: absolute; inset: 0; pointer-events: none; }
.cv .wires path { fill: none; stroke-width: 2; filter: drop-shadow(0 0 4px #6f8cff); }
.cv .chip { position: absolute; display: flex; align-items: center; gap: 12px; width: 262px; padding: 13px 14px; }
.cv .chip .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(111,140,255,.35), rgba(34,211,238,.2)); color: #dbe4ff; flex: none; }
.cv .chip .ic svg { width: 22px; height: 22px; }
.cv .chip b { display: block; font: 800 19px Inter, sans-serif; letter-spacing: -.01em; color: #fff; margin-top: 2px; white-space: nowrap; }
/* 3 — the map */
.cv .mapwin { position: absolute; left: 120px; top: 168px; width: 1040px; height: 500px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); background: #0b1230; }
.cv .layers { position: absolute; inset: 0; filter: invert(1) hue-rotate(195deg) saturate(.6) brightness(.82) contrast(1.08); }
.cv .layer { position: absolute; left: 0; top: 0; width: 1040px; height: 500px; transform-origin: 520px 250px; opacity: 0; will-change: transform, opacity; }
.cv .layer img { position: absolute; width: 256px; height: 256px; display: block; }
.cv .splan { position: absolute; left: -520px; top: -250px; width: 2080px; height: 1000px; transform-origin: 1040px 500px; opacity: 0; z-index: 2; will-change: transform, opacity, clip-path; }
.cv .splan svg { display: block; }
.cv .mapwin::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(5,8,22,.65)); }
.cv .coords { position: absolute; left: 24px; bottom: 18px; z-index: 5; font: 600 14px ui-monospace, Consolas, monospace; color: #9fe3f5; letter-spacing: .04em; }
.cv .zoomtag { position: absolute; right: 22px; bottom: 16px; z-index: 5; font: 700 13px Inter, sans-serif; color: #b9c8ff; padding: 5px 10px; border-radius: 8px; background: rgba(5,8,22,.6); }
.cv .ddot { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #5b8cff; box-shadow: 0 0 0 3px rgba(91,140,255,.3); z-index: 4; }
.cv .ddot.hitd { background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.35), 0 0 22px #34d399; }
.cv .dpin { position: absolute; left: 496px; top: 188px; width: 48px; height: 62px; z-index: 6; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.cv .shock { position: absolute; left: 520px; top: 250px; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 3px solid #f87171; z-index: 5; opacity: 0; }
.cv .pinlabel { position: absolute; left: 566px; top: 170px; padding: 14px 18px; z-index: 7; }
.cv .pinlabel b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.01em; } .cv .pinlabel small { color: #8ff0bd; font-weight: 700; font-size: 15px; }
.cv .dpetag { position: absolute; padding: 8px 12px; z-index: 7; font-size: 14px; }
.cv .dpetag b { color: #8ff0bd; }
/* 4 — sources */
.cv .hub { position: absolute; left: 560px; top: 330px; width: 160px; height: 160px; border-radius: 50%; overflow: hidden; z-index: 6; border: 3px solid rgba(255,255,255,.85);
  background: #1b2550 center / cover; box-shadow: 0 0 0 10px rgba(111,140,255,.18), 0 0 60px 10px rgba(111,140,255,.55); }
.cv .hubring { position: absolute; left: 640px; top: 410px; width: 160px; height: 160px; margin: -80px; border-radius: 50%; border: 2px solid rgba(111,140,255,.55); z-index: 5; opacity: 0; }
.cv .beams { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.cv .beams path { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.cv .beams path.flow { stroke-dasharray: 6 14; }
.cv .src { position: absolute; width: 132px; margin-left: -66px; text-align: center; z-index: 6; }
.cv .src .n { width: 62px; height: 62px; margin: 0 auto 8px; border-radius: 18px; display: grid; place-items: center; font: 800 15px Inter, sans-serif; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 26px -8px var(--c1); }
.cv .src small { display: block; font: 700 13px Inter, sans-serif; color: #c9d3ff; }
.cv .fact { position: absolute; padding: 9px 13px; font: 600 14.5px Inter, sans-serif; white-space: nowrap; z-index: 7; border-left: 3px solid var(--c1); border-radius: 10px; }
.cv .fact b { color: #fff; }
.cv .tally { position: absolute; right: 70px; top: 60px; text-align: right; z-index: 8; }
.cv .tally b { display: block; font: 800 44px Inter, sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
/* 5 — photos and works */
.cv .pgrid { position: absolute; left: 70px; top: 176px; display: grid; grid-template-columns: repeat(3, 236px); grid-auto-rows: 168px; gap: 14px; perspective: 1200px; }
.cv .ph5 { position: relative; border-radius: 14px; overflow: hidden; background: #1b2550 center / cover; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.cv .ph5 .scan { position: absolute; left: 0; right: 0; top: 0; height: 100%; background: linear-gradient(transparent, rgba(34,211,238,.35) 85%, rgba(165,243,252,.9) 100%); transform: translateY(-100%); }
.cv .ph5 .tagp { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 8px; font: 800 12.5px Inter, sans-serif; background: rgba(5,8,22,.75); color: #fff;
  display: flex; gap: 6px; align-items: center; }
.cv .ph5 .tagp i { width: 8px; height: 8px; border-radius: 50%; background: var(--k, #34d399); }
.cv .works { position: absolute; left: 846px; top: 176px; width: 370px; padding: 22px 24px; }
.cv .wl { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin-top: 16px; align-items: center; font-size: 14.5px; color: #d7defa; }
.cv .wl .wb { grid-column: 1 / -1; height: 8px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 6px; }
.cv .wl .wb i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #6f8cff, #22d3ee); transform-origin: left; }
.cv .works .big { font: 800 50px Inter, sans-serif; letter-spacing: -.035em; margin-top: 14px; font-variant-numeric: tabular-nums; }
.cv .works .s { color: #aab4d8; font-size: 14.5px; }
/* 6 — verdict */
.cv .verdict { position: absolute; left: 140px; top: 182px; width: 1000px; height: 440px; padding: 36px 40px; display: grid; grid-template-columns: 250px 1fr; gap: 46px; align-items: center; }
.cv .vring { position: relative; width: 250px; height: 250px; }
.cv .vring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.cv .vring .in { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.cv .vring b { font: 800 92px Inter, sans-serif; line-height: 1; letter-spacing: -.04em; } .cv .vring small { display: block; color: #aab4d8; font-size: 17px; margin-top: 6px; }
.cv .dbadge { display: inline-flex; padding: 7px 16px; border-radius: 999px; font: 800 17px Inter, sans-serif; background: rgba(251,191,36,.18); color: #fcd34d; }
.cv .offer { font: 800 56px Inter, sans-serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.cv .gauge { position: relative; height: 12px; border-radius: 8px; margin: 26px 0 30px; background: linear-gradient(90deg, #34d399, #fbbf24 55%, #f87171); }
.cv .gauge .fair { position: absolute; top: -6px; height: 24px; border-radius: 8px; border: 2px solid #fff; background: rgba(255,255,255,.18); }
.cv .gauge .mk { position: absolute; top: -34px; transform: translateX(-50%); font: 700 13px Inter, sans-serif; color: #fff; white-space: nowrap; text-align: center; }
.cv .gauge .mk::after { content: ""; display: block; width: 2px; height: 30px; margin: 4px auto 0; background: #fff; }
.cv .gauge .lb { position: absolute; top: 22px; font: 600 12.5px Inter, sans-serif; color: #aab4d8; white-space: nowrap; transform: translateX(-50%); }
.cv .vlines { display: grid; gap: 11px; }
.cv .vlines div { display: flex; gap: 10px; align-items: center; font-size: 16.5px; color: #d7defa; }
.cv .vlines i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; flex: none; }
.cv .brandend { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; opacity: 0; z-index: 30; }
.cv .brandend .logo { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 22px; background: linear-gradient(45deg, #2448c7, #5b7cfa); display: grid; place-items: center;
  box-shadow: 0 20px 60px -10px rgba(91,124,250,.9); }
.cv .brandend .bt { font: 800 72px Inter, sans-serif; letter-spacing: -.045em; }
.cv .brandend .bs { color: #aab4d8; font-size: 23px; margin-top: 10px; }
.cv .brandend .cta { display: inline-flex; margin-top: 30px; padding: 16px 30px; border-radius: 14px; background: #fff; color: #0b1230; font: 800 19px Inter, sans-serif; }
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 16px; }
.timeline button { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--muted); font: 600 13px Inter, system-ui, sans-serif; }
.timeline .bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
.timeline .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #22d3ee, var(--accent)); }
.timeline button.on { color: var(--ink); }
@media (max-width: 700px) { .timeline span { display: none; } }
.demo-ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; color: var(--muted); font-size: 13px; }

/* ============================================================ INVITATION */
body.invite #tarifs, body.invite .lnav nav a[href="#tarifs"] { display: none; }
.invite-hero .eyebrow { background: linear-gradient(90deg, rgba(36,72,199,.12), rgba(124,92,255,.14)); color: var(--accent); }
.pass { position: relative; overflow: hidden; margin: 6px 0 22px; padding: 20px 22px; border-radius: 20px; color: #fff; max-width: 520px;
  background: radial-gradient(420px 220px at 90% -20%, rgba(124,92,255,.75), transparent 60%), linear-gradient(135deg, #0e1a4a, #2448c7 60%, #5b7cfa);
  box-shadow: 0 30px 60px -24px rgba(36,72,199,.65); }
.pass::after { content: ""; position: absolute; inset: -40% auto -40% -60%; width: 40%; transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); animation: shine 3.6s ease-in-out 1.2s infinite; }
@keyframes shine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
.pass .k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c9d3ff; }
.pass .n { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 8px; }
.pass .n b { font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pass .n span { font-size: 18px; font-weight: 650; line-height: 1.25; }
.pass .f { display: flex; flex-wrap: wrap; gap: 6px; }
.pass .f i { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); }
.invite-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.invite-cta .btn { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
/* ============================================================ ADMIN */
.shv { display: inline-flex; align-items: center; gap: 3px; vertical-align: -2px; }
/* ============================================================ ACCOUNT */
.acct { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.acct > * { flex: none; }  /* the credit pill and the links never shrink under their label */
.acct .credits { font: 600 13px Inter, system-ui, sans-serif; color: var(--ink2); background: var(--panel); border: 1px solid var(--line); padding: 4px 4px 4px 12px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; transition: border-color .15s; }
.acct .credits b { color: var(--ink); font-weight: 800; }
.acct .credits.zero b { color: var(--err); }
.acct .credits span { color: var(--accent); background: var(--accent-soft); font-weight: 700; padding: 3px 10px; border-radius: 999px; transition: background .15s, color .15s; }
.acct .credits:hover { border-color: var(--accent); } .acct .credits:hover span { background: var(--accent); color: #fff; }
.acct .credits.solo { padding: 4px 12px; cursor: default; } .acct .credits.solo:hover { border-color: var(--line); }
@media (max-width: 600px) { .acct .credits span { display: none; } .acct .credits { padding-right: 12px; } }
.acct .lnk { background: none; border: 0; color: var(--ink2); font: 500 13.5px Inter, system-ui, sans-serif; cursor: pointer; padding: 6px 6px; text-decoration: none; }
.acct .lnk:hover, .acct .lnk.on { color: var(--accent); }
.acct .lnk.on { font-weight: 650; }
@media (max-width: 900px) { .acct .lnk.opt { display: none; } }
@media (max-width: 820px) { .lnav .acct { margin-left: auto; } }
.mbox.wide { width: min(860px, 100%); }
.mbox.xwide { width: min(1520px, 100%); }
.mbox.qwide { width: min(600px, 100%); }
.ac .ic.cmp.on { background: var(--accent-soft); color: var(--accent); }
.ac.sel { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.cmpbar { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1500; display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--bg);
  padding: 10px 12px 10px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 600; max-width: calc(100vw - 32px); }
.cmpbar .btn { height: 36px; } .cmpbar .lnk2 { background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; font: 600 13px Inter, system-ui, sans-serif; }
.cmpt { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.cmpt col.ck { width: 180px; }
.cmpt th, .cmpt td { padding: 9px 10px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.cmpt thead th { position: sticky; top: -26px; background: var(--panel); z-index: 1; vertical-align: top; text-align: left; border-bottom: 2px solid var(--line); }
.cmpt td.k { color: var(--muted); font-weight: 600; font-size: 12.5px; white-space: normal; line-height: 1.35; position: sticky; left: 0; background: var(--panel); z-index: 1; }
.cmpt td.best { background: var(--ok-soft); color: var(--ok); font-weight: 700; } .cmpt td.worst { background: var(--err-soft); color: var(--err); }
.cmpt tr.grp td { background: var(--soft); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 6px 10px; }
.cmpt thead th { text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 400; white-space: normal; font-size: 13.5px; }
.cmph { display: grid; gap: 6px; min-width: 0; }
.cmphead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-right: 30px; }
.cmphead .msub { margin-bottom: 14px; }
.cmpmode button:disabled { opacity: .45; cursor: default; }
.mhls { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 0 0 14px; }
.mhl { text-align: left; border: 1px solid var(--line); background: var(--soft); border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; color: var(--ink); min-width: 0; }
.mhl:hover { border-color: var(--accent); }
.mhl span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.mhl b { display: block; font-size: 14px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mhl em { display: block; font-style: normal; color: var(--ok); font-weight: 650; font-size: 13px; margin-top: 1px; }
.mcmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.mbox.mass { display: flex; flex-direction: column; overflow: hidden; }  /* only the table scrolls, header row stays in view */
.mbox.mass .tw { flex: 1 1 auto; min-height: 0; overflow: auto; }
@media (max-width: 600px) { .mbox.mass { display: block; overflow: auto; } }
.mcmp th { position: sticky; top: 0; background: var(--panel); z-index: 2; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
  font-weight: 700; padding: 8px; line-height: 1.3; vertical-align: bottom; border-bottom: 2px solid var(--line); cursor: pointer; user-select: none; }
.mcmp th:hover, .mcmp th.on { color: var(--accent); }
.mcmp td { padding: 5px 8px; border-bottom: 1px solid var(--line2); vertical-align: middle; white-space: nowrap; }
.mcmp .num { text-align: right; font-variant-numeric: tabular-nums; }
.mcmp tbody tr { cursor: pointer; } .mcmp tbody tr:hover td { background: var(--soft); }
.mcmp .bien { position: sticky; left: 0; background: var(--panel); z-index: 1; text-align: left; }
.mcmp th.bien { z-index: 3; cursor: default; }
.mcmp td.bien > div { display: flex; align-items: center; gap: 10px; width: 300px; }
.mcmp td.bien i { font-style: normal; width: 20px; text-align: right; color: var(--muted); font-weight: 700; font-size: 12px; flex: none; }
.mcmp td.bien .th { width: 46px; height: 34px; border-radius: 7px; background: var(--soft) center / cover no-repeat; flex: none; }
.mcmp td.bien > div > div { min-width: 0; }
.mcmp td.bien b { display: block; font-weight: 650; overflow: hidden; text-overflow: ellipsis; }
.mcmp td.bien small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) { .mcmp td.bien > div { width: 200px; } .mcmp td.bien .th { display: none; } }
.cmph img, .cmph .noph { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; border-radius: 10px; background: var(--soft); }
.cmph .noph { display: grid; place-items: center; color: var(--muted); }
.cmph b { font-size: 14px; font-weight: 650; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cmph .dim { font-weight: 500; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sharebar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: linear-gradient(90deg, var(--accent-soft), var(--panel)); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; margin: 0 0 14px; }
.sharebar b { font-size: 14.5px; } .sharebar .btn { margin-left: auto; }
/* shared link without white label: what the page is, then the invitation to analyse one's own listing (?src=partage) */
.sharebar .shinfo { flex: 1 1 300px; min-width: 0; }
.sharebar .shcta { display: flex; align-items: center; gap: 14px; flex: 1 1 420px; min-width: 0; padding-left: 16px; border-left: 1px solid var(--line); }
.sharebar .shcta > div { flex: 1; min-width: 0; } .sharebar .shcta .dim { display: block; font-size: var(--text-sm); }
.sharebar .shcta .btn { flex: none; }
@media (max-width: 760px) { .sharebar .shcta { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); flex-wrap: wrap; } .sharebar .shcta .btn { width: 100%; margin-left: 0; } }
.sharelink { display: flex; gap: 8px; margin: 6px 0 10px; } .shpw { display: flex; gap: 8px; } .shpw input { flex: 1; min-width: 0; } .sharelink input { flex: 1; min-width: 0; font-size: var(--text-sm); background-color: var(--soft); }
.btn.share { height: 42px; margin-left: 0; }
@media (max-width: 760px) { .btn.share .t { display: none; } }
.mok { background: var(--ok-soft); color: var(--ok); border-radius: var(--radius); padding: 11px 14px; font-size: var(--text-md); line-height: 1.5; margin: 4px 0 12px; }
.mok.warn { background: var(--warn-soft); color: var(--warn); } .mok.muted { background: var(--soft); color: var(--ink2); }
.mbox .btn.full { --btn-h: var(--control-lg); font-size: var(--text-base); }
.packs { display: grid; gap: 10px; }
.packrow { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.packrow.pop { border: 2px solid var(--accent); }
.packrow b { font-size: 16px; } .packrow .dim { display: block; }
.packrow .pr { font-size: 22px; font-weight: 800; letter-spacing: -.02em; text-align: right; }
#toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 600;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 5000; max-width: calc(100vw - 32px); }
#toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.extbox { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .extbox { grid-template-columns: 1fr; padding: 26px; } }
.extbox h2 { margin-bottom: 10px; } .extbox p { color: var(--ink2); margin: 0 0 16px; font-size: 16px; }
.extdemo { position: relative; border-radius: 16px; border: 1px solid var(--line); background: var(--soft); height: 250px; overflow: hidden; }
.extdemo .bar { height: 34px; background: var(--panel); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.extdemo .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.extdemo .bar span { margin-left: 10px; flex: 1; height: 18px; border-radius: 9px; background: var(--soft); }
.extdemo .bar b { width: 18px; height: 18px; border-radius: 4px; background: url(/static/brand/favicon.svg) center / cover; }
.extdemo .lines { padding: 18px; display: grid; gap: 10px; } .extdemo .lines i { height: 10px; border-radius: 5px; background: var(--line); }
.extdemo .lines i:nth-child(1) { width: 60%; height: 14px; } .extdemo .lines i:nth-child(2) { width: 90%; height: 90px; border-radius: 10px; } .extdemo .lines i:nth-child(4) { width: 45%; }
.extdemo .fab { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 13.5px;
  background: linear-gradient(135deg, #2448c7, #5b7cfa); box-shadow: 0 10px 24px -8px rgba(36,72,199,.6); animation: fab 2.4s ease-in-out infinite; }
@keyframes fab { 50% { transform: translateY(-4px); } }
.btn.export { height: 42px; padding: 0 20px; font-size: 14.5px; background: var(--ok-solid); margin-left: 0; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--ok-solid) 60%, transparent); }
.btn.export:disabled { background: var(--line); color: var(--muted); box-shadow: none; cursor: not-allowed; filter: none; }
@media (max-width: 760px) { .btn.export .t { display: none; } }
/* property marker */
.pin { position: relative; width: 36px; height: 46px; }
.pin svg { position: absolute; left: 0; top: 0; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
.pin .halo { position: absolute; left: 6px; top: 34px; width: 24px; height: 10px; border-radius: 50%; background: rgba(214,49,43,.45); animation: halo 1.6s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.leaflet-tooltip.pin-label { background: #d6312b; color: #fff; border: 0; font: 700 12px Inter, system-ui, sans-serif; padding: 3px 9px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.leaflet-tooltip.pin-label::before { border-top-color: #d6312b; }
.leaflet-marker-icon.pin-icon { background: none; border: 0; }

details.more { margin-top: 12px; border-top: 1px solid var(--line2); padding-top: 8px; }
details.more summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 13px; padding: 4px 0; list-style: none; }
details.more summary::before { content: "▸ "; } details.more[open] summary::before { content: "▾ "; }
details.more[open] summary { margin-bottom: 8px; }
.fig > .dim { display: block; font-size: 11.5px; margin-top: 2px; line-height: 1.35; }

/* price colours and charts (Marché tab) */
.heat { display: inline-block; padding: 1px 8px; border-radius: 6px; font-weight: 650; }
.pzone { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; border-radius: 6px; font-weight: 650; }
.pzone.low { background: var(--ok-soft); color: var(--ok); } .pzone.mid { background: var(--warn-soft); color: var(--warn); }
.pzone.high { background: var(--err-soft); color: var(--err); } .pzone.na { color: var(--muted); }
.trend.big { font-size: 13px; margin-left: 0; }
/* two-line cells (price, then sales and trend in small): narrow enough for a half-width card, no horizontal scroll */
.evc { display: inline-grid; justify-items: end; row-gap: 2px; line-height: 1.25; }
.evc small { font-size: 11px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.evc small .trend { margin-left: 5px; font-size: 11px; }
table.compact { font-size: 13px; } table.compact th { font-size: 10.5px; } table.compact td, table.compact th { padding-left: 6px; padding-right: 6px; }
.trend { font-size: 11.5px; font-weight: 650; margin-left: 6px; white-space: nowrap; } .trend.up { color: var(--ok); } .trend.down { color: var(--err); } .trend.flat { color: var(--muted); }
.delta { font-weight: 650; } .delta.good { color: var(--ok); } .delta.bad { color: var(--err); } .delta.flat { color: var(--muted); }
tr.total td { border-top: 2px solid var(--line); font-weight: 650; }
.card h3 .seg { font-weight: 600; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { fill: var(--muted); font: 11px Inter, system-ui, sans-serif; }
.chart .grid { stroke: var(--line2); stroke-width: 1; }
.chart .axis { stroke: var(--line); }
.chart .lbl { font-weight: 650; font-size: 11.5px; }
.chart circle.pt { stroke: var(--panel); stroke-width: 1.5; transition: r .15s; }
.chart circle.pt:hover { stroke: var(--ink); stroke-width: 2; }
.chart circle.cmp { stroke: var(--ink); stroke-width: 2; }
.chart circle.adj { fill-opacity: 0 !important; stroke-dasharray: 3 2; stroke-width: 2; }

/* interactive simulator */
.simu { display: grid; grid-template-columns: minmax(270px, 340px) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 920px) { .simu { grid-template-columns: minmax(0, 1fr); } }
.ctls { display: grid; gap: 14px; }
.ctls fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 12px; margin: 0; display: grid; gap: 10px; }
.ctls legend { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 0 4px; }
.ctl { display: grid; gap: 4px; } .ctl .ctop { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink2); }
.ctl .ctop b { font-variant-numeric: tabular-nums; color: var(--ink); }
.ctl input[type=range] { width: 100%; margin: 0; }
.ctl select, .ctl input[type=number] { height: 36px; width: 100%; font-size: var(--text-sm); padding-left: 10px; border-radius: var(--radius-sm); }
.ctl.chk2 { grid-template-columns: auto 1fr; align-items: center; gap: 10px; font-size: var(--text-sm); color: var(--ink2); cursor: pointer; }
.simres .figs { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .simres .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* batch analysis */
.lot { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 16px; }
.lot h3 { margin: 0 0 4px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.lot .meter { margin: 12px 0; }
.lot .lot-note { margin: 0 0 6px; font-size: 12.5px; }
.lot .lot-x { margin-left: 2px; }
.lot h4 { margin: 16px 0 6px; font-size: var(--text-sm); color: var(--ink2); }
.lotrow { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line2); font-size: 13.5px; }
.lotrow:last-child { border-bottom: 0; } .lotrow .u { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink2); }
.lotrow .st { color: var(--muted); font-size: 12.5px; white-space: nowrap; text-align: right; }
.lotrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); margin: auto; }
.lotrow.run .dot { background: var(--accent); animation: pulse 1.2s ease-in-out infinite; } .lotrow.ok .dot { background: var(--ok); } .lotrow.err .dot { background: var(--err); }
.lotarea { width: 100%; min-height: 170px; font: 13px/1.6 var(--mono); margin-bottom: var(--space-2); }
.simres table tr.pick { cursor: pointer; } .simres table tr.pick:hover td { background: var(--soft); }
.simres table tr.cur td { background: var(--accent-soft) !important; font-weight: 650; }
.aide { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.aide b { font-size: 14px; } .aide .big { font-size: 20px; font-weight: 800; color: var(--ok); letter-spacing: -.02em; }
.simbtns { display: flex; gap: 8px; flex-wrap: wrap; }
/* the results stay in view while the settings on the left scroll (--dock-bottom: lower edge of the sticky header) */
.simside { display: grid; gap: 12px; align-content: start; min-width: 0; }
.simacts { display: flex; gap: 8px; flex-wrap: wrap; } .simacts:empty { display: none; }
@media (min-width: 921px) {
  .simside { position: sticky; top: calc(var(--dock-bottom, 220px) + 12px); }  /* no scroll of its own: its end shows at the end of the settings */
}
@media print { .simside { position: static; } }

/* visit checklist (phone first) */
.vsec { margin: 16px 0 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; display: flex; justify-content: space-between; }
.vit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.vit .vt { font-size: 14px; line-height: 1.4; } .vit .vt .dim { display: block; font-size: 11.5px; margin-top: 2px; }
.vit .vb { display: inline-flex; gap: 4px; }
.vit .vb button { width: 40px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--soft); color: var(--muted); font: 700 15px Inter, system-ui, sans-serif; cursor: pointer; }
.vit .vb button.on[data-v="ok"] { background: var(--ok); border-color: var(--ok); color: #fff; }
.vit .vb button.on[data-v="ko"] { background: var(--err); border-color: var(--err); color: #fff; }
.vit .vb button.on[data-v="na"] { background: var(--line); color: var(--ink2); }
.vit .vn { grid-column: 1 / -1; display: none; width: 100%; min-height: 54px; padding: 8px 10px; font-size: 13.5px; }
.vit.ko .vn, .vit.shown .vn { display: block; } .vit.ko .vt { color: var(--err); }
.vit .addn { grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 0; color: var(--accent); font: 500 12.5px Inter, system-ui, sans-serif; cursor: pointer; }
.vit.ko .addn, .vit.shown .addn { display: none; }
.vnotes { width: 100%; min-height: 120px; font-size: var(--text-md); }
.vtools { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.vphotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 10px; }
.vphotos div { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--soft); }
.vphotos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vphotos button { position: absolute; right: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 14px; line-height: 1; }
.vadd { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.vsave { font-size: 12px; color: var(--muted); font-weight: 500; }
@media (max-width: 600px) { .vit { grid-template-columns: 1fr; } .vit .vb { justify-self: start; } .vit .vb button { width: 52px; height: 40px; } }

/* tablets and laptops: icon-only share and export buttons */
@media (max-width: 1150px) { .btn.share .t, .btn.export .t { display: none; } .btn.export, .btn.share { padding: 0 12px; } }
/* phones and tablets: top bar on two rows, compact header, scrollable tabs, wide tap targets */
@media (max-width: 900px) {
  .top .wrap { height: auto; flex-wrap: wrap; gap: 8px 8px; padding-top: 8px; padding-bottom: 8px; }
  .top .brand { font-size: 0; gap: 0; }
  .top .acct { margin-left: auto !important; gap: 4px; }
  .top .acct .lnk { padding: 6px 4px; font-size: 13px; }
  .top form.search { order: 10; flex: 1 1 100%; max-width: none; }
  .top form.search .btn { padding: 0 14px; }
  .btn.export, .btn.share { height: 36px; padding: 0 10px; }
  .wrap { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 600px) {
  .dock { padding-top: 10px; }
  .hero { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .hero h2 { font-size: 16px; }
  .hero .addr { font-size: 13px; }
  .hero .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
  .hero .figs .fig:nth-child(3) { grid-column: 1 / -1; }
  .hero .fig .v { font-size: 15px; }
  .hero .fig .lab { font-size: 10.5px; }
  .hero .score-box { gap: 12px; min-width: 0; }
  .ring { width: 66px; height: 66px; } .ring > div { width: 54px; height: 54px; } .ring b { font-size: 20px; }
  .score-box .offer { font-size: 18px; }
  .tabs button { padding: 10px 11px; font-size: 13.5px; }
  .card { padding: 14px; border-radius: 12px; }
  .vit .vb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .vit .vb button { width: auto; height: 44px; font-size: 17px; }
  .avhead h1 { font-size: 26px; }
  .filters select, .filters input[type=number] { flex: 1 1 140px; max-width: none; width: auto; }
  .b { white-space: normal; text-align: left; }  /* long labels (risks, rules) wrap instead of widening the page */
}

/* ============================================================ MES ANALYSES */
.av { padding-top: 20px; padding-bottom: 60px; }
.avhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.avhead h1 { margin: 0; font-size: 30px; letter-spacing: -.03em; font-weight: 800; line-height: 1.1; }
.avhead p { margin: 6px 0 0; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--k, var(--accent)); }
.kpi span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.kpi b { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 4px; line-height: 1.15; }
.kpi b small { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.kpi em { font-style: normal; color: var(--muted); font-size: 12.5px; margin-left: 6px; }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.filters { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px; display: grid; gap: 10px; margin-bottom: 16px; }
.frow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fsearch { flex: 1 1 260px; position: relative; min-width: 0; }
.fsearch svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.filters input:not([type=checkbox]), .filters select { height: 38px; border-color: var(--line); background-color: var(--soft); font-size: 13.5px; }
.fsearch input { width: 100%; padding-left: 36px; }
.filters select { cursor: pointer; max-width: 210px; }
.filters input[type=number] { width: 150px; }
.fzone { display: inline-flex; gap: 7px; align-items: center; font-size: 13px; color: var(--ink2); cursor: pointer; margin-left: auto; }
.freset { background: none; border: 0; color: var(--accent); font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; padding: 6px 4px; }
.avgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 41%); gap: 18px; align-items: start; }
.acount { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; margin: 0 2px 10px; }
.acards { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px; }
.avmap { position: sticky; top: 80px; height: calc(100vh - 100px); min-height: 440px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--soft); }
#aMap { position: absolute; inset: 0; }
.avmap .mnote { position: absolute; right: 10px; top: 10px; z-index: 500; background: var(--panel); color: var(--ink2); border: 1px solid var(--line); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow); }
.avmap .mnote:empty { display: none; }
.avmap .mleg { position: absolute; right: 10px; bottom: 26px; z-index: 500; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; display: grid; gap: 3px; font-size: 11.5px; color: var(--ink2); box-shadow: var(--shadow); }
.avmap .mleg span { display: flex; align-items: center; gap: 6px; } .avmap .mleg i { width: 9px; height: 9px; border-radius: 50%; }
@media (max-width: 1080px) { .avgrid { grid-template-columns: minmax(0, 1fr); } .avmap { position: relative; top: 0; height: 360px; min-height: 0; order: -1; } }
/* « Mes analyses »: filters sidebar on the left, results (three views) and map on the right */
.av.wrap { max-width: 1720px; }
.avlayout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: start; }
.avside { position: sticky; top: 80px; max-height: calc(100vh - 96px); overflow: auto; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 14px; }
.avshead { display: flex; align-items: center; justify-content: space-between; }
.avshead b { font-size: 15px; }
.avshead .freset { padding: 2px 0; }
.avside > * { flex-shrink: 0; }
.avside .fsearch { flex: none; }
.avside .fgrp { display: grid; gap: 6px; }
.avside .flab { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.avside select, .avside input[type=number] { width: 100%; max-width: none; }
.avside .ffav { width: 100%; }
.avside .ffav small { margin-left: auto; }
.avside .fzone { margin-left: 0; }
.avside .fzone:has(input:disabled) { opacity: .5; cursor: default; }
.fdec { display: grid; gap: 2px; margin: 0 -4px; }
.fdec button { display: flex; align-items: center; gap: 9px; width: 100%; border: 0; background: none; padding: 7px 9px; border-radius: 9px; font: 600 13.5px Inter, system-ui, sans-serif; color: var(--ink2); cursor: pointer; text-align: left; }
.fdec button i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.fdec button small { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 12px; font-variant-numeric: tabular-nums; }
.fdec button:hover { background: var(--soft); color: var(--ink); }
.fdec button.on { background: var(--accent-soft); color: var(--accent); } .fdec button.on small { color: var(--accent); }
.avfclose, .avbar .avfbtn, .avacts.bar { display: none; }
.avacts.side { display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line2); }
.avacts.side .btn { width: 100%; justify-content: center; }
.avacts.bar { gap: 6px; }
.avmap { isolation: isolate; }
.avbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 2px 12px; }
.avbar .acount { margin: 0 auto 0 0; gap: 12px; justify-content: flex-start; flex-wrap: wrap; }
.avbar select { height: 34px; font-size: var(--text-sm); padding-left: 10px; border-color: var(--line); border-radius: 9px; }
.avbar .ffav { height: 34px; background: var(--panel); }
.avbar .vsw { background: var(--panel); }
.avbar .vsw button { padding: 5px 10px; gap: 6px; }
.avbar .vsw button.on { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.avmapbtn[aria-pressed=true] { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.avmapbtn svg { color: currentColor; }
.avfbtn svg, .avcmpall svg, .avcsv svg { color: currentColor; }
.avcmpall:disabled, .avcsv:disabled { opacity: .45; cursor: default; } .avfbtn.on { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.avgrid.nomap { grid-template-columns: minmax(0, 1fr); } .avgrid.nomap .avmap { display: none; }
/* large screens: the view fits the window; filters and map stay put, only the results scroll */
@media (min-width: 1081px) {
  .av { height: calc(100dvh - var(--hdr, 65px)); padding-top: 16px; padding-bottom: 16px; overflow: hidden; }
  .av .avlayout { height: 100%; align-items: stretch; }
  .av .avside { position: static; height: 100%; max-height: none; }
  .av .avmain { height: 100%; min-height: 0; display: flex; flex-direction: column; }
  .av .avmain > * { flex: none; }
  .av #lotBox { max-height: 38%; overflow-y: auto; }
  .av .avgrid { flex: 1 1 auto; min-height: 0; align-items: stretch; }
  .av .avgrid > section { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 6px 16px 2px; margin: -2px -6px 0 -2px; }
  .av .avmap { position: relative; top: 0; height: 100%; min-height: 0; }
}
#aCards { container-type: inline-size; }
/* small cards */
.ac .mini { display: none; }
.acards.v-small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.v-small .ac { border-radius: 13px; }
.v-small .ac .pic { aspect-ratio: 16 / 9; }
.v-small .ac .note { min-width: 38px; height: 38px; left: 8px; top: 8px; font-size: 15px; }
.v-small .ac .note small { font-size: 8px; }
.v-small .ac .dec, .v-small .ac .phrase, .v-small .ac .facts { display: none; }
.v-small .ac .fav { width: 28px; height: 28px; right: 8px; top: 8px; }
.v-small .ac .fav svg { width: 14px; height: 14px; }
.v-small .ac .price { left: 10px; right: 10px; bottom: 7px; }
.v-small .ac .price b { font-size: 16px; } .v-small .ac .price span { font-size: 11px; }
.v-small .ac .bd { padding: 9px 11px 6px; gap: 6px; }
.v-small .ac h4 { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-small .ac .where { font-size: 12px; margin-top: -4px; }
.v-small .ac .mini { display: flex; align-items: center; gap: 8px; min-height: 24px; font-size: 12.5px; color: var(--ink2); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.v-small .ac .mini > span:not(.dpe) + span:not(.dpe)::before { content: "·"; color: var(--muted); margin-right: 8px; }
.v-small .ac .mini .dpe { flex: none; }
.v-small .ac .ft { padding-top: 5px; }
.v-small .ac .ft > span:first-child { font-size: 11px; }
.v-small .ac .ic { width: 26px; height: 26px; }
/* table */
.acards.v-table { display: block; }
.atable { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-size: 13.5px; }
.atable th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 10px; border-bottom: 1px solid var(--line); background: var(--soft); white-space: nowrap; }
.atable th.num { text-align: right; }
.atable th[data-sort] { cursor: pointer; user-select: none; } .atable th[data-sort]:hover { color: var(--ink); }
.atable th.on { color: var(--accent); } .atable th.on::after { content: " ▾"; }
.atable td { padding: 8px 10px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.atable tbody tr:last-child td { border-bottom: 0; }
.atable tbody tr { cursor: pointer; }
.atable tbody tr:hover td, .atable tbody tr.hot td { background: var(--soft); }
.atable tbody tr.sel td { background: var(--accent-soft); }
.atable tbody tr.flash td { animation: rowflash 1.6s ease; }
@keyframes rowflash { 0%, 45% { background: var(--accent-soft); } }
.atable tbody tr:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.atable .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.atable td b { font-weight: 650; }
.atable .sub { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.atable .c-pic { width: 66px; padding-right: 0; }
.atable .c-prix { width: 112px; } .atable .c-note { width: 206px; } .atable .c-rend { width: 96px; } .atable .c-cf { width: 96px; } .atable .c-trav { width: 98px; } .atable .c-dpe { width: 58px; } .atable .c-date { width: 108px; }
.tpic { width: 56px; height: 42px; border-radius: 8px; overflow: hidden; background: var(--soft); display: grid; place-items: center; color: var(--muted); }
.tpic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpic svg { width: 20px; height: 20px; }
.atable .c-bien { overflow: hidden; }
.atable .c-bien b, .atable .c-bien .sub { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atable .c-bien .tstar { color: #f5a400; margin-right: 5px; }
.atable .c-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tnote { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--c); color: var(--c); font-weight: 800; font-size: 13px; margin-right: 7px; vertical-align: middle; }
.atable .c-act { white-space: nowrap; width: 158px; text-align: right; padding-left: 4px; }
.atable .ic { width: 28px; height: 28px; border-radius: 8px; border: 0; background: none; color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; vertical-align: middle; }
.atable .ic:hover { background: var(--panel); color: var(--ink); text-decoration: none; } .atable .ic.del:hover { color: var(--err); background: var(--err-soft); }
.atable .ic.cmp.on { background: var(--accent-soft); color: var(--accent); }
.atable .ic.fav.on { color: #f5a400; } .atable .ic.fav.on svg { fill: currentColor; }
.atable .ic.fav.pop { animation: favpop .35s ease; }
@container (max-width: 1100px) { .atable .c-date { display: none; } }
@container (max-width: 960px) { .atable .c-cf { display: none; } }
@container (max-width: 980px) { .atable .c-note { width: 62px; } .atable .c-note .b { display: none; } .atable .tnote { margin-right: 0; } }
@container (max-width: 860px) { .atable .c-dpe, .atable .c-trav { display: none; } }
@container (max-width: 640px) { .atable .c-rend, .atable .c-cf { display: none; } }
@container (max-width: 520px) { .atable .c-pic, .atable .ic.cmp, .atable .ic.loc, .atable .ic.ext { display: none; } .atable .c-act { width: 72px; } .atable .c-prix { width: 98px; } .atable td, .atable th { padding: 8px; } }
@media (max-width: 1080px) {
  .avlayout { grid-template-columns: minmax(0, 1fr); }
  .avside { display: none; }
  .avbar .avfbtn, .avacts.bar { display: inline-flex; }
  .avacts.side { display: none; }
  .avlayout.fopen::before { content: ""; position: fixed; inset: 0; background: rgba(10, 12, 18, .45); z-index: 80; }
  .avlayout.fopen .avside { display: flex; position: fixed; left: 0; right: 0; bottom: 0; top: auto; max-height: 84vh; z-index: 81; border-radius: 18px 18px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -12px 40px rgba(0, 0, 0, .25); }
  .avfclose { display: inline-flex; justify-content: center; position: sticky; bottom: 0; margin-top: 4px; }
}
@media (max-width: 600px) { .avbar .vsw button span, .avbar .avmapbtn span, .avacts.bar [data-batch] span, .avcmpall span, .avcsv span { display: none; } .avbar .vsw button { padding: 5px 8px; } }

@media (prefers-color-scheme: dark) { #aMap .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.88); } }
.ac { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.ac:hover, .ac.hot { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ac.flash { animation: acflash 1.6s ease; }
@keyframes acflash { 0%, 45% { box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-lg); border-color: var(--accent); } }
.ac .pic { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #cfd6e4, #e9edf4); overflow: hidden; }
@media (prefers-color-scheme: dark) { .ac .pic { background: linear-gradient(160deg, #262b36, #1d2129); } }
.ac .pic::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(transparent, rgba(10,12,18,.62)); pointer-events: none; }
.ac .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ac:hover .pic img { transform: scale(1.045); }
.ac .pic .nophoto { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); opacity: .6; }
.ac .pic:not(:has(img))::after { display: none; }
.ac .pic:not(:has(img)) .price { color: var(--ink); text-shadow: none; }
.ac .note { position: absolute; left: 10px; top: 10px; z-index: 1; min-width: 50px; height: 50px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; align-content: center;
  font-weight: 800; font-size: 19px; line-height: 1; box-shadow: 0 4px 14px rgba(0,0,0,.22); border: 3px solid currentColor; font-variant-numeric: tabular-nums; }
.ac .note small { font-size: 9.5px; color: var(--muted); font-weight: 700; margin-top: 1px; }
.ac .dec { position: absolute; right: 52px; top: 13px; z-index: 1; }
.ac .fav { position: absolute; right: 10px; top: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(15,17,21,.45); color: #fff; backdrop-filter: blur(4px); transition: transform .15s ease, background .15s ease; }
.ac .fav:hover { transform: scale(1.1); background: rgba(15,17,21,.65); }
.ac .fav.on { background: #fff; color: #f5a400; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.ac .fav.on svg { fill: currentColor; }
.ac .fav.pop { animation: favpop .35s ease; }
@keyframes favpop { 40% { transform: scale(1.35); } }
.ffav { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); color: var(--ink2);
  font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; }
.ffav svg { color: #f5a400; } .ffav small { color: var(--muted); font-weight: 600; }
.ffav.on { background: #fff6dc; border-color: #f5c242; color: #8a5a00; } .ffav.on svg { fill: currentColor; }
@media (prefers-color-scheme: dark) { .ffav.on { background: #3a2e10; color: #f5c242; } }
.amk .st { position: absolute; right: -7px; top: -8px; font-size: 13px; color: #f5a400; text-shadow: 0 0 2px #fff, 0 0 2px #fff; }
.amk { position: relative; }
.ac .dec .b { box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.ac .price { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; color: #fff; display: flex; align-items: baseline; gap: 8px; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.ac .price b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ac .price span { font-size: 12.5px; font-weight: 600; opacity: .92; }
.ac .bd { padding: 12px 14px 10px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.ac h4 { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.3; letter-spacing: -.005em; }
.ac .where { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: -6px; }
.ac .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ac .facts div { background: var(--soft); border-radius: 9px; padding: 6px 8px; min-width: 0; }
.ac .facts span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac .facts b { font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; display: flex; align-items: center; min-height: 22px; }
.ac .phrase { font-size: 13px; color: var(--ink2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
.ac .ft { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line2); font-size: 12px; color: var(--muted); min-width: 0; }
.ac .ft > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac .ft .sp { margin-left: auto; display: flex; gap: 2px; flex: none; }
.ac .ic { width: 30px; height: 30px; border-radius: 8px; border: 0; background: none; color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; }
.ac .ic:hover { background: var(--soft); color: var(--ink); text-decoration: none; } .ac .ic.del:hover { color: var(--err); background: var(--err-soft); }
.ac.sk { cursor: default; pointer-events: none; } .ac.sk .pic, .ac.sk .bd i { background: linear-gradient(90deg, var(--sk1) 25%, var(--sk2) 50%, var(--sk1) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.ac.sk .pic::after { display: none; } .ac.sk .bd i { display: block; height: 12px; border-radius: 6px; } .ac.sk .bd i:first-child { width: 70%; height: 15px; } .ac.sk .bd i:last-child { width: 45%; }
.avmore { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 0 4px; }
.avempty { grid-column: 1 / -1; text-align: center; padding: 56px 24px; background: var(--panel); border: 1px dashed var(--line); border-radius: 16px; color: var(--ink2); }
.avempty h3 { margin: 12px 0 6px; font-size: 18px; } .avempty p { margin: 0 auto 18px; color: var(--muted); max-width: 420px; }
.avempty svg { color: var(--accent); }
.amk { width: 32px; height: 32px; border-radius: 50%; color: #fff; font: 800 13px/1 Inter, system-ui, sans-serif; display: grid; place-items: center; border: 2.5px solid #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.35); transition: transform .15s ease; }
.amk.gold { box-shadow: 0 0 0 3px #f5c242, 0 3px 10px rgba(0,0,0,.35); }
.amk.hot { transform: scale(1.35); }
.leaflet-marker-icon.amk-wrap { background: none; border: 0; }
.apop { display: grid; gap: 3px; min-width: 190px; font: 13px/1.4 Inter, system-ui, sans-serif; }
.apop b { font-size: 14px; } .apop span { color: #6b7280; } .apop a { font-weight: 650; margin-top: 4px; }

/* Pro subscription and white label: account sections, the professional's brand on shared links */
.btn.pdf { height: 42px; margin-left: 0; }
@media (max-width: 1150px) { .btn.pdf .t { display: none; } .btn.pdf { padding: 0 12px; } }
@media (max-width: 900px) { .btn.pdf { height: 36px; padding: 0 10px; } }
.acsec { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0 0 16px; }
.acsec h4 { margin: 0 0 6px; } .acsec p { margin: 0 0 10px; }
.acsec .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.acsec.pro { background: linear-gradient(160deg, var(--accent-soft), var(--panel) 60%); }
.prolist { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; color: var(--ink2); }
.prolist li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.brandlogo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.brandlogo .lg { width: 132px; height: 60px; border: 1px dashed var(--line); border-radius: 10px; display: grid; place-items: center; background: #fff; overflow: hidden; color: var(--muted); font-size: 12px; }
.brandlogo .lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* « Mon compte » view (#mon-compte) */
.cpt { padding-top: 24px; padding-bottom: 60px; max-width: 1120px; }
.cpthead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 20px; flex-wrap: wrap; margin: 0 0 18px; }
.cpthead h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.025em; } .cpthead p { margin: 0; }
.cpthead .row { display: flex; gap: 8px; flex-wrap: wrap; }
.cptgrid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cpt .acsec { background: var(--panel); box-shadow: var(--shadow); padding: 18px 20px; }
.cpt .acsec.pro { background: linear-gradient(160deg, var(--accent-soft), var(--panel) 60%); }
.cpt .acsec h4 { font-size: 15px; margin-bottom: 8px; }
.cpt .acsec.danger { border-color: color-mix(in srgb, var(--err) 35%, var(--line)); } .cpt .acsec.danger h4 { color: var(--err); }
@media (max-width: 900px) { .cptgrid { grid-template-columns: minmax(0, 1fr); } .cpthead h1 { font-size: 24px; } }
.acct .lnk.acc { display: inline-flex; align-items: center; gap: 5px; }
@media (max-width: 1000px) { .acct .lnk.acc .t { display: none; } }
body.wl .top .brand { font-size: 15px; gap: 10px; cursor: default; min-width: 0; }
body.wl .top .brand img { height: 40px; max-width: 180px; object-fit: contain; display: block; background: #fff; border-radius: 8px; padding: 2px 6px; }
body.wl .top .brand.logo span { display: none; }  /* the logo carries the name, shown in full in the bar below */
body.wl .top form.search, body.wl .top .acct, body.wl .top .goal { display: none; }
body.wl .top .btn.export { margin-left: auto !important; }
@media (max-width: 900px) { body.wl .top .wrap { flex-wrap: nowrap; } body.wl .top .brand img { height: 34px; max-width: 140px; } }
/* app bar: the link field keeps its room; the report's actions (share, CSV, PDF) are quiet square icon buttons, their
   label kept for screen readers and in the tooltip. White label (no link field) keeps the labels. */
@media (min-width: 901px) {
  body:not(.wl) .top form.search { min-width: 300px; }
  body:not(.wl) .top .btn.share, body:not(.wl) .top .btn.export, body:not(.wl) .top .btn.pdf { width: var(--control); height: var(--control); padding: 0; flex: none; }
}
body:not(.wl) .top .btn.share .t, body:not(.wl) .top .btn.export .t, body:not(.wl) .top .btn.pdf .t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
body:not(.wl) .top .btn.export { background: var(--panel); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
body:not(.wl) .top .btn.export:hover:not(:disabled) { background: var(--soft); border-color: color-mix(in srgb, var(--accent) 30%, var(--line-strong)); filter: none; }
body:not(.wl) .top .btn.export:disabled { background: var(--panel); color: var(--muted); opacity: .55; }
.acsec .merr { min-height: 0; margin: 8px 0 0; }
.wlcard { display: flex; gap: 14px; align-items: center; min-width: 0; }
.wlcontact { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; margin-top: 3px; }
.printhead { display: none; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 12px; margin: 0 0 14px; border-bottom: 2px solid #14171f; }
.printhead img { height: 48px; max-width: 210px; object-fit: contain; display: block; }
.printhead .pn { display: flex; align-items: center; gap: 12px; } .printhead b { font-size: 17px; }
.printhead .pc { text-align: right; font-size: 11.5px; color: #3b4150; line-height: 1.45; }
body.printing .panel:not([data-tab="visite"]):not(.nodocs) { display: block; }  /* before printing: every section laid out, maps sized */
@media print {
  :root {
    --bg: #fff; --panel: #ffffff; --ink: #14171f; --ink2: #3b4150; --muted: #6b7280; --line: #e5e7eb; --line2: #eef0f3;
    --soft: #f7f8fa; --accent: #2448c7; --accent2: #5b7cfa; --accent-soft: #e9eefc; --ok: #138a52; --ok-soft: #e3f4ea; --warn: #b45309; --warn-soft: #fdf1e1;
    --err: #c0362c; --err-soft: #fbe8e6; --hl: #fff8e1; --shadow: none; --shadow-lg: none; --sk1: #eceef2; --sk2: #f6f7f9;
  }
  @page { size: A4; margin: 12mm 10mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { background: #fff; font-size: 12px; }
  #top, #mbar, #landing, #vueAnalyses, #toast, #modal, #zoom, .tabs, .stages, .sharebar, .upsell, .alert, .seg, .vsave, .foot .legal,
  .leaflet-control-container, .hero .thumbl span, .panel button, .panel .btn { display: none !important; }
  .printhead { display: flex; }
  .wrap { max-width: none !important; padding: 0 !important; }
  .dock { position: static; padding: 0; } .dock::after { display: none; }
  .hero { box-shadow: none; }
  .panels { padding-top: 8px; }
  .panel { display: block !important; break-before: page; }
  .panels > .panel:first-child { break-before: auto; }
  .panel[data-tab="visite"], .panel.nodocs { display: none !important; }  /* visit notes and photos stay private; no document, no section */
  .panel::before { content: attr(data-label); display: block; font-size: 18px; font-weight: 800; margin: 0 0 10px; color: #14171f; break-after: avoid; }
  .card { box-shadow: none !important; } .card h3 { break-inside: avoid; break-after: avoid; } .card .sub { break-before: avoid; }
  .map { height: 300px !important; }
  a { color: inherit !important; text-decoration: none !important; }
}

#analysisFeedback { grid-column:1; grid-row:2; justify-self:center; }
#analysisFeedback[hidden] { display:none; }
#analysisFeedback .btn { gap:6px; height:32px; padding:0 11px; font-size:12px; color:#79500c; background:linear-gradient(135deg,#fff3ce,#f3d58a); border:1px solid #d8b264; box-shadow:0 2px 5px rgba(143,103,24,.1); }
#analysisFeedback .btn:hover { background:linear-gradient(135deg,#ffe8aa,#eac36a); border-color:#bc913d; }
#analysisFeedback .btn:focus-visible { outline:2px solid #b47813; outline-offset:3px; }
.dock.compact #analysisFeedback { display:none; }
.address-correction { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }
.address-correction .dim { font-size:12px; }
.mbox.feedback-modal { width:min(520px,100%); padding:28px; }
.feedback-modal h2 { margin:14px 0 8px; font-size:24px; letter-spacing:-.025em; }
.feedback-modal .msub { line-height:1.6; }
.feedback-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:14px; background:var(--accent-soft,#eef0ff); color:var(--accent,#4b5fff); font-size:30px; }
.feedback-stars { display:flex; gap:10px; padding:0; border:0; margin:20px 0 8px; }
.feedback-stars label { position:relative; display:flex; flex:1; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:74px; border:1px solid var(--line); border-radius:12px; background:var(--bg); color:var(--muted); cursor:pointer; transition:background .15s,border-color .15s,color .15s; }
.feedback-stars label span { font-size:30px; line-height:1; }
.feedback-stars label small { font-size:12px; }
.feedback-stars input { position:absolute; opacity:0; width:1px; height:1px; }
.feedback-stars label.is-on { background:#fff8e8; border-color:#f0ce80; color:#b47813; }
.feedback-stars label:hover { border-color:#b47813; }
.feedback-stars label:focus-within { outline:2px solid var(--accent,#4b5fff); outline-offset:3px; }
.feedback-scale { display:flex; justify-content:space-between; margin:0 0 24px; font-size:12px; color:var(--muted); }
.feedback-modal textarea { min-height:110px; resize:vertical; }
@media(max-width:480px) { .mbox.feedback-modal { padding:22px; } .feedback-stars { gap:6px; } .feedback-stars label { min-height:66px; } }
/* ============================================================ CLASSES REPLACING FORMER INLINE STYLES */
.pcard .ph0.facade { background: url(/static/demo/facade.jpg) center / cover; }
.ring.ring-sm { width: 64px; height: 64px; } .ring.ring-sm > div { width: 52px; height: 52px; } .ring.ring-sm b { font-size: 19px; }
.escale > i.A { background: #009c6d; } .escale > i.B { background: #52b153; } .escale > i.C { background: #78bd76; } .escale > i.D { background: #f4e70f; }
.escale > i.E { background: #f0b40f; } .escale > i.F { background: #eb8235; } .escale > i.G { background: #d7221f; }
.lsec.lsec-intro { padding: 0 0 26px; } .lsec.pt-sm { padding-top: 20px; } .lsec.pt-md { padding-top: 30px; } .lsec.pt-lg { padding-top: 40px; }
.steps3, .pricing { text-align: left; }
footer.lfoot .cities a b.all { color: inherit; margin: 0; } footer.lfoot .cities b.sep { margin-left: 10px; }
#au1 { left: 760px; top: -180px; width: 620px; height: 460px; background: #3d63ff; }
#au2 { left: -200px; top: 420px; width: 620px; height: 460px; background: #0e7490; }
#au3 { left: 420px; top: 520px; width: 520px; height: 380px; background: #7c3aed; opacity: .3; }
#hit1 { left: 286px; top: 52px; width: 120px; height: 108px; } #hit2 { left: 150px; top: 206px; width: 190px; height: 70px; }
#dpeTag { left: 600px; top: 300px; } #cursor { left: 700px; top: 520px; }
.cv .voff-l { color: #aab4d8; margin-top: 16px; font-size: 15px; }
/* legend swatches: same colours as the map markers */
.legend i.sw-bien { background: #d6312b; } .legend i.sw-annonce { background: #8a8a8a; } .legend i.sw-dpe { background: #2f7ff0; } .legend i.sw-copro { background: #8e44ad; }
.legend i.sw-equip { background: #e8772e; } .legend i.sw-permis { background: #14b8a6; } .legend i.sw-low { background: #138a52; } .legend i.sw-mid { background: #e0a100; }
.legend i.sw-high { background: #c0362c; } .legend i.sw-na { background: #9ca3af; }
.legend i.sw-ring { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); } .legend i.sw-ring-mid { background: transparent; box-shadow: inset 0 0 0 2px #e0a100; }
.legend i.sw-line { background: #2448c7; border-radius: 2px; height: 3px; width: 14px; }
.mleg i.sw-pepite { background: #0e7a45; box-shadow: 0 0 0 2px #f5c242; } .mleg i.sw-interessant { background: #2e9e5b; } .mleg i.sw-negocier { background: #d08100; } .mleg i.sw-high { background: #c0362c; }
.map.map-md { height: 460px; }
.figs.auto { margin-top: 0; grid-template-columns: repeat(auto-fit, minmax(var(--fig-min, 140px), 1fr)); }
.figs.auto.w130 { --fig-min: 130px; } .figs.auto.w150 { --fig-min: 150px; }
.figs.three { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.loc-addr { font-size: 16px; font-weight: 650; margin-bottom: 6px; }
.plain-list { margin: 0; padding-left: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.callout + .callout { margin-top: -4px; }
.leaflet-popup .pop-dim { color: #5f6673; } .leaflet-popup .pop-table { font-size: 12px; margin-top: 6px; }
.fallback .fb-note { margin: 10px 0 0; font-size: var(--text-sm); } .fallback .fb-note.tight { margin-top: 4px; }
#app.unread #hero, #app.unread #tabs, #app.unread #upsell, #app.unread .panels { display: none; }
.packbuy { display: flex; gap: 12px; align-items: center; }
.qgrid > .span-all { grid-column: 1 / -1; }
.strong-link { font-weight: 600; }
@media (max-width: 520px) { .cta > div { padding: 44px 20px; } }
/* « Recevoir cet aperçu par e-mail » under the end of the preview, and the price watch (static/suivi.js) */
.apercu-mail { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px 22px; padding-top: 18px; border-top: 1px solid var(--line2); }
.apercu-mail.done { grid-template-columns: 1fr; }
.apercu-mail .am-intro { display: flex; gap: 12px; align-items: flex-start; }
.apercu-mail .am-intro h4 { margin: 2px 0 6px; }
.apercu-mail .am-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.apercu-mail .am-ico.ok { background: var(--ok-soft); color: var(--ok); }
.apercu-mail .field { margin-bottom: 8px; } .apercu-mail .check { margin-bottom: 8px; }
@media (max-width: 760px) { .apercu-mail { grid-template-columns: 1fr; } }
/* rentability hypotheses the owner may set (renderRenta): an underlined value that turns into a field */
.hv { font: inherit; color: var(--ink); background: none; border: 0; border-bottom: 1px dashed var(--line-strong); border-radius: 0; padding: 0 1px; cursor: pointer; font-variant-numeric: tabular-nums; }
.hv:hover, .hv:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }
.hv.mine { color: var(--accent); font-weight: 700; border-bottom-color: var(--accent); }
.hv-edit { display: inline-flex; align-items: center; gap: 6px; }
.hv-edit input { width: 108px; height: 30px; padding: 0 8px; text-align: right; font-size: 13.5px; }
.hv-edit .u { color: var(--muted); font-size: 12px; min-width: 22px; text-align: left; }
.hyp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.hyp-foot .hint { flex: 1 1 260px; }
@media (max-width: 560px) { .sim3 th:nth-child(2), .sim3 td:nth-child(2) { display: none; } }  /* phone: the investigation's and the user's figures */
/* the address the user knows, at launch, and the pencil beside a report's address (static/adresse.js) */
.kaddr { position: relative; margin-top: 10px; }
.kaddr-in { display: flex; align-items: center; gap: 8px; height: var(--control); padding: 0 6px 0 12px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.kaddr-in svg { color: var(--accent); flex: none; }
.kaddr-in input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; box-shadow: none; outline: none; font-size: var(--text-md); }
.kaddr-in:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.kaddr-sug { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; list-style: none; margin: 0; padding: 4px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.kaddr-sug li { padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; font-size: var(--text-sm); color: var(--ink); }
.kaddr-sug li:hover, .kaddr-sug li.on { background: var(--soft); }
.kaddr-tg[hidden] { display: none; }
/* the address report (static/rapport-adresse.js): suggestions under every analysis form, a pin instead of the listing's photo */
form.js-scan.has-sug { position: relative; }
.hero .thumb-pin { display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); }
.addr-edit { all: unset; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 2px; border-radius: 6px; color: var(--muted); cursor: pointer; vertical-align: middle; }
.addr-edit:hover, .addr-edit:focus-visible { color: var(--accent); background: var(--accent-soft); }
/* alerts of new listings (static/alertes.js) */
.al-n { margin-left: 6px; }
.al-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.al-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: var(--radius-md); }
.al-list li > div { flex: 1 1 280px; display: grid; gap: 2px; font-size: 14px; }
.al-list .dim { font-size: 12.5px; } .al-list .b { justify-self: start; }
.al-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.al-h { font-size: 15px; margin: 8px 0 10px; }
/* the owner's follow-up of each property (static/projet.js) */
.pj-chips { all: unset; display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 2px; cursor: pointer; }
.pj-chips:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.pj-chips .b { margin: 0; }
.ac .ic.pj.on, .atable .ic.pj.on { color: var(--accent); background: var(--accent-soft); }
.pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; align-items: start; }
.pj-form textarea { width: 100%; } .pj-acts { justify-content: flex-end; }
#pjCard .pj-form { max-width: 760px; }
@media (max-width: 560px) { .pj-grid { grid-template-columns: minmax(0, 1fr); } }
/* comments on a shared analysis (static/commentaires.js) */
.cm-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.cm-list li { background: var(--soft); border-radius: var(--radius-md); padding: 10px 14px; }
.cm-list li.own { background: var(--accent-soft); }
.cm-head { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.cm-head .dim { font-size: 12px; } .cm-head .btn { margin-left: auto; --btn-h: 26px; }
.cm-list p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.cm-form { max-width: 720px; } .cm-form textarea { width: 100%; } .cm-acts { justify-content: flex-end; }
.cm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sh-cm { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.sh-cm h4 { margin: 0 0 10px; font-size: 14px; }
.share .cm-n { margin-left: 2px; padding: 0 7px; }
.cmb { display: inline-block; margin-top: 4px; }
@media print { #commentsCard { display: none !important; } }
/* the purchase offer letter (static/offre.js) */
.of-btn { margin-left: 10px; --btn-h: 28px; vertical-align: middle; }
.offer-form .of-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.offer-form .span-all { grid-column: 1 / -1; }
.offer-form .of-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.offer-form .of-grid3[hidden] { display: none; }
.offer-form textarea { width: 100%; }
.offer-form .of-acts { justify-content: flex-end; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
@media (max-width: 560px) { .offer-form .of-grid, .offer-form .of-grid3 { grid-template-columns: minmax(0, 1fr); } .offer-form .of-acts .btn { flex: 1; } }
/* the price watch: a bell on the price figure of the header; under the tabs, a message only when there is one */
#watchBox { margin: 12px 0 0; } #watchBox:empty { display: none; }
#watchBox .callout { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: var(--text-sm); }
#watchBox .callout > span { flex: 1; min-width: 0; padding: 3px 0; }
#watchBox .callout .btn { flex: none; --btn-h: 26px; }
.fig.has-watch { position: relative; }
.fig.has-watch .lab { padding-right: 22px; }
.pw { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.pw svg { width: 14px; height: 14px; }
.pw:hover { color: var(--ink); background: var(--panel); }
.pw.on { color: var(--accent); background: var(--accent-soft); }
.pw.warn { color: var(--warn); background: var(--warn-soft); }
.pw.off { opacity: .55; }
.pw:disabled { cursor: progress; }
.dock.compact .pw { top: 2px; right: 3px; width: 20px; height: 20px; }
@media (max-width: 700px) { .pw { top: 4px; right: 4px; width: 28px; height: 28px; } .fig.has-watch .lab { padding-right: 30px; } }
.ac .ic.watch.on, .atable .ic.watch.on { color: var(--accent); background: var(--accent-soft); }
.atable .c-act { width: 214px; }
@media print { #watchBox, .pw, .apercu-mail { display: none !important; } }
/* with a shared analysis (static/partage.js): the owner's opinion, the visit report; the way back to the file's link */
.avis-pro { border-left: 3px solid var(--accent); }
.avis-pro .avis-txt { margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; font-size: var(--text-base); line-height: 1.55; }
#visitCard.owner { display: none; }
.vcr-notes { margin: 12px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.vcr-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 12px; }
.vcr-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--soft); }
.sharebar .btn.shback { margin-left: 0; }
.shopts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin: 0 0 14px; }
.shopts .switch { margin-left: auto; font-size: var(--text-sm); align-items: center; }
#shAvisF[hidden] { display: none; }
@media print { #visitCard.owner { display: block !important; } .vcr-photos { grid-template-columns: repeat(4, 1fr); } .vcr-photos img { break-inside: avoid; } }
/* energy renovation from the audits of comparable homes (static/renovation.js), under the works of the photos */
.reno-w { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 9px 10px; border-bottom: 1px solid var(--line2); font-size: 13.5px; }
.reno-w .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* documents of the condominium (static/documents.js): the files read, the crossings, what the documents say; a value
   taken from a document carries the document mark, in the tab and in the « Fiche du bien » */
.docv { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 600; flex-wrap: wrap; }
.docv .doci { flex: none; }
.docv .b { font-weight: 600; }
.doc-files { list-style: none; margin: 0 0 12px; padding: 0; }
.doc-files li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line2); }
.doc-files .doc-name { flex: 1; min-width: 0; display: grid; gap: 1px; } .doc-files .doc-name b { overflow-wrap: anywhere; font-weight: 600; }
.doc-files .doc-name .dim { font-size: 12.5px; }
.doc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.doc-tools .dim { font-size: 12.5px; }
.doc-cap { display: grid; gap: 6px; max-width: 360px; margin: 0 0 14px; } .doc-cap .dim { font-size: 12.5px; }
.doc-rec td .dim { display: block; font-size: 12px; font-weight: 400; margin-top: 3px; }
.doc-rec-m { display: none; list-style: none; margin: 0; padding: 0; }
.doc-rec-m li { padding: 10px 0; border-bottom: 1px solid var(--line2); } .doc-rec-m li:last-child { border-bottom: 0; }
.doc-rec-m .doc-rh { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; }
.doc-rec-m dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 12px; margin: 6px 0 0; font-size: 13px; }
.doc-rec-m dt { color: var(--muted); } .doc-rec-m dd { margin: 0; overflow-wrap: anywhere; }
.doc-rec-m p.dim { font-size: 12px; margin: 6px 0 0; }
@media (max-width: 700px) { .doc-rec-t { display: none; } .doc-rec-m { display: block; } }
.doc-ag { padding: 10px 0; border-bottom: 1px solid var(--line2); } .doc-ag:last-of-type { border-bottom: 0; }
.doc-ag h4 { margin: 0 0 6px; font-size: var(--text-md); }
.doc-ag ul { margin: 0; padding-left: 18px; } .doc-ag li { margin: 3px 0; }
.doc-ag .num { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink2); }
.doc-line { margin: 10px 0; font-size: var(--text-md); line-height: 1.5; }
#docSynthCard h3 .doci, #docRentaCard h3 .doci { color: var(--accent); margin-right: 4px; vertical-align: -1px; }
@media print { .doc-up, .doc-files .btn, .doc-rec-m, .doc-noprint, #docSynthCard .btn { display: none !important; } .doc-rec-t { display: block !important; } }
/* files (static/dossiers.js): the filter's heading, « Dossiers » (create, rename, share, delete), the analyses of a file's link */
.avside .fdos-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.avside .fdos-h label { cursor: pointer; }
.avside .fdos-h .mlink { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.dos-new { display: flex; gap: 8px; margin-bottom: 4px; } .dos-new input { flex: 1; min-width: 0; height: var(--control-sm); font-size: var(--text-sm); }
.dos-man { list-style: none; margin: 4px 0 0; padding: 0; max-height: 55vh; overflow-y: auto; }
.dos-man li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.dos-man li:last-child { border-bottom: 0; }
.dos-info { flex: 1; min-width: 0; display: grid; gap: 1px; } .dos-info b { overflow-wrap: anywhere; } .dos-info .dim { font-size: 12.5px; }
.dos-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; flex: none; }
.dos-acts .dos-del { color: var(--err); }
.dos-ren { display: flex; gap: 8px; flex: 1; } .dos-ren input { flex: 1; min-width: 0; height: var(--control-sm); font-size: var(--text-sm); }
@media (max-width: 560px) { .dos-man li { flex-wrap: wrap; } .dos-acts { justify-content: flex-start; } }
.dos-list { border: 0; padding: 0; margin: 0 0 8px; max-height: 260px; overflow: auto; }
.dos-list .check { margin: 0 0 8px; }
#fDosBox[hidden] { display: none; }
/* the next step after a sign-up or a purchase (static/coach.js): a ring around the listing field, a bubble under it */
.bigform.coach-hl { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-lg); animation: coach-ring 1.6s var(--ease) 3; }
form.search.coach-hl input { border-color: var(--accent); background-color: var(--panel); box-shadow: 0 0 0 4px var(--accent-soft); animation: coach-field 1.6s var(--ease) 3; }
form.js-scan.coach-go .btn { animation: coach-btn 1.3s var(--ease) infinite; }
@keyframes coach-ring { 50% { box-shadow: 0 0 0 9px var(--accent-soft), var(--shadow-lg); } }
@keyframes coach-field { 50% { box-shadow: 0 0 0 8px var(--accent-soft); } }
@keyframes coach-btn { 50% { box-shadow: 0 0 0 6px var(--accent-soft); } }
.popover.coach, .popover.coach::before { border-color: var(--accent); }
.popover .coach-steps { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: grid; gap: var(--space-2); counter-reset: step;
  font-size: var(--text-sm); line-height: 1.45; color: var(--muted); }
.popover .coach-steps li { counter-increment: step; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-2); align-items: start; }
.popover .coach-steps li::before { content: counter(step); display: grid; place-items: center; width: 22px; height: 22px; margin: 0; border-radius: var(--radius-pill);
  background: var(--soft); color: var(--muted); font-size: var(--text-xs); font-weight: 700; }
.popover .coach-steps li.now { color: var(--ink); }
.popover .coach-steps li.now::before { background: var(--accent); color: var(--on-accent); }
.popover .coach-steps li.done::before { content: "✓"; background: var(--ok-soft); color: var(--ok); }
@media (prefers-reduced-motion: reduce) { .bigform.coach-hl, form.search.coach-hl input, form.js-scan.coach-go .btn { animation: none; } }
