/* Official HYBRID 26 chat. The transport, mission controls and composer dialogs keep their IDs. */
body.vx-premium-chat #view-chat{--vx-pm-ink:#f0f0f1;--vx-pm-muted:#94949b;--vx-pm-line:#424247}
#shell:not(.hidden){height:var(--h26-visible-height,100dvh)!important;min-height:0!important}
#shell .main-wrap{height:100%!important;min-width:0;min-height:0!important}
#shell .main-wrap:has(#view-chat.active-view)>main{min-height:0!important;flex:1;overflow:hidden;padding:0!important}
#shell #view-chat.active-view{margin:0!important;padding:0!important;min-height:0!important;height:100%!important}
#shell #vx-chat-center{background:var(--vx-design-bg,#0b0b0c)!important;min-height:0!important;min-width:0;display:flex;flex-direction:column}
#shell #vx-conversation-scroller{padding:0!important;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#shell #vx-chat-empty{display:flex!important;justify-content:safe center!important;align-items:center!important;width:100%!important;max-width:none!important;min-height:100%!important;margin:0!important;padding:23px 23px 15px!important;box-sizing:border-box;text-align:center;background:var(--vx-design-bg,#0b0b0c)}
#shell #vx-chat-empty[hidden],#shell #vx-chat-empty [hidden],#shell #h26-project-back[hidden],#shell #vx-chat-feed:empty{display:none!important}
.h26-welcome{display:flex;flex-direction:column;align-items:center;width:min(100%,680px);margin:auto;transition:opacity .24s ease,transform .3s ease,visibility .24s}
#vx-chat-empty[inert] :is(.h26-welcome,.h26-project-welcome){opacity:0;transform:translateY(-14px);visibility:hidden}
#shell #vx-chat-empty h1{margin:0 0 10px!important;font:660 clamp(32px,4.2vw,52px)/1.12 var(--vx-design-font)!important;letter-spacing:.15em!important;padding-left:.15em;color:#f0f0f1!important;text-align:center!important}
#shell #vx-chat-empty p{margin:0!important;color:var(--vx-design-muted,#a7a7ad)!important;font:400 17px/1.45 var(--vx-design-font)!important}
/* V2 identity and two balanced navigation shortcuts. No dashboard tiles. */
.vx-identity-mark{display:block;width:46px;height:46px;margin-bottom:12px;color:var(--vx-design-text);flex:none}
.h26-shortcuts{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;width:100%;margin-top:23px}
.h26-shortcuts button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-inline-size:116px;padding:0 14px;border-radius:999px;border:1px solid var(--vx-design-line);color:var(--vx-design-text);background:transparent;box-shadow:none;font:500 13px/1.2 var(--vx-design-font);letter-spacing:-.01em;touch-action:manipulation;cursor:pointer;transition:background var(--vx-design-motion),border-color var(--vx-design-motion);white-space:nowrap}
.h26-shortcuts button:hover{background:var(--vx-design-raised);border-color:var(--vx-design-line-strong)}
.h26-shortcuts button:focus-visible,.h26-header-search:focus-visible{outline:2px solid #f0f0f0;outline-offset:2px}
.h26-shortcuts button:active{transform:scale(.975)}
.h26-shortcuts .ico{width:17px;height:17px;stroke-width:1.7;flex:none;color:var(--vx-design-text)}
/* Only an idle, empty personal conversation is centered on desktop. The feed,
   project welcome, live vision and active notices keep the standard layout. */
@media(min-width:901px) and (min-height:600px){
 #shell #vx-chat-center:has(#vx-chat-empty:not([hidden]) .h26-welcome:not([hidden])):not(:has(#vx-chat-feed:not(:empty),#vx-vision-live:not([hidden]),#vx-vision-result:not([hidden]),#h26-project-back:not([hidden]))){justify-content:center;gap:0}
 #shell #vx-chat-center:has(#vx-chat-empty:not([hidden]) .h26-welcome:not([hidden])):not(:has(#vx-chat-feed:not(:empty),#vx-vision-live:not([hidden]),#vx-vision-result:not([hidden]),#h26-project-back:not([hidden]))) #vx-conversation-scroller{flex:0 1 auto;max-height:55%;min-height:0}
 #shell #vx-chat-center:has(#vx-chat-empty:not([hidden]) .h26-welcome:not([hidden])) #vx-chat-empty{min-height:0!important;padding:22px 23px 27px!important}
}
#shell #h26-project-back{display:flex;align-items:center;gap:8px;padding:10px 18px;background:#111113;color:#e2e2e4;border:0;border-bottom:1px solid #323237;text-align:left;font:650 13px system-ui;min-height:44px;overflow-wrap:anywhere}
.h26-project-welcome{display:grid;justify-items:center;gap:10px;overflow-wrap:anywhere}
.h26-project-welcome>span{display:grid;place-items:center;width:56px;height:56px;border:1px solid #55555d;border-radius:12px;color:#dddde0;font:700 28px system-ui}
.h26-project-welcome h2{margin:0;font:700 20px/1.25 system-ui}
#shell .main-wrap>.topbar{isolation:isolate;position:relative;display:flex;align-items:center;justify-content:space-between;flex:none!important;background:var(--vx-design-bg,#0b0b0c)!important;border:0!important;border-bottom:0!important;box-shadow:none!important;padding:0 23px!important;height:60px!important;min-height:60px!important}
#shell .main-wrap>.topbar::before{content:none}
#shell .main-wrap>.topbar::after,#shell .vx-top-brand::after{content:none!important}
#shell .topbar :is(.breadcrumb,.vx-top-divider,.vx-simple-history,#owner-check-top,#vx-flow-project-trigger){display:none!important}
#shell .top-actions{display:flex!important;align-items:center;gap:6px!important}
#shell .topbar .vx-top-brand{border:0;padding:0;color:#f1f1f2!important;background:transparent;letter-spacing:.17em!important;font:760 17px/1.1 system-ui;text-decoration:none}
.h26-header-search{display:grid;place-items:center;border:0;background:transparent;color:#d8d8dc;min-width:44px;min-height:44px;cursor:pointer}
#shell .topbar #vx-header-new-chat{display:grid!important;place-items:center;background:transparent!important;border:1px solid transparent!important;border-radius:50%!important;min-width:44px!important;width:44px!important;min-height:44px!important;height:44px!important;box-shadow:none;color:#ececee!important;font:350 23px/1 system-ui!important}
#shell #view-chat .vx-composer-area{box-sizing:border-box;position:relative;flex:none!important;width:min(100%,var(--vx-design-reading,760px))!important;max-width:none!important;align-self:center;margin:0 auto!important;padding:0 15px max(14px,env(safe-area-inset-bottom))!important;background:var(--vx-design-bg,#0b0b0c)!important}
#shell #view-chat #vx-chat-form{margin:0!important;padding:18px 19px 12px!important;border-radius:24px!important;background:var(--vx-design-surface,#171719)!important;border:1px solid var(--vx-design-line,#353539)!important;box-shadow:none!important}
#shell #view-chat #vx-chat-form:focus-within{border-color:#85858b!important}
#shell #view-chat #vx-chat-form #vx-chat-input{box-sizing:border-box;color:#f1f1f3!important;min-height:44px!important;padding:3px 4px 7px!important;max-height:min(175px,25dvh)!important;font:400 16px/1.45 system-ui,sans-serif!important;background:transparent!important}
#shell #view-chat #vx-chat-form #vx-chat-input::placeholder{color:var(--vx-design-muted,#a7a7ad)!important}
#shell #view-chat #vx-chat-form .vx-char-counter[data-state="ok"],#shell #view-chat .vx-flow-toolbar{display:none!important}
#shell #view-chat .vx-composer-controls{margin-top:3px!important;gap:6px}
#shell #view-chat .vx-composer-left{gap:5px!important}
#shell #view-chat #vx-chat-form :is(.vx-cf-menu>summary,#vx-chat-mic,.vx-ux-mode-trigger){color:#dedee2!important;background:transparent!important;border:0!important;border-radius:10px!important}
#shell #view-chat #vx-chat-form :is(.vx-cf-menu>summary,#vx-chat-mic,.vx-ux-mode-trigger):is(:hover,:focus-visible){background:#36363a!important}
#shell #view-chat #vx-chat-submit{background:var(--vx-design-action,#f2f2f3)!important;color:#111115!important;border:1px solid #eee!important;width:48px!important;height:48px!important}
#shell #view-chat #vx-chat-submit:disabled{background:var(--vx-design-raised,#212123)!important;color:#9d9da3!important;border-color:#57575d!important;opacity:1!important}
#shell #view-chat #vx-chat-submit svg{transform:none!important}
#shell #view-chat .h26-status-row{display:flex;justify-content:flex-end;align-items:center;padding:0 3px;margin:0 0 3px}
#shell #view-chat .h26-status-row .vx-model-chip{display:inline-flex!important;align-items:center;font:500 11px/1.4 system-ui!important;color:#a8a8ad!important;background:transparent!important;border:0!important;padding:0!important;gap:6px;height:auto!important;min-height:0!important;max-width:100%}
#shell #view-chat .vx-composer-footnote:empty{display:none!important}
#shell #view-chat #vx-chat-form[data-wide-editor] #vx-chat-input{height:min(34dvh,350px)!important;max-height:min(34dvh,350px)!important;overflow-y:auto!important}
.h26-chat-utilities{display:grid;gap:4px;border-bottom:1px solid #36363c;padding-bottom:6px;margin-bottom:4px}
#shell .h26-chat-utilities>button,#shell #vx-cf-advanced-body>#vx-quiet-activity-trigger{display:flex!important;align-items:center;justify-content:flex-start;gap:8px;min-height:44px!important;min-width:0!important;width:100%!important;max-width:none!important;padding:8px 13px!important;font:550 13.5px/1.3 system-ui!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#ededee!important;text-align:left}
#shell .h26-chat-utilities>button:hover{background:#353539!important}
#shell #vx-cf-advanced-body .h26-chat-utilities>button[hidden]{display:none!important}
#shell #vx-cf-advanced-body #vx-quiet-activity-trigger .vx-quiet-activity-label{position:static;width:auto;height:auto;clip-path:none;clip:auto;margin:0;overflow:visible}
#shell #vx-cf-advanced-body #vx-quiet-activity-trigger[hidden]{display:none!important}
#shell .h26-chat-utilities>#vx-chat-privacy{font:400 12px/1.4 system-ui;color:#a6a6ad;white-space:normal;padding:6px 13px}
#shell .h26-chat-utilities>#vx-flow-context-toggle{display:none!important}
@media(min-width:1371px){#shell .h26-chat-utilities>#vx-flow-context-toggle{display:flex!important}}
#shell #vx-chat-feed:not(:empty){width:min(100%,var(--vx-design-reading,760px))!important;margin:0 auto!important;padding:24px 19px!important}
#shell .vx-chat-message[data-role=user] .vx-chat-copy{background:var(--vx-design-raised,#212123)!important;border:1px solid var(--vx-design-line,#353539)!important;border-radius:16px!important}
#shell .vx-chat-message[data-role=assistant] .vx-chat-copy{border:0!important;padding:0!important}
#shell .vx-chat-message[data-search-hit] .vx-chat-copy{outline:1px solid #94949a;outline-offset:4px}
#shell .vx-chat-message .vx-chat-tools{gap:6px;margin-top:7px}
#shell .vx-chat-message[data-role=user] .vx-chat-tools{justify-content:flex-end}
#shell .vx-chat-message .vx-chat-tools button{border:1px solid transparent;border-radius:9px;min-height:34px;padding:7px 9px;color:#aaaab1;font:500 11px/1 system-ui}
#shell .vx-chat-message .vx-chat-tools button:is(:focus-visible,:hover){color:#f4f4f6;background:#ffffff12;border-color:#66666b}
#shell .topbar #vx-header-new-chat:hover{background:var(--vx-design-hover)!important}
#shell .topbar :is(#vx-voice-live-entry,.h26-header-search){border-radius:50%}
#shell .topbar #vx-voice-live-entry[hidden]{display:none!important}
@media(min-width:1061px){#shell .topbar .vx-top-brand{display:none!important}}
@media(min-width:901px){#shell .main-wrap:not(:has(#view-chat.active-view)) .topbar .breadcrumb{display:block!important;color:var(--vx-design-muted);font-size:12px;font-weight:500}}
@media(max-width:1060px){
 #shell .main-wrap>.topbar{height:65px!important;min-height:65px!important;padding:0 17px!important}
 #shell .topbar .top-left{gap:14px!important}
 #shell .topbar .vx-top-brand{display:block!important;font:760 16px/1.15 system-ui!important}
 #shell .topbar #mobile-menu-trigger{display:grid!important;place-items:center;min-width:44px;min-height:44px;border:0!important;background:transparent!important}
}
@media(max-width:900px){
 /* Gestures on the toolbar end here. The feed, text and open menus retain their own scroll. */
 html:has(#shell:not(.hidden) #view-chat.active-view){overscroll-behavior:none}
 #shell:not(.hidden):has(#view-chat.active-view){
   position:fixed;inset-inline:0;top:var(--h26-visible-top,0px);
 }
 #shell #view-chat #vx-chat-center{justify-content:flex-end}
 /* Each popover is positioned from the controls row. Size it against that same row
    and the visible space above it when the keyboard only resizes the visual viewport. */
 #shell #view-chat #vx-chat-form :is(#vx-ux-mode-panel,#vx-cf-attach-body,#vx-cf-advanced-body){
   box-sizing:border-box;max-width:100%!important;
   max-height:min(58dvh,475px,calc(var(--h26-visible-height,100dvh) - 150px))!important;
   overscroll-behavior:contain;
 }
 #shell #vx-chat-empty{padding:19px 18px 9px!important}
 #shell #vx-chat-empty h1{font-size:clamp(30px,8.1vw,40px)!important}
 #shell #vx-chat-empty p{font-size:16px!important}
 .vx-identity-mark{width:38px;height:38px;margin-bottom:11px}
 .h26-shortcuts{max-width:360px;gap:9px;margin-top:22px}
 .h26-shortcuts button{min-height:44px;padding:0 12px;font-size:12.5px}
 .h26-shortcuts .ico{width:17px;height:17px}
 #shell #view-chat .vx-composer-area{padding:0 12px max(10px,env(safe-area-inset-bottom))!important}
 /* The Android WebView already ends above the system navigation bar. */
 html.vx-android-native-nav #shell #view-chat .vx-composer-area{padding-bottom:clamp(10px,env(safe-area-inset-bottom),12px)!important}
 #shell #view-chat #vx-chat-form{border-radius:24px!important;padding:14px 15px 11px!important}
 #shell #view-chat #vx-chat-form #vx-chat-input{font-size:16px!important;min-height:37px!important;overscroll-behavior:contain}
 #shell #view-chat #vx-chat-submit{width:44px!important;height:44px!important}
}
@media(max-width:900px){
 /* Landscape IMEs can leave less than one toolbar plus one editor of height. */
 html.h26-short-viewport #shell .main-wrap:has(#view-chat.active-view #vx-chat-form :is(textarea,input):focus)>.topbar{
   display:none!important;
 }
 html.h26-short-viewport #shell #view-chat #vx-chat-form #vx-chat-input{
   max-height:min(25dvh,calc(var(--h26-visible-height,100dvh) - 100px))!important;
   overflow-y:auto!important;
 }
 html.h26-short-viewport #shell #view-chat #vx-chat-form :is(#vx-ux-mode-panel,#vx-cf-attach-body,#vx-cf-advanced-body){
   max-height:calc(var(--h26-visible-height,100dvh) - 80px)!important;
 }
 html.h26-short-viewport #shell #vx-model-families :is(.vx-provider-heading,.vx-provider-search){position:static}
}
@media(max-width:355px){
 #shell .main-wrap>.topbar{padding:0 11px!important}
 #shell .topbar .vx-top-brand{font-size:14px!important}
 #shell #vx-chat-empty h1{font-size:26px!important}
 #shell #view-chat .vx-composer-area{padding-left:8px!important;padding-right:8px!important}
}
@media(max-height:730px){
 .h26-shortcuts button{min-height:44px;padding:0 11px;font-size:12px}
 .h26-shortcuts .ico{width:16px;height:16px}
 #shell #view-chat #vx-chat-form{padding:10px 13px 8px!important}
 #shell #view-chat #vx-chat-form #vx-chat-input{min-height:28px!important;padding:1px 4px 3px!important}
 #shell #view-chat #vx-chat-form:not([data-wide-editor]) #vx-chat-input:placeholder-shown{height:28px!important}
 #shell #view-chat .h26-status-row{margin-bottom:3px}
}
@media(max-height:530px){
 #shell #vx-chat-empty{justify-content:flex-start!important;padding:9px 14px!important}
 .vx-identity-mark{display:none}
 #shell #vx-chat-empty h1{font-size:23px!important}
 .h26-welcome{margin:0 auto}
 #shell #vx-chat-empty h1{margin-bottom:0!important}
 #shell #vx-chat-empty .h26-welcome p,.h26-rule,.h26-shortcuts button::after{display:none!important}
 .h26-shortcuts{margin-top:9px}.h26-shortcuts button{min-height:44px;flex-direction:row;align-items:center;justify-content:center;gap:8px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.h26-welcome,.h26-shortcuts button,#shell #vx-chat-form{transition:none!important;animation:none!important}}
/* Both composer popovers share an intentionally quiet premium surface. */
body.vx-premium-chat.vx-chat-first #view-chat #vx-cf-attach-body,
body.vx-premium-chat.vx-chat-first #view-chat #vx-cf-advanced-body{
  width:min(365px,calc(100vw - 30px))!important;
  max-height:min(62dvh,540px)!important;overflow-x:hidden!important;
  padding:14px!important;gap:6px!important;
  border:1px solid #45474e!important;border-radius:20px!important;
  background:#222328!important;box-shadow:0 20px 64px #000b!important;
}
body.vx-premium-chat .vx-pm-popover-title{
  display:flex;flex-direction:column;gap:3px;padding:5px 6px 12px;
  margin-bottom:4px;border-bottom:1px solid #36383e;
}
body.vx-premium-chat .vx-pm-popover-title strong{
  color:#f4f4f6;font-size:15px;line-height:1.3;font-weight:670;letter-spacing:-.02em;
}
body.vx-premium-chat .vx-pm-popover-title small{color:#999ba4;font-size:12px;line-height:1.5}
body.vx-premium-chat.vx-chat-first #view-chat #vx-cf-attach-body>button,
body.vx-premium-chat.vx-chat-first #view-chat #vx-cf-advanced-body>.vx-pm-mission,
body.vx-premium-chat.vx-chat-first #view-chat .vx-pm-section-content>button{
  display:flex!important;width:100%!important;min-height:48px!important;
  box-sizing:border-box!important;align-items:center!important;justify-content:flex-start!important;
  padding:12px 13px!important;background:transparent!important;
  color:#e7e8ed!important;border:1px solid transparent!important;border-radius:12px!important;
  text-align:left!important;font-size:13.5px!important;font-weight:560!important;letter-spacing:0!important;
}
body.vx-premium-chat.vx-chat-first #view-chat #vx-cf-attach-body>button:hover,
body.vx-premium-chat.vx-chat-first #view-chat #vx-cf-advanced-body>.vx-pm-mission:hover,
body.vx-premium-chat.vx-chat-first #view-chat .vx-pm-section-content>button:hover{
  background:#32343b!important;border-color:#494b54!important;
}
body.vx-premium-chat.vx-chat-first #view-chat .vx-cf-menu-body button[hidden],
body.vx-premium-chat.vx-chat-first #view-chat .vx-cf-menu-body button:disabled,
body.vx-premium-chat.vx-chat-first #view-chat #vx-mission-entry[hidden]{display:none!important}
body.vx-premium-chat #view-chat #vx-cf-attach-body>button[data-vx-premium-action="update"]{
  border-top:1px solid #353740!important;border-radius:0 0 12px 12px!important;margin-top:5px;
}

/* Every secondary capability is a disclosure, not a full dashboard. */
body.vx-premium-chat #view-chat #vx-cf-advanced-body>.vx-pm-section{
  display:block!important;position:static!important;width:100%;margin:2px 0!important;
  background:transparent!important;border:0!important;padding:0!important;
}
body.vx-premium-chat #view-chat #vx-cf-advanced-body>.vx-pm-section>summary{
  position:relative;display:flex!important;align-items:center!important;
  justify-content:space-between!important;gap:12px!important;
  width:100%;min-height:48px!important;box-sizing:border-box!important;
  color:#e8e9ef!important;background:transparent!important;
  border:1px solid transparent!important;border-radius:12px!important;
  margin:0!important;padding:11px 14px!important;text-align:left!important;
  font-size:13.5px!important;font-weight:590!important;
  line-height:1.4!important;cursor:pointer;list-style:none!important;
}
body.vx-premium-chat #view-chat #vx-cf-advanced-body>.vx-pm-section>summary::after{
  content:'⌄'!important;display:block!important;color:#898c97!important;
  font-size:16px!important;line-height:1!important;opacity:1!important;
  transform:none!important;
}
body.vx-premium-chat #view-chat #vx-cf-advanced-body>.vx-pm-section[open]>summary::after{
  transform:rotate(180deg)!important;
}
body.vx-premium-chat #view-chat #vx-cf-advanced-body>.vx-pm-section>summary::-webkit-details-marker{display:none}
body.vx-premium-chat #view-chat #vx-cf-advanced-body>.vx-pm-section>summary:hover,
body.vx-premium-chat #view-chat #vx-cf-advanced-body>.vx-pm-section[open]>summary{
  background:#303238!important;border-color:#41434d!important;
}
body.vx-premium-chat #view-chat #vx-cf-advanced-body>.vx-pm-section>label,
body.vx-premium-chat #view-chat #vx-cf-advanced-body>.vx-pm-section>.vx-pm-section-content,
body.vx-premium-chat #view-chat #vx-cf-advanced-body>.vx-pm-section>.vx-ux-options-sheet{
  box-sizing:border-box;padding:10px 9px 8px!important;min-width:0;
}
body.vx-premium-chat #view-chat #vx-cf-advanced-body .vx-pm-connection{
  position:static!important;display:block!important;background:transparent!important;border:0!important;
  padding:0!important;box-shadow:none!important;margin:0!important;
}
body.vx-premium-chat #view-chat #vx-cf-advanced-body .vx-pm-connection>summary{
  display:none!important;
}
body.vx-premium-chat #view-chat #vx-cf-advanced-body .vx-pm-connection>.vx-simple-options-content{
  display:grid!important;position:static!important;min-width:0!important;
  width:100%!important;max-width:100%!important;margin:0!important;
  padding:6px 10px!important;background:transparent!important;border:0!important;
  box-shadow:none!important;
}
body.vx-premium-chat #view-chat #vx-cf-advanced-body .vx-pm-connection .vx-web-control{
  box-sizing:border-box!important;min-height:42px!important;padding:8px 4px!important;
  background:transparent!important;color:#d6d8de!important;
}
body.vx-premium-chat #view-chat #vx-cf-advanced-body .vx-pm-voice button[hidden],
body.vx-premium-chat #view-chat #vx-cf-advanced-body .vx-pm-code button[hidden]{display:none!important}
body.vx-premium-chat #view-chat #vx-cf-advanced-body .vx-pm-permissions .vx-ux-options-sheet{
  max-height:none!important;overflow:visible!important;
}

