:root {
  color-scheme: light;
  font-family: "Segoe UI", "Microsoft JhengHei UI", sans-serif;
  color: #183a40;
  background: #f5f8f6;
  font-synthesis: none;
  --ink: #173d43;
  --deep: #123f48;
  --teal: #126d73;
  --teal-dark: #0a5660;
  --sage: #e5f0eb;
  --gold: #b38a4f;
  --muted: #718587;
  --line: #e1eae6;
  --shadow: 0 14px 36px rgb(20 62 67 / 7%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: #f5f8f6; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-header {
  position: sticky; top: 0; z-index: 5; min-height: 82px; padding: 9px max(5vw, 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgb(255 255 255 / 94%); border-bottom: 1px solid rgb(216 230 223 / 85%);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 16px; min-width: 280px; }
.brand img { width: 156px; height: 54px; object-fit: contain; }
.brand span { display: grid; gap: 3px; padding-left: 15px; border-left: 1px solid #dce7e1; }
.brand strong { color: var(--deep); font-size: 15px; letter-spacing: .04em; }
.brand small { color: #79908c; font-size: 9px; letter-spacing: .12em; }
nav { display: flex; align-items: center; gap: 30px; color: #567276; font-size: 13px; }
nav a { padding: 12px 0; transition: color .18s ease; }
nav a:hover { color: var(--teal); }
.staff-query-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px !important; border: 1px solid #c6d9ce; border-radius: 6px; background: #f1f7f3; color: #255c52 !important; font-weight: 800; white-space: nowrap; }
.staff-query-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.staff-query-link:hover { background: #e2f0e8; text-decoration: none; }
.hospital-link { flex: none; padding: 10px 14px; border: 1px solid #c7dad2; border-radius: 6px; color: var(--teal-dark); font-size: 12px; font-weight: 700; transition: background .18s ease; }
.hospital-link:hover, .official-card > a:hover { background: #eaf3ef; }
.hero {
  position: relative; isolation: isolate; min-height: 440px; padding: 70px max(10vw, 30px) 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 38px; overflow: hidden;
  background: linear-gradient(112deg, #edf4ef 0%, #e5f0eb 58%, #d8e9e2 100%);
}
.hero::before, .hero::after { position: absolute; z-index: -1; content: ""; border-radius: 50%; pointer-events: none; }
.hero::before { width: 500px; height: 500px; right: -54px; top: -260px; border: 1px solid rgb(18 109 115 / 14%); box-shadow: 0 0 0 35px rgb(255 255 255 / 17%), 0 0 0 72px rgb(255 255 255 / 12%); }
.hero::after { width: 220px; height: 220px; left: 45%; bottom: -175px; background: rgb(255 255 255 / 18%); }
.hero-copy { position: relative; z-index: 1; width: min(100%, 760px); }
.eyebrow { margin: 0 0 12px; color: #458178; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.eyebrow-rule { display: inline-block; width: 42px; height: 1px; margin: 0 0 3px 8px; background: #b38a4f; }
.hero h1 { margin: 0; color: var(--deep); font-size: clamp(28px, 4vw, 43px); line-height: 1.45; letter-spacing: .025em; font-weight: 750; }
.hero h1 span { color: #315f61; font-size: .72em; font-weight: 650; }
.hero-subtitle { margin: 13px 0 7px; color: var(--teal-dark); font-size: 20px; font-weight: 750; letter-spacing: .08em; }
.hero-text { max-width: 510px; margin: 0 0 23px; color: #647d7d; font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.hero-cta { min-height: 49px; display: inline-flex; align-items: center; gap: 25px; padding: 0 19px; border: 1px solid #0a5660; border-radius: 6px; background: var(--teal-dark); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 8px 18px rgb(10 86 96 / 15%); transition: transform .18s ease, background .18s ease; }
.hero-cta:hover { transform: translateY(-2px); background: #084a53; }
.hero-cta span { color: #d9c297; font-size: 20px; }
.hero-secondary { padding: 12px 0; color: #4f7774; font-size: 13px; font-weight: 650; }
.hero-secondary:hover { color: #174e52; text-decoration: underline; text-underline-offset: 5px; }
.hero-art { position: relative; width: 280px; height: 280px; flex: 0 0 280px; display: grid; place-items: center; }
.art-ring { position: absolute; width: 260px; height: 260px; border: 1px solid rgb(55 128 117 / 42%); border-radius: 50%; box-shadow: 0 0 0 18px rgb(255 255 255 / 17%), 0 0 0 38px rgb(255 255 255 / 13%); }
.art-card { position: relative; width: 192px; height: 218px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgb(255 255 255 / 86%); border-radius: 18px; background: linear-gradient(145deg, #fff, #f7faf8); color: #2d6967; text-align: center; box-shadow: 0 18px 38px rgb(31 82 76 / 13%); transform: rotate(2deg); }
.art-cross { width: 61px; height: 61px; display: grid; place-items: center; margin-bottom: 12px; border: 1px solid #dfebe5; border-radius: 18px; background: #eef5f1; color: #4d9186; font-size: 45px; font-weight: 300; }
.art-card b { color: #315d60; font-size: 23px; line-height: 1.45; letter-spacing: .08em; }
.art-card small { margin-top: 13px; color: #91a9a1; font-size: 8px; letter-spacing: .14em; }
.section { width: min(1120px, 100%); margin: 0 auto; padding: 57px 24px 3px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin: 0; color: var(--deep); font-size: 25px; letter-spacing: .04em; }
.section-heading > p, .section-note { margin: 0 0 4px; color: #809293; font-size: 12px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-card { min-height: 88px; display: flex; align-items: center; gap: 15px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 9px; background: #fff; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.service-card:hover { transform: translateY(-2px); border-color: #a7cbc0; box-shadow: var(--shadow); }
.service-primary { border-color: #b7d5ca; background: linear-gradient(105deg, #fff, #f2f8f5); }
.service-primary .service-icon { background: #dceee6; color: #17696d; }
.service-icon { width: 43px; height: 43px; flex: none; display: grid; place-items: center; border: 1px solid #e1ebe6; border-radius: 11px; background: #f1f6f3; color: #557c76; font-size: 17px; font-weight: 800; }
.service-copy { display: grid; flex: 1; gap: 5px; }
.service-copy strong { color: #284e53; font-size: 14px; }
.service-copy small { color: #829393; font-size: 11px; line-height: 1.5; }
.arrow { color: #38847a; font-size: 20px; }
.badge { flex: none; padding: 5px 9px; border: 1px solid #e5ebe7; border-radius: 4px; background: #f5f7f5; color: #81908d; font-size: 10px; white-space: nowrap; }
.coming { background: #fbfcfb; }
.coming .service-icon { color: #899b96; background: #f5f7f5; }
.updates { padding-top: 51px; }
.announcement-list { height: 324px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-gutter: stable; display: grid; grid-template-columns: 1fr; align-content: start; gap: 8px; padding: 2px 7px 2px 1px; }
.announcement { min-height: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.announcement:hover { border-color: #c3d7cf; box-shadow: 0 8px 20px rgb(20 62 67 / 5%); }
.announcement-open { width: 100%; display: grid; gap: 3px; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.announcement-open:focus-visible { outline: 3px solid rgb(47 126 119 / 35%); outline-offset: 2px; }
.announcement-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 13px; color: #899896; font-size: 10px; letter-spacing: .025em; }
.announcement-title { overflow: hidden; color: #2b5457; font-size: 14px; font-weight: 750; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.announcement-preview { display: -webkit-box; overflow: hidden; color: #718484; font-size: 11px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.announcement-more { justify-self: start; margin-top: 1px; color: #28766f; font-size: 10px; font-weight: 700; }
.announcement.pinned { border-left: 3px solid var(--gold); }
.important-section { padding-top: 42px; }
.important-list .announcement { border-color: #ece4d7; background: #fffefa; }
.hospital-updates { padding-top: 42px; }
.hospital-news-list .announcement { min-height: 0; }
.hospital-source-link { display: inline-flex; width: fit-content; margin-top: 15px; color: #28766f; font-size: 12px; font-weight: 700; text-decoration: none; }
.hospital-source-link:hover { color: var(--deep); text-decoration: underline; }
.announcement-dialog { width: min(620px, calc(100% - 28px)); max-height: min(82vh, 760px); padding: 25px; border: 1px solid #dce8e1; border-radius: 13px; color: var(--ink); background: #fff; box-shadow: 0 24px 80px rgb(8 40 44 / 25%); }
.announcement-dialog::backdrop { background: rgb(8 33 37 / 56%); backdrop-filter: blur(3px); }
.announcement-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.announcement-dialog-heading .eyebrow { margin: 0; }
.dialog-close { min-height: 36px; padding: 7px 11px; border: 1px solid #dce7e2; border-radius: 6px; background: #f6f9f7; color: #38645e; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.dialog-close:hover { background: #eaf3ef; }
.announcement-dialog h2 { margin: 9px 0 13px; color: var(--deep); font-size: 21px; line-height: 1.55; overflow-wrap: anywhere; }
.announcement-dialog-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #6d8280; font-size: 12px; }
.announcement-dialog-body { max-height: 48vh; overflow: auto; padding: 9px 1px; }
.announcement-dialog-body p { margin: 5px 0; color: #526d6b; font-size: 14px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.announcement-dialog-body .publisher-note { color: #85928f; font-size: 11px; }
.announcement-dialog .hospital-source-link[hidden] { display: none; }
.loading, .empty { grid-column: 1 / -1; margin: 0; padding: 22px; border: 1px dashed #d9e4de; border-radius: 8px; background: #fbfdfb; color: #839391; text-align: center; font-size: 13px; }
.official-card { width: min(1072px, calc(100% - 48px)); margin: 54px auto 56px; padding: 27px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #dce8e1; border-radius: 10px; background: linear-gradient(100deg, #eaf3ed, #f1f6f2); }
.official-card h2 { margin: 0 0 7px; color: var(--deep); font-size: 20px; }
.official-card p:not(.eyebrow) { margin: 0; color: #718381; font-size: 12px; line-height: 1.7; }
.official-card > a { flex: none; padding: 11px 14px; border: 1px solid #bad1c6; border-radius: 5px; color: #276b65; font-size: 12px; font-weight: 700; transition: background .18s ease; }
footer { min-height: 72px; padding: 18px max(5vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #143f46; color: #d4e2dc; font-size: 11px; letter-spacing: .02em; }
footer a { color: #c7ded3; }
footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .site-header { gap: 14px; padding-inline: 24px; }
  .brand { min-width: 0; }
  .brand img { width: 132px; }
  nav { gap: 17px; }
  .hero { padding-inline: 7vw; }
  .hero-art { width: 230px; height: 230px; flex-basis: 230px; }
  .art-ring { width: 215px; height: 215px; }
  .art-card { width: 164px; height: 188px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 120px; }
  .site-header { position: relative; min-height: 69px; padding: 9px 16px; flex-wrap: wrap; }
  .brand { gap: 9px; }
  .brand img { width: 112px; height: 40px; }
  .brand span { padding-left: 9px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 7px; }
  nav { order: 3; width: 100%; justify-content: flex-start; gap: 8px; overflow-x: auto; border-top: 1px solid #edf2ef; white-space: nowrap; }
  nav a { padding: 8px 0 2px; font-size: 11px; }
  nav .staff-query-link { flex: none; padding: 7px 8px !important; }
  .hospital-link { padding: 8px 9px; font-size: 10px; }
  .hero { min-height: 0; padding: 42px 22px 38px; }
  .hero-art { display: none; }
  .hero .eyebrow { font-size: 8px; letter-spacing: .1em; }
  .hero h1 { font-size: clamp(25px, 7vw, 32px); line-height: 1.5; }
  .hero h1 span { font-size: .7em; }
  .hero-subtitle { margin-top: 10px; font-size: 17px; }
  .hero-text { margin-bottom: 17px; font-size: 12px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 6px; }
  .hero-cta { width: 100%; min-height: 48px; justify-content: space-between; padding-inline: 15px; font-size: 13px; }
  .hero-secondary { padding: 9px 1px; font-size: 12px; }
  .section { padding: 40px 16px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 15px; }
  .section-heading h2 { font-size: 22px; }
  .service-grid { grid-template-columns: 1fr; gap: 9px; }
  .service-card { min-height: 78px; padding: 13px; gap: 11px; }
  .service-icon { width: 38px; height: 38px; border-radius: 9px; }
  .service-copy strong { font-size: 13px; }
  .service-copy small { font-size: 10px; }
  .badge { padding: 4px 6px; font-size: 9px; }
  .announcement-list { height: 300px; gap: 7px; padding-right: 6px; }
  .announcement { min-height: 0; padding: 9px 11px; }
  .announcement-meta { gap: 5px 12px; font-size: 10px; }
  .announcement-title { font-size: 14px; }
  .announcement-preview { font-size: 10px; }
  .announcement-dialog { padding: 19px; }
  .announcement-dialog h2 { font-size: 18px; }
  .official-card { width: calc(100% - 32px); margin: 38px auto 40px; padding: 20px; align-items: flex-start; flex-direction: column; }
  .official-card > a { width: 100%; text-align: center; }
  footer { align-items: flex-start; flex-direction: column; padding: 18px 16px; line-height: 1.7; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
