/* Restored from 2c70576 (2026-05-11). Scoped to the recovered index sections.
   Reset modern theme declarations here before applying the historical rules.
   MathJax and SVG retain their renderer styles and presentation attributes. */
#legacy-may11 :where(*):where(:not(mjx-container, mjx-container *, svg, svg *)) {
  all: revert;
}
#legacy-may11 {
  --bg: #f5f7f4;
  --ink: #17211d;
  --muted: #5a6861;
  --surface: #ffffff;
  --line: #d8dfd9;
  --accent: #1f7a68;
  --accent-strong: #0e594a;
  --gold: #c58b2b;
  --blue: #456c91;
  --shadow: 0 18px 50px rgba(31, 53, 45, 0.12);
  --radius: 8px;
}

#legacy-may11 * {
  box-sizing: border-box;
}

#legacy-may11 {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
}

#legacy-may11 {
  background: #ffffff;
  overflow-x: hidden;
}

#legacy-may11 a {
  color: inherit;
  text-decoration: none;
}

#legacy-may11 .docs-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  border-bottom: 1px solid #d8dfd9;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  transition: background 300ms ease, border-color 300ms ease;
}

#legacy-may11 .docs-topbar.is-on-cover {
  background: rgba(255, 255, 255, 0);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

#legacy-may11 .docs-topbar.is-on-cover .docs-brand {
  color: #fff;
}

#legacy-may11 .docs-topbar.is-on-cover .docs-brand small {
  color: rgba(255, 255, 255, 0.65);
}

#legacy-may11 .docs-topbar.is-on-cover .docs-actions {
  color: rgba(255, 255, 255, 0.78);
}

#legacy-may11 .docs-topbar.is-on-cover .docs-actions a:hover,
#legacy-may11 .docs-topbar.is-on-cover .docs-actions a.is-current {
  color: #fff;
}

#legacy-may11 .docs-topbar.is-on-cover .brand-mark {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

#legacy-may11 .topbar-logo {
  height: 36px;
  width: auto;
  display: block;
}

#legacy-may11 .docs-topbar.is-on-cover .topbar-logo {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

#legacy-may11 .docs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#legacy-may11 .docs-brand strong,
#legacy-may11 .docs-brand small {
  display: block;
  line-height: 1.15;
}

#legacy-may11 .docs-brand small {
  color: var(--muted);
  font-size: 12px;
}

#legacy-may11 .docs-actions {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

#legacy-may11 .docs-actions a:hover {
  color: var(--accent-strong);
}

#legacy-may11 .docs-actions a.is-current {
  color: var(--accent-strong);
}

#legacy-may11 .cover-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 58px);
  padding: clamp(40px, 8vw, 96px) clamp(20px, 6vw, 72px);
  background-color: #17211d;
  background-image: url("../../assets/cover-hero-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

#legacy-may11 .cover-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    linear-gradient(175deg, rgba(9, 18, 15, 0.78) 0%, rgba(14, 34, 27, 0.65) 40%, rgba(23, 33, 29, 0.72) 100%);
  z-index: 1;
}

#legacy-may11 .cover-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  animation: coverFadeIn 0.9s ease;
}

#legacy-may11 .cover-badge {
  display: inline-block;
  margin: 0 0 22px;
  padding: 5px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#legacy-may11 .cover-title {
  margin: 0 0 28px;
  color: #fff;
  line-height: 1.12;
}

#legacy-may11 .cover-title-main {
  display: block;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

#legacy-may11 .cover-title-sub {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 300;
  letter-spacing: 0.04em;
}

#legacy-may11 .cover-lead {
  max-width: 640px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.8;
}

#legacy-may11 .cover-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 56px;
}

#legacy-may11 .cover-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

#legacy-may11 .cover-btn:hover {
  transform: translateY(-2px);
}

#legacy-may11 .cover-btn--primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 28px rgba(31, 122, 104, 0.4);
}

#legacy-may11 .cover-btn--primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 12px 36px rgba(31, 122, 104, 0.55);
}

#legacy-may11 .cover-btn--ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

#legacy-may11 .cover-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.16);
}

#legacy-may11 .cover-scroll {
  display: grid;
  place-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  animation: coverScrollPulse 2.4s ease-in-out infinite;
}

#legacy-may11 .cover-scroll::before {
  content: "向下滚动探索";
  font-weight: 600;
  letter-spacing: 0.06em;
}

#legacy-may11 .cover-scroll span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 11px;
  position: relative;
}

#legacy-may11 .cover-scroll span::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: coverScrollDot 1.6s ease-in-out infinite;
}

@media (max-width: 760px) {
#legacy-may11 .cover-hero {
    min-height: calc(100vh - 58px);
    padding: 48px 5vw;
  }

#legacy-may11 .cover-title-main {
    font-size: clamp(36px, 11vw, 56px);
  }

#legacy-may11 .cover-title-sub {
    font-size: 18px;
  }

#legacy-may11 .cover-lead {
    font-size: 15px;
    line-height: 1.7;
  }

#legacy-may11 .cover-actions {
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
  }

#legacy-may11 .cover-btn {
    width: 100%;
    max-width: 280px;
  }
}

#legacy-may11 .docs-shell {
  display: grid;
  grid-template-columns: clamp(236px, 22vw, 286px) minmax(0, 1fr);
}

#legacy-may11 .docs-sidebar {
  position: sticky;
  top: 58px;
  align-self: start;
  height: calc(100vh - 58px);
  overflow-y: auto;
  border-right: 1px solid #d8dfd9;
  background: #f7f9f7;
  padding: 22px 18px 34px;
}

#legacy-may11 .sidebar-section + .sidebar-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #d8dfd9;
}

#legacy-may11 .sidebar-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

#legacy-may11 .sidebar-chapter {
  margin: 0;
}

#legacy-may11 .sidebar-chapter + .sidebar-chapter {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #d8dfd9;
}

#legacy-may11 .sidebar-chapter summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

#legacy-may11 .sidebar-chapter summary::-webkit-details-marker {
  display: none;
}

#legacy-may11 .sidebar-chapter summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #77847d;
  border-bottom: 2px solid #77847d;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

#legacy-may11 .sidebar-chapter[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

#legacy-may11 .sidebar-chapter summary:hover {
  background: #edf3f0;
}

#legacy-may11 .docs-sidebar a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  color: #56635d;
  font-size: 14px;
  line-height: 1.35;
}

#legacy-may11 .docs-sidebar a:hover,
#legacy-may11 .docs-sidebar a.is-active {
  color: var(--accent-strong);
  background: #e8f2ef;
}

#legacy-may11 .doc-section {
  scroll-margin-top: 82px;
  padding: 40px 0;
  border-bottom: 1px solid #e5ebe6;
}

#legacy-may11 .doc-hero {
  padding-top: 0;
}

#legacy-may11 .chapter-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

#legacy-may11 h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

#legacy-may11 h2 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

#legacy-may11 .chapter-section-title {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.22;
  letter-spacing: 0;
}

#legacy-may11 h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

#legacy-may11 p {
  margin: 0 0 16px;
  color: #39463f;
  font-size: 16px;
  line-height: 1.75;
}

#legacy-may11 .lead {
  max-width: 820px;
  margin-top: 18px;
  color: #4c5a53;
  font-size: 19px;
}

#legacy-may11 .doc-summary,
#legacy-may11 .callout-grid,
#legacy-may11 .chapter-grid,
#legacy-may11 .concept-flow,
#legacy-may11 .deformation-compare,
#legacy-may11 .object-labels,
#legacy-may11 .timeline,
#legacy-may11 .method-cards,
#legacy-may11 .application-grid {
  display: grid;
  gap: 14px;
}

#legacy-may11 .doc-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

#legacy-may11 .doc-summary div,
#legacy-may11 .doc-callout,
#legacy-may11 .formula-note,
#legacy-may11 .doc-quote,
#legacy-may11 .assumption-list article {
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
}

#legacy-may11 .doc-summary div {
  padding: 18px;
}

#legacy-may11 .doc-summary span,
#legacy-may11 .doc-summary strong {
  display: block;
}

#legacy-may11 .doc-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

#legacy-may11 .doc-summary strong {
  margin-top: 8px;
  color: var(--accent-strong);
  font-size: 18px;
  line-height: 1.35;
}

#legacy-may11 .definition-quote {
  margin: 24px 0 0;
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #f4faf7;
}

#legacy-may11 .definition-quote p {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.7;
}

#legacy-may11 .definition-quote cite {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

#legacy-may11 .timeline {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 20px 0;
}

