/*
 * Hard-edged post-hero chapter system.
 * Each section uses one cool-blue surface and one restrained pattern.
 * No blur, masks, image projection, or background animation.
 */

#top {
  position: relative;
  overflow-x: clip;
  background: #f4faff;
}

#top > .viewport-section:not(.hero) {
  position: relative;
  isolation: isolate;
  background-repeat: repeat !important;
  box-shadow: inset 0 1px 0 rgba(47, 110, 169, 0.055);
}

#top > .viewport-section:not(.hero)::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: 6%;
  bottom: 24px;
  left: 6%;
  display: none !important;
  height: 7px;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(circle at left center, rgba(30, 111, 234, 0.34) 0 2px, transparent 2.5px),
    radial-gradient(circle at right center, rgba(30, 111, 234, 0.34) 0 2px, transparent 2.5px),
    linear-gradient(90deg, transparent 0%, rgba(30, 111, 234, 0.19) 12%, rgba(30, 111, 234, 0.19) 88%, transparent 100%) center / calc(100% - 14px) 1px no-repeat;
  transform-origin: 0 50%;
}

#top > .viewport-section:not(.hero)::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block !important;
  height: clamp(156px, 14vw, 190px);
  pointer-events: none;
  opacity: 0.84;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  box-shadow: none;
}

#top > .viewport-section:not(.hero) > * {
  position: relative;
  z-index: 1;
}

/* Undergraduate foundation: open contour lines. */
#top > #profile {
  --closure-shift-x: -10px;
  background-color: #edf7ff !important;
  background-image: repeating-radial-gradient(ellipse 118% 76% at -12% 34%, transparent 0 92px, rgba(30, 111, 234, 0.034) 93px 94px, transparent 95px 132px) !important;
}

#top > #profile::after {
  background-image:
    radial-gradient(circle at 12% 70%, rgba(30, 111, 234, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 19% 49%, rgba(30, 111, 234, 0.12) 0 2px, transparent 3px),
    repeating-radial-gradient(ellipse 42% 126% at 3% 124%, transparent 0 34px, rgba(30, 111, 234, 0.075) 35px 36px, transparent 37px 54px);
}

/* Academic evidence: horizontal ledger rhythm. */
#top > #evidence {
  --closure-shift-x: 0px;
  background-color: #f8fbfe !important;
  background-image: repeating-linear-gradient(180deg, transparent 0 47px, rgba(30, 111, 234, 0.026) 48px 49px) !important;
}

#top > #evidence::after {
  background-image: none;
}

/* Research path: a full-page analytical coordinate field. */
#top > #research {
  --closure-shift-x: 12px;
  background-color: #e7f2fb !important;
  background-image:
    radial-gradient(circle, rgba(30, 111, 234, 0.052) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(30, 111, 234, 0.095) 0 1.6px, transparent 2px) !important;
  background-position: 0 0, 11px 11px !important;
  background-size: 22px 22px, 88px 88px !important;
}

#top > #research::after {
  background-image: none;
}

/* Selected projects: cool gallery white with sparse editorial index tracks. */
#top > #projects {
  --closure-shift-x: -8px;
  background-color: #f1f7fc !important;
  background-image: repeating-linear-gradient(90deg, transparent 0 174px, rgba(30, 111, 234, 0.032) 175px 176px, transparent 177px 350px) !important;
  background-size: auto !important;
}

#top > #projects::after {
  background-image:
    linear-gradient(rgba(30, 111, 234, 0.12), rgba(30, 111, 234, 0.12)),
    linear-gradient(rgba(30, 111, 234, 0.10), rgba(30, 111, 234, 0.10)),
    linear-gradient(rgba(30, 111, 234, 0.08), rgba(30, 111, 234, 0.08)),
    linear-gradient(rgba(30, 111, 234, 0.10), rgba(30, 111, 234, 0.10)),
    linear-gradient(rgba(30, 111, 234, 0.07), rgba(30, 111, 234, 0.07));
  background-position: 12% 64%, 29% 42%, 51% 67%, 73% 45%, 90% 62%;
  background-size: 2px 40px, 2px 28px, 2px 34px, 2px 30px, 2px 24px;
  background-repeat: no-repeat;
}

/* PhD proposal: sparse system rings on blueprint blue. */
#top > #proposal {
  --closure-shift-x: 10px;
  background-color: #eaf4fc !important;
  background-image: repeating-radial-gradient(circle at 82% 24%, transparent 0 78px, rgba(30, 111, 234, 0.034) 79px 80px, transparent 81px 126px) !important;
}

#top > #proposal::after {
  background-image: none;
}

/* Reader: a full-page editorial registration field. */
#top > #reader {
  --closure-shift-x: 0px;
  background-color: #edf6fc !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='56' viewBox='0 0 64 56'%3E%3Cpath d='M32 23v10M27 28h10' fill='none' stroke='%231e6fea' stroke-opacity='.09' stroke-width='1'/%3E%3Ccircle cx='32' cy='28' r='1.1' fill='%231e6fea' fill-opacity='.11'/%3E%3C/svg%3E") !important;
  background-position: 0 0 !important;
  background-size: 64px 56px !important;
}

#top > #reader::after {
  background-image: none;
}

@supports (animation-timeline: view()) {
  #top > .viewport-section:not(.hero)::before {
    animation: closure-rail-reveal 1ms linear both;
    animation-timeline: view(block);
    animation-range: entry 24% cover 58%;
  }

  #top > .viewport-section:not(.hero)::after {
    animation: closure-motif-reveal 1ms linear both;
    animation-timeline: view(block);
    animation-range: entry 30% cover 64%;
  }

}

@keyframes closure-rail-reveal {
  from {
    opacity: 0.12;
    transform: scaleX(0.18);
  }
  to {
    opacity: 0.72;
    transform: scaleX(1);
  }
}

@keyframes closure-motif-reveal {
  from {
    opacity: 0.18;
    transform: translate3d(var(--closure-shift-x), 10px, 0);
  }
  to {
    opacity: 0.84;
    transform: translate3d(0, 0, 0);
  }
}

