/* Hotspots Pro layouts. Scoped under .spotthemes-hs; tokens come from the free plugin's root. */
.spotthemes-hs{--bar2:#22222240}
.spotthemes-hs.spotthemes-t-night{--bar2:#ffffff30}

/* Numbered dots (02, 04, 05): white with ink ring, ink when chosen */
.spotthemes-hs.spotthemes-dots-num .spotthemes-hs-dot{width:26px;height:26px;background:var(--card);box-shadow:0 0 0 1.5px var(--ink),0 2px 6px rgba(0,0,0,.12)}
.spotthemes-hs.spotthemes-dots-num .spotthemes-hs-dot::after{display:none}
.spotthemes-hs.spotthemes-dots-num .spotthemes-hs-n{position:static;overflow:visible;clip:auto;display:grid;place-items:center;width:100%;height:100%;font-family:var(--mono);font-size:11px;color:var(--ink);line-height:1}
.spotthemes-hs.spotthemes-dots-num .spotthemes-hs-dot.is-on,.spotthemes-hs.spotthemes-dots-num .spotthemes-hs-dot:hover{background:var(--ink);box-shadow:0 0 0 5px color-mix(in oklab,var(--ink) 12%,transparent)}
.spotthemes-hs.spotthemes-dots-num .spotthemes-hs-dot.is-on .spotthemes-hs-n,.spotthemes-hs.spotthemes-dots-num .spotthemes-hs-dot:hover .spotthemes-hs-n{color:var(--paper)}

/* Image + list side by side */
.spotthemes-hs .spotthemes-hs-lay{display:grid;gap:20px;align-items:start;grid-template-columns:minmax(0,1fr) 320px}
.spotthemes-hs .spotthemes-hs-lay.spotthemes-side-left{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:stretch}
.spotthemes-hs .spotthemes-hs-lay.spotthemes-side-left .spotthemes-hs-side{order:-1}
.spotthemes-hs .spotthemes-hs-lay>*{min-width:0}
.spotthemes-hs .spotthemes-hs-lay .spotthemes-hs-frame{--frame:var(--card);--fline:var(--line)}
.spotthemes-hs .spotthemes-hs-side .spotthemes-hs-story{font-size:19px;margin:0 0 16px}
.spotthemes-hs .spotthemes-hs-thead,.spotthemes-hs .spotthemes-hs-trb{display:flex;align-items:center;gap:14px;font-family:var(--mono);font-size:13px;color:var(--ink)}
.spotthemes-hs .spotthemes-hs-thead{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ghost);padding:0 0 8px}
.spotthemes-hs .spotthemes-hs-rows{list-style:none;margin:0;padding:0}
.spotthemes-hs .spotthemes-hs-tr{position:relative;border-top:1px solid var(--line);margin:0;list-style:none}
.spotthemes-hs .spotthemes-hs-tr.is-on{background:var(--well);border-radius:8px;border-color:transparent}
.spotthemes-hs .spotthemes-hs-tr.is-on+.spotthemes-hs-tr{border-color:transparent}
.spotthemes-hs .spotthemes-hs-trb{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:14px;width:100%;padding:9px 10px;cursor:pointer;font-family:var(--mono);font-size:13px;color:var(--ink)}
.spotthemes-hs .spotthemes-hs-trb:focus-visible{outline:2px solid var(--ink);outline-offset:-2px;border-radius:8px}
.spotthemes-hs .spotthemes-hs-thead .n,.spotthemes-hs .spotthemes-hs-trb .n{color:var(--ghost);width:28px;flex:none;font-size:12px}
.spotthemes-hs .spotthemes-hs-thead .x,.spotthemes-hs .spotthemes-hs-trb .x{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spotthemes-hs .spotthemes-hs-trb .x em{font-style:normal;color:var(--ghost)}
.spotthemes-hs .spotthemes-hs-thead .r,.spotthemes-hs .spotthemes-hs-trb .r{text-align:right;min-width:48px;color:var(--ghost)}
.spotthemes-hs .spotthemes-hs-thead{padding-left:10px;padding-right:10px}
.spotthemes-hs .spotthemes-hs-look .spotthemes-hs-trb{padding-right:34px}
.spotthemes-hs .spotthemes-hs-look .spotthemes-hs-trb .r{color:var(--up)}
.spotthemes-hs .spotthemes-hs-look .spotthemes-hs-trb .r del{color:var(--ghost);font-size:11px;margin-right:4px}
.spotthemes-hs .spotthemes-hs-look .spotthemes-hs-trb .r ins{text-decoration:none;background:none}
.spotthemes-hs .spotthemes-hs-sw{width:30px;height:30px;border-radius:8px;flex:none;overflow:hidden;background:var(--well);display:block}
.spotthemes-hs .spotthemes-hs-sw img{width:100%;height:100%;object-fit:cover;display:block;margin:0;border-radius:0;max-width:none}
.spotthemes-hs .spotthemes-hs-open{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:var(--ghost);font-size:13px;text-decoration:none!important}
.spotthemes-hs .spotthemes-hs-open:hover,.spotthemes-hs .spotthemes-hs-open:focus-visible{background:var(--card);color:var(--ink)}
/* Design kit .btn: mono, uppercase, ink */
.spotthemes-hs .spotthemes-hs-kbtn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:16px;border:0;background:var(--ink);color:var(--paper);border-radius:9px;padding:10px 16px;font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:500;line-height:1.4;text-decoration:none!important;cursor:pointer;box-sizing:border-box}
.spotthemes-hs .spotthemes-hs-kbtn:hover,.spotthemes-hs .spotthemes-hs-kbtn:focus{color:var(--paper);opacity:.92}
.spotthemes-hs .spotthemes-hs-kbtn:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.spotthemes-hs .spotthemes-hs-kbtn.loading{opacity:.6}
.spotthemes-hs .spotthemes-hs-kbtn.added::after{content:" \2713"}
.spotthemes-hs .spotthemes-hs-allmsg{margin:8px 0 0;font-family:var(--mono);font-size:11px;color:var(--ghost);text-align:center;min-height:1em}
.spotthemes-hs .spotthemes-hs-foot{display:flex;align-items:center;gap:14px;margin-top:20px;flex-wrap:wrap}
.spotthemes-hs .spotthemes-hs-foot .spotthemes-hs-kbtn{margin:0;width:auto;flex:none}
.spotthemes-hs .spotthemes-hs-big{font-size:26px;letter-spacing:-.02em;color:var(--ink)}
.spotthemes-hs .spotthemes-hs-note{font-family:var(--mono);font-size:11px;color:var(--ghost)}

/* 04: corner labels (design kit .cl) */
.spotthemes-hs .spotthemes-hs-cl{all:unset;box-sizing:border-box;position:absolute;z-index:3;display:flex;gap:8px;align-items:center;background:var(--card);color:var(--ink);border-radius:999px;padding:5px 11px 5px 5px;font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;line-height:1.2;box-shadow:0 0 0 1px var(--line),0 6px 16px -8px rgba(0,0,0,.2);cursor:pointer}
.spotthemes-hs .spotthemes-hs-cl .cn{width:20px;height:20px;border-radius:50%;background:var(--ink);color:var(--paper);display:grid;place-items:center;font-size:9.5px;letter-spacing:0}
.spotthemes-hs .spotthemes-hs-cl.cl-tl{left:4%;top:calc(6% + var(--k) * 40px)}
.spotthemes-hs .spotthemes-hs-cl.cl-tr{right:4%;top:calc(6% + var(--k) * 40px)}
.spotthemes-hs .spotthemes-hs-cl.cl-bl{left:4%;bottom:calc(6% + var(--k) * 40px)}
.spotthemes-hs .spotthemes-hs-cl.cl-br{right:4%;bottom:calc(6% + var(--k) * 40px)}
/* With corner labels every dot is ink, as in design 04. */
.spotthemes-hs.spotthemes-callouts.spotthemes-dots-num .spotthemes-hs-dot{background:var(--ink);box-shadow:0 0 0 5px color-mix(in oklab,var(--ink) 12%,transparent)}
.spotthemes-hs.spotthemes-callouts.spotthemes-dots-num .spotthemes-hs-n{color:var(--paper)}

/* 06: guided tour */
.spotthemes-hs.spotthemes-l-tour .spotthemes-hs-tour{--frame:var(--card);--fline:var(--line);background:var(--frame);border:1px solid var(--fline);border-radius:16px;overflow:hidden}
.spotthemes-hs.spotthemes-l-tour .spotthemes-hs-stage{max-width:720px;margin:0 auto}
.spotthemes-hs.spotthemes-l-tour .spotthemes-hs-dot{opacity:0;pointer-events:none;transition:opacity .2s}
.spotthemes-hs.spotthemes-l-tour .spotthemes-hs-dot.is-on{opacity:1;pointer-events:auto;width:46px;height:46px;background:transparent;box-shadow:0 0 0 2px var(--ink),0 0 0 10px color-mix(in oklab,var(--ink) 12%,transparent)}
.spotthemes-hs.spotthemes-l-tour .spotthemes-hs-dot.is-on::after{inset:15px;background:var(--up)}
.spotthemes-hs .spotthemes-hs-stepc{display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);padding:16px 20px}
.spotthemes-hs .spotthemes-hs-stepc .spotthemes-hs-t{margin:0}
.spotthemes-hs .spotthemes-hs-steps{display:flex;gap:3px;margin-top:8px}
.spotthemes-hs .spotthemes-hs-steps i{height:3px;width:26px;border-radius:2px;background:var(--bar2)}
.spotthemes-hs .spotthemes-hs-steps i.on{background:var(--ink)}
.spotthemes-hs .spotthemes-hs-stepc .spotthemes-hs-story{font-size:18px;flex:1;margin:0}
.spotthemes-hs .spotthemes-hs-rb{all:unset;box-sizing:border-box;width:30px;height:30px;border-radius:50%;background:var(--well);display:inline-grid;place-items:center;font-family:var(--mono);font-size:13px;color:var(--soft);cursor:pointer;flex:none}
.spotthemes-hs .spotthemes-hs-rb.is-ink{background:var(--ink);color:var(--paper)}
.spotthemes-hs .spotthemes-hs-rb:disabled{opacity:.35;cursor:default}
.spotthemes-hs .spotthemes-hs-rb:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

