/* Tidalform presenter (presenter.js). Everything is scoped under .tf, and the layout follows the presenter's
   own width (presenter.js sets .tf-narrow), so it behaves the same in a page column, a maker's iframe or a phone. */
.tf{--tf-ink:#0f2026;--tf-dark:#12262e;--tf-line:#354650;--tf-soft:#c0cfd5;--tf-lime:#baff57;--tf-ok:#477918;--tf-short:#c2410c;
 display:grid;grid-template-columns:minmax(0,1fr) 340px;background:var(--tf-dark);color:#e6eeee;font:15px/1.55 'DM Sans',system-ui,sans-serif;border-radius:10px;overflow:hidden}
.tf *{box-sizing:border-box}.tf [hidden]{display:none!important}
.tf button{font:inherit;cursor:pointer}
.tf-panel-none{grid-template-columns:1fr}.tf-panel-none .tf-panel{display:none}
.tf-panel-compact .tf-panel>:is(.tf-intro,.tf-details,.tf-photos,.tf-rights){display:none}
.tf-stage{position:relative;min-width:0;overflow:hidden;background:#dce3df}
.tf-viewer{display:block;width:100%;height:560px;--poster-color:transparent;background:radial-gradient(ellipse at 50% 70%,#eef2ef,#cfd8d4 75%)}
.tf-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:2}
.tf-dim{stroke:#10232b;stroke-width:1.6}.tf-ext{stroke:#10232b88;stroke-width:1;stroke-dasharray:3 3}
.tf-label{font:600 13px 'DM Sans',sans-serif;fill:#10232b;text-anchor:middle;paint-order:stroke;stroke:#f6f7f8;stroke-width:4px;stroke-linejoin:round}
.tf-space-max{fill:#baff5722;stroke:#4e7a12;stroke-width:2;stroke-dasharray:7 5}.tf-space-now{fill:none;stroke:#10232b;stroke-width:1.4}
.tf-label-max{fill:#2f4d0b}
.tf-fit{fill:none;stroke-width:2.4;stroke-dasharray:2 4;stroke-linecap:round}.tf-fit.tf-ok{stroke:var(--tf-ok)}.tf-fit.tf-short{stroke:var(--tf-short)}
.tf-label-ok{fill:var(--tf-ok)}.tf-label-short{fill:var(--tf-short)}
.tf-tools{position:absolute;top:12px;left:12px;right:12px;display:flex;gap:7px;flex-wrap:wrap;z-index:4}
.tf-tool,.tf-views button{border:1px solid #afbab6;border-radius:20px;background:#f6f7f8ed;color:var(--tf-ink);padding:7px 12px;font-size:13px}
.tf-tool[aria-pressed=true],.tf-views button[aria-pressed=true]{background:var(--tf-ink);color:#fff;border-color:var(--tf-ink)}
.tf-views{position:absolute;bottom:12px;left:12px;right:12px;display:flex;gap:6px;justify-content:center;flex-wrap:wrap;z-index:4}
.tf-note{position:absolute;left:12px;right:12px;bottom:56px;margin:0;z-index:3;text-align:center;font-size:13px;color:var(--tf-ink);background:#f6f7f8e0;border-radius:6px;padding:6px 10px;justify-self:center}
.tf-ar{position:absolute;right:12px;bottom:56px;z-index:4;border:0;border-radius:20px;background:var(--tf-lime);color:var(--tf-ink);font-weight:700;padding:9px 14px}
model-viewer:not([ar]) .tf-ar{display:none}
.tf-outline{position:absolute;right:12px;bottom:100px;z-index:4;font-size:12px;background:#f6f7f8e8;color:var(--tf-ink);padding:5px 9px;border-radius:6px;display:flex;gap:6px;align-items:center}
.tf-outline input{width:auto;margin:0}
.tf-spot{width:28px;height:28px;border:1px solid #fff;border-radius:50%;background:#12262edd;color:#fff;font-size:13px;box-shadow:0 2px 8px #0003;padding:0}
.tf-spot:not([data-visible]){opacity:0;pointer-events:none}
.tf-space-on .tf-spot,.tf-photo-mode .tf-spot{opacity:0;pointer-events:none}
.tf-anchor{width:1px;height:1px;pointer-events:none;opacity:0}
.tf-photo{position:absolute;inset:0;margin:0;z-index:5;background:#f6f7f8;display:flex;flex-direction:column}
.tf-photo img{flex:1;min-height:0;width:100%;object-fit:contain}
.tf-photo figcaption{font-size:13px;color:var(--tf-ink);padding:10px 14px 56px}
.tf-back{position:absolute;top:12px;right:12px;z-index:6;border:1px solid var(--tf-ink);border-radius:20px;background:#fff;color:var(--tf-ink);padding:7px 13px;font-size:13px}
.tf-qr{position:absolute;top:56px;left:12px;z-index:7;width:250px;background:#fff;color:var(--tf-ink);border-radius:10px;padding:16px;box-shadow:0 10px 30px #0004;font-size:13px}
.tf-qr img{display:block;margin:6px auto;image-rendering:pixelated}.tf-qr a{text-decoration:underline}.tf-qr p{margin:6px 0}
.tf-qr-title{font-weight:700;font-size:15px}.tf-qr-close{float:right;border:0;background:none;text-decoration:underline;font-size:12px;padding:0}
.tf-warn{color:var(--tf-short)}
.tf-mirror{display:none}
.tf-panel{padding:18px 20px;border-left:1px solid var(--tf-line);overflow:auto}
.tf-panel h2,.tf-panel h3{font-family:'Manrope',sans-serif;margin:0;font-weight:600;letter-spacing:-.3px}
.tf-maker{font-size:11px;letter-spacing:1px;color:#adc3bc;margin:0 0 4px}
.tf-title{font-size:21px;line-height:1.2;margin-bottom:6px!important}
.tf-intro{color:var(--tf-soft);margin:10px 0}.tf-spec{font-size:13px;color:var(--tf-soft);margin:0 0 16px}
.tf-panel section,.tf-panel details{border-top:1px solid var(--tf-line);padding:10px 0}
.tf-panel h3{font-size:14px}
.tf-motion-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.tf-motion-head output{font-size:13px;color:var(--tf-soft)}
.tf-motion input[type=range],.tf-mirror input{width:100%;accent-color:var(--tf-lime);margin:6px 0 0;cursor:ew-resize}
.tf-states,.tf-swatches,.tf-photo-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.tf-states button,.tf-photo-list button,.tf-action{border:1px solid #52656d;border-radius:6px;background:#203740;color:#eef5f4;padding:7px 10px;font-size:13px}
.tf-action{width:100%;margin-top:10px}
.tf-states button[aria-pressed=true]{border-color:var(--tf-lime);color:var(--tf-lime)}
.tf-small{font-size:12px;color:#a8babc;margin:8px 0 0}
.tf-swatch{width:34px;height:34px;border-radius:50%;border:2px solid #52656d;padding:0}.tf-swatch[aria-pressed=true]{border-color:var(--tf-lime);box-shadow:0 0 0 2px var(--tf-dark),0 0 0 4px var(--tf-lime)}
.tf-panel summary{cursor:pointer;font-weight:600}
.tf-fit-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.tf-fit-fields label{font-size:12px;color:var(--tf-soft);display:grid;gap:4px}
.tf-fit-fields input[type=number]{width:100%;padding:8px 10px;border-radius:6px;border:1px solid #52656d;background:#203740;color:#fff;margin:0}
.tf-fit-fields .tf-check{grid-column:1/-1;display:flex;align-items:center;gap:8px}.tf-check input{width:auto;margin:0}
.tf-fit-result{font-size:13px;margin:10px 0 0;color:var(--tf-soft)}
.tf-fit-result.tf-ok{color:var(--tf-lime)}.tf-fit-result.tf-part{color:#ffd27a}.tf-fit-result.tf-short{color:#ffad85}
.tf-details dl{font-size:13px;margin:10px 0 0}.tf-details dl>div{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px solid var(--tf-line)}.tf-details dt{color:var(--tf-soft)}.tf-details dd{margin:0;text-align:right}
.tf-enquire{display:block;text-align:center;background:var(--tf-lime);color:var(--tf-ink);font-weight:700;border-radius:24px;padding:9px;margin:12px 0 8px;text-decoration:none}
.tf-rights{font-size:11px;color:#a8babc;margin:0}.tf-rights a{color:inherit;text-decoration:underline}

/* Narrow: panel under the view, one-word tools, the main slider inside the view. */
.tf-narrow{grid-template-columns:1fr}
.tf-narrow .tf-panel{border-left:0;border-top:1px solid var(--tf-line)}
.tf-narrow .tf-stage{min-height:0}
.tf-narrow .tf-viewer{height:440px}
.tf-narrow .tf-tool{font-size:0;padding:7px 11px}.tf-narrow .tf-tool:after{content:attr(data-short);font-size:13px}
.tf-narrow .tf-views button{padding:6px 9px;font-size:12px}
.tf-narrow .tf-mirror{display:flex;position:absolute;left:12px;right:12px;bottom:52px;z-index:4;align-items:center;gap:10px;background:#f6f7f8e8;border:1px solid #afbab6;border-radius:10px;padding:6px 12px}
.tf-narrow .tf-mirror span{font-size:12px;font-weight:600;color:var(--tf-ink);white-space:nowrap;min-width:64px}
.tf-narrow .tf-mirror input{margin:0;height:28px;accent-color:var(--tf-ok)}
.tf-narrow .tf-ar{bottom:auto;top:12px}
.tf-narrow .tf-note{bottom:100px}
.tf-narrow .tf-outline{bottom:auto;top:52px}
.tf-narrow .tf-photo-mode .tf-mirror{display:none}
.tf:not(.tf-narrow) .tf-panel{height:0;min-height:100%}

/* Tools as icons, name in the tooltip (presenter.js sets title). */
.tf-tool{font-size:0!important;width:38px;height:38px;padding:0!important;display:inline-grid;place-items:center;border-radius:8px}
.tf-tool::before{content:'';width:21px;height:21px;background:currentColor;-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat}
.tf-narrow .tf-tool:after{content:none}
.tf-tool[data-icon=dims]{--icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%207v10M21%207v10M3%2012h18M3%2012l3-3M3%2012l3%203M21%2012l-3-3M21%2012l-3%203%27/%3E%3C/svg%3E")}
.tf-tool[data-icon=space]{--icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%273%27%20y%3D%273%27%20width%3D%2718%27%20height%3D%2718%27%20rx%3D%271%27%20stroke-dasharray%3D%273%202.6%27/%3E%3Crect%20x%3D%278%27%20y%3D%278%27%20width%3D%278%27%20height%3D%278%27%20rx%3D%271%27/%3E%3C/svg%3E")}
.tf-tool[data-icon=room]{--icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.6%27%20stroke-linejoin%3D%27round%27%20stroke-linecap%3D%27round%27%3E%3Crect%20x%3D%273.5%27%20y%3D%273.5%27%20width%3D%276%27%20height%3D%276%27%20rx%3D%27.6%27/%3E%3Crect%20x%3D%2714.5%27%20y%3D%273.5%27%20width%3D%276%27%20height%3D%276%27%20rx%3D%27.6%27/%3E%3Crect%20x%3D%273.5%27%20y%3D%2714.5%27%20width%3D%276%27%20height%3D%276%27%20rx%3D%27.6%27/%3E%3Cpath%20d%3D%27M5.6%205.6h1.8v1.8H5.6zM16.6%205.6h1.8v1.8h-1.8zM5.6%2016.6h1.8v1.8H5.6z%27%20fill%3D%27black%27/%3E%3Cpath%20d%3D%27M14%2014h2.5v2.5H14zM18%2014h2.5v2.5H18zM16%2018h2.5v2.5H16zM14%2020h1.5M20.5%2018.5V20.5%27%20fill%3D%27black%27%20stroke%3D%27none%27/%3E%3C/svg%3E")}

.tf-views button[data-icon]{font-size:0!important;width:38px;height:38px;padding:0!important;display:inline-grid;place-items:center;border-radius:8px}
.tf-views button[data-icon]::before{content:'';width:23px;height:23px;background:currentColor;-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat}
.tf-views [data-icon=overview]{--icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%20stroke-linejoin%3D%27round%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M4%209h11v11H4zM4%209l5-5h11l-5%205M15%2020l5-5V4%27/%3E%3Cpath%20d%3D%27M4%209l5-5h11l-5%205z%27%20fill%3D%27black%27%20fill-opacity%3D%27.35%27%20stroke%3D%27none%27/%3E%3Cpath%20d%3D%27M15%209l5-5v11l-5%205z%27%20fill%3D%27black%27%20fill-opacity%3D%27.6%27%20stroke%3D%27none%27/%3E%3C/svg%3E")}
.tf-views [data-icon=front]{--icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%20stroke-linejoin%3D%27round%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M4%209h11v11H4zM4%209l5-5h11l-5%205M15%2020l5-5V4%27/%3E%3Cpath%20d%3D%27M4%209h11v11H4z%27%20fill%3D%27black%27%20fill-opacity%3D%27.85%27%20stroke%3D%27none%27/%3E%3C/svg%3E")}
.tf-views [data-icon=side]{--icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%20stroke-linejoin%3D%27round%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M4%209h11v11H4zM4%209l5-5h11l-5%205M15%2020l5-5V4%27/%3E%3Cpath%20d%3D%27M15%209l5-5v11l-5%205z%27%20fill%3D%27black%27%20fill-opacity%3D%27.85%27%20stroke%3D%27none%27/%3E%3C/svg%3E")}
.tf-views [data-icon=reset]{--icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.5%27%20stroke-linejoin%3D%27round%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M4%2012a8%208%200%201%200%202.4-5.7%27/%3E%3Cpath%20d%3D%27M4%204v4.5h4.5%27/%3E%3C/svg%3E")}
.tf-tool,.tf-views button[data-icon]{position:relative;line-height:0}
.tf-tool::before,.tf-views button[data-icon]::before{position:absolute;inset:0;margin:auto}