/* Research path now belongs to the same light canvas as every other section. */
#top > .research-section {
  --research-ink: #0b1d35;
  --research-muted: #536a82;
  --research-blue: #1e6fea;
  --research-border: rgba(137, 181, 232, 0.52);
  --research-surface: rgba(255, 255, 255, 0.78);
  --research-surface-strong: rgba(255, 255, 255, 0.92);
  color: var(--research-ink) !important;
}

#top > .research-section::before {
  display: none !important;
}

#top > .research-section > * {
  position: relative;
  z-index: 1;
}

#research .section-heading .eyebrow,
#research .research-card span,
#research .cockpit-panel .panel-kicker,
#research .research-chain .method-card span {
  color: var(--research-blue) !important;
}

#research .section-heading h2,
#research .research-card h3,
#research .cockpit-panel h3,
#research .research-chain .method-card h3 {
  color: var(--research-ink) !important;
}

#research .section-heading p:not(.eyebrow),
#research .research-card p,
#research .cockpit-panel p,
#research .research-chain .method-card p {
  color: var(--research-muted) !important;
}

#research .research-card {
  border-color: var(--research-border) !important;
  background: var(--research-surface) !important;
  cursor: default !important;
  transform: none !important;
}

#research .research-card.active,
#research .research-card:hover {
  border-color: var(--research-border) !important;
  background: var(--research-surface) !important;
  transform: none !important;
}

#research .cockpit-panel {
  border-color: var(--research-border) !important;
  background: linear-gradient(145deg, var(--research-surface-strong), rgba(235, 246, 255, 0.88)) !important;
}

#research .cockpit-panel small {
  border-top-color: rgba(137, 181, 232, 0.46) !important;
  color: #2769aa !important;
}

#research .method-pills span {
  border-color: rgba(137, 181, 232, 0.56) !important;
  color: #245f99 !important;
  background: rgba(255, 255, 255, 0.76) !important;
}

#research .method-lab.research-chain {
  border-color: var(--research-border) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 5px 8px rgba(54, 102, 150, 0.08) !important;
}

#research .research-chain .method-card {
  border-right-color: rgba(137, 181, 232, 0.42) !important;
  background: transparent !important;
  cursor: default !important;
  transform: none !important;
}

#research .research-chain .method-card::after {
  content: "→" !important;
  color: #78aee0 !important;
}

#research .research-chain .method-card.active,
#research .research-chain .method-card:hover {
  background: transparent !important;
  transform: none !important;
}

#research .research-chain .method-card:last-child {
  box-shadow: none !important;
  background: transparent !important;
}

#research .research-chain .method-card small {
  color: #3f719f !important;
}

#research .research-summary {
  border-color: var(--research-border) !important;
  color: var(--research-muted) !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

/* Let the portfolio carousel sit directly on the shared page canvas. */
#reader .reader-stage {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/*
 * Unified first-level chapter headings.
 * The six post-hero chapters now share one content axis, one vertical start,
 * and one typographic rhythm while preserving their section-specific layouts.
 */
#top {
  --chapter-content-width: min(1460px, calc(100% - 160px));
  --chapter-top-space: clamp(84px, 5.4vw, 96px);
  --chapter-title-size: clamp(48px, 3.6vw, 64px);
  --chapter-kicker-size: 12px;
  --chapter-copy-size: 16px;
  --chapter-ink: #102944;
  --chapter-blue: #176ed5;
  --chapter-muted: #526a82;
}

#top > #profile,
#top > #evidence,
#top > #research,
#top > #projects,
#top > #proposal,
#top > #reader {
  padding-top: var(--chapter-top-space) !important;
}

#profile .foundation-inner,
#evidence .evidence-grid,
#research > .section-heading,
#projects > .section-heading,
#proposal .proposal-shell,
#reader > .section-heading {
  width: var(--chapter-content-width) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

#evidence > .section-heading {
  display: none !important;
}

#profile .foundation-header {
  width: 100% !important;
  max-width: none !important;
  display: block !important;
  margin-bottom: 44px !important;
}

#profile .foundation-header > div {
  width: 100% !important;
  max-width: 920px !important;
  margin-top: 0 !important;
}

#research > .section-heading,
#projects > .section-heading,
#reader > .section-heading {
  position: relative;
  margin-top: 0 !important;
  margin-bottom: 38px !important;
}

#projects > .section-heading {
  display: block !important;
}

#proposal .proposal-shell {
  padding-top: 0 !important;
}

#proposal .proposal-header {
  width: 100% !important;
  max-width: none !important;
  margin-top: 0 !important;
  margin-bottom: 34px !important;
}

#profile .foundation-kicker,
#evidence .dossier-head > span:first-child,
#research > .section-heading > .eyebrow,
#projects > .section-heading > .eyebrow,
#proposal .proposal-kicker,
#reader > .section-heading > .eyebrow {
  margin: 0 0 10px !important;
  color: var(--chapter-blue) !important;
  font-size: var(--chapter-kicker-size) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

#profile .foundation-kicker::after {
  display: none !important;
}

#profile .foundation-header h2,
#evidence .dossier-head > strong,
#research > .section-heading h2,
#projects > .section-heading h2,
#proposal .proposal-header h2,
#reader > .section-heading h2 {
  max-width: 1180px !important;
  margin: 0 !important;
  color: var(--chapter-ink) !important;
  font-size: var(--chapter-title-size) !important;
  font-weight: 850 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.042em !important;
  text-wrap: balance;
}

#profile .foundation-header p:not(.foundation-kicker),
#evidence .dossier-head > p,
#research > .section-heading > p:not(.eyebrow),
#reader > .section-heading > p:not(.eyebrow) {
  max-width: 860px !important;
  margin: 14px 0 0 !important;
  color: var(--chapter-muted) !important;
  font-size: var(--chapter-copy-size) !important;
  line-height: 1.72 !important;
}

#evidence .resume-dossier {
  padding-top: 0 !important;
}

#evidence .dossier-head {
  margin: 0 0 38px !important;
}

#proposal .proposal-header-copy > h3 {
  margin: 12px 0 0 !important;
  color: #294f76 !important;
  font-size: clamp(18px, 1.4vw, 22px) !important;
  line-height: 1.35 !important;
}

