/* Medical Abroad public site. Self-contained: system fonts, no external CDN (the site must load in mainland China). */
:root {
  --navy: #0b2a4a; --navy-2: #123d66; --navy-3: #1b5288;
  --teal: #0e9384; --teal-2: #14b8a6; --teal-soft: #e7f6f4;
  --blue: #2563eb; --violet: #6d5dfc;
  --ink: #12202e; --text: #263544; --muted: #5d6c7c; --line: #e3e9f0; --line-2: #d4dde7;
  --bg: #f5f8fb; --surface: #ffffff; --sky: #eef4fb; --warn: #fff6e3; --warn-ink: #7a4b00;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 38, 64, .06), 0 8px 24px rgba(16, 38, 64, .07);
  --shadow-lg: 0 2px 6px rgba(16, 38, 64, .08), 0 22px 48px rgba(16, 38, 64, .14);
  --ai: linear-gradient(135deg, #6d5dfc 0%, #2563eb 45%, #14b8a6 100%);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef3f8; --text: #d7e0ea; --muted: #98a8b8; --line: #263443; --line-2: #33445a;
    --bg: #0d1722; --surface: #13212f; --sky: #142636; --teal-soft: #11302d; --warn: #33290f; --warn-ink: #f1c26b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); --shadow-lg: 0 22px 48px rgba(0, 0, 0, .4);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { vertical-align: middle; }
h1, h2, h3 { color: var(--ink); line-height: 1.3; letter-spacing: -.01em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); font-size: 14px; }
.ic { flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .site-header { background: rgba(13, 23, 34, .86); } }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { color: var(--text); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: var(--sky); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { font-size: 14px; color: var(--muted); padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; }
.lang:hover { text-decoration: none; color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 6px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 650; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(14, 147, 132, .28); }
.btn-primary:hover { background: #0b7f72; }
.btn-ai { background: var(--ai); color: #fff; box-shadow: 0 8px 22px rgba(79, 70, 229, .32); }
.btn-ai:hover { box-shadow: 0 10px 28px rgba(79, 70, 229, .42); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(20, 184, 166, .35), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(109, 93, 252, .35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%); -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .04em; color: #a7f3e8; background: rgba(20, 184, 166, .14); border: 1px solid rgba(20, 184, 166, .35); padding: 5px 12px; border-radius: 999px; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.15; margin: 18px 0 16px; letter-spacing: -.02em; }
.hero h1 .hl { background: linear-gradient(90deg, #5eead4, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 18px; color: rgba(255, 255, 255, .82); max-width: 600px; margin: 0 0 28px; }
.portal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
[data-hospital-filter] { align-items: end; }
[data-hospital-filter] label { display: grid; gap: 5px; }
[data-hospital-filter] :is(input, select) { padding: 8px 10px; font: inherit; }
[data-hospital-filter][hidden], [data-hospital][hidden] { display: none; }
.search { position: relative; display: flex; align-items: center; background: #fff; border-radius: 14px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow-lg); max-width: 620px; }
.search .ic { color: #8796a6; }
.search input { flex: 1; border: 0; outline: none; font: inherit; font-size: 17px; padding: 12px 12px; color: #12202e; background: transparent; min-width: 0; }
.search .btn { padding: 12px 22px; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); list-style: none; margin: 0; padding: 6px; z-index: 20; display: none; max-height: 360px; overflow: auto; }
.search-results.open { display: block; }
.search-results a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink); }
.search-results a:hover, .search-results a.active { background: var(--sky); text-decoration: none; }
.search-results .muted { font-size: 13px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, .7); }
.quick a { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: 4px 12px; border-radius: 999px; font-size: 14px; }
.quick a:hover { background: rgba(255, 255, 255, .18); text-decoration: none; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; }
.hero-badges .ic { color: #5eead4; }

/* AI chat preview */
.ai-card { position: relative; background: rgba(255, 255, 255, .97); color: #12202e; border-radius: 22px; box-shadow: 0 30px 80px rgba(3, 12, 24, .45); overflow: hidden; }
@media (prefers-color-scheme: dark) { .ai-card { background: #15283a; color: #e7eef6; } }
.ai-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ai); }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.ai-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--ai); color: #fff; display: grid; place-items: center; flex: none; }
.ai-head strong { display: block; font-size: 16px; }
.ai-head .status { font-size: 12px; color: var(--teal); display: inline-flex; align-items: center; gap: 5px; }
.ai-head .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 3px rgba(20, 184, 166, .2); }
.ai-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.6; }
.bubble.user { align-self: flex-end; background: var(--navy-2); color: #fff; border-bottom-right-radius: 4px; }
.bubble.bot { align-self: flex-start; background: var(--sky); color: inherit; border-bottom-left-radius: 4px; }
.cite { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; color: var(--blue); background: rgba(37, 99, 235, .1); border-radius: 6px; padding: 0 5px; margin: 0 1px; vertical-align: 1px; }
.ai-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ai-sources span { font-size: 11.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.ai-ask { padding: 0 20px 20px; }
.ai-ask p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ai-chips a { font-size: 13.5px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); padding: 6px 12px; border-radius: 999px; }
.ai-chips a:hover { border-color: var(--violet); color: var(--violet); text-decoration: none; }
.ai-input { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 14px; padding: 6px 6px 6px 14px; color: var(--muted); font-size: 14px; }
.ai-input span { flex: 1; }
.ai-input .btn { padding: 9px 14px; }

/* ---------- stats ---------- */
.stats { position: relative; margin-top: -44px; z-index: 2; }
.stats ul { list-style: none; margin: 0; padding: 22px 12px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stats li { text-align: center; padding: 4px 12px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font-size: 30px; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stats span { font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 12px; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
a.card { display: block; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); text-decoration: none; }
.card h3 { font-size: 19px; margin: 16px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 650; font-size: 14px; color: var(--blue); }
.icon-badge { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--teal); background: var(--teal-soft); }
.icon-badge.blue { color: var(--blue); background: rgba(37, 99, 235, .1); }
.icon-badge.violet { color: var(--violet); background: rgba(109, 93, 252, .12); }
.icon-badge.amber { color: #c2410c; background: #ffedd5; }
.icon-badge.rose { color: #be123c; background: #ffe4e6; }
.icon-badge.ai { color: #fff; background: var(--ai); }
.card.feature-ai { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--ai) border-box; border: 2px solid transparent; }
.tag { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 999px; background: var(--sky); color: var(--navy-3); }
.tag.new { background: var(--ai); color: #fff; }
.tag.vbp { background: var(--warn); color: var(--warn-ink); }
.card > .tag { position: absolute; top: 22px; right: 22px; }

/* steps */
.step .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; color: #fff; background: var(--navy-2); box-shadow: 0 0 0 6px var(--sky); }
.step h3 { font-size: 18px; margin: 18px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* destinations */
.dest { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.dest .band { height: 120px; position: relative; display: flex; align-items: flex-end; padding: 16px 22px; color: #fff; }
.dest .band b { position: relative; font-size: 22px; letter-spacing: -.01em; }
.dest .band .code { position: absolute; top: 14px; right: 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; background: rgba(255, 255, 255, .2); padding: 2px 9px; border-radius: 999px; }
.dest .band svg.route { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }
.dest .body { padding: 18px 22px 22px; }
.dest .body p { color: var(--muted); font-size: 14.5px; margin: 0 0 10px; }
.dest ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.dest li { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; color: var(--text); }
.dest li .ic { color: var(--teal); margin-top: 3px; }
.b-cn { background: linear-gradient(135deg, #b91c1c, #ef4444); }
.b-in { background: linear-gradient(135deg, #c2410c, #f59e0b); }
.b-bd { background: linear-gradient(135deg, #065f46, #10b981); }
.b-la { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.b-jp { background: linear-gradient(135deg, #9f1239, #fb7185); }
.b-hk { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.b-kr { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.b-us { background: linear-gradient(135deg, #312e81, #6366f1); }

/* medicine browser */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tabs button { font: inherit; font-size: 14px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); padding: 7px 15px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-pressed="true"] { color: #fff; background: var(--navy-2); border-color: var(--navy-2); }
.area-group { margin-bottom: 30px; }
.area-group[hidden] { display: none; }
.area-group h3 { font-size: 16px; color: var(--muted); font-weight: 650; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.area-group h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.meds { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.meds a { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.meds a:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.meds .pill { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--teal); background: var(--teal-soft); flex: none; }
.meds strong { display: block; font-size: 16px; }
.meds .inn { font-size: 13px; color: var(--muted); }
.meds .cond { display: block; font-size: 13px; color: var(--text); margin-top: 6px; }
.flags { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.flags i { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 1px 6px; border-radius: 5px; color: var(--navy-3); background: var(--sky); }

/* why / trust */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.why li { display: flex; gap: 16px; }
.why li h3 { margin: 0 0 4px; font-size: 17px; }
.why li p { margin: 0; color: var(--muted); font-size: 15px; }
.proof { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); }
.proof h3 { margin: 0 0 6px; font-size: 16px; }
.proof .row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 14.5px; }
.proof .row:last-of-type { border-bottom: 0; }
.proof .src { font-size: 12.5px; color: var(--muted); }
.proof blockquote { margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid var(--teal); background: var(--teal-soft); border-radius: 0 10px 10px 0; font-size: 13.5px; color: var(--text); }

/* faq */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin: 12px 0; box-shadow: 0 1px 2px rgba(16, 38, 64, .04); }
.faq summary { cursor: pointer; font-weight: 650; color: var(--ink); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--teal); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--text); }

/* cta band */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: 48px 52px; color: #fff; background: radial-gradient(600px 300px at 100% 0%, rgba(20, 184, 166, .45), transparent 60%), linear-gradient(135deg, #1e1b4b, #1e3a8a 55%, #0f766e); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 10px; font-size: 30px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- inner pages ---------- */
.page-hero { color: #fff; background: radial-gradient(800px 300px at 90% 0%, rgba(20, 184, 166, .3), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); padding: 40px 0 48px; }
.page-hero .crumbs { font-size: 14px; color: rgba(255, 255, 255, .65); margin-bottom: 14px; }
.page-hero .crumbs a { color: rgba(255, 255, 255, .85); }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 12px; }
.page-hero .lead { color: rgba(255, 255, 255, .82); max-width: 820px; margin: 0; font-size: 16.5px; }
.page-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-hero .chips span { font-size: 13.5px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); padding: 3px 12px; border-radius: 999px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; padding: 36px 0 64px; align-items: start; }
.layout.single { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }
.sidebar { position: sticky; top: 92px; display: grid; gap: 18px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 22px; }
.panel h2 { font-size: 20px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.panel h2 .ic { color: var(--teal); }
.panel > p:last-child { margin-bottom: 0; }
.summary { background: linear-gradient(135deg, var(--teal-soft), var(--sky)); border: 1px solid rgba(14, 147, 132, .25); }
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--warn); color: var(--warn-ink); border-radius: 12px; padding: 12px 16px; font-size: 14.5px; margin: 0 0 22px; }
.notice .ic { margin-top: 2px; }
.note { font-size: 14px; color: var(--muted); }
.side-ai { color: #fff; background: radial-gradient(300px 200px at 100% 0%, rgba(20, 184, 166, .5), transparent 70%), linear-gradient(150deg, #1e1b4b, #1e3a8a); border: 0; }
.side-ai h3 { color: #fff; margin: 12px 0 6px; font-size: 18px; }
.side-ai p { color: rgba(255, 255, 255, .8); font-size: 14px; margin: 0 0 14px; }
.side-ai .ai-chips a { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.side-links { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.side-links li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.side-links li:last-child { border: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.toc a { font-size: 14px; background: var(--surface); border: 1px solid var(--line-2); padding: 5px 13px; border-radius: 999px; color: var(--ink); }
.toc a:hover { border-color: var(--teal); text-decoration: none; }

/* tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 14px; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }
th { font-weight: 650; color: var(--muted); font-size: 12.5px; letter-spacing: .03em; background: var(--bg); }
td.num { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; color: var(--ink); }
td.locked a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--sky); }
tr.jp td { color: var(--muted); }
.mkt { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); }
.mkt i { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: #fff; border-radius: 5px; padding: 1px 5px; }
.mkt i.cn { background: #dc2626; } .mkt i.in { background: #ea580c; } .mkt i.bd { background: #059669; } .mkt i.jp { background: #e11d48; } .mkt i.la { background: #2563eb; }
.label-text { white-space: pre-line; }

/* care facts */
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 12px 0; }
.fact > p { margin: 0 0 8px; color: var(--ink); }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 650; color: var(--teal); }
.cites { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.cites li { margin-top: 6px; }
.quote { margin: 6px 0 4px; padding: 8px 14px; border-left: 3px solid var(--teal); background: var(--teal-soft); border-radius: 0 10px 10px 0; color: var(--text); font-size: 13.5px; }
.hosp-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.hosp-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.hosp-list strong { color: var(--ink); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 36px; }
.prose li { margin: 6px 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 64px 0 28px; margin-top: 40px; font-size: 14px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255, 255, 255, .6); }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .04em; margin: 4px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; display: grid; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.site-footer .legal p { margin: 0; }

/* floating AI */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; color: #fff; background: var(--ai); font-weight: 650; box-shadow: 0 14px 34px rgba(79, 70, 229, .45); }
.fab:hover { text-decoration: none; transform: translateY(-2px); }
.has-hero .fab { opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.has-hero.scrolled .fab { opacity: 1; pointer-events: auto; transform: none; }
.fab .dot { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 68px; background: var(--surface); padding: 12px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .menu-toggle { display: block; margin-left: auto; }
  .header-actions .btn-ai span { display: none; }
  .hero .container { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 48px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .why, .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .site-header .container { justify-content: space-between; gap: 8px; }
  .brand small { display: none; }
  .header-actions { gap: 6px; }
  .lang { display: inline-flex; align-items: center; min-height: 36px; padding: 5px 8px; }
  .header-actions .btn-ai { padding-inline: 9px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .stats ul { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .stats li:nth-child(3) { border-left: 0; }
  .search .btn span { display: none; }
  .cta-band { padding: 32px 24px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .fab span { display: none; }
  .fab { padding: 10px; }
  table { min-width: 0; }
  thead { display: none; }
  tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  td { display: block; border: 0; padding: 3px 14px; }
}
@media (max-width: 360px) {
  .site-header .container { padding-inline: 10px; }
  .site-header .brand { font-size: 15px; gap: 6px; }
  .site-header .brand svg { width: 28px; height: 28px; }
}

/* ---------- hospital profiles ---------- */
.basis { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.basis-ranking { background: var(--teal-soft); color: var(--teal); }
.basis-designation { background: var(--sky); color: var(--navy-3); }
.basis-hospital { background: var(--warn); color: var(--warn-ink); }
.hosp-card .kicker { font-size: 13px; font-weight: 650; color: var(--teal); text-transform: uppercase; letter-spacing: .04em; }
.hosp-card h3 { margin-top: 6px; }
.hosp-card .known { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hosp-summary .kicker { font-size: 13px; font-weight: 650; color: var(--teal); text-transform: uppercase; letter-spacing: .04em; }
.hosp-summary .summary-text { font-size: 19px; line-height: 1.6; color: var(--ink); margin: 6px 0 0; }
.strengths { gap: 14px; }
.strength { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; background: var(--surface); }
.strength-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.strength p { margin: 8px 0 4px; font-size: 15px; }
.strength details summary { cursor: pointer; font-size: 13px; }
.checklist { padding-left: 20px; margin: 0; }
.checklist li { margin: 6px 0; }
@media (max-width: 640px) { .strength-head { flex-direction: column; } .hosp-summary .summary-text { font-size: 17px; } }
