/*
 * 履行实践队 2026 · 信息型成果门户视觉
 * 设计原则：白底、哈工大蓝、高信息密度、图片与文字分离。
 */

:root {
  --brand: #005a84;
  --brand-deep: #003f63;
  --brand-dark: #002f4b;
  --ink: #083f60;
  --muted: #55758a;
  --paper: #ffffff;
  --paper-2: #ffffff;
  --white: #ffffff;
  --line: rgba(0, 90, 132, .18);
  --line-light: rgba(255, 255, 255, .26);
  --accent: var(--brand);
  --accent-soft: rgba(0, 90, 132, .06);
  --teal: var(--brand);
  --sand: var(--brand);
  --brick: var(--brand);
  --qi: var(--brand);
  --qi-paper: #ffffff;
  --red: var(--brand);
  --gold: var(--brand);
  --sans: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: var(--sans);
  --header-height: 76px;
  --page-x: clamp(22px, 5vw, 82px);
  --section-y: clamp(42px, 5vw, 72px);
  --shadow: none;
  --shadow-strong: none;
  --card-radius: 0;
}

body,
body.theme-fujian,
body.theme-qi,
body.theme-service,
body.theme-stars,
body.theme-aid,
body.theme-visuals {
  --accent: var(--brand);
  --accent-soft: rgba(0, 90, 132, .06);
  color: var(--ink);
  background: #fff;
}

body {
  font-size: 15px;
  line-height: 1.65;
}

