/* BohumLab /g/ redesign v2 - UI only. Backend form IDs/names/endpoints are untouched. */
:root {
  --ink: #17212b;
  --body: #46515c;
  --subtle: #667481;
  --accent: #167b59;
  --soft: #e9faf1;
  --hero-a: #e9faf1;
  --hero-b: #d7e9e3;
  --dock: #cce2da;
  --neutral: #f7f8fa;
  --line: #e6ebe8;
  --white: #fff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
body.g-redesign {
  --g-orange: #fa8d00;
  --g-orange2: #ff7200;
  --g-ink: #171717;
  --g-muted: #6f6f6f;
  --g-line: #e9e9e9;
  --g-soft: #fff8ef;
  --g-navy: #071a31;
  margin: 0;
  background: #fff;
  color: var(--g-ink);
  min-width: 0;
  font-family: "Pretendard", sans-serif;
}
body.g-redesign .g-reference {
  font-size: 16px;
  line-height: 1.5;
  overflow: hidden;
}
body.g-redesign .g-reference *,
body.g-redesign .g-reference *::before,
body.g-redesign .g-reference *::after {
  box-sizing: border-box;
}
body.g-redesign .g-reference img {
  max-width: 100%;
  object-fit: contain;
}
body.g-redesign .g-reference a {
  color: inherit;
  text-decoration: none;
}
body.g-redesign .g-reference button,
body.g-redesign .g-reference input {
  font: inherit;
}
body.g-redesign .g-reference button {
  cursor: pointer;
}
body.g-redesign .g-reference :is(button, input, a):focus-visible {
  outline: 3px solid #1d77c8;
  outline-offset: 3px;
}
body.g-redesign .g-container,
body.g-redesign .section7 .container,
body.g-redesign .g-footer :is(.container, .footer_inner) {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
body.g-redesign #pc-view #wrap {
  height: auto;
  overflow: visible;
  scroll-snap-type: none;
}
body.g-redesign .g-header {
  padding: 22px 0 14px;
  background: #fff;
  text-align: center;
}
body.g-redesign .g-header .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;
}
body.g-redesign .g-header .logo img {
  width: 100%;
  height: 64px;
  object-fit: contain;
}
body.g-redesign .g-hero {
  padding: 10px 0 70px;
  background: linear-gradient(180deg, #fff 0, #fffaf4 100%);
}
body.g-redesign .g-partner-strip {
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.035);
  overflow: hidden;
}
body.g-redesign .g-partner-strip .swiper-wrapper {
  transition-timing-function: linear !important;
}
body.g-redesign .g-partner-strip ul {
  display: flex;
  align-items: center;
  padding: 8px 0;
}
body.g-redesign .g-partner-strip li {
  flex: 0 0 20%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
}
body.g-redesign .g-partner-strip img {
  width: 170px;
  height: 42px;
}
body.g-redesign .g-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(380px, 1fr);
  gap: 26px;
  align-items: stretch;
}
body.g-redesign .g-hero-visual {
  position: relative;
  min-height: 500px;
  padding: 54px 50px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffad3e 0%, #fa8d00 48%, #ff7100 100%);
  box-shadow: 0 18px 48px rgba(250, 141, 0, 0.2);
  display: flex;
  align-items: center;
}
body.g-redesign .g-hero-copy {
  position: relative;
  z-index: 2;
  width: 66%;
}
body.g-redesign .g-hero-copy > p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.8px;
  word-break: keep-all;
}
body.g-redesign .g-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -2.8px;
  word-break: keep-all;
}
body.g-redesign .g-hero-copy h1 b {
  color: #fff;
  font-weight: 900;
}
body.g-redesign .g-hero-copy .tag {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  color: #fff;
  font-size: 16px;
}
body.g-redesign .g-hero-copy .tag li {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
body.g-redesign .g-hero-art {
  position: absolute;
  z-index: 1;
  right: -26px;
  bottom: -24px;
  width: 52%;
  height: 94%;
  pointer-events: none;
}
body.g-redesign .g-hero-art .g-calculator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.2;
  transform: rotate(-7deg);
}
body.g-redesign .g-hero-art img:not(.g-calculator) {
  position: absolute;
  right: 24px;
  bottom: 38px;
  width: 42%;
  height: auto;
  filter: drop-shadow(0 14px 15px rgba(0, 0, 0, 0.14));
}
body.g-redesign .g-form {
  background: #fff;
}
body.g-redesign .g-top-form {
  padding: 34px 30px;
  border: 1px solid #ececec;
  border-radius: 24px;
  box-shadow: 0 16px 46px rgba(24, 24, 24, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body.g-redesign .g-form > h2 {
  margin: 0 0 25px;
  color: var(--g-ink);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
}
body.g-redesign .g-form form > ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
}
body.g-redesign .g-top-form form > ul > li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
body.g-redesign .g-form .form_title {
  display: block;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
body.g-redesign .g-form input:is([type="text"], [type="tel"]) {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 10px 13px;
  background: #f7f7f7;
  border: 1px solid #e6e6e6;
  border-radius: 7px;
  color: #111;
  font-size: 16px;
  letter-spacing: -0.4px;
}
body.g-redesign .g-form input::placeholder {
  color: #aaa;
}
body.g-redesign .g-form .name_wrap {
  display: flex;
  gap: 7px;
  min-width: 0;
}
body.g-redesign .g-form .name_wrap > input {
  flex: 1;
  min-width: 0;
}
body.g-redesign .g-phone-wrap {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 7px;
}
body.g-redesign .g-phone-prefix {
  width: 100%;
  height: 48px;
  padding: 0 9px;
  border: 1px solid #e6e6e6;
  border-radius: 7px;
  background: #f7f7f7;
  color: #111;
  font-size: 15px;
}
body.g-redesign .g-phone-suffix {
  min-width: 0;
}
body.g-redesign .g-form .gender_wrap {
  display: flex;
  gap: 5px;
  flex: none;
}
body.g-redesign .g-form .gender_wrap input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
body.g-redesign .g-form .gender_wrap label {
  display: grid;
  place-items: center;
  width: 43px;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #dedede;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
body.g-redesign .g-form .gender_wrap input:checked + label {
  border-color: var(--g-orange);
  background: var(--g-orange);
  color: #fff;
}
body.g-redesign .g-inline-consents {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}
body.g-redesign .g-consent-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.5px;
}
body.g-redesign .g-consent-row > label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  cursor: pointer;
}
body.g-redesign .g-consent-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  flex: none;
  accent-color: var(--g-orange);
}
body.g-redesign .g-consent-row > button {
  flex: none;
  padding: 0;
  border: 0;
  background: none;
  color: #222;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.g-redesign .g-form-submit-row {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(180px, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-top: 21px;
}
body.g-redesign .g-form-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fff8ee;
  border: 1px solid #ffe0b8;
  line-height: 1.25;
}
body.g-redesign .g-form-date span {
  font-size: 12px;
  color: #777;
  font-weight: 600;
}
body.g-redesign .g-form-date time {
  margin-top: 4px;
  color: var(--g-orange);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
body.g-redesign .g-form .btn_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 14px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--g-orange);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.7px;
  box-shadow: 0 9px 22px rgba(250, 141, 0, 0.22);
}
body.g-redesign .g-form .btn_submit:hover {
  background: #e97f00;
}
body.g-redesign .g-form .btn_submit img {
  width: 20px;
  height: 20px;
}
body.g-redesign .g-section {
  padding: 42px 0;
}
body.g-redesign .g-section-heading {
  text-align: center;
  margin-bottom: 36px;
}
body.g-redesign .g-section-heading .g-eyebrow {
  margin: 0 0 8px;
  color: var(--g-orange);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
body.g-redesign .g-section-heading h2 {
  margin: 0;
  color: #171717;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1.5px;
  word-break: keep-all;
}
body.g-redesign .g-section-heading .g-section-sub {
  margin: 12px 0 0;
  color: #777;
  font-size: 16px;
  letter-spacing: -0.5px;
}
body.g-redesign .g-status {
  background: #fff7ec;
  padding: 58px 0;
}
body.g-redesign .g-status-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}
body.g-redesign .g-status-title h2 {
  margin: 0;
  font-size: 29px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -1px;
  word-break: keep-all;
}
body.g-redesign .g-status-title p {
  margin: 9px 0 0;
  color: #7c7c7c;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.4px;
  word-break: keep-all;
}
body.g-redesign .g-status-window {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}
body.g-redesign .g-status-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: g-status-marquee 34s linear infinite;
  will-change: transform;
}
body.g-redesign .g-status-window:hover .g-status-track {
  animation-play-state: paused;
}
body.g-redesign .g-status-card {
  width: 220px;
  min-height: 116px;
  padding: 15px 14px;
  border: 1px solid #eee;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.035);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
body.g-redesign .g-status-card .done {
  align-self: center;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #555;
  font-size: 11px;
  font-weight: 700;
}
body.g-redesign .g-status-card .name {
  margin: 0;
  color: #222;
  font-size: 18px;
  font-weight: 800;
}
body.g-redesign .g-status-card .phone {
  margin: 4px 0 0;
  color: #8b8b8b;
  font-size: 13px;
  white-space: nowrap;
}
@keyframes g-status-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 6px));
  }
}
body.g-redesign .g-legacy-verti {
  display: none !important;
}
body.g-redesign .g-services {
  background: #fff;
}
body.g-redesign .g-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
body.g-redesign .g-service-card {
  min-height: 132px;
  padding: 18px 22px;
  border: 1px solid #e6e6e6;
  border-radius: 15px;
  background: #fff;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.025);
}
body.g-redesign .g-service-card img {
  display: block;
  width: 130px;
  height: 88px;
  border-radius: 9px;
  object-fit: contain;
}
body.g-redesign .g-service-card p {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.7px;
  word-break: keep-all;
}
body.g-redesign .g-service-card p b {
  display: none;
}
body.g-redesign .g-products {
  background: #fafafa;
}
body.g-redesign .g-product-list {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
}
body.g-redesign .g-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 16px;
}
body.g-redesign .g-product-info {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr) 115px;
  gap: 22px;
  align-items: center;
  min-height: 112px;
  padding: 22px 28px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
}
body.g-redesign .g-product-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
body.g-redesign .g-product-logo img {
  display: block;
  width: 145px;
  height: 42px;
}
body.g-redesign .g-product h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.8px;
  word-break: keep-all;
}
body.g-redesign .g-product .bohum_cost {
  margin: 0;
  padding: 11px 9px;
  border-radius: 9px;
  background: #f5f5f5;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
}
body.g-redesign .g-product .bohum_cost b {
  display: block;
  color: #e34036;
  font-size: 17px;
  font-weight: 800;
}
body.g-redesign .g-product-actions {
  display: grid;
  gap: 8px;
}
body.g-redesign .g-product-actions button {
  min-height: 48px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: #222;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
body.g-redesign .g-product-actions button:first-child {
  background: var(--g-orange);
}
body.g-redesign .g-coverage {
  background: #fff;
}
body.g-redesign .g-coverage .g-heading {
  text-align: center;
  margin: 0 0 34px;
}
body.g-redesign .g-coverage .g-heading h2 {
  margin: 0;
  font-size: 37px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -1.4px;
  word-break: keep-all;
}
body.g-redesign .g-coverage .g-heading p {
  margin: 0 0 10px;
  color: #777;
  font-size: 16px;
}
body.g-redesign .g-coverage .list_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
body.g-redesign .g-coverage .list_wrap ul {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
}
body.g-redesign .g-coverage .list_wrap li {
  min-width: 150px;
  min-height: 126px;
  padding: 21px 20px;
  border-radius: 12px;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
body.g-redesign .g-coverage .list_wrap img {
  width: 54px;
  height: 54px;
}
body.g-redesign .g-coverage .list_wrap li p {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}
body.g-redesign .g-coverage .notice_wrap {
  flex: 0 0 100%;
  margin-top: 7px;
  color: #777;
  font-size: 13px;
  text-align: center;
}
body.g-redesign .g-bottom {
  padding: 18px 0 58px;
}
body.g-redesign .g-bottom-form {
  padding: 15px 20px;
  border-radius: 15px;
  background: var(--g-navy);
  color: #fff;
}
body.g-redesign .g-bottom-form > h2 {
  color: #fff;
  text-align: left;
  font-size: 19px;
  margin-bottom: 10px;
}
body.g-redesign .g-bottom-form form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px 22px;
  align-items: end;
}
body.g-redesign .g-bottom-form form > ul {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
body.g-redesign .g-bottom-form form > ul > li {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr);
  gap: 0px;
  align-items: center;
}
body.g-redesign .g-bottom-form .form_title {
  color: #fff;
  font-size: 14px;
}
body.g-redesign .g-bottom-form .name_wrap {
  gap: 4px;
}
body.g-redesign .g-bottom-form .gender_wrap label {
  width: 36px;
  height: 44px;
}
body.g-redesign .g-bottom-form input:is([type="text"], [type="tel"]) {
  height: 44px;
  background: #fff;
}
body.g-redesign .g-bottom-form .g-inline-consents {
  grid-column: 1;
  margin-top: 2px;
  grid-template-columns: auto auto;
  gap: 4px 18px;
}
body.g-redesign .g-bottom-form .g-consent-row {
  color: #fff;
  font-size: 12px;
}
body.g-redesign .g-bottom-form .g-consent-row > button {
  color: #fff;
}
body.g-redesign .g-bottom-form .btn_submit {
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 100%;
  min-height: 76px;
  border-radius: 10px;
  font-size: 18px;
}
body.g-redesign .section7 {
  padding: 34px 0;
  background: #fff;
}
body.g-redesign .section7 ul {
  margin: 0;
  padding: 0;
}
body.g-redesign .section7 li {
  margin-bottom: 5px;
  color: #696969;
  font-size: 12px;
  line-height: 1.55;
}
body.g-redesign .g-footer {
  padding: 34px 0;
  background: #282828;
  color: #aaa;
  text-align: center;
}
body.g-redesign .g-footer p,
body.g-redesign .g-footer button {
  font-size: 12px;
  line-height: 1.7;
}
body.g-redesign .g-footer button {
  border: 0;
  background: none;
  color: #aaa;
}
/* Dedicated agreement modal. Existing legacy privacy modal remains untouched for backend compatibility. */
.g-policy-modal[hidden] {
  display: none !important;
}
.g-policy-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.52);
}
.g-policy-dialog {
  position: relative;
  width: min(620px, calc(100vw - 40px));
  max-height: min(820px, calc(100vh - 40px));
  padding: 26px 26px 22px;
  background: #fff;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.g-policy-close {
  position: absolute;
  right: 20px;
  top: 13px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  color: #aaa;
}
.g-policy-title {
  margin: 0 52px 18px 0;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.8px;
}
.g-policy-scroll {
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
}
.g-policy-all {
  width: 100%;
  height: 42px;
  margin-bottom: 14px;
  border: 0;
  background: #050505;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.g-policy-choice-line {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: -2px 0 10px;
  font-size: 13px;
}
.g-policy-choice-line label {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.g-policy-choice-line input {
  accent-color: var(--g-orange, #fa8d00);
}
.g-policy-block {
  margin-bottom: 13px;
  border: 1px solid #e3e3e3;
  background: #fff;
}
.g-policy-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #fafafa;
  font-size: 16px;
  font-weight: 700;
}
.g-policy-block-body {
  max-height: 150px;
  padding: 11px 12px;
  overflow: auto;
  color: #444;
  font-size: 12px;
  line-height: 1.7;
}
.g-policy-block-body p {
  margin: 0;
}
.g-policy-notice {
  margin: 12px 0 0;
  color: #333;
  font-size: 12px;
  line-height: 1.55;
}
.g-policy-notice b {
  display: block;
  margin-bottom: 5px;
}
.g-policy-confirm {
  align-self: center;
  min-width: 180px;
  margin-top: 18px;
  padding: 13px 24px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
body.g-policy-open {
  overflow: hidden !important;
}
@media (prefers-reduced-motion: reduce) {
  body.g-redesign .g-status-track {
    animation: none;
    transform: none;
  }
  body.g-redesign .g-reference * {
    scroll-behavior: auto;
  }
}
/* Mobile source view is fixed at 720px and scaled by /common/responsive-switch.js. */
body.g-redesign #m-view .g-reference {
  font-size: 28px;
}
body.g-redesign #m-view .g-container,
body.g-redesign #m-view .section7 .container,
body.g-redesign #m-view .g-footer :is(.container, .footer_inner) {
  width: calc(100% - 64px);
}
body.g-redesign #m-view .g-header {
  padding: 30px 0 20px;
}
body.g-redesign #m-view .g-header .logo {
  width: 245px;
}
body.g-redesign #m-view .g-header .logo img {
  height: 58px;
}
body.g-redesign #m-view .g-hero {
  padding: 8px 0 70px;
}
body.g-redesign #m-view .g-partner-strip {
  margin-bottom: 32px;
  border-radius: 18px;
}
body.g-redesign #m-view .g-partner-strip ul {
  padding: 13px 0;
}
body.g-redesign #m-view .g-partner-strip li {
  flex-basis: 33.333%;
  min-height: 78px;
  padding: 10px 25px;
}
body.g-redesign #m-view .g-partner-strip img {
  width: 190px;
  height: 48px;
}
body.g-redesign #m-view .g-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
body.g-redesign #m-view .g-hero-visual {
  min-height: 410px;
  padding: 48px 38px;
  border-radius: 28px;
  align-items: flex-start;
}
body.g-redesign #m-view .g-hero-copy {
  width: 72%;
}
body.g-redesign #m-view .g-hero-copy > p {
  font-size: 28px;
  margin-bottom: 15px;
}
body.g-redesign #m-view .g-hero-copy h1 {
  font-size: 52px;
  letter-spacing: -2.5px;
  line-height: 1.17;
}
body.g-redesign #m-view .g-hero-copy .tag {
  display: none;
}
body.g-redesign #m-view .g-hero-art {
  width: 58%;
  height: 85%;
  right: -35px;
  bottom: -42px;
}
body.g-redesign #m-view .g-hero-art img:not(.g-calculator) {
  width: 46%;
  right: 35px;
  bottom: 45px;
}
body.g-redesign #m-view .g-top-form {
  padding: 42px 40px;
  border-radius: 28px;
}
body.g-redesign #m-view .g-form > h2 {
  font-size: 32px;
  margin-bottom: 30px;
}
body.g-redesign #m-view .g-top-form form > ul {
  gap: 17px;
}
body.g-redesign #m-view .g-top-form form > ul > li {
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 15px;
}
body.g-redesign #m-view .g-form .form_title {
  font-size: 26px;
}
body.g-redesign #m-view .g-form input:is([type="text"], [type="tel"]) {
  height: 64px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 25px;
}
body.g-redesign #m-view .g-form .gender_wrap label {
  width: 60px;
  height: 64px;
  font-size: 25px;
}
body.g-redesign #m-view .g-phone-wrap {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
}
body.g-redesign #m-view .g-phone-prefix {
  height: 64px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 23px;
}
body.g-redesign #m-view .g-inline-consents {
  gap: 10px;
  margin-top: 25px;
}
body.g-redesign #m-view .g-consent-row {
  gap: 8px;
  font-size: 22px;
}
body.g-redesign #m-view .g-consent-row input[type="checkbox"] {
  width: 24px;
  height: 24px;
}
body.g-redesign #m-view .g-form-submit-row {
  grid-template-columns: 1fr 1.45fr;
  gap: 15px;
  margin-top: 28px;
}
body.g-redesign #m-view .g-form-date {
  padding: 12px 16px;
  border-radius: 12px;
}
body.g-redesign #m-view .g-form-date span {
  font-size: 18px;
}
body.g-redesign #m-view .g-form-date time {
  font-size: 23px;
}
body.g-redesign #m-view .g-form .btn_submit {
  min-height: 76px;
  border-radius: 12px;
  font-size: 26px;
}
body.g-redesign #m-view .g-form .btn_submit img {
  width: 25px;
  height: 25px;
}
body.g-redesign #m-view .g-section {
  padding: 82px 0;
}
body.g-redesign #m-view .g-section-heading {
  margin-bottom: 38px;
}
body.g-redesign #m-view .g-section-heading .g-eyebrow {
  font-size: 24px;
}
body.g-redesign #m-view .g-section-heading h2 {
  font-size: 42px;
  letter-spacing: -2px;
}
body.g-redesign #m-view .g-section-heading .g-section-sub {
  font-size: 23px;
}
body.g-redesign #m-view .g-status {
  padding: 60px 0;
}
body.g-redesign #m-view .g-status-layout {
  display: block;
}
body.g-redesign #m-view .g-status-title {
  text-align: center;
  margin-bottom: 34px;
}
body.g-redesign #m-view .g-status-title h2 {
  font-size: 36px;
}
body.g-redesign #m-view .g-status-title p {
  font-size: 21px;
}
body.g-redesign #m-view .g-status-window {
  width: 100%;
  mask-image: none;
  -webkit-mask-image: none;
}
body.g-redesign #m-view .g-status-track {
  gap: 12px;
  animation-duration: 38s;
}
body.g-redesign #m-view .g-status-card {
  width: 150px;
  min-height: 128px;
  padding: 13px 10px;
  border-radius: 14px;
}
body.g-redesign #m-view .g-status-card .done {
  font-size: 15px;
  padding: 4px 9px;
  margin-bottom: 8px;
}
body.g-redesign #m-view .g-status-card .name {
  font-size: 24px;
}
body.g-redesign #m-view .g-status-card .phone {
  font-size: 17px;
}
body.g-redesign #m-view .g-service-list {
  grid-template-columns: 1fr;
  gap: 18px;
}
body.g-redesign #m-view .g-service-card {
  min-height: 150px;
  padding: 20px 28px;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 28px;
  border-radius: 17px;
}
body.g-redesign #m-view .g-service-card img {
  width: 165px;
  height: 106px;
}
body.g-redesign #m-view .g-service-card p {
  font-size: 30px;
}
body.g-redesign #m-view .g-product-list {
  gap: 20px;
}
body.g-redesign #m-view .g-product {
  display: block;
  padding: 26px;
  border: 1px solid #e3e3e3;
  border-radius: 17px;
  background: #fff;
}
body.g-redesign #m-view .g-product-info {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px 25px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
}
body.g-redesign #m-view .g-product-logo {
  grid-row: 1 / span 2;
}
body.g-redesign #m-view .g-product-logo img {
  width: 185px;
  height: 58px;
}
body.g-redesign #m-view .g-product h3 {
  font-size: 29px;
}
body.g-redesign #m-view .g-product .bohum_cost {
  justify-self: start;
  padding: 8px 14px;
  font-size: 20px;
}
body.g-redesign #m-view .g-product .bohum_cost b {
  display: inline;
  margin-left: 8px;
  font-size: 23px;
}
body.g-redesign #m-view .g-product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 22px;
}
body.g-redesign #m-view .g-product-actions button {
  min-height: 60px;
  border-radius: 8px 0 0 8px;
  font-size: 23px;
}
body.g-redesign #m-view .g-product-actions button:last-child {
  border-radius: 0 8px 8px 0;
}
body.g-redesign #m-view .g-coverage .g-heading {
  margin-bottom: 38px;
}
body.g-redesign #m-view .g-coverage .g-heading h2 {
  font-size: 40px;
}
body.g-redesign #m-view .g-coverage .g-heading p {
  font-size: 23px;
}
body.g-redesign #m-view .g-coverage .list_wrap {
  gap: 15px;
}
body.g-redesign #m-view .g-coverage .list_wrap ul {
  width: 100%;
  gap: 15px;
}
body.g-redesign #m-view .g-coverage .list_wrap li {
  flex: 1;
  min-width: 0;
  min-height: 160px;
  padding: 22px 10px;
}
body.g-redesign #m-view .g-coverage .list_wrap img {
  width: 68px;
  height: 68px;
}
body.g-redesign #m-view .g-coverage .list_wrap li p {
  font-size: 25px;
}
body.g-redesign #m-view .g-coverage .notice_wrap {
  font-size: 20px;
}
body.g-redesign #m-view .g-bottom {
  padding: 20px 0 58px;
}
body.g-redesign #m-view .g-bottom-form {
  padding: 36px 30px;
  border-radius: 18px;
}
body.g-redesign #m-view .g-bottom-form > h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 27px;
}
body.g-redesign #m-view .g-bottom-form form {
  display: block;
}
body.g-redesign #m-view .g-bottom-form form > ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
body.g-redesign #m-view .g-bottom-form form > ul > li {
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
}
body.g-redesign #m-view .g-bottom-form .form_title {
  font-size: 24px;
}
body.g-redesign #m-view .g-bottom-form input:is([type="text"], [type="tel"]) {
  height: 61px;
}
body.g-redesign #m-view .g-bottom-form .gender_wrap label {
  width: 57px;
  height: 61px;
}
body.g-redesign #m-view .g-bottom-form .g-inline-consents {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 22px;
}
body.g-redesign #m-view .g-bottom-form .g-consent-row {
  font-size: 21px;
}
body.g-redesign #m-view .g-bottom-form .btn_submit {
  width: 100%;
  min-height: 74px;
  margin-top: 24px;
  font-size: 26px;
}
body.g-redesign #m-view .section7 {
  padding: 42px 0;
}
body.g-redesign #m-view .section7 li {
  font-size: 20px;
  line-height: 1.65;
  margin-bottom: 7px;
}
body.g-redesign #m-view .g-footer {
  padding: 45px 0;
}
body.g-redesign #m-view .g-footer p,
body.g-redesign #m-view .g-footer button {
  font-size: 19px;
}
@media (max-width: 920px) {
  .g-policy-modal {
    padding: 16px;
  }
  .g-policy-dialog {
    width: min(94vw, 620px);
    max-height: 90vh;
    padding: 22px 18px 18px;
  }
  .g-policy-title {
    font-size: 20px;
  }
  .g-policy-block-body {
    max-height: 135px;
  }
}

