/* UI v2 — 병원 상세 (세션 A 담당)
   규칙: html.ui2 아래로만 쓰기 · 기존 CSS/HTML/data-* 수정 금지 · 구조·순서·문구·동작(UX) 그대로 · 토큰은 base.css 변수 사용
   설계: sushizaro/docs/UI2_APPLE_DESIGN.md
   범위: .cv2(병원 상세 `/clinic/*`) 안 — 머리·가격 카드·접시·사실 타일·탭·후기·찾아가기·숙소 칸·아래 예약 막대
   바꾸는 것: 크기·간격·색·선·모서리·그림자·글자만. 누름 영역을 넓히는 투명 가상 요소(::before/::after)와 그걸 붙이려는 position:relative 만 예외 */
html.ui2 .cv2-cut{display:none}                        /* 상세 머리 아래 톱니(장식) */
/* ── 11. 상세 "한국보다 ↓" 도장: 빨간 기울임 도장 → 이득 색 평평한 꼬리표 (빨강은 주 행동에만) ── */
html.ui2 .cv2-stamp{transform:none;border:0;border-radius:8px;background:var(--wasabi-soft);color:var(--wasabi);font-weight:700;padding:3px 9px}

/* ── C1. 머리: 남색 덩어리는 그대로(브랜드), 단추 테두리만 1px ── */
html.ui2 .cv2-head .cv2-ibtn,html.ui2 .cv2-head .eg-save,html.ui2 .cv2-head .eg-share-btn,html.ui2 .cv2-head .cs-btn{border-width:1px}
html.ui2 .cv2-trust a{position:relative}
html.ui2 .cv2-trust a::after{content:"";position:absolute;top:calc(50% - 23px);left:min(0px,calc(50% - 23px));right:min(0px,calc(50% - 23px));height:46px}

