/* Existing dark steel research diagram; annual inspection and source media. */
.robotics-graph {
  --graph-paper: #080A0B;
  --graph-ink: #C7CDD0;
  --graph-muted: #929A9F;
  --graph-rule: #343B40;
  --graph-accent: #F07855;
  color: var(--graph-ink);
  padding: 42px 0 32px;
  font-family: inherit;
}
.robotics-graph * { box-sizing: border-box; }
.robotics-graph .graph-heading { margin-bottom: 38px; }
.robotics-graph .graph-heading h2 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 400; letter-spacing: -.8px; }
.robotics-graph .graph-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 20px; }
.robotics-graph .graph-toolbar button { color: var(--graph-ink); border: 1px solid var(--graph-rule); background: transparent; font: inherit; font-size: 13px; line-height: 18px; padding: 11px 18px; min-height: 44px; cursor: pointer; transition: color 160ms, background-color 160ms, border-color 160ms; }
.robotics-graph .graph-toolbar button:hover { border-color: var(--graph-ink); }
.robotics-graph .graph-toolbar button[aria-pressed="true"] { background: var(--graph-ink); color: var(--graph-paper); border-color: var(--graph-ink); }
.robotics-graph button:active { transform: translateY(1px); }
.robotics-graph :is(button, input, a, .graph-plot):focus-visible { outline: 2px solid var(--graph-accent); outline-offset: 4px; }
.robotics-graph .graph-status { color: var(--graph-muted); font-size: 11px; margin-left: auto; }
.robotics-graph .graph-stage { position: relative; width: 100%; }
.robotics-graph .graph-plot { display: block; position: relative; width: 100%; height: 598px; touch-action: pan-y; cursor: crosshair; }
.robotics-graph .graph-plot svg { display: block; }
.robotics-graph .graph-labels { position: absolute; inset: 0; pointer-events: none; }
.robotics-graph .graph-label { position: absolute; display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-height: 46px; border: 0; padding: 0 0 0 15px; margin: 0; background: transparent; color: var(--series-color); font-family: inherit; font-weight: 400; cursor: pointer; pointer-events: auto; opacity: 1; transition: opacity 160ms; }
.robotics-graph .graph-label::before { content: ''; position: absolute; top: 7px; left: 0; width: 5px; height: 5px; background: var(--series-color); border-radius: 50%; }
.robotics-graph .graph-label.is-muted { opacity: .28; }
.robotics-graph .graph-label:hover { opacity: 1; }
.robotics-graph .graph-label-name { font-size: 12px; line-height: 17px; }
.robotics-graph .graph-label-definition { color: var(--graph-muted); font-size: 9px; line-height: 13px; }
.robotics-graph .graph-label-value { font-size: 12px; line-height: 17px; font-variant-numeric: tabular-nums; }
.robotics-graph .graph-label-value > span { font-size: 10px; }
.robotics-graph .graph-label-metric { color: var(--graph-muted); font-size: 10px; line-height: 13px; margin-top: 2px; }
.robotics-graph .graph-scrubber { display: flex; align-items: center; gap: 18px; margin: 1px 0 0; min-height: 44px; }
.robotics-graph .graph-scrubber label { color: var(--graph-muted); font-size: 12px; white-space: nowrap; }
.robotics-graph .graph-scrubber output { color: var(--graph-ink); font-size: 13px; min-width: 36px; font-variant-numeric: tabular-nums; }
.robotics-graph .graph-scrubber input { appearance: none; height: 44px; flex: 1; min-width: 0; margin: 0; background: transparent; cursor: ew-resize; }
.robotics-graph .graph-scrubber input::-webkit-slider-runnable-track { height: 1px; background: var(--graph-rule); }
.robotics-graph .graph-scrubber input::-webkit-slider-thumb { appearance: none; width: 11px; height: 11px; margin-top: -5px; border-radius: 50%; background: var(--graph-ink); border: 0; }
.robotics-graph .graph-scrubber input::-moz-range-track { height: 1px; background: var(--graph-rule); }
.robotics-graph .graph-scrubber input::-moz-range-thumb { width: 11px; height: 11px; border-radius: 50%; background: var(--graph-ink); border: 0; }
.robotics-graph .graph-open-year { border: 0; background: none; color: var(--graph-ink); padding: 10px 0 10px 10px; font: inherit; font-size: 12px; min-height: 44px; cursor: pointer; white-space: nowrap; }
.robotics-graph .graph-open-year span { display: inline-block; margin-left: 12px; color: var(--graph-accent); transition: transform 160ms; }
.robotics-graph .graph-open-year:hover span { transform: translate(2px,-2px); }

