:root{color-scheme:dark;--bg:#031b2d;--line:#1577a9;--cyan:#10c5ff;--muted:#9ab5cf;--blue:#0873ff}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 45% 0,#113c62 0,#03192b 60%);font:14px 'Segoe UI',Arial,sans-serif;color:#eef7ff}button,a,input,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:2px solid #63dcff;outline-offset:3px}a{color:inherit;text-decoration:none}button{color:inherit;background:transparent;border:0}svg{width:22px;height:22px;vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin:0}h2{font-size:19px}h3{font-size:16px}small{font-size:12px;color:var(--muted)}.top{height:68px;display:flex;align-items:center;gap:28px;justify-content:space-between;padding:0 34px;background:#fff;color:#061b40}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:23px;letter-spacing:-1px}.brand img{width:57px;height:47px;object-fit:contain}.top nav{display:flex;gap:32px;height:100%;align-items:center}.top nav a{height:100%;display:grid;align-items:center;font-weight:600;border-bottom:3px solid transparent}.top nav a:hover,.top nav .active{color:#0873ff;border-color:#0873ff}.contact{color:#0766f3;font-weight:600}main{max-width:1920px;margin:auto;padding:0 16px}.hero{display:flex;align-items:center;gap:19px;min-height:135px;padding:20px}.hero-icon svg{width:65px;height:65px;color:#8acbed}.hero h1{font-size:36px;letter-spacing:-.8px;line-height:1.2;margin-bottom:9px}.hero p{font-size:19px}.preview{font-size:12px;border:1px solid #7cb5d1;border-radius:18px;padding:5px 12px;margin-left:20px;white-space:nowrap;color:#c9e3f4}.hero .tagline{margin-left:auto;font-style:italic;font-size:20px;line-height:1.5;letter-spacing:1px;padding-right:30px;color:#c5e0ef}.layout{display:grid;grid-template-columns:250px minmax(0,1fr) 390px;gap:14px}.panel{border:1px solid #1686bc;border-radius:9px;background:linear-gradient(135deg,#04283e99,#01182b);overflow:hidden}.sidebar>h2{display:flex;gap:10px;align-items:center;padding:21px 16px;border-bottom:1px solid #135677;font-size:18px}.sidebar svg{color:#a3ddff}.factory{font-size:17px;font-weight:600;display:flex;align-items:center;gap:10px;padding:21px 17px}.factory svg{color:#00aaff}#cameras{margin:0 12px 0 25px;padding-left:13px;border-left:1px solid #0f75a5;display:flex;flex-direction:column;gap:9px}#cameras button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:13px 9px;border-radius:7px;font-size:13px}#cameras button:hover{background:#103958}#cameras button.active{background:#0865e0;box-shadow:inset 0 0 0 1px #25baff}#cameras small{margin-left:auto;font-size:10px;color:#c5e7ff}.other{padding:22px 12px;margin-top:24px;border-top:1px solid #145578}.other h3{display:flex;gap:9px;color:var(--muted);margin-bottom:16px}.side-preview{display:block;width:100%;border:1px solid #22668a;border-radius:7px;padding:4px;margin-bottom:12px;text-align:left}.side-preview>span:last-child{display:flex;justify-content:space-between;padding:8px 3px;font-size:12px;font-weight:600}.photo{display:block;background-image:url('/assets/factory-preview.png');background-repeat:no-repeat;background-color:#14344d}.production{background-size:187.45% 254.32%;background-position:36.67% 38.53%}.assembly{background-size:550% 905%;background-position:20.8% 78.7%}.demo{background-size:550% 905%;background-position:43% 78.7%}.packing{background-size:550% 905%;background-position:65% 78.7%}.side-preview .photo{height:105px;border-radius:4px}.center{display:flex;flex-direction:column;gap:12px;min-width:0}.player{position:relative;background:#02121f}.image-stage{aspect-ratio:2.12/1;display:grid}.image-stage .photo{width:100%;height:100%}.image-stage.grid{grid-template-columns:1fr 1fr;aspect-ratio:2.12/1;gap:3px}.image-stage.grid .photo{position:relative}.image-stage.grid .photo span{position:absolute;bottom:8px;left:8px;background:#021d31cc;padding:4px 7px;border-radius:4px;font-size:12px}.video-label{position:absolute;top:12px;left:12px;background:#001829bf;border-radius:5px;padding-right:12px;display:flex;align-items:center;gap:10px;font-weight:600}.video-label b{background:#176287;padding:7px 10px;border-radius:4px;font-size:12px}.image-note{position:absolute;bottom:64px;right:12px;background:#001526a8;border-radius:4px;padding:5px 9px;font-size:11px;color:#d3e2ef}.controls{min-height:52px;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;gap:6px;background:#041d2f}.controls>div{display:flex;gap:6px}.controls button{border:1px solid #48728c;border-radius:5px;padding:6px 9px;font-size:12px;white-space:nowrap}.controls .selected{background:#0769ef;border-color:#18baff}.controls svg{width:17px;height:17px}.camera-state{font-size:11px;color:#afc8db;display:flex;align-items:center;gap:7px}.thumbnails{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.thumb{padding:0;text-align:left;border:1px solid #1c628a;border-radius:7px;overflow:hidden;background:#062237}.thumb:hover,.side-preview:hover{border-color:var(--cyan)}.thumb .photo{height:105px}.thumb>span:last-child{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:9px 10px;font-size:12px}.thumb small{font-size:10px}.product-strip{display:flex;gap:16px;align-items:center;padding:16px 18px;flex:1;min-height:125px}.product-photo{flex-shrink:0;width:180px;height:70px;background:url('/assets/factory-preview.png') 22.2% 96.3%/522.5% 1107% no-repeat}.product-strip h2{font-size:19px;line-height:1.35}.product-strip p{color:var(--muted);font-size:13px;line-height:1.5;margin-top:8px}.button,.primary,.outline{display:inline-flex;gap:9px;align-items:center;justify-content:center;border-radius:6px;padding:11px 14px;font-weight:600}.primary{background:#0873ff;border:1px solid #118dff;color:white}.primary:hover{background:#2189ff}.outline{border:1px solid #00afff;background:#062338}.outline:hover{background:#0e3a55}.product-strip .button{font-size:12px;margin-left:auto;white-space:nowrap}.sales{display:flex;flex-direction:column;min-height:720px}.sales-head{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid #135b7f}.sales-head h2{display:flex;gap:10px;align-items:center}.sales-head svg{color:#00baff}.sales-head>span{font-size:11px;color:#abc5db}.sales-head>span.online{color:#5afc9d}.sales-head>span.online:before{content:'●';margin-right:5px}.agent{display:flex;gap:12px;align-items:center;padding:15px 18px;border-bottom:1px solid #12506e}.portrait{width:52px;height:56px;flex-shrink:0;border-radius:50%;background:url('/assets/factory-preview.png') 75.3% 26.8%/2654% 1404% no-repeat;border:1px solid #93bcd9}.agent strong{font-size:17px}.agent p{font-size:12px;color:var(--muted);margin-top:4px}.agent small{margin-left:auto;font-size:10px;line-height:1.7;text-align:right;max-width:115px}.messages{min-height:220px;height:285px;flex:1;overflow:auto;padding:18px;scrollbar-width:thin;scrollbar-color:#1e5674 transparent}.welcome{text-align:center;display:grid;justify-items:center;gap:12px;padding:25px 12px;color:#aec9df;line-height:1.65}.welcome svg{color:#17baff;width:36px;height:36px}.welcome h3{color:#eef7ff}.message{margin-bottom:18px;display:flex;flex-direction:column;align-items:flex-start}.message .bubble{padding:10px 13px;max-width:92%;border-radius:4px 12px 12px 12px;background:#183c59;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.message.visitor{align-items:flex-end}.message.visitor .bubble{background:#0867e5;border-radius:12px 4px 12px 12px}.message .time{font-size:10px;color:#91b0ca;margin-bottom:5px}.file-download{font-size:12px;color:#6ddcff;margin-top:5px;border:1px solid #2b789c;padding:7px;border-radius:5px}.chat-image{display:block;max-width:220px;max-height:160px;border-radius:6px;margin-top:6px}.mini-product{margin:0 14px 8px;padding:11px 8px;border:1px solid #155e87;border-radius:7px;display:flex;gap:9px;align-items:center}.mini-product .product-photo{width:125px;height:55px;background-size:522.5% 1107%}.mini-product b{font-size:12px}.mini-product small{display:block;font-size:10px;margin:6px 0}.mini-product a{font-size:12px;color:#00c5ff}#chat-form{padding:0 14px}.tools{display:flex;align-items:center;justify-content:space-between;padding:9px 0}.tools button{padding:2px 9px 2px 0;color:#62cfff}.tools small{font-size:10px}.compose{display:flex;gap:7px}.compose textarea{resize:none;flex:1;width:0;min-height:43px;max-height:110px;background:#05253c;color:#eef7ff;border:1px solid #236385;border-radius:6px;padding:11px;outline-offset:1px}.compose textarea::placeholder{color:#8faec8}.send{padding:9px 12px}.consent{display:flex;align-items:flex-start;gap:6px;font-size:10px;line-height:1.5;color:#9dbbd0;margin-bottom:9px}.consent input{accent-color:#0a7aff}#chat-error{color:#ffb7af;font-size:11px;margin:6px 0;line-height:1.5}#file-status{font-size:11px;color:#91d9f5;padding-bottom:5px}.sales-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:5px 14px 0;border-top:1px solid #135675;padding-top:10px}.sales-actions button{font-size:13px;padding:11px 9px}.contact-links{display:flex;justify-content:space-evenly;padding:15px 8px}.contact-links a{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600}.contact-links svg{color:#00c5ff}.contact-links a:last-child svg{color:#55e58e}.foot{display:flex;justify-content:space-between;color:#6f99b5;font-size:11px;padding:13px 2px 18px}.foot span{font-size:10px}[hidden]{display:none!important}@media(min-width:1800px){.layout{grid-template-columns:275px minmax(0,1fr) 450px}.sales{min-height:850px}.messages{height:350px}.thumb .photo{height:125px}.side-preview .photo{height:130px}.product-strip{min-height:140px}}@media(max-width:1350px){.layout{grid-template-columns:210px minmax(0,1fr) 340px}.hero h1{font-size:29px}.hero .tagline{font-size:15px}.hero p{font-size:15px}.preview{display:inline-block;margin:7px 0 0}.product-strip{padding:12px;gap:8px;flex-wrap:wrap}.product-strip .product-photo{width:140px;height:55px}.product-strip h2{font-size:16px}.product-strip .button{padding:8px}.top nav{gap:20px}.brand{font-size:20px}.agent small{display:none}.controls .camera-state{font-size:0}.controls .camera-state svg{font-size:14px}.thumb>span:last-child{padding:7px 5px;font-size:10px}.sidebar>h2{font-size:15px;padding:18px 12px}#cameras{margin-left:10px;padding-left:7px}#cameras button{font-size:12px}.factory{font-size:15px}.product-strip p{font-size:12px}}@media(max-width:1050px){.layout{grid-template-columns:180px minmax(0,1fr)}.sales{grid-column:1/-1;min-height:650px;max-width:100%;}.messages{min-height:250px}.hero .tagline{display:none}.top{padding:0 15px}.top nav{gap:14px;font-size:12px}.brand{font-size:18px}.brand img{width:42px}.contact{font-size:12px}.agent small{display:block}.mini-product{max-width:500px}.sales-actions{max-width:500px}.contact-links{justify-content:flex-start;gap:40px;padding-left:20px}}@media(max-width:620px){main{padding:0 10px}.top{height:auto;min-height:64px;flex-wrap:wrap;gap:4px;padding:10px 14px}.top nav{order:3;width:100%;overflow:auto;height:35px;justify-content:space-between}.brand{font-size:18px}.top .contact{margin-left:auto}.hero{padding:22px 4px;gap:10px;min-height:125px}.hero-icon svg{width:36px;height:45px}.hero h1{font-size:23px}.hero p{font-size:13px}.preview{font-size:10px;padding:4px 8px}.layout{display:flex;flex-direction:column;gap:12px}.sidebar{padding:10px}.sidebar>h2,.sidebar .factory,.other{display:none}#cameras{margin:0;padding:0;border:0;flex-direction:row;gap:5px;overflow:auto}#cameras button{width:auto;min-width:125px;font-size:11px;padding:9px;flex-shrink:0}#cameras small{display:none}.image-stage,.image-stage.grid{aspect-ratio:1.65}.video-label{font-size:10px;left:7px;top:7px;gap:6px}.video-label b{font-size:9px;padding:5px}.image-note{font-size:9px;bottom:60px}.controls{padding:7px;min-height:46px}.controls button{font-size:10px;padding:6px}.camera-state{max-width:25px}.thumbnails{gap:5px}.thumb .photo{height:75px}.thumb small{display:none}.thumb>span:last-child{font-size:9px;min-height:30px}.product-strip{display:grid;grid-template-columns:100px 1fr;padding:12px}.product-strip .product-photo{width:100px;height:50px}.product-strip .button{grid-column:2;margin:0;justify-self:start}.product-strip h2{font-size:14px}.product-strip p{font-size:11px}.sales{min-height:730px}.sales-head h2{font-size:19px}.agent small{font-size:10px}.foot{line-height:1.6;gap:15px}.foot span{max-width:210px;text-align:right}}
#stage{position:relative}.live-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#001320}.media-status{position:absolute;bottom:62px;left:12px;right:12px;padding:9px 12px;border:1px solid #2d7495;border-radius:6px;background:#05233deb;font-size:11px;color:#cae7f5;pointer-events:none}.media-status[hidden]{display:none}.video-actions{display:flex;gap:5px}.controls{flex-wrap:wrap}.video-actions button{font-size:11px;padding:6px 8px}.controls .camera-state{display:none}#player:fullscreen{display:flex;flex-direction:column}#player:fullscreen .image-stage{flex:1;aspect-ratio:auto}#player:fullscreen .controls{flex-shrink:0}@media(max-width:620px){.controls{justify-content:space-between}.video-actions button{font-size:9px;padding:6px 5px}.controls>div{gap:3px}.controls button{font-size:9px;padding:6px 5px}.media-status{bottom:58px;font-size:10px;padding:7px}}
