/*!
 * consult.css - the "수강료 & 시간표 조회" consult wizard (section#sub2) that ends every PC page,
 * restyled in the design language of the Daegu native pages (/_dg/site.css) and the new home:
 * Pretendard, ink #0f1722, #f7f8fa band with white r16 cards, green eyebrow pill, green-filled selection,
 * amber pill CTA, r12 inputs with a green focus ring.
 *
 * Scope: every rule starts at `#sub2.dg-wizard` (class added server-side by restyleConsultWizard). The wizard sits
 * outside `main.dg`, so site.css tokens do not reach it and are re-declared here.
 *
 * The official stylesheets (global.css / sb_common.css / style.css) style this form with float layouts, `!important`
 * widths and bare-element rules. `#sub2.dg-wizard #sb-form ...` carries two ids, which outranks all of them; the few
 * official `!important` declarations are answered with `!important` here. Nothing hides or shows elements: the scripts
 * toggle `display` inline (course buttons, `.classList`, the privacy popup) and that stays in charge.
 */

#sub2.dg-wizard {
  --ink-900: #0f1722;
  --ink-800: #1a1e27;
  --ink-700: #353941;
  --ink-600: #4b5563;
  --ink-500: #6c6f75;
  --ink-300: #bec0c4;
  --paper: #ffffff;
  --band: #f7f8fa;
  --chip: #eff1f3;
  --line: #eef0f2;
  --line-2: #e1e4e8;
  --line-btn: #dadbde;
  --green-700: #0a7e54;
  --green-600: #0e9e68;
  --green-500: #16b176;
  --green-100: #e2f6ee;
  --amber-500: #feb015;
  --amber-400: #fcc659;
  --font: "Pretendard", "Pretendard Variable", system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --r-card: 16px;
  --r-field: 12px;
  --sh-2: 0 8px 12px rgba(15, 23, 33, .06);
  --sh-3: 0 4px 16px rgba(15, 23, 41, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --cols: minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.3fr);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%236c6f75' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  padding: 96px 0 104px;
  background: var(--band);
  color: var(--ink-700);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

/* the official `*` / bare-element rules (border-radius 0, 14px #666, content-box) re-stated for this subtree */
#sub2.dg-wizard *,
#sub2.dg-wizard *::before,
#sub2.dg-wizard *::after { box-sizing: border-box; }
#sub2.dg-wizard :where(div, span, p, li, label, th, td, button, input, select, h5, h6, a, legend) {
  font-family: var(--font);
  letter-spacing: 0;
}
#sub2.dg-wizard #tuition { padding: 0; background: none; }

/* ------------------------------------------------------------ frame + heading */

#sub2.dg-wizard .center-wrap {
  width: auto;
  /* 1130px of content, the same edges as the page content above (the official page is never narrower than 1300px) */
  max-width: 1178px;
  margin: 0 auto;
  padding: 0 24px;
}
#sub2.dg-wizard .center-wrap .title {
  padding: 0 0 40px;
  text-align: left;
}
#sub2.dg-wizard .center-wrap .title span {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
}
#sub2.dg-wizard .center-wrap .title h5 {
  margin: 16px 0 0;
  color: var(--ink-900);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -.01em;
  text-align: left;
}

/* ------------------------------------------------------------ step strip (one step above each column) */

#sub2.dg-wizard .center-wrap .step-box {
  display: grid;
  grid-template-columns: var(--cols);
  gap: 20px;
  padding: 0 0 16px;
  margin: 0;
}
#sub2.dg-wizard .center-wrap .step-box::before,
#sub2.dg-wizard .center-wrap .step-box::after,
#sub2.dg-wizard .center-wrap .step-box li::before { content: none; display: none; }
#sub2.dg-wizard .center-wrap .step-box li {
  float: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 4px;
  border: 0;
  background: none;
  text-align: left;
}
#sub2.dg-wizard .center-wrap .step-box li .mid {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-areas: "num title" "num desc";
  column-gap: 12px;
  row-gap: 2px;
  padding: 0;
  vertical-align: top;
}
#sub2.dg-wizard .center-wrap .step-box li .mid span {
  grid-area: num;
  position: static;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--ink-500);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: background-color 240ms var(--ease), color 240ms var(--ease), box-shadow 240ms var(--ease);
}
#sub2.dg-wizard .center-wrap .step-box li .mid h6 {
  grid-area: title;
  align-self: center;
  color: var(--ink-500);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
}
#sub2.dg-wizard .center-wrap .step-box li .mid p {
  grid-area: desc;
  margin: 0 !important;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
