/* 초정밀 탕감액 진단 — 전용 스타일
 *
 * 메인 사이트(css/style.css)와 파일은 나누되 토큰은 같은 값을 쓴다. 이 페이지는
 * 랜딩이 아니라 한 화면에 한 질문만 두는 앱형 위저드라 레이아웃 규칙이 다르지만,
 * 색·서체·모서리·그림자까지 달라지면 검색으로 바로 들어온 사람에게 여기가
 * 드림인지 알 방법이 없다.
 */

:root {
  /* css/style.css의 :root와 같은 값 — 한쪽을 바꾸면 다른 쪽도 맞춰야 한다 */
  --navy: #1e2270;
  --navy-d: #141c6b;
  --navy-l: #2e339a;
  --blue: #3a40c4;
  --accent: #6e74e8;
  --ink: #1a1c2e;
  --gray: #6b6f82;
  --gray-soft: #9aa0b3;
  --line: #e6e8f0;
  --line-soft: #eef0f5;
  --bg-soft: #f4f5fa;
  --card-blue: #eef0fb;
  --radius-card: 16px;
  --shadow-card: 0 6px 22px rgba(15, 17, 46, .06);
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  /* 이 페이지에서만 쓰는 파생값 */
  --dx-warn: #b0364a;
  --dx-warn-bg: #fdf3f4;
  --dx-mark: #dcdefa;   /* 강조 하이라이트 — 형광 초록 대신 브랜드 톤 */
}

* { box-sizing: border-box; }

html { height: 100%; }
body {
  min-height: 100dvh;
  display: flex; flex-direction: column;
}
html, body {
  margin: 0; padding: 0;
  background: var(--bg-soft);
  color: var(--ink);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* ── 브랜드 헤더 ───────────────────────────── */
.dx-header { position: sticky; top: 0; z-index: 50; flex: none; background: var(--navy); }
.dx-header-in {
  max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
}
.dx-logo { display: inline-flex; align-items: center; flex: none; }
.dx-logo img { height: 25px; width: auto; display: block; }
.dx-header-t {
  flex: 1 1 auto; min-width: 0;
  font-size: 13px; font-weight: 600; letter-spacing: -.3px;
  color: rgba(255, 255, 255, .74);
  border-left: 1px solid rgba(255, 255, 255, .22);
  padding-left: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dx-header-tel {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  padding: 7px 14px;
  color: #fff; font-size: 13px; font-weight: 700;
  text-decoration: none;
}
.dx-header-tel:hover { background: rgba(255, 255, 255, .18); }
.dx-header-tel svg { width: 14px; height: 14px; }

/* body(플렉스) → main#dxRoot → .dx-stage 순서라, 가운데 main도 함께 늘어나야
   짧은 단계에서 카드가 화면을 채운다. main을 빼먹으면 카드가 중간에서 끊긴다. */
#dxRoot {
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column;
}
.dx-stage {
  width: 100%; max-width: 560px; margin: 0 auto;
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column;
  padding: 14px 12px 0;
}

/* ── 질문 카드 ─────────────────────────────── */
.dx-card {
  background: #fff;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: var(--shadow-card);
  padding: 22px 24px 30px;
  flex: 1 1 auto;
  position: relative;
}
.dx-card-top { margin-bottom: 18px; }
.dx-back {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-left: -8px;
  border: 0; background: none; color: var(--navy);
  cursor: pointer; border-radius: 10px;
}
.dx-back svg { width: 23px; height: 23px; }
.dx-back:hover { background: var(--bg-soft); }

.dx-q {
  margin: 0 0 8px;
  font-size: 24px; line-height: 1.36;
  font-weight: 800; letter-spacing: -1px;
  color: #000; word-break: keep-all;
}
.dx-q mark, .dxf-label mark {
  background: linear-gradient(transparent 56%, var(--dx-mark) 56%);
  color: var(--navy); font-weight: 800; padding: 0 1px;
}
.dx-q-sub {
  margin: 0 0 22px;
  font-size: 14px; color: var(--gray);
  line-height: 1.6; letter-spacing: -.2px; word-break: keep-all;
}
.dx-q + .dx-note, .dx-q-sub + .dx-note { margin-top: 4px; }

/* ── 필드 공통 ─────────────────────────────── */
.dxf { margin-top: 26px; }
.dx-card > .dxf:first-of-type { margin-top: 22px; }
.dxf-label {
  margin: 0 0 12px;
  font-size: 16.5px; font-weight: 700; line-height: 1.5;
  letter-spacing: -.4px; word-break: keep-all;
}
.dxf-sub { margin: -6px 0 12px; font-size: 13px; color: var(--gray-soft); }

/* ── 선택지 ────────────────────────────────── */
.dx-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.dx-opts.cols-2 > * { flex: 0 0 calc(50% - 5px); }
.dx-opts.cols-3 > * { flex: 0 0 calc(33.333% - 7px); }
.dx-opt {
  min-width: 96px; padding: 15px 18px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff;
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -.3px;
  color: var(--ink); cursor: pointer; text-align: center;
  transition: border-color .16s var(--ease-out), background .16s, color .16s;
}
.dx-opt:hover { border-color: var(--accent); color: var(--blue); }
.dx-opt.is-sel {
  border-color: var(--navy); border-width: 2px; padding: 14px 17px;
  background: var(--card-blue); color: var(--navy); font-weight: 700;
}

.dx-multi .dx-opt {
  display: flex; align-items: center; gap: 9px;
  text-align: left; font-weight: 500; font-size: 14px;
  padding: 14px; min-width: 0;
}
.dx-multi.cols-3 .dx-opt { justify-content: center; gap: 7px; padding: 14px 8px; }
.dx-multi .dx-opt.is-sel { border-width: 1.5px; padding: 14px; font-weight: 700; }
.dx-multi.cols-3 .dx-opt.is-sel { padding: 14px 8px; }
.dx-box {
  flex: 0 0 auto; width: 17px; height: 17px;
  border: 1.5px solid #c6cad8; border-radius: 4px;
  background: #fff; position: relative;
}
.dx-opt.is-sel .dx-box { background: var(--navy); border-color: var(--navy); }
.dx-opt.is-sel .dx-box::after {
  content: ''; position: absolute; left: 5px; top: 1px;
  width: 4px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.dx-multi:not(.cols-3) { flex-direction: column; }
.dx-multi:not(.cols-3) > * { flex: 1 1 auto; width: 100%; }

/* ── 슬라이더 ──────────────────────────────── */
.dx-slider { padding: 30px 4px 0; position: relative; }
.dx-slider-bubble {
  position: absolute; top: 0; transform: translateX(-50%);
  background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 3px 11px; border-radius: 999px; white-space: nowrap;
}
.dx-slider input[type=range] {
  --dx-pct: 0%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; margin: 0; border-radius: 999px;
  background: linear-gradient(to right, var(--navy) var(--dx-pct), #e2e4ee var(--dx-pct));
  cursor: pointer;
}
.dx-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--navy);
  box-shadow: 0 2px 6px rgba(15, 17, 46, .22);
}
.dx-slider input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--navy);
}
.dx-slider-scale {
  display: flex; justify-content: space-between;
  margin-top: 9px; font-size: 12.5px; color: var(--gray-soft);
}

