.robotics-page{color:var(--ink)}.chapter-scene,.chapter-diagram svg{width:100%;height:auto;color:var(--ink);display:block}.chapter-scene text{fill:var(--ink);font:14px var(--font-system)}.chapter-instruction{margin:0 0 8px;font-size:15px;line-height:1.5}.chapter-controls{gap:16px;display:grid}.chapter-controls label{flex-wrap:wrap;justify-content:space-between;gap:6px 12px;font-size:14px;font-weight:600;display:flex}.chapter-controls input[type=range]{width:100%;min-height:32px;accent-color:var(--ink);flex:0 0 100%}.chapter-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.chapter-stats dt{color:#4d4c5c;font-size:13px}.chapter-stats dd{margin:5px 0 0;font-size:22px;font-weight:700}.chapter-result{background:#eef5ff;border-inline-start:3px solid #3976bb;padding:10px 12px;font-size:14px}.chapter-result.is-fail{background:#fff0e8;border-color:#a33c27}.chapter-caption{min-height:3em;font-size:14px;line-height:1.5}.chapter-legend{padding-inline-start:25px;font-size:14px;line-height:1.7}.chapter-toggles{gap:6px;margin-top:12px;display:grid}.chapter-toggles label{cursor:pointer;align-items:center;gap:10px;min-height:44px;font-size:14px;display:flex}.chapter-toggles input{width:18px;height:18px;accent-color:var(--ink);flex-shrink:0}.chapter-controls select{border:1px solid var(--line);min-width:80px;max-width:100%;min-height:44px;color:var(--ink);font:inherit;background:#fff;border-radius:4px;padding:8px}.chapter-cell-controls{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.chapter-cell-controls label{flex-direction:column}.chapter-map-legend{flex-wrap:wrap;gap:10px 16px;padding:0;font-size:13px;list-style:none;display:flex}.chapter-map-legend li{align-items:center;gap:6px;display:flex}.chapter-map-legend span{border:1px solid var(--ink);flex-shrink:0;width:14px;height:14px}.chapter-playback button:disabled{opacity:.45;cursor:default}.chapter-task{background:#f4f4f8;border-radius:5px;margin:12px 0 0;padding:12px;font-size:15px;font-weight:600}.chapter-trace{counter-reset:trace;flex-wrap:wrap;gap:6px;padding:0;list-style:none;display:flex}.chapter-trace li{counter-increment:trace}.chapter-trace button{border:1px solid var(--line);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border-radius:4px;padding:8px 10px;font-size:13px}.chapter-trace button:before{content:counter(trace) ". "}.chapter-trace button[aria-current=step]{background:#dcecff;border-color:#3976bb}.robotics-lab-link{background:#eef5ff;border-inline-start:3px solid #3976bb;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-top:16px;padding:12px 16px;font-size:14px;line-height:1.6;display:flex}.robotics-lab-link span{font-weight:700}.chapter-playback{flex-wrap:wrap;gap:8px;display:flex}.chapter-playback button,.chapter-option{border:1px solid var(--ink);min-height:44px;color:var(--ink);cursor:pointer;font:inherit;background:#fff;border-radius:5px;padding:9px 14px;font-size:14px}.chapter-playback button[aria-pressed=true],.chapter-option[aria-pressed=true]{background:var(--ink);color:#fff}.chapter-model :focus-visible{outline-offset:3px;outline:3px solid #3976bb}.chapter-diagram{border:1px solid var(--line);background:#f4f4f8;border-radius:8px;margin:24px 0;padding:24px}.chapter-diagram svg{max-width:650px;margin:auto}.chapter-diagram figcaption{max-width:60em;margin:12px auto 0;font-size:16px;line-height:1.6}.chapter-number{border:1px solid var(--ink);vertical-align:middle;border-radius:50%;place-items:center;width:24px;height:24px;font-size:14px;display:inline-grid}.robotics-page pre{max-width:100%;overflow-x:auto}.robotics-purpose{border-inline-start:3px solid var(--ink);margin-top:28px;padding-inline-start:18px}.robotics-purpose h2{margin:0 0 8px;font-size:15px;line-height:1.4}.robotics-purpose p{max-width:34em;margin:0;font-size:16px;line-height:1.6}.robotics-section-inner>.robotics-system-overview{max-width:none}.robotics-context-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px;display:grid}.robotics-context{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;margin:0;padding:20px}.robotics-context figcaption h3{margin:0 0 8px;font-size:21px}.robotics-context figcaption p{color:#4d4c5c;min-height:3.3em;margin:0;font-size:15px}.robotics-context-art{fill:none;width:100%;height:auto;stroke:var(--ink);stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;margin:20px 0;display:block}.concept-ground{stroke:var(--line);stroke-width:2px}.concept-body,.concept-white{fill:#fff}.concept-object{fill:#f4f4f8}.concept-blue{fill:#99c5ff}.concept-energy{fill:#ffdf3d}.concept-ink{fill:var(--ink)}.concept-red{fill:#e79783}.concept-scan{fill:#dcecff;stroke:none}.concept-arm{stroke-width:17px}.concept-belt{fill:#f4f4f8}.concept-data-line{stroke:#3976bb;stroke-width:3px;stroke-dasharray:1 6;fill:none;stroke-linecap:round}.concept-command-line{stroke:var(--ink);stroke-width:2.5px;stroke-dasharray:6 4;fill:none}.concept-motion{stroke:#6a697c;stroke-width:2px;stroke-dasharray:3 5}.concept-callout circle{fill:#fff;stroke:var(--ink);stroke-width:1.5px}.concept-callout text{fill:var(--ink);stroke:none;font:700 12px var(--font-system)}.robotics-context-roles{counter-reset:roles;gap:12px;margin:0;padding:0;list-style:none;display:grid}.robotics-context-roles li{counter-increment:roles;grid-template-columns:24px minmax(0,1fr);column-gap:8px;font-size:14px;display:grid}.robotics-context-roles li:before{content:counter(roles);border:1px solid var(--ink);text-align:center;border-radius:50%;grid-row:span 2;width:22px;height:22px;font-size:12px;font-weight:700;line-height:22px}.robotics-context-roles b,.robotics-context-roles span{grid-column:2}.robotics-context-roles span{color:#4d4c5c}.robotics-system-flow{border:1px solid var(--line);background:#f4f4f8;border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px 32px;margin:28px 0 0;padding:28px;display:grid}.robotics-system-flow figcaption h3{margin:0 0 12px}.robotics-system-flow figcaption p{margin:0}.robotics-system-flow>svg{width:100%;height:auto;display:block;overflow:visible}.concept-node,.concept-world{fill:#fff;stroke:var(--ink);stroke-width:2px}.concept-label{fill:var(--ink);font:600 14px var(--font-system)}.concept-feedback{fill:none;stroke:#6a697c;stroke-width:2px}.robotics-system-flow marker path{fill:none;stroke:var(--ink);stroke-width:1.5px}.concept-power-bus{fill:none;stroke:#e3b000;stroke-width:5px;stroke-linecap:round}.concept-energy-label{font-size:13px}.robotics-flow-legend{border-block-start:1px solid var(--line);flex-wrap:wrap;grid-column:1/-1;gap:10px 24px;margin:0;padding:14px 0 0;font-size:14px;list-style:none;display:flex}.robotics-flow-legend li{align-items:center;gap:10px;display:flex}.robotics-flow-legend span{border-top:3px solid;width:36px}.robotics-flow-legend .is-data{border-color:#3976bb;border-top-style:dotted}.robotics-flow-legend .is-command{border-top-style:dashed}.robotics-flow-legend .is-energy{border-color:#e3b000;border-top-width:5px}.robotics-deep-dive{border:1px solid var(--line);border-radius:8px;padding:20px}.robotics-deep-dive>summary{cursor:pointer;min-height:44px;font-weight:600;line-height:1.6}.robotics-deep-dive[open]>summary{margin-bottom:20px}@media (max-width:850px){.robotics-context-grid{grid-template-columns:1fr}.robotics-context{padding:20px}.robotics-context figcaption p{min-height:0}.robotics-context-art{max-width:380px;margin-inline:auto}.robotics-system-flow{grid-template-columns:1fr;gap:20px;padding:20px}.robotics-system-flow>svg{max-width:460px;margin-inline:auto}}.robotics-lesson-hero{background:#99c5ff;padding:32px 24px 40px}.robotics-lesson-hero-inner,.robotics-section-inner{max-width:1100px;margin-inline:auto}.robotics-lesson-hero-inner{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:40px;display:grid}.robotics-lesson-hero nav{margin-bottom:20px;font-weight:600}.robotics-lesson-hero nav a{color:inherit}.robotics-eyebrow{letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:13px;font-weight:700}.robotics-lesson-hero h1{font-family:var(--font-system);margin:12px 0 20px;font-size:clamp(34px,4.2vw,52px);line-height:1.08}.robotics-answer{max-width:34em;margin:0;font-size:18px;line-height:1.6}.robotics-model-card{border:1px solid var(--ink);background:#fff;border-radius:8px;min-width:0;padding:20px}.robot-figure{width:100%;height:auto;display:block;overflow:visible}.robot-figure--ghost{opacity:.32}.robot-ground{stroke:var(--line);stroke-width:2px}.robot-chassis,.robot-sensor rect,.robot-driver,.robot-caster{fill:#fff;stroke:var(--ink);stroke-width:3px}.robot-controller{fill:#f4f4f8;stroke:var(--ink);stroke-width:2px}.robot-battery rect{fill:#ffdf3d;stroke:var(--ink);stroke-width:2px}.robot-battery path{stroke:var(--ink);stroke-width:2px;stroke-linecap:round}.robot-neck{stroke:var(--ink);stroke-width:3px}.robot-eye{fill:#99c5ff;stroke:var(--ink);stroke-width:2px}.robot-pupil,.robot-wheel>circle:first-child{fill:var(--ink)}.robot-hub{fill:#fff}.robot-path{opacity:.28;transition:opacity .2s}.robot-path.is-active{opacity:1}.robot-path path{fill:none;stroke-linecap:round;stroke-linejoin:round}.robot-path-halo{stroke-width:8px;stroke:#0000}.robot-path-core{stroke:var(--ink);stroke-width:2.5px}.robot-path--energy .robot-path-halo{stroke:#ffdf3d}.robot-path--data .robot-path-halo{stroke:#99c5ff}.robot-path--data .robot-path-core{stroke-dasharray:.1 5;stroke-width:3px}.robot-path--command .robot-path-core{stroke-dasharray:7 4;stroke-width:3px}.stopping-model{margin:0}.stopping-outcome{border:1px solid var(--ink);border-radius:4px;align-items:center;gap:8px;margin:0 0 12px;padding:6px 12px;font-weight:700;display:inline-flex}.stopping-outcome.is-stops{background:#dcecff}.stopping-outcome.is-contact{background:#ffdf3d}.stopping-scene{width:100%;height:auto;display:block}.stopping-floor{stroke:var(--ink);stroke-width:2px}.stopping-tick{stroke:#6a697c;stroke-width:1.5px}.stopping-wall{fill:url(#stopping-hatch);stroke:var(--ink);stroke-width:2px}.stopping-hatch-line{stroke:#6a697c;stroke-width:2px}.stopping-threshold{stroke:var(--ink);stroke-width:2px;stroke-dasharray:6 5}.stopping-threshold-cap{fill:var(--ink)}.stopping-seg{stroke:var(--ink);stroke-width:1.5px}.stopping-seg--reaction{fill:#99c5ff}.stopping-seg--braking{fill:#ffdf3d}.stopping-seg--gap{fill:#fff;stroke-dasharray:4 3}.stopping-readout{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px;margin:12px 0 0;display:grid}.stopping-readout>div{border-block-end:1px solid var(--line);justify-content:space-between;gap:12px;padding-block:4px;display:flex}.stopping-readout dt{color:#4d4c5c;align-items:center;gap:8px;display:inline-flex}.stopping-readout dd{font-variant-numeric:tabular-nums;white-space:nowrap;margin:0;font-weight:700}.stopping-readout .is-total dt{color:var(--ink);font-weight:700}.stopping-swatch{border:1.5px solid var(--ink);flex:none;width:14px;height:10px}.stopping-swatch--threshold{border-width:0;border-inline-start:2px dashed var(--ink);width:0;height:14px}.stopping-swatch--reaction{background:#99c5ff}.stopping-swatch--braking{background:#ffdf3d}.stopping-swatch--gap{background:#fff;border-style:dashed}.stopping-inputs{color:#4d4c5c;flex-wrap:wrap;gap:4px 16px;margin:12px 0 0;font-size:14px;display:flex}.stopping-inputs strong{color:var(--ink);font-variant-numeric:tabular-nums}.stopping-controls{border:0;border-block-start:1px solid var(--line);min-width:0;margin:16px 0 0;padding:12px 0 0}.stopping-controls legend{padding:12px 0 0;font-weight:700}.stopping-sliders{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;margin:8px 0 12px;display:grid}.stopping-control{grid-template-columns:1fr auto;align-items:baseline;gap:4px 8px;min-width:0;display:grid}.stopping-control label{color:#4d4c5c;font-size:14px}.stopping-control output{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}.stopping-control input{width:100%;min-height:44px;accent-color:var(--ink);grid-column:1/-1;margin:0}.stopping-play{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.stopping-play button{font:inherit;background:var(--ink);color:#fff;cursor:pointer;border:0;border-radius:4px;min-height:44px;padding:10px 20px;font-weight:600}.stopping-play span{color:#4d4c5c;font-size:14px}.robotics-page :is(a,button,input,summary):focus-visible{outline-offset:3px;outline:3px solid #99c5ff}.robotics-model-note{color:#4d4c5c;margin:12px 0 0;font-size:13px}.power-model{gap:12px;display:grid}.power-steps{flex-wrap:wrap;gap:8px;display:flex}.power-steps button,.power-play button{font:inherit;border:1px solid var(--ink);min-height:44px;color:var(--ink);cursor:pointer;background:#fff;border-radius:4px;padding:8px 18px;font-weight:600}.power-steps button[aria-pressed=true]{background:#99c5ff}.power-play button{background:var(--ink);color:#fff}.power-model .robot-figure{max-width:300px;margin-inline:auto}.power-stats{flex-wrap:wrap;gap:4px 24px;margin:0;display:flex}.power-stats>div{align-items:baseline;gap:8px;display:flex}.power-stats dt{color:#4d4c5c;font-size:14px}.power-stats dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}.power-model .robot-figure.is-direct .robot-path--command .robot-path-halo{stroke:#ffdf3d}.power-caption{min-height:3.3em;margin:0;line-height:1.6}.power-play{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.power-play span{color:#4d4c5c;font-size:14px}.power-legend{margin:0}.power-legend figcaption{letter-spacing:.06em;text-transform:uppercase;color:#4d4c5c;font-size:13px;font-weight:700}.power-legend ul{gap:4px;margin:6px 0 0;padding:0;font-size:14px;list-style:none;display:grid}.power-legend li{align-items:center;gap:10px;display:flex}.power-legend-line{flex:none;width:48px;height:14px}.power-wiring{border:1px solid var(--ink);border-radius:8px;padding:14px 16px}.power-wiring.is-ok{background:#dcecff}.power-wiring.is-overload{background:#ffdf3d}.power-wiring label{cursor:pointer;align-items:center;gap:10px;min-height:44px;font-weight:600;display:flex}.power-wiring input{width:20px;height:20px;accent-color:var(--ink)}.power-wiring dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px;margin:4px 0 8px;display:grid}.power-wiring dl>div{justify-content:space-between;gap:12px;display:flex}.power-wiring dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}.power-wiring p{margin:0;line-height:1.5}.ultrasonic-scene{width:100%;height:auto;display:block}.ultrasonic-beam{fill:#dcecff;opacity:.6}.ultrasonic-object{fill:#f4f4f8;stroke:var(--ink);stroke-width:2px}.ultrasonic-object.is-soft{fill:#fff;stroke-dasharray:3 3}.ultrasonic-pulse{fill:none;stroke:var(--ink);stroke-width:3px;stroke-linecap:round}.ultrasonic-pulse.is-echo{stroke-dasharray:2 4}.ultrasonic-model .stopping-outcome{margin-top:8px}.ultrasonic-model .stopping-readout{grid-template-columns:repeat(3,minmax(0,1fr))}.ultrasonic-readings{margin-top:12px}.ultrasonic-readings>p{color:#4d4c5c;margin:0 0 6px;font-size:14px}.ultrasonic-readings ol{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.ultrasonic-reading{border:1px solid var(--line);font-variant-numeric:tabular-nums;border-radius:4px;align-items:center;gap:6px;padding:4px 8px;font-size:14px;display:inline-flex}.ultrasonic-reading.is-spike{border-color:var(--ink);background:#ffdf3d}.ultrasonic-spike{font-size:12px;font-weight:700}.ultrasonic-median{margin:8px 0 0}.ultrasonic-surfaces{border:0;flex-direction:column;gap:2px;display:flex}.ultrasonic-surfaces>span{color:#4d4c5c;font-size:14px}.ultrasonic-surfaces label{cursor:pointer;align-items:center;gap:8px;min-height:32px;display:flex}.ultrasonic-surfaces input{width:18px;height:18px;accent-color:var(--ink)}.robotics-primary{background:var(--ink);color:#fff;border-radius:4px;align-items:center;gap:16px;margin-top:24px;padding:14px 24px;font-weight:600;text-decoration:none;display:inline-flex}.robotics-hub-figure{margin:0}.robotics-hub-figure .robot-figure{max-width:380px;margin-inline:auto}.robotics-hub-figure figcaption{color:#4d4c5c;margin-top:12px;line-height:1.6}.robotics-path{gap:16px;margin:0;padding:0;list-style:none;display:grid}.robotics-path-item{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:56px minmax(0,1fr);align-items:start;gap:16px;padding:20px;display:grid}.robotics-path-number{border:2px solid var(--ink);background:#99c5ff;border-radius:50%;place-items:center;width:48px;height:48px;font-size:22px;font-weight:700;display:grid}.robotics-path-item h3{margin:6px 0 8px}.robotics-path-item h3 a{color:inherit}.robotics-path-item p{margin:0}.robotics-path-item .robotics-eyebrow{color:#4d4c5c}.robotics-hub-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;display:grid}.robotics-hub-columns>*{max-width:none}.robotics-section{padding:56px 24px}.robotics-section.is-mist{background:#f4f4f8}.robotics-section-inner>*{max-width:760px}.robotics-section h2{font-family:var(--font-system);margin:0 0 16px;font-size:clamp(28px,4vw,40px);line-height:1.2}.robotics-section h3{font-family:var(--font-system);margin:32px 0 12px;font-size:22px;line-height:1.3}.robotics-section p,.robotics-section li,.robotics-section dd{line-height:1.65}.robotics-section-lede{color:#4d4c5c}.robotics-formula{background:#f4f4f8;border-radius:8px;margin:24px 0;padding:20px 24px}.robotics-formula code{overflow-wrap:anywhere;font-size:clamp(15px,2vw,19px);font-weight:600}.robotics-symbols,.robotics-catches{padding-inline-start:22px}.robotics-symbols li,.robotics-catches li{margin:8px 0}.robotics-example{border:1px solid var(--line);font-variant-numeric:tabular-nums;border-radius:8px;margin:0;padding:16px 20px 16px 44px}.robotics-example li{margin:6px 0}.robotics-example li:last-child{font-weight:700}.robotics-checks{counter-reset:checks;gap:16px;padding:0;list-style:none;display:grid}.robotics-checks>li{counter-increment:checks;border:1px solid var(--line);background:#fff;border-radius:8px;padding:20px}.robotics-checks>li>p:before{content:counter(checks) ". ";font-weight:700}.robotics-checks>li>p{margin:0;font-weight:600}.robotics-checks summary{cursor:pointer;align-items:center;min-height:44px;margin-top:12px;font-weight:600;display:flex}.robotics-checks details p{border-inline-start:4px solid #99c5ff;margin:8px 0 0;padding-inline-start:16px}.robotics-code{margin:24px 0}.robotics-code figcaption{letter-spacing:.06em;text-transform:uppercase;color:#4d4c5c;margin-bottom:8px;font-size:13px;font-weight:700}.robotics-code pre{background:var(--ink);color:#fff;border-radius:8px;margin:0;padding:20px;font-size:14px;line-height:1.6;overflow-x:auto}.robotics-terms{gap:0;margin:0;display:grid}.robotics-terms>div{border-block-end:1px solid var(--line);padding:12px 0}.robotics-terms dt{font-weight:700}.robotics-terms dd{color:#4d4c5c;margin:4px 0 0}.robotics-next{margin:32px 0}.robotics-next a{background:var(--ink);color:#fff;border-radius:4px;padding:14px 24px;font-weight:600;text-decoration:none;display:inline-flex}.robotics-sources{padding-inline-start:22px;font-size:14px}.robotics-sources a{color:inherit}@media (prefers-reduced-motion:reduce){.robot-path{transition:none}}@media (max-width:760px){.robotics-lesson-hero{padding:24px 20px 32px}.robotics-lesson-hero-inner{grid-template-columns:1fr;gap:24px}.robotics-lesson-hero h1{margin-bottom:16px}.robotics-answer{font-size:17px}.robotics-model-card{padding:16px}.stopping-readout,.stopping-sliders{grid-template-columns:1fr}.robotics-hub-columns{grid-template-columns:1fr;gap:24px}.robotics-path-item{grid-template-columns:1fr;padding:16px}.ultrasonic-model .stopping-readout,.power-wiring dl{grid-template-columns:1fr}.robotics-section{padding:40px 20px}}
