/* 대화형 매물 등록(chat-intake.js). 업무실 색(--apt-*)을 그대로 쓴다. */
.chat-intake{max-width:760px;margin:0 0 16px;border:1px solid var(--apt-border,#dfe5ee);border-radius:16px;background:#fff;overflow:hidden}
.chat-intake > header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--apt-border,#dfe5ee);background:var(--apt-bg,#f6f8fb)}
.chat-toggle{display:inline-grid;grid-template-columns:1fr 1fr;gap:4px;padding:3px;border-radius:10px;background:#e8edf4}
.chat-toggle button{min-height:36px;padding:0 16px;border:0;border-radius:8px;background:transparent;color:var(--apt-muted,#5b6b7f);font-weight:700;cursor:pointer}
.chat-toggle button[aria-selected=true]{background:#fff;color:var(--apt-text,#12304f);box-shadow:0 1px 3px rgba(18,48,79,.16)}
.chat-restart{border:0;background:none;color:var(--apt-muted,#5b6b7f);text-decoration:underline;cursor:pointer;min-height:36px}
[data-chat-body]{padding:14px 14px 16px}
.chat-log{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.chat-q{align-self:flex-start;max-width:88%;padding:9px 12px;border-radius:14px 14px 14px 4px;background:var(--apt-bg,#f1f4f8);color:var(--apt-text,#12304f);line-height:1.5}
.chat-a{align-self:flex-end;max-width:88%;padding:8px 14px;border:0;border-radius:999px;background:var(--apt-blue,#3182f6);color:#fff;font-weight:700;text-align:right;cursor:pointer}
.chat-a:hover,.chat-a:focus-visible{filter:brightness(.94)}
.chat-note{align-self:stretch;padding:8px 12px;border-left:3px solid var(--apt-blue,#3182f6);background:#f3f8ff;color:var(--apt-text,#12304f);font-size:14px;line-height:1.5}
.chat-card{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--apt-border,#dfe5ee);border-radius:14px;background:#fcfdff}
.chat-card > .chat-q{max-width:none;font-weight:700}
.chat-hint{margin:0;color:var(--apt-muted,#5b6b7f);font-size:14px}
.chat-notice{margin:0;padding:8px 10px;border-radius:10px;background:#fff7e6;color:#6b4a00;font-size:14px;line-height:1.5}
.chat-error{margin:0;color:#c62828;font-weight:700}
.chat-busy{margin:0;color:var(--apt-blue,#3182f6);font-weight:700}
.chat-chips{display:flex;flex-wrap:wrap;gap:8px}
.chat-chip{min-height:40px;padding:0 14px;border:1px solid var(--apt-border,#cfd8e3);border-radius:999px;background:#fff;color:var(--apt-text,#12304f);font-weight:700;cursor:pointer}
.chat-chip:hover,.chat-chip:focus-visible{border-color:var(--apt-blue,#3182f6);color:var(--apt-blue,#3182f6)}
.chat-chip.suggested{border-color:var(--apt-blue,#3182f6);background:#eef5ff;color:var(--apt-blue,#3182f6)}
.chat-chip[hidden]{display:none}
.chat-wide .chat-chip{min-height:36px}
.chat-ho{max-height:240px;overflow:auto;padding:2px}
.chat-filter{display:flex;align-items:center;gap:8px;font-size:14px}
.chat-filter input{max-width:140px}
.chat-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px}
.chat-form label{display:flex;flex-direction:column;gap:4px;font-size:14px;color:var(--apt-muted,#5b6b7f)}
.chat-input{display:inline-flex;align-items:center;gap:6px}
.chat-input input,.chat-form select,.chat-form input{min-height:40px;padding:0 10px;border:1px solid var(--apt-border,#cfd8e3);border-radius:10px;font-size:16px}
.chat-input input[type=number],.chat-input input[type=text]{width:160px}
.chat-input span{color:var(--apt-text,#12304f);font-weight:700}
.chat-actions{display:flex;flex-wrap:wrap;gap:8px}
.chat-actions button{min-height:40px;padding:0 14px;border-radius:10px;border:1px solid var(--apt-border,#cfd8e3);background:#fff;cursor:pointer}
.chat-actions button.primary,.chat-form button.primary{border:0;background:var(--apt-blue,#3182f6);color:#fff;font-weight:700;min-height:40px;padding:0 16px;border-radius:10px;cursor:pointer}
.chat-skip{border:0!important;background:none!important;color:var(--apt-muted,#5b6b7f);text-decoration:underline}
.chat-left{margin:0;padding-left:18px;color:#8a2b2b;font-size:14px;line-height:1.6}
[data-chat-postcode-layer]{border:1px solid var(--apt-border,#dfe5ee);border-radius:10px;overflow:hidden}
@media (max-width:640px){.chat-intake{border-radius:12px}.chat-q,.chat-a{max-width:100%}.chat-input input[type=number],.chat-input input[type=text]{width:120px}}
