/* The native chat floats in the continuous office scene. */
body.storyworld.live-office-native{--office-scene-image:url("/assets/live-office/office-photo-wide-v9.webp?v=4k10");margin:0;background:#182b3c;overflow:hidden}
body.storyworld.live-office-native main{display:block;max-width:none;width:100%;height:100svh;min-height:0;margin:0;padding:0;overflow:clip}
body.storyworld.live-office-native main.native-office-scroll{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
body.storyworld.live-office-native .conversation-layout{position:relative;inset:auto;display:block;width:100%;height:100svh;min-height:0;margin:0;padding:0;gap:0;isolation:isolate;overflow:clip;background:none}
.live-office-native .native-office-world{position:absolute;inset:auto;left:50%;top:50%;width:max(100vw,177.6833svh);height:max(100svh,56.2799vw);transform:translate(-50%,-50%);background:var(--office-scene-image) center/100% 100% no-repeat;z-index:2;pointer-events:none}
.live-office-native .world-scenes,.live-office-native .visitor-backdrop,.live-office-native .workspace-clouds,.live-office-native #thought-field,.live-office-native .context-column,.live-office-native .orbit-context,.live-office-native .case-orbit,.live-office-native #case-recommendations,.live-office-native .site-footer,.live-office-native .scene-toolbar,.live-office-native .header-note{display:none!important}
body.storyworld.live-office-native .site-header{position:fixed;inset:12px 16px auto auto;display:block;width:auto;height:auto;margin:0;padding:0;z-index:12}
body.storyworld.live-office-native .site-account-nav{position:static;display:flex;gap:8px;margin:0;align-items:center}
body.storyworld.live-office-native .site-account-nav button{background:#f6fbfff0;box-shadow:0 2px 12px #12283a33}
body.storyworld.live-office-native #registration-button{background:#17784a;color:#fff}
body.storyworld.live-office-native .conversation-stage{position:absolute;inset:auto;left:50%;top:40%;width:min(649px,calc(100vw - 48px));height:auto;min-height:0;max-width:none;margin:0;padding:0;transform:translate(-50%,-50%);display:block;z-index:6;isolation:isolate}
body.storyworld.live-office-native .conversation-stage::before{content:'';position:absolute;inset:-36px -64px -40px;z-index:-1;background:radial-gradient(ellipse,#ffffffd9 0 38%,#ffffffa6 52%,#ffffff40 68%,#fff0 80%);filter:blur(8px);pointer-events:none}
/* Opaque answer cards already provide contrast; keep the photograph clear around them. */
body.storyworld.live-office-native .conversation-stage:has(#messages .message.assistant:not(.greeting))::before{display:none}
body.storyworld.live-office-native #conversation{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
body.storyworld.live-office-native #conversation::before{display:none}
body.storyworld.live-office-native .timon-avatar{display:none}
body.storyworld.live-office-native #messages{max-height:min(340px,calc(100svh - 260px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
body.storyworld.live-office-native #messages .message.assistant:not(.greeting){padding:16px 20px;border-radius:18px;background:#fffffffa;font-size:18px;line-height:1.7;color:#18362a}
body.storyworld.live-office-native #messages .greeting{font-size:27px;line-height:1.5;white-space:pre-wrap}
body.storyworld.live-office-native .welcome-title,body.storyworld.live-office-native .welcome-subtitle{font-size:27px;line-height:1.5;font-weight:400;letter-spacing:normal}
body.storyworld.live-office-native .welcome-subtitle{margin-top:0}
body.storyworld.live-office-native #chat-form{width:100%;margin-left:0;margin-right:0;box-shadow:none}
.live-office-native .native-brain{position:absolute;left:50%;top:clamp(28px,4svh,56px);width:clamp(190px,18vw,260px);aspect-ratio:4/3;transform:translateX(-50%);z-index:7;pointer-events:none}
.native-brain img{position:absolute;left:-21.5%;top:-21.5%;width:143%;height:143%;object-fit:contain;filter:drop-shadow(0 0 8px #62bfff66);animation:native-brain-glow 5s ease-in-out infinite}
.native-brain svg{position:absolute;left:-21.5%;top:-21.5%;display:block;width:143%;height:143%;fill:none;stroke:#e7fbff;opacity:.8;filter:drop-shadow(0 0 2px #8de7ff);overflow:visible}
.native-brain svg path{stroke-width:2.2;stroke-linecap:round;stroke-dasharray:.001 .999;animation:native-brain-signals 11s linear infinite}
.native-brain svg path:nth-child(2){animation-duration:14s;animation-delay:-5s}
.native-brain svg path:nth-child(3){animation-duration:17s;animation-delay:-11s}
.native-brain::before{content:'';position:absolute;inset:12%;border-radius:50%;background:#1dd2ff24;filter:blur(15px);animation:native-brain-breathe 5s ease-in-out infinite}
.native-brain-control{position:fixed;left:18px;bottom:18px;z-index:12;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff9c;border-radius:50%;background:#153650bd;color:#fff;pointer-events:auto}
.native-brain-control svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.live-office-native[data-brain-motion=paused] .native-brain img,.live-office-native[data-brain-motion=paused] .native-brain svg path,.live-office-native[data-brain-motion=paused] .native-brain::before{animation-play-state:paused}
.native-office-card{position:absolute;display:block;min-height:36px;padding:0;border:0;border-radius:9px;background:transparent;color:transparent;pointer-events:auto;cursor:pointer}
.native-office-personal{left:4.65%;top:75.1%;width:11.4%;height:7.3%;transform:none}
.native-office-staff{left:79.8%;top:12.15%;width:8.9%;height:6.4%}
.native-office-card:hover,.native-office-card:focus-visible,.native-office-card.is-active{outline:2px solid #adf3ff;outline-offset:3px;box-shadow:0 0 18px #22baffaa}

.native-personal-outline{position:absolute;inset:0;width:100%;height:100%;z-index:4;overflow:visible;pointer-events:none;opacity:0;transition:opacity 120ms ease}
.native-office-world:has(.native-office-personal:is(:hover,:focus-visible,.is-active)) .native-personal-outline{opacity:1}
.native-office-caption{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.native-office-flow{position:absolute;inset:0;width:100%;height:100%;z-index:5;overflow:visible;pointer-events:none;opacity:0}
.native-office-flow path{fill:none;stroke:#91ebff;stroke-width:2.5;stroke-dasharray:10 16;filter:drop-shadow(0 0 5px #22baff)}
.native-office-flow.is-flowing{animation:native-flow-fade 2.4s ease both}
.native-office-flow.is-flowing path{animation:native-flow-travel 2.4s linear both}
.native-office-progress{position:absolute;left:36%;bottom:3%;width:28%;max-height:20%;overflow:auto;display:grid;gap:8px;pointer-events:auto;z-index:6}
.native-office-extra{padding:10px 12px;background:#effaffeb;border:1px solid #b6dff4;border-radius:12px;text-align:left}
.native-office-extra strong{display:block;font-size:13px;font-weight:500}
.native-office-extra span{font-size:11px;line-height:1.4;color:#355a70}
.native-office-extra[hidden]{display:none}
@keyframes native-brain-breathe{50%{opacity:.3;transform:scale(1.04)}}
@keyframes native-brain-glow{50%{opacity:.9;filter:drop-shadow(0 0 14px #62bfff99)}}
@keyframes native-brain-signals{to{stroke-dashoffset:-1}}
@keyframes native-flow-fade{0%,100%{opacity:0}20%,75%{opacity:1}}
@keyframes native-flow-travel{to{stroke-dashoffset:-192}}
@media(max-aspect-ratio:177/100) and (min-aspect-ratio:4/5) and (min-width:701px){
 body.storyworld.live-office-native{--office-scene-image:url("/assets/live-office/office-photo-tall-v9.webp?v=4k10")}
 .live-office-native .native-office-world{width:max(100vw,116.0653svh);height:max(100svh,86.1584vw)}
 .native-office-personal{top:72%;height:4.64%}
 .native-office-staff{top:31.44%;height:4.13%}
}
@media(max-width:700px),(aspect-ratio < 4/5){
 body.storyworld.live-office-native{--office-scene-image:url("/assets/live-office/office-photo-wide-v9.webp?v=4k10");overflow:auto;background:var(--office-scene-image) center/cover fixed no-repeat}
 body.storyworld.live-office-native main{height:auto;min-height:100svh;padding:76px 0 20px;display:block}
 body.storyworld.live-office-native .conversation-layout{width:100%;height:auto;background:var(--office-scene-image) center/cover;min-height:max(calc(56.28vw + 470px),calc(100svh - 96px))}
 body.storyworld.live-office-native .native-office-world{left:0;top:0;width:100%;height:56.28vw;transform:none;background:var(--office-scene-image) center/100% 100% no-repeat}
 .live-office-native .native-brain{top:6px;width:140px}
 body.storyworld.live-office-native .conversation-stage{left:24px;top:calc(56.28vw + 35px);width:calc(100% - 48px);transform:none}
 body.storyworld.live-office-native #messages{max-height:300px}
 body.storyworld.live-office-native .conversation-stage::before{inset:-24px -20px -28px}
 .native-office-personal{left:3%;top:73%;width:18%;min-height:44px}
 .native-office-staff{left:78%;top:9%;width:18%;min-height:44px}
 .native-office-progress{left:24px;top:calc(56.28vw + 12px);bottom:auto;width:calc(100% - 48px);max-height:none;overflow:visible}
 .native-brain-control{left:12px;bottom:12px}
}
@media(min-width:701px) and (max-height:599px){.live-office-native .native-brain{top:16px;width:140px}}
@media(prefers-reduced-motion:reduce){.native-brain img,.native-brain::before{animation:none!important}.native-brain svg,.native-office-flow{display:none}}




.native-personal-outline{display:none!important}
.live-office-native .native-brain{display:none!important}
