
:root {
  --paper: #f6f4ef;
  --surface: #ffffff;
  --soft: #eaf1f4;
  --ink: #17212b;
  --muted: #5f6c76;
  --line: #d9e0e4;
  --brand: #17518C;
  --brand-dark: #0d355d;
  --accent: #b84a39;
  --maxw: 1120px;
  --sans: "Noto Sans TC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.75; overflow-x: hidden; }
img, canvas, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); }
.skip-link { position: fixed; top: 10px; left: 12px; z-index: 100; padding: 10px 14px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 800; transform: translateY(-180%); transition: transform .15s ease; }
.skip-link:focus { color: #fff; transform: translateY(0); }
:focus-visible { outline: 3px solid #d97706; outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(246,244,239,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { flex: 0 0 42px; width: 42px; height: 42px; max-width: 42px; max-height: 42px; display: block; background: transparent; border: 0; border-radius: 8px; overflow: hidden; }
.brand-mark img { width: 42px !important; height: 42px !important; max-width: 42px; max-height: 42px; object-fit: cover; display: block; border-radius: 8px; }
.brand-text { font-family: var(--sans); font-weight: 800; line-height: 1.2; }
.brand-text small { display: block; font-family: var(--sans); font-weight: 400; color: var(--muted); font-size: 12px; }
.nav-links { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.nav-links a { padding: 8px 11px; color: var(--muted); font-size: 15px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a.active, .nav-links a:hover { color: var(--brand-dark); border-bottom-color: var(--brand); }
.nav-toggle { display: none; }
section { padding: 56px 0; }
.hero { min-height: auto; display: flex; align-items: flex-start; border-bottom: 1px solid var(--line); overflow: hidden; padding-top: 68px; padding-bottom: 56px; }
.publication-hero { padding-top: 30px; padding-bottom: 18px; border-bottom: 0; }
.publication-hero .container, .publication-stats .container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.publication-hero .hero-grid { grid-template-columns: 1fr; justify-items: start; }
.publication-hero .hero-copy { width: 100%; max-width: none; }
.publication-hero h1 { margin-bottom: 12px; text-align: left; }
.publication-hero .lead { margin-top: 0; }
.publication-hero .hero-actions { margin-top: 16px; justify-content: flex-start; }
.publication-hero .spectrum { display: none; }
.simple-page-hero .container { width: 100%; }
.simple-page-hero .hero-grid { grid-template-columns: 1fr; }
.simple-page-hero .hero-copy { width: 100%; max-width: none; }
.collaborator-hero .container { width: 100%; }
.collaborator-hero .hero-grid { grid-template-columns: 1fr; }
.collaborator-hero .hero-copy { width: 100%; max-width: none; }
.collaborator-hero .lead { max-width: none; white-space: nowrap; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 56px; align-items: start; }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--sans); line-height: 1.22; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(34px, 5vw, 64px); }
.home-hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
.home-hero .hero-copy { width: 100%; min-width: 0; }
.home-hero h1 { width: 100%; max-width: none; font-size: clamp(32px, 3.6vw, 48px); text-align: left; text-align-last: left; white-space: nowrap; }
.home-hero .core-initial { text-shadow: 4px 4px 0 rgba(184, 74, 57, .18), 0 8px 18px rgba(23, 33, 43, .18); }
.home-hero .lead { width: 100%; max-width: none; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.68; text-align: justify; text-align-last: left; text-justify: inter-word; }
.home-hero .spectrum { display: none; }
h2 { font-size: 28px; margin-bottom: 18px; }
h3 { font-size: 21px; }
.lead { max-width: 66ch; color: var(--muted); font-size: 19px; margin: 20px 0 0; }
.lead strong { color: var(--brand-dark); }
.compact { font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 6px; border: 1px solid var(--brand); font-weight: 700; }
.btn-primary { background: var(--surface); color: var(--brand-dark); border-color: var(--brand); }
.btn-primary:hover { background: var(--soft); color: var(--brand-dark); }
.btn-secondary { background: var(--surface); color: var(--brand-dark); border-color: var(--brand); }
.btn-secondary:hover { background: var(--soft); color: var(--brand-dark); }
.spectrum { position: relative; height: 320px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.axis { position: absolute; inset: auto 0 64px 0; height: 2px; background: var(--line); }
.peak { position: absolute; bottom: 64px; width: 28%; border: 2px solid var(--brand); border-bottom: 0; border-radius: 60% 60% 0 0; opacity: .82; }
.peak-one { left: 3%; height: 80px; }
.peak-two { left: 32%; height: 210px; border-color: var(--accent); }
.peak-three { right: 3%; height: 125px; }
.advisor-photo { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; max-height: 520px; justify-self: end; width: min(100%, 420px); }
.advisor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.profile { padding-top: 84px; padding-bottom: 56px; }
.profile-card { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 44px; align-items: start; }
.profile-photo { margin: 0; border-radius: 10px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.profile-info h1 { color: var(--brand-dark); font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.profile-role { margin: 0 0 6px; }
.profile-h { color: var(--brand-dark); font-size: 22px; margin: 22px 0 6px; }
.profile-role, .profile-line, .profile-honors { color: var(--muted); font-family: inherit; font-size: clamp(12px, 1.18vw, 16px); line-height: 1.55; letter-spacing: -.012em; }
.profile-line { margin: 0; }
.profile-single-line { white-space: nowrap; }
.profile-honors { margin: 0; padding-left: 24px; }
.profile-info a, .profile-info a:visited, .profile-info a:hover, .profile-info a:active { color: inherit; text-decoration: none; }
.profile .hero-actions { margin-top: 26px; }
@media (max-width: 760px) { .profile-card { grid-template-columns: 1fr; gap: 22px; } .profile-photo { max-width: 320px; } .profile-role, .profile-line, .profile-honors { font-size: 15px; } .profile-single-line { white-space: normal; } .collaborator-hero .lead { white-space: normal; } }
.section-soft { background: var(--soft); }
.collaborator-section { padding: 0 0 72px; }
.collaborator-container { max-width: 1440px; }
.collaborator-embed { display: block; width: 100%; height: 3600px; border: 0; background: var(--soft); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--surface); }
.stat { padding: 30px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 38px; color: var(--brand-dark); line-height: 1; }
.stat span { display: block; color: var(--muted); margin-top: 10px; }
.section-head { margin-bottom: 26px; }
.home-research-head h2, .appointment-head h2 { font-weight: 800; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.research-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.research-strip .card { width: 100%; display: flex; flex-direction: column; }
.card, .info-panel, .empty-state, .contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.card-media { margin: auto 0 0; border-radius: 6px; overflow: hidden; background: transparent; aspect-ratio: 16 / 9; width: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.card-kicker { margin: 0 0 8px; color: var(--accent); font-size: 13px; font-weight: 800; }
.research-strip .card h3 { min-height: 70px; text-align: left; }
.card p { color: var(--muted); }
.research-strip .card p { min-height: 118px; text-align: left; }
.recruitment-section { padding-top: 20px; }
.recruitment-panel { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; padding-top: 36px; padding-bottom: 36px; border-top: 3px solid var(--brand); border-bottom: 1px solid var(--line); background: var(--surface); }
.recruitment-panel > div { align-self: start; }
.recruitment-panel .eyebrow { margin: 0 0 8px; color: var(--accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.recruitment-panel h2 { margin-bottom: 0; color: var(--brand-dark); }
.recruitment-panel p { margin-top: 0; }
.recruitment-panel > div:last-child p { text-align: justify; text-align-last: left; text-justify: inter-word; hyphens: auto; }
.recruitment-panel .recruitment-highlight { color: var(--accent); }
.home-highlight-section { padding: 18px 0 30px; }
.home-highlight { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: 34px; padding-bottom: 34px; border-top: 3px solid var(--brand); border-bottom: 1px solid var(--line); background: var(--surface); }
.home-highlight-media { margin: 0; min-height: 320px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #f7f9fb; }
.home-highlight-media img { width: 100%; height: 100%; min-height: 320px; max-height: 430px; object-fit: contain; display: block; }
.home-highlight-copy .eyebrow { margin: 0 0 8px; color: var(--accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-highlight-copy h2 { margin-bottom: 18px; color: var(--brand-dark); font-size: clamp(27px, 3vw, 40px); line-height: 1.25; }
.home-highlight-copy p { color: var(--muted); text-align: justify; text-align-last: left; }
.home-highlight-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.home-news-section { padding-top: 22px; }
.home-news-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.home-news-head h2 { margin: 0; }
.section-link { color: var(--brand); font-weight: 800; text-decoration: none; white-space: nowrap; }
.section-link:hover { text-decoration: underline; }
.home-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.home-news-card { display: flex; flex-direction: column; min-width: 0; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.home-news-media { margin: 0; aspect-ratio: 16 / 9; background: #f7f9fb; border-bottom: 1px solid var(--line); overflow: hidden; }
.home-news-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.home-news-copy { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.home-news-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.home-news-copy h3 { margin: 12px 0 14px; color: var(--brand-dark); font-size: 19px; line-height: 1.4; }
.home-news-copy p { margin: auto 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.home-news-copy a { color: var(--brand); font-weight: 800; text-decoration: none; }
.home-news-copy a:hover { text-decoration: underline; }
.academic-activity-section { padding-top: 18px; }
.activity-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.activity-head h2 { margin-bottom: 0; }
.activity-controls { display: inline-flex; align-items: center; gap: 10px; }
.activity-control { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--brand-dark); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.activity-control:hover { border-color: var(--brand); color: var(--brand); }
.activity-control:disabled { opacity: .38; cursor: default; }
.activity-status { min-width: 48px; color: var(--muted); font-size: 14px; text-align: center; }
.activity-carousel { max-width: 100%; overflow-x: auto; overflow-y: hidden; padding-bottom: 10px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; overscroll-behavior-x: contain; }
.activity-strip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); grid-template-columns: none; gap: 18px; align-items: stretch; min-width: 100%; }
.activity-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; min-width: 0; scroll-snap-align: start; container-type: inline-size; }
.activity-card h3 { min-height: 96px; font-size: clamp(16px, calc(20px - var(--activity-title-length, 50) * .045px), 19px); font-size: clamp(16px, min(6cqi, calc(20px - var(--activity-title-length, 50) * .045px)), 19px); line-height: 1.45; text-align: justify; text-align-last: left; text-justify: inter-word; text-wrap: pretty; letter-spacing: 0; word-spacing: normal; overflow-wrap: normal; word-break: normal; -webkit-hyphens: auto; hyphens: auto; hyphenate-character: "-"; }
.activity-card p { color: var(--muted); font-size: clamp(14px, .95vw, 15px); line-height: 1.7; margin: 24px 0 26px; min-height: 112px; text-align: justify; text-align-last: left; text-justify: inter-word; letter-spacing: 0; word-spacing: normal; overflow-wrap: break-word; hyphens: auto; }
.activity-card p a { color: var(--brand); font-weight: 800; text-decoration: none; }
.activity-card p a:hover { text-decoration: underline; }
.activity-links { display: inline-block; margin-top: 4px; text-align: left; text-align-last: auto; }
.activity-gallery { margin: auto 0 0; height: clamp(230px, 24vw, 320px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; overscroll-behavior-x: contain; border-radius: 6px; }
.activity-gallery-track { display: flex; height: 100%; }
.activity-media { flex: 0 0 100%; margin: 0; border-radius: 6px; overflow: hidden; background: #f7f9fb; width: 100%; height: 100%; scroll-snap-align: start; }
.activity-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.appointment-timeline { grid-template-columns: 260px minmax(0, 1fr); column-gap: 28px; row-gap: 12px; }
.appointment-timeline li { display: contents; }
.appointment-timeline time { grid-column: 1; padding-bottom: 12px; border-bottom: 1px solid transparent; }
.appointment-timeline div { grid-column: 2; padding-bottom: 12px; border-bottom: 1px solid transparent; }
.timeline time { color: var(--brand); font-weight: 700; white-space: nowrap; }
.timeline span { display: block; color: var(--muted); }
.member-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.member-group { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.member-group h3 { color: var(--brand-dark); margin-bottom: 16px; font-size: 22px; text-align: center; }
.member-table { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.member-row { display: grid; grid-template-columns: minmax(92px, .75fr) minmax(0, 1.55fr) minmax(120px, .8fr); gap: 16px; padding: 12px 14px; background: var(--surface); border-bottom: 1px solid var(--line); align-items: center; text-align: center; }
.member-row:last-child { border-bottom: 0; }
.member-head { background: var(--soft); color: var(--brand-dark); font-weight: 800; }
.member-row span:first-child { font-weight: 800; color: var(--ink); }
.member-row span:not(:first-child) { color: var(--muted); }
.stack { display: grid; gap: 18px; }
.research-row { display: grid; grid-template-columns: 280px minmax(0, 1fr) 260px; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 10px; font-size: 14px; color: var(--brand-dark); }
.research-media { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
.research-media img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 10px; }
.publication-tools-section { padding: 30px 0 10px; }
.publication-tools { display: grid; }
.publication-filter-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.publication-search, .publication-area-filter, .publication-year-filter { min-width: 0; color: var(--brand-dark); }
.publication-search input, .publication-area-filter select, .publication-year-filter select { width: 100%; min-width: 0; max-width: 100%; height: 64px; border: 1px solid #9eabb4; border-radius: 6px; padding: 10px 12px; background: var(--surface); color: var(--ink); font: inherit; }
.publication-role-filters { display: contents; }
.publication-role-filter { width: 100%; height: 64px; min-width: 0; padding: 10px 12px; cursor: pointer; white-space: normal; line-height: 1.2; }
.publication-role-filter[aria-pressed="true"] { border-color: var(--brand-dark); background: var(--brand-dark); color: #fff; box-shadow: 0 0 0 2px rgba(6, 56, 96, .14); }
.publication-year { scroll-margin-top: 88px; border-bottom: 1px solid var(--line); }
.publication-year[hidden] { display: none; }
.publication-year > summary { display: flex; align-items: center; gap: 14px; padding: 26px 4px 18px; color: var(--brand-dark); cursor: pointer; list-style: none; }
.publication-year > summary::-webkit-details-marker { display: none; }
.publication-year > summary::before { content: "+"; display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--brand); border-radius: 999px; font-size: 23px; line-height: 1; }
.publication-year[open] > summary::before { content: "\2212"; }
.publication-year-title { font-size: clamp(32px, 5vw, 50px); font-weight: 800; line-height: 1; }
.publication-year-count { margin-left: auto; color: var(--muted); font-weight: 700; }
.publication-stats-head h2 { color: var(--brand); font-weight: 800; }
.publication-stats { padding-top: 24px; background: transparent; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.metric-card { padding: 22px 24px; border-right: 1px solid var(--line); }
.metric-card:last-child { border-right: 0; }
.metric-card strong { display: block; color: var(--brand-dark); font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.metric-card span { display: block; color: var(--muted); margin-top: 8px; font-size: 16px; }
.chart-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.chart-card h3 { margin: 0 0 18px; color: var(--ink); font-size: 20px; }
.chart-canvas { position: relative; height: 340px !important; width: 100%; }
.sankey-canvas { height: 380px !important; }
.sankey-canvas canvas { flex: 1 1 auto; min-height: 0; }
.sankey-legend { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; margin-top: 10px; min-height: 24px; }
.sankey-toggle { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 14px; line-height: 1.2; padding: 0; cursor: pointer; }
.sankey-toggle[aria-pressed="true"] { opacity: .45; }
.sankey-toggle[aria-pressed="true"] span:last-child { text-decoration: line-through; }
.sankey-dot { width: 13px; height: 13px; border-radius: 999px; display: inline-block; flex: 0 0 auto; }
.chart-grid { align-items: stretch; }
.chart-card { display: flex; flex-direction: column; }
.data-bar { display: grid; grid-template-columns: 180px minmax(120px, 1fr) 42px; align-items: center; gap: 12px; margin: 10px 0; }
.data-bar-label { color: var(--muted); font-size: 14px; }
.data-bar-track { height: 12px; background: #e5edf1; border-radius: 999px; overflow: hidden; }
.data-bar-track span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.data-bar strong { color: var(--brand-dark); text-align: right; font-size: 15px; }
.yearly-table-card { grid-column: 1 / -1; }
.stats-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.stats-table th, .stats-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.stats-table th { color: var(--brand-dark); font-weight: 800; }
.stats-table td:nth-child(2), .stats-table td:nth-child(3), .stats-table th:nth-child(2), .stats-table th:nth-child(3) { text-align: right; }
.pub-note { display: block; color: var(--pub-alert, #9b2c20); font-size: .86em; font-weight: 800; margin: 5px 0 0; white-space: normal; text-align: left; }
.pub-list { --pub-ink: #102a43; --pub-accent: #00695c; --pub-alert: #9b2c20; list-style: none; padding: 0; margin: 0; }
.pub-list li { padding: 0; border-bottom: 1px solid var(--line); }
.pub-list li.pub-item { margin: 0; border-left: 0; transition: background-color .2s ease; }
.pub-list li.pub-item[hidden], .pub-list .publication-divider[hidden] { display: none; }
.pub-list li.pub-item.pub-tone-1 { background: #f4f8fa; }
.pub-list li.pub-item.pub-tone-2 { background: #fbf8f3; }
.pub-list li.pub-item:hover { background: #eef3f5; }
.pub-list li.pub-item.publication-boundary-before { border-bottom: 0; }
.pub-list .publication-divider { display: flex; align-items: center; gap: 14px; padding: 13px 0 12px; border-bottom: 0; color: var(--pub-accent); font-size: .95rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pub-list .publication-divider span { padding: 0 10px; background: var(--paper); white-space: nowrap; }
.pub-list .publication-divider::before, .pub-list .publication-divider::after { content: ""; height: 2px; flex: 1; background: var(--brand); opacity: .85; }
.pub-body { color: var(--pub-ink); padding: 21px 20px 24px 18px; }
.pub-body .pub-text { min-width: 0; }
.pub-text h3 { margin: 0 0 10px; font-family: var(--sans); font-size: 20px; line-height: 1.35; color: var(--pub-ink); font-weight: 800; }
.pub-text h3 sub, .pub-text h3 sup { font-size: .62em; line-height: 0; }
.pub-title { text-align: justify; text-align-last: left; text-justify: inter-word; }
.pub-citation { margin: 0; color: var(--pub-ink); font-size: clamp(13px, 1.05vw, 15px); line-height: 1.48; text-align: left; text-align-last: auto; letter-spacing: 0; word-spacing: normal; hyphens: auto; overflow-wrap: normal; }
.pub-citation .pub-authors, .pub-citation .pub-venue { margin: 0 0 5px; color: var(--pub-ink); font-size: inherit; line-height: inherit; }
.pub-citation .pub-venue { margin-bottom: 0; }
.author-contribution { display: inline-block; margin-left: 7px; color: var(--pub-alert); font-size: .88em; font-weight: 800; white-space: nowrap; }
.co-first-mark { color: var(--pub-alert); font-size: .72em !important; font-weight: 900; margin-left: 1px; }
.corresponding-mark { color: var(--pub-alert); font-size: .72em !important; font-weight: 900; margin-left: 1px; }
.pub-citation em { color: var(--pub-ink); font-style: italic; }
.pub-citation strong:not(.pi-author) { color: var(--pub-ink); font-weight: 800; }
.pub-citation sub, .pub-citation sup { font-size: .62em; line-height: 0; }
.pub-citation .pi-author { color: var(--pub-accent); font-weight: 800; }
.pub-citation .doi-wrap { white-space: nowrap; }
.pub-citation .doi-link { color: var(--pub-accent); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.pub-citation .doi-link:hover { text-decoration: underline; }
.pub-citation .article-link { color: var(--pub-ink); font-weight: 800; text-decoration: none; margin-left: .35rem; }
.pub-citation .article-link::before { content: "\2192"; margin-right: .28em; }
.pub-citation .article-link::after { content: "\2190"; margin-left: .28em; }
.pub-citation .article-link:hover { text-decoration: underline; }
.pub-number { color: var(--pub-accent); font-weight: 800; }
.pub-authors { margin: 0 0 12px; color: var(--pub-ink); font-size: 21px; line-height: 1.55; }
.pub-authors strong { color: var(--pub-accent); font-weight: 800; }
.pub-authors .pi-author { color: var(--pub-accent); font-weight: 800; }
.pub-venue { margin: 0 0 14px; color: var(--pub-ink); font-size: 20px; line-height: 1.5; }
.pub-venue em { color: var(--pub-ink); font-style: italic; }
.pub-tags { display: flex; flex-wrap: wrap; gap: 0; align-items: center; padding: 10px 14px; border: 1px solid #a9c4ff; background: #eaf0ff; border-radius: 8px; color: var(--pub-accent); font-size: 18px; line-height: 1.3; }
.pub-tags span:not(:last-child)::after { content: "\2022"; padding: 0 14px; color: var(--pub-accent); }
.pub-item.has-media .pub-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: start; }
.pub-item.media-after .pub-body { grid-template-columns: minmax(0, 1fr) 180px; }
.pub-media { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
.pub-media img { width: 100%; height: 100%; display: block; object-fit: contain; padding: 8px; }
.pub-placeholder { border: 0 !important; background: transparent !important; }
.venue { color: var(--muted); }
.news-directory-section { padding-top: 22px; }
.news-category-nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.news-category-nav a { border: 1px solid var(--brand); border-radius: 999px; padding: 8px 14px; color: var(--brand-dark); font-weight: 800; text-decoration: none; }
.news-category-nav a:hover { background: var(--brand-dark); color: #fff; }
.news-category { padding: 34px 0 10px; scroll-margin-top: 86px; }
.news-category .section-head { margin-bottom: 18px; }
.news-category .section-head h2 { margin: 0; color: var(--brand-dark); }
.news-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.news-card { display: block; min-height: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.news-card.has-media { display: grid; grid-template-columns: 180px minmax(0, 1fr); }
.news-card-media { margin: 0; min-height: 220px; background: #f7f9fb; border-right: 1px solid var(--line); }
.news-card-media img { width: 100%; height: 100%; min-height: 220px; object-fit: contain; display: block; }
.news-card-copy { padding: 22px; min-width: 0; }
.news-card-copy time { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.news-card-copy h3 { margin: 8px 0 12px; color: var(--brand-dark); font-size: 19px; line-height: 1.4; }
.news-card-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.news-card-copy a { color: var(--brand); font-weight: 800; text-decoration: none; }
.news-card-copy a:hover { text-decoration: underline; }
.contact-form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; color: var(--muted); font-weight: 700; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; font: inherit; color: var(--ink); background: #fff; }
input:focus, textarea:focus { outline: 3px solid rgba(23,81,140,.18); border-color: var(--brand); }
.member-auth-section, .member-portal-section { min-height: 68vh; padding-top: 72px; }
.member-auth-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 48px; align-items: start; }
.member-auth-copy, .member-security-note, .member-access-panel, .member-card, .member-resource, .member-form, .member-approval-section { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.member-auth-copy { padding: clamp(28px, 5vw, 56px); }
.member-auth-copy h1, .member-portal-head h1 { color: var(--brand-dark); font-size: clamp(34px, 4vw, 52px); }
.member-auth-copy .lead { max-width: 58ch; }
.member-auth-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-member-login { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-member-login:hover { background: var(--brand); color: #fff; }
.btn[disabled] { cursor: not-allowed; opacity: .55; }
.btn.is-disabled { pointer-events: none; cursor: not-allowed; opacity: .55; }
.member-security-note { padding: 30px; border-top: 4px solid var(--brand); }
.member-security-note h2 { color: var(--brand-dark); font-size: 22px; }
.member-security-note p { color: var(--muted); }
.member-status { margin: 22px 0 0; color: var(--muted); font-weight: 700; }
.member-status[data-tone="success"] { color: #17633a; }
.member-status[data-tone="warning"] { color: #8a4b08; }
.member-status[data-tone="error"] { color: #a33224; }
.member-portal-head { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.member-account { display: flex; align-items: center; justify-content: flex-end; gap: 14px; color: var(--muted); font-weight: 700; }
.member-access-panel { max-width: 720px; margin: 40px auto 0; padding: 34px; }
.member-access-panel h2 { color: var(--brand-dark); }
.member-portal-content { width: 100%; margin-top: 0; }
.member-announcements-dashboard { width: 100%; padding: 30px 0 28px; border-bottom: 1px solid var(--line); }
.member-announcements-dashboard .member-section-head { margin-bottom: 16px; }
.member-portal-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 12px 0 0; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.member-portal-tab { flex: 0 0 auto; min-height: 48px; border: 0; border-bottom: 3px solid transparent; padding: 12px 18px; background: transparent; color: var(--muted); font: inherit; font-weight: 800; cursor: pointer; }
.member-portal-tab:hover { color: var(--brand-dark); background: var(--soft); }
.member-portal-tab[aria-selected="true"] { border-bottom-color: var(--brand); color: var(--brand-dark); background: var(--surface); }
.member-portal-tab:focus-visible { outline: 3px solid rgba(23,81,140,.22); outline-offset: -3px; }
.member-portal-panel { padding: 40px 0 52px; border-bottom: 0; }
.member-portal-panel[hidden] { display: none; }
.member-roadmap-panel { padding-top: 20px; }
.member-roadmap-frame { display: block; width: 100%; height: 3050px; border: 0; background: #eceef1; }
.member-schedule-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.member-schedule-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 16px; min-width: 920px; }
.member-schedule-table th, .member-schedule-table td { text-align: left; }
.member-schedule-table th:nth-child(1), .member-schedule-table td:nth-child(1) { width: 10%; }
.member-schedule-table th:nth-child(2), .member-schedule-table td:nth-child(2) { width: 20%; }
.member-schedule-table th:nth-child(3), .member-schedule-table td:nth-child(3) { width: 25%; }
.member-schedule-table th:nth-child(4), .member-schedule-table td:nth-child(4) { width: 20%; }
.member-schedule-table th:nth-child(5), .member-schedule-table td:nth-child(5) { width: 25%; }
.member-schedule-table th { padding: 14px 18px; background: var(--soft); color: var(--brand-dark); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line); white-space: normal; }
.member-schedule-table td { padding: 15px 18px; border-bottom: 1px solid var(--line-soft, #eef2f4); vertical-align: top; overflow-wrap: anywhere; }
.member-schedule-table tbody tr:last-child td { border-bottom: 0; }
.member-schedule-table tbody tr:hover { background: var(--soft); }
.member-schedule-date { font-weight: 800; color: var(--brand-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.member-schedule-person { display: flex; flex-direction: column; gap: 1px; }
.member-schedule-person + .member-schedule-person { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.member-schedule-name-en { font-weight: 700; }
.member-schedule-name-zh { color: var(--muted); font-size: 14px; }
.member-schedule-paper-link { display: block; color: var(--brand); font-weight: 700; line-height: 1.45; text-align: left; overflow-wrap: anywhere; }
.member-schedule-paper-link:hover { color: var(--accent); text-decoration: underline; }
.member-schedule-empty { color: var(--muted); }
@media (max-width: 620px) { .member-schedule-table { font-size: 15px; } .member-schedule-table th, .member-schedule-table td { padding: 12px 14px; } }
.member-directory-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.member-directory-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.member-directory-table th, .member-directory-table td { padding: 12px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft, #eef2f4); overflow-wrap: anywhere; }
.member-directory-table th { background: var(--soft); color: var(--brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .04em; white-space: pre-line; }
.member-directory-table.is-admin th:nth-child(1), .member-directory-table.is-admin td:nth-child(1) { width: 14%; }
.member-directory-table.is-admin th:nth-child(2), .member-directory-table.is-admin td:nth-child(2) { width: 20%; }
.member-directory-table.is-admin th:nth-child(3), .member-directory-table.is-admin td:nth-child(3) { width: 19%; }
.member-directory-table.is-admin th:nth-child(4), .member-directory-table.is-admin td:nth-child(4) { width: 11%; }
.member-directory-table.is-admin th:nth-child(5), .member-directory-table.is-admin td:nth-child(5) { width: 13%; }
.member-directory-table.is-admin th:nth-child(6), .member-directory-table.is-admin td:nth-child(6) { width: 23%; }
.member-directory-table.is-admin th:nth-child(3), .member-directory-table.is-admin td:nth-child(3), .member-directory-table.is-admin th:nth-child(4), .member-directory-table.is-admin td:nth-child(4), .member-directory-table.is-admin th:nth-child(6), .member-directory-table.is-admin td:nth-child(6) { white-space: nowrap; font-size: 13px; letter-spacing: -.02em; }
.member-directory-table.is-member th:nth-child(1), .member-directory-table.is-member td:nth-child(1) { width: 34%; }
.member-directory-table.is-member th:nth-child(2), .member-directory-table.is-member td:nth-child(2) { width: 33%; }
.member-directory-table.is-member th:nth-child(3), .member-directory-table.is-member td:nth-child(3) { width: 33%; }
.member-directory-table tbody tr:last-child td { border-bottom: 0; }
.member-directory-table tbody tr:hover { background: var(--soft); }
.member-directory-name-en, .member-directory-name-zh { display: block; }
.member-directory-name-en { color: var(--brand-dark); font-weight: 800; }
.member-directory-name-zh { margin-top: 4px; color: var(--muted); }
.member-directory-empty { color: var(--muted); }
.member-section-head { display: flex; width: 100%; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
.member-section-head > div { width: 100%; }
.member-section-head h2 { color: var(--brand-dark); margin: 0; }
.member-section-description { width: 100%; max-width: none; margin: 12px 0 0; color: var(--muted); line-height: 1.72; }
.member-calendar-intro { align-items: start; }
.member-calendar-intro p:last-child { max-width: none; margin: 10px 0 0; color: var(--muted); }
.member-calendar-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.member-calendar-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 10px; }
.member-calendar-card-head { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px; }
.member-calendar-card-head h3 { margin: 0; color: var(--brand-dark); font-size: clamp(24px, 3vw, 32px); }
.member-calendar-card-head p:not(.eyebrow) { max-width: 72ch; margin: 8px 0 0; color: var(--muted); }
.member-calendar-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; flex: 0 0 auto; }
.member-native-calendar { border-top: 1px solid var(--line); background: #fff; }
.member-calendar-toolbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; min-height: 68px; padding: 10px 16px; background: #edf3f8; border-bottom: 1px solid var(--line); }
.member-calendar-navigation { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.member-calendar-nav { min-height: 40px; padding: 7px 12px; font-size: 14px; }
.member-calendar-period { margin-left: 8px; color: var(--brand-dark); font-size: 18px; white-space: nowrap; }
.member-calendar-state { margin: 0; color: var(--muted); font-size: 14px; font-weight: 800; white-space: nowrap; }
.member-calendar-state[data-tone="success"] { color: #17633d; }
.member-calendar-state[data-tone="error"] { color: #a33224; }
.member-calendar-surface { width: 100%; overflow-x: auto; }
.member-native-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(112px, 1fr)); min-width: 784px; background: var(--line); gap: 1px; }
.member-calendar-weekday { padding: 8px 10px; background: #f5f8fa; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .05em; text-align: center; text-transform: uppercase; }
.member-calendar-day { min-width: 0; min-height: 118px; padding: 8px; background: #fff; }
.member-native-calendar-grid.is-week .member-calendar-day { min-height: 250px; }
.member-calendar-day.is-outside { background: #f7f8f9; color: #87939c; }
.member-calendar-day.is-today { box-shadow: inset 0 0 0 2px var(--brand); }
.member-calendar-day-heading { display: flex; justify-content: space-between; min-height: 22px; color: var(--brand-dark); font-size: 12px; font-weight: 900; }
.member-calendar-day-events { display: grid; gap: 5px; margin-top: 5px; }
.member-calendar-event { display: grid; gap: 1px; min-width: 0; border-left: 3px solid var(--brand); border-radius: 4px; padding: 5px 6px; background: #eaf2f8; color: var(--brand-dark); line-height: 1.25; }
.member-calendar-instrument .member-calendar-event { border-left-color: #087d73; background: #e5f4f1; color: #075f58; }
.member-calendar-leave .member-calendar-event { border-left-color: #b2551f; background: #fff0e6; color: #7b3515; }
.member-calendar-event-time { font-size: 10px; font-weight: 900; text-transform: uppercase; }
.member-calendar-event-title { min-width: 0; font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.member-calendar-event-reporter { min-width: 0; color: var(--muted); font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.member-calendar-empty-day { color: #a5afb6; font-size: 11px; }
.member-calendar-loading, .member-calendar-error { min-height: 180px; margin: 0; padding: 40px 24px; color: var(--muted); text-align: center; }
.member-calendar-error { color: #a33224; }
.member-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; align-items: start; }
.member-card { min-width: 0; padding: 16px 18px; border-top: 3px solid var(--brand); }
.member-card h3, .member-resource h3, .member-form h3 { color: var(--brand-dark); margin-bottom: 8px; }
.member-card h3 { margin: 2px 0 0; font-size: 18px; line-height: 1.35; }
.member-card p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.member-card-meta { margin: 0 0 4px !important; color: var(--accent); font-size: 12px !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.member-sync-status { display: inline-flex; margin: 10px 0 0 !important; border-radius: 999px; padding: 4px 8px; font-size: 12px !important; font-weight: 800; }
.member-announcements-dashboard .member-resource-actions { gap: 6px; margin-top: 8px; }
.member-announcements-dashboard .member-resource-actions .btn { min-height: 38px; padding: 7px 10px; font-size: 13px; }
.member-announcements-dashboard .member-delete { padding: 6px 8px; font-size: 13px; }
.member-sync-status.is-synced { background: #e7f4ed; color: #17633d; }
.member-sync-status.is-pending { background: #fff4d6; color: #785500; }
.member-sync-status.is-failed { background: #fde8e5; color: #9b2c20; }
.member-resource-list { display: grid; gap: 14px; }
.member-resource { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 24px; }
.member-resource p { margin: 5px 0 0; color: var(--muted); }
.member-resource-actions, .member-approval-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.member-resource-tabs { display: flex; gap: 0; flex-wrap: wrap; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.member-resource-tab { border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-weight: 800; padding: 12px 18px; }
.member-resource-tab[aria-selected="true"] { border-bottom-color: var(--brand); color: var(--brand-dark); background: var(--soft); }
.member-resource-tab:hover, .member-resource-tab:focus-visible { color: var(--brand-dark); outline: 2px solid var(--brand); outline-offset: -2px; }
.member-folder-view { display: grid; gap: 18px; }
.member-folder-section { display: grid; gap: 18px; }
.member-folder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.member-folder-card { display: grid; gap: 8px; min-height: 112px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 2px 8px rgba(23,33,43,.04); }
.member-folder-button { border: 0; background: transparent; color: var(--brand-dark); cursor: pointer; font: inherit; font-weight: 800; text-align: left; overflow-wrap: anywhere; padding: 0; }
.member-folder-button::before { content: "Folder"; display: block; margin-bottom: 8px; color: var(--accent); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.member-folder-button:hover, .member-folder-button:focus-visible { color: var(--brand); outline: 2px solid var(--brand); outline-offset: 3px; }
.member-folder-count { color: var(--muted); font-size: 14px; }
.member-folder-contents { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.member-folder-contents h3 { margin-bottom: 14px; color: var(--brand-dark); }
.member-folder-file-list { display: grid; gap: 10px; }
.member-folder-file { display: grid; gap: 4px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.member-folder-file-link, .member-folder-file-label { color: var(--brand-dark); font-weight: 800; overflow-wrap: anywhere; }
.member-folder-file-link { text-decoration: none; }
.member-folder-file-link:hover, .member-folder-file-link:focus-visible { color: var(--brand); text-decoration: underline; }
.member-folder-file-meta { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.member-resource-tree-roadmap { margin-top: 18px; }
.member-resource-tree-roadmap .member-roadmap-frame { width: 100%; min-height: 720px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.member-group-reminder { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; background: var(--soft); font-size: 15px; }
.member-experiment-filters { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.member-experiment-filters label { display: flex; flex-direction: column; gap: 5px; font-weight: 700; font-size: 14px; }
.member-experiment-filters input { min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-weight: 400; }
.member-experiment-list { display: flex; flex-direction: column; gap: 12px; }
.member-experiment-row { display: flex; gap: 18px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.member-experiment-row h3 { font-size: 17px; margin: 4px 0; word-break: break-word; }
.member-experiment-row > div:first-child { flex: 1 1 320px; min-width: 0; }
.member-delete { border: 0; background: transparent; color: #a33224; font: inherit; font-weight: 800; cursor: pointer; padding: 8px; }
.member-admin { border-bottom: 0; }
.member-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.member-form { display: grid; gap: 16px; padding: 26px; }
.member-form h3 { margin-bottom: 2px; }
.member-form select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; background: #fff; color: var(--ink); font: inherit; }
.member-form textarea { resize: vertical; }
.member-form .member-checkbox { display: flex; align-items: center; gap: 10px; }
.member-form .member-checkbox input { width: auto; flex: 0 0 auto; }
.member-approval-section { margin-top: 22px; padding: 26px; }
.member-invite-form { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(260px, 1.2fr) auto; gap: 14px; align-items: end; margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.member-invite-form label { display: grid; gap: 7px; color: var(--brand-dark); font-weight: 700; }
.member-invite-form input { width: 100%; min-height: 46px; border: 1px solid #a7b5c1; border-radius: 6px; padding: 10px 12px; background: #fff; color: var(--ink); font: inherit; }
.member-invite-form input:focus { border-color: var(--brand); outline: 3px solid rgba(23,81,140,.18); outline-offset: 1px; }
.member-approval-group { margin-top: 24px; }
.member-approval-group h4 { margin-bottom: 0; color: var(--brand-dark); font-size: 1.05rem; }
.member-approval-list { display: grid; gap: 10px; margin-top: 18px; }
.member-approval-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.member-approval-row strong, .member-approval-row span { display: block; }
.member-approval-controls select { min-height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; background: #fff; color: var(--ink); font: inherit; }
.footer { background: var(--ink); color: #d8e0e5; padding: 54px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.footer h2 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.footer a { color: #f3f7fa; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.fine { border-top: 1px solid rgba(255,255,255,.16); margin-top: 36px; padding-top: 20px; color: #aab6bf; font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.visitor-stats { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; color: #c5d0d8; }
.visitor-stats span { white-space: nowrap; }
.visitor-stats strong { color: #fff; font-weight: 800; margin-left: 4px; }
.visitor-stats[hidden] { display: none; }
@media (max-width: 880px) {
  .home-highlight { grid-template-columns: 1fr; }
  .home-highlight-media { min-height: 260px; }
  .home-highlight-media img { min-height: 260px; max-height: 380px; }
  .home-news-grid { grid-template-columns: 1fr; }
  .news-card-grid { grid-template-columns: 1fr; }
  .container, .nav-inner { max-width: 100%; padding-left: 18px; padding-right: 18px; }
  .publication-hero .container, .publication-stats .container { max-width: 100%; padding-left: 18px; padding-right: 18px; }
  .nav-inner { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .brand { gap: 10px; min-width: 0; }
  .brand-text { font-size: 16px; }
  .brand-text small { display: none; }
  .brand-mark, .brand-mark img { flex-basis: 38px; width: 38px !important; height: 38px !important; max-width: 38px; max-height: 38px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); padding: 10px 18px 18px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .member-auth-layout, .member-admin-grid { grid-template-columns: 1fr; }
  .member-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-roadmap-frame { height: 3900px; }
  .member-report-schedule-frame { height: 940px; }
  .member-portal-head, .member-approval-row, .member-calendar-card-head { align-items: stretch; flex-direction: column; }
  .member-invite-form { grid-template-columns: 1fr; }
  .member-calendar-actions { justify-content: flex-start; }
  .member-calendar-toolbar { align-items: flex-start; flex-direction: column; }
  .member-calendar-state { white-space: normal; }
  .member-resource { grid-template-columns: 1fr; }
  .member-account { justify-content: flex-start; }
  .nav-toggle { display: inline-flex; margin-left: auto; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 8px 12px; font-size: 14px; }
  section { padding: 38px 0; }
  .hero { min-height: auto; padding-top: 34px; padding-bottom: 34px; }
  .publication-hero { padding-top: 22px; padding-bottom: 14px; }
  .hero-grid, .two-col, .research-row, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  h1 { font-size: clamp(34px, 11vw, 46px); overflow-wrap: anywhere; }
  h2 { font-size: 25px; }
  h3 { font-size: 20px; }
  .lead { max-width: none; font-size: 17px; line-height: 1.65; }
  .home-hero h1 { font-size: clamp(32px, 9vw, 40px); text-align: left; text-align-last: left; white-space: normal; }
  .home-hero .lead { font-size: 18px; text-align: justify; text-align-last: left; }
  .spectrum { height: 180px; }
  .advisor-photo { justify-self: stretch; width: 100%; max-height: none; }
  .grid-3, .stats, .research-strip, .member-groups, .recruitment-panel { grid-template-columns: 1fr; }
  .recruitment-panel { gap: 18px; padding-top: 28px; padding-bottom: 28px; }
  .activity-head { align-items: flex-start; flex-direction: column; }
  .research-strip, .activity-strip { gap: 14px; }
  .activity-strip { grid-template-columns: none; grid-auto-columns: 100%; }
  .card, .info-panel, .empty-state, .contact-form { padding: 22px; }
  .research-strip .card h3, .research-strip .card p { min-height: 0; text-align: left; text-align-last: auto; }
  .activity-card { padding: 22px; }
  .activity-card h3 { min-height: 0; text-align: justify; text-align-last: left; }
  .activity-card p { min-height: 0; text-align: justify; text-align-last: left; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .timeline li, .news-item, .pub-item.has-media .pub-body, .pub-item.media-after .pub-body { grid-template-columns: 1fr; }
  .timeline.appointment-timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline.appointment-timeline li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .timeline.appointment-timeline time, .timeline.appointment-timeline div { grid-column: auto; padding-bottom: 0; min-width: 0; }
  .timeline.appointment-timeline span { overflow-wrap: anywhere; }
  .member-group { padding: 18px; }
  .member-row { grid-template-columns: minmax(76px, .75fr) minmax(0, 1.45fr) minmax(106px, .85fr); gap: 10px; padding: 10px 12px; }
  .profile { padding-top: 40px; }
  .profile-photo { width: min(100%, 320px); }
  .profile-info h1 { font-size: clamp(30px, 9vw, 38px); }
  .collaborator-embed { height: 14000px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .publication-filter-row { grid-template-columns: 1fr; }
  .publication-year > summary { padding-top: 22px; }
  .metric-card { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .metric-card:nth-child(odd) { border-right: 1px solid var(--line); }
  .chart-grid { grid-template-columns: 1fr; }
  .chart-card { padding: 18px; overflow: hidden; }
  .chart-canvas { height: 280px !important; }
  .data-bar { grid-template-columns: 1fr; gap: 6px; }
  .data-bar strong { text-align: left; }
  .pub-item.has-media .pub-body, .pub-item.media-after .pub-body { gap: 14px; }
  .pub-media { width: 100%; max-width: none; aspect-ratio: 16 / 9; }
  .pub-text h3 { font-size: 20px; line-height: 1.3; text-align: left; text-align-last: auto; overflow-wrap: anywhere; }
  .pub-citation { font-size: 15px; text-align: left; text-align-last: auto; overflow-wrap: anywhere; }
  .pub-note { white-space: normal; }
  .publications h2 { margin-top: 30px; font-size: clamp(34px, 12vw, 48px); }
  .stats-table { font-size: 14px; }
  .stats-table th, .stats-table td { padding: 8px 6px; }
  .footer { padding-top: 38px; }
}
@media (max-width: 480px) {
  .home-news-head { align-items: flex-start; flex-direction: column; }
  .news-card.has-media { grid-template-columns: 1fr; }
  .news-card-media { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .news-card-media img { min-height: 210px; max-height: 300px; }
  .container, .nav-inner { padding-left: 14px; padding-right: 14px; }
  .publication-hero .container, .publication-stats .container { padding-left: 14px; padding-right: 14px; }
  .hero { padding-top: 28px; padding-bottom: 30px; }
  .home-hero h1 { font-size: clamp(28px, 9vw, 34px); }
  .home-hero .lead { font-size: 17px; }
  .card, .info-panel, .empty-state, .contact-form, .chart-card, .activity-card, .member-group { padding: 18px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card:nth-child(odd) { border-right: 0; }
  .member-card-grid { grid-template-columns: 1fr; }
  .member-roadmap-frame { height: 4600px; }
  .member-report-schedule-frame { height: 980px; }
  .member-auth-copy, .member-security-note, .member-form, .member-approval-section, .member-card, .member-resource { padding: 18px; }
  .chart-canvas { height: 250px !important; }
  .pub-text h3 { font-size: 20px; overflow-wrap: anywhere; }
  .pub-citation { font-size: 14px; }
  .publication-view-actions .btn { flex: 1 1 130px; }
  .publication-year-title { font-size: 34px; }
  .publication-year > summary::before { width: 30px; height: 30px; }
}
@media (min-width: 881px) and (max-width: 1180px) {
  .research-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-strip { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
