/* 서비스·요금 페이지 (pricing.html, en/pricing.html) + 결제 결과(payment-success/fail) — 사이트 공용 클래스와 겹치지 않게 pr- 접두사 사용.
   2026-11 B안("연구 노트"): 흰 바탕 + 1px 선, 그림자·그라데이션 없음, 기본 버튼 검정, 보라는 링크·강조만.
   고정폭(var(--font-mono))은 숫자·금액·영문 라벨에만 — 한글 문장에는 쓰지 않는다. 계산 규칙은 pricing-policy.js(CVPricing) 그대로. */
.pr-page { background: #fff; color: var(--text); line-height: 1.6; word-break: keep-all; }
.pr-page * { box-sizing: border-box; }
.pr-wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.pr-num, .pr-page .num { font-variant-numeric: tabular-nums; }

.pr-subnav { position: relative; z-index: 1; background: #fff; border-bottom: 1px solid var(--border); }
.pr-subnav .pr-wrap { display: flex; gap: 22px; overflow-x: auto; white-space: nowrap; min-height: 46px; align-items: center; font-size: 14px; }
.pr-subnav a { color: var(--text-secondary); font-weight: 500; }
.pr-subnav a:hover { color: var(--ink); text-decoration: none; }

/* 머리 — 큰 제목 + 오른쪽 요약 장부 */
.pr-hero { padding: 72px 0 56px; background: #fff; border-bottom: 1px solid var(--border); }
.pr-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: end; }
.pr-eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-tertiary); letter-spacing: 0; }
.pr-hero h1 { font-size: 44px; line-height: 1.22; letter-spacing: -0.05em; font-weight: 800; margin: 16px 0 16px; color: var(--ink); }
.pr-lead { font-size: 16px; color: var(--text-secondary); max-width: 690px; margin: 0; line-height: 1.75; }
.pr-summary { background: #fff; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 14px 0 0; }
.pr-summary h2 { margin: 0 0 2px; font-size: 15px; font-weight: 700; }
.pr-summary p { margin: 0 0 8px; color: var(--text-tertiary); font-size: 13px; }
.pr-summary-row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-secondary); }
.pr-summary-row strong { text-align: right; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.pr-summary-row small { font-weight: 400; color: var(--text-tertiary); }

.pr-section { padding: 72px 0; scroll-margin-top: 56px; }
.pr-section.tight { padding-top: 8px; }
.pr-head { margin-bottom: 24px; }
.pr-head h2 { font-size: 28px; letter-spacing: -0.04em; font-weight: 800; margin: 0 0 6px; color: var(--ink); }
.pr-head p { margin: 0; color: var(--text-secondary); font-size: 15px; }

/* 요율표 — 세 칸이 1px 선으로 붙어 있고 요율을 큰 숫자로 */
.pr-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.pr-card { word-break: keep-all; background: #fff; border: 0; border-right: 1px solid var(--border); border-radius: 0; padding: 32px 28px; display: flex; flex-direction: column; min-width: 0; }
.pr-card:last-child { border-right: 0; }
.pr-card.featured { background: var(--surface); }
.pr-badge { align-self: flex-start; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-tertiary); letter-spacing: 0; margin-bottom: 8px; }
.pr-card h3 { font-size: 20px; letter-spacing: -0.03em; font-weight: 700; margin: 0; }
.pr-en { color: var(--text-tertiary); font-size: 13px; margin: 2px 0 0; }
.pr-price { background: none; border: 0; border-radius: 0; padding: 0; margin: 24px 0 20px; }
.pr-price .label { font-size: 13px; color: var(--text-tertiary); }
.pr-price .pr-rate { display: block; font-size: 64px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin: 10px 0 12px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pr-price .formula { font-weight: 500; color: var(--text-secondary); font-size: 14px; }
.pr-price .basis { font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-top: 2px; }
.pr-price .currency { font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); margin-top: 6px; letter-spacing: 0; }
.pr-card ul { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--border); }
.pr-card li { font-size: 14px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.pr-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin: 14px 0 0; }
.pr-role { font-size: 12px; font-weight: 600; color: var(--text-tertiary); margin: 0 0 4px; }
.pr-card ul.pr-role-list { margin: 0 0 14px; }
.pr-card .pr-role-list li { padding: 7px 0; }
.pr-note { margin-top: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 11px 13px; color: var(--text-secondary); font-size: 12.5px; line-height: 1.6; }