#proposal .proposal-header-copy > p:not(.proposal-kicker) {
  max-width: 900px !important;
  margin: 14px 0 0 !important;
  color: var(--chapter-muted) !important;
  font-size: var(--chapter-copy-size) !important;
  line-height: 1.72 !important;
}

#projects > .section-heading .project-overview-link {
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: 8px !important;
}

/* Static research path: the five stages are labels, not directional controls. */
#research .research-chain .method-card::after {
  display: none !important;
  content: none !important;
}

/* Proposal dossier: one research canvas, three related views. */
#proposal .proposal-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 36px 0 0 !important;
  overflow: hidden;
  border: 1px solid rgba(125, 174, 216, 0.4) !important;
  border-bottom: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  background: rgba(244, 250, 255, 0.66) !important;
}

#proposal .proposal-tabs button {
  position: relative;
  min-height: 58px;
  border: 0 !important;
  border-right: 1px solid rgba(125, 174, 216, 0.28) !important;
  border-radius: 0 !important;
  padding: 0 22px !important;
  color: #5a7087 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 760 !important;
  letter-spacing: 0.01em;
  text-align: left;
  transform: none !important;
}

#proposal .proposal-tabs button:last-child {
  border-right: 0 !important;
}

#proposal .proposal-tabs button::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 0;
  left: 20px;
  height: 3px;
  background: transparent;
}

#proposal .proposal-tabs button:hover,
#proposal .proposal-tabs button:focus-visible {
  color: #183a5d !important;
  background: rgba(232, 244, 254, 0.5) !important;
}

#proposal .proposal-tabs button:focus {
  outline: none !important;
}

#proposal .proposal-tabs button:focus-visible {
  outline: none !important;
  box-shadow: inset 0 0 0 1px rgba(24, 119, 188, 0.34) !important;
}

#proposal .proposal-tabs button.active {
  color: #102b4c !important;
  background: rgba(255, 255, 255, 0.86) !important;
}

#proposal .proposal-tabs button.active::after {
  background: #1877bc;
}

#proposal .proposal-stage {
  overflow: hidden;
  border: 1px solid rgba(125, 174, 216, 0.4) !important;
  border-radius: 0 0 14px 14px !important;
  background: rgba(255, 255, 255, 0.74) !important;
  box-shadow: 0 6px 8px rgba(44, 91, 133, 0.08) !important;
}

#proposal .proposal-screen,
#proposal #proposal-topic.active,
#proposal #proposal-framework,
#proposal #proposal-foundation {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#proposal .proposal-screen::before,
#proposal .proposal-screen::after,
#proposal .proposal-topic-card::before,
#proposal .phase-card::before,
#proposal .contribution-grid section::before {
  display: none !important;
  content: none !important;
}

#proposal .proposal-topic-card {
  grid-template-columns: minmax(360px, 0.88fr) minmax(520px, 1.12fr) !important;
  gap: 48px !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 44px 40px 38px !important;
  background: transparent !important;
}

#proposal .proposal-topic-copy h3 {
  margin: 14px 0 18px !important;
  font-size: clamp(36px, 3vw, 48px) !important;
  line-height: 1.06 !important;
}

#proposal .proposal-topic-card .system-map {
  min-height: 360px !important;
  overflow: visible !important;
  border-left: 1px solid rgba(125, 174, 216, 0.32);
  border-radius: 0 !important;
  padding-left: 28px !important;
  background:
    radial-gradient(circle at 52% 50%, rgba(34, 128, 201, 0.10), transparent 35%),
    repeating-radial-gradient(circle at 52% 50%, transparent 0 58px, rgba(34, 128, 201, 0.07) 59px 60px, transparent 61px 88px) !important;
}

#proposal .proposal-topic-card .system-core {
  width: 112px !important;
  height: 112px !important;
  background: #1677b8 !important;
  box-shadow: 0 5px 8px rgba(22, 119, 184, 0.18) !important;
}

#proposal .proposal-topic-card .system-node {
  border-color: rgba(88, 151, 204, 0.3) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: none !important;
}

#proposal .rq-chain-wrap {
  margin-top: 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(125, 174, 216, 0.34) !important;
  border-radius: 0 !important;
  padding: 32px 40px 40px !important;
  background: rgba(239, 248, 255, 0.54) !important;
}

#proposal .rq-chain {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  overflow: hidden;
  border-top: 1px solid rgba(125, 174, 216, 0.34);
  border-bottom: 1px solid rgba(125, 174, 216, 0.34);
}

#proposal .rq-chain > i {
  display: none !important;
}

#proposal .rq-chain section {
  min-height: 220px !important;
  border: 0 !important;
  border-right: 1px solid rgba(125, 174, 216, 0.3) !important;
  border-radius: 0 !important;
  padding: 24px !important;
  background: transparent !important;
  transform: none !important;
}

#proposal .rq-chain section:last-child {
  border-right: 0 !important;
}

#proposal #proposal-framework,
#proposal #proposal-foundation {
  padding: 40px !important;
}

#proposal .proposal-screen-head {
  max-width: 900px !important;
}

#proposal .proposal-screen-head h3 {
  margin-top: 9px !important;
  font-size: clamp(28px, 2.2vw, 36px) !important;
}

#proposal .framework-stage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin-top: 32px !important;
  overflow: hidden;
  border-top: 1px solid rgba(125, 174, 216, 0.38);
  border-bottom: 1px solid rgba(125, 174, 216, 0.38);
  background: rgba(244, 250, 255, 0.46);
}

#proposal .phase-card {
  min-height: 360px !important;
  border: 0 !important;
  border-right: 1px solid rgba(125, 174, 216, 0.3) !important;
  border-radius: 0 !important;
  padding: 26px 24px 24px !important;
  background: transparent !important;
  transform: none !important;
}

#proposal .phase-card:last-child {
  border-right: 0 !important;
}

#proposal .phase-card + .phase-card::after {
  display: none !important;
  content: none !important;
}

#proposal .phase-card dd {
  gap: 0 7px !important;
}

#proposal .phase-card dd:has(i) {
  display: block !important;
}

#proposal .phase-card dd i {
  display: inline !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: #315f87 !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 680 !important;
  line-height: 1.7 !important;
  white-space: normal !important;
}

#proposal .phase-card dd i:not(:last-child)::after {
  content: " ·";
  color: #83a9ca;
}

