/* =========================================================================
   The instant estimator (engine.js): address bar, the map stage with its
   scan, steps and tools, and the priced panel. Self-contained under .hhx.

   One stylesheet for every trade. A variant sets the palette with
   data-variant; the drawing each one makes on the photo (bulbs, stripes,
   mowing lines) has its own block at the end.
   ========================================================================= */
.hhx {
    --acc: #d80054; --acc-dk: #b40048; --acc-rgb: 216 0 84; --acc-ink: #fff; --acc-grad: linear-gradient(180deg, #ea1468, #d80054);
    --two: #00c79b; --two-rgb: 0 199 155; --two-ink: #06231b; --gold: #ffcc4d; --trace: #ffcc4d;
    --ink: #f5f6fa; --mute: #a5abba; --line: rgba(255, 255, 255, .12);
    --glass: rgba(18, 22, 36, .78); --card: #151a2b; --card-2: #1b2136; --card-3: #20283f;
    --sky: linear-gradient(180deg, #0a0e1f, #111836);
    position: relative; color: var(--ink); text-align: left; font: inherit;
    max-width: 1120px; margin: 0 auto;
}
.hhx[data-variant="paving"] {
    --acc: #f6b800; --acc-dk: #dba400; --acc-rgb: 246 184 0; --acc-ink: #17181b; --acc-grad: linear-gradient(180deg, #ffcc33, #f6b800);
    --two: #ffd95e; --two-rgb: 255 217 94; --two-ink: #17181b; --gold: #ffd95e; --trace: #ffd23f;
    --glass: rgba(20, 21, 24, .8); --card: #1b1d21; --card-2: #24272c; --card-3: #2c3036;
    --sky: linear-gradient(180deg, #101114, #1d2025);
}
.hhx[data-variant="lawn"] {
    --acc: #b7e23f; --acc-dk: #a3cf2c; --acc-rgb: 183 226 63; --acc-ink: #10240f; --acc-grad: linear-gradient(180deg, #c8ef5a, #b7e23f);
    --two: #6fe3a1; --two-rgb: 111 227 161; --two-ink: #06231b; --gold: #d6f08a; --trace: #e8ff8a;
    --glass: rgba(12, 30, 20, .8); --card: #12281b; --card-2: #193524; --card-3: #20422d;
    --sky: linear-gradient(180deg, #0a1e13, #143424);
}
.hhx *, .hhx *::before, .hhx *::after { box-sizing: border-box; }
.hhx [hidden] { display: none !important; }

/* --- Address bar --------------------------------------------------------- */
.hhx-ask { max-width: 820px; margin: 0 auto; }
.hhx-label { display: block; font-weight: 700; font-size: 14px; color: var(--mute); margin: 0 0 8px; letter-spacing: .02em; }
.hhx-bar { position: relative; display: flex; gap: 8px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 18px 50px rgba(0, 0, 0, .45), 0 0 60px rgb(var(--acc-rgb) / .25); }
.hhx-pin { width: 24px; height: 24px; flex: none; align-self: center; margin-left: 10px; fill: none; stroke: var(--acc); stroke-width: 2; }
.hhx-input { width: 100%; font: inherit; font-size: 16px; color: #14161f; background: #fff; border: 0; outline: none; padding: 12px 10px; border-radius: 12px; }
.hhx-bar .hhx-input { font-size: 18px; flex: 1 1 auto; min-width: 0; }
.hhx-input::placeholder { color: #8a90a0; }
.hhx-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.hhx-btn { font: inherit; font-weight: 800; font-size: 16px; border: 0; border-radius: 12px; padding: 14px 22px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: background .15s, transform .06s, box-shadow .2s; }
.hhx-btn svg { width: 20px; height: 20px; fill: currentColor; }
.hhx-btn:active { transform: translateY(1px); }
.hhx-btn--primary { background: var(--acc-grad); color: var(--acc-ink); box-shadow: 0 8px 24px rgb(var(--acc-rgb) / .45); }
.hhx-btn--primary:hover { background: var(--acc-dk); }
.hhx-btn--primary:disabled { opacity: .7; cursor: progress; }
.hhx-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.hhx-btn--block { width: 100%; margin-top: 12px; }
.hhx-link { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.hhx-fine { font-size: 13px; color: var(--mute); margin: 0; line-height: 1.5; }
.hhx-fine b { color: var(--ink); }
.hhx-error { color: #ff7aa8; font-size: 14px; font-weight: 700; margin: 10px 0 0; }
.hhx-seg { display: inline-flex; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.hhx-seg input { position: absolute; opacity: 0; pointer-events: none; }
.hhx-seg label { font-size: 14px; font-weight: 700; padding: 7px 14px; border-radius: 999px; cursor: pointer; color: var(--mute); }
.hhx-seg input:checked + label { background: #fff; color: #14161f; }
.hhx-seg input:focus-visible + label { outline: 2px solid var(--two); }

/* --- Stage: map + panel -------------------------------------------------- */
.hhx-stage { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr); gap: 18px; margin-top: 26px; animation: hhx-rise .5s ease both; }
.hhx-visual { position: relative; height: 600px; align-self: start; border-radius: 22px; overflow: hidden; background: #070912; box-shadow: 0 0 0 1px var(--line), 0 30px 70px rgba(0, 0, 0, .5); }
.hhx-map { position: absolute; inset: 0; z-index: 0; background: #070912; }
.hhx-map .leaflet-tile-pane { transition: filter 1.4s ease; }
/* Tiles are drawn 1px oversize (see the script) and simply overlap: no hairline seams at in-between zooms. */
.hhx .hhx-map img.leaflet-tile { mix-blend-mode: normal; }
.hhx.is-night .hhx-map .leaflet-tile-pane { filter: brightness(.2) saturate(.5) contrast(1.2) hue-rotate(-10deg); }
.hhx-map .leaflet-control-attribution { background: rgba(0,0,0,.45); color: #cfd3dd; font-size: 10px; }
.hhx-map .leaflet-control-attribution a { color: #cfd3dd; }
.hhx-map.is-tappable { cursor: crosshair; }

/* Before the house is found: a starry sky instead of a blank box. */
.hhx-sky { position: absolute; inset: 0; pointer-events: none; transition: opacity .8s ease;
    background:
        radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent 60%), radial-gradient(1px 1px at 28% 64%, #fff, transparent 60%),
        radial-gradient(1.5px 1.5px at 44% 18%, #fff, transparent 60%), radial-gradient(1px 1px at 61% 41%, #fff, transparent 60%),
        radial-gradient(1.2px 1.2px at 78% 12%, #fff, transparent 60%), radial-gradient(1px 1px at 86% 58%, #fff, transparent 60%),
        radial-gradient(1.4px 1.4px at 22% 84%, #fff, transparent 60%), radial-gradient(1px 1px at 68% 80%, #fff, transparent 60%),
        radial-gradient(ellipse at 50% 120%, rgb(var(--acc-rgb) / .35), transparent 60%),
        var(--sky); }
.hhx-sky.is-gone { opacity: 0; }

/* The scan: a bright line sweeping down the map while we measure. */
.hhx-sweep { position: absolute; left: 0; right: 0; top: -30%; height: 30%; pointer-events: none; opacity: 0;
    background: linear-gradient(180deg, transparent, rgb(var(--two-rgb) / .08) 70%, rgb(var(--two-rgb) / .55) 98%, #9ff7e0 100%);
    box-shadow: 0 2px 18px rgb(var(--two-rgb) / .7); }
.hhx-sweep.is-on { opacity: 1; animation: hhx-sweep 1.6s cubic-bezier(.45, 0, .55, 1) infinite; }

/* Progress steps, floating over the map. */
.hhx-steps { position: absolute; left: 16px; bottom: 16px; margin: 0; padding: 14px 16px; list-style: none; display: grid; gap: 7px;
    background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px;
    font-size: 14px; font-weight: 600; color: var(--mute); transition: opacity .6s ease, transform .6s ease; z-index: 500; min-width: 270px; }
.hhx-steps li { display: flex; align-items: center; gap: 10px; opacity: .45; transition: opacity .3s, color .3s; }
.hhx-steps li::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); }
.hhx-steps li.is-active { opacity: 1; color: var(--ink); }
.hhx-steps li.is-active::before { border-color: var(--two); border-top-color: transparent; animation: hhx-spin .7s linear infinite; }
.hhx-steps li.is-done { opacity: 1; color: var(--ink); }
.hhx-steps li.is-done::before { border: 0; background: var(--two) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23101420' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.hhx-steps.is-finished { opacity: 0; transform: translateY(10px); pointer-events: none; }

/* Tools over the map once it's lit. */
.hhx-map-tools { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; z-index: 500; animation: hhx-rise .5s ease both; }
.hhx-chip { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }
.hhx-chip--btn { cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; margin-left: auto; }
.hhx-toggle { display: inline-flex; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.hhx-toggle button { font: inherit; font-size: 13px; font-weight: 700; color: var(--mute); background: transparent; border: 0; border-radius: 999px; padding: 5px 11px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.hhx-toggle button[aria-pressed="true"] { background: #fff; color: #14161f; }
.hhx-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.hhx-dot--warm { background: #ffd58a; box-shadow: 0 0 6px #ffcc66; }
.hhx-dot--multi { background: conic-gradient(#ff3b5c 0 25%, #2ee67a 0 50%, #3d8bff 0 75%, #ffb21f 0); }

/* The outline, tracing itself. */
.hhx-map path.hhx-outline { fill: var(--trace); fill-opacity: 0; stroke: var(--trace); stroke-width: 3; stroke-linejoin: round;
    stroke-dasharray: 2000; stroke-dashoffset: 2000; filter: drop-shadow(0 0 6px rgba(255, 204, 77, .9)); }
.hhx-map path.hhx-outline.is-tracing { animation: hhx-trace 1.6s ease forwards; }
.hhx.is-night .hhx-map path.hhx-outline { stroke-opacity: .12; fill-opacity: .04; filter: none; transition: stroke-opacity .8s, fill-opacity .8s; }
.hhx-map path.hhx-unlit { stroke: rgba(255, 255, 255, .35); stroke-width: 2; stroke-dasharray: 3 6; fill: none; }

/* Bulbs: glowing dots. Each one fades on in turn (--d), then twinkles. */
.hhx-map .hhx-bulb { border-radius: 50%; opacity: 0; pointer-events: none;
    animation: hhx-on .35s ease forwards var(--d, 0s), hhx-twinkle var(--t, 2.6s) ease-in-out infinite calc(var(--d, 0s) + .35s); }
.hhx-map .hhx-bulb--warm { background: radial-gradient(circle at 40% 35%, #fff8e6, #ffd27a 45%, #ff9f1c 100%); box-shadow: 0 0 4px 1px #ffc35c, 0 0 12px 4px rgba(255, 170, 50, .55); }
.hhx-map .hhx-bulb--r { background: radial-gradient(circle at 40% 35%, #ffd0d8, #ff3b5c 50%, #c4002d 100%); box-shadow: 0 0 4px 1px #ff3b5c, 0 0 12px 4px rgba(255, 40, 80, .55); }
.hhx-map .hhx-bulb--g { background: radial-gradient(circle at 40% 35%, #d6ffe6, #2ee67a 50%, #00a347 100%); box-shadow: 0 0 4px 1px #2ee67a, 0 0 12px 4px rgba(46, 230, 122, .5); }
.hhx-map .hhx-bulb--b { background: radial-gradient(circle at 40% 35%, #dbe9ff, #4f97ff 50%, #1659d6 100%); box-shadow: 0 0 4px 1px #4f97ff, 0 0 12px 4px rgba(79, 151, 255, .55); }
.hhx-map .hhx-bulb--a { background: radial-gradient(circle at 40% 35%, #fff0cc, #ffb21f 50%, #e07a00 100%); box-shadow: 0 0 4px 1px #ffb21f, 0 0 12px 4px rgba(255, 178, 31, .55); }
.hhx.is-day .hhx-map .hhx-bulb { box-shadow: 0 0 2px 1px rgba(0, 0, 0, .35); }

/* Side labels on the map. */
.hhx-tag { background: transparent; border: 0; }
.hhx-tag span { display: inline-block; transform: translate(-50%, -50%); white-space: nowrap; font-size: 12px; font-weight: 800; color: #14161f; background: #fff; border-radius: 999px; padding: 3px 9px; box-shadow: 0 4px 12px rgba(0,0,0,.4); animation: hhx-pop .4s ease both; }
.hhx-tag span.is-off { background: rgba(20, 22, 31, .75); color: #cfd3dd; }

/* --- Panel --------------------------------------------------------------- */
.hhx-panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; animation: hhx-rise .5s ease both; }
.hhx-kicker { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--two); }
.hhx-address { font-size: 21px; font-weight: 800; margin-top: 4px; line-height: 1.25; }
.hhx-size { color: var(--mute); font-size: 14px; margin-top: 4px; }
.hhx-options { display: grid; gap: 10px; margin: 18px 0 12px; }
.hhx-opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left; font: inherit; color: inherit;
    background: var(--card-2); border: 2px solid transparent; border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; animation: hhx-rise .45s ease both; }
.hhx-opt:hover { background: var(--card-3); }
.hhx-opt[aria-checked="true"] { border-color: var(--acc); background: linear-gradient(180deg, rgb(var(--acc-rgb) / .16), rgb(var(--acc-rgb) / .06)); box-shadow: 0 10px 30px rgb(var(--acc-rgb) / .25); }
.hhx-opt:focus-visible { outline: 3px solid var(--two); outline-offset: 2px; }
.hhx-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); display: grid; place-items: center; }
.hhx-opt[aria-checked="true"] .hhx-radio { border-color: var(--acc); }
.hhx-opt[aria-checked="true"] .hhx-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); }
.hhx-opt-name { font-weight: 800; font-size: 17px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.hhx-opt-blurb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mute); margin-top: 3px; }
.hhx-opt-price { text-align: right; }
.hhx-opt-price b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.hhx-opt-price small { display: block; font-size: 12px; color: var(--mute); margin-top: 4px; white-space: nowrap; }
.hhx-opt-price small em { font-style: normal; color: var(--two); font-weight: 700; }
.hhx-badge { white-space: nowrap; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--two-ink); background: var(--two); padding: 3px 7px; border-radius: 999px; }
.hhx-lead { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.hhx-h { font-size: 18px; font-weight: 800; margin: 0 0 10px; }
.hhx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hhx-input--sm { font-size: 15px; padding: 11px 12px; border-radius: 10px; border: 1px solid transparent; }
.hhx-input--sm:focus { border-color: var(--two); box-shadow: 0 0 0 3px rgb(var(--two-rgb) / .25); }
.hhx-span { grid-column: 1 / -1; }
textarea.hhx-input { resize: vertical; }
.hhx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hhx-done { text-align: center; padding: 18px 6px 4px; }
.hhx-check { width: 58px; height: 58px; border-radius: 50%; background: var(--two); color: var(--two-ink); font-size: 30px; font-weight: 800; display: grid; place-items: center; margin: 0 auto 12px; box-shadow: 0 0 30px rgb(var(--two-rgb) / .6); animation: hhx-pop .5s ease both; }
.hhx-done p { font-size: 16px; margin: 0; }
.hhx-manual p { color: var(--mute); margin: 8px 0 0; }

/* --- Motion -------------------------------------------------------------- */
@keyframes hhx-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hhx-pop { from { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes hhx-spin { to { transform: rotate(360deg); } }
@keyframes hhx-sweep { from { top: -30%; } to { top: 100%; } }
@keyframes hhx-trace { to { stroke-dashoffset: 0; fill-opacity: .14; } }
@keyframes hhx-on { from { opacity: 0; } to { opacity: 1; } }
@keyframes hhx-twinkle { 0%, 100% { opacity: 1; } 45% { opacity: .72; } 50% { opacity: .45; } 55% { opacity: .8; } }

@media (max-width: 900px) {
    .hhx-stage { grid-template-columns: minmax(0, 1fr); }
    .hhx-visual { height: 420px; }
}
@media (max-width: 560px) {
    .hhx-bar { flex-wrap: wrap; padding: 6px; }
    .hhx-bar .hhx-input { flex-basis: calc(100% - 44px); }
    .hhx-bar .hhx-btn { width: 100%; }
    .hhx-visual { height: 360px; border-radius: 16px; }
    .hhx-steps { left: 10px; right: 10px; bottom: 10px; min-width: 0; font-size: 13px; }
    .hhx-panel { padding: 16px; border-radius: 16px; }
    .hhx-grid { grid-template-columns: 1fr; }
    .hhx-opt-price b { font-size: 22px; }
    .hhx-map-tools { top: auto; bottom: 10px; left: 10px; right: 10px; flex-wrap: nowrap; gap: 6px; }
    .hhx-map-tools [data-hhx-tap-hint] { display: none; }
    .hhx-toggle button { padding: 5px 9px; font-size: 12px; }
    .hhx-chip--btn { margin-left: auto; font-size: 12px; padding: 6px 10px; }
    .hhx-map .leaflet-control-attribution { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hhx *, .hhx-map path.hhx-bulb { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition: none !important; }
    .hhx-map path.hhx-outline { stroke-dashoffset: 0; }
}

/* No outline found: a pin on the address and a clearly labelled typical-home price. */
.hhx-note { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(245, 190, 60, .1); border: 1px solid rgba(245, 190, 60, .35); color: var(--ink); line-height: 1.45; }
.hhx-home-pin span { position: absolute; left: 50%; top: 0; width: 26px; height: 26px; margin-left: -13px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
    background: var(--acc); border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); animation: hhx-drop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.hhx-home-pin span::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.hhx-home-pin::before { content: ""; position: absolute; left: 50%; bottom: -4px; width: 40px; height: 40px; margin: 0 0 -20px -20px; border-radius: 50%; border: 2px solid var(--acc); animation: hhx-ping 1.8s ease-out infinite; }
@keyframes hhx-drop { from { transform: translateY(-40px) rotate(-45deg); opacity: 0; } to { transform: rotate(-45deg); opacity: 1; } }
@keyframes hhx-ping { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hhx-home-pin span, .hhx-home-pin::before { animation: none; } }

/* "Turn the front": rotate which side faces the street, then re-price. */
.hhx-chip--turn { cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.hhx-chip--turn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s ease; }
.hhx-chip--turn:hover svg { transform: rotate(90deg); }
.hhx-chip--turn:focus-visible { outline: 2px solid var(--two); outline-offset: 2px; }
.hhx-chip--turn[hidden] { display: none; }
.hhx-map-tools .hhx-chip, .hhx-toggle button { white-space: nowrap; }
@media (max-width: 560px) {
    .hhx-map-tools { flex-wrap: wrap; row-gap: 6px; }
    .hhx-chip--turn { font-size: 12px; padding: 6px 10px; }
}

/* The 3D house: over the photo, under the controls. */
.hhx-3d { position: absolute; inset: 0; z-index: 400; background: #03050d; cursor: grab; animation: hhx-fade .7s ease both; }
.hhx-3d:active { cursor: grabbing; }
.hhx-3d[hidden] { display: none; }
.hhx-3d canvas { display: block; width: 100% !important; height: 100% !important; }
.hhx.is-3d .hhx-sweep, .hhx.is-3d .hhx-sky { display: none; }
.hhx-toggle--view[hidden] { display: none; }
@keyframes hhx-fade { from { opacity: 0; } to { opacity: 1; } }

/* --- Added for the shared engine ------------------------------------------- */
.hhx-sky { z-index: 300; }
.hhx-sweep { z-index: 450; }
.hhx-map path.hhx-outline.is-dim { stroke-opacity: .35; }

/* How the chosen option's price is built. */
.hhx-lines { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); animation: hhx-rise .35s ease both; }
.hhx-lines-h { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.hhx-line { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding: 4px 0; color: var(--mute); }
.hhx-line + .hhx-line { border-top: 1px dashed var(--line); }
.hhx-line b { color: var(--ink); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Tracing your own outline. */
.hhx-chip--act { cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.hhx-chip--act:hover { border-color: rgba(255, 255, 255, .4); }
.hhx-chip--act:focus-visible { outline: 2px solid var(--two); outline-offset: 2px; }
.hhx-chip--act[hidden] { display: none; }
.hhx-chip--go { background: var(--acc); color: var(--acc-ink); border-color: transparent; }
.hhx-chip--go:disabled { opacity: .5; cursor: default; }
.hhx-map path.hhx-sketch { stroke: #fff; stroke-width: 2.5; stroke-dasharray: 6 5; fill: #fff; fill-opacity: .12; }
.hhx-map path.hhx-sketch-dot { stroke: #14161f; stroke-width: 2; fill: #fff; fill-opacity: 1; }
.hhx.is-drawing .hhx-map { cursor: crosshair; }
.hhx.is-drawing .hhx-map .leaflet-overlay-pane path:not(.hhx-sketch):not(.hhx-sketch-dot):not(.hhx-outline) { opacity: .25; }

/* The address form's choices, on the light bar's row. */
.hhx-seg-label { font-size: 13px; font-weight: 700; color: var(--mute); margin-right: 8px; }
.hhx-choices { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }

/* Parking lots: fresh surface, then stripes. */
.hhx-map path.hhx-pave { stroke: none; fill: #101113; fill-opacity: .74; }
.hhx-map path.hhx-pave--new { fill: #08080a; fill-opacity: .9; }
.hhx-map path.hhx-pave-line { fill: none; stroke: #101113; stroke-opacity: .78; }
.hhx-map path.hhx-pave-line.hhx-pave--new { stroke: #08080a; stroke-opacity: .92; }
.hhx-map path.hhx-pave-line.is-in { animation: hhx-fade 1.1s ease both; }
.hhx-map path.hhx-pave.is-in { animation: hhx-fade 1.1s ease both; }
.hhx-map path.hhx-stripe { fill: none; stroke: #fff; stroke-linecap: butt; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .9)); }
.hhx-map path.hhx-stripe--yellow { stroke: #ffd23f; }
.hhx-map path.hhx-stripe.is-in { animation: hhx-fade .9s ease .5s both; }
.hhx[data-variant="paving"] .hhx-map path.hhx-outline, .hhx[data-variant="lawn"] .hhx-map path.hhx-outline { stroke-width: 2.5; }
@keyframes hhx-trace-open { to { stroke-dashoffset: 0; fill-opacity: 0; } }
.hhx[data-variant="paving"] .hhx-map path.hhx-outline.is-tracing, .hhx[data-variant="lawn"] .hhx-map path.hhx-outline.is-tracing { stroke-dasharray: 6000; stroke-dashoffset: 6000; animation: hhx-trace-open 1.6s ease forwards; }

/* Lawns: mowing lines, light and dark; greener with each plan. */
.hhx-map path.hhx-mow { fill: none; }
.hhx-map path.hhx-mow--light { stroke: #a9d86a; stroke-opacity: .5; }
.hhx-map path.hhx-mow--dark { stroke: #3f8f3a; stroke-opacity: .5; }
.hhx-map path.hhx-mow--l1.hhx-mow--light { stroke: #9be05a; stroke-opacity: .62; }
.hhx-map path.hhx-mow--l1.hhx-mow--dark { stroke: #2f9a3a; stroke-opacity: .62; }
.hhx-map path.hhx-mow--l2.hhx-mow--light { stroke: #8fe84e; stroke-opacity: .74; }
.hhx-map path.hhx-mow--l2.hhx-mow--dark { stroke: #1f9c3c; stroke-opacity: .74; }
.hhx-map path.hhx-mow.is-in { animation: hhx-fade 1.2s ease both; }
.hhx-map path.hhx-mow--dark.is-in { animation-delay: .35s; }
.hhx-map path.hhx-edge { fill: none; stroke: #fff; stroke-width: 2; stroke-opacity: .9; filter: drop-shadow(0 0 3px rgba(0, 0, 0, .6)); }
