:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f7;
  --ink: #17212b;
  --muted: #657284;
  --line: #d8e1ea;
  --blue: #1f5f99;
  --blue-strong: #154b7d;
  --teal: #0f766e;
  --teal-soft: #dff4f0;
  --orange: #c66a10;
  --orange-soft: #fff0df;
  --red: #b44335;
  --green: #22765b;
  --shadow: 0 18px 42px rgba(23, 33, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #fbfcfe 0, var(--bg) 380px),
    var(--bg);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

button,
input,
select {
  font: inherit;
}

a {
  color: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  padding: 12px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(216, 225, 234, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
}

.nav-link {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link.active,
.nav-link:hover {
  background: var(--surface-soft);
  color: var(--blue-strong);
}

.mode-pill {
  min-width: 64px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.hero-band,
.section-band,
.split-band,
.page-heading,
.filter-band,
.table-section,
.private-band,
.industry-metric-strip,
.industry-compare-band,
.method-note-band,
.private-gap-band,
.public-gap-notice,
.weekly-update-band {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(460px, 1.08fr);
  gap: 28px;
  align-items: end;
  padding: 48px 0 28px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

.page-heading h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.lead,
.page-heading p,
.hero-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.briefing-strip,
.opportunity-grid,
.route-grid,
.lab-grid,
.person-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.briefing-strip {
  align-items: stretch;
}

.metric,
.opportunity-card,
.route-card,
.route-detail,
.lab-card,
.person-card,
.method-card,
.private-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 112px;
  padding: 16px;
}

.metric span,
.metric small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin: 10px 0 8px;
  color: var(--blue-strong);
  font-size: 34px;
  line-height: 1;
}

.weekly-update-band {
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.weekly-update-counts,
.title-with-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.weekly-update-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.weekly-update-row {
  display: grid;
  grid-template-columns: 104px minmax(260px, 1.4fr) minmax(180px, 0.7fr) minmax(120px, 0.45fr) 64px;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
}

.weekly-update-row > span:not(.freshness-badge) {
  color: var(--muted);
  font-size: 13px;
}

.report-ledger-band { padding-top: 32px; }

.report-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.report-document {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.report-document[open] { grid-column: 1 / -1; }

.report-document summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--blue-strong);
  cursor: pointer;
  list-style: none;
}

.report-document summary::-webkit-details-marker { display: none; }
.report-document summary span { font-size: 14px; font-weight: 850; }
.report-document summary strong { color: var(--muted); font-family: "Times New Roman", serif; font-size: 12px; }

.report-document-body {
  columns: 2 360px;
  column-gap: 40px;
  padding: 20px;
  border-top: 1px solid var(--line);
}

.report-document-body h3 {
  margin: 0 0 10px;
  break-after: avoid;
  color: var(--ink);
  font-size: 17px;
}

.report-document-body ul {
  margin: 0 0 20px;
  padding-left: 18px;
  break-inside: avoid;
}

.report-document-body li,
.report-document-body p,
.report-document-body blockquote {
  color: #4c5b69;
  font-size: 12px;
  line-height: 1.65;
}

.report-document-body p,
.report-document-body blockquote { margin: 0 0 12px; }
.report-document-body blockquote { padding-left: 12px; border-left: 3px solid var(--orange); }

.freshness-badge,
.lifecycle-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.freshness-new {
  background: #dff5e8;
  color: #17663a;
}

.freshness-updated {
  background: #fff0c7;
  color: #7b5200;
}

.freshness-expired,
.lifecycle-expired {
  background: #fde4e1;
  color: #9d2b20;
}

.freshness-badge.is-muted {
  opacity: 0.72;
}

.lifecycle-active {
  background: #e7f1ff;
  color: var(--blue-strong);
}

.lifecycle-watchlist {
  background: var(--surface-soft);
  color: var(--muted);
}

.section-band,
.split-band,
.table-section {
  padding: 24px 0;
}

.page-heading {
  padding: 36px 0 18px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-head h2,
.route-detail h2,
.method-card h3,
.opportunity-card h3,
.lab-card h3,
.person-card h3,
.route-card h3 {
  margin: 0;
  letter-spacing: 0;
}

.section-head.inline {
  align-items: start;
}

.text-link,
.inline-button,
.tiny-button,
.row-title,
.segment {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}

.inline-button {
  min-height: 34px;
  margin-top: 10px;
  padding: 0;
}

.tiny-button {
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.row-title {
  min-width: 0;
  max-width: 440px;
  padding: 0;
  color: var(--ink);
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.opportunity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.opportunity-card,
.lab-card,
.person-card,
.route-card,
.method-card {
  padding: 16px;
}

.opportunity-card p,
.lab-card p,
.person-card p,
.route-card p,
.method-card p,
.route-detail p {
  color: var(--muted);
  line-height: 1.6;
}

.card-top,
.person-top,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.meta-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  min-width: 52px;
  min-height: 28px;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.grade-a {
  background: var(--red);
}

.grade-b {
  background: var(--teal);
}

.grade-c {
  background: var(--blue);
}

.grade-d {
  background: var(--muted);
}

.trust,
.trust-label,
.tag,
.person-top span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: #3d4a58;
  font-size: 12px;
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag.warm {
  background: var(--orange-soft);
  color: var(--orange);
}

.reason {
  min-height: 46px;
}

.route-grid.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.route-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-detail {
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.route-index {
  color: rgba(31, 95, 153, 0.16);
  font-size: 64px;
  font-weight: 950;
  line-height: 1;
}

.route-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.route-linked {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.linked-block > strong {
  display: block;
  margin-bottom: 8px;
}

.linked-list {
  display: grid;
  gap: 8px;
}

.linked-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  width: 100%;
  min-height: 54px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #e7edf3;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.linked-row b,
.linked-row small {
  display: block;
}

.linked-row small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.4;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.person-list,
.source-list {
  display: grid;
  gap: 10px;
}

.person-grid {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto 40px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lab-grid {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lab-grid.compact {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-filter-band {
  grid-template-columns: minmax(260px, 1fr) repeat(4, minmax(140px, 180px));
}

.source-row {
  display: grid;
  grid-template-columns: 70px minmax(160px, 1fr) 120px 120px 80px;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.status {
  font-weight: 900;
}

.status.ok {
  color: var(--green);
}

.status.error {
  color: var(--red);
}

.filter-band {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(6, minmax(120px, 160px));
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.filter-control {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.filter-control input,
.filter-control select {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  background: #fff;
  color: var(--ink);
}

.advanced-filters {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.advanced-filters summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 900;
}

.advanced-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid #e7edf3;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7f9fc;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.table-note,
.muted {
  color: var(--muted);
  font-size: 13px;
}

.private-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-color: rgba(198, 106, 16, 0.3);
  background: #fffaf3;
}

.segmented {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto 14px;
  display: flex;
  gap: 8px;
}

.segment {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
}

.segment.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.calendar-panel {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto 40px;
}

.timeline-list {
  display: grid;
  gap: 8px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr minmax(180px, 320px);
  gap: 12px;
  min-height: 48px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.method-grid {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  width: min(680px, 100%);
  transform: translateX(102%);
  transition: transform 180ms ease;
  border-left: 1px solid var(--line);
  background: #fff;
  box-shadow: -20px 0 60px rgba(23, 33, 43, 0.18);
  overflow: auto;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-close {
  position: sticky;
  top: 12px;
  left: calc(100% - 52px);
  z-index: 1;
  width: 40px;
  height: 40px;
  margin: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.drawer-body {
  padding: 0 24px 32px;
}

.detail-section {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.detail-section h3 {
  margin: 0 0 10px;
}

.info-list {
  display: grid;
  gap: 8px;
}

.info-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
}

.info-list dt {
  color: var(--muted);
  font-weight: 900;
}

.info-list dd {
  margin: 0;
}

.path-timeline {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e7edf3;
}

.path-timeline span {
  color: var(--muted);
  font-weight: 900;
}

.path-timeline p {
  margin: 0;
  line-height: 1.55;
}

.ai-notice {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.industry-heading {
  padding-bottom: 12px;
}

.industry-update-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.industry-update-line span,
.status-chip,
.risk-chip,
.company-category,
.replicability-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: #3d4a58;
  font-size: 12px;
  font-weight: 850;
}

.industry-metric-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 0 22px;
}

.industry-filter-band {
  grid-template-columns: minmax(260px, 1fr) repeat(5, minmax(130px, 170px));
}

.industry-home-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industry-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.5fr);
  gap: 12px;
}

.industry-opportunity-list,
.company-rank-list {
  display: grid;
  gap: 8px;
}

.industry-opportunity-row {
  display: grid;
  grid-template-columns: 64px minmax(280px, 1.4fr) minmax(150px, 0.55fr) minmax(170px, 0.55fr) 104px;
  gap: 12px;
  align-items: center;
  min-height: 104px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.industry-opportunity-main {
  min-width: 0;
}

.industry-opportunity-main .row-title {
  max-width: 100%;
  font-size: 15px;
}

.industry-opportunity-main small,
.industry-opportunity-main p,
.industry-row-meta span {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.industry-opportunity-main p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.industry-row-status,
.industry-row-actions {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.status-active {
  background: var(--teal-soft);
  color: var(--teal);
}

.status-historical {
  background: #f1f2f4;
  color: var(--muted);
}

.risk-chip,
.risk-banner {
  background: var(--orange-soft);
  color: #8d4c0b;
}

.risk-chip.block {
  margin-top: 10px;
}

.risk-banner {
  padding: 10px 12px;
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  font-weight: 800;
}

.tiny-button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.company-rank-row {
  display: grid;
  grid-template-columns: 54px 1fr 34px;
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.company-rank-row span strong,
.company-rank-row span small {
  display: block;
}

.company-rank-row span small {
  margin-top: 3px;
  color: var(--muted);
}

.industry-company-grid,
.industry-person-grid,
.anonymous-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.industry-company-card,
.industry-person-card,
.anonymous-path-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.industry-company-card h3,
.industry-person-card h3,
.anonymous-path-card h3 {
  margin: 12px 0 4px;
  font-size: 18px;
}

.industry-company-card p,
.industry-person-card p,
.anonymous-path-card p {
  color: var(--muted);
  line-height: 1.55;
}

.company-card-heading,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.company-name-en {
  margin: 0;
  font-size: 12px;
}

.company-score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 12px 0;
}

.company-score-grid div {
  padding: 8px;
  border-left: 2px solid #dbe5ef;
}

.company-score-grid span,
.company-score-grid strong {
  display: block;
}

.company-score-grid span {
  color: var(--muted);
  font-size: 11px;
}

.company-score-grid strong {
  margin-top: 3px;
  color: var(--blue-strong);
  font-size: 18px;
}

.replicability-badge {
  background: #e9f3ff;
  color: var(--blue-strong);
}

.industry-person-card .reason {
  min-height: 72px;
}

.salary-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.salary-table {
  min-width: 980px;
}

.skill-demand-list {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
}

.skill-demand-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) minmax(220px, 1fr) 40px minmax(260px, 1.2fr);
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.skill-demand-row strong,
.skill-demand-row small {
  display: block;
}

.skill-demand-row small,
.skill-demand-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.skill-bar,
.mini-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf3;
}

.skill-bar span,
.mini-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.anonymous-path-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.anonymous-path-card ol {
  display: grid;
  gap: 6px;
  padding-left: 20px;
  color: #394553;
  font-size: 13px;
}

.industry-compare-band {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(31, 95, 153, 0.28);
  border-radius: 8px;
  background: #f8fbff;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.compare-column {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-left: 3px solid var(--blue);
  background: #fff;
}

.compare-column span {
  color: var(--muted);
  font-size: 12px;
}

.expand-row {
  display: flex;
  justify-content: center;
  padding-top: 14px;
}

.detail-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-score-grid > div {
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 4px 8px;
  align-items: center;
}

.detail-score-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-score-grid .mini-bar {
  grid-column: 1 / -1;
}

.mini-bar.risk i {
  background: var(--orange);
}

.private-gap-band,
.public-gap-notice,
.method-note-band {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.private-gap-band {
  border-color: rgba(198, 106, 16, 0.35);
  background: #fffaf3;
}

.public-gap-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.public-gap-notice h2,
.method-note-band p {
  margin: 0;
}

.public-gap-notice p {
  max-width: 720px;
  color: var(--muted);
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.readiness-row {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 5px 8px;
  padding: 10px;
  border: 1px solid rgba(198, 106, 16, 0.2);
  border-radius: 6px;
  background: #fff;
}

.readiness-row .mini-bar,
.readiness-row small {
  grid-column: 1 / -1;
}

.readiness-row small {
  color: var(--muted);
}

.private-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.private-timeline div {
  padding: 10px;
  border-top: 3px solid var(--orange);
  background: #fff;
}

.private-timeline strong,
.private-timeline span {
  display: block;
}

.private-timeline span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.local-tracking {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.local-tracking label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.local-tracking label.wide {
  grid-column: 1 / -1;
}

.local-tracking input,
.local-tracking select,
.local-tracking textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.local-tracking small {
  align-self: center;
  color: var(--muted);
}

.empty {
  min-height: 86px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .hero-band,
  .split-band,
  .route-grid,
  .filter-band,
  .industry-home-grid {
    grid-template-columns: 1fr;
  }

  .report-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .briefing-strip,
  .opportunity-grid,
  .route-grid.compact,
  .lab-grid,
  .lab-grid.compact,
  .person-grid,
    .method-grid,
    .advanced-grid,
    .industry-metric-strip,
    .industry-company-grid,
    .industry-person-grid,
    .anonymous-path-grid,
    .compare-grid,
    .private-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-opportunity-row {
    grid-template-columns: 64px minmax(0, 1fr) minmax(150px, 0.45fr);
  }

  .industry-row-meta {
    grid-column: 2;
  }

  .industry-row-status,
  .industry-row-actions {
    grid-column: 3;
  }

  .skill-demand-row {
    grid-template-columns: minmax(160px, 0.6fr) 1fr 40px;
  }

  .skill-demand-row p {
    grid-column: 1 / -1;
  }

  .weekly-update-row {
    grid-template-columns: 104px minmax(0, 1fr) minmax(140px, 0.5fr);
  }

  .weekly-update-row > span:not(.freshness-badge) {
    display: none;
  }
}

@media (max-width: 680px) {
  .report-ledger { grid-template-columns: 1fr; }
  .report-document-body { columns: 1; }

  .briefing-strip,
  .opportunity-grid,
  .route-grid.compact,
  .lab-grid,
  .lab-grid.compact,
  .person-grid,
    .method-grid,
    .advanced-grid,
    .route-columns,
    .industry-metric-strip,
    .industry-company-grid,
    .industry-person-grid,
    .anonymous-path-grid,
    .compare-grid,
    .readiness-grid,
    .private-timeline,
    .detail-score-grid {
    grid-template-columns: 1fr;
  }

  .weekly-update-row {
    grid-template-columns: 92px minmax(0, 1fr) 44px;
  }

  .hero-copy h1,
  .page-heading h1 {
    font-size: 34px;
  }

  .source-row,
  .timeline-item,
  .info-list div,
  .path-timeline li {
    grid-template-columns: 1fr;
  }

  .route-linked {
    grid-template-columns: 1fr;
  }

  .private-band {
    display: block;
  }

  .industry-opportunity-row {
    grid-template-columns: 52px 1fr;
  }

  .industry-row-meta,
  .industry-row-status,
  .industry-row-actions {
    grid-column: 2;
  }

  .industry-row-actions {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
  }

  .skill-demand-row {
    grid-template-columns: 1fr 40px;
  }

  .skill-demand-row .skill-bar,
  .skill-demand-row p {
    grid-column: 1 / -1;
  }

  .public-gap-notice {
    display: block;
  }

  .local-tracking {
    grid-template-columns: 1fr;
  }

  .local-tracking label.wide {
    grid-column: 1;
  }
}

/* Academic people workspace */
body {
  overflow-x: hidden;
}

.people-heading,
.people-overview-strip,
.people-tabs,
.people-filter-shell,
.people-content,
.profile-document,
.profile-not-found {
  width: min(1440px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.people-heading {
  padding-bottom: 12px;
}

.people-update-line,
.profile-status-row,
.profile-source-nav,
.network-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.people-update-line {
  margin-top: 12px;
}

.people-update-line span,
.profile-fact-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #465467;
  font-size: 12px;
  font-weight: 800;
}

.people-overview-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.people-metric {
  min-width: 0;
  padding: 15px 16px;
  border-right: 1px solid var(--line);
}

.people-metric:last-child {
  border-right: 0;
}

.people-metric span,
.people-metric small,
.industry-entry-metrics dt {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.people-metric strong {
  display: block;
  margin: 7px 0 5px;
  color: var(--blue-strong);
  font-family: "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.people-tabs {
  display: flex;
  gap: 0;
  margin-top: 20px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.people-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 850 14px/1 Aptos, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  white-space: nowrap;
}

.people-tab:hover,
.people-tab.active {
  border-bottom-color: var(--blue);
  color: var(--blue-strong);
}

.people-filter-shell {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.06);
}

.people-natural-query {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.people-natural-query label {
  color: var(--blue-strong);
  font-size: 12px;
  font-weight: 850;
}

.people-natural-query input {
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #b9c7d5;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font: 13px/1.35 "Times New Roman", KaiTi, "STKaiti", serif;
}

.people-filter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(5, minmax(125px, 1fr));
  gap: 10px;
  padding: 14px;
}

.people-advanced-filter {
  border-top: 1px solid var(--line);
}

.people-advanced-filter > summary {
  padding: 11px 14px;
  color: var(--blue-strong);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.people-filter-grid.is-advanced {
  grid-template-columns: repeat(4, minmax(145px, 1fr));
  padding-top: 4px;
}

.people-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.people-result-meta,
.people-toolbar-actions,
.view-segmented,
.academic-card-top,
.academic-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.people-result-meta span {
  color: var(--muted);
  font-size: 12px;
}

.people-feedback {
  color: var(--orange) !important;
  font-weight: 800;
}

.view-segmented {
  gap: 0;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.view-option {
  min-width: 58px;
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.view-option.active {
  background: var(--blue);
  color: #fff;
}

.people-content {
  padding: 22px 0 48px;
}

.academic-overview-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 26px;
}

.overview-ledger-section {
  min-width: 0;
  padding-top: 16px;
  border-top: 3px solid var(--blue);
}

.signal-ledger-section {
  border-top-color: var(--teal);
}

.academic-aggregate-section {
  grid-column: 1 / -1;
  border-top-color: var(--orange);
}

.academic-aggregate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.academic-aggregate-block {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--line);
}

.academic-aggregate-block:last-child { border-right: 0; }

.academic-aggregate-block > strong {
  color: var(--blue-strong);
  font-size: 13px;
}

.academic-aggregate-block ol,
.academic-aggregate-block dl {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.academic-aggregate-block li,
.academic-aggregate-block dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  color: #425160;
  font-size: 12px;
}

.academic-aggregate-block li span,
.academic-aggregate-block dt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.academic-aggregate-block dd {
  margin: 0;
  color: var(--blue-strong);
  font-family: "Times New Roman", serif;
  font-weight: 700;
}

.academic-aggregate-block small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
}

.ledger-heading,
.comparison-heading,
.network-heading,
.profile-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.ledger-heading h2,
.comparison-heading h2,
.network-heading h2,
.profile-section-heading h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.ledger-heading > span,
.network-heading > span,
.profile-section-heading > span {
  color: var(--muted);
  font-size: 12px;
}

.research-frequency-list {
  display: grid;
  gap: 7px;
}

.research-frequency-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(120px, 1fr) 28px;
  gap: 10px;
  align-items: center;
  min-height: 28px;
}

.research-frequency-row > span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.research-frequency-row i,
.venue-breakdown-row > i {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf3;
}

.research-frequency-row i b,
.venue-breakdown-row > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.research-frequency-row > strong {
  color: var(--blue-strong);
  font-family: "Times New Roman", serif;
  font-size: 15px;
  text-align: right;
}

.signal-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.people-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.people-table {
  min-width: 1120px;
  table-layout: fixed;
}

.people-table th,
.people-table td {
  padding: 10px;
}

.people-table th:nth-child(1) { width: 22%; }
.people-table th:nth-child(2) { width: 9%; }
.people-table th:nth-child(3) { width: 8%; }
.people-table th:nth-child(4) { width: 15%; }
.people-table th:nth-child(5) { width: 9%; }
.people-table th:nth-child(6) { width: 17%; }
.people-table th:nth-child(7) { width: 8%; }
.people-table th:nth-child(8) { width: 7%; }
.people-table th:nth-child(9) { width: 5%; }

.people-table td {
  color: #344150;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.people-table td > small,
.people-table .metric-pair {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.people-table .metric-pair b {
  color: var(--blue-strong);
  font-family: "Times New Roman", serif;
  font-size: 14px;
}

.academic-name-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.academic-name-link:hover,
.academic-profile-card h3 a:hover,
.academic-compare-column h3 a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.profile-type-badge,
.quality-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.profile-type-badge {
  border: 1px solid #bfd1e2;
  background: #edf4fb;
  color: var(--blue-strong);
}

.type-young_scholar {
  border-color: #abd7cf;
  background: #e7f6f3;
  color: #0a675f;
}

.type-academic_reference {
  border-color: #cbd2da;
  background: #f1f3f5;
  color: #505b68;
}

.quality-ready {
  background: #e3f3ea;
  color: #17663a;
}

.quality-incomplete {
  border: 1px solid #dfbd86;
  background: #fff8e8;
  color: #85540b;
}

.academic-tag-list,
.profile-research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.academic-tag-list > span,
.profile-research-tags > span {
  display: inline-flex;
  max-width: 100%;
  min-height: 22px;
  align-items: center;
  padding: 2px 7px;
  border: 1px solid #d8e1ea;
  border-radius: 999px;
  background: #f7f9fb;
  color: #455466;
  font-size: 10px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.academic-tag-list > .is-empty,
.profile-research-tags > .is-empty {
  border-style: dashed;
  color: var(--muted);
}

.table-signal-list,
.academic-card-signals,
.compare-signals {
  display: grid;
  gap: 5px;
}

.recruitment-signal {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: Aptos, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.recruitment-signal .signal-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.recruitment-signal strong,
.recruitment-signal p,
.recruitment-signal small {
  display: block;
}

.recruitment-signal p {
  margin: 4px 0;
  color: #3e4b5b;
  font-size: 13px;
  line-height: 1.5;
}

.recruitment-signal small,
.recruitment-signal > span:last-child {
  color: var(--muted);
  font-size: 11px;
}

.recruitment-signal > a {
  align-self: center;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.recruitment-signal.is-compact {
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 6px;
  min-height: 32px;
  padding: 5px 7px;
  border-left-width: 3px;
}

.recruitment-signal.is-compact .signal-mark {
  width: 20px;
  height: 20px;
  font-size: 9px;
}

.recruitment-signal.is-compact strong {
  align-self: center;
  font-size: 10px;
  line-height: 1.25;
}

.signal-official {
  border-color: #8eb8dc;
  border-left-color: #155b91;
  background: #edf6ff;
}

.signal-official .signal-mark { background: #155b91; }

.signal-funded {
  border-style: dashed;
  border-color: #d6a145;
  border-left-style: solid;
  border-left-color: #b46d00;
  background: #fff8e8;
}

.signal-funded .signal-mark { background: #b46d00; }

.signal-accepts {
  border-color: #75c1b6;
  border-left-color: #0b756a;
  background: #eefaf7;
}

.signal-accepts .signal-mark {
  border-radius: 50%;
  background: #0b756a;
}

.signal-fellowship {
  border-color: #caa9bb;
  border-left-color: #7b4969;
  background: #fbf4f8;
}

.signal-fellowship .signal-mark { background: #7b4969; }

.signal-department {
  border-color: #aebdcc;
  border-left-color: #50677f;
  background: #f3f6f8;
}

.signal-department .signal-mark { background: #50677f; }

.signal-none {
  border-color: #cfd6de;
  border-left-color: #7b8795;
  background: #f7f8f9;
  color: #596574;
}

.signal-none .signal-mark { background: #7b8795; }

.signal-closed {
  border-color: #dfaaa4;
  border-left-color: #a83b31;
  background: #fff2f0;
}

.signal-closed .signal-mark { background: #a83b31; }

.signal-unknown {
  border-left-color: var(--muted);
}

.academic-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.academic-profile-card {
  display: flex;
  min-width: 0;
  min-height: 330px;
  flex-direction: column;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.academic-profile-card h3 {
  margin: 14px 0 3px;
  font-size: 18px;
  letter-spacing: 0;
}

.academic-card-identity,
.profile-primary-identity {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 12px;
}

.academic-card-identity > div,
.profile-primary-identity > div { min-width: 0; }

.academic-avatar {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-strong);
  color: #fff;
  font-family: "Times New Roman", KaiTi, "STKaiti", serif;
  font-size: 14px;
  font-weight: 700;
}

.academic-avatar.is-large {
  width: 72px;
  height: 72px;
  flex-basis: 72px;
  font-size: 22px;
}

.academic-profile-card h3 a,
.academic-compare-column h3 a {
  color: var(--ink);
  text-decoration: none;
}

.academic-role,
.academic-affiliation {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.academic-role {
  color: #334152;
  font-size: 13px;
  font-weight: 800;
}

.academic-affiliation {
  min-height: 40px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.academic-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px 0 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.academic-card-metrics span {
  padding: 9px 5px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.academic-card-metrics span:last-child { border-right: 0; }

.academic-card-metrics b {
  display: block;
  margin-bottom: 3px;
  color: var(--blue-strong);
  font-family: "Times New Roman", serif;
  font-size: 18px;
}

.academic-card-signals {
  margin-bottom: 10px;
}

.academic-card-footer {
  justify-content: space-between;
  margin-top: auto;
}

.compare-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-strong);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.compare-check input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--blue);
}

.compare-check.is-disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.6;
}

.people-mobile-list {
  display: none;
}

.professional-empty {
  display: grid;
  min-height: 150px;
  align-content: center;
  justify-items: center;
  padding: 28px;
  border: 1px dashed #b9c7d5;
  border-radius: 8px;
  background: #fafbfd;
  text-align: center;
}

.professional-empty > span {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.professional-empty > strong {
  font-size: 17px;
}

.professional-empty > p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.academic-comparison,
.academic-network-section {
  min-width: 0;
}

.comparison-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.comparison-actions,
.network-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.comparison-actions select,
.network-actions select,
.profile-actions select {
  min-height: 31px;
  padding: 4px 26px 4px 8px;
  border: 1px solid #b9c7d5;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}

.network-actions > span {
  color: var(--muted);
  font-size: 12px;
}

.academic-compare-grid {
  display: grid;
  grid-template-columns: repeat(var(--people-compare-count), minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.academic-compare-column {
  position: relative;
  min-width: 0;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: #fff;
  overflow-wrap: anywhere;
}

.academic-compare-column:last-child { border-right: 0; }

.academic-compare-column h3 {
  margin: 22px 0 4px;
  font-size: 17px;
}

.academic-compare-column > p {
  min-height: 52px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.compare-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.academic-compare-column dl {
  display: grid;
  margin: 14px 0;
  border-top: 1px solid var(--line);
}

.academic-compare-column dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #e8edf2;
}

.academic-compare-column dt {
  color: var(--muted);
  font-size: 10px;
}

.academic-compare-column dd {
  margin: 0;
  color: var(--ink);
  font-family: "Times New Roman", KaiTi, "STKaiti", serif;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.compare-research,
.compare-venues,
.compare-signals {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.compare-research > strong,
.compare-venues > strong,
.compare-signals > strong {
  font-size: 11px;
}

.compare-venues > span {
  color: var(--muted);
  font-size: 10px;
}

.industry-people-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.7fr);
  gap: 40px;
  align-items: center;
  min-height: 340px;
  padding: 36px 0;
  border-top: 3px solid var(--blue);
  border-bottom: 1px solid var(--line);
}

.industry-entry-copy h2 {
  max-width: 680px;
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.industry-entry-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.primary-link-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-family: Aptos, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.primary-link-button:hover { background: var(--blue-strong); }

.industry-entry-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industry-entry-metrics div {
  min-width: 0;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
}

.industry-entry-metrics div:last-child { border-right: 0; }

.industry-entry-metrics dd {
  margin: 10px 0 0;
  color: var(--blue-strong);
  font-family: "Times New Roman", KaiTi, "STKaiti", serif;
  font-size: 24px;
  overflow-wrap: anywhere;
}

.academic-network-wrap {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.academic-network {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
}

.network-column-label {
  fill: #6a7787;
  font: 800 13px Aptos, "Segoe UI", sans-serif;
  text-anchor: middle;
}

.network-edge {
  fill: none;
  opacity: 0.38;
  stroke-width: 1.4;
}

.institution-edge { stroke: #2f6fa7; }
.research-edge { stroke: #0f766e; stroke-dasharray: 5 5; }

.network-person-node circle {
  fill: #fff;
  stroke: #1f5f99;
  stroke-width: 2;
}

.network-person-node:hover circle {
  fill: #eaf3fb;
  stroke-width: 4;
}

.network-person-node text,
.network-institution-node text,
.network-tag-node text {
  fill: #17212b;
  font: 800 12px Aptos, "Segoe UI", "Noto Sans SC", sans-serif;
  pointer-events: none;
  text-anchor: middle;
}

.network-person-node .network-node-sub {
  fill: #667486;
  font-size: 9px;
}

.network-institution-node rect {
  fill: #eef3f7;
  stroke: #aebdcb;
}

.network-tag-node rect {
  fill: #e7f6f3;
  stroke: #74bdb4;
}

.network-legend {
  justify-content: flex-end;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
}

.network-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.network-legend i {
  width: 24px;
  border-top: 2px solid #2f6fa7;
}

.network-legend .legend-research {
  border-top-color: #0f766e;
  border-top-style: dashed;
}

.verified-relationship-ledger {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 3px solid var(--teal);
}

.verified-relationship-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.verified-relationship-list > div {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(110px, 0.45fr) minmax(140px, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.verified-relationship-list b {
  color: var(--teal);
  font-size: 11px;
}

.verified-relationship-list > div > a:last-child,
.verified-relationship-list > div > span:last-child {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

/* Independent academic profile */
.profile-not-found {
  min-height: calc(100vh - 100px);
  padding: 80px 0;
}

.profile-not-found h1 {
  margin: 0;
  font-size: 38px;
}

.profile-not-found p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.profile-document {
  padding: 30px 0 56px;
  font-family: "Times New Roman", KaiTi, "STKaiti", serif;
}

.profile-document .eyebrow,
.profile-actions,
.profile-breadcrumb,
.profile-status-row,
.profile-source-nav,
.quality-badge,
.profile-type-badge,
.profile-fact-chip,
.professional-empty > span,
.profile-section-heading > span,
.profile-footer,
.recruitment-signal {
  font-family: Aptos, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.profile-masthead {
  padding: 0 0 30px;
  border-bottom: 4px solid var(--blue-strong);
}

.profile-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
}

.profile-breadcrumb a {
  font-weight: 850;
  text-decoration: none;
}

.profile-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.profile-primary-identity { gap: 20px; }

.profile-title-row h1 {
  max-width: 980px;
  margin: 0;
  color: #14202b;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.profile-role {
  margin: 16px 0 0;
  color: #273646;
  font-size: 20px;
  font-weight: 700;
}

.profile-affiliation {
  max-width: 1000px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.profile-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.profile-status-row {
  margin-top: 20px;
}

.profile-research-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 36px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.profile-research-summary h2 {
  margin: 0;
  font-size: 20px;
}

.profile-research-summary p {
  margin: 8px 0 0;
  color: #394756;
  font-size: 16px;
  line-height: 1.85;
}

.profile-research-tags {
  align-content: start;
  justify-content: flex-end;
}

.profile-research-tags > span {
  font-family: "Times New Roman", KaiTi, "STKaiti", serif;
  font-size: 12px;
}

.profile-method-application-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 20px;
}

.profile-method-application-grid > div {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid #dce4eb;
}

.profile-method-application-grid strong {
  display: block;
  margin-bottom: 9px;
  color: var(--blue-strong);
  font-size: 12px;
}

.profile-method-application-grid small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: Aptos, "Segoe UI", "Noto Sans SC", sans-serif;
  font-size: 10px;
}

.profile-source-nav {
  margin-top: 22px;
}

.profile-source-nav a {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #b9cad9;
  border-radius: 5px;
  background: #f8fbfe;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.profile-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.profile-section-heading {
  align-items: flex-start;
}

.profile-section-heading h2 {
  color: #17212b;
  font-family: "Times New Roman", KaiTi, "STKaiti", serif;
  font-size: 28px;
}

.publication-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.publication-metric-grid div {
  min-width: 0;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
}

.publication-metric-grid div:last-child { border-right: 0; }

.publication-metric-grid dt {
  color: var(--muted);
  font-family: Aptos, "Segoe UI", "Noto Sans SC", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.publication-metric-grid dd {
  margin: 10px 0 0;
  color: var(--blue-strong);
  font-size: 32px;
  font-weight: 700;
}

.publication-cross-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 14px 0 0;
  color: var(--ink);
  font-family: Aptos, "Segoe UI", "Noto Sans SC", sans-serif;
  font-size: 13px;
}

.publication-cross-checks b { color: var(--blue-strong); }

.top-venue-lower-bound {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.top-venue-lower-bound > strong { color: var(--blue-strong); font-size: 13px; }
.top-venue-lower-bound > div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.top-venue-lower-bound span { color: #40505f; font-size: 12px; }
.top-venue-lower-bound span b { margin-right: 6px; color: var(--blue-strong); font-family: "Times New Roman", serif; font-size: 18px; }
.top-venue-lower-bound p,
.top-venue-lower-bound small { margin: 0; color: var(--muted); font-size: 11px; }

.metric-caveat {
  max-width: 960px;
  margin: 10px 0 0;
  color: var(--muted);
  font-family: Aptos, "Segoe UI", "Noto Sans SC", sans-serif;
  font-size: 12px;
  line-height: 1.65;
}

.research-evolution-list,
.academic-timeline,
.academic-work-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-career-analysis {
  max-width: 1080px;
  padding-left: 18px;
  border-left: 4px solid var(--teal);
}

.public-career-analysis > p {
  margin: 0;
  color: #344656;
  font-size: 15px;
  line-height: 1.8;
}

.public-career-analysis ul { margin: 12px 0 0; padding-left: 18px; }
.public-career-analysis li,
.public-career-analysis small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.public-career-analysis small { display: block; margin-top: 10px; }

.research-evolution-list li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  padding: 15px 0;
  border-top: 1px solid #e6ebf0;
}

.research-evolution-list > li > span,
.academic-timeline > li > span {
  color: var(--blue-strong);
  font-family: "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
}

.research-evolution-list h3 {
  margin: 0;
  font-size: 17px;
}

.research-evolution-list p,
.academic-timeline p,
.grant-award-list p {
  margin: 5px 0 0;
  color: #4f5d6c;
  line-height: 1.7;
}

.venue-breakdown-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.venue-breakdown-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(200px, 1.2fr) 40px;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #e6ebf0;
}

.venue-breakdown-row > div strong,
.venue-breakdown-row > div span {
  display: block;
}

.venue-breakdown-row > div span {
  margin-top: 3px;
  color: var(--muted);
  font-family: Aptos, "Segoe UI", "Noto Sans SC", sans-serif;
  font-size: 10px;
}

.venue-breakdown-row > span {
  color: var(--blue-strong);
  font-family: "Times New Roman", serif;
  font-size: 18px;
  text-align: right;
}

.academic-work-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 60px;
  gap: 14px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid #e6ebf0;
}

.work-index,
.work-year {
  color: var(--muted);
  font-family: "Times New Roman", serif;
  font-size: 13px;
}

.work-year { text-align: right; }

.academic-work-list h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.academic-work-list h3 a {
  color: var(--ink);
  text-decoration-color: #9fb6ca;
  text-underline-offset: 3px;
}

.academic-work-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.academic-work-list .work-selection-reason {
  color: #415b72;
}

.academic-work-list .work-selection-reason strong {
  margin-right: 7px;
  color: var(--blue-strong);
}

.profile-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}

.profile-column-section {
  min-width: 0;
}

.academic-timeline li {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid #e6ebf0;
}

.academic-timeline strong {
  font-size: 15px;
}

.academic-timeline p {
  font-size: 13px;
}

.grant-award-list {
  display: grid;
}

.grant-award-list > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 13px 0;
  border-top: 1px solid #e6ebf0;
}

.grant-award-list > div > span {
  grid-row: 1 / 3;
  color: var(--blue-strong);
  font-family: "Times New Roman", serif;
  font-size: 13px;
}

.grant-award-list p {
  font-size: 13px;
}

.academic-group-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.group-identity h3 {
  margin: 0;
  font-size: 22px;
}

.group-identity p {
  color: #4f5d6c;
  line-height: 1.7;
}

.group-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.group-roster ul {
  display: grid;
  gap: 5px;
  margin: 9px 0 0;
  padding-left: 18px;
}

.group-roster p {
  color: var(--muted);
}

.profile-signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.academic-evidence-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.academic-evidence-list a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #e6ebf0;
  color: var(--ink);
  text-decoration: none;
}

.academic-evidence-list a > span,
.academic-evidence-list a > b {
  color: var(--muted);
  font-family: "Times New Roman", serif;
  font-size: 12px;
}

.academic-evidence-list a > b { text-align: right; }

.academic-evidence-list strong,
.academic-evidence-list small {
  display: block;
}

.academic-evidence-list small {
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-update-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-update-ledger div {
  padding: 13px;
  border-right: 1px solid var(--line);
}

.profile-update-ledger div:last-child { border-right: 0; }

.profile-update-ledger dt {
  color: var(--muted);
  font-family: Aptos, "Segoe UI", "Noto Sans SC", sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.profile-update-ledger dd {
  margin: 7px 0 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.profile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.profile-footer p { margin: 0; }
.profile-footer a { font-weight: 850; }

@media (max-width: 1100px) {
  .people-overview-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .people-metric:nth-child(3n) { border-right: 0; }
  .people-metric:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }

  .people-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .people-filter-grid.is-advanced { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .people-search-control { grid-column: span 2; }

  .academic-overview-ledger,
  .industry-people-entry,
  .profile-research-summary,
  .academic-group-layout {
    grid-template-columns: 1fr;
  }

  .academic-aggregate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .academic-aggregate-block:nth-child(2n) { border-right: 0; }
  .academic-aggregate-block:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .academic-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .academic-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academic-compare-column:nth-child(2n) { border-right: 0; }
  .academic-compare-column:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .profile-research-tags { justify-content: flex-start; }

  .publication-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .publication-metric-grid div:nth-child(3n) { border-right: 0; }
  .publication-metric-grid div:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }

  .profile-update-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-update-ledger div:nth-child(2n) { border-right: 0; }
  .profile-update-ledger div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .people-heading,
  .people-overview-strip,
  .people-tabs,
  .people-filter-shell,
  .people-content,
  .profile-document,
  .profile-not-found {
    width: min(100% - 20px, 1440px);
  }

  .people-heading { padding-top: 24px; }

  .people-overview-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-metric,
  .people-metric:nth-child(3n) { border-right: 1px solid var(--line); }
  .people-metric:nth-child(2n) { border-right: 0; }
  .people-metric:nth-child(-n + 4) { border-bottom: 1px solid var(--line); }

  .people-filter-grid,
  .people-filter-grid.is-advanced { grid-template-columns: 1fr; }
  .people-search-control { grid-column: auto; }

  .people-natural-query {
    grid-template-columns: 1fr auto auto;
  }

  .people-natural-query label { grid-column: 1 / -1; }

  .people-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .people-toolbar-actions { justify-content: space-between; }

  .academic-overview-ledger { gap: 22px; }
  .signal-ledger { grid-template-columns: 1fr; }

  .academic-aggregate-grid { grid-template-columns: 1fr; }
  .academic-aggregate-block,
  .academic-aggregate-block:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .academic-aggregate-block:last-child { border-bottom: 0; }

  .people-table-wrap { display: none; }
  .people-mobile-list { display: grid; }
  .academic-card-grid { grid-template-columns: 1fr; }

  .academic-profile-card {
    min-height: 0;
    padding: 13px;
  }

  .academic-affiliation { min-height: 0; }

  .academic-compare-grid { grid-template-columns: 1fr; }
  .academic-compare-column,
  .academic-compare-column:nth-child(2n) {
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .academic-compare-column:first-child { border-top: 0; }

  .industry-people-entry {
    gap: 24px;
    min-height: 0;
    padding: 28px 0;
  }

  .industry-entry-copy h2 { font-size: 24px; }

  .industry-entry-metrics { grid-template-columns: 1fr; }
  .industry-entry-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .industry-entry-metrics div:last-child { border-bottom: 0; }

  .academic-network { min-height: 360px; }
  .network-heading,
  .comparison-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .comparison-actions,
  .network-actions { justify-content: flex-start; }

  .verified-relationship-list > div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 12px;
    padding: 10px 0;
  }

  .verified-relationship-list > div > *:nth-child(3),
  .verified-relationship-list > div > *:nth-child(4) { grid-column: 1 / -1; text-align: left; }

  .profile-document { padding-top: 18px; }
  .profile-breadcrumb { margin-bottom: 20px; }

  .profile-title-row {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .profile-title-row h1 { font-size: 36px; }
  .profile-role { font-size: 17px; }
  .academic-avatar.is-large { width: 56px; height: 56px; flex-basis: 56px; font-size: 18px; }

  .profile-actions .tiny-button {
    min-height: 36px;
    flex: 1;
  }

  .profile-actions {
    flex-wrap: wrap;
  }

  .profile-actions select {
    min-height: 36px;
    flex: 1 1 100%;
  }

  .profile-research-summary { gap: 20px; }
  .profile-method-application-grid { grid-template-columns: 1fr; gap: 16px; }
  .profile-section { padding: 28px 0; }

  .profile-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .profile-section-heading h2 { font-size: 24px; }

  .publication-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .publication-metric-grid div,
  .publication-metric-grid div:nth-child(3n) { border-right: 1px solid var(--line); }
  .publication-metric-grid div:nth-child(2n) { border-right: 0; }
  .publication-metric-grid div:nth-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .publication-metric-grid dd { font-size: 26px; }

  .research-evolution-list li,
  .academic-timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .venue-breakdown-row {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 8px 12px;
    padding: 10px 0;
  }

  .venue-breakdown-row > i { grid-column: 1 / -1; grid-row: 2; }
  .venue-breakdown-row > span { grid-column: 2; grid-row: 1; }

  .academic-work-list li {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .work-year { grid-column: 2; text-align: left; }

  .profile-two-column { grid-template-columns: 1fr; gap: 28px; }
  .group-roster { grid-template-columns: 1fr; }
  .profile-signal-list { grid-template-columns: 1fr; }

  .recruitment-signal {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .recruitment-signal > a,
  .recruitment-signal > span:last-child {
    grid-column: 2;
  }

  .profile-update-ledger { grid-template-columns: 1fr; }
  .profile-update-ledger div,
  .profile-update-ledger div:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .profile-update-ledger div:last-child { border-bottom: 0; }

  .profile-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Funding and personal command desk — academic dossier aesthetic */
:root {
  --funding-paper: #f1ede3;
  --funding-paper-deep: #e5dece;
  --funding-ink: #17201f;
  --funding-cobalt: #124f92;
  --funding-vermilion: #b63c2f;
  --funding-brass: #9a6b1f;
  --funding-rule: #cfc5b2;
}

.home-command-band,
.home-intelligence-grid,
.home-readiness-band,
.funding-command-hero,
.funding-privacy-rail,
.funding-tabs,
.funding-tab-panel,
.funding-message {
  width: min(1440px, calc(100% - 32px));
  margin-inline: auto;
}

.home-command-band {
  padding: 26px 0 34px;
  border-top: 3px solid var(--funding-ink);
}

.home-funding-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--funding-rule);
  background: var(--funding-paper);
}

.home-funding-action {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-height: 270px;
  padding: 20px;
  border-right: 1px solid var(--funding-rule);
  background:
    linear-gradient(135deg, rgba(255,255,255,.5), transparent 45%),
    var(--funding-paper);
}

.home-funding-action:last-child { border-right: 0; }

.home-action-index {
  color: var(--funding-vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.home-funding-action button,
.home-deadline-ledger button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--funding-ink);
  cursor: pointer;
  font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.22;
  text-align: left;
}

.home-funding-action button:hover,
.home-deadline-ledger button:hover { color: var(--funding-cobalt); text-decoration: underline; text-underline-offset: 4px; }

.home-funding-action small,
.home-funding-action p { color: #5f6865; font-size: 12px; line-height: 1.55; }
.home-funding-action small { display: block; margin-top: 8px; }
.home-funding-action p { margin: 0; }
.home-funding-action > .funding-tier { position: absolute; right: 16px; top: 16px; }

.home-intelligence-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 18px;
  padding: 10px 0 30px;
}

.home-ledger-panel {
  min-width: 0;
  border: 1px solid var(--funding-rule);
  background: #fffefa;
  box-shadow: 7px 7px 0 var(--funding-paper-deep);
}

.home-ledger-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 16px;
  border-bottom: 2px solid var(--funding-ink);
}

.home-ledger-head h2 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; font-size: 25px; }

.home-mentor-ledger article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 40px auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--funding-rule);
}
.home-mentor-ledger article:last-child { border-bottom: 0; }
.home-mentor-ledger article > span { color: var(--funding-vermilion); font: 700 12px/1 Georgia, serif; }
.home-mentor-ledger strong,
.home-mentor-ledger small { display: block; }
.home-mentor-ledger small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.home-mentor-ledger b { color: var(--funding-cobalt); font-family: Georgia, serif; }
.home-mentor-ledger button {
  padding: 6px 9px;
  border: 1px solid var(--funding-ink);
  background: transparent;
  color: var(--funding-ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.home-mentor-ledger button:hover { background: var(--funding-ink); color: #fff; }

.home-deadline-ledger article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--funding-rule);
}
.home-deadline-ledger time { grid-row: 1 / span 2; display: grid; align-content: center; border-right: 1px solid var(--funding-rule); }
.home-deadline-ledger time strong,
.home-deadline-ledger time span { display: block; }
.home-deadline-ledger time strong { color: var(--funding-vermilion); font: 800 17px/1 Georgia, serif; }
.home-deadline-ledger time span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.home-deadline-ledger button { font-size: 15px; }
.home-deadline-ledger small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.home-ledger-note { margin: 0; padding: 12px 20px; background: var(--funding-paper); color: #5d625e; font-size: 11px; }

.home-readiness-band {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 170px;
  gap: 28px;
  align-items: start;
  margin-bottom: 36px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--funding-ink);
  color: #f6f0e4;
}
.home-readiness-band h2 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; font-size: 31px; line-height: 1.12; }
.home-readiness-band .eyebrow { color: #7fb4e4; }
.home-readiness-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.home-readiness-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; min-height: 116px; padding: 14px; border: 1px solid rgba(255,255,255,.17); }
.home-readiness-list li > span { color: #e37b6d; font: 700 12px/1 Georgia, serif; }
.home-readiness-list strong { font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; font-size: 17px; }
.home-readiness-list p { margin: 7px 0 0; color: #bfc8c4; font-size: 12px; line-height: 1.55; }
.home-research-stamp { display: grid; grid-template-columns: auto 1fr; gap: 7px 9px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.28); }
.home-research-stamp strong { color: #fff; font: 800 29px/1 Georgia, serif; }
.home-research-stamp span { align-self: end; color: #bfc8c4; font-size: 11px; }
.home-research-stamp small { grid-column: 1 / -1; margin-top: 12px; color: #7fb4e4; }

.funding-command-hero {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(520px, 1.2fr);
  gap: 34px;
  align-items: end;
  padding: 48px 34px 30px;
  border-bottom: 4px solid var(--funding-ink);
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(23,32,31,.035) 23px 24px),
    var(--funding-paper);
}
.funding-command-copy h1 { margin: 0; color: var(--funding-ink); font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; font-size: 50px; line-height: 1; }
.funding-command-copy > p:last-child { max-width: 680px; margin: 16px 0 0; color: #52605c; font-size: 15px; line-height: 1.75; }
.funding-command-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--funding-rule); background: rgba(255,255,255,.56); }
.funding-command-metrics .metric { min-height: 128px; border: 0; border-right: 1px solid var(--funding-rule); border-radius: 0; background: transparent; box-shadow: none; }
.funding-command-metrics .metric:last-child { border-right: 0; }
.funding-command-metrics .metric strong { color: var(--funding-cobalt); font-family: Georgia, serif; }

.funding-privacy-rail {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 11px 18px;
  background: var(--funding-ink);
  color: #dfe7e2;
}
.funding-privacy-rail > span { color: #f2ab9e; font: 800 10px/1 Georgia, serif; letter-spacing: .16em; }
.funding-privacy-rail p { margin: 0; font-size: 12px; }
.funding-privacy-rail .ghost-button { border-color: #82908b; color: #fff; }

.funding-tabs { display: flex; gap: 0; margin-top: 24px; border-bottom: 1px solid var(--funding-ink); }
.funding-tab {
  min-width: 140px;
  padding: 12px 18px;
  border: 1px solid var(--funding-rule);
  border-bottom: 0;
  background: #fff;
  color: #5d6662;
  cursor: pointer;
  font-weight: 800;
}
.funding-tab + .funding-tab { border-left: 0; }
.funding-tab.active { background: var(--funding-cobalt); color: #fff; border-color: var(--funding-cobalt); }
.funding-tab:focus-visible,
.funding-title-button:focus-visible,
.home-funding-action button:focus-visible,
.home-mentor-ledger button:focus-visible { outline: 3px solid #e2a025; outline-offset: 2px; }

.funding-message { margin-top: 12px; padding: 12px 16px; border-left: 4px solid var(--funding-cobalt); background: #e8f1f8; color: var(--funding-ink); font-weight: 700; }
.funding-tab-panel { padding: 22px 0 48px; }

.funding-workbench,
.mentor-contact-desk,
.coverage-ledger,
.local-workspace-grid { min-width: 0; }

.funding-filter-rail {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(5, minmax(130px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--funding-rule);
  background: var(--funding-paper);
}
.funding-filter-rail label,
.local-profile-form label,
.drawer-local-form label { display: grid; gap: 6px; }
.funding-filter-rail label > span,
.local-profile-form label > span,
.drawer-local-form label > span { color: #5a625f; font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.funding-filter-rail input,
.funding-filter-rail select,
.local-profile-form input,
.local-profile-form select,
.local-profile-form textarea,
.lead-capture-form input,
.lead-capture-form select,
.drawer-local-form input,
.drawer-local-form select,
.drawer-local-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #bdb39f;
  border-radius: 0;
  background: #fffefa;
  color: var(--funding-ink);
}

.funding-result-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding: 24px 0 14px;
}
.funding-result-head h2 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; font-size: 30px; }
.funding-result-head .section-note { max-width: 620px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: right; }

.funding-table-wrap { overflow-x: auto; border: 1px solid var(--funding-rule); background: #fff; }
.funding-table { width: 100%; min-width: 1120px; border-collapse: collapse; table-layout: fixed; }
.funding-table th { padding: 10px 13px; border-bottom: 2px solid var(--funding-ink); background: var(--funding-paper); color: #5d625f; font-size: 10px; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.funding-table th:nth-child(1) { width: 84px; }
.funding-table th:nth-child(2) { width: 25%; }
.funding-table th:nth-child(3) { width: 15%; }
.funding-table th:nth-child(4) { width: 29%; }
.funding-table td { padding: 14px 13px; border-right: 1px solid #e5ded1; border-bottom: 1px solid var(--funding-rule); vertical-align: top; }
.funding-table td:last-child { border-right: 0; }
.funding-table tbody tr:hover { background: #fbf7ed; }
.funding-table td > span,
.funding-table td > small { display: block; }
.funding-table td > span { margin-top: 7px; color: #56605c; font-size: 11px; }
.funding-table td > small { margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.funding-table td p { margin: 0 0 7px; font-size: 12px; line-height: 1.55; }
.funding-title-button { padding: 0; border: 0; background: transparent; color: var(--funding-ink); cursor: pointer; font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; font-size: 17px; font-weight: 800; line-height: 1.25; text-align: left; }
.funding-title-button:hover { color: var(--funding-cobalt); text-decoration: underline; text-underline-offset: 4px; }
.funding-tier { display: inline-grid; min-width: 27px; min-height: 27px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font: 800 12px/1 Georgia, serif; }
.tier-a { color: var(--funding-vermilion); background: #fff2ed; }
.tier-b { color: var(--funding-cobalt); background: #edf5fc; }
.tier-c { color: #6b6f69; background: #f1f1ed; }
.funding-score { display: block; margin-top: 8px; color: var(--funding-ink); font: 800 22px/1 Georgia, serif; }
.funding-chip-list { display: flex; flex-wrap: wrap; gap: 4px; }
.funding-chip-list > span { padding: 3px 6px; border: 1px solid #d4caba; background: #faf6ec; color: #4e5753; font-size: 9px; }
.local-status-mark { display: inline-block !important; width: fit-content; margin-top: 8px; padding: 3px 7px; border-left: 3px solid var(--funding-cobalt); background: #edf4f8; color: var(--funding-cobalt) !important; font-size: 10px !important; font-weight: 800; }
.local-status-mark.muted { border-color: #a7a59e; background: #f0f0ed; color: #777 !important; }
.funding-deadline-mark { display: inline-block; margin-top: 9px; padding: 3px 6px; background: #fff1ea; color: var(--funding-vermilion); font-size: 9px; font-weight: 800; }

.mentor-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--funding-rule); background: #fff; }
.mentor-contact-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); min-height: 220px; border-right: 1px solid var(--funding-rule); border-bottom: 1px solid var(--funding-rule); }
.mentor-contact-card:nth-child(2n) { border-right: 0; }
.mentor-contact-score { display: grid; align-content: start; gap: 8px; padding: 18px 12px; border-right: 1px solid var(--funding-rule); background: var(--funding-paper); text-align: center; }
.mentor-contact-score strong { color: var(--funding-cobalt); font: 800 27px/1 Georgia, serif; }
.mentor-contact-score span { color: #65706b; font-size: 9px; font-weight: 800; }
.mentor-contact-body { display: grid; align-content: start; gap: 10px; padding: 18px; }
.mentor-contact-body h3 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; font-size: 22px; }
.mentor-contact-signals { min-height: 38px; }
.mentor-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; }
.mentor-contact-actions a,
.mentor-contact-actions button { font-size: 11px; font-weight: 800; }

.coverage-method-note { display: grid; grid-template-columns: 160px 280px 1fr; gap: 20px; align-items: end; padding: 22px; border-top: 4px solid var(--funding-ink); background: var(--funding-paper); }
.coverage-method-note h2 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; font-size: 32px; }
.coverage-method-note > p:last-child { margin: 0; color: #59635e; font-size: 13px; line-height: 1.6; }
.coverage-region { margin-top: 24px; }
.coverage-region-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 10px 0; border-bottom: 2px solid var(--funding-ink); }
.coverage-region-head h3 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; font-size: 23px; }
.coverage-region-head span { color: var(--muted); font-size: 11px; }
.coverage-source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid var(--funding-rule); }
.coverage-source-row { display: grid; grid-template-columns: 82px minmax(0, 1fr) 100px; gap: 12px; min-height: 116px; padding: 15px; border-right: 1px solid var(--funding-rule); border-bottom: 1px solid var(--funding-rule); background: #fff; }
.coverage-source-row h4 { margin: 0; font-size: 14px; }
.coverage-source-row p { margin: 6px 0; color: #4e5b56; font-size: 11px; }
.coverage-source-row small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.coverage-status { align-self: start; padding: 4px 6px; border-left: 3px solid #8d948f; background: #efefea; color: #5d625e; font-size: 9px; font-weight: 900; }
.coverage-status.status-checked { border-color: var(--green); background: #eaf5ee; color: var(--green); }
.coverage-status.status-checked_currently_ineligible { border-color: var(--funding-vermilion); background: #fff0eb; color: var(--funding-vermilion); }
.coverage-source-meta { display: grid; align-content: space-between; justify-items: end; gap: 12px; color: var(--muted); font-size: 10px; text-align: right; }
.seed-case-ledger { margin-top: 34px; }
.seed-case-card { display: grid; grid-template-columns: 1fr 1fr 180px; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--funding-rule); }
.seed-case-card h4 { margin: 0 0 8px; font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; font-size: 23px; }
.seed-case-card p,
.seed-case-card li { color: #53605a; font-size: 12px; line-height: 1.55; }
.seed-case-card > div:last-child { display: grid; align-content: start; gap: 8px; }

.local-workspace-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.local-panel { border: 1px solid var(--funding-rule); background: #fff; }
.local-panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; padding: 18px; border-bottom: 2px solid var(--funding-ink); background: var(--funding-paper); }
.local-panel-head h2 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; }
.local-panel-head > span { color: var(--funding-vermilion); font-size: 10px; font-weight: 900; }
.local-profile-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 18px; }
.local-profile-form .wide,
.local-profile-form button { grid-column: 1 / -1; }
.funding-roadmap { margin: 0; padding: 6px 20px 16px; list-style: none; }
.funding-roadmap li { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--funding-rule); }
.funding-roadmap li:last-child { border-bottom: 0; }
.funding-roadmap time { color: var(--funding-vermilion); font: 800 12px/1.3 Georgia, serif; }
.funding-roadmap strong { font-size: 13px; }
.funding-roadmap p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.tracking-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 18px; }
.tracking-summary > div { padding: 14px; border-right: 1px solid var(--funding-rule); border-bottom: 1px solid var(--funding-rule); }
.tracking-summary strong,
.tracking-summary span { display: block; }
.tracking-summary strong { color: var(--funding-cobalt); font: 800 25px/1 Georgia, serif; }
.tracking-summary span { margin-top: 7px; color: var(--muted); font-size: 10px; }
.lead-capture-form { display: grid; grid-template-columns: 1.5fr 1fr 110px auto; gap: 8px; padding: 18px; }
.lead-list { padding: 0 18px 18px; }
.lead-list > div { display: grid; grid-template-columns: 60px minmax(0, 1fr) 80px; gap: 10px; padding: 10px 0; border-top: 1px solid var(--funding-rule); font-size: 11px; }
.backup-panel { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px; background: var(--funding-ink); color: #eef3ef; }
.backup-panel h2 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; }
.backup-panel p { max-width: 720px; color: #b9c5bf; font-size: 12px; }
.backup-panel > div:last-child { display: flex; gap: 8px; }

.funding-drawer .funding-detail-score { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; margin: 18px 0; padding: 13px; border: 1px solid var(--funding-rule); background: var(--funding-paper); }
.funding-detail-score > strong { color: var(--funding-cobalt); font: 800 28px/1 Georgia, serif; }
.funding-detail-score > small { color: var(--muted); }
.funding-deadline-detail { display: grid; gap: 5px; padding: 10px 12px; border-left: 4px solid var(--funding-vermilion); background: #fff1eb; color: #6c473f; font-size: 11px; }
.funding-deadline-detail strong { color: var(--funding-vermilion); font: 800 17px/1 Georgia, serif; }
.drawer-local-form { display: grid; gap: 12px; margin-top: 26px; padding: 18px; border: 1px solid var(--funding-rule); background: var(--funding-paper); }
.drawer-local-form h3 { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif; }

@media (max-width: 1100px) {
  .home-funding-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-funding-action { border-bottom: 1px solid var(--funding-rule); }
  .home-funding-action:nth-child(2n) { border-right: 0; }
  .home-funding-action:last-child { grid-column: 1 / -1; }
  .home-readiness-band { grid-template-columns: 1fr; }
  .home-research-stamp { grid-template-columns: auto 1fr; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.28); border-left: 0; }
  .funding-command-hero { grid-template-columns: 1fr; }
  .funding-filter-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .funding-search { grid-column: 1 / -1; }
  .coverage-source-list { grid-template-columns: 1fr; }
  .coverage-source-row { border-left: 1px solid var(--funding-rule); }
  .lead-capture-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .home-command-band,
  .home-intelligence-grid,
  .home-readiness-band,
  .funding-command-hero,
  .funding-privacy-rail,
  .funding-tabs,
  .funding-tab-panel,
  .funding-message { width: min(100% - 20px, 1440px); }
  .home-funding-actions,
  .home-intelligence-grid,
  .home-readiness-list,
  .funding-command-metrics,
  .mentor-contact-grid,
  .local-workspace-grid { grid-template-columns: 1fr; }
  .home-funding-action,
  .home-funding-action:nth-child(2n) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--funding-rule); }
  .home-funding-action:last-child { grid-column: auto; }
  .home-ledger-head,
  .funding-result-head { align-items: flex-start; flex-direction: column; }
  .home-mentor-ledger article { grid-template-columns: 24px minmax(0, 1fr) 34px; }
  .home-mentor-ledger button { grid-column: 2 / -1; width: fit-content; }
  .home-readiness-band { padding: 20px; }
  .funding-command-hero { padding: 30px 18px 22px; }
  .funding-command-copy h1 { font-size: 38px; }
  .funding-command-metrics .metric { border-right: 0; border-bottom: 1px solid var(--funding-rule); }
  .funding-privacy-rail { grid-template-columns: 1fr; }
  .funding-tabs { overflow-x: auto; }
  .funding-tab { min-width: 120px; }
  .funding-filter-rail { grid-template-columns: 1fr; }
  .funding-search { grid-column: auto; }
  .mentor-contact-card,
  .mentor-contact-card:nth-child(2n) { grid-template-columns: 62px minmax(0, 1fr); border-right: 0; }
  .coverage-method-note { grid-template-columns: 1fr; }
  .coverage-source-row { grid-template-columns: 1fr; }
  .coverage-source-meta { justify-items: start; text-align: left; }
  .seed-case-card { grid-template-columns: 1fr; gap: 10px; }
  .local-profile-form,
  .lead-capture-form { grid-template-columns: 1fr; }
  .local-profile-form .wide,
  .local-profile-form button { grid-column: auto; }
  .funding-roadmap li { grid-template-columns: 1fr; gap: 7px; }
  .backup-panel { grid-column: auto; align-items: flex-start; flex-direction: column; }
  .backup-panel > div:last-child { flex-wrap: wrap; }
}

@media print {
  @page { margin: 14mm; }

  body {
    min-width: 0;
    background: #fff;
    color: #000;
  }

  .site-header,
  .drawer,
  .profile-actions,
  .profile-breadcrumb,
  .profile-footer a {
    display: none !important;
  }

  main > .page { display: none !important; }
  main > #page-profile.active { display: block !important; }

  body.print-comparison main > #page-profile.active { display: none !important; }
  body.print-comparison main > #page-people.active { display: block !important; }
  body.print-comparison #page-people > :not(.people-content) { display: none !important; }
  body.print-comparison #people-content > :not(.academic-comparison) { display: none !important; }
  body.print-comparison .comparison-actions,
  body.print-comparison .compare-remove { display: none !important; }
  body.print-comparison .academic-compare-grid { grid-template-columns: repeat(var(--people-compare-count), minmax(0, 1fr)); }

  .profile-document {
    width: 100%;
    padding: 0;
  }

  .profile-section,
  .profile-masthead {
    break-inside: avoid;
  }

  .profile-section { padding: 18px 0; }
  .profile-title-row h1 { font-size: 30pt; }
  .profile-section-heading h2 { font-size: 18pt; }

  a {
    color: #000;
    text-decoration: none;
  }
}

/* Career Radar visual refresh: light content stream, soft gradient atmosphere, and a persistent workbench rail. */
:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-soft: #edf3fb;
  --ink: #203044;
  --muted: #718096;
  --line: rgba(207, 219, 235, 0.72);
  --blue: #719bf2;
  --blue-strong: #4b79d9;
  --teal: #58bfae;
  --teal-soft: #e3f5f0;
  --orange: #eeac84;
  --orange-soft: #fff0e7;
  --red: #d97882;
  --green: #4aa987;
  --shadow: 0 18px 52px rgba(86, 113, 151, 0.1);
  --shadow-soft: 0 8px 26px rgba(86, 113, 151, 0.08);
  --sidebar-width: 252px;
}

html { background: var(--bg); color-scheme: light; }

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 0%, rgba(185, 215, 255, 0.34), transparent 31rem),
    radial-gradient(circle at 20% 35%, rgba(187, 236, 221, 0.2), transparent 28rem),
    radial-gradient(circle at 86% 74%, rgba(250, 207, 187, 0.18), transparent 32rem),
    var(--bg);
  color: var(--ink);
  font-family: "Avenir Next Rounded", "Nunito Sans", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0.005em;
}

button, input, select, textarea { font-family: inherit; }
a { color: var(--blue-strong); }

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: var(--sidebar-width);
  min-height: 100vh;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  padding: 28px 18px 20px;
  border: 0;
  border-right: 1px solid rgba(211, 222, 237, 0.72);
  background: linear-gradient(180deg, rgba(252, 254, 255, 0.94), rgba(246, 250, 253, 0.86));
  box-shadow: 16px 0 42px rgba(95, 125, 164, 0.07);
  backdrop-filter: blur(22px);
}

.brand { min-height: 54px; gap: 11px; padding: 0 8px; }
.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #83aaff 4%, #7e9af4 45%, #64cbb6 100%);
  box-shadow: 0 10px 20px rgba(109, 145, 229, 0.22);
  font-size: 0;
}
.brand-mark::before { position: absolute; width: 29px; height: 29px; border: 1.5px solid rgba(255, 255, 255, 0.88); border-radius: 50%; content: ""; }
.brand-mark::after { position: absolute; width: 15px; height: 15px; border: 1.5px solid rgba(255, 255, 255, 0.94); border-radius: 4px; content: ""; transform: rotate(45deg); }
.brand-needle { position: relative; z-index: 1; width: 4px; height: 23px; border-radius: 99px; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.64)); transform: rotate(42deg); }
.brand strong { color: var(--ink); font-size: 18px; font-weight: 850; letter-spacing: 0.035em; }
.brand small { margin-top: 4px; color: #8a98aa; font-size: 10px; letter-spacing: 0.08em; }

.main-nav { display: grid; flex: 1; align-content: start; gap: 6px; overflow-y: auto; overflow-x: hidden; padding: 8px 0; scrollbar-width: thin; }
.nav-link { display: flex; min-height: 45px; align-items: center; gap: 12px; padding: 0 14px; border-radius: 15px; color: #718198; font-size: 13px; font-weight: 800; text-decoration: none; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.nav-link:hover { background: rgba(226, 237, 252, 0.66); color: var(--blue-strong); transform: translateX(2px); }
.nav-link.active { background: linear-gradient(100deg, rgba(222, 234, 255, 0.98), rgba(230, 247, 242, 0.72)); color: #3f6dcc; box-shadow: 0 8px 18px rgba(115, 152, 224, 0.11); }
.nav-icon { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; color: currentColor; font-size: 19px; font-weight: 500; line-height: 1; }
.nav-icon::before { content: "\25cf"; }
.nav-icon-home::before { content: "\2302"; }
.nav-icon-funding::before { content: "\2726"; }
.nav-icon-radar::before { content: "\25c9"; }
.nav-icon-industry::before { content: "\2197"; }
.nav-icon-routes::before { content: "\21c4"; }
.nav-icon-people::before { content: "\25ce"; }
.nav-icon-cases::before { content: "\25c7"; }
.nav-icon-calendar::before { content: "\25f7"; }
.nav-icon-methods::before { content: "i"; }
.mode-pill { align-self: stretch; min-width: 0; margin: 0 8px; padding: 9px 12px; border: 1px solid rgba(205, 221, 239, 0.82); border-radius: 14px; background: rgba(255, 255, 255, 0.66); color: #8392a5; font-size: 11px; font-weight: 850; letter-spacing: 0.06em; }

main { min-height: 100vh; margin-left: var(--sidebar-width); padding: 1px 0 70px; }
.hero-band, .section-band, .split-band, .page-heading, .filter-band, .table-section, .private-band, .industry-metric-strip, .industry-compare-band, .method-note-band, .private-gap-band, .public-gap-notice, .weekly-update-band, .radar-workspace { width: min(1480px, calc(100% - 64px)); margin-right: auto; margin-left: auto; }
.hero-band { grid-template-columns: minmax(340px, 1fr) minmax(540px, 1.15fr); align-items: center; gap: 40px; padding: 58px 0 34px; }
.hero-copy h1, .page-heading h1 { max-width: 860px; color: var(--ink); font-weight: 850; letter-spacing: -0.045em; }
.hero-copy h1 { font-size: clamp(44px, 5.4vw, 78px); line-height: 0.99; }
.page-heading h1 { font-size: clamp(38px, 4vw, 62px); }
.hero-copy p, .lead, .page-heading p { color: #718097; line-height: 1.75; }
.eyebrow { color: #5b8dde; font-size: 10px; font-weight: 900; letter-spacing: 0.16em; }
.briefing-strip, .opportunity-grid, .route-grid, .lab-grid, .person-grid, .method-grid { gap: 16px; }

.metric, .opportunity-card, .route-card, .route-detail, .lab-card, .person-card, .method-card, .private-band, .home-ledger-panel, .home-command-band, .home-readiness-band, .industry-company-card, .industry-person-card, .anonymous-path-card, .calendar-panel, .timeline-item, .source-row, .people-filter-shell, .academic-profile-card, .academic-overview-ledger, .academic-comparison, .funding-overview-card, .funding-table-wrap, .method-note-band { border: 0; border-radius: 22px; background: rgba(255, 255, 255, 0.78); box-shadow: var(--shadow-soft); }
.metric { min-height: 128px; padding: 20px; background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 247, 255, 0.74)); }
.metric strong { margin: 13px 0 10px; color: var(--ink); font-size: clamp(22px, 2.2vw, 34px); font-weight: 850; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.briefing-strip .metric:last-child strong { white-space: nowrap; font-size: clamp(18px, 1.8vw, 28px); }
.metric span, .metric small { color: #8391a4; }
.section-band, .split-band, .table-section { padding: 30px 0; }
.page-heading { padding: 58px 0 25px; }
.section-head { margin-bottom: 18px; }
.section-head h2, .route-detail h2, .method-card h3, .opportunity-card h3, .lab-card h3, .person-card h3, .route-card h3 { font-weight: 850; letter-spacing: -0.025em; }
.text-link, .inline-button, .tiny-button, .row-title, .segment { color: var(--blue-strong); }
.tiny-button, .filter-control input, .filter-control select, .local-tracking input, .local-tracking select, .local-tracking textarea, .people-natural-query input, .people-filter-control select, .people-filter-control input { border: 1px solid rgba(204, 218, 235, 0.82); border-radius: 12px; background: rgba(255, 255, 255, 0.72); }
.tiny-button { min-height: 36px; padding: 0 13px; }
.tiny-button.primary { border-color: transparent; background: linear-gradient(120deg, #739df4, #6bceb6); color: #fff; }
.inline-button { min-height: 36px; margin-top: 13px; }
.opportunity-card, .lab-card, .person-card, .route-card, .method-card { padding: 20px; transition: transform 180ms ease, box-shadow 180ms ease; }
.opportunity-card:hover, .lab-card:hover, .person-card:hover, .route-card:hover, .method-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(86, 113, 151, 0.14); }

.filter-band { border: 0; border-radius: 22px; background: rgba(255, 255, 255, 0.8); box-shadow: var(--shadow-soft); }
.filter-control input, .filter-control select { height: 42px; padding: 0 12px; color: var(--ink); }
.filter-control span { color: #8593a6; font-size: 10px; letter-spacing: 0.06em; }
.advanced-filters { border-top-color: rgba(211, 222, 237, 0.8); }
.advanced-filters summary { color: var(--blue-strong); }

.radar-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 324px; gap: 22px; align-items: start; }
.radar-results { min-width: 0; }
.radar-results-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.radar-results-head h2 { margin: 0; font-size: 27px; letter-spacing: -0.035em; }
.results-count { color: #8897aa; font-size: 12px; font-weight: 800; }
.radar-filter-panel { position: sticky; top: 24px; display: grid; grid-template-columns: 1fr; grid-column: 2; grid-row: 1; gap: 12px; width: auto; min-width: 0; padding: 20px; }
.radar-filter-panel .filter-control { min-width: 0; }
.filter-panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding-bottom: 5px; }
.filter-panel-heading h2 { margin: 0; font-size: 20px; letter-spacing: -0.03em; }
.filter-reset { border: 0; background: transparent; color: var(--blue-strong); cursor: pointer; font-size: 12px; font-weight: 800; }
.radar-job-list { display: grid; gap: 12px; }
.radar-job-card { padding: 19px 21px; border: 0; border-radius: 20px; background: rgba(255, 255, 255, 0.86); box-shadow: var(--shadow-soft); transition: transform 180ms ease, box-shadow 180ms ease; }
.radar-job-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(86, 113, 151, 0.14); }
.radar-job-card-top, .radar-job-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.radar-job-card-top { min-height: 28px; }
.radar-job-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.radar-job-card-main { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 24px; align-items: center; padding: 13px 0 16px; }
.radar-job-card-copy h3 { margin: 0; }
.radar-job-card-copy .row-title { max-width: 100%; font-size: 18px; font-weight: 850; }
.radar-job-institution { margin: 6px 0 0; color: #748298; font-size: 13px; font-weight: 750; }
.radar-job-card-copy .meta-row { margin-top: 9px; }
.radar-job-card-copy .reason { max-width: 780px; margin: 10px 0 0; color: #75849a; font-size: 13px; line-height: 1.6; }
.radar-job-card-score { display: grid; gap: 6px; justify-items: end; }
.radar-job-card-score span { color: #8b99aa; font-size: 10px; font-weight: 800; }
.radar-job-card-score strong { color: var(--teal); font-size: 29px; line-height: 1; }
.radar-job-card-score i { display: block; width: 92px; height: 7px; overflow: hidden; border-radius: 99px; background: #e8eef6; }
.radar-job-card-score i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #75a5f8, #67c9b2); }
.radar-job-card-footer { padding-top: 12px; border-top: 1px solid rgba(223, 231, 241, 0.82); color: #8a97a8; font-size: 11px; }

.table-wrap, .people-table-wrap, .salary-table-wrap { border: 0; border-radius: 20px; background: rgba(255, 255, 255, 0.78); box-shadow: var(--shadow-soft); }
table { color: var(--ink); }
th { background: rgba(239, 245, 252, 0.86); color: #7c8b9f; }
td { border-bottom-color: rgba(223, 231, 241, 0.8); }

.drawer { width: min(680px, calc(100vw - var(--sidebar-width) - 22px)); top: 16px; right: 16px; bottom: 16px; inset: 16px 16px 16px auto; border: 0; border-radius: 26px; background: rgba(252, 254, 255, 0.96); box-shadow: -24px 0 70px rgba(67, 93, 132, 0.2); backdrop-filter: blur(26px); }
.drawer.open { transform: translateX(0); }
.drawer-close { top: 12px; right: 12px; left: auto; margin: 12px; border: 0; background: rgba(231, 239, 249, 0.82); color: var(--ink); }
.drawer-body { padding: 10px 30px 36px; }
.detail-section { border-top-color: rgba(220, 230, 241, 0.82); }
.segmented { gap: 8px; }
.segment { border: 0; background: rgba(226, 237, 252, 0.76); }
.segment.active { background: linear-gradient(120deg, #739df4, #6bcab5); }
.industry-opportunity-row, .company-rank-row, .timeline-item, .source-row { border: 0; box-shadow: var(--shadow-soft); }
.industry-opportunity-row:hover, .company-rank-row:hover, .timeline-item:hover { transform: translateY(-2px); }
.method-card p, .route-card p, .route-detail p, .academic-profile-card p { color: #718097; }

@media (max-width: 1100px) {
  :root { --sidebar-width: 226px; }
  .hero-band { grid-template-columns: 1fr; }
  .radar-workspace { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 900px) {
  :root { --sidebar-width: 0px; }
  body { padding-bottom: 74px; }
  .site-header { position: sticky; inset: 0 0 auto; width: 100%; min-height: 72px; flex-direction: row; align-items: center; gap: 12px; padding: 12px 16px; border-right: 0; border-bottom: 1px solid rgba(211, 222, 237, 0.72); backdrop-filter: none; }
  .brand { min-width: 0; padding: 0; }
  .brand-mark { width: 40px; height: 40px; border-radius: 13px; }
  .brand strong { font-size: 16px; }
  .brand small { display: none; }
  .main-nav { position: fixed; inset: auto 0 0; z-index: 50; display: flex; width: 100%; height: 74px; align-items: stretch; gap: 4px; overflow-x: auto; overflow-y: hidden; padding: 8px 10px max(8px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(211, 222, 237, 0.8); background: rgba(253, 254, 255, 0.94); box-shadow: 0 -10px 30px rgba(86, 113, 151, 0.1); backdrop-filter: blur(20px); }
  .nav-link { min-width: 78px; min-height: 56px; flex: 0 0 78px; flex-direction: column; justify-content: center; gap: 3px; padding: 5px 7px; border-radius: 14px; font-size: 10px; }
  .nav-icon { width: 20px; height: 20px; flex-basis: 20px; font-size: 17px; }
  .mode-pill { display: none; }
  main { margin-left: 0; padding-bottom: 18px; }
  .hero-band, .section-band, .split-band, .page-heading, .filter-band, .table-section, .private-band, .industry-metric-strip, .industry-compare-band, .method-note-band, .private-gap-band, .public-gap-notice, .weekly-update-band, .radar-workspace { width: calc(100% - 28px); }
  .hero-band { padding-top: 34px; }
  .radar-workspace { grid-template-columns: 1fr; }
  .radar-filter-panel { position: static; grid-column: 1; grid-row: auto; order: -1; }
  .radar-job-card-main { grid-template-columns: minmax(0, 1fr) 88px; gap: 12px; }
  .radar-job-card-copy .row-title { font-size: 16px; }
  .drawer { inset: auto 0 0; width: 100%; height: min(82vh, 720px); border-radius: 26px 26px 0 0; transform: translateY(102%); }
  .drawer.open { transform: translateY(0); }
  .drawer-body { padding-right: 20px; padding-left: 20px; }
  .briefing-strip, .opportunity-grid, .route-grid, .lab-grid, .person-grid, .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .hero-band { padding-top: 26px; }
  .hero-copy h1 { font-size: 42px; }
  .page-heading h1 { font-size: 38px; }
  .briefing-strip, .opportunity-grid, .route-grid, .lab-grid, .person-grid, .method-grid { grid-template-columns: 1fr; }
  .radar-job-card { padding: 16px; }
  .radar-job-card-main { grid-template-columns: 1fr; }
  .radar-job-card-score { grid-template-columns: auto 1fr; justify-items: start; align-items: center; }
  .radar-job-card-score i { width: 120px; }
  .radar-job-card-footer { align-items: start; flex-direction: column; }
  .filter-panel-heading h2 { font-size: 18px; }
  .public-gap-notice { align-items: start; flex-direction: column; }
}

/* Contrast, cross-surface harmony, and zoom-safe filter layout. */
.home-readiness-band {
  border: 1px solid rgba(109, 142, 184, 0.28);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 226, 209, 0.58), transparent 20rem),
    linear-gradient(135deg, #dbe9fa 0%, #e7f6f1 58%, #fff0e8 100%);
  color: #20344c;
  box-shadow: 0 18px 46px rgba(88, 119, 157, 0.14);
}
.home-readiness-band h2 {
  color: #1f3048;
  font-family: inherit;
  font-weight: 850;
  letter-spacing: -0.04em;
}
.home-readiness-band .eyebrow { color: #4f82cf; }
.home-readiness-list li {
  border: 1px solid rgba(105, 140, 183, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.46);
}
.home-readiness-list li > span { color: #d77b78; }
.home-readiness-list strong {
  color: #263c58;
  font-family: inherit;
  font-weight: 850;
}
.home-readiness-list p { color: #526982; }
.home-research-stamp {
  border-left-color: rgba(83, 125, 177, 0.32);
}
.home-research-stamp strong { color: #3f72c3; }
.home-research-stamp span { color: #5e7692; }
.home-research-stamp small { color: #527fbf; }

:root {
  --funding-paper: #f3f7fc;
  --funding-paper-deep: #e1ebf6;
  --funding-ink: #203044;
  --funding-cobalt: #4b79d9;
  --funding-vermilion: #d97882;
  --funding-brass: #6f8fb5;
  --funding-rule: rgba(207, 219, 235, 0.78);
}
.funding-command-hero {
  border: 1px solid rgba(207, 219, 235, 0.76);
  border-bottom: 0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 0%, rgba(209, 231, 255, 0.55), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 251, 0.9));
  box-shadow: 0 18px 48px rgba(86, 113, 151, 0.11);
}
.funding-command-copy h1 {
  color: var(--ink);
  font-family: inherit;
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 850;
  letter-spacing: -0.06em;
}
.funding-command-copy > p:last-child { color: #647890; }
.funding-command-metrics {
  gap: 12px;
  border: 0;
  background: transparent;
}
.funding-command-metrics .metric {
  min-width: 0;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(86, 113, 151, 0.1);
}
.funding-command-metrics .metric strong {
  color: var(--blue-strong);
  font-family: inherit;
}
.funding-privacy-rail {
  border: 1px solid rgba(180, 211, 236, 0.74);
  border-radius: 18px;
  background: linear-gradient(100deg, rgba(221, 236, 255, 0.95), rgba(229, 247, 241, 0.9));
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(86, 113, 151, 0.08);
}
.funding-privacy-rail > span { color: #5b83c3; }
.funding-privacy-rail p { color: #5c718b; }
.funding-privacy-rail .ghost-button {
  border: 1px solid rgba(133, 166, 204, 0.7);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--blue-strong);
}
.funding-tabs {
  gap: 8px;
  border-bottom: 0;
}
.funding-tab {
  min-width: 132px;
  border: 0;
  border-radius: 13px;
  background: rgba(226, 237, 252, 0.78);
  color: #70829a;
}
.funding-tab + .funding-tab { border-left: 0; }
.funding-tab.active {
  border-color: transparent;
  background: linear-gradient(120deg, #739df4, #6bcab6);
  color: #fff;
  box-shadow: 0 8px 18px rgba(108, 148, 226, 0.18);
}
.funding-filter-rail {
  grid-template-columns: minmax(190px, 1.4fr) repeat(5, minmax(100px, 1fr)) auto;
  min-width: 0;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(86, 113, 151, 0.08);
}
.funding-filter-rail label { min-width: 0; }
.funding-filter-rail label > span { color: #70839b; }
.funding-filter-rail input,
.funding-filter-rail select {
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(204, 218, 235, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}
.funding-filter-rail .ghost-button {
  min-height: 40px;
  border: 1px solid rgba(204, 218, 235, 0.9);
  border-radius: 12px;
  background: rgba(237, 245, 252, 0.9);
  color: var(--blue-strong);
}
.funding-result-head h2 {
  color: var(--ink);
  font-family: inherit;
  font-weight: 850;
  letter-spacing: -0.04em;
}
.funding-table-wrap {
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 32px rgba(86, 113, 151, 0.09);
}
.funding-table th {
  border-bottom: 1px solid rgba(211, 224, 239, 0.9);
  background: rgba(238, 245, 252, 0.9);
  color: #74869c;
}
.funding-table td { border-color: rgba(223, 231, 241, 0.86); }
.funding-table tbody tr:hover { background: #f7fbff; }
.funding-title-button {
  color: var(--ink);
  font-family: inherit;
}
.funding-title-button:hover { color: var(--blue-strong); }
.funding-chip-list > span {
  border: 0;
  border-radius: 999px;
  background: #edf4fb;
  color: #617792;
}
.funding-deadline-mark {
  border-radius: 999px;
  background: #fff0e8;
  color: #c66e76;
}
.mentor-contact-grid,
.coverage-source-list,
.local-panel {
  border-color: rgba(207, 219, 235, 0.78);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(86, 113, 151, 0.08);
}
.mentor-contact-score,
.coverage-method-note,
.local-panel-head { background: rgba(238, 245, 252, 0.88); }

main {
  width: calc(100% - var(--sidebar-width));
  max-width: calc(100% - var(--sidebar-width));
  overflow-x: clip;
}
.radar-workspace {
  width: min(1480px, calc(100% - 48px));
  max-width: calc(100% - 32px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 324px);
  gap: 18px;
}
.radar-filter-panel {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.radar-filter-panel .filter-control,
.radar-filter-panel .filter-control input,
.radar-filter-panel .filter-control select { min-width: 0; max-width: 100%; }
.radar-filter-panel .advanced-filters { min-width: 0; }
.radar-filter-panel .advanced-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (max-width: 1180px) {
  .radar-workspace {
    width: calc(100% - 32px);
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 980px) {
  .radar-workspace { grid-template-columns: 1fr; }
  .radar-filter-panel {
    position: static;
    grid-column: 1;
    grid-row: auto;
    order: -1;
  }
}

@media (max-width: 900px) {
  main {
    width: 100%;
    max-width: 100%;
  }
  .funding-filter-rail {
    grid-template-columns: 1fr;
  }
  .funding-search { grid-column: auto; }
}
