.ex-comm-toggle { position: absolute; top: 10px; right: 10px; z-index: 18; }
.ex-comm { position: absolute; left: 50%; transform: translateX(-50%); bottom: 10px; width: min(1000px, 100% - 20px); background: rgba(13, 16, 26, .88); border: 1px solid #2a3148; border-radius: 12px; padding: 8px 12px; z-index: 19; display: grid; gap: 6px; max-height: 44%; overflow: auto; }
.ex-comm:not(.expanded) .ex-presets, .ex-comm:not(.expanded) .ex-voice-note, .ex-comm:not(.expanded) #commClose { display: none; }
.ex-comm:not(.expanded) { grid-template-columns: auto 1fr; align-items: center; }
.ex-comm:not(.expanded) .ex-reply:empty { display: none; } .ex-comm:not(.expanded) .ex-reply { grid-column: 1 / -1; }
.ex-comm[hidden] { display: none; }
.ex-comm-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ex-voice-state { font-size: 13px; color: var(--sma-muted); flex: 1; min-width: 120px; }
.ex-voice-state.ready { color: var(--sma-good); } .ex-voice-state.listening { color: var(--sma-accent); } .ex-voice-state.denied, .ex-voice-state.unavailable, .ex-voice-state.error { color: var(--sma-bad); }
.ex-talk.on { background: var(--sma-accent); color: var(--sma-accent-ink); }
.ex-voice-note { margin: 0; font-size: 12px; color: var(--sma-faint); }
.ex-heard[hidden] { display: none; }
.ex-heard { font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .ex-heard .lbl { color: var(--sma-muted); } .ex-countdown { color: var(--sma-faint); font-size: 12px; }
.ex-presets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ex-presets button { min-height: 48px; text-align: left; line-height: 1.15; font-size: 12px; padding: 6px 8px; align-items: flex-start; flex-direction: column; gap: 1px; }
.ex-presets button small { display: block; color: var(--sma-faint); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.ex-typed { display: flex; gap: 8px; } .ex-typed input { flex: 1; min-width: 0; }
.ex-reply { margin: 0; font-size: 14px; color: var(--sma-ink); min-height: 1.4em; } .ex-reply b { color: var(--sma-accent); } .ex-reply .rule { display: block; color: var(--sma-faint); font-size: 12px; }
.ex-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); gap: 6px; margin: 4px 0 8px; }
.ex-controls { margin-top: 10px; } .ex-controls summary { cursor: pointer; color: var(--sma-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; padding: 8px 0; }
.ex-pick button { text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 56px; padding: 6px 8px; }
.ex-pick button b { font-size: 14px; } .ex-pick button small { color: var(--sma-faint); font-size: 11px; line-height: 1.25; }
.ex-pick button[aria-pressed="true"] { border-color: var(--sma-accent); box-shadow: inset 0 0 0 1px var(--sma-accent); }
.ex-log { font-size: 13px; } .ex-log li { margin: 0 0 8px; } .ex-log .k { color: var(--sma-muted); } .ex-log .eff { color: var(--sma-good); }
@media (max-width: 700px) { .ex-comm { bottom: 150px; max-height: 50%; } .ex-presets { grid-template-columns: 1fr 1fr 1fr; } .ex-voice-note { display: none; } }
@media (pointer: fine) and (min-width: 701px) { .ex-comm { bottom: 10px; } }
@media (max-width: 700px) { .sma-caption { font-size: 14px; bottom: 8px; max-width: 94%; padding: 6px 10px; } }
.sma-card h3 { margin: 12px 0 6px; }
