/* 동네PAY 사이트 스타일 — common-design.css 토큰 위에 페이지 전용 클래스(dp-)를 얹는다. */

/* 따뜻한 보조 팔레트: 클레이 마스코트·"동네"의 친근함을 더하는 한 가지 따뜻한 색(돈·강조에만 절제해서 사용) */
:root {
  --dp-clay: #E4822E;
  --dp-clay-soft: #FBE6D2;
  --dp-paper: #FBF7F1;
  --dp-paper-line: #EEE4D6;
}

.cd-app { font-size: 15px; }
.cd-app a { color: var(--cd-primary); }
.cd-app a.cd-btn { text-decoration: none; }
.cd-btn-primary, .cd-btn-primary:hover, .cd-app a.cd-btn-primary { color: #fff; }
.cd-btn-secondary, .cd-app a.cd-btn-secondary { color: var(--cd-text); }
.cd-btn-ghost:hover { color: var(--cd-text); background: var(--cd-surface-hover); }
.text-primary-cd { color: var(--cd-primary); }
.cd-app .form-label { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.cd-input.is-invalid { border-color: var(--cd-danger); }

.dp-skip { position: absolute; left: 12px; top: 8px; z-index: 2000; background: #fff; padding: 8px 12px; border-radius: var(--cd-radius-md); }
.dp-btn-lg { min-height: 48px; padding: 0 22px; font-size: 15px; }
.dp-btn-white { background: #fff; color: var(--cd-primary) !important; }
.dp-btn-white:hover { background: var(--cd-primary-light); }
.dp-btn-outline-white { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.6); }
.dp-btn-outline-white:hover { background: rgba(255,255,255,.1); }

/* 헤더 */
.dp-header { position: sticky; top: 0; z-index: 1020; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--cd-border); transition: box-shadow .2s ease; }
.dp-header.is-scrolled { box-shadow: var(--cd-shadow-md); }
/* navbar와 container가 같은 요소라 Bootstrap이 좌우 패딩을 0으로 덮음 → 컨테이너와 같은 좌우 여백 복원(로고가 본문과 정렬) */
.dp-header .navbar { min-height: var(--cd-header-height); padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5); padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5); }
.dp-header-minimal { padding: 12px 0; }
.dp-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--cd-navy) !important; text-decoration: none; letter-spacing: -.02em; }
.dp-header .nav-link { color: var(--cd-text); font-weight: 500; padding: 8px 14px !important; border-radius: var(--cd-radius-md); }
.dp-header .nav-link:hover { color: var(--cd-primary); background: var(--cd-primary-light); }
.dp-header .nav-link.active { color: var(--cd-primary); font-weight: 700; }
/* 커스텀 햄버거(3줄) — 기본 부트스트랩 아이콘 대신 */
.dp-nav-toggle { width: 44px; height: 40px; padding: 0; border: 1px solid var(--cd-border); border-radius: var(--cd-radius-md); background: #fff; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.dp-nav-toggle span { width: 20px; height: 2px; background: var(--cd-navy); border-radius: 2px; }
.dp-nav-toggle:focus-visible { outline: 2px solid var(--cd-primary); outline-offset: 2px; }

/* 모바일 슬라이드 드로어 메뉴 */
@media (max-width: 991.98px) {
  /* Bootstrap 변수로 폭 지정(.navbar-expand-lg .offcanvas 우선순위 우회) */
  .dp-nav-drawer { --bs-offcanvas-width: min(84vw, 320px); border-left: 1px solid var(--cd-border); box-shadow: -12px 0 40px rgba(16,42,86,.16); }
  .dp-nav-drawer .offcanvas-header { padding: 16px 18px; border-bottom: 1px solid var(--cd-border); }
  .dp-nav-drawer .offcanvas-body { padding: 6px 18px 22px; display: flex; flex-direction: column; }
  .dp-nav-drawer .navbar-nav { width: 100%; margin: 0 !important; }
  .dp-nav-drawer .nav-item + .nav-item { border-top: 1px solid var(--cd-border); }
  .dp-nav-drawer .nav-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px !important; font-size: 16px; font-weight: 600; color: var(--cd-text); border-radius: 0; }
  .dp-nav-drawer .nav-link::after { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--cd-text-muted); border-right: 2px solid var(--cd-text-muted); transform: rotate(45deg); flex: 0 0 auto; }
  .dp-nav-drawer .nav-link:hover { background: transparent; color: var(--cd-primary); }
  .dp-nav-drawer .nav-link.active { color: var(--cd-primary); }
  .dp-nav-drawer .nav-link.active::after { border-color: var(--cd-primary); }
  .dp-nav-cta { margin-top: 20px; }
  .dp-nav-cta .cd-btn { width: 100%; min-height: 48px; font-size: 15px; }
}

