html:has(.enhev-form-dialog[open]) { overflow: hidden; }
.enhev-form-dialog, .enhev-form-dialog * { box-sizing: border-box; }
dialog.enhev-form-dialog { width: min(700px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 28px; background: #fff; color: #202027; box-shadow: 0 24px 100px #10182740; font-family: "Pretendard Variable", Pretendard, sans-serif; font-size: 14px; line-height: 1.4; word-break: keep-all; overflow: hidden; }
.enhev-form-dialog[open] { display: flex; flex-direction: column; }
.enhev-form-dialog::backdrop { background: rgb(13 10 24 / 65%); backdrop-filter: blur(4px); }
.enhev-form-dialog [hidden] { display: none !important; }
.enhev-form-dialog__header { position: relative; flex: none; padding: 28px 32px 18px; }
.enhev-form-dialog h2 { margin: 0 40px 8px 0; font: 700 27px/1.3 Paperlogy, sans-serif; letter-spacing: -1px; }
.enhev-form-dialog h2[tabindex="-1"]:focus { outline: none; }
.enhev-form-dialog__header > p { margin: 0; color: #555; font-size: 14px; font-weight: 400; }
#enhev-install-inquiry .enhev-form-dialog__header::after { content: ""; display: block; width: 54px; height: 3px; margin-top: 14px; border-radius: 3px; background: #49bdf7; }
#enhev-install-inquiry .enhev-form-dialog__body { padding-top: 18px; }
.enhev-form-dialog__close { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #f1f3f5; color: #6d737b; cursor: pointer; }
.enhev-form-dialog__close svg { width: 14px; height: 14px; }
.enhev-form-dialog__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 32px 20px; }
.enhev-install-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.enhev-install-form { --inquiry-field-background: #f3f4f6; }
.enhev-install-form__field > label { color: #000; letter-spacing: -1px; }
.enhev-install-form__field { min-width: 0; }
.enhev-install-form__wide { grid-column: 1 / -1; }
.enhev-install-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.enhev-install-form label > span { color: #737d86; font-size: 12px; font-weight: 400; }
.enhev-install-form label > b { margin-left: 3px; color: #269fdc; font-weight: 600; }
.enhev-install-form input:not([type="checkbox"]):not([type="file"]), .enhev-install-form textarea { display: block; width: 100%; margin: 0; padding: 12px 15px; border: 0; border-radius: 12px; background: var(--inquiry-field-background); color: #202027; font: 400 15px/1.4 "Pretendard Variable", Pretendard, sans-serif; box-shadow: none; }
.enhev-install-form textarea { height: 84px; min-height: 84px; max-height: 160px; resize: vertical; }
.enhev-install-form input::placeholder, .enhev-install-form textarea::placeholder { color: #697682; }
.inquiry-phone-help { margin-top: 20px; padding-top: 16px; border-top: 1px solid #d8e2e9; }
.inquiry-phone-help > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 4px 0; color: #333; font-size: 14px; font-weight: 500; line-height: 1.4; list-style: none; cursor: pointer; }
.inquiry-phone-help > summary::-webkit-details-marker { display: none; }
.inquiry-phone-help > summary svg { flex: 0 0 16px; width: 16px; height: 16px; transition: transform .2s; }
.inquiry-phone-help[open] > summary svg { transform: rotate(180deg); }
.inquiry-phone-help[open] .inquiry-phone-help__cards { margin-top: 14px; }
.inquiry-phone-help__cards { display: grid; gap: 8px; }
.inquiry-phone-help__cards a { display: grid; grid-template-columns: 18px minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 72px; padding: 12px 18px; border: 1px solid #45464a; border-radius: 16px; background: #1b1a1d; color: #fff; text-decoration: none; }
.inquiry-phone-help__cards a::before { content: ""; width: 18px; height: 18px; background: url("../installation-guide/region-pin.svg") center / contain no-repeat; }
.inquiry-phone-help__cards a:hover { border-color: #69c9fa; background: #23262b; }
.inquiry-phone-help__cards small { color: #fff; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -.6px; }
.inquiry-phone-help__cards strong { color: #fff; font: 700 18px/1.4 Montserrat, sans-serif; letter-spacing: -.6px; white-space: nowrap; }
@media (max-width: 380px) {
 .inquiry-phone-help__cards a { grid-template-columns: 15px minmax(0,1fr) auto; gap: 4px; padding-inline: 9px; }
 .inquiry-phone-help__cards small { font-size: 14px; }
 .inquiry-phone-help__cards strong { font-size: 15px; }
}
.enhev-form-dialog :is(button, input, textarea, summary):focus-visible { outline: 2px solid #49bdf7; outline-offset: 2px; }
.enhev-install-form input[aria-invalid="true"]:not([type="checkbox"]):not([type="file"]), .enhev-install-form textarea[aria-invalid="true"] { background: #fff1ef; }
.enhev-install-form__error { display: block; margin-top: 4px; color: #b53434; font-size: 12px; line-height: 1.3; }
.enhev-install-form__error:empty { display: none; }
.enhev-install-form__file { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.enhev-install-form__file label { position: relative; display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; margin: 0; border: 1px solid #dce4ea; border-radius: 999px; color: #475766; cursor: pointer; }
.enhev-install-form__file label:focus-within { outline: 2px solid #49bdf7; outline-offset: 2px; }
.enhev-install-form__file input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.enhev-install-form__file-name { max-width: 100%; color: #737d86; font-size: 12px; overflow-wrap: anywhere; }
.enhev-install-form__file-remove { padding: 3px 6px; background: transparent; border: 0; color: #63717d; font-size: 12px; text-decoration: underline; cursor: pointer; }
.enhev-install-form__consent { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 2px; }
.inquiry-consent-panel { margin-top: 4px; padding: 14px 16px; border-radius: 12px; background: var(--inquiry-field-background); }
.inquiry-consent-panel h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.enhev-install-form__consent label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 400; }
.enhev-install-form input[type="checkbox"] { appearance: auto; flex: none; width: 17px; height: 17px; margin: 0; accent-color: #49bdf7; }
.enhev-install-form__terms { flex: none; padding: 4px 0; border: 0; background: transparent; color: #526777; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.enhev-form-dialog__footer { flex: none; padding: 16px 32px 24px; border-top: 1px solid #edf0f3; background: #fff; }
.enhev-form-dialog__submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 12px 20px; border: 0; border-radius: 999px; background: #49bdf7; color: #fff; font: 600 16px/1.3 "Pretendard Variable", Pretendard, sans-serif; cursor: pointer; }
.enhev-form-dialog__submit:hover { background: #269fdc; }
#enhev-install-inquiry .enhev-form-dialog__submit { gap: 9px; color: #fff; background: #49bdf7; }
#enhev-install-inquiry .enhev-form-dialog__submit > svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; max-width: 20px; max-height: 20px; }
#enhev-install-inquiry .enhev-form-dialog__submit:hover { background: #269fdc; }
.enhev-form-dialog__notice { margin: 8px 0 0; text-align: center; color: #737d86; font-size: 12px; }
.enhev-form-dialog__status { margin: 0 0 10px; color: #385b6e; font-size: 13px; }
.enhev-form-dialog__status:empty { display: none; }
dialog.enhev-form-dialog--terms { width: min(560px, calc(100% - 32px)); }
dialog.enhev-form-dialog--success { width: min(440px, calc(100% - 32px)); text-align: center; overflow-y: auto; }
.enhev-success-content { padding: 36px 28px 28px; }
.enhev-success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; color: #249fdc; background: #eaf7fe; }
.enhev-success-icon svg { display: block; width: 32px; height: 32px; }
.enhev-form-dialog--success h2 { margin: 0; font-size: 24px; line-height: 1.4; }
.enhev-form-dialog--success #enhev-install-success-description { margin: 16px 0 0; font-size: 15px; color: #555; line-height: 1.5; }
.enhev-success-receipt { margin: 12px 0 26px; color: #78828c; font-size: 12px; overflow-wrap: anywhere; }
.enhev-form-dialog--terms h2 { font-size: 23px; }
.enhev-form-dialog--terms h3 { margin: 18px 0 6px; font-size: 15px; font-weight: 700; letter-spacing: -.5px; }
.enhev-form-dialog--terms h3:first-child { margin-top: 0; }
.enhev-form-dialog--terms .enhev-form-dialog__body p { margin: 0; color: #555; font-size: 14px; line-height: 1.6; }
@media (max-width: 560px) {
 dialog.enhev-form-dialog { border-radius: 22px; }
 .enhev-form-dialog__header { padding: 24px 20px 16px; }
 .enhev-form-dialog h2 { font-size: 24px; }
 .enhev-form-dialog__close { top: 18px; right: 16px; }
 .enhev-form-dialog__body { padding: 0 20px 18px; }
 .enhev-install-form { gap: 12px 10px; }
 .enhev-install-form input:not([type="checkbox"]):not([type="file"]), .enhev-install-form textarea { font-size: 16px; padding: 10px; }
 .enhev-install-form__consent { align-items: flex-start; gap: 8px; }
 .enhev-install-form__consent label { font-size: 12px; }
 .enhev-form-dialog__footer { padding: 14px 20px 20px; }
 .enhev-form-dialog--terms h2 { font-size: 21px; }
}