#sub2.dg-wizard .center-wrap .step-box li .mid p br { display: none; }

/* progress read from the real form state: done = filled green, current = ringed green, the rest stay quiet */
#sub2.dg-wizard:has(input[name="SI_BRANCH_SEQ"]:checked) .step-box .step01 .mid span,
#sub2.dg-wizard:has(#courseBtnWrap .course-button.active) .step-box .step02 .mid span,
#sub2.dg-wizard:has(input[name="VC_FIELD_CHK"]:checked) .step-box .step03 .mid span {
  background: var(--green-700);
  color: #fff;
}
#sub2.dg-wizard:not(:has(input[name="VC_FIELD_CHK"]:checked)) .step-box .step03 .mid span,
#sub2.dg-wizard:has(input[name="VC_FIELD_CHK"]:checked) .step-box .step04 .mid span {
  background: var(--green-100);
  color: var(--green-700);
  box-shadow: inset 0 0 0 2px var(--green-700);
}
#sub2.dg-wizard:has(input[name="SI_BRANCH_SEQ"]:checked) .step-box .step01 .mid h6,
#sub2.dg-wizard:has(#courseBtnWrap .course-button.active) .step-box .step02 .mid h6,
#sub2.dg-wizard:has(input[name="VC_FIELD_CHK"]:checked) .step-box .step03 .mid h6,
#sub2.dg-wizard:not(:has(input[name="VC_FIELD_CHK"]:checked)) .step-box .step03 .mid h6,
#sub2.dg-wizard:has(input[name="VC_FIELD_CHK"]:checked) .step-box .step04 .mid h6 { color: var(--ink-900); }

/* ------------------------------------------------------------ four white r16 cards */

#sub2.dg-wizard #sb-form .box {
  display: grid;
  grid-template-columns: var(--cols);
  gap: 20px;
  align-items: stretch;
}
#sub2.dg-wizard #sb-form .box::before,
#sub2.dg-wizard #sb-form .box::after { content: none; display: none; }

#sub2.dg-wizard #sb-form .box > fieldset.list01,
#sub2.dg-wizard #sb-form .box > .list02,
#sub2.dg-wizard #sb-form .box > fieldset.list03,
#sub2.dg-wizard #sb-form .box > fieldset.list04 {
  float: none;
  display: block;
  width: auto !important;
  min-width: 0;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-card) !important;
  background: var(--paper);
  box-shadow: var(--sh-2);
  vertical-align: top;
}

/* ---- 1. branches: chips, radio hidden, selected = green fill */
#sub2.dg-wizard #sb-form fieldset.list01 .form_tbl,
#sub2.dg-wizard #sb-form fieldset.list01 .form_tbl tbody,
#sub2.dg-wizard #sb-form fieldset.list01 .form_tbl tr {
  display: block;
  width: 100%;
  border: 0;
}
#sub2.dg-wizard #sb-form fieldset.list01 .form_tbl colgroup { display: none; }
#sub2.dg-wizard #sb-form fieldset.list01 .form_tbl td {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  border: 0 !important;
  background: none;
}
#sub2.dg-wizard #sb-form fieldset.list01 li {
  display: block;
  position: relative;
  width: auto;
  margin: 0;
  padding: 0;
}
#sub2.dg-wizard #sb-form fieldset.list01 li > p {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1;
}
#sub2.dg-wizard #sb-form fieldset.list01 li input[type="radio"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
#sub2.dg-wizard #sb-form fieldset.list01 li label {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink-600);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}
#sub2.dg-wizard #sb-form fieldset.list01 li label::before,
#sub2.dg-wizard #sb-form fieldset.list01 li label::after { content: none; display: none; }
#sub2.dg-wizard #sb-form fieldset.list01 li > p:hover input[type="radio"]:not(:checked) + label {
  background: var(--band);
  color: var(--ink-900);
}
#sub2.dg-wizard #sb-form fieldset.list01 li input[type="radio"]:checked + label {
  background: var(--green-700);
  box-shadow: none;
  color: #fff;
  font-weight: 600;
}
#sub2.dg-wizard #sb-form fieldset.list01 li input[type="radio"]:focus-visible + label {
  outline: 2px solid var(--green-700);
  outline-offset: 3px;
}