/* ECharts owns tooltip positioning, hit-area confinement, and pointer entry. */
.robotics-graph .graph-popup { padding: 14px; background: #101416; border: 1px solid #465057; box-shadow: 0 12px 40px #0008; color: var(--graph-ink); font-family: inherit; white-space: normal; cursor: default; max-height: 430px; overflow: auto; }
.robotics-graph .graph-popup-header { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.robotics-graph .graph-popup-eyebrow, .robotics-graph .graph-popup-index { margin: 0 0 12px; font-size: 11px; line-height: 16px; font-weight: 400; color: var(--graph-muted); font-variant-numeric: tabular-nums; }
.robotics-graph .graph-popup-index { color: var(--graph-ink); white-space: nowrap; }
.robotics-graph .graph-preview-media { width: 100%; height: 203px; min-height: 200px; background: #080A0B; overflow: hidden; position: relative; }
.robotics-graph .graph-popup-title { margin: 13px 0 3px; font-size: 15px; line-height: 21px; font-weight: 400; letter-spacing: -.15px; }
.robotics-graph .graph-expand { padding: 10px 0 0; min-height: 44px; width: 100%; text-align: left; border: 0; background: none; color: var(--graph-accent); font: inherit; font-size: 12px; cursor: pointer; }
.robotics-graph .graph-expand:hover { color: #FFAD90; }
.robotics-graph .graph-popup-choices { display: grid; gap: 3px; }
.robotics-graph .graph-popup-choice { display: flex; justify-content: space-between; gap: 12px; border: 0; background: none; color: var(--series-color); min-height: 44px; padding: 9px 7px; font: inherit; font-size: 12px; line-height: 18px; text-align: left; cursor: pointer; }
.robotics-graph .graph-popup-choice:hover { background: #C7CDD00D; }
.robotics-graph .graph-popup-choice > span:last-child { font-variant-numeric: tabular-nums; }
.robotics-graph .graph-popup-choice-value { text-align: right; white-space: nowrap; }
.robotics-graph .graph-popup-choice-value small { display: block; color: var(--graph-muted); font-size: 9px; line-height: 12px; }
.robotics-graph .graph-measurement { margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.robotics-graph .graph-measurement p { margin: 0; }
.robotics-graph .graph-measurement-name { color: var(--graph-muted); font-size: 10px; line-height: 15px; }
.robotics-graph .graph-measurement-value { color: var(--graph-ink); font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
.robotics-graph .graph-measurement-status { color: var(--graph-muted); font-size: 10px; line-height: 16px; }
.robotics-graph .graph-measurement-source { display: inline-block; color: var(--graph-muted); font-size: 10px; line-height: 17px; text-decoration: underline; text-underline-offset: 3px; }
.robotics-graph .graph-measurement-source:hover { color: var(--graph-ink); }
.robotics-graph .graph-measurement-detail { color: var(--graph-muted); font-size: 11px; line-height: 17px; padding-top: 7px; }
.robotics-graph :is(.graph-story-frame, .graph-story-video, .graph-story-image, .graph-media-open) { display: block; width: 100%; height: 100%; min-width: 0; border: 0; background: #080A0B; object-fit: contain; }
.robotics-graph .graph-story-frame { min-height: 200px; }
.robotics-graph .graph-media-open { padding: 0; cursor: pointer; }
.robotics-graph .graph-media-open:hover .graph-story-image { opacity: .9; }
.robotics-graph .graph-sketch-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 200px; padding: 24px; border: 1px solid #293136; background: #0B0E10; color: var(--graph-muted); }
.robotics-graph .graph-placeholder-label { font: inherit; font-size: 12px; line-height: 20px; letter-spacing: .01em; }
.robotics-graph .graph-media-open .graph-sketch-placeholder { transition: border-color 160ms ease, color 160ms ease; }
.robotics-graph .graph-media-open:hover .graph-sketch-placeholder { border-color: #68737B; color: var(--graph-ink); }
.robotics-graph .is-unavailable { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 24px; gap: 8px; text-align: center; }
.robotics-graph .graph-media-message { font-size: 13px; line-height: 21px; color: var(--graph-muted); margin: 0; max-width: 280px; }

/* The expanded event is part of the research page, not a stacked card feed. */
.robotics-graph .graph-panel { overflow: hidden; margin-top: 32px; }
.robotics-graph .graph-panel[hidden] { display: none; }
.robotics-graph .graph-panel-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.robotics-graph .graph-panel-eyebrow { margin: 0; color: var(--graph-muted); font-size: 12px; line-height: 20px; }
.robotics-graph .graph-panel-close { border: 0; background: none; color: var(--graph-ink); font: inherit; font-size: 12px; min-height: 44px; padding: 10px 0 10px 20px; cursor: pointer; }
.robotics-graph .graph-panel-close:hover { color: var(--graph-accent); }
.robotics-graph .graph-panel-inner { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 36px; align-items: start; padding-bottom: 5px; }
.robotics-graph .graph-panel-media { width: 100%; aspect-ratio: 16 / 9; min-height: 220px; overflow: hidden; background: var(--graph-paper); }
.robotics-graph .graph-panel-copy h3 { margin: 0 0 18px; color: var(--graph-ink); font-size: 25px; line-height: 1.2; letter-spacing: -.55px; font-weight: 400; }
.robotics-graph .graph-panel-copy h3:focus { outline: none; }
.robotics-graph .graph-panel-context { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.robotics-graph .graph-panel-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; margin: 0; }
.robotics-graph .graph-panel-year { color: var(--graph-ink); font-size: 28px; line-height: 1; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.robotics-graph .graph-panel-series { display: flex; align-items: center; gap: 8px; color: var(--series-color); font-size: 12px; line-height: 18px; }
.robotics-graph .graph-panel-series::before { content: ''; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.robotics-graph .graph-panel-context .graph-panel-close { flex-shrink: 0; padding: 0 0 0 12px; }
.robotics-graph .graph-panel-copy .graph-measurement { margin-bottom: 20px; }
.robotics-graph .graph-panel-copy .graph-measurement-name { font-size: 11px; line-height: 17px; }
.robotics-graph .graph-panel-copy .graph-measurement-value { font-size: 14px; line-height: 22px; }
.robotics-graph .graph-panel-copy .graph-measurement-source { margin-top: 5px; font-size: 11px; line-height: 20px; }
.robotics-graph .graph-panel-blurb { margin: 0 0 20px; color: var(--graph-ink); font-size: 15px; line-height: 24px; max-width: 440px; }
.robotics-graph .graph-evidence { margin: 0 0 10px; color: var(--graph-muted); font-size: 11px; line-height: 17px; }
.robotics-graph .graph-source { display: inline-block; color: var(--graph-muted); font-size: 12px; line-height: 20px; text-decoration: underline; text-underline-offset: 4px; padding-block: 6px; }
.robotics-graph .graph-source:hover { color: var(--graph-ink); }
.robotics-graph .graph-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: -1px; }
.robotics-graph.is-compact .graph-labels { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 20px; margin: 0 0 24px; }
.robotics-graph.is-compact .graph-label { position: relative; left: auto !important; top: auto !important; width: auto !important; }
.robotics-graph.is-compact .graph-label-definition { font-size: 9px; }
@media (max-width: 1000px) {
  .robotics-graph .graph-toolbar { gap: 8px; }
  .robotics-graph .graph-toolbar button { padding-inline: 13px; }
  .robotics-graph .graph-status { flex-basis: 100%; margin-left: 0; padding-top: 5px; }
  .robotics-graph .graph-panel-inner { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 24px; }
  .robotics-graph .graph-panel-copy h3 { font-size: 22px; }
}
@media (max-width: 760px) {
  .robotics-graph { padding-top: 32px; padding-bottom: 24px; }
  .robotics-graph .graph-heading { margin-bottom: 27px; }
  .robotics-graph .graph-heading h2 { font-size: 28px; }
  .robotics-graph .graph-toolbar button { font-size: 12px; padding: 10px 12px; }
  .robotics-graph .graph-scrubber { gap: 12px; flex-wrap: wrap; }
  .robotics-graph .graph-scrubber label { flex-basis: 100%; }
  .robotics-graph .graph-scrubber input { flex: 1; }
  .robotics-graph .graph-open-year { margin-left: 4px; }
  .robotics-graph .graph-panel { margin-top: 24px; }
  .robotics-graph .graph-panel-top { align-items: start; margin-bottom: 12px; }
  .robotics-graph .graph-panel-inner { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .robotics-graph .graph-panel-media { min-height: 200px; }
  .robotics-graph .graph-panel-copy h3 { font-size: 23px; }
  .robotics-graph .graph-panel-blurb { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .robotics-graph *, .robotics-graph *::before { transition: none !important; }
}
