/* Bath planner additions on top of the tile calculator's app.css (loaded first) and layout.css (generated). */
.bp-card{width:118px}
.bp-card img{height:84px;object-fit:contain;background:#fff}
.bp-items{display:grid;gap:8px;width:100%}
.bp-item-name{font-weight:700;font-size:14px;margin-right:auto;text-align:left}
.bp-part{height:28px;padding:0 10px;border-radius:999px;font-size:12.5px;background:#fff;border:1px solid var(--bone-400,#d9d2c5)}
.bp-part.is-set{border-color:var(--green-700,#1f4b3a);color:var(--green-700,#1f4b3a)}
.bp-part.is-on{background:var(--green-700,#1f4b3a);color:#fff;border-color:transparent}
.bp-msg{display:inline-block;margin:2px 8px 2px 0;font-size:13px}
.bp-msg.is-error{color:#b3261e}
.bp-msg.is-warn{color:#8a5a00}
.bp-msgs{margin:8px 0}
/* Furniture on the plan */
.fp .bp-fp{fill:rgba(31,75,58,.18);stroke:#1f4b3a;stroke-width:1.5;cursor:grab}
.fp .bp-fp.is-high{fill:rgba(31,75,58,.06);stroke-width:1}
.fp .bp-fp.is-sel{stroke:#cf6a3d;stroke-width:2.5;fill:rgba(207,106,61,.18)}
.fp .bp-fp.is-bad{stroke:#b3261e;fill:rgba(179,38,30,.15)}
.fp .bp-fp-t{font:700 11px/1 var(--font-sans,sans-serif);fill:#1f4b3a;text-anchor:middle;pointer-events:none}
/* Front view */
.bp-front{position:relative;width:100%;height:100%;min-height:360px;background:#fff;border-radius:var(--radius-md,14px)}
.bp-elev{display:block;width:100%;height:100%}
.bp-elev-wall{fill:#f3f0ea;stroke:#0f2a22;stroke-width:2}
.bp-elev-open{fill:#fff;stroke:#9aa39d;stroke-dasharray:5 4}
.bp-elev-box{fill:rgba(31,75,58,.12);stroke:#1f4b3a;stroke-width:1.2}
.bp-elev-box.has-img{fill:none;stroke:rgba(15,42,34,.35)}
.bp-dim{stroke:#0f2a22;stroke-width:1}
.bp-dim-t{font:600 11px/1 var(--font-mono,monospace);fill:#0f2a22;text-anchor:middle}
.bp-dim-t.l{text-anchor:start}
.bp-lines{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:10px}
.bp-lines li{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;font-size:14px;line-height:1.35}
.bp-lines img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:8px}
.bp-lines a{color:inherit;text-decoration:none}
.bp-lines a:hover{text-decoration:underline}
.bp-lines b{white-space:nowrap}
#nhbp[data-step="1"] #bp-front-btn{display:none}
.ws-current .bp-next-part{margin-left:12px;vertical-align:middle}
#bp-slot-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px 0}
.bp-elev-item{cursor:grab;touch-action:none}
.bp-front{touch-action:pan-y}
/* Desktop: plan and 3D keep one height in steps 1 and 2 (owner 2026-11-07). The tile layout gives the workspace a
   fixed height, so every furniture row added in step 2 took height from the views; here the views get the step-1
   height (workspace − top bar − step-1 dock) and the workspace grows below them instead. */
@media (min-width:1000px){
#nhbp:not([data-step="3"]) .ws{height:auto}
#nhbp:not([data-step="3"]) .ws-stage{flex:none;height:clamp(300px,calc(100vh - 417px),780px)}
}
@media (min-width:1000px) and (max-height:800px){
#nhbp:not([data-step="3"]) .ws-stage{height:clamp(300px,calc(100vh - 379px),780px)}
}

/* Arrow buttons for mirrors and a countertop basin in the item toolbar (2026-11-08). */
#nhbp .bp-nudge{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;margin-top:6px}
#nhbp .bp-nudge>.tc-fine{flex:1 1 auto;min-width:0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#nhbp .bp-nudge>.tc-btn{flex:0 0 auto;min-width:34px;min-height:32px;padding:2px 8px;line-height:1}
/* Mouse users drag (owner 2026-11-08: "not needed, I am dragging with mouse"); the arrows are for touch screens only. */
@media (hover: hover) and (pointer: fine) { #nhbp .bp-nudge { display: none } }

/* Colour groups (2026-11-08): one card per model with its colours as swatches; the same swatches switch a placed piece. */
#nhbp .bp-cardbox{flex:none;width:118px;display:grid;gap:5px;align-content:start}
#nhbp .bp-cardbox>.bp-card{width:100%}
#nhbp .bp-sw{display:flex;flex-wrap:wrap;gap:5px;padding:0 1px}
#nhbp .bp-swatch{width:20px;height:20px;padding:0;border-radius:50%;border:1px solid rgba(29,38,33,.22);background-size:600%;background-position:50% 50%;cursor:pointer;flex:none}
#nhbp .bp-swatch:hover{border-color:var(--green-700,#1f4a3a)}
#nhbp .bp-swatch.is-on{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--terra-500,#c8553d);border-color:transparent}
#nhbp .bp-swatch.is-out{opacity:.4}
#nhbp .bp-swatch:focus-visible{outline:2px solid var(--green-700,#1f4a3a);outline-offset:2px}
#nhbp .bp-colours{display:grid;gap:5px;margin-top:8px}
#nhbp .bp-colours>.tc-fine{margin:0}
@media (max-width:820px){#nhbp .bp-cardbox{width:96px}#nhbp .bp-swatch{width:22px;height:22px}}

/* Full screen (2026-11-08): the planner as a fixed layer over the page (also inside the browser's own full screen). */
#nhbp .bp-full-off,#nhbp.is-full .bp-full-on{display:none}
#nhbp.is-full .bp-full-off{display:block}
#nhbp.is-full{position:fixed;inset:0;z-index:2147480000;overflow:auto;overscroll-behavior:contain;background:var(--bone-100,#f3efe8);
  padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
#nhbp.is-full .tc-wrap{max-width:none;width:100%;margin:0;padding:0}
#nhbp.is-full .tc-hero{display:none}
html.nhbp-full,html.nhbp-full body{overflow:hidden}
html.nhbp-full #ngb-chat-widget{display:none}
@media (min-width:1000px){#nhbp.is-full:not([data-step="3"]) .ws-stage{height:max(300px,calc(100vh - 300px))}}

/* Free space in front of a washbasin, shower or bath on the plan (2026-11-08): light, red with the measure when short. */
#nhbp .bp-zone{fill:rgba(31,74,58,.06);stroke:rgba(31,74,58,.28);stroke-width:1;stroke-dasharray:4 3;pointer-events:none}
#nhbp .bp-zone.is-short{fill:rgba(200,85,61,.13);stroke:#c8553d}
#nhbp .bp-mdim{stroke:#1f3d34;stroke-width:1.5;pointer-events:none}
#nhbp .bp-mdim-t{font:700 11px var(--font-sans,system-ui,sans-serif);fill:#1f3d34;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round;pointer-events:none}
#nhbp .bp-zone-t{font:600 11px var(--font-sans,system-ui,sans-serif);fill:#a8432e;text-anchor:middle;pointer-events:none}
/* ---------- v0.4.0: pieces ---------- */
/* The list under the view: one row per piece (thumbnail, kind + name, price, Vaheta, ×), open spots as "+" chips. */
#nhbp .bp-set{display:grid;gap:6px;padding:8px 10px 10px;border-radius:var(--radius-sm);background:var(--bone-100,#f7f3ec)}
#nhbp .bp-set.is-whole{box-shadow:0 0 0 2px var(--terra-500,#c8553d) inset}
#nhbp .bp-set-head{display:flex;align-items:center;gap:8px;min-height:32px}
#nhbp .bp-set-head .bp-complete{min-height:30px;padding:2px 12px}
#nhbp .bp-rows{display:grid;gap:6px;grid-template-columns:repeat(auto-fill,minmax(310px,1fr))}
#nhbp .bp-rows:empty{display:none}
#nhbp .bp-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:8px;padding:5px 4px 5px 5px;border-radius:10px;background:#fff}
#nhbp .bp-row.is-on{box-shadow:0 0 0 2px var(--terra-500,#c8553d)}
#nhbp .bp-row-main{display:grid;grid-template-columns:40px minmax(0,1fr);gap:9px;align-items:center;text-align:left;min-width:0}
#nhbp .bp-row-main img{width:40px;height:40px;object-fit:contain;border-radius:6px;background:#fff}
#nhbp .bp-row-main small{display:block;font-size:11.5px;line-height:1.3;color:var(--ink-500)}
#nhbp .bp-row-main b{display:block;font-size:13px;line-height:1.3;font-weight:600;color:var(--ink-900);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#nhbp .bp-row-main:hover b{color:var(--green-700,#1f4a3a)}
#nhbp .bp-row-price{font-size:13px;font-weight:700;white-space:nowrap}
#nhbp .bp-row .bp-part{border:0;background:var(--bone-100,#f3efe8);font-weight:600;height:30px}
#nhbp .bp-row .bp-part:hover{background:var(--green-50,#e8f0ec)}
#nhbp .bp-adds{display:flex;flex-wrap:wrap;gap:6px}
#nhbp .bp-addchip{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 13px 0 7px;border-radius:999px;background:#fff;font-size:13px;font-weight:600;color:var(--green-900,#0f2a22)}
#nhbp .bp-addchip i,#nhbp .bp-hot i{font-style:normal;flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:17px;line-height:1;font-weight:700;background:var(--green-800,#173d30);color:#fff}
#nhbp .bp-addchip:hover{background:var(--green-50,#e8f0ec)}
#nhbp .bp-addchip.is-next,#nhbp .bp-addchip.is-on{background:var(--terra-500,#c8553d);color:#fff}
#nhbp .bp-addchip.is-next i,#nhbp .bp-addchip.is-on i{background:#fff;color:var(--terra-500,#c8553d)}
/* While products are being chosen the strip stands right under the view, the list below it; otherwise only the list. */
#nhbp[data-step="2"] #bp-furn>.ws-row:first-child,#nhbp[data-step="2"] #bp-items{order:3}
#nhbp[data-step="2"] #bp-checks{order:4}
#nhbp[data-slot=""] .tv-strip{display:none}
#nhbp[data-slot=""] #bp-slot-title:empty{display:none}
#nhbp #bp-slot-title>span:first-child{margin-right:12px}
#nhbp #bp-slot-title .bp-next-part{margin:0 8px 0 0}
#nhbp:not([data-slot=""]) #bp-slot-title{font-size:15px;font-weight:700;color:var(--green-900,#0f2a22)}
#nhbp:not([data-slot=""]) #bp-slot-title>span:first-child{color:inherit}

/* The piece card: kind, name, price, colours; Vaheta · Loo duplikaat · open (doors) · trash (owner 2026-11-17). */
#nhbp .bp-piece{width:316px;gap:9px;overflow:auto;overscroll-behavior:contain}
#nhbp .bp-piece .bp-kind{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--terra-600,#a8432e)}
#nhbp .bp-pc-prod{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center}
#nhbp .bp-pc-prod img{width:52px;height:52px;object-fit:contain;border-radius:8px;background:#fff}
#nhbp .bp-pc-prod b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px;line-height:1.3;color:var(--green-900,#0f2a22)}
#nhbp .bp-pc-price{display:block;margin-top:2px;font-size:14px;font-weight:700}
#nhbp .bp-piece .bp-colours{margin-top:0}
#nhbp .bp-pc-acts{display:flex;flex-wrap:wrap;gap:6px}
#nhbp .bp-pc-acts .tc-btn{flex:1 1 auto}
#nhbp .bp-pc-acts .tc-btn.is-on{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--terra-500,#c8553d)}
#nhbp .bp-pc-main{flex-wrap:nowrap;gap:5px}
#nhbp .bp-pc-main .tc-btn{min-width:0;padding-left:10px;padding-right:10px}
#nhbp .bp-pc-main .tc-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
#nhbp .bp-pc-main .tc-btn svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#nhbp .bp-pc-main .bp-ico{flex:0 0 36px;width:36px;padding:0}
#nhbp .bp-pc-main .bp-bin:hover{color:var(--terra-600,#a8432e)}
#nhbp .bp-pc-main .bp-ico.is-on{background:var(--green-50,#eef4f1)}
#nhbp .bp-tip{margin:0}
body:has(#bp-card:not([hidden])) #ngb-chat-widget{display:none}
@media (max-width:999px){
#nhbp .bp-piece{width:auto;max-height:44vh;padding:8px 12px 10px;gap:7px;box-shadow:0 -6px 30px -8px rgba(15,42,34,.45)}
#nhbp .bp-piece .pop-head{margin-bottom:-4px}
#nhbp .bp-pc-prod{grid-template-columns:44px minmax(0,1fr)}
#nhbp .bp-pc-prod img{width:44px;height:44px}
#nhbp .bp-pc-acts .tc-btn{min-height:40px}
#nhbp .bp-pc-main .bp-ico{flex-basis:40px;width:40px}
#nhbp .bp-rows{grid-template-columns:minmax(0,1fr)}
#nhbp .bp-row{gap:6px}
#nhbp .bp-row .bp-part{padding:0 9px}
#nhbp .bp-row-main b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
}

/* "+" hotspots over the 3D view: HTML badges on projected room points, with a leader line to the place. */
#nhbp .bp-meas{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden}
#nhbp .bp-meas-t{position:absolute;left:0;top:0;padding:3px 8px;border-radius:999px;background:#1f3d34;color:#fff;font:700 12px/1.2 var(--font-sans,system-ui,sans-serif);white-space:nowrap;box-shadow:0 1px 3px rgba(0,0,0,.25)}
#nhbp .bp-rim-t{position:absolute;left:0;top:0;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.92);color:#1f3d34;border:1px solid rgba(31,61,52,.35);font:600 11.5px/1.2 var(--font-sans,system-ui,sans-serif);white-space:nowrap}
#nhbp .bp-rim-key{position:absolute;left:12px;top:12px;max-width:calc(100% - 84px);display:flex;flex-direction:column;gap:3px;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.94);box-shadow:0 1px 4px rgba(0,0,0,.15);font:600 12px/1.3 var(--font-sans,system-ui,sans-serif);color:#1f3d34}
#nhbp .bp-rim-key span{padding:1px 6px;border-radius:6px}
#nhbp .bp-rim-key span.is-on{background:#c8553d;color:#fff}
@media (max-width:519px){#nhbp .bp-rim-key{font-size:11px;padding:4px;left:8px;top:8px}#nhbp .bp-rim-key span:not(.is-on){display:none}#nhbp .bp-rim-key:not(:has(.is-on)){display:none}}
#nhbp .bp-rim-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
#nhbp .bp-rim-lines line{stroke:rgba(31,61,52,.5);stroke-width:1}
#nhbp .bp-rim-lines line.is-on{stroke:#c8553d;stroke-width:1.5}
#nhbp .bp-rim-t.is-on{background:#c8553d;border-color:#c8553d;color:#fff;font-weight:700}
#nhbp .bp-hots{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}
#nhbp .bp-hots{transition:opacity .15s}
#nhbp.is-dragging .bp-hots{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}
#nhbp .bp-hot-lines{position:absolute;inset:0;width:100%;height:100%}
#nhbp .bp-hot-lines line{stroke:#fff;stroke-width:2;filter:drop-shadow(0 0 1.5px rgba(15,42,34,.7))}
#nhbp .bp-hot-lines circle{fill:var(--terra-500,#c8553d);stroke:#fff;stroke-width:1.5}
#nhbp .bp-hot{position:absolute;left:0;top:0;pointer-events:auto;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 14px 0 9px;border-radius:999px;
  background:rgba(255,255,255,.96);color:var(--green-900,#0f2a22);font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 4px 14px -4px rgba(15,42,34,.45);cursor:pointer}
#nhbp .bp-hot[hidden]{display:none}
#nhbp .bp-hot:hover{background:var(--green-50,#e8f0ec)}
#nhbp .bp-hot.is-next,#nhbp .bp-hot.is-on{background:var(--terra-500,#c8553d);color:#fff}
#nhbp .bp-hot.is-next i,#nhbp .bp-hot.is-on i{background:#fff;color:var(--terra-500,#c8553d)}
#nhbp .bp-hot.is-next::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 0 rgba(200,85,61,.55);animation:bp-pulse 1.8s ease-out infinite;pointer-events:none}
@keyframes bp-pulse{0%{box-shadow:0 0 0 0 rgba(200,85,61,.55)}70%,100%{box-shadow:0 0 0 14px rgba(200,85,61,0)}}
@media (prefers-reduced-motion:reduce){#nhbp .bp-hot.is-next::after{animation:none;box-shadow:0 0 0 4px rgba(200,85,61,.3)}}
/* Small views (phones): tighter badges, still 40 px to tap. */
@media (max-width:640px){
#nhbp .bp-hot{font-size:12px;gap:5px;padding:0 10px 0 6px}
#nhbp .bp-hot i{width:20px;height:20px;font-size:15px}
}
#nhbp[data-step="3"] .r3[data-over="wall"],#nhbp[data-step="3"] .r3[data-over="floor"]{cursor:grab}
#nhbp .r3[data-over="item"]{cursor:pointer}

/* Accessory cards (click-clack drain, siphon) and the two-way basin choice in the product strip. */
#nhbp .bp-accbox,#nhbp .bp-waybox{width:168px}
#nhbp .bp-accbox .bp-card b{-webkit-line-clamp:3}
#nhbp .bp-fitline{color:var(--green-700,#1f4a3a)!important;font-weight:600}
#nhbp .bp-addpill{justify-self:start;margin-top:3px;padding:5px 14px;border-radius:999px;background:var(--terra-500,#c8553d);color:#fff;font-size:12.5px;font-weight:700}
#nhbp .bp-card.is-on .bp-addpill{background:var(--green-50,#e8f0ec);color:var(--green-900,#0f2a22)}
#nhbp .bp-waybox{width:210px}
#nhbp .bp-way{padding:8px;background:var(--bone-100,#f3efe8)}
#nhbp .bp-way b{font-size:14px;-webkit-line-clamp:3}
#nhbp .bp-way small{font-size:12px}
#nhbp .bp-way:hover{background:var(--green-50,#e8f0ec)}
#nhbp .bp-edit{margin-left:6px;font-size:12.5px}

/* Series pieces ("+ Kõrge kapp" …, owner 2026-11-17): quieter than the set's own spots, which lead the way. */
.bp-hot.is-series{opacity:.82;transform-origin:center;font-size:12.5px}
.bp-hot.is-series:hover,.bp-hot.is-series.is-on{opacity:1}
/* Owner 2026-11-17: series extras smaller than missing basics; other sets' spots are dots (label on hover/focus). */
#nhbp .bp-hot.is-series{min-height:32px;font-size:12px;padding:0 11px 0 6px;gap:5px}
#nhbp .bp-hot.is-series i{width:18px;height:18px;font-size:14px}
#nhbp .bp-hot.is-dot{min-height:28px;padding:3px;gap:0;opacity:.85}
#nhbp .bp-hot.is-dot i{width:20px;height:20px;font-size:15px}
#nhbp .bp-hot.is-dot span{display:none}
#nhbp .bp-hot.is-dot:hover,#nhbp .bp-hot.is-dot:focus-visible{padding:0 11px 0 4px;gap:5px;opacity:1;z-index:2}
#nhbp .bp-hot.is-dot:hover span,#nhbp .bp-hot.is-dot:focus-visible span{display:inline}
#nhbp .bp-hotsw{display:inline-flex;align-items:center;gap:4px;min-width:36px;justify-content:center}
#nhbp .bp-hotsw b{font-weight:inherit;white-space:nowrap}
#nhbp .bp-hotsw .bp-hotsw-s{display:none}
@media (max-width:999px){#nhbp .bp-hotsw .bp-hotsw-l{display:none}#nhbp .bp-hotsw .bp-hotsw-s{display:inline}#nhbp .bp-hotsw[aria-pressed="false"] .bp-hotsw-s{opacity:.5;text-decoration:line-through}}
#nhbp .bp-hotsw span{font-size:11px;font-weight:700;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--terra-500,#c8553d);color:#fff;display:inline-grid;place-items:center}
#nhbp .bp-hotsw[hidden]{display:none}
#nhbp .bp-skips{display:flex;flex-wrap:wrap;gap:4px 12px;padding:4px 2px 0;font-size:12.5px;color:var(--ink-500,#5d6b66)}
#nhbp .bp-skipchip .tc-link{font-size:12.5px}

/* "Add to the room" tiles: a darkened room photo with the word on it, as the shop's subcategory cards (owner 2026-11-17). */
#nhbp .bp-addtiles{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;width:100%}
#nhbp .bp-addtile{position:relative;overflow:hidden;display:flex;align-items:flex-end;height:68px;padding:7px 10px;border:0;border-radius:10px;background:var(--ink-700,#2b3a35);color:#fff;font:inherit;font-size:13.5px;font-weight:700;letter-spacing:-.01em;line-height:1.2;text-align:left;cursor:pointer;transition:transform .18s,box-shadow .18s}
#nhbp .bp-addimg{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.68) saturate(1.1);transition:filter .25s}
#nhbp .bp-addtile span{position:relative;text-shadow:0 1px 2px rgba(0,0,0,.5);overflow-wrap:anywhere}
#nhbp .bp-addtile:hover{transform:translateY(-1px);box-shadow:0 6px 16px -6px rgba(15,42,34,.45)}
#nhbp .bp-addtile:hover .bp-addimg{filter:brightness(.85) saturate(1.15)}
#nhbp .bp-addtile:focus-visible{outline:2px solid var(--terra-500,#c8553d);outline-offset:2px}
@media (max-width:999px){#nhbp .bp-addtiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}#nhbp .bp-addtile{height:54px;font-size:11px;letter-spacing:-.02em;padding:5px 6px}#nhbp .bp-addtile span{overflow-wrap:normal}}

/* Width "from–to" filter in the strip's filter bar (owner 2026-11-17: like the shop's range filters). */
#nhbp .bp-range{display:grid;gap:7px;min-width:205px;max-width:280px;flex:1 1 220px;padding:2px 2px 6px}
#nhbp .bp-range-row{display:flex;align-items:center;gap:5px;font-size:13px;white-space:nowrap}
#nhbp .bp-range-row b{font-weight:600;margin-right:3px}
#nhbp .bp-range-row small{color:var(--ink-500,#5d6b66);font-size:12px;margin-left:4px}
#nhbp .bp-rf input{width:54px;height:30px;padding:0 6px;border:1px solid var(--bone-400,#cfc8ba);border-radius:7px;background:#fff;font:inherit;font-size:13px;font-variant-numeric:tabular-nums;text-align:right;-moz-appearance:textfield}
#nhbp .bp-rf input::-webkit-inner-spin-button,#nhbp .bp-rf input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#nhbp .bp-rf input:focus{outline:2px solid var(--green-700,#1f4d3d);outline-offset:0;border-color:transparent}
#nhbp .bp-rf-u{color:var(--ink-500,#5d6b66);font-size:12px}
#nhbp .bp-range-x{font-size:12px;margin-left:auto}
#nhbp .bp-range-track{position:relative;height:4px;margin:6px 8px;background:var(--bone-300,#e4ded3);border-radius:999px;touch-action:none;cursor:pointer}
#nhbp .bp-range-track::before{content:"";position:absolute;inset:-10px 0}
#nhbp .bp-range-fill{position:absolute;top:0;bottom:0;background:var(--green-800,#173d30);border-radius:999px}
#nhbp .bp-range-h{position:absolute;top:50%;width:18px;height:18px;transform:translate(-50%,-50%);background:#fff;border:2px solid var(--green-800,#173d30);border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.15);cursor:grab;touch-action:none}
#nhbp .bp-range-h:focus-visible{outline:2px solid var(--terra-500,#c8553d);outline-offset:2px}
#nhbp .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:999px){#nhbp .bp-range{min-width:0;max-width:none;flex-basis:100%}#nhbp .bp-range-h{width:22px;height:22px}}

#nhbp .bp-moreinfo{display:inline-block;margin-top:4px;font-size:11.5px;line-height:1.3;color:var(--green-800,#173d30);text-decoration:underline;text-underline-offset:2px}
#nhbp .bp-moreinfo:hover{color:var(--terra-600,#a8432e)}
#nhbp .bp-cardbox .bp-moreinfo{padding:0 4px}
#nhbp .bp-pc-prod .bp-moreinfo{display:block}

/* Colour filter with circles (owner 2026-11-17). */
#nhbp .bp-cdrop{position:relative}
#nhbp .bp-cdrop-btn{display:inline-flex;align-items:center;gap:6px;max-width:220px;padding:0 8px;cursor:pointer;font:inherit;font-size:13px}
#nhbp .bp-cdrop-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#nhbp .bp-cdrop-btn b{font-weight:400;font-size:11px;margin-left:2px;color:var(--ink-500,#5d6b66)}
#nhbp .bp-cdot{flex:none;width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)}
#nhbp .bp-cdot.is-all{background:conic-gradient(#d9c7a5,#8c6a48,#2b2b2b,#9aa3a0,#f4f2ee,#7f9a86,#d9c7a5)}
#nhbp .bp-cdrop-list{position:absolute;z-index:30;left:0;top:calc(100% + 4px);min-width:200px;max-height:300px;overflow:auto;padding:4px;background:#fff;border:1px solid var(--bone-400,#cfc8ba);border-radius:10px;box-shadow:0 10px 30px -10px rgba(15,42,34,.35)}
#nhbp .bp-cdrop-list[hidden]{display:none}
#nhbp .bp-copt{display:flex;align-items:center;gap:8px;width:100%;padding:7px 8px;border:0;border-radius:7px;background:none;font:inherit;font-size:13px;text-align:left;cursor:pointer;color:var(--ink-900,#1b2622)}
#nhbp .bp-copt span{flex:1}
#nhbp .bp-copt small{color:var(--ink-500,#5d6b66);font-size:12px}
#nhbp .bp-copt:hover,#nhbp .bp-copt:focus-visible{background:var(--green-50,#eef4f1);outline:0}
#nhbp .bp-copt.is-on{font-weight:700}

/* Filters in one row on desktop (owner 2026-11-23: the collection list dropped under the width filter): nothing wraps,
   the lists shrink instead. Below 1000 px every range keeps its own row. */
#nhbp .bp-fcount{color:var(--ink-500,#5d6b66);font-size:12px;white-space:nowrap;line-height:34px}
@media (min-width:1000px){
  #nhbp #bp-filters{flex-wrap:nowrap;align-items:flex-start;gap:6px 14px}
  #nhbp #bp-filters>.tv-select,#nhbp #bp-filters>.bp-cdrop{flex:0 1 auto;min-width:0}
  #nhbp #bp-filters>.tv-select{max-width:200px;text-overflow:ellipsis}
  #nhbp #bp-filters .bp-cdrop-btn{max-width:190px}
  #nhbp #bp-filters>.tc-check{flex:0 1 auto;min-width:0;line-height:1.25;padding-top:6px}
}
@media (max-width:999px){#nhbp .bp-fcount{flex-basis:100%;line-height:1.4}}

/* Room looks (Hele / Tume): two swatches under the zoom buttons. */
#nhbp .bp-looks{position:absolute;right:10px;top:98px;z-index:1;display:grid;gap:6px;padding:5px;border-radius:10px;background:rgba(255,255,255,.96);box-shadow:var(--shadow-sm,0 1px 3px rgba(0,0,0,.12))}
#nhbp .bp-looks button{width:28px;height:28px;padding:0;border-radius:50%;border:2px solid transparent;background:none;cursor:pointer;display:grid;place-items:center}
#nhbp .bp-looks button i{display:block;width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)}
#nhbp .bp-looks button.is-on{border-color:var(--green-800,#173d30)}
#nhbp .bp-looks button:focus-visible{outline:2px solid var(--terra-500,#c8553d);outline-offset:1px}

/* Two steps (owner 2026-11-23): the room is edited on the drawing card of the furniture step. layout.css (generated from
   the tile page) ties the drawing's handles to step 1; here they belong to step 2. */
#nhbp[data-step="2"] .fp-hit{cursor:grab}
#nhbp[data-step="2"] .fp-box,#nhbp[data-step="2"] .fp-angle,#nhbp[data-step="2"] .fp-chit{pointer-events:auto}
#nhbp[data-step="2"] .fp-node{display:inline}
/* The room's controls under the drawing, like the buttons on the 3D card. */
#nhbp .ws-plan{justify-content:flex-start}
#nhbp .ws-plan>.rm-canvas{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;justify-content:center}
#nhbp .bp-roombar{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 0 0;border-top:1px solid var(--bone-300,#e4ded3);font-size:13px}
#nhbp .bp-roombar>.ws-tools{display:contents} /* its children sit in the bar's own row */
#nhbp .bp-roombar #bp-panel{display:contents}
#nhbp .bp-roombar .tc-field{margin:0}
#nhbp .bp-roombar .tc-seg{flex:none}
#nhbp .bp-roombar .ws-more{order:0;margin-left:auto}
#nhbp .bp-roombar .ws-more-body{bottom:calc(100% + 8px)}
#nhbp .bp-roombar #bp-reuse{order:8;flex:1 1 100%;margin:0}
#nhbp .bp-roomask{order:9;flex:1 1 100%;margin:0;color:var(--terra-600,#a8432e);font-weight:600}
#nhbp .bp-roomask[hidden]{display:none}

/* "Start over" asks first (owner 2026-11-23). */
#nhbp .bp-confirm{position:fixed;inset:0;z-index:10001;display:grid;place-items:center;padding:16px;background:rgba(15,42,34,.45)}
#nhbp .bp-confirm[hidden]{display:none}
#nhbp .bp-confirm-card{max-width:420px;width:100%;padding:22px;border-radius:14px;background:#fff;box-shadow:0 20px 50px -12px rgba(15,42,34,.45)}
#nhbp .bp-confirm-card p{margin:0 0 18px;font-size:16px;line-height:1.4;font-weight:600;color:var(--green-900,#0f2a22)}
#nhbp .bp-confirm-btns{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}

/* In the way of a wall that was moved (owner 2026-11-23): a red filter that pulses, transparent / less transparent, for three seconds. */
.fp .bp-fp.is-blocked{stroke:#d2332b;stroke-width:2.5;fill:rgba(210,51,43,.5);animation:bp-blocked .7s ease-in-out infinite alternate}
@keyframes bp-blocked{from{fill:rgba(210,51,43,.12)}to{fill:rgba(210,51,43,.55)}}
@media (prefers-reduced-motion:reduce){.fp .bp-fp.is-blocked{animation:none}}

/* Offer form (0.8.7): paired fields, tighter rows; the opener button hides while the form is open */
#nhbp.is-offer #bp-offer-open{display:none}
#nhbp .sm-offer{gap:8px}
#nhbp .sm-offer .bp-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:0}
#nhbp .sm-offer .tc-field{gap:3px}
#nhbp .sm-offer .tc-num{height:36px}
#nhbp .sm-offer .sm-address{gap:8px}
/* 0.8.8: text fields show focus on their rounded box (.tc-num:focus-within), not as the square keyboard outline on the bare input */
#nhbp .tc-num input:focus-visible{outline:0}
/* 0.8.9: pickup / delivery as plain radio buttons */
#nhbp .sm-offer .bp-radios{display:grid;gap:6px;margin:2px 0}
#nhbp .sm-offer .bp-radios label{display:flex;align-items:flex-start;gap:8px;margin:0;cursor:pointer;font-size:14px;line-height:1.35;color:var(--ink-900)}
#nhbp .sm-offer .bp-radios input{flex:none;width:18px;height:18px;margin:0;accent-color:var(--green-800)}
/* 0.8.10: own radio look, so the dot is the site's green in every browser */
#nhbp .sm-offer .bp-radios input{-webkit-appearance:none;appearance:none;border:1.5px solid var(--bone-400);border-radius:50%;background:#fff;display:grid;place-content:center;cursor:pointer}
#nhbp .sm-offer .bp-radios input::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--green-800);transform:scale(0);transition:transform .12s}
#nhbp .sm-offer .bp-radios input:checked{border-color:var(--green-800)}
#nhbp .sm-offer .bp-radios input:checked::before{transform:scale(1)}

/* Share link (0.9.0, owner 2026-11-24): an icon beside undo / redo, the third choice on the Pakkumine step, a dialog with the link */
#nhbp .bp-sharebox h4{margin:0 0 8px;font-size:18px;font-weight:800;color:var(--green-900,#0f2a22)}
#nhbp .bp-sharebox .bp-share-p{margin:0 0 14px;font-size:14px;font-weight:400;color:var(--ink-700,#3c423c)}
#nhbp .bp-share-row{display:flex;gap:8px;margin:0 0 10px}
#nhbp .bp-share-row input{flex:1;min-width:0;height:42px;padding:0 12px;border:1px solid var(--bone-400,#cfc8b8);border-radius:10px;font-size:14px;background:var(--bone-100,#faf8f3);color:var(--ink-900,#1c1e1b)}
#nhbp .bp-share-row .tc-btn{flex:none;min-height:42px;white-space:nowrap}
#nhbp .bp-sharebox .tc-status{margin:0 0 10px;font-size:14px;font-weight:400}
#nhbp .bp-sharebox .tc-status.is-bad{font-weight:600}
#nhbp .bp-sharebox .tc-fine{margin:0 0 16px;font-size:12.5px;font-weight:400;line-height:1.45;color:var(--ink-500,#6b716a)}
@media (max-width:480px){#nhbp .bp-share-row{flex-direction:column}}
#nhbp:not([data-step="3"]) #bp-share-open{display:none}
#nhbp[data-step="3"] #bp-share-open{border-color:transparent;background:none;min-height:34px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
#nhbp[data-step="3"] #bp-share-open:disabled{text-decoration:none}
/* A line over the views when a shared plan was opened (0.9.2, owner: the site's plain white card, no coloured edge; a thin bar counts down to closing) */
#nhbp .bp-note{position:absolute;left:50%;top:10px;transform:translateX(-50%);z-index:7;margin:0;width:max-content;max-width:min(92%,660px);display:flex;gap:10px;align-items:flex-start;padding:9px 8px 11px 14px;overflow:hidden;background:#fff;border:1px solid var(--bone-300,#e4ddd0);border-radius:8px;box-shadow:var(--shadow-md,0 6px 22px -8px rgba(15,42,34,.35));font-size:13.5px;line-height:1.4;color:var(--ink-900,#1c1e1b)}
#nhbp .bp-note[hidden]{display:none}
#nhbp .bp-note button{flex:none;width:24px;height:24px;border-radius:6px;font-size:18px;line-height:1;color:var(--ink-500,#6b716a)}
#nhbp .bp-note button:hover{background:var(--bone-200,#efeadf)}
#nhbp .bp-note i{position:absolute;left:0;bottom:0;height:2px;width:100%;background:var(--bone-400,#cfc8b8);transform-origin:left}
#nhbp .bp-note.is-held i{animation-play-state:paused!important}
@keyframes bp-note-run{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media (prefers-reduced-motion:reduce){#nhbp .bp-note i{display:none}}

/* One view at a time on every screen (0.10.0, owner 2026-11-24: "I like the view where we just see 3D at start; keep it
   for all"): the Joonis / 3D / Foto switch that screens under 1180 px had is now everyone's. These are layout.css's
   max-width:1180px rules without the width condition; keep them if layout.css is regenerated. */
#nhbp:not([data-step="3"]):not([data-known]) #bp-room-seg{display:inline-flex}
#bp-ws[data-room="3d"] .ws-plan,#bp-ws[data-room="plan"] .ws-view{display:none}
#nhbp[data-known] #bp-ws .ws-view,#nhbp[data-step="3"] #bp-ws .ws-view{display:grid}
#nhbp:not([data-step="3"]):not([data-known]) #bp-view-seg{display:none}
#nhbp:not([data-step="3"]) .ws-room{grid-template-columns:minmax(0,1fr)}
/* The room-size question on the 3D view (the drawing is a tab away now), until the room has been changed once */
#nhbp .bp-roomask3{position:absolute;left:12px;bottom:34px;z-index:4;display:flex;align-items:center;gap:10px;max-width:calc(100% - 24px);padding:7px 8px 7px 12px;background:#fff;border:1px solid var(--bone-300,#e4ddd0);border-radius:10px;box-shadow:var(--shadow-md,0 6px 22px -8px rgba(15,42,34,.35));font-size:13px;line-height:1.3;color:var(--terra-600,#a8432e);font-weight:600}
#nhbp .bp-roomask3[hidden]{display:none}
#nhbp .bp-roomask3 .tc-btn{flex:none;min-height:30px;padding:2px 12px;font-size:12.5px}
@media (max-width:999px){#nhbp .bp-roomask3{bottom:10px;font-size:12.5px}}
#nhbp[data-step="3"] .bp-roomask3{display:none}
/* Helper for the three tabs (0.10.0): a small card with an arrow to the tab it explains, three dots, Edasi / Valmis */
#nhbp .ws-top{position:relative}
#nhbp .bp-coach{position:absolute;z-index:40;top:calc(100% - 2px);width:min(300px,calc(100% - 16px));padding:12px 12px 10px 14px;background:var(--green-900,#0f2a22);color:#fff;border-radius:12px;box-shadow:0 14px 34px -10px rgba(15,42,34,.55);font-size:13.5px;line-height:1.4}
#nhbp .bp-coach[hidden]{display:none}
#nhbp .bp-coach::before{content:"";position:absolute;top:-7px;left:var(--arrow,40px);width:14px;height:14px;margin-left:-7px;background:var(--green-900,#0f2a22);transform:rotate(45deg);border-radius:3px 0 0 0}
#nhbp .bp-coach p{margin:0 22px 10px 0;color:#fff}
#nhbp .bp-coach b{font-weight:800}
#nhbp .bp-coach-x{position:absolute;right:6px;top:6px;width:26px;height:26px;border-radius:6px;color:rgba(255,255,255,.75);font-size:18px;line-height:1}
#nhbp .bp-coach-x:hover{background:rgba(255,255,255,.12);color:#fff}
#nhbp .bp-coach-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}
#nhbp .bp-coach-dots{display:flex;gap:6px}
#nhbp .bp-coach-dots i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.28);transition:background .2s}
#nhbp .bp-coach-dots i.is-on{background:var(--terra-500,#d16a3f)}
#nhbp .bp-coach .tc-btn{min-height:32px;padding:2px 16px;font-size:13px}

/* Planner campaign (0.11.0): the line over the workspace, and what the plan saves against regular prices */
#nhbp .bp-campaign{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:10px 16px;border-radius:12px;background:var(--green-900,#0f2a22);color:rgba(250,247,242,.86);font-size:14px;line-height:1.4}
#nhbp .bp-campaign b{flex:none;padding:3px 10px;border-radius:999px;background:var(--terra-500,#d06a3c);color:#fff;font-size:15px;font-weight:800;white-space:nowrap}
#nhbp.is-full .bp-campaign{display:none}
#nhbp:not(.is-full) .tc-wrap:has(> .bp-campaign){padding-top:20px}
@media (max-width:640px){#nhbp .bp-campaign{align-items:flex-start;font-size:13px;padding:10px 12px}}
#nhbp .bp-saved{display:flex;justify-content:space-between;gap:12px;margin:4px 0 0;font-size:13.5px;color:var(--ink-500,#6b716a)}
#nhbp .bp-saved span{text-decoration:line-through}
#nhbp .bp-saved b{color:var(--terra-600,#a8432e);font-weight:800}
