/* Conversation-first shell. Legacy scenes keep their IDs and functionality. */
body.conversation-first{overflow:hidden}
.conversation-shell{--shell-header:72px;--shell-line:#243b52;--shell-muted:#afc2d4;--shell-surface:#0a1623;height:100vh;height:100dvh;min-height:0;min-width:320px;background:#07101a}
.conversation-shell .command-bar{height:var(--shell-header);grid-template-columns:190px minmax(0,1fr) auto;grid-template-rows:none;column-gap:20px;padding:0 24px;border-bottom:1px solid var(--shell-line);background:#08121d;box-shadow:none}
.conversation-shell .brand{grid-column:auto;grid-row:auto;gap:10px;min-height:44px;cursor:pointer}
.conversation-shell .brand-sigil{width:30px;height:30px;box-shadow:none;flex:none}
.conversation-shell .brand-sigil i{display:none}.conversation-shell .brand strong{font-size:15px;letter-spacing:.1em}.conversation-shell .brand small{font-size:11px;color:var(--shell-muted);letter-spacing:0}
.conversation-shell .primary-nav{position:static;grid-column:auto;grid-row:auto;justify-content:center;overflow:visible;gap:5px;height:auto;min-width:0;border:0;background:none}
.conversation-shell .primary-nav>button,.conversation-shell .workspace-menu>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;padding:10px 15px;border:1px solid transparent;border-radius:7px;background:none;color:var(--shell-muted);font:inherit;font-size:15px;white-space:nowrap;cursor:pointer}
.conversation-shell .primary-nav>button:is(:hover,.is-active),.conversation-shell .workspace-menu>summary:hover,.conversation-shell .workspace-menu[open]>summary{color:#f1f7fd;background:#132b42;border-color:#2d4b68;box-shadow:none}
.conversation-shell .primary-nav>button.is-active{font-weight:600}
.conversation-shell .workspace-menu{position:relative;flex:none}.conversation-shell .workspace-menu>summary{list-style:none}.conversation-shell .workspace-menu>summary::-webkit-details-marker{display:none}.conversation-shell .workspace-menu>summary>span{font-size:16px;color:#b8d6eb}.conversation-shell .workspace-menu[open]>summary>span{transform:rotate(180deg)}
.conversation-shell .workspace-menu-items{position:absolute;z-index:40;top:calc(100% + 8px);right:0;width:270px;padding:6px;border:1px solid #3a5772;border-radius:9px;background:#0d1c2b}
.conversation-shell .workspace-menu-items button{display:block;width:100%;min-height:44px;padding:10px 12px;margin:0;border:0;border-radius:5px;color:#d4e3ef;background:none;text-align:left;font:inherit;font-size:15px;white-space:normal}
.conversation-shell .workspace-menu-items button:is(:hover,.is-active){background:#19354e;color:#fff;box-shadow:none}
.conversation-shell .command-status{grid-column:auto;grid-row:auto;gap:12px;min-width:0}.conversation-shell .command-status .status-chip,.conversation-shell .command-status #clock{display:none}.conversation-shell .command-status .budget{display:grid;padding:4px 2px 4px 8px}.conversation-shell .budget small{font-size:10px;color:var(--shell-muted)}.conversation-shell .budget strong{font-size:12px;color:#e4eef7}.conversation-shell .operator{min-width:40px;width:40px;height:40px;font-size:13px}
.conversation-shell .voice-console-trigger{min-height:42px;padding:9px 12px;border-radius:7px;font-size:14px;box-shadow:none}.conversation-shell .voice-console-trigger[aria-pressed=true]{border-color:#72d9f3;background:#164263}
.conversation-shell :is(.primary-nav button,.workspace-menu summary,.conversation-shortcuts button,.workspace-context button):focus-visible{outline:2px solid #83d4ff;outline-offset:3px}
.conversation-shell .workspace-shell{display:grid;grid-template-columns:360px minmax(0,1fr);height:calc(100% - var(--shell-header));min-height:0;min-width:0;overflow:hidden}
.conversation-shell .conversation-rail{min-width:0;min-height:0;padding:18px 14px;border-right:1px solid var(--shell-line);background:#091521;overflow:hidden}
.conversation-shell .workspace-main{display:flex;flex-direction:column;min-width:0;min-height:0;container-type:inline-size;container-name:workspace}
.conversation-shell .workspace-context{display:flex;align-items:center;gap:16px;flex:none;min-height:64px;padding:10px 24px;border-bottom:1px solid var(--shell-line);background:#0a1623}
.conversation-shell .workspace-context button{flex:none;min-height:40px;padding:7px 10px;border:1px solid #35516c;border-radius:6px;background:#0b1b2a;color:#c7deef;font:inherit;font-size:14px;cursor:pointer}.conversation-shell .workspace-context button:hover{background:#17334b;border-color:#6793b5}
.conversation-shell .workspace-context .workspace-back{padding-left:0;border-color:transparent;background:none}
.conversation-shell .workspace-breadcrumb{display:flex;align-items:baseline;gap:16px;min-width:0}.conversation-shell .workspace-breadcrumb>span{color:#7693ab}.conversation-shell #workspace-title{font-size:17px;line-height:1.3;font-weight:600;margin:0;min-width:0;overflow-wrap:anywhere;letter-spacing:0}
.conversation-shell #conversation-toggle{display:none;margin-left:auto}
.conversation-shell .stage{position:relative;flex:1;height:auto;min-height:0;min-width:0;overflow:hidden}
.conversation-shell .stage>.scene{position:absolute;inset:0;height:auto;min-height:0;min-width:0;transform:none;transition:none}
.conversation-shell .stage>.scene:not(.is-active){display:none}.conversation-shell .stage>.scene.is-active{display:block}
.conversation-shell .conversation-rail .voice-console-layer{position:static;inset:auto;z-index:auto;display:block;width:100%;height:100%;min-height:0;max-height:none;margin:0;color:#edf5fc}
.conversation-shell .conversation-rail .voice-console-layer[hidden]{display:none}
.conversation-shell .conversation-rail .voice-console{height:100%;max-height:100%;min-height:0;padding:4px;border:0;border-radius:0;background:none;box-shadow:none;overflow:auto}
.conversation-shell .voice-console-heading{gap:10px}.conversation-shell .voice-console-heading h2{font-size:20px;line-height:1.25;letter-spacing:0;margin:0}.conversation-shell .voice-console-heading span{color:var(--shell-muted);font-size:12px;letter-spacing:0}.conversation-shell .voice-console-scope{color:var(--shell-muted);font-size:14px;max-width:65ch;line-height:1.5;margin:10px 0 14px}
.conversation-shell .voice-console-status{flex:none;font-size:14px;padding:10px 12px;background:#10263a;border:1px solid #29475f;border-radius:7px;color:#d1e8f8}.conversation-shell .voice-console-context{color:#b2c8da;font-size:13px;margin:9px 0;line-height:1.4}
.conversation-shell .voice-console-actions{gap:7px;flex:none}.conversation-shell .voice-console-actions button,.conversation-shell .voice-console-input button{min-height:44px;padding:10px 12px;font-size:14px;border-radius:6px}.conversation-shell .voice-console-actions button[data-vc=start]{flex:1}
.conversation-shell .voice-console-output{font-size:13px;color:#bfd3e3;gap:10px}.conversation-shell .voice-console-output select{min-width:0;font-size:14px;min-height:42px;max-width:64%}.conversation-shell .voice-console-privacy{color:#b0c3d2;font-size:12px}.conversation-shell .voice-console-help{color:#b2c8da;font-size:13px;margin-top:10px}.conversation-shell .voice-console-help summary{min-height:36px;padding:6px 0;color:#bcdcef}
.conversation-shell .voice-console-transcript{min-height:130px;flex:1 1 180px;padding:6px 0;scrollbar-gutter:stable}.conversation-shell .voice-console-message{padding:12px 13px;margin:8px 0;background:#102132;border-radius:8px}.conversation-shell .voice-console-message.is-user{background:#16324b;margin-left:20px}.conversation-shell .voice-console-message strong{font-size:12px;color:#a6cdea}.conversation-shell .voice-console-message p{font-size:15px;line-height:1.6;max-width:70ch}
.conversation-shell .voice-console-input{position:sticky;bottom:0;padding:10px 0 4px;background:#091521;z-index:2}.conversation-shell .voice-console-input label{font-size:13px;color:#c4d8e6}.conversation-shell .voice-console-input input{min-height:46px;font-size:16px;border-radius:6px;background:#07121e;border-color:#4a6780}.conversation-shell .voice-console-input input::placeholder{color:#a7bdcf}.conversation-shell .voice-console-confirmation{font-size:14px;border-color:#668eaf;flex:none}
.conversation-shell .scene-home{background:none}.conversation-shell .home-introduction{max-width:820px;padding:30px 24px 20px;margin:0 auto}.conversation-shell .home-introduction h1{margin:0;color:#edf6fd;font-size:30px;line-height:1.25;letter-spacing:-.02em;text-wrap:balance}.conversation-shell .home-introduction>p{margin:8px 0 18px;color:var(--shell-muted);font-size:16px;line-height:1.5;max-width:65ch}
.conversation-shell .conversation-shortcuts{display:flex;flex-wrap:wrap;gap:8px}.conversation-shell .conversation-shortcuts button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:9px 13px;border:1px solid #34516b;border-radius:7px;background:#0b1c2c;color:#cce3f3;font:inherit;font-size:14px;text-align:left;cursor:pointer}.conversation-shell .conversation-shortcuts button:hover{background:#15334a;border-color:#628cac}.conversation-shell .conversation-shortcuts span{color:#8bc7ed}
.conversation-shell[data-view=home] .workspace-shell{display:flex;flex-direction:column;overflow:hidden}.conversation-shell[data-view=home] .workspace-main{order:0;flex:none;width:100%;container-type:normal}.conversation-shell[data-view=home] .workspace-context{display:none}.conversation-shell[data-view=home] .stage{flex:none;overflow:visible}.conversation-shell[data-view=home] .stage>.scene-home{position:relative;inset:auto}
.conversation-shell[data-view=home] .conversation-rail{order:1;flex:1;width:calc(100% - 48px);max-width:772px;margin:0 auto 24px;padding:18px 20px;border:1px solid #2c4860;border-radius:10px;background:#091521}.conversation-shell[data-view=home] .voice-console-transcript{flex-basis:220px}.conversation-shell[data-view=home] .voice-console-message.is-user{margin-left:15%}
/* The retained working screens adapt to the available pane, not the viewport. */
@container workspace (max-width:1100px){
  .conversation-shell .scene-missions,.conversation-shell .scene-department,.conversation-shell .utility-scene,.conversation-shell .scene-chat{overflow:auto}
  .conversation-shell .missions-layout{grid-template-columns:minmax(240px,.75fr) minmax(0,1fr);height:auto;min-height:calc(100% - 112px)}
  .conversation-shell .agent-catalog{display:block;grid-column:1/-1;max-height:260px}.conversation-shell .mission-flow{grid-template-columns:repeat(3,minmax(0,1fr))}.conversation-shell .mission-form-v2,.conversation-shell .mission-control{overflow:visible}
  .conversation-shell .memory-layout,.conversation-shell .actions-layout{grid-template-columns:minmax(0,1fr);height:auto}.conversation-shell .control-grid{grid-template-columns:repeat(2,minmax(0,1fr));height:auto}
  .conversation-shell .chat-titlebar{grid-template-columns:minmax(0,1fr);height:auto;gap:12px;padding:20px}.conversation-shell .chat-layout{grid-template-columns:minmax(0,1fr);height:calc(100% - 160px);min-height:500px}.conversation-shell .chat-context,.conversation-shell .chat-status{display:none}.conversation-shell .conversation-panel{height:100%;min-width:0}
  .conversation-shell .department-layout{grid-template-columns:minmax(0,1fr);height:auto}.conversation-shell .office-module{height:440px}.conversation-shell .agent-network{height:560px}.conversation-shell .department-inspector{display:block}.conversation-shell .department-topline{height:auto;min-height:90px;grid-template-columns:auto minmax(0,1fr);padding:16px}
}
@container workspace (max-width:720px){
  .conversation-shell .scene-clients{padding:20px 16px 32px}.conversation-shell .clients-heading{flex-direction:column;align-items:flex-start;gap:16px}.conversation-shell .clients-heading h1{font-size:26px}.conversation-shell .clients-heading-actions{width:100%;flex-wrap:wrap}.conversation-shell .client-service-row{grid-template-columns:minmax(0,1fr);gap:10px}.conversation-shell .client-condition,.conversation-shell .client-open{grid-column:auto}.conversation-shell .clients-filters{flex-wrap:wrap}.conversation-shell .clients-filters label{min-width:0;max-width:100%}
  .conversation-shell .missions-layout{display:block;padding:12px}.conversation-shell .mission-form-v2,.conversation-shell .mission-control,.conversation-shell .agent-catalog{margin-bottom:12px}.conversation-shell .missions-titlebar,.conversation-shell .utility-title{height:auto;min-height:110px;padding:18px 16px;gap:12px}.conversation-shell .missions-titlebar p,.conversation-shell .utility-title p{font-size:13px}.conversation-shell .mission-summary{min-width:0;padding:8px}.conversation-shell .control-grid{display:block;padding:12px}.conversation-shell .utility-card{margin-bottom:12px;padding:18px}.conversation-shell .model-control{grid-template-columns:auto minmax(0,1fr)}
}
@media(max-width:1150px){
  .conversation-shell{--shell-header:68px}.conversation-shell .command-bar{grid-template-columns:155px minmax(0,1fr) auto;column-gap:12px;padding:0 16px}.conversation-shell .primary-nav>button,.conversation-shell .workspace-menu>summary{padding-inline:12px}.conversation-shell .command-status{gap:8px}.conversation-shell .command-status .budget{display:none}.conversation-shell .voice-console-trigger>span{display:none}.conversation-shell .voice-console-trigger{min-width:42px;padding:10px}.conversation-shell .workspace-shell{grid-template-columns:330px minmax(0,1fr)}.conversation-shell .workspace-context{padding-inline:16px;gap:10px}
}
@media(max-width:760px){
  .conversation-shell{--shell-header:112px}.conversation-shell .command-bar{position:relative;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:58px 54px;height:var(--shell-header);padding:0 14px;gap:0 12px}.conversation-shell .brand{grid-column:1;grid-row:1}.conversation-shell .brand small{display:block;font-size:10px}.conversation-shell .brand-sigil{width:28px;height:28px}.conversation-shell .brand strong{font-size:14px}.conversation-shell .command-status{grid-column:2;grid-row:1;gap:10px}.conversation-shell .command-status #clock,.conversation-shell .command-status .budget{display:none}.conversation-shell .operator{width:40px;height:40px}
  .conversation-shell .primary-nav{position:static;grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;width:100%;height:54px;gap:3px;overflow:visible}.conversation-shell .primary-nav>button,.conversation-shell .workspace-menu>summary{display:flex;min-width:0;padding:10px 13px;font-size:15px;gap:5px}.conversation-shell .primary-nav>button[data-go=clients]{min-width:0}.conversation-shell .workspace-menu-items{right:0;top:calc(100% + 6px);width:min(280px,calc(100vw - 28px));max-height:calc(100dvh - 132px);overflow:auto}
  .conversation-shell .workspace-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr)}.conversation-shell .workspace-main{display:contents;container-type:normal}.conversation-shell .workspace-context{grid-row:1;min-height:60px;padding:8px 12px;gap:8px}.conversation-shell .workspace-context .workspace-back{width:30px;min-width:30px;padding:6px 0}.conversation-shell .workspace-back>span{display:none}.conversation-shell .workspace-breadcrumb{gap:8px;flex:1}.conversation-shell .workspace-breadcrumb>span{display:none}.conversation-shell #workspace-title{font-size:16px}.conversation-shell #conversation-toggle{display:block;max-width:148px;font-size:13px;line-height:1.3;padding:8px 10px}
  .conversation-shell .conversation-rail{grid-row:2;height:min(46dvh,380px);padding:12px;border-right:0;border-bottom:1px solid var(--shell-line)}.conversation-shell .stage{grid-row:3;min-height:0;height:auto}.conversation-shell .conversation-rail .voice-console{padding:0}.conversation-shell .voice-console-heading h2{font-size:19px}.conversation-shell .voice-console-transcript{min-height:100px}.conversation-shell .voice-console-message p{font-size:15px}.conversation-shell .voice-console-output{font-size:14px}.conversation-shell .voice-console-output select{font-size:16px}.conversation-shell .voice-console-actions button{font-size:14px;min-height:44px}.conversation-shell .voice-console-input input{font-size:16px}.conversation-shell .voice-console-help{font-size:14px}.conversation-shell .voice-console-privacy{font-size:13px}
  body[data-conversation=closed] .conversation-shell:not([data-view=home]) .conversation-rail{display:none}
  .conversation-shell[data-view=home] .workspace-shell{display:flex}.conversation-shell[data-view=home] .workspace-main{display:contents}.conversation-shell[data-view=home] .stage{order:0;flex:none}.conversation-shell[data-view=home] .home-introduction{padding:20px 16px 16px}.conversation-shell[data-view=home] .home-introduction h1{font-size:25px}.conversation-shell[data-view=home] .home-introduction>p{font-size:15px;margin:8px 0 14px}.conversation-shell .conversation-shortcuts{gap:7px}.conversation-shell .conversation-shortcuts button{min-height:40px;padding:8px 10px;font-size:13px}.conversation-shell[data-view=home] .conversation-rail{display:block;order:1;flex:1;width:calc(100% - 24px);max-width:none;height:auto;margin:0 12px 12px;padding:12px;border:1px solid #2c4860;border-radius:8px}.conversation-shell[data-view=home] .voice-console-transcript{flex-basis:160px}.conversation-shell[data-view=home] .voice-console-message.is-user{margin-left:12%}
  .conversation-shell .missions-layout,.conversation-shell .memory-layout,.conversation-shell .actions-layout,.conversation-shell .control-grid{height:auto;min-height:0;overflow:visible}.conversation-shell .scene-missions,.conversation-shell .utility-scene{overflow:auto}.conversation-shell .agent-catalog{display:block}.conversation-shell .utility-title{height:auto;min-height:104px;padding:16px}.conversation-shell .chat-titlebar{height:auto;min-height:145px}.conversation-shell .chat-layout{min-height:450px}.conversation-shell .scene-chat{overflow:auto}.conversation-shell .department-inspector{display:block}.conversation-shell .department-layout{height:calc(100% - 76px)}
}
@media(max-height:740px) and (min-width:761px){.conversation-shell .home-introduction{padding-top:20px;padding-bottom:14px}.conversation-shell .home-introduction h1{font-size:26px}.conversation-shell .home-introduction>p{margin-bottom:12px}.conversation-shell[data-view=home] .conversation-rail{margin-bottom:16px;padding:14px 18px}}
@media(prefers-reduced-motion:reduce){.conversation-shell .primary-nav button,.conversation-shell .workspace-menu>summary>span{transition:none;transform:none}}
/* Embedded conversation: one welcome, one transcript and one composer. */
.conversation-shell .shell-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.conversation-shell[data-view=home] .workspace-main,.conversation-shell[data-view=home] .stage{height:0;min-height:0;overflow:hidden}
.conversation-shell[data-view=home] .conversation-rail{margin-top:24px;max-width:820px}
.conversation-shell[data-view=home] .voice-console-heading [data-vc=close]{display:none}
.conversation-shell .voice-console-heading,.conversation-shell .voice-console-scope,.conversation-shell .voice-console-context,.conversation-shell .voice-console-actions,.conversation-shell .voice-console-settings{flex:none}
.conversation-shell .voice-console-input{position:static;padding:10px 0 0;margin-top:0;margin-bottom:10px}
.conversation-shell .voice-console-input>div{align-items:stretch;min-width:0}
.conversation-shell .voice-console-input textarea{display:block;flex:1;width:0;min-width:0;min-height:74px;max-height:150px;resize:vertical;padding:11px 12px;border:1px solid #4a6780;border-radius:7px;background:#06121e;color:#edf5fc;font:inherit;font-size:16px;line-height:1.5;box-sizing:border-box}
.conversation-shell .voice-console-input textarea::placeholder{color:#a7bdcf}.conversation-shell .voice-console-input textarea:focus-visible{outline:2px solid #83d4ff;outline-offset:2px}.conversation-shell .voice-console-input button{align-self:stretch;min-width:62px}
.conversation-shell .voice-console-settings{margin-top:10px;color:var(--shell-muted);font-size:13px;line-height:1.5}.conversation-shell .voice-console-settings>summary{padding:7px 0;min-height:36px;color:#bbd8ec;cursor:pointer}.conversation-shell .voice-console-settings[open]{max-height:240px;overflow:auto;padding-right:4px}.conversation-shell .voice-console-settings>button,.conversation-shell .voice-console-confirmation button{min-height:42px;padding:8px 12px;border:1px solid #476582;border-radius:6px;color:#e2f1fb;background:#10283e;font:inherit;font-size:14px;cursor:pointer}.conversation-shell .voice-console-settings>button:hover,.conversation-shell .voice-console-confirmation button:hover{background:#1a3a55}.conversation-shell .voice-console-confirmation button[data-vc=confirm]{background:#135485;border-color:#3686c1}.conversation-shell .voice-console-confirmation button+button{margin-left:6px}.conversation-shell .voice-console-confirmation p{margin:0 0 10px}
.conversation-shell [data-vc=model-slot]>label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#bfd3e3;font-size:13px}.conversation-shell #conversation-model{max-width:64%;min-width:0;min-height:42px;padding:7px;border:1px solid #34516e;border-radius:7px;color:#e2effa;background:#0c1c2b;font:inherit;font-size:14px;color-scheme:dark}.conversation-shell #conversation-model-note{margin:8px 0;color:#afc4d5;font-size:12px;line-height:1.5}
.conversation-shell .conversation-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:230px;height:100%;padding:18px 4px;text-align:center}.conversation-shell .conversation-orb{display:block;flex:none;width:64px;height:64px;margin-bottom:12px}.conversation-shell .conversation-orb img{display:block;width:100%;height:100%;object-fit:contain}.conversation-shell .conversation-welcome h3{margin:0;font-size:21px;line-height:1.3;font-weight:600;letter-spacing:-.01em;text-wrap:balance}.conversation-shell .conversation-welcome>p{margin:8px 0 18px;max-width:42ch;color:var(--shell-muted);font-size:14px;line-height:1.5}.conversation-shell .conversation-suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%}.conversation-shell .conversation-suggestions button{min-height:42px;max-width:100%;padding:8px 12px;border:1px solid #34516b;border-radius:7px;background:#0b1c2c;color:#cce3f3;font:inherit;font-size:14px;cursor:pointer}.conversation-shell .conversation-suggestions button:hover{background:#15334a;border-color:#628cac}
.conversation-shell[data-view=home] .conversation-orb{width:84px;height:84px;margin-bottom:16px}.conversation-shell[data-view=home] .conversation-welcome h3{font-size:28px}.conversation-shell[data-view=home] .conversation-welcome>p{font-size:16px}
body[data-conversation=closed] .conversation-shell:not([data-view=home]) .conversation-rail{display:none}
body[data-conversation=closed] .conversation-shell:not([data-view=home]) .workspace-shell{grid-template-columns:minmax(0,1fr)}
body[data-conversation=closed] .conversation-shell:not([data-view=home]) #conversation-toggle{display:block}
@container workspace (max-width:1100px){
  .conversation-shell .scene-map{overflow-x:hidden;overflow-y:auto;padding-bottom:20px}.conversation-shell .scene-map .scene-title{position:relative;top:auto;left:auto;width:auto;margin:24px 20px 0}.conversation-shell .scene-map .scene-title h1{font-size:25px;max-width:100%}.conversation-shell .scene-map .scene-title p{max-width:65ch}.conversation-shell .scene-map .core-cluster{position:relative;inset:auto;width:100%;min-width:0;height:430px;margin:0;transform:none;transform-origin:center}.conversation-shell .scene-map .reactor{width:220px}.conversation-shell .scene-map .headquarters{position:relative;inset:auto;width:100%;min-width:0;height:580px;margin:0;transform:none;transform-origin:center}.conversation-shell .scene-map .headquarters>img{object-fit:contain;object-position:78% bottom}.conversation-shell .scene-map .floor-selector{left:3%;width:44%}.conversation-shell .scene-map .map-footer{position:relative;inset:auto;display:grid;grid-template-columns:1fr 1fr;margin:16px 20px;padding:12px;min-width:0;width:auto}
}
@media(max-width:760px){
  .conversation-shell[data-view=home] .conversation-rail{margin-top:12px}.conversation-shell[data-view=home] .workspace-main,.conversation-shell[data-view=home] .stage{height:0;min-height:0}.conversation-shell[data-view=home] .conversation-orb{width:64px;height:64px;margin-bottom:12px}.conversation-shell[data-view=home] .conversation-welcome h3{font-size:24px}.conversation-shell[data-view=home] .conversation-welcome>p{font-size:15px}.conversation-shell .conversation-welcome{min-height:210px;padding:14px 2px}.conversation-shell .conversation-suggestions{gap:6px}.conversation-shell .conversation-suggestions button{font-size:13px;padding:8px 10px}.conversation-shell .voice-console-transcript{min-height:80px}.conversation-shell .voice-console-settings{font-size:14px}.conversation-shell .voice-console-settings[open]{max-height:180px}.conversation-shell .voice-console-settings>summary{min-height:40px}.conversation-shell #conversation-model{font-size:16px}.conversation-shell [data-vc=model-slot]>label{font-size:14px}.conversation-shell .voice-console-status{font-size:13px;padding:8px 10px}.conversation-shell:not([data-view=home]) .conversation-rail{height:min(52dvh,420px)}.conversation-shell:not([data-view=home]) .voice-console-scope,.conversation-shell:not([data-view=home]) .voice-console-heading span{display:none}.conversation-shell:not([data-view=home]) .voice-console-heading h2{font-size:17px}.conversation-shell:not([data-view=home]) .voice-console-transcript{min-height:64px}.conversation-shell:not([data-view=home]) .voice-console-input textarea{min-height:62px}.conversation-shell:not([data-view=home]) .voice-console-context{margin:5px 0}.conversation-shell:not([data-view=home]) .voice-console-settings{margin-top:5px}
}
.conversation-shell .voice-console-scope,.conversation-shell .voice-console-heading span{display:none}
.conversation-shell[data-view=home] .voice-console-heading{display:none}
.conversation-shell[data-view=home] .voice-console-context{margin-top:0}
@media(max-width:760px){.conversation-shell:not([data-view=home]) .voice-console-heading{display:none}.conversation-shell:not([data-view=home]) .voice-console-transcript{min-height:48px}.conversation-shell .voice-console-settings{margin-top:6px}.conversation-shell .voice-console-input{padding-top:8px;margin-bottom:8px}}
.conversation-shell .voice-console-settings[open]{flex:0 1 auto;min-height:88px;overscroll-behavior:contain}
.conversation-shell .voice-console-settings>summary{position:sticky;top:0;z-index:1;background:#091521}

/* Mobile: one page scroll; the conversation no longer traps the service pane. */
@media (max-width:760px){
  body.conversation-first{overflow:auto}
  .conversation-shell{height:auto;min-height:100dvh}
  .conversation-shell .workspace-shell,
  .conversation-shell[data-view=home] .workspace-shell{display:flex;flex-direction:column;height:auto;overflow:visible}
  .conversation-shell .workspace-context{order:0}
  .conversation-shell .conversation-rail,
  .conversation-shell:not([data-view=home]) .conversation-rail,
  .conversation-shell[data-view=home] .conversation-rail{order:1;flex:none;height:auto;overflow:visible}
  .conversation-shell .stage{order:2;flex:none;height:auto;overflow:visible;min-height:50dvh}
  .conversation-shell .stage>.scene{position:relative;inset:auto;height:auto;overflow:visible}
  .conversation-shell .conversation-rail .voice-console-layer,
  .conversation-shell[data-view=home] .conversation-rail .voice-console-layer,
  .conversation-shell[data-view=home] .conversation-rail .voice-console,
  .conversation-shell .conversation-rail .voice-console{height:auto;min-height:0;max-height:none;overflow:visible}
  .conversation-shell .conversation-rail .voice-console-transcript{flex:none;max-height:50dvh;overflow:auto}
  .conversation-shell .voice-console-input,
  .conversation-shell .voice-console-settings>summary{position:static}
  .conversation-shell .voice-console-heading{display:flex}
  .conversation-shell:not([data-view=home]) .voice-console-heading{display:flex}
  .conversation-shell .primary-nav>button{white-space:normal;padding-inline:6px;font-size:13px;line-height:1.2}
  .conversation-shell .primary-nav>button[data-go=social-brief]{min-width:96px}
  .conversation-shell .workspace-context button{min-height:44px}
}

/* Control room: rows grow with costs/status; the page owns scrolling. */
.conversation-shell .control-grid{grid-auto-rows:max-content;align-content:start}
.conversation-shell .control-grid>.utility-card{overflow:visible;min-width:0}