/* 공통 섹션 */
/* eyebrow: 모든 제목 위 '트래킹된 대문자 라벨' 티를 지우고, 클레이 점 하나로 조용히 안내 */
.dp-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--cd-text-secondary); font-weight: 600; font-size: 13.5px; letter-spacing: 0; margin-bottom: 12px; }
.dp-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dp-clay); flex: 0 0 auto; }
.dp-section-head.text-center .dp-eyebrow { justify-content: center; }
.dp-section { padding: 80px 0; }
.dp-section-alt { background: var(--dp-paper); border-top: 1px solid var(--dp-paper-line); border-bottom: 1px solid var(--dp-paper-line); }
.dp-section-head { margin-bottom: 32px; }
.dp-section-title { font-size: 28px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; margin-bottom: 16px; }
.dp-lead { color: var(--cd-text-secondary); font-size: 17px; max-width: 720px; margin: 8px 0 0; }
.dp-note { color: var(--cd-text-secondary); font-size: 13px; }
.dp-page-head { padding: 56px 0 8px; }
.dp-page-head + .dp-section { padding-top: 32px; }
.dp-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--cd-radius-lg); background: var(--cd-primary-light); color: var(--cd-primary); margin-bottom: 14px; }
.dp-icon.is-clay { width: 52px; height: 52px; background: var(--dp-clay-soft); color: var(--dp-clay); }
.dp-svg-icon { width: 22px; height: 22px; }
.dp-callout { background: var(--cd-primary-light); border: 1px solid #CFE2FF; border-radius: var(--cd-radius-md); padding: 14px 16px; font-size: 14px; }
.dp-callout strong { margin-right: 6px; }
.dp-callout-warning { background: #FFFBEB; border-color: #FDE68A; color: #78350F; }
.dp-placeholder { color: var(--cd-text-muted); font-style: italic; }
.dp-placeholder-note { font-size: 12px; color: #92400E; background: #FEF3C7; border-radius: var(--cd-radius-sm); padding: 4px 8px; display: inline-block; }
.dp-card-link { text-decoration: none; color: inherit !important; transition: box-shadow .2s ease, border-color .2s ease; }
.dp-card-link:hover { border-color: var(--cd-primary); }
.dp-link-arrow { color: var(--cd-primary); font-weight: 600; font-size: 14px; }
.dp-mono { font-family: ui-monospace, Consolas, monospace; font-size: 12px; word-break: break-all; }
.dp-mono::placeholder { font-family: var(--cd-font); font-size: 14px; }

.dp-check-list { list-style: none; padding: 0; margin: 0 0 16px; }
.dp-check-list li { position: relative; padding: 6px 0 6px 26px; }
.dp-check-list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 2px solid var(--cd-primary); border-bottom: 2px solid var(--cd-primary); transform: rotate(-45deg); }
.dp-steps { counter-reset: s; list-style: none; padding: 0; }
.dp-steps li { counter-increment: s; display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--cd-border); }
.dp-steps li:last-child { border-bottom: 0; }
.dp-steps li::before { content: counter(s); flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--cd-primary-light); color: var(--cd-primary); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }

/* 히어로 */
.dp-hero { padding: 76px 0 92px; background: linear-gradient(180deg, #fff 0%, var(--dp-paper) 100%); }
.dp-hero-title { font-size: 46px; line-height: 1.22; font-weight: 800; letter-spacing: -.035em; color: var(--cd-navy); }
/* 강조는 '단어에 색칠'(생성형 티) 대신, 클레이 손그림 하이라이트 한 곳으로 */
.dp-hero-brand { position: relative; white-space: nowrap; }
.dp-hero-brand::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: 4px; height: 12px; background: var(--dp-clay); opacity: .22; border-radius: 8px 10px 9px 11px; transform: rotate(-1.2deg); z-index: 0; }
.dp-hero-brand > span { position: relative; z-index: 1; }
.dp-hero-desc { font-size: 17px; color: var(--cd-text-secondary); margin-top: 18px; max-width: 540px; }
.dp-bill-preview { background: #fff; border: 1px solid var(--cd-border); border-radius: var(--cd-radius-xl); box-shadow: var(--cd-shadow-lg); padding: 28px; max-width: 420px; margin: 0 auto; }
.dp-bill-preview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dp-bill-items { list-style: none; padding: 0; margin: 0 0 12px; }
.dp-bill-items li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--cd-border); }
.dp-bill-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; }
.dp-bill-total strong { font-size: 24px; color: var(--cd-navy); }
.dp-method-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.dp-method-chips span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--cd-background); border: 1px solid var(--cd-border); color: var(--cd-text-secondary); }

/* 흐름 */
.dp-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dp-flow li { background: #fff; border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); padding: 24px; position: relative; }
.dp-flow h3 { font-size: 17px; font-weight: 700; margin: 12px 0 6px; }
.dp-flow p { color: var(--cd-text-secondary); margin: 0; font-size: 14px; }
.dp-flow-no { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--cd-primary); color: #fff; font-weight: 700; align-items: center; justify-content: center; }
.dp-mini-flow { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 12px; }
.dp-mini-flow li { font-size: 13px; background: var(--cd-background); border: 1px solid var(--cd-border); border-radius: 999px; padding: 3px 10px; }
.dp-mini-flow li + li::before { content: "→ "; color: var(--cd-text-muted); }

/* 견적 / 정의 목록 */
.dp-quote { margin: 0 0 12px; }
.dp-quote > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--cd-border); }
.dp-quote > div:last-child { border-bottom: 0; }
.dp-quote dt { font-weight: 400; color: var(--cd-text-secondary); }
.dp-quote dd { margin: 0; font-weight: 600; text-align: right; }
.dp-quote-strong dt, .dp-quote-strong dd { color: var(--cd-primary); font-weight: 700; }
.dp-quote-compact > div { padding: 5px 0; border: 0; font-size: 14px; }

/* 1차·2차 */
.dp-phase-next { border-style: dashed; background: #FBFDFF; }

/* 조직도 */
.dp-org { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.dp-org-node { background: #fff; border: 1px solid var(--cd-border); border-radius: var(--cd-radius-md); padding: 10px 18px; font-weight: 600; }
.dp-org-node-strong { background: var(--cd-primary); color: #fff; border-color: var(--cd-primary); }
.dp-org-arrow { color: var(--cd-text-muted); }

/* 이용 안내 */
.dp-tabs .nav-link { color: var(--cd-text); border-radius: var(--cd-radius-md); font-weight: 600; }
.dp-tabs .nav-link.active { background: var(--cd-primary); }
.dp-timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--cd-border); }
.dp-timeline li { position: relative; padding: 0 0 24px 24px; }
.dp-timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--cd-primary); box-shadow: 0 0 0 4px var(--cd-primary-light); }
.dp-timeline h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.dp-timeline p { color: var(--cd-text-secondary); margin: 0; }