/* Keep important stop, errors and authorizations visible. Keep the owner check in drawer. */
@media(max-width:600px){
  body.vx-premium-chat #owner-check-top{display:none!important}
  body.vx-premium-chat.vx-chat-first #view-chat #vx-cf-attach-body,
  body.vx-premium-chat.vx-chat-first #view-chat #vx-cf-advanced-body{
    left:0!important;right:auto!important;max-height:min(60dvh,475px)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.vx-premium-chat.vx-chat-first #view-chat #vx-chat-form{transition:none}
}

/* The legacy Internet+voice submenu is intentionally replaced by one control. */
body.vx-premium-chat #view-chat #vx-cf-advanced-body>.vx-simple-options[hidden]{display:none!important}
body.vx-premium-chat #view-chat #vx-cf-advanced-body .vx-pm-voice .vx-web-control{
  display:flex!important;align-items:center!important;gap:12px!important;min-height:44px!important;
  padding:9px 12px!important;box-sizing:border-box!important;margin:0!important;
  background:transparent!important;color:#dedfe6!important;font-size:13px!important;
}


/* VYRONTA · Activity V2. Owned by the chat; no receipts in the composer flow. */
#vx-quiet-activity-trigger[hidden],
#vx-quiet-activity-sheet[hidden],
#vx-quiet-activity-sheet [hidden]{display:none!important}
#vx-quiet-activity-trigger{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;
  min-width:42px;min-height:42px;max-width:140px;padding:0 8px;margin:0;
  color:#e7e7ea;background:transparent;border:1px solid transparent;border-radius:11px;
  cursor:pointer;font:600 12px/1.2 system-ui,sans-serif;white-space:nowrap;
}
#vx-quiet-activity-trigger:hover,#vx-quiet-activity-trigger[aria-expanded="true"]{background:#29292d;border-color:#46464b}
#vx-quiet-activity-trigger:focus-visible,#vx-quiet-activity-sheet button:focus-visible,
#vx-quiet-activity-sheet summary:focus-visible{outline:2px solid #ededf0;outline-offset:2px}
#vx-quiet-activity-trigger .vx-quiet-activity-glyph{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#vx-quiet-activity-trigger .vx-quiet-activity-count:not([hidden]){display:flex;align-items:center;justify-content:center;
  font-size:10px;font-weight:750;color:#0f1012;background:#efeff0;border-radius:999px;min-width:16px;height:16px;padding:0 3px}
