:root{color-scheme:dark;color:#e9eef2;background:#0e1012;--blue:#00c9df;--line:#39424b}main{grid-template-columns:minmax(0,1fr) 390px;height:calc(100dvh - 66px);padding:12px;gap:14px}.panel{grid-column:2;grid-row:1;background:#151719;border-radius:9px}.stage{grid-column:1;grid-row:1}.tabs,.actions{background:#111416}.tab{color:#d6dfe5}.scroll{padding:16px}.panel input:not([type=checkbox]),.panel textarea,.panel select{background:#23272b;color:#eff5f8;border-color:#47515d}button{background:#242b30;color:#e6edf2;border-color:#46535e}button:hover{background:#313d45}.primary{background:#006a7a;color:white;border-color:#00bfd3}.primary:hover{background:#008194}.hint{color:#acbfcc}.badge,.stat,.modalbar{background:#192127;color:#d6e6ef;border-color:#39424b}#capture{margin-bottom:14px}#home{margin-top:12px}input[type=file]::file-selector-button{background:#00c9df;color:#00171b;border:0;border-radius:5px;padding:9px;cursor:pointer}.check{font-size:13px}#presentationFields .row{gap:10px}#presentationFields input[type=color]{height:38px;padding:4px}#presentationFields output{float:right}#presentationFields details{margin-top:12px}#presentationFields .format-bar{display:grid;grid-template-columns:1fr 76px;gap:8px}#presentationFields .format-flags{display:flex;gap:18px}#presentationFields textarea{min-height:76px}a{color:#00d4e3}.error{color:#ff9c9c!important}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #00d4e3;outline-offset:2px}@media(max-width:1000px){main{grid-template-columns:minmax(0,1fr) 340px}}@media(max-width:760px){main{display:flex;flex-direction:column;height:auto}.stage{order:0;height:55dvh;min-height:330px}.panel{order:1}.scroll{max-height:65dvh}fieldset{margin-bottom:14px}}
.row:has(#moveSpeed){align-items:end}.row:has(#moveSpeed) label{min-height:36px;display:flex;align-items:end}.photo-filters{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 14px}.photo-filters .active{background:#006a7a;border-color:#00c9df}#photoTreatment input[type=range]{margin:8px 0}#publish button.wide{margin:5px 0}#photoReview{font-size:13px;line-height:1.6;margin:12px 0;padding:12px;border:1px solid #46535e;border-radius:6px}header a.pv-brand{cursor:pointer}header a.pv-brand:focus-visible{outline:2px solid #00d4e3;outline-offset:5px}

#previewDialog{border:0;overflow:hidden;border-radius:14px}#previewDialog .modalbar{position:absolute;top:10px;right:10px;z-index:10;height:auto;padding:0;background:transparent}#previewDialog .modalbar strong{display:none}#previewDialog #closePreview{background:#192127ed;color:#edf5fa;border:1px solid #526471;padding:8px 12px}#previewDialog #visitor{display:block;width:100%;height:100%;border:0}

#canvas-wrap>.tour-brand{position:absolute;z-index:40;max-width:45%;max-height:35%;object-fit:contain;user-select:none}
