/* Chat actions stay in the header; the composer remains dedicated to writing. */
.client-inbox-workspace .client-reference-workspace>.chat-header .chat-heading{min-width:0;flex:1 1 auto}
.client-inbox-workspace .client-reference-workspace>.chat-header .r477-heading-text{min-width:0}
.client-inbox-workspace .client-reference-workspace>.chat-header .client-chat-toolbar{display:flex;align-items:center;flex:0 0 auto;gap:5px}
.client-inbox-workspace .client-reference-workspace>.chat-header .client-header-brief,
.client-inbox-workspace .client-reference-workspace>.chat-header .client-header-analysis,
.client-inbox-workspace .client-shell.inbox .client-card-controls .client-card-analysis{
 display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
 min-height:28px;padding:4px 8px;border:1px solid rgba(64,224,208,.34);
 border-radius:9px;background:rgba(64,224,208,.12);color:var(--ref-mint);
 box-shadow:inset 0 1px rgba(255,255,255,.06);font-size:11px;font-weight:700;line-height:1;
 cursor:pointer;transition:background-color .16s ease,border-color .16s ease,transform .16s ease
}
.client-inbox-workspace .client-reference-workspace>.chat-header .client-header-analysis,
.client-inbox-workspace .client-shell.inbox .client-card-controls .client-card-analysis{width:28px;padding:0;font-size:13px}
.client-inbox-workspace .client-reference-workspace>.chat-header :is(.client-header-brief,.client-header-analysis):hover,
.client-inbox-workspace .client-shell.inbox .client-card-controls .client-card-analysis:hover{background:rgba(64,224,208,.22);border-color:rgba(64,224,208,.65);transform:translateY(-1px)}
.client-inbox-workspace .client-reference-workspace>.chat-header :is(.client-header-brief,.client-header-analysis):focus-visible,
.client-inbox-workspace .client-shell.inbox .client-card-controls .client-card-analysis:focus-visible{outline:2px solid var(--ref-mint);outline-offset:2px}
:root[data-theme="light"] .client-inbox-workspace .client-reference-workspace>.chat-header :is(.client-header-brief,.client-header-analysis),
:root[data-theme="light"] .client-inbox-workspace .client-shell.inbox .client-card-controls .client-card-analysis{background:#e8f8f3;border-color:#b2e5d7;color:#087c62}
@media(max-width:700px){
 .client-product-wrap.client-thread-open>.client-site-menu,
 .client-product-wrap.client-thread-open>.client-product-toolbar,
 .client-product-wrap.client-thread-open .client-inbox-workspace>.client-business-nav{display:none!important}
 .client-inbox-workspace .client-reference-workspace>.chat-header .client-header-brief{min-width:28px;padding:4px 6px}
 .client-inbox-workspace .client-reference-workspace>.chat-header .client-header-brief span{display:none}
 .client-inbox-workspace .client-reference-workspace>.chat-header .client-mobile-actions{display:none!important}
}
@media(prefers-reduced-motion:reduce){.client-inbox-workspace .client-reference-workspace>.chat-header :is(.client-header-brief,.client-header-analysis),.client-inbox-workspace .client-shell.inbox .client-card-controls .client-card-analysis{transition:none!important;transform:none!important}}
