/* quote builder: the live plan of the home on the left (always), choices on the right, total pinned at the bottom */
.qb [hidden]{display:none!important}
.pg-quote .foot{padding-bottom:calc(var(--bar,76px) + 40px)}
.pg-quote .nav-cta{display:none}
@media (max-width:820px){ .pg-quote .nav-toggle{margin-left:auto} }
.qb{--bar:76px;display:grid;grid-template-columns:minmax(0,1fr) 420px;max-width:1600px;margin:0 auto}
.qb-panel{padding-bottom:var(--bar)}
html:has(.pg-quote){scroll-padding-bottom:calc(var(--bar,76px) + 16px)}

/* ---------- stage ---------- */
/* the stage column is as tall as the panel, so the sticky stage ends with the configurator, never beside the footer.
   It always shows the live plan, filling the column. */
.qb-stage{position:relative;min-width:0;background:var(--bg2)}
.stage-inner{position:sticky;top:var(--nav);height:calc(100vh - var(--nav) - var(--bar));height:calc(100dvh - var(--nav) - var(--bar));min-height:360px;display:flex;flex-direction:column;padding:14px clamp(16px,2.4vw,40px) 14px}
/* the big view: one subject at a time, every device drawn large, re-finished per range. The stage is tinted by range. */
.art-defs{position:absolute;width:0;height:0;overflow:hidden}
.qb-stage{--tint:#f3efe7;transition:background .4s var(--ease)}
.qb-stage[data-range="Premium"]{--tint:#e9e9f1}
.qb-stage[data-range="Value"]{--tint:#f4eedf}
.hero{position:relative;overflow:hidden;flex:1;min-height:0;display:flex;flex-direction:column;justify-content:space-between;border-radius:var(--r-lg);background:radial-gradient(120% 90% at 50% 100%,var(--tint) 0%,var(--card) 70%);box-shadow:0 0 0 1px var(--line2);padding:14px 22px 10px;transition:background .4s var(--ease)}
.hero-head{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;position:relative;z-index:2;pointer-events:none}
.hero-head .hero-btn,.hero-head .vet-pill{pointer-events:auto}
.hero-head.enter{animation:pfade .3s var(--ease) both}
.hero-t{min-width:0;flex:1}
.hero-eye{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:600;color:var(--muted);white-space:nowrap}
.hero-eye>span:first-child{overflow:hidden;text-overflow:ellipsis}
.hero-h{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:2px 0 0;font-size:30px;line-height:1.1;font-weight:700;letter-spacing:-.035em}
.hero-n{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-p{flex:none}
.hero-sub{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:4px 0 0;font-size:15px;color:var(--ink2)}
.hero-btn{min-height:30px;padding:4px 12px;border:0;border-radius:980px;background:var(--bg2);color:var(--blue);font-size:14px;font-weight:600;cursor:pointer}
.hero-btn:hover{background:var(--line2)}
/* the model of the home. The world is drawn at a fixed size and zoomed with one transform. */
@property --dk{syntax:"<number>";inherits:true;initial-value:.4}
@property --iz{syntax:"<number>";inherits:true;initial-value:1}
.scene{position:absolute;inset:0;overflow:hidden;cursor:zoom-in;border-radius:inherit}
.scene.zoomed{cursor:zoom-out}
.qb-stage[data-subject="core"] .scene{display:none}
.core-view{display:none;flex:1;min-height:0;padding:12px 0 8px;animation:pfade .3s var(--ease) both}
.core-view svg{width:100%;height:100%}
.qb-stage[data-subject="core"] .core-view{display:block}
.world{position:absolute;left:0;top:0;transform-origin:0 0;transition:transform .32s var(--ease),--dk .32s var(--ease),--iz .32s var(--ease)}
.plan{position:absolute;left:0;top:0;overflow:visible}
.rg{transition:opacity .3s var(--ease)}
.scene.zoomed .rg:not(.on),.scene.zoomed .pd:not(.on){opacity:.22}
.scene.zoomed .pd:not(.on) .pd-l{opacity:0}
/* floors, walls, furniture and gardens: light and dark */
.qb-stage{--fl1:#e9d4b0;--fl2:#e1c9a2;--wa-t:#ffffff;--wa-l:#cbbfab;--wa-r:#b3a48c;--hs-l:#b9a68a;--hs-r:#9d8a6f;--gr:#a9d48a;--gs-l:#86b765;--gs-r:#6f9f50;
  --f-t:#ffffff;--f-l:#d5cdbf;--f-r:#bdb3a2;--f2-t:#f7f5f1;--f2-l:#c6c0b6;--f2-r:#aea79b;--bed-t:#ffffff;--bed-l:#cfd6e4;--bed-r:#b5bed2;--rug:#c9a982;--path:#e3d8c4;--car-t:#7e94ab;--car-l:#617891;--car-r:#4f657d;--edge:rgba(60,40,20,.22)}
.fl{fill:var(--fl1);stroke:var(--edge);stroke-width:1.2}.fl.alt{fill:var(--fl2)}
.wa-t{stroke:var(--edge);stroke-width:.8}
.gr{fill:var(--gr)}
.wa-t{fill:var(--wa-t)}.wa-l{fill:var(--wa-l)}.wa-r{fill:var(--wa-r)}
.hs-l{fill:var(--hs-l)}.hs-r{fill:var(--hs-r)}.gs-l{fill:var(--gs-l)}.gs-r{fill:var(--gs-r)}
.f-t{fill:var(--f-t)}.f-l{fill:var(--f-l)}.f-r{fill:var(--f-r)}
.f2-t{fill:var(--f2-t)}.f2-l{fill:var(--f2-l)}.f2-r{fill:var(--f2-r)}
.bed-t{fill:var(--bed-t)}.bed-l{fill:var(--bed-l)}.bed-r{fill:var(--bed-r)}
.rug-t{fill:var(--rug)}.path-t{fill:var(--path)}
.car-t{fill:var(--car-t)}.car-l{fill:var(--car-l)}.car-r{fill:var(--car-r)}
/* room names sit on the front corner of each room; devices stand on their spots */
.labs{position:absolute;width:0;height:0;z-index:4}
.rl{position:absolute;display:flex;align-items:baseline;gap:6px;transform:translate(-50%,-50%) scale(var(--iz));transform-origin:50% 50%;padding:4px 11px;border-radius:980px;background:var(--card);box-shadow:0 1px 2px rgba(0,0,0,.12),0 4px 12px rgba(0,0,0,.14);font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap;color:var(--ink);pointer-events:auto;cursor:pointer;transition:opacity .3s var(--ease),background .3s var(--ease),color .3s var(--ease)}
.rl:hover{box-shadow:0 0 0 2px var(--ink),0 4px 12px rgba(0,0,0,.14)}
.rl-p{display:none;font-weight:700}
.scene.zoomed .rl{opacity:0;pointer-events:none}
.pd{position:absolute;width:0;height:0;transition:opacity .3s var(--ease)}
.pd-a{position:absolute;left:-50px;bottom:0;width:100px;height:100px;transform:scale(var(--dk));transform-origin:50% 92%}
.pd-a .art{width:100%;height:100%;overflow:visible}
.pd.core .pd-a .art{filter:drop-shadow(0 2px 3px rgba(0,0,0,.15))}
.pd-l{position:absolute;left:0;top:0;transform:translate(-50%,calc((8px + var(--ly,0px)) * var(--iz))) scale(var(--iz));transform-origin:50% 0;padding:3px 10px 4px;border-radius:980px;font-size:14px;font-weight:600;line-height:1.3;color:var(--ink);background:var(--card);box-shadow:0 1px 2px rgba(0,0,0,.08),0 0 0 1px var(--line2);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .25s var(--ease)}
.pd-l::before{content:"";position:absolute;left:50%;top:-4px;width:8px;height:8px;margin-left:-4px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 2.5px var(--card)}
.pd-l{z-index:5}
.pd-l b{font-weight:600;color:var(--orange-ink)}
.scene.zoomed .pd.on .pd-l{opacity:1}
.pd.in .pd-a{animation:pin .4s var(--ease) both}
.pd.swap .pd-a{animation:pswap .4s var(--ease) both}
.pd.tick .pd-a{animation:ptick .45s var(--ease) both}
@keyframes pin{from{opacity:0;transform:scale(calc(var(--dk) * .4))}}
@keyframes pswap{0%{opacity:0;transform:scale(calc(var(--dk) * .8))}}
@keyframes ptick{40%{transform:scale(calc(var(--dk) * 1.2))}}
@keyframes pfade{0%{opacity:0}}
/* Product range: devices whose maker changes get a ring; the makers in this home are listed over the plan */
.pd::after{content:"";position:absolute;left:0;top:0;width:calc(var(--dk) * 96px);height:calc(var(--dk) * 48px);border:calc(var(--iz) * 2.5px) solid var(--orange);border-radius:50%;transform:translate(-50%,-50%);opacity:0;pointer-events:none}
.pd.swap::after{animation:ring 1.1s var(--ease) both}
.qb-stage[data-focus="range"] .pd:not(.core)::after{animation:ring 1.6s var(--ease) 2 both}
.qb-stage[data-focus="extras"] .pd.tb::after{animation:ring 1.6s var(--ease) 3 both}
@keyframes ring{0%{opacity:.95;transform:translate(-50%,-50%) scale(.5)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.5)}}
.brands{position:absolute;left:22px;bottom:64px;z-index:3;max-width:min(260px,40%);padding:12px 14px;border-radius:16px;background:color-mix(in srgb,var(--card) 92%,transparent);box-shadow:0 1px 2px rgba(0,0,0,.08),0 8px 24px rgba(0,0,0,.1);opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .3s var(--ease),transform .3s var(--ease)}
.brands:empty{display:none}
.qb-stage[data-focus="range"] .brands{opacity:1;transform:none}
.brands.go ul{animation:pfade .35s var(--ease) both}
.br-h{margin:0 0 6px;font-size:12px;font-weight:600;color:var(--muted)}
.brands ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.brands li{display:flex;justify-content:space-between;gap:14px;font-size:14px}
.brands li b{font-weight:600}.brands li span{color:var(--ink2)}
/* Extras: the wall tablet stands out in its room */
.qb-stage[data-focus="extras"] .scene.zoomed .pd.on:not(.tb){opacity:.3}
.qb-stage[data-focus="extras"] .scene.zoomed .pd.on:not(.tb) .pd-l{opacity:0}
/* Your quote: the plan steps back and every room shows its price */
.plan,.pd{transition:opacity .35s var(--ease)}
.qb-stage[data-focus="summary"] .plan{opacity:.5}
.qb-stage[data-focus="summary"] .pd{opacity:.28}
.qb-stage[data-focus="summary"] .rl-p{display:inline}
.qb-stage[data-focus="summary"] .rl{background:var(--ink);color:var(--card)}
.hero-empty{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:24px;text-align:center;font-size:17px;color:var(--ink2)}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .qb-stage{--fl1:#4a3d2e;--fl2:#433728;--wa-t:#6a635b;--wa-l:#4a443e;--wa-r:#3c3731;--hs-l:#2e2822;--hs-r:#231e19;--gr:#34502a;--gs-l:#2a4121;--gs-r:#21341a;
  --f-t:#6b655e;--f-l:#4d4842;--f-r:#3f3a35;--f2-t:#5f5b56;--f2-l:#46423e;--f2-r:#3a3733;--bed-t:#77716a;--bed-l:#4f5464;--bed-r:#434857;--rug:#5a4630;--path:#3f3a32;--car-t:#55697f;--car-l:#435468;--car-r:#374557;--edge:rgba(0,0,0,.45)} }
:root[data-theme="dark"] .qb-stage{--fl1:#4a3d2e;--fl2:#433728;--wa-t:#6a635b;--wa-l:#4a443e;--wa-r:#3c3731;--hs-l:#2e2822;--hs-r:#231e19;--gr:#34502a;--gs-l:#2a4121;--gs-r:#21341a;
  --f-t:#6b655e;--f-l:#4d4842;--f-r:#3f3a35;--f2-t:#5f5b56;--f2-l:#46423e;--f2-r:#3a3733;--bed-t:#77716a;--bed-l:#4f5464;--bed-r:#434857;--rug:#5a4630;--path:#3f3a32;--car-t:#55697f;--car-l:#435468;--car-r:#374557;--edge:rgba(0,0,0,.45)}
/* numbers that changed flash once */
.changed{border-radius:6px;animation:flash .9s var(--ease)}
@keyframes flash{0%,30%{background:color-mix(in srgb,var(--orange) 30%,transparent);box-shadow:0 0 0 4px color-mix(in srgb,var(--orange) 30%,transparent)}100%{background:transparent;box-shadow:0 0 0 4px transparent}}

/* the thumbnail strip: whole home, each room, the setup. The chosen one has a dark border and a check. */
.strip-wrap{position:relative;z-index:2;flex:none;display:flex;align-items:center;gap:6px;padding:8px 0 0}
.strip{flex:1;min-width:0;display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 3px;scrollbar-width:none;padding:3px 48px 3px 3px;margin:-3px;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 56px),transparent)}
.strip::-webkit-scrollbar{display:none}
.strip-arr{flex:none;width:36px;height:36px;border:0;border-radius:50%;background:var(--card);color:var(--ink);display:grid;place-items:center;cursor:pointer;box-shadow:0 0 0 1px var(--line2)}
.strip-arr:hover{background:var(--line2)}
.strip-arr svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.th{position:relative;flex:0 0 auto;max-width:260px;display:flex;align-items:center;min-height:40px;padding:6px 30px 6px 14px;border:2px solid transparent;border-radius:14px;background:var(--card);color:var(--ink);text-align:left;cursor:pointer;scroll-snap-align:start;opacity:.6;box-shadow:0 0 0 1px var(--line2);transition:opacity .2s,border-color .2s,transform .2s var(--ease)}
.th:hover,.th.peek,.th:focus-visible{opacity:1}
.th[aria-pressed="true"]{opacity:1;border-color:var(--ink);box-shadow:none}
.th-t{display:flex;align-items:baseline;gap:8px;min-width:0}
.th-n{font-size:14px;font-weight:600;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.th-p{flex:none;font-size:13px;color:var(--ink2);line-height:1.3;padding:0 3px;margin-left:-3px}
.th-ck{position:absolute;top:50%;margin-top:-9px;right:7px;width:18px;height:18px;border-radius:50%;background:var(--ink);display:none;place-items:center}
.th-ck svg{width:13px;height:13px;fill:none;stroke:var(--bg);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.th[aria-pressed="true"] .th-ck{display:grid}

/* product drawings. Recommended: white with warm light. Premium: graphite with colour light. Value: birch with soft light. */
.art{overflow:visible;--pb:#ffffff;--pb2:#dedee3;--pk:#2b2b30;--pg:url(#gR);--pa:#30d158;--pl:rgba(0,0,0,.16);--fab:#ece6da}
.art.rP{--pb:#45454b;--pb2:#2b2b30;--pk:#111113;--pg:url(#gP);--pa:#5ad8ff;--pl:rgba(255,255,255,.18);--fab:#5a5a62}
.art.rV{--pb:#f1eadb;--pb2:#d9cdb3;--pk:#55555b;--pg:url(#gV);--pa:#0a6ac4;--pl:rgba(0,0,0,.14);--fab:#f6f1e6}
.art .sh{fill:rgba(0,0,0,.13)}
.art .b{fill:var(--pb);stroke:var(--pl);stroke-width:1}
.art .d{fill:var(--pb2)}
.art .k{fill:var(--pk)}
.art .g{fill:var(--pg);stroke:rgba(0,0,0,.08);stroke-width:.8}
.art .a{fill:var(--pa)}
.art .l{fill:none;stroke:var(--pl);stroke-width:1.2}
.art .beam{fill:#ffd27a;opacity:.28}.art.rP .beam{fill:#b18cff}.art.rV .beam{fill:#fff1b8;opacity:.5}
.art .hi{fill:#fff;opacity:.6}
.art .w{fill:#2f8cff}
.art .wl{fill:none;stroke:#2f8cff;stroke-width:2.4;stroke-linecap:round}
.art .lens{fill:#3b5bdb;opacity:.85}
.art .kp{fill:none;stroke:var(--pk);stroke-width:2.6;stroke-linecap:round}
.art .tx{fill:#fff;font:700 11px "Inter",sans-serif}
.art .scr{fill:#3a3a40}
.art .fab{fill:var(--fab)}
.art .strip{fill:none;stroke:var(--pb2);stroke-width:8;stroke-linecap:round}
.art .strip-g{fill:none;stroke:var(--pg);stroke-width:4.5;stroke-linecap:round}
.art.rP .strip-g{stroke:url(#gP)}
.ri .i-g{fill:#e9ece8;stroke:rgba(0,0,0,.12)}.ri .i-g2{fill:#c9cfc8}.ri .i-ha{fill:none;stroke:#18bcf2;stroke-width:3;stroke-linejoin:round}
.ri .i-w{fill:#f5f5f7;stroke:rgba(0,0,0,.12)}.ri .i-m{fill:#c7c7cc}.ri .i-k{fill:#2c2c30;stroke:#48484c}
.ri .i-port{fill:#0f0f11;stroke:#6a6a70;stroke-width:.6}.ri .i-bay{fill:#1a1a1d;stroke:#56565b;stroke-width:.8}
.ri .i-led{fill:#30d158}.ri .i-led.a2{fill:#ffb340}.ri .i-led.b2{fill:#0a84ff}
.ri .i-ring{fill:none;stroke:#d2d2d7;stroke-width:2}
.ri .i-glass{fill:#4a5560;opacity:.55}.ri .i-u{fill:#3a3a3e;stroke:#5a5a60;stroke-width:.6}
.ri .i-cable{fill:#2f8cff}.ri .i-cable2{fill:#1f6fd1}.ri .i-lead{fill:none;stroke:#2f8cff;stroke-width:3;stroke-linecap:round}
.ri .sh{fill:rgba(0,0,0,.25)}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .art .sh{fill:rgba(0,0,0,.5)} }
:root[data-theme="dark"] .art .sh{fill:rgba(0,0,0,.5)}

.dev-art{width:44px;height:44px;display:block}.dev-art .art{width:44px;height:44px}

.hero-eye .vet-pill{flex:none;display:inline-flex;align-items:center;gap:5px;padding:3px 9px 3px 7px;border-radius:980px;background:color-mix(in srgb,var(--green) 14%,var(--card));color:var(--ink);font-size:12.5px;font-weight:600;box-shadow:0 0 0 1px color-mix(in srgb,var(--green) 40%,transparent)}
.vet-pill .ic{width:14px;height:14px;color:var(--green)}

/* what's included: one dialog, three views */
.incl{width:min(920px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:var(--r-lg);background:var(--card);color:var(--ink);box-shadow:var(--shadow)}
.incl::backdrop{background:rgba(0,0,0,.55);backdrop-filter:blur(4px)}
.incl[open]{display:flex;flex-direction:column}
.incl-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 4px}
.incl-head h2{margin:0;font-size:24px;letter-spacing:-.025em}
.incl-x{width:40px;height:40px;border:0;border-radius:50%;background:var(--bg2);color:var(--ink);display:grid;place-items:center;cursor:pointer}
.incl-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.incl-tabs{display:flex;gap:4px;margin:12px 24px 0;padding:4px;border-radius:980px;background:var(--bg2);align-self:flex-start;max-width:calc(100% - 48px);overflow-x:auto}
.incl-tab{border:0;background:none;padding:8px 14px;border-radius:980px;font-size:14px;font-weight:500;color:var(--ink2);cursor:pointer;white-space:nowrap}
.incl-tab[aria-pressed="true"]{background:var(--card);color:var(--ink);font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.incl-v{margin:0;padding:18px 24px 24px;min-height:0;overflow:auto}
.incl-v figcaption{margin-top:14px;font-size:15px;color:var(--ink2);text-align:center}
.incl-v[data-iv="2"]{padding:18px 0 0}
.incl-v[data-iv="2"] figcaption{padding:0 24px 22px}

/* what runs it: one SVG */
.rack{width:100%;height:min(58dvh,520px);display:flex;align-items:center;justify-content:center}
.rack svg{width:100%;height:100%;overflow:visible}
.r-cab{fill:#1a1a1c;stroke:#3a3a3c;stroke-width:1.5}
.r-u{fill:#323235;stroke:#46464a}
.r-port{fill:#141416;stroke:#58585c;stroke-width:.8}
.r-bay{fill:#262628;stroke:#4a4a4e}
.r-led{fill:#30d158}.r-led.amber{fill:#ffb340}.r-led.nas{fill:#64d2ff}
.r-shelf{fill:#58585c}
.r-box{fill:#e8e8ed}.r-box.ha{fill:#f5f5f7}.r-ha{fill:#2e9e44}
.r-lead{fill:none;stroke:var(--muted);stroke-width:1.2}
.r-dot{fill:var(--ink)}
.r-t{font-size:16px;font-weight:600;fill:var(--ink);letter-spacing:-.01em}
.r-s{font-size:13.5px;fill:var(--muted)}.r-s.big{font-size:16px;fill:var(--ink2)}
.r-ap circle{fill:var(--card);stroke:var(--line)}.r-ap path{fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round}
.r-dev{fill:var(--card);stroke:var(--line)}.r-dev.router{fill:var(--bg2)}.r-dev.ha{stroke:var(--green);stroke-width:2}
.r-dl{font-size:14px;font-weight:600;fill:var(--ink)}
.r-shelf2{fill:var(--line)}
.wall{display:flex;flex-direction:column;align-items:center}
.tablet{width:min(100%,calc((58dvh - 28px) * 1100 / 972 + 28px));padding:14px;border-radius:26px;background:#111;box-shadow:0 0 0 1.5px #3a3a3c,0 40px 70px -30px rgba(0,0,0,.55)}
.tablet img{width:100%;height:auto;aspect-ratio:1100/972;border-radius:12px;object-fit:cover;object-position:top}
.mount{width:38%;height:12px;margin-top:-2px;border-radius:0 0 8px 8px;background:color-mix(in srgb,var(--orange) 70%,#333)}
.eve{width:100%;height:min(62dvh,600px);object-fit:cover;filter:brightness(1.15) contrast(1.05)}

/* ---------- panel ---------- */
.qb-panel{min-width:0;padding:8px 32px 48px}
.qs{padding:44px 0 40px;border-bottom:1px solid var(--line2);scroll-margin-top:calc(var(--nav) + 20px)}
.qs h2,.room{scroll-margin-top:calc(var(--nav) + 20px)}
.qs:last-child{border-bottom:0}
.qs h2{font-size:26px;font-weight:700;letter-spacing:-.03em;margin:0}
.qs-note{margin:4px 0 0;font-size:15px;color:var(--ink2)}
.qs-hero{text-align:center;padding-top:36px}
#sSummary,#sSend{scroll-margin-bottom:calc(var(--bar) + 12px)}
.q-title{font-size:40px;line-height:1.05;font-weight:700;letter-spacing:-.04em;margin:0}
.q-sub{margin:8px 0 0;font-size:14px;color:var(--muted)}
.tabs{display:grid;grid-auto-flow:column;grid-auto-columns:auto;gap:3px;margin:24px 0 0;padding:3px;border-radius:12px;background:var(--bg2);box-shadow:inset 0 0 0 1px var(--line2)}
.tab{min-width:0;min-height:40px;padding:8px 6px;border:0;border-radius:9px;background:none;font-size:14px;font-weight:500;color:var(--ink2);cursor:pointer;transition:color .2s,background .2s,box-shadow .2s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tab:hover{color:var(--ink)}
.tab[aria-pressed="true"]{background:var(--card);color:var(--ink);font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.12),0 0 0 1px var(--line2)}
.specs{display:grid;grid-template-columns:repeat(3,1fr);margin:28px 0 0}
.specs div{display:flex;flex-direction:column-reverse;gap:2px}
.specs dd{margin:0;font-size:30px;font-weight:600;letter-spacing:-.03em;line-height:1}
.specs dd small{font-size:15px;font-weight:500;margin-left:2px}
.specs dt{font-size:13px;color:var(--muted)}

.opts{display:flex;flex-direction:column;gap:12px;margin-top:18px}
.opt{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:12px;text-align:left;padding:18px 20px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--card);cursor:pointer;transition:border-color .2s,box-shadow .2s}
.opt:hover{border-color:var(--muted)}
.opt.on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.opt-t{font-weight:600;font-size:17px}
.opt-p{font-size:15px;font-weight:500;color:var(--ink2)}
.opt-s{grid-column:1/-1;font-size:14px;line-height:1.4;color:var(--ink2);margin-top:4px}
.opt-x{grid-column:1/-1;margin-top:10px;padding-top:10px;border-top:1px solid var(--line2);font-size:14px;line-height:1.45;color:var(--ink);animation:drop .3s var(--ease) both}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.row2>*{min-width:0}

.room{border-bottom:1px solid var(--line2)}
#rooms{margin-top:14px;border-top:1px solid var(--line2)}
.room-h{margin:0;font:inherit}
.room-tg{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:12px;padding:16px 2px;border:0;background:none;text-align:left;cursor:pointer;color:var(--ink)}
.room-t{font-size:17px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-m{font-size:14px;color:var(--muted);white-space:nowrap}
.chev{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease)}
.room-tg[aria-expanded="true"] .chev{transform:rotate(180deg)}
.room-b{padding:0 0 20px;animation:drop .35s var(--ease) both}
@keyframes drop{from{opacity:0;transform:translateY(-6px)}}
.dev{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 0}
.dev-ic{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--c) 15%,transparent);color:var(--c)}
.dev-ic .ic{width:19px;height:19px}
.dev-t{display:flex;flex-direction:column;min-width:0;font-size:15px}
.dev-t b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dev-t .muted{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.step{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:980px}
.step button{width:36px;height:36px;border:0;border-radius:50%;background:none;font-size:18px;cursor:pointer;color:var(--ink)}.step button:hover{background:var(--bg2)}
.step span{min-width:20px;text-align:center;font-weight:600;font-size:15px}
.empty{margin:4px 0 8px;font-size:14px;color:var(--muted)}
.picker{margin-top:10px;padding:4px 14px 14px;border-radius:var(--r-sm);background:var(--bg2)}
.pick-cat{margin:12px 0 6px;font-size:12px;font-weight:600;color:var(--muted)}
.pick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.pick{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border:1px solid transparent;border-radius:10px;background:var(--card);font-size:12.5px;line-height:1.2;text-align:center;cursor:pointer;transition:border-color .15s,transform .1s}
.pick:hover{border-color:var(--muted)}.pick:active{transform:scale(.96)}
.pick .dev-art,.pick .dev-art .art{width:40px;height:40px}
.room-foot{display:flex;align-items:flex-end;gap:10px;margin-top:14px}
.rn{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted)}
.rn .input{min-height:40px;padding:8px 12px;font-size:15px}
.add-room{margin-top:22px}.small-h{font-size:13px;font-weight:600;color:var(--muted);margin:0 0 10px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid var(--line);background:var(--card);border-radius:980px;padding:8px 14px;font-size:14px;cursor:pointer;min-height:36px}.chip:hover{border-color:var(--muted)}
.custom-room{display:flex;gap:8px;margin-top:12px}.custom-room .input{min-width:0;min-height:40px;font-size:15px;padding:8px 12px}

.check{display:flex;gap:14px;align-items:flex-start;padding:16px 0 4px;font-size:15px;cursor:pointer}
.check>span{display:flex;flex-direction:column;gap:2px}.check b{font-weight:600}.check .muted{font-size:14px}
.check input{width:20px;height:20px;margin-top:2px;accent-color:var(--blue);flex:none}
.concession-type{margin:12px 0 0 34px}
.print-note{display:flex;gap:14px;align-items:flex-start;margin-top:22px;padding:16px;border-radius:var(--r-sm);background:var(--bg2);font-size:14px;line-height:1.45}
.print-note p{margin:0}
.print-ic{width:34px;height:34px;flex:none;fill:none;stroke:var(--orange);stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round}
.small-link{font-weight:600;white-space:nowrap}

.sum-title{text-align:center}
.tot{margin-top:18px}
.tr{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:9px 0}
.tr span{font-size:16px;font-weight:600;display:flex;flex-direction:column}
.tr small{font-size:14px;font-weight:400;color:var(--ink2);margin-top:2px;line-height:1.35}
.tr b{font-size:16px;font-weight:600;white-space:nowrap}
.tr.save b{color:var(--green)}
.tr.big{margin-top:6px;padding-top:16px;border-top:1px solid var(--line2)}
.tr.big span,.tr.big b{font-size:22px;font-weight:700;letter-spacing:-.02em}
.tr.due{margin:8px 0 0;padding:14px 16px;border-radius:var(--r-sm);background:var(--bg2);box-shadow:inset 3px 0 0 var(--orange)}
.sum details{border-top:1px solid var(--line2)}
.sum details:first-of-type{margin-top:18px}
.sum summary{display:flex;justify-content:space-between;gap:12px;padding:14px 0;cursor:pointer;font-weight:600;font-size:15px;list-style:none}
.sum summary::-webkit-details-marker{display:none}
.sum summary span:first-child::after{content:"";display:inline-block;width:7px;height:7px;margin:0 0 3px 10px;border-right:1.6px solid var(--muted);border-bottom:1.6px solid var(--muted);transform:rotate(45deg);transition:transform .2s}
.sum details[open] summary span:first-child::after{transform:rotate(225deg);margin-bottom:-1px}
.lines{list-style:none;margin:0 0 12px;padding:0;font-size:14px}
.lines li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:7px 0;border-bottom:1px solid var(--line2)}
.lines li:last-child{border-bottom:0}
.lines small{display:block;color:var(--ink2);font-size:13px;margin-top:2px}
.fine-list{list-style:none;margin:18px 0 0;padding:16px 18px;border-radius:var(--r-sm);background:var(--bg2);font-size:15px;color:var(--ink);line-height:1.5}
.fine-list li{margin:0 0 6px}.fine-list li:last-child{margin:0}

.qs-send form{margin-top:4px}
.notes{margin-top:12px}
.form-err{color:#d70015;font-size:14px;min-height:1px;margin:10px 0 0}
.btn.wide{width:100%;margin-top:10px;border-radius:var(--r-sm)}
.fine{font-size:13.5px;margin:14px 0 0;color:var(--muted);text-align:center}
.send-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.sent{margin-top:20px;padding:28px 24px;border-radius:var(--r);background:var(--bg2);outline:none;text-align:center}
.sent .send-row{justify-content:center}
.sent p{color:var(--ink2);font-size:15px}
.sent-h{font-size:22px;font-weight:700;letter-spacing:-.02em;margin:8px 0 0}
.sent-ok{width:52px;height:52px;margin:0 auto;fill:none;stroke:var(--green);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}

/* ---------- the bar ---------- */
.qbar{position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--bg);border-top:1px solid var(--line2);box-shadow:0 -8px 24px rgba(0,0,0,.05)}
.qbar-in{max-width:1600px;height:var(--bar);margin:0 auto;display:flex;align-items:center;gap:24px;padding:0 clamp(16px,3vw,56px);box-sizing:content-box;padding-bottom:env(safe-area-inset-bottom)}
.qbar-l{display:flex;flex-direction:column;margin-right:auto;min-width:0}
.qbar-k{font-weight:600;font-size:17px;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qbar-sub{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qbar-total{border:0;background:none;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;color:var(--ink);padding:4px 10px;border-radius:10px;flex:none}
.qbar-total:hover{background:var(--bg2)}
.qbar-p{font-size:24px;font-weight:700;letter-spacing:-.03em;line-height:1.1}
.qbar-s{display:flex;align-items:center;gap:3px;font-size:13px;font-weight:500;color:var(--ink2)}
.qbar-s svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.qbar .btn{min-width:180px;border-radius:var(--r-sm);flex:none}

/* the price change chip: floats up from the total on every change */
.qbar-total{position:relative}
.delta{position:absolute;right:calc(100% + 8px);top:50%;margin-top:-15px;padding:5px 11px;border-radius:980px;font-size:14px;font-weight:700;white-space:nowrap;color:#fff;background:var(--ink);opacity:0;pointer-events:none}
.delta.up{background:var(--orange-ink)}.delta.down{background:var(--green)}
.delta.go{animation:dlt 1.8s var(--ease) both}
@keyframes dlt{0%{opacity:0;transform:translateY(10px) scale(.9)}10%{opacity:1;transform:none}80%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-10px)}}

@media (max-width:1100px){ .qb{grid-template-columns:minmax(0,1fr) 380px} .qb-panel{padding:8px 24px 40px} }
@media (max-width:900px){
  /* one column: title and home picker first, then the big view, then the choices */
  .qb{display:flex;flex-direction:column;--bar:68px}
  .qb-panel{display:contents}
  .qs{order:2;margin:0 var(--gut)}
  .qs-hero{order:0;padding:28px 0 4px;border-bottom:0}
  .qb-stage{order:1;background:none}
  .qs-send{padding-bottom:calc(var(--bar) + 40px)}
  .stage-inner{position:relative;top:0;height:auto;min-height:0;padding:16px var(--gut) 0}
  .hero{flex:none;height:min(118vw,540px);padding:16px 16px 12px}
  .qb{padding-bottom:calc(var(--bar) + 16px)}
  .q-title{font-size:36px}
  .specs{margin-top:22px}
  .qbar-in{gap:12px}
  .qbar-sub{display:none}.qbar-k{font-size:15px}
  .qbar-p{font-size:22px}
  .qbar-s{font-size:15px}
  .qbar .btn{min-width:0;min-height:46px;padding:10px 20px;font-size:16px}
}
@media (max-width:600px){
  /* the plan runs edge to edge, like a product shot */
  .qb{--bar:62px}
  .stage-inner{padding:12px 0 0}
  .hero{height:min(112vw,470px);border-radius:0;box-shadow:0 -1px 0 var(--line2),0 1px 0 var(--line2);padding:14px 16px 12px}
  .rl{font-size:12px;padding:3px 9px}
  .brands{left:12px;bottom:58px;max-width:58%;padding:10px 12px}
  .brands li{font-size:13px}
  .chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .chip{min-height:44px;text-align:left;padding:8px 14px}
  .custom-room .input{min-height:44px;font-size:16px}
  .custom-room .btn{min-width:76px;min-height:44px}
  .hero-h{font-size:24px}
  .hero-sub{font-size:15px}
  /* the room chips scroll on their own; no arrows squeezed against the edges */
  .strip-arr{display:none}
  .strip{margin:-3px -16px;padding:3px 48px 3px 16px;scroll-padding:0 16px}
  .th{padding:6px 30px 6px 12px;min-height:44px}
  .qs{padding:32px 0 30px}
  .print-note{font-size:15px}
  .pick{font-size:13.5px}
  .opt-x{font-size:15px;line-height:1.5}
  .room-m{font-size:15px;color:var(--ink2)}
  .check .muted{font-size:15px;color:var(--ink2)}
  .incl-head{padding:16px 16px 0}.incl-tabs{margin:10px 16px 0;max-width:calc(100% - 32px)}.incl-v{padding:16px}
  .incl-v[data-iv="2"] figcaption{padding:0 16px 18px}
}
@media (max-width:480px){
  .specs dd{font-size:28px}
  .row2{grid-template-columns:1fr}
  .qbar-k{display:none}
  .qbar-l{margin-right:0}
  .qbar-total{margin-right:auto;padding-left:0}
  .delta{right:auto;left:calc(100% + 6px)}
  /* four equal cells in one row, each one line: "home" drops off the two-word names */
  .tabs{grid-auto-flow:column;grid-auto-columns:1fr}
  .tab{font-size:14px;min-height:44px;padding:4px 2px}
  .tab .tw{display:none}
  .qbar-total{padding:4px 8px 4px 0}
  .qbar-s{font-size:14px;margin-top:2px}
}
@media (prefers-reduced-motion:reduce){
  .th,.hero,.qb-stage,.world,.rg,.pd,.rl,.pd-l{transition:none}
  .pd.in .pd-a,.pd.swap .pd-a,.pd.tick .pd-a,.hero-head.enter,.core-view,.room-b{animation:none}
  .changed{animation:flashr .9s steps(1) both}
  @keyframes flashr{0%{background:color-mix(in srgb,var(--orange) 30%,transparent)}100%{background:transparent}}
  .delta.go{animation:dltr 1.8s steps(1) both}
  @keyframes dltr{0%{opacity:1}100%{opacity:0}}
}
/* dark mode: darker range tints behind the big view */
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .qb-stage{--tint:#2a2520} :root:not([data-theme="light"]) .qb-stage[data-range="Premium"]{--tint:#24242e} :root:not([data-theme="light"]) .qb-stage[data-range="Value"]{--tint:#2a271e} }
:root[data-theme="dark"] .qb-stage{--tint:#2a2520}
:root[data-theme="dark"] .qb-stage[data-range="Premium"]{--tint:#24242e}
:root[data-theme="dark"] .qb-stage[data-range="Value"]{--tint:#2a271e}
/* short desktop windows: a tighter head and one-line room chips, so the model keeps most of the card */
@media (min-width:901px) and (max-height:700px){
  .hero{padding-top:12px}
  .hero-eye{display:none}
  .hero-h{margin:0;font-size:26px}
  .hero-sub{margin-top:2px;font-size:14px}
  .hero-btn{min-height:26px;padding:2px 10px;font-size:13px}
  .th{padding:6px 28px 6px 12px}
  .th{max-width:260px}
  .th-t{flex-direction:row;align-items:baseline;gap:8px}
  .th-ck{top:50%;margin-top:-9px}
  .strip-arr{width:32px;height:32px}
}
