/* A broker's page (views/page.ejs): the address, a satellite view of the property, its municipal value, its rank,
   « Et aujourd’hui ? » and one button. Mobile first. Colours, typefaces and corners come from the broker's theme
   (src/themes.js → :root). Everything else is folded under the button. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.hp-body{margin:0;background:var(--paper);color:var(--i);font:400 15px/1.5 var(--sans);-webkit-font-smoothing:antialiased}
.hp{position:relative;max-width:560px;margin:0 auto;min-height:100vh;min-height:100dvh;background:var(--paper)}
.hp h1,.hp h2{color:var(--i);font-family:var(--serif)}
.hp button{font-family:inherit;cursor:pointer}
.hp a{color:var(--i)}
.hp :focus-visible,.hp-sticky :focus-visible{outline:2px solid var(--b);outline-offset:3px}
.hp [tabindex="-1"]:focus{outline:none}
[hidden]{display:none!important}

.hp-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;padding:10px 16px;background:#fbf1d6;color:#4d3a0c;font:400 13px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;border-bottom:1px solid #e6d5a3}
.hp-banner p{margin:0;flex:1 1 260px}
.hp-banner a{color:#4d3a0c;font-weight:600;white-space:nowrap}

.hp-demo-offer{
  background:#fbf1d6;
  color:#342909;
  border-bottom:1px solid #e6d5a3;
  font:400 13px/1.4 var(--sans);
}
.hp-demo-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:4px 14px;
  max-width:560px;
  margin:0 auto;
  padding:10px 16px;
}
.hp-demo-inner strong{display:block;font-size:17px;line-height:1.2;text-wrap:balance}
.hp-demo-inner p{margin:3px 0 0}
.hp-demo-cta{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  min-height:44px;
  padding:8px 14px;
  border-radius:8px;
  background:#0f2a22;
  color:#fff;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
}
.hp-demo-cta:hover{background:#1b4335}
.hp-demo-cta span{color:#f2c230}
.hp-demo-inner details{grid-column:1/-1;color:#57471f}
.hp-demo-inner summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:2px 12px;
  min-height:24px;
  list-style:none;
  cursor:pointer;
}
.hp-demo-inner summary::-webkit-details-marker{display:none}
.hp-demo-details{font-size:12px;text-decoration:underline;text-underline-offset:2px}
.hp-demo-details span{display:inline-block}
.hp-demo-inner details[open] .hp-demo-details span{transform:rotate(180deg)}
.hp-demo-offer :focus-visible{outline:2px solid #0f2a22;outline-offset:3px}
@media (max-width:22rem){
  .hp-demo-inner{grid-template-columns:1fr;gap:6px}
  .hp-demo-cta{justify-self:start}
}

.hp-bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:10px;min-height:58px;padding:9px 16px;background:color-mix(in srgb,var(--paper) 94%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--h)}
.hp-av-wrap{display:contents}
.hp-av{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;object-fit:cover;object-position:50% 0;background:var(--i);font:700 13px/1 var(--serif);letter-spacing:.02em;color:var(--paper)}
.hp-who{min-width:0;display:grid;line-height:1.25}
.hp-who strong{font:700 15px/1.2 var(--serif);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-who span{font-size:11.5px;color:var(--d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-who span:empty{display:none}
.hp-logo{margin-left:auto;flex:none;max-width:84px;height:30px;object-fit:contain}
.hp-call{margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--h2);background:var(--card);color:var(--i);text-decoration:none;font:600 13px/1 var(--sans)}
.hp-logo+.hp-call{margin-left:8px}
.hp-call svg{width:14px;height:14px}
@media (max-width:400px){.hp-logo+.hp-call span{display:none}.hp-logo+.hp-call{padding:0 12px}}

/* 1. The address. */
.hp-start{padding:22px 16px 8px}
.hp-eyebrow{margin:0;font:600 12.5px/1.35 var(--sans);color:var(--b)}
.hp-q{margin:6px 0 10px;font:var(--hw) 30px/1.06 var(--serif);letter-spacing:var(--ht);text-wrap:balance}
.hp-q-start{font-size:clamp(34px,10vw,44px);line-height:1.02;margin:8px 0 12px}
.hp-q-c{margin:3px 0 8px;font-size:32px}
/* Under « Et aujourd’hui ? »: the municipal value is not today's. Hidden once the request form is open or sent. */
.hp-gap{margin:0 0 14px;font-size:14.5px;line-height:1.45}
.hp-gap:empty{display:none}
.hp-s{margin:0 0 16px;font-size:15.5px;line-height:1.5;color:var(--d);text-wrap:pretty}
.hp-f{position:relative;display:grid;gap:6px;margin-bottom:12px}
.hp-f label,.hp-lab{font:600 13px/1.3 var(--sans);color:var(--i)}
.hp-lab i{font-style:normal;font-weight:400;color:var(--f)}
.hp-f input{width:100%;height:50px;padding:0 14px;border-radius:var(--rf);border:1px solid var(--h2);background:var(--field);color:var(--i);font:400 16px var(--sans);outline:none}
.hp-f input::placeholder{color:var(--f);opacity:.8}
.hp-f input:focus{border-color:var(--b);box-shadow:0 0 0 3px rgba(var(--brgb),.18)}
.hp-addr-field{position:relative}
.hp-addr-field svg{position:absolute;left:14px;top:50%;width:20px;height:20px;margin-top:-10px;color:var(--b);pointer-events:none}
.hp-addr-field input{height:58px;padding-left:44px;font-size:17px;border-width:1.5px;border-color:var(--i)}
.hp-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;padding:12px 16px;border:0;border-radius:var(--rb);background:var(--b);color:var(--bt);font:650 16.5px/1.2 var(--sans);box-shadow:0 12px 22px -14px rgba(var(--brgb),.8);transition:background .15s}
.hp-btn:hover{background:var(--bd)}
.hp-btn:active{transform:translateY(1px)}
.hp-btn:disabled{opacity:.75;cursor:progress}
.hp-btn.is-busy::before{content:"";width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:hp-spin .7s linear infinite}
@keyframes hp-spin{to{transform:rotate(360deg)}}
.hp-ghost{display:block;width:100%;margin-top:6px;min-height:44px;border:0;background:transparent;color:var(--d);font:500 14.5px var(--sans);text-decoration:underline;text-underline-offset:3px}
/* What pressing the button gives, and how fast: right under it */
.hp-fast{margin:14px 0 0;font:650 14px/1.35 var(--sans);color:var(--i);text-align:center}
.hp-fast svg{display:inline-block;width:15px;height:15px;margin-right:5px;vertical-align:-2.5px;color:var(--b)}
/* two halves: when the line has to break, it breaks between them, after the colon */
.hp-fast span{display:inline-block}
.hp-fast+.hp-offer{margin-top:8px}
.hp-offer{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;margin:12px 0 0;padding:0;list-style:none;font:600 13px/1.3 var(--sans);color:var(--i)}
.hp-offer li{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.hp-offer svg{width:14px;height:14px;flex:none;color:var(--ok)}
.hp-reach{margin:6px 0 0;text-align:center;font-size:12.5px;color:var(--d)}
.hp-fixlink{margin:12px 0 0;text-align:center;font-size:12.5px;color:var(--f)}
.hp-fixlink button,.hp-link-btn{border:0;background:none;padding:0;color:var(--d);font:inherit;text-decoration:underline;text-underline-offset:3px;min-height:32px}
.hp-fine{margin:10px 0 0;font-size:12px;line-height:1.5;color:var(--f)}
.hp-fine-c{text-align:center;text-wrap:balance}
/* The line a letter's code adds under the address field: what to do, and « No more mail ». */
.hp-mail{margin:8px 2px 0;font-size:13px;color:var(--d)}
/* What the address brings up: a drawn sample, not a real property. */
.hp-see{margin:26px 0 0;padding:18px 0 0;border-top:1px solid var(--h)}
.hp-see h2{margin:0 0 12px;font:var(--hw) 18px/1.25 var(--serif);letter-spacing:var(--ht)}
.hp-see-card{display:grid;gap:8px;margin:0 0 14px;padding:10px;border-radius:var(--rc);background:var(--card);border:1px solid var(--h)}
.hp-see-map{position:relative;height:74px;border-radius:calc(var(--rc) * .6);background:
  linear-gradient(115deg,transparent 46%,color-mix(in srgb,var(--paper) 80%,transparent) 46% 50%,transparent 50%),
  linear-gradient(25deg,transparent 58%,color-mix(in srgb,var(--paper) 80%,transparent) 58% 61%,transparent 61%),
  repeating-linear-gradient(115deg,color-mix(in srgb,var(--house) 70%,var(--ok)) 0 22px,color-mix(in srgb,var(--house) 86%,var(--ok)) 22px 44px);overflow:hidden}
.hp-see-map .hp-pin{width:30px;height:30px;margin:-15px 0 0 -15px}
.hp-see-map .hp-pin::after{width:8px;height:8px;margin:-4px 0 0 -4px}
.hp-see-val{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hp-see-val div,.hp-see-rank{padding:9px 10px;border-radius:calc(var(--rc) * .6);border:1px solid var(--h)}
.hp-see-val i,.hp-see-rank i{display:block;width:54%;height:6px;border-radius:3px;background:var(--h)}
.hp-see-val b{display:block;width:76%;height:13px;margin-top:8px;border-radius:3px;background:var(--i);opacity:.82}
.hp-see-val div:last-child b{background:var(--d);opacity:.5}
.hp-see-rank span{position:relative;display:block;height:8px;margin-top:10px;border-radius:3px;background:linear-gradient(90deg,var(--h) 0 24%,var(--house) 24% 76%,var(--h) 76%)}
.hp-see-rank em{position:absolute;top:-4px;width:4px;height:16px;margin-left:-2px;border-radius:2px;background:var(--b)}
.hp-see ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.hp-see li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:9px;align-items:start;font-size:14px;line-height:1.45;color:var(--d)}
.hp-see li svg{width:15px;height:15px;margin-top:3px;color:var(--b)}

.hp-place{padding:14px 16px 0}
.hp-addr{padding:0 2px}
.hp-chip{display:inline-flex;align-items:center;gap:6px;margin:0 0 6px;font:600 12px/1.2 var(--sans);color:var(--b)}
.hp-chip svg{width:13px;height:13px;flex:none}
.hp-addr b{display:block;font:var(--hw) 26px/1.1 var(--serif);letter-spacing:var(--ht);color:var(--i);text-wrap:balance;overflow-wrap:anywhere}
.hp-addr>span:last-child{display:block;margin-top:4px;font-size:13.5px;color:var(--d)}
.hp-addr>span:last-child:empty{display:none}

/* The satellite view: a picture, not a viewer. */
.hp-photo{position:relative;height:clamp(140px,38vw,220px);margin-top:12px;border-radius:var(--rp);overflow:hidden;background:var(--photo);border:1px solid var(--h2)}
.hp-sv{position:absolute;inset:0}
/* A finger on it scrolls the page. The bottom strip stays live so Google's logo and links remain usable. */
.hp-photo::after{content:"";position:absolute;top:0;left:0;right:0;bottom:30px;z-index:1;touch-action:pan-y}
.hp-photo-empty{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:8px;color:var(--f);font-size:13px;text-align:center;padding:0 24px}
.hp-photo.has-view .hp-photo-empty{display:none}
.hp-photo:not(.has-view) .hp-svlabel,.hp-photo:not(.has-view)>.hp-pin{display:none}
.hp-photo.no-view{display:none}
.hp-svlabel{position:absolute;top:10px;right:10px;z-index:2;padding:4px 8px;border-radius:999px;background:rgba(20,17,18,.72);font:600 10.5px/1.3 var(--sans);color:#fff}
.hp-pin{position:absolute;left:50%;top:50%;z-index:2;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 2px var(--b),0 2px 10px rgba(0,0,0,.45);pointer-events:none}
.hp-pin::after{content:"";position:absolute;left:50%;top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--b);box-shadow:0 0 0 2px #fff}

.hp-body-c,.hp-step{padding:12px 16px 20px}
.hp-step{scroll-margin-top:60px}
.hp-prog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:14px 16px 4px}
.hp-prog i{height:4px;border-radius:2px;background:var(--h);transition:background .3s}
.hp-prog i.on{background:var(--b)}
.hp-notice{margin:0 0 16px;padding:12px 14px;border-radius:var(--rc);background:var(--card);border:1px solid var(--h2);border-left:3px solid var(--b)}
.hp-notice p{margin:0 0 4px;font-size:14px;line-height:1.5;color:var(--i)}
.hp-notice .hp-link-btn{color:var(--b);font-weight:600;font-size:14px}

/* The value arrives: one quiet settle, the only motion the page makes on its own. */
.hp-val{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 8px}
.hp-val>div{min-width:0;padding:11px 12px;border-radius:var(--rc);background:var(--card);border:1px solid var(--h)}
.hp-val small{display:block;font:500 11px/1.3 var(--sans);color:var(--d)}
.hp-val strong{display:block;margin:5px 0 3px;font:var(--hw) 23px/1.05 var(--serif);letter-spacing:-.01em;font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
.hp-val em{display:block;font-style:normal;font-size:11px;line-height:1.35;color:var(--f)}
.hp-val .hp-prev strong{color:var(--d)}
/* « ai » mode: the local snapshot written for the address, where the value stands otherwise. */
.hp-ai{margin:0 0 12px}
.hp-ai-note,.hp-est{padding:14px 15px 12px;border-radius:var(--rc);background:var(--card);border:1px solid var(--h)}
.hp-ai-note{border-left:3px solid var(--b)}
.hp-ai small{display:block;margin:0 0 7px;font:600 11px/1.3 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--d)}
.hp-ai p{margin:0 0 10px;font-size:15px;line-height:1.5;color:var(--i)}
.hp-ai em{display:block;font-style:normal;font-size:11.5px;line-height:1.4;color:var(--f)}
.hp-est{margin:0 0 8px}
.hp-est strong{display:block;margin:2px 0 8px;font:var(--hw) 27px/1.1 var(--serif);letter-spacing:-.01em;font-variant-numeric:tabular-nums lining-nums;color:var(--i)}
.hp-est em{font-size:12.5px;color:var(--d)}
.hp-est .hp-est-fine{margin-top:5px;font-size:11.5px;color:var(--f)}
.hp-est .hp-est-src{margin-top:5px;font-size:12px;color:var(--d)}
.hp-est .hp-est-src a{color:inherit;text-decoration:underline;text-underline-offset:2px}
@media (max-width:359px){.hp-est strong{font-size:23px}}
/* « ai » mode: the question right under the range (a little smaller, so the button is on the first screen), the
   snapshot after the button, ending on what could move the price and the button again. */
#hpAi:not([hidden])~.hp-q-c{font-size:27px}
.hp-ai-more{margin:22px 0 0}
.hp-ai-factors{margin:2px 0 12px;padding:12px 0 0;border-top:1px solid var(--h)}
.hp-ai-factors h2{margin:0 0 9px;font:var(--hw) 19px/1.25 var(--serif);letter-spacing:-.01em;color:var(--i)}
.hp-ai-factors ul{margin:0 0 14px;padding:0;list-style:none}
.hp-ai-factors li{position:relative;margin:0 0 7px;padding-left:20px;font-size:15px;line-height:1.4;color:var(--i)}
.hp-ai-factors li::before{content:"";position:absolute;left:3px;top:.5em;width:7px;height:7px;border-radius:50%;background:var(--b)}
.hp-see-note{padding:10px;border-radius:calc(var(--rc) * .6);border:1px solid var(--h)}
.hp-see-note i{display:block;width:38%;height:6px;border-radius:3px;background:var(--h)}
.hp-see-note b{display:block;height:7px;margin-top:8px;border-radius:3px;background:var(--i);opacity:.5}
.hp-see-note b:last-child{width:62%}
.hp-multi{margin:0 0 8px;padding:10px 12px;border-radius:var(--rc);background:var(--card);border:1px solid var(--h);border-left:3px solid var(--b);font-size:13.5px;line-height:1.45;color:var(--i)}
.hp-val .hp-unk{border-style:dashed;border-color:var(--b)}
.hp-val .hp-unk strong{color:var(--b)}
.hp[data-arrive] .hp-val>div,.hp[data-arrive] .hp-multi,.hp[data-arrive] .hp-pos,.hp[data-arrive] .hp-q-c,.hp[data-arrive] .hp-cta-zone{animation:hp-in .5s cubic-bezier(.2,.7,.2,1) both}
.hp[data-arrive] .hp-val>div:nth-child(2),.hp[data-arrive] .hp-val>div:nth-child(3){animation-delay:.08s}
.hp[data-arrive] .hp-pos{animation-delay:.16s}
.hp[data-arrive] .hp-q-c,.hp[data-arrive] .hp-gap{animation:hp-in .5s cubic-bezier(.2,.7,.2,1) both;animation-delay:.26s}
.hp[data-arrive] .hp-cta-zone{animation-delay:.34s}
@keyframes hp-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

.hp-card{margin-top:4px;background:var(--card);border:1px solid var(--h);border-radius:calc(var(--rc) + 2px);padding:16px}
.hp-ft{margin:0 0 12px;font:var(--hw) 20px/1.2 var(--serif);letter-spacing:-.01em}
.hp-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.hp-chips button{min-height:40px;padding:8px 13px;border-radius:999px;border:1px solid var(--h2);background:var(--field);color:var(--i);font:500 14px/1.25 var(--sans);text-align:left}
.hp-chips button[aria-pressed="true"]{background:var(--b);border-color:var(--b);color:var(--bt)}
.hp-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.hp-err{margin:0 0 10px;font-size:13.5px;color:var(--b);font-weight:600}
.hp-err:empty{display:none}
.hp-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:56px;margin-bottom:10px;padding:10px 16px;border-radius:var(--rb);border:1px solid var(--h2);background:var(--card);color:var(--i);font:600 15.5px/1.3 var(--sans);text-align:left}
.hp-opt::after{content:"›";font-size:24px;line-height:1;color:var(--f)}
.hp-opt:hover{border-color:var(--b)}
.hp-suggest{position:absolute;top:100%;left:0;right:0;z-index:8;margin:4px 0 0;padding:4px;list-style:none;background:var(--card);border:1px solid var(--h2);border-radius:calc(var(--rf) + 2px);box-shadow:0 18px 40px -16px rgba(0,0,0,.45)}
.hp-suggest li{padding:11px 12px;border-radius:var(--rf);font-size:14.5px;line-height:1.35;cursor:pointer}
.hp-suggest li:hover,.hp-suggest li[aria-selected="true"]{background:var(--paper)}
.hp-done{display:grid;justify-items:start;gap:6px}
#hpForm,#hpDone{scroll-margin-top:74px}
.hp-body-c .hp-done{margin-top:6px;padding:16px;border-radius:calc(var(--rc) + 2px);background:var(--card);border:1px solid var(--h)}
.hp-ok{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:var(--okbg);color:var(--ok);font:600 12px/1 var(--sans)}
.hp-done .hp-q{margin:8px 0 4px}
.hp-done .hp-s{margin:0}
.hp-done .hp-s+.hp-s{margin-top:8px}