/* g-ui-hotfix-v4:start */
/* Cumulative /g/ UI hotfix. UI/CSS only; form names, IDs and backend endpoints are untouched. */

/* Lina SVG contains unusually large empty viewBox margins. Enlarge only Lina visually. */
body.g-redesign .g-partner-strip li {
  overflow: visible;
}
body.g-redesign .g-partner-strip img[alt="라이나생명"] {
  transform: scale(2.1) !important;
  transform-origin: center center !important;
}
body.g-redesign .g-product-logo {
  overflow: visible;
}
body.g-redesign .g-product-logo img[alt="라이나생명"] {
  transform: scale(2.05) !important;
  transform-origin: center center !important;
}

/* Real-time application list must never pause on hover. */
body.g-redesign .g-status-window:hover .g-status-track {
  animation-play-state: running !important;
}

/* Agreement choices inside the generated [보기] modal: square/static check UI. */
.g-policy-choice-line input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid #c8c8c8;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
  vertical-align: middle;
  position: relative;
  flex: 0 0 18px;
}
.g-policy-choice-line input[type="radio"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}
.g-policy-choice-line input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Prevent legacy/fixed-width policy source markup from clipping when cloned into the new modal. */
.g-policy-block-body,
.g-policy-block-body * {
  box-sizing: border-box;
  max-width: 100%;
}
.g-policy-block-body :is(p, div, span, li, td, th, a, strong, b) {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
.g-policy-block-body table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse;
}
.g-policy-block-body img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
}

