:root { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #24292e; --scene-background:#c7cdd1; background: var(--scene-background); font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
.showcase { width: min(100%, 1440px); margin: auto; }
.heading { padding: clamp(22px, 4vw, 52px) clamp(22px, 4vw, 60px) 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .16em; font-weight: 650; }
.brand-mark { display: inline-block; width: 9px; height: 9px; background: #f36a25; border-radius: 50%; }
.divider { color: #b5bbc0; margin: 0 3px; }
h1 { margin: 14px 0 0; font-size: clamp(23px, 3vw, 38px); letter-spacing: -.045em; line-height: 1.15; font-weight: 500; }
.stage { position: relative; height: clamp(360px, 70dvh, 640px); }
model-viewer { display: block; width: 100%; height: 100%; background: transparent; --poster-color: transparent; --progress-bar-color: #f36a25; outline-offset: -4px; }
model-viewer:focus-visible { outline: 2px solid #ca4b0c; }
.stage-label { position: absolute; bottom: 28px; left: clamp(22px, 4vw, 60px); pointer-events: none; color: #8a939b; letter-spacing: .06em; font-size: 12px; }
.load-indicator { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); padding: 12px 18px; color: #545d66; background: #f6f7f8e8; border-radius: 32px; font-size: 13px; }
model-viewer[aria-busy="false"] .load-indicator { display: none; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 clamp(22px,4vw,60px) 28px; }
.hint { max-width: 390px; margin: 0; color: #68727b; font-size: 12px; line-height: 1.65; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
button, .viewer-error a { font: inherit; font-size: 12px; color: #343b42; padding: 11px 15px; border: 1px solid #d9dde1; background: transparent; border-radius: 24px; cursor: pointer; white-space: nowrap; line-height: 1.2; }
button:hover { background: #eaeef0; border-color: #bdc5cb; }
button:focus-visible, a:focus-visible { outline: 2px solid #ca4b0c; outline-offset: 3px; }
button[aria-pressed="true"] { background: #293138; border-color: #293138; color: white; }
.viewer-error { position: absolute; inset: 0; background: #f6f7f8; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 14px; font-size: 14px; text-align: center; padding: 24px; }
.viewer-error p { margin: 0; }
[hidden] { display: none !important; }
noscript { display: block; padding: 20px; text-align: center; }
.embed .heading { display: none; }
.embed .showcase { display: flex; flex-direction: column; height: var(--viewer-height, 100dvh); }
.embed .stage { flex: 1; height: auto; min-height: 250px; max-height: none; }
.embed .toolbar { flex: none; min-height: 78px; padding: 0 22px 16px; }
.stage:fullscreen { background: #f6f7f8; height: 100dvh; }
@media (max-width: 620px) {
  .heading { padding-bottom: 8px; }
  .stage { height: 380px; }
  .toolbar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hint { max-width: 100%; }
  .actions { gap: 6px; }
  button { min-height: 44px; padding: 11px 13px; }
  .embed .hint { display: none; }
  .embed .toolbar { align-items: center; justify-content: center; min-height: 70px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

.hotspot { width:44px; height:44px; padding:0; border:0; background:transparent; display:grid; place-items:center; border-radius:50%; }
.hotspot:hover { border:0; background:transparent; }
.hotspot span { width:25px; height:25px; border-radius:50%; display:grid; place-items:center; color:#fff; background:#d65b20; border:2px solid #fff; box-shadow:0 2px 10px #17212b36; font-size:11px; font-weight:650; }
.hotspot[aria-pressed="true"] span { background:#253a4b; box-shadow:0 0 0 4px #ffffffa8; }
.system-nav { display:flex; gap:7px; align-items:center; padding:4px clamp(22px,4vw,60px) 18px; overflow-x:auto; scrollbar-width:thin; flex:none; }
.system-nav button { font-size:11px; padding:10px 13px; }
.system-nav button span { display:inline-grid; width:17px; height:17px; place-items:center; color:#bc4d17; margin-right:4px; }
.system-nav button[aria-pressed="true"] span { color:#fff; }
.info-panel { position:absolute; z-index:20; left:22px; right:auto; top:18px; width:302px; max-height:calc(100% - 36px); overflow:auto; background:#fff; border:1px solid #e1e5e8; border-radius:17px; padding:18px 20px 22px; box-shadow:0 12px 45px #14212e20; text-align:left; }
.info-top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:11px; }
.info-top p { font-size:9px; letter-spacing:.12em; color:#9a4a25; font-weight:650; margin:0; }
#close-info { display:grid; place-items:center; border:0; padding:0; width:34px; height:34px; min-height:34px; font-size:24px; color:#6b747c; border-radius:50%; }
.info-panel h2 { font-size:22px; font-weight:500; line-height:1.16; letter-spacing:-.025em; margin:0 0 13px; }
.info-description { font-size:13px; line-height:1.7; color:#56616b; margin:0 0 16px; }
.info-facts { margin:0 0 21px; padding-left:17px; font-size:12px; line-height:1.6; color:#34424e; }
.info-facts li { margin-bottom:7px; }
.info-facts li::marker { color:#e36c2d; }
.product-link { font-size:12px; font-weight:600; color:#b64a17; text-decoration:none; display:flex; align-items:center; justify-content:space-between; padding-top:14px; border-top:1px solid #edf0f2; }
.product-chat-open { display:block; width:100%; margin:0 0 14px; padding:12px 16px; border:0; border-radius:10px; background:#ed5a13; color:#fff; font-size:13px; font-weight:600; }
.product-chat-open:hover { background:#cd470b; }
.info-panel.is-chat { display:flex; flex-direction:column; height:min(560px,calc(100% - 36px)); padding-bottom:14px; }
.product-chat { display:flex; flex:1; min-height:0; flex-direction:column; }
#product-chat-back { align-self:flex-start; padding:5px 0; margin-bottom:12px; border:0; border-radius:0; color:#b64a17; font-size:11px; }
.product-chat .aa-notice { flex:none; max-height:35%; margin:0 0 12px; padding:8px 10px; font-size:10px; }
.product-chat .aa-notice .aa-analytics { margin:8px 0 0; }
.product-chat .aa-messages { flex:1; min-height:65px; max-height:none; padding:10px; gap:10px; }
.product-chat .aa-message { padding:9px 10px; margin:0; font-size:12px; line-height:1.6; }
.product-chat .aa-form { display:flex; flex:none; flex-direction:row; margin:12px 0 0; gap:6px; }
.product-chat .aa-form input,.product-chat .aa-form textarea { min-width:0; flex:1; width:100%; border:1px solid #acbac4; border-radius:9px; padding:10px; font:inherit; font-size:12px; }
.product-chat .aa-form button { padding:10px 12px; font-size:12px; }
.portrait { display:block; flex:none; width:74px; height:94px; border-radius:7px; background:#edf0f1; overflow:hidden; }
.person-heading { display:flex; gap:13px; align-items:center; margin-bottom:20px; }
.person-heading h2 { font-size:19px; margin-bottom:6px; }
.person-role { font-size:11px; line-height:1.4; color:#73808a; margin:0; }
.contact-links { display:flex; flex-direction:column; gap:12px; }
.contact-links a { font-size:12px; color:#32485b; overflow-wrap:anywhere; text-decoration:none; }
.person-switch { display:flex; gap:5px; flex-wrap:wrap; padding-top:20px; }
.person-switch button { font-size:10px; padding:9px 10px; }
.team-list { display:flex; flex-direction:column; gap:8px; }
.team-list button { display:flex; align-items:center; gap:12px; text-align:left; border-radius:10px; padding:9px; }
.team-list .portrait { width:44px; height:56px; }
.team-list strong { display:block; font-size:12px; font-weight:500; margin-bottom:5px; }
.team-list small { display:block; font-size:10px; color:#6e7c87; }
.embed .system-nav { padding:4px 22px 12px; }
.embed .stage { min-height:200px; }
@media (max-width:620px) {
  .info-panel { right:12px; left:12px; top:12px; width:auto; max-height:calc(100% - 24px); padding:15px 17px 19px; }
  .info-panel h2 { font-size:20px; }
  .system-nav { gap:6px; padding:3px 22px 14px; }
  .system-nav button { min-height:40px; }
  .hotspot span { width:23px; height:23px; font-size:10px; }
}
.rail-probe { width:0; height:0; visibility:hidden; pointer-events:none; }
.worker-grab,.worker-grab:hover { width:32px; height:44px; min-height:44px; padding:0; border:0; border-radius:10px; cursor:grab; background:transparent; touch-action:none; }
.worker-grab span { opacity:0; color:#fff; background:#293138d9; border-radius:15px; padding:2px 5px; font-size:16px; }
.worker-grab:hover span,.worker-grab:focus-visible span { opacity:1; }
model-viewer.is-dragging .worker-grab { cursor:grabbing; }
model-viewer.is-dragging { cursor:grabbing; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.info-panel.cards-panel { width:min(520px,calc(100% - 44px)); padding:18px 20px 20px; }
.cards-panel .info-top { margin-bottom:4px; }
.cards-panel h2 { font-size:24px; margin-bottom:10px; }
.cards-panel .info-description { font-size:12px; line-height:1.5; margin-bottom:12px; }
.cards-panel .placement-link { min-height:0; font-size:11px; padding:10px 12px; margin-bottom:16px; }
.info-panel.product-panel { width:min(480px,calc(100% - 44px)); }
.product-preview { position:relative; margin:0 0 18px; border:1px solid #e4e8eb; border-radius:12px; overflow:hidden; background:radial-gradient(ellipse at center,#fff,#edf0f2); }
.product-model { height:290px; width:100%; touch-action:none; }
.product-gesture { font-size:10px; line-height:1.5; color:#68757f; margin:0; padding:9px 12px; background:#ffffffb8; text-align:center; }
.product-loading { position:absolute; inset:0; display:grid; place-items:center; font-size:12px; color:#68757f; }
.product-error { margin:12px; font-size:12px; color:#a33f19; }
.card-sides { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:20px 0; }
.card-sides figure { margin:0; min-width:0; }
.card-sides img { display:block; width:100%; height:auto; aspect-ratio:9/5; border:1px solid #e0e5e8; border-radius:5px; box-shadow:0 3px 10px #18263312; }
.card-sides figcaption { color:#78838c; font-size:10px; margin-top:7px; }
.rail-control { padding:14px 0 18px; border-top:1px solid #edf0f2; }
.rail-control label { font-size:12px; color:#34424e; }
.rail-control input { display:block; width:100%; margin:14px 0 7px; accent-color:#d65b20; cursor:ew-resize; }
.rail-control p { color:#78838c; font-size:11px; line-height:1.5; margin:0; }
.offer-note { color:#78838c; font-size:10px; line-height:1.6; margin:12px 0 0; }
.info-top { position:sticky; top:0; z-index:3; background:#fff; box-shadow:0 -18px 0 9px #fff; }
.team-card-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; }
.cards-panel .team-card strong,.cards-panel .team-card small,.cards-panel .card-side-label { display:none; }
.cards-panel .team-link { margin-top:12px; padding-top:10px; font-size:11px; }
.placement-link { margin:0 0 18px; font-size:11px; color:#b64a17; border-color:#edc5ae; }
.team-card { min-width:0; }
.team-card-grid .card-flip { display:block; width:100%; min-height:0; aspect-ratio:9/5; perspective:1000px; border:0; border-radius:5px; padding:0; background:transparent; color:inherit; white-space:normal; }
.card-flip-inner { display:block; position:relative; width:100%; height:100%; transform-style:preserve-3d; transition:transform .55s cubic-bezier(.2,.7,.25,1); }
.card-flip.is-flipped .card-flip-inner { transform:rotateY(180deg); }
.card-face { position:absolute; inset:0; display:block; backface-visibility:hidden; -webkit-backface-visibility:hidden; }
.card-back { transform:rotateY(180deg); }
.team-card-grid img { display:block; width:100%; height:100%; object-fit:contain; border:1px solid #d9dfe3; border-radius:4px; box-shadow:0 3px 10px #18263312; }
.team-card-grid strong { display:block; font-size:12px; line-height:1.3; padding:9px 2px 3px; font-weight:550; }
.team-card-grid small { display:block; font-size:10px; color:#78838c; line-height:1.3; padding:0 2px; }
.card-side-label { display:block; padding:8px 2px 0; font-size:10px; color:#9a4a25; }
.team-link { margin-top:26px; padding-top:18px; }
@media(prefers-reduced-motion:reduce){.card-flip-inner{transition:none}}
@media (max-width:620px) { .info-panel.cards-panel { left:12px; right:12px; width:auto; padding:15px 17px 19px; } .info-panel.product-panel { width:auto; } .product-model { height:190px; } }
@media (max-width:420px) { .card-sides { grid-template-columns:1fr; gap:13px; } }

.product-size { position:absolute; top:12px; left:12px; z-index:1; font-size:11px; color:#66727b; pointer-events:none; }

/* People mode: cinematic controls stay outside the 3D canvas interaction area. */
.people-toggle { position:absolute; left:22px; top:18px; z-index:15; display:flex; align-items:center; gap:8px; padding:11px 14px; background:#ffffffed; box-shadow:0 5px 24px #172a3b12; border-color:#dce2e5; font-weight:600; }
.people-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; }
.people-count { font-size:9px; display:grid; place-items:center; border-radius:50%; width:18px; height:18px; color:#d66328; background:#fcf0e8; }
.people-toggle[aria-pressed="true"] { background:#ed6b2d; color:#fff; border-color:#ed6b2d; box-shadow:0 6px 25px #e76a2935; }
.people-on .worker-grab,.people-on .system-nav,.people-on .stage-label { display:none; }
.people-overview .people-live,.system-detail .people-live,.system-detail .people-caption { display:none; }
.system-detail .crew-hotspot { visibility:hidden; pointer-events:none; }
.worker-detail .hotspot { display:none; }
.people-on .hint { max-width:450px; }
.people-on #interior,.people-on #rotate { display:none; }
.people-on .stage { background:var(--scene-background); border-radius:24px; margin-top:12px; }
.scene-tabs { position:absolute; left:22px; top:78px; display:flex; flex-direction:column; gap:3px; min-width:116px; border:1px solid #e0e6e9; border-radius:16px; padding:5px; background:#ffffffeb; z-index:14; box-shadow:0 5px 22px #142b3c08; }
.scene-tabs button { border:0; font-size:11px; padding:10px 15px; min-height:34px; text-align:left; border-radius:11px; }
.scene-tabs button[aria-pressed="true"] { background:#293d49; color:#fff; }
.people-live { position:absolute; right:24px; top:78px; font-size:8px; letter-spacing:.15em; color:#5f717b; display:flex; align-items:center; gap:6px; pointer-events:none; }
.people-live>span { width:5px; height:5px; border-radius:50%; background:#31a685; box-shadow:0 0 0 4px #31a68512; }
.people-live b { font-size:8px; font-weight:500; color:#99a5ad; letter-spacing:0; padding-left:6px; }
.people-caption { position:absolute; left:26px; bottom:91px; max-width:300px; pointer-events:none; text-shadow:0 1px 15px #fff; }
.people-caption>p:first-child { color:#cf672f; font-size:8px; font-weight:650; letter-spacing:.17em; margin:0 0 9px; }
.people-caption h2 { font-weight:500; font-size:clamp(20px,2.2vw,30px); line-height:1.1; letter-spacing:-.04em; margin:0 0 10px; max-width:280px; }
.people-caption>p:last-child { font-size:11px; line-height:1.65; color:#72818a; margin:0; max-width:270px; }
.people-playback { position:absolute; z-index:16; bottom:17px; left:22px; right:22px; border:1px solid #dde5e9; border-radius:16px; padding:8px; background:#fffffff2; display:flex; align-items:center; gap:10px; box-shadow:0 9px 30px #112c3f0b; }
.people-playback button { font-size:10px; padding:9px 11px; border:0; min-height:34px; }
#people-play { background:#2e414c; color:#fff; border-radius:10px; width:36px; padding:0; font-size:14px; }
.people-clock,.people-total { font-size:9px; font-variant-numeric:tabular-nums; color:#72818b; }
#people-timeline { min-width:45px; flex:1; accent-color:#e77a40; height:3px; cursor:ew-resize; }
#people-tour { color:#7b868d; }
#people-tour[aria-pressed="true"] { background:#f9e7dc; color:#bc5828; }
.people-paused .people-live>span { background:#e7aa56; }
.crew-hotspot { display:flex; align-items:center; gap:6px; border:0; padding:0; background:transparent; min-height:38px; z-index:1; }
.crew-hotspot:hover { background:transparent; border:0; }
.crew-person-icon { display:grid; place-items:center; width:28px; height:28px; background:#ed7638; border-radius:50%; border:2px solid #fff; color:#fff; box-shadow:0 0 0 5px #ef78351a,0 3px 14px #17364626; font-size:14px; }
.crew-label { display:block; padding:6px 9px; background:#fffffff2; color:#3a4a54; border-radius:8px; font-size:10px; box-shadow:0 3px 13px #112e3d0c; text-align:left; }
.crew-label b { display:block; margin-top:3px; font-size:8px; color:#a2abb0; font-weight:400; }
.crew-hotspot[data-visibility-attribute="visible"] { opacity:1; }
.crew-chat { position:absolute; z-index:22; width:342px; right:22px; top:80px; max-height:calc(100% - 164px); display:flex; flex-direction:column; overflow:hidden; background:#fff; border:1px solid #e2e9ed; border-radius:18px; box-shadow:0 14px 50px #17344722; --actor-color:#ed7935; }
.crew-chat-header { display:flex; align-items:center; gap:10px; padding:16px; border-bottom:1px solid #edf0f2; }
.crew-avatar { width:37px; height:37px; border-radius:12px; background:var(--actor-color); color:#fff; font-size:25px; display:grid; place-items:center; }
.crew-chat-header p { font-size:7px; letter-spacing:.12em; color:#9aa4ac; margin:0 0 4px; }
.crew-chat-header h2 { font-weight:550; font-size:15px; margin:0; letter-spacing:-.02em; }
#crew-chat-close { margin-left:auto; border:0; width:29px; height:29px; min-height:29px; font-size:21px; display:grid; place-items:center; padding:0; color:#86939c; }
.crew-messages { padding:14px 16px 4px; overflow:auto; min-height:80px; max-height:230px; }
.crew-message { margin:0 18px 12px 0; font-size:12px; line-height:1.65; background:#f1f5f7; color:#435862; border-radius:2px 12px 12px; padding:10px 12px; overflow-wrap:anywhere; }
.crew-message.user { margin:0 0 12px 24px; border-radius:12px 2px 12px 12px; background:#fcece2; color:#9e572c; }
.crew-questions { display:flex; flex-wrap:wrap; gap:5px; padding:7px 16px 12px; }
.crew-questions button { font-size:9px; white-space:normal; padding:7px 9px; line-height:1.4; border-color:#e4e9ed; min-height:29px; text-align:left; }
#crew-chat-form { margin:0 16px; display:flex; gap:6px; padding:5px 5px 5px 12px; background:#f5f7f8; border:1px solid #e7ecef; border-radius:12px; }
#crew-chat-input { min-width:0; width:100%; border:0; background:transparent; font:inherit; font-size:11px; outline:none; color:#435862; }
#crew-chat-form button { border:0; color:#fff; background:#ed7935; border-radius:9px; padding:6px; width:30px; min-height:30px; font-size:17px; }
.crew-chat-foot { display:flex; justify-content:space-between; align-items:center; padding:10px 16px 12px; color:#a1abb2; font-size:7px; line-height:1.4; }
.crew-chat-foot button { padding:3px 5px; border:0; min-height:20px; font-size:8px; color:#82959f; }
.people-loading { pointer-events:none; position:absolute; inset:0; z-index:18; background:#f6f8f9f2; display:flex; align-items:center; justify-content:center; flex-direction:column; border-radius:24px; }
.people-loading>span { width:36px; height:36px; border:2px solid #e7d6cd; border-top-color:#e47739; border-radius:50%; animation:crew-spin 1s linear infinite; }
.people-loading p { font-size:22px; letter-spacing:-.04em; margin:20px 0 8px; color:#344a56; }
.people-loading small { font-size:11px; color:#9ba8ae; }
@keyframes crew-spin { to {transform:rotate(360deg)} }
@media(max-width:900px){.scene-tabs{left:22px;right:auto;transform:none}.scene-tabs button{padding:9px 11px}.people-caption{max-width:240px}.people-caption h2{font-size:22px}.crew-label{font-size:9px}}
@media(max-width:620px){.people-on .stage{height:540px}.people-toggle{left:13px;top:13px;padding:10px 12px}.people-count{display:none}.scene-tabs{left:12px;right:auto;top:66px;padding:4px}.scene-tabs button{font-size:9px;padding:9px 8px;min-height:32px}.people-toggle svg{width:17px}.people-toggle span{font-size:11px}.people-live{top:70px;right:16px}.people-caption{left:18px;bottom:97px;max-width:190px}.people-caption h2{font-size:20px}.people-caption>p:last-child{font-size:10px}.people-playback{left:12px;right:12px;bottom:12px;gap:7px;padding:7px;flex-wrap:wrap}.people-playback button{min-height:30px;padding:7px 9px}#people-tour{margin-left:auto}.people-clock,.people-total{font-size:8px}#people-play{width:30px;height:30px}.crew-label{padding:5px 6px}.crew-label b{display:none}.crew-person-icon{width:25px;height:25px}.crew-chat{left:12px;right:12px;top:72px;width:auto;max-height:calc(100% - 155px)}.crew-chat-header{padding:12px}.crew-messages{max-height:158px;padding:12px 12px 2px}.crew-message{font-size:11px;padding:8px 10px}.crew-questions{padding:5px 12px 10px}.people-on .toolbar{padding-top:13px}.embed.people-on .stage{min-height:400px}}
@media(prefers-reduced-motion:reduce){.people-loading>span{animation:none}}

.crew-chat-open .crew-hotspot { visibility:hidden; }
@media(max-width:620px){.crew-chat { top:auto;bottom:83px;max-height:265px; }.crew-chat-open .people-caption { display:none; }.crew-chat-open .crew-messages {max-height:95px;}}

@media(max-width:620px){.crew-chat {height:300px;max-height:calc(100% - 155px)}.crew-chat-header,.crew-questions,#crew-chat-form,.crew-chat-foot{flex:none}.crew-chat-open .crew-messages {flex:1;min-height:60px;max-height:none}.crew-questions{flex-wrap:nowrap;overflow-x:auto;padding:6px 12px 9px}.crew-questions button{white-space:nowrap;flex:none}.crew-chat-foot{padding:6px 12px 9px;font-size:6px}}

@media(max-width:620px){.crew-chat {height:260px}.crew-chat-header {padding:8px 12px}.crew-chat-header .crew-avatar{width:29px;height:29px;font-size:21px}.crew-chat-header h2{font-size:13px}.crew-chat-header p{font-size:6px}.crew-questions{padding-top:4px;padding-bottom:6px}}

.people-caption {padding:12px 14px;border-radius:13px;background:linear-gradient(100deg,#fffffff0,#ffffffbd);box-shadow:0 5px 22px #17344705;backdrop-filter:blur(6px)}
@media(max-width:620px){.people-caption{padding:10px 12px}}

@media(max-width:620px){#people-tour{font-size:9px;padding-left:7px;padding-right:7px}.scene-tabs button{padding-left:7px;padding-right:7px}}

/* Selection belongs to the worker in the 3D scene. */
#reset,#fullscreen { display:none!important; }
.product-model { pointer-events:none; }
.crew-hotspot { position:relative; display:flex; align-items:flex-start; }
.crew-select { display:flex; align-items:center; gap:6px; background:transparent; border:0; padding:0; }
.crew-actions { position:absolute; left:38px; top:38px; width:172px; padding:12px; border:1px solid #e1e7ea; border-radius:14px; background:#fff; box-shadow:0 12px 35px #18313c22; text-align:left; z-index:30; }
.crew-actions strong { display:block; font-size:12px; margin-bottom:8px; }
.crew-actions button { display:block; width:100%; min-height:32px; padding:8px; border-radius:8px; font-size:11px; margin-top:5px; }
.crew-actions .crew-start { color:#fff; border-color:#e75b17; background:#e75b17; }
.crew-hotspot.is-selected { z-index:30; }
.people-overview .people-caption { max-width:260px; }
.people-overview .people-playback { display:none; }
.people-on .people-count { display:inline-flex; }
@media(max-width:620px){.crew-label{display:none}.crew-actions{left:0;top:34px;width:160px}.crew-hotspot .crew-select{min-width:30px;padding:0}.people-live{display:none}.people-overview .people-caption{max-width:230px;bottom:24px}}

.crew-hotspot { display:block; width:0; height:0; min-height:0; overflow:visible; }
.crew-head-anchor { width:1px; height:1px; opacity:0; pointer-events:none; }
.crew-connection { position:absolute; left:0; top:-1.25px; height:2.5px; border-radius:2px; background:#e26826; box-shadow:0 0 0 1px #fffffff0,0 1px 3px #253b4d33; transform-origin:left center; pointer-events:none; }
.crew-hotspot::after { content:''; position:absolute; left:-4px; top:-4px; width:8px; height:8px; border:1.5px solid #fff; border-radius:50%; background:#e26826; box-shadow:0 0 0 1px #e2682666; pointer-events:none; }
.crew-select { position:absolute; left:var(--crew-label-x,18px); top:var(--crew-label-y,8px); width:max-content; max-width:190px; min-height:34px; gap:7px; padding:5px 9px 5px 5px; border:1px solid #e6ebed; border-radius:12px; background:#fffffff5; box-shadow:0 4px 16px #18313c12; cursor:grab; touch-action:none; user-select:none; -webkit-user-select:none; }
.crew-hotspot.is-dragging { z-index:40; }
.crew-hotspot.is-dragging .crew-select { cursor:grabbing; border-color:#e26826; box-shadow:0 6px 22px #18313c30; }
.worker-working .crew-hotspot { visibility:hidden; pointer-events:none; }
.crew-select:hover { background:#fff; border-color:#ecb59b; }
.crew-select:focus-visible { outline:2px solid #ee762f; outline-offset:3px; }
.crew-hotspot[data-label-side="left"] .crew-select { flex-direction:row-reverse; padding:5px 5px 5px 9px; }
.crew-select .crew-person-icon { flex:0 0 24px; width:24px; height:24px; border:0; box-shadow:none; font-size:16px; }
.crew-select .crew-label { display:block; padding:0; background:none; border-radius:0; box-shadow:none; font-size:11px; line-height:1.3; font-weight:500; white-space:normal; }
.crew-actions { left:var(--crew-menu-x,0px); top:var(--crew-menu-y,44px); }
.people-overview .people-caption { left:26px; bottom:18px; max-width:250px; padding:0; border:0; border-radius:0; background:none; box-shadow:none; pointer-events:none; }
.people-overview .people-caption>p:first-child,.people-overview .people-caption h2 { display:none; }
.people-overview .people-caption>p:last-child { font-size:10px; line-height:1.5; }
@media(max-width:620px){
 .crew-hotspot .crew-select { max-width:150px; min-height:30px; padding:4px 7px 4px 4px; gap:5px; }
 .crew-hotspot[data-label-side="left"] .crew-select { padding:4px 4px 4px 7px; }
 .crew-select .crew-person-icon { flex-basis:20px; width:20px; height:20px; font-size:14px; }
 .crew-select .crew-label { font-size:9px; }
}

/* A worker's animation opens as a framed detail; dismissal returns to the crew. */
body.worker-dialog-open { overflow:hidden; }
.worker-backdrop,.worker-backdrop:hover { position:fixed; inset:0; width:100%; height:100dvh; z-index:90; padding:0; margin:0; border:0; border-radius:0; background:#1c2e4266; backdrop-filter:blur(5px); cursor:default; }
.showcase.worker-detail .stage { position:fixed; z-index:100; inset:32px; width:min(1180px,calc(100vw - 64px)); height:min(820px,calc(100dvh - 64px)); min-height:0; max-height:none; margin:auto!important; overflow:hidden; border:1px solid #dbe2e7; border-radius:22px; background:var(--scene-background); box-shadow:0 24px 100px #10243945; }
.worker-dialog-header { position:absolute; z-index:40; inset:0 0 auto; min-height:80px; display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:18px 22px 14px; border-bottom:1px solid #e1e7eb; background:#fffffff2; }
.worker-dialog-header p { margin:0 0 5px; color:#bd592b; font-size:9px; font-weight:650; letter-spacing:.15em; }
.worker-dialog-header h2 { margin:0 0 5px; font-size:20px; font-weight:550; line-height:1.2; letter-spacing:-.025em; }
.worker-dialog-header span { display:block; color:#76838c; font-size:10px; line-height:1.4; }
#worker-dialog-close { display:grid; place-items:center; flex:none; width:38px; height:38px; min-height:38px; padding:0; border:0; border-radius:50%; background:#eef2f4; color:#55646e; font-size:27px; }
#worker-dialog-close:hover { background:#e1e8ed; }
.worker-detail #absorber-model { position:absolute; top:100px; height:calc(100% - 180px); }
.worker-detail .people-toggle,.worker-detail .people-live { display:none; }
.worker-detail .people-caption { left:20px; bottom:87px; max-width:270px; padding:10px 12px; }
.worker-detail .people-caption h2 { font-size:19px; }
.worker-detail .people-playback { left:16px; right:16px; bottom:14px; }
.worker-detail .crew-chat { top:112px; max-height:calc(100% - 205px); }
@media(max-width:620px){
 .showcase.worker-detail .stage { inset:12px; width:calc(100vw - 24px); height:calc(100dvh - 24px); border-radius:18px; }
 .worker-dialog-header { padding:14px 16px; min-height:92px; gap:12px; }
 .worker-dialog-header h2 { font-size:19px; }
 .worker-dialog-header span { max-width:240px; }
 #worker-dialog-close { width:40px; height:40px; min-height:40px; }
 .worker-detail #absorber-model { top:106px; height:calc(100% - 196px); }
 .worker-detail .people-caption { bottom:105px; left:14px; max-width:210px; }
 .worker-detail .people-caption h2 { font-size:18px; }
 .worker-detail .people-playback { left:10px; right:10px; bottom:10px; }
 .worker-detail .crew-chat { top:auto; bottom:96px; max-height:calc(100% - 220px); }
}
@media(max-height:550px){
 .showcase.worker-detail .stage { inset:10px; width:calc(100vw - 20px); height:calc(100dvh - 20px); }
 .worker-dialog-header { padding:10px 16px; min-height:66px; }
 .worker-dialog-header span { display:none; }
 .worker-detail #absorber-model { top:74px; height:calc(100% - 150px); }
 .worker-detail .people-caption { display:none; }
}

/* Fill the remaining homepage viewport, including short mobile screens. */
html.embed,html.embed body{width:100%;height:100%;overflow:hidden}
html.embed .showcase{width:100%;max-width:none;min-height:0}
html.embed .showcase.people-on .stage{height:auto;min-height:0;max-height:none;flex:1;border-radius:0;margin:0}
html.embed .showcase.people-on:not(.worker-detail) .toolbar{display:none}

/* The legends sit beside the canvas and become compact menus on small screens. */
.showcase{--legend-width:216px}
.showcase:not(.worker-detail) .stage{display:grid;grid-template-columns:var(--legend-width) minmax(0,1fr) var(--legend-width);grid-template-rows:minmax(0,1fr);gap:18px;padding:18px;background:var(--scene-background)}
.showcase:not(.worker-detail) #absorber-model{grid-column:2;grid-row:1;min-width:0;min-height:0}
#people-ui{position:absolute;inset:0;pointer-events:none}
.people-playback,.crew-chat{pointer-events:auto}
.scene-legend{grid-row:1;align-self:start;display:flex;flex-direction:column;min-height:0;max-height:100%;padding:10px;border:1px solid #aeb9c2;border-radius:16px;background:#e0e5e8d9;box-shadow:0 6px 24px #34434e0a;z-index:16}
.legend-elements{grid-column:1}
.legend-workers{grid-column:3}
.legend-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:44px;flex:none;padding:8px 10px;border:0;border-radius:9px;color:#354550;font-size:16px;font-weight:600;text-align:left}
.legend-toggle:hover{background:#f4f6f780;border:0}
.legend-toggle>span{font-size:20px;line-height:1;transition:transform .15s}
.scene-legend.is-open .legend-toggle>span{transform:rotate(180deg)}
.legend-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-top:4px}
.scene-legend:not(.is-open) .legend-list{display:none}
.legend-list>button{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:8px;border:0;border-radius:9px;color:#354550;white-space:normal;text-align:left;font-size:14px;line-height:1.3}
.legend-list>button:hover{background:#f4f6f7b3;border:0}
.legend-list>button[aria-pressed="true"]{background:#354550;color:#fff}
.legend-list>button:disabled{opacity:.5;cursor:wait}
.legend-number{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#d65b20;color:#fff;font-size:11px;font-weight:650}
.legend-worker-icon{display:grid;place-items:center;flex:0 0 25px;height:25px;color:#ca5d27}
.legend-worker-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.legend-list small{display:block;margin-top:3px;color:#6c7982;font-size:12px;line-height:1.3}
.legend-list>button[aria-pressed="true"] small,.legend-list>button[aria-pressed="true"] .legend-worker-icon{color:#e1e8ec}
@media(min-width:1101px){.info-panel{left:calc(var(--legend-width) + 36px)}}
.people-overview .people-caption{left:calc(var(--legend-width) + 36px);max-width:300px;bottom:14px}
.showcase.worker-detail .stage{display:grid;grid-template-columns:var(--legend-width) minmax(0,1fr) var(--legend-width);grid-template-rows:92px minmax(0,1fr) 72px;gap:18px;padding:18px;inset:0;width:100%;height:100dvh;background:transparent;border:0;box-shadow:none;overflow:visible}
.worker-film-frame{position:relative;grid-column:2;grid-row:1 / 4;align-self:stretch;min-width:0;min-height:0;margin:-8px;border:2px solid #82939f;border-radius:18px;background:var(--scene-background);box-shadow:0 12px 38px #172b3c40;pointer-events:none;z-index:0}
.worker-detail .scene-legend{display:flex;grid-row:1 / 4;max-height:100%}
.worker-detail .worker-dialog-header{position:relative;inset:auto;grid-column:2;grid-row:1;min-height:0;padding:12px 16px;border:1px solid #e1e7eb;border-radius:12px}
.worker-detail #absorber-model{position:relative;top:auto;grid-column:2;grid-row:2;min-width:0;min-height:0;height:100%}
.worker-detail .people-playback{left:calc(var(--legend-width) + 32px);right:calc(var(--legend-width) + 32px);bottom:16px;gap:7px;flex-wrap:wrap}
.worker-detail .people-caption{left:calc(var(--legend-width) + 36px);bottom:104px;max-width:240px}
.worker-detail .crew-chat{right:calc(var(--legend-width) + 32px);top:128px;max-height:calc(100% - 224px)}
@media(max-width:1100px){
 .showcase:not(.worker-detail) .stage{display:block;padding:0}
 .scene-legend{position:absolute;top:14px;align-self:auto;width:calc((100% - 42px)/2);max-width:240px;max-height:calc(100% - 88px);padding:5px;border-radius:13px;background:#e2e7eaf2}
 .legend-elements{left:14px}
 .legend-workers{right:14px}
 .scene-legend.is-open{width:min(300px,calc(100% - 28px));max-width:none;z-index:25;background:#e2e7ea}
 .legend-toggle{font-size:14px;padding:8px 10px}
 .legend-list{padding:4px 3px}
 .people-overview .people-caption{left:18px;bottom:14px;max-width:290px}
 .showcase.worker-detail .stage{display:block;inset:12px;width:calc(100vw - 24px);height:calc(100dvh - 24px);padding:0;background:var(--scene-background);border-radius:18px;outline:2px solid #82939f;overflow:hidden}
 .worker-film-frame{position:absolute;inset:0;margin:0;border:0;border-radius:18px;background:transparent;box-shadow:none}
 .worker-detail .worker-dialog-header{position:absolute;inset:0 0 auto;min-height:92px;padding:14px 16px;border-radius:0}
 .worker-detail .scene-legend{position:absolute;top:108px;max-height:calc(100% - 202px)}
 .worker-detail #absorber-model{position:absolute;top:170px;height:calc(100% - 260px)}
 .worker-detail .people-playback{left:10px;right:10px;bottom:10px}
 .worker-detail .people-caption{left:14px;bottom:105px;max-width:210px}
 .worker-detail .crew-chat{left:auto;right:12px;top:174px;bottom:auto;width:min(342px,calc(100% - 24px));max-height:calc(100% - 270px)}
}

/* One readable conversation fills a phone, without the model or film behind it. */
textarea#product-chat-input,textarea#crew-chat-input{resize:none;min-height:44px;max-height:96px;line-height:1.4;font-family:inherit}
.product-chat,.product-chat .aa-messages,.product-chat .aa-message,.crew-chat,.crew-chat .aa-message{min-width:0}
.product-chat .aa-message,.crew-chat .aa-message{flex:none;width:fit-content;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.product-chat .aa-message p,.crew-chat .aa-message p{white-space:pre-wrap;max-width:100%;overflow-wrap:anywhere}
.product-chat .aa-messages{overflow-x:hidden;overscroll-behavior:contain}
#crew-chat-form button{width:auto;min-width:52px;font-size:12px;padding:8px}
html.chat-fullscreen,html.chat-fullscreen body{height:100%;overflow:hidden;overscroll-behavior:none;background:#fff}
html.chat-fullscreen .showcase .stage{position:fixed;inset:0;margin:0!important;display:block;width:100%;height:var(--chat-viewport-height,100dvh);min-height:0;max-height:none;padding:0;border:0;border-radius:0;box-shadow:none;background:#fff}
html.chat-fullscreen #absorber-model,html.chat-fullscreen .scene-legend,html.chat-fullscreen .worker-dialog-header,html.chat-fullscreen .worker-film-frame,html.chat-fullscreen .toolbar,html.chat-fullscreen .system-nav{visibility:hidden;pointer-events:none}
html.chat-fullscreen #people-ui>:not(#crew-chat){display:none!important}
html.chat-fullscreen #info-panel.is-chat,html.chat-fullscreen .worker-detail #crew-chat,html.chat-fullscreen #crew-chat{position:fixed;z-index:200;inset:0;display:flex;width:100%;height:var(--chat-viewport-height,100dvh);min-width:0;max-width:100%;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;overflow:hidden;background:#fff;text-align:left}
html.chat-fullscreen .info-top{flex:none;margin:0;padding:8px 14px 0;min-height:48px}
html.chat-fullscreen .info-top p{font-size:11px}
html.chat-fullscreen #close-info,html.chat-fullscreen #crew-chat-close{flex:none;width:44px;height:44px;min-height:44px;font-size:28px}
html.chat-fullscreen .product-chat{min-height:0;overflow:hidden}
html.chat-fullscreen #product-chat-back{flex:none;min-height:36px;margin:0;padding:4px 14px;font-size:14px}
html.chat-fullscreen #product-chat-title{flex:none;margin:0;padding:0 14px 12px;font-size:21px;line-height:1.25;overflow-wrap:anywhere}
html.chat-fullscreen .aa-notice{flex:none;max-height:30%;margin:0 14px 10px;padding:8px 10px;font-size:12px;line-height:1.45;overflow:auto}
html.chat-fullscreen .aa-notice .aa-session-note{font-size:12px}
html.chat-fullscreen .aa-notice .aa-analytics{margin:8px 0 0}
html.chat-fullscreen .aa-notice .aa-analytics input{width:18px;height:18px}
html.chat-fullscreen #product-messages,html.chat-fullscreen #crew-messages{display:flex;flex-direction:column;flex:1 1 0;min-height:0;max-height:none;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;margin:0;padding:14px;gap:12px;border-radius:0;background:#eef2f4}
html.chat-fullscreen .aa-message{flex:none;max-width:100%;margin:0;padding:12px 14px;font-size:16px;line-height:1.5;border-radius:14px;background:#fff}
html.chat-fullscreen .aa-message.user{background:#2e4656;color:#fff;align-self:flex-end}
html.chat-fullscreen .aa-source-links{min-width:0;gap:8px}
html.chat-fullscreen .aa-source-links a,html.chat-fullscreen .aa-contact{font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
html.chat-fullscreen #product-chat-form,html.chat-fullscreen #crew-chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;flex:none;min-width:0;gap:8px;margin:0;padding:12px 14px max(12px,env(safe-area-inset-bottom));border:0;border-top:1px solid #dce3e7;border-radius:0;background:#fff}
html.chat-fullscreen #product-chat-input,html.chat-fullscreen #crew-chat-input{display:block;box-sizing:border-box;min-width:0;width:100%;min-height:48px;height:48px;margin:0;padding:11px 12px;border:1px solid #bac8d0;border-radius:12px;background:#fff;color:#293b46;font-size:16px;line-height:1.5;outline-offset:2px}
html.chat-fullscreen #product-chat-form button,html.chat-fullscreen #crew-chat-form button{min-width:68px;min-height:48px;height:48px;width:auto;padding:10px 12px;border:0;border-radius:12px;background:#ed5a13;color:#fff;font-size:14px;font-weight:600}
html.chat-fullscreen .crew-chat-header{flex:none;min-width:0;padding:12px 14px;border-bottom:0}
html.chat-fullscreen .crew-chat-header>div:not(.crew-avatar){min-width:0;flex:1}
html.chat-fullscreen .crew-chat-header .crew-avatar{flex:none;width:34px;height:34px;font-size:24px}
html.chat-fullscreen .crew-chat-header p{font-size:10px;letter-spacing:.1em}
html.chat-fullscreen .crew-chat-header h2{font-size:18px;line-height:1.3;overflow-wrap:anywhere}
html.chat-fullscreen #crew-questions,html.chat-fullscreen .crew-chat-foot{display:none}
@media(max-height:450px){
 html.chat-fullscreen .info-top p{visibility:hidden}
 html.chat-fullscreen #product-chat-title{position:absolute;top:15px;left:14px;max-width:calc(100% - 78px);margin:0;padding:0;font-size:18px;line-height:1.2}
 html.chat-fullscreen .crew-chat-header{padding-top:6px;padding-bottom:6px}
 html.chat-fullscreen .aa-notice{margin-bottom:6px;padding:6px 10px}
}

html.chat-fullscreen .aa-message.guide{background:#fff}