#legacy-may11 .timeline article,
#legacy-may11 .timeline-card,
#legacy-may11 .definition-card,
#legacy-may11 .method-cards article {
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
  padding: 16px;
}

#legacy-may11 .timeline span,
#legacy-may11 .timeline-card span,
#legacy-may11 .method-cards span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

#legacy-may11 .timeline p,
#legacy-may11 .timeline-card p,
#legacy-may11 .method-cards p,
#legacy-may11 .definition-card p {
  margin-bottom: 0;
}

#legacy-may11 .timeline-card {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

#legacy-may11 .timeline-card:hover,
#legacy-may11 .timeline-card:focus-visible,
#legacy-may11 .timeline-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 104, 0.55);
  background: #eef7f4;
  outline: none;
}

#legacy-may11 .timeline-detail {
  margin: 18px 0 24px;
  padding: 18px;
  border: 1px solid rgba(31, 122, 104, 0.25);
  border-radius: 8px;
  background: #ffffff;
}

#legacy-may11 .timeline-people {
  display: grid;
  gap: 14px;
}

#legacy-may11 .timeline-people article {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e5ebe6;
  border-radius: 8px;
  background: #fbfcfb;
}

#legacy-may11 .timeline-people img {
  display: block;
  width: 100%;
  height: 132px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

#legacy-may11 .timeline-people strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 22px;
}

#legacy-may11 .timeline-people p {
  margin-bottom: 0;
}

#legacy-may11 .definition-card {
  margin: 24px 0;
  border-left: 4px solid var(--accent);
}

#legacy-may11 .compact-hero {
  padding-top: 6px;
}

#legacy-may11 .compact-hero .definition-quote {
  margin-top: 0;
}

#legacy-may11 .scientist-panel {
  display: grid;
  grid-template-columns: 180px 180px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin: 22px 0;
}

#legacy-may11 .scientist-card,
#legacy-may11 .task-layout figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
}

#legacy-may11 .scientist-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #fff;
}

#legacy-may11 .scientist-card figcaption,
#legacy-may11 .task-layout figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

#legacy-may11 .qian-note {
  padding: 18px 20px;
  border: 1px solid #d8dfd9;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fffaf0;
}

#legacy-may11 .qian-note p {
  margin-bottom: 0;
}

#legacy-may11 .definition-card-large h3 {
  color: var(--accent-strong);
  font-size: 26px;
  line-height: 1.25;
}

#legacy-may11 .definition-card-large p {
  font-size: 18px;
  line-height: 1.75;
}

#legacy-may11 .relation-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  padding: 22px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 122, 104, 0.06), rgba(197, 139, 43, 0.06)),
    #f9fbf9;
}

#legacy-may11 .relation-center {
  grid-column: span 4;
  display: grid;
  min-height: 84px;
  place-items: center;
  border: 1px solid rgba(31, 122, 104, 0.28);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}

#legacy-may11 .relation-center strong {
  color: var(--accent-strong);
  font-size: 24px;
}

#legacy-may11 .relation-center span {
  color: var(--muted);
  font-size: 14px;
}

#legacy-may11 .relation-node {
  min-height: 88px;
  padding: 14px 10px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

#legacy-may11 .relation-node span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

#legacy-may11 .relation-node:hover,
#legacy-may11 .relation-node:focus-visible,
#legacy-may11 .relation-node.is-selected {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 104, 0.55);
  background: #e8f2ef;
  outline: none;
}

#legacy-may11 .relation-detail {
  grid-column: span 4;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 122, 104, 0.24);
  border-radius: 8px;
  background: #ffffff;
}

#legacy-may11 .relation-detail strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-size: 18px;
}

#legacy-may11 .relation-detail p {
  margin-bottom: 0;
}

#legacy-may11 .subject-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

#legacy-may11 .subject-card {
  min-height: 112px;
  padding: 18px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  color: var(--ink);
  background: #f9fbf9;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

#legacy-may11 .subject-card span,
#legacy-may11 .subject-card strong {
  display: block;
}

#legacy-may11 .subject-card span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

#legacy-may11 .subject-card strong {
  margin-top: 10px;
  color: var(--accent-strong);
  font-size: 24px;
  line-height: 1.25;
}

#legacy-may11 .subject-card:hover,
#legacy-may11 .subject-card:focus-visible,
#legacy-may11 .subject-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 104, 0.55);
  background: #eef7f4;
  outline: none;
}

#legacy-may11 .subject-detail {
  grid-column: span 3;
  padding: 20px 22px;
  border: 1px solid rgba(31, 122, 104, 0.25);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #ffffff;
}

#legacy-may11 .subject-detail strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 20px;
}

#legacy-may11 .subject-detail p {
  margin-bottom: 0;
}

#legacy-may11 .relation-perspective {
  margin-top: 24px;
}

#legacy-may11 .relation-perspective h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

#legacy-may11 .method-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(min(100%, 280px), 0.95fr);
  gap: 18px;
  margin: 22px 0;
}

#legacy-may11 .method-main,
#legacy-may11 .method-side article {
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
}

#legacy-may11 .method-main {
  padding: 24px;
  border-left: 4px solid var(--accent);
}

#legacy-may11 .method-main span,
#legacy-may11 .method-side span {
  display: block;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

#legacy-may11 .method-main strong {
  display: block;
  margin: 10px 0 12px;
  color: var(--accent-strong);
  font-size: 28px;
  line-height: 1.28;
}

#legacy-may11 .method-main p,
#legacy-may11 .method-side p {
  margin-bottom: 0;
}

#legacy-may11 .method-side {
  display: grid;
  gap: 10px;
}

#legacy-may11 .method-side article {
  padding: 16px 18px;
}

#legacy-may11 .method-flow-diagram {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 28px minmax(120px, 1fr) 28px minmax(120px, 1fr) 28px minmax(120px, 1fr) 28px minmax(120px, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

#legacy-may11 .method-flow-diagram div {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 12px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  color: var(--accent-strong);
  background: #f9fbf9;
  font-weight: 900;
  text-align: center;
}

#legacy-may11 .method-flow-diagram span {
  position: relative;
  height: 2px;
  background: var(--accent);
}

#legacy-may11 .method-flow-diagram span::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -1px;
  border-left: 9px solid var(--accent);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

#legacy-may11 .task-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

#legacy-may11 .task-layout img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: #fff;
}

#legacy-may11 .task-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#legacy-may11 .task-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
}

#legacy-may11 .task-list span {
  color: var(--gold);
  font-weight: 900;
}

#legacy-may11 .task-list p {
  margin-bottom: 0;
}

#legacy-may11 .task-list-full {
  margin-top: 18px;
}

#legacy-may11 .task-list-full li {
  grid-template-columns: 110px minmax(0, 1fr);
}

#legacy-may11 .callout-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

#legacy-may11 .doc-callout {
  padding: 18px;
}

#legacy-may11 .doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  font-size: 15px;
}

#legacy-may11 .doc-table th,
#legacy-may11 .doc-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #d8dfd9;
  text-align: left;
  vertical-align: top;
}

#legacy-may11 .doc-table th {
  background: #eef4f1;
  color: var(--accent-strong);
  font-weight: 900;
}

#legacy-may11 .doc-table tr:last-child td {
  border-bottom: 0;
}

#legacy-may11 .doc-figure {
  margin: 24px 0;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
  overflow: hidden;
}

#legacy-may11 .figure-small {
  max-width: 420px;
}

#legacy-may11 .doc-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

#legacy-may11 .doc-figure figcaption {
  padding: 12px 16px;
  border-top: 1px solid #d8dfd9;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

#legacy-may11 .concept-flow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 18px;
}

#legacy-may11 .concept-flow div,
#legacy-may11 .deformation-compare article {
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
  padding: 16px;
}

#legacy-may11 .concept-flow span,
#legacy-may11 .concept-flow strong {
  display: block;
}

#legacy-may11 .concept-flow span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

#legacy-may11 .concept-flow strong {
  margin-top: 6px;
  color: var(--accent-strong);
  line-height: 1.35;
}

#legacy-may11 .deformation-compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

#legacy-may11 .object-labels {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -10px 0 20px;
}

#legacy-may11 .object-labels span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  color: var(--accent-strong);
  background: #eef4f1;
  font-size: 14px;
  font-weight: 800;
}

#legacy-may11 .formula-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
}

#legacy-may11 .formula-note p:last-child {
  margin-bottom: 0;
}

#legacy-may11 .chapter-page .docs-topbar {
  background: rgba(255, 255, 255, 0.98);
}

