/* 모듈 E (손님·나눔장부·동네 파트너스·광고/입점·상담/견적) — 시안 모양 유지용 보조 스타일 */

/* 시안 .chk 동그라미 체크를 실제 체크박스로 */
label.chk { cursor: pointer; position: relative; }
label.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
label.chk input:checked + i { background: var(--red); border-color: var(--red); }
label.chk input:checked + i:after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
label.chk input:focus-visible + i { outline: 2px solid var(--red); outline-offset: 2px; }
label.chk input:disabled + i { opacity: .6; }

/* 시안 .tags 를 tg-chips 로 쓸 때 .chip 기본값 덮기 */
.tags.tg-chips { padding: 0; overflow: visible; }
.tags.tg-chips .chip { flex: none; background: transparent; padding: 8px 13px; }
.tags.tg-chips .chip.on { background: var(--red-bg); color: var(--red-ink); border-color: var(--red); }

/* PC에서는 하단 dock 이 숨으므로 본문에 같은 버튼 */
.e-cta-pc { display: none; }
@media (min-width: 960px) { .e-cta-pc { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 14px; } .e-cta-pc.one { grid-template-columns: 1fr; } }

/* 접수 완료 */
.e-done { text-align: center; padding: 26px 18px 22px; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; margin-top: 18px; }
.e-done .ill { width: 56px; height: 56px; border-radius: 50%; background: var(--red-bg); color: var(--red); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.e-done .ill .ic { width: 26px; height: 26px; }
.e-done b.no { display: block; font-size: 20px; letter-spacing: .02em; margin: 6px 0 2px; }
.e-done p { margin: 6px 0 0; color: var(--ink-3); font-size: 14px; line-height: 1.6; }
.e-done .kv { text-align: left; margin-top: 14px; }

/* 받는 곳 */
.e-to { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; margin-top: 12px; background: #fff; }
.e-to .lg { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.e-to small { display: block; color: var(--ink-3); font-size: 12px; }

/* 장부 월 칩, 동네 칩 링크 */
a.chip { display: inline-block; }
.e-ledger-chips { margin-top: 12px; }

/* 손님 상세 사진 묶음 */
.e-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 12px; }
.e-gal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

/* 상담·견적 연락처 줄 */
.e-phone[hidden] { display: none; }
.e-medical { margin-top: 8px; }
.e-medical[hidden] { display: none; }

/* 파트너 카드 고정 문구 (기획 7장: 단독 입점 오인 방지) */
.ptn .e-disc { margin: 6px 0 0; font-size: 10.5px; line-height: 1.4; color: var(--ink-4); letter-spacing: -.02em; }

/* 프로필 하단 dock: 모바일만 (PC는 style.css가 .dock 숨김) */
@media (max-width: 959px) { .e-dock { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; } }

/* .field 안의 체크(.field>label 기본값 덮기) */
.field>label.chk { display: flex; font-weight: 400; margin-bottom: 0; }