.pr-btn {
  width: 100%; border: 1px solid var(--ink); border-radius: 6px; padding: 12px 16px; margin-top: 16px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; font-family: inherit;
  transition: background .15s, border-color .15s;
}
.pr-btn:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.pr-btn.dark { background: var(--ink); }
.pr-btn.ghost { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.pr-btn.ghost:hover { background: var(--surface); border-color: var(--ink); }
.pr-btn:disabled { opacity: .45; cursor: not-allowed; }

/* 요금 비교 표 */
.pr-table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }
.pr-table { width: 100%; border-collapse: collapse; background: #fff; border: 0; }
.pr-table th, .pr-table td { padding: 14px 18px; border-top: 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.pr-table th { background: #fff; color: var(--text-tertiary); font-size: 12.5px; font-weight: 500; }
.pr-table td { font-size: 14px; }
.pr-table td:nth-child(3), .pr-table td:nth-child(4) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-table tr:last-child td { border-bottom: 0; }
.pr-table tr:hover td { background: none; }

/* 견적 계산 — 왼쪽 선택, 오른쪽 영수증 */
.pr-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; background: #fff; border: 0; border-radius: 0; padding: 0; align-items: start; }
.pr-calc > * { min-width: 0; }
.pr-field { margin-bottom: 18px; }
.pr-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.pr-field-group { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 18px; }
.pr-field-group h3 { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.pr-calc label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.pr-calc label .opt { font-weight: 400; color: var(--text-tertiary); }
.pr-calc select, .pr-calc input[type="text"], .pr-calc input[type="number"], .pr-calc input[type="email"] {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 6px; background: #fff; font: inherit; font-size: 15px; color: var(--ink);
}
.pr-calc input[type="number"] { font-family: var(--font-mono); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.pr-calc select:focus, .pr-calc input:focus { outline: none; border-color: var(--ink); }
.pr-calc input.invalid { border-color: var(--danger); }
.pr-hint { font-size: 12.5px; color: var(--text-tertiary); margin: -8px 0 16px; font-variant-numeric: tabular-nums; }

.pr-result { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 4px 16px; }
.pr-result:empty { display: none; }
.pr-row { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.pr-row:last-child { border-bottom: 0; }
.pr-row > span { color: var(--text-secondary); }
.pr-row strong { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.pr-total { font-family: var(--font-mono); font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: 0; }

/* 인보이스 = 영수증형: 검정 1px 테두리, 점선 구분, 금액은 고정폭 오른쪽 정렬 */
.pr-invoice { background: #fff; border: 1px solid var(--ink); border-radius: 4px; padding: 24px; }
.pr-inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--text-faint); }
.pr-inv-head .title { font-family: var(--font-mono); font-size: 18px; font-weight: 600; letter-spacing: 0.08em; }
.pr-inv-head .issuer { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }
.pr-inv-meta { text-align: right; font-size: 12.5px; color: var(--text-tertiary); }
.pr-inv-meta strong { color: var(--ink); font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; }
.pr-inv-bill { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 0; font-size: 13px; border-bottom: 1px dashed var(--text-faint); }
.pr-inv-bill > div { min-width: 0; overflow-wrap: anywhere; }
.pr-inv-bill .k { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-tertiary); font-weight: 500; letter-spacing: 0; margin-bottom: 2px; }
.pr-inv-bill .sub { color: var(--text-tertiary); }
.pr-inv-lines { width: 100%; border-collapse: collapse; margin: 4px 0 0; }
.pr-inv-lines th { padding: 10px 0; font-size: 12px; font-weight: 500; color: var(--text-tertiary); text-align: left; border-top: 0; border-bottom: 1px solid var(--border); background: none; }
.pr-inv-lines td { padding: 11px 0; font-size: 13.5px; border-top: 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.pr-inv-lines tr:hover td { background: none; }
.pr-inv-lines td + td, .pr-inv-lines th + th { padding-left: 12px; }
.pr-inv-lines .num { text-align: right; white-space: nowrap; font-family: var(--font-mono); letter-spacing: 0; }
.pr-inv-lines th.num { font-family: inherit; }
.pr-inv-lines .basis { display: block; font-size: 12px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.pr-inv-totals { margin-top: 6px; border-top: 1px dashed var(--text-faint); padding-top: 6px; }
.pr-inv-totals .pr-row { border-bottom: 0; padding: 5px 0; }
.pr-inv-totals .pr-row > strong { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; }
.pr-inv-totals .grand { border-top: 1px dashed var(--text-faint); margin-top: 8px; padding-top: 12px; align-items: center; }
.pr-inv-totals .grand > span { color: var(--ink); }
.pr-inv-totals .grand > strong.pr-total { font-weight: 600; }
.pr-inv-note { font-size: 12px; color: var(--text-secondary); margin-top: 12px; line-height: 1.6; }
.pr-inv-actions { display: flex; gap: 10px; }
.pr-inv-actions .pr-btn.ghost { flex: 0 0 34%; }
.pr-err { color: var(--danger); font-size: 13px; margin-top: 10px; display: none; }

/* 취소·환불 — 접이식 목록 */
.pr-policy-grid { display: block; border-top: 1px solid var(--ink); }
.pr-policy { background: #fff; border: 0; border-radius: 0; padding: 0; }
.pr-policy h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.pr-policy p { margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.75; }
details.pr-policy { border-bottom: 1px solid var(--border); padding: 18px 0; }
details.pr-policy > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; font-weight: 600; }
details.pr-policy > summary::-webkit-details-marker { display: none; }
details.pr-policy > summary::after { content: "+"; font-family: var(--font-mono); font-weight: 400; color: var(--text-tertiary); }
details.pr-policy[open] > summary::after { content: "−"; }
details.pr-policy > p { margin-top: 10px; }
.pr-policy a { color: var(--primary); }
/* 사업자 정보 — 장부형 */
#company .pr-policy { border-top: 1px solid var(--ink); padding-top: 16px; }
.pr-biz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; font-size: 14px; color: var(--text); }
.pr-biz > div { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); min-width: 0; overflow-wrap: anywhere; }
.pr-biz b { flex: 0 0 auto; color: var(--text-tertiary); font-weight: 500; margin-right: 0; min-width: 7.5em; }

.pr-modal { position: fixed; inset: 0; background: rgba(20,20,22,.45); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 24px; }
.pr-modal.open { display: flex; }
.pr-modal-card { width: min(540px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 24px; box-shadow: none; }
.pr-modal-card h3 { margin: 0 0 7px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.pr-modal-card > p { margin: 0; color: var(--text-secondary); font-size: 14px; }
.pr-modal-actions { display: flex; gap: 10px; margin-top: 17px; }
.pr-modal-actions .pr-btn { margin-top: 0; }
.pr-agree { display: flex; gap: 9px; align-items: flex-start; margin-top: 15px; font-size: 13px; color: var(--text); cursor: pointer; }
.pr-agree input { margin-top: 3px; accent-color: var(--ink); }
.pr-pg-status { display: none; margin-top: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 12px 13px; font-size: 13px; color: var(--text); }

/* 결제 결과(payment-success / payment-fail) — 같은 카드 클래스를 평평하게 */
.pr-state-tag { font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); letter-spacing: 0; margin-bottom: 14px; }
.pr-state .pr-modal-card { border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 24px 0 0; }

@media (max-width: 920px) {
  .pr-hero-grid, .pr-calc { grid-template-columns: 1fr; }
  .pr-calc { gap: 32px; }
  .pr-cards { grid-template-columns: 1fr; }
  .pr-card { border-right: 0; border-bottom: 1px solid var(--border); }
  .pr-card:last-child { border-bottom: 0; }
  .pr-hero h1 { font-size: 36px; }
}
@media (max-width: 680px) {
  .pr-wrap { width: calc(100% - 32px); }
  .pr-hero { padding: 44px 0 36px; }
  .pr-hero h1 { font-size: 29px; }
  .pr-section { padding: 48px 0; }
  .pr-head h2 { font-size: 23px; }
  .pr-card { padding: 24px 18px; }
  .pr-price .pr-rate { font-size: 52px; }
  .pr-biz, .pr-field-row, .pr-inv-bill { grid-template-columns: 1fr; }
  .pr-table { min-width: 620px; }
  .pr-table th, .pr-table td { padding: 12px; }
  .pr-invoice { padding: 16px; }
  .pr-inv-head { flex-direction: column; }
  .pr-inv-meta { text-align: left; }
}

@media print {
  .navbar, .site-footer, .pr-subnav, .pr-hero, #services, #pricing, #policy, #company, .pr-modal, .pr-no-print { display: none !important; }
  .pr-page { background: #fff; }
  .pr-section { padding: 0; }
  .pr-calc { display: block; border: 0; padding: 0; }
  .pr-invoice { border: 0; padding: 0; }
}

/* 견적 계산: 선택형 서비스·사례비 처리 타일 (2026-10-13 요금 개편) — 고른 칸은 검정 테두리 */
.pr-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pr-choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pr-calc .pr-choice { display: flex; gap: 8px; align-items: flex-start; margin: 0; border: 1px solid var(--border-strong); border-radius: 6px; padding: 11px 12px; cursor: pointer; background: #fff; font-weight: 500; min-width: 0; transition: border-color .15s; }
.pr-calc .pr-choice:hover { border-color: var(--ink); }
.pr-choice:has(input:checked) { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--ink) inset; }
.pr-choice input { margin-top: 3px; accent-color: var(--ink); }
.pr-choice b { display: block; font-size: 13.5px; font-weight: 700; }
.pr-choice small { display: block; font-size: 11.5px; color: var(--text-tertiary); line-height: 1.45; margin-top: 3px; font-variant-numeric: tabular-nums; }
.pr-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.pr-calc .pr-checks label { display: flex; gap: 7px; align-items: center; font-size: 13px; font-weight: 500; margin: 0; cursor: pointer; }
.pr-checks input { accent-color: var(--ink); }
.pr-special-box { margin-top: 12px; background: var(--warning-light); border: 1px solid #FEDF89; border-radius: 6px; padding: 12px 13px; font-size: 13px; color: var(--warning); }
.pr-special-box a { font-weight: 700; color: var(--warning); text-decoration: underline; }
.pr-table-foot { margin: 12px 0 0; padding: 0; font-size: 12.5px; color: var(--text-tertiary); line-height: 1.7; }
.pr-inv-totals small { font-weight: 400; color: var(--text-tertiary); font-size: 11.5px; }
@media (max-width: 720px) {
  .pr-choices.three, .pr-checks { grid-template-columns: 1fr; }
}

/* ── 2026-11-03 B안 보강(색·면): 사용자 피드백 "너무 밋밋함" ──
   섹션 배경 번갈아(머리 --surface-tint / 서비스·비교 흰 면 / 견적 --surface / 정책 흰 면), 요율표·비교표·견적은 흰 카드(12px, 옅은 그림자).
   선택된 서비스 카드 = 견적 계산기에서 고른 radio를 :has()로 읽어 보라 테두리 + 옅은 보라 면(JS 변경 없음). 주 버튼 보라, 합계 숫자 보라. */
.pr-eyebrow { font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--primary-ink); background: var(--primary-soft); border-radius: 999px; padding: 4px 11px; }
.pr-hero { background: var(--surface-tint); border-bottom: 0; }
.pr-summary { background: #fff; border: 1px solid #E2DFFB; border-radius: 12px; padding: 20px 22px 6px; box-shadow: var(--shadow-md); }
.pr-summary-row:last-child { border-bottom: 0; }

.pr-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); margin-bottom: 14px; flex: none; }
.pr-ico svg { width: 22px; height: 22px; }
.pr-tico { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); vertical-align: middle; margin-right: 10px; }
.pr-tico svg { width: 16px; height: 16px; }

.pr-cards { gap: 16px; border: 0; border-radius: 0; overflow: visible; }
.pr-card, .pr-card:last-child { border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); transition: border-color .15s, background .15s, box-shadow .15s; }
.pr-card.featured { background: #fff; }
.pr-card .pr-note { background: var(--surface); border-color: transparent; }
.pr-page:has(input[name="recruit"][value="direct"]:checked) .pr-card:has([data-select-recruit="direct"]),
.pr-page:has(input[name="recruit"][value="conveloq"]:checked) .pr-card:has([data-select-recruit="conveloq"]),
.pr-page:has(input[name="recruit"][value="plus"]:checked) .pr-card:has([data-select-recruit="plus"]),
.pr-page:has(input[name="manage"][value="direct"]:checked) .pr-card:has([data-select-manage="direct"]),
.pr-page:has(input[name="manage"][value="conveloq"]:checked) .pr-card:has([data-select-manage="conveloq"]) {
  border-color: var(--primary); background: var(--primary-light); box-shadow: inset 0 0 0 1px var(--primary), var(--shadow-md);
}
.pr-page:has(input[name="recruit"][value="direct"]:checked) .pr-card:has([data-select-recruit="direct"]) .pr-rate,
.pr-page:has(input[name="recruit"][value="conveloq"]:checked) .pr-card:has([data-select-recruit="conveloq"]) .pr-rate,
.pr-page:has(input[name="recruit"][value="plus"]:checked) .pr-card:has([data-select-recruit="plus"]) .pr-rate,
.pr-page:has(input[name="manage"][value="direct"]:checked) .pr-card:has([data-select-manage="direct"]) .pr-rate,
.pr-page:has(input[name="manage"][value="conveloq"]:checked) .pr-card:has([data-select-manage="conveloq"]) .pr-rate { color: var(--primary); }
.pr-page:has(input[name="recruit"][value="direct"]:checked) .pr-card:has([data-select-recruit="direct"]) .pr-note,
.pr-page:has(input[name="recruit"][value="conveloq"]:checked) .pr-card:has([data-select-recruit="conveloq"]) .pr-note,
.pr-page:has(input[name="recruit"][value="plus"]:checked) .pr-card:has([data-select-recruit="plus"]) .pr-note,
.pr-page:has(input[name="manage"][value="direct"]:checked) .pr-card:has([data-select-manage="direct"]) .pr-note,
.pr-page:has(input[name="manage"][value="conveloq"]:checked) .pr-card:has([data-select-manage="conveloq"]) .pr-note { background: #fff; }

.pr-btn { background: var(--primary); border-color: var(--primary); }
.pr-btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.pr-btn.ghost:hover { border-color: var(--primary); color: var(--primary-ink); background: #fff; }

.pr-table-scroll { background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); }
.pr-table th { background: var(--surface); }
/* 2026-11-03 다듬기: 요율·최소 이용료 열은 숫자라 오른쪽 정렬 */
.pr-table th:nth-child(3), .pr-table th:nth-child(4), .pr-table td:nth-child(3), .pr-table td:nth-child(4) { text-align: right; }

#invoice { background: var(--surface); }
/* 2026-11-03 다듬기: 견적 영역이 회색 면이 되면서 .pr-calc의 흰 바탕이 영수증 아래로 흰 띠처럼 비쳐 투명으로, 회색 면 바로 뒤 정책 섹션은 위 여백을 되살린다 */
.pr-calc { background: transparent; }
#invoice + .pr-section.tight { padding-top: 72px; }
.pr-calc > .pr-no-print { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; box-shadow: var(--shadow-sm); }
.pr-calc .pr-choice:hover { border-color: var(--primary); }
.pr-choice:has(input:checked) { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 1px var(--primary) inset; }
.pr-choice input, .pr-checks input, .pr-agree input { accent-color: var(--primary); }
.pr-calc select:focus, .pr-calc input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.pr-invoice { border: 1px solid var(--border); border-radius: 12px; padding: 28px; box-shadow: var(--shadow-md); }
.pr-inv-head .title { color: var(--primary-ink); }
.pr-total { color: var(--primary); }
.pr-inv-totals .grand { background: var(--primary-light); border-top: 0; border-radius: 8px; margin-top: 12px; padding: 14px 16px; }
.pr-inv-totals .grand > strong.pr-total { font-size: 30px; font-weight: 700; line-height: 1.1; }
.pr-inv-actions { margin-top: 4px; }

.pr-policy-grid { border-top: 1px solid var(--border); }
#company .pr-policy { background: var(--surface); border: 0; border-radius: 12px; padding: 22px 24px; }

.pr-modal-card { border-radius: 12px; box-shadow: var(--shadow-lg); }
/* 결제 결과 제목은 페이지의 유일한 제목이라 h1(모양은 모달 제목과 같게) */
.pr-modal-card h1 { margin: 0 0 7px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }

/* 결제 결과 — 회색 면 위 흰 카드 */
body:has(.pr-state) { background: var(--surface); }
.pr-page:has(.pr-state) { background: transparent; }
.pr-state .pr-modal-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px; box-shadow: var(--shadow-md); }
.pr-state-tag { display: inline-block; font-family: inherit; font-weight: 600; color: var(--primary-ink); background: var(--primary-soft); border-radius: 999px; padding: 3px 10px; }
body[data-payment-result="fail"] .pr-state-tag { color: var(--danger); background: var(--danger-light); }

@media (max-width: 920px) {
  .pr-card, .pr-card:last-child { border: 1px solid var(--border); }
}
@media (max-width: 680px) {
  .pr-calc > .pr-no-print { padding: 18px; }
  .pr-invoice { padding: 18px; }
  .pr-inv-totals .grand > strong.pr-total { font-size: 24px; }
  .pr-summary { padding: 16px 16px 4px; }
  #invoice + .pr-section.tight { padding-top: 48px; }
}
@media print {
  #invoice { background: #fff; }
  .pr-invoice { box-shadow: none; }
  .pr-inv-totals .grand { background: none; padding: 12px 0 0; }
  .pr-total { color: var(--ink); }
}

/* 2026-11-05 새 요금표 — 모집 3 + 관리 2 카드, 크레딧 단계, 조합 표 */
.pr-subhead { margin: 28px 0 10px; font-size: 13px; font-weight: 600; color: var(--text-tertiary); }
.pr-subhead:first-of-type { margin-top: 0; }
.pr-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pr-card ul { margin-top: 14px; }
.pr-card .pr-note { margin-bottom: 0; }
.pr-table td small { color: var(--text-tertiary); font-size: 12px; }
.pr-table td:nth-child(1), .pr-table td:nth-child(2) { white-space: nowrap; }
ul.pr-table-foot { list-style: none; }
ul.pr-table-foot li { padding: 2px 0; }
.pr-table-foot a { color: var(--primary); }
.pr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pr-steps li { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; font-size: 14px; color: var(--text-secondary); box-shadow: var(--shadow-sm); }
.pr-steps b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.pr-steps i { font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--primary); display: block; margin-bottom: 6px; }
.pr-field-group h3 .opt { font-weight: 400; color: var(--text-tertiary); }
.pr-choice.disabled { opacity: .5; cursor: not-allowed; }
.pr-field[hidden], .pr-special-box[hidden] { display: none; }
@media (max-width: 920px) {
  .pr-cards.two, .pr-steps { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  #credits { display: none !important; }
}