#legacy-may11 .stress-article {
  max-width: 1120px;
}

#legacy-may11 .chapter-route,
#legacy-may11 .learning-goals,
#legacy-may11 .tensor-ladder,
#legacy-may11 .notation-grid,
#legacy-may11 .concept-grid,
#legacy-may11 .compare-row,
#legacy-may11 .boundary-tabs,
#legacy-may11 .formula-map,
#legacy-may11 .quiz-list {
  display: grid;
  gap: 14px;
}

#legacy-may11 .chapter-route {
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  margin-top: 28px;
  padding: 16px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
}

#legacy-may11 .route-node {
  min-height: 58px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #fff;
  color: #33413a;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

#legacy-may11 .route-node:hover,
#legacy-may11 .route-node:focus-visible,
#legacy-may11 .route-node.is-selected {
  border-color: rgba(31, 122, 104, 0.55);
  background: #e8f2ef;
  color: var(--accent-strong);
  transform: translateY(-1px);
}

#legacy-may11 .route-detail {
  grid-column: 1 / -1;
  min-height: 82px;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
}

#legacy-may11 .route-detail strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-size: 18px;
}

#legacy-may11 .route-detail p {
  margin-bottom: 0;
}

#legacy-may11 .learning-goals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

#legacy-may11 .learning-goals article,
#legacy-may11 .tensor-ladder article,
#legacy-may11 .notation-grid article,
#legacy-may11 .concept-grid article,
#legacy-may11 .compare-row article,
#legacy-may11 .boundary-tabs article,
#legacy-may11 .formula-map article,
#legacy-may11 .quiz-list article {
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

#legacy-may11 .learning-goals span,
#legacy-may11 .tensor-ladder span,
#legacy-may11 .concept-grid span,
#legacy-may11 .boundary-tabs span,
#legacy-may11 .formula-map span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
}

#legacy-may11 .learning-goals p,
#legacy-may11 .tensor-ladder p,
#legacy-may11 .notation-grid p,
#legacy-may11 .concept-grid p,
#legacy-may11 .compare-row p,
#legacy-may11 .boundary-tabs p,
#legacy-may11 .formula-map p,
#legacy-may11 .quiz-list p {
  margin-bottom: 0;
}

#legacy-may11 .doc-details {
  margin-top: 16px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
  overflow: hidden;
}

#legacy-may11 .doc-details summary {
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  list-style-position: inside;
}

#legacy-may11 .doc-details > p,
#legacy-may11 .doc-details > .tensor-ladder,
#legacy-may11 .doc-details > .tensor-board,
#legacy-may11 .doc-details > .formula-panel,
#legacy-may11 .doc-details > .notation-grid {
  margin: 0 18px 18px;
}

#legacy-may11 .tensor-ladder {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#legacy-may11 .tensor-details {
  background: #fff;
}

#legacy-may11 .tensor-board {
  padding: 22px;
  border: 1px solid #d5deec;
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 18%, rgba(77, 140, 78, 0.08), transparent 28%),
    radial-gradient(circle at 56% 18%, rgba(29, 100, 173, 0.08), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(109, 64, 170, 0.1), transparent 30%),
    #fbfcff;
}

#legacy-may11 .tensor-board-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

#legacy-may11 .tensor-board-title span {
  height: 2px;
  background: #2a4c91;
}

#legacy-may11 .tensor-board-title h3 {
  margin: 0;
  color: #0b2c5c;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.05;
  text-align: center;
}

#legacy-may11 .tensor-stage {
  display: grid;
  grid-template-columns: 1fr 1fr 1.65fr;
  gap: 18px;
}

#legacy-may11 .tensor-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 18px 16px;
  border: 2px solid var(--tensor-color, #d8dfd9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

#legacy-may11 .tensor-card:hover,
#legacy-may11 .tensor-card:focus-visible,
#legacy-may11 .tensor-card.is-selected {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(20, 38, 64, 0.13);
  background: #fff;
}

#legacy-may11 .tensor-card.scalar {
  --tensor-color: #6ca45f;
  --tensor-strong: #2f7b35;
}

#legacy-may11 .tensor-card.vector {
  --tensor-color: #6aa0dd;
  --tensor-strong: #1d64ad;
}

#legacy-may11 .tensor-card.tensor {
  --tensor-color: #b49bd8;
  --tensor-strong: #6d40aa;
}

#legacy-may11 .tensor-card strong {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tensor-strong), color-mix(in srgb, var(--tensor-strong) 70%, #fff));
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
}

#legacy-may11 .tensor-card strong em {
  font-style: normal;
  opacity: 0.9;
}

#legacy-may11 .tensor-card > p {
  margin: 12px 0;
  color: var(--tensor-strong);
  font-weight: 900;
  text-align: center;
}

#legacy-may11 .tensor-card small {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed color-mix(in srgb, var(--tensor-color) 70%, #fff);
  color: #17211d;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

#legacy-may11 .scalar-visual,
#legacy-may11 .vector-visual,
#legacy-may11 .tensor-visual {
  display: grid;
  min-height: 190px;
  place-items: center;
}

#legacy-may11 .scalar-visual {
  grid-template-columns: 80px 1fr;
  gap: 16px;
}

#legacy-may11 .thermometer {
  position: relative;
  width: 44px;
  height: 148px;
  border: 6px solid #b8bec0;
  border-radius: 24px;
  background: #fff;
}

#legacy-may11 .thermometer::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: 62px;
  height: 62px;
  border: 6px solid #b8bec0;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

#legacy-may11 .thermometer i {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 16px;
  height: 102px;
  border-radius: 12px;
  background: linear-gradient(#ff714f, #dd2e22);
  transform: translateX(-50%);
  z-index: 1;
}

#legacy-may11 .thermometer i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dd2e22;
  transform: translateX(-50%);
}

#legacy-may11 .scalar-value,
#legacy-may11 .vector-formula {
  padding: 12px 16px;
  border: 2px solid color-mix(in srgb, var(--tensor-color) 72%, #fff);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tensor-color) 14%, #fff);
  color: var(--tensor-strong);
  font-size: 20px;
  font-weight: 900;
}

#legacy-may11 .vector-visual svg {
  width: min(100%, 230px);
  height: auto;
}

#legacy-may11 .tensor-visual {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#legacy-may11 .matrix-box {
  width: 100%;
  min-width: 180px;
  padding: 12px;
  border: 1px solid #d7cbe8;
  border-radius: 10px;
  background: #fff;
}

#legacy-may11 .cube-stack {
  position: relative;
  width: 160px;
  height: 132px;
}

#legacy-may11 .cube-stack span {
  position: absolute;
  width: 92px;
  height: 92px;
  border: 2px solid #567ca9;
  background:
    linear-gradient(90deg, transparent 30%, rgba(86, 124, 169, 0.25) 31%, transparent 32%, transparent 63%, rgba(86, 124, 169, 0.25) 64%, transparent 65%),
    linear-gradient(0deg, transparent 30%, rgba(86, 124, 169, 0.25) 31%, transparent 32%, transparent 63%, rgba(86, 124, 169, 0.25) 64%, transparent 65%),
    rgba(189, 220, 247, 0.72);
}

#legacy-may11 .cube-stack span:nth-child(1) { left: 0; top: 40px; }

#legacy-may11 .cube-stack span:nth-child(2) { left: 18px; top: 28px; }

#legacy-may11 .cube-stack span:nth-child(3) { left: 36px; top: 16px; }

#legacy-may11 .cube-stack span:nth-child(4) { left: 54px; top: 4px; background-color: rgba(205, 185, 238, 0.72); }

#legacy-may11 .tensor-flow {
  display: grid;
  grid-template-columns: 180px 1fr 36px 1fr 36px 1fr 36px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid #b9c9e4;
  border-radius: 14px;
  background: #fff;
}

#legacy-may11 .tensor-flow strong {
  display: grid;
  min-height: 72px;
  place-items: center;
  border-radius: 10px;
  background: #0d3b73;
  color: #fff;
  font-size: 18px;
  text-align: center;
}

#legacy-may11 .tensor-flow button {
  min-height: 72px;
  border: 0;
  border-radius: 10px;
  background: #f4f7fb;
  color: #0b2c5c;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

#legacy-may11 .tensor-flow button:hover,
#legacy-may11 .tensor-flow button:focus-visible,
#legacy-may11 .tensor-flow button.is-selected {
  background: #e8f2ef;
  color: var(--accent-strong);
}

#legacy-may11 .tensor-flow button span {
  color: #4d5a66;
  font-size: 12px;
  font-weight: 700;
}