#vx-quiet-activity-trigger[data-pending="true"]{color:#fff}
#vx-quiet-activity-sheet{
  position:fixed;inset:0;z-index:99990;isolation:isolate;display:flex;
  align-items:flex-end;justify-content:center;padding:0;margin:0;
}
#vx-quiet-activity-sheet .vx-quiet-activity-backdrop{
  position:absolute;inset:0;border:0;background:rgba(0,0,0,.76);cursor:pointer;
}
#vx-quiet-activity-sheet .vx-quiet-activity-window{
  position:relative;display:flex;flex-direction:column;box-sizing:border-box;
  width:min(100%,720px);max-height:min(82dvh,760px);height:auto;
  background:#18181b;color:#f4f4f6;border:1px solid #424248;border-radius:18px 18px 0 0;
  box-shadow:0 -14px 36px #0009;padding-bottom:env(safe-area-inset-bottom,0px);overflow:hidden;
}
#vx-quiet-activity-sheet .vx-quiet-activity-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;
  padding:8px 13px;background:#202023;border-bottom:1px solid #37373c;min-height:58px;
}
#vx-quiet-activity-sheet .vx-quiet-activity-head h2{font:700 17px system-ui,sans-serif;margin:0}
#vx-quiet-activity-sheet .vx-quiet-activity-head-actions{display:flex;align-items:center;gap:7px}
#vx-quiet-activity-sheet .vx-quiet-activity-head-actions button{
  box-sizing:border-box;min-height:40px;padding:7px 10px;margin:0;color:#f4f4f5;
  background:#2b2b30;border:1px solid #49494e;border-radius:11px;
  font:600 12px system-ui,sans-serif;cursor:pointer;
}
#vx-quiet-activity-sheet .vx-quiet-activity-tabs{
  display:flex;flex-shrink:0;gap:8px;padding:10px 13px 4px;background:#18181b;
}
#vx-quiet-activity-sheet .vx-quiet-activity-tabs button{
  flex:1;min-height:42px;margin:0;padding:7px 8px;background:#242427;border:1px solid #444449;
  border-radius:11px;color:#c8c8ce;font:600 13px system-ui,sans-serif;
}
#vx-quiet-activity-sheet .vx-quiet-activity-tabs button[aria-pressed="true"]{
  background:#e9e9eb;color:#121214;border-color:#e9e9eb;
}
#vx-quiet-activity-sheet .vx-quiet-activity-hint{
  flex-shrink:0;margin:0;padding:7px 15px 9px;color:#b8b8c1;font-size:12px;
}
#vx-quiet-activity-sheet .vx-quiet-activity-scroll{
  box-sizing:border-box;min-height:0;overflow-y:auto;overscroll-behavior:contain;
  padding:5px 13px 20px;scrollbar-color:#5e5e65 transparent;
}
#vx-quiet-activity-sheet .vx-selfprog{
  position:static!important;inset:auto!important;width:100%;max-width:100%!important;
  max-height:none!important;margin:0 0 10px;padding:7px 10px;
  box-shadow:none!important;border:1px solid #404044;border-radius:13px;background:#242427;
}
#vx-quiet-activity-sheet .vx-action-panel{
  display:block;position:static!important;inset:auto!important;float:none!important;
  width:100%;max-width:100%!important;max-height:none!important;height:auto!important;
  min-width:0;margin:0;padding:8px;overflow:visible!important;
  border:1px solid #404044;border-radius:13px;background:#242427;
}
#vx-quiet-activity-sheet .vx-action-panel[hidden],#vx-quiet-activity-sheet .vx-selfprog[hidden],
#vx-quiet-activity-sheet .vx-quiet-activity-filtered{display:none!important}
#vx-quiet-activity-sheet .vx-action-panel>summary{min-height:40px;padding:9px 5px;color:#ededf0;font-size:13px;white-space:normal}
#vx-quiet-activity-sheet .vx-action-panel>button,#vx-quiet-activity-sheet .vx-action-card button{min-height:42px}
#vx-quiet-activity-sheet .vx-action-card{padding:10px 4px;border-top:1px solid #36363c}
#vx-quiet-activity-sheet .vx-action-card pre,
#vx-quiet-activity-sheet .vx-sp-diff pre,
#vx-quiet-activity-sheet #vx-sp-output,
#vx-quiet-activity-sheet #vx-sp-command,
#vx-quiet-activity-sheet #vx-sp-diff-text{
  max-width:100%;max-height:min(30dvh,260px)!important;overflow:auto;
  white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;
}
#vx-quiet-activity-sheet .vx-quiet-activity-more{
  display:block;width:100%;min-height:42px;margin:12px 0 0;padding:8px;
  background:#29292d;color:#ededf0;border:1px solid #4b4b50;border-radius:12px;
  font:600 13px system-ui,sans-serif;cursor:pointer;
}
#vx-quiet-activity-sheet .vx-sp-actions{display:flex;flex-wrap:wrap;gap:7px}
#vx-quiet-activity-sheet .vx-sp-actions button{min-height:42px}
#vx-quiet-activity-sheet button:disabled{opacity:.5}
#vx-quiet-activity-sheet .vx-action-panel.vx-quiet-activity-no-actions>summary{display:none}
body.vx-quiet-activity-visible{overflow:hidden!important}
@media (max-width:620px){
  #vx-quiet-activity-trigger{min-width:42px;max-width:46px;padding:0 3px}
  #vx-quiet-activity-trigger .vx-quiet-activity-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  #vx-quiet-activity-trigger .vx-quiet-activity-count{position:absolute;right:-2px;top:-1px}
  #vx-quiet-activity-sheet .vx-quiet-activity-window{max-height:min(86dvh,760px)}
}
@media (min-width:720px){
  #vx-quiet-activity-sheet{align-items:center;padding:14px}
  #vx-quiet-activity-sheet .vx-quiet-activity-window{border-radius:18px;max-height:min(84dvh,780px)}
}

