@font-face {
    font-family: MedihiTreatmentPretendard;
    src: url('../vendors/PretendardVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}
.tp-program-page:has(.tpi-root) .medihi-treatment .tp-publish-cta { display:none; }
.tp-program-page:has([data-tp-program-return]) .mobile-back-button { width:36px; height:36px; padding:8px; }
.tp-program-page [data-tp-program-return]>img, .tp-program-page:has([data-tp-program-return]) .mobile-back-button>img { width:20px; height:20px; object-fit:contain; flex:none; }
.tpi-root { position:sticky; bottom:0; z-index:40; flex:none; margin-top:auto; padding-top:16px; font-family:MedihiTreatmentPretendard, sans-serif; color:#000; --tpi-left:0px; --tpi-width:100%; }
@media (min-width:768px) { .tpi-root { bottom:1px; } }
.tpi-root *, .tpi-root *::before, .tpi-root *::after { box-sizing:border-box; }
.tpi-root [hidden] { display:none !important; }
.tpi-root p, .tpi-root h2, .tpi-root h3, .tpi-root ul { margin:0; }
.tpi-root button, .tpi-root input, .tpi-root select { font:inherit; letter-spacing:normal; }
.tpi-root button { border:0; cursor:pointer; color:inherit; text-transform:none; box-shadow:none; }
.tpi-root button:focus-visible, .tpi-root a:focus-visible { outline:2px solid #ff6100; outline-offset:2px; }
.tpi-root button:disabled { cursor:default; }
.tpi-root .tpi-primary { display:block; width:100%; min-height:48px; padding:12px 16px; border-radius:8px; background:#ff6100; color:#fff; font-size:16px; line-height:24px; font-weight:700; text-align:center; }
.tpi-root .tpi-primary:hover, .tpi-root .tpi-primary:active { background:#ff6100; color:#fff; }
.tpi-root .tpi-primary:disabled { opacity:.55; }
.tpi-root[data-tpi-initializing] [data-tpi-open]:disabled { opacity:1; }
.tpi-floating { padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px)); background:#fff; }
.tpi-floating>p { font-size:13px; line-height:18px; padding:6px; }
.tpi-root .tpi-retry { display:block; margin:8px auto; padding:4px 8px; background:transparent; color:#ff6100; font-size:14px; line-height:20px; }
.tpi-sheet { position:fixed; inset:auto auto 0; left:var(--tpi-left); width:var(--tpi-width); max-width:700px; max-height:calc(100dvh - 24px); padding:0; margin:0; border:0; border-radius:24px 24px 0 0; background:#fff; color:#000; overflow:hidden; transform:translateY(100%); opacity:0; transition:transform 280ms ease-in, opacity 180ms ease-in; }
.tpi-sheet[open] { display:flex; flex-direction:column; }
.tpi-sheet.is-open { transform:translateY(0); opacity:1; }
.tpi-sheet::backdrop { background:rgb(0 0 0 / 50%); opacity:0; transition:opacity 180ms ease-in; }
.tpi-sheet.is-open::backdrop { opacity:1; }
.tpi-sheet>form { display:flex; flex-direction:column; align-items:stretch; min-height:0; margin:0; padding:0; gap:0; border:0; border-radius:0; background:transparent; }
.tpi-root .tpi-handle { display:block; flex:none; height:25px; width:100%; padding:0; background:transparent; }
.tpi-root .tpi-handle:focus-visible { outline:none; }
.tpi-sheet.has-keyboard-focus .tpi-handle:focus-visible>span { outline:2px solid #ff6100; outline-offset:2px; }
.tpi-handle>span { display:block; width:56px; height:4px; border-radius:4px; background:#ccc; margin:auto; }
.tpi-fields { overflow-y:auto; min-height:0; overscroll-behavior:contain; }
.tpi-fields>label { display:flex; flex-direction:column; gap:12px; padding:20px 16px; margin:0; }
.tpi-fields>label>b { font-size:16px; line-height:24px; font-weight:700; color:#000; }
.tpi-fields input:not([type="checkbox"]), .tpi-fields select { background:#fff; border:1px solid #ddd; border-radius:12px; color:#000; height:52px; padding:13px; min-width:0; font-size:16px; line-height:24px; font-weight:400; box-shadow:none; }
.tpi-fields input:not([type="checkbox"]) { width:100%; }
.tpi-fields input::placeholder { color:#aaa; opacity:1; }
.tpi-fields input:not([type="checkbox"]):focus, .tpi-fields select:focus { border-color:#ff6100; outline:2px solid #ff6100; outline-offset:1px; }
.tpi-fields input[type="checkbox"]:focus-visible { outline:2px solid #ff6100; outline-offset:2px; }
.tpi-fields .is-invalid input:not([type="checkbox"]), .tpi-fields .is-invalid input:not([type="checkbox"]):focus { border-color:#e24c4c; outline:none; }
.tpi-field-error { margin-top:-4px; color:#fc5454; font-size:14px; line-height:18px; font-weight:400; }
.tpi-phone { display:flex; gap:7px; }
.tpi-phone>select { width:110px; flex:none; appearance:none; padding-right:38px; background-image:url('../images/program-inquiry/chevron-down.svg'); background-repeat:no-repeat; background-position:right 14px center; background-size:14px 14px; cursor:pointer; }
.tpi-phone>input { flex:1; }
.tpi-consents { margin:20px 16px 0; }
.tpi-consents input[type="checkbox"] { appearance:none; width:24px; height:24px; border:1px solid #ddd; border-radius:6px; background:#fff; flex:none; margin:0; cursor:pointer; }
.tpi-consents input:checked { border-color:#ff6100; background:#ff6100; }
.tpi-consents input:checked::after { content:"✓"; display:block; color:#fff; font-size:18px; text-align:center; line-height:22px; }
.tpi-consents .is-invalid input[type="checkbox"] { border-color:#e24c4c; }
.tpi-all { display:flex; justify-content:space-between; align-items:center; padding-bottom:14px; margin:0 0 14px; border-bottom:1px solid #f7f7f7; color:#000; font-size:16px; line-height:24px; }
.tpi-consent { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:24px; }
.tpi-consent+.tpi-consent { margin-top:12px; }
.tpi-consent>button { display:flex; align-items:center; gap:4px; min-width:0; flex:1; background:transparent; font-size:12px; line-height:16px; font-weight:400; padding:0; text-align:left; }
.tpi-consent>button>span:last-child { min-width:0; }
.tpi-consent img { display:inline-block; width:16px; height:16px; object-fit:contain; vertical-align:middle; }
.tpi-required { color:#ff6100; font-weight:700; flex:none; }
.tpi-optional { color:#999; font-weight:700; flex:none; }
.tpi-security { display:flex; align-items:center; justify-content:center; gap:10px; padding:15px; background:#f7f7f7; border:1px solid #eee; border-radius:8px; margin:17.5px 16px 0; }
.tpi-security img { width:32px; height:32px; object-fit:contain; flex:none; }
.tpi-security p { font-size:12px; line-height:16px; flex:1; min-width:0; }
.tpi-powered { display:flex; align-items:center; justify-content:center; gap:10px; color:#999; font-size:14px; line-height:17px; padding:24px 16px; }
.tpi-brand { position:relative; display:block; width:71px; height:18px; flex:none; opacity:.7; }
.tpi-brand>img:first-child { position:absolute; left:0; top:0; width:11.84px; height:18px; object-fit:contain; }
.tpi-brand>img:last-child { position:absolute; left:17.79px; top:1.24px; width:53.21px; height:12.26px; object-fit:contain; }
.tpi-submit { padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px)); background:#fff; flex:none; }
.tpi-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.tpi-root .tpi-status { padding:0 16px 16px; color:#555; font-size:14px; line-height:20px; }
.tpi-terms { position:fixed; inset:0 auto; left:calc(var(--tpi-left) + 16px); width:calc(var(--tpi-width) - 32px); max-width:668px; max-height:calc(100dvh - 32px); height:fit-content; padding:0; margin:auto 0; border:0; border-radius:16px; background:#fff; color:#000; overflow:hidden; }
.tpi-terms[open] { display:flex; flex-direction:column; }
.tpi-terms::backdrop { background:rgb(0 0 0 / 50%); }
.tpi-terms>header { display:flex; align-items:center; justify-content:space-between; padding:16px; gap:12px; flex:none; }
.tpi-terms h2 { font-size:20px; font-weight:600; line-height:32px; }
.tpi-terms header>button { display:grid; place-items:center; width:24px; height:24px; flex:none; padding:0; background:transparent; }
.tpi-terms header img { width:24px; height:24px; }
.tpi-terms-scroll { min-height:0; overflow:auto; overscroll-behavior:contain; padding:0 16px 16px; }
.tpi-terms section { padding:20px 0; border-bottom:1px solid #f0f0f0; }
.tpi-terms section:last-child { border:0; }
.tpi-terms h3 { font-size:14px; line-height:18px; font-weight:700; margin-bottom:10px; }
.tpi-terms section:first-child h3 { margin-bottom:3px; }
.tpi-terms p, .tpi-terms ul { color:#555; font-size:14px; line-height:18px; }
.tpi-terms ul { padding-left:21px; list-style:disc; }
.tpi-root .tpi-more { display:inline-flex; align-items:center; gap:5px; color:#ff6100; font-size:14px; line-height:26px; background:transparent; padding:0; }
.tpi-more img { width:14px; height:14px; object-fit:contain; }
@media (prefers-reduced-motion:reduce) {
    .tpi-sheet, .tpi-sheet::backdrop { transition:none; }
}