#legacy-may11 .tensor-flow i {
  width: 32px;
  height: 3px;
  background: #4e83c5;
}

#legacy-may11 .tensor-flow i::after {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  margin: -4px 0 0 21px;
  border-top: 3px solid #4e83c5;
  border-right: 3px solid #4e83c5;
  transform: rotate(45deg);
}

#legacy-may11 .tensor-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

#legacy-may11 .tensor-notes article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid #f0c986;
  border-radius: 14px;
  background: #fffaf0;
}

#legacy-may11 .tensor-notes article:nth-child(2) {
  border-color: #a9c6ea;
  background: #f3f8ff;
}

#legacy-may11 .tensor-notes span {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  background: #f0a626;
  color: #fff;
  font-weight: 900;
}

#legacy-may11 .tensor-notes article:nth-child(2) span {
  background: #2b78c2;
}

#legacy-may11 .tensor-notes p {
  margin: 0;
}

#legacy-may11 .tensor-detail,
#legacy-may11 .tensor-summary {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #d5deec;
  border-radius: 12px;
  background: #fff;
}

#legacy-may11 .tensor-detail {
  border-left: 5px solid #2b78c2;
}

#legacy-may11 .tensor-detail strong {
  display: block;
  margin-bottom: 6px;
  color: #0b2c5c;
  font-size: 18px;
}

#legacy-may11 .tensor-detail p,
#legacy-may11 .tensor-summary {
  margin-bottom: 0;
}

#legacy-may11 .tensor-summary {
  color: #0b2c5c;
  font-weight: 900;
  text-align: center;
  font-size: 18px;
}

#legacy-may11 .tensor-summary p {
  margin: 0;
}

#legacy-may11 .tensor-keypoint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

#legacy-may11 .tensor-keypoint {
  padding: 20px 22px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
}

#legacy-may11 .tensor-keypoint h4 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-strong);
}

#legacy-may11 .tensor-keypoint h4 span {
  color: var(--gold);
}

#legacy-may11 .tensor-keypoint > p {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.7;
  color: #39463f;
}

#legacy-may11 .tensor-keypoint > p:last-child {
  margin-bottom: 0;
}

#legacy-may11 .coord-transform {
  margin-top: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  text-align: center;
}

#legacy-may11 .coord-transform-svg {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

#legacy-may11 .tensor-board {
  padding: 18px;
  background: #fcfdff;
}

#legacy-may11 .tensor-stage {
  grid-template-columns: minmax(210px, 1fr) 42px minmax(210px, 1fr) 42px minmax(360px, 1.7fr);
  gap: 14px;
  align-items: stretch;
}

#legacy-may11 .tensor-connector {
  align-self: center;
  justify-self: center;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(20, 38, 64, 0.16);
  z-index: 2;
}

#legacy-may11 .tensor-connector--green {
  background: #72ad60;
}

#legacy-may11 .tensor-connector--blue {
  background: #5165bd;
}

#legacy-may11 .tensor-card {
  min-height: 392px;
  border-radius: 16px;
  padding: 16px;
}

#legacy-may11 .tensor-card strong {
  padding: 12px 14px;
  font-size: 28px;
}

#legacy-may11 .tensor-card > p {
  font-size: 18px;
}

#legacy-may11 .scalar-visual,
#legacy-may11 .vector-visual,
#legacy-may11 .tensor-visual {
  min-height: 230px;
}

#legacy-may11 .tensor-visual {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

#legacy-may11 .tensor-subpanel {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 230px;
  padding: 14px;
  border: 1px solid #d7cbe8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
}

#legacy-may11 .tensor-subpanel b {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 0 20px;
  border-radius: 999px;
  background: #6d40aa;
  color: #fff;
  font-size: 16px;
}

#legacy-may11 .matrix-box {
  min-width: 180px;
  border: 0;
  background: transparent;
}

#legacy-may11 .matrix-caption {
  margin-top: 8px;
  padding: 6px 12px;
  border: 1px solid #d7cbe8;
  border-radius: 6px;
  background: #f7f1ff;
}

#legacy-may11 .cube-stack {
  margin-top: 18px;
}

#legacy-may11 .tensor-flow {
  grid-template-columns: 190px minmax(90px, 1fr) 34px minmax(90px, 1fr) 34px minmax(90px, 1fr) 34px minmax(90px, 1fr) 52px;
  border-radius: 14px;
}

#legacy-may11 .tensor-flow strong {
  min-height: 88px;
  border-radius: 12px;
  background: #0d3b73;
  font-size: 20px;
  line-height: 1.4;
}

#legacy-may11 .tensor-flow button {
  min-height: 88px;
  background: #fff;
}

#legacy-may11 .flow-ellipsis {
  color: #566aa4;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
}

#legacy-may11 .tensor-notes article {
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 132px;
}

#legacy-may11 .tensor-notes article:nth-child(2) {
  grid-template-columns: 82px minmax(0, 1fr) 220px;
}

#legacy-may11 .note-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

#legacy-may11 .note-icon--orange {
  background: #f0a626;
}

#legacy-may11 .note-icon--blue {
  background: #2b78c2;
  font-size: 20px;
}

#legacy-may11 .tensor-notes h3 {
  margin: 0 0 6px;
  color: #f0a626;
  font-size: 24px;
}

#legacy-may11 .tensor-notes article:nth-child(2) h3 {
  color: #2b78c2;
}

#legacy-may11 .coordinate-switch {
  width: 220px;
  height: auto;
}

#legacy-may11 .coordinate-switch text {
  fill: #0b2c5c;
  font-size: 14px;
  font-weight: 800;
}

#legacy-may11 .tensor-detail {
  display: none;
}

#legacy-may11 .tensor-summary {
  width: min(760px, 100%);
  margin: 18px auto 0;
  border-color: #cfd8e6;
  border-radius: 999px;
  background: #f8fafc;
  font-size: 18px;
}

#legacy-may11 .tensor-summary span {
  color: #2b5fac;
  font-size: 24px;
}

#legacy-may11 .tensor-svg-board {
  padding: 0;
  border: 0;
  background: transparent;
}

#legacy-may11 .tensor-svg-figure {
  position: relative;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

#legacy-may11 .tensor-svg-figure img {
  display: block;
  width: 100%;
  height: auto;
}

#legacy-may11 .tensor-hotspot {
  position: absolute;
  border: 3px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

#legacy-may11 .tensor-hotspot:hover,
#legacy-may11 .tensor-hotspot:focus-visible,
#legacy-may11 .tensor-hotspot.is-selected {
  border-color: rgba(31, 122, 104, 0.78);
  background: rgba(31, 122, 104, 0.06);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65), 0 10px 26px rgba(20, 38, 64, 0.16);
  outline: none;
}

#legacy-may11 .tensor-hotspot--scalar {
  left: 2.4%;
  top: 6.5%;
  width: 26.4%;
  height: 48.2%;
}

#legacy-may11 .tensor-hotspot--vector {
  left: 30.9%;
  top: 6.5%;
  width: 26.4%;
  height: 48.2%;
}

#legacy-may11 .tensor-hotspot--tensor {
  left: 59.4%;
  top: 6.5%;
  width: 38.2%;
  height: 48.2%;
}

#legacy-may11 .tensor-hotspot--higher {
  left: 74.7%;
  top: 61.8%;
  width: 14.8%;
  height: 14.4%;
  border-radius: 12px;
}

#legacy-may11 .tensor-hotspot--note1 {
  left: 2.4%;
  top: 73.1%;
  width: 45.3%;
  height: 14.8%;
  border-radius: 14px;
}

#legacy-may11 .tensor-hotspot--note2 {
  left: 49.6%;
  top: 73.1%;
  width: 47.8%;
  height: 14.8%;
  border-radius: 14px;
}

#legacy-may11 .tensor-interaction-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

#legacy-may11 .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;
}

#legacy-may11 .formula-panel {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
  overflow-x: auto;
}

#legacy-may11 .formula-panel-large {
  padding: 22px;
}

#legacy-may11 .formula-panel h3 {
  margin-bottom: 12px;
}

#legacy-may11 .formula-panel p:last-child {
  margin-bottom: 0;
}

#legacy-may11 .notation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#legacy-may11 .concept-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

#legacy-may11 .stress-cube-layout,
#legacy-may11 .split-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
}

#legacy-may11 .stress-cube {
  position: relative;
  min-height: 280px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(31, 122, 104, 0.08), rgba(69, 108, 145, 0.08));
  perspective: 820px;
}