/* Mobile: use a compact viewport-native [보기] modal. */
@media (max-width: 920px) {
  .g-policy-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh;
    padding: 12px !important;
    place-items: center !important;
    overflow: hidden !important;
    overscroll-behavior: contain;
  }
  .g-policy-dialog {
    width: calc(100vw - 32px) !important;
    max-width: 430px !important;
    max-height: calc(100dvh - 28px) !important;
    padding: 16px 12px 12px !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.24) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .g-policy-close {
    top: 6px !important;
    right: 6px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 27px !important;
    color: #222 !important;
  }
  .g-policy-title {
    margin: 1px 36px 10px 1px !important;
    text-align: left !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    letter-spacing: -0.45px !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }
  .g-policy-scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .g-policy-all {
    height: 38px !important;
    margin-bottom: 8px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
  }
  .g-policy-block {
    width: 100% !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }
  .g-policy-block-head {
    display: block !important;
    width: 100% !important;
    padding: 8px 9px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
  }
  .g-policy-choice-line {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 7px 0 0 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
  .g-policy-choice-line label {
    gap: 5px !important;
    white-space: nowrap !important;
  }
  .g-policy-choice-line input[type="radio"] {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
  .g-policy-choice-line input[type="radio"]:checked::after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
  }
  .g-policy-block-body {
    width: 100% !important;
    max-height: 94px !important;
    padding: 8px 9px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
    -webkit-overflow-scrolling: touch;
  }
  .g-policy-block-body p,
  .g-policy-block-body li,
  .g-policy-block-body div,
  .g-policy-block-body span {
    font-size: 11px !important;
    line-height: 1.55 !important;
  }
  .g-policy-notice {
    margin-top: 8px !important;
    font-size: 10.5px !important;
    line-height: 1.48 !important;
    overflow-wrap: anywhere !important;
  }
  .g-policy-confirm {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    margin-top: 10px !important;
    padding: 0 14px !important;
    border-radius: 7px !important;
    font-size: 15px !important;
    flex: 0 0 44px !important;
  }

  /* Existing SMS verification modal */
  body.g-redesign .cost_popup_wrap {
    width: calc(100vw - 28px) !important;
    max-width: 520px !important;
    max-height: calc(100dvh - 28px) !important;
    padding: 54px 18px 20px !important;
    border-radius: 16px !important;
    transform: translate(-50%, -50%) !important;
    line-height: 1.4 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  body.g-redesign .cost_popup_wrap_title {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 60px !important;

    margin: 0 !important;
    padding: 0 55px 0 22px !important;
    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;

    background: #eee !important;

    font-family: "Pretendard", sans-serif !important;
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1 !important;

    text-align: left !important;
  }
  body.g-redesign .cost_popup_wrap .inputform_2_title {
    margin: 14px 0 18px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  body.g-redesign .cost_popup_wrap > .close {
    width: 36px !important;
    height: 36px !important;
    top: 10px !important;
    right: 10px !important;
  }
  body.g-redesign .cost_popup_wrap > .close > div {
    height: 26px !important;
    top: 5px !important;
  }
  body.g-redesign .form-set .inputform_2_inner {
    width: 100% !important;
  }
  body.g-redesign .form-set .inputform_2_space {
    margin: 0 0 18px !important;
    padding: 0 !important;
  }
  body.g-redesign .form-set div span.phone_num {
    display: block !important;
    width: auto !important;
    margin-bottom: 3px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }
  body.g-redesign .form-set .phone_num_sub {
    display: block !important;
    margin-bottom: 8px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }
  body.g-redesign .form-set .num_check {
    display: flex !important;
    align-items: stretch !important;
    gap: 7px !important;
    width: 100% !important;
  }
  body.g-redesign .form-set #cellverify_auth_code,
  body.g-redesign .form-set #mobile2_num_check {
    min-width: 0 !important;
    width: auto !important;
    flex: 1 1 auto !important;
    height: 48px !important;
    padding: 0 10px !important;
    font-size: 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 7px !important;
    background: #fff !important;
  }
  body.g-redesign .form-set #mobile1_num_check {
    flex: 0 0 74px !important;
    width: 74px !important;
    height: 48px !important;
    padding: 0 6px !important;
    font-size: 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 7px !important;
    background: #fff !important;
  }
  body.g-redesign .form-set #send_data,
  body.g-redesign .form-set #send_data_price,
  body.g-redesign .form-set #re_send_date {
    flex: 0 0 78px !important;
    width: 78px !important;
    height: 48px !important;
    padding: 0 6px !important;
    font-size: 14px !important;
    border-radius: 7px !important;
  }
  body.g-redesign .cost_btn {
    width: 100% !important;
    height: 48px !important;
    line-height: 48px !important;
    font-size: 16px !important;
    border-radius: 7px !important;
  }

  /* Legacy privacy / required-information modal fallback */
  body.g-redesign .pri-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: none !important;
  }
  body.g-redesign .pri-modal .pri-container {
    width: calc(100vw - 24px) !important;
    max-width: 520px !important;
    max-height: calc(100dvh - 24px) !important;
    padding: 18px 14px !important;
    overflow-y: auto !important;
    border-radius: 14px !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Completion/end popup */
  body.g-redesign #ep-wrap .ep-container,
  body.g-redesign #m-ep-wrap .ep-container {
    width: min(92vw, 520px) !important;
    max-height: 92dvh !important;
  }
  body.g-redesign #ep-wrap .ep-container img,
  body.g-redesign #m-ep-wrap .ep-container img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 92dvh !important;
    object-fit: contain !important;
  }
}

