/* MEM CELL / Industrial edition — graphite, steel, copper. */
body, body[data-experience="simple"] {
  --bg: #e8e9e7;
  --surface: #f7f7f3;
  --panel: #dfe2df;
  --text: #172025;
  --muted: #536067;
  --line: #bcc4c6;
  --green: #ad431b;
  --mint: #f3e1d5;
  --orange: #b44b24;
  --radius: 3px;
  --shadow: none;
  --accent: #b54b23;
  --accent-fill: #e56d36;
  --accent-ink: #111315;
  --sidebar-width: 0px;
  font-family: Arial, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
}
body[data-theme="dark"], body[data-theme="dark"][data-experience="simple"] {
  --bg: #111315;
  --surface: #1a1d20;
  --panel: #23272a;
  --text: #f0f1ed;
  --muted: #a1aaae;
  --line: #3a4145;
  --green: #f18b59;
  --mint: #372820;
  --orange: #f18b59;
  --accent: #f18b59;
  --accent-fill: #f37d43;
  --accent-ink: #111315;
  --shadow: none;
}
html { scroll-padding-top: 24px; }
::selection { color: #111315; background: #ee9a70; }
button, input, textarea, select, .btn, .panel, details, dialog { border-radius: 3px; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.app-shell { display: block; }
.workspace { margin-left: 0; width: 100%; }
.sidebar,
body[data-experience="simple"] .sidebar,
body[data-theme="dark"] .sidebar,
body[data-theme="dark"][data-experience="simple"] .sidebar {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 88px;
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 15px clamp(22px, 4vw, 70px);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.sidebar .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-family: inherit;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--text);
}
.sidebar .brand > span { display: block; }
.sidebar .brand .brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 41px;
  border: 1px solid var(--accent);
  border-radius: 0;
  color: var(--accent);
  background: none;
}
.sidebar .brand-sub { display: block; margin-top: 8px; font-size: 8px; letter-spacing: 1.5px; font-weight: 600; color: var(--muted); }
.sidebar .nav-label, .sidebar .sidebar-project, .sidebar .sidebar-bottom { display: none; }
.sidebar nav { display: flex; align-items: stretch; justify-content: flex-end; gap: 3px; min-width: 0; width: 100%; }
.sidebar nav .nav-item,
body[data-theme="dark"] .sidebar nav .nav-item {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  margin: 0;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
  white-space: nowrap;
  box-shadow: none;
}
.sidebar nav .nav-item > span:not(.nav-count) { display: block; max-width: none; white-space: nowrap; letter-spacing: -.2px; }
.sidebar nav .nav-item > svg { display: none; }
.sidebar nav .nav-item:hover { color: var(--text); background: var(--panel); }
.sidebar nav .nav-item.active,
body[data-theme="dark"] .sidebar nav .nav-item.active {
  color: var(--text);
  background: var(--panel);
  border-color: var(--line);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.sidebar nav .nav-count,
.sidebar nav .nav-item.active .nav-count {
  position: static;
  display: inline-flex;
  min-width: 18px;
  width: auto;
  height: 18px;
  margin: 0;
  padding: 1px 4px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 9px;
}
.topbar, body[data-experience="simple"] .topbar {
  min-height: 64px;
  padding: 10px clamp(22px, 4vw, 70px);
  background: transparent;
  border-bottom: 0;
  gap: 16px;
}
.breadcrumb { font-size: 10px; letter-spacing: 1px; }
.breadcrumb strong { font-weight: 650; }
.toolbar { gap: 7px; }
.toolbar .icon-btn { min-width: 38px; min-height: 38px; border: 1px solid var(--line); background: transparent; }
.toolbar .icon-btn:hover { background: var(--panel); border-color: var(--accent); }
.toolbar .original-link { border: 0; font-size: 10px; padding-right: 0; color: var(--muted); }
.toolbar > .pill { font-size: 9px; letter-spacing: .5px; border: 0; background: transparent; color: var(--accent); }
.content, body[data-experience="simple"] .content { max-width: 1560px; padding: 25px clamp(22px, 4vw, 70px) 35px; }
.workspace > .footer-note { max-width: 1560px; padding: 24px clamp(22px, 4vw, 70px) 30px; margin: 0 auto; font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); }
.toast { left: 50%; border-radius: 3px; background: #242a2e; color: #f3f3ef; }
.eyebrow { font-family: Consolas, "SFMono-Regular", monospace; font-weight: 500; font-size: 10px; letter-spacing: 1.7px; color: var(--muted); }
.eyebrow::before { display: none; }
.btn.primary, .btn.primary:hover:not(:disabled) { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); box-shadow: none; font-weight: 750; }
.btn.primary:hover:not(:disabled) { filter: brightness(1.07); }
.btn.primary svg { color: currentColor; }
.btn.secondary:hover { border-color: var(--accent); }
.panel-title, .section-heading h2 { font-weight: 700; }
.pill.amber, body[data-theme="dark"] .pill.amber { background: var(--mint); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--accent); }