#proposal .research-loop {
  margin-top: 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 20px 0 0 !important;
  background: transparent !important;
}

#proposal .foundation-matrix {
  margin-top: 30px !important;
  border-color: rgba(125, 174, 216, 0.36) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.58) !important;
}

#proposal .foundation-matrix > div > * {
  border-color: rgba(125, 174, 216, 0.26) !important;
}

#proposal .foundation-matrix .matrix-head span {
  background: rgba(230, 243, 253, 0.86) !important;
}

#proposal .contribution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin-top: 28px !important;
  border-top: 1px solid rgba(125, 174, 216, 0.36);
  border-bottom: 1px solid rgba(125, 174, 216, 0.36);
}

#proposal .contribution-grid section {
  border: 0 !important;
  border-right: 1px solid rgba(125, 174, 216, 0.3) !important;
  border-radius: 0 !important;
  padding: 26px 24px !important;
  background: transparent !important;
  transform: none !important;
}

#proposal .contribution-grid section:last-child {
  border-right: 0 !important;
}

@media (max-width: 900px) {
  #top {
    --chapter-content-width: calc(100% - 40px);
    --chapter-top-space: 72px;
    --chapter-title-size: clamp(42px, 9vw, 54px);
  }
}

/* Proposal width, tab state, and system-map connector cleanup. */
#proposal .proposal-tabs,
#proposal .proposal-stage {
  width: 100% !important;
}

#proposal .proposal-tabs {
  border-bottom: 0 !important;
}

#proposal .proposal-tabs button {
  color: #6b7f92 !important;
}

#proposal .proposal-tabs button:hover,
#proposal .proposal-tabs button:focus-visible {
  color: #376787 !important;
}

#proposal .proposal-tabs button.active {
  color: #176ed5 !important;
}

#proposal .proposal-tabs button::after {
  right: auto !important;
  left: 1.25rem !important;
  width: min(7.5rem, calc(100% - 2.5rem));
  background: transparent !important;
}

#proposal .proposal-tabs button.active::after {
  background: #176ed5 !important;
}

/* Proposal v23: art-directed information views for topic, route and contribution. */
#proposal {
  --proposal-ink: #0d2b49;
  --proposal-copy: #3f5c76;
  --proposal-blue: #176fd0;
  --proposal-blue-deep: #0d4f8d;
  --proposal-blue-pale: #edf7ff;
  --proposal-line: rgba(89, 148, 198, 0.28);
}

#proposal .proposal-tabs button {
  font-size: 0.875rem !important;
  font-weight: 680 !important;
}

#proposal .proposal-tabs button::after {
  width: min(11.5rem, calc(100% - 2.5rem)) !important;
}

#proposal .proposal-tabs button:focus-visible {
  outline: none !important;
  background: rgba(225, 241, 253, 0.55) !important;
  box-shadow: none !important;
}

#proposal .proposal-stage {
  border-color: rgba(100, 157, 204, 0.32) !important;
  background: rgba(250, 253, 255, 0.94) !important;
  box-shadow: 0 6px 8px rgba(38, 78, 113, 0.07) !important;
}

/* View 01: editorial statement + system blueprint. */
#proposal .proposal-topic-card {
  grid-template-columns: minmax(24.5rem, 0.82fr) minmax(0, 1.18fr) !important;
  align-items: center !important;
  gap: 2.25rem !important;
  padding: 2.75rem 2.75rem 2.5rem !important;
}

#proposal .proposal-topic-copy {
  align-self: center !important;
}

#proposal .proposal-topic-copy h3 {
  margin: 0.75rem 0 1.125rem !important;
  font-size: clamp(1.8rem, 2vw, 2.125rem) !important;
  font-weight: 820 !important;
  line-height: 1.13 !important;
  letter-spacing: -0.025em !important;
}

#proposal .proposal-topic-copy h3 b {
  display: block;
  white-space: nowrap;
}

#proposal .proposal-topic-card .system-map {
  position: relative !important;
  min-height: 25rem !important;
  overflow: hidden !important;
  border: 0 !important;
  border-left: 1px solid var(--proposal-line) !important;
  border-radius: 0 !important;
  padding: 1rem 0 1rem 1.75rem !important;
  background:
    radial-gradient(circle, rgba(67, 142, 202, 0.14) 0 1px, transparent 1.3px) 0 0 / 20px 20px,
    linear-gradient(135deg, rgba(237, 248, 255, 0.75), rgba(249, 253, 255, 0.34)) !important;
}

#proposal .proposal-topic-card .system-map-lines {
  inset: 1rem 0 1rem 1.75rem !important;
  width: calc(100% - 1.75rem) !important;
  height: calc(100% - 2rem) !important;
}

#proposal .proposal-topic-card .system-map-lines .map-orbit,
#proposal .proposal-topic-card .system-map-lines .map-spoke {
  fill: none;
  stroke: rgba(48, 123, 184, 0.23);
  stroke-width: 0.48;
  vector-effect: non-scaling-stroke;
}

#proposal .proposal-topic-card .system-map-lines .map-orbit {
  stroke-dasharray: 2.4 2.4;
}

#proposal .proposal-topic-card .system-map-lines .map-anchor {
  fill: #69aee1;
  stroke: #f8fcff;
  stroke-width: 0.65;
  vector-effect: non-scaling-stroke;
}

#proposal .proposal-topic-card .system-core {
  left: calc(50% + 0.875rem) !important;
  top: 50% !important;
  width: 6rem !important;
  height: 6rem !important;
  border: 0 !important;
  background: var(--proposal-blue-deep) !important;
  box-shadow: 0 0 0 0.65rem rgba(23, 111, 208, 0.08), 0 5px 8px rgba(15, 78, 139, 0.16) !important;
  font-size: 0.9375rem !important;
  line-height: 1.3 !important;
}

#proposal .proposal-topic-card .system-node {
  display: grid !important;
  grid-template-columns: 1.65rem minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  width: 10.5rem !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 5rem !important;
  border: 1px solid rgba(92, 153, 203, 0.30) !important;
  border-radius: 10px !important;
  padding: 0.75rem 0.8rem !important;
  background: rgba(253, 254, 255, 0.96) !important;
  box-shadow: none !important;
  animation: none !important;
  translate: none !important;
  transition: border-color 180ms ease, background-color 180ms ease !important;
}

