/* User's inline 3-field reference; orange is the submit role, Kakao yellow the chat role. */
body.developed[data-homepage]
  .hero-entry
  > :is(
    .latest-consult-heading,
    .latest-quick-action,
    .latest-route-alternatives
  ),
body.developed[data-homepage] .hero-copy > .hero-note {
  display: none !important;
}
body.developed[data-homepage] .home-consultation {
  display: block !important;
  grid-template-columns: none;
  width: 100%;
  box-sizing: border-box;
  color: #28231f;
  gap: 0;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid #eadfd7;
  scroll-margin-top: 100px;
}
body.developed[data-homepage] .home-consultation h2 {
  margin: 0 0 6px;
  color: #28231f !important;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: -0.035em;
}
body.developed[data-homepage] .home-consultation .home-consultation-intro {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #635c56;
}
body.developed[data-homepage] .home-consultation > * {
  grid-column: auto;
}
@media (min-width: 761px) {
  body.developed[data-homepage] .hero-copy h1 {
    margin: 20px 0;
    padding: 0;
    font-size: clamp(44px, 3.5vw, 60px);
    line-height: 1.15;
  }
  body.developed[data-homepage] .hero-copy .hero-deck {
    margin: 16px 0 12px;
  }
  body.developed[data-homepage] .hero-copy .hero-brand-description {
    margin: 0;
  }
  body.developed[data-homepage] .hero-copy .hero-entry {
    margin-top: 20px;
  }
  body.developed[data-homepage] .hero-photo {
    align-self: start;
    margin-top: 72px;
  }
}
.home-consultation-fields {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 12px;
}
.home-consultation-time {
  grid-column: 1 / -1;
}
.home-consultation-field {
  min-width: 0;
}
.home-consultation-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 650;
  color: #403831;
}
body.developed .home-consultation :is(input:not([type="checkbox"]), select) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid #bdb4ac;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #28231f;
  font: inherit;
  font-size: 16px;
}
.home-consultation input::placeholder {
  color: #78716b;
}
.home-consultation :is(input, select, button, a, summary):focus-visible {
  outline: 3px solid #f0642b;
  outline-offset: 3px;
}
body.developed .home-consultation [aria-invalid="true"] {
  border-color: #b42318;
}
.home-consultation-consent {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
}
.home-consultation-consent label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  cursor: pointer;
}
.home-consultation input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #f0642b;
  margin: 0;
  flex-shrink: 0;
}
.home-consultation-consent details {
  display: inline-block;
  margin-left: 8px;
  vertical-align: top;
}
.home-consultation-consent summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  cursor: pointer;
  color: #635c56;
}
.home-consultation-consent details[open] {
  display: block;
  margin: 0;
}
.home-consultation-consent details p {
  margin: 0 0 12px;
  padding: 12px;
  background: #f8f5f2;
  font-size: 12px;
  color: #4c433b;
  line-height: 1.7;
}
.home-consultation-error {
  display: block;
  color: #b42318;
  font-size: 12px;
  line-height: 1.6;
}
.home-consultation-error:empty,
.home-consultation-status:empty {
  display: none;
}
.home-consultation-status {
  margin: 10px 0;
  padding: 10px;
  background: #fff0e8;
  color: #9a3215;
  font-size: 13px;
  line-height: 1.6;
}
body.developed .home-consultation-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  font: inherit;
  font-size: 17px;
  font-weight: 750;
  color: #fff !important;
  background: #f0642b;
  cursor: pointer;
}
.home-consultation-submit:hover {
  background: #a63c12;
}
.home-consultation-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.home-consultation-environment {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: #766a60;
}
body.developed .home-consultation-kakao {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #fee500;
  color: #302419;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.home-consultation-kakao small {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 400;
}
body.developed[data-homepage] .home-consultation-kakao :is(span, small, svg) {
  background: transparent !important;
}
.home-consultation-success {
  padding: 16px 0;
}
body.developed
  .home-consultation[data-consultation-state="received"]
  > :is(h2, .home-consultation-intro, .home-consultation-kakao) {
  display: none !important;
}
body.developed .consultation-success-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #fff0e5 !important;
  color: #a63c12 !important;
  font-size: 24px;
}
body.developed .consultation-install-benefit {
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  background: #fff3e9 !important;
}
body.developed .consultation-install-benefit :is(h4, strong, small, p, div) {
  background: transparent !important;
  color: #28231f !important;
}
body.developed .consultation-install-benefit h4 {
  margin: 8px 0 12px;
  font-size: 26px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -0.035em;
}
body.developed .consultation-install-benefit h4 strong {
  color: #a63c12 !important;
}
body.developed .consultation-install-benefit > small {
  font-size: 12px;
}
body.developed .consultation-store-links {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
body.developed .consultation-store-links a {
  display: flex;
  justify-content: center;
  min-height: 48px;
  padding: 10px;
  border-radius: 8px;
  background: #28231f !important;
  color: #fff !important;
  font-size: 14px;
  text-decoration: none;
}
body.developed .consultation-dialog .consultation-success-local {
  margin-top: 16px;
  font-size: 11px;
}
body.developed .consultation-receipt-button {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #f0642b;
  border-radius: 8px;
  color: #a63c12;
  background: #fff3e9;
  font: inherit;
  cursor: pointer;
}
.consultation-receipt-button[hidden] {
  display: none !important;
}
.home-benefit-links {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  font-size: 13px;
}
body.developed .home-benefit-links > a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  align-items: center;
  color: #a63c12 !important;
  text-decoration: none;
}
.home-download-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
}
.home-download-links > span {
  color: #635c56;
}
.home-download-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-consultation-success h3 {
  margin: 0 0 10px;
  font-size: 21px;
  color: #28231f;
}
.home-consultation-success p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.6;
}
.home-consultation-success a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #a63c12;
  font-weight: 650;
}
.home-consultation [hidden] {
  display: none !important;
}
.consultation-launcher {
  display: none;
}
.consultation-dialog:not([open]) {
  display: none !important;
}
.consultation-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
html.consultation-modal-open {
  overflow: hidden;
}
html.consultation-modal-open body {
  position: fixed;
  top: var(--consultation-scroll-top);
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
body.developed .consultation-dialog {
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: 540px;
  max-height: calc(var(--consultation-viewport-height, 100dvh) - 12px);
  margin: 0 auto;
  padding: 0 20px calc(20px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  border: 0;
  border-radius: 24px 24px 0 0;
  background: #fff;
  color: #28231f;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.consultation-dialog[open] {
  animation: consultation-sheet-enter 240ms cubic-bezier(0, 0, 0.2, 1);
}
@media (min-width: 761px) {
  body.developed .consultation-dialog {
    inset: 0;
    margin: auto;
    width: min(520px, calc(100vw - 40px));
    height: fit-content;
    max-height: calc(100dvh - 40px);
    border-radius: 20px;
  }
}
.consultation-dialog::backdrop {
  background: rgb(28 22 17 / 48%);
  animation: consultation-backdrop-enter 160ms ease-out;
}
.consultation-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 56px;
  background: #fff;
  font-size: 12px;
  color: #766a60;
}
body.developed .consultation-dialog-close {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 44px;
  padding: 6px 4px 6px 12px;
  border: 0;
  background: #fff;
  color: #403831;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.consultation-dialog-close span {
  font-size: 27px;
  line-height: 1;
}
body.developed[data-homepage] .consultation-dialog .home-consultation {
  margin: 0;
  padding: 0;
  border: 0;
}
body.developed[data-homepage] .consultation-dialog .home-consultation h2 {
  margin: 4px 0 6px;
  font-size: 25px;
  line-height: 1.35;
}
body.developed[data-homepage] .consultation-dialog .home-consultation-intro {
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.6;
}
.consultation-dialog :is(button, a, summary):focus-visible {
  outline: 3px solid #f0642b;
  outline-offset: 3px;
}
body.developed .consultation-dialog .home-consultation-environment {
  color: #766a60 !important;
  background: transparent !important;
}
body.developed
  .consultation-dialog
  :is(.home-consultation-status, .home-consultation-error) {
  color: #9a3215 !important;
}
body.developed .consultation-dialog .home-consultation-success p {
  color: #635c56 !important;
}
@keyframes consultation-sheet-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes consultation-backdrop-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .consultation-dialog[open],
  .consultation-dialog::backdrop {
    animation: none;
  }
}
@media (max-width: 760px) {
  body.developed[data-homepage] .mobile-home > .consultation-launcher {
    display: block;
    order: 1;
    width: 100%;
    box-sizing: border-box;
    margin: 8px 0 24px;
    padding: 18px 18px 4px;
    border: 1px solid #efcdb7;
    border-radius: 16px;
    background: #fff5ed;
    color: #28231f;
  }
  body.developed[data-homepage] .consultation-launcher :is(p, h2, span, svg) {
    background: transparent !important;
  }
  body.developed[data-homepage]
    .consultation-launcher
    .consultation-launcher-eyebrow {
    margin: 0 0 6px;
    color: #a63c12 !important;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
  }
  body.developed[data-homepage] .consultation-launcher h2 {
    margin: 0;
    color: #28231f !important;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }
  body.developed[data-homepage]
    .consultation-launcher
    .consultation-launcher-description {
    margin: 7px 0 16px;
    font-size: 13px;
    line-height: 1.5;
    color: #635c56 !important;
  }
  body.developed[data-homepage] .consultation-launcher-button {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    min-height: 52px;
    padding: 12px 16px;
    border: 0;
    border-radius: 10px;
    color: #fff !important;
    background: #f0642b !important;
    font: inherit;
    font-size: 18px;
    font-weight: 750;
    cursor: pointer;
    transition: background-color 120ms ease-out;
  }
  body.developed[data-homepage] .consultation-launcher-button :is(span, svg) {
    color: #fff !important;
  }
  body.developed[data-homepage] .consultation-launcher-button:hover {
    background: #a63c12 !important;
  }
  body.developed[data-homepage] .consultation-launcher-kakao {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    font-size: 12px;
    color: #635c56 !important;
    background: transparent !important;
    text-decoration: none;
  }
  .consultation-launcher :is(button, a):focus-visible {
    outline: 3px solid #f0642b;
    outline-offset: 3px;
  }
  body.developed[data-homepage] .home-consultation h2 {
    font-size: 20px;
  }
  .home-consultation-intro {
    margin-bottom: 14px;
    font-size: 13px;
  }
  body.developed[data-homepage] .mobile-estimate-actions {
    display: none !important;
  }
}