/* Budget diagnostic is an explicit, readonly Activity tab. */
#vx-quiet-activity-sheet .vx-quiet-activity-tabs button{min-width:0;overflow-wrap:anywhere}
#vx-quiet-activity-sheet .vx-quiet-activity-budget-view{min-height:0;overflow-y:auto;overscroll-behavior:contain;
  padding:10px 16px 22px;color:#e8e8ec;font:14px/1.45 system-ui,sans-serif}
#vx-quiet-activity-sheet .vx-quiet-activity-budget-view[hidden]{display:none!important}
#vx-quiet-activity-sheet .vx-quiet-activity-budget-view h3{font-size:14px;margin:15px 0 8px;color:#fff}
#vx-quiet-activity-sheet .vx-quiet-budget-line{display:flex;justify-content:space-between;align-items:start;
  gap:10px;padding:9px 0;border-bottom:1px solid #37373c;font-size:13px}
#vx-quiet-activity-sheet .vx-quiet-budget-line span{color:#c2c2c9;min-width:0}
#vx-quiet-activity-sheet .vx-quiet-budget-line strong{text-align:right;overflow-wrap:anywhere;min-width:0;font-weight:600}
#vx-quiet-activity-sheet .vx-quiet-budget-event{display:flex;flex-direction:column;gap:5px;padding:10px;
  border:1px solid #46464d;border-radius:10px;margin:6px 0;background:#232327}
