.dictation-control{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;display:inline-flex}.dictation-control .dictation-button{min-height:36px;color:var(--accent);background:var(--surface);border:1px solid var(--line);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:5px 9px;display:inline-flex}.dictation-control .dictation-button.icon-only{border:0;width:38px;height:38px;padding:0}.dictation-control[data-recording] .dictation-button{background:var(--blue-soft);color:var(--accent)}.dictation-visually-hidden{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.dictation-preview,.dictation-error{overflow-wrap:anywhere;max-width:min(60ch,80vw);max-height:6em;color:var(--muted);font-size:.82rem;overflow:auto}.dictation-field-tools{width:fit-content;max-width:100%;font:inherit;color:var(--ink);align-items:center;gap:4px;margin:3px 0;display:flex}html body .messenger .chat-compose-line{background:var(--raised);border-color:var(--line);box-shadow:none;-webkit-backdrop-filter:none;flex-wrap:wrap}.messenger .chat-compose-line>textarea{text-align:left;min-width:0;box-shadow:none;background:0 0;flex:1 1 0}.messenger .chat-compose-line .dictation-control{display:contents}.messenger .chat-compose-line .dictation-button{flex:0 0 38px;align-self:flex-end}.messenger .chat-compose-line :is(.dictation-preview,.dictation-error){box-sizing:border-box;text-align:left;white-space:pre-wrap;overscroll-behavior:contain;flex:0 0 100%;order:10;width:100%;max-width:100%;max-height:7em;margin:0;padding:6px 10px 10px;line-height:1.45}.messenger .chat-compose-line .dictation-preview:empty{display:none}.dictation-feedback{box-sizing:border-box;width:min(360px,80vw);max-width:100%;color:var(--accent);background:var(--surface);border-radius:10px;flex-direction:column;flex:1 0 100%;gap:3px;padding:5px 9px;display:flex}.dictation-feedback>small{color:var(--muted);font-size:12px;line-height:16px}.speech-waveform{width:100%;min-width:0;color:var(--accent);display:block}.speech-waveform canvas{width:100%;height:32px;display:block}.speech-waveform>small{color:var(--muted);font-size:12px;line-height:16px;display:block}.messenger .chat-compose-line .dictation-feedback{background:0 0;flex:0 0 100%;order:9;width:100%}.dictation-transcript{white-space:pre-wrap;text-align:left;display:block}@media (prefers-reduced-motion:no-preference){html:not([data-motion=off]) .dictation-word{animation:.18s ease-out both dictation-word-in}}@keyframes dictation-word-in{0%{opacity:.25}to{opacity:1}}.month-review{margin-block:8px}.month-review-result{border-left:2px solid var(--accent);color:var(--ink);padding:8px 12px}.month-review-result p{margin:3px 0}.speech-waveform{min-height:48px}.dictation-feedback{width:180px;min-height:24px;color:var(--muted);background:0 0;flex-direction:row;align-items:center;gap:7px;padding:0}.dictation-feedback>small{white-space:nowrap;font-size:12px;line-height:20px}.speech-waveform{min-height:20px;color:color-mix(in srgb,var(--ink) 58%,var(--muted))}.speech-waveform canvas{height:20px}.speech-waveform>small{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.dictation-progress{opacity:.6;flex:none}html body .messenger.messenger .chat-compose-line{background:var(--surface);-webkit-backdrop-filter:none;box-shadow:none}html body .messenger.messenger .chat-compose-line textarea{background:0 0;font-size:17px;line-height:23px;transition:none}html body .messenger.messenger .chat-compose-line textarea[data-density=compact]{font-size:16px;line-height:22px}html body .messenger.messenger .chat-compose-line.is-dictating{grid-template-columns:40px minmax(0,1fr) 38px;align-items:center;gap:7px;min-height:48px;max-height:56px;padding:2px 5px;display:grid}html body .messenger.messenger .chat-compose-line.is-dictating>textarea,html body .messenger.messenger .chat-compose-line.is-dictating>:is(.chat-emoji-control,.chat-send,.chat-record-voice){display:none}html body .messenger.messenger .chat-compose-line.is-dictating>.chat-attach-control{grid-area:1/1}html body .messenger.messenger .chat-compose-line.is-dictating .dictation-button{min-width:38px;color:var(--muted);background:0 0;grid-area:1/3;align-self:center}html body .messenger.messenger .chat-compose-line.is-dictating .dictation-feedback{order:0;grid-area:1/2;width:100%;min-width:0;min-height:20px;max-height:24px;padding:0}@media (prefers-reduced-motion:no-preference){html:not([data-motion=off]) .dictation-progress{animation:1s linear infinite dictation-progress-turn}}@keyframes dictation-progress-turn{to{transform:rotate(360deg)}}html body .messenger.messenger[data-narrow=true] .chat-emoji-control{display:none}html body .messenger.messenger .chat-compose-line:not(.is-dictating)>textarea[data-density=compact]{box-sizing:border-box;border-radius:18px;flex:1 0 100%;order:-1;width:100%;padding:8px 10px 3px}html body .messenger.messenger .chat-compose-line:has(>textarea[data-density=compact]):not(.is-dictating) .dictation-button{margin-inline-start:auto}html body .messenger.messenger .chat-compose-line>textarea[data-density=normal]{font-size:17px;line-height:23px}html body .messenger.messenger .chat-compose-line{position:relative}html body .messenger.messenger .chat-compose-line:is(.is-dictating,.is-recording)>textarea{opacity:0;pointer-events:none;display:block;position:absolute;inset:0 auto auto 0;overflow:hidden;width:1px!important;height:1px!important;min-height:1px!important;padding:0!important}html body .messenger.messenger .chat-compose-line>textarea[data-density]{letter-spacing:0;font-size:16px;font-weight:400;line-height:22px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif!important}html body .messenger.messenger .chat-compose-line .speech-waveform{max-width:190px;min-height:28px;margin-inline:auto}html body .messenger.messenger .chat-compose-line .dictation-feedback{max-height:32px}html body .messenger.messenger .chat-compose-line.is-recording{flex-wrap:nowrap;align-items:center;min-height:48px}html body .messenger.messenger .chat-compose-line.is-recording>.dictation-feedback{flex:80px;order:0;width:auto;max-width:190px;min-height:28px}html body .messenger.messenger .chat-compose-line.is-recording>.chat-voice-status{flex:none}html body .messenger.messenger .chat-voice-status>span:nth-child(2){white-space:nowrap;text-overflow:ellipsis;max-width:90px;overflow:hidden}
