@import url("mediflo_doc.css?v=2026111702");

.pg_mediflo {
  --brand: #0038c3;
  --brand_d: #002a94;
  --brand_l: #2a5bd7;
  --brand_soft: #eaf0ff;
  --navy: #0b1f4d;
  --navy_m: #102a6b;
  --ink: #141a26;
  --ink_2: #3a4560;
  --muted: #6b7690;
  --line: #e3e8f2;
  --line_2: #d4dbe8;
  --bg: #f4f7fc;
  --white: #ffffff;
  --emergency: #e63946;
  --emergency_d: #b91c2b;
  --side_w: 288px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

.pg_mediflo, .pg_mediflo *, .pg_mediflo *::before, .pg_mediflo *::after { box-sizing: border-box; }
.pg_mediflo { margin: 0; color: var(--ink); background: var(--white); font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 15px; line-height: 1.5; word-break: keep-all; -webkit-font-smoothing: antialiased; }
:where(.pg_mediflo) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; }
:where(.pg_mediflo) :where(ul, ol) { padding: 0; list-style: none; }
:where(.pg_mediflo) :where(a) { color: inherit; text-decoration: none; }
:where(.pg_mediflo) :where(button, input, textarea, select) { font: inherit; color: inherit; }
:where(.pg_mediflo) :where(button) { cursor: pointer; }
:where(.pg_mediflo) :where(img, svg) { display: block; }
.pg_mediflo [hidden] { display: none !important; }
.pg_mediflo.is_locked { overflow: hidden; }
.blind { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.mf_app { display: grid; grid-template-columns: var(--side_w) minmax(0, 1fr); min-height: 100vh; }

/* side */
.side_wrap { position: sticky; top: 0; z-index: 40; display: flex; height: 100vh; flex-direction: column; border-right: 1px solid var(--line); background: var(--white); }
.side_head { display: flex; height: 84px; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); }
.side_logo img { width: 168px; height: auto; }
.side_close { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink_2); }
.side_close:hover { background: var(--bg); }
.side_scroll { display: flex; min-height: 0; flex: 1; flex-direction: column; overflow-y: auto; padding: 18px 16px 16px; }
.side_nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.side_nav_btn { position: relative; display: flex; min-height: 96px; flex-direction: column; justify-content: space-between; gap: 10px; padding: 14px 14px 13px; border: 0; border-radius: 12px; color: var(--white); background: linear-gradient(155deg, var(--navy_m) 0%, var(--navy) 100%); box-shadow: 0 8px 18px rgba(11, 31, 77, .18); text-align: left; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.side_nav_btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(11, 31, 77, .26); }
.side_nav_btn .ico { width: 24px; height: 24px; stroke-width: 1.6; }
.side_nav_arrow { position: absolute; top: 12px; right: 12px; width: 14px; height: 14px; opacity: .7; }
.side_nav_name { font-size: 14px; font-weight: 700; line-height: 1.32; letter-spacing: -.02em; }
.side_nav_btn.is_active { background: linear-gradient(155deg, var(--brand_l) 0%, var(--brand) 100%); }
.side_nav_btn.is_active::after { content: ""; position: absolute; right: 10px; bottom: -6px; left: 10px; height: 3px; border-radius: 3px; background: var(--brand); opacity: .35; }
.side_new { display: flex; height: 50px; margin-top: 20px; align-items: center; justify-content: center; gap: 8px; border: 0; border-left: 5px solid var(--brand_d); border-radius: 10px; color: var(--white); background: var(--brand); box-shadow: 0 10px 22px rgba(0, 56, 195, .22); font-size: 16px; font-weight: 700; letter-spacing: -.02em; transition: background .2s; }
.side_new:hover { background: var(--brand_d); }
.side_new .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.side_history { display: flex; min-height: 0; flex: 1; flex-direction: column; margin-top: 22px; }
.side_history_head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px; }
.side_history_title { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.side_history_clear { padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 13px; }
.side_history_clear:hover { background: var(--brand_soft); color: var(--brand); }
.side_history_list { display: flex; flex-direction: column; gap: 6px; }
.side_history_row { position: relative; }
.side_history_item { display: flex; width: 100%; align-items: center; gap: 10px; padding: 11px 40px 11px 12px; border: 1px solid transparent; border-radius: 10px; background: var(--bg); color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: -.02em; text-align: left; transition: background .15s, color .15s, border-color .15s; }
.side_history_item:hover { border-color: #cfdcff; background: var(--brand_soft); color: var(--brand_d); }
.side_history_item.is_current { border-color: #cfdcff; background: var(--brand_soft); color: var(--brand_d); }
.side_history_text { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side_history_time { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 500; }
.side_history_del { position: absolute; top: 50%; right: 6px; display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: transparent; color: #a3adc2; transform: translateY(-50%); }
.side_history_del:hover { background: #dfe7fb; color: var(--ink_2); }
.side_history_del .ico { width: 14px; height: 14px; stroke-width: 2.2; }
.side_history_empty { padding: 22px 12px; border: 1px dashed var(--line_2); border-radius: 10px; color: #8a93a8; font-size: 14px; text-align: center; }
.side_foot { flex: 0 0 auto; padding: 14px 20px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.side_foot a { display: inline-flex; margin-top: 8px; align-items: center; gap: 6px; color: var(--emergency_d); font-size: 13px; font-weight: 700; }
.side_foot a .ico { width: 15px; height: 15px; }

.mf_topbar { display: none; }

/* stage */
.mf_main { min-width: 0; }
.stage_wrap { position: relative; display: flex; min-height: 100vh; flex-direction: column; overflow: hidden; color: var(--white); background: var(--navy); isolation: isolate; }
.stage_bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage_video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(1) contrast(1.05); background: var(--navy) url("../../images/visual_img.jpg") center / cover no-repeat; }
.stage_overlay { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 38%, rgba(42, 91, 215, .5) 0%, rgba(42, 91, 215, 0) 70%), linear-gradient(180deg, rgba(11, 31, 77, .78) 0%, rgba(8, 33, 104, .72) 55%, rgba(0, 42, 148, .86) 100%); }
.stage_bar { position: relative; z-index: 5; display: flex; height: 92px; flex: 0 0 auto; align-items: center; justify-content: flex-end; padding: 0 32px; }
.menu_open { display: inline-flex; height: 48px; align-items: center; gap: 10px; padding: 0 22px 0 18px; border: 1px solid transparent; border-radius: 999px; color: var(--navy); background: var(--white); box-shadow: 0 8px 24px rgba(4, 14, 40, .22); font-size: 16px; font-weight: 700; letter-spacing: -.02em; transition: background .2s, color .2s; }
.menu_open:hover { color: var(--brand); }
.menu_open .ico { width: 22px; height: 22px; stroke-width: 2; }

.stage_body { position: relative; display: flex; min-height: 0; flex: 0 0 auto; flex-direction: column; margin-top: auto; }
.stage_dock { position: relative; z-index: 4; display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; margin-bottom: auto; padding: 0 32px clamp(28px, 5vh, 56px); }

.home_wrap { display: flex; flex-direction: column; align-items: center; padding: 0 32px; text-align: center; }
.home_logo { width: clamp(180px, 13vw, 236px); height: auto; margin-bottom: clamp(20px, 3.4vh, 40px); }
.home_copy { color: rgba(255, 255, 255, .86); font-size: clamp(20px, 1.6vw, 28px); font-weight: 600; letter-spacing: -.03em; }
.home_copy em { color: #a9c4ff; font-style: normal; }
.home_title { margin-top: 6px; font-size: clamp(38px, 3.4vw, 62px); font-weight: 800; line-height: 1.2; letter-spacing: -.045em; }
.home_desc { margin-top: clamp(14px, 2.2vh, 26px); color: rgba(255, 255, 255, .72); font-size: clamp(16px, 1vw, 19px); letter-spacing: -.01em; }
.ask_form { width: min(880px, 100%); margin-top: clamp(20px, 3.4vh, 40px); text-align: center; }
.ask_field { display: flex; height: 76px; align-items: center; gap: 12px; padding: 0 10px 0 32px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 4px rgba(169, 196, 255, .45), 0 24px 60px rgba(2, 10, 30, .35); transition: box-shadow .2s; }
.ask_field:focus-within { box-shadow: 0 0 0 5px rgba(169, 196, 255, .8), 0 24px 60px rgba(2, 10, 30, .35); }
.ask_input { min-width: 0; flex: 1; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 20px; letter-spacing: -.02em; }
.ask_input::placeholder { color: #8d95a8; }
.ask_input::-webkit-search-cancel-button { display: none; }
.ask_submit { display: flex; width: 58px; height: 58px; flex: 0 0 auto; align-items: center; justify-content: center; border: 0; border-radius: 50%; color: var(--white); background: var(--navy); transition: background .2s; }
.ask_submit:hover { background: var(--brand); }
.ask_submit .ico { width: 24px; height: 24px; stroke-width: 2.2; }
.ask_options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.ask_option { display: flex; height: 54px; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; color: var(--white); background: rgba(255, 255, 255, .1); font-size: 16px; font-weight: 700; letter-spacing: -.02em; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.ask_option:hover { border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .18); }
.ask_option .ico { width: 18px; height: 18px; }
.ask_note { margin-top: 16px; color: rgba(255, 255, 255, .66); font-size: 14px; }

.quick_wrap { display: flex; flex: 0 0 auto; justify-content: center; gap: 16px; padding-top: clamp(32px, 6vh, 72px); }
.quick_btn { display: flex; width: 212px; height: 122px; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; color: var(--white); background: rgba(255, 255, 255, .08); font-size: 18px; font-weight: 700; letter-spacing: -.03em; backdrop-filter: blur(8px); transition: background .2s, color .2s, transform .2s var(--ease); }
.quick_btn:hover { color: var(--navy); background: var(--white); transform: translateY(-3px); }
.quick_icon { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px dashed rgba(255, 255, 255, .55); border-radius: 50%; }
.quick_btn:hover .quick_icon { border-color: rgba(0, 56, 195, .45); color: var(--brand); }
.quick_icon .ico { width: 22px; height: 22px; stroke-width: 1.6; }
.quick_sub { display: flex; flex: 0 0 auto; justify-content: center; gap: 16px; margin-top: 12px; }
.quick_sub_btn { width: 212px; height: 44px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; color: rgba(255, 255, 255, .88); background: rgba(255, 255, 255, .08); font-size: 15px; font-weight: 600; letter-spacing: -.02em; backdrop-filter: blur(8px); transition: background .2s, color .2s; }
.quick_sub_btn:hover { color: var(--navy); background: var(--white); }

/* chat */
.chat_wrap { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.chat_scroll { min-height: 0; flex: 1; overflow-y: auto; padding: 12px 32px 28px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.chat_thread { display: flex; width: min(920px, 100%); flex-direction: column; gap: 36px; margin: 0 auto; }
.chat_turn { display: flex; flex-direction: column; gap: 18px; animation: turn_in .55s var(--ease) both; }
@keyframes turn_in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.chat_query { align-self: flex-end; max-width: 78%; padding: 14px 20px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 20px 20px 4px 20px; color: var(--white); background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.55; }
.chat_answer { display: flex; align-items: flex-start; gap: 14px; }
.chat_avatar { display: flex; width: 40px; height: 40px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); box-shadow: 0 6px 16px rgba(2, 10, 30, .25); }
.chat_avatar img { width: 24px; height: auto; }
.chat_card { min-width: 0; flex: 1; padding-top: 8px; color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.8; }
.chat_card p + p { margin-top: 10px; }
.chat_card strong { color: #b8cfff; }
.chat_card h3 { margin: 24px 0 6px; color: var(--white); font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.chat_count { margin-top: 8px; padding: 12px 16px; border-left: 3px solid #8fb0ff; background: rgba(255, 255, 255, .07); font-size: 15px; }
.chat_count strong { color: var(--white); }
.hospital_group { margin-top: 20px; }
.hospital_region { margin-bottom: 8px; color: rgba(255, 255, 255, .62); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.hospital_item { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.hospital_group .hospital_item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.hospital_thumb { display: flex; width: 88px; height: 88px; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; background: rgba(255, 255, 255, .08); }
.hospital_thumb img { width: 46px; height: auto; opacity: .85; }
.hospital_info { min-width: 0; flex: 1; }
.hospital_head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.hospital_name { color: var(--white); font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.hospital_type { color: #b8cfff; font-size: 14px; font-weight: 600; }
.chip_link { display: inline-flex; height: 26px; align-items: center; gap: 4px; padding: 0 9px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 6px; color: var(--white); background: transparent; font-size: 13px; font-weight: 600; line-height: 1; vertical-align: middle; transition: background .15s, border-color .15s; }
.chip_link:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); }
.chip_link .ico { width: 13px; height: 13px; }
.hospital_fields { margin-top: 6px; font-size: 14px; line-height: 1.8; }
.hospital_fields div { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.hospital_fields dt { min-width: 56px; color: rgba(255, 255, 255, .6); font-weight: 600; }
.hospital_fields dd { color: rgba(255, 255, 255, .9); }
.hospital_fields .tel { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.chat_more { margin-top: 16px; font-size: 15px; }
.chat_more a { color: #b8cfff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.chat_tip { margin-top: 20px; padding: 16px 20px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; font-size: 15px; }
.chat_tip strong { display: block; margin-bottom: 4px; color: var(--white); font-size: 16px; }
.chat_caution { margin-top: 12px; color: rgba(255, 255, 255, .55); font-size: 13px; }
.chat_follow { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.chat_follow_title { color: var(--white); font-size: 14px; font-weight: 700; }
.chat_follow_list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chat_follow_btn { height: 34px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--white); font-size: 14px; font-weight: 600; transition: border-color .15s, background .15s; }
.chat_follow_btn:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .14); }
.chat_feedback { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: rgba(255, 255, 255, .6); font-size: 14px; }
.chat_feedback button { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .85); transition: border-color .15s, background .15s; }
.chat_feedback button:hover, .chat_feedback button[aria-pressed="true"] { border-color: var(--white); background: rgba(255, 255, 255, .14); color: var(--white); }
.chat_feedback .ico { width: 17px; height: 17px; }
.chat_loading { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.chat_loading i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #b8cfff; animation: mf_dot 1.1s infinite ease-in-out; }
.chat_loading i:nth-child(2) { animation-delay: .15s; }
.chat_loading i:nth-child(3) { animation-delay: .3s; }
@keyframes mf_dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }

.chat_card_map .chat_loading { margin-top: 14px; }
.chat_map { position: relative; height: clamp(480px, 64vh, 760px); margin-top: 16px; overflow: hidden; border-radius: 14px; }
.chat_map iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; opacity: 0; transition: opacity .4s; }
.chat_map.is_loaded iframe { opacity: 1; }

.stage_wrap.is_docked { height: 100vh; min-height: 640px; }
.stage_wrap.is_docked .stage_bar { height: 76px; }
.stage_wrap.is_docked .stage_body { flex: 1 1 auto; margin-top: 0; }
.stage_wrap.is_docked .stage_dock { margin-bottom: 0; padding-top: 14px; padding-bottom: 18px; }
.stage_wrap.is_docked .ask_form { margin-top: 0; }
.stage_wrap.is_docked .ask_field { height: 62px; padding-left: 26px; }
.stage_wrap.is_docked .ask_input { font-size: 17px; }
.stage_wrap.is_docked .ask_submit { width: 48px; height: 48px; }
.stage_wrap.is_docked .ask_submit .ico { width: 21px; height: 21px; }
.stage_wrap.is_docked .ask_options { gap: 8px; margin-top: 10px; }
.stage_wrap.is_docked .ask_option { height: 42px; font-size: 14px; }
.stage_wrap.is_docked .ask_option .ico { width: 16px; height: 16px; }
.stage_wrap.is_docked .ask_note { margin-top: 8px; font-size: 12px; }
.stage_wrap.is_docked .quick_wrap { gap: 8px; padding-top: 12px; }
.stage_wrap.is_docked .quick_btn { width: auto; height: 38px; flex-direction: row; gap: 8px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.stage_wrap.is_docked .quick_btn:hover { transform: none; }
.stage_wrap.is_docked .quick_icon { width: auto; height: auto; border: 0; }
.stage_wrap.is_docked .quick_icon .ico { width: 16px; height: 16px; stroke-width: 1.8; }
.stage_wrap.is_docked .quick_sub { gap: 4px 20px; margin-top: 10px; }
.stage_wrap.is_docked .quick_sub_btn { width: auto; height: auto; padding: 0; border: 0; border-radius: 0; color: rgba(255, 255, 255, .62); background: none; font-size: 13px; font-weight: 500; backdrop-filter: none; }
.stage_wrap.is_docked .quick_sub_btn:hover { color: var(--white); background: none; }
.stage_wrap.is_moving .stage_dock { transition: transform .6s var(--ease); }

/* menu drawer */
.mf_dim { position: fixed; inset: 0; z-index: 80; background: rgba(6, 14, 36, .5); opacity: 0; transition: opacity .25s; }
.mf_dim.is_show { opacity: 1; }
.menu_drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; display: flex; width: min(600px, 100%); flex-direction: column; background: var(--white); box-shadow: -20px 0 60px rgba(6, 14, 36, .25); transform: translateX(100%); transition: transform .32s var(--ease); }
.menu_drawer.is_open { transform: translateX(0); }
.menu_drawer::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 76px; background: linear-gradient(180deg, var(--navy_m) 0%, var(--navy) 100%); }
.menu_head { position: relative; display: flex; height: 96px; flex: 0 0 auto; align-items: center; gap: 18px; padding: 0 20px 0 96px; }
.menu_head_logo { position: absolute; top: 18px; left: 14px; display: flex; width: 120px; height: 60px; align-items: center; justify-content: flex-start; }
.menu_head_logo img { width: 48px; height: auto; padding: 8px; border-radius: 12px; background: var(--white); box-shadow: 0 6px 16px rgba(4, 14, 40, .25); }
.menu_head_text { padding-left: 4px; }
.menu_head_title { color: var(--brand); font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.menu_head_sub { margin-top: 2px; color: var(--ink_2); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.menu_close { display: flex; width: 44px; height: 44px; margin-left: auto; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: var(--brand); }
.menu_close:hover { background: var(--brand_soft); }
.menu_close .ico { width: 26px; height: 26px; stroke-width: 2; }
.menu_body { position: relative; min-height: 0; flex: 1; overflow-y: auto; padding: 26px 28px 32px 96px; }
.menu_sec + .menu_sec { margin-top: 34px; }
.menu_sec_head { position: relative; display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.menu_sec_num { position: absolute; top: 50%; left: -84px; display: flex; width: 70px; align-items: center; gap: 8px; color: var(--white); font-size: 14px; font-weight: 800; transform: translateY(-50%); }
.menu_sec_num::after { content: ""; width: 34px; height: 2px; background: var(--white); }
.menu_sec_title { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.menu_sec_count { color: var(--brand); font-size: 14px; font-weight: 700; }
.menu_sec_desc { margin: -6px 0 12px; color: var(--muted); font-size: 13px; }
.menu_grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px; border-radius: 14px; background: var(--bg); }
.menu_item { display: flex; min-width: 0; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink_2); font-size: 14px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; transition: border-color .15s, color .15s, background .15s; }
.menu_item:hover { border-color: #b9cbff; color: var(--brand_d); background: var(--brand_soft); }
.menu_item:has(.ico) { justify-content: flex-start; padding-left: 12px; text-align: left; }
.menu_item .ico { width: 18px; height: 18px; color: var(--brand); stroke-width: 1.7; flex: 0 0 auto; }
.menu_item span { min-width: 0; overflow-wrap: anywhere; }
.menu_foot { position: relative; display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; padding: 16px 28px 20px 96px; }
.menu_copy { flex: 0 0 100%; margin-top: 8px; color: var(--muted); font-size: 12px; letter-spacing: 0; }
.emergency_link { display: inline-flex; height: 40px; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; color: var(--white); background: linear-gradient(180deg, var(--emergency) 0%, var(--emergency_d) 100%); font-size: 12px; font-weight: 600; }
.emergency_link strong { font-size: 16px; font-weight: 800; }

/* layer */
.ly_wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 32px; background: rgba(6, 14, 36, .55); }
.ly_box { display: flex; width: min(1120px, 100%); max-height: 100%; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--white); box-shadow: 0 30px 80px rgba(4, 12, 32, .4); animation: ly_in .28s var(--ease); }
.ly_box.size_m { width: min(880px, 100%); }
@keyframes ly_in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ly_head { display: flex; height: 72px; flex: 0 0 auto; align-items: center; gap: 12px; padding: 0 16px 0 28px; border-bottom: 1px solid var(--line); }
.ly_title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.ly_title .ico { width: 22px; height: 22px; color: var(--brand); }
.ly_back { display: inline-flex; height: 34px; align-items: center; gap: 4px; padding: 0 12px 0 8px; border: 1px solid var(--line_2); border-radius: 8px; background: var(--white); color: var(--ink_2); font-size: 14px; font-weight: 600; }
.ly_back:hover { border-color: #b9cbff; color: var(--brand); }
.ly_back .ico { width: 16px; height: 16px; }
.ly_close { display: flex; width: 44px; height: 44px; margin-left: auto; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink_2); }
.ly_close:hover { background: var(--bg); color: var(--ink); }
.ly_close:focus-visible, .menu_close:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.ly_close .ico { width: 24px; height: 24px; }
.ly_body { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.ly_body > .ly_doc { min-height: 100%; }
.ly_doc .hero { padding-right: 36px; padding-left: 36px; }
.ly_doc .main { width: calc(100% - 72px); }
.ly_doc .hero { padding-top: 26px; padding-bottom: 24px; }
.ly_doc .hero-title { margin-bottom: 6px; }
.ly_doc .hero-lead { margin-bottom: 6px; }
.ly_doc .hero-desc { margin-bottom: 12px; line-height: 1.65; }
.ly_doc .hero-desc:last-child { margin-bottom: 0; }
.ly_doc .rm-path-note { margin-top: 8px; }
.ly_doc .main { padding-top: 28px; padding-bottom: 40px; gap: 48px; }
.ly_doc .main:has(> .term) { gap: 12px; }
.ly_doc .main:has(.eco-diagram) { gap: 60px; }
.ly_doc .main:has(.rm-agenda) { gap: 32px; }
.ly_doc .main:has(.dir-map) { gap: 20px; }
#ly_terms .hero-title, #ly_info .hero-title, #ly_directions .hero-title { display: none; }
.ly_pad { padding: 32px 36px 40px; }

/* service layer */
.svc_intro { margin-bottom: 22px; }
.svc_label { color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.svc_title { margin-top: 8px; font-size: 28px; font-weight: 800; line-height: 1.35; letter-spacing: -.04em; }
.svc_desc { margin-top: 8px; color: var(--muted); font-size: 15px; }
.svc_list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.svc_item { display: flex; gap: 18px; padding: 24px 22px 24px 4px; border-bottom: 1px solid var(--line); }
.svc_item:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--line); }
.svc_item:nth-child(even) { padding-left: 28px; }
.svc_icon { display: flex; width: 52px; height: 52px; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px dashed #9db6f5; border-radius: 50%; color: var(--brand); }
.svc_icon .ico { width: 24px; height: 24px; stroke-width: 1.6; }
.svc_name { font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.svc_text { margin-top: 6px; color: var(--ink_2); font-size: 15px; line-height: 1.65; }
.svc_live { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--bg); color: var(--muted); font-size: 14px; }
.svc_live strong { color: var(--ink); }
.live_dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emergency); box-shadow: 0 0 0 4px rgba(230, 57, 70, .18); }
.svc_points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 2px solid var(--ink); }
.svc_points li { padding: 20px 18px 22px 0; border-bottom: 1px solid var(--line); }
.svc_points li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.svc_points em { color: var(--brand); font-size: 14px; font-weight: 800; font-style: normal; }
.svc_points strong { display: block; margin-top: 8px; font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.svc_points p { margin-top: 6px; color: var(--ink_2); font-size: 14px; line-height: 1.65; }

/* board layer */
.bd_toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.bd_total { color: var(--muted); font-size: 14px; }
.bd_total strong { color: var(--ink); }
.bd_search { display: flex; gap: 8px; }
.bd_search select, .bd_search input { height: 44px; padding: 0 14px; border: 1px solid var(--line_2); border-radius: 8px; background: var(--white); color: var(--ink); font-size: 14px; outline: 0; }
.bd_search select { padding-right: 32px; }
.bd_search input { width: 260px; }
.bd_search select:focus, .bd_search input:focus { border-color: var(--brand); }
.bd_search button { height: 44px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; }
.bd_list_head, .bd_row { display: grid; grid-template-columns: 80px minmax(0, 1fr) 120px 80px; align-items: center; gap: 12px; }
.bd_list_head { height: 52px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; }
.bd_list_head span:nth-child(2) { text-align: left; }
.bd_row { width: 100%; min-height: 68px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink_2); font-size: 14px; text-align: center; transition: background .15s; }
.bd_row:hover { background: #f8faff; }
.bd_row:hover .bd_subject_text { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.bd_row.is_fixed { background: #f7f9fe; }
.bd_subject { display: flex; min-width: 0; align-items: center; gap: 8px; color: var(--ink); font-size: 16px; font-weight: 600; text-align: left; }
.bd_subject_text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd_subject .ico { width: 16px; height: 16px; color: var(--muted); }
.bd_fix { display: inline-flex; height: 24px; align-items: center; padding: 0 8px; border-radius: 6px; background: var(--ink); color: var(--white); font-size: 12px; font-style: normal; font-weight: 700; }
.bd_new { flex: 0 0 auto; padding: 1px 6px; border-radius: 4px; background: var(--emergency); color: var(--white); font-size: 11px; font-style: normal; font-weight: 800; }
.bd_empty { padding: 72px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; text-align: center; }
.bd_paging { display: flex; justify-content: center; gap: 4px; margin-top: 28px; }
.bd_paging a, .bd_paging strong { display: flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; color: var(--ink_2); font-size: 14px; }
.bd_paging a:hover { background: var(--bg); }
.bd_paging strong { background: var(--ink); color: var(--white); }
.bd_view_head { padding: 4px 0 22px; border-bottom: 2px solid var(--ink); }
.bd_view_title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; line-height: 1.4; letter-spacing: -.04em; }
.bd_view_meta { display: flex; gap: 20px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.bd_view_meta strong { margin-right: 8px; color: var(--ink_2); font-weight: 700; }
.bd_files { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bd_files_label { flex: 0 0 auto; padding-top: 6px; color: var(--ink); font-size: 14px; font-weight: 700; }
.bd_files ul { display: flex; flex-direction: column; gap: 6px; }
.bd_file_btn { display: inline-flex; height: 34px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line_2); border-radius: 8px; background: var(--white); color: var(--ink_2); font-size: 14px; }
.bd_file_btn:hover { border-color: #b9cbff; color: var(--brand); }
.bd_file_btn .ico { width: 16px; height: 16px; }
.bd_view_body { padding: 32px 0 40px; border-bottom: 1px solid var(--line); color: var(--ink_2); font-size: 16px; line-height: 1.85; }
.bd_view_body p + p { margin-top: 18px; }
.bd_view_body strong { color: var(--ink); }
.bd_move { border-bottom: 1px solid var(--line); }
.bd_move_link { display: grid; width: 100%; grid-template-columns: 90px minmax(0, 1fr); align-items: center; min-height: 56px; padding: 0 12px; border: 0; background: transparent; color: var(--ink_2); font-size: 15px; text-align: left; }
.bd_move_link + .bd_move_link { border-top: 1px solid var(--line); }
.bd_move_link em { color: var(--muted); font-size: 14px; font-style: normal; font-weight: 700; }
.bd_move_link b { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
button.bd_move_link:hover b { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.bd_btns { display: flex; justify-content: center; margin-top: 28px; }
.bd_btn { height: 48px; min-width: 140px; padding: 0 28px; border: 0; border-radius: 10px; background: var(--ink); color: var(--white); font-size: 15px; font-weight: 700; }
.bd_tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.bd_tab { height: 42px; padding: 0 20px; border: 1px solid var(--line_2); border-radius: 999px; background: var(--white); color: var(--ink_2); font-size: 15px; font-weight: 600; }
.bd_tab:hover { border-color: #b9cbff; color: var(--brand); }
.bd_tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.bd_faq_item { border-bottom: 1px solid var(--line); }
.bd_faq_q { display: flex; align-items: center; gap: 16px; padding: 20px 8px; color: var(--ink); font-size: 16px; font-weight: 600; list-style: none; cursor: pointer; }
.bd_faq_q::-webkit-details-marker { display: none; }
.bd_faq_q:hover { color: var(--brand); }
.bd_faq_mark { display: flex; width: 34px; height: 34px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand_soft); color: var(--brand); font-size: 15px; font-weight: 800; }
.bd_faq_q_text { min-width: 0; flex: 1; }
.bd_faq_cat { margin-right: 10px; color: var(--brand); font-size: 14px; font-style: normal; font-weight: 700; }
.bd_faq_arrow { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.bd_faq_item[open] .bd_faq_arrow { transform: rotate(180deg); }
.bd_faq_a { display: flex; gap: 16px; padding: 20px 8px 24px; background: var(--bg); color: var(--ink_2); font-size: 15px; line-height: 1.8; }
.bd_faq_a .bd_faq_mark { background: var(--ink); color: var(--white); }
.bd_faq_a > div { padding-top: 4px; }

/* responsive */
@media (min-width: 1921px) {
  .pg_mediflo { --side_w: 320px; }
  .ask_form { width: min(960px, 100%); }
  .quick_btn { width: 232px; height: 132px; }
  .quick_sub_btn { width: 232px; }
}
@media (max-width: 1440px) {
  .pg_mediflo { --side_w: 268px; }
  .side_nav_btn { min-height: 90px; padding: 12px 12px 11px; }
  .side_nav_name { font-size: 13px; }
  .quick_btn { width: 188px; height: 112px; font-size: 17px; }
  .quick_sub_btn { width: 188px; }
}
@media (max-height: 820px) and (min-width: 768px) {
  .home_logo { width: 170px; margin-bottom: 16px; }
  .home_title { font-size: 44px; }
  .home_desc { margin-top: 10px; }
  .ask_form { margin-top: 18px; }
  .ask_field { height: 64px; }
  .ask_submit { width: 50px; height: 50px; }
  .ask_option { height: 46px; }
  .ask_options { margin-top: 12px; }
  .ask_note { margin-top: 10px; }
  .quick_btn { height: 92px; gap: 8px; font-size: 16px; }
  .quick_icon { width: 38px; height: 38px; }
  .quick_sub { margin-top: 10px; }
  .quick_sub_btn { height: 40px; }
  .stage_bar { height: 76px; }
  .stage_wrap.is_docked .ask_options { display: none; }
}
@media (max-width: 1024px) {
  .mf_app { display: block; }
  .side_wrap { position: fixed; top: 0; bottom: 0; left: 0; z-index: 95; width: min(320px, 86vw); height: auto; box-shadow: 20px 0 60px rgba(6, 14, 36, .25); transform: translateX(-102%); transition: transform .32s var(--ease); }
  .side_wrap.is_open { transform: translateX(0); }
  .side_close { display: flex; }
  .mf_topbar { position: sticky; top: 0; z-index: 30; display: flex; height: 64px; align-items: center; gap: 8px; padding: 0 12px 0 8px; border-bottom: 1px solid var(--line); background: var(--white); }
  .side_open { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink); }
  .side_open .ico { width: 24px; height: 24px; }
  .mf_topbar_logo img { width: 138px; height: auto; }
  .mf_topbar_new { display: flex; width: 40px; height: 40px; margin-left: auto; align-items: center; justify-content: center; border: 1px solid var(--line_2); border-radius: 10px; background: var(--white); color: var(--brand); }
  .mf_topbar_new .ico { width: 20px; height: 20px; stroke-width: 2.2; }
  .stage_wrap { min-height: calc(100svh - 64px); scroll-margin-top: 64px; }
  .stage_wrap.is_docked { height: calc(100svh - 64px); min-height: 520px; }
  .stage_bar { height: 76px; padding: 0 20px; }
  .home_wrap { padding: 0 20px; }
  .stage_dock { padding-right: 20px; padding-left: 20px; }
  .quick_wrap, .quick_sub { width: 100%; }
  .quick_btn { width: auto; flex: 1; max-width: 200px; }
  .quick_sub_btn { width: auto; flex: 1; max-width: 200px; }
  .stage_wrap.is_docked .quick_sub { justify-content: flex-start; }
  .stage_wrap.is_docked .quick_sub_btn { flex: 0 0 auto; max-width: none; }
  .chat_scroll { padding: 8px 20px 24px; }
  .stage_wrap.is_docked .quick_wrap { width: 100%; justify-content: flex-start; overflow-x: auto; }
  .stage_wrap.is_docked .quick_btn { flex: 0 0 auto; max-width: none; }
  .ly_wrap { padding: 20px; }
}
@media (max-width: 767px) {
  .pg_mediflo { font-size: 14px; }
  .stage_bar { height: 64px; padding: 0 16px; }
  .menu_open { height: 42px; padding: 0 16px 0 14px; font-size: 15px; }
  .home_wrap { margin-top: 8px; padding: 0 16px; }
  .stage_dock { padding: 0 16px 28px; }
  .quick_wrap { padding-top: 20px; }
  .home_logo { display: none; }
  .home_copy { font-size: 17px; }
  .home_title { font-size: 32px; }
  .home_desc { margin-top: 10px; font-size: 15px; }
  .ask_form { margin-top: 22px; }
  .ask_field { height: 60px; padding: 0 6px 0 20px; }
  .ask_input { font-size: 16px; }
  .ask_submit { width: 48px; height: 48px; }
  .ask_options { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
  .ask_option { height: 48px; font-size: 15px; }
  .ask_note { font-size: 13px; }
  .quick_wrap { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: 10px; }
  .quick_btn { max-width: none; height: 88px; gap: 8px; font-size: 16px; }
  .quick_icon { width: 40px; height: 40px; }
  .quick_sub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
  .quick_sub_btn { max-width: none; height: 40px; padding: 0 2px; border-radius: 10px; font-size: 13px; letter-spacing: -.04em; }
  .stage_wrap.is_docked .quick_sub { display: none; }
  .stage_wrap.is_docked .stage_dock { padding: 10px 16px 12px; }
  .stage_wrap.is_docked .ask_options { display: none; }
  .stage_wrap.is_docked .ask_field { height: 54px; padding-left: 18px; }
  .stage_wrap.is_docked .ask_input { font-size: 16px; }
  .stage_wrap.is_docked .ask_submit { width: 42px; height: 42px; }
  .stage_wrap.is_docked .quick_wrap { display: flex; gap: 6px; padding-top: 8px; }
  .stage_wrap.is_docked .quick_btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .chat_scroll { padding: 4px 16px 20px; }
  .chat_query { max-width: 90%; font-size: 15px; }
  .chat_answer { gap: 8px; }
  .chat_avatar { width: 32px; height: 32px; }
  .chat_avatar img { width: 19px; }
  .chat_card { padding-top: 4px; font-size: 15px; }
  .chat_map { height: 66svh; margin-right: -6px; margin-left: -6px; }
  .hospital_thumb { width: 64px; height: 64px; }
  .hospital_thumb img { width: 34px; }
  .hospital_name { font-size: 16px; }
  .menu_drawer::before { width: 52px; }
  .menu_head { height: 80px; padding: 0 12px 0 66px; }
  .menu_head_logo { top: 18px; left: 6px; }
  .menu_head_logo img { width: 40px; padding: 6px; }
  .menu_head_title { font-size: 19px; }
  .menu_body { padding: 22px 16px 28px 66px; }
  .menu_sec_num { left: -62px; width: 50px; gap: 4px; font-size: 13px; }
  .menu_sec_num::after { width: 16px; }
  .menu_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; }
  .menu_foot { padding: 12px 16px 16px 66px; }
  .emergency_link { height: 36px; padding: 0 12px; font-size: 11px; }
  .emergency_link strong { font-size: 14px; }
  .ly_wrap { align-items: flex-end; padding: 0; }
  .ly_box, .ly_box.size_m { width: 100%; max-height: 92svh; border-radius: 18px 18px 0 0; }
  .ly_head { height: 60px; padding: 0 8px 0 18px; }
  .ly_title { font-size: 17px; }
  .ly_pad { padding: 22px 16px 32px; }
  .ly_doc .hero { padding-right: 20px; padding-left: 20px; }
  .ly_doc .main { width: 100%; }
  .svc_title { font-size: 22px; }
  .svc_list { grid-template-columns: 1fr; }
  .svc_item, .svc_item:nth-child(odd), .svc_item:nth-child(even) { padding: 18px 0; border-right: 0; }
  .svc_points { grid-template-columns: 1fr 1fr; }
  .svc_points li, .svc_points li + li { padding: 16px 12px; border-left: 0; }
  .svc_points li:nth-child(even) { border-left: 1px solid var(--line); }
  .bd_toolbar { align-items: stretch; flex-direction: column; }
  .bd_search { width: 100%; min-width: 0; }
  .bd_search input { width: 0; min-width: 0; flex: 1; }
  .bd_list_head { display: none; }
  .bd_row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "sub sub" "date hit"; gap: 4px 12px; padding: 14px 4px; text-align: left; }
  .bd_row .bd_no { display: none; }
  .bd_row .bd_subject { grid-area: sub; font-size: 15px; }
  .bd_row .bd_date { grid-area: date; color: var(--muted); font-size: 13px; }
  .bd_row .bd_hit { grid-area: hit; color: var(--muted); font-size: 13px; }
  .bd_row .bd_hit::before { content: "조회 "; }
  .bd_view_title { font-size: 20px; }
  .bd_view_body { padding: 22px 0 28px; font-size: 15px; }
  .bd_move_link { grid-template-columns: 70px minmax(0, 1fr); padding: 0 4px; font-size: 14px; }
  .bd_faq_q { gap: 12px; padding: 16px 4px; font-size: 15px; }
  .bd_faq_a { gap: 12px; padding: 16px 4px 20px; font-size: 14px; }
  .bd_faq_mark { width: 30px; height: 30px; font-size: 14px; }
}