#legacy-may11 .cube-face {
  position: absolute;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border: 2px solid rgba(31, 122, 104, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(31, 53, 45, 0.12);
  color: var(--accent-strong);
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease;
}

#legacy-may11 .cube-face span,
#legacy-may11 .cube-face small {
  display: block;
}

#legacy-may11 .cube-face span {
  font-weight: 900;
}

#legacy-may11 .cube-face small {
  color: var(--muted);
  font-size: 12px;
}

#legacy-may11 .cube-face:hover,
#legacy-may11 .cube-face:focus-visible {
  border-color: var(--gold);
  transform: translateY(-4px) scale(1.03);
}

#legacy-may11 .face-front {
  left: 54px;
  top: 92px;
}

#legacy-may11 .face-right {
  left: 140px;
  top: 58px;
  transform: skewY(-16deg);
}

#legacy-may11 .face-right:hover,
#legacy-may11 .face-right:focus-visible {
  transform: skewY(-16deg) translateY(-4px) scale(1.03);
}

#legacy-may11 .face-top {
  left: 86px;
  top: 28px;
  transform: skewX(-28deg) scaleY(0.72);
}

#legacy-may11 .face-top:hover,
#legacy-may11 .face-top:focus-visible {
  transform: skewX(-28deg) scaleY(0.72) translateY(-4px) scale(1.03);
}

#legacy-may11 .compare-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

#legacy-may11 .derivation-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

#legacy-may11 .derivation-flow article,
#legacy-may11 .step-list li {
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #fff;
}

#legacy-may11 .derivation-flow article {
  padding: 16px;
}

#legacy-may11 .derivation-flow span,
#legacy-may11 .step-list span {
  display: inline-grid;
  min-width: 32px;
  min-height: 32px;
  place-items: center;
  border-radius: 999px;
  background: #e8f2ef;
  color: var(--accent-strong);
  font-weight: 900;
}

#legacy-may11 .derivation-flow p {
  margin: 10px 0 0;
}

#legacy-may11 .split-layout {
  align-items: stretch;
}

#legacy-may11 .sketch-card {
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
}

#legacy-may11 .sketch-card svg {
  width: min(100%, 340px);
  height: auto;
}

#legacy-may11 .step-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

#legacy-may11 .step-list li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
}

#legacy-may11 .step-list p {
  margin-bottom: 0;
}

#legacy-may11 .boundary-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

#legacy-may11 .formula-map {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

#legacy-may11 .formula-map p {
  color: var(--ink);
  font-weight: 800;
}

#legacy-may11 .quiz-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

#legacy-may11 .chapter-next {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
}

#legacy-may11 .chapter-next a {
  color: var(--accent-strong);
  font-weight: 900;
}

#legacy-may11 .chapter-next span {
  color: var(--muted);
}

#legacy-may11 .MathJax,
#legacy-may11 mjx-container {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

@media (max-width: 1080px) {
#legacy-may11 .chapter-route,
#legacy-may11 .learning-goals,
#legacy-may11 .tensor-ladder,
#legacy-may11 .concept-grid,
#legacy-may11 .derivation-flow,
#legacy-may11 .boundary-tabs,
#legacy-may11 .formula-map,
#legacy-may11 .quiz-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

#legacy-may11 .notation-grid {
    grid-template-columns: 1fr;
  }

#legacy-may11 .stress-cube-layout,
#legacy-may11 .split-layout {
    grid-template-columns: 1fr;
  }

#legacy-may11 .tensor-stage {
    grid-template-columns: 1fr;
  }

#legacy-may11 .tensor-flow {
    grid-template-columns: 1fr;
  }

#legacy-may11 .tensor-flow i {
    justify-self: center;
    width: 3px;
    height: 28px;
  }

#legacy-may11 .tensor-flow i::after {
    margin: 17px 0 0 -4px;
    transform: rotate(135deg);
  }

#legacy-may11 .tensor-notes {
    grid-template-columns: 1fr;
  }

#legacy-may11 .tensor-keypoint-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
#legacy-may11 .chapter-route,
#legacy-may11 .learning-goals,
#legacy-may11 .tensor-ladder,
#legacy-may11 .concept-grid,
#legacy-may11 .compare-row,
#legacy-may11 .derivation-flow,
#legacy-may11 .boundary-tabs,
#legacy-may11 .formula-map,
#legacy-may11 .quiz-list {
    grid-template-columns: 1fr;
  }

#legacy-may11 .route-detail {
    min-height: auto;
  }

#legacy-may11 .stress-cube {
    min-height: 240px;
  }

#legacy-may11 .cube-face {
    width: 112px;
    height: 112px;
  }

#legacy-may11 .face-front {
    left: 30px;
    top: 94px;
  }

#legacy-may11 .face-right {
    left: 110px;
    top: 62px;
  }

#legacy-may11 .face-top {
    left: 62px;
    top: 34px;
  }

#legacy-may11 .step-list li {
    grid-template-columns: 1fr;
  }

#legacy-may11 .docs-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

#legacy-may11 .tensor-board {
    padding: 14px;
  }

#legacy-may11 .tensor-board-title {
    grid-template-columns: 1fr;
    gap: 10px;
  }

#legacy-may11 .tensor-board-title span {
    display: none;
  }

#legacy-may11 .tensor-board-title h3 {
    font-size: 30px;
  }

#legacy-may11 .tensor-card {
    min-height: auto;
  }

#legacy-may11 .scalar-visual,
#legacy-may11 .tensor-visual {
    grid-template-columns: 1fr;
  }

#legacy-may11 .tensor-notes article {
    grid-template-columns: 1fr;
  }
}

#legacy-may11 .method-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
}

#legacy-may11 .method-equation span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--accent-strong);
  background: #e8f2ef;
  font-weight: 800;
}

#legacy-may11 .method-equation strong {
  color: var(--gold);
  font-size: 20px;
}

#legacy-may11 .method-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

#legacy-may11 .application-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 22px 0;
}

#legacy-may11 .application-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
}

#legacy-may11 .application-grid img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #fff;
}

#legacy-may11 .application-grid figcaption {
  padding: 10px 12px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 800;
}

#legacy-may11 .doc-steps,
#legacy-may11 .doc-list {
  margin: 16px 0 0;
  padding-left: 22px;
  color: #39463f;
}

#legacy-may11 .doc-steps li,
#legacy-may11 .doc-list li {
  margin: 10px 0;
}

#legacy-may11 .assumption-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

#legacy-may11 .assumption-list article {
  padding: 16px;
}

#legacy-may11 .assumption-list article h3 {
  font-size: 20px;
  margin: 0 0 6px;
}

#legacy-may11 .method-cards article h3 {
  font-size: 20px;
}

#legacy-may11 .qian-note h3 {
  font-size: 20px;
  line-height: 1.3;
}

#legacy-may11 .frontier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

#legacy-may11 .frontier-grid article {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr);
  overflow: hidden;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  background: #f9fbf9;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

#legacy-may11 .frontier-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 104, 0.4);
  box-shadow: 0 12px 32px rgba(31, 53, 45, 0.1);
}

#legacy-may11 .frontier-img {
  overflow: hidden;
  border-bottom: 1px solid #d8dfd9;
}

#legacy-may11 .frontier-img img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #fff;
  transition: transform 320ms ease;
}

#legacy-may11 .frontier-grid article:hover .frontier-img img {
  transform: scale(1.04);
}

#legacy-may11 .frontier-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#legacy-may11 .frontier-text {
  padding: 20px;
}

#legacy-may11 .frontier-text h4 {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 20px;
  line-height: 1.3;
}

#legacy-may11 .frontier-text p {
  margin-bottom: 0;
  color: #4c5a53;
  font-size: 16px;
  line-height: 1.7;
}

#legacy-may11 .doc-quote {
  margin-top: 20px;
  padding: 20px;
  border-left: 4px solid var(--gold);
}

#legacy-may11 .doc-quote p {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

#legacy-may11 .doc-quote span {
  color: var(--muted);
  font-size: 14px;
}

#legacy-may11 .chapter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

#legacy-may11 .chapter-grid a {
  padding: 14px 16px;
  border: 1px solid #d8dfd9;
  border-radius: 8px;
  color: var(--accent-strong);
  background: #f9fbf9;
  font-weight: 800;
}

#legacy-may11 .site-footer {
  padding: 28px 6vw;
  text-align: center;
  border-top: 1px solid #d8dfd9;
  background: #f7f9f7;
}

#legacy-may11 .site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

#legacy-may11 .docs-example,
#legacy-may11 .docs-lab,
#legacy-may11 .docs-tools {
  margin-top: 18px;
}

