/* One reserved command rail. Voice is an intentional modal in the top layer. */
body{--thebe-spatial-width:272px}
body.thebe-ai-expanded{--thebe-spatial-width:344px}
#thebeAiDock{--thebe-spatial-dock:1;border:1px solid #27465e!important;background:#071522!important;border-radius:20px!important;box-shadow:0 12px 38px #051b3326!important}
#thebeAiDock [hidden]{display:none!important}
#thebeAiDock .thebe-ai-dock-head{padding:12px!important}
#thebeAiDock .thebe-ai-dock-scroll{padding:12px!important;gap:10px!important}
#thebeAiDock .thebe-ai-presence{font-size:10px}
#thebeAiDock .thebe-ai-voice-card{padding:10px!important;min-height:0!important}
#thebeAiDock .thebe-ai-voice-sub,#thebeAiDock .thebe-ai-mission-meta,#thebeAiDock .thebe-ai-compose-hint{display:none!important}
#thebeAiDock .thebe-ai-quick button{min-height:44px!important;font-size:11px!important}
#thebeAiDock .thebe-ai-compose{margin:0 12px 10px!important;padding:8px!important}
#thebeAiDock .thebe-ai-foot{padding:0 12px 10px!important;font-size:9px!important}
#thebeAiDock .thebe-ai-mode-button{padding:8px 3px!important;font-size:11px!important}
#thebeAiDock .thebe-ai-mode-button>small{display:none!important}
#thebeAiDock .thebe-ai-mode-button::before,#thebeAiDock .thebe-ai-quick button::before,#thebeAiDock .thebe-ai-quick button::after{display:none!important;content:none!important}
#thebeAiDock .thebe-ai-quick{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#thebeAiDock .thebe-ai-quick button{padding:10px!important}
#thebeAiDock .thebe-ai-quick button:last-child{grid-column:1/-1}
#thebeAiDock .thebe-ai-response{font-size:12px!important}
body .modal.open,body .commandshade.open{z-index:1000!important}
@media(min-width:1024px){
 body.thebe-ai-dock-open #appShell main,body.thebe-ai-dock-open.thebe-ai-expanded #appShell main{margin-left:0!important;margin-right:calc(var(--thebe-spatial-width) + 32px)!important;width:calc(100% - var(--thebe-spatial-width) - 32px)!important;max-width:none!important;padding-left:20px!important;padding-right:20px!important}
 body #thebeAiDock[data-surface="workspace"],body #thebeAiDock[data-surface="public"]{left:auto!important;right:16px!important;top:88px!important;bottom:auto!important;width:var(--thebe-spatial-width)!important;max-width:var(--thebe-spatial-width)!important;height:min(610px,calc(100dvh - 104px))!important;max-height:calc(100dvh - 104px)!important;min-height:0!important}
 body #thebeAiDock .thebe-ai-orb-button{width:82px!important;min-width:82px!important;max-width:82px!important;height:82px!important;min-height:82px!important}
 body #marketingGate{padding-right:calc(var(--thebe-spatial-width) + 32px)!important}
 body #marketingGate main,body #marketingGate>.footer{padding-right:0!important}
}
@media(max-width:1023px){
 #thebeAiDock[data-surface]{left:8px!important;right:8px!important;top:8px!important;bottom:calc(104px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 112px - env(safe-area-inset-bottom))!important;height:auto!important;min-height:0!important}
 body.thebe-ai-dock-open #mainContent,body.thebe-ai-mobile-open #marketingGate{visibility:hidden!important}
 #marketingGate{padding-bottom:180px!important}
 body #thebeAiDockPill[data-surface]{left:auto!important;right:16px!important;bottom:calc(106px + env(safe-area-inset-bottom))!important;max-width:calc(100vw - 32px)!important}
 #mainContent{scroll-padding-bottom:76px!important;padding-bottom:76px!important}
}
/* Bound the resident calculator even when older generic card rules load late. */
body #propertyintelligence .property-layout-v224,body #propertyintelligence .property-calculator-v224{width:100%!important;max-width:680px!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
body #propertyintelligence .property-layout-v224{display:block!important}
body.thebe-voice-active{overflow:hidden!important}
.thebe-voice-screen{position:fixed;inset:0;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:calc(28px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom))!important;border:0!important;background:#06131f!important;color:#f4faff!important;box-sizing:border-box;overflow:auto;text-align:center;color-scheme:dark}
.thebe-voice-screen[open]{display:flex!important;flex-direction:column;align-items:center;justify-content:safe center;gap:18px}
.thebe-voice-screen::backdrop{background:#06131f}
.thebe-voice-screen h2{font-size:24px;font-weight:500;margin:0;color:#f4faff!important}
.thebe-voice-context{color:#a9bccb;font-size:12px;margin:0}
.thebe-voice-sphere{--thebe-voice-energy:1;transform:scale(var(--thebe-voice-energy));width:clamp(160px,28vmin,300px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 35% 28%,#ecfaff,#88d5ff 32%,#1974bb 62%,#0a2f59);box-shadow:0 0 70px #56baff33,inset -20px -15px 40px #00173080;animation:thebe-voice-breathe 4s ease-in-out infinite}
.thebe-voice-sphere[data-phase="listening"],.thebe-voice-sphere[data-phase="speaking"]{animation-duration:1.3s}
.thebe-voice-screen-status{font-size:16px;min-height:24px}
.thebe-voice-screen-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.thebe-voice-screen button{min-height:48px;border:1px solid #476580;border-radius:24px;padding:12px 20px;background:#152a3e;color:#fff;font:inherit;cursor:pointer}
.thebe-voice-screen .thebe-voice-exit{background:#edf7ff;color:#09233a}
.thebe-voice-screen button:focus-visible{outline:3px solid #96dfff;outline-offset:4px}
@keyframes thebe-voice-breathe{50%{transform:scale(calc(var(--thebe-voice-energy) * 1.045));filter:brightness(1.13)}}
@media(prefers-reduced-motion:reduce){.thebe-voice-sphere{animation:none!important}}

/* V247: voice is a continuous Thebe AI conversation, with lightweight live captions. */
.thebe-voice-screen-transcript{width:min(680px,92vw);max-height:22vh;overflow:auto;display:grid;gap:7px;padding:10px 12px;border:1px solid #29465e;border-radius:16px;background:#091b2b;text-align:left}
.thebe-voice-screen-transcript[hidden]{display:none!important}.thebe-voice-caption{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;font-size:13px;line-height:1.45;color:#dceaf4}.thebe-voice-caption b{color:#87cfff;font-size:11px;text-transform:uppercase;letter-spacing:.06em;padding-top:2px}.thebe-voice-caption span{min-width:0}
@media(max-width:620px){.thebe-voice-screen{gap:14px!important;padding-inline:16px!important}.thebe-voice-sphere{width:clamp(150px,47vw,220px)}.thebe-voice-screen-transcript{max-height:25vh}.thebe-voice-screen-controls{position:sticky;bottom:0;padding-top:2px}}

/* V253 pre-release workspace lane closure — keep the final-loaded spatial dock compact
   on medium desktop widths and preserve room for the workspace top controls. */
@media(min-width:1024px) and (max-width:1199px){
 body{--thebe-spatial-width:256px}
 body.thebe-ai-expanded{--thebe-spatial-width:324px}
 body.thebe-ai-dock-open #mainContent>.top{gap:10px!important}
 body.thebe-ai-dock-open #mainContent .global-search{
  min-width:0!important;
  max-width:260px!important;
  flex:1 1 220px!important;
 }
}

/* V265 compact dock + voice cleanup — preserve the reserved right rail while reducing visual obstruction. */
#thebeAiDock :is(.thebe-ai-dock-title,.thebe-ai-title-copy,.thebe-ai-presence,.thebe-ai-context-copy,.thebe-ai-voice-copy,.thebe-ai-response,.thebe-ai-response-answer,.thebe-ai-live-transcript,.thebe-ai-compose,textarea){min-width:0!important}
#thebeAiDock :is(.thebe-ai-title-copy b,.thebe-ai-presence,.thebe-ai-context-copy,.thebe-ai-voice-label,.thebe-ai-response,.thebe-ai-response-answer,.thebe-ai-live-transcript,#thebeLiveVoiceStatus){overflow-wrap:anywhere;word-break:normal}
#thebeAiDock .thebe-ai-voice-card{gap:8px!important}
#thebeAiDock .thebe-ai-voice-label{font-size:16px!important;line-height:1.2!important}
#thebeAiDock .thebe-ai-voice-mount{margin-top:6px!important;gap:4px!important;min-width:0!important}
#thebeAiDock .thebe-ai-voice-mount .btn{display:none!important}
#thebeAiDock .thebe-ai-voice-mount #thebeLiveVoiceStatus{max-width:100%!important;font-size:10px!important;line-height:1.35!important}
#thebeAiDock .thebe-live-language{width:100%!important;min-width:0!important;min-height:36px!important;padding:6px 8px!important}
#thebeAiDock .thebe-ai-compose textarea{max-width:100%!important;overflow-wrap:anywhere}
@media(min-width:1024px){
 body #thebeAiDock .thebe-ai-orb-button{width:68px!important;min-width:68px!important;max-width:68px!important;height:68px!important;min-height:68px!important;max-height:68px!important}
 #thebeAiDock[data-surface="workspace"] .thebe-ai-voice-card{grid-template-columns:68px minmax(0,1fr)!important}
}

/* V268 pending workspace accessibility improvements. */
#appShell :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #2f8fe6!important;outline-offset:2px!important}
#workspaceSidebar :is(.nav-primary,.nav-more-tools):focus-visible{border-color:#8bc3f4!important;box-shadow:0 0 0 3px rgba(47,143,230,.16)!important}
#mainContent .global-search:focus-within{border-color:#87bff0!important;box-shadow:0 0 0 3px rgba(47,143,230,.12)!important}
@media(min-width:761px) and (max-width:900px){#mainContent>.top{position:sticky!important;top:0!important}}
@media(prefers-reduced-motion:reduce){#appShell :is(button,a,.card,.outcome-card,.people-outcome-card,.owner-today-card){transition:none!important}}

/* V269: reserve the assistant lane at the workspace-shell boundary.
   The fixed dock no longer competes with the main grid for the same viewport pixels. */
@media(min-width:1024px){
 body.thebe-ai-dock-open #appShell,
 body.thebe-ai-dock-open.thebe-ai-expanded #appShell{
  width:100%!important;
  max-width:100%!important;
  padding-right:calc(var(--thebe-spatial-width) + 32px)!important;
  box-sizing:border-box!important;
 }
 body.thebe-ai-dock-open #appShell main,
 body.thebe-ai-dock-open.thebe-ai-expanded #appShell main{
  margin-left:auto!important;
  margin-right:auto!important;
  width:100%!important;
  max-width:1400px!important;
  min-width:0!important;
  padding-left:20px!important;
  padding-right:20px!important;
  box-sizing:border-box!important;
 }
 body.thebe-ai-dock-open #mainContent>.top{max-width:100%!important}
}

/* V270 shared Stratum voice motion — one fullscreen visual contract for public and workspace voice. */
.thebe-voice-screen .thebe-voice-sphere{
 --thebe-fold-speed:6.6s;
 --thebe-voice-saturation:1.15;
 --thebe-voice-brightness:1.04;
 position:relative;
 width:clamp(188px,34vw,336px);
 aspect-ratio:1;
 border:0!important;
 border-radius:48% 52% 60% 40%/55% 43% 57% 45%;
 background:radial-gradient(circle at 69% 33%,rgba(251,255,207,.96) 0 4%,rgba(219,255,85,.62) 10%,transparent 29%),radial-gradient(circle at 31% 69%,rgba(150,244,19,.72) 0 15%,transparent 48%),conic-gradient(from 208deg at 50% 49%,rgba(14,19,4,.88),rgba(185,255,25,.9) 18%,rgba(61,87,7,.48) 33%,rgba(239,255,127,.9) 48%,rgba(17,24,4,.74) 62%,rgba(166,255,18,.8) 81%,rgba(14,19,4,.88));
 box-shadow:0 0 30px rgba(183,255,30,.18),0 0 72px rgba(156,240,15,.11)!important;
 filter:saturate(var(--thebe-voice-saturation)) brightness(var(--thebe-voice-brightness));
 isolation:isolate;
 overflow:visible;
 transform:scale(var(--thebe-voice-energy,1));
 transition:transform 110ms ease-out,filter 240ms ease,box-shadow 240ms ease;
 will-change:transform,filter,border-radius;
 animation:thebeVoiceBody calc(var(--thebe-fold-speed)*1.15) ease-in-out infinite alternate;
}
.thebe-voice-screen .thebe-voice-sphere::before,.thebe-voice-screen .thebe-voice-sphere::after{content:"";position:absolute;pointer-events:none;transform-origin:50% 50%;will-change:transform,border-radius,filter,opacity}
.thebe-voice-screen .thebe-voice-sphere::before{inset:7%;border-radius:41% 59% 66% 34%/62% 37% 63% 38%;background:radial-gradient(ellipse at 66% 29%,rgba(255,255,220,.88) 0 5%,transparent 31%),repeating-conic-gradient(from 18deg at 49% 52%,rgba(232,255,115,.82) 0 9deg,rgba(129,203,15,.28) 17deg,rgba(13,19,3,.38) 31deg,rgba(199,255,44,.68) 46deg);mix-blend-mode:screen;filter:blur(12px) contrast(1.08);opacity:.88;animation:thebeVoiceFoldA var(--thebe-fold-speed) cubic-bezier(.45,.05,.32,.98) infinite alternate}
.thebe-voice-screen .thebe-voice-sphere::after{inset:16%;border-radius:63% 37% 42% 58%/39% 61% 44% 56%;background:radial-gradient(ellipse at 48% 51%,rgba(5,8,2,.9) 0 13%,rgba(36,55,4,.52) 27%,rgba(189,255,27,.5) 45%,transparent 70%),conic-gradient(from 122deg,transparent,rgba(246,255,176,.54),rgba(24,37,3,.72),rgba(174,255,20,.58),transparent);mix-blend-mode:multiply;filter:blur(6px);opacity:.82;animation:thebeVoiceFoldB calc(var(--thebe-fold-speed)*.78) ease-in-out infinite alternate-reverse}
.thebe-voice-screen .thebe-voice-sphere[data-phase="connecting"]{--thebe-fold-speed:9s;--thebe-voice-saturation:1.05;--thebe-voice-brightness:.94}
.thebe-voice-screen .thebe-voice-sphere[data-phase="listening"],.thebe-voice-screen .thebe-voice-sphere[data-phase="ready"]{--thebe-fold-speed:6.4s;--thebe-voice-saturation:1.15;--thebe-voice-brightness:1.04}
.thebe-voice-screen .thebe-voice-sphere[data-phase="thinking"]{--thebe-fold-speed:4.1s;--thebe-voice-saturation:1.2;--thebe-voice-brightness:1.02}
.thebe-voice-screen .thebe-voice-sphere[data-phase="speaking"]{--thebe-fold-speed:2.8s;--thebe-voice-saturation:1.25;--thebe-voice-brightness:1.12;box-shadow:0 0 40px rgba(190,255,35,.3),0 0 92px rgba(145,232,14,.18)!important}
@keyframes thebeVoiceBody{0%{border-radius:48% 52% 60% 40%/55% 43% 57% 45%}50%{border-radius:58% 42% 43% 57%/39% 62% 38% 61%}100%{border-radius:38% 62% 55% 45%/61% 36% 64% 39%}}
@keyframes thebeVoiceFoldA{0%{transform:rotate(-18deg) scale(.9,1.06) skewX(-4deg);border-radius:42% 58% 65% 35%/62% 38% 61% 39%;filter:blur(12px) contrast(1.04)}35%{transform:translate3d(3%,-2%,0) rotate(41deg) scale(1.06,.91) skewY(5deg);border-radius:62% 38% 43% 57%/37% 63% 42% 58%;filter:blur(9px) contrast(1.12)}72%{transform:translate3d(-2%,3%,0) rotate(103deg) scale(.94,1.08) skewX(4deg);border-radius:35% 65% 58% 42%/56% 44% 66% 34%;filter:blur(13px) contrast(1.08)}100%{transform:rotate(151deg) scale(1.05,.95) skewY(-4deg);border-radius:57% 43% 34% 66%/44% 58% 42% 56%;filter:blur(10px) contrast(1.14)}}
@keyframes thebeVoiceFoldB{0%{transform:rotate(9deg) scale(.88,1.05) translate3d(-3%,2%,0);border-radius:63% 37% 42% 58%/39% 61% 44% 56%;opacity:.72}45%{transform:rotate(-72deg) scale(1.08,.9) translate3d(3%,-2%,0);border-radius:39% 61% 64% 36%/58% 42% 63% 37%;opacity:.9}100%{transform:rotate(-139deg) scale(.95,1.1) translate3d(-1%,3%,0);border-radius:55% 45% 36% 64%/34% 66% 47% 53%;opacity:.76}}
@media(max-width:600px){.thebe-voice-screen .thebe-voice-sphere{width:clamp(174px,58vw,260px)}}
@media(prefers-reduced-motion:reduce){.thebe-voice-screen .thebe-voice-sphere,.thebe-voice-screen .thebe-voice-sphere::before,.thebe-voice-screen .thebe-voice-sphere::after{animation:none!important;transition:none!important}}

/* V271 Gemini-style side-panel geometry for Thebe AI.
   Keep Thebe's own visual language while giving the assistant a large,
   persistent right-hand surface and a reserved workspace lane. */
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
  body{--thebe-spatial-width:clamp(430px,38vw,720px)}
  body.thebe-ai-expanded{--thebe-spatial-width:clamp(520px,44vw,780px)}
  body #thebeAiDock[data-surface="workspace"],
  body #thebeAiDock[data-surface="public"]{
    left:auto!important;
    right:16px!important;
    top:16px!important;
    bottom:16px!important;
    width:var(--thebe-spatial-width)!important;
    min-width:430px!important;
    max-width:min(46vw,780px)!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    border-radius:24px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }
  body.thebe-ai-dock-open #appShell,
  body.thebe-ai-dock-open.thebe-ai-expanded #appShell{
    width:100%!important;
    max-width:100%!important;
    padding-right:calc(var(--thebe-spatial-width) + 48px)!important;
    box-sizing:border-box!important;
  }
  body.thebe-ai-dock-open #appShell main,
  body.thebe-ai-dock-open.thebe-ai-expanded #appShell main{
    margin-left:auto!important;
    margin-right:auto!important;
    width:100%!important;
    max-width:1400px!important;
    min-width:0!important;
    padding-left:20px!important;
    padding-right:20px!important;
    box-sizing:border-box!important;
  }
  body #marketingGate{padding-right:calc(var(--thebe-spatial-width) + 48px)!important}
  body #thebeAiDock .thebe-ai-dock-head{padding:16px 18px!important;flex:0 0 auto!important}
  body #thebeAiDock .thebe-ai-dock-scroll{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:18px 20px!important;gap:14px!important}
  body #thebeAiDock .thebe-ai-voice-card{grid-template-columns:1fr!important;justify-items:center!important;align-content:center!important;text-align:center!important;gap:14px!important;min-height:210px!important;padding:22px 18px!important}
  body #thebeAiDock .thebe-ai-orb-button{width:96px!important;min-width:96px!important;max-width:96px!important;height:96px!important;min-height:96px!important;max-height:96px!important}
  body #thebeAiDock .thebe-ai-voice-label{font-size:20px!important;line-height:1.2!important}
  body #thebeAiDock .thebe-ai-voice-mount{justify-items:center!important;width:100%!important;margin-top:4px!important}
  body #thebeAiDock .thebe-ai-quick{grid-template-columns:1fr!important;gap:10px!important}
  body #thebeAiDock .thebe-ai-quick button,
  body #thebeAiDock .thebe-ai-quick button:last-child{grid-column:auto!important;min-height:46px!important;padding:11px 14px!important;font-size:13px!important;text-align:left!important}
  body #thebeAiDock .thebe-ai-response{font-size:13px!important;line-height:1.5!important}
  body #thebeAiDock .thebe-ai-compose{flex:0 0 auto!important;margin:0 18px 12px!important;padding:10px!important}
  body #thebeAiDock .thebe-ai-compose textarea{min-height:48px!important;max-height:160px!important;font-size:14px!important}
  body #thebeAiDock .thebe-ai-foot{flex:0 0 auto!important;padding:0 18px 14px!important;font-size:10px!important}
}

/* Medium desktop keeps the right-side Gemini relationship without crushing the workspace. */
@media (min-width:1024px) and (max-width:1199px){
  body{--thebe-spatial-width:clamp(320px,32vw,380px)}
  body.thebe-ai-expanded{--thebe-spatial-width:clamp(360px,36vw,430px)}
  body #thebeAiDock[data-surface="workspace"],
  body #thebeAiDock[data-surface="public"]{
    right:12px!important;
    top:12px!important;
    bottom:12px!important;
    height:auto!important;
    max-height:none!important;
    width:var(--thebe-spatial-width)!important;
    max-width:var(--thebe-spatial-width)!important;
  }
  body.thebe-ai-dock-open #appShell,
  body.thebe-ai-dock-open.thebe-ai-expanded #appShell{padding-right:calc(var(--thebe-spatial-width) + 36px)!important}
}

/* V272 public-market density — mirror Gemini's calmer side-panel hierarchy.
   Public Thebe keeps one clear conversation surface, compact pill suggestions,
   and the composer as the dominant control. Workspace behaviour remains unchanged. */
#thebeAiDock[data-surface="public"] .thebe-ai-presence,
#thebeAiDock[data-surface="public"] .thebe-ai-context-bar,
#thebeAiDock[data-surface="public"] .thebe-ai-mode-rail,
#thebeAiDock[data-surface="public"] .thebe-ai-eyebrow,
#thebeAiDock[data-surface="public"] .thebe-ai-foot,
#thebeAiDock[data-surface="public"] .thebe-ai-public-voice,
#thebeAiDock[data-surface="public"] .thebe-ai-expand,
#thebeAiDock[data-surface="public"] .thebe-ai-attention,
#thebeAiDock[data-surface="public"] .thebe-ai-quick button small{display:none!important}
#thebeAiDock[data-surface="public"]:not([data-conversation="true"]) .thebe-ai-response{display:none!important}
#thebeAiDock[data-surface="public"] .thebe-ai-dock-head{min-height:58px!important;padding:11px 13px!important}
#thebeAiDock[data-surface="public"] .thebe-ai-dock-scroll{padding:12px 14px 10px!important;gap:10px!important}
#thebeAiDock[data-surface="public"] .thebe-ai-voice-card{
  grid-template-columns:1fr!important;
  justify-items:center!important;
  align-content:center!important;
  min-height:116px!important;
  padding:10px 12px!important;
  gap:7px!important;
  border-bottom:0!important;
  text-align:center!important;
}
#thebeAiDock[data-surface="public"] .thebe-ai-orb-button{
  width:58px!important;min-width:58px!important;max-width:58px!important;
  height:58px!important;min-height:58px!important;max-height:58px!important;
  margin-bottom:2px!important;
}
#thebeAiDock[data-surface="public"] .thebe-ai-voice-label{font-size:18px!important;line-height:1.2!important;font-weight:500!important}
#thebeAiDock[data-surface="public"] .thebe-ai-quick{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
}
#thebeAiDock[data-surface="public"] .thebe-ai-quick button,
#thebeAiDock[data-surface="public"] .thebe-ai-quick button:last-child{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  min-height:36px!important;
  grid-column:auto!important;
  border-radius:999px!important;
  padding:7px 12px!important;
  font-size:12px!important;
  line-height:1.2!important;
  text-align:center!important;
  white-space:nowrap!important;
}
#thebeAiDock[data-surface="public"] .thebe-ai-quick button:nth-child(n+4){display:none!important}
#thebeAiDock[data-surface="public"] .thebe-ai-public-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:9px!important}
#thebeAiDock[data-surface="public"] :is(.thebe-ai-public-signin,.thebe-ai-public-start){min-height:36px!important;border-radius:999px!important;padding:7px 12px!important;font-size:12px!important}
#thebeAiDock[data-surface="public"] .thebe-ai-response{padding:12px!important;border-radius:16px!important;font-size:12.5px!important;line-height:1.5!important}
#thebeAiDock[data-surface="public"] .thebe-ai-compose{
  margin:0 12px 12px!important;
  padding:6px 7px 6px 12px!important;
  gap:6px!important;
  border:1px solid rgba(255,255,255,.20)!important;
  border-radius:26px!important;
}
#thebeAiDock[data-surface="public"] .thebe-ai-compose textarea{
  min-height:40px!important;
  max-height:120px!important;
  padding:10px 6px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  resize:none!important;
  font-size:14px!important;
}
#thebeAiDock[data-surface="public"] .thebe-ai-send{
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  border-radius:50%!important;
}
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
  body #thebeAiDock[data-surface="public"]{
    width:clamp(400px,31vw,460px)!important;
    min-width:400px!important;
    max-width:460px!important;
    right:16px!important;
    top:16px!important;
    bottom:16px!important;
  }
  body #marketingGate{padding-right:calc(clamp(400px,31vw,460px) + 32px)!important}
}
@media (min-width:1024px) and (max-width:1199px){
  body #thebeAiDock[data-surface="public"]{
    width:clamp(340px,31vw,380px)!important;
    min-width:340px!important;
    max-width:380px!important;
  }
  body #marketingGate{padding-right:calc(clamp(340px,31vw,380px) + 24px)!important}
}
@media (max-width:1023px){
  #thebeAiDock[data-surface="public"] .thebe-ai-dock-scroll{padding:10px 12px!important;gap:9px!important}
  #thebeAiDock[data-surface="public"] .thebe-ai-voice-card{min-height:96px!important;padding:8px 10px!important}
  #thebeAiDock[data-surface="public"] .thebe-ai-quick{overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  #thebeAiDock[data-surface="public"] .thebe-ai-quick button{min-height:34px!important;padding:7px 11px!important}
}