/* A large tangible object first; two choices second. */
.launch-heading { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 30px; margin: 6px 0 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.launch-heading .eyebrow { grid-column: 1 / -1; color: var(--accent); margin-bottom: 5px; }
.launch-heading h1 { margin: 0; white-space: pre-line; font-size: clamp(38px, 4.3vw, 67px); font-weight: 800; letter-spacing: -2.8px; line-height: 1.08; word-break: keep-all; }
.launch-heading h1 em { font-family: inherit; color: var(--accent); font-style: normal; font-weight: inherit; }
.launch-heading p { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.9; word-break: keep-all; }
.launch-heading .project-credits { margin: 0; padding-bottom: 2px; font-size: 11px; letter-spacing: .2px; text-align: right; line-height: 1.9; color: var(--muted); }
.launch-heading .project-credits > span, .launch-heading .project-credits > strong, .launch-heading .project-credits > small { display: block; }
.launch-heading .project-credits strong { color: var(--text); font-weight: 650; }
.launch-heading .project-credits small { font: 8px/1.9 Consolas, monospace; letter-spacing: 1px; margin-top: 7px; }
.explore-workbench { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(350px, 1fr); align-items: start; gap: 28px; margin-bottom: 30px; }
.explore-visual { min-width: 0; align-self: stretch; border: 1px solid var(--line); background: var(--surface); position: relative; display: flex; flex-direction: column; }
.explore-visual .hero-three { display: block; margin: 0; padding: 0; width: 100%; flex: 1; }
.explore-visual battery-viewer { display: block; width: 100%; }
.explore-visual .model-provenance { padding: 12px 20px; font-size: 10px; border-top: 1px solid var(--line); color: var(--muted); background: var(--bg); }
.visual-caption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; line-height: 1.8; }
.visual-caption > strong, .visual-caption b { color: var(--text); font-size: 12px; }
.visual-caption svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.launch-console { min-width: 0; padding: 0 0 0 2px; }
.step-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font: 10px/1.8 Consolas, monospace; letter-spacing: 1.4px; color: var(--accent); }
.step-kicker::before { content: ""; display: block; width: 19px; height: 2px; background: var(--accent); }
.launch-console h2 { font-size: clamp(22px, 2vw, 29px); font-weight: 750; letter-spacing: -1px; line-height: 1.4; margin: 0 0 18px; }
.mission-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.mission-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 17px 13px 15px; min-width: 0; min-height: 143px; text-align: left; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--text); }
.mission-card:hover { border-color: var(--accent); background: var(--surface); }
.mission-card.selected, .mission-card[aria-pressed="true"] { border-color: var(--accent); background: var(--surface); box-shadow: inset 0 -3px 0 var(--accent); }
.mission-icon { color: var(--muted); min-height: 34px; display: flex; align-items: flex-start; margin-bottom: 6px; }
.mission-icon svg { width: 29px; height: 29px; stroke-width: 1.4; }
.mission-card.selected .mission-icon, .mission-card[aria-pressed="true"] .mission-icon { color: var(--accent); }
.mission-card strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.5; }
.mission-card small { display: block; font-size: 10px; line-height: 1.7; color: var(--muted); word-break: keep-all; }
.mission-card > svg:last-child, .mission-card .mission-arrow { position: absolute; top: 17px; right: 11px; width: 14px; height: 14px; color: var(--muted); }
.mission-card > span:last-child:not(.mission-icon) { font-size: 13px; color: var(--accent); }
.console-intro { font-size: 12px; color: var(--muted); line-height: 1.8; margin: -9px 0 19px; }
.comparison-climates { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 13px 0 9px; }
.comparison-climates > span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px; color: var(--text); background: var(--surface); border: 1px solid var(--line); font-size: 11px; }
.comparison-climates > span:has(svg) { flex: 1; }
.comparison-climates > span:not(:has(svg)) { border: 0; background: transparent; color: var(--accent); padding: 0; }
.comparison-climates svg { width: 17px; height: 17px; color: var(--accent); }
.comparison-climates b { margin-left: auto; font-family: Consolas, monospace; font-size: 11px; }
.mission-detail { min-height: 86px; padding: 18px 0 12px; }
.mission-detail h3 { margin: 0 0 4px; font-size: 13px; font-weight: 650; }
.mission-detail p { margin: 0; font-size: 12px; line-height: 1.9; color: var(--muted); word-break: keep-all; }
.climate-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 8px 0 19px; }
.climate-card { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; min-height: 90px; padding: 13px; background: transparent; border: 1px solid var(--line); color: var(--text); text-align: left; }
.climate-card svg { width: 20px; height: 20px; color: var(--muted); }
.climate-card strong { font-size: 12px; line-height: 1.5; }
.climate-card small, .climate-card > span { font-size: 10px; color: var(--muted); line-height: 1.6; }
.climate-card:hover, .climate-card.selected, .climate-card[aria-pressed="true"] { border-color: var(--accent); background: var(--surface); }
.climate-card.selected svg, .climate-card[aria-pressed="true"] svg { color: var(--accent); }
.launch-summary { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding: 17px 0; font-size: 12px; color: var(--muted); line-height: 1.8; }
.launch-summary strong { color: var(--text); font-weight: 650; }
.launch-summary p { margin: 0; }
.launch-summary .charge-journey { color: var(--accent); gap: 9px; }
.launch-summary .charge-journey > div > span { font-size: 9px; color: var(--muted); }
.launch-summary .charge-journey svg { width: 47px; height: 28px; }
.launch-cta, .btn.launch-cta { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 58px; padding: 14px 19px; background: var(--accent-fill); color: var(--accent-ink); border: 1px solid var(--accent-fill); border-radius: 2px; font-size: 15px; font-weight: 750; line-height: 1.4; letter-spacing: -.2px; text-align: left; }
.launch-cta:hover:not(:disabled) { filter: brightness(1.08); transform: none; }
.launch-cta svg { width: 21px; height: 21px; color: currentColor; }
.defaults-line { display: block; margin: 10px 0 0; font-size: 10px; color: var(--muted); line-height: 1.9; word-break: keep-all; }
.optional-tools { border: 1px solid var(--line); background: transparent; margin: 0 0 30px; padding: 0; }
.optional-tools > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 59px; padding: 17px 20px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; list-style: none; }
.optional-tools > summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; }
.optional-tools[open] > summary::after { content: "−"; }
.optional-tools[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 0; }
.optional-tools > :not(summary) { margin: 22px; }
.optional-tools .easy-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.optional-tools .atelier-prompt { padding: 18px; background: var(--surface); border: 1px solid var(--line); }
.optional-tools .choice-group legend { font-family: inherit; font-size: 12px; }
.optional-tools .choice-card { min-height: 72px; padding: 12px; }
.optional-tools .choice-card strong { font-size: 12px; }
.optional-tools .choice-card small { font-size: 10px; }
.choice-card, body[data-theme="dark"] .choice-card { border-color: var(--line); }
.choice-card:hover, .choice-card.selected, body[data-theme="dark"] .choice-card.selected, body[data-theme="dark"] .choice-card:hover { background: var(--surface); border-color: var(--accent); }
.choice-card.selected .choice-symbol, .choice-card i, body[data-theme="dark"] .choice-card.selected .choice-symbol, body[data-theme="dark"] .choice-card i { color: var(--accent); }
.learning-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 32px 0; }
.learning-strip > * { min-width: 0; padding: 23px 24px; }
.learning-strip > * + * { border-left: 1px solid var(--line); }
.learning-strip article { position: relative; display: flex; gap: 18px; align-items: flex-start; }
.learning-strip article > span:first-child { font-size: 19px; font-weight: 700; flex-shrink: 0; line-height: 1.4; }
.learning-strip svg { width: 46px; height: 46px; color: var(--accent); margin-bottom: 12px; stroke-width: 1.3; }
.learning-strip > * > span:first-child { display: block; font: 11px/1.6 Consolas, monospace; color: var(--accent); margin-bottom: 12px; letter-spacing: 1px; }
.learning-strip h3, .learning-strip strong { display: block; font-size: 15px; letter-spacing: -.3px; font-weight: 700; margin: 0 0 6px; }
.learning-strip p { font-size: 12px; color: var(--muted); line-height: 1.9; margin: 0; word-break: keep-all; }
.simple-results { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 26px; }
.simple-results > details { margin: 25px 0; background: transparent; border: 1px solid var(--line); }
.simple-results > details > summary { padding: 20px; font-size: 13px; }
.simple-results > details[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 0; }
.simple-results > details .chart-panel { border: 0; border-radius: 0; }
.time-lens-card { border-radius: 2px; }
.time-battery > b { font-weight: 750; }
.time-control input { accent-color: var(--accent); }
.visual-result-intro h2 { font-weight: 750; }