/* FAQ */
.dp-accordion .accordion-item { border-color: var(--cd-border); }
.dp-accordion .accordion-button { font-weight: 600; color: var(--cd-text); }
.dp-accordion .accordion-button:not(.collapsed) { background: var(--cd-primary-light); color: var(--cd-primary); box-shadow: none; }
.dp-accordion .accordion-button:focus { box-shadow: 0 0 0 3px var(--cd-primary-light); }
.dp-accordion .accordion-body { color: var(--cd-text-secondary); }

/* CTA / 푸터 */
.dp-cta { background: linear-gradient(135deg, var(--cd-primary) 0%, var(--cd-navy) 100%); padding: 72px 0; color: #fff; }
.dp-cta-desc { color: rgba(255,255,255,.85); margin-bottom: 24px; }
.dp-footer { background: var(--cd-surface); border-top: 1px solid var(--cd-border); padding: 48px 0 24px; font-size: 13px; }
.dp-company { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.dp-company > div { display: flex; gap: 8px; }
.dp-company dt { color: var(--cd-text-secondary); font-weight: 400; flex-shrink: 0; }
.dp-company dd { margin: 0; }
.dp-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--cd-border); margin-top: 28px; padding-top: 18px; }
.dp-footer-bottom a { color: var(--cd-text); text-decoration: none; }
.dp-footer-bottom a:hover { color: var(--cd-primary); }

/* 로그인 / 정책 */
.dp-auth { max-width: 440px; margin: 0 auto; }
.dp-policy { max-width: 860px; }
.dp-field-error { color: var(--cd-danger); font-size: 13px; min-height: 0; margin-top: 4px; }
.dp-field-error:empty { display: none; }