main { overflow: clip; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.eyebrow {
  display: block;
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
.eyebrow::before { display: none; }

/* Header and navigation */
.site-header,
.site-header.solid {
  height: var(--header-height);
  padding-inline: var(--page-x);
  border-bottom: 1px solid rgba(255, 255, 255, .17);
  background: var(--brand);
  box-shadow: none;
  backdrop-filter: none;
}
.brand { gap: 13px; }
.brand-official {
  width: clamp(212px, 16vw, 250px);
  filter: brightness(0) invert(1);
}
.brand-divider {
  width: 1px;
  height: 27px;
  display: block;
  background: rgba(255, 255, 255, .32);
}
.brand-project {
  display: flex;
  gap: 0;
}
.brand-project strong {
  color: #fff;
  font: 700 13px/1.2 var(--sans);
  letter-spacing: .02em;
}
.brand-project small {
  color: rgba(255, 255, 255, .68);
  font-size: 8px;
  letter-spacing: .08em;
}
.desktop-nav { gap: clamp(9px, 1.15vw, 21px); }
.nav-item > a {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.site-header .nav-item:hover > a,
.site-header .nav-item:focus-within > a,
.site-header .nav-item.active > a {
  color: #fff;
}
.nav-item > a::after {
  bottom: 0;
  height: 3px;
  background: #fff;
}
.nav-chevron {
  width: 5px;
  height: 5px;
}
.topic-dropdown {
  top: 100%;
  width: 286px;
  padding: 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.topic-dropdown-head {
  margin: 0;
  padding: 16px 18px 14px;
  color: var(--brand);
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.topic-dropdown-head small {
  margin-bottom: 3px;
  color: var(--muted);
}
.topic-dropdown-head strong { font: 700 17px var(--sans); }
.topic-dropdown > a {
  min-height: 54px;
  padding: 9px 16px;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 90, 132, .1);
}
.topic-dropdown > a:last-child { border-bottom: 0; }
.topic-dropdown > a:hover,
.topic-dropdown > a:focus-visible {
  color: var(--brand);
  background: rgba(0, 90, 132, .055);
  transform: none;
}
.topic-dropdown > a > span {
  color: var(--brand);
  font: 600 10px var(--sans);
}
.topic-dropdown > a b { font-size: 12px; }
.topic-dropdown > a small { color: var(--muted); }

/* Simple shared elements */
.section {
  padding: var(--section-y) var(--page-x);
  background: #fff;
}
.section-heading {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(280px, 1.3fr);
  gap: 34px;
  align-items: end;
}
.section-heading h2,
.principle-copy h2,
.service-boundary h2 {
  margin: 7px 0 0;
  color: var(--brand-deep);
  font: 700 clamp(28px, 3vw, 42px)/1.2 var(--sans);
  letter-spacing: -.025em;
}
.section-heading > p,
.section-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.section-heading > p + .text-action {
  grid-column: 2;
  margin-top: -16px;
}
.text-action {
  gap: 12px;
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-size: 12px;
}
.button {
  min-width: 0;
  padding: 11px 16px;
  border-radius: 0;
  box-shadow: none;
}
.button:hover {
  transform: none;
  box-shadow: none;
}
.button-secondary,
.button-light {
  color: var(--brand);
  border-color: var(--brand);
  background: #fff;
}
.button-primary,
.button-outline-light {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}
.tag-list span,
.filter-group button,
.filter-block button {
  border-radius: 0;
}
.glass-panel {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.media-block {
  color: #fff;
  background: var(--brand);
}
.media-blueprint,
.media-fujian,
.media-warm,
.media-teal,
.media-qi,
.media-service,
.media-stars,
.media-aid,
.media-visuals {
  color: #fff;
  background: var(--brand);
}
.media-block::before,
.media-block::after,
.placeholder-lines { display: none; }
.media-caption {
  left: 14px;
  bottom: 12px;
  padding: 4px 7px;
  color: #fff;
  border: 0;
  background: var(--brand);
  font-size: 9px;
}
.media-number {
  color: rgba(255, 255, 255, .28);
  font: 700 31px var(--sans);
}

/* Homepage meteor wall: white background, images only, soft white edges. */
.meteor-hero {
  min-height: 590px;
  color: var(--ink);
  background: #fff;
}
.meteor-sky {
  z-index: 1;
  inset: calc(var(--header-height) + 12px) -3vw 18px;
  gap: 10px;
  transform: rotate(-1.6deg) scale(1.035);
}
.meteor-set {
  padding-right: 10px;
  gap: 10px;
}
.meteor-card,
.meteor-size-0,
.meteor-size-1,
.meteor-size-2 {
  border-radius: 2px;
  box-shadow: none;
}
.meteor-card {
  background: var(--brand);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.2,.75,.25,1), filter .28s ease, box-shadow .28s ease;
}
.meteor-card:hover,
.meteor-card:focus-visible,
.meteor-card.is-selected {
  z-index: 6;
  transform: translateY(-2px) scale(1.035);
  filter: brightness(1.08) saturate(1.08);
  box-shadow: 0 12px 28px rgba(0, 61, 96, .18);
  outline: 2px solid rgba(255, 255, 255, .9);
  outline-offset: -2px;
}
.meteor-card:hover .meteor-media,
.meteor-card:focus-visible .meteor-media,
.meteor-card.is-selected .meteor-media { transform: scale(1.025); }
.meteor-media .media-caption,
.meteor-media .media-number,
.meteor-card-copy { display: none !important; }
.meteor-lane {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 2.5%, rgba(0,0,0,.68) 7%, #000 12%, #000 88%, rgba(0,0,0,.68) 93%, rgba(0,0,0,.12) 97.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 2.5%, rgba(0,0,0,.68) 7%, #000 12%, #000 88%, rgba(0,0,0,.68) 93%, rgba(0,0,0,.12) 97.5%, transparent 100%);
}
.meteor-hero::after,
.meteor-hero-copy,
.meteor-scroll { display: none; }
.meteor-lane.is-pointer-paused .meteor-track,
.meteor-lane:has(.meteor-card:hover) .meteor-track,
.meteor-lane:has(.meteor-card:focus-visible) .meteor-track {
  animation-play-state: paused !important;
}

/* Homepage information portal */
.portal-home { background: #fff; }
.portal-intro,
.portal-section {
  width: min(100%, 1500px);
  margin-inline: auto;
  padding: 44px var(--page-x);
  background: #fff;
}
.portal-intro {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(540px, 1.1fr);
  gap: clamp(35px, 6vw, 90px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.portal-intro-copy > span,
.portal-page-title > span {
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
.portal-intro h1 {
  margin: 8px 0 11px;
  color: var(--brand);
  font: 750 clamp(38px, 4vw, 58px)/1.1 var(--sans);
  letter-spacing: -.035em;
}
.portal-intro-copy > strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}
.portal-intro-copy > p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.portal-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--brand);
  border-bottom: 1px solid var(--line);
}
.portal-metrics > span {
  min-width: 0;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.portal-metrics > span:last-child { border-right: 0; }
.portal-metrics strong {
  color: var(--brand);
  font-size: 29px;
  line-height: 1;
}
.portal-metrics small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}
.portal-section { border-bottom: 1px solid var(--line); }
.portal-section-heading {
  margin-bottom: 25px;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(320px, 1fr) auto;
  gap: 30px;
  align-items: end;
}
.portal-section-heading > div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.portal-section-heading > div > span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}
.portal-section-heading h2 {
  margin: 0;
  color: var(--brand-deep);
  font: 750 clamp(26px, 2.5vw, 38px)/1.2 var(--sans);
  letter-spacing: -.025em;
}
.portal-section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.portal-section-heading > a {
  padding-bottom: 5px;
  color: var(--brand);
  border-bottom: 1px solid var(--brand);
  font-size: 11px;
  white-space: nowrap;
}
.portal-section-heading > a span { margin-left: 10px; }

.portal-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--brand);
  border-bottom: 1px solid var(--line);
}
.portal-topic-column {
  min-width: 0;
  padding: 20px 18px 17px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-top: 0 !important;
}
.portal-topic-column:last-child { border-right: 0; }
.portal-topic-column > header {
  min-height: 36px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.portal-topic-column > header span {
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
}
.portal-topic-column h3 {
  margin: 0;
  color: var(--brand-deep);
  font: 700 21px/1.2 var(--sans);
}
.portal-topic-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin: 14px 0;
}
.portal-topic-media .media-caption,
.portal-topic-media .media-number { display: none; }
.portal-topic-column > p {
  min-height: 66px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}
.portal-topic-column nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.portal-topic-column nav a {
  min-height: 40px;
  padding: 9px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  border-bottom: 1px solid rgba(0, 90, 132, .11);
  font-size: 11px;
}
.portal-topic-column nav a:hover {
  color: var(--brand);
  background: rgba(0, 90, 132, .04);
}
.portal-topic-column nav a span { color: var(--brand); }
.portal-topic-all {
  margin-top: auto;
  padding-top: 14px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}
.portal-topic-all span { float: right; }

.portal-course-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--brand);
  border-bottom: 1px solid var(--line);
}
.portal-course-columns > section {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
}
.portal-course-columns > section:last-child { border-right: 0; }
.portal-course-columns header {
  min-height: 54px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.portal-course-columns header span {
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
}
.portal-course-columns h3 {
  margin: 0;
  color: var(--brand-deep);
  font: 700 15px/1.45 var(--sans);
}
.portal-course-columns nav { border-top: 1px solid var(--line); }
.portal-course-columns nav a {
  min-height: 43px;
  padding: 9px 0;
  display: grid;
  grid-template-columns: 25px 1fr auto;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid rgba(0, 90, 132, .11);
}
.portal-course-columns nav a:hover { color: var(--brand); }
.portal-course-columns nav small { color: var(--brand); font-size: 9px; }
.portal-course-columns nav strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portal-course-columns nav span { color: var(--brand); }

.portal-outcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 38px;
  border-top: 2px solid var(--brand);
}
.portal-outcome-row {
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: 28px 86px minmax(0, 1fr) auto 16px;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.portal-outcome-row:hover { background: rgba(0, 90, 132, .04); }
.portal-outcome-row small,
.portal-outcome-row span {
  color: var(--brand);
  font-size: 9px;
}
.portal-outcome-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portal-outcome-row em {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}
.portal-outcome-row b { color: var(--brand); }

.portal-team-route-grid {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(560px, 1.25fr);
  gap: 40px;
  border-top: 2px solid var(--brand);
  border-bottom: 1px solid var(--line);
}
.portal-team-summary { padding: 22px 0; }
.portal-team-summary h3 {
  margin: 0 0 10px;
  color: var(--brand-deep);
  font-size: 20px;
}
.portal-team-summary > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.portal-team-summary > div {
  margin-top: 17px;
  display: flex;
  gap: 24px;
}
.portal-team-summary > div span {
  display: flex;
  flex-direction: column;
}
.portal-team-summary strong { color: var(--brand); font-size: 24px; }
.portal-team-summary small { color: var(--muted); font-size: 9px; }
.portal-route {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
}
.portal-route article {
  min-width: 0;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.portal-route article:last-child { border-right: 0; }
.portal-route small { color: var(--muted); font-size: 9px; }
.portal-route strong {
  margin: 8px 0 2px;
  color: var(--brand-deep);
  font-size: 21px;
}
.portal-route span { color: var(--brand); font-size: 10px; }

/* Large section pages: carousel first, all text below it. */
.topic-carousel-section {
  padding: calc(var(--header-height) + 18px) var(--page-x) 0;
  background: #fff !important;
}
.topic-carousel {
  width: min(100%, 1360px);
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.topic-carousel-stage {
  min-height: 320px;
  aspect-ratio: 16 / 5;
  border-radius: 0;
  background: var(--brand);
}
.topic-slide {
  transform: none;
  transition: opacity .55s ease, visibility .55s;
}
.topic-slide.is-active { transform: none; }
.topic-slide-media .media-caption,
.topic-slide-media .media-number,
.topic-slide-copy { display: none !important; }
.topic-carousel-controls {
  min-height: 50px;
  padding: 0;
  color: var(--brand);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}
.carousel-arrows { gap: 0; }
.carousel-arrows button {
  width: 48px;
  height: 49px;
  color: var(--brand);
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}
.carousel-arrows button:first-child { border-left: 1px solid var(--line); }
.carousel-arrows button:hover {
  color: #fff;
  background: var(--brand);
}
.carousel-dots button { width: 28px; }
.carousel-dots span { background: rgba(0, 90, 132, .2); }
.carousel-dots button.is-active span { background: var(--brand); }
.carousel-count {
  color: var(--muted);
  font: 11px var(--sans);
}
.carousel-count b {
  color: var(--brand);
  font-size: 14px;
}

.portal-page-intro {
  width: min(100%, 1500px);
  margin-inline: auto;
  padding: 38px var(--page-x);
  display: grid;
  grid-template-columns: minmax(280px, .65fr) minmax(480px, 1.35fr);
  gap: clamp(35px, 6vw, 90px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.portal-page-title h1 {
  margin: 7px 0 0;
  color: var(--brand);
  font: 750 clamp(35px, 4vw, 55px)/1.1 var(--sans);
  letter-spacing: -.035em;
}
.portal-page-summary > strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}
.portal-page-summary > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
.portal-page-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.portal-page-actions a {
  padding-bottom: 4px;
  color: var(--brand);
  border-bottom: 1px solid var(--brand);
  font-size: 11px;
  font-weight: 700;
}
.portal-page-actions a span { margin-left: 11px; }

.quick-nav {
  min-height: 50px;
  color: var(--ink);
  border-top: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  backdrop-filter: none;
}
.quick-nav-label { color: var(--brand); }
.quick-nav-links a {
  padding: 16px 17px;
  color: var(--muted);
}
.quick-nav-links a::after { background: var(--brand); }
.quick-nav-links a:hover,
.quick-nav-links a.active { color: var(--brand); }

/* Remove the previous oversized hero language from detail pages. */
.page-hero,
.detail-hero {
  min-height: auto;
  padding: calc(var(--header-height) + 44px) var(--page-x) 44px;
  display: block;
  background: #fff !important;
}
.page-hero::after { background: var(--line); }
.page-hero-copy { max-width: 920px; }
.page-hero h1,
.detail-hero h1 {
  margin: 8px 0 12px;
  color: var(--brand);
  font: 750 clamp(36px, 4vw, 56px)/1.12 var(--sans);
  letter-spacing: -.03em;
}
.page-lead {
  margin-bottom: 8px;
  color: var(--ink);
  font: 600 16px/1.65 var(--sans);
}
.page-intro {
  color: var(--muted);
  font-size: 12px;
}
.page-hero-visual { display: none; }

/* Dense inner content: blue and white only. */
.project-card,
.course-card,
.topic-card,
.outcome-card,
.report-card,
.stage-card,
.digital-card,
.linked-feature,
.empty-note,
.consultation-box,
.thanks-list > div,
.long-term-grid article,
.team-grid article {
  border-radius: 0;
  border-color: var(--line);
  background: #fff;
  box-shadow: none;
}
.project-card:hover,
.course-card:hover,
.outcome-card:hover,
.report-card:hover {
  transform: none;
  border-color: var(--brand);
  box-shadow: none;
}
.project-card h3,
.course-card h3,
.outcome-card h3,
.report-card h3,
.digital-card h3,
.linked-feature h3,
.stage-card h3,
.team-grid h3,
.long-term-grid h3 {
  color: var(--brand-deep);
  font-family: var(--sans);
}
.project-card-top > span,
.course-card-meta > span,
.report-card > span,
.team-grid article > span,
.thanks-list span {
  color: var(--brand);
  font-family: var(--sans);
  font-weight: 700;
}
.project-card > p,
.course-card p,
.outcome-card p,
.report-card p,
.digital-card p,
.linked-feature p,
.stage-card p,
.team-grid p,
.long-term-grid p {
  color: var(--muted);
}
.fujian-principle,
.service-boundary,
.route-section,
.content-logic-section,
.course-section,
.classroom-works,
.qi-section,
.qi-conversion,
.qi-digital,
.stars-section,
.aid-policy-section,
.aid-faq,
.aid-consultation,
.official-channel,
.team-intro-section,
.team-groups-section,
.about-route-section,
.thanks-section,
.long-term-section,
.yunxiao-long-term,
.course-feedback-section {
  color: var(--ink);
  background: #fff !important;
}
.qi-digital .section-heading h2,
.qi-digital .section-heading > p,
.long-term-section .section-heading h2,
.long-term-section .section-heading > p,
.official-channel h2,
.official-channel p {
  color: inherit;
}
.digital-glass {
  color: var(--ink);
  background: #fff;
}
.principle-grid,
.logic-grid,
.team-grid,
.long-term-grid,
.course-grid,
.report-card-grid,
.digital-grid,
.outcome-card-grid,
.entry-pair,
.value-grid,
.stage-list {
  gap: 12px;
}
.principle-grid p,
.logic-grid article {
  background: #fff;
}
.filter-group { margin-top: 0; }
.filter-group button,
.filter-block button {
  color: var(--brand);
  border-color: var(--line);
  background: #fff;
}
.filter-group button:hover,
.filter-group button.active,
.filter-block button:hover,
.filter-block button.active {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}
.official-channel {
  border-top: 5px solid var(--brand);
  border-bottom: 1px solid var(--line);
}
.official-channel .button-light {
  color: #fff;
  background: var(--brand);
}
.course-feedback-card {
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.course-feedback-action {
  border-radius: 0;
  background: var(--brand);
}

/* Public guestbook and private course survey */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  font-size: 12px;
  border-left: 4px solid var(--brand);
  background: rgba(0, 90, 132, .07);
}
.form-notice-error {
  color: #8a2d2d;
  border-left-color: #a34242;
  background: #fff4f4;
}
.guestbook-layout {
  display: grid;
  grid-template-columns: minmax(340px, .72fr) minmax(520px, 1.28fr);
  border-top: 2px solid var(--brand);
  border-bottom: 1px solid var(--line);
}
.guestbook-form {
  padding: 26px 30px 28px 0;
  border-right: 1px solid var(--line);
}
.guestbook-form-head span,
.admin-auth-card > span,
.admin-heading > span {
  color: var(--brand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
}
.guestbook-form-head h3 {
  margin: 5px 0 20px;
  color: var(--brand-deep);
  font-size: 24px;
}
.guestbook-form > label,
.admin-auth-card label {
  margin-top: 14px;
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}
.guestbook-form input,
.guestbook-form textarea,
.admin-auth-card input,
.course-survey-form textarea,
.course-survey-form select {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: #fff;
  font: 12px/1.6 var(--sans);
}
.guestbook-form textarea,
.course-survey-form textarea { resize: vertical; }
.guestbook-form input:focus,
.guestbook-form textarea:focus,
.admin-auth-card input:focus,
.course-survey-form textarea:focus,
.course-survey-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 90, 132, .08);
}
.guestbook-submit {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.guestbook-submit small {
  color: var(--muted);
  font-size: 9px;
}
.guestbook-wall { padding: 26px 0 28px 30px; }
.guestbook-wall-head {
  min-height: 40px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.guestbook-wall-head strong {
  color: var(--brand-deep);
  font-size: 15px;
}
.guestbook-wall-head span {
  color: var(--muted);
  font-size: 9px;
}
.guestbook-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.guestbook-list article {
  min-height: 130px;
  padding: 18px 18px 18px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.guestbook-list article:nth-child(2n) {
  padding-left: 18px;
  border-right: 0;
}
.guestbook-list header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.guestbook-list header strong {
  color: var(--brand);
  font-size: 11px;
}
.guestbook-list time {
  color: var(--muted);
  font-size: 8px;
}
.guestbook-list p {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.75;
}
.guestbook-empty {
  min-height: 220px;
  display: grid;
  place-content: center;
  text-align: center;
}
.guestbook-empty strong { color: var(--brand-deep); }
.guestbook-empty p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.course-survey {
  display: grid;
  grid-template-columns: minmax(280px, .58fr) minmax(560px, 1.42fr);
  border-top: 3px solid var(--brand);
  border-bottom: 1px solid var(--line);
}
.course-survey > .course-feedback-copy {
  padding: 32px 30px 32px 0;
  border-right: 1px solid var(--line);
}
.course-survey .course-feedback-copy h2 {
  margin: 8px 0 12px;
  color: var(--brand-deep);
  font-size: clamp(27px, 3vw, 40px);
}
.course-survey .course-feedback-copy > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.survey-privacy-note {
  margin-top: 22px;
  padding-top: 16px;
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.survey-privacy-note strong { color: var(--brand); font-size: 11px; }
.survey-privacy-note span { color: var(--muted); font-size: 9px; }
.course-survey-form { padding: 28px 0 30px 34px; }
.course-survey-form fieldset {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}
.course-survey-form legend,
.survey-select-grid label > span,
.survey-text > span {
  margin-bottom: 9px;
  display: block;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}
.course-survey-form legend span,
.survey-select-grid b,
.survey-text b {
  margin-right: 9px;
  color: var(--brand);
  font-size: 9px;
}
.survey-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.survey-options label { position: relative; }
.survey-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.survey-options label span {
  min-height: 42px;
  display: grid;
  place-content: center;
  color: var(--muted);
  border-right: 1px solid var(--line);
  font-size: 10px;
  cursor: pointer;
}
.survey-options label:last-child span { border-right: 0; }
.survey-options input:checked + span {
  color: #fff;
  background: var(--brand);
}
.survey-options input:focus-visible + span {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.survey-rating { grid-template-columns: repeat(5, 1fr); }
.survey-select-grid {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.survey-select-grid label { display: block; }
.survey-text {
  margin-top: 14px;
  display: block;
}
.survey-submit {
  margin-top: 24px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}
.survey-submit > div { display: grid; }
.survey-submit small { color: var(--muted); font-size: 8px; }
.survey-submit strong { color: var(--brand-deep); font-size: 13px; }

/* Private administration */
.admin-main {
  min-height: 80vh;
  padding: calc(var(--header-height) + 44px) var(--page-x) 70px;
  background: #fff;
}
.admin-heading,
.admin-auth-card,
.admin-toolbar,
.admin-section,
.admin-main > .form-notice {
  width: min(100%, 1180px);
  margin-inline: auto;
}
.admin-heading {
  padding-bottom: 28px;
  border-bottom: 2px solid var(--brand);
}
.admin-heading h1 {
  margin: 8px 0;
  color: var(--brand);
  font-size: clamp(34px, 5vw, 58px);
}
.admin-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.admin-main > .form-notice { margin-top: 22px; }
.admin-auth-card {
  max-width: 560px;
  margin-top: 36px;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
}
.admin-auth-card h2 {
  margin: 7px 0 10px;
  color: var(--brand-deep);
  font-size: 25px;
}
.admin-auth-card > p {
  color: var(--muted);
  font-size: 11px;
}
.admin-auth-card button { margin-top: 20px; }
.admin-toolbar {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  border: 1px solid var(--line);
}
.admin-toolbar > div {
  padding: 18px;
  display: grid;
  border-right: 1px solid var(--line);
}
.admin-toolbar strong { color: var(--brand); font-size: 25px; }
.admin-toolbar span { color: var(--muted); font-size: 9px; }
.admin-toolbar form { display: grid; }
.admin-toolbar button {
  padding: 0 20px;
  color: #fff;
  border: 0;
  background: var(--brand);
  cursor: pointer;
}
.admin-section { margin-top: 42px; }
.admin-section > header {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: end;
}
.admin-section > header > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.admin-section > header span { color: var(--brand); font-size: 10px; }
.admin-section > header h2 {
  margin: 0;
  color: var(--brand-deep);
  font-size: 28px;
}
.admin-section > header p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}
.admin-message-list { border-top: 2px solid var(--brand); }
.admin-message-list article {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.admin-message-list article > header { display: grid; }
.admin-message-list article > header strong { color: var(--brand); }
.admin-message-list article > header time { color: var(--muted); font-size: 9px; }
.admin-message-list article > p { margin: 0; font-size: 11px; }
.admin-message-list article > div { display: flex; gap: 8px; }
.admin-message-list .button { padding: 8px 13px; font-size: 10px; }
.admin-empty {
  padding: 34px;
  color: var(--muted);
  border-top: 2px solid var(--brand);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.admin-export-card {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
}
.admin-export-card > div { display: grid; }
.admin-export-card strong { color: var(--brand); font-size: 32px; }
.admin-export-card span { color: var(--ink); font-weight: 700; }
.admin-export-card p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }

/* Footer */
.site-footer {
  padding: 40px var(--page-x) 22px;
  color: #fff;
  background: var(--brand-deep);
}
.footer-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
}
.footer-signature small,
.footer-note > span { color: rgba(255,255,255,.72); }
.footer-signature strong {
  margin: 10px 0 8px;
  font: 700 24px var(--sans);
}
.footer-signature p,
.footer-note p { color: rgba(255,255,255,.7); }
.footer-links a { padding: 8px 0; }
.footer-bottom { margin-top: 34px; }

@media (max-width: 1280px) {
  .brand-divider,
  .brand-project { display: none; }
  .mobile-panel {
    background: #fff;
    box-shadow: none;
  }
  .mobile-panel nav > a,
  .mobile-panel nav > details > summary {
    color: var(--ink);
    font: 600 18px var(--sans);
  }
  .mobile-topic-links { border-left-color: var(--brand); }
  .mobile-navigation > summary {
    border-color: rgba(255, 255, 255, .42);
  }
  .mobile-navigation > summary span { background: #fff; }
}

@media (max-width: 980px) {
  .meteor-hero { min-height: 520px; }
  .meteor-sky {
    bottom: 16px;
    grid-template-rows: repeat(3, 1fr);
    transform: rotate(-1.3deg) scale(1.03);
  }
  .meteor-lane-4 { display: none; }
  .portal-intro,
  .portal-page-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .portal-topic-grid,
  .portal-course-columns { grid-template-columns: repeat(2, 1fr); }
  .portal-topic-column:nth-child(2),
  .portal-course-columns > section:nth-child(2) { border-right: 0; }
  .portal-topic-column:nth-child(-n+2),
  .portal-course-columns > section:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .portal-outcome-list { grid-template-columns: 1fr; }
  .portal-team-route-grid { grid-template-columns: 1fr; gap: 0; }
  .guestbook-layout,
  .course-survey { grid-template-columns: 1fr; }
  .guestbook-form,
  .course-survey > .course-feedback-copy {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .guestbook-wall,
  .course-survey-form { padding-left: 0; }
  .portal-route { border-top: 1px solid var(--line); }
  .topic-carousel-stage { min-height: 310px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
    --page-x: 18px;
    --section-y: 36px;
  }
  .site-header { height: var(--header-height); }
  .brand-official { width: min(218px, calc(100vw - 78px)); }
  .meteor-hero { min-height: 430px; }
  .meteor-sky {
    inset: calc(var(--header-height) + 9px) -12vw 12px;
    gap: 7px;
  }
  .meteor-set {
    gap: 7px;
    padding-right: 7px;
  }
  .meteor-card { width: 62vw; }
  .meteor-size-0 { width: 56vw; }
  .meteor-size-1 { width: 75vw; }
  .meteor-size-2 { width: 65vw; }
  .portal-intro,
  .portal-section,
  .portal-page-intro { padding: 30px var(--page-x); }
  .portal-intro h1,
  .portal-page-title h1 { font-size: 36px; }
  .portal-metrics { grid-template-columns: repeat(2, 1fr); }
  .portal-metrics > span:nth-child(2) { border-right: 0; }
  .portal-metrics > span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .portal-section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .portal-section-heading > a {
    width: max-content;
    margin-top: 4px;
  }
  .portal-topic-grid,
  .portal-course-columns { grid-template-columns: 1fr; }
  .portal-topic-column,
  .portal-course-columns > section {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .portal-topic-column:last-child,
  .portal-course-columns > section:last-child { border-bottom: 0; }
  .portal-topic-column > p { min-height: 0; }
  .portal-outcome-row {
    grid-template-columns: 24px 66px minmax(0, 1fr) 14px;
  }
  .portal-outcome-row em { display: none; }
  .portal-team-summary > div { gap: 14px; }
  .portal-route {
    grid-template-columns: repeat(2, 1fr);
    border-left: 0;
  }
  .portal-route article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .portal-route article:nth-child(2n) { border-right: 0; }
  .topic-carousel-section {
    padding: calc(var(--header-height) + 10px) 0 0;
  }
  .topic-carousel-stage {
    min-height: 250px;
    aspect-ratio: 4 / 3;
  }
  .topic-carousel-controls {
    padding-inline: var(--page-x);
    grid-template-columns: auto 1fr auto;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .section-heading h2 { font-size: 29px; }
  .section-heading > p + .text-action {
    grid-column: 1;
    margin-top: 0;
  }
  .project-grid,
  .course-grid,
  .topic-grid,
  .report-card-grid,
  .digital-grid,
  .outcome-card-grid,
  .entry-pair,
  .value-grid,
  .stage-list,
  .team-grid,
  .long-term-grid,
  .principle-grid,
  .logic-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 280px; }
  .guestbook-list { grid-template-columns: 1fr; }
  .guestbook-list article,
  .guestbook-list article:nth-child(2n) {
    padding: 16px 0;
    border-right: 0;
  }
  .survey-select-grid { grid-template-columns: 1fr; }
  .survey-options { grid-template-columns: 1fr; }
  .survey-rating { grid-template-columns: repeat(5, 1fr); }
  .survey-options label span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .survey-rating label span {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .survey-rating label:last-child span { border-right: 0; }
  .survey-submit,
  .guestbook-submit { align-items: flex-start; flex-direction: column; }
  .admin-toolbar { grid-template-columns: repeat(3, 1fr); }
  .admin-toolbar form { grid-column: 1 / -1; min-height: 46px; }
  .admin-section > header { grid-template-columns: 1fr; gap: 7px; }
  .admin-message-list article { grid-template-columns: 1fr; gap: 10px; }
  .admin-export-card { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-note { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

/* Readability pass: keep the editorial hierarchy while removing unreadably small text. */
body { font-size: 16px; }

.brand-project strong { font-size: 14px; }
.brand-project small { font-size: 11px; }
.nav-item > a { font-size: 14px; }
.topic-dropdown-head small { font-size: 10px; }
.topic-dropdown > a b { font-size: 14px; }
.topic-dropdown > a small { font-size: 11px; line-height: 1.5; }

.eyebrow,
.portal-intro-copy > span,
.portal-page-title > span,
.guestbook-form-head span,
.admin-auth-card > span,
.admin-heading > span {
  font-size: 12px;
}
.section-heading > p,
.section-heading p,
.page-intro,
.page-lead,
.detail-hero-copy > p,
.portal-page-summary > p,
.portal-intro-copy > p {
  font-size: 15px;
  line-height: 1.8;
}
.button,
.text-action,
.card-link { font-size: 13px; }
.status-badge,
.tag-list span,
.relation-label,
.filter-group button,
.filter-block button {
  font-size: 11px;
}
.media-caption { font-size: 11px; }
.quick-nav-label { font-size: 11px; }
.quick-nav-links a { font-size: 13px; }

.portal-metrics small { font-size: 12px; }
.portal-section-heading > div > span { font-size: 12px; }
.portal-section-heading > p { font-size: 14px; }
.portal-section-heading > a { font-size: 13px; }
.portal-topic-column > header span { font-size: 11px; }
.portal-topic-column > p { font-size: 14px; line-height: 1.75; }
.portal-topic-column nav a,
.portal-topic-all { font-size: 13px; }
.portal-course-columns header span { font-size: 11px; }
.portal-course-columns h3 { font-size: 16px; }
.portal-course-columns nav small { font-size: 11px; }
.portal-course-columns nav strong { font-size: 13px; }
.portal-outcome-row small,
.portal-outcome-row span,
.portal-outcome-row em { font-size: 11px; }
.portal-outcome-row strong { font-size: 14px; }
.portal-team-summary > p { font-size: 14px; }
.portal-team-summary small,
.portal-route small { font-size: 11px; }
.portal-route span { font-size: 12px; }

.project-card-top small,
.course-card > small,
.works-note > span,
.report-feature > div:first-child > span,
.topic-card > small,
.report-card > small,
.linked-feature > div > span,
.stage-card header small,
.consultation-box > div > span,
.filter-block > span,
.outcome-tags span,
.team-grid article > span,
.thanks-list span {
  font-size: 11px;
}
.project-card > p,
.course-card > p,
.topic-card > p,
.report-card > p,
.digital-card p,
.linked-feature p,
.stage-card p,
.team-grid p,
.long-term-grid p,
.principle-grid p,
.logic-grid p,
.conversion-path p,
.value-card > p,
.faq-list p,
.consultation-box p,
.outcome-card p {
  font-size: 14px;
  line-height: 1.8;
}
.back-link { font-size: 13px; }
.detail-meta span { font-size: 11px; }
.prose-grid p,
.finding-grid article,
.step-grid article { font-size: 14px; line-height: 1.85; }
.quote-list p { font-size: 14px; }
.resource-list span,
.resource-list b,
.source-note,
.empty-note span,
.map-footer,
.place-list p,
.place-list small,
.topic-location,
.feature-link span,
.feature-link b,
.stage-card footer a {
  font-size: 12px;
}
.empty-note p,
.report-feature p,
.digital-glass p,
.stage-card ul,
.official-channel p,
.visual-chapter p {
  font-size: 14px;
}

.carousel-count { font-size: 12px; }
.guestbook-form > label,
.admin-auth-card label { font-size: 13px; }
.guestbook-form input,
.guestbook-form textarea,
.admin-auth-card input,
.course-survey-form textarea,
.course-survey-form select { font-size: 14px; }
.guestbook-submit small,
.guestbook-wall-head span,
.guestbook-list time,
.guestbook-empty p { font-size: 11px; }
.guestbook-wall-head strong { font-size: 16px; }
.guestbook-list header strong { font-size: 13px; }
.guestbook-list p { font-size: 14px; line-height: 1.75; }
.course-survey .course-feedback-copy > p { font-size: 14px; }
.survey-privacy-note strong { font-size: 13px; }
.survey-privacy-note span { font-size: 11px; }
.course-survey-form legend,
.survey-select-grid label > span,
.survey-text > span { font-size: 14px; }
.course-survey-form legend span,
.survey-select-grid b,
.survey-text b { font-size: 11px; }
.survey-options label span { font-size: 13px; }
.survey-submit small { font-size: 11px; }
.survey-submit strong { font-size: 15px; }

.admin-heading p,
.admin-auth-card > p { font-size: 14px; line-height: 1.75; }
.admin-toolbar span { font-size: 12px; }
.admin-section > header span { font-size: 11px; }
.admin-section > header p,
.admin-export-card p { font-size: 13px; }
.admin-message-list article > header time { font-size: 11px; }
.admin-message-list article > p { font-size: 14px; }
.admin-message-list .button { font-size: 12px; }

.footer-signature small { font-size: 11px; }
.footer-signature p,
.footer-note p,
.footer-links a { font-size: 13px; }
.footer-bottom { font-size: 12px; }

@media (max-width: 760px) {
  body { font-size: 15px; }
  .portal-section-heading > p,
  .section-heading > p,
  .section-heading p,
  .portal-intro-copy > p,
  .portal-page-summary > p { font-size: 14px; }
  .portal-topic-column nav a,
  .portal-topic-all,
  .portal-course-columns nav strong { font-size: 14px; }
  .mobile-topic-links a b { font-size: 15px; }
  .mobile-topic-links a small,
  .mobile-topic-links .mobile-topic-home,
  .mobile-panel > p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .meteor-track { animation: none !important; }
}
