/* Map & 3D (8 Nov 2026 redesign). A calm map with floating liquid-glass controls, a compass dial, a day bar and a level
   stepper. Phone first: the map fills the width, the day bar sits at the bottom of the map within thumb reach, and the
   dial, level and result stack underneath. Desktop: map left, controls and result right. SF type, headings 500, rest 400. */
.x4{--x4-w:min(1200px,calc(100% - 2 * var(--hig-gutter,20px)));--x4-ease:cubic-bezier(.2,.8,.2,1);--x4-blue:#0071e3;--x4-soft:#6e6e73;
  --x4-glass:linear-gradient(160deg,rgba(255,255,255,.86),rgba(255,255,255,.62));padding:112px 0 40px;color:#1d1d1f}
.x4>*{width:var(--x4-w);margin-inline:auto}
.x4 h1{margin:0;font-size:clamp(40px,6vw,64px);font-weight:500;letter-spacing:-.035em;line-height:1.04}
.x4-head p{margin:12px 0 0;max-width:640px;font-size:clamp(17px,1.6vw,20px);line-height:1.5;color:var(--x4-soft)}
.x4-back{display:inline-flex;gap:6px;margin-bottom:14px;color:var(--x4-blue);text-decoration:none;font-size:15px}
.x4-steps{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:18px 0 0;padding:0}
.x4-steps li{display:inline-flex;align-items:center;gap:8px;padding:6px 14px 6px 6px;border-radius:999px;background:rgba(255,255,255,.7);font-size:14px;color:#3a3a3c;
  box-shadow:0 1px 1px rgba(16,42,84,.04),0 6px 16px rgba(16,42,84,.06);transition:background .4s var(--x4-ease),color .4s var(--x4-ease)}
.x4-steps li span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e8e8ed;font-size:13px;transition:background .4s var(--x4-ease),color .4s var(--x4-ease)}
.x4-steps li.is-done{color:#1d1d1f}
.x4-steps li.is-done span{background:var(--x4-blue);color:#fff}

.x4-app.explore3d{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,1fr);gap:18px;align-items:start;margin-top:24px;padding:0;background:none;border:0;box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none}
.x4-stage{position:relative;border-radius:30px;overflow:hidden;background:#e9edf2;box-shadow:0 1px 1px rgba(16,42,84,.05),0 24px 60px rgba(16,42,84,.14)}
.x4-stage .x3-map{height:min(74vh,700px);min-height:440px;border-radius:0;background:#eef1f5}
.x4-glass,.x4-search,.x4-mode,.x4-day,.x4-empty,.x4-stage .x3-plan{background:var(--x4-glass);border:1px solid rgba(255,255,255,.85);
  box-shadow:0 1px 1px rgba(16,42,84,.05),0 14px 34px rgba(16,42,84,.14),inset 0 1px 0 rgba(255,255,255,.95);
  -webkit-backdrop-filter:blur(26px) saturate(170%);backdrop-filter:blur(26px) saturate(170%)}

/* Floating search */
.x4-stage .x4-search,.x4-stage .x4-search.ac-host{position:absolute;z-index:4;top:14px;left:14px;right:14px;max-width:560px;display:flex;align-items:center;gap:10px;padding:5px 5px 5px 16px;border-radius:999px}
.x4-search svg{flex:none;width:19px;height:19px;color:var(--x4-soft)}
.x4-search input{flex:1;min-width:0;border:0;background:none;font:inherit;font-size:16px;color:#1d1d1f;outline:none;padding:11px 0}
.x4-search input::-webkit-search-cancel-button{opacity:.5}
.x4-search button{flex:none;min-height:42px;padding:0 18px;border:0;border-radius:999px;background:linear-gradient(180deg,#2b8cf0,var(--x4-blue));color:#fff;font:inherit;font-size:15px;
  cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 6px 16px rgba(0,113,227,.28);transition:box-shadow .35s var(--x4-ease),scale .3s var(--x4-ease)}
.x4-search button:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 6px 22px rgba(0,113,227,.18),0 2px 8px rgba(0,113,227,.08)}
.x4-search button:active{scale:.96}
.x4-search:focus-within{box-shadow:0 0 0 4px rgba(0,113,227,.16),0 14px 34px rgba(16,42,84,.14),inset 0 1px 0 #fff}

/* 3D / 2D segmented switch */
.x4-mode{position:absolute;z-index:3;top:76px;left:14px;display:flex;padding:3px;border-radius:999px}
.x4-mode button{min-width:52px;min-height:34px;border:0;border-radius:999px;background:none;font:inherit;font-size:14px;color:#1d1d1f;cursor:pointer;transition:background .35s var(--x4-ease)}
.x4-mode button[aria-pressed=true]{background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.12),0 2px 1px rgba(0,0,0,.04)}
/* MapLibre's own buttons as glass, clear of the search bar */
.x4-stage .maplibregl-ctrl-top-right{top:64px;right:6px}
.x4-stage .maplibregl-ctrl-group{border-radius:14px;overflow:hidden;background:var(--x4-glass);box-shadow:0 10px 24px rgba(16,42,84,.14);
  -webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
.x4-stage .maplibregl-ctrl-group button{width:36px;height:36px}

/* Empty map hint */
.x4-empty{position:absolute;z-index:2;left:50%;top:46%;translate:-50% -50%;display:inline-flex;align-items:center;gap:10px;margin:0;padding:12px 18px;border-radius:999px;
  font-size:15px;color:#1d1d1f;pointer-events:none;transition:opacity .5s var(--x4-ease),scale .5s var(--x4-ease);white-space:nowrap}
.x4-empty svg{width:20px;height:20px;color:var(--x4-blue)}
.x4-app.has-place .x4-empty{opacity:0;scale:.92}

/* Day bar: night -> sunrise -> midday -> sunset, sun-shaped thumb */
.x4-day{position:absolute;z-index:3;left:14px;right:14px;bottom:14px;padding:12px 16px 10px;border-radius:24px}
.x4-day-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.x4-clock{font-size:26px;font-weight:500;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1;margin-right:2px}
.x4-sunnow{padding:5px 11px;border-radius:999px;font-size:13px;background:#f2f2f7;color:#3a3a3c;transition:background .4s var(--x4-ease),color .4s var(--x4-ease)}
.x4-sunnow:empty{display:none}
.x4-sunnow[data-state=sun]{background:#fff3d6;color:#9a5b00}
.x4-sunnow[data-state=shade]{background:#e8f0fb;color:#1f4f8f}
.x4-sunnow[data-state=night]{background:#2c3550;color:#e7ecf7}
.x4-date{margin-left:auto}
.x4-date input{min-height:36px;padding:0 10px;border-radius:12px;border:1px solid rgba(0,0,0,.08);background:rgba(255,255,255,.85);font:inherit;font-size:14px;color:#1d1d1f}
.x4-now{min-height:36px;padding:0 14px;border-radius:999px;border:1px solid rgba(0,0,0,.08);background:rgba(255,255,255,.85);font:inherit;font-size:14px;color:var(--x4-blue);cursor:pointer;
  transition:box-shadow .3s var(--x4-ease)}
.x4-now:hover{box-shadow:0 6px 20px rgba(0,113,227,.12),0 1px 4px rgba(16,42,84,.06)}
.x4-day-range{-webkit-appearance:none;appearance:none;width:100%;height:30px;margin:10px 0 2px;background:transparent;cursor:pointer}
.x4-day-range::-webkit-slider-runnable-track{height:10px;border-radius:99px;
  background:linear-gradient(90deg,#3a4a70 0%,#f6a96b 9%,#ffd98a 20%,#bfe0ff 40%,#9fd0ff 55%,#ffd98a 80%,#f08f5f 92%,#3a4a70 100%)}
.x4-day-range::-moz-range-track{height:10px;border-radius:99px;background:linear-gradient(90deg,#3a4a70 0%,#f6a96b 9%,#ffd98a 20%,#bfe0ff 40%,#9fd0ff 55%,#ffd98a 80%,#f08f5f 92%,#3a4a70 100%)}
.x4-day-range::-webkit-slider-thumb{-webkit-appearance:none;width:30px;height:30px;margin-top:-10px;border-radius:50%;
  background:radial-gradient(circle at 40% 35%,#fff7c2,#ffcc33 55%,#ff9f0a);border:3px solid #fff;box-shadow:0 0 0 6px rgba(255,190,60,.22),0 6px 14px rgba(160,90,0,.3)}
.x4-day-range::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#fff7c2,#ffcc33 55%,#ff9f0a);border:3px solid #fff;
  box-shadow:0 0 0 6px rgba(255,190,60,.22),0 6px 14px rgba(160,90,0,.3)}
.x4-day-range:focus-visible{outline:none}
.x4-day-range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 8px rgba(0,113,227,.25)}
.x4-day-scale{display:flex;justify-content:space-between;font-size:12px;color:var(--x4-soft)}

/* 2D floor plan, floating */
.x4-stage .x3-plan{z-index:3;top:120px;right:14px;bottom:auto;border-radius:22px}

/* Side panel: compass, level, result */
.x4-panel{display:grid;gap:14px;position:sticky;top:92px}
.x4-controls{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:center;padding:18px;border-radius:26px;background:var(--x4-glass);
  border:1px solid rgba(255,255,255,.85);box-shadow:0 1px 1px rgba(16,42,84,.04),0 14px 34px rgba(16,42,84,.09),inset 0 1px 0 #fff}
.x4-dial{position:relative;width:176px;height:176px;border-radius:50%;
  background:radial-gradient(circle,#fff 0 46%,transparent 47%),conic-gradient(from 0deg,#eef3fa,#f8fafc,#eef3fa,#f8fafc,#eef3fa);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.05),0 10px 24px rgba(16,42,84,.08)}
.x4-dir{position:absolute;left:50%;top:50%;width:38px;height:38px;margin:-19px 0 0 -19px;border:0;border-radius:50%;background:transparent;font:inherit;font-size:13px;color:#3a3a3c;cursor:pointer;
  transform:rotate(var(--a)) translateY(-68px) rotate(calc(-1 * var(--a)));transition:background .3s var(--x4-ease),color .3s var(--x4-ease),scale .3s var(--x4-ease)}
.x4-dir:hover{background:rgba(0,113,227,.08)}
.x4-dir:active{scale:.92}
.x4-dir[aria-pressed=true]{background:var(--x4-blue);color:#fff;box-shadow:0 6px 14px rgba(0,113,227,.35)}
.x4-needle{position:absolute;left:50%;top:50%;width:4px;height:58px;margin:-58px 0 0 -2px;border-radius:4px;background:linear-gradient(180deg,var(--x4-blue),rgba(0,113,227,.15));
  transform-origin:50% 100%;transform:rotate(var(--a,270deg));transition:transform .6s var(--x4-ease)}
.x4-dial-face{position:absolute;left:50%;top:50%;translate:-50% -50%;display:grid;justify-items:center;width:84px;pointer-events:none}
.x4-dial-face b{font-size:26px;font-weight:500;letter-spacing:-.02em;line-height:1}
.x4-dial-face small{font-size:11px;color:var(--x4-soft);margin-top:2px}
.x4-controls .x3-units{display:grid;gap:12px;grid-template-columns:1fr}
.x4-controls .x3-units label{display:grid;gap:6px;font-size:13px;color:var(--x4-soft)}
.x4-controls .x3-units select,.x4-controls .x3-units input:not([type=range]){min-height:44px;padding:0 12px;border-radius:12px;border:1px solid rgba(0,0,0,.08);background:#fff;font:inherit;font-size:15px;color:#1d1d1f}
.x4-level{display:flex;align-items:center;gap:10px}
.x4-level-label{flex:1;font-size:13px;color:var(--x4-soft)}
.x4-level button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid rgba(0,0,0,.08);background:#fff;font:inherit;font-size:22px;line-height:1;color:var(--x4-blue);
  cursor:pointer;box-shadow:0 4px 10px rgba(16,42,84,.08);transition:box-shadow .3s var(--x4-ease),scale .25s var(--x4-ease)}
.x4-level button:hover{box-shadow:0 6px 20px rgba(0,113,227,.12),0 1px 4px rgba(16,42,84,.06)}
.x4-level button:active{scale:.9}
.x4-level output{min-width:46px;text-align:center;font-size:30px;font-weight:500;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.x4-level-range{width:100%;accent-color:var(--x4-blue)}

.x4-panel .x3-read{position:static;max-height:none;margin:0;padding:20px;border-radius:26px;background:#fff;box-shadow:0 1px 1px rgba(16,42,84,.04),0 14px 34px rgba(16,42,84,.08);font-size:14px}
.x4-panel .x3-kicker{font-size:12px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--x4-blue)}
.x4-panel .x3-title{font-size:22px;font-weight:500;letter-spacing:-.02em}
.x4-panel .x3-sub{color:#3a3a3c;line-height:1.5}
.x4-panel .x3-sunbox{border-radius:18px;background:linear-gradient(160deg,#fff8ec,#fffdf8)}
.x4-panel .x3-bar i{background:#ffb340}
.x4-panel .x3-act{border-radius:999px;font-weight:400;transition:box-shadow .3s var(--x4-ease)}
.x4-panel .x3-act:hover{box-shadow:0 6px 20px rgba(0,113,227,.12),0 1px 4px rgba(16,42,84,.06)}

/* Phones: the map is the hero; controls stack underneath, everything within thumb reach */
@media (max-width:900px){
  .x4{padding-top:96px}
  .x4-app.explore3d{grid-template-columns:1fr;gap:14px}
  .x4-stage{border-radius:26px;margin-inline:calc(-1 * min(8px, var(--hig-gutter,20px) / 2))}
  .x4-stage .x3-map{height:68vh;min-height:420px}
  .x4-panel{position:static}
  .x4-steps li{font-size:13px;padding:5px 12px 5px 5px}
}
@media (max-width:560px){
  .x4-controls{grid-template-columns:1fr;justify-items:center;padding:16px}
  .x4-controls .x3-units{width:100%}
  .x4-dial{width:200px;height:200px}
  .x4-dir{width:44px;height:44px;margin:-22px 0 0 -22px;transform:rotate(var(--a)) translateY(-76px) rotate(calc(-1 * var(--a)))}
  .x4-needle{height:64px;margin-top:-64px}
  .x4-day{left:10px;right:10px;bottom:10px;padding:10px 12px 8px}
  .x4-clock{font-size:22px}
  .x4-date input{max-width:140px}
  .x4-stage .x4-search{left:10px;right:10px;top:10px}
  .x4-mode{top:70px;left:10px}
  .x4-stage .maplibregl-ctrl-top-right{top:60px}
  .x4-empty{font-size:14px;white-space:normal;width:max-content;max-width:80%;text-align:left}
}
@media (prefers-reduced-motion:reduce){.x4 *{transition:none!important}}
/* Controls layout: dial on top in the narrow desktop panel and on phones; dial beside the pickers on tablets. */
.x4-controls{grid-template-columns:1fr;justify-items:center}
.x4-controls .x3-units{grid-column:auto;width:100%}
@media (min-width:561px) and (max-width:900px){.x4-controls{grid-template-columns:auto minmax(0,1fr);justify-items:stretch}.x4-compass{align-self:center}}
/* Unit details: full width under the map (8 Nov 2026). Header with status and price, a strip of project facts, then the
   plan or photo beside the sun, view and next steps. The right column above now holds only the controls. */
.x4-panel{position:static}
.x4-app .x4-read.x3-read{grid-column:1/-1;position:static;max-height:none;margin:0;padding:clamp(18px,2.6vw,30px);border-radius:30px;background:#fff;
  box-shadow:0 1px 1px rgba(16,42,84,.04),0 18px 44px rgba(16,42,84,.09);font-size:15px}
.x4-read-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:16px;border-bottom:1px solid rgba(0,0,0,.06)}
.x4-read-head .x3-kicker{margin:0;font-size:12px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:#0071e3}
.x4-read-head .x3-title{margin:6px 0 4px;font-size:clamp(22px,2.4vw,28px);font-weight:500;letter-spacing:-.02em;line-height:1.2}
.x4-read-head .x3-sub{margin:0;color:#3a3a3c;line-height:1.5}
.x4-price{display:grid;justify-items:end;gap:2px;text-align:right;flex:none}
.x4-price b{font-size:clamp(24px,2.6vw,32px);font-weight:500;letter-spacing:-.02em;line-height:1.1;font-variant-numeric:tabular-nums}
.x4-price small{font-size:12px;color:#6e6e73}
.x4-price .x4-ask{margin-top:4px;color:#0071e3;font-size:13px}
.x4-status{margin-bottom:6px;padding:4px 10px;border-radius:999px;font-size:12px;background:#f2f2f7;color:#3a3a3c}
.x4-status.is-available{background:#e3f5e8;color:#1f7a3a}
.x4-status.is-sold{background:#f2f2f7;color:#86868b}
.x4-status.is-reserved{background:#fff3d6;color:#9a5b00}
.x4-factstrip{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px 18px;margin:16px 0 0;padding:16px 18px;border-radius:20px;background:#f6f8fb}
.x4-factstrip div{display:grid;gap:3px;min-width:0}
.x4-factstrip dt{font-size:12px;color:#6e6e73}
.x4-factstrip dd{margin:0;font-size:15px;color:#1d1d1f;overflow-wrap:anywhere}
.x4-read-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(18px,2.6vw,32px);align-items:start;margin-top:20px}
.x4-read.is-single .x4-read-body{grid-template-columns:1fr}
.x4-read-left figure{margin:0;padding:14px;border-radius:22px;background:#f6f8fb}
.x4-read-left img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;border-radius:14px;background:#fff}
.x4-read-photo img{max-height:420px;object-fit:cover!important}
.x4-read-left figcaption{margin-top:10px;font-size:13px;color:#6e6e73;text-align:center}
.x4-read-right .x3-sunbox{margin-top:0}
.x4-read-right .x3-actions{margin-top:4px}
@media (max-width:900px){.x4-read-body{grid-template-columns:1fr}}
@media (max-width:560px){.x4-read-head{flex-direction:column;gap:12px}.x4-price{justify-items:start;text-align:left}.x4-factstrip{grid-template-columns:1fr 1fr;padding:14px}}
/* Facts strip: items share each row, so a short last row never leaves empty cells. */
.x4-read .x4-factstrip{display:flex;flex-wrap:wrap}
.x4-factstrip div{flex:1 1 118px}
/* Up-front money at the price shown, under the plan. */
.x4-cost{margin-top:16px;padding:20px;border-radius:22px;background:#f6f8fb}
.x4-cost h4{margin:0 0 14px;font-size:17px;font-weight:500;letter-spacing:-.01em;color:#1d1d1f}
.x4-read .x4-cost dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
.x4-cost dl div{display:grid;gap:2px;align-content:start;padding:14px 16px;border-radius:16px;background:#fff}
.x4-cost dt{font-size:12px;color:#6e6e73}
.x4-cost dd{margin:0;font-size:20px;letter-spacing:-.01em;color:#1d1d1f;font-variant-numeric:tabular-nums}
.x4-cost dl .is-main dd{color:#0071e3}
.x4-cost small{font-size:12px;color:#6e6e73}
.x4-read .x4-cost .x4-cost-note{margin:14px 2px 0;font-size:14px!important;line-height:1.55;color:#3a3a3c;max-width:none}
.x4-cost-note b{font-weight:500;color:#1d1d1f}
.x4-cost-link{display:inline-flex;align-items:center;gap:6px;margin:12px 2px 0;font-size:15px;color:#0071e3;text-decoration:none}
.x4-cost-link:hover{text-decoration:underline}
@media (max-width:560px){.x4-cost{padding:16px}.x4-read .x4-cost dl{grid-template-columns:1fr 1fr;gap:8px}.x4-cost dl div{padding:12px}.x4-cost dd{font-size:18px}.x4-factstrip div{flex-basis:40%}}
/* Paired rows: plan | sun and view, then money | next steps. */
.x4-read .x4-read-body{grid-template-areas:"plan sun" "cost act";row-gap:clamp(16px,2vw,24px)}
.x4-read.no-plan .x4-read-body{grid-template-areas:"cost sun" "cost act"}
.x4-read.no-cost .x4-read-body{grid-template-areas:"plan sun" "plan act"}
.x4-cell-plan{grid-area:plan}.x4-cell-sun{grid-area:sun}.x4-cell-cost{grid-area:cost}.x4-cell-act{grid-area:act}
.x4-read-right{display:grid;gap:14px;align-content:start;min-width:0}
.x4-read-right > *{margin-top:0!important;margin-bottom:0!important}
.x4-cell-cost .x4-cost{margin-top:0}
@media (max-width:900px){.x4-read .x4-read-body,.x4-read.no-plan .x4-read-body,.x4-read.no-cost .x4-read-body{grid-template-areas:"plan" "sun" "cost" "act"}}
.x4-read.is-single .x4-read-body{grid-template-columns:1fr;grid-template-areas:"sun" "act"}
@media (max-width:900px){.x4-read.no-plan .x4-read-body{grid-template-areas:"sun" "cost" "act"}.x4-read.no-cost .x4-read-body{grid-template-areas:"plan" "sun" "act"}.x4-read.is-single .x4-read-body{grid-template-areas:"sun" "act"}}
/* The page-end card lines up with the map and the unit details (the site-wide CTA rule zeroes side margins). */
.x4>.structure-cta{margin-left:auto!important;margin-right:auto!important}
/* The unit details keep the same breathing room at the bottom as the top. */
.x4-app .x4-read.x3-read{padding-bottom:clamp(18px,2.6vw,30px)!important}
.x4-cost dd em{font-style:normal;font-size:13px;color:#6e6e73;margin-left:2px}
/* Payment timeline: a full-width row under the money and the next steps. */
.x4-read .x4-read-body{grid-template-areas:"plan sun" "cost act" "pay pay"}
.x4-read.no-plan .x4-read-body{grid-template-areas:"cost sun" "cost act" "pay pay"}
.x4-cell-pay{grid-area:pay;min-width:0}
@media (max-width:900px){.x4-read .x4-read-body{grid-template-areas:"plan" "sun" "cost" "pay" "act"}.x4-read.no-plan .x4-read-body{grid-template-areas:"sun" "cost" "pay" "act"}}
.x4-pay{--pay-cash:#ff9f0a;--pay-either:#30b0c7;--pay-loan:#0071e3;padding:clamp(18px,2.4vw,26px);border-radius:22px;background:#f6f8fb}
.x4-pay-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px 24px;flex-wrap:wrap}
.x4-pay-head h4{margin:0;font-size:17px;font-weight:500;letter-spacing:-.01em;color:#1d1d1f}
.x4-pay-head p{margin:6px 0 0;max-width:62ch;font-size:14px;line-height:1.5;color:#6e6e73}
.x4-pay-key{display:flex;flex-wrap:wrap;gap:14px;margin:0;padding:0;list-style:none;font-size:13px;color:#3a3a3c}
.x4-pay-key li{display:inline-flex;align-items:center;gap:7px}
.x4-pay-key li::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--c)}
.x4-pay .is-cash{--c:var(--pay-cash)}.x4-pay .is-either{--c:var(--pay-either)}.x4-pay .is-loan{--c:var(--pay-loan)}
.x4-pay-bar{display:flex;gap:3px;height:12px;margin:18px 0 16px}
.x4-pay-bar i{border-radius:6px;background:var(--c);opacity:.85}
.x4-pay-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;counter-reset:none}
.x4-pay-steps li{position:relative;display:grid;gap:3px;align-content:start;padding:14px 14px 13px;border-radius:16px;background:#fff;overflow:hidden}
.x4-pay-steps li::before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:var(--c)}
.x4-pay-steps time{font-size:12px;color:#6e6e73}
.x4-pay-steps strong{font-size:14px;font-weight:500;color:#1d1d1f}
.x4-pay-amt{display:flex;align-items:baseline;gap:8px;margin-top:4px;font-size:14px;color:#1d1d1f;font-variant-numeric:tabular-nums}
.x4-pay-amt b{font-size:20px;font-weight:500;letter-spacing:-.01em;color:var(--c)}
.x4-pay-steps small{font-size:12px;color:#3a3a3c}
.x4-pay-after{font-size:12px;color:#6e6e73;font-variant-numeric:tabular-nums}
.x4-pay-steps li.is-built{background:#fffaf0}
.x4-read .x4-pay .x4-pay-note{margin:14px 2px 0;font-size:13px!important;line-height:1.55;color:#6e6e73;max-width:none}
@media (max-width:1100px){.x4-pay-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:620px){
  .x4-pay-steps{grid-template-columns:1fr;gap:6px}
  .x4-pay-steps li{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"t a" "n a" "p p" "s s";column-gap:12px;row-gap:2px;padding:12px 14px 12px 17px}
  .x4-pay-steps li::before{top:0;bottom:0;right:auto;width:3px;height:auto}
  .x4-pay-steps time{grid-area:t}.x4-pay-steps strong{grid-area:n}.x4-pay-amt{grid-area:a;flex-direction:column;align-items:flex-end;gap:0;margin:0;text-align:right}
  .x4-pay-steps small{grid-area:p;margin-top:4px}.x4-pay-after{grid-area:s}
  .x4-pay-amt b{font-size:18px}
}
/* The sun scene over the map: dome ring with directions, today's sun path with hours, the sun, its beam to the window. */
.x4-sky{position:absolute;left:0;top:0;pointer-events:none;overflow:visible;z-index:1}
.x4-sky text{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;text-anchor:middle;dominant-baseline:middle;paint-order:stroke;stroke:rgba(255,255,255,.92);stroke-width:3.5px;stroke-linejoin:round}
.x4-sky-ring{fill:none;stroke:rgba(60,74,102,.28);stroke-width:1.2;stroke-dasharray:2 5}
.x4-sky-dir{font-size:11px;font-weight:500;fill:#6e6e73}
.x4-sky-path{fill:none;stroke:#ffb020;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:.5 7;opacity:.95}
.x4-sky-path.is-night{stroke:#8e9bb3;opacity:.5}
.x4-sky-tick{fill:#fff;stroke:#ffb020;stroke-width:2}
.x4-sky-hour{font-size:11px;font-weight:500;fill:#8a5a00}
.x4-beam{fill:url(#x4Beam)}
.x4-ray{stroke:rgba(255,170,20,.8);stroke-width:1.6;stroke-linecap:round;stroke-dasharray:7 7}
.x4-hit{fill:url(#x4HitGlow)}
.x4-sun-stem{stroke:rgba(255,160,0,.5);stroke-width:1.4;stroke-dasharray:2 4}
.x4-sun-rays line{stroke:#ffb020;stroke-width:4;stroke-linecap:round}
.x4-sun-orb{filter:drop-shadow(0 0 6px rgba(255,190,40,.55))}
/* Row 2: the money card stretches to the height of the buttons beside it, so neither column leaves a gap. */
@media (min-width:901px){.x4-cell-cost{display:flex}.x4-cell-cost .x4-cost{flex:1;display:flex;flex-direction:column}.x4-cell-cost .x4-cost dl{flex:1}.x4-read .x4-read-body{align-items:stretch}.x4-read-right{align-content:start}}
.x4-read .x4-pay .x4-pay-lead{margin:6px 0 0;max-width:62ch;font-size:14px!important;line-height:1.5;color:#6e6e73}
.x4-read .x4-pay .x4-pay-sum{margin:16px 2px 0;font-size:14px!important;line-height:1.55;color:#3a3a3c;max-width:none}
.x4-pay-sum b{font-weight:500;color:#1d1d1f}
.x4-read .x4-pay .x4-pay-note{margin-top:8px}
.x4-pay-meta{display:grid;gap:3px}
@media (max-width:620px){
  .x4-pay-steps li{grid-template-areas:"t a" "n a" "m m";padding:11px 14px 11px 17px}
  .x4-pay-meta{grid-area:m;display:flex;flex-wrap:wrap;gap:0 6px;margin-top:3px}
  .x4-pay-meta small{margin:0}
  .x4-pay-meta .x4-pay-after::before{content:"· "}
}
