/* Panel layout only. Server actions continue to use the existing store. */
.sidebar-header-panel { overflow:visible!important; }
.sidebar-header-panel #logo-bar { width:auto; min-width:0; flex:1; }
.sidebar-header-panel .logo-container { gap:8px; height:28px; }
.sidebar-header-panel .mineassist-brand-avatar { width:28px; height:28px; flex:none; border-radius:8px; object-fit:cover; }
.sidebar-header-panel .logo-container .mineassist-wordmark { background:none!important; -webkit-text-fill-color:currentColor!important; color:var(--text,#fafafa)!important; font-size:14px!important; }
#sidebar-header-panel #hide-button > .ma-header-server { display:block!important; }
#sidebar-header-panel #hide-button { position:relative; align-items:center; }
.ma-header-server { position:absolute; left:calc(100% + 60px); top:50%; transform:translateY(-50%); text-align:left; }
.ma-server-trigger { display:flex; align-items:center; gap:8px; height:40px; max-width:240px; border:0; border-radius:10px; padding:0 12px; background:transparent; color:var(--text-secondary,#aaa); cursor:pointer; font-family:inherit; font-weight:500; font-size:14px; line-height:1.2; white-space:nowrap; }
.ma-server-trigger span { overflow:hidden; text-overflow:ellipsis; }
.ma-server-trigger x-icon { display:inline-flex; flex:none; font-size:20px; }
.ma-server-trigger:hover,.ma-server-trigger[aria-expanded="true"] { background:var(--surface-hover,#202024); color:var(--text,#fff); }
.ma-server-trigger:focus-visible,.ma-server-menu button:focus-visible { outline:2px solid var(--primary,#8663f6); outline-offset:2px; }
.ma-server-menu { position:absolute; top:calc(100% + 8px); left:0; box-sizing:border-box; width:280px; max-width:calc(100vw - 28px); max-height:60vh; overflow:auto; padding:9px; border:1px solid var(--border,#303036); border-radius:13px; background:var(--surface,#151518); box-shadow:0 12px 35px #0003; white-space:normal; }
.ma-server-menu-heading { padding:5px 7px 0; font-size:13px; font-weight:650; color:var(--text,#fff); }
.ma-server-menu-hint { margin:5px 7px 10px; font-size:11px; line-height:1.45; color:var(--text-secondary,#999); }
.ma-server-menu button { display:block; width:100%; border:0; border-radius:8px; padding:9px 10px; background:transparent; color:var(--text,#eee); font:inherit; font-size:13px; text-align:left; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; }
.ma-server-menu button:hover { background:var(--surface-hover,#25252a); }
.ma-server-menu button.active { background:color-mix(in srgb,var(--primary,#8663f6) 14%,transparent); }
.sidebar-header-panel:not(.sidebar-header-panel-open) { width:44px!important; min-width:44px!important; }
.sidebar-header-panel:not(.sidebar-header-panel-open) #logo-bar { display:none!important; }
.sidebar-header-panel:not(.sidebar-header-panel-open) .ma-header-server { left:calc(100% + 20px); }
#right-panel:has(#chat-area-wrapper:not([style*="display: none"])) { min-height:0; overflow:hidden; }
#right-panel #chat-area-wrapper { min-height:0; min-width:0; overflow:hidden; flex:1 1 0; }
#right-panel #chat-history {
  box-sizing:border-box; width:100%; max-width:none; min-width:0; min-height:0;
  flex:1 1 0; margin:0; align-items:stretch;
  padding-left:max(20px,calc((100% - 700px) / 2))!important;
  padding-right:max(20px,calc((100% - 700px) / 2))!important;
  overflow-y:auto; overflow-x:hidden; scrollbar-width:none; -ms-overflow-style:none;
}
#right-panel #chat-history::-webkit-scrollbar { display:none; width:0; height:0; }
#chat-history > :is(.message-container,.user-container,.ai-container,.center-container) {
  box-sizing:border-box; width:100%; max-width:100%; min-width:0;
  margin-inline:0; padding-inline:0; align-self:stretch; justify-content:flex-start;
}
#chat-history :is(.message-user,.message-agent-response) { box-sizing:border-box; width:100%; max-width:100%; min-width:0; text-align:left; }
#chat-history .message-user .message-text { box-sizing:border-box; width:100%; max-width:100%; text-align:left; }
#chat-history :is(.message-user,.message-agent-response) :is(.message-text,.message-body,.message-collapse-content) { min-width:0; line-height:1.6; overflow-wrap:break-word; word-break:normal; }
#chat-history .message-agent-response :is(p,ul,ol) { margin-block:.65em; }
#chat-history .message-agent-response :is(ul,ol) { padding-inline-start:1.5em; }
#chat-history .message-agent-response li + li { margin-top:.3em; }
#chat-history .message-agent-response :is(h1,h2,h3,h4) { line-height:1.3; margin-top:1.1em; margin-bottom:.5em; }
#chat-history .message-agent-response pre { max-width:100%; overflow-x:auto; }
#input-section { box-sizing:border-box; width:calc(100% - 24px)!important; max-width:580px!important; margin-inline:auto!important; padding-inline:0!important; }
.welcome-shell { width:min(100%,580px)!important; flex-basis:580px!important; }
.welcome-quick-section { width:100%!important; }
.welcome-action-card,.welcome-action-card.is-wide { white-space:nowrap!important; min-width:0!important; }
.welcome-action-title { display:block!important; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap!important; }
#chats-section { margin-top:0!important; padding-top:0!important; }
#chats-section .chats-list-container { margin-top:0!important; gap:0!important; }
#chats-section .section-header-row { justify-content:flex-start!important; margin:0!important; padding:2px 7px!important; min-height:26px!important; }
#chats-section .section-header { margin:0!important; text-align:left!important; color:#fff!important; text-transform:none!important; letter-spacing:0!important; font-size:12px!important; }
#chats-section .section-header-row #newChat { margin-left:auto!important; }
.mineassist-sidebar-nav { padding-bottom:0!important; margin-bottom:0!important; }
#chats-section .chats-config-list { margin-top:0!important; padding-top:0!important; }
#chats-section .chat-period-label { padding-top:6px!important; padding-bottom:3px!important; }
.chat-period-label { text-transform:none!important; letter-spacing:0!important; }
:root[data-theme="light"] #chats-section .section-header { color:var(--text,#202024)!important; }
@media(max-width:768px) {
  .ma-header-server { left:calc(100% + 20px); }
  .ma-server-trigger { max-width:min(200px,calc(100vw - 150px)); font-size:13px; }
  .ma-server-menu { position:fixed; width:260px; max-width:calc(100vw - 85px); }
  .welcome-shell { flex-basis:580px!important; }
}

/* Identical two-row geometry for welcome and active chat, without changing controls. */
#right-panel :is(.welcome-composer,#input-section) .input-row {
  box-sizing:border-box!important; display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  grid-template-rows:minmax(42px,auto) 36px!important;
  align-items:center!important; column-gap:10px!important; row-gap:12px!important;
  width:100%!important; max-width:580px!important; min-height:116px!important;
  margin-inline:auto!important; padding:16px 16px 12px!important; border-radius:28px!important;
}
#right-panel :is(.welcome-composer,#input-section) #chat-input-container {
  grid-column:1/-1!important; grid-row:1!important; width:100%!important;
  min-width:0!important; min-height:42px!important; margin:0!important; align-self:start!important;
}
#right-panel :is(.welcome-composer,#input-section) #chat-input {
  box-sizing:border-box!important; width:100%!important; min-height:42px!important;
  margin:0!important; padding:0 26px 0 4px!important;
  text-align:left!important; align-content:start!important; line-height:1.5!important;
}
#right-panel :is(.welcome-composer,#input-section) #chat-input-progress-placeholder {
  top:0!important; left:4px!important; bottom:auto!important; min-height:24px; align-items:flex-start!important;
}
#right-panel :is(.welcome-composer,#input-section) .attachment-wrapper { grid-column:1!important; grid-row:2!important; margin:0!important; align-self:center!important; }
#right-panel :is(.welcome-composer,#input-section) .welcome-model-selector { grid-column:2!important; grid-row:2!important; min-width:0!important; justify-self:start!important; align-self:center!important; }
#right-panel :is(.welcome-composer,#input-section) #chat-buttons-wrapper { grid-column:3!important; grid-row:2!important; display:flex!important; align-items:center!important; justify-self:end!important; gap:10px!important; padding:0!important; margin:0!important; flex-wrap:nowrap!important; }
#right-panel :is(.welcome-composer,#input-section) :is(.chat-more-trigger,.welcome-model-trigger,#send-button) { height:36px!important; min-height:36px!important; margin-block:0!important; }
#right-panel :is(.welcome-composer,#input-section) .welcome-model-trigger { max-width:100%!important; }
#right-panel :is(.welcome-composer,#input-section) #send-button { width:36px!important; min-width:36px!important; }
@media(max-width:480px) {
  #right-panel :is(.welcome-composer,#input-section) .input-row { padding:14px 12px 10px!important; column-gap:8px!important; border-radius:24px!important; }
}

/* One message axis, including actual grouped messages and the initial greeting. */
#chat-history .message-group { display:flex; flex-direction:column; align-items:stretch; width:100%; max-width:100%; min-width:0; margin-inline:0; }
#chat-history .message-group-right { justify-content:flex-start; }
#chat-history .message-group > .message-container { width:100%; max-width:100%; min-width:0; padding-inline:0; margin-inline:0; align-self:stretch; justify-content:flex-start; }
#chat-history .center-container { width:100%; max-width:100%; align-self:stretch; }
#chat-history .process-group-header { min-height:22px; font-size:11px; color:var(--text-secondary); gap:6px; padding-inline:8px; }
#chat-history .process-group-header .step-badge,#chat-history .process-group-header .metric-time { display:none!important; }
#chat-history .process-group-header .group-title { font-size:11px; font-weight:400; color:inherit; }
#chat-history .process-group-header .group-metrics { font-size:10px; opacity:.65; }
#chat-history .process-group { min-width:0; }
#sidebar-header-panel #hide-button { display:flex!important; align-items:center!important; height:34px; margin-block:0!important; }
#sidebar-header-panel .toggle-sidebar-button { display:flex; align-items:center; justify-content:center; height:34px; }
#sidebar-header-panel .logo-container { height:34px; align-items:center; }
#sidebar-header-panel #logo-bar { padding-block:0; }
.right-canvas-rail { display:none!important; }
#right-panel .ma-composer-active-model { grid-column:2!important; grid-row:2!important; min-width:0; align-self:center; }
#right-panel .ma-composer-active-model #progress-bar-box { padding:0; background:transparent; gap:0; }
#right-panel .ma-composer-active-model .model-switcher-container,#right-panel .ma-composer-active-model .model-context-strip { min-width:0; max-width:100%; margin:0; padding:0; }
#right-panel .ma-composer-active-model .model-switcher-btn { max-width:100%; min-width:0; height:36px; background:transparent; border:0; font-size:12px; }
#right-panel .ma-composer-active-model .model-switcher-label { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#right-panel .ma-composer-active-model .model-switcher-dropdown { bottom:calc(100% + 8px); top:auto; }
#right-panel #chat-buttons-wrapper > x-extension { display:contents; }
#right-panel #chat-buttons-wrapper > x-extension > x-component,#right-panel #chat-buttons-wrapper > x-extension > x-component > div[x-data] { display:contents; }
#right-panel #chat-buttons-wrapper .context-window-button { width:auto!important; min-width:24px; height:26px!important; padding:3px!important; border:0!important; background:transparent!important; color:var(--text-secondary)!important; font-size:10px!important; }
#right-panel #chat-buttons-wrapper .context-window-button svg { display:none; }
#right-panel #chat-buttons-wrapper .context-window-button span { position:static!important; transform:none!important; font-size:10px!important; }
#right-panel #chat-buttons-wrapper .context-window-popover { left:auto; right:0; bottom:calc(100% + 10px); top:auto; }
.ma-composer-actions { position:relative; flex:none; }
.ma-composer-actions summary { display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:36px; height:36px; cursor:pointer; list-style:none; border-radius:9px; color:var(--text-secondary); font-size:20px; }
.ma-composer-actions summary::-webkit-details-marker { display:none; }
.ma-composer-actions summary:hover { background:var(--surface-hover); }
.ma-composer-actions-menu { position:absolute; bottom:calc(100% + 10px); right:0; width:230px; padding:8px; border:1px solid var(--border); border-radius:12px; background:var(--surface); box-shadow:0 12px 30px #0003; z-index:1100; }
.ma-composer-actions-menu .chat-bottom-actions-bar { display:flex; flex-direction:column; align-items:stretch; padding:0; margin:0; gap:2px; }
.ma-composer-actions-menu .text-button { width:100%; margin:0; padding:9px!important; font-size:12px; text-align:left; }
.ma-composer-actions-menu .text-button x-icon { font-size:16px; }

/* Wide, compact composer; tools immediately after the attachment control. */
#input-section { max-width:740px!important; }
.welcome-shell { width:min(100%,740px)!important; flex-basis:740px!important; }
#right-panel :is(.welcome-composer,#input-section) .input-row { max-width:740px!important; min-height:100px!important; padding:12px 14px 10px!important; row-gap:8px!important; border-radius:23px!important; grid-template-columns:auto 36px minmax(0,1fr) auto!important; grid-template-rows:minmax(32px,auto) 36px!important; }
#right-panel :is(.welcome-composer,#input-section) #chat-input-container,#right-panel :is(.welcome-composer,#input-section) #chat-input { min-height:32px!important; }
#right-panel :is(.welcome-composer,#input-section) .ma-composer-actions { grid-column:2!important; grid-row:2!important; align-self:center; }
#right-panel :is(.welcome-composer,#input-section) .welcome-model-selector,#right-panel :is(.welcome-composer,#input-section) .ma-composer-active-model { grid-column:3!important; }
#right-panel :is(.welcome-composer,#input-section) #chat-buttons-wrapper { grid-column:4!important; }
.ma-composer-actions-menu { right:auto; left:0; }
.ma-tools-heading { padding:6px 9px; color:var(--text-secondary); font-size:11px; font-weight:600; }

#right-panel :is(.welcome-composer,#input-section) .chat-more-trigger { background:transparent!important; border:0!important; box-shadow:none!important; color:var(--text-secondary)!important; }
#right-panel :is(.welcome-composer,#input-section) .chat-more-trigger:hover { background:transparent!important; color:var(--text)!important; }
#sidebar-header-panel { border:0!important; background:transparent!important; box-shadow:none!important; padding:4px 0!important; }
#sidebar-header-panel.sidebar-header-panel-open { width:230px!important; padding-right:8px!important; display:flex!important; flex-direction:row!important; align-items:center!important; gap:4px!important; }
#sidebar-header-panel #hide-button { gap:8px!important; width:auto!important; flex:none!important; }
#sidebar-header-panel :is(#toggle-sidebar,#ma-chat-search-trigger) { width:36px!important; min-width:36px!important; height:38px!important; padding:5px!important; background:transparent!important; border:0!important; box-shadow:none!important; color:var(--text,#eee)!important; }
#sidebar-header-panel :is(#toggle-sidebar,#ma-chat-search-trigger) :is(x-icon,.material-symbols-outlined) { font-size:24px!important; width:24px!important; height:24px!important; }
.ma-header-server { left:calc(100% + 32px); }
#sidebar-header-panel:not(.sidebar-header-panel-open) #ma-chat-search-trigger { display:none!important; }
#sidebar-header-panel.sidebar-header-panel-open #hide-button > #ma-chat-search-trigger { display:flex!important; }
#left-panel .left-panel-top { margin-top:3.65rem!important; padding-top:0!important; }
#left-panel .mineassist-sidebar-nav { padding-top:0!important; }
#left-panel .mineassist-primary-new-chat { margin-top:0!important; }
.ma-composer-actions-menu { width:260px; max-width:calc(100vw - 68px); padding:8px; max-height:min(520px,65dvh); overflow-y:auto; white-space:normal; }
.ma-tool-switch-row { display:flex; width:100%; align-items:center; justify-content:space-between; gap:18px; padding:10px 9px; margin:0; border:0; border-radius:8px; background:transparent; color:var(--text); font:inherit; font-size:12px; text-align:left; cursor:pointer; }
.ma-tool-switch-row:hover { background:var(--surface-hover); }
.ma-tool-switch-copy { display:grid; gap:3px; min-width:0; }
.ma-tool-switch-copy small { color:var(--text-secondary); font-size:10px; line-height:1.4; }
.ma-tool-switch { display:block; flex:none; position:relative; width:30px; height:18px; border-radius:20px; background:var(--border,#45454b); transition:background .15s; }
.ma-tool-switch::after { content:''; position:absolute; width:12px; height:12px; top:3px; left:3px; border-radius:50%; background:var(--text-secondary,#aaa); transition:transform .15s; }
.ma-tool-switch.on { background:var(--primary); }
.ma-tool-switch.on::after { background:#fff; transform:translateX(12px); }
.ma-composer-actions-menu .chat-bottom-actions-bar { border:0!important; margin:0!important; padding:0!important; gap:2px!important; }
.ma-composer-actions-menu .text-button { display:flex!important; align-items:center!important; justify-content:flex-start!important; gap:10px!important; min-height:38px!important; width:100%!important; padding:9px 10px!important; margin:0!important; border:0!important; border-radius:8px!important; background:transparent!important; color:var(--text)!important; font:inherit; font-size:12px!important; font-weight:500!important; text-align:left!important; box-shadow:none!important; }
.ma-composer-actions-menu .text-button:hover { background:var(--surface-hover)!important; }
.ma-composer-actions-menu .text-button :is(svg,x-icon,.material-symbols-outlined) { flex:none; width:18px!important; height:18px!important; font-size:18px!important; color:var(--text-secondary); }
.ma-composer-actions-menu .text-button p { margin:0!important; }
#chats-section .section-header-row { padding-top:7px!important; padding-bottom:4px!important; }
#chats-section .section-header { color:var(--text-secondary,#a0a0a8)!important; font-size:13px!important; font-weight:600!important; }
#chats-section .chat-container .chat-name { color:var(--text,#f5f5f5)!important; }
#chats-section .chat-period-label { font-size:10.5px!important; }
#time-date-container { right:66px!important; }
@media(max-width:640px) { #time-date-container { right:64px!important; } }
.ma-chat-search { width:min(620px,calc(100vw - 32px)); max-height:80dvh; padding:0; border:1px solid var(--border); border-radius:18px; background:var(--surface); color:var(--text); box-shadow:0 25px 90px #0005; }
.ma-chat-search::backdrop { background:#0007; backdrop-filter:blur(4px); }
.ma-search-input-row { display:flex; align-items:center; gap:12px; padding:16px; border-bottom:1px solid var(--border); }
.ma-search-input-row input { width:100%; min-width:0; border:0; outline:0; box-shadow:none; background:transparent; color:var(--text); font:inherit; font-size:14px; }
.ma-search-input-row button { display:flex; border:0; background:transparent; color:var(--text-secondary); padding:4px; cursor:pointer; }
.ma-search-results { padding:8px; max-height:60dvh; overflow-y:auto; }
.ma-search-results p { margin:20px 12px; color:var(--text-secondary); font-size:13px; }
.ma-search-results h3 { margin:12px 10px 5px; font-size:11px; color:var(--text-secondary); font-weight:600; }
.ma-search-result { display:grid; gap:5px; width:100%; padding:12px; border:0; border-radius:10px; background:transparent; color:var(--text); text-align:left; cursor:pointer; }
.ma-search-result:hover,.ma-search-result:focus-visible { background:var(--surface-hover); }
.ma-search-result strong { font-size:13px; font-weight:550; overflow-wrap:anywhere; }
.ma-search-result span { font-size:12px; line-height:1.5; color:var(--text-secondary); overflow-wrap:anywhere; }
:is(.ma-tool-switch-row,#ma-chat-search-trigger,.ma-search-input-row button):focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
@media(max-width:480px) {
  #right-panel :is(.welcome-composer,#input-section) .input-row { padding:10px!important; column-gap:5px!important; border-radius:19px!important; }
  .ma-search-input-row { padding:12px; gap:8px; }
}

/* Compact active conversation; the welcome screen keeps its model heading. */
#right-panel #chat-history { padding-bottom:16px!important; }
#right-panel #input-section { padding-top:4px!important; }
#chat-history > :is(.message-container,.ai-container,.center-container):last-child { margin-bottom:0; }
#chat-history .message-agent-response .msg-content {
  font-size:15px; font-weight:400; line-height:1.65; overflow-wrap:anywhere;
}
#chat-history .message-agent-response .msg-content :is(p,ul,ol) { margin-block:.6em; }
#chat-history .message-agent-response .msg-content :is(h1,h2,h3,h4,h5,h6) {
  margin-block:1.15em .45em; line-height:1.35; font-weight:650;
}
#chat-history .message-agent-response .msg-content :is(h1,h2) { font-size:1.2em; }
#chat-history .message-agent-response .msg-content :is(h3,h4,h5,h6) { font-size:1.08em; }
#chat-history .message-agent-response .msg-content > :first-child { margin-top:0; }
#chat-history .message-agent-response .msg-content > :last-child { margin-bottom:0; }
#chat-history .message-agent-response .msg-content li { padding-left:.15em; }
#chat-history .message-agent-response .msg-content li + li { margin-top:.25em; }
#chat-history .message-agent-response .msg-content li > p { margin-block:.25em; }
#chat-history .message-agent-response .msg-content :is(strong,b) { font-weight:650; }
#chat-history .message-agent-response .msg-content :not(pre) > code {
  padding:.12em .35em; border-radius:5px; font-size:.88em;
  background:color-mix(in srgb,var(--color-text) 7%,transparent); overflow-wrap:anywhere;
}
#chat-history .message-agent-response .msg-content pre {
  max-width:100%; overflow-x:auto; padding:12px 14px; border-radius:10px; line-height:1.5;
}
#chat-history .message-agent-response .msg-content pre code { font-size:13px; white-space:pre; overflow-wrap:normal; }
#chat-history .message-agent-response .msg-content table { display:block; max-width:100%; overflow-x:auto; }
#chat-history .message-agent-response .msg-content blockquote {
  margin:12px 0; padding:2px 14px; border-left:3px solid var(--color-border); color:var(--color-text-secondary,var(--color-text));
}
#chat-history .agent-file-cards { margin:12px 0 0; padding:12px; }
/* Keep the same send action color before and after the first message. */
#right-panel :is(.welcome-composer,#input-section) #send-button {
  background:#7c5cff!important; color:#fff!important;
}
#right-panel :is(.welcome-composer,#input-section) #send-button:hover {
  background:#9278ff!important;
}
@media(max-width:640px) {
  #right-panel #chat-history { padding-bottom:12px!important; }
  #chat-history .message-agent-response .msg-content { font-size:14px; }
}

/* Performance: GPU-accelerated layers for main panels */
#right-panel #chat-history{contain:layout style;overscroll-behavior-y:contain;}
#left-panel{contain:layout style;}
.sidebar-overlay{will-change:opacity;}
#time-date-container{will-change:transform;}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
:focus-visible{transition:outline-offset .1s;}
/* Compact model picker and inline message expansion. */
body .welcome-model-menu.ma-model-viewport-menu{padding:6px!important;min-width:0!important;border-radius:12px!important}
body .welcome-model-menu .welcome-model-menu-title{font-size:10px!important;padding:7px 10px!important}
body .welcome-model-menu .welcome-model-option{padding:9px 10px!important;margin:0 0 2px!important;gap:12px!important;align-items:center!important;border:0!important;min-height:0!important;border-radius:8px!important}
body .welcome-model-menu .welcome-model-copy{gap:5px!important}
body .welcome-model-menu .welcome-model-copy strong{font-size:13px!important}
body .welcome-model-menu .welcome-model-stars{display:flex!important;gap:3px;line-height:1}
body .welcome-model-menu .welcome-model-stars svg{display:block;flex:none;color:var(--color-border)}
body .welcome-model-menu .welcome-model-stars svg.filled{color:#f5ad2f}
body .welcome-model-menu .ma-model-selected{color:var(--color-highlight);flex:none}
body #right-panel .welcome-model-trigger{border:0!important;box-shadow:none!important;background:transparent!important;outline-offset:3px}
#chat-history .message-user>.message-text{position:relative}
#chat-history .message-user.has-overflow>.message-text{padding-bottom:42px!important}
#chat-history .message-user>.message-text>.expand-btn{display:none!important;position:absolute;bottom:8px;left:12px;z-index:2;width:28px;height:28px;min-width:28px;padding:5px!important;align-items:center;justify-content:center;border:0!important;border-radius:6px;background:var(--color-panel);color:inherit;cursor:pointer;line-height:1}
#chat-history .message-user.has-overflow>.message-text>.expand-btn{display:flex!important}
#chat-history .expand-btn svg{display:block;flex:none}
#chat-history .expand-btn.show-less-btn svg{transform:rotate(180deg)}

/* Align the welcome composer with its suggestions instead of capping it at 740px. */
#right-panel .welcome-shell :is(.welcome-composer,#input-section) .input-row{width:100%!important;max-width:none!important;margin-inline:0!important;box-sizing:border-box!important}
#right-panel .welcome-shell .welcome-composer,#right-panel .welcome-shell .welcome-quick-section{width:100%!important;max-width:100%!important;margin-inline:0!important;padding-inline:0!important;box-sizing:border-box!important}
#ma-chat-search .ma-search-input-row input,#ma-chat-search .ma-search-input-row input:focus,#ma-chat-search .ma-search-input-row input:focus-visible{outline:none!important;box-shadow:none!important;border-color:transparent!important;background:transparent!important}
#ma-chat-search .ma-search-input-row:focus-within{box-shadow:inset 0 -1px 0 var(--color-border,#555)!important}