/* V272 workspace containment — the Gemini treatment belongs to the public market surface.
   Keep the signed-in operating workspace on its established compact command rail. */
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
  body{--thebe-spatial-width:272px}
  body.thebe-ai-expanded{--thebe-spatial-width:344px}
  body #thebeAiDock[data-surface="workspace"]{
    left:auto!important;
    right:16px!important;
    top:88px!important;
    bottom:auto!important;
    width:var(--thebe-spatial-width)!important;
    min-width:0!important;
    max-width:var(--thebe-spatial-width)!important;
    height:min(610px,calc(100dvh - 104px))!important;
    min-height:0!important;
    max-height:calc(100dvh - 104px)!important;
    border-radius:20px!important;
  }
  body.thebe-ai-dock-open #appShell,
  body.thebe-ai-dock-open.thebe-ai-expanded #appShell{padding-right:calc(var(--thebe-spatial-width) + 32px)!important}
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-dock-head{padding:12px!important}
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-dock-scroll{padding:12px!important;gap:10px!important}
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-voice-card{
    grid-template-columns:68px minmax(0,1fr)!important;
    justify-items:stretch!important;
    align-items:center!important;
    align-content:normal!important;
    text-align:left!important;
    gap:8px!important;
    min-height:0!important;
    padding:10px!important;
  }
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-orb-button{
    width:68px!important;min-width:68px!important;max-width:68px!important;
    height:68px!important;min-height:68px!important;max-height:68px!important;
  }
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-voice-label{font-size:16px!important}
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-voice-mount{justify-items:stretch!important;width:auto!important;margin-top:6px!important}
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-quick{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-quick button,
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-quick button:last-child{min-height:44px!important;padding:10px!important;font-size:11px!important;text-align:left!important}
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-quick button:last-child{grid-column:1/-1!important}
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-response{font-size:12px!important;line-height:1.5!important}
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-compose{margin:0 12px 10px!important;padding:8px!important}
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-compose textarea{min-height:44px!important;max-height:106px!important;font-size:14px!important}
  body #thebeAiDock[data-surface="workspace"] .thebe-ai-foot{padding:0 12px 10px!important;font-size:9px!important}
}
@media (min-width:1024px) and (max-width:1199px){
  body{--thebe-spatial-width:256px}
  body.thebe-ai-expanded{--thebe-spatial-width:324px}
  body #thebeAiDock[data-surface="workspace"]{
    left:auto!important;
    right:16px!important;
    top:88px!important;
    bottom:auto!important;
    width:var(--thebe-spatial-width)!important;
    min-width:0!important;
    max-width:var(--thebe-spatial-width)!important;
    height:min(610px,calc(100dvh - 104px))!important;
    min-height:0!important;
    max-height:calc(100dvh - 104px)!important;
  }
  body.thebe-ai-dock-open #appShell,
  body.thebe-ai-dock-open.thebe-ai-expanded #appShell{padding-right:calc(var(--thebe-spatial-width) + 32px)!important}
}
