/* The input capsule is glass; the editable text itself has no material surface. */
@layer whisper-clear-glass{
 /* The inner capsule shares inherited composer glass; only the textarea is bare. */
 html[data-room-composer-glass="true"] body.chat-page #composerEntryV121:not(.composer-fullscreen-editor-v1){
  background:color-mix(in srgb,var(--chat-surface) var(--liquid-material-opacity,0%),transparent)!important;
  background-image:none!important;box-shadow:none!important;border-color:transparent!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;filter:none!important;
 }
 html[data-room-composer-glass="true"] body.chat-page #composerEntryV121::before,
 html[data-room-composer-glass="true"] body.chat-page #composerEntryV121::after{content:none!important}
 html[data-room-composer-glass="true"] body.chat-page #composerEntryV121.composer-fullscreen-editor-v1>:is(.glass-material-rim-v2,.glass-material-gloss-v3,.glass-optics-canvas-v1,.glass-live-optics-canvas-v1){display:none!important}
 html[data-room-composer-glass="true"] body.chat-page :is(.composer-entry,.composer-fullscreen-editor-v1) #chatInput{
  background:transparent!important;background-image:none!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;filter:none!important;
 }
 html body.chat-page.composer-editor-fallback-v1 .composer-box:has(#composerEntryV121){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;filter:none!important;transform:none!important;contain:none!important}
 html body.chat-page.composer-editor-fallback-v1 #composerEntryV121.composer-fullscreen-editor-v1{background:var(--chat-surface)!important}
}
html body.chat-page #chatInput{scrollbar-width:none!important;-ms-overflow-style:none;resize:none;-webkit-appearance:none;appearance:none;border-radius:0!important}
html body.chat-page #chatInput::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
html body.chat-page .composer-expand-v1{
 position:absolute;right:6px;bottom:7px;display:grid;place-items:center;width:28px;height:28px;
 border:0;padding:3px;border-radius:50%;background:transparent;color:var(--chat-text);cursor:pointer;z-index:3;
}
html body.chat-page .composer-expand-v1[hidden]{display:none!important}
.composer-expand-v1 svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body.chat-page #composerEntryV121.composer-fullscreen-editor-v1{
 box-sizing:border-box;position:fixed;top:var(--composer-editor-top,0px);left:0;right:0;bottom:auto;
 width:100%!important;max-width:none!important;height:var(--composer-editor-height,100dvh)!important;max-height:none!important;min-height:0!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden;background:var(--chat-surface);color:var(--chat-text);
 font-family:var(--font-b);box-shadow:none;
}
html body.chat-page #composerEntryV121.composer-fullscreen-editor-v1{display:flex!important;flex-direction:column;align-items:stretch!important;z-index:1000}
.composer-fullscreen-editor-v1::backdrop{background:var(--chat-surface)}
html body.chat-page #composerEntryV121.composer-fullscreen-editor-v1>:is(.composer-expand-v1,.composer-mic-v121){display:none!important}
.composer-editor-head-v1[hidden]{display:none!important}
.composer-editor-head-v1{
 position:relative;z-index:3;display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;
 padding: max(12px,env(safe-area-inset-top,0px)) max(18px,env(safe-area-inset-right,0px)) 8px max(18px,env(safe-area-inset-left,0px));
}
.composer-editor-head-v1 strong{font:500 16px var(--font-b)}
.composer-editor-done-v1{min-width:58px;min-height:40px;padding:7px 14px;border:1px solid var(--chat-border);border-radius:99px;background:transparent;color:inherit;font:14px var(--font-b);cursor:pointer}
html body.chat-page .composer-fullscreen-editor-v1 #chatInput{
 position:relative;z-index:3;box-sizing:border-box;flex:1;width:100%!important;height:0!important;min-height:0!important;max-height:none!important;
 margin:0;padding:10px max(20px,env(safe-area-inset-right,0px)) max(18px,env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px))!important;border:0!important;border-radius:0;outline:none;background:transparent;color:var(--chat-text);
 font:16px/1.65 var(--font-b);overflow:auto;white-space:pre-wrap;
}
body.composer-editor-open-v1{overflow:hidden}
body.composer-editor-fallback-v1 .composer{z-index:1000!important}
