.search-portal {
	--motion-fast: 160ms; --motion-base: 220ms; --motion-slow: 320ms; --motion-gallery: 380ms;
	--ease-ui: cubic-bezier(.2,.6,.2,1); --ease-emphasized: cubic-bezier(.16,1,.3,1);
	--ease-gallery: cubic-bezier(.22,.61,.36,1);
	--portal-primary: #12b8b0; --portal-primary-dark: #07958f; --portal-primary-light: #e9faf8;
	--portal-blue: #245fd5; --portal-blue-bright: #3273f6; --portal-blue-light: #edf4ff;
	--portal-dark: #172b3a; --portal-text: #34495a; --portal-muted: #647587;
	--portal-line: #e5eaf0; --portal-line-strong: #d7dee6; --portal-soft: #f7f9fb;
	--portal-mint: #e9faf8; --portal-point: #087f79; --portal-point-strong: #066d68;
	--portal-purple: #8067d8; --portal-orange: #d78027;
	margin: 0; background: #fff; color: var(--portal-dark);
	font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere;
}
.search-portal *, .search-portal *::before, .search-portal *::after { box-sizing: border-box; }
.search-portal a { color: inherit; text-decoration: none; }
.search-portal button, .search-portal input, .search-portal select, .search-portal textarea { font: inherit; }
.search-portal button, .search-portal summary { cursor: pointer; }
.search-portal input, .search-portal select, .search-portal textarea { color: var(--portal-dark); }
.search-portal img { max-width: 100%; display: block; }
.search-portal :focus-visible { outline: 3px solid var(--portal-blue); outline-offset: 4px; }
.search-portal :is(h1,h2,h3,p) { margin-top: 0; }
.search-portal h1, .search-portal h2, .search-portal h3 { color: var(--portal-dark); letter-spacing: -.045em; line-height: 1.35; }
.search-portal h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; }
.search-portal h2 { font-size: clamp(23px, 2.4vw, 28px); font-weight: 700; }
.search-portal .text-dark { color: var(--portal-dark); }
.search-portal .text-muted { color: var(--portal-muted); }
.search-portal .text-point, .search-portal .hover\:text-point:hover { color: var(--portal-point); }
.search-portal .hover\:text-dark:hover { color: var(--portal-dark); }
.search-portal .bg-dark { background: var(--portal-dark); }
.search-portal .bg-point { background: var(--portal-point); }
.search-portal .bg-soft, .search-portal .hover\:bg-soft:hover { background: var(--portal-soft); }
.search-portal .bg-mint { background: var(--portal-mint); }
.search-portal .border-line { border-color: var(--portal-line); }
.search-portal .border-point, .search-portal .hover\:border-point:hover, .search-portal .focus\:border-point:focus { border-color: var(--portal-point); }
.search-portal .accent-point { accent-color: var(--portal-point); }
.search-portal .text-white { color: #fff; }
.search-portal .brand-en { font-style: italic; }
.portal-container { width: min(100% - 48px, 1200px); margin-inline: auto; }
.portal-sr-only, .portal-skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.portal-skip:focus { position: fixed; z-index: 100; left: 16px; top: 8px; padding: 12px 20px; background: white; border: 2px solid var(--portal-blue); }
.portal-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--portal-line); }
.portal-header-row { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.portal-header-row > a { min-width: 0; }
.portal-header-row > a img { width: 106px; height: auto; }
.portal-header-row > a p:first-child { font-size: 15px; }
.portal-header-row > a p:last-child { font-size: 11px; margin-top: 1px; }
.portal-desktop-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.portal-header-ctas { display: flex; gap: 8px; align-items: center; }
.portal-header-ctas a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; white-space: nowrap; }
.portal-desktop-nav a { display: flex; align-items: center; min-height: 48px; position: relative; }
.portal-desktop-nav .portal-nav-active::after { position: absolute; bottom: 1px; left: 0; right: 0; height: 3px; content: ""; background: var(--portal-point); border-radius: 2px; }
.portal-menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--portal-line); border-radius: 12px; background: white; }
.portal-mobile-menu nav { padding-block: 12px; display: grid; gap: 4px; }
.portal-mobile-menu a { min-height: 46px; display: flex; align-items: center; border-radius: 8px; padding-inline: 12px; }
.portal-home-hero { padding: 24px 0 20px; background: linear-gradient(110deg, #f1faf9, #f7fafc 64%, #edf7fa); border-bottom: 1px solid #e4efef; }
.portal-hero-container { max-width: 1200px; }
.portal-hero-heading { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 24px; min-height: 120px; }
.portal-hero-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 36px); line-height: 1.35; }
.portal-hero-heading h1 span { color: var(--portal-point); }
.portal-hero-visual { width: 240px; height: 120px; object-fit: contain; }
.portal-lead { color: var(--portal-muted); margin: 12px 0 0; font-size: 15px; line-height: 1.7; }
.portal-hero-heading .portal-lead { margin-top: 10px; }
.portal-search { margin-top: 26px; padding: 6px; border: 1px solid #b7c9d7; border-radius: 14px; background: white; transition: border-color .18s, box-shadow .18s; scroll-margin-top: 90px; }
.portal-search:focus-within { border-color: var(--portal-blue-bright); box-shadow: 0 0 0 3px #3273f614; }
.portal-search-row { display: flex; align-items: center; gap: 14px; padding-left: 16px; }
.portal-search-row > .portal-icon { color: var(--portal-point); width: 22px; height: 22px; }
.portal-search-row input { border: 0; background: transparent; min-width: 0; width: 100%; height: 56px; padding: 6px 0; font-size: 17px; flex: 1; }
.portal-search-row input:focus-visible { outline: none; }
.portal-search-row input::placeholder { color: #697b89; opacity: 1; }
.search-portal .portal-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.4; transition: background .18s, border-color .18s; }
.search-portal .portal-button-primary { background: var(--portal-blue); color: white; border: 1px solid var(--portal-blue); }
.search-portal .portal-button-primary:hover { background: #1949ac; }
.search-portal .portal-button-outline { border: 1px solid var(--portal-line); background: white; color: var(--portal-dark); }
.search-portal .portal-button-outline:hover { border-color: var(--portal-point); background: var(--portal-soft); }
.portal-search-row button { flex-shrink: 0; min-width: 90px; height: 56px; }
.portal-search button:disabled { opacity: .65; cursor: wait; }
.portal-search-filters { border-top: 1px solid #edf1f3; margin: 5px 8px 0; }
.portal-search-filters summary { display: flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; color: var(--portal-muted); font-size: 14px; font-weight: 600; }
.portal-search-filters summary::-webkit-details-marker, .portal-browse-filter summary::-webkit-details-marker { display: none; }
.portal-search-filters summary .portal-icon:last-child { margin-left: auto; font-size: 11px; transition: transform .16s; }
.portal-search-filters[open] summary .portal-icon:last-child { transform: rotate(180deg); }
.portal-filter-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 3px 0 12px; }
.portal-filter-fields > div { min-width: 0; }
.portal-filter-fields label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.portal-filter-fields select { width: 100%; min-width: 0; height: 48px; border: 1px solid var(--portal-line); border-radius: 10px; padding: 0 10px; background: #f7f9fb; font-size: 15px; }
.portal-filter-fields select:disabled { color: #7c8790; background: #f1f3f5; cursor: not-allowed; }
.portal-region-message { margin: 0 0 12px; color: #a13629; font-size: 13px; }
@media (max-width: 767px) { .portal-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.portal-search-message { margin: 6px 12px; color: #a13629; font-size: 14px; }
.portal-popular { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 17px; align-items: center; font-size: 13px; }
.portal-popular > span { color: var(--portal-muted); font-weight: 700; }
.portal-popular a { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; }
/* Keep the compact hero independent of directory search form sizing. */
.portal-home-hero .portal-search { margin-top: 12px; border-color: #9bbfca; box-shadow: 0 5px 18px #172b3a06; }
.portal-home-hero .portal-search:focus-within { border-color: var(--portal-blue); box-shadow: 0 0 0 3px #245fd51a; }
.portal-home-hero .portal-popular { margin-top: 8px; padding-inline: 2px; }
@media (min-width: 640px) {
	.portal-home-hero .portal-search-row input, .portal-home-hero .portal-search-row button { height: 52px; }
	.portal-home-hero .portal-search-filters summary { min-height: 44px; }
}
.portal-section { padding: 44px 0; }
.portal-home-hero ~ .portal-section + .portal-section { border-top: 1px solid var(--portal-line); }
.portal-tinted { background: white; border-top: 1px solid var(--portal-line); }
.portal-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.portal-section-heading h2 { margin: 0; }
.search-portal .portal-text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--portal-muted); white-space: nowrap; }
.portal-text-link .portal-icon { width: 16px; height: 16px; }
.search-portal .portal-text-link:hover { color: var(--portal-point); }
.portal-category-section { padding-block: 24px 36px; }
.portal-department-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px 8px; }
.portal-department-grid a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 6px; text-align: center; font-size: 14px; font-weight: 600; border: 1px solid transparent; border-radius: 12px; transition: background .18s, border-color .18s; }
.portal-category-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; background: var(--portal-blue-light); color: var(--portal-blue-bright); }
.portal-category-icon .portal-icon { width: 28px; height: 28px; }
.portal-icon-family-teal { background: var(--portal-primary-light); color: var(--portal-primary-dark); }
.portal-icon-family-purple { background: #f3effc; color: var(--portal-purple); }
.portal-icon-family-orange { background: #fff4e9; color: var(--portal-orange); }
.portal-department-grid a:hover { background: var(--portal-soft); }
.portal-department-grid a[aria-current] { background: var(--portal-blue-light); border-color: #a9c7ff; color: var(--portal-blue); }
.portal-area-section { border-top: 1px solid var(--portal-line); background: white; }
.portal-area-links { display: flex; flex-wrap: wrap; gap: 10px; }
.portal-area-links a { min-width: 72px; min-height: 44px; border: 1px solid var(--portal-line); padding: 10px 22px; border-radius: 12px; background: white; font-size: 15px; font-weight: 600; text-align: center; }
.portal-area-links a:hover { background: var(--portal-blue-light); border-color: #b9cfff; }
.portal-area-links a[aria-current] { background: var(--portal-point); border-color: var(--portal-point); color: white; }
.portal-card-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; align-items: stretch; }
.portal-hospital-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: white; border: 1px solid var(--portal-line); border-radius: 14px; transition: border-color .2s, box-shadow .2s, transform .2s; }
@media (hover: hover) and (pointer: fine) {
	.portal-hospital-card:hover { border-color: #a8c6dc; box-shadow: 0 6px 18px #172b3a0a; transform: translateY(-2px); }
}
.portal-card-image { position: relative; display: block; aspect-ratio: 16/10; background: var(--portal-soft); overflow: hidden; }
.portal-card-image img { width: 100%; height: 100%; object-fit: cover; }
.portal-card-image .portal-card-rolling-image { position: absolute; inset: 0; pointer-events: none; }
.portal-card-roll-toggle { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #ffffff66; border-radius: 50%; background: #172b3aa6; color: white; cursor: pointer; }
.portal-card-roll-toggle:hover { background: #172b3ad9; }
.portal-card-roll-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.portal-card-roll-toggle:focus-visible { outline: 3px solid var(--portal-point); outline-offset: 2px; }
.portal-card-roll-toggle[hidden] { display: none; }
.portal-card-image .portal-featured-badge { z-index: 1; }
.portal-featured-badge { position: absolute; top: 14px; left: 14px; display: flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid #d7e6e4; background: #fff; color: var(--portal-text); font-size: 12px; font-weight: 700; border-radius: 6px; }
.portal-featured-badge .portal-icon { width: 13px; height: 13px; color: var(--portal-point); }
.portal-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.portal-card-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--portal-muted); font-size: 13px; margin-bottom: 12px; }
.portal-card-meta > span:last-child { display: inline-flex; gap: 4px; align-items: center; }
.portal-card-meta .portal-icon { width: 15px; height: 15px; }
.portal-department-badge { padding: 3px 8px; border-radius: 5px; background: var(--portal-primary-light); color: var(--portal-point); font-size: 13px; font-weight: 700; }
.portal-card-body h3 { font-size: 21px; font-weight: 700; margin: 0 0 10px; }
.portal-card-body h3 a:hover { color: var(--portal-point); }
.portal-card-description { font-size: 14px; line-height: 1.65; color: var(--portal-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.portal-card-address { color: var(--portal-muted); font-size: 13px; margin: 8px 0 0; }
.portal-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.portal-card-tags span { background: #f2f5f7; border-radius: 6px; padding: 4px 8px; color: #586975; font-size: 12px; }
.portal-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #edf0f2; margin-top: auto; padding-top: 12px; font-size: 14px; }
.portal-card-actions a { display: flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 700; }
.portal-card-actions .portal-icon { width: 16px; height: 16px; }
.search-portal .portal-card-detail { color: var(--portal-blue); }
.search-portal .portal-card-homepage { color: var(--portal-muted); }
.portal-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--portal-muted); font-size: 12px; margin-bottom: 20px; }
.portal-breadcrumb a { min-height: 28px; display: inline-flex; align-items: center; }
.portal-breadcrumb > span { display: inline-flex; align-items: center; }
.portal-breadcrumb [aria-current] { color: var(--portal-dark); font-weight: 600; }
.portal-list-hero { background: white; padding: 24px 0 28px; border-bottom: 1px solid var(--portal-line); }
.portal-list-hero h1 { margin-bottom: 8px; font-size: clamp(28px,3vw,38px); }
.portal-list-hero .portal-search { margin-top: 22px; }
.portal-selected-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.portal-selected-filters a { min-height: 44px; display: inline-flex; align-items: center; gap: 14px; padding: 6px 12px; border-radius: 8px; background: var(--portal-blue-light); border: 1px solid #c7d9fb; font-size: 14px; color: var(--portal-blue); font-weight: 700; }
.portal-selected-filters a span { font-size: 19px; font-weight: 400; }
.portal-selected-filters .portal-filter-reset { background: transparent; border-color: transparent; font-weight: 500; color: var(--portal-muted); text-decoration: underline; }
.portal-browse-filter { margin-top: 18px; }
.portal-browse-filter summary { min-height: 44px; display: flex; align-items: center; list-style: none; font-size: 14px; font-weight: 700; }
.portal-browse-filter summary::after { content: "+"; margin-left: 12px; font-size: 21px; color: var(--portal-muted); }
.portal-browse-filter[open] summary::after { content: "−"; }
.portal-browse-filter .portal-department-grid, .portal-browse-filter .portal-area-links { margin-top: 10px; }
.portal-results { padding-top: 32px; }
.portal-result-count { color: var(--portal-point); margin-left: 6px; }
.portal-result-note { color: var(--portal-muted); font-size: 13px; }
.portal-promotion-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.portal-promotion-heading h3 { margin: 0; font-size: 16px; font-weight: 700; }
.portal-promotion-heading span { font-size: 12px; color: var(--portal-muted); }
.portal-other-heading { margin: 32px 0 16px; font-size: 18px; font-weight: 700; }
.portal-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.portal-pagination a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--portal-line); border-radius: 10px; font-size: 14px; }
.portal-pagination a[aria-current] { background: var(--portal-blue); color: white; border-color: var(--portal-blue); }
.portal-empty { text-align: center; padding: 48px 20px; background: var(--portal-soft); border: 1px solid var(--portal-line); border-radius: 14px; }
.portal-empty-icon { display: grid; place-items: center; width: 64px; height: 64px; background: #e3edf2; border-radius: 24px; color: #6f8e9b; font-size: 25px; margin: 0 auto 22px; }
.portal-empty h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.portal-empty p { font-size: 15px; color: var(--portal-muted); margin-bottom: 24px; }
.portal-empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.search-portal .portal-empty-contact { margin-top: 20px; display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--portal-muted); text-decoration: underline; }
.portal-detail-head { background: white; padding: 24px 0 40px; }
.portal-detail-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.portal-detail-heading h1 { margin: 16px 0 14px; }
.portal-detail-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--portal-muted); }
.portal-detail-meta a { min-height: 32px; display: inline-flex; align-items: center; }
.portal-detail-summary { color: var(--portal-muted); font-size: 16px; line-height: 1.75; margin: 0 0 16px; }
.portal-detail-address { font-size: 14px; color: var(--portal-muted); margin: 0 0 8px; }
.portal-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.portal-detail-photo { border-radius: 14px; overflow: hidden; position: relative; background: #edf5f5; aspect-ratio: 16/10; }
.portal-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.portal-detail-photo .portal-gallery-controls { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 8px; align-items: center; padding: 4px; border-radius: 12px; background: #fff; }
.portal-gallery-controls button { width: 44px; height: 44px; border-radius: 8px; background: #f1f5f7; border: 0; }
.portal-gallery-controls span { padding-inline: 6px; font-size: 12px; font-weight: 700; }
.portal-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.portal-gallery-thumbs button { width: 64px; height: 48px; padding: 3px; border-radius: 8px; border: 2px solid transparent; background: white; }
.portal-gallery-thumbs button[aria-pressed=true] { border-color: var(--portal-point); }
.portal-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.portal-detail-nav { border-bottom: 1px solid var(--portal-line); background: white; }
.portal-detail-nav .portal-container { display: flex; flex-wrap: wrap; gap: 22px; }
.portal-detail-nav a { min-height: 56px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; }
.portal-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 40px; align-items: start; }
.portal-detail-content > section + section { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--portal-line); }
.portal-detail-content h2 { margin-bottom: 22px; font-size: 25px; }
.portal-prose { white-space: pre-line; color: #4e626f; line-height: 1.85; font-size: 16px; }
.portal-treatment-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.portal-treatment { background: white; border: 1px solid var(--portal-line); border-radius: 12px; padding: 18px; }
.portal-treatment h3 { font-size: 16px; margin-bottom: 6px; font-weight: 700; }
.portal-treatment p { margin: 0; color: var(--portal-muted); font-size: 14px; }
.portal-info-list { margin: 0; }
.portal-info-list > div { display: grid; grid-template-columns: 85px minmax(0,1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid #e8eef1; font-size: 14px; }
.portal-info-list dt { color: var(--portal-muted); }
.portal-info-list dd { margin: 0; }
.portal-info-list a { color: var(--portal-blue); }
.portal-info-note { color: var(--portal-muted); font-size: 13px; margin: 14px 0 0; }
.portal-detail-aside { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--portal-line); background: white; border-radius: 14px; }
.portal-detail-aside h2 { font-size: 19px; margin-bottom: 12px; }
.portal-detail-aside .portal-button { width: 100%; margin-top: 20px; }
.portal-guide { margin-top: 18px; border: 1px solid var(--portal-line); padding: 16px 18px; border-radius: 12px; }
.portal-guide summary, .portal-faq summary { font-size: 15px; font-weight: 700; min-height: 28px; }
.portal-guide p, .portal-faq p { margin: 14px 0 0; color: var(--portal-muted); font-size: 14px; white-space: pre-line; }
.portal-map { width: 100%; height: 300px; border: 1px solid var(--portal-line); border-radius: 16px; display: block; }
.portal-map-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.portal-map-address { margin: 16px 0 0; font-size: 15px; font-style: normal; }
.portal-channels { display: flex; flex-wrap: wrap; gap: 10px; }
.portal-faq { border: 1px solid var(--portal-line); border-radius: 12px; padding: 18px; margin-bottom: 10px; }
.portal-detail-mobile-actions { display: none; }
.search-portal section[id] { scroll-margin-top: 95px; }
.search-portal footer { background: #f8fafb; }
.search-portal footer > div { padding-block: 36px; }
.search-portal footer p { max-width: 420px; }
.search-portal footer a { display: inline-flex; align-items: center; min-height: 30px; }
.search-portal footer .portal-footer-brand { grid-column: span 2; }
@media (max-width: 1023px) {
	.search-portal { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.portal-header-row { height: 66px; }
	.portal-desktop-nav { display: none; }
	.portal-header-ctas { display: none; }
	.portal-menu-button { display: inline-grid; place-items: center; }
	.portal-header-row > a img { width: 96px; }
	.portal-detail-layout { grid-template-columns: minmax(0,1fr); }
	.portal-detail-aside { position: static; }
	.portal-detail-heading { gap: 24px; }
	.search-portal > nav[aria-label="모바일 하단 빠른 메뉴"] { height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
	.search-portal:has(.portal-detail-mobile-actions) { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
	.portal-detail-mobile-actions { position: fixed; bottom: calc(64px + env(safe-area-inset-bottom)); left: 0; right: 0; z-index: 45; display: flex; gap: 10px; padding: 10px 20px; border-top: 1px solid var(--portal-line); background: #fff; box-shadow: 0 -4px 16px #172d4005; }
	.portal-detail-mobile-actions .portal-button-primary { flex: 1; }
}
@media (max-width: 639px) {
	.portal-container { width: calc(100% - 36px); }
	.portal-header-row { gap: 12px; height: 62px; }
	.portal-header-row > a .hidden { display: block; }
	.portal-header-row > a p:last-child { display: none; }
	.portal-header-row > a p:first-child { font-size: 13px; letter-spacing: -.04em; }
	.portal-header-row > a img { width: 84px; }
	.portal-home-hero { padding: 20px 0 12px; }
	.portal-hero-heading { grid-template-columns: minmax(0, 1fr) 90px; gap: 8px; min-height: 0; }
	.portal-hero-copy { display: contents; }
	.portal-hero-heading h1 { grid-column: 1; font-size: clamp(22px, 6.4vw, 28px); line-height: 1.4; }
	.portal-hero-heading h1 span { display: block; }
	.portal-hero-heading .portal-lead { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 13px; line-height: 1.6; }
	.portal-hero-visual { grid-column: 2; grid-row: 1; width: 90px; height: 76px; }
	.portal-home-hero .portal-search { margin-top: 14px; }
	.portal-home-hero .portal-search-row input { font-size: 16px; }
	.portal-home-hero .portal-popular { margin-top: 6px; }
	.portal-lead { font-size: 14px; line-height: 1.65; }
	.portal-search { margin-top: 20px; border-radius: 14px; padding: 6px; }
	.portal-search-row { padding-left: 9px; gap: 8px; }
	.portal-search-row > .portal-icon { width: 20px; height: 20px; }
	.portal-search-row input { font-size: 15px; height: 50px; }
	.portal-search-row button { min-width: 58px; height: 50px; padding: 10px 12px; font-size: 14px; }
	.portal-popular { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 16px; font-size: 13px; margin-top: 10px; padding: 0 2px 3px; }
	.portal-popular::-webkit-scrollbar { display: none; }
	.portal-popular > * { flex-shrink: 0; white-space: nowrap; }
	.portal-popular > span { font-size: 12px; font-weight: 500; }
	.portal-popular a { min-height: 44px; }
	.portal-filter-fields { gap: 8px; }
	.portal-filter-fields select { font-size: 14px; padding-inline: 6px; }
	.portal-section { padding: 32px 0; }
	.portal-section-heading { gap: 10px; margin-bottom: 18px; align-items: center; }
	.portal-section-heading h2 { font-size: 22px; }
	.search-portal .portal-text-link { font-size: 12px; gap: 6px; }
	.portal-department-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px 4px; }
	.portal-department-grid a { font-size: 12px; letter-spacing: -.04em; gap: 8px; padding: 6px 0; }
	.portal-category-icon { width: 50px; height: 50px; border-radius: 14px; }
	.portal-category-icon .portal-icon { width: 26px; height: 26px; }
	.portal-area-links { gap: 8px; }
	.portal-area-links a { flex: 0 0 calc((100% - 24px)/4); min-width: 0; padding: 10px 8px; font-size: 14px; }
	.portal-list-hero { padding: 16px 0 22px; }
	.portal-list-hero h1 { font-size: 27px; }
	.portal-breadcrumb { font-size: 11px; gap: 7px; margin-bottom: 14px; }
	.portal-result-note { font-size: 13px; }
	.portal-results { padding-top: 24px; }
	.portal-detail-head { padding: 16px 0 24px; }
	.portal-detail-heading { grid-template-columns: minmax(0,1fr); gap: 24px; }
	.portal-detail-heading h1 { margin: 12px 0; font-size: 32px; }
	.portal-detail-summary { font-size: 15px; }
	.portal-detail-address { font-size: 13px; }
	.portal-detail-nav .portal-container { gap: 22px; }
	.portal-detail-nav a { font-size: 13px; min-height: 50px; }
	.portal-detail-layout { gap: 30px; }
	.portal-detail-content h2 { font-size: 23px; }
	.portal-detail-content > section + section { margin-top: 32px; padding-top: 28px; }
	.portal-treatment-grid { grid-template-columns: minmax(0,1fr); }
	.portal-detail-photo { aspect-ratio: 16/10; }
	.portal-detail-actions .portal-button-primary { flex: 1; }
	.portal-detail-mobile-actions { padding-inline: 18px; }
	.portal-map { height: 250px; }
	.search-portal footer > div { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-block: 28px; }
	.search-portal footer > div > div:first-child { grid-column: 1/-1; }
	.search-portal footer .mt-5 { margin-top: 12px; font-size: 12px; line-height: 1.7; }
	.search-portal footer img { width: 88px; height: auto; }
}
.portal-hospital-card-featured { border-color: var(--portal-line-strong); }
.portal-gallery-caption { margin-top: 12px; color: var(--portal-muted); font-size: 13px; line-height: 1.6; }
.portal-gallery-caption strong { color: var(--portal-dark); margin-right: 8px; }
@media (min-width: 1024px) {
	.portal-mobile-menu { display: none; }
}

/* Shared icon geometry and compact mobile re-search. */
.portal-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.portal-header-search { display: none; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--portal-blue-light); color: var(--portal-blue) !important; }
.portal-header-search[hidden] { display: none !important; }
.portal-menu-button { flex-shrink: 0; }
.portal-menu-close-icon, .portal-menu-button[aria-expanded=true] .portal-menu-open-icon { display: none; }
.portal-menu-button[aria-expanded=true] .portal-menu-close-icon { display: inline; }
.portal-desktop-nav { font-weight: 600; }
.portal-header-ctas a { border-radius: 10px; }
.portal-search-filters summary .portal-icon { width: 17px; height: 17px; }
.portal-detail-meta a { gap: 5px; }
.portal-detail-phone { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--portal-text); margin: 0 0 16px; }
.portal-detail-phone .portal-icon { width: 17px; height: 17px; color: var(--portal-muted); }
.portal-detail-treatment-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 20px; }
.portal-detail-treatment-tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 5px 10px; background: var(--portal-soft); border-radius: 6px; color: var(--portal-text); font-size: 13px; }
.portal-detail-treatment-tags a:hover { color: var(--portal-blue); background: var(--portal-blue-light); }
.portal-empty-icon .portal-icon { width: 28px; height: 28px; }
.search-portal > nav[aria-label="모바일 하단 빠른 메뉴"] .portal-icon { width: 22px; height: 22px; }
/* Keep empty grid tracks: one or two hospitals must retain the same card width. */
@media (min-width: 768px) {
	.portal-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.portal-card-body { padding: 18px; }
	.portal-card-body h3 { font-size: 18px; margin-bottom: 8px; }
	.portal-card-meta { gap: 8px; margin-bottom: 8px; }
	.portal-card-address { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.portal-card-description + .portal-card-address { display: none; }
	.portal-card-tags { margin: 12px 0 14px; }
	.portal-card-tags span { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.portal-card-actions { padding-top: 8px; }
	.portal-card-actions a { gap: 6px; font-weight: 600; }
}
@media (min-width: 1024px) {
	.portal-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 1440px) {
	.portal-card-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 767px) {
	.portal-card-body { padding: 18px 20px 14px; }
	.portal-card-body h3 { font-size: 20px; margin: 0 0 10px; }
	.portal-card-tags { margin-bottom: 12px; }
}
@media (max-width: 1023px) {
	.portal-header-search:not([hidden]) { display: inline-grid; place-items: center; margin-left: auto; }
}
@media (max-width: 639px) {
	.portal-category-section { padding-top: 22px; }
	.portal-category-section .portal-section-heading h2 { font-size: 22px; }
	.portal-department-grid a > span:last-child { min-height: 34px; line-height: 1.45; }
	.portal-header-row { gap: 8px; }
	.portal-header-row > a:first-child { margin-right: auto; }
	.portal-detail-treatment-tags { margin-bottom: 16px; }
}

/* Compact introduction and inquiry pages. Keep shared portal layouts unchanged. */
.portal-business { background: #fff; padding-bottom: 56px; }
.portal-business-container { width: min(100% - 48px, 1120px); margin-inline: auto; }
.portal-business-hero { padding: 52px 0 36px; }
.search-portal .portal-business-hero h1 { font-size: 38px; margin: 0 0 14px; line-height: 1.3; }
.portal-business-hero h1 span { display: block; color: var(--portal-point); }
.portal-business-hero p { margin: 0; color: var(--portal-muted); font-size: 16px; line-height: 1.65; }
.portal-business-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.search-portal .portal-business .portal-button { border-radius: 8px; }
.search-portal .portal-business .portal-button-teal { background: var(--portal-point); border: 1px solid var(--portal-point); color: #fff; }
.search-portal .portal-business .portal-button-teal:hover { background: var(--portal-point-strong); border-color: var(--portal-point-strong); }
.portal-process { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; margin: 0; padding: 28px 0; border-block: 1px solid var(--portal-line); }
.portal-process li { padding-inline: 28px; min-width: 0; }
.portal-process li:first-child { padding-left: 0; }
.portal-process li + li { border-left: 1px solid var(--portal-line); }
.portal-process-mark { display: flex; align-items: center; gap: 12px; color: var(--portal-point); margin-bottom: 12px; }
.portal-process-mark span { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.portal-process-mark .portal-icon { width: 24px; height: 24px; }
.search-portal .portal-process h2 { font-size: 20px; margin: 0 0 6px; }
.portal-process p { font-size: 15px; margin: 0; color: var(--portal-muted); }
.portal-connected-info { padding-top: 32px; }
.search-portal .portal-connected-info > h2 { font-size: 24px; margin: 0 0 20px; }
.portal-connected-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; padding: 0; }
.portal-connected-list > div { padding: 0 24px; border-left: 1px solid var(--portal-line); }
.portal-connected-list > div:first-child { padding-left: 0; border-left: 0; }
.portal-connected-list dt { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }
.portal-connected-list .portal-icon { color: var(--portal-point); }
.portal-connected-list dd { margin: 8px 0 0; color: var(--portal-muted); font-size: 14px; }
.portal-business-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; margin-top: 36px; background: var(--portal-soft); border: 1px solid var(--portal-line); border-radius: 8px; }
.portal-business-cta p { margin: 0; font-size: 16px; font-weight: 600; }
.portal-business-cta .portal-button { flex-shrink: 0; }
.portal-contact .portal-business-hero { padding: 40px 0 28px; }
.search-portal .portal-contact .portal-business-hero h1 { font-size: 36px; margin-bottom: 10px; }
.portal-contact-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); align-items: start; gap: 44px; }
.portal-contact-phone { padding: 24px 0; border-top: 1px solid var(--portal-line); }
.search-portal .portal-contact-phone h2 { display: flex; align-items: center; gap: 9px; font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.portal-contact-phone .portal-icon { color: var(--portal-point); }
.search-portal .portal-contact-phone a { display: inline-flex; align-items: center; min-height: 44px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.portal-contact-phone a:hover { color: var(--portal-point); }
.portal-contact-form { min-width: 0; padding: 28px; border: 1px solid var(--portal-line-strong); border-radius: 10px; }
.portal-contact-hint { font-size: 14px; color: var(--portal-muted); margin: 0 0 20px; }
.portal-contact-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 20px; }
.portal-contact-field { min-width: 0; }
.portal-contact-field-wide { grid-column: 1 / -1; }
.portal-contact-field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
.search-portal .portal-contact-field :is(input,select,textarea) { display: block; width: 100%; min-width: 0; height: 48px; padding: 0 13px; border: 1px solid var(--portal-line-strong); border-radius: 6px; background: #fff; font-size: 15px; line-height: 1.5; }
.search-portal .portal-contact-field select { padding-right: 24px; }
.search-portal .portal-contact-field textarea { height: 120px; min-height: 120px; padding-block: 12px; resize: vertical; }
.portal-contact-field :is(input,textarea)::placeholder { color: var(--portal-muted); opacity: 1; }
.portal-contact-field :is(input,select,textarea):focus { border-color: var(--portal-point); outline: 2px solid var(--portal-point); outline-offset: 2px; }
.portal-contact-consent { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding-block: 6px; font-size: 14px; color: var(--portal-text); cursor: pointer; }
.portal-contact-consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--portal-point); }
.portal-contact-consent strong { font-size: 13px; color: var(--portal-point); font-weight: 600; white-space: nowrap; }
.search-portal .portal-contact-submit { width: 100%; margin-top: 18px; }
.portal-contact-notice { padding: 12px 14px; margin-bottom: 20px; border: 1px solid; border-radius: 6px; font-size: 14px; }
.portal-contact-error { border-color: #fecdd3; background: #fff1f2; color: #9f1239; }
.portal-contact-success { border-color: #a7dfd1; background: var(--portal-primary-light); color: var(--portal-point-strong); }
@media (max-width: 1023px) {
	.portal-contact-layout { grid-template-columns: 1fr; max-width: 740px; gap: 20px; }
	.portal-contact .portal-business-container { max-width: 740px; }
	.portal-contact-phone { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-block: 1px solid var(--portal-line); }
	.search-portal .portal-contact-phone h2 { margin: 0; }
	.portal-connected-list > div { padding-inline: 16px; }
}
@media (max-width: 767px) {
	.portal-business { padding-bottom: 40px; }
	.portal-business-container { width: calc(100% - 36px); }
	.portal-business-hero { padding: 36px 0 28px; }
	.search-portal .portal-business-hero h1, .search-portal .portal-contact .portal-business-hero h1 { font-size: 28px; }
	.portal-business-hero p { font-size: 15px; }
	.portal-business-actions { margin-top: 20px; }
	.portal-process { grid-template-columns: 1fr; padding: 0; }
	.portal-process li, .portal-process li:first-child { display: flex; align-items: center; gap: 18px; padding: 20px 0; }
	.portal-process li + li { border-left: 0; border-top: 1px solid var(--portal-line); }
	.portal-process-mark { align-items: center; flex-direction: column; gap: 4px; margin: 0; min-width: 28px; }
	.search-portal .portal-process h2 { font-size: 18px; margin-bottom: 4px; }
	.portal-process p { font-size: 14px; }
	.portal-connected-info { padding-top: 28px; }
	.search-portal .portal-connected-info > h2 { font-size: 22px; margin-bottom: 18px; }
	.portal-connected-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 0; }
	.portal-connected-list > div { padding-inline: 16px 0; }
	.portal-connected-list > div:nth-child(odd) { border-left: 0; padding-left: 0; }
	.portal-connected-list dt { gap: 7px; }
	.portal-business-cta { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 28px; padding: 20px; }
	.portal-business-cta p { font-size: 15px; }
	.portal-contact .portal-business-hero { padding: 28px 0 22px; }
	.portal-contact-layout { gap: 18px; }
	.search-portal .portal-contact-phone a { font-size: 21px; }
	.portal-contact-form { padding: 20px; }
	.portal-contact-fields { grid-template-columns: 1fr; gap: 16px; }
	.search-portal .portal-contact-field :is(input,select,textarea) { font-size: 16px; }
}

/* Oneframe introduction: retain the hero, three-step flow and four-column details. */
.portal-oneframe {
	--oneframe-ink: #183e3c;
	--oneframe-line: #d5e2df;
	--oneframe-muted: #5d736e;
}
.portal-oneframe .portal-business-hero { background: linear-gradient(180deg, #f6faf9 0%, #fff 100%); }
.search-portal .portal-oneframe .portal-business-hero h1 { margin: 0; }
.portal-oneframe .portal-business-hero h1 img { width: 100%; height: auto; mix-blend-mode: multiply; }
.search-portal .portal-oneframe-mobile-copy { display: none; }
.portal-oneframe .portal-business-actions { margin-left: 6%; gap: 12px; }
.search-portal .portal-oneframe .portal-button { min-height: 48px; padding-inline: 24px; border-radius: 6px; letter-spacing: -.025em; }
.search-portal .portal-oneframe .portal-button-teal { background: #087f79; border-color: #087f79; box-shadow: 0 3px 0 #056761; }
.search-portal .portal-oneframe .portal-button-outline { border-color: #cbdad6; }
.search-portal .portal-oneframe .portal-button-teal:hover { background: #076c67; border-color: #076c67; }
.search-portal .portal-oneframe .portal-button:active { box-shadow: none; }
.portal-oneframe .portal-button .portal-icon { width: 18px; height: 18px; }
.portal-oneframe .portal-process { padding: 0; border-color: var(--oneframe-line); }
.portal-oneframe .portal-process li { position: relative; padding: 22px 28px 24px; }
.portal-oneframe .portal-process li:first-child { padding-left: 24px; }
.portal-oneframe .portal-process li + li { border-color: var(--oneframe-line); }
.portal-oneframe .portal-process li::before { content: ""; position: absolute; inset: -1px 0 auto; height: 2px; background: #b6ccc7; }
.portal-oneframe .portal-process li:nth-child(2)::before { background: #6da69c; }
.portal-oneframe .portal-process li:last-child::before { background: var(--portal-point); }
.portal-oneframe .portal-process li:last-child { background: #f0f8f5; }
.portal-oneframe .portal-process-mark { justify-content: space-between; margin-bottom: 10px; color: var(--portal-point); }
.portal-oneframe .portal-process-mark span { font-size: 32px; line-height: 1; font-weight: 500; letter-spacing: -.06em; font-variant-numeric: tabular-nums; color: #688b82; }
.portal-oneframe .portal-process li:last-child .portal-process-mark span { color: var(--portal-point); }
.portal-oneframe .portal-process li:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 37px; right: -4px; width: 7px; height: 7px; border-top: 1px solid #6f9188; border-right: 1px solid #6f9188; background: #fff; transform: rotate(45deg); }
.search-portal .portal-oneframe .portal-process h2 { color: var(--oneframe-ink); letter-spacing: -.04em; }
.portal-oneframe .portal-process p { color: var(--oneframe-muted); }
.portal-oneframe .portal-connected-info { padding-top: 32px; }
.search-portal .portal-oneframe .portal-connected-info > h2 { display: flex; align-items: center; gap: 18px; font-size: 22px; letter-spacing: -.04em; color: var(--oneframe-ink); }
.portal-oneframe .portal-connected-info > h2::after { content: ""; height: 1px; flex: 1; background: var(--oneframe-line); }
.portal-oneframe .portal-connected-list > div { min-width: 0; border-color: var(--oneframe-line); }
.portal-oneframe .portal-connected-list dt { gap: 10px; color: var(--oneframe-ink); font-weight: 700; }
.portal-oneframe .portal-connected-list .portal-icon { width: 28px; height: 28px; padding: 5px; border-radius: 6px; background: #edf5f2; }
.portal-oneframe .portal-connected-list dd { margin-top: 7px; color: var(--oneframe-muted); line-height: 1.6; }
.portal-oneframe .portal-business-cta { position: relative; border: 1px solid var(--oneframe-ink); border-left: 4px solid #12b8b0; border-radius: 6px; background: var(--oneframe-ink); padding: 22px 28px; }
.portal-oneframe .portal-business-cta p { color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -.035em; }
.search-portal .portal-oneframe .portal-business-cta .portal-button { background: #fff; color: var(--oneframe-ink); border-color: #fff; }
.search-portal .portal-oneframe .portal-business-cta .portal-button:hover { background: #dff4ed; border-color: #dff4ed; }
.portal-oneframe .portal-business-cta .portal-button:focus-visible { outline-color: #77e3d4; }
@media (min-width: 768px) and (max-width: 1023px) {
	.portal-oneframe .portal-process li, .portal-oneframe .portal-process li:first-child { padding-inline: 20px; }
	.search-portal .portal-oneframe .portal-process h2 { font-size: 19px; }
	.portal-oneframe .portal-process p { font-size: 14px; }
}
@media (max-width: 767px) {
	.portal-oneframe .portal-business-hero { padding: 36px 0 28px; }
	.portal-oneframe .portal-business-hero h1 img { display: none; }
	.search-portal .portal-oneframe-mobile-copy { display: block; margin: 0; font-size: clamp(25px, 6.5vw, 32px); font-weight: 800; line-height: 1.3; letter-spacing: -.05em; }
	.search-portal .portal-oneframe-mobile-copy > span:first-child { color: var(--oneframe-ink); }
	.portal-oneframe-mobile-copy small { display: block; max-width: 30em; margin-top: 12px; color: var(--oneframe-muted); font-size: 14px; font-weight: 400; line-height: 1.65; letter-spacing: -.02em; }
	.portal-oneframe .portal-business-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0 0; gap: 10px; }
	.search-portal .portal-oneframe .portal-business-actions .portal-button { padding-inline: 8px; font-size: 14px; }
	.portal-oneframe .portal-process li, .portal-oneframe .portal-process li:first-child { padding: 20px 16px; gap: 20px; }
	.portal-oneframe .portal-process li + li { border-left: 0; }
	.portal-oneframe .portal-process li::before { inset: 0 auto 0 -1px; width: 2px; height: auto; }
	.portal-oneframe .portal-process-mark { flex-direction: column; justify-content: center; gap: 8px; margin: 0; min-width: 32px; }
	.portal-oneframe .portal-process-mark span { font-size: 24px; }
	.portal-oneframe .portal-process-mark .portal-icon { width: 20px; height: 20px; }
	.portal-oneframe .portal-process li:not(:last-child)::after { top: auto; right: auto; left: 29px; bottom: -4px; transform: rotate(135deg); }
	.search-portal .portal-oneframe .portal-process h2 { font-size: 18px; }
	.search-portal .portal-oneframe .portal-connected-info > h2 { font-size: 20px; gap: 12px; }
	.portal-oneframe .portal-connected-list { gap: 20px 0; }
	.portal-oneframe .portal-connected-list > div { padding-inline: 12px 0; }
	.portal-oneframe .portal-connected-list > div:nth-child(odd) { padding-left: 0; }
	.portal-oneframe .portal-connected-list dt { gap: 7px; font-size: 14px; }
	.portal-oneframe .portal-connected-list .portal-icon { width: 24px; height: 24px; padding: 3px; }
	.portal-oneframe .portal-connected-list dd { font-size: 13px; }
	.portal-oneframe .portal-business-cta { padding: 22px 20px; gap: 18px; }
	.portal-oneframe .portal-business-cta p { max-width: 18em; font-size: 18px; line-height: 1.55; text-wrap: balance; }
	.portal-oneframe .portal-business-cta .portal-button { width: 100%; }
}

/* Page-specific illustrations stay separate from the accessible HTML headings. */
.portal-contact .portal-business-hero { padding: 24px 0 32px; margin-bottom: 32px; border-bottom: 1px solid #e1eeea; background: linear-gradient(110deg, #f1f9f6, #f7fbfd 72%, #f1f9f8); }
.portal-contact-hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 40px; min-height: 240px; }
.portal-contact-hero-copy { min-width: 0; }
.search-portal .portal-contact-hero h1 { color: #183e3c; }
.portal-contact-hero-copy p { max-width: 30em; }
.portal-contact-visual { display: block; width: 420px; height: 240px; object-fit: contain; justify-self: end; }
.portal-list-hero-illustrated { background: linear-gradient(115deg, #f4faf8, #fff 72%); }
.portal-list-heading { display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: center; gap: 24px; }
.portal-list-heading-copy { min-width: 0; }
.portal-list-heading .portal-breadcrumb { margin-bottom: 16px; }
.portal-list-heading h1 { margin-bottom: 0; }
.portal-list-heading .portal-lead { margin-top: 12px; }
.portal-list-visual { display: block; width: 230px; height: 128px; object-fit: contain; justify-self: end; }
@media (min-width: 640px) and (max-width: 1023px) {
	.portal-contact-hero { grid-template-columns: minmax(0, 1fr) 280px; min-height: 190px; gap: 24px; }
	.portal-contact-visual { width: 280px; height: 190px; }
	.portal-list-heading { grid-template-columns: minmax(0, 1fr) 180px; gap: 20px; }
	.portal-list-visual { width: 180px; height: 114px; }
}
@media (max-width: 639px) {
	.portal-contact .portal-business-hero { padding: 22px 0 24px; margin-bottom: 24px; }
	.portal-contact-hero { grid-template-columns: minmax(0, 1fr) 132px; min-height: 0; gap: 10px 12px; }
	.portal-contact-hero-copy { display: contents; }
	.search-portal .portal-contact-hero h1 { grid-column: 1; grid-row: 1; margin: 0; font-size: 28px; }
	.portal-contact-hero-copy p { grid-column: 1 / -1; grid-row: 2; font-size: 15px; }
	.portal-contact-visual { grid-column: 2; grid-row: 1; width: 132px; height: 100px; }
	.portal-list-heading { grid-template-columns: minmax(0, 1fr) 100px; gap: 12px; }
	.portal-list-heading-copy { display: contents; }
	.portal-list-heading .portal-breadcrumb { grid-column: 1 / -1; margin-bottom: 0; }
	.portal-list-heading h1 { grid-column: 1; grid-row: 2; font-size: clamp(23px, 5.8vw, 27px); line-height: 1.4; }
	.portal-list-visual { grid-column: 2; grid-row: 2; width: 100px; height: 94px; }
	.portal-list-heading .portal-lead { grid-column: 1 / -1; margin-top: 0; font-size: 14px; }
}

/* Shared interaction timing: transforms are limited to pointer-based controls. */
.search-portal :is(.portal-button,.portal-service-link,.portal-area-links a,.portal-detail-treatment-tags a,.portal-desktop-nav a,.portal-detail-nav a,.portal-department-grid a,.portal-header-ctas a,.portal-card-actions a,.portal-menu-button) {
	transition: background-color var(--motion-fast) var(--ease-ui), border-color var(--motion-fast) var(--ease-ui), color var(--motion-fast) var(--ease-ui), transform var(--motion-fast) var(--ease-ui);
}
.portal-search { transition: border-color var(--motion-fast) var(--ease-ui), box-shadow var(--motion-fast) var(--ease-ui); }
.portal-search :is(input,select), .portal-contact-field :is(input,select,textarea) { transition: border-color var(--motion-fast) var(--ease-ui), background-color var(--motion-fast) var(--ease-ui); }
.portal-hospital-card { transition: border-color var(--motion-base) var(--ease-ui), box-shadow var(--motion-base) var(--ease-ui), transform var(--motion-base) var(--ease-ui); }
.portal-category-icon { transition: background-color var(--motion-fast) var(--ease-ui), color var(--motion-fast) var(--ease-ui); }
.portal-treatment { transition: border-color var(--motion-fast) var(--ease-ui), background-color var(--motion-fast) var(--ease-ui); }
.portal-search-filters summary .portal-icon:last-child { transition: transform var(--motion-base) var(--ease-ui); }
.search-portal .portal-button:disabled, .search-portal .portal-button[aria-disabled=true] { opacity: .55; cursor: not-allowed; transform: none; }
@media (hover: hover) and (pointer: fine) {
	.search-portal .portal-button:not(:disabled):not([aria-disabled=true]):hover { transform: translateY(-1px); }
	.search-portal .portal-button:not(:disabled):active { transform: translateY(0); }
	.portal-treatment:hover { border-color: var(--portal-line-strong); background: var(--portal-soft); }
}
/* Swiper uses these scoped structural styles; the legacy global slider CSS is not loaded. */
#hospitalGallery { min-width: 0; }
.portal-gallery-slider { width: 100%; height: 100%; position: relative; overflow: hidden; touch-action: pan-y; overscroll-behavior-x: contain; }
.portal-gallery-slider .swiper-wrapper { position: relative; display: flex; width: 100%; height: 100%; transition-property: transform; transition-timing-function: var(--ease-gallery); }
.portal-gallery-slider .swiper-slide { width: 100%; height: 100%; flex-shrink: 0; position: relative; }
.portal-gallery-slider:not(.portal-gallery-ready) .swiper-slide:not(:first-child) { display: none; }
.portal-gallery-slider img { display: block; user-select: none; -webkit-user-drag: none; }
.portal-gallery-slider [data-gallery-image-link] { display: block; height: 100%; width: 100%; position: relative; }
.portal-gallery-slider [data-gallery-image-link]:focus-visible { outline: 3px solid var(--point, #12b8b0); outline-offset: -4px; }
.portal-gallery-link-hint { position:absolute; top:12px; right:12px; display:flex; align-items:center; gap:5px; padding:6px 9px; border-radius:8px; color:#fff; background:rgba(0,0,0,.55); font-size:12px; pointer-events:none; }
.portal-gallery-link-hint svg { width:14px; height:14px; }
.portal-gallery-slider:focus-visible { outline-offset: -4px; }
.portal-detail-photo .portal-gallery-controls { display: block; inset: 0; padding: 0; background: none; border-radius: 0; pointer-events: none; z-index: 2; }
.portal-gallery-controls button { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: rgba(15,31,40,.65); border: 1px solid #ffffff55; border-radius: 50%; color: #fff; pointer-events: auto; transition: background-color var(--motion-fast) var(--ease-ui), opacity var(--motion-fast) var(--ease-ui); }
#galleryPrev { left: 12px; }
#galleryNext { right: 12px; }
.portal-gallery-controls button:disabled { opacity: .35; cursor: default; }
.portal-gallery-controls button:not(:disabled):hover { background: rgba(15,31,40,.85); }
.portal-gallery-counter { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; line-height: 1.6; font-variant-numeric: tabular-nums; pointer-events: none; }
.portal-gallery-thumbs button { border: 1px solid var(--portal-line-strong); opacity: .75; transition: opacity var(--motion-fast) var(--ease-ui), border-color var(--motion-fast) var(--ease-ui), box-shadow var(--motion-fast) var(--ease-ui); }
.portal-gallery-thumbs button[aria-pressed=true] { opacity: 1; border-color: var(--portal-point); box-shadow: inset 0 0 0 1px var(--portal-point); }
.portal-gallery-thumbs button:hover { opacity: 1; }
.portal-gallery-dots { display: none; justify-content: center; flex-wrap: wrap; }
.portal-gallery-dots button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; padding: 0; background: transparent; border-radius: 6px; }
.portal-gallery-dots button span { width: 7px; height: 7px; border-radius: 50%; background: #aebbc6; transition: background-color var(--motion-fast) var(--ease-ui); }
.portal-gallery-dots button[aria-current=true] span { background: var(--portal-point); box-shadow: 0 0 0 3px var(--portal-primary-light); }
.portal-gallery-controls[hidden], .portal-gallery-thumbs[hidden], .portal-gallery-dots[hidden], .portal-gallery-caption[hidden] { display: none; }
/* Native details remain usable with no script. JS animates only an active disclosure. */
.portal-guide, .portal-faq { padding: 0; }
.portal-guide summary, .portal-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; min-height: 52px; list-style: none; cursor: pointer; }
.portal-guide summary::-webkit-details-marker, .portal-faq summary::-webkit-details-marker { display: none; }
.portal-guide summary .portal-icon, .portal-faq summary .portal-icon { color: var(--portal-muted); transition: transform var(--motion-base) var(--ease-ui); }
.portal-guide summary[aria-expanded=true] .portal-icon, .portal-faq summary[aria-expanded=true] .portal-icon { transform: rotate(180deg); }
.portal-guide[open] summary:not([aria-expanded]) .portal-icon, .portal-faq[open] summary:not([aria-expanded]) .portal-icon { transform: rotate(180deg); }
.portal-guide [data-accordion-content], .portal-faq [data-accordion-content] { padding: 0 18px 18px; }
.portal-guide p, .portal-faq p { margin: 0; }
.portal-guide summary:focus-visible, .portal-faq summary:focus-visible { outline-offset: -4px; border-radius: 10px; }
/* Apple-inspired grouped controls with bright, restrained service-color surfaces. */
.search-portal .portal-service-link { --service-accent: #0066cc; --service-bg: #eaf3ff; --service-hover: #dceaff; --service-line: #c5d9f3; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 60px; padding: 10px 16px; border: 0; border-radius: 0; background: var(--service-bg); color: #1d1d1f; line-height: 1.5; box-shadow: none; text-decoration: none; transition: background-color var(--motion-fast) var(--ease-ui), color var(--motion-fast) var(--ease-ui); }
.search-portal .portal-service-naver { --service-accent: #237a48; --service-bg: #e6f6e9; --service-hover: #d4efdc; --service-line: #b9ddc5; }
.search-portal .portal-service-kakao { --service-accent: #78611c; --service-bg: #fff2b8; --service-hover: #ffe995; --service-line: #e8d58c; }
.search-portal .portal-service-youtube { --service-accent: #a54848; --service-bg: #ffeded; --service-hover: #ffdddd; --service-line: #ebcaca; }
.search-portal .portal-service-instagram { --service-accent: #8a5077; --service-bg: #fceafa; --service-hover: #f6dced; --service-line: #e4c8da; }
.search-portal .portal-service-google { --service-accent: #496a9b; }
.portal-service-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; color: var(--service-accent); background: rgba(255,255,255,.8); border-radius: 10px; }
.portal-service-icon .portal-icon { width: 19px; height: 19px; stroke-width: 1.65; }
.portal-service-copy { display: grid; gap: 1px; min-width: 0; }
.portal-service-copy strong { font-size: 14px; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.portal-service-copy small { font-size: 12px; font-weight: 400; color: #58616b; overflow-wrap: anywhere; }
.portal-service-link > .portal-icon { width: 15px; height: 15px; margin-left: auto; flex-shrink: 0; color: #86868b; stroke-width: 1.6; }
.search-portal .portal-service-link:hover { color: #1d1d1f; background: var(--service-hover); transform: none; box-shadow: none; }
.search-portal .portal-service-link:focus-visible { outline: 2px solid #0071e3; outline-offset: -3px; position: relative; z-index: 1; }
.search-portal .portal-service-link:active { background: var(--service-hover); }
.portal-channels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; max-width: 640px; overflow: hidden; border: 1px solid #e5e5ea; border-radius: 16px; background: #e5e5ea; box-shadow: 0 3px 16px rgba(0,0,0,.035); }
.portal-channels > .portal-service-link:last-child:nth-child(odd) { grid-column: 1 / -1; }
.portal-location-card .portal-map-links { display: flex; flex-wrap: wrap; gap: 10px; }
.portal-location-card .portal-service-link { min-height: 48px; padding: 8px 15px; gap: 9px; border-radius: 999px; background: var(--service-bg); box-shadow: inset 0 0 0 1px var(--service-line); }
.portal-location-card .portal-service-link:hover { background: var(--service-hover); box-shadow: inset 0 0 0 1px var(--service-line); }
.portal-location-card .portal-service-icon { width: 26px; height: 26px; background: transparent; }
.portal-location-card .portal-service-copy small { display: none; }
.portal-location-card .portal-service-link > .portal-icon { margin-left: 4px; }
.search-portal :is(.portal-detail-head,.portal-detail-aside,.portal-detail-mobile-actions) .portal-button { border-radius: 999px; font-weight: 500; }
.search-portal :is(.portal-detail-head,.portal-detail-aside,.portal-detail-mobile-actions) .portal-button-primary { background: #0071e3; border-color: #0071e3; }
.search-portal :is(.portal-detail-head,.portal-detail-aside,.portal-detail-mobile-actions) .portal-button-primary:hover { background: #0064ca; border-color: #0064ca; }
.search-portal :is(.portal-detail-head,.portal-detail-aside,.portal-detail-mobile-actions) .portal-button-outline { background: #f5f5f7; border-color: #e8e8ed; color: #1d1d1f; }
.search-portal :is(.portal-detail-head,.portal-detail-aside,.portal-detail-mobile-actions) .portal-button-outline:hover { background: #ececf0; border-color: #dedee4; }
.portal-detail-head h1, .portal-detail-content .portal-detail-section-title { color: #1d1d1f; }
.portal-hospital-identity { display: flex; align-items: center; gap: 16px; margin: 16px 0; }
.portal-hospital-identity h1 { margin: 0; min-width: 0; }
.portal-hospital-logo { position: relative; display: grid; place-items: center; width: 96px; height: 64px; flex-shrink: 0; border: 1px solid #e0eae9; border-radius: 14px; background: #fff; color: var(--portal-point); overflow: hidden; box-shadow: 0 4px 12px rgba(27,69,76,.05); }
.portal-hospital-logo > .portal-icon { width: 28px; height: 28px; }
.portal-hospital-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; }
.portal-hospital-logo img[hidden] { display: none; }
.portal-location-card { border: 1px solid var(--portal-line); border-radius: 14px; overflow: hidden; padding-bottom: 20px; }
.portal-location-card .portal-map { border: 0; border-radius: 0; background: var(--portal-soft); }
.portal-map-panel { min-width: 0; }
.portal-map-kakao { min-height: 300px; background: var(--portal-soft); }
.portal-map-kakao .root_daum_roughmap { width: 100% !important; max-width: 100%; }
.portal-map-notice { margin: 0; padding: 16px 20px 0; color: var(--portal-muted); font-size: 13px; line-height: 1.7; }
.portal-location-card .portal-map-address, .portal-location-card .portal-map-links { margin-inline: 20px; }
.portal-detail-mobile-actions { transition: background-color var(--motion-fast) var(--ease-ui); }
.portal-detail-content > section:focus { outline: none; }
/* Detail information hierarchy: keep public listing and home styles independent. */
.portal-detail-heading > div, .portal-detail-content { min-width: 0; }
.portal-detail-summary { color: var(--portal-text); font-size: 17px; font-weight: 500; line-height: 1.8; }
.portal-detail-address, .portal-detail-content .portal-map-address { display: flex; align-items: flex-start; gap: 8px; }
.portal-detail-address > .portal-icon { width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; color: var(--portal-point); }
.portal-detail-phone { font-weight: 650; font-variant-numeric: tabular-nums; }
.portal-detail-phone .portal-icon { color: var(--portal-point); }
.portal-detail-content .portal-detail-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 26px; font-weight: 750; letter-spacing: -.035em; }
.portal-detail-section-icon { display: inline-grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; color: #6e6e73; background: #f5f5f7; }
.portal-detail-section-icon .portal-icon { width: 21px; height: 21px; }
.portal-intro-copy { border-left: 3px solid #c5e5e1; padding-left: 22px; white-space: normal; }
.portal-intro-copy p { margin: 0; white-space: pre-line; }
.portal-intro-copy p + p { margin-top: 18px; }
.portal-intro-copy p:first-child { color: var(--portal-dark); font-weight: 600; }
.portal-detail-content .portal-treatment { padding: 20px; background: #fbfcfd; border-color: #e1e9ed; }
.portal-detail-content .portal-treatment h3 { display: flex; align-items: baseline; gap: 9px; margin-bottom: 9px; font-size: 17px; font-weight: 750; letter-spacing: -.025em; }
.portal-detail-content .portal-treatment h3::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--portal-point); flex-shrink: 0; position: relative; top: -2px; }
.portal-detail-content .portal-treatment p { color: var(--portal-text); font-size: 15px; line-height: 1.75; }
.portal-hours-list { border: 1px solid var(--portal-line); border-radius: 14px; overflow: hidden; }
.portal-hours-list > div { grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 14px 18px; }
.portal-hours-list > div:nth-child(odd) { background: #f7fafb; }
.portal-hours-list > div:last-child { border-bottom: 0; }
.portal-hours-list dt { color: var(--portal-dark); font-size: 14px; font-weight: 700; padding-top: 2px; }
.portal-hours-list dd { min-width: 0; line-height: 1.7; }
.portal-hours-time { display: block; color: var(--portal-dark); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.portal-hours-note { color: var(--portal-muted); font-size: 13px; }
.portal-hours-note + .portal-hours-note::before { content: " · "; }
.portal-hours-closed { display: inline-block; padding: 3px 9px; border-radius: 6px; background: #f1edf0; color: #705565; font-size: 13px; font-weight: 600; }
.portal-detail-content .portal-visit-note { display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; background: #f5f8fb; border-radius: 10px; line-height: 1.7; }
.portal-visit-note > .portal-icon { flex-shrink: 0; width: 17px; height: 17px; margin-top: 3px; }
.portal-detail-content .portal-guide summary, .portal-detail-content .portal-faq summary { font-size: 16px; font-weight: 650; }
.portal-detail-content .portal-guide summary > span { display: flex; align-items: baseline; gap: 9px; }
.portal-detail-content .portal-guide summary > span::before { content: ""; flex-shrink: 0; width: 5px; height: 5px; position: relative; top: -2px; border-radius: 50%; background: var(--portal-point); }
.portal-detail-content .portal-guide[open], .portal-detail-content .portal-faq[open] { border-color: #bfd6d4; background: #fcfefe; }
.portal-guide-lines { list-style: disc; margin: 0; padding-left: 20px; color: var(--portal-text); font-size: 15px; line-height: 1.8; }
.portal-guide-lines li + li { margin-top: 7px; }
.portal-guide-lines li::marker { color: var(--portal-point); font-size: .8em; }
.portal-faq-question { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.portal-faq-mark { display: inline-grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 8px; background: #edf7f6; color: var(--portal-point); font-size: 13px; font-weight: 800; }
.portal-detail-content .portal-faq p { color: var(--portal-text); font-size: 15px; line-height: 1.8; }
.portal-detail-content .portal-map-address { font-weight: 600; line-height: 1.7; }
.portal-detail-content .portal-map-address > .portal-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--portal-point); flex-shrink: 0; }
.portal-detail-aside { padding: 22px; border-color: #e5e5ea; border-radius: 20px; background: #f5f5f7; box-shadow: 0 3px 16px rgba(0,0,0,.025); }
.portal-detail-aside h2 { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 750; line-height: 1.5; }
.portal-detail-aside h2 > .portal-icon { width: 21px; height: 21px; flex-shrink: 0; color: #6e6e73; }
.portal-detail-aside .portal-info-list > div { grid-template-columns: 65px minmax(0, 1fr); gap: 12px; padding-block: 14px; }
.portal-detail-aside dt { font-size: 13px; }
.portal-detail-aside dd { min-width: 0; color: var(--portal-dark); font-weight: 600; line-height: 1.7; }
.portal-detail-aside .portal-aside-phone { font-size: 17px; font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
	.portal-detail-summary { font-size: 16px; }
	.portal-detail-content .portal-detail-section-title { font-size: 22px; gap: 10px; margin-bottom: 18px; }
	.portal-detail-section-icon { flex-basis: 34px; width: 34px; height: 34px; border-radius: 10px; }
	.portal-detail-section-icon .portal-icon { width: 19px; height: 19px; }
	.portal-intro-copy { padding-left: 16px; }
	.portal-detail-content .portal-treatment { padding: 18px; }
	.portal-hours-list > div { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 13px 12px; }
	.portal-detail-content .portal-guide summary, .portal-detail-content .portal-faq summary { padding-inline: 14px; font-size: 15px; }
	.portal-detail-content .portal-guide [data-accordion-content], .portal-detail-content .portal-faq [data-accordion-content] { padding-inline: 14px; }
	.portal-gallery-thumbs { display: none; }
	.portal-gallery-dots:not([hidden]) { display: flex; }
	.portal-gallery-caption { margin-top: 4px; }
	.portal-hospital-identity { gap: 12px; }
	.portal-hospital-logo { width: 72px; height: 56px; border-radius: 12px; }
	.portal-hospital-logo img { padding: 7px; }
	.portal-channels .portal-service-link { padding: 10px 14px; }
	.portal-location-card .portal-map-address, .portal-location-card .portal-map-links { margin-inline: 16px; }
}

@media (max-width: 540px) {
	.portal-channels { grid-template-columns: 1fr; }
	.portal-location-card .portal-map-links { gap: 8px; }
	.portal-location-card .portal-service-link { padding-inline: 10px; gap: 8px; }
	.portal-location-card .portal-service-icon { width: 24px; height: 24px; }
	.portal-location-card .portal-service-link > .portal-icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.portal-card-roll-toggle { display: none; }
	.search-portal *, .search-portal *::before, .search-portal *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
	.portal-hospital-card:hover { transform: none; }
	.search-portal :is(.portal-button,.portal-service-link):hover { transform: none; }
}