/* Extra-small phones: reduce chrome further so content never gets cut off. */
@media (max-width: 380px), (max-height: 640px) and (max-width: 920px) {
  .g-policy-dialog {
    width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 16px) !important;
    padding: 12px 9px 9px !important;
    border-radius: 12px !important;
  }
  .g-policy-title {
    font-size: 15.5px !important;
    margin-right: 32px !important;
    margin-bottom: 7px !important;
  }
  .g-policy-close {
    top: 3px !important;
    right: 3px !important;
    width: 31px !important;
    height: 31px !important;
    font-size: 24px !important;
  }
  .g-policy-all {
    height: 34px !important;
    font-size: 12.5px !important;
    margin-bottom: 6px !important;
  }
  .g-policy-block {
    margin-bottom: 6px !important;
  }
  .g-policy-block-head {
    padding: 7px !important;
    font-size: 12px !important;
  }
  .g-policy-choice-line {
    margin-top: 5px !important;
    font-size: 11px !important;
    gap: 10px !important;
  }
  .g-policy-block-body {
    max-height: 72px !important;
    padding: 6px 7px !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
  }
  .g-policy-block-body p,
  .g-policy-block-body li,
  .g-policy-block-body div,
  .g-policy-block-body span {
    font-size: 10px !important;
    line-height: 1.45 !important;
  }
  .g-policy-notice {
    margin-top: 6px !important;
    font-size: 9.5px !important;
    line-height: 1.4 !important;
  }
  .g-policy-confirm {
    height: 40px !important;
    flex-basis: 40px !important;
    margin-top: 7px !important;
    font-size: 14px !important;
  }
}
/* g-ui-hotfix-v4:end */

