:root {
  --ink: #252735;
  --body: #505564;
  --muted: #737987;
  --brand: #36328b;
  --brand-dark: #28256e;
  --cyan: #007da4;
  --cyan-soft: #edf7fa;
  --line: #e6e8ee;
  --red: #ab363d;
  --header-height: 96px;
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
img { max-width: 100%; height: auto; }
svg { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 1.7; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #0087ac; outline-offset: 5px; border-radius: 2px; }
::selection { background: #d7ecf3; color: #201e61; }
.skip-link { position: fixed; top: -70px; left: 20px; padding: 12px 18px; z-index: 100; background: var(--brand); color: white; }
.skip-link:focus { top: 12px; }
.site-header { height: var(--header-height); background: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1264px; height: 100%; margin: auto; padding: 0 32px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; width: 174px; flex-shrink: 0; }
.brand img { width: 174px; height: 67px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; justify-content: center; margin-left: auto; gap: 32px; height: 100%; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; height: 100%; font-size: 14px; font-weight: 500; white-space: nowrap; }
.primary-nav a:hover { color: var(--brand); }
.primary-nav .nav-current { color: var(--brand); }
.nav-current::after { content: ""; position: absolute; height: 3px; background: var(--cyan); width: 100%; bottom: 0; left: 0; }
.appointment-link { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); border: 1px solid #cfcede; border-radius: 5px; padding: 11px 16px; margin-left: 10px; white-space: nowrap; font-size: 14px; font-weight: 600; transition: background .15s; }
.appointment-link:hover { background: #f3f2fa; }
.appointment-link svg { width: 17px; height: 17px; }
.reading-track { position: absolute; bottom: -1px; height: 3px; width: 100%; pointer-events: none; }
#reading-progress { height: 100%; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.page-shell { max-width: 1200px; margin: auto; padding: 0 32px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 12px; padding: 28px 0 38px; }
.breadcrumbs svg { width: 13px; height: 13px; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs [aria-current] { color: #414652; }
.article-header { max-width: 1000px; margin: 0 auto; }
.category { display: flex; align-items: center; gap: 11px; color: var(--cyan); font-size: 11px; font-weight: 650; }
.category svg { width: 18px; height: 18px; }
.category span { width: 3px; height: 3px; border-radius: 50%; background: #98abb4; }
h1 { font-size: 48px; font-weight: 650; line-height: 1.18; margin: 19px 0 18px; letter-spacing: 0; }
h1 span { color: #414457; }
.standfirst { font-size: 18px; line-height: 1.7; color: #6b7080; margin: 0 0 28px; max-width: 830px; }
.article-meta { display: flex; align-items: center; gap: 12px; margin: 0 0 34px; }
.author-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: var(--cyan-soft); color: var(--cyan); }
.author-mark svg { width: 19px; height: 19px; }
.author { display: grid; gap: 4px; }
.author > span { font-size: 13px; font-weight: 650; }
.author small { font-size: 11px; color: var(--muted); }
.reading-time { display: flex; align-items: center; gap: 7px; margin-left: 22px; padding-left: 24px; border-left: 1px solid var(--line); font-size: 12px; color: var(--muted); height: 28px; }
.reading-time svg { width: 15px; height: 15px; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: white; color: #555a6a; }
.icon-button:hover { background: #f3f5f8; color: var(--brand); }
.print-button { margin-left: auto; }
.cover-figure { margin: 0; }
.cover-image { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 6px; background: #edf6fa; }
figcaption { font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; line-height: 1.6; margin-top: 11px; }
figcaption span { white-space: nowrap; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 710px); gap: 68px; justify-content: space-between; padding-top: 54px; padding-bottom: 65px; }
.article-sidebar { position: sticky; top: calc(var(--header-height) + 28px); align-self: start; }
.contents summary { display: flex; justify-content: space-between; align-items: center; padding: 0 0 19px; font-size: 13px; font-weight: 650; list-style: none; }
summary::-webkit-details-marker { display: none; }
.contents summary > span { display: inline-flex; align-items: center; gap: 9px; }
.contents summary svg { width: 16px; height: 16px; }
.contents-chevron { transition: transform .2s; }
.contents[open] .contents-chevron { transform: rotate(180deg); }
.contents nav { border-left: 1px solid #e1e3e9; display: grid; gap: 2px; }
.contents nav a { display: flex; align-items: baseline; gap: 10px; line-height: 1.5; font-size: 12px; color: #6b7080; padding: 10px 12px 10px 16px; position: relative; transition: color .15s, background .15s; }
.contents nav a > span { font-size: 10px; color: #9398a4; font-weight: 500; }
.contents nav a:hover { color: var(--brand); background: #f8f8fb; }
.contents nav a[aria-current="location"] { color: var(--brand); font-weight: 650; background: #f5f4fa; }
.contents nav a[aria-current="location"]::before { content: ""; position: absolute; left: -1px; height: 100%; width: 3px; top: 0; background: var(--brand); }
.sidebar-contact { margin-top: 36px; padding-top: 25px; border-top: 1px solid var(--line); }
.sidebar-contact > svg { width: 25px; height: 25px; color: var(--cyan); margin-bottom: 10px; }
.sidebar-contact h2 { font-size: 16px; line-height: 1.5; margin: 0 0 8px; font-weight: 600; }
.sidebar-contact p { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0 0 15px; }
.sidebar-contact a { color: var(--brand); font-size: 12px; font-weight: 650; display: inline-flex; gap: 9px; align-items: center; }
.sidebar-contact a:hover { text-decoration: underline; }
.sidebar-contact a svg { width: 15px; height: 15px; }
.sidebar-contact small { display: block; font-size: 10px; color: var(--muted); margin-top: 16px; }
.article-body { min-width: 0; outline: none; scroll-margin-top: calc(var(--header-height) + 28px); }
.article-section { scroll-margin-top: calc(var(--header-height) + 28px); margin-bottom: 43px; }
.section-kicker { font-size: 10px; color: var(--cyan); font-weight: 650; margin-bottom: 12px; }
.article-body h2 { font-size: 26px; line-height: 1.3; font-weight: 650; margin: 0 0 20px; letter-spacing: 0; }
.article-body h3 { font-size: 18px; font-weight: 650; line-height: 1.5; margin: 25px 0 10px; }
.article-body p { color: var(--body); font-size: 16px; line-height: 1.85; margin: 0 0 17px; }
.article-body strong { font-weight: 600; color: #353849; }
.article-body sup { font-size: 10px; margin-left: 3px; line-height: 0; }
.article-body sup a { color: var(--cyan); padding: 3px; }
.article-body sup a:hover { text-decoration: underline; }
.article-body .key-line { border-left: 3px solid var(--cyan); padding: 12px 0 12px 20px; font-size: 18px; font-weight: 500; color: #343646; line-height: 1.65; margin: 23px 0 0; }
.symptom-list { list-style: none; padding: 0; margin: 21px 0; border-top: 1px solid var(--line); }
.symptom-list li { display: flex; gap: 15px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--body); line-height: 1.7; }
.symptom-list svg { color: var(--red); margin-top: 3px; }
.emergency-note { display: flex; gap: 16px; border-left: 3px solid #c24b50; padding: 21px 23px; background: #fff3f2; margin-top: 23px; }
.emergency-note > svg { color: var(--red); width: 25px; height: 25px; margin-top: 2px; }
.emergency-note h3 { font-size: 16px; margin: 0 0 6px; color: #91363c; }
.emergency-note p { font-size: 14px; line-height: 1.75; color: #6b4c50; margin: 0; }
.emergency-note a[href^="tel"] { color: #91363c; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.habit-list { margin-bottom: 20px; }
.habit-list > div { display: flex; gap: 17px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.habit-list > div:first-child { padding-top: 0; }
.habit-number { display: grid; place-items: center; flex: 0 0 28px; height: 28px; background: var(--cyan-soft); color: var(--cyan); font-size: 12px; font-weight: 600; border-radius: 50%; margin-top: 1px; }
.habit-list h3 { font-size: 16px; margin: 0 0 4px; }
.habit-list p { font-size: 15px; line-height: 1.7; margin: 0; }
.final-section { margin-bottom: 32px; }
.care-band { padding: 29px 0; border-top: 2px solid var(--brand); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.care-label { font-size: 10px; font-weight: 600; color: var(--brand); }
.article-body .care-band h2 { font-size: 23px; margin: 11px 0 6px; }
.article-body .care-band p { font-size: 13px; line-height: 1.6; margin: 0; }
.primary-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; background: var(--brand); color: white; border-radius: 5px; min-height: 44px; padding: 12px 17px; font-weight: 600; font-size: 12px; }
.primary-button:hover { background: var(--brand-dark); }
.primary-button svg { width: 16px; height: 16px; }
.references { margin-top: 30px; border-bottom: 1px solid var(--line); padding-bottom: 21px; }
.references summary { list-style: none; display: flex; gap: 15px; align-items: center; justify-content: space-between; font-size: 13px; color: #565b6a; font-weight: 600; }
.references summary > span { display: inline-flex; gap: 10px; align-items: center; }
.references summary svg { width: 17px; height: 17px; }
.references summary > svg { transition: transform .15s; }
.references[open] summary > svg { transform: rotate(45deg); }
.references ol { margin: 23px 0 0; padding-left: 22px; font-size: 12px; line-height: 1.8; color: #636a79; }
.references li { margin-bottom: 10px; padding-left: 3px; scroll-margin-top: calc(var(--header-height) + 25px); }
.references li:target { background: var(--cyan-soft); }
.references a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.article-body .medical-note { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 20px; }
.site-footer { border-top: 1px solid var(--line); background: #f9fafc; }
.footer-inner { max-width: 1200px; margin: auto; padding: 35px 32px; display: flex; align-items: center; gap: 40px; }
.footer-brand { width: 138px; display: flex; }
.footer-brand img { width: 138px; height: auto; }
.footer-inner p { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0; }
.footer-inner p a { color: var(--brand); }
.back-top { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 12px; color: #555b69; }
.back-top svg { width: 16px; height: 16px; }
.back-top:hover { color: var(--brand); }
@media (min-width: 1600px) {
  .page-shell { max-width: 1280px; }
  .article-header { max-width: 1080px; }
  .article-layout { grid-template-columns: 260px minmax(0, 760px); }
}
@media (max-width: 1050px) {
  .primary-nav { gap: 23px; }
  .header-inner { gap: 22px; }
  .article-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 38px; }
  h1 { font-size: 42px; }
  .article-body h2 { font-size: 24px; }
  .article-header { max-width: 100%; }
}
@media (max-width: 800px) {
  :root { --header-height: 82px; }
  .header-inner, .page-shell { padding-left: 24px; padding-right: 24px; }
  .primary-nav { display: none; }
  .appointment-link { margin-left: auto; }
  .brand, .brand img { width: 157px; }
  .brand img { height: 61px; }
  .breadcrumbs { padding-top: 23px; padding-bottom: 30px; }
  h1 { font-size: 36px; }
  .standfirst { font-size: 16px; }
  .article-layout { display: block; padding-top: 27px; }
  .article-sidebar { position: static; margin-bottom: 35px; }
  .contents { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .contents summary { padding: 17px 0; }
  .contents nav { margin-bottom: 18px; display: grid; grid-template-columns: 1fr 1fr; border-left: 0; gap: 2px 10px; }
  .contents nav a { padding-left: 10px; }
  .sidebar-contact { display: none; }
  .article-body { max-width: 710px; margin: auto; }
  figcaption { display: block; font-size: 10px; }
  figcaption span { display: none; }
  .article-section { margin-bottom: 35px; }
  .footer-inner { padding: 28px 24px; gap: 25px; }
}
@media (max-width: 480px) {
  :root { --header-height: 74px; }
  .header-inner, .page-shell { padding-left: 20px; padding-right: 20px; }
  .header-inner { gap: 10px; }
  .brand, .brand img { width: 137px; }
  .brand img { height: 55px; }
  .appointment-link { font-size: 11px; padding: 9px 10px; gap: 7px; }
  .appointment-link svg { width: 14px; height: 14px; }
  .breadcrumbs { font-size: 10px; gap: 7px; padding-bottom: 25px; }
  .category { font-size: 9px; gap: 8px; }
  .category svg { width: 16px; height: 16px; }
  h1 { font-size: 32px; line-height: 1.2; margin-top: 16px; }
  h1 br { display: none; }
  h1 span::before { content: " "; }
  .standfirst { font-size: 15px; margin-bottom: 21px; }
  .article-meta { gap: 9px; margin-bottom: 25px; }
  .author-mark { width: 34px; height: 34px; }
  .author > span { font-size: 11px; }
  .author small { font-size: 9px; }
  .reading-time { gap: 5px; margin-left: auto; padding-left: 11px; font-size: 10px; }
  .reading-time svg { width: 13px; height: 13px; }
  .print-button { width: 32px; height: 32px; margin-left: 2px; }
  .print-button svg { width: 16px; height: 16px; }
  .cover-image { aspect-ratio: 2 / 1; object-fit: cover; }
  .contents nav { grid-template-columns: 1fr; }
  .article-body h2 { font-size: 24px; }
  .article-body h3 { font-size: 17px; }
  .section-kicker { font-size: 9px; }
  .article-body p { font-size: 15px; line-height: 1.85; }
  .article-body .key-line { font-size: 17px; padding-left: 16px; }
  .symptom-list li { font-size: 14px; gap: 12px; }
  .emergency-note { padding: 18px 15px; gap: 10px; }
  .emergency-note > svg { width: 20px; height: 20px; }
  .emergency-note h3 { font-size: 15px; }
  .emergency-note p { font-size: 13px; }
  .habit-list h3 { font-size: 16px; }
  .habit-list p { font-size: 14px; }
  .references summary { font-size: 12px; }
  .footer-inner { padding: 25px 20px; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
  .footer-brand { width: 125px; }
  .footer-inner p { font-size: 10px; }
  .back-top { flex-basis: 100%; margin-left: 0; padding-top: 15px; border-top: 1px solid var(--line); justify-content: flex-end; }
}
@media (max-width: 350px) {
  .header-inner, .page-shell { padding-left: 15px; padding-right: 15px; }
  .brand, .brand img { width: 120px; }
  .appointment-link { font-size: 10px; padding: 8px; }
  h1 { font-size: 29px; }
  .author-mark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  @page { margin: 18mm; }
  .site-header, .breadcrumbs, .article-sidebar, .print-button, .care-band, .site-footer, .skip-link { display: none !important; }
  .page-shell { max-width: none; padding: 0; }
  .article-header { max-width: none; }
  h1 { font-size: 30px; }
  .standfirst { font-size: 13px; }
  .cover-image { max-height: 160px; object-fit: contain; }
  .article-layout { display: block; padding-top: 25px; }
  .article-section { margin-bottom: 23px; }
  .article-body h2 { font-size: 19px; break-after: avoid; }
  .article-body h3 { font-size: 14px; break-after: avoid; }
  .article-body p, .symptom-list li, .habit-list p { font-size: 11px; line-height: 1.65; }
  .emergency-note, .habit-list > div { break-inside: avoid; }
  .references { font-size: 10px; }
  .references ol { font-size: 9px; }
}