/* ---- 2. course categories: vertical list, the active one filled green with a chevron */
#sub2.dg-wizard #sb-form #courseBtnWrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#sub2.dg-wizard #sb-form #courseBtnWrap .course-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: auto;
  min-height: 46px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-field);
  background: transparent;
  color: var(--ink-600);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
#sub2.dg-wizard #sb-form #courseBtnWrap .course-button:hover {
  background: var(--band);
  color: var(--ink-900);
}
#sub2.dg-wizard #sb-form #courseBtnWrap .course-button.active,
#sub2.dg-wizard #sb-form #courseBtnWrap .course-button.active:hover {
  position: static;
  background: var(--green-700);
  color: #fff;
  font-weight: 600;
}
#sub2.dg-wizard #sb-form #courseBtnWrap .course-button::after { content: none; }
#sub2.dg-wizard #sb-form #courseBtnWrap .course-button.active::after {
  content: "";
  position: static;
  display: block;
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: none;
  transform: rotate(45deg);
}
#sub2.dg-wizard #sb-form #courseBtnWrap .course-button:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
}

/* ---- 3. subjects: checkbox rows (the visible list follows the active category; the scripts toggle .classList inline) */
#sub2.dg-wizard #sb-form fieldset.list03 .category_content,
#sub2.dg-wizard #sb-form fieldset.list03 .select-list01,
#sub2.dg-wizard #sb-form fieldset.list03 .select-list01 > div {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
#sub2.dg-wizard #sb-form fieldset.list03 .classList,
#sub2.dg-wizard #sb-form fieldset.list03 .classList ul {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}
#sub2.dg-wizard #sb-form fieldset.list03 .classList li {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
#sub2.dg-wizard #sb-form fieldset.list03 .classList li > p {
  position: relative;
  display: block;
  margin: 0 0 4px;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
#sub2.dg-wizard #sb-form fieldset.list03 .classList li input[type="checkbox"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: var(--r-field);
  opacity: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
#sub2.dg-wizard #sb-form fieldset.list03 .classList li label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 14px 0 46px;
  border-radius: var(--r-field);
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
#sub2.dg-wizard #sb-form fieldset.list03 .classList li label::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 6px;
  background-color: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line-btn);
  transition: background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
#sub2.dg-wizard #sb-form fieldset.list03 .classList li label::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background: var(--check) center / 20px 20px no-repeat;
  color: inherit;
  font-size: 0;
  opacity: 0;
  transition: opacity 160ms var(--ease);
}
#sub2.dg-wizard #sb-form fieldset.list03 .classList li > p:hover input[type="checkbox"]:not(:checked) + label {
  background: var(--band);
  color: var(--ink-900);
}
#sub2.dg-wizard #sb-form fieldset.list03 .classList li input[type="checkbox"]:checked + label {
  background: var(--green-100);
  color: var(--ink-900);
  font-weight: 600;
}
#sub2.dg-wizard #sb-form fieldset.list03 .classList li input[type="checkbox"]:checked + label::before {
  background-color: var(--green-700);
  box-shadow: none;
}
#sub2.dg-wizard #sb-form fieldset.list03 .classList li input[type="checkbox"]:checked + label::after { opacity: 1; }
#sub2.dg-wizard #sb-form fieldset.list03 .classList li input[type="checkbox"]:focus-visible + label {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
}

