/**
 * Quick booking modal (new3)
 * - Scoped with dialog.able-qbm / .able-qbm__*
 * - Single scroll area: .able-qbm__body
 */

/* Legacy global neutralize (inside modal scope only) */
dialog.able-qbm,
dialog.able-qbm * {
  box-sizing: border-box;
}

dialog.able-qbm section,
dialog.able-qbm ul,
dialog.able-qbm ol,
dialog.able-qbm p,
dialog.able-qbm h2 {
  margin: 0;
  padding: 0;
  text-align: left;
  background: transparent;
}

/*
 * new3 전용: 하단 `.db_wrap`에 빠른예약 버튼이 추가되어 접힌 높이가 달라짐.
 * 루트 `index.html`은 `/css/new_main.css`만 쓰므로 공통 파일의 `.db_wrap`은 건드리지 않고 여기서만 오프셋 조정.
 */
.db_wrap {
  bottom: -355px;
  box-sizing: border-box;
}

.db_wrap .able-qbm-trigger {
  width: 100%;
  margin-top: 10px;
  padding: 12px 16px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.db_wrap .able-qbm-trigger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/*
 * 하단 고정 `.db_wrap`(z-index: 100000)이 네이버 등 일부 모바일 WebView에서
 * `<dialog>::backdrop`보다 위에 그려져, 닫은 뒤에도 어두운 막이 바·본문 사이에 남는 것처럼 보일 수 있음.
 * 수동 백드롭 + 모달 열림 시 db_wrap 스택 하향으로 정리.
 */
body.able-qbm-active {
  overflow: hidden;
}

body.able-qbm-active .db_wrap {
  z-index: 90;
  pointer-events: none;
}

.able-qbm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.68);
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}

.able-qbm-backdrop[hidden] {
  display: none !important;
  pointer-events: none;
}

/*
 * 닫힘 동기화: [open]·.able-qbm--open 모두 없거나 force-hidden일 때 숨김.
 * - PHP 초기 마크업에 `able-qbm--force-hidden`이 박혀 있어 JS 로드 전까지 첫 화면 노출이 차단됨.
 * - JS가 모달 열 때 force-hidden을 제거하고 [open]/.able-qbm--open을 적용 → base flex가 자연 발현.
 * - flex/정렬은 base에 두어야 모바일 모달 layout(특히 panel flex 분배)이 안정적으로 동작.
 *
 * 셀렉터를 두 규칙으로 분리한 이유:
 *  `:open` 가상클래스는 Chrome 115+/Safari 16.4+ 만 지원. 구버전(모바일 인앱 브라우저 등)에서는
 *  unknown pseudo-class로 처리되어, 동일 selector list 안에 두면 규칙 전체가 dropping되어
 *  닫힘 규칙이 무효화됨(첫 화면 노출·X 닫기 안 됨 원인).
 *  `[open]` 속성은 표준이라 모든 브라우저에서 안전.
 */
dialog.able-qbm:not([open]):not(.able-qbm--open),
dialog.able-qbm.able-qbm--force-hidden {
  display: none !important;
}

/* `:open` 가상클래스 — 모던 브라우저용 보강. 미지원 시 이 규칙만 dropping됨. */
dialog.able-qbm:not(:open):not(.able-qbm--open) {
  display: none !important;
}

dialog.able-qbm {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  --qbm-available-h: calc(100vh - 24px);
  --qbm-available-h: calc(100dvh - 24px);
  --qbm-available-w: calc(100vw - 20px);

  width: min(520px, var(--qbm-available-w));
  max-width: min(520px, var(--qbm-available-w));
  max-height: var(--qbm-available-h);
  margin: auto;
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  border: 0;
  background: transparent;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

dialog.able-qbm::backdrop {
  display: none;
}

dialog.able-qbm .able-qbm__panel {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  padding: 20px 18px 16px;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

dialog.able-qbm .able-qbm__loadingOverlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(2px);
}

dialog.able-qbm .able-qbm__loadingOverlay[hidden] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden;
}

dialog.able-qbm .able-qbm__loadingSpinner {
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  border: 3px solid #e5e7eb;
  border-top-color: #f0002c;
  border-radius: 50%;
  animation: able-qbm-modal-spin 0.7s linear infinite;
}