#proposal .proposal-topic-card .system-node:hover {
  border-color: rgba(53, 128, 190, 0.50) !important;
  background: #ffffff !important;
  transform: var(--node-base-transform, none) !important;
  translate: none !important;
}

#proposal .proposal-topic-card .system-node > span {
  display: grid !important;
  grid-row: 1 / 3 !important;
  place-items: center !important;
  align-self: start !important;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  color: #ffffff !important;
  background: var(--proposal-blue) !important;
  font-size: 0.625rem !important;
  letter-spacing: 0 !important;
}

#proposal .proposal-topic-card .system-node > strong {
  overflow-wrap: anywhere;
  color: var(--proposal-ink) !important;
  font-size: 0.8125rem !important;
  font-weight: 760 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

#proposal .proposal-topic-card .system-node > p {
  color: #57728a !important;
  font-size: 0.6875rem !important;
  line-height: 1.45 !important;
}

#proposal .proposal-topic-card .node-a {
  top: 3.5% !important;
  left: calc(50% + 0.875rem) !important;
  right: auto !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;
}

#proposal .proposal-topic-card .node-b {
  top: 24% !important;
  right: 1.5% !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}

#proposal .proposal-topic-card .node-c {
  right: 7% !important;
  bottom: 4% !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
}

#proposal .proposal-topic-card .node-d {
  bottom: 4% !important;
  left: 10% !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
}

#proposal .proposal-topic-card .node-e {
  top: 24% !important;
  left: 3% !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
}

/* View 01 research questions: one editorial lead and three scan-friendly rows. */
#proposal .rq-chain-wrap {
  display: grid !important;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.65fr) !important;
  gap: 0 !important;
  border-top: 1px solid var(--proposal-line) !important;
  padding: 0 !important;
  background: #f5faff !important;
}

#proposal .rq-chain-wrap > .proposal-screen-head {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 24rem;
  padding: 2rem 1.9rem !important;
  color: #ffffff;
  background: var(--proposal-blue-deep) !important;
}

#proposal .rq-chain-wrap > .proposal-screen-head > span {
  color: #a9d6f7 !important;
}

#proposal .rq-chain-wrap > .proposal-screen-head h3 {
  display: grid;
  gap: 0.45rem;
  margin-top: auto !important;
  color: #ffffff !important;
  font-size: clamp(1.5rem, 1.7vw, 1.75rem) !important;
  font-weight: 760 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em !important;
}

#proposal .rq-chain-wrap > .proposal-screen-head h3 span {
  display: block;
}

#proposal .rq-chain-wrap > .proposal-screen-head h3 span:not(:last-child)::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin-top: 0.45rem;
  background: rgba(178, 220, 250, 0.48);
}

#proposal .rq-chain {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: stretch !important;
  gap: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: rgba(252, 254, 255, 0.92);
}

#proposal .rq-chain section {
  display: grid !important;
  grid-template-columns: 3.25rem minmax(10rem, 0.55fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  align-items: start !important;
  column-gap: 1.1rem !important;
  row-gap: 0.55rem !important;
  min-height: 8rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--proposal-line) !important;
  border-radius: 0 !important;
  padding: 1.25rem 1.6rem !important;
  background: transparent !important;
  transform: none !important;
}

#proposal .rq-chain section:last-child {
  border-bottom: 0 !important;
}

#proposal .rq-chain section > span {
  grid-row: 1 / 3;
  align-self: start !important;
  width: 2.6rem;
  border-radius: 999px;
  padding: 0.38rem 0;
  color: var(--proposal-blue) !important;
  background: #e5f2fd;
  text-align: center;
}

#proposal .rq-chain section > strong {
  grid-column: 2;
  color: var(--proposal-ink) !important;
  font-size: 1.075rem !important;
  font-weight: 760 !important;
  line-height: 1.4 !important;
}

#proposal .rq-chain section > p {
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--proposal-copy) !important;
  font-size: 0.875rem !important;
  line-height: 1.65 !important;
}

#proposal .rq-chain section > small {
  grid-column: 2;
  border: 0 !important;
  padding: 0 !important;
  color: #2474b5 !important;
  font-size: 0.75rem !important;
  line-height: 1.45 !important;
}

/* Views 02 and 03 share an editorial header, then diverge in structure. */
#proposal #proposal-framework,
#proposal #proposal-foundation {
  padding: 2.6rem 2.75rem 2.75rem !important;
}

#proposal #proposal-framework > .proposal-screen-head,
#proposal #proposal-foundation > .proposal-screen-head {
  grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1.1fr) !important;
  column-gap: 4rem !important;
  align-items: end !important;
  max-width: none !important;
}

#proposal #proposal-framework > .proposal-screen-head > span,
#proposal #proposal-foundation > .proposal-screen-head > span {
  grid-column: 1 / -1;
}

#proposal #proposal-framework > .proposal-screen-head h3,
#proposal #proposal-foundation > .proposal-screen-head h3 {
  grid-column: 1;
  max-width: 18ch;
  font-size: clamp(1.85rem, 2vw, 2.125rem) !important;
}

#proposal #proposal-framework > .proposal-screen-head p,
#proposal #proposal-foundation > .proposal-screen-head p {
  grid-column: 2;
  max-width: 60ch;
  border-top: 1px solid var(--proposal-line);
  padding-top: 0.9rem;
  font-size: 0.9375rem !important;
  line-height: 1.7 !important;
}

/* View 02: four-stage route, composed as a 2 x 2 sequence instead of a table. */
#proposal .framework-stage-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
  margin-top: 2rem !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  counter-reset: phase;
}

#proposal .phase-card {
  display: grid !important;
  grid-template-columns: 3.25rem minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 1.1rem !important;
  row-gap: 0.9rem !important;
  min-height: 18.5rem !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 1.6rem 1.65rem !important;
  background: #eef7ff !important;
  box-shadow: none !important;
  transform: none !important;
}

#proposal .phase-card:nth-child(2) {
  background: #e7f3fd !important;
}

#proposal .phase-card:nth-child(3) {
  background: #f5faff !important;
}