/* 고객 결제 화면 */
.dp-pay-body { background: var(--cd-background); }
.dp-pay { padding: 24px 0 48px; }
.dp-pay-container { max-width: 520px; margin: 0 auto; padding: 0 16px; }
.dp-demo-banner { background: #FFFBEB; border: 1px solid #FDE68A; color: #78350F; border-radius: var(--cd-radius-md); padding: 10px 14px; font-size: 13px; margin-bottom: 12px; }
.dp-demo-banner strong { margin-right: 6px; }
.dp-bill-table { margin-top: 12px; }
.dp-bill-table th, .dp-bill-table td { padding: 10px 8px; }
.dp-method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.dp-method-option { position: relative; cursor: pointer; }
.dp-method-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.dp-method-option span { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid var(--cd-border); border-radius: var(--cd-radius-md); background: #fff; font-weight: 600; transition: border-color .15s ease, background-color .15s ease; }
.dp-method-option input:checked + span { border-color: var(--cd-primary); background: var(--cd-primary-light); color: var(--cd-primary); box-shadow: inset 0 0 0 1px var(--cd-primary); }
.dp-method-option input:focus-visible + span { outline: 3px solid var(--cd-primary-light); outline-offset: 2px; }
.dp-sim { border: 1px dashed #F59E0B; border-radius: var(--cd-radius-md); padding: 12px 14px; background: #FFFDF5; }
.dp-sim-legend { font-size: 13px; font-weight: 700; float: none; width: auto; margin-bottom: 8px; }
.dp-sim .form-check { padding-left: 0; display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.dp-sim .form-check-input { margin: 0; float: none; }
.dp-mock-window { border: 1px dashed var(--cd-border); border-radius: var(--cd-radius-md); padding: 32px; text-align: center; color: var(--cd-text-muted); background: var(--cd-background); }
.dp-result { text-align: center; }
.dp-result .dp-quote { text-align: left; }
.dp-result-icon { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.dp-result-icon.is-success { background: #DCFCE7; color: var(--cd-success); }
.dp-result-icon.is-danger { background: #FEE2E2; color: var(--cd-danger); }
.dp-result-icon.is-warning { background: #FEF3C7; color: #B45309; }
.dp-history { text-align: left; font-size: 13px; color: var(--cd-text-secondary); }
.dp-history summary { cursor: pointer; color: var(--cd-primary); }
.dp-history ol { padding-left: 18px; margin: 8px 0 0; }
.dp-pay-contact { margin-top: 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--cd-border); border-radius: var(--cd-radius-md); font-size: 14px; }
.dp-demo-foot { font-size: 12px; color: var(--cd-text-secondary); text-align: center; margin: 16px 0 0; }
.dp-pay-body .dp-footer { padding: 24px 0 16px; }
.dp-pay-body .dp-footer .row { display: none; }
.dp-pay-body .dp-footer-bottom { margin-top: 0; border-top: 0; padding-top: 0; }

/* 반응형 */
@media (max-width: 991px) {
  .dp-flow { grid-template-columns: repeat(2, 1fr); }
  .dp-header .navbar-nav { padding-top: 8px; }
}
@media (max-width: 767px) {
  .dp-section { padding: 56px 0; }
  .dp-hero { padding: 40px 0 56px; }
  .dp-hero-title { font-size: 32px; }
  .dp-section-title { font-size: 23px; }
  .dp-flow { grid-template-columns: 1fr; }
  .dp-company { grid-template-columns: 1fr; }
  .dp-bill-preview { padding: 20px; }
  .dp-org-arrow { transform: rotate(0); }
}

/* 일러스트 */
.dp-hero-art { margin: 0; text-align: center; }
.dp-hero-art img { width: 100%; max-width: 560px; height: auto; }
.dp-hero-art figcaption { margin-top: 8px; font-size: 14px; font-weight: 600; }
.dp-hero-art figcaption a { text-decoration: none; }
.dp-flow-art { display: block; width: 100%; max-width: 200px; height: auto; margin: -4px auto 12px; }
.dp-payout-art { display: block; width: 100%; height: auto; margin-bottom: 16px; border-radius: var(--cd-radius-lg); }
@media (max-width: 767px) {
  .dp-flow-art { max-width: 180px; }
}

/* 하위 페이지 일러스트·아이콘 */
.dp-page-head-art { padding: 48px 0 16px; background: linear-gradient(180deg, #fff 0%, var(--cd-background) 100%); }
.dp-page-title { font-size: 34px; line-height: 1.3; letter-spacing: -.02em; color: var(--cd-navy); }
.dp-page-art, .dp-side-art { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto; }
.dp-head-chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dp-head-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--cd-border); font-size: 13px; font-weight: 600; }
.dp-head-chips .dp-svg-icon { width: 16px; height: 16px; color: var(--cd-primary); }
.dp-icon-sm { width: 36px; height: 36px; border-radius: var(--cd-radius-md); flex-shrink: 0; }
.dp-icon-sm .dp-svg-icon { width: 18px; height: 18px; }
.dp-spot { display: block; width: 100%; height: auto; aspect-ratio: 240 / 140; object-fit: contain; background: var(--cd-primary-light); border-radius: var(--cd-radius-md); margin-bottom: 18px; max-height: 190px; }
.dp-icon-list { list-style: none; padding: 0; margin: 0 0 16px; }
.dp-icon-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.dp-icon-list-ico { flex: 0 0 28px; height: 28px; border-radius: 8px; background: var(--cd-primary-light); color: var(--cd-primary); display: inline-flex; align-items: center; justify-content: center; }
.dp-icon-list-ico .dp-svg-icon { width: 15px; height: 15px; }
.dp-tip { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 16px; background: #fff; border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); }
.dp-tip strong { display: block; margin-bottom: 2px; }
.dp-tip p { margin: 0; color: var(--cd-text-secondary); font-size: 14px; }
.cd-btn .dp-svg-icon { width: 18px; height: 18px; }
.dp-tabs .nav-link .dp-svg-icon { width: 18px; height: 18px; }

.dp-org-tree { display: flex; flex-direction: column; align-items: center; }
.dp-org-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; width: min(100%, 340px); padding: 14px 18px; background: #fff; border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); box-shadow: var(--cd-shadow-sm); }
.dp-org-card .dp-icon { grid-row: 1 / span 2; margin: 0; }
.dp-org-card small { color: var(--cd-text-secondary); }
.dp-org-card.is-strong { border-color: var(--cd-primary); box-shadow: 0 0 0 3px var(--cd-primary-light); }
.dp-org-line { width: 2px; height: 22px; background: repeating-linear-gradient(var(--cd-primary) 0 4px, transparent 4px 8px); }

.dp-timeline-icons { border-left-color: var(--cd-primary-light); border-left-width: 3px; margin-left: 18px; }
.dp-timeline-icons li { padding-left: 36px; }
.dp-timeline-icons li::before { display: none; }
.dp-timeline-ico { position: absolute; left: -20px; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--cd-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff; }
.dp-timeline-ico .dp-svg-icon { width: 18px; height: 18px; }

.dp-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 14px; }
.dp-eq span { padding: 6px 12px; border-radius: var(--cd-radius-md); background: var(--cd-background); border: 1px solid var(--cd-border); font-weight: 600; font-size: 14px; }
.dp-eq span.is-strong { background: var(--cd-primary); border-color: var(--cd-primary); color: #fff; }
.dp-eq b { color: var(--cd-text-muted); }
.dp-callout .dp-svg-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--cd-primary); margin-top: 2px; }

.dp-contact { text-align: center; }
.dp-contact .dp-icon { margin-left: auto; margin-right: auto; }

.dp-demo-card { position: relative; }
.dp-demo-ico { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; align-items: center; justify-content: center; margin-bottom: 14px; }
.dp-demo-card.is-info .dp-demo-ico { background: #DBEAFE; color: #1D4ED8; }
.dp-demo-card.is-success .dp-demo-ico { background: #DCFCE7; color: var(--cd-success); }
.dp-demo-card.is-warning .dp-demo-ico { background: #FEF3C7; color: #B45309; }
.dp-demo-card.is-danger .dp-demo-ico { background: #FEE2E2; color: var(--cd-danger); }

@media (max-width: 991px) {
  .dp-page-art { max-width: 400px; }
}
@media (max-width: 767px) {
  .dp-page-head-art { padding-top: 32px; }
  .dp-page-title { font-size: 27px; }
  .dp-page-art { max-width: 340px; }
}

/* ---------- 결제청구 납부 화면 (/pay/:token, 실제 청구서) ---------- */
.dp-req-body { background: #E7F0FB; }
.dp-req-body .dp-footer { background: transparent; }
.dp-req { padding: 24px 16px 40px; }
.dp-req-sheet { max-width: 420px; margin: 0 auto; background: #F7F9FC; border-radius: 28px; padding: 26px 20px 22px; box-shadow: 0 12px 32px rgba(23, 105, 224, .12); }
.dp-req-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.dp-req-from { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--cd-primary); }
.dp-req-title { font-size: 27px; font-weight: 800; line-height: 1.28; margin: 0; color: #0F172A; }
.dp-req-share { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #DCE5F0; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: #1E293B; white-space: nowrap; }
.dp-req-share svg { width: 15px; height: 15px; }
.dp-req-card { position: relative; background: #fff; border-radius: 18px; padding: 18px; margin-bottom: 14px; box-shadow: 0 2px 10px rgba(15, 23, 42, .05); }
.dp-req-card fieldset { margin: 0; }
.dp-req-card-title { float: none; width: auto; font-size: 16px; font-weight: 800; margin: 0 0 12px; padding: 0; }
.dp-req-badge { position: absolute; right: 16px; top: -28px; width: 52px; height: 52px; border-radius: 16px; background: var(--cd-primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(23, 105, 224, .35); transform: rotate(-6deg); }
.dp-req-badge svg { width: 26px; height: 26px; }
.dp-req-dl { margin: 0; }
.dp-req-dl > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; font-size: 14px; }
.dp-req-dl dt { font-weight: 600; color: #475569; }
.dp-req-dl dd { margin: 0; font-weight: 700; text-align: right; color: #0F172A; }
.dp-req-dl .is-sub { font-size: 13px; padding: 2px 0 2px 10px; }
.dp-req-dl .is-sub dt, .dp-req-dl .is-sub dd { font-weight: 400; color: #64748B; }
.dp-req-dl .is-amount { margin-top: 8px; padding-top: 12px; border-top: 1px dashed #DCE5F0; }
.dp-req-dl .is-amount strong { font-size: 30px; font-weight: 900; letter-spacing: -.5px; color: var(--cd-primary); margin-right: 2px; }
.dp-req-due { display: inline-block; background: #EAF3FF; color: var(--cd-primary); border-radius: 999px; padding: 1px 8px; font-size: 12px; margin-right: 4px; }
.dp-req-due.is-soon { background: #FEF2F2; color: #DC2626; }
.dp-req-meta { margin: 8px 0 0; font-size: 12px; color: #94A3B8; }
.dp-req-memo { margin: 8px 0 0; font-size: 13px; color: #334155; background: #F1F5F9; border-radius: 10px; padding: 8px 10px; }
.dp-req-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dp-req-method { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid #E2E8F0; border-radius: 16px; padding: 16px 8px; font-size: 14px; font-weight: 700; color: #1E293B; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.dp-req-method input { position: absolute; opacity: 0; pointer-events: none; }
.dp-req-method:has(input:checked) { border-color: var(--cd-primary); background: #F2F7FF; box-shadow: 0 0 0 1px var(--cd-primary) inset; color: var(--cd-primary); }
.dp-req-method:has(input:focus-visible) { outline: 2px solid var(--cd-primary); outline-offset: 2px; }
.dp-req-method-icon { width: 42px; height: 42px; border-radius: 50%; background: #EAF3FF; color: var(--cd-primary); display: flex; align-items: center; justify-content: center; }
.dp-req-method:has(input:checked) .dp-req-method-icon { background: var(--cd-primary); color: #fff; }
.dp-req-method-icon svg { width: 20px; height: 20px; }
.dp-req-mock { font-size: 12px; color: #64748B; text-align: center; margin: 0 0 10px; }
.dp-req-alert { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; border-radius: 12px; padding: 10px 12px; font-size: 13px; margin-bottom: 10px; }
.dp-req-pay { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: #0F172A; color: #fff; border: 0; border-radius: 16px; padding: 16px; font-size: 17px; font-weight: 800; }
.dp-req-pay:disabled { opacity: .7; }
.dp-req-won { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--cd-primary); align-items: center; justify-content: center; font-size: 13px; }
.dp-req-contact { margin-top: 16px; font-size: 12px; color: #64748B; text-align: center; }
.dp-req-done { text-align: center; padding: 8px 0 20px; }
.dp-req-done-icon { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: #DCFCE7; color: #16A34A; align-items: center; justify-content: center; margin-bottom: 12px; }
.dp-req-done-icon svg { width: 34px; height: 34px; }
.dp-req-done .dp-req-title { margin-bottom: 8px; }

/* ===== 아이콘 색상 톤 (views/partials/icon.ejs 의 tones) ===== */
.dp-icon:has(> .dp-svg-icon[data-tone="blue"]), .dp-icon-list-ico:has(> .dp-svg-icon[data-tone="blue"]), .dp-industry-ico:has(> .dp-svg-icon[data-tone="blue"]) { background: #EAF3FF; color: #1769E0; }
.dp-head-chips .dp-svg-icon[data-tone="blue"] { color: #1769E0; }
.dp-icon:has(> .dp-svg-icon[data-tone="green"]), .dp-icon-list-ico:has(> .dp-svg-icon[data-tone="green"]), .dp-industry-ico:has(> .dp-svg-icon[data-tone="green"]) { background: #E5F7EC; color: #15924A; }
.dp-head-chips .dp-svg-icon[data-tone="green"] { color: #15924A; }
.dp-icon:has(> .dp-svg-icon[data-tone="orange"]), .dp-icon-list-ico:has(> .dp-svg-icon[data-tone="orange"]), .dp-industry-ico:has(> .dp-svg-icon[data-tone="orange"]) { background: #FFF0E2; color: #E2700E; }
.dp-head-chips .dp-svg-icon[data-tone="orange"] { color: #E2700E; }
.dp-icon:has(> .dp-svg-icon[data-tone="purple"]), .dp-icon-list-ico:has(> .dp-svg-icon[data-tone="purple"]), .dp-industry-ico:has(> .dp-svg-icon[data-tone="purple"]) { background: #F1ECFF; color: #7C3AED; }
.dp-head-chips .dp-svg-icon[data-tone="purple"] { color: #7C3AED; }
.dp-icon:has(> .dp-svg-icon[data-tone="pink"]), .dp-icon-list-ico:has(> .dp-svg-icon[data-tone="pink"]), .dp-industry-ico:has(> .dp-svg-icon[data-tone="pink"]) { background: #FFE9F0; color: #DB2763; }
.dp-head-chips .dp-svg-icon[data-tone="pink"] { color: #DB2763; }
.dp-icon:has(> .dp-svg-icon[data-tone="teal"]), .dp-icon-list-ico:has(> .dp-svg-icon[data-tone="teal"]), .dp-industry-ico:has(> .dp-svg-icon[data-tone="teal"]) { background: #E1F6F5; color: #0E8F89; }
.dp-head-chips .dp-svg-icon[data-tone="teal"] { color: #0E8F89; }
.dp-icon:has(> .dp-svg-icon[data-tone="amber"]), .dp-icon-list-ico:has(> .dp-svg-icon[data-tone="amber"]), .dp-industry-ico:has(> .dp-svg-icon[data-tone="amber"]) { background: #FFF5D9; color: #B97F00; }
.dp-head-chips .dp-svg-icon[data-tone="amber"] { color: #B97F00; }
.dp-icon:has(> .dp-svg-icon[data-tone="indigo"]), .dp-icon-list-ico:has(> .dp-svg-icon[data-tone="indigo"]), .dp-industry-ico:has(> .dp-svg-icon[data-tone="indigo"]) { background: #ECEDFF; color: #4F46E5; }
.dp-head-chips .dp-svg-icon[data-tone="indigo"] { color: #4F46E5; }
/* 체크리스트(채운 사각형) 아이콘 */
.dp-checks li > span:has(> .dp-svg-icon[data-tone="blue"]) { background: #1769E0; color: #fff; }
.dp-checks li > span:has(> .dp-svg-icon[data-tone="green"]) { background: #15924A; color: #fff; }
.dp-checks li > span:has(> .dp-svg-icon[data-tone="orange"]) { background: #E2700E; color: #fff; }
.dp-checks li > span:has(> .dp-svg-icon[data-tone="purple"]) { background: #7C3AED; color: #fff; }
.dp-checks li > span:has(> .dp-svg-icon[data-tone="pink"]) { background: #DB2763; color: #fff; }
.dp-checks li > span:has(> .dp-svg-icon[data-tone="teal"]) { background: #0E8F89; color: #fff; }
.dp-checks li > span:has(> .dp-svg-icon[data-tone="amber"]) { background: #B97F00; color: #fff; }
.dp-checks li > span:has(> .dp-svg-icon[data-tone="indigo"]) { background: #4F46E5; color: #fff; }
