:root {
  --ink: #17201d;
  --muted: #5b6963;
  --paper: #f4f5f1;
  --white: #ffffff;
  --line: #d5dad6;
  --forest: #0d6b54;
  --forest-dark: #10211d;
  --cyan: #27c7c5;
  --amber: #f2aa3b;
  --red: #d95d4e;
  --blue: #2978a0;
  --header-height: 68px;
  --container: 1180px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, canvas, iframe { display: block; max-width: 100%; }
p, h1, h2, h3 { margin-top: 0; }
p { line-height: 1.7; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 14px;
  color: var(--white); background: var(--forest); border-radius: 4px;
}
.skip-link:focus { top: 12px; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.band { padding: 96px 0; }
.section-kicker, .eyebrow {
  margin-bottom: 16px; color: var(--forest); font-size: 12px; font-weight: 800;
  line-height: 1.2; letter-spacing: 0; text-transform: uppercase;
}
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 48px; }
.section-heading h2, .intro-layout h2, .workflow-copy h2, .access-layout h2,
.objectives-layout h2, .references-layout h2 {
  margin-bottom: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(34px, 4vw, 54px);
  font-weight: 500; line-height: 1.1; letter-spacing: 0;
}
.text-link { padding: 8px 0; border-bottom: 1px solid currentColor; color: var(--forest); font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-height);
  color: var(--ink); background: rgba(244, 245, 241, .96); border-bottom: 1px solid rgba(23, 32, 29, .14);
  backdrop-filter: blur(14px);
}
.header-inner { width: min(calc(100% - 40px), 1320px); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto;
  color: var(--white); background: var(--forest-dark); border-radius: 4px; font-size: 11px; font-weight: 900;
}
.brand-copy { display: grid; gap: 2px; min-width: 0; }
.brand-copy strong { font-size: 15px; line-height: 1.15; white-space: nowrap; }
.brand-copy small { color: var(--muted); font-size: 10px; line-height: 1.1; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 9px 11px; color: #33413b; border-bottom: 2px solid transparent; font-size: 13px; font-weight: 650; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--forest); }
.site-nav .nav-ai { margin-left: 6px; color: var(--white); background: var(--forest-dark); border: 1px solid var(--forest-dark); border-radius: 4px; }
.site-nav .nav-ai:hover, .site-nav .nav-ai[aria-current="page"] { color: var(--white); border-bottom-color: var(--cyan); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; }

.button {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px;
  border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 800; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: #0c201b; background: var(--cyan); }
.button.secondary { color: var(--white); background: transparent; border-color: rgba(255,255,255,.48); }
.button.dark { color: var(--white); background: var(--forest-dark); }
.button.outline { color: var(--forest-dark); background: transparent; border-color: #89958f; }
.button.outline:hover { color: var(--white); background: var(--forest-dark); border-color: var(--forest-dark); }
.icon-button {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid #89958f;
  border-radius: 4px; color: var(--forest-dark); background: transparent; font-size: 24px; line-height: 1; cursor: pointer;
}

/* Home hero: a high-key course plate and the live flow canvas share the visual field. */
.course-hero {
  position: relative; min-height: min(790px, calc(100vh - var(--header-height) - 42px));
  overflow: hidden; color: var(--ink); background: #f8faf8;
}
.hero-plate { position: absolute; z-index: 0; inset: 0 0 0 34%; overflow: hidden; }
.hero-plate img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: saturate(.72) contrast(.9) brightness(1.2); opacity: .72;
}
.course-hero::after {
  position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none;
  background: linear-gradient(90deg, #f8faf8 0%, #f8faf8 37%, rgba(248,250,248,.93) 52%, rgba(248,250,248,.34) 72%, rgba(248,250,248,.08) 100%);
}
.hero-flow, .hero-grid { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; }
.hero-grid { pointer-events: none; }
.hero-inner {
  position: relative; z-index: 4; width: min(calc(100% - 48px), 1320px); min-height: inherit; margin-inline: auto;
  padding: clamp(60px, 9vh, 100px) 0 34px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.hero-inner .eyebrow { color: var(--forest); }
.course-hero h1 {
  max-width: 720px; margin-bottom: 12px; color: #17201d; font-family: Georgia, "Songti SC", serif;
  font-size: clamp(62px, 8.2vw, 116px); font-weight: 500; line-height: .94; letter-spacing: 0;
}
.hero-en { margin-bottom: 26px; color: #087d75; font-family: Georgia, serif; font-size: clamp(18px, 2.2vw, 28px); line-height: 1.2; }
.hero-lead { max-width: 700px; margin-bottom: 28px; color: #42534c; font-size: clamp(16px, 1.5vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.course-hero .button.primary { color: var(--white); background: var(--forest-dark); }
.course-hero .button.secondary { color: var(--forest-dark); background: rgba(255,255,255,.58); border-color: #89958f; }
.hero-meta {
  width: min(760px, 100%); margin-top: auto; padding-top: 42px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(23,32,29,.24);
}
.hero-meta div { display: grid; gap: 6px; padding-right: 20px; }
.hero-meta span { color: #697972; font-size: 11px; }
.hero-meta strong { color: var(--ink); font-size: 15px; }
.hero-system { position: absolute; z-index: 3; right: max(24px, calc((100vw - 1320px) / 2)); top: 13%; width: min(44vw, 600px); height: 64%; opacity: .88; }
.system-caption { position: absolute; right: 0; top: 0; color: #42655b; font-size: 11px; font-weight: 800; }
.system-node {
  position: absolute; width: 108px; min-height: 72px; padding: 13px 12px; display: grid; align-content: center;
  border: 1px solid rgba(13,107,84,.3); border-radius: 6px; color: var(--ink); background: rgba(255,255,255,.82);
  box-shadow: 0 8px 24px rgba(16,33,29,.12); backdrop-filter: blur(7px);
}
.system-node span { color: var(--forest); font-weight: 900; font-size: 18px; }
.system-node small { margin-top: 4px; color: #60736b; font-size: 10px; }
.node-engine { right: 58%; top: 20%; }
.node-generator { right: 32%; top: 20%; }
.node-bus { right: 5%; top: 20%; }
.node-battery { right: 32%; top: 56%; border-color: rgba(242,170,59,.65); }
.node-battery span { color: var(--amber); }
.node-motor { right: 5%; top: 56%; }
.node-prop { right: 5%; top: 85%; }

.home-labs-band { padding-block: 82px 90px; background: #e9eeea; }
.home-labs-heading { align-items: end; }
.home-labs-heading > div { max-width: 690px; }
.home-labs-heading > p { max-width: 420px; margin: 0; color: var(--muted); }
.home-labs-footer { margin-top: 30px; display: flex; justify-content: flex-end; }

.intro-band { padding-top: 88px; background: var(--white); }
.intro-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; align-items: start; }
.intro-copy > p { margin-bottom: 32px; color: #34423c; font-size: 19px; }
.orientation-axis { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.orientation-axis span { display: grid; gap: 7px; padding: 20px 16px; border-right: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.orientation-axis span:last-child { border-right: 0; }
.orientation-axis b { color: var(--forest); font-size: 12px; }

.modules-band { background: var(--paper); }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #aab4af; border-bottom: 1px solid #aab4af; }
.module-item { min-width: 0; padding: 28px 24px 30px; border-right: 1px solid #aab4af; }
.module-item:last-child { border-right: 0; }
.module-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 42px; }
.module-topline span { color: var(--forest); font-family: Georgia, serif; font-size: 28px; }
.module-topline small { color: var(--muted); }
.module-item h3 { margin-bottom: 6px; font-family: Georgia, "Songti SC", serif; font-size: 27px; font-weight: 600; }
.module-en { margin-bottom: 18px; color: var(--forest); font-size: 12px; }
.module-item > p:not(.module-en) { min-height: 112px; color: var(--muted); font-size: 14px; }
.module-item ul { margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.module-item li { padding: 6px 0; font-size: 13px; }
.module-item li::before { content: "+"; display: inline-block; width: 20px; color: var(--forest); font-weight: 900; }

.workflow-band { color: var(--white); background: #1f3430; }
.workflow-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; align-items: start; }
.workflow-copy .section-kicker { color: var(--cyan); }
.workflow-copy p:not(.section-kicker) { margin: 28px 0; color: #c6d3ce; font-size: 17px; }
.workflow-copy .button.dark { color: var(--forest-dark); background: var(--white); }
.workflow-steps { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.26); list-style: none; }
.workflow-steps li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.workflow-steps > li > span { color: var(--amber); font-family: Georgia, serif; font-size: 20px; }
.workflow-steps strong { font-size: 18px; }
.workflow-steps p { margin: 5px 0 0; color: #aebeb8; font-size: 14px; }

.access-band { background: var(--white); }
.access-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: end; }
.access-actions { display: grid; border-top: 1px solid var(--line); }
.access-link { display: grid; grid-template-columns: 112px 1fr auto; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.access-link span { color: var(--forest); font-size: 12px; font-weight: 800; }
.access-link strong { font-size: 17px; }
.access-link small { color: var(--muted); }
.access-link:hover strong { color: var(--forest); }

/* Shared inner pages */
.page-lead { padding: 96px 0 72px; color: var(--white); background: #1f3430; }
.page-lead .section-kicker { color: var(--cyan); }
.page-lead h1 { max-width: 920px; margin-bottom: 22px; font-family: Georgia, "Songti SC", serif; font-size: clamp(48px, 7vw, 88px); font-weight: 500; line-height: 1; }
.curriculum-lead h1 { max-width: 1080px; font-size: clamp(48px, 6.6vw, 84px); text-wrap: balance; }
.page-lead p:last-child { max-width: 760px; margin: 0; color: #c5d2cd; font-size: 18px; }

.curriculum-band { padding-top: 72px; }
.course-facts-band { padding: 0; color: var(--white); background: var(--forest-dark); border-top: 1px solid rgba(255,255,255,.14); }
.course-facts { display: grid; grid-template-columns: .75fr 1.25fr 1.2fr 1fr; }
.course-facts div { min-width: 0; padding: 22px 20px; display: grid; gap: 7px; border-right: 1px solid rgba(255,255,255,.16); }
.course-facts div:last-child { border-right: 0; }
.course-facts span { color: #9fb0aa; font-size: 11px; }
.course-facts strong { overflow-wrap: anywhere; font-size: 13px; font-weight: 650; }
.knowledge-path-band { background: var(--paper); }
.knowledge-path-heading > p { max-width: 460px; margin: 0; color: var(--muted); font-size: 13px; }
.assessment-band { color: var(--white); background: #1f3430; }
.assessment-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; }
.assessment-layout h2 { margin-bottom: 24px; font-family: Georgia, "Songti SC", serif; font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1.08; }
.assessment-layout .section-kicker { color: var(--cyan); }
.assessment-layout > div > p:last-child { color: #b9c8c2; }
.assessment-bars { display: grid; align-content: start; border-top: 1px solid rgba(255,255,255,.25); }
.assessment-bars > div { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 20px 0 16px; border-bottom: 1px solid rgba(255,255,255,.2); }
.assessment-bars span { font-size: 15px; }
.assessment-bars strong { color: var(--amber); font-family: Georgia, serif; font-size: 20px; }
.assessment-bars i { grid-column: 1 / -1; position: relative; height: 3px; overflow: hidden; background: rgba(255,255,255,.18); }
.assessment-bars i::before { content: ""; position: absolute; inset: 0 auto 0 0; background: var(--cyan); }
.assessment-bars .weight-10 i::before { width: 10%; }
.assessment-bars .weight-20 i::before { width: 20%; }
.assessment-bars .weight-30 i::before { width: 30%; }
.assessment-bars .weight-50 i::before { width: 50%; }
.curriculum-layout { display: grid; grid-template-columns: 220px 1fr; gap: 7vw; align-items: start; }
.module-index { position: sticky; top: calc(var(--header-height) + 24px); display: grid; border-top: 1px solid #96a19c; }
.module-index > p { margin: 0; padding: 15px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.module-index a { display: grid; grid-template-columns: 36px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.module-index a span { color: var(--forest); font-family: Georgia, serif; }
.lecture-list { display: grid; gap: 76px; }
.lecture-module { scroll-margin-top: 100px; }
.lecture-module > header { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.lecture-module > header > div { display: grid; align-content: start; gap: 4px; }
.lecture-module > header span { color: var(--forest); font-family: Georgia, serif; font-size: 38px; }
.lecture-module > header small { color: var(--muted); }
.lecture-module > header h2 { margin-bottom: 8px; font-family: Georgia, "Songti SC", serif; font-size: 34px; font-weight: 600; }
.lecture-module > header p { grid-column: 2; margin: 0; color: var(--muted); }
.lecture-module ol { margin: 0; padding: 0; list-style: none; }
.lecture-module li { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.lecture-number { color: var(--forest); font-size: 13px; font-weight: 900; }
.lecture-module h3 { margin-bottom: 5px; font-size: 18px; }
.lecture-module li p { margin: 0; color: var(--muted); font-size: 14px; }
.lecture-study-link { display: inline-flex; align-items: center; gap: 6px; color: var(--forest); font-size: 12px; font-weight: 800; white-space: nowrap; }
.lecture-study-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.objectives-band { color: var(--white); background: var(--forest-dark); }
.objectives-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; }
.objectives-layout .section-kicker { color: var(--cyan); }
.objective-list { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.22); list-style: none; }
.objective-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.objective-list span { color: var(--amber); font-family: Georgia, serif; }
.objective-list p { margin: 0; color: #d4dfdb; }
.references-band { background: var(--white); }
.references-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; }
.references-layout ol { margin: 0; padding-left: 24px; border-top: 1px solid var(--line); }
.references-layout li { padding: 17px 8px; border-bottom: 1px solid var(--line); line-height: 1.65; }

.resource-list-band { background: var(--white); }
.resource-list { border-top: 2px solid var(--ink); }
.resource-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 40px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); }
.resource-type { color: var(--forest); font-size: 12px; font-weight: 900; }
.resource-row h2 { margin-bottom: 7px; font-family: Georgia, "Songti SC", serif; font-size: 28px; font-weight: 600; }
.resource-row p { max-width: 720px; margin: 0; color: var(--muted); }
.access-note-band { padding-top: 0; }
.access-note { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #aab4af; border-bottom: 1px solid #aab4af; }
.access-note div { display: grid; gap: 8px; padding: 22px; border-right: 1px solid #aab4af; }
.access-note div:last-child { border-right: 0; }
.access-note span { color: var(--muted); font-size: 12px; }
.access-note strong { font-size: 14px; }

.ai-page main { background: #e8ece9; }
.ai-shell { width: min(calc(100% - 40px), 1420px); margin-inline: auto; padding: 36px 0 54px; }
.ai-topbar { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.ai-topbar h1 { margin-bottom: 8px; font-family: Georgia, "Songti SC", serif; font-size: clamp(32px, 4vw, 52px); font-weight: 600; }
.ai-topbar p:last-child { margin: 0; color: var(--muted); }
.ai-frame-wrap { height: max(660px, calc(100vh - 245px)); overflow: hidden; border: 1px solid #bac3be; border-radius: 6px; background: var(--white); box-shadow: 0 14px 38px rgba(16,33,29,.1); }
.ai-frame-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Simulation lab */
.lab-page { background: #e8ece9; }
.lab-page .site-footer { margin-top: 0; }
.lab-heading {
  width: min(calc(100% - 40px), 1440px); margin-inline: auto; padding: 40px 0 28px;
  display: flex; align-items: end; justify-content: space-between; gap: 40px;
}
.lab-heading h1 { margin-bottom: 8px; font-family: Georgia, "Songti SC", serif; font-size: clamp(36px, 5vw, 60px); font-weight: 600; }
.lab-heading h1 span + span::before { content: " "; }
.lab-heading p:last-child { max-width: 760px; margin-bottom: 0; color: var(--muted); }
.lab-heading-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.lab-case-strip { margin-bottom: 18px; color: var(--white); background: #1f3430; }
.lab-case-inner { width: min(100%, 1440px); min-height: 220px; margin-inline: auto; display: grid; grid-template-columns: minmax(260px, .7fr) 1fr .72fr; align-items: stretch; }
.lab-case-inner figure { min-height: 220px; margin: 0; overflow: hidden; }
.lab-case-inner img { width: 100%; height: 100%; object-fit: cover; }
.lab-case-copy { align-self: center; padding: 30px 36px; }
.lab-case-copy .section-kicker { color: var(--cyan); }
.lab-case-copy h2 { margin-bottom: 12px; font-family: Georgia, "Songti SC", serif; font-size: 30px; font-weight: 500; }
.lab-case-copy p:last-child { margin: 0; color: #c5d2cd; font-size: 13px; }
.lab-case-inner dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid rgba(255,255,255,.16); }
.lab-case-inner dl div { padding: 26px 20px; display: grid; align-content: center; gap: 7px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.lab-case-inner dl div:nth-child(2n) { border-right: 0; }
.lab-case-inner dl div:nth-last-child(-n+2) { border-bottom: 0; }
.lab-case-inner dt { color: #91a69e; font-size: 10px; }
.lab-case-inner dd { margin: 0; color: var(--white); font-family: Georgia, serif; font-size: 20px; }
.lab-workspace { width: min(calc(100% - 40px), 1440px); margin: 0 auto 72px; display: grid; grid-template-columns: 360px minmax(0,1fr); gap: 16px; align-items: start; }
.control-panel, .powertrain-panel, .chart-panel, .interpret-panel {
  border: 1px solid #c3cbc7; border-radius: 6px; background: var(--white);
}
.control-panel { position: sticky; top: calc(var(--header-height) + 16px); overflow: hidden; }
.control-panel section { padding: 22px; border-bottom: 1px solid var(--line); }
.control-panel section:last-child { border-bottom: 0; }
.panel-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.panel-heading span { color: var(--forest); font-family: Georgia, serif; font-size: 13px; }
.panel-heading h2 { margin: 0; font-size: 15px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border: 1px solid #aeb8b3; border-radius: 5px; background: #edf0ee; }
.segmented button { min-height: 36px; padding: 6px 4px; border: 0; border-radius: 3px; color: var(--muted); background: transparent; font-size: 12px; cursor: pointer; }
.segmented button[aria-pressed="true"] { color: var(--white); background: var(--forest-dark); }
.control-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.select-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.control-panel select { width: 100%; height: 40px; padding: 0 10px; border: 1px solid #aeb8b3; border-radius: 4px; color: var(--ink); background: var(--white); }
.range-field { display: grid; gap: 8px; margin-bottom: 18px; }
.range-field:last-child { margin-bottom: 0; }
.range-field > span { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 12px; }
.range-field output { color: var(--ink); font-weight: 800; }
input[type="range"] { width: 100%; accent-color: var(--forest); }
.rule-table-wrap { overflow-x: auto; }
.rule-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.rule-table th, .rule-table td { padding: 6px 4px; border: 1px solid var(--line); text-align: center; }
.rule-table thead th { color: var(--muted); background: #f3f5f3; font-size: 10px; }
.rule-table tbody th { width: 64px; color: var(--forest); background: #f7f8f6; font-size: 11px; }
.rule-table input { width: 100%; min-width: 48px; height: 34px; padding: 4px; border: 1px solid #aeb8b3; border-radius: 3px; color: var(--ink); background: var(--white); text-align: center; font-variant-numeric: tabular-nums; }
.assumption-box { background: #f5f6f3; }
.assumption-box ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.results-panel { min-width: 0; display: grid; gap: 16px; }
.powertrain-panel, .chart-panel, .interpret-panel { padding: 22px; }
.result-heading { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.result-heading > div > span, .interpret-panel > div > span { color: var(--forest); font-size: 10px; font-weight: 900; }
.result-heading h2, .interpret-panel h2 { margin: 5px 0 0; font-size: 18px; }
.time-readout { min-width: 78px; display: grid; gap: 2px; text-align: right; }
.time-readout span { color: var(--muted); font-size: 10px; }
.time-readout strong { font-variant-numeric: tabular-nums; }
.powertrain-diagram { position: relative; height: 285px; margin-top: 12px; overflow: hidden; background: #f2f5f2; border: 1px solid #dce1de; border-radius: 4px; }
.plant-node {
  position: absolute; z-index: 2; width: 118px; height: 86px; padding: 12px; display: grid; align-content: center;
  border: 1px solid #9aa7a1; border-radius: 5px; color: var(--ink); background: var(--white); box-shadow: 0 5px 14px rgba(23,32,29,.08);
}
.plant-node > span { color: var(--forest); font-size: 11px; font-weight: 900; }
.plant-node strong { margin: 4px 0; font-size: 16px; font-variant-numeric: tabular-nums; }
.plant-node small { color: var(--muted); font-size: 10px; }
.plant-engine { left: 3%; top: 45px; }
.plant-gen { left: 23%; top: 45px; }
.plant-bus { left: 43%; top: 45px; border-color: var(--cyan); }
.plant-battery { left: 43%; bottom: 28px; border-color: var(--amber); }
.plant-motor { left: 63%; top: 45px; }
.plant-prop { right: 3%; top: 45px; border-color: var(--blue); }
.flow-line { position: absolute; z-index: 1; height: 3px; background: #93a099; overflow: hidden; }
.flow-line i { position: absolute; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); animation: flow 1.4s linear infinite; }
.flow-engine { left: 13%; right: 47%; top: 87px; }
.flow-motor { left: 53%; right: 13%; top: 87px; }
.flow-battery { left: calc(43% + 58px); top: 132px; width: 3px; height: 72px; background: var(--amber); }
.flow-battery i { left: -3px; top: auto; width: 9px; height: 9px; background: var(--amber); animation-name: flow-vertical; }
@keyframes flow { from { left: 0; } to { left: calc(100% - 9px); } }
@keyframes flow-vertical { from { top: 0; } to { top: calc(100% - 9px); } }
.flow-reverse i { animation-direction: reverse; }
.flow-idle i { animation-play-state: paused; opacity: .25; }

.kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid #c3cbc7; border-radius: 6px; background: var(--white); }
.kpi { min-width: 0; height: 112px; padding: 18px; display: grid; align-content: space-between; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi span { color: var(--muted); font-size: 11px; }
.kpi strong { overflow: hidden; font-family: Georgia, serif; font-size: clamp(25px, 2.5vw, 36px); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; text-overflow: ellipsis; }
.kpi small { color: var(--forest); font-size: 10px; }
.chart-legend { display: flex; gap: 15px; color: var(--muted); font-size: 10px; }
.chart-legend span::before { content: ""; display: inline-block; width: 16px; height: 3px; margin-right: 6px; vertical-align: middle; background: currentColor; }
.chart-legend .demand { color: var(--blue); }
.chart-legend .engine { color: var(--forest); }
.chart-legend .battery { color: var(--amber); }
.chart-wrap { width: 100%; aspect-ratio: 3.2 / 1; min-height: 210px; margin-top: 18px; }
.compact-chart .chart-wrap { aspect-ratio: 4.5 / 1; min-height: 150px; }
.chart-wrap canvas { width: 100%; height: 100%; }
.balance-status { margin: 0; padding: 5px 8px; color: var(--muted); border: 1px solid #b7c0bb; border-radius: 3px; font-size: 10px; }
.balance-status.ok { color: var(--forest); border-color: #7fb7a8; background: #edf8f4; }
.balance-status.warn { color: #8e4b22; border-color: #d8a57e; background: #fff5ec; }
.interpret-panel { display: grid; grid-template-columns: 220px 1fr; gap: 32px; color: var(--white); background: var(--forest-dark); border-color: var(--forest-dark); }
.interpret-panel > div > span { color: var(--cyan); }
.interpret-panel p { margin: 0; color: #ccd8d4; }
.lab-method { padding: 76px max(24px, calc((100vw - 1180px) / 2)); background: var(--white); }
.lab-method > div:first-child { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 34px; }
.lab-method > div:first-child > img { width: min(46%, 520px); max-height: 190px; object-fit: contain; }
.lab-method h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 42px; font-weight: 600; }
.equation-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #aab4af; border-bottom: 1px solid #aab4af; }
.equation-list > div { padding: 25px 22px; border-right: 1px solid #aab4af; }
.equation-list > div:last-child { border-right: 0; }
.equation-list span { display: block; margin-bottom: 14px; color: var(--forest); font-size: 11px; font-weight: 900; }
.equation-list code { display: block; min-height: 54px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 15px; }
.equation-list p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.method-disclaimer { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.lab-context-nav {
  width: min(calc(100% - 48px), 1320px); margin: 20px auto 0; display: flex;
  justify-content: space-between; align-items: center; gap: 18px; color: var(--muted); font-size: 12px;
}
.lab-context-nav a { color: var(--forest); font-weight: 800; }
.lab-context-nav a:last-child { text-align: right; }

.lab-catalog-hero {
  position: relative; overflow: hidden; color: var(--white); background: #0c201c;
}
.lab-catalog-hero::before {
  position: absolute; inset: 0; content: "";
  background: url("../labs/shared/backward-overview.webp") no-repeat right 42% / min(58vw, 820px) auto;
  filter: saturate(.86) contrast(1.02); opacity: .92;
}
.lab-catalog-hero::after {
  position: absolute; inset: 0; content: "";
  background: linear-gradient(90deg, #0c201c 0%, #0c201c 34%, rgba(12,32,28,.9) 50%, rgba(12,32,28,.2) 79%, rgba(12,32,28,.08) 100%);
}
.lab-catalog-hero-inner {
  position: relative; z-index: 1; min-height: min(510px, calc(100vh - var(--header-height) - 72px));
  padding-block: 64px 54px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  align-items: end; gap: 8vw;
}
.lab-catalog-hero .section-kicker { color: #9edfd5; }
.lab-catalog-hero h1 {
  margin-bottom: 24px; font-family: Georgia, "Songti SC", serif;
  font-size: clamp(50px, 6vw, 82px); font-weight: 500; line-height: 1.02; letter-spacing: 0; white-space: nowrap;
}
.lab-catalog-hero p:not(.section-kicker) { max-width: 600px; margin: 0; color: #c9d7d2; font-size: 17px; }
.lab-catalog-hero .button { margin-top: 26px; }
.lab-catalog-stats {
  align-self: end; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.36); border-bottom: 1px solid rgba(255,255,255,.36);
  background: rgba(12,32,28,.42); backdrop-filter: blur(8px);
}
.lab-catalog-stats span { padding: 18px; display: grid; gap: 5px; border-right: 1px solid rgba(255,255,255,.24); }
.lab-catalog-stats span:last-child { border-right: 0; }
.lab-catalog-stats strong { color: var(--white); font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
.lab-catalog-stats small { color: #adbfba; font-size: 10px; }
.lab-catalog-band { padding: 84px 0 100px; background: var(--paper); scroll-margin-top: var(--header-height); }
.lab-catalog-heading {
  margin-bottom: 44px; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8vw;
}
.lab-catalog-heading h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 46px; font-weight: 500; }
.lab-catalog-heading > p { margin: 0; color: var(--muted); }

.lab-card-grid {
  margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; list-style: none;
}
.lab-card-grid > li { min-width: 0; }
.lab-card {
  height: 100%; min-width: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  border: 1px solid #c7d0cb; border-radius: 6px; background: var(--white);
  box-shadow: 0 8px 26px rgba(16,33,29,.07); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.lab-card:hover, .lab-card:focus-visible { transform: translateY(-3px); border-color: #8da79d; box-shadow: 0 16px 34px rgba(16,33,29,.13); }
.lab-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.lab-card-media { position: relative; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; background: #e9eeea; }
.lab-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lab-card:hover .lab-card-media img, .lab-card:focus-visible .lab-card-media img { transform: scale(1.025); }
.lab-card-forward .lab-card-media img, .lab-card-battery .lab-card-media img { padding: 20px; object-fit: contain; background: #f7f8f5; }
.lab-card-bsfc .lab-card-media img { object-position: center top; }
.lab-card-number {
  position: absolute; left: 14px; top: 14px; width: 42px; height: 42px; display: grid; place-items: center;
  color: var(--white); background: rgba(12,32,28,.9); border: 1px solid rgba(255,255,255,.58);
  font-family: Georgia, serif; font-size: 17px;
}
.lab-card-body { min-width: 0; padding: 21px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; }
.lab-card-body > small { margin-bottom: 10px; color: var(--forest); font-size: 10px; font-weight: 800; }
.lab-card-body > h3 {
  margin-bottom: 10px; font-family: Georgia, "Songti SC", serif; font-size: 24px; font-weight: 600; line-height: 1.25;
}
.lab-card-summary { margin-bottom: 18px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.lab-card-topics { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.lab-card-topics em { padding: 4px 7px; color: #425149; border: 1px solid #c0c9c4; border-radius: 2px; font-size: 10px; font-style: normal; }
.lab-card-cta { width: 100%; margin-top: 18px; padding-top: 14px; display: flex; justify-content: space-between; color: var(--forest); border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.lab-card-grid-compact .lab-card-body > h3 { font-size: 21px; }
.lab-card-grid-compact .lab-card-body { padding-bottom: 18px; }

.lab-detail-bar { padding: 30px 0 28px; color: var(--white); background: var(--forest-dark); }
.lab-detail-inner {
  width: min(calc(100% - 48px), 1320px); margin-inline: auto; display: flex; align-items: end;
  justify-content: space-between; gap: 32px;
}
.lab-detail-title > a { display: inline-block; margin-bottom: 20px; color: #9edfd5; font-size: 12px; font-weight: 800; }
.lab-detail-title > p { margin-bottom: 8px; color: var(--amber); font-size: 10px; font-weight: 800; }
.lab-detail-title h1 { margin-bottom: 8px; font-family: Georgia, "Songti SC", serif; font-size: 38px; font-weight: 500; }
.lab-detail-title > span { color: #b9c9c3; font-size: 13px; }
.lab-detail-pagination { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.lab-detail-pagination a {
  width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.42);
  font-size: 20px;
}
.lab-detail-pagination a:hover { color: var(--forest-dark); background: var(--cyan); border-color: var(--cyan); }
.lab-detail-pagination strong { min-width: 64px; color: #a9bbb4; font-size: 11px; text-align: center; }
.lab-frame-shell { width: min(100%, 1440px); margin-inline: auto; overflow-anchor: none; background: var(--paper); }
.lab-frame { width: 100%; min-height: 640px; border: 0; overflow-anchor: none; background: var(--paper); }
.lab-source-note {
  width: min(calc(100% - 48px), 1320px); margin: 0 auto 64px; padding: 22px 0;
  display: grid; grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr); gap: 48px;
  color: var(--muted); border-top: 1px solid #aab4af; border-bottom: 1px solid #aab4af;
}
.lab-source-note strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 13px; }
.lab-source-note p { margin: 0; font-size: 12px; line-height: 1.65; }
.lab-source-note a, .method-disclaimer a { color: var(--forest); font-weight: 800; }
.lab-bottom-nav {
  width: min(calc(100% - 48px), 1320px); margin: -28px auto 64px; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #aab4af;
}
.lab-bottom-nav a { min-width: 0; padding: 20px 0; display: grid; gap: 5px; color: var(--forest); }
.lab-bottom-nav a:last-child { justify-items: end; text-align: right; }
.lab-bottom-nav span { color: var(--muted); font-size: 10px; font-weight: 800; }
.lab-bottom-nav strong { font-family: Georgia, "Songti SC", serif; font-size: 19px; font-weight: 600; }
.lab-bottom-nav a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.not-found { min-height: calc(100vh - 180px); display: grid; place-content: center; justify-items: start; padding: 40px 24px; }
.not-found h1 { margin-bottom: 12px; font-family: Georgia, "Songti SC", serif; font-size: clamp(44px, 7vw, 78px); font-weight: 500; }
.not-found > div { display: flex; gap: 10px; }
.site-footer { padding: 34px 0; color: #b7c6c0; background: #0a1714; }
.footer-inner { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; display: flex; justify-content: space-between; gap: 30px; }
.footer-inner > div:first-child { display: grid; gap: 6px; }
.footer-inner strong { color: var(--white); }
.footer-inner span { font-size: 12px; }
.footer-links { display: flex; gap: 22px; align-items: center; font-size: 13px; }
.footer-links a:hover { color: var(--cyan); }

@media (max-width: 1100px) {
  .hero-system { width: 48vw; right: 18px; opacity: .5; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-item:nth-child(2) { border-right: 0; }
  .module-item:nth-child(-n+2) { border-bottom: 1px solid #aab4af; }
  .lab-workspace { grid-template-columns: 330px minmax(0, 1fr); }
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .kpi:nth-child(3) { border-right: 0; }
  .kpi:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .kpi:nth-child(4) { grid-column: span 1; }
  .plant-node { width: 100px; }
  .lab-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-height: 62px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .brand-copy small { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-height) 0 auto; display: none; padding: 16px;
    align-items: stretch; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a { min-height: 42px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .site-nav .nav-ai { margin: 6px 0 0; justify-content: center; border-bottom: 1px solid var(--forest-dark); }
  .course-hero { min-height: 700px; }
  .hero-plate { left: 28%; opacity: .55; }
  .course-hero::after { background: linear-gradient(90deg, #f8faf8 0%, rgba(248,250,248,.95) 56%, rgba(248,250,248,.46) 100%); }
  .hero-system { display: none; }
  .hero-inner { width: calc(100% - 32px); padding-top: 70px; }
  .hero-flow { opacity: .62; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .intro-layout, .workflow-layout, .access-layout, .objectives-layout, .references-layout { grid-template-columns: 1fr; gap: 40px; }
  .course-facts { grid-template-columns: repeat(2, 1fr); }
  .course-facts div:nth-child(2) { border-right: 0; }
  .course-facts div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .assessment-layout { grid-template-columns: 1fr; gap: 42px; }
  .orientation-axis { grid-template-columns: 1fr; }
  .orientation-axis span { border-right: 0; border-bottom: 1px solid var(--line); }
  .orientation-axis span:last-child { border-bottom: 0; }
  .curriculum-layout { grid-template-columns: 1fr; }
  .module-index { position: static; grid-template-columns: repeat(2, 1fr); }
  .module-index > p { grid-column: 1 / -1; }
  .lecture-list { gap: 58px; }
  .resource-row { grid-template-columns: 100px 1fr; gap: 20px; }
  .resource-row .button { grid-column: 2; justify-self: start; }
  .access-note { grid-template-columns: 1fr; }
  .access-note div { border-right: 0; border-bottom: 1px solid #aab4af; }
  .access-note div:last-child { border-bottom: 0; }
  .lab-heading { width: calc(100% - 28px); padding-top: 30px; }
  .lab-case-inner { grid-template-columns: .8fr 1.2fr; }
  .lab-case-inner dl { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .lab-workspace { width: calc(100% - 28px); grid-template-columns: 1fr; }
  .control-panel { position: static; }
  .control-panel { display: grid; grid-template-columns: repeat(2, 1fr); }
  .control-panel section { border-right: 1px solid var(--line); }
  .control-panel section:nth-child(2n) { border-right: 0; }
  .powertrain-diagram { height: 355px; }
  .plant-engine { left: 3%; top: 38px; }
  .plant-gen { left: 34%; top: 38px; }
  .plant-bus { left: 65%; top: 38px; }
  .plant-battery { left: 34%; bottom: 40px; }
  .plant-motor { left: 65%; top: 170px; }
  .plant-prop { left: 65%; right: auto; top: 278px; }
  .flow-line { display: none; }
  .equation-list { grid-template-columns: 1fr; }
  .equation-list > div { border-right: 0; border-bottom: 1px solid #aab4af; }
  .equation-list > div:last-child { border-bottom: 0; }
  .lab-catalog-hero::before { background-size: min(78vw, 720px) auto; opacity: .68; }
  .lab-catalog-hero::after { background: linear-gradient(90deg, #0c201c 0%, rgba(12,32,28,.94) 62%, rgba(12,32,28,.28) 100%); }
  .lab-catalog-hero-inner { min-height: 490px; grid-template-columns: 1fr; gap: 42px; }
  .lab-catalog-hero-inner > div:first-child { max-width: 620px; }
  .lab-catalog-stats { max-width: 640px; }
  .lab-catalog-heading { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 600px) {
  .band { padding: 68px 0; }
  .header-inner { width: calc(100% - 24px); }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
  .course-hero { min-height: min(680px, calc(100svh - var(--header-height) - 84px)); }
  .hero-plate { inset: 0 0 auto 24%; height: 48%; opacity: .52; }
  .hero-plate img { object-position: 52% center; }
  .course-hero::after { background: linear-gradient(180deg, rgba(248,250,248,.2) 0%, #f8faf8 44%, #f8faf8 100%); }
  .course-hero h1 { font-size: clamp(54px, 18vw, 74px); }
  .hero-lead br { display: none; }
  .hero-actions { width: 100%; gap: 8px; }
  .hero-actions .button { min-width: 0; flex: 1 1 0; padding-inline: 9px; font-size: 13px; }
  .hero-meta { padding-top: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 6px; row-gap: 0; }
  .hero-meta div { min-width: 0; padding-right: 4px; }
  .hero-meta span { font-size: 9px; }
  .hero-meta strong { font-size: 12px; white-space: nowrap; }
  .home-labs-band { padding-block: 62px 70px; }
  .home-labs-heading > p { max-width: none; }
  .home-labs-footer { justify-content: flex-start; }
  .module-grid { grid-template-columns: 1fr; }
  .module-item { border-right: 0; border-bottom: 1px solid #aab4af; }
  .module-item:last-child { border-bottom: 0; }
  .module-item > p:not(.module-en) { min-height: auto; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 32px; }
  .access-link { grid-template-columns: 1fr auto; }
  .access-link span { grid-column: 1 / -1; }
  .access-link small { text-align: right; }
  .page-lead { padding: 70px 0 56px; }
  .curriculum-lead { padding-block: 54px 44px; }
  .lecture-module > header, .lecture-module li { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; }
  .lecture-module > header p { grid-column: 1 / -1; }
  .lecture-study-link { grid-column: 2; justify-self: start; margin-top: 3px; }
  .resource-row { grid-template-columns: 1fr; }
  .resource-row .button { grid-column: 1; }
  .ai-shell { width: calc(100% - 20px); padding-top: 24px; }
  .ai-topbar { align-items: start; flex-direction: column; }
  .ai-frame-wrap { height: calc(100svh - 250px); min-height: 560px; }
  .course-facts { grid-template-columns: 1fr; }
  .course-facts div, .course-facts div:nth-child(2) { padding: 18px 16px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .course-facts div:last-child { border-bottom: 0; }
  .knowledge-path-band { padding-top: 46px; }
  .knowledge-path-heading > p { max-width: none; }
  .lab-heading { align-items: start; flex-direction: column; gap: 20px; }
  .lab-heading h1 span { display: block; }
  .lab-heading h1 span + span::before { content: none; }
  .lab-heading-actions { width: 100%; }
  .lab-heading-actions .button { flex: 1; }
  .lab-case-inner { grid-template-columns: 1fr; }
  .lab-case-inner figure { min-height: 190px; max-height: 240px; }
  .lab-case-copy { padding: 26px 18px; }
  .lab-case-inner dl { grid-column: auto; }
  .control-panel { grid-template-columns: 1fr; }
  .control-panel section { border-right: 0; }
  .powertrain-panel, .chart-panel, .interpret-panel { padding: 16px; }
  .powertrain-diagram { height: 510px; }
  .plant-node { width: calc(50% - 26px); max-width: 150px; }
  .plant-engine { left: 14px; top: 28px; }
  .plant-gen { left: auto; right: 14px; top: 28px; }
  .plant-bus { left: 14px; top: 145px; }
  .plant-battery { left: auto; right: 14px; top: 145px; bottom: auto; }
  .plant-motor { left: 14px; top: 262px; }
  .plant-prop { left: auto; right: 14px; top: 379px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi, .kpi:nth-child(3) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .kpi:nth-child(2n) { border-right: 0; }
  .kpi:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .chart-wrap, .compact-chart .chart-wrap { aspect-ratio: 1.5 / 1; min-height: 220px; }
  .chart-legend { flex-wrap: wrap; justify-content: flex-end; }
  .interpret-panel { grid-template-columns: 1fr; gap: 18px; }
  .lab-method { padding-inline: 16px; }
  .lab-method > div:first-child { align-items: start; flex-direction: column; }
  .lab-method > div:first-child > img { width: 100%; max-height: 170px; }
  .footer-inner { align-items: start; flex-direction: column; }
  .lab-context-nav { width: calc(100% - 28px); align-items: flex-start; }
  .lab-context-nav a:last-child { max-width: 150px; }
  .lab-catalog-hero::before { background-position: 64% top; background-size: auto 62%; opacity: .58; }
  .lab-catalog-hero::after { background: linear-gradient(180deg, rgba(12,32,28,.25) 0%, #0c201c 49%, #0c201c 100%); }
  .lab-catalog-hero-inner { width: calc(100% - 32px); min-height: 600px; padding-block: 224px 46px; gap: 30px; }
  .lab-catalog-hero h1 { font-size: 48px; }
  .lab-catalog-hero p:not(.section-kicker) { font-size: 15px; }
  .lab-catalog-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lab-catalog-stats span { padding: 14px 9px; }
  .lab-catalog-stats strong { font-size: 22px; }
  .lab-catalog-band { padding: 62px 0 72px; }
  .lab-catalog-heading h2 { font-size: 36px; }
  .lab-card-grid { grid-template-columns: 1fr; gap: 16px; }
  .lab-card-body > h3, .lab-card-grid-compact .lab-card-body > h3 { font-size: 22px; }
  .lab-card-summary { margin-bottom: 16px; }
  .lab-detail-inner { width: calc(100% - 32px); align-items: flex-start; flex-direction: column; }
  .lab-detail-title h1 { font-size: 30px; }
  .lab-detail-pagination { width: 100%; justify-content: space-between; }
  .lab-source-note { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 12px; margin-bottom: 44px; }
  .lab-bottom-nav { width: calc(100% - 32px); margin-top: -20px; margin-bottom: 44px; gap: 18px; }
  .lab-bottom-nav strong { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