/* ── C2. 가격 카드(.cv2-total): 나무색 2px 테두리 + 바닥 그림자 → 1px 선 + 옅은 그림자 ── */
html.ui2 .cv2-total{border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
/* 용량 접시(서명): 색은 그대로, 40 → 44px */
html.ui2 .cv2-plate{width:44px;height:44px}
/* 받는 법·개월 분절 컨트롤: 2px → 1px, 높이 44 */
html.ui2 .cv2-months,html.ui2 .cv2-recv{border-width:1px}
html.ui2 .cv2-months button,html.ui2 .cv2-recv button{height:44px;min-width:44px}
html.ui2 .cv2-months button+button,html.ui2 .cv2-recv button+button{border-left-width:1px}
html.ui2 .cv2-bar-sum small{font-size:12px}

/* ── C3. 행동 단추: 바닥 그림자(0 Npx 0) 걷고 평평하게. 빨강(주 행동)은 그대로 ── */
html.ui2 .cv2 .btn.primary{box-shadow:none}
html.ui2 .cv2 :is(.gr-btn,.pi-btn,.rtg-send,.lr-btn,.sn-qb,.fd-branch){box-shadow:none;border-width:1px}
html.ui2 .cv2-actions-2 .eg-save{box-shadow:none;border-width:1px}
html.ui2 .cv2 .pg-new{box-shadow:none}
html.ui2 .cv2 .pen-chip{min-height:44px}
html.ui2 .cv2 .btn.ghost{min-height:44px}
html.ui2 .cv2-foot .prep-cta{position:relative}
html.ui2 .cv2-foot .prep-cta::after{content:"";position:absolute;top:calc(50% - 22px);left:0;right:0;height:44px}

/* ── C4. 카드·칸: 2px 선 → 1px 선 (빨강·남색 굵은 선은 '선택됨' 표시라 그대로) ── */
html.ui2 .cv2 :is(.tl-grade,.sn-card,.lp-box,.rtg-pick3,.fd-way,.cl-card,.lr-panel,.fd-more,details.more){border-width:1px}
html.ui2 .cv2 .st-history{border-width:1px;box-shadow:var(--shadow)}
html.ui2 .cv2 .msg-box{border:1px solid var(--line)}
html.ui2 .cv2 .be-visit,html.ui2 .cv2 .ic-cta{border-width:1px}
html.ui2 .cv2 .rtg{border-width:1px;border-color:var(--line);box-shadow:var(--shadow)}
html.ui2 .cv2 .sn-empty,html.ui2 .cv2 .sa.sa-c{border-width:1px}
/* 할 수 있어요 줄: 조건 = 노랑 실선 1px, 확인 전 = 점선 1px(모양으로도 구분) */
html.ui2 .cv2-tag.cond{border:1px solid var(--tamago-line)}
html.ui2 .cv2-tag.unk{border-width:1px}

/* ── C5. 탭: 밑줄은 '선택' 색(남색). 빨강은 주 행동에만 ── */
html.ui2 .cv2-tabs{border-bottom-width:1px}
html.ui2 .cv2-tabs a{border-bottom-width:2px;margin-bottom:-1px}
html.ui2 .cv2-tabs a[aria-current=true]{border-color:var(--ai);color:var(--ai)}

/* ── C6. 사실 타일·범례: 상태 기호 글자 12px ── */
html.ui2 .cv2 .pg-st,html.ui2 .cv2 .pg-dot{font-size:12px}
html.ui2 .cv2 .pg-legend .pg-dot{width:16px;height:16px;font-size:12px}
html.ui2 .cv2 .pg-legend span,html.ui2 .cv2 .pg-new{font-size:12px}
html.ui2 .cv2-fact small{font-size:12px}

/* ── C7. 작은 글자 12px 로 (출처·사진 저작자·법적 안내·광고 표시 포함) ── */
html.ui2 .cv2 :is(.cv2-foot,.cv2-foot span,.cv2-foot a,.cv2-legal-strip span,.st2-ad,.promo-ad,.sa-credit,.sa-credit a,.sa-fine,.sa-mini,.sa-walk small,
  .rtg-fast,.rtg-sum small,.rtg-sign span,.rtg-ph a,.rtg-arr-dot,.rtg-arr-t em,.rtg-src,.rtg-src a,.rtg-ans small,
  .fd-sign-sub,.fd-src,.fd-arrive span,.fd-v2-contrib span,.fd-unknown span,.fd-cash small,.lbl small,
  .bb-t,.bb-t small,.bb-sub,small.muted,figcaption a,.st-line small){font-size:12px}
html.ui2 .cv2 .rtg-arr .fd-src,html.ui2 .cv2 .fd-v2-top .fd-src{font-size:12px!important}   /* 기존이 !important 11.5px */
html.ui2 .cv2 .bb-t .num,html.ui2 .cv2 .cv2-bar-sum .num{font-size:max(12px,1em)}

/* ── C8. 찾아가기·후기·문의 칸: 누르는 곳 44px ── */
/* 공식 주소 카드의 세로로 붙은 링크(.cl-card-list a·.cl-card-check)는 넓히면 서로 가려서 뺐어요 */
html.ui2 .cv2 :is(.cv2-links a,.entry-line a,.cc-links a,.cv2-ko a){position:relative}
html.ui2 .cv2 :is(.cv2-links a,.entry-line a,.cc-links a,.cv2-ko a)::after{content:"";position:absolute;top:calc(50% - 23px);left:min(0px,calc(50% - 23px));right:min(0px,calc(50% - 23px));height:46px}
html.ui2 .cv2 .st-line-a{min-height:44px}
html.ui2 .cv2 .segbar button,html.ui2 .cv2 .segbar a{min-height:44px}
html.ui2 .cv2 .segbar [aria-current=true],html.ui2 .cv2 .segbar [aria-pressed=true]{box-shadow:0 1px 2px rgba(40,30,20,.12),0 0 0 .5px rgba(40,30,20,.06)}
html.ui2 .cv2 .cc-tabs button{box-shadow:none}
html.ui2 .cv2 .stepper{border-width:1px}
html.ui2 .cv2 .stepper button{width:44px;height:44px;box-shadow:none}
html.ui2 .cv2 details.more>summary{min-height:44px}
html.ui2 .cv2 .jx-help>summary{position:relative}   /* 기존 ::before 누름 영역을 단추 가운데 기준 46×46 으로 */
html.ui2 .cv2 .jx-help>summary::before{inset:auto;top:calc(50% - 23px);left:calc(50% - 23px);width:46px;height:46px}
html.ui2 .cv2 label.chk{min-height:44px}
html.ui2 .cv2 .cert-help-q{min-width:44px;min-height:44px}
html.ui2 .cv2 input.in{min-height:44px}

/* ── C9. 아래 예약 막대: 위 2px 선 → 머리카락 선 + 옅은 그림자 ── */
html.ui2 .cv2-bar{border-top:0;box-shadow:0 -.5px 0 rgba(60,50,40,.18),0 -6px 20px rgba(40,30,20,.06)}
html.ui2 .cv2-bar .cmp-add.compact{border-width:1px}

/* ── 숙소 카드 행동 단서·읽는 글 (2026-11-22 CTA 점검) ── */
html.ui2 .st2-name{font-size:16.5px;font-weight:800;color:var(--sumi)}
html.ui2 .st2-facts{font-size:13.5px;color:var(--sumi-2)}
html.ui2 .st2-walk{font-size:13px;font-weight:800;background:rgba(31,58,95,.9);color:#fff;padding:4px 9px;border-radius:8px}
/* 「숙소 보기 ›」 단서는 한국어판만(다른 언어판에 한글이 새지 않게). 링크 글자는 HTML 그대로라 스크린 리더 이름은 숙소 이름 */
html.ui2[lang="ko"] .st2-body::after{content:"숙소 보기 ›";display:block;width:max-content;margin-top:8px;padding:8px 12px;border-radius:10px;background:var(--ai);color:#fff;font-size:14px;font-weight:800;line-height:1.3}
/* 병원 상세 머리 설명: 각주 크기 12.5 → 14px */
html.ui2 .cv2-head p{font-size:14px;line-height:1.6}

/* ── 예약 준비 3단계 시트 (2026-11-22, 화면 깨짐 수정) ── */
html.ui2 .bk-fill{gap:12px;padding:14px;border-width:1px;border-radius:16px}
html.ui2 .bk-fill-h{font-size:13px;font-weight:600}
html.ui2 .bk-fill-g{gap:10px;align-items:end}
html.ui2 .bk-f{gap:6px;font-size:13px;font-weight:700;color:var(--sumi)}
html.ui2 .bk-f small{font-size:12px;font-weight:500}
html.ui2 .bk-f .in{height:44px;min-height:44px;border:1px solid #958775;border-radius:12px;background-color:#fff;font-size:16px}
html.ui2 .bk-f .in:focus{border-color:var(--ai);box-shadow:0 0 0 3px var(--ai-soft);outline:0}
html.ui2 .bk-steps{gap:10px}
html.ui2 .bk-step{border-width:1px;padding:12px 12px 12px 14px;gap:12px}
html.ui2 .bk-t{gap:2px}
html.ui2 .bk-edit{min-height:36px;margin:2px 0 -6px}
html.ui2 .bk-act{min-width:76px;min-height:44px;border-radius:12px;font-size:15px;font-weight:700}
html.ui2 .bk-alert{border-width:1px;padding:12px 12px 12px 14px}
html.ui2 .bk-alert-btn{min-width:76px;border:1px solid var(--ai);background:#fff;color:var(--ai)}
