:root {
    --ink: #17191d;
    --muted: #5f6369;
    --line: #e2e2df;
    --surface: #f6f6f4;
    --brand: #2f343a;
    --brand-dark: #121417;
    --accent: #ecebe7;
    --warm: #fff8eb;
    --white: #fff;
    --max: 1160px;
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-size: 17px;
    line-height: 1.72;
    word-break: keep-all;
}
a { color: var(--brand-dark); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px; color: #fff; background: #111; }
.skip-link:focus { top: 16px; }
.has-overlay { overflow: hidden; }

/* Existing hospital header/navigation, isolated from the guide content styles. */
.global-site-header { position: relative; z-index: 300; color: #000; background: #fff; font-family: "GmarketSansMedium", "Noto Sans KR", "Malgun Gothic", sans-serif; line-height: 1.35; }
.global-site-header ul,
.global-quick ul,
.mobile-global-nav ul { margin: 0; padding: 0; list-style: none; }
.global-site-header img,
.global-quick img,
.mobile-global-nav img { display: block; max-width: none; }
.global-site-header button,
.global-quick button,
.mobile-global-nav button { margin: 0; padding: 0; border: 0; color: inherit; background: none; font: inherit; }
.global-header-desktop { display: block; }
.global-header__brand-inner { position: relative; width: min(calc(100% - 40px), 1400px); height: 139px; margin: 0 auto; }
.global-header__logo { position: absolute; left: 50%; top: 0; width: 320px; height: 139px; margin-left: -160px; }
.global-header__logo img { width: 320px; height: 139px; object-fit: contain; }
.global-header__left-image { position: absolute; left: 0; top: 40px; width: 140px; height: 60px; object-fit: contain; }
.global-header__phone { position: absolute; right: 0; top: 40px; width: 220px; height: 60px; }
.global-header__phone img { width: 220px; height: 60px; object-fit: contain; }
.global-nav { position: relative; height: 60px; background: #edece8; }
.global-nav__list { position: relative; z-index: 2; width: min(calc(100% - 40px), 1400px); height: 60px; margin: 0 auto !important; display: grid; grid-template-columns: 1.28fr .84fr .72fr .8fr 1.36fr .96fr .68fr .9fr .62fr; align-items: stretch; }
.global-nav__item { position: relative; min-width: 0; }
.global-nav__link { height: 60px; padding: 0 6px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #090909; font-size: clamp(12px, .92vw, 16px); font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none; white-space: nowrap; }
.global-nav__link small { display: block; margin-top: 2px; color: #555; font-size: 12px; font-weight: 600; }
.global-nav__item:hover > .global-nav__link,
.global-nav__item:focus-within > .global-nav__link { background: rgba(255,255,255,.55); }
.global-nav__link:focus-visible,
.global-nav__submenu a:focus-visible { outline: 3px solid #1b5c86; outline-offset: -3px; }
.global-nav__submenu { position: absolute; left: 50%; top: 60px; z-index: 20; width: 238px; margin-left: -119px !important; overflow: hidden; border: 1px solid #ebeae6; border-radius: 0 0 10px 10px; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.13); opacity: 0; visibility: hidden; transform: translateY(-7px); transition: opacity .16s ease, transform .16s ease, visibility .16s; pointer-events: none; }
.global-nav__submenu a { display: block; padding: 12px 18px; color: #111; background: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; text-align: center; text-decoration: none; }
.global-nav__submenu a:hover,
.global-nav__submenu a:focus-visible { background: #edece8; }
.global-nav__item:hover > .global-nav__submenu,
.global-nav__item:focus-within > .global-nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.global-header-mobile { display: none; }

.mobile-nav-backdrop,
.time-dialog-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.62); }
.mobile-nav-backdrop { z-index: 490; }
.mobile-global-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 500; width: min(86vw, 380px); overflow-y: auto; color: #111; background: #fff; box-shadow: -18px 0 44px rgba(0,0,0,.24); font-family: "GmarketSansMedium", "Noto Sans KR", "Malgun Gothic", sans-serif; }
.mobile-global-nav__header { position: sticky; top: 0; z-index: 2; min-height: 64px; padding: 7px 12px 7px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ececec; background: #fff; }
.mobile-global-nav__header img { width: 145px; height: 50px; object-fit: contain; }
.mobile-menu-close { width: 46px; height: 46px; cursor: pointer; font-size: 35px !important; font-weight: 300 !important; line-height: 1 !important; }
.mobile-global-nav__list > li { border-bottom: 1px solid #ededed; }
.mobile-global-nav__row { min-height: 56px; display: grid; grid-template-columns: minmax(0, 1fr) 52px; align-items: stretch; }
.mobile-global-nav__row > a { padding: 16px 8px 14px 22px; display: flex; flex-direction: column; justify-content: center; color: #111; font-size: 16px; font-weight: 750; line-height: 1.35; text-decoration: none; }
.mobile-global-nav__row > a small { margin-top: 3px; color: #666; font-size: 12px; }
.mobile-global-nav__row > a:only-child { grid-column: 1 / -1; padding-right: 22px; }
.mobile-submenu-toggle { width: 52px; cursor: pointer; border-left: 1px solid #ededed !important; font-size: 23px !important; }
.mobile-submenu-toggle:focus-visible,
.mobile-global-nav a:focus-visible,
.mobile-menu-button:focus-visible,
.mobile-menu-close:focus-visible { outline: 3px solid #1b5c86; outline-offset: -3px; }
.mobile-global-nav__submenu { padding: 7px 0 10px !important; border-top: 1px solid #ededed; background: #f7f7f6; }
.mobile-global-nav__submenu a { display: block; padding: 11px 22px 11px 34px; color: #333; font-size: 14px; line-height: 1.45; text-decoration: none; }
.mobile-global-nav__submenu a:hover { background: #ecebe8; }

.global-quick { position: fixed; right: 0; z-index: 360; }
.global-quick li,
.global-quick a,
.global-quick button { display: block; width: 100%; }
.global-quick a,
.global-quick button { cursor: pointer; }
.global-quick--desktop { top: 50%; width: 100px; transform: translateY(-50%); }
.global-quick--desktop img { width: 100px; height: 100px; }
.global-quick--mobile { display: none; }

.time-dialog-backdrop { z-index: 600; }
.time-dialog { position: fixed; left: 50%; top: 50%; z-index: 610; width: min(calc(100% - 40px), 600px); max-height: calc(100vh - 40px); padding: 44px; overflow-y: auto; border-radius: 24px; color: #111; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.28); transform: translate(-50%, -50%); }
.time-dialog__close { position: absolute; right: 15px; top: 12px; width: 44px; height: 44px; border: 0; cursor: pointer; color: #333; background: transparent; font-size: 34px; line-height: 1; }
.time-dialog h2 { margin: 0 0 24px; font-size: 30px; line-height: 1.25; text-align: center; }
.time-dialog__hours { margin: 0; display: grid; gap: 8px; }
.time-dialog__hours > div { min-height: 48px; display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; border: 1px solid #dedede; border-radius: 10px; overflow: hidden; }
.time-dialog__hours dt { height: 100%; padding: 12px 16px; display: flex; align-items: center; color: #fff; background: #727272; font-weight: 800; }
.time-dialog__hours dd { margin: 0; padding: 12px 16px; font-weight: 750; text-align: center; }
.time-dialog > p { margin: 18px 0; color: #5b5b5b; font-size: 14px; text-align: center; }
.time-dialog__call { min-height: 48px; padding: 11px 16px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: #fff; background: #272b30; font-weight: 800; text-decoration: none; }

.breadcrumb-wrap { border-bottom: 1px solid var(--line); background: #fafcfd; }
.breadcrumb { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 8px; color: #596675; font-size: 13px; }
.breadcrumb a { display: inline-flex; min-width: 24px; min-height: 24px; align-items: center; justify-content: center; color: #526276; text-decoration: none; }
.hero { overflow: hidden; background: linear-gradient(125deg, #0e0f11, #292d31 68%, #4b4f54); color: #fff; }
.hero__inner { width: min(calc(100% - 40px), var(--max)); min-height: 490px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr); align-items: center; gap: 52px; }
.hero__copy { padding: 64px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: #d1cbc1; font-size: 13px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 2px; background: currentColor; content: ""; }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(34px, 5vw, 62px); line-height: 1.14; letter-spacing: -.045em; }
.keep-together { white-space: nowrap; }
.hero .lead { max-width: 720px; margin: 24px 0 0; color: #e9e9e7; font-size: clamp(17px, 2vw, 21px); }
.hero__image { align-self: stretch; min-height: 390px; background-position: center; background-size: cover; box-shadow: inset 26px 0 40px rgba(13,54,70,.25); }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; text-decoration: none; }
.button--light { color: var(--brand-dark); background: #fff; }
.button--ghost { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.08); }
.main { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 72px 0 100px; }
.answer-box { margin-bottom: 52px; padding: 28px 30px; border-left: 5px solid var(--brand); border-radius: 0 18px 18px 0; background: var(--surface); }
.answer-box strong { display: block; margin-bottom: 8px; color: var(--brand-dark); font-size: 21px; }
.answer-box p { margin: 0; }
.section { padding: 62px 0; border-top: 1px solid var(--line); }
.section:first-child { padding-top: 0; border-top: 0; }
.section-heading { max-width: 780px; margin-bottom: 30px; }
.section-label { margin: 0 0 8px; color: var(--brand); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.section h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.22; letter-spacing: -.035em; }
.section-heading > p { margin: 14px 0 0; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 22px rgba(17,19,22,.035); }
.card__number { display: inline-grid; width: 38px; height: 38px; place-items: center; margin-bottom: 22px; border-radius: 50%; color: #fff; background: var(--brand); font-size: 13px; font-weight: 900; }
.card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); }
.card a { display: inline-block; margin-top: 16px; font-weight: 800; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 44px; align-items: start; }
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; margin: 0 0 14px; padding: 16px 18px 16px 52px; border-radius: 14px; background: var(--surface); }
.checklist li::before { position: absolute; left: 18px; top: 18px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); font-size: 14px; font-weight: 900; content: "✓"; }
.source-panel { padding: 26px; border: 1px solid #bedfd9; border-radius: var(--radius); background: #eef9f7; }
.source-panel h3 { margin: 0 0 10px; }
.source-panel p { margin: 0 0 12px; color: var(--muted); }
.source-list { margin: 0; padding-left: 20px; }
.source-list li { margin: 12px 0; }
.source-list a { font-weight: 750; }
.data-callout { display: grid; grid-template-columns: auto 1fr; gap: 20px; margin: 28px 0; padding: 24px; border: 1px solid #f1dba5; border-radius: 18px; background: var(--warm); }
.data-callout__value { min-width: 116px; color: #8c5b13; font-size: 30px; font-weight: 900; line-height: 1; }
.data-callout p { margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.table-scroll-hint { display: none; margin: -12px 0 10px; color: var(--muted); font-size: 13px; }
.data-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.data-table caption { padding: 18px 20px; color: var(--muted); background: #f7fafc; text-align: left; font-size: 14px; }
.data-table th, .data-table td { padding: 17px 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: #34455a; background: #f8fafc; font-size: 14px; }
.data-table td strong { color: var(--brand-dark); font-size: 19px; }
.fine-print { margin-top: 14px; color: #687688; font-size: 14px; }
.step-list { counter-reset: step; margin: 0; padding: 0; list-style: none; }
.step-list li { position: relative; min-height: 76px; margin-bottom: 14px; padding: 18px 20px 18px 74px; border: 1px solid var(--line); border-radius: 16px; }
.step-list li::before { counter-increment: step; position: absolute; left: 20px; top: 18px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: var(--brand-dark); font-weight: 900; content: counter(step); }
.step-list strong { display: block; margin-bottom: 3px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.related-link { min-height: 140px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #fff, #f6f9fb); text-decoration: none; }
.related-link small { display: block; margin-bottom: 6px; color: var(--brand); font-weight: 800; }
.related-link strong { display: block; color: var(--ink); font-size: 20px; }
.related-link span { display: block; margin-top: 8px; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq-list summary { padding: 20px 52px 20px 22px; cursor: pointer; font-weight: 850; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }
.reference-list { padding-left: 22px; }
.reference-list li { margin: 14px 0; padding-left: 4px; }
.reference-list a { font-weight: 800; overflow-wrap: anywhere; }
.medical-note { width: min(calc(100% - 40px), var(--max)); margin: 0 auto 80px; padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px solid #efd7a1; border-radius: 20px; background: var(--warm); }
.medical-note strong { font-size: 19px; }
.medical-note p { max-width: 780px; margin: 6px 0 0; color: #625944; }
.medical-note > a { flex: 0 0 auto; padding: 11px 16px; border-radius: 10px; color: #fff; background: #805a20; font-weight: 800; text-decoration: none; }
.site-footer { border-top: 1px solid #d8d8d5; color: #45484d; background: #f1f0ed; }
.site-footer__inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 46px 0; }
.footer-primary { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.footer-primary img { width: 170px; border-radius: 4px; filter: none; }
.footer-primary p { margin: 0; }
.footer-links { margin: 24px 0 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: #35383d; font-size: 14px; text-decoration: none; }
.footer-meta { margin: 0; color: #6b6e73; font-size: 13px; }

@media (max-width: 1100px) {
    body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
    .global-site-header { position: sticky; top: 0; z-index: 400; border-bottom: 1px solid #e4e4e4; }
    .global-header-desktop, .global-quick--desktop { display: none; }
    .global-header-mobile { position: relative; height: 50px; display: block; background: #fff; }
    .global-header-mobile__logo { position: absolute; left: 50%; top: 0; width: 145px; height: 50px; margin-left: -72.5px; }
    .global-header-mobile__logo img { width: 145px; height: 50px; object-fit: contain; }
    .global-header-mobile__call { position: absolute; right: 0; top: 0; width: 50px; height: 50px; }
    .global-header-mobile__call img { width: 50px; height: 50px; }
    .mobile-menu-button { position: absolute; left: 0; top: 0; width: 50px; height: 50px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
    .mobile-menu-button span { width: 23px; height: 2px; display: block; border-radius: 2px; background: #222; }
    .global-quick--mobile { left: 0; right: 0; bottom: 0; width: auto; display: block; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #dedede; background: #fff; box-shadow: 0 -8px 24px rgba(0,0,0,.12); }
    .global-quick--mobile ul { width: min(100%, 480px); margin: 0 auto !important; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .global-quick--mobile li { min-width: 0; }
    .global-quick--mobile a,
    .global-quick--mobile button { min-height: 50px; display: grid; place-items: center; }
    .global-quick--mobile img { width: 50px; height: 50px; }
    .global-quick--mobile a:focus-visible,
    .global-quick--mobile button:focus-visible { outline: 3px solid #1b5c86; outline-offset: -3px; }
}

@media (min-width: 1101px) and (max-width: 1540px) {
    .global-nav { padding-right: 100px; }
    .global-nav__list { width: calc(100% - 40px); }
}

@media (max-width: 980px) {
    .hero__inner { min-height: 0; grid-template-columns: 1fr; gap: 0; }
    .hero__copy { padding: 54px 0 36px; }
    .hero__image { min-height: 300px; margin: 0 -20px; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .two-column { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; word-break: normal; overflow-wrap: anywhere; }
    .breadcrumb, .hero__inner, .main, .medical-note, .site-footer__inner { width: min(calc(100% - 28px), var(--max)); }
    .hero h1 { font-size: 32px; word-break: keep-all; overflow-wrap: normal; }
    .hero .lead { font-size: 17px; }
    .main { padding: 52px 0 76px; }
    .answer-box { padding: 22px; }
    .section { padding: 48px 0; }
    .card-grid, .related-grid { grid-template-columns: 1fr; }
    .card { padding: 23px; }
    .data-callout { grid-template-columns: 1fr; }
    .table-scroll-hint { display: block; }
    .table-wrap { overflow: visible; border: 0; border-radius: 0; }
    .data-table { display: block; min-width: 0; }
    .data-table caption { display: block; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; }
    .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
    .data-table tbody { display: grid; gap: 10px; }
    .data-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
    .data-table td { padding: 0; border: 0; }
    .data-table td:nth-child(1) { grid-column: 1; grid-row: 1; font-weight: 850; }
    .data-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--muted); }
    .data-table td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
    .data-table td:nth-child(4) { grid-column: 1 / -1; grid-row: 3; color: #687688; font-size: 13px; }
    .medical-note { margin-bottom: 56px; align-items: stretch; flex-direction: column; }
    .medical-note > a { text-align: center; }
    .time-dialog { width: min(calc(100% - 24px), 600px); padding: 42px 20px 24px; border-radius: 18px; }
    .time-dialog h2 { margin-bottom: 18px; font-size: 24px; }
    .time-dialog__hours > div { grid-template-columns: .9fr 1.2fr; }
    .time-dialog__hours dt, .time-dialog__hours dd { padding: 10px 11px; font-size: 14px; }
}

@media print {
    body { padding-bottom: 0; }
    .global-site-header, .global-quick, .mobile-global-nav, .mobile-nav-backdrop, .time-dialog, .time-dialog-backdrop,
    .site-header, .breadcrumb-wrap, .hero__actions, .medical-note, .site-footer { display: none !important; }
    .hero { color: #000; background: #fff; }
    .hero__inner { min-height: auto; display: block; }
    .hero__copy { padding: 20px 0; }
    .hero__image { display: none; }
    .main { width: 100%; padding: 0; }
    .card, .table-wrap, .source-panel, .faq-list details { break-inside: avoid; box-shadow: none; }
}
