/* Workspace-parity composer, voice bar, message actions and plugins view.
   Uses ECHO Prime's existing palette; it does not restyle the orb, ESH, Steward or Creative Studio. */
.composer-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.composer-tools .composer-tool,.message-actions .quiet-button,.code-head .quiet-button,.voice-controls .quiet-button,.plugins-body .quiet-button,.composer-dialog .quiet-button{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border:1px solid #486a57;border-radius:7px;background:#183126;color:#cff0df;font-size:11px;white-space:normal;text-align:left}
.composer-tools .composer-tool[aria-pressed=true]{background:#1f4a39;border-color:#7ed7ae;color:#eafff5}
.composer-tools .composer-tool:hover,.message-actions .quiet-button:hover,.voice-controls .quiet-button:hover{border-color:#7ed7ae}
.memory-chip{display:inline-flex;align-items:center;min-height:26px;padding:3px 10px;border:1px solid #2f5a49;border-radius:999px;background:#10241d;color:#9fd9bd;font-size:10px;letter-spacing:.2px}
.attachment-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.attachment-chips .chip{display:inline-flex;align-items:center;min-height:26px;padding:3px 10px;border:1px solid #3a6a55;border-radius:999px;background:#12281f;color:#bfe9d5;font-size:11px}
.attachment-chips .chip .chip-thumb,.file-choice .chip-thumb{width:18px;height:18px;border-radius:4px;object-fit:cover;margin-right:5px;flex-shrink:0}
.composer-extras{display:grid;gap:8px;margin-top:10px}
.context-meter{display:flex;align-items:center;justify-content:flex-end;gap:10px;color:#7fa593;font-size:10px;min-width:0}
.context-meter progress{width:min(220px,40%);height:6px;border-radius:999px;overflow:hidden;appearance:none;border:0;background:#17302a}
.context-meter progress::-webkit-progress-bar{background:#17302a;border-radius:999px}
.context-meter progress::-webkit-progress-value{background:linear-gradient(90deg,#64e5af,#7fd3e6);border-radius:999px}
.context-meter progress::-moz-progress-bar{background:linear-gradient(90deg,#64e5af,#7fd3e6);border-radius:999px}
#workspace-context,#workspace-attachments{display:none!important}
.voice-bar{display:grid;gap:6px;padding:10px 12px;border:1px solid #2f5a49;border-radius:10px;background:#0d1d19cc;font-size:11px;color:#a9c9b9}
.voice-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.voice-bar .check{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#bfe0cf}
.voice-bar .check input{width:16px;height:16px;accent-color:#a7f5dd}
.voice-bar small{display:block;font-size:10px;line-height:1.5;color:#8fb5a2;overflow-wrap:anywhere}
.voice-bar small:empty{display:none}
.voice-bar .muted{color:#6f9686}
.message-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.message-body{display:grid;gap:8px;min-width:0}
.code-block{border:1px solid #29443a;border-radius:10px;background:#06110e;overflow:hidden;min-width:0}
.code-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;background:#0c1c17;color:#8fb5a2;font-size:10px;letter-spacing:.6px;text-transform:uppercase}
.code-block pre{margin:0;padding:12px;overflow:auto;max-height:50dvh;font:12px/1.6 ui-monospace,Consolas,monospace;color:#d3eadf}
.checkpoint{width:min(100%,760px);margin:10px auto 0;padding:10px 14px;border:1px solid #3a6a55;border-radius:10px;background:#10241d;color:#bfe0cf;font-size:12px}
.checkpoint summary{cursor:pointer}
.checkpoint .prose{margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.composer-dialog{width:min(760px,calc(100vw - 32px));max-height:88dvh;overflow:auto;overscroll-behavior:contain}
.composer-dialog textarea,.composer-dialog input[type=text],.composer-dialog input[type=url],.composer-dialog input[type=password],.composer-dialog select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #375c4d;border-radius:8px;background:#0b1915;color:#e1f2ea;padding:10px 12px;font:inherit}
.composer-dialog input[type=checkbox]{width:18px;height:18px;accent-color:#a7f5dd}
.composer-note{margin:0;color:#9dbdad;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.composer-note:empty{display:none}
.plugins-body{display:grid;gap:16px;min-width:0}
.plugin-statuses{display:grid;gap:10px}
.sync-summary{color:#cfe9db}
.file-choice{display:flex;align-items:center;gap:10px;padding:8px 0;color:#cfe9db;font-size:12px}
.file-choice small{display:block;color:#7fa593;font-size:10px}
.pill{display:inline-flex;width:max-content;padding:2px 10px;border-radius:999px;border:1px solid #486a57;font-size:10px;color:#cfe9db}
.pill.good{border-color:#64e5af;color:#9bffd4}
.pill.pending{border-color:#caa65a;color:#f0d79b}
@media(max-width:800px){
 .context-meter{justify-content:flex-start;flex-wrap:wrap}
 .context-meter progress{width:100%}
 .composer-tools .composer-tool,.message-actions .quiet-button,.voice-controls .quiet-button{min-height:40px}
 .voice-controls{gap:10px}
}