#proposal .phase-card:nth-child(4) {
  color: #ffffff;
  background: var(--proposal-blue-deep) !important;
}

#proposal .phase-card > span {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  align-self: start !important;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  color: var(--proposal-blue) !important;
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.75rem !important;
}

#proposal .phase-card > h4 {
  grid-column: 2;
  color: var(--proposal-ink) !important;
  font-size: 1.3rem !important;
  font-weight: 780 !important;
  line-height: 1.3 !important;
}

#proposal .phase-card dl {
  display: grid !important;
  grid-column: 2;
  grid-template-columns: 4.7rem minmax(0, 1fr) !important;
  gap: 0.65rem 0.9rem !important;
  align-content: start;
}

#proposal .phase-card dt {
  color: #2a75b2 !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.04em !important;
}

#proposal .phase-card dd {
  color: var(--proposal-copy) !important;
  font-size: 0.8125rem !important;
  line-height: 1.6 !important;
}

#proposal .phase-card dd:has(i) {
  display: block !important;
}

#proposal .phase-card dd i {
  display: inline !important;
  color: #315f87 !important;
  font-size: 0.75rem !important;
  font-weight: 650 !important;
  line-height: 1.7 !important;
}

#proposal .phase-card:nth-child(4) > span {
  color: #ffffff !important;
  background: rgba(116, 190, 241, 0.24);
}

#proposal .phase-card:nth-child(4) > h4,
#proposal .phase-card:nth-child(4) dt,
#proposal .phase-card:nth-child(4) dd,
#proposal .phase-card:nth-child(4) dd i {
  color: #ffffff !important;
}

#proposal .phase-card:nth-child(4) dd,
#proposal .phase-card:nth-child(4) dd i {
  color: #d6eafa !important;
}

#proposal .research-loop {
  display: grid !important;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr) !important;
  gap: 2rem !important;
  margin-top: 0.75rem !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 1.25rem 1.5rem !important;
  background: #dceffd !important;
}

#proposal .research-loop strong {
  color: #0d4f8d !important;
  font-size: 0.9375rem !important;
}

#proposal .research-loop p {
  color: #365b7b !important;
  font-size: 0.875rem !important;
}

/* View 03: capability-transfer ledger with a decisive contribution band. */
#proposal .foundation-matrix {
  display: grid;
  gap: 0.55rem;
  margin-top: 2rem !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  counter-reset: evidence;
}

#proposal .foundation-matrix > div {
  display: grid !important;
  grid-template-columns: 3rem minmax(10rem, 0.8fr) minmax(0, 1fr) minmax(0, 1.2fr) !important;
  align-items: center;
  min-height: 0 !important;
  border-radius: 10px;
  background: #f1f8fe;
}

#proposal .foundation-matrix > div:nth-child(odd):not(.matrix-head) {
  background: #e8f4fd;
}

#proposal .foundation-matrix > div:not(.matrix-head) {
  counter-increment: evidence;
}

#proposal .foundation-matrix > div:not(.matrix-head)::before {
  content: "0" counter(evidence);
  padding-left: 1rem;
  color: #2d7ab8;
  font-size: 0.6875rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

#proposal .foundation-matrix .matrix-head {
  border-radius: 0 !important;
  border-bottom: 1px solid var(--proposal-line);
  background: transparent !important;
}

#proposal .foundation-matrix .matrix-head::before {
  content: "序";
  padding-left: 1rem;
  color: #5a7690;
  font-size: 0.6875rem;
  font-weight: 760;
}

#proposal .foundation-matrix > div > * {
  border: 0 !important;
  padding: 1.05rem 1.1rem !important;
}

#proposal .foundation-matrix .matrix-head span {
  color: #51718e !important;
  background: transparent !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.04em !important;
}

#proposal .foundation-matrix [role="cell"] {
  color: var(--proposal-copy) !important;
  font-size: 0.8125rem !important;
  line-height: 1.55 !important;
}

#proposal .foundation-matrix strong[role="cell"] {
  color: var(--proposal-ink) !important;
  font-size: 0.9375rem !important;
  font-weight: 760 !important;
}

#proposal .contribution-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin-top: 1.25rem !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 12px;
  background:
    radial-gradient(circle, rgba(168, 214, 247, 0.16) 0 1px, transparent 1.25px) 0 0 / 24px 24px,
    var(--proposal-blue-deep) !important;
}

#proposal .contribution-grid section {
  display: grid !important;
  grid-template-rows: auto auto 1fr auto auto !important;
  gap: 0.65rem !important;
  min-height: 15rem !important;
  border: 0 !important;
  border-right: 1px solid rgba(175, 215, 244, 0.22) !important;
  border-radius: 0 !important;
  padding: 1.5rem 1.6rem !important;
  background: transparent !important;
  transform: none !important;
}

#proposal .contribution-grid section:last-child {
  border-right: 0 !important;
}

#proposal .contribution-grid section > span {
  color: #8ac8f2 !important;
  font-size: 0.6875rem !important;
}

#proposal .contribution-grid section > h4 {
  color: #ffffff !important;
  font-size: 1.2rem !important;
  font-weight: 760 !important;
}

#proposal .contribution-grid section > p {
  color: #d4e8f7 !important;
  font-size: 0.8125rem !important;
  line-height: 1.65 !important;
}

#proposal .contribution-grid section > em {
  color: #8ac8f2 !important;
  font-size: 0.6875rem !important;
}

#proposal .contribution-grid section > small {
  border-top: 1px solid rgba(175, 215, 244, 0.25) !important;
  padding-top: 0.75rem !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  line-height: 1.55 !important;
}

@media (max-width: 900px) {
  #proposal .proposal-topic-copy h3 b {
    white-space: normal;
  }

  #proposal .rq-chain-wrap,
  #proposal #proposal-framework > .proposal-screen-head,
  #proposal #proposal-foundation > .proposal-screen-head,
  #proposal .framework-stage-grid,
  #proposal .foundation-matrix > div,
  #proposal .contribution-grid {
    grid-template-columns: 1fr !important;
  }

  #proposal .foundation-matrix .matrix-head {
    display: none !important;
  }
}

#proposal .proposal-topic-card .system-map {
  overflow: hidden !important;
  border-left-color: rgba(125, 174, 216, 0.24) !important;
  background: transparent !important;
}

