.perception-body { background: #080d12; color: #d7e1e9; }
.perception-body .header { background: #0a1017ed; box-shadow: none; }
.perception-body .header-content { max-width: 1460px; }
.lab-logo { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #68dec93b; border-radius: 11px; color: #7ce3cc; background: #68dec90b; font-size: 28px; }
.brand-divider { font-size: 11px; font-weight: 400; color: #728796; margin-left: 10px; letter-spacing: 2px; }
.perception-body .primary-nav .nav-tab.active { background: #6cddc818; color: #8cebd4; }
.lab-page { max-width: 1460px; padding: 0 30px; margin: auto; }
.lab-intro { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px 0 37px; }
.lab-eyebrow { font-size: 10px; letter-spacing: 2px; color: #6fa99e; display: inline-flex; align-items: center; gap: 9px; }
.lab-eyebrow > span { width: 5px; height: 5px; background: #7ce3cc; border-radius: 50%; }
.lab-intro h1 { color: #eaf0f5; font-size: clamp(28px, 3vw, 40px); letter-spacing: -1px; font-weight: 600; margin: 16px 0 12px; }
.lab-intro p { color: #7e919f; font-size: 13px; line-height: 1.8; }
.lab-edition { display: grid; gap: 7px; padding-left: 24px; border-left: 1px solid #23313c; flex-shrink: 0; }
.lab-edition > span { color: #7e919f; font-size: 12px; }
.lab-edition strong { font-size: 18px; font-weight: 500; }.lab-edition strong span { margin-left: 15px; font-family: monospace; color: #6c8b99; }
.lab-edition small { color: #5b7482; font-size: 8px; letter-spacing: 1.4px; }
.lab-experience { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: -10px 0 30px; }
.lab-experience > span { font-size: 10px; color: #6e8796; margin-right: 6px; }
.lab-experience a { color: #abcfc8; border: 1px solid #284139; border-radius: 7px; padding: 9px 12px; font-size: 11px; text-decoration: none; background: #11211d40; }
.lab-experience a small { margin-left: 7px; color: #66867e; font-size: 9px; }.lab-experience a:hover { background: #19382d66; border-color: #5d9c8d; }
.lab-experience a:focus-visible, .framework-source:focus-visible { outline: 2px solid #81e0c9; outline-offset: 3px; }
.lab-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.lab-tabs { display: flex; gap: 5px; padding: 5px; border: 1px solid #1c2a35; border-radius: 11px; background: #0b1219; }
.lab-tabs button { display: flex; gap: 11px; align-items: center; border: 1px solid transparent; border-radius: 7px; padding: 11px 18px; background: transparent; color: #566e7c; font-family: monospace; font-size: 10px; cursor: pointer; }
.lab-tabs button span { color: #8b9da9; font-size: 13px; }
.lab-tabs button.selected { background: #192a30; border-color: #344e53; color: #8be4ce; }.lab-tabs button.selected span { color: #cff3eb; }
.demo-label { color: #a59571; background: #ad8d340a; border: 1px solid #ad8d3424; padding: 7px 11px; border-radius: 6px; font-size: 10px; display: inline-flex; align-items: center; gap: 7px; }
.demo-label > span { width: 4px; height: 4px; background: #cfad61; border-radius: 50%; }
.demo-panel { border: 1px solid #23313c; border-radius: 15px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 270px; background: #0c141c; }
.demo-main { min-width: 0; }
.viewport-heading { display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; font-size: 10px; color: #6e8797; letter-spacing: .5px; }
.viewport-heading > div { display: flex; align-items: center; gap: 8px; color: #a1b4c1; font-family: monospace; }
.viewport-status { width: 5px; height: 5px; border-radius: 50%; background: #77d9bd; }
.sensor-viewport { position: relative; margin: 0 14px; aspect-ratio: 1.98; min-height: 300px; background: #0b131c; border: 1px solid #ffffff09; border-radius: 8px; overflow: hidden; }
#sensorCanvas { display: block; width: 100%; height: 100%; touch-action: pan-y; outline-offset: -3px; }
#sensorCanvas.spatial-view { touch-action: none; cursor: grab; }#sensorCanvas.spatial-view:active { cursor: grabbing; }
.sensor-viewport.fusion-view { aspect-ratio: 1.98; }
.viewport-watermark { position: absolute; top: 13px; left: 15px; font-size: 8px; color: #b1c1cf88; letter-spacing: 1.7px; pointer-events: none; }
.viewport-caption { position: absolute; bottom: 14px; left: 17px; display: flex; gap: 8px; align-items: center; color: #a5bcc9; font-size: 10px; pointer-events: none; }
.viewport-crosshair { color: #7ce3cc; font-size: 19px; }
.viewport-footer { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 13px 20px; }
.sensor-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 10px; color: #7e95a3; }.sensor-legend > span { display: inline-flex; gap: 6px; align-items: center; }
.sensor-legend i, .category-filters i { width: 6px; height: 6px; border-radius: 2px; display: inline-block; }.car-color { background: #72dfc3; }.person-color { background: #f5bb70; }.cyclist-color { background: #a8a0f4; }
.lab-text-button { background: none; border: none; color: #89a2b1; font-size: 11px; cursor: pointer; padding: 4px; white-space: nowrap; }
.lab-text-button:hover { color: #b9f3e5; }
.demo-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid #1d2b36; padding: 19px 24px; }
.demo-stats > div { display: grid; gap: 8px; padding-left: 24px; border-left: 1px solid #1d2b36; }.demo-stats > div:first-child { border: 0; padding-left: 0; }
.demo-stats span { color: #657f8e; font-size: 10px; }.demo-stats strong { color: #c6dbdf; font-weight: 500; font-size: 19px; font-family: monospace; }.demo-stats > div:last-child strong { font-family: inherit; font-size: 13px; line-height: 23px; }
.demo-controls { padding: 23px 22px; border-left: 1px solid #23313c; background: #101a23; }
.controls-heading { margin-bottom: 24px; }.controls-heading .lab-eyebrow { font-size: 8px; letter-spacing: 1.6px; }.controls-heading h2 { font-size: 16px; font-weight: 500; color: #c9d9e3; margin-top: 9px; }
.lab-field { display: block; margin-bottom: 22px; color: #90a7b6; font-size: 11px; }.lab-field > label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }.lab-field output { color: #8ce6d0; font-family: monospace; font-size: 13px; }
.lab-field select { display: block; width: 100%; min-width: 0; background: #0b141d; color: #bdceda; border: 1px solid #2a3d4b; border-radius: 7px; margin-top: 10px; padding: 10px; font-size: 11px; }
.lab-field input[type=range] { width: 100%; accent-color: #78dac4; height: 4px; cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; color: #536d7d; font-size: 9px; margin-top: 10px; }
.category-filters { border: none; padding: 0; margin-bottom: 18px; }.category-filters legend { color: #90a7b6; font-size: 11px; margin-bottom: 12px; }.category-filters label { display: flex; align-items: center; gap: 9px; margin: 10px 0; font-size: 11px; color: #acbecb; }.category-filters input, .toggle-field input { accent-color: #78dac4; width: 13px; height: 13px; cursor: pointer; }.category-filters i { margin-left: auto; }
.view-controls { padding-top: 16px; border-top: 1px solid #25333e; }.view-controls[hidden] { display: none; }.toggle-field { font-size: 11px; color: #90a7b6; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 18px; }.point-size-field { margin-top: 20px; }
.control-note { padding: 13px; background: #7da4b205; border: 1px solid #293c482e; border-radius: 8px; margin-top: 22px; }.control-note > span { color: #a0b7c1; font-size: 10px; }.control-note p { color: #698290; font-size: 10px; line-height: 1.9; margin-top: 7px; }
.lab-bottom-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 32px 0 17px; }.lab-bottom-heading > span:last-child { color: #637f8d; font-size: 11px; }
.lab-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }.lab-notes article { padding: 23px; background: #0c151d; border: 1px solid #1e2d38; border-radius: 12px; scroll-margin-top: 120px; display: flex; flex-direction: column; }.note-number { color: #5e968f; font-size: 8px; letter-spacing: 1.5px; font-family: monospace; }.lab-notes h2 { color: #bcd0db; font-size: 18px; font-weight: 500; margin: 13px 0 9px; }.lab-notes h2 small { display: block; font-size: 11px; color: #8aabae; margin-top: 7px; }.lab-notes p { color: #6e8796; font-size: 11px; line-height: 1.9; }.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }.tech-tags span { padding: 5px 7px; color: #76979f; background: #1b303742; font-size: 9px; border-radius: 4px; }
.lab-notes .evidence-note { margin-top: 17px; padding-top: 13px; border-top: 1px solid #1e2d38; font-size: 10px; }.framework-source { font-size: 10px; color: #82b4a9; text-decoration: none; padding-top: 15px; margin-top: auto; }.framework-source:hover { color: #a7ecda; }.lab-project-note { color: #607c89; font-size: 10px; line-height: 1.9; margin-top: 17px; }
.lab-footer { display: flex; justify-content: space-between; gap: 16px; padding: 25px 0; margin-top: 12px; color: #47616f; font-size: 9px; line-height: 1.8; }.lab-footer > span:first-child { letter-spacing: 1px; }.lab-footer > span:first-child span { margin: 0 8px; }
.lab-page button:focus-visible, .lab-page input:focus-visible, .lab-page select:focus-visible, #sensorCanvas:focus-visible { outline: 2px solid #81e0c9; outline-offset: 3px; }
@media (max-width: 1080px) { .perception-body .header-content { flex-wrap: wrap; gap: 16px; }.demo-panel { grid-template-columns: minmax(0, 1fr) 235px; }.demo-controls { padding: 20px 16px; }.lab-edition { display: none; }.sensor-viewport { min-height: 330px; }.lab-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
    .lab-page { padding: 0 16px; }.lab-intro { padding: 32px 0 26px; }.lab-intro p { font-size: 12px; }.lab-eyebrow { font-size: 8px; letter-spacing: 1.3px; }
    .lab-toolbar { flex-wrap: wrap; gap: 12px; }.lab-tabs { width: 100%; gap: 2px; }.lab-tabs button { flex: 1; justify-content: center; padding: 11px 5px; gap: 7px; }.lab-tabs button span { font-size: 12px; }.demo-label { font-size: 9px; }
    .demo-panel { grid-template-columns: 1fr; }.demo-controls { border-left: 0; border-top: 1px solid #23313c; padding: 23px; }.sensor-viewport { min-height: 280px; margin: 0 9px; }.sensor-viewport.fusion-view { aspect-ratio: .85; }.viewport-heading { padding: 16px 12px; font-size: 8px; }.viewport-watermark { font-size: 6px; letter-spacing: .8px; }.viewport-caption { font-size: 8px; left: 12px; }.viewport-footer { padding: 12px; gap: 8px; }.sensor-legend { gap: 12px; font-size: 9px; }
    .demo-stats { padding: 17px 13px; }.demo-stats > div { padding-left: 14px; }.demo-stats strong { font-size: 17px; }.demo-stats span { font-size: 9px; }.demo-stats > div:last-child strong { font-size: 11px; }
    .controls-heading { margin-bottom: 20px; }.lab-field { margin-bottom: 22px; }.category-filters { display: flex; flex-wrap: wrap; gap: 20px; }.category-filters legend { width: 100%; }.category-filters label { margin: 0; }.category-filters i { margin-left: 0; }.control-note { margin-top: 18px; }
    .lab-notes { grid-template-columns: 1fr; gap: 12px; }.lab-bottom-heading { flex-wrap: wrap; }.lab-footer { flex-direction: column; gap: 6px; }.perception-body .primary-nav .nav-tab { padding: 10px 9px; font-size: 11px; }
}

/* Robotics occupies its own wider card within the experience section. */
.robot-experience { grid-column: span 2; }
@media (max-width: 760px) { .robot-experience { grid-column: auto; } }

.robot-task { padding: 13px; border: 1px solid #8d684b44; border-radius: 8px; background: #e3a86c07; margin-bottom: 18px; }
.robot-task > span { color: #d9ab7b; font-size: 10px; }.robot-task h3 { font-size: 13px; font-weight: 500; margin: 9px 0 6px; color: #d4e0e5; }.robot-task p { font-size: 10px; color: #78929e; }
.robot-playback { display: flex; gap: 8px; margin-bottom: 22px; }.robot-playback button { background: #253b3a; color: #b8eddb; border: 1px solid #3c655c; border-radius: 7px; font-size: 11px; padding: 11px 13px; cursor: pointer; }.robot-playback button:first-child { flex: 1; }.robot-playback button:hover { background: #34534b; }
.robot-joints { border-top: 1px solid #25333e; padding-top: 14px; }.robot-joints summary { font-size: 11px; color: #9fb8c5; cursor: pointer; margin-bottom: 17px; }.robot-joints summary span { color: #5d7f8a; font-size: 9px; margin-left: 8px; }.robot-joints .lab-field { margin-bottom: 17px; }
.robot-view .viewport-watermark { color: #d8ae7ca6; }.robot-view .sensor-legend { color: #9cb6bd; }
.lab-toolbar { scroll-margin-top: 110px; }
.sensor-viewport { width: calc(100% - 28px); min-width: 0; }
#robotControls[hidden], #perceptionFilters[hidden] { display: none; }
@media (max-width: 760px) { .lab-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }.lab-tabs button { min-width: 0; flex-direction: column; gap: 5px; }.lab-tabs button span { font-size: 11px; }.sensor-viewport { width: calc(100% - 18px); }.sensor-viewport.robot-view { min-height: 330px; }.robot-joints .lab-field { margin-bottom: 22px; } }