.hp-sect{padding:18px 16px;border-top:1px solid var(--h)}
.hp-sect h2{margin:0 0 12px;font:var(--hw) 18px/1.25 var(--serif);letter-spacing:-.01em}
.hp-trend{display:block;width:100%;height:auto;margin:10px 0}
.hp-t{font:10.5px var(--sans);fill:var(--d)}
.hp-t-strong{fill:var(--i)}
.hp-t-base{stroke:var(--h)}
.hp-t-fan{fill:var(--b);opacity:.16}
.hp-t-dash{stroke:var(--b);stroke-opacity:.6;stroke-dasharray:3 4}
.hp-t-line{stroke:var(--i);stroke-width:2}
.hp-t-dot{fill:var(--i)}
.hp-t-q{fill:var(--card);stroke:var(--b);stroke-width:1.5}
.hp-t-qm{font:700 16px var(--serif);fill:var(--b)}
.hp-why{margin:0;font-size:13.5px;line-height:1.55;color:var(--d)}
.hp-why+.hp-why{margin-top:8px}
.hp-credit{font-size:12px;color:var(--f)}
.hp-next{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:n}
.hp-next li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;font-size:14px;line-height:1.45;color:var(--d)}
.hp-next li::before{counter-increment:n;content:counter(n);font:var(--hw) 20px/1.15 var(--serif);color:var(--b)}
.hp-next b{color:var(--i);font-weight:600}
.hp-more{border-top:1px solid var(--h)}
.hp-more>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:8px 16px;cursor:pointer;list-style:none;font:700 16px/1.25 var(--serif);color:var(--i)}
.hp-more>summary::-webkit-details-marker{display:none}
.hp-more>summary::after{content:"+";flex:none;font:500 22px/1 var(--sans);color:var(--b)}
.hp-more[open]>summary::after{content:"−"}
.hp-more-in{padding:0 16px 18px}
.hp-more .hp-sect{padding:0;border:0}
.hp-more .hp-pos-detail>h2{display:none}
.hp-bro{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center}
.hp-bro .hp-av{width:64px;height:64px;font-size:21px}
.hp-bro strong{display:block;font:var(--hw) 18px/1.2 var(--serif)}
.hp-bro>div>span{display:block;font-size:13px;color:var(--d);line-height:1.45;overflow-wrap:anywhere}
.hp-bro>div>span:empty{display:none}
.hp-about{margin-top:14px;white-space:pre-line}
.hp-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0 0}
.hp-stats>div{padding:10px 12px;border-radius:var(--rc);background:var(--card);border:1px solid var(--h)}
.hp-stats dt{font-size:11.5px;line-height:1.35;color:var(--d)}
.hp-stats dd{margin:4px 0 0;font:var(--hw) 20px/1.1 var(--serif);font-variant-numeric:tabular-nums}
.hp-stats small{font:500 12px var(--sans);color:var(--d)}
.hp-facts{margin-top:4px}
.hp-facts-list{display:grid;grid-template-columns:minmax(0,1fr);margin:0 0 10px;font-size:13.5px;line-height:1.35}
.hp-facts-list>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--h)}
.hp-facts-list>div:first-child{border-top:0}
.hp-facts-list dt{color:var(--d)}
.hp-facts-list dd{margin:0;text-align:right;color:var(--i);font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.hp-eho{display:flex;align-items:center;gap:6px}
.hp-eho svg{flex:none}
.hp-foot{padding:18px 16px 96px;border-top:1px solid var(--h);font-size:11.5px;line-height:1.55;color:var(--f)}
.hp-foot p{margin:0 0 6px}
.hp-foot a{color:var(--d);text-underline-offset:2px}
.hp-fine a{color:var(--d);text-decoration:underline;text-underline-offset:2px;display:inline-block;padding:4px 0}
.hp-sticky{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:9;max-width:536px;margin:0 auto}
.hp-sticky .hp-btn{box-shadow:0 14px 30px -10px rgba(0,0,0,.55)}

@media (min-width:720px){
  body.hp-body{background:var(--desk)}
  body.hp-body:not(.hp-embedded) .hp{margin:24px auto;min-height:0;border:1px solid var(--h2);border-radius:18px;overflow:clip;box-shadow:0 30px 60px -40px rgba(0,0,0,.5)}
  body.hp-body:not(.hp-embedded) .hp-bar{border-radius:18px 18px 0 0}
  .hp-start{padding:30px 28px 10px}
  .hp-q-start{font-size:46px}
  .hp-place{padding:22px 28px 0}
  .hp-prog{padding:16px 28px 4px}
  .hp-photo{height:240px}
  .hp-q{font-size:36px}.hp-q-c{font-size:38px}
  #hpAi:not([hidden])~.hp-q-c{font-size:32px}
  .hp-addr b{font-size:32px}
  .hp-body-c,.hp-step{padding:14px 28px 26px}
  .hp-sect{padding:22px 28px}
  .hp-more>summary{padding:8px 28px}.hp-more-in{padding:0 28px 20px}
  .hp-foot{padding:20px 28px 28px}
  .hp-sticky{display:none!important}
}
@media (prefers-reduced-motion:reduce){.hp-prog i,.hp-btn{transition:none}.hp[data-arrive] *{animation:none!important}.hp-btn.is-busy::before{animation-duration:2s}}

/* Position: the rank on the street or in the town, then its detail. */
.hp-pos{margin:0 0 12px;padding:11px 12px 12px;border-radius:var(--rc);background:var(--card);border:1px solid var(--h)}
.hp-pos h2{margin:0 0 4px;font:500 11px/1.35 var(--sans);letter-spacing:0;color:var(--d)}
.hp-pos-big{margin:0;font:var(--hw) 23px/1.1 var(--serif);letter-spacing:-.01em;font-variant-numeric:tabular-nums lining-nums}
.hp-pos-bar{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:3px;height:10px;margin:24px 0 7px}
.hp-pos-bar i{border-radius:3px;background:var(--h)}
.hp-pos-bar i:nth-child(2),.hp-pos-bar i:nth-child(3){background:var(--house)}
.hp-pos-bar b{position:absolute;top:-5px;width:4px;height:20px;margin-left:-2px;border-radius:2px;background:var(--b)}
.hp-pos-bar b span{position:absolute;bottom:23px;left:50%;transform:translateX(-50%);font:700 10.5px/1 var(--sans);color:var(--b);white-space:nowrap}
.hp-pos-ends{display:flex;justify-content:space-between;gap:8px;font-size:11px;line-height:1.3;color:var(--d)}
.hp-pos-ends span:nth-child(2){text-align:center;color:var(--i);font-weight:600}
.hp-pos-note{margin:8px 0 0;font-size:11.5px;line-height:1.45;color:var(--f)}
.hp-pos-detail h3{margin:18px 0 9px;font:600 13px/1.3 var(--sans);color:var(--i)}
.hp-pos-detail h2+h3{margin-top:0}
.hp-pos-bars{margin:0;display:grid;gap:9px}
.hp-pos-bars div{display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);gap:10px;align-items:center}
.hp-pos-bars dt{font-size:12.5px;line-height:1.3;color:var(--d);min-width:0;overflow-wrap:anywhere}
.hp-pos-bars dd{margin:0;display:flex;align-items:center;gap:8px;min-width:0}
.hp-pos-bars dd i{flex:0 0 auto;max-width:calc(100% - 60px);height:10px;border-radius:3px;background:var(--house)}
.hp-pos-bars dd b{font:600 12.5px/1 var(--sans);font-variant-numeric:tabular-nums;white-space:nowrap}
.hp-pos-bars .me dt{color:var(--i);font-weight:600}
.hp-pos-bars .me dd i{background:var(--b)}
.hp-pos-table{width:100%;border-collapse:collapse;font-size:12.5px;line-height:1.3}
.hp-pos-table th,.hp-pos-table td{padding:8px 0 8px 8px;border-top:1px solid var(--h);text-align:right;font-variant-numeric:tabular-nums;vertical-align:top}
.hp-pos-table thead th,.hp-pos-table thead td{border-top:0;padding-top:0;font:600 10.5px/1.3 var(--sans);color:var(--f)}
.hp-pos-table tbody th{padding-left:0;text-align:left;font-weight:400;color:var(--d)}
.hp-pos-table tbody td:nth-child(2){color:var(--i);font-weight:600}
.hp-pos-date{margin:18px 0 0;font-size:13.5px;line-height:1.55;color:var(--d)}
.hp-pos-close{margin:16px 0 0;padding:14px;border-radius:var(--rc);border:1px dashed var(--b);background:var(--card)}
.hp-pos-close strong{display:block;font:var(--hw) 22px/1.15 var(--serif);letter-spacing:-.01em;color:var(--i)}
.hp-pos-close p{margin:6px 0 12px;font-size:13.5px;line-height:1.5;color:var(--d)}
.hp-pos-facts{margin:0 0 16px}