@media (max-width: 1080px) {
#legacy-may11 .docs-shell {
    grid-template-columns: 1fr;
  }

#legacy-may11 .docs-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #d8dfd9;
  }

#legacy-may11 .sidebar-section {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

#legacy-may11 .sidebar-title {
    width: 100%;
  }
}

@media (max-width: 760px) {
#legacy-may11 .docs-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 5vw;
  }

#legacy-may11 .docs-actions {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

#legacy-may11 .doc-summary,
#legacy-may11 .callout-grid,
#legacy-may11 .assumption-list,
#legacy-may11 .chapter-grid,
#legacy-may11 .concept-flow,
#legacy-may11 .deformation-compare,
#legacy-may11 .object-labels,
#legacy-may11 .timeline,
#legacy-may11 .method-cards,
#legacy-may11 .application-grid,
#legacy-may11 .frontier-grid,
#legacy-may11 .frontier-grid--three,
#legacy-may11 .scientist-panel,
#legacy-may11 .task-layout,
#legacy-may11 .timeline-detail,
#legacy-may11 .subject-map,
#legacy-may11 .method-brief {
    grid-template-columns: 1fr;
  }

#legacy-may11 h1 {
    font-size: 36px;
  }

#legacy-may11 .relation-map {
    grid-template-columns: 1fr;
  }

#legacy-may11 .relation-center,
#legacy-may11 .relation-detail,
#legacy-may11 .subject-detail {
    grid-column: auto;
  }

#legacy-may11 .method-flow-diagram {
    grid-template-columns: 1fr;
  }

#legacy-may11 .method-flow-diagram span {
    width: 2px;
    height: 24px;
    justify-self: center;
  }

#legacy-may11 .method-flow-diagram span::after {
    top: auto;
    right: -5px;
    bottom: -2px;
    border-top: 9px solid var(--accent);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    border-bottom: 0;
  }

#legacy-may11 .task-list li {
    grid-template-columns: 1fr;
  }

#legacy-may11 .scientist-card img {
    height: auto;
    max-height: 300px;
  }
}

#legacy-may11 .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  border-bottom: 1px solid rgba(216, 223, 217, 0.82);
  background: rgba(245, 247, 244, 0.92);
  backdrop-filter: blur(18px);
}

#legacy-may11 .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

#legacy-may11 .brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 800;
}

#legacy-may11 .brand strong,
#legacy-may11 .brand small {
  display: block;
  line-height: 1.15;
}

#legacy-may11 .brand small {
  color: var(--muted);
  font-size: 12px;
}

#legacy-may11 .nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

#legacy-may11 .nav a:hover {
  color: var(--accent-strong);
}

#legacy-may11 .section,
#legacy-may11 .section-band {
  padding: 88px 6vw;
}

#legacy-may11 .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 72px);
}

#legacy-may11 .platform-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
}

#legacy-may11 .hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

#legacy-may11 .hero p {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
}

#legacy-may11 .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

#legacy-may11 .button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
}

#legacy-may11 .button.primary {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

#legacy-may11 .button.secondary {
  background: var(--surface);
}

#legacy-may11 .hero-board {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(31, 122, 104, 0.12), rgba(69, 108, 145, 0.08)),
    #ffffff;
  box-shadow: var(--shadow);
}

#legacy-may11 .map-preview {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(31, 122, 104, 0.12), rgba(197, 139, 43, 0.12)),
    #fff;
  box-shadow: var(--shadow);
}

#legacy-may11 .map-node {
  position: absolute;
  top: 42px;
  left: 42px;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 24px;
  font-weight: 900;
}

#legacy-may11 .map-line {
  position: absolute;
  top: 112px;
  right: 80px;
  left: 184px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(31, 122, 104, 0.08));
}

#legacy-may11 .map-cluster {
  position: absolute;
  top: 66px;
  right: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 14px;
}

#legacy-may11 .map-cluster a,
#legacy-may11 .demo-gateway {
  border: 1px solid rgba(216, 223, 217, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(23, 33, 29, 0.08);
}

#legacy-may11 .map-cluster a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  font-weight: 800;
}

#legacy-may11 .demo-gateway {
  position: absolute;
  right: 38px;
  bottom: 42px;
  left: 38px;
  padding: 28px;
  color: #fff;
  background: #17211d;
}

#legacy-may11 .demo-gateway span,
#legacy-may11 .demo-gateway strong {
  display: block;
}

#legacy-may11 .demo-gateway span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
}

#legacy-may11 .demo-gateway strong {
  margin-top: 8px;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.18;
}

#legacy-may11 .intro-board {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(31, 122, 104, 0.12), rgba(69, 108, 145, 0.1)),
    #fff;
  box-shadow: var(--shadow);
  padding: 42px;
}

#legacy-may11 .intro-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(23, 33, 29, 0.08);
  padding: 24px;
}

#legacy-may11 .intro-card.large {
  margin-right: 76px;
}

#legacy-may11 .intro-card.dark {
  margin-top: 34px;
  margin-left: 78px;
  color: #fff;
  background: #17211d;
}

#legacy-may11 .intro-card span,
#legacy-may11 .intro-card strong {
  display: block;
}

#legacy-may11 .intro-card span {
  color: var(--gold);
  font-weight: 900;
}

#legacy-may11 .intro-card strong {
  margin-top: 8px;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.18;
}

#legacy-may11 .intro-arrow {
  margin: 26px 0 0 50%;
  color: var(--accent);
  font-size: 42px;
  font-weight: 900;
}

#legacy-may11 .intro-grid {
  position: absolute;
  right: 42px;
  bottom: 42px;
  left: 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#legacy-may11 .intro-grid span {
  display: grid;
  min-height: 76px;
  place-items: center;
  border: 1px solid rgba(31, 122, 104, 0.28);
  border-radius: var(--radius);
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  text-align: center;
}

#legacy-may11 .tensor-card {
  position: absolute;
  top: 44px;
  left: 42px;
  width: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
}

#legacy-may11 .tensor-card.accent {
  top: 172px;
  right: 42px;
  left: auto;
}

#legacy-may11 .tensor-card span,
#legacy-may11 .tensor-card strong {
  display: block;
}

#legacy-may11 .tensor-card span {
  color: var(--muted);
  font-size: 14px;
}

#legacy-may11 .tensor-card strong {
  margin-top: 12px;
  color: var(--accent-strong);
  font-family: Georgia, serif;
  font-size: 42px;
}

#legacy-may11 .formula-strip {
  position: absolute;
  right: 36px;
  bottom: 46px;
  left: 36px;
  padding: 18px 20px;
  border-radius: var(--radius);
  color: #fff;
  background: #17211d;
  font-weight: 700;
  text-align: center;
}

#legacy-may11 .mesh {
  position: absolute;
  right: 62px;
  bottom: 132px;
  display: grid;
  grid-template-columns: repeat(4, 44px);
  gap: 9px;
  transform: skewY(-11deg);
}

#legacy-may11 .mesh span {
  display: block;
  height: 38px;
  border: 1px solid rgba(31, 122, 104, 0.5);
  background: rgba(31, 122, 104, 0.12);
}

#legacy-may11 .section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

#legacy-may11 .section-heading.narrow {
  max-width: 680px;
}

#legacy-may11 .section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
}

#legacy-may11 .section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

#legacy-may11 .platform-grid,
#legacy-may11 .guide-grid,
#legacy-may11 .derivation-grid,
#legacy-may11 .quiz-grid,
#legacy-may11 .admin-grid,
#legacy-may11 .goal-grid,
#legacy-may11 .relation-grid,
#legacy-may11 .method-flow,
#legacy-may11 .assumption-grid,
#legacy-may11 .meaning-grid {
  display: grid;
  gap: 18px;
}

#legacy-may11 .platform-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#legacy-may11 .platform-card,
#legacy-may11 .guide-grid article,
#legacy-may11 .derivation-grid article,
#legacy-may11 .quiz-grid article,
#legacy-may11 .admin-grid article,
#legacy-may11 .goal-grid article,
#legacy-may11 .relation-grid article,
#legacy-may11 .method-flow article,
#legacy-may11 .assumption-grid article,
#legacy-may11 .meaning-grid article,
#legacy-may11 .calculator-card,
#legacy-may11 .calculator-result {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(23, 33, 29, 0.06);
}

#legacy-may11 .platform-card {
  display: block;
  min-height: 212px;
  padding: 24px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

#legacy-may11 .platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

