/* ヒアリングフォーム（お客様入力ページの発行・反映）パネル */
.hearing-panel { margin-bottom: 16px; padding: 14px; border: 1px solid #bfdbfe; border-radius: 10px; background: linear-gradient(180deg, #f0f7ff 0%, #f8fbff 100%); }
.hearing-panel[hidden] { display: none; }
.hearing-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.hearing-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #1e3a8a; font-size: 14px; }
.hearing-title i { color: #2563eb; }
.hearing-new-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 700; }
.hearing-new-badge[hidden] { display: none; }
.hearing-desc { margin: 8px 0 10px; font-size: 12.5px; color: #475569; line-height: 1.6; }
.hearing-create { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: none; border-radius: 8px; background: #2563eb; color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.hearing-create:hover { background: #1d4ed8; }
.hearing-create:disabled { opacity: .6; cursor: default; }
.hearing-status { min-height: 0; margin: 0 0 8px; font-size: 12px; color: #475569; white-space: pre-wrap; }
.hearing-status[data-tone="error"] { color: #b91c1c; }
.hearing-status[data-tone="warn"] { color: #b45309; }
.hearing-status[data-tone="info"] { color: #1d4ed8; }
.hearing-status:empty { display: none; }
.hearing-list { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow: auto; }
.hearing-empty { margin: 0; padding: 10px 12px; border: 1px dashed #cbd5e1; border-radius: 8px; background: #fff; font-size: 12.5px; color: #64748b; }
.hearing-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.hearing-row[data-state="submitted"] { border-color: #fbbf24; background: #fffbeb; }
.hearing-row-main { min-width: 0; flex: 1 1 220px; }
.hearing-row-name { font-weight: 700; font-size: 13.5px; color: #0f172a; overflow-wrap: anywhere; }
.hearing-row-detail { margin-top: 2px; font-size: 11.5px; color: #64748b; }
.hearing-state { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; vertical-align: middle; background: #f1f5f9; color: #64748b; }
.hearing-state--submitted { background: #fef3c7; color: #b45309; }
.hearing-state--imported { background: #dcfce7; color: #15803d; }
.hearing-state--pending { background: #dbeafe; color: #1d4ed8; }
.hearing-row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.hearing-btn { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 5px 10px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; color: #1e3a8a; font-size: 12px; cursor: pointer; }
.hearing-btn:hover { background: #f8fafc; }
.hearing-btn--primary { border-color: #f59e0b; background: #f59e0b; color: #fff; font-weight: 700; }
.hearing-btn--primary:hover { background: #d97706; }
.hearing-btn--quiet { color: #64748b; }
.hearing-answers-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 13px; }
.hearing-answers-table th { width: 32%; padding: 7px 8px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; color: #475569; font-weight: 600; text-align: left; vertical-align: top; }
.hearing-answers-table td { padding: 7px 8px; text-align: left; border-bottom: 1px solid #e2e8f0; color: #0f172a; overflow-wrap: anywhere; white-space: pre-wrap; }
.hearing-answers-body { max-height: 60vh; overflow: auto; margin: 10px 0 14px; }
@media (max-width: 600px) {
    .hearing-row-actions { width: 100%; }
    .hearing-btn { flex: 1 1 auto; justify-content: center; }
}

/* 共有URL・ヒアリングフォームのモーダル本体（.auth-modal-overlay 内の白いカード） */
.auth-modal-overlay > .auth-modal { width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow: auto; margin: 20px; padding: 24px 26px; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.25); text-align: left; box-sizing: border-box; }