/* The rest of the research workspace uses the same material language. */
.page-title, .product-heading h1, .lab-heading h1, .professor-intro h2, .product-story h2 { font-family: inherit; font-weight: 800; letter-spacing: -1.7px; line-height: 1.25; }
.product-heading h1 em, body[data-theme="dark"] .product-heading h1 em { color: var(--accent); font-style: normal; font-family: inherit; font-weight: 800; }
.product-heading h1 { font-size: clamp(34px, 3.5vw, 55px); }
.product-layout { gap: 38px; }
.product-story h2 { font-size: 35px; }
.object-number { font-family: Consolas, monospace; font-size: 18px; color: var(--accent); }
.product-rule { background: var(--accent); }
.product-quote, .research-statement { font-family: inherit; font-weight: 600; }
.professor-name { font-family: inherit; }
.lab-heading h1 { font-size: clamp(38px, 4.4vw, 68px); }
.lab-visit h2, .qr-dialog h2 { font-weight: 750; }
.lab-signature { margin-top: 34px; padding: 27px 0; }
.signature-person h2 { font-weight: 700; }
.signature-person img { filter: grayscale(1); }
.signature-person .eyebrow { color: var(--accent); }
.text-link, .expert-entry { color: var(--text); font-weight: 600; }
.text-link:hover, .expert-entry:hover { color: var(--accent); }
.research-columns article > span { font-family: Consolas, monospace; color: var(--accent); }
.research-columns h3 { font-weight: 700; }
.lab-visit, .profile-details details { background: var(--surface); }
.profile-details details { padding: 0 21px; }
.academic-timeline p { color: var(--text); }
.easy-plan, body[data-theme="dark"] .easy-plan { background: var(--surface); border-color: var(--line); }
.easy-plan.needs-answer, body[data-theme="dark"] .easy-plan.needs-answer { background: var(--mint); border-color: var(--accent); }
.easy-plan .tool-emblem { color: var(--accent); }
.notice.success, body[data-theme="dark"] .notice.success { background: var(--surface); border-color: var(--line); color: var(--muted); }
.mode-switch { border-radius: 2px; background: var(--panel); }
.mode-switch button { border-radius: 1px; }
.mode-switch button.active { border-color: var(--accent); }
.status-dot { background: var(--accent); }
.step.active .step-dot { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--accent-ink); }
.step-dot { font-family: Consolas, monospace; }
.chart-tabs button.active { color: var(--accent); border-color: var(--accent); }
.insight, body[data-theme="dark"] .insight { background: var(--panel); }
.insight strong, body[data-theme="dark"] .insight strong { color: var(--text); }
.metric-value { font-weight: 750; }
.progress-fill { background: var(--accent); }
.qr-tabs button[aria-pressed="true"] { border-bottom-color: var(--accent); }
.qr-dialog { background: var(--surface); }
.qr-figure img, .signature-qr img, .lab-qr-card img { border: 8px solid #fff; }

/* Opening: a product reveal with real readiness indicators. */
.opening { background: #101214; background-image: none; color: #f1f2ed; padding: 29px 5vw 25px; }
.opening-mast { border-bottom-color: #3a4145; padding-bottom: 22px; }
.opening-wordmark { font-family: Arial, "Malgun Gothic", sans-serif; font-weight: 850; font-size: 28px; letter-spacing: -1px; }
.opening-wordmark small { display: block; color: #f18b59; font: 9px/1.8 Consolas, monospace; letter-spacing: 2.6px; margin: 7px 0 0; text-transform: uppercase; }
.opening-mast > span { color: #a1aaae; font: 9px/1.9 Consolas, monospace; letter-spacing: 1.8px; }
.opening-body { max-width: 1390px; grid-template-columns: 1fr 1.05fr; gap: 4vw; margin-top: 20px; }
.opening-copy .edition { color: #f18b59; font: 10px/1.8 Consolas, monospace; letter-spacing: 2.5px; }
.opening-copy h1 { font-family: Arial, "Malgun Gothic", sans-serif; font-size: clamp(43px, 4.8vw, 77px); font-weight: 850; line-height: 1.12; letter-spacing: -3.2px; margin: 24px 0 27px; }
.opening-copy h1 em { color: #f18b59; font-weight: inherit; font-style: normal; }
.opening-copy > p { color: #aab2b6; font-size: 13px; line-height: 2; }
.opening-copy .opening-credit { color: #dde0dd !important; font-size: 11px !important; margin-top: 23px; }
.opening-actions { margin-top: 31px; }
.opening-actions button { background: #f37d43; border-color: #f37d43; color: #111315; border-radius: 1px; min-height: 54px; padding: 15px 29px; font-weight: 750; font-size: 13px; }
.opening-actions button:hover:not(:disabled) { background: #ff965d; border-color: #ff965d; }
.opening-actions a { font-size: 11px; color: #aab2b6; }
.opening-copy .opening-status { color: #a1aaae !important; font-size: 10px !important; margin-top: 17px; }
.opening-model { border-top: 1px solid #3a4145; border-bottom: 1px solid #3a4145; padding: 12px 0; }
.opening-model > span { font-size: 8px; color: #a1aaae; padding: 7px 0 4px; letter-spacing: 1.7px; }
.opening-foot { border-top-color: #3a4145; color: #a1aaae; font-size: 9px; }
.load-phases i { background: #3a4145; width: 35px; height: 3px; }
.load-phases [data-ready="true"] i { background: #f37d43; }
.opening button:focus-visible, .opening a:focus-visible { outline-color: #f18b59; }

/* The novice result chart lives inside a disclosure. Keep its ancestors visible
   when the shared chart renderer enters analysis mode. */
body.analysis-expanded #main > #simple-results { display: block !important; }
body.analysis-expanded #simple-results > :not(.result-details) { display: none !important; }
body.analysis-expanded #simple-results > .result-details { display: block !important; margin: 0; padding: 0; border: 0; }
body.analysis-expanded #simple-results > .result-details > summary { display: none; }

@media (min-width: 1500px) {
  .explore-workbench { grid-template-columns: minmax(0, 1.5fr) minmax(400px, 1fr); gap: 38px; }
  .mission-card { min-height: 151px; }
  .launch-console h2 { margin-bottom: 21px; }
}
@media (max-width: 1180px) {
  .sidebar, body[data-experience="simple"] .sidebar, body[data-theme="dark"] .sidebar, body[data-theme="dark"][data-experience="simple"] .sidebar { grid-template-columns: 175px minmax(0, 1fr); gap: 10px; padding-left: 26px; padding-right: 26px; }
  .sidebar nav .nav-item, body[data-theme="dark"] .sidebar nav .nav-item { padding: 9px; font-size: 11px; }
  .sidebar .brand { font-size: 21px; }
  .sidebar .brand-sub { font-size: 7px; letter-spacing: 1.2px; }
  .explore-workbench { grid-template-columns: minmax(0, 1.15fr) minmax(330px, 1fr); gap: 22px; }
  .launch-heading h1 { font-size: 50px; }
  .mission-card { padding: 15px 11px; }
  .mission-card strong { display: block; font-size: 13px; }
}
@media (max-width: 1000px) {
  .sidebar, body[data-experience="simple"] .sidebar, body[data-theme="dark"] .sidebar, body[data-theme="dark"][data-experience="simple"] .sidebar { display: flex; align-items: stretch; flex-direction: column; padding: 20px 25px 0; gap: 15px; }
  .sidebar .brand { align-self: flex-start; }
  .sidebar nav { justify-content: flex-start; gap: 7px; overflow-x: auto; padding-bottom: 11px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .sidebar nav .nav-item, body[data-theme="dark"] .sidebar nav .nav-item { font-size: 12px; padding: 10px 13px; }
  .sidebar .brand-sub { font-size: 8px; }
  .topbar, body[data-experience="simple"] .topbar { padding: 12px 25px; }
  .toolbar .original-link { display: none; }
  .content, body[data-experience="simple"] .content { padding: 20px 25px 30px; }
  .launch-heading h1 { font-size: 45px; letter-spacing: -2px; }
  .explore-workbench { gap: 21px; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); }
  .mission-options { gap: 6px; }
  .mission-card { padding: 14px 9px; min-height: 137px; }
  .climate-card { padding: 11px; }
  .optional-tools .easy-controls { grid-template-columns: 1fr; }
  .learning-strip > * { padding: 21px 17px; }
}
@media (max-width: 790px) {
  .explore-workbench { grid-template-columns: 1fr; gap: 25px; }
  .launch-heading { grid-template-columns: 1fr; align-items: start; margin-bottom: 24px; padding-bottom: 24px; }
  .launch-heading .project-credits { text-align: left; font-size: 10px; margin-top: 6px; }
  .launch-heading h1 { font-size: clamp(37px, 6.8vw, 53px); }
  .explore-visual .hero-three { margin: 0; grid-row: auto; }
  .launch-console { padding: 0; }
  .launch-console h2 { font-size: 25px; margin-bottom: 17px; }
  .mission-card { min-height: 135px; padding: 16px; }
  .mission-card strong { display: block; font-size: 15px; }
  .mission-card small { display: block; font-size: 11px; }
  .mission-options { gap: 10px; }
  .mission-detail { min-height: 0; padding: 16px 0 22px; }
  .climate-options { gap: 10px; }
  .climate-card { padding: 14px; }
  .climate-card strong { font-size: 13px; }
  .launch-summary { gap: 20px; }
  .launch-cta, .btn.launch-cta { min-height: 58px; }
  .learning-strip h3, .learning-strip strong { font-size: 14px; }
  .learning-strip p { font-size: 11px; }
  .opening-body { grid-template-columns: 1fr 1fr; gap: 15px; }
  .opening-copy h1 { font-size: 44px; }
  .opening-mast { padding-bottom: 18px; }
}
@media (max-width: 760px) {
  .sidebar, body[data-experience="simple"] .sidebar, body[data-theme="dark"] .sidebar, body[data-theme="dark"][data-experience="simple"] .sidebar { position: relative; inset: auto; width: 100%; min-height: 0; display: flex; border: 0; border-bottom: 1px solid var(--line); padding: 19px 20px 0; }
  .sidebar nav { display: flex; width: 100%; grid-template-columns: none; }
  .sidebar .nav-item[data-view="integration"], .sidebar nav > a.nav-item { display: inline-flex; }
  .sidebar nav .nav-item, body[data-theme="dark"] .sidebar nav .nav-item { flex: 0 0 auto; flex-direction: row; min-height: 45px; width: auto; font-size: 11px; padding: 10px 12px; gap: 7px; }
  .sidebar nav .nav-item > span:not(.nav-count) { white-space: nowrap; max-width: none; font-size: inherit; line-height: 1.4; letter-spacing: 0; }
  .sidebar nav .nav-count { position: static; font-size: 9px; }
  .sidebar .brand { display: flex; font-size: 23px; }
  .sidebar .brand > span { display: block; }
  .sidebar .brand .brand-mark { display: grid; }
  .sidebar .brand-sub { display: block; font-size: 8px; }
  .sidebar .sidebar-project, .sidebar .sidebar-bottom, .sidebar .nav-label { display: none; }
  .topbar, body[data-experience="simple"] .topbar { padding: 10px 20px; min-height: 62px; gap: 10px; }
  .topbar .breadcrumb { max-width: 44%; gap: 6px; font-size: 9px; line-height: 1.7; letter-spacing: .4px; flex-wrap: wrap; }
  .topbar .breadcrumb strong { max-width: none; }
  .topbar .toolbar { gap: 5px; }
  .topbar .toolbar .intro-replay { display: inline-flex; }
  .topbar .toolbar .icon-btn { min-width: 36px; min-height: 40px; padding: 8px; font-size: 11px; }
  .topbar .toolbar > .pill { display: none; }
  .content, body[data-experience="simple"] .content { padding: 20px 20px 30px; }
  .workspace > .footer-note { padding: 24px 20px 28px; font-size: 10px; }
  .launch-heading { margin-top: 0; }
  .launch-heading .eyebrow { font-size: 9px; letter-spacing: 1.3px; line-height: 1.9; }
  .launch-heading h1 { font-size: clamp(36px, 8vw, 52px); letter-spacing: -2px; line-height: 1.13; }
  .launch-heading p { font-size: 12px; }
  .explore-workbench { margin-bottom: 25px; }
  .explore-visual .model-provenance { font-size: 10px; padding: 11px 15px; }
  .visual-caption { padding: 14px 15px; font-size: 10px; gap: 10px; }
  .visual-caption strong { font-size: 11px; }
  .optional-tools { margin-bottom: 25px; }
  .optional-tools > summary { padding: 16px; font-size: 12px; gap: 12px; }
  .optional-tools > :not(summary) { margin: 16px; }
  .optional-tools .easy-controls { gap: 20px; }
  .optional-tools .choice-options { display: flex; gap: 8px; }
  .optional-tools .choice-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 11px; }
  .optional-tools .choice-card small { font-size: 10px; }
  .learning-strip { margin: 26px 0; }
  .learning-strip > * { padding: 18px 14px; }
  .learning-strip svg { width: 37px; height: 37px; margin-bottom: 10px; }
  .learning-strip h3, .learning-strip strong { font-size: 13px; }
  .learning-strip p { font-size: 10px; }
  .simple-results { padding-top: 22px; margin-top: 25px; }
  .lab-signature { padding: 23px 0; margin-top: 30px; }
  .product-heading h1 { font-size: 36px; }
  .lab-heading h1 { font-size: 41px; }
  .lab-visit { padding: 23px; }
  .profile-details details { padding: 0 15px; }
  .opening { padding: 23px 23px 24px; }
  .opening-mast { gap: 15px; }
  .opening-wordmark { font-size: 25px; }
  .opening-wordmark small { font-size: 8px; letter-spacing: 1.8px; }
  .opening-mast > span { font-size: 7px; line-height: 1.8; letter-spacing: 1px; }
  .opening-body { display: flex; gap: 0; margin-top: 28px; }
  .opening-copy .edition { font-size: 8px; letter-spacing: 1.7px; }
  .opening-copy h1 { font-size: clamp(38px, 8vw, 54px); font-weight: 800; line-height: 1.12; margin: 19px 0; letter-spacing: -2px; }
  .opening-copy > p { font-size: 11px; line-height: 1.9; }
  .opening-copy .opening-credit { margin-top: 14px; font-size: 10px !important; }
  .opening-model { margin: 21px 0 19px; padding: 9px 0; }
  .opening-model > span { font-size: 7px; letter-spacing: 1.1px; }
  .opening-copy .opening-actions { margin-top: 0; }
  .opening-actions button { min-height: 52px; font-size: 12px; padding: 13px 18px; }
  .opening-actions a { font-size: 10px; }
  .opening-copy .opening-status { margin-top: 13px; font-size: 10px !important; }
}
@media (max-width: 440px) {
  .mission-options { gap: 7px; }
  .mission-card { padding: 15px 10px; min-height: 137px; }
  .mission-card strong { display: block; font-size: 13px; }
  .mission-card small { display: block; font-size: 10px; }
  .mission-icon svg { width: 26px; height: 26px; }
  .mission-card > svg:last-child, .mission-card .mission-arrow { width: 12px; right: 9px; }
  .climate-options { gap: 7px; }
  .climate-card { padding: 12px 10px; }
  .climate-card strong { font-size: 12px; }
  .launch-summary { gap: 13px; font-size: 11px; }
  .launch-summary .charge-journey { gap: 6px; }
  .launch-summary .charge-journey svg { width: 40px; }
  .learning-strip { grid-template-columns: 1fr; }
  .learning-strip > * { padding: 19px 5px; }
  .learning-strip > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .learning-strip article { padding-left: 5px; gap: 21px; }
  .learning-strip article > svg { position: absolute; left: 4px; top: 21px; width: 39px; height: 39px; }
  .learning-strip h3, .learning-strip strong { font-size: 14px; }
  .learning-strip p { font-size: 11px; }
  .learning-strip article > span:first-child { font-size: 18px; margin-bottom: 0; }
  .visual-caption { flex-wrap: wrap; }
}
@media (max-width: 375px) {
  .sidebar, body[data-experience="simple"] .sidebar, body[data-theme="dark"] .sidebar, body[data-theme="dark"][data-experience="simple"] .sidebar { padding-left: 16px; padding-right: 16px; }
  .content, body[data-experience="simple"] .content { padding-left: 16px; padding-right: 16px; }
  .topbar, body[data-experience="simple"] .topbar { padding-left: 16px; padding-right: 16px; }
  .topbar .breadcrumb { max-width: 41%; font-size: 8px; }
  .topbar .toolbar { gap: 4px; }
  .topbar .toolbar .icon-btn { min-width: 32px; width: 32px; padding: 7px; }
  .launch-heading h1 { font-size: 35px; letter-spacing: -1.8px; }
  .launch-heading .project-credits { font-size: 10px; }
  .mission-card { padding: 13px 9px; }
  .mission-card strong { display: block; font-size: 12px; }
  .mission-card small { display: block; font-size: 10px; }
  .climate-card strong { font-size: 11px; }
  .launch-cta, .btn.launch-cta { font-size: 14px; }
  .launch-summary { flex-wrap: wrap; gap: 10px; }
  .signature-actions { flex-wrap: wrap; }
  .opening { padding-left: 18px; padding-right: 18px; }
  .opening-copy h1 { font-size: 36px; }
  .opening-actions a { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print {
  body, body[data-theme="dark"], body[data-experience="simple"], body[data-theme="dark"][data-experience="simple"] { --bg: #fff; --surface: #fff; --panel: #f4f4f4; --text: #111; --muted: #444; --line: #ccc; --accent: #8d3918; background: #fff; color: #111; }
  .sidebar, .topbar, .opening, .optional-tools, .mission-options, .climate-options, .launch-cta, .learning-strip { display: none !important; }
  .content, body[data-experience="simple"] .content { padding: 0; }
  .launch-heading h1 { font-size: 30px; }
  .explore-workbench { display: block; }
  .workspace > .footer-note { padding: 15px 0 0; }
}