/* ---- 4. customer card */
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl,
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl tbody,
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl tr {
  display: block;
  width: 100%;
  border: 0;
}
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl colgroup { display: none; }
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl tr { margin: 0 0 18px; }
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl tr > * {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl th {
  margin: 0 0 8px;
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
/* "휴대폰<br>번호": a flex row puts the gap where the line break was, so the label reads "휴대폰 번호" on one line */
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl tr > th {
  display: flex;
  flex-wrap: wrap;
  column-gap: .25em;
}
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl th br { display: none; }

/* 관심과목 summary (script writes into td.check_text) */
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl td.check_text {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--r-field);
  background: var(--band);
  color: var(--ink-800);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl td:has(> select) {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-300);
  font-size: 15px;
}
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl .inp,
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl select {
  display: block;
  box-sizing: border-box;
  height: 48px;
  margin: 0;
  padding: 0 14px !important;
  border: 1px solid var(--line-btn);
  border-radius: var(--r-field);
  background-color: var(--paper);
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 500;
  line-height: 46px;
  text-indent: 0;
  text-align: left;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl .inp#VC_NAME { width: 100% !important; }
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl .inp.numInput {
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
  text-align: center;
  -moz-appearance: textfield;
}
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl .inp.numInput::-webkit-outer-spin-button,
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl .inp.numInput::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl select {
  flex: 0 0 82px;
  width: 82px !important;
  padding-right: 30px !important;
  background: var(--paper) var(--chevron) no-repeat right 10px center / 16px 16px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl .inp:hover,
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl select:hover { border-color: var(--ink-300); }
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl .inp:focus,
#sub2.dg-wizard #sb-form fieldset.list04 .form_tbl select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(22, 177, 118, .2);
}

/* submit = the site's primary CTA (amber pill, ink text) */
#sub2.dg-wizard #sb-form fieldset.list04 .center {
  margin: 0;
  padding: 0;
  text-align: center;
}
#sub2.dg-wizard #sb-form fieldset.list04 .sb-btn.inq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 52px;
  margin: 6px 0 0;
  padding: 0 28px !important;
  border: 1px solid transparent;
  border-radius: 999px !important;
  background: var(--amber-500);
  color: var(--ink-800) !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  cursor: pointer !important;
  transition: background-color 160ms var(--ease);
}
#sub2.dg-wizard #sb-form fieldset.list04 .sb-btn.inq-btn:hover { background: var(--amber-400); }
#sub2.dg-wizard #sb-form fieldset.list04 .sb-btn.inq-btn:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 3px;
}

/* consent: the site's checkbox + a quiet text link */
#sub2.dg-wizard #sb-form fieldset.list04 .form-check {
  gap: 12px;
  margin: 0;
  padding: 18px 0 0 !important;
}
#sub2.dg-wizard #sb-form fieldset.list04 .form-check .form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}
#sub2.dg-wizard #sb-form input#flexCheckDefault {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0 !important;
  border: 0;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line-btn);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
#sub2.dg-wizard #sb-form input#flexCheckDefault:checked {
  background: var(--green-700) var(--check) center / 20px 20px no-repeat;
  box-shadow: none;
}
#sub2.dg-wizard #sb-form input#flexCheckDefault:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
}
#sub2.dg-wizard #sb-form fieldset.list04 .privacy_chk {
  flex: none;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#sub2.dg-wizard #sb-form fieldset.list04 .privacy_chk:hover { color: var(--green-700); }

/* ------------------------------------------------------------ privacy popup (opened by the page script) */