/* g-ui-conversion-v5:start */
/* 2026-09-10 conversion/UI revision for /g/{cancer,dental,jong,silbi} only. */

/* Hero: larger copy and per-insurance 3D art can intentionally break the orange card edge. */
body.g-redesign .g-hero-grid {
  overflow: visible;
}
body.g-redesign .g-hero-visual {
  overflow: visible;
  isolation: isolate;
}
body.g-redesign .g-hero-copy {
  z-index: 3;
  width: 68%;
  transform: translateY(-6px);
}
body.g-redesign .g-hero-copy > p {
  font-size: 23px;
}
body.g-redesign .g-hero-copy h1 {
  font-size: 58px;
  line-height: 1.15;
}
body.g-redesign .g-hero-art {
  z-index: 2;
  right: -38px;
  width: 50%;
  height: 78%;
}
body.g-redesign .g-hero-art .g-calculator {
  inset: auto;
  right: 38px;
  bottom: 34px;
  width: calc(100% - 38px);
  height: calc(100% - 34px);
}
body.g-redesign .g-hero-art img:not(.g-calculator) {
  right: 0;
  bottom: 0;
  width: 84%;
  max-width: none;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.16));
}

/* Update badge. PC lives in the application card; mobile lives to the right of the centered logo. */
body.g-redesign .g-update-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f3f8fc;
  color: #8a929a;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.25px;
  white-space: nowrap;
}
body.g-redesign .g-update-badge i {
  color: #c7cdd2;
  font-style: normal;
  font-weight: 400;
}
body.g-redesign .g-update-badge time {
  color: #3994cf;
  font-weight: 800;
}
body.g-redesign #pc-view .g-top-form {
  position: relative;
  padding-top: 62px;
}
body.g-redesign #pc-view .g-form-update {
  position: absolute;
  top: 15px;
  right: 20px;
}

