/* Conversations — reduced, editorial capture component. Reuses COMMAND's
   design tokens from reality.css (--ink/--paper/--panel/--line/--radius/...);
   this file only adds Conversations-specific shapes. */

.conv-consent { margin-bottom: 18px; color: var(--dim); font-size: 12px; }

.conv-panel { display: grid; gap: 14px; }
.conv-panel[hidden] { display: none; }

.conv-record-button {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 64px; padding: 18px 24px;
  background: var(--ink); color: var(--paper); border: none; border-radius: 999px;
  font-size: 16px; font-weight: 560; letter-spacing: -.01em; cursor: pointer;
}
.conv-record-button:hover { background: #fff; }
.conv-record-button[disabled] { opacity: .35; cursor: not-allowed; }
.conv-record-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bad); }

.conv-quiet-button {
  border: 1px solid var(--line-strong); background: transparent; color: inherit;
  border-radius: 999px; padding: 10px 16px; font-size: 13px; cursor: pointer;
}
.conv-quiet-button:hover { background: var(--ink); color: var(--paper); }

.conv-primary-button {
  border: none; background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: 12px 22px; font-size: 14px; font-weight: 540; cursor: pointer;
}
.conv-primary-button:hover { background: #fff; }

.conv-status-message { min-height: 1.4em; margin: 0; color: var(--muted); font-size: 13px; }
.conv-status-message.conv-warning { color: var(--warn); }

.conv-recording-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.conv-live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); animation: conv-pulse 1.4s ease-in-out infinite; }
@keyframes conv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.conv-timer { font-variant-numeric: tabular-nums; font-size: 22px; letter-spacing: -.01em; }
.conv-interim { margin: 0; padding: 16px 18px; min-height: 3.2em; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.conv-transcript-input {
  width: 100%; min-height: 160px; padding: 16px 18px; resize: vertical;
  background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 14px;
  font: inherit; font-size: 14px; line-height: 1.55;
}
.conv-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

.conv-engine-banner {
  margin-bottom: 18px; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: 14px;
  color: var(--muted); font-size: 12.5px; line-height: 1.5;
}

.conv-output { display: grid; gap: 22px; margin-top: 4px; }
.conv-output[hidden] { display: none; }
.conv-output-section { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.conv-output-section:last-of-type { border-bottom: none; padding-bottom: 0; }
.conv-transcript-readonly { margin: 0; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow-y: auto; }
.conv-output-list { margin: 0; padding-left: 20px; color: var(--ink); font-size: 13.5px; line-height: 1.65; }
.conv-output-list li { margin-bottom: 4px; }
.conv-empty { margin: 0; color: var(--muted); font-size: 13px; }

.conv-context-candidates { list-style: none; padding-left: 0; display: grid; gap: 8px; }
.conv-context-candidates li { padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.conv-candidate-tag { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 10px; letter-spacing: .08em; vertical-align: middle; }

.conv-reset-from-output { margin-top: 4px; }

.conv-recent-label { margin-top: 30px; }
.conv-recent-list { display: grid; gap: 6px; }
.conv-recent-item { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.conv-recent-preview { margin: 0 0 4px; font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-recent-meta { margin: 0; font-size: 11.5px; color: var(--dim); }

@media (max-width: 640px) {
  .conv-record-button { min-height: 72px; font-size: 17px; }
  .conv-recording-row { gap: 12px; }
  .conv-timer { font-size: 26px; }
  .conv-actions { justify-content: stretch; }
  .conv-actions .conv-quiet-button, .conv-actions .conv-primary-button { flex: 1; }
}