#proposal .proposal-topic-card .system-map::before,
#proposal .proposal-topic-card .system-map::after {
  display: none !important;
  content: none !important;
}

#proposal .proposal-topic-card .system-map-lines {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0;
  width: 100% !important;
  height: 100% !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  pointer-events: none;
}

#proposal .proposal-topic-card .system-map-lines::before,
#proposal .proposal-topic-card .system-map-lines::after {
  display: none !important;
  content: none !important;
}

#proposal .proposal-topic-card .system-map-lines path {
  fill: none;
  stroke: rgba(47, 126, 187, 0.25);
  stroke-width: 0.42;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

#proposal .proposal-topic-card .system-core,
#proposal .proposal-topic-card .system-node {
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  #top {
    background-attachment: scroll;
  }

  #top > .viewport-section:not(.hero)::before,
  #top > .viewport-section:not(.hero)::after {
    animation: none !important;
    opacity: 0.64 !important;
    transform: none !important;
  }
}

/* Proposal typography and alignment pass: shared baselines across all three views. */
#proposal {
  --proposal-label-size: 0.75rem;
  --proposal-body-size: 1rem;
  --proposal-card-title-size: 1.25rem;
  --proposal-panel-title-size: clamp(2rem, 2.15vw, 2.25rem);
  --proposal-label-color: #1769ad;
  --proposal-body-color: #3f5870;
  --proposal-rule: rgba(115, 165, 207, 0.34);
}

#proposal .proposal-tabs {
  margin-top: 2rem !important;
  margin-right: auto !important;
  margin-bottom: 0.75rem !important;
  margin-left: auto !important;
  overflow: visible;
  border: 0 !important;
  border-bottom: 1px solid var(--proposal-rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

#proposal .proposal-tabs button {
  min-height: 3.25rem;
  border-right: 0 !important;
  padding: 0 1.25rem !important;
  color: #60758a !important;
  background: transparent !important;
  font-size: 0.875rem !important;
  font-weight: 650 !important;
}

#proposal .proposal-tabs button::after {
  right: 1.25rem;
  left: 1.25rem;
  height: 2px;
}

#proposal .proposal-tabs button:hover,
#proposal .proposal-tabs button:focus-visible,
#proposal .proposal-tabs button.active {
  color: #0f3558 !important;
  background: transparent !important;
}

#proposal .proposal-tabs button.active {
  font-weight: 800 !important;
}

#proposal .proposal-stage {
  border-color: var(--proposal-rule) !important;
  border-radius: 12px !important;
  background: rgba(252, 254, 255, 0.88) !important;
  box-shadow: 0 4px 8px rgba(38, 78, 113, 0.07) !important;
}

#proposal .proposal-panel-label,
#proposal .proposal-screen-head > span,
#proposal .proposal-topic-copy > span,
#proposal .phase-card dt,
#proposal .contribution-grid em {
  color: var(--proposal-label-color) !important;
  font-size: var(--proposal-label-size) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.08em !important;
}

#proposal .proposal-screen-head {
  display: grid;
  gap: 0.75rem;
  max-width: 68rem !important;
}

#proposal .proposal-screen-head > * {
  margin: 0 !important;
}

#proposal .proposal-screen-head h3 {
  max-width: 27ch;
  color: #102b48 !important;
  font-size: var(--proposal-panel-title-size) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  text-wrap: balance;
}

#proposal .proposal-screen-head p,
#proposal .proposal-topic-copy > p {
  max-width: 65ch;
  color: var(--proposal-body-color) !important;
  font-size: var(--proposal-body-size) !important;
  font-weight: 420 !important;
  line-height: 1.75 !important;
  text-wrap: pretty;
}

#proposal .proposal-topic-card {
  grid-template-columns: minmax(22rem, 0.9fr) minmax(34rem, 1.1fr) !important;
  gap: 4rem !important;
  padding: 3rem 2.75rem 2.5rem !important;
}

#proposal .proposal-topic-copy {
  align-self: center;
}

#proposal .proposal-topic-copy h3 {
  margin: 0.875rem 0 1.25rem !important;
  color: #0d2948 !important;
  font-size: clamp(2.5rem, 2.8vw, 2.875rem) !important;
  font-weight: 820 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  text-wrap: balance;
}

#proposal .proposal-topic-card .system-map {
  min-height: 22rem !important;
  padding-left: 2rem !important;
}

#proposal .proposal-topic-card .system-node {
  display: grid !important;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-content: start;
  column-gap: 0.625rem;
  row-gap: 0.25rem;
  min-height: 6.5rem;
  padding: 0.875rem 1rem !important;
}

#proposal .proposal-topic-card .system-node > span {
  grid-row: 1 / 3;
  grid-column: 1;
  margin: 0 !important;
  color: var(--proposal-label-color) !important;
  font-size: 0.6875rem !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
}

#proposal .proposal-topic-card .system-node > strong {
  grid-row: 1;
  grid-column: 2;
  margin: 0 !important;
  color: #102b48 !important;
  font-size: 0.875rem !important;
  font-weight: 760 !important;
  line-height: 1.35 !important;
}

#proposal .proposal-topic-card .system-node > p {
  grid-row: 2;
  grid-column: 2;
  margin: 0 !important;
  color: #587087 !important;
  font-size: 0.75rem !important;
  font-weight: 430 !important;
  line-height: 1.5 !important;
}

#proposal .rq-chain-wrap {
  padding: 2rem 2.75rem 2.5rem !important;
}

#proposal .rq-chain-wrap .proposal-screen-head h3 {
  max-width: none;
  font-size: clamp(1.625rem, 1.8vw, 1.875rem) !important;
}

#proposal .rq-chain {
  margin-top: 1.5rem;
}

#proposal .rq-chain section {
  display: grid !important;
  grid-template-rows: 1.125rem 2.75rem minmax(7rem, 1fr) 3rem;
  gap: 0.5rem !important;
  min-height: 17rem !important;
  padding: 1.5rem 1.75rem !important;
}

#proposal .rq-chain section > * {
  align-self: start;
  margin: 0 !important;
}