@media (max-width:640px){
 .spotthemes-hs .spotthemes-hs-lay,.spotthemes-hs .spotthemes-hs-lay.spotthemes-side-left{grid-template-columns:1fr}
 .spotthemes-hs .spotthemes-hs-lay .spotthemes-hs-side,.spotthemes-hs .spotthemes-hs-lay.spotthemes-side-left .spotthemes-hs-side{order:1}
 .spotthemes-hs .spotthemes-hs-side .spotthemes-hs-story{font-size:17px}
 .spotthemes-hs .spotthemes-hs-cl{display:none}
 .spotthemes-hs.spotthemes-dots-num .spotthemes-hs-dot{width:20px;height:20px}
 .spotthemes-hs.spotthemes-dots-num .spotthemes-hs-n{font-size:9.5px}
 .spotthemes-hs .spotthemes-hs-stepc{flex-wrap:wrap;gap:12px;padding:14px 16px}
 .spotthemes-hs .spotthemes-hs-stepc .spotthemes-hs-story{flex:1 1 100%;order:-1}
 .spotthemes-hs .spotthemes-hs-stepl{margin-right:auto}
 .spotthemes-hs.spotthemes-l-tour .spotthemes-hs-dot.is-on{width:32px;height:32px}
 .spotthemes-hs.spotthemes-l-tour .spotthemes-hs-dot.is-on::after{inset:10px}
}
@media (prefers-reduced-motion:reduce){.spotthemes-hs.spotthemes-l-tour .spotthemes-hs-dot{transition:none}}
/* ---- Areas, floors, status, zoom (Pro) ---- */
.spotthemes-hs{--warn:#a8650a}
.spotthemes-hs.spotthemes-t-night{--warn:#f0b45a;--down:#f07a6a}
.spotthemes-hs .spotthemes-hs-pic img[hidden]{display:none!important}
.spotthemes-hs .spotthemes-hs-dot[hidden]{display:none}
.spotthemes-hs .spotthemes-hs-areas{position:absolute;inset:0;width:100%;height:100%;z-index:1;overflow:visible}
.spotthemes-hs .spotthemes-hs-area{fill:color-mix(in oklab,var(--ink) 8%,transparent);stroke:var(--ink);stroke-width:1.5;stroke-opacity:.45;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .15s,stroke-opacity .15s}
.spotthemes-hs .spotthemes-hs-area:hover,.spotthemes-hs .spotthemes-hs-area.is-hl{fill:color-mix(in oklab,var(--ink) 18%,transparent);stroke-opacity:.9}
.spotthemes-hs .spotthemes-hs-area.is-on{fill:color-mix(in oklab,var(--up) 26%,transparent);stroke:var(--up);stroke-opacity:1}
.spotthemes-hs .spotthemes-hs-area.st-available{fill:color-mix(in oklab,var(--up) 22%,transparent);stroke:var(--up)}
.spotthemes-hs .spotthemes-hs-area.st-reserved{fill:color-mix(in oklab,var(--warn) 24%,transparent);stroke:var(--warn)}
.spotthemes-hs .spotthemes-hs-area.st-sold{fill:color-mix(in oklab,var(--down) 22%,transparent);stroke:var(--down)}
.spotthemes-hs .spotthemes-hs-area[class*=st-]:hover,.spotthemes-hs .spotthemes-hs-area[class*=st-].is-hl,.spotthemes-hs .spotthemes-hs-area[class*=st-].is-on{stroke-opacity:1;stroke-width:2.5}
/* The dot of an area sits in its middle: small, so the shape is what you see. */
.spotthemes-hs .spotthemes-hs-dot[data-area]{width:14px;height:14px;background:var(--card)}
.spotthemes-hs .spotthemes-hs-dot[data-area]::after{inset:4px}
.spotthemes-hs .spotthemes-hs-dot.is-hl{box-shadow:0 0 0 6px color-mix(in oklab,var(--card) 55%,transparent)}
.spotthemes-hs .spotthemes-hs-dot[data-st=available]::after{background:var(--up)}
.spotthemes-hs .spotthemes-hs-dot[data-st=reserved]::after{background:var(--warn)}
.spotthemes-hs .spotthemes-hs-dot[data-st=sold]::after{background:var(--down)}
.spotthemes-hs.spotthemes-t-night .spotthemes-hs-dot[data-st]::after{content:"";inset:9px;border-radius:50%}
/* Status badge + legend */
.spotthemes-hs .spotthemes-hs-st{display:inline-flex;align-items:center;gap:6px;font-family:var(--mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--ghost);line-height:1.4}
.spotthemes-hs .spotthemes-hs-st::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ghost)}
.spotthemes-hs .spotthemes-hs-st.st-available::before{background:var(--up)}
.spotthemes-hs .spotthemes-hs-st.st-reserved::before{background:var(--warn)}
.spotthemes-hs .spotthemes-hs-st.st-sold::before{background:var(--down)}
.spotthemes-hs .spotthemes-hs-card>.spotthemes-hs-st{margin:0 0 6px}
.spotthemes-hs .spotthemes-hs-legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:10px 0 0;font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ghost);line-height:1.6}
.spotthemes-hs .spotthemes-hs-lg{display:inline-flex;align-items:center;gap:6px}
.spotthemes-hs .spotthemes-hs-lg i{width:8px;height:8px;border-radius:50%;background:var(--ghost)}
.spotthemes-hs .spotthemes-hs-lg b{font-weight:500;color:var(--ink)}
.spotthemes-hs .spotthemes-hs-lg.st-available i{background:var(--up)}
.spotthemes-hs .spotthemes-hs-lg.st-reserved i{background:var(--warn)}
.spotthemes-hs .spotthemes-hs-lg.st-sold i{background:var(--down)}
.spotthemes-hs .spotthemes-hs-only{all:unset;box-sizing:border-box;margin-left:auto;cursor:pointer;background:var(--well);color:var(--ghost);border-radius:999px;padding:5px 11px}
.spotthemes-hs .spotthemes-hs-only.is-on{background:var(--ink);color:var(--paper)}
.spotthemes-hs .spotthemes-hs-only:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* Floor switcher: top left of the picture (like MAP / GLOBE on the maps) */
.spotthemes-hs .spotthemes-hs-floors{position:absolute;left:12px;top:12px;z-index:4;display:inline-flex;background:var(--card);border-radius:999px;padding:3px;box-shadow:0 1px 2px rgba(0,0,0,.08),0 0 0 1px var(--line);max-width:calc(100% - 140px);overflow-x:auto;scrollbar-width:none}
.spotthemes-hs .spotthemes-hs-floors button{all:unset;box-sizing:border-box;padding:5px 11px;border-radius:999px;font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ghost);cursor:pointer;white-space:nowrap;line-height:1.4}
.spotthemes-hs .spotthemes-hs-floors button.is-on{background:var(--ink);color:var(--paper)}
.spotthemes-hs .spotthemes-hs-floors button:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
/* Zoom: buttons top right; the picture moves, dots keep their size */
.spotthemes-hs .spotthemes-hs-view{position:relative;overflow:hidden;border-radius:12px;line-height:0}
.spotthemes-hs.spotthemes-hs-zoom .spotthemes-hs-pic{transform-origin:0 0;touch-action:pan-y;will-change:transform}
.spotthemes-hs.spotthemes-hs-zoom.is-zoomed .spotthemes-hs-pic{touch-action:none;cursor:grab}
.spotthemes-hs.spotthemes-hs-zoom.is-zoomed .spotthemes-hs-dot{transform:translate(-50%,-50%) scale(calc(1 / var(--z,1)))}
.spotthemes-hs .spotthemes-hs-ctrl{position:absolute;right:12px;top:12px;z-index:4;display:flex;gap:6px;line-height:1}
.spotthemes-hs .spotthemes-hs-ctrl .spotthemes-hs-rb{background:var(--card);box-shadow:0 1px 2px rgba(0,0,0,.08),0 0 0 1px var(--line)}
@media (max-width:640px){
 .spotthemes-hs .spotthemes-hs-floors{left:8px;top:8px;max-width:calc(100% - 110px)}
 .spotthemes-hs .spotthemes-hs-floors button{padding:4px 9px;font-size:10px}
 .spotthemes-hs .spotthemes-hs-ctrl{right:8px;top:8px;gap:4px}
 .spotthemes-hs .spotthemes-hs-ctrl .spotthemes-hs-rb{width:26px;height:26px}
}
@media (prefers-reduced-motion:reduce){.spotthemes-hs .spotthemes-hs-area{transition:none}}
/* Builder only: drawing and editing areas */
.spotthemes-b-stage.is-drawing{cursor:crosshair}
.spotthemes-b-stage.is-drawing .spotthemes-hs-area{pointer-events:none}
.spotthemes-hs .spotthemes-b-line{fill:none;stroke:var(--up);stroke-width:2;vector-effect:non-scaling-stroke;stroke-dasharray:4 3}
.spotthemes-b-h{position:absolute;z-index:5;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px var(--up,#1f8a4c),0 1px 4px rgba(0,0,0,.3);cursor:move;touch-action:none}
.spotthemes-b-floor{border-left:3px solid transparent;padding-left:8px;margin:0 0 8px}
.spotthemes-b-floor.is-on{border-left-color:var(--up,#1f8a4c)}