#vx-quiet-activity-sheet .vx-quiet-budget-event small{color:#bdbdc6}
#vx-quiet-activity-sheet .vx-quiet-budget-note{font-size:12px;color:#bcbcc5;margin:8px 0}
@media(max-width:420px){#vx-quiet-activity-sheet .vx-quiet-activity-tabs{gap:5px;padding-inline:8px}
#vx-quiet-activity-sheet .vx-quiet-activity-tabs button{padding:8px 2px;font-size:12px}}

#vx-quiet-activity-trigger .vx-quiet-activity-count[hidden]{display:none}

.folio-card{border:1px solid #444448;background:var(--vx-design-surface,#171719);border-radius:var(--vx-design-radius,14px);overflow:visible;min-width:0;position:relative;box-shadow:none;transition:transform .22s ease,border-color .22s ease}
.folio-card:hover{transform:translateY(-2px);border-color:#77777b}
.folio-cover{height:88px;position:relative;isolation:isolate;overflow:visible;border-radius:14px 14px 0 0;background:transparent}
.folio-cover:after{content:'';position:absolute;inset:0;background:none;pointer-events:none;z-index:1}
.folio-cover-static{cursor:default;pointer-events:none}.folio-cover-click{position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;border:0;background:transparent;cursor:pointer;text-align:left;color:inherit;border-radius:17px 17px 0 0}
.folio-kmark{position:absolute;top:20px;left:16px;width:44px;height:44px;border:1px solid var(--vx-design-line);background:var(--vx-design-raised);border-radius:13px;display:grid;place-items:center;font-size:19px;letter-spacing:-.04em;font-weight:700}
.folio-titleblock{position:absolute;left:73px;top:22px;right:58px}
.folio-titleblock h2{margin:0;color:#f3f3f3;font-size:clamp(21px,2.5vw,26px);font-weight:740;letter-spacing:-.045em;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folio-titleblock .folio-projecttype{margin-top:6px;color:var(--vx-design-muted);display:flex;align-items:center;gap:7px;font-size:11px;font-weight:520}
.folio-titleblock .folio-projecttype i{width:5px;height:5px;background:#d0d0d4;border-radius:50%;display:inline-block}
.folio-card-options{position:absolute;top:19px;right:9px;z-index:4}
.folio-card-options summary{height:44px;width:44px;display:grid;place-items:center;border-radius:10px;list-style:none;background:transparent;border:1px solid transparent;color:white;cursor:pointer}
.folio-card-options summary::-webkit-details-marker{display:none}
.folio-card-options summary svg{width:19px;height:19px}
.folio-card-options[open] summary{background:#3c3c41;border-color:#95959b}
.folio-card-options .folio-pop{position:absolute;right:0;top:45px;z-index:5;width:164px;padding:5px;background:#29292d;border:1px solid #66666b;box-shadow:0 18px 32px #000a;border-radius:12px;display:grid;gap:2px}
.folio-pop button{border:0;background:transparent;color:#e5e5e6;text-align:left;padding:12px 11px;font-size:12px;font-weight:630;border-radius:8px}
.folio-pop button:hover{background:#414146}
.folio-bottom{padding:0 12px 12px;display:flex;align-items:center;gap:8px;justify-content:space-between;background:transparent;border-radius:0 0 14px 14px}
.folio-counting{font-size:11px;color:#99999f;white-space:nowrap;font-weight:570;display:flex;align-items:center;gap:7px}
.folio-counting svg{width:14px;height:14px;color:#99999f}
.folio-actions{display:flex;align-items:center;gap:7px;width:100%}
.folio-actions button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border-radius:10px;font-size:12px;font-weight:600;white-space:nowrap;padding:0 12px;flex:1}
.folio-actions .folio-open{background:transparent;color:var(--vx-design-text);border:1px solid var(--vx-design-line)}
.folio-actions .folio-open:hover{background:var(--vx-design-hover)}
.folio-actions .folio-chat{background:var(--vx-design-raised);border:1px solid transparent;color:var(--vx-design-text)}
.folio-actions .folio-chat:hover{border-color:#929298}
.folio-actions svg{width:15px;height:15px}
.folio-empty-search{grid-column:1/-1;padding:30px 12px;text-align:center;color:#929298;font-size:12px;border:1px dashed #444;border-radius:14px}
@media(max-width:820px){.folio-project-grid{grid-template-columns:1fr}}
@media(min-width:821px){.folio-project-grid:has(.folio-card:only-child){grid-template-columns:minmax(0,620px)}}
@media(max-width:900px){.page-wrap:has(.folio-intro)>.head{margin-bottom:26px}}
@media(max-width:390px){.folio-actions button{padding:0 8px}}
@media(max-width:360px){.folio-bottom{flex-wrap:wrap;justify-content:space-between;gap:10px}.folio-actions{margin-left:auto}.folio-cover{height:88px}}
@media(prefers-reduced-motion:reduce){.folio-card,.folio-intro{transition:none!important}}
/* HYBRID 26. The official drawer shares route and control IDs with the authenticated shell. */
#shell .h26-sidebar,#shell .h26-page,#h26-search-dialog{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#eeeef0;color-scheme:dark}
#shell .h26-sidebar{display:flex!important;flex-flow:column nowrap!important;width:var(--vx-design-sidebar-width,268px)!important;height:var(--h26-visible-height,100dvh)!important;min-height:0!important;container:drawer / size;background:var(--vx-design-sidebar,#111112)!important;border:0!important;border-right:1px solid var(--vx-design-line,#353539)!important;padding:0!important;gap:0!important;overflow:hidden!important}
#shell .h26-side-head{height:60px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 23px}
#shell .h26-wordmark{padding:0;border:0;background:none;color:#f4f4f5;font-size:19px;font-weight:780;letter-spacing:.13em}
#shell .h26-close{border:0;background:none;color:#b8b8bc;font-size:26px;font-weight:280;min-height:44px;width:42px;display:none}
#shell .h26-sidebar #main-nav{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;gap:0!important;padding:8px 12px 0!important;margin:0!important;min-height:0!important}
#shell .h26-sidebar #main-nav .vx-flow-mainnav{display:grid!important;order:1!important;gap:0!important;margin:0!important;padding:6px 0!important;flex:none;grid-template-columns:repeat(2,minmax(0,1fr))}
#shell .h26-sidebar #main-nav .vx-flow-mainnav>:is([data-go=chat],[data-go=timed-work],[data-go=workspace]){grid-column:1/-1}
#shell .h26-sidebar #main-nav .vx-flow-mainnav>:is([data-go=connections],[data-go=memory]){padding-inline:8px!important;gap:7px!important;font-size:12px!important}
#shell .h26-sidebar :is(#main-nav,.sidebar-bottom) .h26-row{box-sizing:border-box;position:relative;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;text-align:left;height:44px!important;min-height:44px!important;max-height:none!important;width:100%!important;padding:0 14px!important;margin:0!important;background:transparent!important;color:#b8b8bb!important;border:1px solid transparent!important;border-radius:11px!important;box-shadow:none!important;font:610 13.5px/1.2 system-ui,sans-serif!important}
#shell .h26-sidebar :is(#main-nav,.sidebar-bottom) .h26-row.active,#shell .h26-sidebar :is(#main-nav,.sidebar-bottom) .h26-row:hover{color:#fff!important;background:var(--vx-design-hover,#29292c)!important;border-color:transparent!important}
#shell .h26-sidebar :is(#main-nav,.sidebar-bottom) .h26-row.active:before{content:"";position:absolute;left:-1px;width:2px;height:20px;background:#eee;border-radius:3px}
#shell .h26-sidebar :is(#main-nav,.sidebar-bottom) .h26-row>.ico{display:block!important;width:19px!important;height:19px!important;flex:0 0 19px!important;stroke:currentColor!important;stroke-width:1.7!important;fill:none!important;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}
#shell .h26-sidebar #vx-new-chat{display:flex!important;justify-content:center!important;align-items:center!important;gap:9px!important;order:2!important;margin:0 2px 5px!important;width:calc(100% - 4px)!important;min-height:47px!important;height:47px!important;border:0!important;border-radius:12px!important;background:var(--vx-design-raised)!important;color:var(--vx-design-text)!important;font:650 13px system-ui,sans-serif!important}
#shell .h26-sidebar #vx-new-chat svg{width:18px;height:18px}
#shell .h26-sidebar #vx-new-chat:hover{background:var(--vx-design-hover)!important}
#shell .h26-sidebar #vx-new-chat{flex:none}
#shell .h26-sidebar .h26-thread-search{order:3;flex:none;position:relative;display:block;margin:9px 2px 6px}
#shell .h26-thread-search svg{position:absolute;top:50%;left:12px;transform:translateY(-50%);width:17px;height:17px;color:#aaaab1;pointer-events:none}
#shell .h26-sidebar #main-nav #vx-thread-search{box-sizing:border-box;width:100%;min-height:44px!important;margin:0!important;padding:8px 12px 8px 38px!important;color:#eee!important;font:400 16px system-ui,sans-serif;border-radius:11px!important;background:#1b1b1d!important;border:1px solid #3d3d40!important}
#shell .h26-sidebar #main-nav #vx-chat-thread-list{flex:1 1 60px!important;min-height:48px!important;max-height:none!important;overflow-y:auto;overscroll-behavior:contain;padding:2px 4px 6px;scrollbar-width:thin}
#shell .h26-sidebar .vx-thread-row{flex:none;grid-template-columns:minmax(0,1fr) 44px;min-height:44px}
#shell .h26-sidebar .vx-thread-open{min-height:44px;font-size:13px;color:var(--vx-design-text,#f2f2f3)}
#shell .h26-sidebar .vx-thread-actions summary{width:44px;height:44px}
#shell .h26-sidebar .vx-thread-action-menu{margin-left:-112px;min-width:150px}
#shell .h26-sidebar .vx-thread-action-menu :is(button,select){min-height:44px}
#shell .h26-sidebar .vx-thread-group{flex:none;color:var(--vx-design-muted,#a7a7ad);font:600 11px/1.4 system-ui,sans-serif;padding:13px 8px 5px;letter-spacing:.01em}
#shell .h26-sidebar .vx-sidebar-empty{color:var(--vx-design-muted,#a7a7ad)}
#shell .vx-thread-open[data-pinned]:before{content:'◆ ';color:#b4b4bb;font-size:9px}
#shell .h26-sidebar .sidebar-bottom{display:grid!important;gap:4px!important;padding:14px 13px max(16px,env(safe-area-inset-bottom))!important;margin:0!important;flex:none!important;border:0!important;border-top:1px solid #262629!important;background:#0f0f10!important}
#shell .h26-account{display:flex;align-items:center;width:100%;gap:11px;border:0;border-top:1px solid #252527;margin:8px 0 0;padding:13px 8px 1px;color:#ddd;text-align:left;background:transparent;font-size:12px}
#shell .h26-account>span:first-child{width:37px;height:37px;border:1px solid #4c4c50;border-radius:50%;display:grid;place-items:center}
#shell .h26-account>span>svg{width:20px;height:20px}
#shell .h26-account small{display:block;color:#98989c;font-size:11px;margin-top:3px}
#shell .h26-account>svg{width:16px;height:16px;margin-left:auto;color:#929296}
#shell main .view.h26-page:is(#view-settings,#view-memory,#view-connections,#view-workspace,#view-tools,#view-project-detail){box-sizing:border-box;min-width:0;width:min(100%,850px)!important;margin:0 auto!important;padding:38px 28px max(75px,env(safe-area-inset-bottom))!important}
#shell .h26-page h1{font:735 clamp(27px,3vw,35px)/1.12 system-ui,sans-serif;letter-spacing:-.052em;color:#f1f1f3;margin:0 0 27px}
#shell main:has(.h26-page.active-view){padding:0!important;min-height:0;overflow:auto;background:var(--vx-design-bg)}
#shell .main-wrap:has(.h26-page.active-view)>footer{display:none!important}
#shell #h26-settings-home>h1{display:flex;align-items:center;gap:13px}
#shell #h26-settings-home>h1 svg{width:29px;height:29px;stroke-width:1.7;background:transparent;border:0;color:#c8c8cd}
#shell #h26-settings-home>h2{font:780 11px system-ui,sans-serif;letter-spacing:.14em;color:#939398;text-transform:uppercase;margin:26px 0 11px}
#shell .h26-group,#shell #view-connections>section.panel{background:var(--vx-design-surface,#171719)!important;border:1px solid var(--vx-design-line,#353539)!important;border-radius:var(--vx-design-radius,14px)!important;padding:5px 17px!important;box-shadow:none!important;min-width:0}
#shell #view-settings .h26-group{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important}
#shell #view-settings .h26-lead{background:transparent;border:0}
#shell #view-settings .h26-setting{border-top:1px solid var(--vx-design-line);padding:12px 0;min-height:66px}
#shell .h26-setting{display:flex;align-items:center;gap:12px;min-height:64px;border-top:1px solid #303033;padding:8px 2px;line-height:1.25}
#shell .h26-lead{display:grid;place-items:center;border:1px solid #38383b;background:#222224;border-radius:11px;width:36px;height:36px;flex:0 0 36px;color:#c7c7cc}
#shell .h26-lead svg{width:18px;height:18px}
#shell .h26-copy{flex:1;min-width:0}
#shell .h26-copy strong{display:block;font:680 13px/1.25 system-ui,sans-serif}
#shell .h26-copy small{display:block;color:#94949a;margin-top:3px;font:400 11.5px/1.32 system-ui,sans-serif}
#shell .h26-pill{padding:5px 8px;background:#272729;border-radius:8px;color:#aaaab1;font:400 10px system-ui,sans-serif}
#shell .h26-segment,.h26-tabs{display:flex;align-items:center;gap:2px;background:#202022;border:1px solid #3a3a3e;border-radius:9px;padding:3px}
#shell .h26-segment button,.h26-tabs button,#shell .h26-setting>button{background:transparent;color:#a2a2a7;border:0;min-height:28px;border-radius:6px;padding:4px 9px;font:500 11px system-ui,sans-serif}
#shell .h26-segment button[aria-pressed=true],.h26-tabs button[aria-pressed=true]{color:#1d1d1e;background:#dddde0;font-weight:700}
#shell .h26-setting>button{background:#252527;color:#ddd;min-width:36px;min-height:36px}
#shell #view-settings .h26-setting input[role=switch]{all:unset;box-sizing:border-box;width:41px;height:25px;flex:none;background:#252527;border:1px solid #46464a;border-radius:14px;cursor:pointer;position:relative}
#shell .h26-setting input[role=switch]:before{content:'';position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#818188}
#shell #view-settings .h26-setting input[role=switch]:checked{background:#d5d5d8!important}
#shell #view-settings .h26-setting input[role=switch]:checked:before{left:20px;background:#141415}
#shell :is(.h26-page,.h26-sidebar) :focus-visible,#h26-search-dialog :focus-visible{outline:2px solid #eee;outline-offset:2px}
.h26-field,#h26-search-dialog input{display:block;box-sizing:border-box;width:100%;min-height:44px;background:#202023;border:1px solid #45454a;border-radius:12px;color:#eee;padding:9px 13px;font:15px system-ui,sans-serif;margin-bottom:14px}
#shell .h26-page .h26-tabs{width:max-content;max-width:100%;margin:0 0 16px}
.h26-tabs button{min-height:38px;font-size:12px}
#shell .h26-page summary{cursor:pointer;min-height:44px;padding:12px 4px;color:#e1e1e5}
#shell #h26-advanced-settings{margin-top:24px}
#shell #h26-advanced-content>*{max-width:100%}
#shell #h26-advanced-content .page-heading{display:none}
#shell #view-connections>section{margin:0 0 14px!important}
#shell #view-connections>section.panel{padding:15px 17px!important}
#shell #view-connections .page-heading{margin:0!important}
#shell #view-connections :is(.panel-head,.panel-head h3){color:#efeff1!important;letter-spacing:-.01em!important}
#shell #view-connections .entity-row{background:transparent!important;border:0!important;border-top:1px solid #303034!important;min-height:64px;margin:0!important;padding:8px 0!important;border-radius:0!important}
#shell #view-connections .badge{background:#212123;color:#c4c4c9;border-color:#404044;white-space:normal}
#shell #view-connections .entity-row-body{min-width:0}
#shell #view-connections #vx-mcp-list>details{margin:0;background:#1c1c1e;border-color:#39393b}
#shell #view-connections [hidden],#shell .h26-page [hidden],#shell .h26-sidebar [hidden],#h26-search-dialog [hidden]{display:none!important}
#shell .h26-page form{max-width:100%}
#shell #view-memory label,#shell #view-memory form input,#shell #view-memory form textarea{display:block;width:100%;box-sizing:border-box}
#shell #view-memory form{display:grid;gap:8px}
#shell #view-memory input,#shell #view-memory textarea,#shell #view-memory select{background:#222225;border:1px solid #39393d;color:#eee;border-radius:9px;padding:9px}
#shell #view-memory .vx-memory-card{padding:13px 0;border-top:1px solid #333}
#shell #view-memory .vx-memory-muted,#shell #view-memory p{color:#aaaab0;line-height:1.5}
#shell #view-memory button,#shell .h26-infra button,#shell .h26-section-heading button{border:1px solid #39393d;border-radius:9px;padding:8px 12px;background:#252527;color:#eee}
#shell #view-tools .vx-ux-tools-list{display:block}
#shell #vx-tools-menu .vx-ux-tools-list>:is(button,a){box-sizing:border-box;display:flex!important;align-items:center!important;width:100%;min-height:49px!important;margin:0!important;padding:9px 6px!important;border:0!important;border-top:1px solid #303033!important;border-radius:0!important;background:transparent!important;color:#d9d9dd!important;text-decoration:none;text-align:left;font:600 13px system-ui,sans-serif}
#shell #vx-tools-menu .vx-ux-tools-list>[hidden]{display:none!important}
/* Catalog pages follow the shared row and group geometry of the approved design. */
#shell :is(#view-tools,#view-connections) .h26-catalog-group{background:transparent;border:0;border-radius:0;padding:0;margin:0 0 12px!important;min-width:0}
#shell :is(#view-tools,#view-connections) .h26-catalog-row{box-sizing:border-box;display:flex;align-items:center;gap:12px;min-height:64px;width:100%;padding:9px 2px;margin:0;background:none;border:0;border-top:1px solid #303034;border-radius:0;color:#e5e5e7;text-align:left;box-shadow:none}
#shell :is(#view-tools,#view-connections) :is(button,summary).h26-catalog-row:hover{background:var(--vx-design-raised)}
#shell :is(#view-tools,#view-connections) .h26-lead{width:36px;height:36px;border:1px solid #3e3e42;border-radius:10px;background:#242427;color:#d6d6d8}
#shell :is(#view-tools,#view-connections) .h26-copy strong{font:690 13px/normal system-ui,sans-serif}
#shell :is(#view-tools,#view-connections) .h26-copy small{margin-top:4px;color:#939398;font:400 11px/1.35 system-ui,sans-serif}
#shell :is(#view-tools,#view-connections) .h26-catalog-row>svg{width:15px;height:22px;color:#89898e}
#shell .h26-tool-search{display:flex;align-items:center;gap:8px;margin:0 0 15px;padding:0 12px;min-height:43px;background:#1b1b1d;border:1px solid #333336;border-radius:10px}
#shell .h26-tool-search svg{width:17px;height:17px;color:#8b8b90}
#shell #view-tools .h26-tool-search input{flex:1;min-width:0;width:auto;min-height:0;height:auto;margin:0;padding:4px 2px;color:#f5f5f5;background:transparent!important;border:0!important;box-shadow:none!important;font:400 12px system-ui,sans-serif}
#shell .h26-tool-search:focus-within{outline:2px solid #eee;outline-offset:2px}
#shell .h26-tool-search input:focus{outline:0}
#shell #view-connections .h26-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 2px 11px;margin:0}
#shell #view-connections .h26-group-heading h2{display:flex;align-items:center;gap:12px;margin:0;color:#dcdcdf;font:740 13px/normal system-ui,sans-serif;letter-spacing:normal;text-transform:none}
#shell #view-connections .h26-group-heading h2 svg{width:18px;height:22px}
#shell .h26-add-mcp{display:grid;place-items:center;width:40px;height:40px;background:transparent;border:1px solid transparent;border-radius:10px;color:#bdbdc0}
#shell .h26-add-mcp svg{width:18px;height:22px}
#shell .h26-manage{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;min-height:35px;border:1px solid #3c3c40;border-radius:10px;background:transparent;color:#e8e8e9;font:660 12px system-ui,sans-serif}
#shell .h26-manage svg{width:16px;height:22px}
#shell .h26-manage:hover,#shell .h26-add-mcp:hover{background:#242427}
#shell .h26-status-pill{padding:5px 8px;background:#29292c;color:#a0a0a4;font:400 10px system-ui,sans-serif;border-radius:8px;white-space:nowrap}
#shell .h26-panel-note,#shell .h26-channel-detail p{color:#939398;font:400 12px/1.5 system-ui,sans-serif;margin:0;padding:12px 3px 14px}
#shell .h26-panel-note:empty,#shell .h26-channel-detail p:empty{display:none}
#shell #vx-channels details{background:none;border:0;padding:0;margin:0}
#shell #vx-channels summary,#shell .h26-infrastructure summary{list-style:none}
#shell #vx-channels summary::-webkit-details-marker,#shell .h26-infrastructure summary::-webkit-details-marker{display:none}
#shell .h26-channel-detail{padding-left:50px}
#shell .h26-channel-detail p{padding-top:0}
#shell #view-connections .h26-infrastructure{margin:17px 0 0;padding:0;background:#151517;border:1px solid #333337;border-radius:13px}
#shell #view-connections .h26-infrastructure>summary{display:flex;align-items:center;gap:12px;width:100%;padding:14px;color:#e9e9ea}
#shell .h26-infrastructure>summary>svg{width:20px;height:22px}
#shell .h26-infrastructure[open]>summary>svg:last-child{transform:rotate(90deg)}
#shell .h26-infra-content{padding:0 12px 9px}
#shell .h26-infra-content .h26-manage{margin-top:9px}
.h26-panel-dialog{box-sizing:border-box;width:min(440px,calc(100% - 40px));max-height:min(84dvh,680px);overflow:auto;overscroll-behavior:contain;margin:auto;padding:23px;background:#1a1a1c;color:#eeeef0;border:1px solid #56565b;border-radius:16px;box-shadow:0 25px 80px #000c;font:400 14px system-ui,sans-serif;color-scheme:dark}
.h26-panel-dialog::backdrop{background:#000a}
.h26-panel-dialog h2{font:700 19px/1.3 system-ui,sans-serif;letter-spacing:-.03em;margin:0 0 7px}
.h26-panel-dialog p{font:400 12px/1.5 system-ui,sans-serif;color:#aaaab0;margin:10px 0;overflow-wrap:anywhere}
.h26-panel-dialog p:empty{display:none}
.h26-panel-dialog label{font:500 12px/1.5 system-ui,sans-serif;color:#cacacf;overflow-wrap:anywhere}
.h26-panel-dialog .field{width:100%;border:1px solid #56565b;border-radius:9px;background:#242426;color:#eee;min-height:43px}
.h26-panel-dialog .row-controls,.h26-dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0}
.h26-panel-dialog .check-row{display:flex;gap:9px;align-items:center;min-height:40px;margin:0}
.h26-panel-dialog #h26-mcp-options>button{margin-top:10px}
.h26-panel-dialog .h26-dialog-actions{justify-content:flex-end;margin-top:19px}
.h26-panel-dialog .h26-dialog-actions button{min-height:42px;padding:0 15px;font:700 12px system-ui,sans-serif;background:#ededee;border:0;border-radius:10px;color:#171719}
.h26-panel-dialog :focus-visible{outline:2px solid #eee;outline-offset:2px}
body.h26-compact #shell :is(#view-tools,#view-connections) .h26-catalog-row{min-height:53px}
@media(max-width:370px){#shell :is(#view-tools,#view-connections) .h26-catalog-group{padding:4px 12px}}
@media(max-width:900px){#shell :is(#view-tools,#view-connections) h1{font-size:28px}}
#shell #view-workspace{width:min(100%,1080px)!important}
#shell #view-workspace .vx-flow-workspace-head,#shell .h26-section-heading{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:0!important;margin:0 0 24px!important;background:none;border:0}
#shell #view-workspace h1{margin:0}
#shell #view-workspace #vx-space-create{background:#ededee!important;color:#171719!important;border:0!important;border-radius:12px!important;min-height:40px;padding:0 13px;font:680 12px system-ui,sans-serif}
#shell #view-workspace .vx42-personal{display:flex!important;min-height:64px!important;width:100%;align-items:center;padding:13px 16px;color:#eee;background:#19191b!important;border:1px solid #38383d!important;border-radius:14px!important;font-size:14px;text-align:left}
#shell #view-workspace .vx42-personal:after{content:'›';margin-left:auto;color:#a6a6ad}
#shell #view-workspace .vx-flow-workspace-section-head{display:flex!important;align-items:center;justify-content:space-between;margin:22px 0 12px!important}
#shell #view-workspace .vx-flow-workspace-section-head h2,#shell .h26-section-heading h2{font:680 14px system-ui,sans-serif;color:#eee}
#shell #vx-flow-space-count{font-size:11px;color:#a9a9af}
#shell #vx-flow-space-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
#shell .folio-titleblock strong{font:650 16px/1.3 system-ui,sans-serif;letter-spacing:-.02em}
#shell .folio-titleblock strong,#shell .folio-projecttype{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}

#shell .folio-kmark{color:var(--tone)}
#shell .folio-card[data-tint=violet]{--tone:#c5b0d6}
#shell .folio-card[data-tint=mint]{--tone:#accbb7}
#shell .folio-card[data-tint=ocean]{--tone:#abc6df}
#shell .folio-card[data-tint=amber]{--tone:#d9bf90}
#shell .folio-card[data-tint=rose]{--tone:#d5abb0}
#shell .folio-card[data-tint=slate]{--tone:#c5c5ca}
#shell .h26-back{background:none;color:#ccc;border:0;min-height:40px;margin-bottom:10px}
#shell .h26-section-heading{margin:20px 0 10px!important}
#shell #h26-detail-threads{color:#aaaab0;padding:15px!important}
#shell .folio-thread{display:block;min-height:44px;width:100%;border:0;border-bottom:1px solid #353539;background:none;color:#eee;text-align:left}
#shell .folio-cover-click{padding:0}
body.h26-hide-status #shell .h26-status-row{display:none!important}
body.h26-compact #shell .h26-setting{min-height:53px}
body.h26-compact #shell .h26-sidebar :is(#main-nav,.sidebar-bottom) .h26-row{min-height:44px!important;height:44px!important}
body.h26-reduce-motion *,body.h26-reduce-motion *:before,body.h26-reduce-motion *:after{animation-duration:.001s!important;transition:none!important;scroll-behavior:auto!important}
#h26-search-dialog{box-sizing:border-box;max-height:min(78dvh,690px);width:min(560px,calc(100% - 20px));overflow:auto;padding:18px;border:1px solid #47474b;border-radius:20px;background:#151517;color:#eee;margin:8vh auto 0;box-shadow:0 20px 80px #0009}
#h26-search-dialog::backdrop{background:#000a}
#h26-search-dialog header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
#h26-search-dialog header h2{font:700 20px system-ui,sans-serif;margin:0}
#h26-search-dialog button:not([data-scope]){background:#242427;color:#ddd;border:1px solid #39393c;border-radius:9px;padding:7px 10px;min-height:36px}
#h26-search-dialog .h26-tabs button{flex:1}
#h26-search-results{margin-top:12px;color:#aaaab1;font-size:13px}
#h26-search-dialog .h26-hit{border-top:1px solid #353539;padding:8px 0}
#h26-search-dialog .h26-hit>button{border:0;display:block;width:100%;background:none;text-align:left;color:#eee;font-size:14px;font-weight:630}
.h26-hit>button :is(small,span){display:block;font-size:11px;color:#aaaab0;overflow-wrap:anywhere;margin-top:3px}
.h26-hit>div{display:flex;gap:4px}
@media(min-width:901px){
  #shell .h26-sidebar{position:relative!important;transform:none!important;visibility:visible!important}
  #shell.app-shell:not(.hidden){display:grid!important;grid-template-columns:var(--vx-design-sidebar-width,268px) minmax(0,1fr)!important}
  #shell .main-wrap{margin-left:0!important}
}
@media(max-width:900px){
  #shell .h26-sidebar{position:fixed!important;inset:0 auto 0 0!important;width:min(355px,85vw)!important;z-index:130!important;transform:translateX(-105%)!important;visibility:hidden!important}
  body.nav-drawer-open #shell .h26-sidebar{transform:none!important;visibility:visible!important}
  #shell .h26-side-head{height:75px}
  #shell .h26-close{display:grid;place-items:center}
  #shell main .view.h26-page:is(#view-settings,#view-memory,#view-connections,#view-workspace,#view-tools,#view-project-detail){padding:31px 19px max(72px,env(safe-area-inset-bottom))!important}
  #shell #nav-backdrop:not([hidden]){display:block!important;position:fixed;inset:0;background:#000a;z-index:129!important}
}
@media(max-width:820px){#shell #vx-flow-space-cards{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:370px){#shell .h26-setting:has(.h26-segment){flex-wrap:wrap}#shell .h26-segment{margin-left:48px}}
@container drawer (max-height:690px){
  #shell .h26-sidebar #main-nav .vx-flow-mainnav>:is([data-go=chat],[data-go=timed-work],[data-go=workspace]){grid-column:auto}
  #shell .h26-side-head{height:46px}
  #shell .h26-sidebar #main-nav{padding-top:4px!important}
  #shell .h26-sidebar #main-nav .vx-flow-mainnav{grid-template-columns:repeat(2,minmax(0,1fr))!important;flex:0 1 auto;min-height:44px;overflow:auto;scrollbar-width:thin}
  #shell .h26-sidebar :is(#main-nav,.sidebar-bottom) .h26-row{height:44px!important;min-height:44px!important;gap:7px!important;padding:0 6px!important}
  #shell .h26-sidebar #main-nav #vx-automejora-menu{height:44px!important;min-height:44px!important;margin:0!important}
  #shell .h26-sidebar #vx-new-chat{height:44px!important;min-height:44px!important;margin-top:7px!important}
  #shell .h26-sidebar .h26-thread-search{margin-top:6px;margin-bottom:4px}
  #shell .h26-sidebar .sidebar-bottom{grid-template-columns:repeat(2,minmax(0,1fr));padding-top:3px!important;padding-bottom:max(4px,env(safe-area-inset-bottom))!important}
  #shell .h26-account{grid-column:1/-1;margin:0;padding:4px 6px;min-height:44px}
}
@container drawer (max-height:460px) and (min-width:310px){
  #shell .h26-sidebar #main-nav .vx-flow-mainnav,#shell .h26-sidebar .sidebar-bottom{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #shell .h26-sidebar :is(#main-nav,.sidebar-bottom) .h26-row,#shell .h26-sidebar .h26-account{flex-direction:column!important;justify-content:center!important;gap:3px!important;font-size:11px!important}
  #shell .h26-sidebar #vx-automejora-menu:after,#shell .h26-account small,#shell .h26-account>svg{display:none}
  #shell .h26-sidebar .h26-account{grid-column:auto;border:0;padding:0}
  #shell .h26-account>span:first-child{width:19px;height:19px;border:0}
}
@media(prefers-reduced-motion:reduce){#shell .h26-sidebar *,#shell .h26-page *,#h26-search-dialog *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

#shell #view-memory button.h26-memory-row{display:flex;gap:12px;align-items:center;text-align:left;width:100%;min-height:64px;border:0;border-bottom:1px solid #303034;border-radius:0;background:transparent;padding:8px 2px}
#shell #view-memory button.h26-memory-row .h26-copy{display:block}

/* Quiet UI 27 — global microcopy density. Keep tap targets and screen-reader names. */
#shell #view-chat .vx-chat-message .vx-chat-tools{gap:2px!important;margin-top:0!important;flex-wrap:wrap;align-items:center}
#shell #view-chat .vx-chat-message[data-role="user"] .vx-chat-tools{justify-content:flex-end;margin-right:2px}
#shell #view-chat .vx-chat-message .vx-chat-tools button.vx-action-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;min-width:40px;height:40px;min-height:40px;
  padding:0!important;margin:0;border:1px solid transparent;
  background:transparent;color:#a2a2a9;opacity:.76;border-radius:10px;
  line-height:1;touch-action:manipulation;
}
#shell #view-chat .vx-chat-message .vx-chat-tools button.vx-action-icon svg{width:18px;height:18px;flex:none}
#shell #view-chat .vx-chat-message .vx-chat-tools button.vx-action-icon:is(:hover,:focus-visible){
  color:#f3f3f5;opacity:1;background:#ffffff12;border-color:#505057;
}
#shell #view-chat .vx-chat-message .vx-chat-tools button.vx-action-icon:focus-visible,
#h26-search-dialog .h26-quiet-action:focus-visible{outline:2px solid #ededf0;outline-offset:1px}
#h26-search-dialog .h26-hit>div{display:flex;gap:3px;align-items:center;justify-content:flex-end;margin-top:2px}
#h26-search-dialog .h26-hit button.h26-quiet-action{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;min-width:40px;min-height:40px;padding:0;
  background:transparent;border-color:transparent;color:#acacb1;border-radius:10px;
  touch-action:manipulation;
}
#h26-search-dialog .h26-hit button.h26-quiet-action svg{width:18px;height:18px}
#h26-search-dialog .h26-hit button.h26-quiet-action:is(:hover,:focus-visible){color:#fff;background:#ffffff12;border-color:#4b4b50}
/* Phone Agent is already administrable through the entire device row; no duplicate header action. */
#shell #vx-phone-agent .h26-group-heading>button[data-panel-dialog="h26-phone-dialog"]{display:none!important}
@media (prefers-reduced-motion:reduce){
  #shell .vx-action-icon,#h26-search-dialog .h26-quiet-action{transition:none!important}
}

/* Focus UI 28 — contextual, never destructive. No persistent additional menu. */
#shell #view-chat .vx-chat-message .vx-chat-tools.h28-context-tools:not(.h28-open)>button.vx-action-icon{
  display:none!important;
}
#shell #view-chat .vx-chat-message .vx-chat-tools .h28-actions-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;min-width:38px;min-height:38px;height:38px;
  border:1px solid transparent!important;border-radius:10px;
  background:transparent!important;color:#9f9fa6!important;
  font:700 19px/1 system-ui,sans-serif!important;letter-spacing:2px;
  padding:0 0 6px!important;margin:0!important;touch-action:manipulation;
}
#shell #view-chat .vx-chat-message .vx-chat-tools .h28-actions-toggle:is(:hover,:focus-visible),
#shell #view-chat .vx-chat-message .vx-chat-tools.h28-open .h28-actions-toggle{
  color:#eeeef0!important;background:#ffffff10!important;border-color:#55555b!important;
}
#shell #view-chat .vx-chat-message .vx-chat-tools .h28-actions-toggle:focus-visible{
  outline:2px solid #f2f2f2!important;outline-offset:2px;
}
#shell #view-chat .vx-chat-message .vx-chat-tools.h28-open>button.vx-action-icon{
  opacity:1!important;
}
/* Preserve keyboard focus, message text and pending attachments while composing. */
body.h28-composing #shell #view-chat #vx-chat-empty .h26-welcome,
body.h28-composing #shell #view-chat #vx-chat-empty .h26-project-welcome{
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transform:translateY(-8px) scale(.99)!important;
}
/* Verified connection: remove the entire row and its reserved space. */
#shell #view-chat .h26-status-row.h28-verified{display:none!important}
@media(prefers-reduced-motion:reduce){
  #shell #view-chat #vx-chat-empty .h26-welcome,
  #shell #view-chat #vx-chat-empty .h26-project-welcome,
  #shell #view-chat .vx-chat-message .vx-chat-tools .h28-actions-toggle{
    transition:none!important;animation:none!important;
  }
}
/* When a search navigates to a specific historical hit, its actions are
   deliberately visible: direct follow-up is part of search accessibility. */
#shell #view-chat .vx-chat-message[data-search-hit] .vx-chat-tools.h28-context-tools:not(.h28-open)>button.vx-action-icon{
  display:inline-flex!important;
}
#view-settings>#h26-back-chat{position:sticky;top:0;z-index:2;margin-bottom:12px;min-height:44px;background:var(--panel,#202022)}
