.symptom-ai-panel textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;
}

.symptom-ai-counter { margin-top: 8px; color: var(--doctor-muted); text-align: right; font-size: 13px; }
.symptom-ai-counter.is-over-limit { color: var(--doctor-danger); font-weight: 800; }
.symptom-ai-review-list { display: grid; gap: 9px; margin: 18px 0; padding: 0; list-style: none; }
.symptom-ai-review-list li { display: grid; gap: 4px; min-width: 0; padding: 12px 14px; overflow-wrap: anywhere; color: var(--doctor-text); background: var(--doctor-soft); border: 1px solid var(--doctor-border); border-radius: 16px; }
.symptom-ai-review-list li.is-current { border-color: var(--doctor-sage); background: rgb(198 208 180 / 34%); }
.symptom-ai-review-list strong { color: var(--doctor-text); }
.symptom-ai-review-list span { font-size: 14px; }
.symptom-ai-confirm-card { padding: 18px; background: var(--doctor-soft); border: 1px solid var(--doctor-border); border-radius: 20px; }
.symptom-ai-confirm-card > p { margin: 10px 0; }
.symptom-ai-kind { color: var(--doctor-olive-dark); font-size: 14px; font-weight: 800; }
.symptom-ai-evidence { padding: 10px 12px; overflow-wrap: anywhere; background: var(--doctor-cream); border-radius: 12px; font-size: 14px; }
.symptom-ai-confirm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.symptom-ai-confirm-actions .main-button { width: auto; }
.symptom-context-toggle { display: flex; gap: 9px; align-items: center; margin: 14px 0 8px; color: var(--doctor-text); font-weight: 800; }
.symptom-context-toggle input { width: 18px; height: 18px; }
.symptom-batch-edit { display: grid; gap: 9px; margin: 18px 0; }
.symptom-batch-item { display: flex; min-width: 0; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--doctor-soft); border: 1px solid var(--doctor-border); border-radius: 16px; }
.symptom-batch-item input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.symptom-batch-item span { display: grid; min-width: 0; gap: 4px; overflow-wrap: anywhere; color: var(--doctor-text); }
.symptom-batch-item small { color: var(--doctor-muted); font-size: 13px; }
.symptom-ai-followup-reason { margin: 12px 0 18px; color: var(--doctor-muted); }
.symptom-image-upload { margin: 20px 0; padding: 16px; background: var(--doctor-soft); border: 1px solid var(--doctor-border); border-radius: 20px; }
.symptom-image-upload h2 { margin: 0 0 8px; font-size: 18px; }
.symptom-image-upload > p { margin: 0 0 14px; color: var(--doctor-muted); font-size: 14px; }
.symptom-image-picker { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 16px; color: var(--doctor-text); background: rgb(198 208 180 / 34%); border: 1px solid var(--doctor-sage); border-radius: 999px; font-weight: 800; cursor: pointer; }
.symptom-image-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.symptom-image-picker:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.symptom-image-list { display: grid; gap: 12px; margin-top: 14px; }
.symptom-image-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; background: #fff; border: 1px solid var(--doctor-border); border-radius: 16px; }
.symptom-image-card img { width: 112px; height: 96px; object-fit: cover; border-radius: 10px; }
.symptom-image-card label { display: grid; gap: 6px; color: var(--doctor-text); font-size: 14px; font-weight: 800; }
.symptom-image-card select { width: 100%; min-height: 40px; padding: 0 10px; border: 1px solid var(--doctor-border); border-radius: 12px; background: #fff; }
.symptom-image-card p { margin: 8px 0; color: var(--doctor-muted); font-size: 12px; }
.symptom-emergency-visual { margin: 16px 0; padding: 13px 14px; color: var(--doctor-danger); background: #fbf3f3; border: 1px solid rgb(141 71 71 / 16%); border-radius: 14px; font-weight: 800; }
.symptom-ai-explanation { margin-top: 22px; padding: 18px; background: var(--doctor-soft); border: 1px solid var(--doctor-border); border-radius: 20px; }
.symptom-ai-explanation > h2 { margin-top: 0; }
.symptom-ai-explanation section { margin-top: 16px; }
.symptom-ai-explanation h3 { margin-bottom: 8px; font-size: 16px; }
.symptom-ai-explanation ul { display: grid; gap: 8px; padding-left: 20px; }

@media (max-width: 640px) {
  .symptom-ai-panel textarea { min-height: 150px; }
  .symptom-ai-confirm-actions { align-items: stretch; }
  .symptom-ai-confirm-actions .main-button,
  .symptom-ai-confirm-actions .text-button { width: 100%; }
  .symptom-image-picker { width: 100%; }
  .symptom-image-card { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
  .symptom-image-card img { width: 84px; height: 84px; }
}
