/* UBTracker V9: compact corporate navigation + immersive bilingual product showroom.
 * One model at a time on catalog; dedicated Three.js in the configurators. */
:root{--ub9-ink:#0d2333;--ub9-dark:#071c29;--ub9-dark2:#0d2939;--ub9-line:#dbe2e7;--ub9-text:#eff7fa;--ub9-muted:#a8bfcc;--ub9-orange:#e99565}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:90px}
.ub-dnav{position:sticky;top:0;z-index:80;width:100%;height:72px;background:rgba(255,255,255,.98);border-bottom:1px solid #e2e7eb;box-shadow:0 1px 0 #fff5;backdrop-filter:blur(16px);color:#152c3b;font-family:Inter,Arial,system-ui,sans-serif}
.ub-dnav-inner{width:min(1560px,calc(100% - 50px));height:100%;margin:auto;display:flex;align-items:center;gap:28px}
.ub-dnav-logo{display:flex;align-items:center;flex:0 0 auto}
.ub-dnav-logo img{height:auto;width:138px;max-height:47px;object-fit:contain;display:block}
.ub-dnav-links{display:flex;justify-content:center;align-items:center;gap:clamp(13px,2vw,32px);flex:1;min-width:0;height:100%}
.ub-dnav-links a{align-items:center;display:inline-flex;height:100%;font-weight:680;font-size:13px;white-space:nowrap;text-decoration:none;color:#435463;border-bottom:2px solid transparent;transition:color .16s,border-color .16s}
.ub-dnav-links a:hover,.ub-dnav-links a:focus-visible{color:#142d42}
.ub-dnav-links a.ub-dnav-active{color:#132c40;border-color:var(--ub9-orange)}
.ub-dnav-actions{display:flex;align-items:center;gap:18px;flex:0 0 auto}
.ub-dnav-langs{display:flex;align-items:center;gap:8px;border-left:1px solid #d5dce3;padding-left:17px;color:#afb8c1}
.ub-dnav-langs a{text-decoration:none;font-size:11px;font-weight:850;letter-spacing:.06em;color:#919fa9;padding:8px 2px}
.ub-dnav-langs a[aria-current=page]{color:#152d3d}
.ub-dnav-cta{display:inline-flex;align-items:center;gap:19px;padding:13px 16px;background:#172b3d;color:#fff!important;font-weight:730;font-size:12px;text-decoration:none;white-space:nowrap;transition:background .2s}
.ub-dnav-cta:hover{background:#305169}
.ub-dnav-mobile{display:none;position:relative}
.ub-dnav-mobile summary{list-style:none;cursor:pointer;width:40px;height:40px;display:grid;place-items:center;border:1px solid #cfd9e0}
.ub-dnav-mobile summary::-webkit-details-marker{display:none}
.ub-dnav-mobile svg{width:23px;height:23px;stroke:#1f384c;fill:none;stroke-width:1.8;stroke-linecap:round}
.ub-dnav-mobile nav{position:absolute;top:calc(100% + 16px);right:0;width:min(295px,calc(100vw - 22px));display:flex;flex-direction:column;background:#fff;border:1px solid #d9e2e6;box-shadow:0 23px 65px #09233124;padding:8px;z-index:100}
.ub-dnav-mobile nav a{display:block;color:#1c3242;font-size:14px;text-decoration:none;font-weight:700;padding:13px;border-bottom:1px solid #e6ebee}
.ub-dnav-mobile nav a:last-child{border-bottom:none}
.ub-dnav a:focus-visible,.ub-dnav summary:focus-visible{outline:2px solid #d77c4a;outline-offset:3px}
@media(max-width:1280px){.ub-dnav-inner{gap:15px}.ub-dnav-links{gap:10px}.ub-dnav-links a{font-size:11px}.ub-dnav-cta{padding:12px;gap:8px}}
@media(max-width:1120px){.ub-dnav-links{display:none}.ub-dnav-mobile{display:block}.ub-dnav-inner{justify-content:space-between}.ub-dnav-actions{margin-left:auto}}
@media(max-width:650px){.ub-dnav{height:62px}.ub-dnav-inner{width:calc(100% - 30px);gap:10px}.ub-dnav-logo img{width:113px}.ub-dnav-cta{display:none}.ub-dnav-actions{gap:10px}.ub-dnav-langs{padding-left:10px}}

/* Standalone catalog adopts the same material story as the Three.js product demos. */
body.ub-v9cat{margin:0;background:#071c2a;color:var(--ub9-text);font-family:Inter,Arial,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
.ub-v9cat button,.ub-v9cat a{font:inherit}
.ub-v9cat a:focus-visible,.ub-v9cat button:focus-visible,.ub-v9cat canvas:focus-visible{outline:3px solid var(--ub9-orange);outline-offset:3px}
.ub-v9cat p{line-height:1.65}
.ub-v9-hero{width:min(1560px,calc(100% - 50px));margin:auto;display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);align-items:center;gap:clamp(35px,4vw,70px);padding:clamp(52px,6vw,94px) 0 105px;position:relative}
.ub-v9-hero::after{content:"";position:absolute;left:0;bottom:38px;width:100%;height:1px;background:linear-gradient(90deg,#31485c,transparent)}
.ub-v9-lead{position:relative;z-index:1;align-self:center}
.ub-v9-kicker{font-size:11px;letter-spacing:.2em;color:var(--ub9-orange);font-weight:800;display:inline-flex;align-items:center;gap:12px}
.ub-v9-orange-line{width:27px;height:2px;background:var(--ub9-orange);display:inline-block}
.ub-v9-lead h1{font-size:clamp(49px,5.6vw,95px);line-height:.975;letter-spacing:-.073em;font-weight:760;color:#eef6f9;margin:25px 0 24px;max-width:770px;text-wrap:balance}
.ub-v9-lead h1 span{color:var(--ub9-orange)}
.ub-v9-lead>p{font-size:clamp(15px,1.15vw,18px);max-width:575px;color:#b4c9d5;margin:0;line-height:1.75}
.ub-v9-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:35px;align-items:center}
.ub-v9-maincta,.ub-v9-mincta{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;text-decoration:none;font-weight:770;font-size:13px;padding:16px 19px;min-height:54px}
.ub-v9-maincta{background:var(--ub9-orange);color:#102535}
.ub-v9-maincta:hover{background:#ffb285}
.ub-v9-mincta{color:#e8f2f5;border:1px solid #4c6677;background:rgba(255,255,255,.025)}
.ub-v9-mincta:hover{background:#18354a}
.ub-v9-hero-stats{margin-top:58px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:625px;border-top:1px solid #344b59;padding-top:24px;gap:20px}
.ub-v9-hero-stats span{color:#afc3cd;font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.06em;line-height:1.6}
.ub-v9-hero-stats span:not(:last-child){border-right:1px solid #2d4555;padding-right:8px}
.ub-v9-stage-shell{min-width:0;background:#0b2738;border:1px solid #304b5c;box-shadow:0 25px 85px rgba(0,0,0,.32);overflow:hidden}
.ub-v9-stage-head{min-height:93px;padding:20px 26px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.ub-v9-stage-head>div{display:grid;gap:6px}
.ub-v9-stage-kicker{font-size:10px;letter-spacing:.17em;color:#f0a273;font-weight:820}
.ub-v9-stage-head strong{font-size:clamp(21px,1.75vw,29px);letter-spacing:-.035em;color:#f4f9fb}
.ub-v9-live{font-size:9px;font-weight:850;letter-spacing:.17em;color:#d8e8eb;border:1px solid #486273;padding:10px 12px;white-space:nowrap}
.ub-v9-live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#50cfa3;box-shadow:0 0 0 3px #50cfa329;margin-right:9px}
.ub-v9-stage{height:clamp(380px,37vw,600px);position:relative;overflow:hidden;isolation:isolate;background:#d0dae0 url('/demos/assets/environments/conveyors-showroom-v4.png') center/cover no-repeat}
.ub-v9-stage[data-kind=racks]{background-image:url('/demos/assets/environments/racks-warehouse-v4.png')}
.ub-v9-stage::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(7,20,31,.04),transparent 50%,rgba(7,20,31,.2));pointer-events:none}
.ub-v9-stage canvas{position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-3px;background:transparent}
.ub-v9-stage canvas:active{cursor:grabbing}
.ub-v9-stage img{position:absolute;z-index:1;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;filter:none;transition:opacity .3s}
.ub-v9-stage img.is-hidden{opacity:0;pointer-events:none}
.ub-v9-floor-tag{position:absolute;left:19px;top:20px;z-index:3;letter-spacing:.12em;font-size:9px;color:#ecf5f9;background:#0b2539b0;padding:10px 12px;border:1px solid #ffffff23;pointer-events:none;font-weight:750}
.ub-v9-loading{position:absolute;z-index:5;inset:0;display:grid;place-items:center;background:#0d26373a;color:#eef6fb;font-size:12px;text-align:center;padding:20px;pointer-events:none}
.ub-v9-loading[hidden]{display:none!important}
.ub-v9-viewer-tools{position:absolute;right:15px;bottom:15px;z-index:4;display:flex;gap:5px}
.ub-v9-viewer-tools button{display:grid;place-items:center;width:41px;height:41px;font-size:21px;background:#092439da;border:1px solid #e7f0f733;color:#fff;cursor:pointer}
.ub-v9-viewer-tools button:hover{background:#183e55}
.ub-v9-stage-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:63px;padding:12px 20px;background:#142f40;border-top:1px solid #3c5667}
.ub-v9-stage-bottom span{font-size:11px;color:#b8cbd5}
.ub-v9-stage-bottom a{font-size:12px;font-weight:850;color:#f4aa7c;text-decoration:none;white-space:nowrap}
.ub-v9-stage-bottom a span{color:inherit}
.ub-v9-stage-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #355267}
.ub-v9-stage-tab{border:0;border-right:1px solid #345165;border-bottom:3px solid transparent;cursor:pointer;text-align:left;display:flex;gap:9px;align-items:center;padding:19px 14px;background:#102a3b;color:#b5c7d3;font-size:12px!important;font-weight:760;min-height:71px;transition:background .18s,color .18s}
.ub-v9-stage-tab:last-child{border-right:0}
.ub-v9-stage-tab span{font-size:9px;color:#f1a071;font-weight:850;letter-spacing:.1em}
.ub-v9-stage-tab:hover{background:#1b394a;color:#fff}
.ub-v9-stage-tab.is-active{border-bottom-color:var(--ub9-orange);background:#244557;color:#fff}
.ub-v9-product-section{width:min(1560px,calc(100% - 50px));margin:0 auto;padding:30px 0 107px}
.ub-v9-section-title{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:33px}
.ub-v9-section-title h2{font-size:clamp(37px,3.65vw,62px);line-height:1.05;letter-spacing:-.06em;color:#f2f7fa;margin:16px 0 0;max-width:760px}
.ub-v9-section-title p{color:#adc3cf;max-width:400px;font-size:14px;margin:0}
.ub-v9-cardgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.ub-v9-card{min-width:0;overflow:hidden;background:#0d293a;border:1px solid #294b60;transition:transform .2s,box-shadow .2s,border-color .2s}
.ub-v9-card:hover{transform:translateY(-5px);border-color:#d68c5c;box-shadow:0 19px 52px #0005}
.ub-v9-card>a{color:inherit;text-decoration:none;display:block;height:100%}
.ub-v9-card-image{position:relative;height:clamp(220px,21.3vw,356px);overflow:hidden;background:linear-gradient(140deg,#dae3e9,#a7b4c0)}
.ub-v9-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.ub-v9-card:hover .ub-v9-card-image img{transform:scale(1.035)}
.ub-v9-card-id{position:absolute;left:19px;top:19px;font-size:9px;letter-spacing:.15em;font-weight:850;padding:9px 12px;color:#fff;background:#0a2431c9;border:1px solid #ffffff30}
.ub-v9-card-round{position:absolute;right:16px;bottom:16px;width:43px;height:43px;background:var(--ub9-orange);color:#0b2231;display:grid;place-items:center;font-size:19px}
.ub-v9-card-copy{padding:24px 25px 27px;display:flex;flex-direction:column;min-height:249px}
.ub-v9-card-copy>span{color:#ed9b68;font-size:10px;letter-spacing:.15em;font-weight:850}
.ub-v9-card-copy h3{color:#f0f7fa;font-size:clamp(23px,2.2vw,33px);line-height:1.1;letter-spacing:-.045em;margin:12px 0 9px}
.ub-v9-card-copy p{color:#b0c3ce;font-size:13px;margin:0;line-height:1.7;flex:1}
.ub-v9-card-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #355467;padding-top:18px;margin-top:25px;color:#eaa174;font-weight:790;font-size:12px}
.ub-v9-bottom{background:linear-gradient(105deg,#102f41,#081c2b);border-top:1px solid #355367;border-bottom:1px solid #3b5160}
.ub-v9-bottom-grid{width:min(1560px,calc(100% - 50px));margin:auto;padding:75px 0;display:flex;justify-content:space-between;align-items:center;gap:45px}
.ub-v9-bottom h2{color:#f2f8fa;font-size:clamp(34px,3.1vw,49px);letter-spacing:-.05em;line-height:1.1;margin:14px 0}
.ub-v9-bottom p{color:#b4c5ce;max-width:730px;font-size:14px;margin:0}
.ub-v9-bottom a{background:var(--ub9-orange);color:#082333;display:flex;gap:42px;align-items:center;justify-content:space-between;white-space:nowrap;padding:18px 20px;font-weight:850;text-decoration:none;font-size:13px}
.ub-v9-footer{width:min(1560px,calc(100% - 50px));margin:0 auto;display:flex;gap:22px;align-items:center;justify-content:space-between;color:#879faf;padding:24px 0 32px;font-size:11px}
.ub-v9-footer a{color:#d9e4eb;text-decoration:none}
/* Existing Three.js configurators: preserve all V8 materials, lighting, orbit and layout. */
body.demo-v7 .ub-dnav{z-index:90}
body.demo-v7 .work-page{padding-top:28px}
body.demo-v7 .work-topline{margin-bottom:15px}
body.demo-v7 .stage-head{padding-top:20px;padding-bottom:18px}
body.demo-v7 .stage-canvas-wrap{height:clamp(460px,42vw,690px)}
body.demo-v7 .stage-toolbar{gap:9px}
body.demo-v7 .settings .settings-head h3{color:#f2f7fa}
body.demo-v7 .stage-canvas-wrap .model-hint{font-size:10px}
@media(min-width:1500px){body.demo-v7 .work-page{width:min(1740px,100%)}}
@media(max-width:1180px){.ub-v9-hero{gap:25px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.ub-v9-lead h1{font-size:clamp(45px,5vw,75px)}.ub-v9-stage-tab{font-size:10px!important;padding:13px 8px}}
@media(max-width:970px){.ub-v9-hero{grid-template-columns:1fr;gap:38px;padding:48px 0 77px}.ub-v9-lead h1{max-width:780px;font-size:clamp(48px,9vw,80px)}.ub-v9-hero-stats{margin-top:26px}.ub-v9-stage{height:clamp(420px,60vw,600px)}.ub-v9-stage-tab{font-size:12px!important;padding:16px}.ub-v9-cardgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.ub-v9-section-title{flex-direction:column;align-items:start;gap:17px}.ub-v9-product-section{padding-bottom:75px}}
@media(max-width:660px){.ub-v9-hero,.ub-v9-product-section,.ub-v9-bottom-grid,.ub-v9-footer{width:calc(100% - 30px)}.ub-v9-hero{padding-top:43px;padding-bottom:69px;gap:29px}.ub-v9-lead h1{font-size:clamp(43px,11vw,63px);margin:19px 0}.ub-v9-lead>p{font-size:14px}.ub-v9-actions{margin-top:25px}.ub-v9-maincta,.ub-v9-mincta{width:100%;min-height:49px}.ub-v9-hero-stats{display:flex;flex-wrap:wrap;gap:12px;margin-top:23px;padding-top:18px}.ub-v9-hero-stats span{border-right:none!important;background:#123247;padding:9px 11px;font-size:9px}.ub-v9-stage-head{min-height:76px;padding:15px}.ub-v9-stage-head strong{font-size:21px}.ub-v9-stage{height:clamp(375px,95vw,495px)}.ub-v9-stage-bottom{min-height:58px;padding:12px 14px}.ub-v9-stage-bottom>span{display:none}.ub-v9-stage-bottom>a{margin-left:auto}.ub-v9-stage-tabs{grid-template-columns:1fr 1fr 1fr}.ub-v9-stage-tab{font-size:10px!important;display:grid;gap:3px;justify-content:center;text-align:center;padding:12px 6px;min-height:65px}.ub-v9-section-title h2{font-size:38px}.ub-v9-cardgrid{grid-template-columns:1fr;gap:16px}.ub-v9-card-image{height:280px}.ub-v9-card-copy{min-height:200px}.ub-v9-bottom-grid{flex-direction:column;align-items:stretch;gap:23px;padding:57px 0}.ub-v9-bottom a{justify-content:space-between}.ub-v9-footer{flex-direction:column;align-items:start}.ub-v9-stage-shell{margin-inline:-2px}.ub-v9-hero::after{bottom:32px}body.demo-v7 .stage-canvas-wrap{height:min(65vh,560px)}body.demo-v7 .model-hint{max-width:65%;font-size:9px!important}}
@media(prefers-reduced-motion:reduce){.ub-v9-card,.ub-v9-card-image img,.ub-dnav-links a{transition:none}}
@media print{.ub-dnav,.ub-v9cat .ub-v9-stage-shell{display:none!important}}
