:root{font-family:Arial,sans-serif;color:#12374b;background:#edf5f8;--blue:#007eaa}*{box-sizing:border-box}body{margin:0}header{background:white;border-bottom:1px solid #d6e4ec;padding:18px 24px;display:flex;gap:15px;align-items:center}header .badge{background:var(--blue);border-radius:14px;color:white;padding:17px;font-weight:bold}h1{font-size:23px;margin:0 0 6px}header p{margin:0;color:#577687;font-size:13px}main{display:grid;grid-template-columns:410px minmax(0,1fr);gap:20px;padding:20px;height:calc(100dvh - 96px);min-height:560px}.panel{background:white;border:1px solid #d6e4ec;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}nav{display:flex;background:#f5fafc;border-bottom:1px solid #d6e4ec}nav button{border:0;border-radius:0;flex:1;background:transparent;padding:15px 4px;color:#456577}nav button.active{border-bottom:3px solid var(--blue);color:var(--blue);font-weight:bold}.pane{overflow:auto;padding:20px;flex:1}.pane[hidden]{display:none}fieldset{border:1px solid #d6e4ec;border-radius:10px;padding:15px;margin:0 0 18px}legend{font-weight:bold;font-size:14px;padding:0 6px}label{display:block;font-size:13px;margin:0 0 7px}input,select,textarea{display:block;width:100%;font:inherit;color:#12374b;padding:9px 10px;border:1px solid #b9d0dd;border-radius:7px;margin-top:5px;background:white}input[type=color]{padding:3px;height:39px}input[type=checkbox]{display:inline;width:auto;margin:0 6px 0 0}input[type=file]{font-size:12px}textarea{min-height:76px;resize:vertical}button{cursor:pointer;border:1px solid #b9d0dd;border-radius:7px;background:white;color:#164b68;padding:10px 12px;font:inherit;font-size:13px}button:hover{background:#e6f5fb}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--blue);color:white;border-color:var(--blue);font-weight:bold;width:100%}.primary:hover{background:#006b90}.danger{color:#ac2234}.row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stack{display:grid;gap:8px}.help{font-size:12px;color:#557587;line-height:1.6}.notice{border-left:3px solid var(--blue);background:#ecf8fc;padding:12px;font-size:13px;line-height:1.5}.stage{min-width:0;display:flex;flex-direction:column;gap:10px}.stage-top{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:14px}.canvas{position:relative;flex:1;min-height:380px;overflow:hidden;background:#16394b;border-radius:14px}#viewer{width:100%;height:100%}#empty{position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:#d6e9f4;padding:30px;pointer-events:none}.status{min-height:25px;font-size:13px;line-height:1.5}#status.error{color:#ad2536}.list{display:grid;gap:7px;margin-top:12px}.list button{text-align:left;overflow-wrap:anywhere}.list button.active{border:2px solid var(--blue);background:#eaf7fb}.position{font-size:12px;color:#587788}dialog{border:0;border-radius:14px;padding:20px;width:min(950px,95vw);max-height:93dvh;color:#12374b;box-shadow:0 15px 70px #0006}dialog::backdrop{background:#071e32bb}#previewDialog{width:95vw;height:92dvh}#previewFrame{width:100%;height:calc(100% - 50px);border:0;margin-top:8px;border-radius:10px}.content-card{width:min(850px,94vw)}.content-card img,.content-card video{max-width:100%;max-height:65vh;display:block;margin:15px auto}.content-card iframe{width:100%;height:min(55vh,480px);border:0;margin:15px 0}.close-card{float:right}.note-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;padding:15px;background:#fffbe9;border-radius:8px}.panorama-layer{position:absolute;inset:0;transition:opacity .3s}body.tour{height:100dvh;background:#12374b}.tour-header{height:64px;display:flex;align-items:center;gap:16px;padding:12px 20px;color:white;background:#103046}.tour-header strong{flex:1}.tour-header button{padding:7px 12px}.tour-layout{height:calc(100dvh - 64px);display:flex;flex-direction:column}.tour-view{flex:1;position:relative;min-height:300px}.tour-footer{display:flex;align-items:center;gap:10px;background:#103046;color:#c8e4f0;padding:10px;overflow:auto;white-space:nowrap}.tour-footer button{background:#22495e;color:white;border-color:#557587}.tour-footer button.active{background:#007eaa;border-color:#81d6ef}.tour-notice{position:absolute;top:12px;left:12px;z-index:20;padding:12px;background:white;border-radius:8px;max-width:85vw}.tour-notice[hidden]{display:none}#vrHelp{font-size:12px;margin:0}.tour-view #viewer{position:absolute;inset:0}@media(max-width:850px){main{display:flex;flex-direction:column;height:auto;padding:12px}.stage{order:-1}.canvas{height:50dvh;flex:auto}.panel{max-height:70dvh}header{padding:12px}header p{font-size:11px}h1{font-size:18px}.tour-header{padding:10px;font-size:13px}}
:root [hidden]{display:none!important}
.flat-viewer{position:absolute;inset:0;overflow:hidden;touch-action:none;background:#15384b;perspective-origin:50% 50%}.flat-world{position:absolute;left:50%;top:50%;transform-origin:50% 50%;transform-style:preserve-3d}.flat-world>img{width:100%;height:100%;display:block;user-select:none;pointer-events:none}.flat-controls{z-index:3}.flat-viewer .psv-button--hover-scale:hover .psv-button-svg{transform:scale(1.2)}.flat-marker{position:absolute;transform:translate(-50%,-50%);padding:0!important;border:0!important;background:transparent!important;border-radius:0;display:block;overflow:visible;z-index:2}.flat-marker:hover{filter:brightness(1.1)}

.stage-top{flex-wrap:wrap}.stage-top #currentName{flex:1;min-width:120px}.stage-top #quickAccess{white-space:nowrap}

.review-list{display:grid;gap:8px;margin-bottom:12px}.review-issue{margin:0;padding:12px;border:1px solid #ead3a7;border-radius:8px;background:#fff9ed;font-size:12px;line-height:1.6}.review-issue.error{border-color:#e6aeb5;background:#fff0f2}.review-issue button{display:block;margin-top:8px}.review-ok{font-size:13px;line-height:1.6;background:#eaf8ee;border:1px solid #b3d7bf;border-radius:8px;padding:12px}

/* Dark editing workspace, with the panorama left and tools right. */
body.editor{color-scheme:dark;background:#101113;color:#e9edf0;--blue:#20b6d2}
.editor header{background:#0c0d0f;border-color:#303339;padding:12px 18px}
.editor header h1{font-size:20px}.editor header p{color:#aeb8c1}.editor header .badge{background:#176070;padding:12px}
.editor main{grid-template-columns:minmax(0,1fr) 390px;gap:14px;padding:14px;height:calc(100dvh - 80px)}
.editor .panel{grid-column:2;grid-row:1;background:#15171a;border-color:#343840;border-radius:8px;min-width:0}
.editor .stage{grid-column:1;grid-row:1;min-height:0}
.editor nav{background:#0e1012;border-color:#343840}.editor nav button{color:#b9c3cb;background:transparent}.editor nav button.active{color:#61d5e8;background:#1b2227;border-bottom-color:#20b6d2}
.editor .pane{padding:15px}.editor fieldset{border-color:#3a4049}.editor input,.editor select,.editor textarea{background:#24272c;color:#f0f3f5;border-color:#48505b;min-width:0}
.editor button{background:#252a30;border-color:#49525f;color:#ecf1f4}.editor button:hover{background:#35424c}
.editor .primary{background:#176477;border-color:#24859a;color:#fff}.editor .primary:hover{background:#217e91}.editor #publishTour{background:#147e47;border-color:#1e9a5a}
.editor .danger{color:#ffafb9}.editor .help,.editor .position{color:#b0bcc6}.editor .notice{background:#192a32;border-color:#20b6d2;color:#d9eef3}
.editor .canvas{border-radius:8px;background:#080a0c;min-height:300px}.editor #empty{color:#bccbd6}.editor #status.error{color:#ffb0b9}
.editor .list button.active{background:#173a43;border:2px solid #39c4df}
.editor .review-issue{background:#332b1c;color:#ffe1a5;border-color:#6f5a2e}.editor .review-issue.error{background:#39232a;color:#ffc5ce;border-color:#79434f}
.editor .review-ok{background:#1b3428;color:#b9e8cb;border-color:#416c53}
.editor dialog{background:#181c21;color:#edf2f5}
.scene-card{display:flex;gap:10px;align-items:center;min-width:0}.scene-card img,.element-card img{width:66px;height:44px;object-fit:cover;border-radius:4px;flex-shrink:0;background:#090b0d}.scene-card span,.element-card span{overflow-wrap:anywhere;min-width:0}
.element-card{display:flex;align-items:center;gap:10px}
.current-thumb{display:block;width:100%;max-height:140px;object-fit:contain;border-radius:6px;background:#0c0e11;margin-bottom:12px}
.target-preview{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:12px;background:#20252b;padding:10px;border:1px solid #414b57;border-radius:8px;margin:10px 0}
.target-preview img{width:88px;height:65px;object-fit:cover;border-radius:4px}.target-preview strong{font-size:13px;overflow-wrap:anywhere}.target-preview .help{margin:4px 0;overflow-wrap:anywhere}.target-preview button{padding:8px;font-size:12px}
.scene-strip{display:flex;gap:8px;overflow-x:auto;padding:8px 2px;flex-shrink:0}.scene-strip:empty{display:none}.scene-strip .scene-card{width:114px;flex-shrink:0;display:flex;flex-direction:column;gap:5px;padding:5px;text-align:center}.scene-strip img{width:100%;height:58px}.scene-strip span{font-size:12px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-strip button.active{border:2px solid #39c4df;background:#173a43}
@media(max-width:850px){.editor main{display:flex;height:auto;padding:10px}.editor .stage{order:-1}.editor .canvas{height:48dvh}.editor .panel{max-height:75dvh}.editor header h1{font-size:18px}.editor .scene-strip .scene-card{width:104px}.editor .pane{padding:12px}}

.icon-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(46px,1fr));gap:7px;margin:10px 0}.editor .icon-choice{display:grid;place-items:center;padding:7px;height:48px;background:#0b0d10;border:1px solid #58626e;border-radius:6px}.icon-choice svg{width:32px;height:32px}.editor .icon-choice[aria-pressed="true"]{background:#145568;border:2px solid #61d5e8}.editor-element{touch-action:none;cursor:grab}.editor-element img{pointer-events:none;user-select:none}.editor-element:active{cursor:grabbing}

.element-effects,.element-animation{width:100%;height:100%}.element-effects{filter:var(--element-shadow)}.element-effects.hover-shadow{filter:none}.element-plane:hover .element-effects.hover-shadow{filter:var(--element-shadow)}.effect-bounce{animation:tour-bounce 1.5s ease-in-out infinite}.effect-pulse{animation:tour-pulse 1.7s ease-in-out infinite}.effect-wave{animation:tour-wave 1.8s ease-in-out infinite;transform-origin:50% 80%}@keyframes tour-bounce{50%{transform:translateY(calc(-1 * var(--effect-move)))}}@keyframes tour-pulse{50%{transform:scale(var(--effect-scale))}}@keyframes tour-wave{25%{transform:rotate(var(--effect-angle))}75%{transform:rotate(calc(-1 * var(--effect-angle)))}}@media(prefers-reduced-motion:reduce){.element-animation{animation:none!important}}.icon-drawer{margin:10px 0}.icon-drawer summary{padding:11px;background:#242b32;border:1px solid #576471;border-radius:7px;cursor:pointer}.icon-tabs{display:flex;gap:8px;margin:10px 0}.icon-tabs button[aria-pressed="true"]{background:#176477}.custom-icon-choice img{width:32px;height:32px;object-fit:contain}.icon-import{margin-top:12px}

.editor .icon-drawer summary{font-size:13px}
/* Visitor uses the whole page; scene navigation is an optional overlay. */
body.tour{background:#101113;overflow:hidden}.tour .tour-layout{position:relative;width:100%;height:100dvh;display:block}.tour .tour-view{position:absolute;inset:0;min-height:0}.tour .tour-footer{position:absolute;bottom:42px;left:0;right:0;z-index:30;background:#10171cf2;max-height:35dvh;flex-wrap:wrap;white-space:normal;overflow:auto}.tour .tour-footer[hidden],.tour .tour-start[hidden]{display:none}.tour #scenes{display:flex;gap:6px;flex-wrap:wrap}.tour .tour-actions{position:absolute;top:12px;right:12px;z-index:35;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:calc(100% - 24px)}.tour .tour-actions button,.tour .tour-start{background:#18262ee8;color:#f4f7f9;border-color:#66808c}.tour .tour-start{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:40;padding:16px 24px;max-width:90%;font-weight:bold;box-shadow:0 4px 24px #0008}.tour .fullscreen-hint{position:absolute;top:58px;right:12px;max-width:300px;z-index:35;color:white;background:#10171cd9;font-size:12px}.tour .fullscreen-hint:empty{display:none}.project-tools{padding:10px 12px;border-bottom:1px solid #3b434d;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.project-tools button,.project-tools .project-open{font-size:12px}.project-tools .project-open{margin:0;padding:9px 12px;border:1px solid #48555f;border-radius:7px;background:#252a30;color:#edf2f5;cursor:pointer}.project-tools .project-open input{margin-top:6px;max-width:200px}.project-tools p{flex-basis:100%;margin:0;color:#b7c3cb;font-size:12px;line-height:1.5}
.project-tools #linkPhotos[hidden]{display:none}.project-tools #linkPhotos{width:100%}.project-tools #linkPhotos label{display:block;margin:8px 0}.project-tools #linkPhotos input{max-width:100%;width:100%}
.editor .panel nav{flex-wrap:wrap}.editor .panel nav button{flex:1 1 70px;padding:12px 4px;font-size:12px}.image-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.editor .image-filters button.active{border-color:#00d4e3;background:#173b45;color:#f4f7f9}.editor #image output{float:right;color:#00d4e3;font-variant-numeric:tabular-nums}.editor #image input[type=range]{padding:0;width:100%;accent-color:#00b7cc;margin:10px 0 18px}
.editor .scene-drawer{border:1px solid #3b434d;border-radius:8px;margin-top:12px}.editor .scene-drawer summary{padding:12px;font-size:13px;color:#edf2f5;cursor:pointer}.editor .scene-drawer .list{padding:0 10px 10px;margin-top:0}.editor .strip-drawer{flex:none;min-width:0}.editor .strip-drawer summary{display:flex;align-items:center;justify-content:center;gap:6px;list-style:none;cursor:pointer;padding:6px 12px;min-height:30px;font-size:12px;color:#b7c3cb;background:#181c21;border-radius:7px}.editor .strip-drawer summary::-webkit-details-marker{display:none}.editor .strip-arrow{display:inline-block;transform:rotate(-90deg);font-size:15px}.editor .strip-drawer[open] .strip-arrow{transform:rotate(90deg)}.editor .strip-drawer[open] summary{margin-bottom:6px}.editor .strip-drawer:not([open])>.scene-strip{display:none}
.editor .modal-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.editor #targetDialog{width:min(900px,95vw)}.target-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.editor .target-tile{padding:5px;display:flex;flex-direction:column;gap:7px;min-width:0;text-align:left}.target-tile img{width:100%;height:110px;object-fit:cover;border-radius:4px}.target-tile span{overflow-wrap:anywhere;font-size:12px}.editor .target-tile.active{border-color:#00d4e3}.editor #cardDialog{width:min(850px,95vw)}.card-editor-tabs{display:flex;gap:8px;margin-bottom:16px}#cardStylePane[hidden],#cardContentPane[hidden],#editCard[hidden],#accessActions[hidden]{display:none}.rich-card .card-body{display:flex;clear:both}.rich-card .card-body.rows{flex-direction:column}.rich-card .card-body.columns>*{flex:1;min-width:0}.rich-card .card-media img,.rich-card .card-media video{width:100%;height:var(--media-height,auto);object-fit:contain;max-height:65vh;margin:0}.rich-card .card-media iframe{height:var(--media-height,350px);width:100%;margin:0}.rich-card .card-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.rich-card .card-copy a{text-align:right}.rich-card .close-card{float:right;margin:0 0 8px 8px}.rich-card .card-copy{align-content:start}.editor #cardError{color:#ffb3b3;font-size:13px}@media(max-width:600px){.target-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.target-tile img{height:100px}.rich-card .card-body.columns{flex-direction:column}}
.editor label[hidden]{display:none}
.rich-card .card-copy{width:100%;text-align:center;justify-items:center}.rich-card .card-text{width:100%;text-align:center}.rich-card .card-copy a{text-align:center}.rich-card .card-title{font-size:1.25em;line-height:1.4;margin:0;font-weight:700;text-align:center;color:inherit}.rich-card .card-body{align-items:center;min-height:50px}.rich-card .close-card{position:absolute;right:12px;top:12px;margin:0}.rich-card{padding:42px 24px 24px}.editor #insertAccessPoint{margin-top:8px}
.rich-card .card-text{text-align:justify;text-justify:inter-word}.rich-card .card-title{text-align:center}

.rich-card .card-copy{justify-items:stretch;text-align:justify}.rich-card .card-title,.rich-card .card-text,.rich-card .card-copy a{width:100%;text-align:justify;text-justify:inter-word}
#photosInput{background:#17353e;border:2px solid #00d4e3;color:#e5fcff}#photosInput::file-selector-button{background:#00d4e3;color:#07282f;border:0;border-radius:5px;padding:9px 12px;font-weight:bold;cursor:pointer}
.tour-brand{position:absolute;z-index:40;max-width:45%;max-height:35%;object-fit:contain;user-select:none;touch-action:none}.tour-brand.editable{cursor:move}.canvas,.tour-view{position:relative}

.editor .scene-order-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.editor .scene-order-buttons button{width:100%;margin:0;min-height:42px}.editor .scene-delete{margin-top:14px;padding-top:14px;border-top:1px solid #354047}.editor .scene-delete button{width:100%;margin:0}.editor #photos label[hidden]{display:none}

.editor #capture{margin-bottom:16px}.editor #zoomValue{font-weight:bold;color:#00d4e3}

.editor #iconGallery{display:block}.editor #iconGallery[hidden]{display:none}.provided-category{margin:12px 0;border:1px solid #354047;border-radius:7px;padding:8px}.provided-category summary{cursor:pointer;padding:5px 0 12px;font-weight:bold;font-size:13px}.provided-category .icon-choice{background:#63717a}.provided-category .icon-gallery{margin-top:8px}

.tour-bottom-tools{position:absolute;right:0;bottom:0;z-index:45;display:flex;height:40px;background:#17252ed9}.tour-bottom-tools button{width:44px;height:40px;padding:8px;border:0;border-radius:0;background:transparent;color:#fff}.tour-bottom-tools button:hover{background:#00aabe55}.tour-bottom-tools button[hidden]{display:none}.tour-info-panel{position:absolute;right:0;top:0;bottom:48px;width:min(380px,95vw);z-index:60;background:#14212bf5;color:#e9f5fa;padding:24px;overflow:auto;box-shadow:-8px 0 24px #0005}.tour-info-panel[hidden]{display:none}.tour-info-panel p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.tour-info-panel h2{padding-right:30px}.tour-info-panel a{color:#00d4e3}.tour-info-panel #closeTourInfo{position:absolute;right:12px;top:12px}.tour:has(#tourFooter:not([hidden])) .tour-bottom-tools{bottom:64px}

.tour .tour-view{z-index:0}.tour .tour-bottom-tools{z-index:50;pointer-events:auto}.tour-bottom-tools svg{pointer-events:none}.tour .tour-info-panel{z-index:60}.tour-info-panel h2,.tour-info-panel h3,.tour-info-panel p{color:inherit;font-family:inherit}.tour-info-panel h2{font-size:1.35em}.tour-info-panel h3{font-size:1.1em}.tour-info-panel iframe{width:100%;height:260px;border:0;border-radius:8px;margin-top:12px}

.tour .tour-bottom-tools{left:0;right:0;bottom:0;width:100%;height:44px;background:var(--footer-bg,#14212be6);display:flex;justify-content:space-between}.tour-tools-left,.tour-tools-right{display:flex;align-items:center}.tour .tour-bottom-tools button{height:44px;width:44px;flex-shrink:0}.tour .tour-bottom-tools #tourMusic{width:auto}.tour .psv-navbar{bottom:44px;background:var(--footer-bg,#14212be6)}.tour .tour-footer{bottom:0;height:136px;max-height:136px;background:var(--drawer-bg,#14212bf2);padding:8px;display:block}.tour .tour-footer #scenes{display:flex;gap:8px;height:120px;overflow:auto}.tour .tour-footer #scenes button{display:flex;flex-direction:column;gap:4px;flex:0 0 130px;min-width:0;padding:5px;background:#ffffff12}.tour-footer #scenes img{width:118px;height:78px;object-fit:cover}.tour-footer #scenes span{width:118px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.tour:has(#tourFooter:not([hidden])) .tour-bottom-tools{bottom:136px}.tour:has(#tourFooter:not([hidden])) .psv-navbar{bottom:180px}.tour #shareHint{position:absolute;bottom:90px;left:12px;z-index:55;background:#14212b;color:#fff}.tour #shareHint:empty{display:none}#locationDialog{width:min(850px,94vw)}#locationMap iframe{width:100%;height:65vh;border:0;margin-top:10px}.footer-options{display:grid;grid-template-columns:1fr 1fr;gap:4px}.tour .tour-footer button[hidden],.tour .tour-footer strong[hidden]{display:none}

.cover-surface{position:relative;container-type:inline-size;overflow:hidden;background-size:cover;background-position:center}.cover-shade{position:absolute;inset:0;pointer-events:none}.cover-item{position:absolute;display:flex;align-items:center;justify-content:center;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.2;touch-action:none;user-select:none}.cover-image{object-fit:contain}.cover-enter{position:absolute;bottom:8%;left:50%;transform:translateX(-50%);background:#00a6bd;color:white;border:1px solid white;padding:14px 28px;border-radius:30px;font-size:18px}#coverPreview{height:220px;margin:12px 0;background-color:#334653;border:1px solid #789;container-type:inline-size}#tourCover{position:absolute;inset:0;z-index:70}#tourCover[hidden],#coverElementSettings[hidden],#coverTextLabel[hidden],#coverShapeLabel[hidden]{display:none}

/* A single native toolbar hosts both navigation and publication controls. */
.tour .tour-bottom-tools{display:none!important}
.tour .psv-navbar,.tour .flat-controls{bottom:0;background:var(--footer-bg,#14212be6)}
.tour:has(#tourFooter:not([hidden])) .psv-navbar,.tour:has(#tourFooter:not([hidden])) .flat-controls{bottom:136px}
.tour .tour-unified-navbar{display:flex;align-items:center;flex-wrap:nowrap;min-height:40px;height:auto;box-sizing:border-box;padding:0 6px;overflow-x:auto;overflow-y:hidden}
.tour .tour-unified-navbar .tour-tools-left,.tour .tour-unified-navbar .tour-tools-right{display:flex;align-items:center;flex-shrink:0;gap:0;height:40px}
.tour .tour-unified-navbar .tour-tools-right{margin-left:auto}
.tour .tour-unified-navbar button[data-icon-only]{display:flex;align-items:center;justify-content:center;width:36px;height:40px;min-width:36px;margin:0;padding:8px;border:0;border-radius:0;background:transparent;color:rgba(255,255,255,.7);box-shadow:none}
.tour .tour-unified-navbar button[data-icon-only][hidden]{display:none}
.tour .tour-unified-navbar button[data-icon-only]:hover{background:#ffffff20;color:#fff}
.tour .tour-unified-navbar button[data-icon-only] svg{width:22px;height:22px;pointer-events:none}
.tour .tour-unified-navbar #tourFullscreen{width:44px;min-width:44px;padding:6px}
.tour .tour-unified-navbar #tourFullscreen svg{width:28px;height:28px}
#coverEditLayer{position:absolute;inset:0;z-index:55}#coverEditLayer[hidden]{display:none}
.cover-content{width:100%;height:100%;display:flex;align-items:center;justify-content:center;object-fit:contain;pointer-events:none}
.cover-editing .cover-item{cursor:move;overflow:visible}
.cover-selected{outline:1px dashed #00d4e3}
.cover-handle{position:absolute;transform:translate(-50%,-50%);width:12px!important;height:12px!important;min-width:12px;margin:0!important;padding:0!important;border:2px solid white!important;border-radius:2px;background:#008fa6!important;z-index:2;touch-action:none;display:none;cursor:nwse-resize}
.cover-selected .cover-handle{display:block}.cover-selected .cover-vertex{background:#f09b28!important;border-radius:50%;cursor:crosshair;z-index:3}
.cover-selected:has(.cover-vertex) .cover-resize{transform:translate(-50%,-50%) scale(1.8);background:#008fa6!important}

/* Larger controls remain on one baseline, including the audio toggle. */
.tour .tour-unified-navbar{min-height:56px;padding:0 10px}
.tour .tour-unified-navbar .tour-tools-left,.tour .tour-unified-navbar .tour-tools-right{height:56px}
.tour .tour-unified-navbar button[data-icon-only]{width:48px;min-width:48px;height:56px;padding:10px}
.tour .tour-unified-navbar button[data-icon-only] svg{width:28px;height:28px}
.tour .tour-unified-navbar #tourFullscreen{width:54px;min-width:54px;padding:10px}
.tour .tour-unified-navbar #tourFullscreen svg{width:34px;height:34px}
.tour .tour-unified-navbar .psv-button:not(.psv-zoom-range){width:26px;height:26px;padding:12px}
.tour .tour-unified-navbar .psv-move-button+.psv-move-button{margin-left:-6px}
.tour .tour-info-panel{bottom:56px}
.tour #locationDialog{color-scheme:dark;padding:18px;border:1px solid #ffffff25}
.tour #locationDialog #closeLocation{display:block;margin-left:auto;background:#ffffff12;color:inherit;border:1px solid #ffffff40}
.tour #locationDialog #closeLocation:hover{background:#ffffff25}
.editor .cover-controls>button,.editor .cover-controls>.row{margin-top:12px;margin-bottom:12px}
.editor .cover-controls .row{gap:10px;align-items:stretch}
.editor .cover-controls .row>button{width:100%;height:100%;min-height:40px;margin:0;white-space:normal}
.editor #coverElementSettings>.row{margin:12px 0}
.editor #applyCoverTemplate{width:100%;background:#176477;border-color:#24859a;color:#fff;font-weight:bold;min-height:40px}
.editor #applyCoverTemplate:hover{background:#217e91}
.editor #deleteCoverElement{width:100%;margin:2px 0 18px;background:#8a303b;border-color:#b84e5c;color:#fff;min-height:40px}
.editor #deleteCoverElement:hover{background:#a23a48}
.editor .cover-controls>label,.editor #coverElementSettings>label{margin-bottom:12px}
.tour .tour-unified-navbar button[data-icon-only]{box-sizing:border-box}

.tour .tour-unified-navbar button[data-icon-only] svg{display:block;flex:none;filter:none;shape-rendering:geometricPrecision;transform:none;opacity:1}
.tour .tour-unified-navbar button[data-icon-only]{filter:none;text-shadow:none}
.tour .scene-thumbnail-placeholder{display:grid;place-items:center;width:118px;height:78px;background:#ffffff12;color:#ffffffb3;font-size:24px}
.tour #scenes img{content-visibility:auto;contain-intrinsic-size:118px 78px}

.video360-dialog{width:100vw;max-width:none;height:100dvh;max-height:none;inset:0;margin:0;padding:0;border:0;border-radius:0;background:#101113;color:#e9edf0;overflow:hidden}.video360-header{position:absolute;top:0;left:0;right:0;height:62px;z-index:100;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 16px;background:#14212b;color:inherit;border:0}.video360-header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video360-header button{flex-shrink:0;background:#176477;border:1px solid #24859a;color:#fff}.video360-viewer{position:absolute;inset:62px 0 0}.video360-status{position:absolute;left:16px;top:70px;background:#14212b;padding:12px;z-index:20}.video360-status[hidden]{display:none}.video360-dialog .psv-navbar{bottom:0;background:#14212be6}@media(max-width:600px){.video360-header strong{display:none}.video360-header button{width:100%}}

.destination-preview{width:100%;height:100%;position:relative;color:var(--preview-color,#fff);pointer-events:none}
.destination-preview-photo{position:absolute;top:0;left:0;width:100%;height:var(--preview-diameter,64px);border:calc(var(--preview-diameter,64px) * .046875) solid currentColor;border-radius:50%;overflow:hidden;background:#14212b;box-sizing:border-box;box-shadow:0 2px 7px #0005}
.destination-preview-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;user-select:none}
.destination-preview-empty{display:grid;place-items:center;width:100%;height:100%;font:32px Arial}
.destination-preview-stem{position:absolute;left:50%;transform:translateX(-50%);top:calc(var(--preview-diameter,64px) - 1px);bottom:0;width:calc(var(--preview-diameter,64px) * .03125);background:currentColor;box-shadow:0 1px 3px #0005}
.destination-preview-stem:after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:calc(var(--preview-diameter,64px) * .09375);height:calc(var(--preview-diameter,64px) * .09375);border-radius:50%;background:currentColor}

.destination-preview-photo{z-index:1}.destination-preview-stem{z-index:0}
/* A small hover preview keeps the marker position and the pin tip fixed. */
.destination-preview{transform:scale(1);transform-origin:50% 50%;transition:transform 200ms cubic-bezier(.2,.7,.3,1)}
.destination-preview-pin{transform-origin:50% 100%}
@media(hover:hover) and (pointer:fine){
 .psv-marker:hover .destination-preview,.flat-marker:hover .destination-preview{transform:scale(1.12)}
}
.psv-marker:focus-visible .destination-preview,.flat-marker:focus-visible .destination-preview{transform:scale(1.12)}
@media(prefers-reduced-motion:reduce){.destination-preview{transition:none}}

.destination-preview-drone{transform-origin:50% 63%}
.destination-preview-drone .destination-preview-photo{top:calc(var(--preview-diameter,64px) * .37)}
.destination-preview-drone-symbol{position:absolute;top:0;left:22%;width:56%;height:calc(var(--preview-diameter,64px) * .31);display:block;overflow:visible;filter:drop-shadow(0 1px 2px #0007);pointer-events:none}

.destination-preview-pin{--pin-extension:calc(var(--preview-diameter,64px) * var(--pin-extension-factor,.06))}
.destination-preview-pin .destination-preview-photo{top:calc(0px - var(--pin-extension))}
.destination-preview-pin .destination-preview-stem{top:calc(var(--preview-diameter,64px) - 1px - var(--pin-extension))}

.opening-active .psv-navbar,.opening-active .flat-controls,.opening-active .psv-markers{visibility:hidden;pointer-events:none}
.editor #testOpening{width:100%;margin:6px 0;background:#176477;border-color:#24859a;color:white}

.tour .flat-controls.psv-navbar{background:linear-gradient(var(--footer-bg,#14212be6),var(--footer-bg,#14212be6)),#0d151b}