dialog.able-qbm .able-qbm__loadingText {
  color: #374151;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

dialog.able-qbm .able-qbm__chrome {
  position: relative;
  z-index: 40;
  flex-shrink: 0;
}

dialog.able-qbm .able-qbm__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

dialog.able-qbm .able-qbm__title {
  font-size: clamp(1.05rem, 4.3vw, 1.2rem);
  font-weight: 800;
  color: #111;
  letter-spacing: -0.01em;
}

dialog.able-qbm .able-qbm__close {
  position: relative;
  z-index: 41;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #f3f4f6;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

dialog.able-qbm .able-qbm__close .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

dialog.able-qbm .able-qbm__close:hover {
  background: #e9ecef;
  color: #111;
}

dialog.able-qbm .able-qbm__close:focus-visible {
  outline: 2px solid #f0002c;
  outline-offset: 2px;
}

dialog.able-qbm .able-qbm__progress {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  margin: 0 0 14px;
  padding: 0 2px;
  pointer-events: none;
  user-select: none;
}

dialog.able-qbm .able-qbm__progressItem {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 2px 2px;
  margin: 0;
  text-align: center;
  color: #9ca3af;
  font-size: clamp(0.65rem, 2.6vw, 0.76rem);
  font-weight: 600;
  line-height: 1.2;
}

/* 단계 사이 연결선(진행 트랙 느낌, 클릭 불가 유지) */
dialog.able-qbm .able-qbm__progressItem:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 13px;
  left: calc(50% + 16px);
  right: calc(-50% + 16px);
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
  pointer-events: none;
}

/* 완료된 구간 연결선만 강조(JS가 ol에 data-active-step 설정) */
dialog.able-qbm .able-qbm__progress[data-active-step='2'] .able-qbm__progressItem:nth-child(1)::after,
dialog.able-qbm .able-qbm__progress[data-active-step='3'] .able-qbm__progressItem:nth-child(1)::after,
dialog.able-qbm .able-qbm__progress[data-active-step='3'] .able-qbm__progressItem:nth-child(2)::after,
dialog.able-qbm .able-qbm__progress[data-active-step='4'] .able-qbm__progressItem:nth-child(1)::after,
dialog.able-qbm .able-qbm__progress[data-active-step='4'] .able-qbm__progressItem:nth-child(2)::after,
dialog.able-qbm .able-qbm__progress[data-active-step='4'] .able-qbm__progressItem:nth-child(3)::after {
  background: #f0002c;
}

dialog.able-qbm .able-qbm__progressNode {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: #9ca3af;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

dialog.able-qbm .able-qbm__progressNumber {
  display: block;
}

dialog.able-qbm .able-qbm__progressText {
  display: block;
  max-width: 100%;
  word-break: keep-all;
}

dialog.able-qbm .able-qbm__progressItem--done {
  color: #6b7280;
}

dialog.able-qbm .able-qbm__progressItem--done .able-qbm__progressNode {
  border-color: #f0002c;
  background: #fff;
  color: #f0002c;
}

dialog.able-qbm .able-qbm__progressItem--done .able-qbm__progressNumber {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

dialog.able-qbm .able-qbm__progressItem--done .able-qbm__progressNode::after {
  content: '';
  display: block;
  width: 6px;
  height: 10px;
  margin-top: -2px;
  border: solid #f0002c;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

dialog.able-qbm .able-qbm__progressItem--current {
  color: #111827;
  font-weight: 700;
}

dialog.able-qbm .able-qbm__progressItem--current .able-qbm__progressNode {
  border-color: #f0002c;
  background: #f0002c;
  color: #fff;
}

dialog.able-qbm .able-qbm__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

dialog.able-qbm .able-qbm__stepPanel {
  display: none;
}

dialog.able-qbm .able-qbm__stepPanel--current {
  display: block;
}

dialog.able-qbm .able-qbm__lede {
  margin-bottom: 14px;
  color: #4b5563;
  font-size: clamp(0.88rem, 3.2vw, 0.95rem);
  line-height: 1.5;
}

/* step1 안내 박스(가입 전 핵심 안내 + 체험 프로그램 안내) */
dialog.able-qbm .able-qbm__guide {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-left: 3px solid #f0002c;
  border-radius: 10px;
  background: #f9fafb;
}

dialog.able-qbm .able-qbm__guideTitle {
  margin: 0 0 8px;
  color: #f0002c;
  font-size: 0.84rem;
  font-weight: 700;
}

dialog.able-qbm .able-qbm__guideText {
  margin: 0;
  color: #374151;
  font-size: 0.86rem;
  line-height: 1.55;
  /* 전역 `html { word-break: keep-all }`을 모달 안내 박스 안에서는 풀어준다.
   * keep-all이 적용되면 한글이 어절(공백) 단위로만 끊겨 좁은 폭에서 빈 공간이 많이 생김. */
  word-break: normal;
  overflow-wrap: break-word;
}

dialog.able-qbm .able-qbm__guideText strong {
  color: #111;
  font-weight: 700;
}

dialog.able-qbm .able-qbm__guideText--sub {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e5e7eb;
  color: #4b5563;
  font-size: 0.82rem;
}

/* sub가 연달아 올 때는 같은 그룹으로 보이도록 점선·padding 제거하고 간격만 남김. */
dialog.able-qbm .able-qbm__guideText--sub + .able-qbm__guideText--sub {
  margin-top: 6px;
  padding-top: 0;
  border-top: 0;
}

dialog.able-qbm .able-qbm__field {
  margin-bottom: 12px;
}

dialog.able-qbm .able-qbm__field:last-child {
  margin-bottom: 4px;
}

dialog.able-qbm .able-qbm__label {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  font-size: 0.85rem;
  font-weight: 700;
}

dialog.able-qbm .able-qbm__notice {
  margin: -1px 0 7px;
  color: #b54708;
  font-size: 0.76rem;
  line-height: 1.4;
}

dialog.able-qbm .able-qbm__control {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: 1rem;
  font-family: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

dialog.able-qbm .able-qbm__control:focus {
  border-color: #f0002c;
  box-shadow: 0 0 0 3px rgba(240, 0, 44, 0.12);
  outline: none;
}

dialog.able-qbm .able-qbm__control.is-invalid {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

dialog.able-qbm .able-qbm__dropdown {
  position: relative;
}

dialog.able-qbm .able-qbm__dropdownTrigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  padding-right: 44px;
  text-align: left;
}

dialog.able-qbm .able-qbm__dropdownIcon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

dialog.able-qbm .able-qbm__dropdownList {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  display: none;
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  padding: 6px;
}

dialog.able-qbm .able-qbm__dropdown.is-open .able-qbm__dropdownList {
  display: block;
}

dialog.able-qbm .able-qbm__dropdown.is-open .able-qbm__dropdownIcon {
  transform: translateY(-50%) rotate(180deg);
}

dialog.able-qbm .able-qbm__dropdownOption {
  width: 100%;
  border: 0;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  text-align: left;
  color: #374151;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
}

dialog.able-qbm .able-qbm__dropdownOption:hover,
dialog.able-qbm .able-qbm__dropdownOption:focus-visible {
  background: #f3f4f6;
  outline: none;
}

dialog.able-qbm .able-qbm__dropdownOption.is-selected {
  background: #fff3f5;
  color: #f0002c;
  font-weight: 700;
}

dialog.able-qbm .able-qbm__error {
  min-height: 18px;
  margin-top: 6px;
  color: #d92d20;
  font-size: 0.8rem;
  line-height: 1.35;
}

dialog.able-qbm .able-qbm__slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

dialog.able-qbm .able-qbm__slotsHint {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 8px;
  text-align: center;
  color: #6b7280;
  font-size: 0.86rem;
  line-height: 1.4;
}

dialog.able-qbm .able-qbm__slot {
  min-height: 48px;
  padding: 10px 6px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

dialog.able-qbm .able-qbm__slot--selected {
  border-color: #f0002c;
  background: #fff3f5;
  color: #f0002c;
}

dialog.able-qbm .able-qbm__summary {
  list-style: none;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
}

dialog.able-qbm .able-qbm__summaryRow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 0.9rem;
}

dialog.able-qbm .able-qbm__summaryRow:last-child {
  margin-bottom: 0;
}

dialog.able-qbm .able-qbm__summaryRow span {
  color: #6b7280;
}

dialog.able-qbm .able-qbm__summaryRow strong {
  color: #111;
  font-weight: 700;
  text-align: right;
  word-break: break-all;
}

dialog.able-qbm .able-qbm__paymentWidget {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

dialog.able-qbm .able-qbm__paymentWidget[hidden] {
  display: none;
}

dialog.able-qbm .able-qbm__paymentWidgetSection {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

dialog.able-qbm .able-qbm__paymentWidgetTitle {
  margin: 0 0 10px;
  color: #111827;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
}

dialog.able-qbm .able-qbm__paymentMethods,
dialog.able-qbm .able-qbm__paymentAgreement {
  min-height: 56px;
}

dialog.able-qbm .able-qbm__paymentHint {
  margin-top: 10px;
  color: #6b7280;
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: center;
}

dialog.able-qbm .able-qbm__privacyLayer {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: inherit;
  overflow: hidden;
}

dialog.able-qbm .able-qbm__privacyLayer[hidden] {
  display: none !important;
}

dialog.able-qbm .able-qbm__privacyHeader {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #e5e7eb;
}

dialog.able-qbm .able-qbm__privacyTitle {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #111;
}

dialog.able-qbm .able-qbm__privacyBody {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px 20px;
  color: #374151;
  font-size: 0.82rem;
  line-height: 1.65;
}

dialog.able-qbm .able-qbm__privacyBody > p {
  margin: 0 0 14px;
}

dialog.able-qbm .able-qbm__privacyBody dl {
  margin: 0;
  padding: 0;
}

dialog.able-qbm .able-qbm__privacyBody dt {
  margin: 14px 0 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #111;
}

dialog.able-qbm .able-qbm__privacyBody dd {
  margin: 0 0 8px;
  padding: 0;
  word-break: keep-all;
}

dialog.able-qbm .able-qbm__privacyDismissWrap {
  display: flex;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

dialog.able-qbm .able-qbm__privacyDismissWrap .able-qbm__btn {
  flex: 1;
}

dialog.able-qbm .able-qbm__field--agree {
  margin-top: 4px;
}

dialog.able-qbm .able-qbm__agreeLabel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.4;
  cursor: pointer;
}

dialog.able-qbm .able-qbm__agreeCheck {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: #f0002c;
  cursor: pointer;
}

dialog.able-qbm .able-qbm__agreeLink {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: #f0002c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

dialog.able-qbm .able-qbm__footer {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #ececec;
}

dialog.able-qbm .able-qbm__btn {
  flex: 1;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

dialog.able-qbm .able-qbm__btn--concealed {
  visibility: hidden;
  pointer-events: none;
}

dialog.able-qbm .able-qbm__btn--ghost {
  background: #f3f4f6;
  color: #4b5563;
}

dialog.able-qbm .able-qbm__btn--primary {
  background: #f0002c;
  color: #fff;
}

@keyframes able-qbm-modal-spin {
  to {
    transform: rotate(360deg);
  }
}

dialog.able-qbm .able-qbm__btn:focus-visible {
  outline: 2px solid #f0002c;
  outline-offset: 2px;
}

/* Breakpoints
 * - 0~379: extra small phone
 * - 380~479: default mobile base
 * - 480~639: large phone/small tablet
 * - 640+: tablet+
 * - short viewport: max-height 520
 */
@media (max-width: 379px) {
  dialog.able-qbm .able-qbm__slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  dialog.able-qbm .able-qbm__panel {
    border-radius: 14px;
    padding: 16px 14px 14px;
  }
}

@media (min-width: 480px) {
  dialog.able-qbm {
    padding: 24px;
  }

  dialog.able-qbm .able-qbm__panel {
    border-radius: 18px;
    padding: 22px 22px 18px;
  }
}

@media (min-width: 640px) {
  dialog.able-qbm .able-qbm__progressItem {
    font-size: 0.76rem;
    gap: 7px;
  }

  dialog.able-qbm .able-qbm__progressNode {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  dialog.able-qbm .able-qbm__progressItem:not(:last-child)::after {
    top: 14px;
    left: calc(50% + 17px);
    right: calc(-50% + 17px);
  }
}

@media (max-height: 520px) {
  dialog.able-qbm {
    --qbm-available-h: calc(100vh - 12px);
    --qbm-available-h: calc(100dvh - 12px);
    padding: max(6px, env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-right, 0px)) max(6px, env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
  }

  dialog.able-qbm .able-qbm__panel {
    border-radius: 12px;
    padding: 12px 14px 12px;
  }

  dialog.able-qbm .able-qbm__header {
    margin-bottom: 8px;
  }

  dialog.able-qbm .able-qbm__progress {
    margin-bottom: 10px;
    gap: 2px;
  }

  dialog.able-qbm .able-qbm__progressItem {
    gap: 4px;
    font-size: 0.64rem;
  }

  dialog.able-qbm .able-qbm__progressNode {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }

  dialog.able-qbm .able-qbm__progressItem:not(:last-child)::after {
    top: 11px;
    left: calc(50% + 14px);
    right: calc(-50% + 14px);
  }

  dialog.able-qbm .able-qbm__progressItem--done .able-qbm__progressNode::after {
    width: 5px;
    height: 8px;
    margin-top: -1px;
  }

  dialog.able-qbm .able-qbm__lede {
    margin-bottom: 10px;
    font-size: 0.84rem;
  }

  dialog.able-qbm .able-qbm__guide {
    padding: 10px 12px;
    margin-bottom: 12px;
  }

  dialog.able-qbm .able-qbm__guideText {
    font-size: 0.82rem;
  }

  dialog.able-qbm .able-qbm__guideText--sub {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 0.78rem;
  }

  dialog.able-qbm .able-qbm__btn {
    min-height: 44px;
    padding: 10px;
  }
}
