#commandAssistant{width:min(650px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:24px;background:var(--ui-panel,#fff);color:var(--ui-text,#142d43)}#commandAssistant form{display:grid;gap:12px}#commandAssistant h2{margin:3px 0;font-size:1.3rem}#commandAssistant label{display:grid;gap:6px;font-size:.8rem;font-weight:600}#commandAssistant :is(input,select,textarea){min-width:0;width:100%;padding:10px;border:1px solid var(--ui-border,#dce6ed);border-radius:9px;background:var(--ui-control,#fff);color:var(--ui-text,#142d43);font:inherit;font-size:16px}#commandAssistant .command-actions{display:flex;gap:8px;flex-wrap:wrap}#commandAssistant .command-actions button{flex:1;min-height:42px}#commandReview{border-top:1px solid var(--ui-border,#dce6ed);padding-top:14px}#commandReview h3{font-size:1rem;margin:0 0 10px}#commandReview .form-grid{gap:12px}#commandReview .command-wide{grid-column:1/-1}#commandAssistant :is(#commandNotes,#commandMatchNote){font-size:.8rem;line-height:1.6}#commandAssistant #commandVoiceStatus:empty{display:none}#commandAssistant .command-ack{display:flex;align-items:flex-start;gap:9px;font-size:.78rem;padding:12px;background:var(--ui-soft,#edf4f7);border-radius:9px}#commandAssistant .command-ack input{width:18px;height:18px;min-height:18px;flex:0 0 18px}#commandAssistant [hidden]{display:none!important}#commandError{padding:12px;background:#ffe8e9;color:#8b2037;border-radius:9px;font-size:.82rem}#commandAssistant .support-note{font-size:.74rem;color:var(--ui-muted,#536a7d);line-height:1.5}#commandAssistant small{font-size:.72rem}#commandReview .dialog-actions{position:sticky;bottom:-24px;background:var(--ui-panel,#fff);padding:12px 0;margin-top:12px;border-top:1px solid var(--ui-border,#dce6ed)}@media(max-width:600px){#commandAssistant{padding:16px;max-height:calc(100dvh - 16px)}#commandReview .form-grid{grid-template-columns:1fr 1fr}#commandReview .dialog-actions{bottom:-16px}#commandAssistant .dialog-actions button{flex:1;min-height:44px}}
#commandAssistant form{gap:10px}#commandAssistant p{margin:0}#commandAssistant .dialog-heading{margin:0;align-items:flex-start}#commandAssistant h2{margin:0}#commandAssistant label{margin:0}#commandAssistant textarea{min-height:72px}#commandAssistant .support-note{font-size:.7rem}#commandReview .form-grid{margin:10px 0;gap:10px}#commandReview h3{margin:0 0 6px}#commandReview .dialog-actions{margin-top:10px;padding:10px 0}#commandAssistant #commandVoiceStatus{font-size:.75rem}
body .app-shell .command-launch-shortcut{position:fixed;right:78px;bottom:22px;z-index:55;display:flex;align-items:center;gap:9px;min-height:46px;padding:11px 17px;border-radius:24px;font-size:.82rem;font-weight:700;box-shadow:0 6px 22px #005c4f30;color:#fff!important;background:#008876!important;border:1px solid #007c6b;cursor:pointer}body .command-launch-shortcut>span:first-child{font-size:18px}body .command-launch-shortcut:disabled{opacity:.55;cursor:not-allowed}@media(max-width:760px){body .app-shell .command-launch-shortcut{bottom:90px;right:66px;min-height:44px;padding:10px 15px;font-size:.76rem}body .app-shell .main{padding-bottom:146px}}@media print{#commandLaunchShortcut{display:none!important}}
@media(min-width:761px){body .app-shell .main{padding-bottom:96px}}

.command-chat-transcript {
  display: grid;
  gap: 8px;
  max-height: 15rem;
  overflow: auto;
  margin-bottom: 12px;
}
.command-chat-transcript:empty, .command-chat-proposals:empty { display: none; }
.command-chat-transcript p, .command-chat-account {
  background: var(--ui-panel);
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.command-chat-transcript p[data-role="user"] { background: var(--ui-soft); }
.command-chat-transcript strong { display: block; margin-bottom: 4px; }
.command-chat-attach { margin: 8px 0 12px; }
.command-chat-attach input { width: 100%; min-width: 0; }
.command-chat-attach small { display: block; margin-top: 5px; color: var(--ui-muted); }
.command-chat-proposals { display: grid; gap: 8px; margin: 12px 0; }
.command-chat-entry { text-align: left; white-space: normal; }
.command-chat-account p { margin: 0 0 6px; }