#legacy-may11 .platform-card span,
#legacy-may11 .derivation-grid span {
  color: var(--gold);
  font-weight: 900;
}

#legacy-may11 .platform-card h3,
#legacy-may11 .guide-grid h3,
#legacy-may11 .derivation-grid h3,
#legacy-may11 .quiz-grid h3,
#legacy-may11 .admin-grid h3,
#legacy-may11 .calculator-card h3,
#legacy-may11 .calculator-result h3 {
  margin: 10px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

#legacy-may11 .platform-card p,
#legacy-may11 .guide-grid p,
#legacy-may11 .derivation-grid p,
#legacy-may11 .quiz-grid p,
#legacy-may11 .calculator-result p {
  margin: 0;
  color: var(--muted);
}

#legacy-may11 .guide-section,
#legacy-may11 .tools-section {
  background: #eef2f0;
}

#legacy-may11 .guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#legacy-may11 .guide-grid article,
#legacy-may11 .derivation-grid article,
#legacy-may11 .quiz-grid article,
#legacy-may11 .admin-grid article,
#legacy-may11 .goal-grid article,
#legacy-may11 .relation-grid article,
#legacy-may11 .method-flow article,
#legacy-may11 .assumption-grid article,
#legacy-may11 .meaning-grid article {
  padding: 24px;
}

#legacy-may11 .goal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#legacy-may11 .goal-grid span,
#legacy-may11 .method-flow span {
  color: var(--gold);
  font-weight: 900;
}

#legacy-may11 .goal-grid h3,
#legacy-may11 .relation-grid h3,
#legacy-may11 .method-flow h3,
#legacy-may11 .assumption-grid h3,
#legacy-may11 .meaning-grid h3 {
  margin: 10px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

#legacy-may11 .goal-grid p,
#legacy-may11 .relation-grid p,
#legacy-may11 .method-flow p,
#legacy-may11 .assumption-grid p,
#legacy-may11 .meaning-grid p {
  margin: 0;
  color: var(--muted);
}

#legacy-may11 .relation-section,
#legacy-may11 .meaning-section {
  background: #fff;
}

#legacy-may11 .relation-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#legacy-may11 .method-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#legacy-may11 .method-flow article {
  position: relative;
  min-height: 220px;
}

#legacy-may11 .method-flow article::after {
  content: "";
  position: absolute;
  top: 36px;
  right: -22px;
  width: 26px;
  height: 2px;
  background: var(--accent);
}

#legacy-may11 .method-flow article:last-child::after {
  display: none;
}

#legacy-may11 .assumption-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#legacy-may11 .meaning-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#legacy-may11 .module-layout,
#legacy-may11 .example-panel,
#legacy-may11 .lab-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
}

#legacy-may11 .module-tabs,
#legacy-may11 .control-panel,
#legacy-may11 .problem-card,
#legacy-may11 .step-card,
#legacy-may11 .module-detail,
#legacy-may11 .roadmap-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(23, 33, 29, 0.06);
}

#legacy-may11 .module-tabs {
  display: grid;
  align-self: start;
  overflow: hidden;
}

#legacy-may11 .module-tab {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

#legacy-may11 .module-tab:last-child {
  border-bottom: 0;
}

#legacy-may11 .module-tab.is-active {
  color: #fff;
  background: var(--accent);
}

#legacy-may11 .module-detail {
  min-height: 360px;
  padding: 36px;
}

#legacy-may11 .module-kicker {
  width: fit-content;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 800;
}

#legacy-may11 .module-detail h3,
#legacy-may11 .problem-card h3,
#legacy-may11 .step-card h3,
#legacy-may11 .roadmap-grid h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

#legacy-may11 .module-detail p,
#legacy-may11 .module-detail li,
#legacy-may11 .problem-card p,
#legacy-may11 .step-card p,
#legacy-may11 .roadmap-grid p {
  color: var(--muted);
}

#legacy-may11 .module-detail ul {
  margin: 24px 0 0;
  padding-left: 22px;
}

#legacy-may11 .split-section {
  background: #eef2f0;
}

#legacy-may11 .topic-strip,
#legacy-may11 .simulation-list,
#legacy-may11 .tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 28px;
}

#legacy-may11 .topic-strip span,
#legacy-may11 .simulation-list span,
#legacy-may11 .tool-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-strong);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

#legacy-may11 .example-panel {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
}

#legacy-may11 .problem-card,
#legacy-may11 .step-card,
#legacy-may11 .control-panel {
  padding: 28px;
}

#legacy-may11 .mini-beam {
  position: relative;
  height: 150px;
  margin-top: 28px;
}

#legacy-may11 .mini-beam .wall {
  position: absolute;
  left: 0;
  top: 22px;
  width: 18px;
  height: 86px;
  background: repeating-linear-gradient(-45deg, #8c978f 0 4px, #cfd6d1 4px 8px);
}

#legacy-may11 .mini-beam .beam {
  position: absolute;
  left: 18px;
  top: 58px;
  width: calc(100% - 48px);
  height: 18px;
  background: var(--blue);
}

#legacy-may11 .mini-beam .load {
  position: absolute;
  right: 26px;
  top: 48px;
  width: 2px;
  height: 74px;
  background: var(--gold);
}

#legacy-may11 .mini-beam .load::after {
  content: "";
  position: absolute;
  left: -7px;
  bottom: 0;
  border-top: 14px solid var(--gold);
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}

#legacy-may11 .step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

#legacy-may11 .icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-strong);
  background: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

#legacy-may11 .formula-box {
  min-height: 68px;
  margin-top: 28px;
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #f0f7f4;
  color: var(--accent-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

#legacy-may11 .lab-grid {
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: stretch;
}

#legacy-may11 .derivation-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#legacy-may11 .tools-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

#legacy-may11 .calculator-card,
#legacy-may11 .calculator-result {
  padding: 28px;
}

#legacy-may11 .calculator-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 700;
}

#legacy-may11 .calculator-card input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

#legacy-may11 .calculator-card .button {
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
}

#legacy-may11 .quiz-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#legacy-may11 .admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#legacy-may11 .admin-grid ul {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

#legacy-may11 .control-panel {
  align-self: start;
}

#legacy-may11 .control-panel label {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 700;
}

#legacy-may11 input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

#legacy-may11 .result-grid {
  display: grid;
  gap: 12px;
}

#legacy-may11 .result-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf8;
}

#legacy-may11 .result-grid span,
#legacy-may11 .result-grid strong {
  display: block;
}

#legacy-may11 .result-grid span {
  color: var(--muted);
  font-size: 13px;
}

#legacy-may11 .result-grid strong {
  margin-top: 4px;
  color: var(--accent-strong);
  font-size: 20px;
}

#legacy-may11 .canvas-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

#legacy-may11 canvas {
  display: block;
  width: 100%;
  height: auto;
}

#legacy-may11 .roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

#legacy-may11 .roadmap-grid article {
  padding: 24px;
}

#legacy-may11 .roadmap-grid span {
  color: var(--gold);
  font-weight: 800;
}

#legacy-may11 .footer {
  padding: 34px 6vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}

@media (max-width: 980px) {
#legacy-may11 .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 5vw;
  }

#legacy-may11 .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

#legacy-may11 .hero,
#legacy-may11 .module-layout,
#legacy-may11 .example-panel,
#legacy-may11 .lab-grid,
#legacy-may11 .tools-grid {
    grid-template-columns: 1fr;
  }

#legacy-may11 .hero {
    min-height: auto;
    padding-top: 58px;
  }

#legacy-may11 .hero-board {
    min-height: 420px;
  }

#legacy-may11 .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

#legacy-may11 .platform-grid,
#legacy-may11 .guide-grid,
#legacy-may11 .derivation-grid,
#legacy-may11 .quiz-grid,
#legacy-may11 .goal-grid,
#legacy-may11 .relation-grid,
#legacy-may11 .method-flow,
#legacy-may11 .assumption-grid,
#legacy-may11 .meaning-grid,
#legacy-may11 .frontier-grid,
#legacy-may11 .frontier-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

#legacy-may11 .method-flow article::after {
    display: none;
  }
}

@media (max-width: 640px) {
#legacy-may11 .section,
#legacy-may11 .section-band {
    padding: 58px 5vw;
  }

#legacy-may11 .hero h1 {
    font-size: 38px;
  }

#legacy-may11 .hero-board {
    min-height: 360px;
  }

#legacy-may11 .map-preview {
    min-height: 520px;
  }

#legacy-may11 .map-node {
    top: 24px;
    left: 24px;
    width: 110px;
    height: 110px;
    font-size: 20px;
  }

