/* AI 도우미만의 모양 (공통 모양은 base.css) */
:root { --accent: #6a4fd8; }

.not-ready { margin-bottom: 14px; }

/* 사진 고르기 */
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick .btn { min-height: 76px; flex-direction: column; gap: 4px; padding: 0 10px; }
.pick .btn span { font-size: 1.6rem; line-height: 1; }
.preview { margin: 0; }
.preview img {
  display: block; width: 100%; max-height: 340px; object-fit: contain;
  background: var(--surface-2); border-radius: 14px;
}
.preview figcaption { margin-top: 10px; }
.privacy {
  margin: 14px 0 0; padding: 10px 12px; border-radius: 12px;
  background: var(--accent-soft); color: var(--ink); font-size: 0.92rem; font-weight: 600;
}

#btn-explain, #btn-polish { min-height: 60px; font-size: 1.08rem; margin-bottom: 12px; }
.card label.field { margin-bottom: 6px; }
.count { text-align: right; margin: 6px 0 0; }

/* 결과 */
.result:empty { display: none; }
.result { scroll-margin-top: 92px; } /* 결과로 내려갈 때 위 머리말에 가리지 않게 */
.result-card { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.kicker { font-size: 0.85rem; font-weight: 700; color: var(--accent-text); margin-bottom: 4px; }
.r-title { font-size: 1.25rem; margin-bottom: 8px; }
.r-summary { font-size: 1.05rem; line-height: 1.7; }
.r-caution { margin: 12px 0; }
.r-block { margin-top: 16px; }
.r-block h4 { margin: 0 0 8px; font-size: 1rem; }
.todo { margin: 0; padding-left: 0; list-style: none; }
.todo li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px dashed var(--line); }
.todo li:last-child { border-bottom: 0; }
.todo li::before { content: '☐'; position: absolute; left: 4px; top: 7px; color: var(--accent-text); font-weight: 700; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.contacts { display: grid; gap: 8px; }
.tel { justify-content: space-between; width: 100%; min-height: 56px; }
.tel .who { font-weight: 600; color: var(--ink); text-align: left; }
.tel .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tel .num::before { content: '📞 '; }
.actions { margin-top: 16px; }

.option-text { font-size: 1.05rem; line-height: 1.7; white-space: pre-wrap; margin-bottom: 12px; }

/* 최근 기록 */
.h-title { margin: 8px 0 4px; }
.h-sub { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.h-detail { margin-top: 14px; }
.h-detail .card { box-shadow: none; }
.empty .big { font-size: 2.2rem; margin: 0; }
#btn-clear-all { margin-top: 4px; }

.ai-note { text-align: center; margin: 18px 4px 0; }
