*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#17243b;background:#f6f8fc;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:#1769e0}.hidden{display:none!important}.brand{display:inline-flex;align-items:center;gap:8px;color:#17243b;text-decoration:none;font-size:inherit;font-weight:inherit;letter-spacing:normal;white-space:nowrap}.brand-symbol{width:34px;height:34px;flex:none;object-fit:contain}.brand-word{font-size:15px;font-weight:800;letter-spacing:.1em;color:#17243b;line-height:1}.brand-divider{width:1px;height:19px;background:#d9dce2;margin:0 2px}.brand-product{font-size:8px;font-weight:800;letter-spacing:.18em;color:#a17c31;line-height:1}.brand-mark{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;color:white;background:linear-gradient(145deg,#4d97ff,#1559c4);font-weight:800}.secure-note{padding:12px 15px;background:#fff5df;border:1px solid #f0daa6;color:#795a1b;border-radius:10px;margin-bottom:20px;font-size:13px}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{background:#fff;border:1px solid #e3e9f1;border-radius:18px;box-shadow:0 16px 50px #162b4812;width:min(450px,100%);padding:30px}.auth-card .brand{margin-bottom:24px}.auth-card .brand-symbol{width:40px;height:40px}.auth-card .brand-word{font-size:17px}.auth-card .brand-product{font-size:9px}.sidebar .brand{gap:6px}.sidebar .brand-symbol{width:31px;height:31px}.sidebar .brand-word{font-size:12px}.sidebar .brand-divider{height:17px;margin:0 1px}.sidebar .brand-product{font-size:7px;letter-spacing:.15em}.viewer-head .brand{gap:6px}.viewer-head .brand-symbol{width:29px;height:29px}.viewer-head .brand-word{font-size:12px}.viewer-head .brand-divider{height:16px}.viewer-head .brand-product{font-size:7px}.auth-card h1{font-size:26px;margin:0 0 8px;letter-spacing:-.6px}.muted{color:#68768b}.small{font-size:12px}.auth-tabs{display:flex;gap:8px;background:#f0f4fa;padding:5px;border-radius:10px;margin:20px 0}.auth-tabs button{flex:1;border:0;background:transparent;border-radius:7px;padding:10px;color:#68768b;font-weight:650}.auth-tabs button.active{background:#fff;color:#155bc0;box-shadow:0 1px 5px #15294116}.field{display:block;font-size:12px;font-weight:700;margin:14px 0 6px}.control{width:100%;padding:11px 12px;border:1px solid #dbe3ed;border-radius:9px;background:#fff;color:#17243b;outline:none}.control:focus{border-color:#5d9cf1;box-shadow:0 0 0 3px #1769e018}.primary,.secondary,.danger{border:0;border-radius:9px;padding:11px 15px;font-weight:680}.primary{background:#1769e0;color:#fff;box-shadow:0 4px 12px #1769e020}.primary:hover{background:#1059c7}.secondary{background:#fff;border:1px solid #dce4ee;color:#35445b}.danger{background:#fff1f1;color:#ac3131}.wide{width:100%;margin-top:18px}.status{min-height:20px;margin:12px 0 0;font-size:13px;color:#b33a34}.app-shell{min-height:100vh;display:grid;grid-template-columns:236px 1fr}.sidebar{background:#fff;border-right:1px solid #e4eaf1;padding:22px 15px;display:flex;flex-direction:column}.sidebar .brand{margin:3px 10px 28px}.workspace-label{margin:0 9px 18px;padding:11px 12px;border:1px solid #e5eaf1;border-radius:10px;color:#758197;font-size:11px}.workspace-label b{display:block;color:#1f2b40;font-size:13px;margin-top:3px}.nav-label{font-size:10px;font-weight:800;letter-spacing:.1em;color:#94a0b2;padding:0 12px;margin:12px 0 7px}.nav-link{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:9px;text-decoration:none;color:#5a687e;font-weight:600;margin:2px 0}.nav-link.active{background:#edf5ff;color:#155ec3}.nav-link span:first-child{width:18px;text-align:center}.sidebar-bottom{margin-top:auto;padding:12px 10px;color:#8490a1;font-size:12px}.main{min-width:0}.topbar{height:66px;background:#fff;border-bottom:1px solid #e5eaf0;display:flex;align-items:center;justify-content:space-between;padding:0 30px}.breadcrumb{font-size:13px;color:#738096}.user-pill{border:1px solid #e2e8ef;border-radius:30px;padding:7px 11px;font-size:12px;color:#48566b}.content{max-width:1200px;margin:auto;padding:31px 30px 48px}.notice{border:1px solid #d6e6ff;background:#f1f7ff;color:#385a8a;border-radius:10px;padding:10px 14px;font-size:12px;margin-bottom:24px}.welcome{display:flex;align-items:center;justify-content:space-between;gap:18px}.welcome h1{font-size:27px;line-height:1.2;margin:0 0 7px;letter-spacing:-.7px}.welcome p{margin:0;color:#68768b}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.card{background:#fff;border:1px solid #e3e9f1;border-radius:13px;box-shadow:0 8px 24px #13284a08}.stat-card{padding:17px 19px}.stat-label{font-size:12px;color:#738096}.stat-number{font-size:24px;font-weight:760;margin-top:4px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:28px 0 13px}.section-head h2{font-size:17px;margin:0}.search{width:210px}.tour-table{overflow:hidden}.tour-row{display:grid;grid-template-columns:minmax(230px,2fr) 1fr 95px 90px;align-items:center;gap:14px;padding:13px 16px;border-bottom:1px solid #edf0f4}.tour-row:last-child{border-bottom:0}.tour-row.header{background:#fbfcfe;color:#8591a2;font-size:10px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.tour-info{display:flex;gap:11px;align-items:center;min-width:0}.tour-thumb{width:57px;height:43px;flex:none;display:grid;place-items:center;color:white;font-size:10px;font-weight:700;border-radius:7px;background:linear-gradient(135deg,#a7c6dc,#496980)}.tour-thumb:nth-child(2n){background:linear-gradient(135deg,#cabfae,#786951)}.tour-info strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.subline{font-size:11px;color:#8793a4}.badge{display:inline-flex;align-items:center;border-radius:20px;padding:4px 9px;font-size:10px;font-weight:700}.badge.live{background:#e8f7ef;color:#18794e}.badge.draft{background:#f0f2f5;color:#657185}.tour-actions{display:flex;gap:6px;justify-content:flex-end}.icon-btn{border:1px solid #e1e7ee;background:white;color:#526176;border-radius:8px;padding:7px 9px;font-size:12px}.empty-state{text-align:center;padding:36px 20px;color:#68768b}.empty-state strong{display:block;color:#26344b;margin-bottom:5px}.editor-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.editor-head h1{font-size:21px;margin:0}.editor-actions{display:flex;gap:8px;align-items:center}.editor-grid{display:grid;grid-template-columns:250px minmax(0,1fr);gap:16px}.scene-panel{padding:14px}.scene-panel h2{font-size:14px;margin:2px 0 12px}.scene-list{display:flex;flex-direction:column;gap:7px;max-height:calc(100vh - 260px);overflow:auto}.scene-item{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:1px solid #e4e9f0;background:#fff;color:#39485f;border-radius:9px;padding:9px}.scene-item.selected{border-color:#6da8f3;background:#f2f7ff}.scene-mini{width:38px;height:30px;border-radius:5px;background:#eaf0f6;object-fit:cover}.scene-title{font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scene-controls{display:flex;gap:7px;margin-top:12px;flex-wrap:wrap}.upload-label{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px dashed #9bb8dd;background:#f7faff;color:#1d5cae;border-radius:9px;padding:10px 11px;font-size:12px;font-weight:650;cursor:pointer}.upload-label input{position:absolute;width:1px;height:1px;opacity:0}.editor-main{min-width:0}.editor-tools{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid #e3e9f1;border-bottom:0;border-radius:12px 12px 0 0;background:#fff}.editor-tools select{max-width:200px;padding:8px;border:1px solid #dce4ed;border-radius:8px;background:#fff;color:#435169}.tool-help{font-size:11px;color:#778499;margin-left:auto}.viewer-wrap{height:min(66vh,650px);min-height:330px;position:relative;overflow:hidden;background:#101722;border-radius:0 0 12px 12px;touch-action:none}.viewer-wrap canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.viewer-wrap canvas:active{cursor:grabbing}.viewer-wrap canvas.placing{cursor:crosshair}.viewer-empty{position:absolute;inset:0;display:grid;place-items:center;color:#ccd6e4;text-align:center;padding:20px;pointer-events:none}.hotspot-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}.hotspot{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:5px;border:0;background:transparent;color:white;padding:0;pointer-events:auto;white-space:nowrap}.hotspot-dot{display:grid;place-items:center;width:30px;height:30px;border:2px solid #fff;border-radius:50%;background:#1769e0;box-shadow:0 2px 8px #0006;font-size:14px}.hotspot-label{background:#17243bdc;padding:4px 7px;border-radius:6px;font-size:10px}.hotspot-hint{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:#14233bcc;color:#fff;padding:7px 10px;border-radius:8px;font-size:11px;white-space:nowrap}.share-box{margin-top:14px;padding:14px;background:#fff;border:1px solid #e3e9f1;border-radius:11px}.share-row{display:flex;gap:8px}.share-row input{min-width:0;flex:1}.field-help{font-size:11px;color:#748197;margin-top:7px}.modal-back{position:fixed;inset:0;z-index:20;background:#10213e66;display:grid;place-items:center;padding:18px}.modal{width:min(480px,100%);padding:23px;background:#fff;border-radius:15px;box-shadow:0 24px 75px #14233c55}.modal h2{font-size:20px;margin:0 0 7px}.modal p{font-size:13px;color:#68768b;margin:0 0 16px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.toast{position:fixed;left:50%;bottom:20px;z-index:40;transform:translateX(-50%);display:none;max-width:calc(100vw - 32px);background:#17243b;color:white;padding:11px 15px;border-radius:9px;box-shadow:0 8px 28px #0f1c3326;font-size:12px}.toast.show{display:block}.viewer-page{background:#101722;color:#fff;min-height:100vh}.viewer-head{height:58px;background:#fff;color:#17243b;display:flex;align-items:center;justify-content:space-between;padding:0 18px}.viewer-head .brand{font-size:16px}.viewer-head .brand-mark{width:25px;height:25px;border-radius:8px}.viewer-title{font-size:13px;font-weight:650;color:#26364f}.public-tour{max-width:1440px;margin:0 auto;padding:12px}.public-tour .viewer-wrap{height:calc(100vh - 110px);min-height:300px;border-radius:12px}.public-scenes{display:flex;gap:8px;overflow:auto;margin-top:10px;padding:3px}.public-scenes button{flex:none;background:#253349;color:#fff;border:1px solid #46556a;border-radius:8px;padding:9px 12px;font-size:12px}.public-scenes button.active{background:#1769e0;border-color:#1769e0}.fullscreen-btn{position:absolute;right:12px;top:12px;z-index:5;border:1px solid #ffffff55;background:#101722aa;color:white;width:36px;height:36px;border-radius:8px;font-size:20px}.public-tour .hotspot-label{display:none}@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.topbar{height:58px;padding:0 16px}.content{padding:22px 16px 34px}.welcome{align-items:flex-start;flex-direction:column}.welcome h1{font-size:23px}.stat-grid{gap:8px}.stat-card{padding:13px}.stat-number{font-size:21px}.editor-grid{grid-template-columns:1fr}.scene-list{flex-direction:row;max-height:none;padding-bottom:3px}.scene-item{min-width:165px}.editor-head{align-items:flex-start;flex-direction:column}.editor-actions{flex-wrap:wrap}.editor-tools{flex-wrap:wrap}.tool-help{width:100%;margin-left:0}.viewer-wrap{height:58vh;min-height:300px}.tour-row{grid-template-columns:minmax(150px,1.5fr) 72px 82px;gap:8px;padding:11px}.tour-row>:nth-child(3){display:none}.tour-row.header>:nth-child(3){display:none}.tour-thumb{width:44px;height:36px}.search{width:150px}.tour-actions .icon-btn{padding:6px}.public-tour{padding:8px}.public-tour .viewer-wrap{height:calc(100dvh - 116px)}.viewer-head{padding:0 12px}}@media(max-width:430px){.stat-grid{grid-template-columns:1fr}.stat-card{display:flex;align-items:center;justify-content:space-between}.stat-number{margin:0}.tour-row{grid-template-columns:minmax(135px,1fr) 58px 52px}.badge{font-size:9px;padding:4px 6px}.tour-actions{gap:3px}.icon-btn{font-size:10px;padding:6px}.editor-tools select{max-width:calc(50vw - 24px)}.viewer-wrap{min-height:260px}}.viewer-wrap canvas:focus-visible{outline:3px solid #7db3ff;outline-offset:-4px}

@media(max-width:430px){.auth-card .brand{gap:6px}.auth-card .brand-symbol{width:34px;height:34px}.auth-card .brand-word{font-size:14px}.auth-card .brand-product{font-size:8px}}
