/* ============================================================
 * 수원데이터복구센터 — 랜딩 스타일(.drp-scope 스코프)
 *   · 동네방네 공통 CSS와 함께 로드되므로 전부 .drp-scope 하위로 격리
 *   · data_recovery.php(boxim 래퍼) → data_recovery_content.php(.drp-scope) 전용
 *   · 신규(서브내비 탭바 / 폼 STEP 패널 / boxim 헤더 오프셋)는 파일 하단 참고
 * ============================================================ */

.drp-scope { --bg: #ffffff; --soft: #f6f8fb; --soft-teal: #effbf9; --ink: #121826; --text: #273142; --muted: #687386; --line: #e3e8ef; --teal: #16b8a6; --teal-dark: #0f8276; --yellow: #fee500; --yellow-soft: #fff6bc; --red: #d82f2f; --naver: #03c75a; --shadow: 0 18px 44px rgba(18, 24, 38, .10); --radius: 18px; --max: 1160px; }
.drp-scope * { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.drp-scope { margin: 0; color: var(--text); background: linear-gradient(180deg, #ffffff 0, #ffffff 440px, var(--soft) 440px), var(--bg); font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.drp-scope a { color: inherit; text-decoration: none; }
.drp-scope button, .drp-scope input, .drp-scope textarea { font: inherit; }
.drp-scope .wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.drp-scope .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.drp-scope .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.drp-scope h1, .drp-scope h2, .drp-scope h3, .drp-scope p { margin-top: 0; }
.drp-scope h1, .drp-scope h2, .drp-scope h3 { color: var(--ink); letter-spacing: -.02em; }
.drp-scope .topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.drp-scope .topbar-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.drp-scope .brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.drp-scope .brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--teal), #42d7c7); color: #fff; display: grid; place-items: center; font-weight: 900; box-shadow: 0 10px 24px rgba(22, 184, 166, .25); }
.drp-scope .brand strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.1; }
.drp-scope .brand span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.drp-scope .nav { display: flex; gap: 20px; color: #5f6b7d; font-size: 14px; font-weight: 700; }
.drp-scope .nav a:hover { color: var(--teal-dark); }
.drp-scope .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 850; white-space: nowrap; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.drp-scope .btn:active { transform: translateY(1px); }
.drp-scope .btn-kakao { background: var(--yellow); color: #331d1d; }
.drp-scope .btn-primary { background: var(--teal); color: #fff; box-shadow: 0 12px 24px rgba(22, 184, 166, .25); }
.drp-scope .btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.drp-scope .btn-naver { background: var(--naver); color: #fff; }
.drp-scope .hero { padding: 70px 0 56px; background: radial-gradient(circle at 88% 10%, rgba(254, 229, 0, .34), transparent 28%), radial-gradient(circle at 6% 8%, rgba(22, 184, 166, .16), transparent 30%), linear-gradient(135deg, #ffffff 0%, #f1fbfa 56%, #fff9d8 100%); border-bottom: 1px solid var(--line); }
.drp-scope .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) 420px; align-items: center; gap: 42px; }
.drp-scope .hero h1 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.12; margin-bottom: 18px; }
.drp-scope .hero h1 em { color: var(--teal-dark); font-style: normal; }
.drp-scope .lead { max-width: 650px; color: #4e5b6c; font-size: 17px; margin-bottom: 28px; }
.drp-scope .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.drp-scope .hero-points { display: flex; flex-wrap: wrap; gap: 10px; }
.drp-scope .hero-points span { padding: 9px 13px; border-radius: 999px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); color: #4f5b6b; font-size: 13px; font-weight: 750; }
.drp-scope .hero-points b { color: var(--ink); }
.drp-scope .diagnosis-card { background: #fff; border: 1px solid rgba(22, 184, 166, .20); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.drp-scope .scan-box { aspect-ratio: 1; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(180deg, rgba(22, 184, 166, .10), rgba(255, 246, 188, .30)), #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.drp-scope .scan-box::before { content: ""; position: absolute; inset: 18%; border: 2px solid rgba(22, 184, 166, .35); clip-path: polygon(50% 0, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%); }
.drp-scope .scan-box::after { content: ""; position: absolute; left: 14%; right: 14%; top: 30%; height: 3px; border-radius: 999px; background: var(--teal); box-shadow: 0 0 18px rgba(22, 184, 166, .42); animation: scan 3s ease-in-out infinite; }
@keyframes scan {
  0%, 100% { transform: translateY(-64px); opacity: .25; }
  50% { transform: translateY(82px); opacity: 1; }}
.drp-scope .scan-copy { position: relative; text-align: center; color: var(--ink); }
.drp-scope .scan-copy strong { display: block; font-size: 44px; letter-spacing: -.04em; }
.drp-scope .scan-copy span { color: var(--teal-dark); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.drp-scope .diagnosis-list { display: grid; gap: 10px; margin-top: 18px; }
.drp-scope .diagnosis-list div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--soft); color: #4b5667; font-size: 14px; font-weight: 750; }
.drp-scope .diagnosis-list b { color: var(--teal-dark); }
.drp-scope .guarantee { background: var(--yellow); color: var(--red); text-align: center; font-size: clamp(18px, 2.3vw, 26px); font-weight: 950; padding: 18px 20px; border-bottom: 1px solid #ebcf00; }
.drp-scope .section { padding: 76px 0; }
.drp-scope .section.alt { background: var(--soft); }
.drp-scope .section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 30px; }
.drp-scope .section-head h2 { margin-bottom: 0; font-size: clamp(25px, 3vw, 38px); line-height: 1.25; }
.drp-scope .section-head p { color: var(--muted); margin-bottom: 0; max-width: 560px; }
.drp-scope .device-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.drp-scope .chip { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #4b5566; font-size: 14px; font-weight: 800; }
.drp-scope .chip b { color: var(--teal-dark); }
.drp-scope .card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.drp-scope .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 24px rgba(18, 24, 38, .04); }
.drp-scope .tag { display: inline-flex; margin-bottom: 12px; padding: 5px 9px; border-radius: 8px; background: var(--soft-teal); color: var(--teal-dark); font-size: 12px; font-weight: 900; }
.drp-scope .card h3 { margin-bottom: 8px; font-size: 18px; }
.drp-scope .card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.drp-scope .process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.drp-scope .step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; min-height: 168px; }
.drp-scope .step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 13px; font-weight: 900; margin-bottom: 14px; }
.drp-scope .step h3 { margin-bottom: 8px; font-size: 16px; }
.drp-scope .step p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.drp-scope .ship-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.drp-scope .ship-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 10px 24px rgba(18, 24, 38, .04); }
.drp-scope .ship-card h3 { margin-bottom: 10px; color: var(--teal-dark); font-size: 16px; }
.drp-scope .ship-card p { margin-bottom: 6px; color: #4b5667; font-size: 14px; }
.drp-scope .ship-card p:last-child { margin-bottom: 0; }
.drp-scope .price-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 24px rgba(18, 24, 38, .04); }
.drp-scope .price-table th, .drp-scope .price-table td { padding: 17px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.drp-scope .price-table th { background: #f2fbfa; color: var(--teal-dark); font-size: 13px; font-weight: 950; }
.drp-scope .price-table tr:last-child td { border-bottom: 0; }
.drp-scope .amount { color: var(--teal-dark); font-weight: 950; white-space: nowrap; }
.drp-scope .price-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.drp-scope .consult-area { padding: 60px 0 84px; background: var(--soft); }
.drp-scope .consult-area .layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; }
.drp-scope .main-flow { display: grid; gap: 56px; min-width: 0; }
.drp-scope .flow-block { min-width: 0; scroll-margin-top: 88px; }
.drp-scope .flow-block .section-head { display: block; margin-bottom: 22px; }
.drp-scope .flow-block .section-head > p { margin-top: 10px; margin-bottom: 0; }
.drp-scope .flow-block .section-head > .btn { margin-top: 14px; }
.drp-scope .side-column { position: sticky; top: 88px; min-width: 0; }
.drp-scope .notice-list { display: grid; gap: 12px; }
.drp-scope .notice { display: flex; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.drp-scope .notice b { color: var(--red); }
.drp-scope .notice span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow-soft); color: var(--red); display: grid; place-items: center; font-size: 12px; font-weight: 950; }
.drp-scope .notice p { margin: 0; color: #4b5667; font-size: 14px; }
.drp-scope .lead-card { background: #fff; border: 1px solid rgba(22, 184, 166, .22); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.drp-scope .lead-card h3 { font-size: 22px; margin-bottom: 8px; }
.drp-scope .lead-card > p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.drp-scope .field { display: grid; gap: 7px; margin-bottom: 12px; }
.drp-scope .field label { color: #566174; font-size: 13px; font-weight: 850; }
.drp-scope .field input, .drp-scope .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; background: #fbfcfd; color: var(--ink); }
.drp-scope .field input:focus, .drp-scope .field textarea:focus { outline: 2px solid rgba(22, 184, 166, .18); border-color: var(--teal); }
.drp-scope .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.drp-scope .form-grid .full { grid-column: 1 / -1; }
.drp-scope .priority-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.drp-scope .pattern-grid { display: grid; grid-template-columns: repeat(3, 30px); gap: 8px; margin: 4px 0 10px; }
.drp-scope .pattern-grid span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 900; }
.drp-scope .agree { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 13px; margin: 10px 0 16px; }
/* 동의 체크박스: boxim common.css 의 input[type=checkbox]{display:none;-webkit-appearance:none} 를 강제 복원 */
.drp-scope .agree input[type="checkbox"] {
  display: inline-block !important;
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  position: static !important;
  flex: none;
  accent-color: var(--teal);
  cursor: pointer;
}
.drp-scope .status { min-height: 19px; color: var(--teal-dark); font-size: 13px; font-weight: 800; }
.drp-scope .review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.drp-scope .stars { color: #f2b900; letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.drp-scope details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; }
.drp-scope summary { cursor: pointer; padding: 18px 0; color: var(--ink); font-weight: 900; list-style: none; }
.drp-scope summary::-webkit-details-marker { display: none; }
.drp-scope details p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.drp-scope .faq-list { display: grid; gap: 12px; max-width: 780px; }
.drp-scope .final-cta { text-align: center; background: radial-gradient(circle at 15% 20%, rgba(22, 184, 166, .14), transparent 30%), radial-gradient(circle at 85% 5%, rgba(254, 229, 0, .32), transparent 26%), #fff; border: 1px solid var(--line); border-radius: 26px; padding: 48px 28px; box-shadow: var(--shadow); }
.drp-scope .final-cta h2 { margin-bottom: 12px; font-size: clamp(25px, 3.2vw, 38px); }
.drp-scope .final-cta p { max-width: 620px; margin: 0 auto 22px; color: var(--muted); }
.drp-scope .final-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.drp-scope footer { background: #111827; color: #cbd5e1; padding: 42px 0 84px; }
.drp-scope footer .wrap { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.drp-scope footer strong { color: #fff; }
.drp-scope footer p { margin: 6px 0 0; color: #9ca3af; font-size: 14px; }
.drp-scope .mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(18, 24, 38, .08); gap: 8px; }
.drp-scope .mobile-bar .btn { flex: 1; min-height: 46px; padding: 0 12px; font-size: 14px; }
@media (max-width: 1040px) {
.drp-scope .nav { display: none; }
.drp-scope .hero-grid, .drp-scope .consult-area .layout { grid-template-columns: 1fr; }
.drp-scope .diagnosis-card { max-width: 520px; }
.drp-scope .main-flow { gap: 44px; }
.drp-scope .side-column { position: static; }}
@media (max-width: 720px) {
.drp-scope .wrap { width: min(100% - 32px, var(--max)); }
.drp-scope .topbar-inner { height: 62px; }
.drp-scope .topbar .btn-kakao { display: none; }
.drp-scope .brand span { display: none; }
.drp-scope .hero { padding: 46px 0 38px; }
.drp-scope .hero-actions .btn { width: 100%; }
.drp-scope .section { padding: 54px 0; }
.drp-scope .section-head { display: block; }
.drp-scope .section-head p { margin-top: 10px; }
.drp-scope .card-grid, .drp-scope .review-grid { grid-template-columns: 1fr; }
.drp-scope .process { grid-template-columns: 1fr; }
.drp-scope .ship-grid, .drp-scope .form-grid { grid-template-columns: 1fr; }
.drp-scope .priority-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.drp-scope .price-table th, .drp-scope .price-table td { padding: 14px 12px; font-size: 13px; }
.drp-scope .scan-copy strong { font-size: 36px; }
.drp-scope .mobile-bar { display: flex; }}

/* ============================================================
 * 신규(2026-07-01): boxim 사이트 통합 — 배경 단순화 / 서브내비 탭바 / 폼 2단계
 *   · 헤더·탭바 높이는 data_recovery.js 가 실측해 CSS 변수(--drp-header-h/--drp-anchor)로 주입(폴백값 지정)
 * ============================================================ */
.drp-scope { background: #fff; }

/* 섹션 서브내비 탭바 (skz-tabs식) — boxim 헤더 바로 아래 sticky */
.drp-subnav {
  position: sticky;
  top: var(--drp-header-h, 64px);
  z-index: 7;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.drp-subnav .wrap {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.drp-subnav .wrap::-webkit-scrollbar { display: none; }
.drp-scope .drp-tab {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #55617a;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.drp-scope .drp-tab:hover { color: var(--teal-dark); }
.drp-scope .drp-tab.on { background: var(--teal); color: #fff; border-color: var(--teal); }

/* 앵커 착지선·우측 sticky 카드: 헤더+탭바 아래로 (기본값 override) */
.drp-scope .flow-block { scroll-margin-top: var(--drp-anchor, 124px); }
.drp-scope .side-column { top: var(--drp-anchor, 124px); }
.drp-scope .consult-area { padding: 36px 0 84px; }

/* ── 신청서 2단계(STEP1 기본정보 → STEP2 상세 접수증) ── */
.drp-scope .drp-lead-desc { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.drp-scope .drp-step[hidden] { display: none; }
.drp-scope .drp-step-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft-teal);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}
.drp-scope .btn.drp-full { width: 100%; }
.drp-scope .drp-step-nav { display: flex; gap: 8px; margin-top: 4px; }
.drp-scope .drp-step-nav .btn { flex: 1; }
.drp-scope .drp-back {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

/* 모바일: 탭바 top:0, 앵커 축소(글로벌 헤더가 스크롤로 사라짐) */
@media (max-width: 1040px) {
  .drp-subnav { top: 0; }
  .drp-scope .flow-block { scroll-margin-top: var(--drp-anchor-m, 64px); }
}

/* ── 히어로 오시는 길 지도(네이버) — scan-box 대체 ── */
.drp-scope .drp-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.drp-scope .drp-map-canvas { width: 100%; height: 320px; background: #eef2f6; }
.drp-scope .drp-map-fallback {
  display: none;
  width: 100%;
  height: 320px;
  background: #f0fdf4;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--naver);
  text-align: center;
}
.drp-scope .drp-map-pin { font-size: 40px; line-height: 1; }
.drp-scope .drp-map-fallback > div:last-child { font-size: 14px; font-weight: 800; margin-top: 8px; }
.drp-scope .drp-map-info { display: block; padding: 16px; background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
.drp-scope .drp-map-info-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.drp-scope .drp-map-badge { background: var(--naver); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 4px; }
.drp-scope .drp-map-info-top strong { color: var(--naver); font-size: 16px; }
.drp-scope .drp-map-info p { font-size: 13px; color: #4a5568; margin: 4px 0 0; line-height: 1.4; }
.drp-scope .drp-map-link { font-size: 12px; color: #a0aec0; text-decoration: underline; display: inline-block; margin-top: 8px; }
/* 후기영역 큰 지도(#map2): 좌측 컬럼 폭 전체 + 더 큰 높이 */
.drp-scope .drp-map-lg { margin: 4px 0 24px; }
.drp-scope .drp-map-lg .drp-map-canvas,
.drp-scope .drp-map-lg .drp-map-fallback { height: 380px; }

/* ── 잠금 패턴 그리기(터치/마우스 드래그 → #pattern 자동 채움) ── */
.drp-scope .drp-pattern-hint { color: var(--muted); font-weight: 700; font-size: 11px; }
.drp-scope .drp-pattern {
  position: relative;
  width: 214px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 6px 0 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
  touch-action: none;            /* 그리는 동안 스크롤 방지 */
  -webkit-user-select: none;
  user-select: none;
}
.drp-scope .drp-pattern-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.drp-scope .drp-pattern-lines polyline {
  fill: none;
  stroke: var(--teal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .65;
}
.drp-scope .drp-pattern-dot {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  transition: transform .1s ease, background .1s ease, color .1s ease, border-color .1s ease;
}
.drp-scope .drp-pattern-dot.on {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  transform: scale(1.06);
}
.drp-scope .drp-pattern-foot { display: flex; gap: 8px; align-items: stretch; }
.drp-scope .drp-pattern-foot input { flex: 1; }
.drp-scope .drp-pattern-clear {
  flex: none;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

/* ── 모바일 하단 CTA 바 + 바텀시트(신청서 portal, sk_kids_zem식) ── */
.drp-scope .drp-mobilebar { display: none; }
.drp-sheet { display: none; }

@media (max-width: 1040px) {
  /* 하단 고정 CTA 바 */
  .drp-scope .drp-mobilebar {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(18, 24, 38, .10);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .drp-scope .drp-mobilebar .btn { flex: 1; min-height: 48px; padding: 0 12px; font-size: 15px; }

  /* 바텀시트 오버레이 */
  .drp-sheet {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    visibility: hidden;
    pointer-events: none;
  }
  .drp-sheet[aria-hidden="false"] { visibility: visible; pointer-events: auto; }
  .drp-sheet-backdrop {
    position: absolute; inset: 0;
    background: rgba(15, 23, 42, .5);
    opacity: 0;
    transition: opacity .25s ease;
  }
  .drp-sheet[aria-hidden="false"] .drp-sheet-backdrop { opacity: 1; }
  .drp-sheet-panel {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    max-height: 90vh;               /* 화면보다 길면 본문 스크롤 */
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -20px 50px rgba(18, 24, 38, .25);
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.22, .61, .36, 1);
  }
  .drp-sheet[aria-hidden="false"] .drp-sheet-panel { transform: translateY(0); }
  .drp-sheet-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px 6px;
    flex: none;
  }
  .drp-sheet-grip { width: 42px; height: 5px; border-radius: 999px; background: #d5dbe4; }
  .drp-sheet-close {
    position: absolute; right: 12px; top: 8px;
    width: 34px; height: 34px;
    border: 0; background: transparent;
    font-size: 18px; color: var(--muted); cursor: pointer;
  }
  .drp-sheet-body {
    flex: 1 1 auto;
    min-height: 0;                  /* flex 자식 스크롤 필수 */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 18px calc(24px + env(safe-area-inset-bottom));
  }
  /* 시트 안에서는 카드 테두리/그림자 제거(시트 패널이 카드 역할) */
  .drp-sheet-body .lead-card { border: 0; box-shadow: none; padding: 0; border-radius: 0; }
}

/* ============================================================
 * 신규(2026-07-01k): 택배 접수증 인쇄(별도 버튼) + 제출 결과 CTA
 *   · 인쇄 = window.print() + @media print. #lead(신청서)만 출력, 헤더/버튼/GNB 숨김
 *   · 제출 성공 후 form.reset() 안 함 → live 폼값 그대로 접수증 인쇄(재입력 0)
 * ============================================================ */
.drp-scope .drp-print-only { display: none; }            /* 평상시 숨김(인쇄 시만 노출) */
.drp-scope .drp-result { display: grid; gap: 8px; margin-top: 14px; }
.drp-scope .drp-result[hidden] { display: none; }

@media print {
  /* 페이지 전체 숨기고 신청서(#lead)만 출력 — 래퍼(GNB/헤더/푸터) 무수정 */
  body * { visibility: hidden !important; }
  #lead, #lead * { visibility: visible !important; }
  #lead {
    position: absolute !important; left: 0; top: 0; width: 100%;
    margin: 0; padding: 0;
    background: #fff; color: #000;
    border: 0 !important; box-shadow: none !important;
  }
  #lead .drp-step[hidden] { display: block !important; }  /* 전 단계 펼침 */
  .no-print { display: none !important; }
  .drp-print-only { display: block !important; visibility: visible !important; }
  .drp-print-head { margin: 0 0 12px; padding: 0 0 10px; border-bottom: 2px solid #000; }
  .drp-print-head strong { display: block; font-size: 18px; color: #000; }
  .drp-print-head span { display: block; font-size: 12px; color: #000; }

  /* 흑백 가독성: 입력/textarea·STEP 라벨·패턴 그리드 */
  #lead .field input, #lead .field textarea {
    border: 1px solid #999 !important; background: #fff !important; color: #000 !important;
  }
  #lead .drp-step-head { background: #eee !important; color: #000 !important; }
  #lead .drp-pattern-dot { background: #fff !important; color: #000 !important; border: 1px solid #000 !important; }
  #lead .drp-pattern-dot.on { background: #fff !important; color: #000 !important; }
  #lead .drp-pattern-lines polyline { stroke: #000 !important; opacity: 1 !important; }

  /* 모바일 바텀시트 상태 리셋(시트 안에서 인쇄해도 정상 출력) */
  .drp-sheet, .drp-sheet-panel, .drp-sheet-body {
    position: static !important; transform: none !important;
    max-height: none !important; overflow: visible !important;
  }
  .drp-sheet-backdrop { display: none !important; }
}