/* Under the button: the property's rolls one after the other, beside its town (src/roll/history.js). The brand is
   « you », as on the rank's strip; the town is the muted tone the strip gives the others. Nothing is drawn for
   today but the open question. */
.hp-evo h2{margin-bottom:6px}
.hp-evo-intro{margin:0;font-size:13.5px;line-height:1.5;color:var(--d);text-wrap:pretty}
.hp-evo-chart{display:block;width:100%;height:auto;margin:14px 0 4px;overflow:visible}
.hp-e-base{stroke:var(--h2)}
.hp-e-drop{stroke:var(--h2);stroke-dasharray:1.5 3}
.hp-e-town{fill:none;stroke:var(--house);stroke-width:5.5;stroke-linecap:round;stroke-linejoin:round}
.hp-e-own{fill:none;stroke:var(--b);stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}
.hp-e-dot{fill:var(--b);stroke:var(--paper);stroke-width:2}
.hp-e-fan{fill:var(--b);opacity:.14}
.hp-e-dash{fill:none;stroke:var(--b);stroke-opacity:.6;stroke-dasharray:3 4}
.hp-e-q{fill:var(--paper);stroke:var(--b);stroke-width:1.5}
.hp-e-qm{font:700 16px var(--serif);fill:var(--b)}
.hp-e-v{font:600 11px var(--sans);fill:var(--i);font-variant-numeric:tabular-nums lining-nums}
.hp-e-v.is-last{font-weight:700}
.hp-e-v.is-small{font-size:9.5px}
.hp-e-x{font:11px var(--sans);fill:var(--d)}
.hp-evo-key{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0 0 14px;padding:0;list-style:none;font-size:12px;line-height:1.35;color:var(--d)}
.hp-evo-key li{display:flex;align-items:center;gap:7px;min-width:0}
.hp-evo-key i{flex:none;width:16px;height:5px;border-radius:3px;background:var(--house)}
.hp-evo-key .me{color:var(--i);font-weight:600}
.hp-evo-key .me i{height:2.5px;background:var(--b)}
.hp-evo-table thead th{text-align:right}
.hp-evo-table thead th:first-child,.hp-evo-table tbody th{text-align:left}
.hp-evo-table tbody th{white-space:nowrap}
.hp-evo-table td:nth-child(3),.hp-evo-table td:nth-child(4){color:var(--d);font-weight:400}
.hp-evo-table tbody .is-today th,.hp-evo-table tbody .is-today td{color:var(--b);font-weight:700}
.hp-evo-table tbody .is-today td{font-family:var(--serif);font-size:15px;line-height:1}
.hp-evo-read{margin:14px 0 0;font-size:14.5px;line-height:1.5;color:var(--i);text-wrap:pretty}
.hp-evo .hp-pos-date{margin-top:8px}
.hp-pos-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:6px 0 10px}
.hp-pos-pair dt{font-size:11px;line-height:1.3;color:var(--d)}
.hp-pos-pair dd{margin:3px 0 0;font:var(--hw) 21px/1.1 var(--serif);font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
.hp-pos-facts p{margin:0;font-size:12.5px;line-height:1.5;color:var(--d)}
#hpPosLead:empty,#hpPosFacts:empty,#hpPosDetail:empty{display:none}

/* A condominium address: the owner picks their unit from the address's own list. */
.hp-unit{padding:12px 16px 20px}
.hp-units{display:grid;grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:8px;max-height:236px;margin:0 0 12px;padding:2px;overflow-y:auto;overscroll-behavior:contain}
.hp-units:empty{display:none}
.hp-units button{min-height:44px;padding:6px 4px;border-radius:var(--rf);border:1px solid var(--h2);background:var(--card);color:var(--i);font:600 15px/1.1 var(--sans);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.hp-units button:hover{border-color:var(--b)}
.hp-units button[aria-pressed="true"]{background:var(--b);border-color:var(--b);color:var(--bt)}
.hp-unit .hp-f input{height:54px;font-size:18px;font-weight:600;letter-spacing:.02em}
.hp-unit .hp-fine{margin:0 0 12px}
.hp-ghost-2{margin-top:0}
@media (min-width:720px){.hp-unit{padding:14px 28px 26px}}