/* CTA pairs: both labels execute the original submit path; only the presentation is new. */
body.g-redesign .g-cta-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
body.g-redesign .g-cta-pair .btn_submit {
  min-width: 0;
  line-height: 1.25;
}
body.g-redesign .g-cta-pair .btn_submit span {
  min-width: 0;
  word-break: keep-all;
  white-space: nowrap;
}
body.g-redesign .g-top-form .g-form-submit-row.g-cta-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}
body.g-redesign .g-top-form .g-cta-pair .btn_submit {
  min-height: 54px;
  padding: 11px 7px;
  font-size: 15px;
  gap: 5px;
}
body.g-redesign .g-top-form .g-cta-pair .btn_submit img {
  width: 17px;
  height: 17px;
}
body.g-redesign .g-submit-secondary {
  background: #ff7800 !important;
}
body.g-redesign .g-submit-secondary:hover {
  background: #eb6d00 !important;
}

/* Only required privacy/third-party consent remains visible. */
body.g-redesign .g-inline-consents {
  grid-template-columns: 1fr;
}

/* Bottom form: same 010 dropdown as the top form and a vertically split CTA column on PC. */
body.g-redesign .g-bottom-form form {
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 10px 16px;
  align-items: stretch;
}
body.g-redesign .g-bottom-form .g-inline-consents {
  grid-template-columns: 1fr;
  gap: 4px;
}
body.g-redesign .g-bottom-phone-wrap {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 5px;
}
body.g-redesign .g-bottom-form .g-phone-prefix {
  height: 44px;
  padding: 0 6px;
  background: #fff;
  font-size: 13px;
}
body.g-redesign .g-bottom-cta {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}
body.g-redesign .g-bottom-form .g-bottom-cta .btn_submit {
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 8px 7px;
  border-radius: 8px;
  font-size: 14.5px;
  gap: 5px;
}
body.g-redesign .g-bottom-form .g-bottom-cta .btn_submit img {
  width: 16px;
  height: 16px;
}
body.g-redesign #pc-view .g-bottom-cta .g-submit-secondary {
  order: 1;
}
body.g-redesign #pc-view .g-bottom-cta .btn_submit[id] {
  order: 2;
}

