/* Cute assistant-style chat composer inspired by the supplied reference. */
.direct-chat-card{--cute-teal:#19c9bd;--cute-cyan:#59d9ff;--cute-blue:#617bff;--cute-pink:#f28dca}.direct-chat-header{border-radius:0 0 24px 24px!important;padding:16px 20px!important;background:linear-gradient(120deg,color-mix(in srgb,var(--cute-teal) 12%,var(--chat-surface)),var(--chat-surface))!important}.direct-chat-header h2{font-size:17px!important}.direct-chat-actions{display:flex!important;align-items:center!important;gap:7px!important}.direct-chat-actions button,.direct-chat-header>button{width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;border:1px solid color-mix(in srgb,var(--cute-cyan) 25%,var(--hf-line))!important;background:color-mix(in srgb,var(--cute-cyan) 9%,transparent)!important;color:var(--hf-ink)!important;font-size:15px!important}.direct-chat-actions button:hover,.direct-chat-header>button:hover{background:linear-gradient(135deg,var(--cute-teal),var(--cute-blue))!important;color:#fff!important;transform:translateY(-1px)!important}.direct-chat-form{padding:15px 16px 18px!important;background:color-mix(in srgb,var(--chat-surface) 92%,#fff)!important;border-top:0!important}.direct-chat-form>div{display:grid!important;grid-template-columns:repeat(4,44px) minmax(0,1fr) 52px!important;align-items:center!important;gap:8px!important;padding:8px!important;border:1px solid color-mix(in srgb,var(--cute-cyan) 18%,var(--hf-line))!important;border-radius:34px!important;background:color-mix(in srgb,#fff 8%,var(--chat-surface))!important;box-shadow:0 13px 30px #0002,inset 0 1px #ffffff18!important}.direct-chat-form input[type=text],#direct-chat-input{height:56px!important;min-height:56px!important;padding:13px 14px!important;border:0!important;border-radius:28px!important;background:transparent!important;color:var(--hf-ink)!important;font-size:13px!important;box-shadow:none!important}.direct-chat-form input[type=text]::placeholder,#direct-chat-input::placeholder{color:var(--hf-muted)!important}.direct-chat-form input[type=text]:focus,#direct-chat-input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--cute-cyan) 18%,transparent)!important}.halo-chat-tool,#halo-file-button{width:42px!important;min-width:42px!important;height:42px!important;border-radius:50%!important;border:1px solid color-mix(in srgb,var(--cute-cyan) 30%,var(--hf-line))!important;background:color-mix(in srgb,var(--cute-cyan) 9%,transparent)!important;color:var(--hf-ink)!important;box-shadow:0 6px 16px #0002!important}.halo-chat-tool:hover,#halo-file-button:hover{background:linear-gradient(135deg,var(--cute-teal),var(--cute-blue))!important;color:#fff!important;border-color:transparent!important}.halo-chat-tool#halo-translate-button{background:linear-gradient(135deg,#7cf2e7,#62b9ff)!important;color:#12394b!important;font-size:15px!important}.halo-chat-tool#halo-gif-button{background:linear-gradient(135deg,#f6b8e8,#9f9bff)!important;color:#452b59!important;font-size:10px!important}.direct-chat-form>div>#direct-chat-send{width:52px!important;height:52px!important;min-height:52px!important;padding:0!important;border:0!important;border-radius:50%!important;background:linear-gradient(135deg,var(--cute-teal),var(--cute-blue))!important;color:#fff!important;box-shadow:0 10px 22px color-mix(in srgb,var(--cute-teal) 30%,transparent)!important;font-size:20px!important}.direct-chat-form>div>#direct-chat-send:hover{transform:translateY(-2px) rotate(-4deg)!important;box-shadow:0 14px 28px color-mix(in srgb,var(--cute-teal) 42%,transparent)!important}.halo-message-actions button,.halo-tool-actions button,.halo-gif-search button{border-radius:999px!important}.halo-tool-close,.social-dialog-close,.halo-search-dialog-close{border-radius:50%!important}.halo-chat-tool-dialog{border-radius:30px!important}.halo-chat-tool-card{border-radius:30px!important}.halo-emoji-grid button,.halo-gif-result{border-radius:18px!important}.halo-chat-theme-option{border-radius:999px!important}.halo-chat-system-note{border-radius:999px!important}
html[data-theme="light"] .direct-chat-form{background:linear-gradient(180deg,#fff,#f5fbff)!important}html[data-theme="light"] .direct-chat-form>div{border-color:#bceaf0!important;background:#fff!important;box-shadow:0 12px 28px rgba(33,113,145,.12),inset 0 1px #fff!important}html[data-theme="light"] .direct-chat-form input[type=text],html[data-theme="light"] #direct-chat-input{background:#fff!important;color:#14233a!important}html[data-theme="light"] .direct-chat-actions button,html[data-theme="light"] .direct-chat-header>button{border-color:#c5e4ed!important;background:#f4fcff!important;color:#1d4b5a!important;box-shadow:0 5px 14px rgba(33,113,145,.08)!important}html[data-theme="light"] .halo-chat-tool,html[data-theme="light"] #halo-file-button{border-color:#bceaf0!important;background:#f4fcff!important;color:#1d4b5a!important}html[data-theme="light"] .halo-chat-tool#halo-translate-button{background:linear-gradient(135deg,#a7fff0,#9dd1ff)!important}html[data-theme="light"] .halo-chat-tool#halo-gif-button{background:linear-gradient(135deg,#ffd4f3,#c5c3ff)!important}
@media(max-width:700px){.direct-chat-form{padding:10px 10px 13px!important}.direct-chat-form>div{grid-template-columns:repeat(4,36px) minmax(0,1fr) 46px!important;gap:5px!important;padding:6px!important}.halo-chat-tool,#halo-file-button{width:36px!important;min-width:36px!important;height:36px!important}.direct-chat-form>div>#direct-chat-send{width:46px!important;height:46px!important;min-height:46px!important}.direct-chat-form input[type=text],#direct-chat-input{height:48px!important;min-height:48px!important;font-size:12px!important}.direct-chat-header{padding:12px 14px!important}}