#legacy-may11 .map-line {
    display: none;
  }

#legacy-may11 .map-cluster {
    top: 154px;
    right: 22px;
    left: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

#legacy-may11 .demo-gateway {
    right: 22px;
    bottom: 24px;
    left: 22px;
  }

#legacy-may11 .tensor-card {
    left: 22px;
    width: 148px;
  }

#legacy-may11 .tensor-card.accent {
    right: 22px;
  }

#legacy-may11 .mesh {
    right: 32px;
    grid-template-columns: repeat(4, 30px);
  }

#legacy-may11 .mesh span {
    height: 28px;
  }

#legacy-may11 .roadmap-grid {
    grid-template-columns: 1fr;
  }

#legacy-may11 .platform-grid,
#legacy-may11 .guide-grid,
#legacy-may11 .derivation-grid,
#legacy-may11 .quiz-grid,
#legacy-may11 .admin-grid,
#legacy-may11 .goal-grid,
#legacy-may11 .relation-grid,
#legacy-may11 .method-flow,
#legacy-may11 .assumption-grid,
#legacy-may11 .meaning-grid {
    grid-template-columns: 1fr;
  }

#legacy-may11 .intro-board {
    min-height: 520px;
    padding: 24px;
  }

#legacy-may11 .intro-card.large,
#legacy-may11 .intro-card.dark {
    margin-right: 0;
    margin-left: 0;
  }

#legacy-may11 .intro-grid {
    right: 24px;
    bottom: 24px;
    left: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Match the current course palette without changing historical card layouts. */
#legacy-may11 {
  --ink: #222b31;
  --muted: #56626a;
  --line: #dce1e5;
  --accent: #0079ba;
  --accent-strong: #006398;
  --gold: #006398;
  --blue: #0079ba;
}
#legacy-may11 :is(.method-main, .method-side article, .method-cards article,
  .task-list li, .assumption-list article, .frontier-grid article, .chapter-next) {
  background-color: #fff;
  border-color: var(--line);
}
#legacy-may11 :is(.method-main, .doc-quote, .formula-note, .doc-callout) {
  background-color: #f5f8fa;
  border-color: var(--line);
  border-left-color: var(--accent);
}
#legacy-may11 :is(h3, h4, .method-main strong) { color: #22516b; }
#legacy-may11 p { color: #3d4951; }
#legacy-may11 .frontier-text p { color: #3d4951; }
#legacy-may11 .doc-quote p { color: var(--ink); }
#legacy-may11 .frontier-img { border-bottom-color: var(--line); }
#legacy-may11 .frontier-grid article:hover {
  border-color: #8bbbd5;
  box-shadow: 0 12px 32px rgba(34, 81, 107, 0.1);
}
#legacy-may11 .doc-section { border-bottom-color: var(--line); }

/* Expanded continuity assumption uses the full reading width. */
#legacy-may11 .assumption-list .continuity-assumption-card,
#legacy-may11 .assumption-list .homogeneity-assumption-card,
#legacy-may11 .assumption-list .isotropy-assumption-card,
#legacy-may11 .assumption-list .small-deformation-assumption-card,
#legacy-may11 .assumption-list .assumption-detail-card {
  grid-column: 1 / -1;
  padding: 24px;
  border-top: 3px solid var(--accent);
}
#legacy-may11 .continuity-assumption-card > h3 { margin: 0 0 16px; }
#legacy-may11 .continuity-assumption-card .continuity-definition,
#legacy-may11 .homogeneity-assumption-card .assumption-definition,
#legacy-may11 .isotropy-assumption-card .assumption-definition,
#legacy-may11 .small-deformation-assumption-card .assumption-definition,
#legacy-may11 .assumption-detail-card .assumption-definition {
  padding: 14px 18px;
  margin: 0 0 14px;
  border-radius: 4px;
  background: #f5f8fa;
  line-height: 1.9;
}
#legacy-may11 .continuity-assumption-card .continuity-model-note {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
#legacy-may11 .continuity-explanation,
#legacy-may11 .assumption-explanation { margin: 0; }
#legacy-may11 .continuity-explanation > div,
#legacy-may11 .assumption-explanation > div {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
#legacy-may11 .continuity-explanation dt,
#legacy-may11 .assumption-explanation dt {
  margin: 0;
  color: #22516b;
  font-weight: 700;
  line-height: 1.9;
}
#legacy-may11 .continuity-explanation dd,
#legacy-may11 .assumption-explanation dd {
  margin: 0;
  min-width: 0;
  color: #3d4951;
  line-height: 1.9;
}
#legacy-may11 .continuity-explanation .continuity-fields,
#legacy-may11 .assumption-explanation .assumption-fields { margin: 10px 0 0; }
#legacy-may11 .assumption-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
#legacy-may11 .assumption-list .assumption-heading h3 { margin: 0; }
@media (max-width: 760px) {
  #legacy-may11 .assumption-list .continuity-assumption-card,
  #legacy-may11 .assumption-list .homogeneity-assumption-card,
  #legacy-may11 .assumption-list .isotropy-assumption-card,
  #legacy-may11 .assumption-list .small-deformation-assumption-card,
  #legacy-may11 .assumption-list .assumption-detail-card { padding: 18px; }
  #legacy-may11 .continuity-explanation > div,
  #legacy-may11 .assumption-explanation > div { grid-template-columns: 1fr; gap: 6px; }
}

/* Section titles match the current course typography. */
#legacy-may11 .doc-section > h2 {
  font-size: 26px;
  line-height: 1.5;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  color: var(--ink);
}
#legacy-may11 #method { container-type: inline-size; padding-top: 0; }
#legacy-may11 .microelement-note {
  display: grid;
  gap: 18px;
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  background: #f5f8fa;
}
#legacy-may11 .microelement-note-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
#legacy-may11 .microelement-note-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid #dce1e5;
  border-top: 3px solid #0079ba;
  border-radius: 6px;
  background: #fff;
}
@container (max-width: 640px) {
  #legacy-may11 .microelement-note-cards { grid-template-columns: 1fr; }
}
#legacy-may11 .microelement-note h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: #22516b;
}
#legacy-may11 .microelement-note h4 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.6;
  color: #22516b;
}
#legacy-may11 .microelement-note p { margin: 0; line-height: 1.9; }
#legacy-may11 .microelement-note .microelement-scale-note {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
#legacy-may11 .microelement-video-figure {
  margin: 24px 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
#legacy-may11 .microelement-video-figure video {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: none;
  min-width: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 6px;
}
#legacy-may11 .method-process { margin: 24px 0; }
#legacy-may11 .method-process-step,
#legacy-may11 .method-stage-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
#legacy-may11 .method-process-step {
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  background: #f5f8fa;
}
#legacy-may11 .method-process-step > div { min-width: 0; }
#legacy-may11 .method-step-number,
#legacy-may11 .assumption-step-number {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #eaf4fa;
  color: #006398;
  font-size: 14px;
  font-weight: 700;
}
#legacy-may11 .method-process h3,
#legacy-may11 .method-features h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.5;
  color: #22516b;
}
#legacy-may11 .method-process p { margin: 0; line-height: 1.9; }
#legacy-may11 .method-process-arrow {
  display: block;
  margin: 10px 0;
  text-align: center;
  font-size: 24px;
  line-height: 1;
  color: var(--accent);
}
#legacy-may11 .method-stage-heading { margin-bottom: 14px; align-items: center; }
#legacy-may11 .method-stage-heading h3 { margin: 0; }
#legacy-may11 .method-analysis-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
#legacy-may11 .method-analysis-cards article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
#legacy-may11 .method-analysis-label {
  display: block;
  margin-bottom: 8px;
  color: #006398;
  font-size: 14px;
  line-height: 1.6;
}
#legacy-may11 .method-features { padding-top: 20px; border-top: 1px solid var(--line); }
#legacy-may11 .method-features ul { margin: 0; padding-left: 1.4em; }
#legacy-may11 .method-features li { padding-left: 4px; margin-bottom: 10px; line-height: 1.9; color: #3d4951; }
#legacy-may11 .method-features li:last-child { margin-bottom: 0; }
@container (max-width: 640px) {
  #legacy-may11 .method-analysis-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  #legacy-may11 .doc-section > h2 { font-size: 23px; }
  #legacy-may11 .method-process-step { padding: 16px; gap: 10px; }
  #legacy-may11 .method-process h3,
  #legacy-may11 .method-features h3 { font-size: 19px; }
  #legacy-may11 .method-analysis-cards { grid-template-columns: 1fr; }
}