/* Service section: preserve the existing image slots, update wording without awkward Korean breaks. */
body.g-redesign .g-service-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
body.g-redesign .g-service-copy strong {
  display: block;
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.6px;
  word-break: keep-all;
  overflow-wrap: normal;
}
body.g-redesign .g-service-copy span {
  display: block;
  color: #4d4d4d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.35px;
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (max-width: 920px) {
  body.g-redesign #m-view .g-header {
    padding: 24px 0 16px;
  }
  body.g-redesign #m-view .g-mobile-header-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
  }
  body.g-redesign #m-view .g-header .logo {
    width: 188px;
  }
  body.g-redesign #m-view .g-header .logo img {
    height: 50px;
  }
  body.g-redesign #m-view .g-header-update {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    gap: 5px;
    padding: 7px 8px;
    font-size: 15px;
    letter-spacing: -0.45px;
  }

  body.g-redesign #m-view .g-hero-visual {
    overflow: visible;
    min-height: 410px;
    padding: 46px 38px;
  }
  body.g-redesign #m-view .g-hero-copy {
    width: 69%;
    transform: translateY(-4px);
  }
  body.g-redesign #m-view .g-hero-copy > p {
    font-size: 29px;
  }
  body.g-redesign #m-view .g-hero-copy h1 {
    font-size: 55px;
    line-height: 1.14;
  }
  body.g-redesign #m-view .g-hero-art {
    right: -30px;
    bottom: -32px;
    width: 55%;
    height: 76%;
  }
  body.g-redesign #m-view .g-hero-art .g-calculator {
    right: 30px;
    bottom: 32px;
    width: calc(100% - 30px);
    height: calc(100% - 32px);
  }
  body.g-redesign #m-view .g-hero-art img:not(.g-calculator) {
    right: 0;
    bottom: 0;
    width: 90%;
  }

  body.g-redesign #m-view .g-top-form .g-form-submit-row.g-cta-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }
  body.g-redesign #m-view .g-top-form .g-cta-pair .btn_submit {
    min-height: 70px;
    padding: 11px 10px;
    font-size: 22px;
    gap: 7px;
  }
  body.g-redesign #m-view .g-top-form .g-cta-pair .btn_submit img {
    width: 22px;
    height: 22px;
  }

  body.g-redesign #m-view .g-service-card {
    grid-template-columns: 165px minmax(0, 1fr);
  }
  body.g-redesign #m-view .g-service-copy {
    gap: 8px;
  }
  body.g-redesign #m-view .g-service-copy strong {
    font-size: 27px;
    line-height: 1.3;
    letter-spacing: -1px;
  }
  body.g-redesign #m-view .g-service-copy span {
    font-size: 19px;
    line-height: 1.5;
    letter-spacing: -0.7px;
  }

  body.g-redesign #m-view .g-bottom-phone-wrap {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 9px;
  }
  body.g-redesign #m-view .g-bottom-form .g-phone-prefix {
    height: 61px;
    padding: 0 10px;
    font-size: 22px;
    border-radius: 8px;
  }
  body.g-redesign #m-view .g-bottom-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    gap: 10px;
    margin-top: 22px;
  }
  body.g-redesign #m-view .g-bottom-cta .btn_submit[id] {
    order: 1;
  }
  body.g-redesign #m-view .g-bottom-cta .g-submit-secondary {
    order: 2;
  }
  body.g-redesign #m-view .g-bottom-form .g-bottom-cta .btn_submit {
    min-height: 70px !important;
    margin: 0 !important;
    padding: 10px 8px !important;
    font-size: 21px !important;
    line-height: 1.25 !important;
    gap: 6px !important;
  }
  body.g-redesign #m-view .g-bottom-form .g-bottom-cta .btn_submit img {
    width: 21px;
    height: 21px;
  }

  /* View/verification modals are viewport-native, centered, and scroll internally instead of clipping. */
  body.g-redesign #cost_background {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
  }
  body.g-redesign .cost_popup_wrap {
    position: fixed !important;
    top: 50dvh !important;
    left: 50vw !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: calc(100vw - 20px) !important;
    max-width: 500px !important;
    max-height: calc(100dvh - 20px) !important;
    margin: 0 !important;
    padding: 72px 16px 16px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 14px !important;
    -webkit-overflow-scrolling: touch;
  }
  .g-policy-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    display: grid !important;
    place-items: center !important;
    padding: 10px !important;
  }
  .g-policy-modal[hidden] {
    display: none !important;
  }
  .g-policy-dialog {
    width: calc(100vw - 20px) !important;
    max-width: 430px !important;
    max-height: calc(100dvh - 20px) !important;
    margin: 0 !important;
  }
}

@media (max-width: 380px) {
  body.g-redesign #m-view .g-header .logo {
    width: 174px;
  }
  body.g-redesign #m-view .g-header-update {
    right: -4px;
    gap: 3px;
    padding: 6px 6px;
    font-size: 13.5px;
    letter-spacing: -0.6px;
  }
  body.g-redesign #m-view .g-top-form .g-cta-pair .btn_submit,
  body.g-redesign #m-view .g-bottom-form .g-bottom-cta .btn_submit {
    font-size: 19px !important;
  }
}
/* g-ui-conversion-v5:end */

/* g-form-privacy-v8:start */
/* /g/{cancer,dental,jong,silbi} 페이지에만 적용. 기존 마케팅 UI/동작 코드는 소스에 보존한다. */

/* 마케팅 선택 UI는 g-no-marketing이 붙은 4개 /g/ 페이지에서만 보이지 않게 한다. */
body.g-redesign.g-no-marketing .pri-modal .pri-content-box.optional-box {
  display: none !important;
}
body.g-redesign.g-no-marketing [data-g-consent="marketing"],
body.g-redesign.g-no-marketing [data-g-policy="marketing"] {
  display: none !important;
}