/* ── 금액 입력 ─────────────────────────────── */
.dx-money-hint {
  display: inline-block; margin: 0 0 12px; float: right; clear: both;
  background: var(--card-blue); color: var(--navy);
  font-size: 12.5px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
.dx-money {
  clear: both;
  display: flex; align-items: baseline; gap: 6px;
  border-bottom: 2px solid var(--line); padding-bottom: 8px;
}
.dx-money input {
  flex: 1 1 auto; min-width: 0;
  border: 0; outline: none; background: none;
  font: inherit; font-size: 23px; font-weight: 700; letter-spacing: -.4px;
  text-align: right; color: var(--ink); padding: 4px 0;
}
.dx-money input::placeholder { color: #bcc1d2; font-weight: 600; }
.dx-money:focus-within { border-bottom-color: var(--navy); }
.dx-won { font-size: 17px; font-weight: 700; color: var(--gray); }
.dx-money-kor {
  margin: 8px 0 0; text-align: right;
  font-size: 13.5px; font-weight: 600; color: var(--navy); min-height: 18px;
}

/* ── 지역 선택 ─────────────────────────────── */
.dx-region { margin-top: 4px; }
.dx-region-head { background: var(--card-blue); border-radius: 12px; padding: 13px 13px 14px 16px; }
.dx-region-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dx-region-k { font-size: 14px; font-weight: 700; color: var(--navy); }
.dx-region-btn {
  border: 0; border-radius: 999px;
  background: var(--navy); color: #fff;
  font: inherit; font-size: 13px; font-weight: 700;
  padding: 9px 17px; cursor: pointer;
}
.dx-region-btn:hover { background: var(--navy-l); }
.dx-region-v { margin: 9px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.dx-region-cards { display: flex; gap: 10px; margin-top: 12px; }
.dx-icard { flex: 1 1 0; text-align: center; background: var(--bg-soft); border-radius: 12px; padding: 15px 8px; }
.dx-icard.is-on { background: var(--card-blue); }
.dx-icard-k { display: block; font-size: 12.5px; font-weight: 700; color: var(--gray-soft); margin-bottom: 5px; }
.dx-icard.is-on .dx-icard-k { color: var(--navy); }
.dx-icard-v { font-size: 15px; font-weight: 700; color: #bcc1d2; }
.dx-icard.is-on .dx-icard-v { color: var(--ink); }

.dx-sheet-dim {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 17, 46, .55);
  display: flex; align-items: flex-end; justify-content: center;
}
.dx-sheet {
  background: #fff; width: 100%; max-width: 560px;
  border-radius: 18px 18px 0 0;
  max-height: 78dvh; display: flex; flex-direction: column;
}
.dx-sheet-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line-soft);
  font-size: 16px; font-weight: 800; letter-spacing: -.4px;
}
.dx-sheet-x { border: 0; background: none; font-size: 17px; color: var(--gray-soft); cursor: pointer; padding: 4px 8px; }
.dx-sheet-list { overflow-y: auto; padding: 8px 0 20px; -webkit-overflow-scrolling: touch; }
.dx-sheet-item {
  display: block; width: 100%; text-align: left;
  border: 0; background: none; font: inherit; font-size: 15.5px;
  padding: 14px 20px; cursor: pointer; color: var(--ink);
}
.dx-sheet-item:hover { background: var(--bg-soft); }
.dx-sheet-item.is-back { color: var(--navy); font-weight: 700; }

/* ── 안내 박스 ─────────────────────────────── */
.dx-note { border-radius: 12px; padding: 16px 18px; margin: 16px 0 0; }
.dx-note--info { background: var(--card-blue); }
.dx-note--warn { background: var(--dx-warn-bg); border-left: 3px solid var(--dx-warn); }
.dx-note--plain { background: none; padding: 16px 0 0; }
.dx-note-t {
  display: block; font-size: 14px; font-weight: 700;
  margin-bottom: 7px; line-height: 1.5; letter-spacing: -.3px; word-break: keep-all;
}
.dx-note--info .dx-note-t { color: var(--navy); }
.dx-note--warn .dx-note-t { color: var(--dx-warn); }
.dx-note--plain .dx-note-t { color: var(--ink); font-size: 16.5px; margin-bottom: 10px; }
.dx-note-p { margin: 0 0 4px; font-size: 13.5px; line-height: 1.65; color: #4a5064; word-break: keep-all; }
.dx-note--warn .dx-note-p { color: #7d3440; }
.dx-note--warn .dx-note-p b { color: var(--dx-warn); font-weight: 800; }
.dx-note--plain .dx-note-p { color: var(--gray); font-size: 14px; }
.dx-note-ul { margin: 0; padding-left: 17px; }
.dx-note-ul li { font-size: 13.5px; line-height: 1.8; color: var(--navy); word-break: keep-all; }
.dx-note-foot { margin: 9px 0 0; font-size: 13.5px; font-weight: 700; color: var(--navy); }

/* ── 하단 CTA ──────────────────────────────── */
.dx-foot {
  position: sticky; bottom: 0;
  background: #fff;
  padding: 0 0 env(safe-area-inset-bottom);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.dx-next {
  display: block; width: 100%;
  border: 0; font: inherit;
  font-size: 16.5px; font-weight: 700; letter-spacing: -.4px;
  color: #fff; background: var(--navy);
  padding: 20px 0; cursor: pointer; transition: background .2s;
}
.dx-next:hover:not(.is-off) { background: var(--navy-l); }
.dx-next.is-off { background: #c3c6dc; cursor: not-allowed; }
.dx-prog { height: 3px; background: var(--line-soft); }
.dx-prog i { display: block; height: 100%; background: var(--accent); transition: width .28s var(--ease-out); }

/* ── 인트로 ────────────────────────────────── */
.dx-card--intro { display: flex; flex-direction: column; }
.dx-mark-wrap {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center;
  min-height: 210px; padding: 16px 0;
}
.dx-mark { width: 172px; height: 172px; }
.dx-intro-facts { display: flex; gap: 8px; margin-top: 4px; }
.dx-intro-facts div {
  flex: 1 1 0; text-align: center;
  background: var(--bg-soft); border-radius: 12px; padding: 14px 6px;
}
.dx-intro-facts b { display: block; font-size: 15.5px; font-weight: 800; color: var(--navy); letter-spacing: -.4px; }
.dx-intro-facts span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--gray); }

/* ── 분석 중 ───────────────────────────────── */
.dx-loading {
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 26px; padding: 90px 20px;
  /* 질문 화면과 같은 흰 카드 위에 둔다 — 여기만 배경이 비면 단계가 끊긴 것처럼 보인다 */
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.dx-pulse { position: relative; width: 92px; height: 92px; }
.dx-pulse i {
  position: absolute; inset: 0;
  border: 2px solid var(--accent); border-radius: 50%;
  opacity: 0; animation: dxpulse 2.1s var(--ease-out) infinite;
}
.dx-pulse i:nth-child(2) { animation-delay: .7s; }
.dx-pulse i:nth-child(3) { animation-delay: 1.4s; }
.dx-pulse b {
  position: absolute; inset: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 8px 24px rgba(58, 64, 196, .38);
}
@keyframes dxpulse {
  0% { transform: scale(.4); opacity: 0; }
  35% { opacity: .75; }
  100% { transform: scale(1); opacity: 0; }
}
.dx-loading-t { margin: 0; text-align: center; font-size: 16.5px; font-weight: 700; line-height: 1.7; letter-spacing: -.4px; }
.dx-loading-s { margin: -14px 0 0; font-size: 13px; color: var(--gray-soft); }
@media (prefers-reduced-motion: reduce) { .dx-pulse i { animation: none; opacity: .3; } }

/* ── 리포트 ────────────────────────────────── */
.dx-report { padding-bottom: 30px; }
.dx-rep-head { margin: 8px 6px 16px; }
.dx-rep-eyebrow { display: block; color: var(--navy); font-weight: 700; font-size: 12px; letter-spacing: .06em; margin-bottom: 6px; }
.dx-rep-title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -1px; color: #000; }
.dx-sec {
  background: #fff; border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 22px; margin-bottom: 14px;
}
.dx-sec-h { margin: 0 0 18px; font-size: 17.5px; font-weight: 800; letter-spacing: -.6px; color: #000; }
.dx-badge {
  display: inline-block; margin-bottom: 12px;
  background: var(--card-blue); color: var(--navy);
  font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}

.dx-verdict-mark { display: block; width: 58px; height: 58px; margin: 2px auto 0; }
.dx-verdict { margin: 12px 0 22px; text-align: center; font-size: 20px; font-weight: 800; letter-spacing: -.7px; color: var(--navy); }
.dx-gauge {
  height: 9px; border-radius: 999px; position: relative;
  background: linear-gradient(90deg, var(--navy) 0%, var(--accent) 46%, #c98a9a 76%, #b0364a 100%);
}
.dx-gauge-mark {
  position: absolute; top: -5px; width: 4px; height: 19px;
  border-radius: 3px; background: #fff;
  box-shadow: 0 0 0 1.5px rgba(15, 17, 46, .32);
  transform: translateX(-50%);
}
.dx-gauge-lbl { display: flex; justify-content: space-between; margin-top: 9px; font-size: 12.5px; color: var(--gray-soft); }

.dx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dx-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card-blue); color: var(--navy);
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
}
.dx-chip svg { width: 12px; height: 12px; flex: none; }

.dx-notes { margin: 0; padding-left: 18px; }
.dx-notes li { font-size: 14px; line-height: 1.75; color: #3c4254; margin-bottom: 11px; word-break: keep-all; }
.dx-notes li::marker { color: var(--accent); }
.dx-notes li b { color: var(--navy); font-weight: 700; }
.dx-notes li.is-lead { list-style: none; margin-left: -18px; font-size: 15px; font-weight: 700; color: var(--ink); }
.dx-disc {
  margin: 16px 0 0; padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px; line-height: 1.7; color: var(--gray-soft); word-break: keep-all;
}

.dx-chart { margin-bottom: 30px; }
.dx-chart:last-of-type { margin-bottom: 10px; }
.dx-chart-h { margin: 0 0 5px; font-size: 16.5px; font-weight: 800; line-height: 1.5; letter-spacing: -.5px; }
.dx-chart-hint { margin: 0 0 16px; font-size: 12.5px; color: var(--gray-soft); }
.dx-chart-top { margin: 0 0 6px; text-align: right; font-size: 12.5px; font-weight: 700; color: var(--gray); }
.dx-chart-top b { color: var(--navy); }
.dx-bars {
  display: flex; align-items: flex-end; gap: 6px;
  /* '내 위치' 칩이 막대 위로 삐져나오므로(top:-19px) 그만큼 위를 비운다 */
  height: 138px; padding-top: 22px;
}
.dx-bar { flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.dx-bar i { display: block; background: #d3d6ec; border-radius: 5px 5px 0 0; }
.dx-bar.is-me i { background: linear-gradient(180deg, var(--accent), var(--navy)); }
.dx-bar-me {
  position: absolute; top: -19px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: #fff; white-space: nowrap;
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
}
.dx-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--gray-soft); }
.dx-src { margin: 14px 0 0; font-size: 11.5px; color: var(--gray-soft); line-height: 1.6; }

/* ── 리드 폼 ───────────────────────────────── */
.dx-lead { background: linear-gradient(160deg, #fff 0%, var(--card-blue) 100%); }
.dx-lead-p { margin: -6px 0 18px; font-size: 14px; line-height: 1.7; color: var(--gray); word-break: keep-all; }
.dx-form-row { display: flex; gap: 8px; margin-bottom: 10px; }
.dx-form-row input {
  flex: 1 1 0; min-width: 0;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  padding: 14px; font: inherit; font-size: 15px;
}
.dx-form-row input:focus { outline: none; border-color: var(--navy); }
.dx-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--gray); margin-bottom: 14px; }
.dx-agree a { color: var(--navy); text-decoration: underline; }
.dx-submit {
  display: block; width: 100%;
  border: 0; border-radius: 10px;
  background: var(--navy); color: #fff;
  font: inherit; font-size: 16px; font-weight: 700; letter-spacing: -.4px;
  padding: 18px 0; cursor: pointer; transition: background .2s;
}
.dx-submit:hover:not(:disabled) { background: var(--navy-l); }
.dx-submit:disabled { background: #c3c6dc; cursor: default; }
.dx-call {
  display: flex; align-items: center; gap: 12px;
  margin-top: 10px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; text-decoration: none;
}
.dx-call svg { width: 20px; height: 20px; flex: none; color: var(--navy); }
.dx-call b { display: block; font-size: 14.5px; color: var(--ink); letter-spacing: -.3px; }
.dx-call em { display: block; margin-top: 3px; font-size: 12.5px; font-style: normal; color: var(--gray-soft); }
.dx-done { text-align: center; padding: 26px 0; }
.dx-done svg { width: 44px; height: 44px; color: var(--navy); margin-bottom: 12px; }
.dx-done b { display: block; font-size: 17px; margin-bottom: 8px; letter-spacing: -.5px; }
.dx-done span { font-size: 14px; color: var(--gray); }

/* ── 푸터 ──────────────────────────────────── */
.dx-footer { flex: none; width: 100%; max-width: 560px; margin: 0 auto; padding: 24px 24px 40px; font-size: 11.5px; line-height: 1.8; color: var(--gray-soft); }
.dx-footer b { color: var(--gray); font-weight: 700; }
.dx-footer a { color: var(--gray); }

@media (min-width: 561px) { .dx-stage { padding-top: 24px; } }

/* 번호 안심 문구 · 통화 희망 시간 — 홈(css/style.css)과 같은 모양. js/lead.js가 채운다. */
.phone-assure { display: flex; align-items: flex-start; gap: 7px; margin: 0 0 12px; font-size: 12.5px; line-height: 1.5; color: var(--gray); word-break: keep-all; }
.phone-assure svg { flex: none; margin-top: 2px; color: var(--blue); }
.phone-assure b { color: var(--navy); font-weight: 700; }
.callpref { margin: 0 0 14px; }
.callpref-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--navy); }
.callpref-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.callpref-chip { position: relative; cursor: pointer; }
.callpref-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.callpref-chip span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-height: 48px; padding: 6px 4px; border-radius: 10px; text-align: center;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 700; line-height: 1.25;
}
.callpref-chip small { font-size: 11px; font-weight: 500; color: var(--gray-soft); }
.callpref-chip input:checked + span { border-color: var(--navy); background: var(--card-blue); color: var(--navy); }
.callpref-chip input:checked + span small { color: var(--blue); }
.callpref-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(58, 64, 196, .25); }
