/* 2차 화면(여러 명·묶음 주문, 권 전환, 원장 코멘트·궁합 칸, 채팅 상담). ja.css·order.css 위에 얹는다. */
.prodpick .prod { margin: 0 0 12px; }
.prodpick select, .person select, #rel, #addon, .role-row select, #book { width: 100%; }
#people, #rel, #addon, #book { appearance: none; -webkit-appearance: none; border: 1px solid #d8cbb2; border-radius: 8px; padding: 12px 10px; font: inherit; font-size: 16px; background: #fdfbf6; color: var(--ink); }
.person { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 4px; margin-bottom: 14px; background: #fffdf8; }
.person-h { font-size: 14px; font-weight: 900; color: var(--brown); padding: 0 4px; }
.bundle .check { margin-top: 6px; }
.role-row { align-items: center; margin-top: 6px; }
.role-n { flex: none; width: 74px; font-size: 13px; font-weight: 700; }
#rel-c, [data-rolec-i] { width: 100%; margin-top: 6px; border: 1px solid #d8cbb2; border-radius: 8px; padding: 10px; font: inherit; font-size: 16px; }
.sum .who + .who { margin-top: 6px; }
.sum .who small { display: block; }
.sum ul.items, .sum ul.perks { list-style: none; display: grid; gap: 4px; }
.sum ul.items li { display: flex; justify-content: space-between; gap: 8px; }
.sum ul.perks li { padding-left: 1em; text-indent: -1em; }
.sum ul.perks li::before { content: "・"; }
.voltabs { display: flex; gap: 6px; overflow-x: auto; padding: 12px 14px 0; -webkit-overflow-scrolling: touch; }
.voltab { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; max-width: 210px; }
.voltab b { display: block; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.voltab small { color: var(--sub); }
.voltab.on { border-color: var(--gold2); background: #fff6dc; }
.pcard h2 small { font-family: 'Noto Sans JP', sans-serif; font-size: 13px; color: var(--sub); font-weight: 700; }
.pcard p + p { margin-top: .7em; }
.pc-sec { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
.pc-sec h3 { font-size: 15.5px; font-weight: 900; margin-bottom: 4px; }
.pc-sec h4 { font-size: 14px; font-weight: 800; margin: 8px 0 2px; color: var(--brown); }
.pc-verdict { font-weight: 900; font-size: 16px; background: #fff6dc; border-radius: 8px; padding: 8px 10px; }
.pcard .note, .consult .note, .card .note { font-size: 12px; color: var(--sub); margin-top: 8px; line-height: 1.6; }
.is-loading::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; border: 2px solid #e2c36a; border-top-color: transparent; border-radius: 50%; animation: jaspin 1s linear infinite; vertical-align: -1px; }
@keyframes jaspin { to { transform: rotate(360deg); } }
.left { background: #f8f2e4; border-radius: 10px; padding: 10px 12px; margin-top: 10px; font-size: 14px; }
.left .lbl { font-size: 12px; font-weight: 900; color: var(--sub); }
#q { width: 100%; border: 1px solid #d8cbb2; border-radius: 8px; padding: 10px; font: inherit; font-size: 16px; background: #fdfbf6; resize: vertical; }
.crisis { border-left: 3px solid #e2c36a; padding-left: 8px; }
.qa { margin: 14px 14px 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.85; }
.hist .qa { margin: 10px 0 0; }
.qa.is-risk { border-color: #e2a39b; background: #fff8f6; }
.qa.is-past { font-size: 14px; }
.qa-q { color: var(--sub); font-size: 14px; }
.qa-h { font-size: 12px; font-weight: 900; color: var(--gold); margin-top: 6px; }
.qa p + p { margin-top: .7em; }
@media print { .voltabs, .pcard[hidden] { display: none !important; } .pcard { break-inside: avoid; } }

/* 5차(11-18): 상품 상세(わかること・こんな方に・必要な入力・分量) */
.menu-detail { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 13px; line-height: 1.7; }
.menu-detail summary { font-weight: 800; cursor: pointer; }
.menu-detail .md-list { margin: 4px 0 6px; padding-left: 1.2em; }
.menu-detail .md-h { font-weight: 800; margin-top: 6px; }

/* .309 주문 입력: 표시 가격·접는 칸(한국판 .301) */
.prod em small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; color: #eadbb8; }
.more-opts { margin-top: 12px; padding-top: 6px; border-top: 1px dashed var(--line); }
.more-opts > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; font-weight: 800; font-size: 14px; }
.more-opts > summary::-webkit-details-marker { display: none; }
.more-opts > summary > span { min-width: 0; line-height: 1.5; }
.more-opts > summary small { display: block; margin-top: 1px; font-weight: 500; font-size: 12px; color: var(--sub); }
.more-opts > summary::after { content: "開く ▾"; flex: none; font-size: 12px; font-weight: 500; color: var(--sub); }
.more-opts[open] > summary::after { content: "閉じる ▴"; }
.pay-ask { margin: 12px 0 0; }
.pay-ask a { color: var(--brown); font-weight: 700; }
