/* c-front 영역: 원본에 없는 규칙만(불러오는 중 · React가 더한 요소 등). 원본 요소를 덮어쓰지 않는다. */
/* fu2 2-1: 신청서 주소 줄 [주소 검색] = new-sm 주소 검색(WorkplaceLocationPicker) · 버튼은 옆 아이콘 버튼(.ap-icon-b)과 같은 모양 · 검색은 화면 안 레이어 */
.x-body .ap-li .workplace-location {
  display: contents;
}
.x-body .ap-li .wl-search,
.pl-addr .wl-search {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #f4f5f7;
  color: var(--ui-ink-2, #4e5968);
  cursor: pointer;
}
.x-body .ap-li .wl-search:hover,
.pl-addr .wl-search:hover {
  background: #e8ebed;
  color: var(--ui-ink, #191f28);
}
.x-body .ap-li .wl-search:focus-visible,
.pl-addr .wl-search:focus-visible {
  outline: 2px solid var(--ui-brand, #4c00ff);
  outline-offset: 2px;
}
/* 스테이지 QA #3: 주소 줄 포커스 = 줄 겉 테두리 하나(안쪽 [주소 검색] 링 안 겹침) · 다음 줄 · 목록 둥근 모서리(.ap-list overflow hidden)에 안 잘림 */
.x-body .ap-li--in:focus-within {
  z-index: 1;
}
.x-body .ap-li--in .ap-in:focus-visible,
.x-body .ap-li--in .wl-search:focus-visible {
  outline: 0; /* market.css .market-app :is(input, button):focus-visible(0,2,1)을 덮는다 · 줄 ::after가 포커스를 보인다 */
}
.x-body .ap-list > .ap-li--in:first-child::after {
  border-top-left-radius: 17px;
  border-top-right-radius: 17px;
}
.x-body .ap-list > .ap-li--in:last-child::after,
.x-body .ap-list > .ap-brs:last-child > .ap-li--in:last-child::after,
.x-body .ap-list > .bi-detail:last-child > .ap-li--in:last-child::after {
  border-bottom-left-radius: 17px;
  border-bottom-right-radius: 17px;
}
.x-body .ap-li .wl-search > span,
.pl-addr .wl-search > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.x-body .ap-br .ap-li .wl-search,
.x-body .ap-br-l1 .wl-search {
  width: 36px;
  height: 36px;
  background: none;
}
.x-body :is(.ap-li, .ap-br-l1):has(.wl-manual) {
  flex-wrap: wrap;
}
.x-body .ap-li .wl-manual,
.pl-addr .wl-manual {
  flex: 1 0 100%;
  display: grid;
  gap: 8px;
  padding: 4px 0 2px;
}
.x-body .ap-li .wl-manual > input,
.pl-addr .wl-manual > input {
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: #f4f5f7;
  font: 600 16px / 1.3 var(--ui-font, inherit);
  color: var(--ui-ink, #191f28);
}
.x-body .ap-li .wl-manual-error,
.pl-addr .wl-manual-error {
  margin: 0;
  color: var(--ui-red, #f04452);
  font-size: 13.5px;
}
.x-body .ap-li .wl-manual-actions,
.pl-addr .wl-manual-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.x-body .ap-li .wl-manual-actions > button,
.pl-addr .wl-manual-actions > button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #f2f4f6;
  color: var(--ui-ink-2, #4e5968);
  font: 600 14px / 1 var(--ui-font, inherit);
  cursor: pointer;
}
.x-body .ap-li .wl-manual-actions > button:last-child,
.pl-addr .wl-manual-actions > button:last-child {
  background: var(--ui-brand, #4c00ff);
  color: #fff;
}
.x-body .ap-li .wl-dialog,
.pl-addr .wl-dialog {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--ui-ink, #191f28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}
.x-body .ap-li .wl-dialog::backdrop,
.pl-addr .wl-dialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
}
.x-body .ap-li .wl-dialog header,
.pl-addr .wl-dialog header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid #f2f4f6;
}
.x-body .ap-li .wl-dialog header > h2,
.pl-addr .wl-dialog header > h2 {
  margin: 0;
  font: 700 18px / 1.3 var(--ui-font, inherit);
}
.x-body .ap-li .wl-dialog header > button,
.pl-addr .wl-dialog header > button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f4f6;
  color: var(--ui-ink-3, #8b95a1);
  cursor: pointer;
}
.x-body .ap-li .wl-postcode-state,
.pl-addr .wl-postcode-state {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 24px;
  background: #fff;
  text-align: center;
  color: var(--ui-ink-3, #8b95a1);
}
.x-body .ap-li .wl-postcode-state > p,
.pl-addr .wl-postcode-state > p {
  margin: 0;
  font: 600 16px / 1.4 var(--ui-font, inherit);
  color: var(--ui-ink, #191f28);
}
.x-body .ap-li .wl-postcode-state > span,
.pl-addr .wl-postcode-state > span {
  font-size: 14px;
}
.x-body .ap-li .wl-postcode-state > button,
.pl-addr .wl-postcode-state > button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--ui-brand, #4c00ff);
  color: #fff;
  font: 700 15px / 1 var(--ui-font, inherit);
  cursor: pointer;
}
.x-body
  .ap-li
  .wl-postcode-shell[data-frame-mounted="true"]
  .wl-postcode-state[role="status"] {
  inset: auto 16px 16px;
  flex-direction: row;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}
.x-body
  .ap-li
  .wl-postcode-shell[data-frame-mounted="true"]
  .wl-postcode-state[role="status"]
  > span {
  display: none;
}
.x-body .ap-li .wl-dialog footer,
.pl-addr .wl-dialog footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-top: 1px solid #f2f4f6;
}
.x-body .ap-li .wl-dialog footer > button,
.pl-addr .wl-dialog footer > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #f2f4f6;
  color: var(--ui-ink-2, #4e5968);
  font: 600 14px / 1 var(--ui-font, inherit);
  cursor: pointer;
}
@media (max-width: 600px) {
  .x-body .ap-li .wl-dialog,
  .pl-addr .wl-dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
  }
  .x-body .ap-li .wl-dialog footer,
  .pl-addr .wl-dialog footer {
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }
}
/* 스테이지 QA #5: 신청 확인 「이용약관에 동의해요」 줄 세로 가운데 · [이용약관] 링크에 걸린 .hd-apg .hd-ap-link margin-top 12px · padding 8px을 이 줄에서 뺀다(c-deal.css는 옛 .hd-ap-terms에만 걸림) */
.x-body .ap-terms .hd-ap-tlink {
  margin: 0;
  padding: 0;
  line-height: inherit;
}

/* QA 31: 지도 확대 · 축소 · 내 사업장으로(오른쪽 아래) · 확대 뒤 한 손가락 끌기 = 지도 이동 */
.x-body .hc-map {
  touch-action: pan-y;
}
.x-body .hc-map.is-zoomed {
  touch-action: none;
}
.x-body .hc-map.is-drag {
  cursor: grabbing;
}
.x-body .hc-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px var(--ui-line-strong, #e5e8eb),
    0 2px 8px rgba(2, 32, 71, 0.08);
  background: var(--ui-line-strong, #e5e8eb);
}
.x-body .hc-zoom-b {
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--ui-surface, #fff);
  color: var(--ui-ink, #191f28);
  font: 600 20px / 1 var(--ui-font, inherit);
  cursor: pointer;
}
.x-body .hc-zoom-b:hover {
  background: var(--ui-press, rgba(2, 32, 71, 0.05));
}
.x-body .hc-zoom-b:focus-visible {
  outline: 2px solid var(--ui-brand, #4c00ff);
  outline-offset: -2px;
}

/* QA 24: 신청서 희망 업체 여러 곳(곳마다 [빼기]) · 원본 .hd-apg-hope 상자 안 목록 */
.x-body .hd-apg-hopes {
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.x-body .hd-apg-hopes > li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* 11-11 윤종운 시안: 홈 배너 맨 앞 혜택 장 · 휴대폰 = 오른쪽 아래 세로 카드 · 761 이상 = 가로 두 칸 */
.x-body .hd-slide--perk {
  background:
    radial-gradient(90% 120% at 100% 0%, #c6e2ff 0%, rgba(198, 226, 255, 0) 60%),
    linear-gradient(135deg, #eaf3ff 0%, #e3effd 55%, #f2f8ff 100%);
  color: var(--ui-ink, #191f28);
}
.x-body .hd-slide--perk .hd-ban-t {
  color: var(--ui-ink, #191f28);
}
.x-body .hd-perk {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 14px 30px rgba(40, 90, 160, 0.12),
    inset 0 0 0 1px rgba(60, 120, 200, 0.08);
}
.x-body .hd-perk-i {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ui-ink-2, #4e5968);
  font: 600 14px / 1.3 var(--ui-font, inherit);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.x-body .hd-perk-i img {
  flex: none;
  width: 32px;
  height: 32px;
  transform-origin: 50% 80%;
  animation: hd-gift 3.2s ease-in-out infinite;
}
.x-body .hd-perk-or {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ui-ink, #191f28);
  font: 700 13px / 1 var(--ui-font, inherit);
}
.x-body .hd-perk-or::before,
.x-body .hd-perk-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dbe6f3;
}
.x-body .hd-slide--perk.is-cur .hd-perk-i {
  animation: hd-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.x-body .hd-slide--perk.is-cur .hd-perk-i:last-child {
  animation-delay: 0.15s;
}
@media (min-width: 761px) {
  .x-body .hd-perk {
    right: 36px;
    top: 50%;
    bottom: auto;
    width: 340px;
    height: 200px;
    transform: translateY(-50%);
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0;
    border-radius: 22px;
  }
  .x-body .hd-perk-i {
    flex: 1;
    flex-direction: column;
    gap: 14px;
    color: var(--ui-ink-body, #333d4b);
    font-size: 17px;
  }
  .x-body .hd-perk-i img {
    width: 72px;
    height: 72px;
  }
  .x-body .hd-perk-or {
    flex-direction: column;
    align-self: stretch;
    padding: 24px 0;
    font-size: 15px;
  }
  .x-body .hd-perk-or::before,
  .x-body .hd-perk-or::after {
    width: 1px;
    height: auto;
  }
}
/* 사업장 등록 경로 1: 신청 첫 단계(사업자 정보 없음) = 가입 ③ 흐름 · 찾는 중 문서 칸 · 칩 = 가입 화면 값 그대로(보라 = 안전인 #4c00ff) */
.x-body .bi-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.x-body .bi-chip {
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f2f4f6;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 26px;
  color: #4e5968;
  white-space: nowrap;
}
.x-body .bi-err {
  color: #ff3b30;
}
.x-body .bi-link {
  display: block;
  margin: 12px auto 0;
  padding: 8px 12px;
  border: 0;
  background: none;
  font: 600 14.5px / 1 var(--ui-font, inherit);
  color: var(--ui-ink-2, #4e5968);
  cursor: pointer;
}
.x-body .bi-doc {
  padding: 16px 16px 6px;
  border-radius: 18px;
  background: #f9fafb;
}
.x-body .bi-doc-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.x-body .bi-doc-h b {
  font-size: 15px;
  letter-spacing: -0.02em;
}
.x-body .bi-doc-h span {
  font-size: 14px;
  font-weight: 700;
  color: #4c00ff;
}
.x-body .bi-doc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
}
.x-body .bi-doc-row + .bi-doc-row {
  border-top: 1px solid #eceef1;
}
.x-body .bi-doc-row > b {
  flex: none;
  width: 92px;
  font-size: 14px;
  white-space: nowrap;
}
.x-body .bi-doc-row > span:not(.bi-doc-ok) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  color: #8b95a1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.x-body .bi-doc-row > span.is-got {
  font-weight: 600;
  color: #191f28;
}
.x-body .bi-doc-row > span.is-miss {
  color: #4e5968;
}
.x-body .bi-doc-ok {
  display: inline-flex;
  flex: none;
  color: #4c00ff;
}
.x-body .bi-spin {
  box-sizing: border-box;
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid #e4dcff;
  border-top-color: #4c00ff;
  border-radius: 50%;
  animation: bi-spin 0.8s linear infinite;
}
@keyframes bi-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 440px) {
  .x-body .bi-doc {
    padding: 16px 14px 4px;
  }
  .x-body .bi-doc-row > b {
    width: 84px;
    font-size: 13px;
  }
}
/* 사업장 등록 경로 1: 사업장 고르기 줄(.ap-li 버튼) · 고른 줄 = 연보라 바탕 + 보라 체크(가입 ③ 고르기 칸 값) */
.x-body .bi-row {
  width: 100%;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.x-body .bi-row.is-on {
  background: linear-gradient(140deg, #e9e2ff 0%, #e6edff 62%, #f2f5ff 100%);
}
.x-body .bi-row .ap-li-ic {
  color: #4c00ff;
}
.x-body .bi-ck {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border-radius: 50%;
  color: transparent;
  box-shadow: inset 0 0 0 1.5px #d1d6db;
}
.x-body .bi-row.is-on .bi-ck {
  background: #4c00ff;
  color: #fff;
  box-shadow: none;
}
/* 사업장 등록 경로 1: 상세 주소 단계 = 사업장 줄 + 바로 아래 입력 줄이 한 덩어리 */
.x-body .bi-detail + .bi-detail {
  border-top: 1px solid #eceef1;
}
/* 사업장 등록 경로 1: 주소 줄 [검색하기] 글자 버튼 · 공용 아이콘 버튼(.wl-search)은 숨김(검색 창은 그 버튼이 연다) */
.x-body .bi-detail .wl-search {
  display: none;
}
.x-body .bi-detail .bi-search {
  flex: none;
  margin-left: auto;
}
/* 회원가입 직후 · 사업장 추가 쪽 머리 이름(신청 화면 진행 막대 자리) */
.x-body .bi-page-t {
  font: 700 17px / 1.3 var(--ui-font, inherit);
  color: var(--ui-ink, #191f28);
}
/* 사업장 관리: 상세 주소 없는 줄 표시 · 주소 고치기 창 */
.x-body .pl-nodetail-tag {
  padding: 2px 6px;
  border-radius: 6px;
  background: #fff4e5;
  font: 600 11.5px / 1.3 var(--ui-font, inherit);
  font-style: normal;
  color: #c2410c;
}
.pl-addr {
  display: grid;
  gap: 16px;
}
.pl-addr-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pl-addr-row .ui-input {
  flex: 1;
  min-width: 0;
}
.pl-addr-row .wl-search {
  display: none;
}