#proposal .rq-chain section > span {
  color: var(--proposal-label-color) !important;
  font-size: 0.75rem !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.06em;
}

#proposal .rq-chain section > strong {
  color: #102b48 !important;
  font-size: var(--proposal-card-title-size) !important;
  font-weight: 760 !important;
  line-height: 1.35 !important;
}

#proposal .rq-chain section > p {
  color: var(--proposal-body-color) !important;
  font-size: 0.9375rem !important;
  font-weight: 420 !important;
  line-height: 1.7 !important;
}

#proposal .rq-chain section > small {
  align-self: end;
  border-top: 1px solid var(--proposal-rule);
  padding-top: 0.75rem;
  color: #1763a0 !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

#proposal #proposal-framework,
#proposal #proposal-foundation {
  padding: 2.75rem !important;
}

#proposal .framework-stage-grid {
  margin-top: 2rem !important;
  background: rgba(246, 251, 255, 0.58);
}

#proposal .phase-card {
  display: grid !important;
  grid-template-rows: 1.125rem 3.25rem 1rem 7.25rem 1rem 5.5rem 1rem 5.5rem;
  row-gap: 0.625rem;
  min-height: 0 !important;
  padding: 1.5rem 1.5rem 1.75rem !important;
}

#proposal .phase-card > span,
#proposal .phase-card > h4,
#proposal .phase-card dt,
#proposal .phase-card dd {
  align-self: start;
  margin: 0 !important;
}

#proposal .phase-card > span {
  color: var(--proposal-label-color) !important;
  font-size: 0.75rem !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.06em;
}

#proposal .phase-card > h4 {
  color: #102b48 !important;
  font-size: var(--proposal-card-title-size) !important;
  font-weight: 760 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.015em !important;
  text-wrap: balance;
}

#proposal .phase-card dl {
  display: contents !important;
}

#proposal .phase-card dt {
  font-style: normal !important;
}

#proposal .phase-card dd {
  color: var(--proposal-body-color) !important;
  font-size: 0.9375rem !important;
  font-weight: 420 !important;
  line-height: 1.7 !important;
}

#proposal .phase-card dd:has(i) {
  display: block !important;
}

#proposal .phase-card dd i {
  color: #365f82 !important;
  font-size: 0.8125rem !important;
  font-weight: 650 !important;
  line-height: 1.65 !important;
}

#proposal .research-loop {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 2rem;
  margin-top: 1.5rem !important;
  border-top: 1px solid var(--proposal-rule) !important;
  padding-top: 1.25rem !important;
}

#proposal .research-loop strong,
#proposal .research-loop p {
  margin: 0 !important;
}

#proposal .research-loop strong {
  color: #143c61 !important;
  font-size: 0.9375rem !important;
  font-weight: 760 !important;
  line-height: 1.6 !important;
}

#proposal .research-loop p {
  color: var(--proposal-body-color) !important;
  font-size: 0.9375rem !important;
  font-weight: 420 !important;
  line-height: 1.7 !important;
}

#proposal .foundation-matrix {
  margin-top: 2rem !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

#proposal .foundation-matrix > div {
  min-height: 4.5rem;
}

#proposal .foundation-matrix .matrix-head span {
  color: #174d78 !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.04em;
}

#proposal .foundation-matrix [role="cell"] {
  margin: 0 !important;
  color: var(--proposal-body-color) !important;
  font-size: 0.9375rem !important;
  font-weight: 420 !important;
  line-height: 1.65 !important;
}

#proposal .foundation-matrix strong[role="cell"] {
  color: #153a5c !important;
  font-weight: 760 !important;
}

#proposal .contribution-grid {
  margin-top: 2rem !important;
}

#proposal .contribution-grid section {
  display: grid !important;
  grid-template-rows: 1.125rem 2.5rem minmax(7rem, 1fr) 1rem 3.5rem;
  row-gap: 0.625rem;
  min-height: 17.5rem;
  padding: 1.5rem 1.75rem !important;
}

#proposal .contribution-grid section > * {
  align-self: start;
  margin: 0 !important;
}

#proposal .contribution-grid section > span {
  color: var(--proposal-label-color) !important;
  font-size: 0.75rem !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.06em;
}

#proposal .contribution-grid section > h4 {
  color: #102b48 !important;
  font-size: var(--proposal-card-title-size) !important;
  font-weight: 760 !important;
  line-height: 1.35 !important;
}

#proposal .contribution-grid section > p {
  color: var(--proposal-body-color) !important;
  font-size: 0.9375rem !important;
  font-weight: 420 !important;
  line-height: 1.7 !important;
}

#proposal .contribution-grid section > small {
  align-self: start;
  border-top: 1px solid var(--proposal-rule);
  padding-top: 0.625rem;
  color: #365f82 !important;
  font-size: 0.8125rem !important;
  font-weight: 650 !important;
  line-height: 1.5 !important;
}

@media (max-width: 900px) {
  #proposal .proposal-topic-card,
  #proposal .research-loop {
    grid-template-columns: 1fr !important;
  }

  #proposal .proposal-topic-card {
    gap: 2rem !important;
  }

  #proposal .phase-card,
  #proposal .contribution-grid section,
  #proposal .rq-chain section {
    display: block !important;
    min-height: 0 !important;
  }

  #proposal .phase-card > *,
  #proposal .contribution-grid section > *,
  #proposal .rq-chain section > * {
    margin-bottom: 0.75rem !important;
  }
}

/* Final proposal navigation state. Keep this after the typography pass. */
#proposal .proposal-tabs {
  border: 0 !important;
  border-bottom: 0 !important;
}

#proposal .proposal-tabs button {
  color: #6b7f92 !important;
}

#proposal .proposal-tabs button:hover,
#proposal .proposal-tabs button:focus-visible {
  color: #376787 !important;
}

#proposal .proposal-tabs button.active,
#proposal .proposal-tabs button.active:hover,
#proposal .proposal-tabs button.active:focus-visible {
  color: #176ed5 !important;
}

#proposal .proposal-tabs button::after {
  right: auto !important;
  left: 1.25rem !important;
  width: min(7.5rem, calc(100% - 2.5rem)) !important;
  background: transparent !important;
}

#proposal .proposal-tabs button.active::after {
  background: #176ed5 !important;
}