/* [보기] 모달: transform/스케일된 부모와 무관하게 실제 viewport 중앙에 고정. */
.g-policy-modal[hidden] {
  display: none !important;
}
.g-policy-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000000 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  overflow: hidden !important;
  background: rgba(0, 0, 0, 0.52) !important;
}
.g-policy-dialog {
  box-sizing: border-box !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(620px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: calc(100dvh - 24px) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 22px 22px 18px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 14px !important;
}
.g-policy-title {
  flex: 0 0 auto !important;
  margin: 0 44px 12px 0 !important;
  max-width: 100% !important;
  font-size: 21px !important;
  line-height: 1.35 !important;
  letter-spacing: -0.65px !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}
.g-policy-scroll {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
}
.g-policy-block,
.g-policy-block-head,
.g-policy-block-body,
.g-policy-block-body * {
  box-sizing: border-box !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.g-policy-block-head,
.g-policy-block-body,
.g-policy-block-body :is(p, div, span, li, td, th, a, strong, b) {
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}
.g-policy-block-body table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}
.g-policy-choice-line {
  flex-wrap: wrap !important;
}
.g-policy-confirm {
  flex: 0 0 auto !important;
  margin-top: 10px !important;
}

/* 하단 폼 h2는 HTML에서 제거하지만 재적용 안전용 fallback. */
body.g-redesign .g-bottom-form > h2 {
  display: none !important;
}

/* PC: 입력/동의 2x2 + 오른쪽 CTA 2개를 상하 반반. */
@media (min-width: 921px) {
  body.g-redesign .g-bottom-form {
    padding: 20px 24px !important;
  }
  body.g-redesign .g-bottom-form form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) clamp(
        240px,
        24vw,
        330px
      ) !important;
    grid-template-rows: repeat(2, minmax(58px, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 12px !important;
    align-items: stretch !important;
  }
  body.g-redesign .g-bottom-form form > ul {
    display: contents !important;
  }
  body.g-redesign .g-bottom-form form > ul > li {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 9px !important;
    align-items: center !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  body.g-redesign .g-bottom-form form > ul > li:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  body.g-redesign .g-bottom-form form > ul > li:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  body.g-redesign .g-bottom-form form > ul > li:nth-child(3) {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  body.g-redesign .g-bottom-form .form_title {
    width: auto !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }
  body.g-redesign .g-bottom-form .name_wrap,
  body.g-redesign .g-bottom-form .g-phone-wrap {
    width: 100% !important;
    min-width: 0 !important;
  }
  body.g-redesign .g-bottom-form input:is([type="text"], [type="tel"]),
  body.g-redesign .g-bottom-form .gender_wrap label,
  body.g-redesign .g-bottom-form .g-phone-prefix {
    height: 52px !important;
  }
  body.g-redesign .g-bottom-form input:is([type="text"], [type="tel"]) {
    min-width: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: 14px !important;
  }
  body.g-redesign .g-bottom-form .gender_wrap label {
    width: 42px !important;
    min-width: 42px !important;
  }
  body.g-redesign .g-bottom-phone-wrap {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 7px !important;
  }
  body.g-redesign .g-bottom-form .g-phone-prefix {
    padding: 0 8px !important;
    font-size: 14px !important;
  }
  body.g-redesign .g-bottom-form .g-inline-consents {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-self: stretch !important;
    min-width: 0 !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 4px !important;
  }
  body.g-redesign .g-bottom-form .g-consent-row {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
  }
  body.g-redesign .g-bottom-form .g-consent-row label {
    min-width: 0 !important;
  }
  body.g-redesign .g-bottom-form .g-consent-row span {
    white-space: normal !important;
    word-break: keep-all !important;
  }
  body.g-redesign .g-bottom-cta {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    min-height: 0 !important;
    margin: 0 !important;
    align-self: stretch !important;
  }
  body.g-redesign .g-bottom-form .g-bottom-cta .btn_submit {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 9px !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    gap: 8px !important;
  }
  body.g-redesign .g-bottom-cta .g-submit-secondary {
    order: 1 !important;
  }
  body.g-redesign .g-bottom-cta .btn_submit[id] {
    order: 2 !important;
  }
  body.g-redesign .g-bottom-form .g-bottom-cta .btn_submit img {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
  }
}
@media (min-width: 921px) and (max-width: 1100px) {
  body.g-redesign .g-bottom-form {
    padding: 18px !important;
  }
  body.g-redesign .g-bottom-form form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 230px !important;
    column-gap: 12px !important;
  }
  body.g-redesign .g-bottom-form form > ul > li {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 6px !important;
  }
  body.g-redesign .g-bottom-form .form_title {
    font-size: 12.5px !important;
  }
  body.g-redesign .g-bottom-form .g-bottom-cta .btn_submit {
    font-size: 16px !important;
    padding-inline: 9px !important;
  }
}

/* 모바일은 기존 폼 배치를 유지하고 모달만 작은 화면까지 안정적으로 축소. */
@media (max-width: 920px) {
  .g-policy-dialog {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(460px, calc(100vw - 14px)) !important;
    max-width: calc(100vw - 14px) !important;
    max-height: calc(100dvh - 12px) !important;
    padding: 14px 11px 10px !important;
    border-radius: 12px !important;
  }
  .g-policy-title {
    margin: 0 36px 8px 0 !important;
    font-size: clamp(15px, 4.2vw, 18px) !important;
    line-height: 1.35 !important;
  }
  .g-policy-close {
    top: 4px !important;
    right: 4px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 25px !important;
  }
  .g-policy-all {
    height: 36px !important;
    margin-bottom: 7px !important;
    font-size: 13px !important;
  }
  .g-policy-block {
    margin-bottom: 7px !important;
  }
  .g-policy-block-head {
    padding: 8px !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
  }
  .g-policy-choice-line {
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-top: 6px !important;
    font-size: 11.5px !important;
  }
  .g-policy-block-body {
    max-height: min(100px, 19dvh) !important;
    padding: 7px 8px !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
  }
  .g-policy-block-body :is(p, div, span, li, td, th, a, strong, b) {
    font-size: inherit !important;
    line-height: inherit !important;
  }
  .g-policy-notice {
    font-size: 10px !important;
    line-height: 1.45 !important;
  }
  .g-policy-confirm {
    height: 42px !important;
    min-height: 42px !important;
    font-size: 14px !important;
  }
}
@media (max-width: 380px) {
  .g-policy-dialog {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    max-height: calc(100dvh - 8px) !important;
    padding: 12px 8px 8px !important;
    border-radius: 10px !important;
  }
  .g-policy-title {
    margin-right: 31px !important;
    font-size: 14.5px !important;
    letter-spacing: -0.35px !important;
  }
  .g-policy-close {
    top: 2px !important;
    right: 2px !important;
    width: 29px !important;
    height: 29px !important;
    font-size: 23px !important;
  }
  .g-policy-all {
    height: 33px !important;
    font-size: 12px !important;
  }
  .g-policy-block-head {
    padding: 7px !important;
    font-size: 11.5px !important;
  }
  .g-policy-choice-line {
    font-size: 10.5px !important;
    gap: 8px !important;
  }
  .g-policy-block-body {
    max-height: min(82px, 17dvh) !important;
    padding: 6px !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
  }
  .g-policy-notice {
    font-size: 9.5px !important;
  }
  .g-policy-confirm {
    height: 39px !important;
    min-height: 39px !important;
    margin-top: 7px !important;
    font-size: 13px !important;
  }
}
/* g-form-privacy-v8:end */
