/* The Ask panel and the draft card (public/assistant.js) */
#ask-panel { position: fixed; top: 0; right: 0; bottom: 0; width: 360px; max-width: 100%; z-index: 900; display: flex; flex-direction: column;
  background: var(--card, #fff); color: var(--ink, #1c2733); border-left: 1px solid var(--line, #e2e8f0); box-shadow: -4px 0 18px rgba(15, 27, 34, .08); }
#ask-panel.hidden { display: none; }
.ask-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line, #e2e8f0); }
.ask-grow { flex: 1; }
.ask-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ask-msg { max-width: 92%; padding: 8px 11px; border-radius: 12px; font-size: 14px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.ask-user { align-self: flex-end; background: var(--accent, #1d4ed8); color: var(--accent-ink, #fff); }
.ask-bot { align-self: flex-start; background: #f1f4f7; max-width: 100%; }
.ask-err, .ask-bad { color: #b91c1c; font-size: 13px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; border-top: 1px solid var(--line, #e2e8f0); }
.ask-chip { font: inherit; font-size: 13px; padding: 5px 10px; min-height: 30px; border-radius: 999px; border: 1px solid var(--line, #e2e8f0); background: #fff; color: var(--ink, #1c2733); cursor: pointer; }
.ask-chip:hover { border-color: var(--accent, #1d4ed8); color: var(--accent, #1d4ed8); }
.ask-chip:focus-visible { outline: 2px solid var(--accent, #1d4ed8); outline-offset: 2px; }
.ask-call { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; background: #eef4f8; border-bottom: 1px solid var(--line, #e2e8f0); font-size: 14px; }
.ask-call.hidden { display: none; }
.ask-chips + .ask-form { border-top: 0; }
.ask-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px 14px; border-top: 1px solid var(--line, #e2e8f0); }
.ask-form textarea { flex: 1; resize: none; font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid var(--line, #e2e8f0); border-radius: 8px; }
.ask-card { margin-top: 8px; padding: 10px 12px; background: #fff; border: 1px solid var(--line, #e2e8f0); border-radius: 10px; white-space: normal; }
.ask-actions { display: flex; gap: 6px; margin-top: 10px; }
.ask-status { margin-top: 10px; font-weight: 600; }
.ask-note { margin-top: 6px; font-size: 13px; }
.confirm-page main { max-width: 520px; margin: 40px auto; padding: 0 16px; }
.confirm-page .ask-card { font-size: 15px; }
@media (max-width: 600px) { #ask-panel { width: 100%; border-left: 0; } }
.ask-log { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; }
.ask-say { font-size: 1.15rem; font-weight: 600; margin-top: 8px; }
