/* Desktop keeps the original toolbar, textarea and send row. */
.mobile-composer-action,.mobile-composer-tools{display:none}
@media(max-width:760px){
 .workspace .composer{display:grid;grid-template-columns:minmax(0,1fr) 48px;grid-template-rows:auto 44px;align-items:end;gap:4px 8px;padding:8px max(12px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(12px,env(safe-area-inset-left));border-top:1px solid var(--line)}
 .workspace .composer>.toolbar,.workspace .composer>.composer-bottom{display:none}
 .workspace .composer textarea{grid-column:1;grid-row:1;width:100%;min-width:0;min-height:44px;height:44px;max-height:92px;box-sizing:border-box;resize:none;padding:10px 12px;margin:0;border-radius:12px;font-size:16px;line-height:22px;overflow-wrap:anywhere;overscroll-behavior:contain}
 .workspace .mobile-composer-action{display:flex;grid-column:2;grid-row:1;align-items:center;justify-content:center;width:48px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--ink);font:600 14px/1 system-ui;touch-action:manipulation}
 .workspace .mobile-composer-action svg{width:25px;height:25px}
 .workspace .composer[data-has-text=true] .mobile-composer-action{background:var(--gold);border-color:var(--gold);color:var(--accent-ink)}
 .workspace .mobile-composer-action:disabled{opacity:.55;cursor:wait}
 .workspace .mobile-composer-tools{display:flex;grid-column:1/-1;grid-row:2;align-items:stretch;justify-content:space-around;gap:8px;min-width:0;height:44px;min-height:44px}
 .workspace .mobile-composer-tool{display:flex;flex:1;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;max-width:120px;padding:0 8px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:11px;touch-action:manipulation}
 .workspace .mobile-composer-tool svg{width:23px;height:23px;flex:none}
 .workspace .mobile-money-tool{color:var(--gold)}
 .workspace .mobile-composer-tool:hover,.workspace .mobile-composer-action:hover{background:var(--panel2)}
 .workspace .composer[data-has-text=true] .mobile-composer-action:hover{background:var(--gold)}
 .workspace .composer[data-has-text=false] .mobile-composer-action{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
 .workspace .mobile-composer-action[data-recording=true]{background:var(--gold);color:var(--accent-ink);box-shadow:0 0 0 4px var(--line)}
 .voice-press-overlay{position:fixed;inset:0;z-index:900;display:grid;place-items:center;padding:24px;background:#0005;pointer-events:none;touch-action:none;user-select:none;-webkit-user-select:none}
 .voice-press-card{display:flex;flex-direction:column;align-items:center;gap:14px;width:min(270px,100%);padding:28px 18px;border-radius:22px;background:var(--panel);color:var(--ink);border:1px solid var(--line);box-shadow:0 16px 45px #0004;text-align:center}
 .voice-press-card strong{font-size:17px;font-weight:600}.voice-press-time{font-size:14px;color:var(--gold);font-variant-numeric:tabular-nums}.voice-press-card p{font-size:12px;color:var(--muted)}
 .voice-press-wave{display:flex;height:44px;gap:6px;align-items:center;color:var(--gold)}.voice-press-wave i{display:block;width:5px;height:18px;border-radius:3px;background:currentColor;animation:voice-wave .8s ease-in-out infinite alternate}.voice-press-wave i:nth-child(2n){height:32px;animation-delay:-.4s}.voice-press-wave i:nth-child(3){height:44px;animation-delay:-.2s}
 .voice-press-overlay.cancel .voice-press-card{border-color:var(--danger)}.voice-press-overlay.cancel strong,.voice-press-overlay.cancel .voice-press-wave,.voice-press-overlay.cancel .voice-press-time{color:var(--danger)}.voice-press-overlay.cancel .voice-press-wave i{animation-play-state:paused}
 @keyframes voice-wave{to{transform:scaleY(.4)}}
}