#sub2.dg-wizard .sp-pop2 {
  box-sizing: border-box;
  /* the page script pins top:50px, which sits under the ~100px header: move it clear of the header */
  top: 116px !important;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 140px);
  padding: 40px 36px 36px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 24px 64px rgba(15, 23, 34, .28);
}
#sub2.dg-wizard .sp-pop2 #sb-form { margin: 0; }
#sub2.dg-wizard .sp-pop2 #sb-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
#sub2.dg-wizard .sp-pop2 #sb-form legend {
  margin: 0 0 20px;
  padding: 0 !important;
  color: var(--ink-900) !important;
  font-size: 22px !important;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -.01em;
}
#sub2.dg-wizard .sp-pop2 #sb-form legend::after { content: none; }
#sub2.dg-wizard .sp-pop2 #sb-form p {
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}
#sub2.dg-wizard .sp-pop2 #sb-form p b { color: var(--ink-900); font-weight: 700; }
#sub2.dg-wizard .sp-pop2 .agr-tit1 {
  display: block;
  margin: 24px 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
#sub2.dg-wizard .sp-pop2 #layerbox_close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--ink-600);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
#sub2.dg-wizard .sp-pop2 #layerbox_close:hover { background: var(--chip); color: var(--ink-900); }
#sub2.dg-wizard .sp-pop2 #layerbox_close i { font-size: 18px; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  #sub2.dg-wizard *,
  #sub2.dg-wizard *::before,
  #sub2.dg-wizard *::after { transition: none !important; }
}

/* --------------------------------------------------------------------------------------------------------------
 * .ft-menu — the green quick-link band above the footer (coffee-bean photo, heavy icon circles) restyled the same way:
 * a flat deep-green band, the 1130px content edge, bold white title, and four link tiles (r16, faint white fill) that
 * lift on hover. Same markup (dl > dt h6/p, dd ul li a img+p) and the same links. Scope: div.ft-menu.dg-ftmenu.
 * ------------------------------------------------------------------------------------------------------------ */
div.ft-menu.dg-ftmenu {
  --ft-green: #0b4a35;
  --ft-ease: cubic-bezier(.22, 1, .36, 1);
  background: var(--ft-green);
  background-image: none;
  padding: 56px 0;
  text-align: left;
  font-family: "Pretendard", "Pretendard Variable", system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}
div.ft-menu.dg-ftmenu dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 1130px;
  max-width: calc(100% - 64px);
  height: auto;
  margin: 0 auto;
}
div.ft-menu.dg-ftmenu dl::before { display: none; }
div.ft-menu.dg-ftmenu dl > * { display: block; width: auto; }
div.ft-menu.dg-ftmenu dl dt { flex: 1 1 auto; min-width: 0; padding: 0; }
div.ft-menu.dg-ftmenu dl dt h6 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
div.ft-menu.dg-ftmenu dl dt p {
  margin-top: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
div.ft-menu.dg-ftmenu dl dd { flex: none; padding: 0; }
div.ft-menu.dg-ftmenu dl dd ul { display: grid; grid-template-columns: repeat(4, 112px); gap: 12px; margin: 0; padding: 0; }
div.ft-menu.dg-ftmenu dl dd ul li { display: block; width: auto; }
div.ft-menu.dg-ftmenu dl dd ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s var(--ft-ease), border-color .2s var(--ft-ease), transform .2s var(--ft-ease);
}
div.ft-menu.dg-ftmenu dl dd ul li a:hover,
div.ft-menu.dg-ftmenu dl dd ul li a:focus-visible {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}
div.ft-menu.dg-ftmenu dl dd ul li a:focus-visible { outline: 2px solid #16b176; outline-offset: 2px; }
/* the official icons are 90px PNGs with a dark circle baked in; shown smaller they read as plain line icons */
div.ft-menu.dg-ftmenu dl dd ul li a img { display: block; width: 52px; height: 52px; margin: 0; }
div.ft-menu.dg-ftmenu dl dd ul li a p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
@media (prefers-reduced-motion: reduce) {
  div.ft-menu.dg-ftmenu dl dd ul li a { transition: none; }
}
