[hidden]{display:none!important}
body.lab-preview{background:#091c2b;display:flex;flex-direction:column;color:#e5f1fc;--host-height:clamp(180px,36dvh,390px)}
body.lab-preview header{position:relative!important;inset:auto!important;height:61px!important;flex:none;display:flex;justify-content:space-between;align-items:center;padding:8px 10px!important;background:#0b2035;pointer-events:auto;z-index:8}
.lab-brand{text-align:center;min-width:0;line-height:1.15}
.lab-brand strong{display:block;font-size:clamp(16px,4.5vw,21px);letter-spacing:0.4px;white-space:nowrap}
.lab-brand strong span{margin-left:0;color:#72d5e6}
.lab-brand small{display:block;font-size:9px;color:#8bb9ce;letter-spacing:0;margin-top:4px}
#lab-home-link{width:43px;height:43px;display:grid;place-items:center;flex:none;padding:0;font-size:24px;font-weight:600;color:#e5f1fc;border:1px solid #315875;background:#102e49;border-radius:11px;text-decoration:none}
.lab-header-spacer{width:43px;flex:none}#lab-feedback-link{width:52px;min-height:43px;display:grid;place-items:center;color:#c4deef;font-size:10px;font-weight:600;text-decoration:underline;text-underline-offset:2px}#lab-feedback-link:focus-visible{outline:2px solid #9de7ff;outline-offset:2px}
body.lab-preview main{height:auto!important;max-height:none!important;max-width:950px;flex:1 1 0;min-height:0;position:relative;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 42%,#1a3a52 0,#0c2335 62%,#091c2b 100%);padding-top:0!important}
body.lab-preview #stage:not(.tv-active):not(.article-active){position:relative!important;inset:auto!important;flex:1 1 0!important;height:auto!important;min-height:0!important;width:100%;overflow:hidden!important;pointer-events:auto!important}
body.lab-preview #stage:not(.tv-active):not(.article-active) #actor{width:100%!important;height:100%!important;left:0!important;top:0!important}
body.lab-preview #stage:not(.tv-active):not(.article-active) #actor-poster{width:100%;height:100%}
body.lab-preview #stage.actor-roaming:not(.tv-active):not(.article-active) #actor{left:var(--roam-x,0px)!important;top:var(--roam-y,0px)!important;width:clamp(138px,39vw,235px)!important;height:clamp(170px,27dvh,240px)!important}
/* Keep the quiet-time offer visible in the integrated Lab even with the keyboard open. */
body.lab-preview #stage #idle-suggestion:not([hidden]){display:block!important;position:absolute;left:50%!important;right:auto!important;bottom:10px!important;transform:translateX(-50%);width:max-content;max-width:min(88%,390px)!important;min-height:42px;padding:10px 15px!important;font-size:13px!important;font-weight:600;color:#e9f9ff;background:#153b56f2;border:1px solid #6acfe9;border-radius:20px;box-shadow:0 3px 16px #020a14aa;z-index:10;white-space:normal;pointer-events:auto}
body.lab-preview #stage.tv-active #idle-suggestion,body.lab-preview #stage.article-active #idle-suggestion,body.lab-preview #idle-suggestion[hidden]{display:none!important}
body.lab-preview.keyboard-open #stage #idle-suggestion:not([hidden]){bottom:4px!important;min-height:32px;padding:6px 10px!important;font-size:12px!important}
body.lab-preview #conversation{display:none;flex:0 0 0!important;min-height:0!important;padding:0!important;background:transparent}
body.lab-preview.has-conversation #conversation,body.lab-preview main:has(#stage.tv-active) #conversation,body.lab-preview main:has(#stage.article-active) #conversation{display:flex;flex:1 1 0!important;min-height:54px!important;max-height:none!important;padding:9px 12px!important;scroll-padding:0;border:0}
body.lab-preview.has-conversation #stage:not(.tv-active):not(.article-active){flex:0 0 var(--host-height)!important}
body.lab-preview #stage.tv-active,body.lab-preview #stage.article-active{position:relative!important;inset:auto!important;flex:1 1 0!important;min-height:150px!important}
body.lab-preview main:has(#stage.tv-active) #conversation,body.lab-preview main:has(#stage.article-active) #conversation{flex:0 1 100px!important;max-height:100px!important}
body.lab-preview .chat,body.lab-preview.keyboard-open .chat{flex:none!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:flex;flex-direction:column;padding:8px 10px 6px!important;background:transparent!important;gap:8px}
body.lab-preview #ask-form{position:relative;gap:0;border:1px solid #345e7c;background:#0e2a41;border-radius:26px;min-height:48px;height:48px}
body.lab-preview #question{border:0!important;border-radius:26px;background:transparent;box-shadow:none;padding:12px 52px 12px 15px;font-size:16px}
body.lab-preview #send,body.lab-preview #preview-mic{border:0;background:#155c8d;color:#e8faff;position:absolute;right:5px;top:4px;width:38px;height:38px;padding:0;border-radius:50%;display:grid;place-items:center}
body.lab-preview #preview-mic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
#preview-mic[aria-pressed=true]{background:#237d9c;box-shadow:0 0 12px #66dfff}
#preview-selectors{display:grid;grid-template-columns:minmax(92px,1fr) minmax(0,2.4fr);gap:8px}
#preview-selectors select{width:100%;min-width:0;height:44px;color:#e6f5ff;background:#102e49;border:1px solid #345e7c;border-radius:9px;padding:8px 10px;font:14px system-ui;outline-offset:2px;cursor:pointer}
#preview-selectors select option{color:#e6f5ff;background:#102e49}
#preview-notice{margin:0 4px;font-size:12px;color:#c3d8e8}
.lab-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:none;gap:6px;padding:5px 10px calc(10px + env(safe-area-inset-bottom));background:#091c2b}
.lab-tabs a,.lab-tabs button{color:#d2e6f7;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;gap:3px;text-align:center;padding:5px 2px;height:55px;border-radius:9px;border:1px solid #2d587a;background:linear-gradient(#112e4a,#0a223d);font:12px system-ui;text-decoration:none}
.lab-tabs [aria-current=page]{border:1px solid #64d5ff;background:linear-gradient(135deg,#1673b4,#144c83);box-shadow:0 0 0 1px #3ac3ff,0 0 9px #3ac3ff44}
.lab-tabs svg{width:21px;height:21px;stroke:#c7e5fd;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;fill:none}
body.lab-preview.keyboard-open .lab-tabs{display:none}
body.lab-preview.keyboard-open #stage:not(.tv-active):not(.article-active){flex:1 1 0!important;min-height:38px!important}
body.lab-preview.keyboard-open.has-conversation #stage:not(.tv-active):not(.article-active){flex:0 0 clamp(60px,20dvh,120px)!important}
@media(max-height:550px){body.lab-preview header{height:44px!important}.lab-brand small{display:none}.lab-tabs{padding-bottom:5px}.lab-tabs a,.lab-tabs button{height:44px}body.lab-preview #ask-form{height:43px;min-height:43px}body.lab-preview #send,body.lab-preview #preview-mic{height:33px;width:33px}#preview-selectors select{height:37px}}

/* Full native section projected onto the physical abdominal TV, then expanded to the same live document. */
.native-section-journey{box-sizing:border-box;position:fixed;z-index:1000;overflow:hidden;background:#081c31;border-style:solid;border-color:#153e5d;box-shadow:0 1px 7px #0007;pointer-events:none;isolation:isolate;opacity:1}
.native-section-journey[hidden]{display:none!important}
.native-section-journey iframe{display:block;position:absolute;top:0;left:0;transform-origin:0 0;border:0;background:#081c31;pointer-events:none}
.native-section-journey.section-expanded-transition{transition:top 85ms ease,left 85ms ease,width 85ms ease,height 85ms ease,border-radius 85ms ease,border-width 85ms ease,opacity 110ms ease}
.native-section-journey.section-expanded-transition iframe{transition:transform 85ms ease}
.native-section-journey.section-document-active,.native-section-journey.section-document-active iframe{pointer-events:auto}
body.section-document-open #stage{pointer-events:none!important}
@media(prefers-reduced-motion:reduce){.native-section-journey,.native-section-journey iframe{transition:none!important}}

/* Give the expanded TV priority on small displays, so native video controls
   remain within the visible stage rather than below the chat/navigation. */
body.lab-preview main:has(#stage.tv-expanded) #conversation{
 flex:0 1 54px!important;max-height:54px!important;min-height:0!important;
}
@media(max-height:510px) {
 body.lab-preview main:has(#stage.tv-expanded) #conversation{display:none!important}
 body.lab-preview #stage.tv-expanded{min-height:0!important}
}
