/* Tour workspaces use the same public Neo shell and theme variables. */
body.aztour{--surface:var(--az-glass);--accent:var(--az-accent);--bg:var(--az-bg);--text:var(--az-text);--muted:var(--az-muted);--line:var(--az-glass-edge)}
.aztour-main{position:relative;isolation:isolate;min-width:0;height:calc(100dvh - var(--aznm-header-height) - 36px);min-height:440px;color:var(--az-text)}
.aztour-main:is(.aztour-builder,.aztour-build,.aztour-facade,.aztour-floor,.aztour-home){height:auto;min-height:calc(100dvh - var(--aznm-header-height) - 36px)}
.aztour-main :where(h1,h2,h3,h4,p){overflow-wrap:anywhere}
.aztour-main :where(h1){font-size:clamp(24px,2.2vw,34px);line-height:1.25;margin-block:0 12px}
.aztour-main :where(h2){font-size:22px;line-height:1.3}
.aztour-main :where(h3){font-size:18px;line-height:1.4}
.aztour-main :where(button,input,textarea,select){font:inherit}
.aztour-main :where(a){text-decoration:none}
.aztour-main :where(.container-fluid){width:100%;padding:0;margin:0}
.aztour-main :where(.row){--tour-gap:20px;display:flex;flex-wrap:wrap;gap:var(--tour-gap)}
.aztour-main :where(.row)>:where([class*="col-"]){flex-shrink:0;max-width:100%;min-width:0;width:100%;padding:0}
.aztour-main :where(.col-12){width:100%}
.aztour-main :where(.mb-3){margin-bottom:16px}
.aztour-main :where(.mb-4){margin-bottom:24px}
.aztour-main :where(.mt-3){margin-top:16px}
.aztour-main :where(.mt-4){margin-top:24px}
.aztour-main :where(.p-3){padding:16px}
.aztour-main :where(.p-4){padding:24px}
.aztour-main :where(.d-flex){display:flex}
.aztour-main :where(.d-none){display:none}
.aztour-main :where(.flex-wrap){flex-wrap:wrap}
.aztour-main :where(.align-items-center){align-items:center}
.aztour-main :where(.justify-content-between){justify-content:space-between}
.aztour-main :where(.gap-2){gap:8px}
.aztour-main :where(.gap-3){gap:16px}
.aztour-main :where(.w-100){width:100%}
.aztour-main :where(.text-center){text-align:center}
.aztour-main :where(.text-muted,.small){color:var(--az-muted)}
.aztour-main :where(.text-decoration-none){text-decoration:none}
.aztour-main :where(.alert){padding:14px 18px;border-radius:16px;margin-block:12px 20px;background:var(--az-accent-soft);color:var(--az-text)}
.aztour-main :where(.alert-danger){background:var(--az-danger-bg);color:var(--az-danger)}
.aztour-main :where(.alert-success){background:var(--az-success-bg);color:var(--az-success)}
.aztour-main :where(input[type=number]){max-width:100%}
.aztour-main :where(.td-btn-primary,.td-btn-soft,.td-btn-danger){font-family:var(--az-font);line-height:1.45}
.aztour-main :where(model-viewer){--progress-bar-color:var(--az-accent);--progress-mask:transparent;--poster-color:transparent}
.aztour-main :where(canvas){max-width:100%;touch-action:none}
.aztour-main :where(.td-empty-state,.empty-state,.model-status){font-family:var(--az-font)}
.aztour-main :where(.td-input,.td-select,.td-textarea){width:100%;min-height:44px;border-radius:var(--az-r-control);color:var(--az-text);background:var(--az-glass-solid);border:1px solid color-mix(in srgb,var(--az-input-line) 42%,transparent)}
.aztour-main :where(input[type=file]){position:relative;cursor:pointer}
.aztour-upload{position:relative;display:grid;place-items:center;gap:7px;width:100%;min-height:126px;border:1px dashed color-mix(in srgb,var(--az-accent) 65%,transparent);border-radius:19px;padding:22px 18px;color:var(--az-accent-text);background:color-mix(in srgb,var(--az-accent-soft) 64%,transparent);text-align:center;transition:background .2s,border-color .2s,transform .2s}
.aztour-upload>svg{width:25px;height:25px;pointer-events:none}
.aztour-upload>strong{font-size:15px;font-weight:600;pointer-events:none}
.aztour-upload>span{font-size:13px;color:var(--az-muted);overflow-wrap:anywhere;pointer-events:none}
.aztour-upload>input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:1;padding:0;cursor:pointer}
.aztour-upload:is(:hover,:focus-within,.is-dragging){background:var(--az-accent-soft);border-color:var(--az-accent)}
.aztour-upload:focus-within{outline:2px solid var(--az-focus);outline-offset:3px}
.aztour-upload.is-dragging{transform:scale(1.008)}
.aztour-upload:has(input:disabled){opacity:.5}
[dir=rtl] .aztour-main{text-align:right}
@media(min-width:768px){.aztour-main .row>.col-md-6{width:calc((100% - var(--tour-gap))/2)}}
@media(min-width:1200px){.aztour-main .row>.col-xl-4{width:calc((100% - var(--tour-gap)*2)/3)}.aztour-main .row>.col-xl-8{width:calc((100% - var(--tour-gap))*2/3)}.aztour-main .row>.col-lg-6{width:calc((100% - var(--tour-gap))/2)}}
@media(max-width:900px){.aztour-main{height:calc(100dvh - var(--aznm-header-height) - 102px);min-height:520px}.aztour-main:is(.aztour-builder,.aztour-build,.aztour-facade,.aztour-floor,.aztour-home){height:auto}.aztour-main .row{--tour-gap:14px}}
@media(prefers-reduced-motion:reduce){.aztour-main *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
