/* Approved borderless mobile direct-chat controls. No behavioral changes. */
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-context-strip,
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-composer {
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:transparent!important;padding:4px 0!important;
}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-context-strip {gap:6px!important;min-height:64px!important}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-context-copy {min-width:0!important;flex:1 1 auto!important}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-header-actions {gap:0!important;flex:0 0 auto!important}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-context-strip>.hub-avatar {flex-shrink:0!important}
/* Small glyphs, 44px touch targets; preserve disabled/recording semantics. */
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .mobile-chat-back,
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-call-button,
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-tool-button.attachment,
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-primary-action {
  width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
  flex:0 0 44px!important;padding:11px!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;color:#a5e8df!important;
}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .mobile-chat-back svg,
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-call-button svg,
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-tool-button.attachment svg,
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-primary-action svg {
  width:22px!important;height:22px!important;stroke-width:1.8!important;
}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-compose-main {
  display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;
  gap:2px!important;align-items:end!important;width:100%!important;min-width:0!important;
  padding:0!important;border:0!important;background:transparent!important;
}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-tool-group {width:44px!important;min-width:0!important;padding:0!important;gap:0!important}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-input-shell {
  width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
  border:0!important;box-shadow:none!important;background:transparent!important;position:relative!important;
}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-input-shell textarea {
  box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:50px!important;
  padding:13px 42px 13px 14px!important;border:0!important;border-radius:24px!important;
  background:rgba(17,35,42,.78)!important;box-shadow:none!important;
  font-size:16px!important;line-height:24px!important;color:#edf4f2!important;
}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .mobile-chat-emoji-button {
  width:40px!important;min-width:40px!important;height:44px!important;padding:10px!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  right:3px!important;bottom:3px!important;color:#acbfc3!important;
}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .mobile-chat-emoji-button svg {width:20px!important;height:20px!important}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 .chat-primary-action.recording {color:#f08f8f!important}
html.mw230 body #root#root .workspace-stage .chat-shell.welly264 :is(.mobile-chat-back,.chat-call-button,.chat-tool-button.attachment,.chat-primary-action,.mobile-chat-emoji-button):focus-visible {outline:2px solid #9bddd4!important;outline-offset:-3px!important;border-radius:10px!important}

/* One native input, no nested focus rings or composited input layers.
   Keep textarea height/selection under the existing composer311 controller. */
html.mw230 body #root#root .workspace-stage .welly264 :is(.chat-composer,.chat-compose-main,.chat-input-shell),
html.mw230 body #root#root .workspace-stage .welly264 :is(.chat-composer,.chat-compose-main,.chat-input-shell):focus-within {
 border:0!important;outline:0!important;box-shadow:none!important;
 background:transparent!important;transform:none!important;translate:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 will-change:auto!important;transition:none!important;
}
html.mw230 body #root#root .workspace-stage .welly264 .chat-input-shell textarea,
html.mw230 body #root#root .workspace-stage .welly264 .chat-input-shell textarea:focus {
 display:block!important;position:relative!important;top:auto!important;left:auto!important;
 margin:0!important;border:0!important;outline:0!important;box-shadow:none!important;
 transform:none!important;translate:none!important;transition:none!important;
 -webkit-appearance:none!important;appearance:none!important;
 font-size:16px!important;line-height:24px!important;caret-color:#b3ede6!important;
 -webkit-overflow-scrolling:auto!important;
}
html.mw230 body #root#root .workspace-stage .welly264 .chat-input-shell:focus-within textarea {background:rgba(22,44,51,.94)!important}
html.mw230 body #root#root .workspace-stage .welly264 .chat-message>div,
html.mw230 body #root#root .workspace-stage .welly264 :is(.w272-topics,.w272-topics button,.chat-design-quick-actions,.chat-design-quick-actions button,.chat-day-separator span) {
 border:0!important;box-shadow:none!important;
}
html.mw230 body #root#root .workspace-stage .welly264 .chat-design-quick-actions {gap:8px!important}
html.mw230 body #root#root .workspace-stage .welly264 .chat-design-quick-actions button {background:rgba(12,31,37,.8)!important;min-height:44px!important}
/* Preserve keyboard navigation without a permanent or touch-focus border. */
html.mw230 body #root#root .workspace-stage .welly264 button:focus-visible {outline:2px solid #9bddd4!important;outline-offset:-3px!important}
