/* Final-air-brake-check explainer: a cab air brake dash with a dual air gauge, the low-air light, the engine state, the
   yellow parking brake and red trailer air supply knobs, a single or combination switch and the one-minute leak limits.
   Hero, film, course offer and return banner reuse spring-brakes.css (.sbp-*); this file styles only .fc-*. The script
   sets the stage's data-vehicle, data-engine, data-move, data-lamp, data-park, data-trailer, data-pedal, data-clock
   and data-c1 to data-c7 states, turns the needles and writes the readout. Without script the picture shows a single
   vehicle at 125 psi with the engine running and the parking brake set. Every SVG text label is at least 11.5px in the
   360-wide viewBox. Colors are written out in full so that this file uses no custom properties. */
.fc-page .sbp-hero-grid.is-no-film{grid-template-columns:minmax(0,1fr)}
.fc-demo{padding-block:64px 72px;background:#f2f1ec}
.fc-demo-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);grid-template-areas:"head head" "stage panel";gap:24px 40px;align-items:start}
.fc-head{grid-area:head}
.fc-stage{grid-area:stage;margin:0;padding:10px;border-radius:16px;background:linear-gradient(170deg,#222a30,#0d1114 80%);box-shadow:0 30px 60px -34px rgb(0 0 0/.75),inset 0 1px 0 rgb(255 255 255/.06)}
.fc-svg{display:block;width:100%;height:auto;border-radius:10px;background:#0f1316}
.fc-panel-ui{grid-area:panel;display:grid;gap:14px;min-width:0}

/* the HUD: air pressure, checks passed and the timer; script on */
.fc-hud{display:none;align-items:center;gap:6px;flex-wrap:wrap;padding:0 2px 10px}
.fc-stage.is-js .fc-hud{display:flex}
.fc-chip{display:inline-flex;align-items:center;gap:7px;margin:0;padding:6px 10px 6px 8px;border-radius:8px;background:#080b0d;box-shadow:inset 0 0 0 1px rgb(255 255 255/.09);font-size:13px;line-height:1;white-space:nowrap}
.fc-chip i{flex:none;width:9px;height:9px;border-radius:50%;background:#3a4246;box-shadow:inset 0 0 0 1.5px #586166;transition:background .2s,box-shadow .2s}
.fc-chip span{color:#a9b3b8;font-weight:600}
.fc-chip b{color:#e8eef0;font-weight:800}
.fc-chip-air i{background:#31d67b;box-shadow:0 0 0 2px rgb(49 214 123/.18)}
.fc-stage[data-lamp="on"] .fc-chip-air i{background:#ef4444;box-shadow:0 0 0 2px rgb(239 68 68/.2),0 0 10px rgb(239 68 68/.85)}
.fc-stage[data-lamp="on"] .fc-chip-air b{color:#fca5a5}
.fc-chip-checks i{background:#38bdf8}
.fc-stage[data-clock="leak"] .fc-chip-timer i,.fc-stage[data-clock="build"] .fc-chip-timer i{background:#ffb400;box-shadow:0 0 0 2px rgb(255 180 0/.2),0 0 10px rgb(255 180 0/.8)}
.fc-stage[data-clock="leak"] .fc-chip-timer b,.fc-stage[data-clock="build"] .fc-chip-timer b{color:#fde68a}

/* captions and labels: every label 11.5px or larger */
.fc-cap{fill:#b6c0c5;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.fc-name{fill:#e8eef0;font-size:12px;font-weight:800}
.fc-state{fill:#b6c0c5;font-size:12px;font-weight:800;letter-spacing:.04em}
.fc-mid{text-anchor:middle}
.fc-end{text-anchor:end}

/* the gauge */
.fc-gauge-shade{fill:#000;opacity:.45}
.fc-band{fill:none;stroke-width:6;stroke-linecap:butt}
.fc-band-warn{stroke:#ef4444}
.fc-band-spring{stroke:#ffb400;stroke-width:5}
.fc-band-build{stroke:#38bdf8}
.fc-band-gov{stroke:#31d67b}
.fc-tick-minor{fill:none;stroke:#8f9a9d;stroke-width:1.2;stroke-linecap:round}
.fc-tick-major{fill:none;stroke:#f1f5f6;stroke-width:2.2;stroke-linecap:round}
.fc-num{fill:#f1f5f6;font-size:12px;font-weight:800;text-anchor:middle;paint-order:stroke;stroke:#11161a;stroke-width:3px;stroke-linejoin:round}
.fc-mark{fill:none;stroke:#ffb400;stroke-width:3;stroke-linecap:round}
.fc-mark-txt{fill:#fde68a;font-size:11.5px;font-weight:800;paint-order:stroke;stroke:#0d1114;stroke-width:2.6px;stroke-linejoin:round}
.fc-needle{transition:transform .07s linear}
.fc-needle-1 path{fill:#4ade80;stroke:#0b3b1f;stroke-width:.6}
.fc-needle-2 path{fill:#f87171;stroke:#4a0d0d;stroke-width:.6}
.fc-readout{fill:#fff;font-size:20px;font-weight:900;text-anchor:middle;font-variant-numeric:tabular-nums}
.fc-unit{fill:#b6c0c5;font-size:11.5px;font-weight:800;text-anchor:middle}
.fc-stage[data-lamp="on"] .fc-readout{fill:#fca5a5}

/* the key and the seven checks */
.fc-key-warn{fill:#ef4444}
.fc-key-spring{fill:#ffb400}
.fc-key-build{fill:#38bdf8}
.fc-key-gov{fill:#31d67b}
.fc-key-needle-1,.fc-key-needle-2{fill:none;stroke-width:3;stroke-linecap:round}
.fc-key-needle-1{stroke:#4ade80}
.fc-key-needle-2{stroke:#f87171}
.fc-key-txt{fill:#e8eef0;font-size:11.5px;font-weight:700}
.fc-dot circle{fill:#1b2227;stroke:#59636a;stroke-width:1.2;transition:fill .2s,stroke .2s}
.fc-dot text{fill:#b6c0c5;font-size:11.5px;font-weight:900;text-anchor:middle;transition:fill .2s}
.fc-stage[data-c1="on"] .fc-dot-1 circle,.fc-stage[data-c2="on"] .fc-dot-2 circle,.fc-stage[data-c3="on"] .fc-dot-3 circle,
.fc-stage[data-c4="on"] .fc-dot-4 circle,.fc-stage[data-c5="on"] .fc-dot-5 circle,.fc-stage[data-c6="on"] .fc-dot-6 circle,
.fc-stage[data-c7="on"] .fc-dot-7 circle{fill:#31d67b;stroke:#bbf7d0}
.fc-stage[data-c1="on"] .fc-dot-1 text,.fc-stage[data-c2="on"] .fc-dot-2 text,.fc-stage[data-c3="on"] .fc-dot-3 text,
.fc-stage[data-c4="on"] .fc-dot-4 text,.fc-stage[data-c5="on"] .fc-dot-5 text,.fc-stage[data-c6="on"] .fc-dot-6 text,
.fc-stage[data-c7="on"] .fc-dot-7 text{fill:#06210f}

/* the side panels */
.fc-panel{stroke:#59636a;stroke-width:1}

/* the low-air light */
.fc-lamp{fill:#4a1c1c;stroke:#2a0b0b;stroke-width:1.4;transition:fill .15s}
.fc-lamp-glow{fill:#ef4444;opacity:0;transition:opacity .15s}
.fc-stage[data-lamp="on"] .fc-lamp{fill:url(#fc-g-lamp)}
.fc-stage[data-lamp="on"] .fc-lamp-glow{opacity:.35}
.fc-lamp-on{display:none;fill:#fca5a5}
.fc-stage[data-lamp="on"] .fc-lamp-on{display:inline}
.fc-stage[data-lamp="on"] .fc-lamp-off{display:none}

/* the engine */
.fc-engine-on,.fc-engine-move{display:none;fill:#86efac}
.fc-stage[data-engine="on"] .fc-engine-off{display:none}
.fc-stage[data-engine="on"][data-move="parked"] .fc-engine-on{display:inline}
.fc-stage[data-engine="on"][data-move="rolling"] .fc-engine-move{display:inline;fill:#fde68a}

/* the knobs: pushed in they sit flat in the dash; pulled or popped out they rise on a chrome stem */
.fc-knob-well{fill:#050708;stroke:#2e363a;stroke-width:1.2}
.fc-knob-stem{opacity:0;transition:opacity .2s}
.fc-knob-cap{transform-box:view-box;transition:transform .25s cubic-bezier(.3,1.4,.55,1)}
.fc-knob-face{stroke:#050708;stroke-width:1.2}
.fc-knob-rim{fill:none;stroke:#ffffff;stroke-opacity:.35;stroke-width:1}
.fc-stage[data-park="out"] .fc-knob-park .fc-knob-cap,.fc-stage[data-trailer="out"] .fc-knob-trailer .fc-knob-cap{transform:translateY(-5px)}
.fc-stage[data-park="out"] .fc-knob-park .fc-knob-stem,.fc-stage[data-trailer="out"] .fc-knob-trailer .fc-knob-stem{opacity:1}
.fc-stage[data-trailer="none"] .fc-knob-trailer{opacity:.3}
.fc-park-out,.fc-trailer-in,.fc-trailer-out{display:none}
.fc-stage[data-park="out"] .fc-park-out{display:inline;fill:#fde68a}
.fc-stage[data-park="out"] .fc-park-in{display:none}
.fc-stage[data-trailer="in"] .fc-trailer-in,.fc-stage[data-trailer="out"] .fc-trailer-out{display:inline}
.fc-stage[data-trailer="in"] .fc-trailer-none,.fc-stage[data-trailer="out"] .fc-trailer-none{display:none}
.fc-stage[data-trailer="out"] .fc-trailer-out{fill:#fca5a5}

/* the vehicle switch */
.fc-seg{fill:#0b0e10;stroke:#3a4246;stroke-width:1;transition:fill .2s,stroke .2s}
.fc-seg-txt{fill:#b6c0c5;font-size:12px;font-weight:800;text-anchor:middle}
.fc-stage[data-vehicle="single"] .fc-seg-single,.fc-stage[data-vehicle="combo"] .fc-seg-combo{fill:#3b2f0b;stroke:#ffb400}
.fc-stage[data-vehicle="single"] .fc-seg-txt-single,.fc-stage[data-vehicle="combo"] .fc-seg-txt-combo{fill:#fde68a}

/* the leak limits: the row being timed lights amber */
.fc-row{fill:#d3dade;font-size:11.5px;font-weight:700}
.fc-val{fill:#fff;font-size:12px;font-weight:900;text-anchor:end}
.fc-lim-combo{display:none}
.fc-stage[data-vehicle="combo"] .fc-lim-combo{display:inline}
.fc-stage[data-vehicle="combo"] .fc-lim-single{display:none}
.fc-stage[data-clock="leak"][data-pedal="up"] .fc-row-up,.fc-stage[data-clock="leak"][data-pedal="down"] .fc-row-down{fill:#ffb400}

/* motion, script on: the light pulses while it is on */
.fc-stage.is-js[data-lamp="on"] .fc-lamp-glow{animation:fc-pulse 1s ease-in-out infinite}
@keyframes fc-pulse{50%{opacity:.08}}

/* controls: one dark console, every button the same dark face and white text, amber when active or focused */
.fc-ask{margin:0;color:#14181c;font-size:20px;line-height:1.25}
.fc-ask[hidden],.fc-controls[hidden]{display:none}
.fc-ask b{font-weight:800}
.fc-controls{display:grid;gap:10px;padding:14px;border-radius:16px;background:linear-gradient(180deg,#232b31,#151b20);box-shadow:0 18px 40px -28px rgb(0 0 0/.8),inset 0 1px 0 rgb(255 255 255/.07);color:#e8eef0}
.fc-btn{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:48px;padding:10px 12px;border:0;border-radius:12px;background:linear-gradient(180deg,#303a41,#1b2227);box-shadow:inset 0 1px 0 rgb(255 255 255/.1),0 3px 0 #06090b,0 8px 16px -10px rgb(0 0 0/.7);color:#fff;font:inherit;font-size:16px;font-weight:700;line-height:1.2;text-align:left;cursor:pointer;transition:transform .08s,box-shadow .12s,background .12s}
.fc-btn:hover{background:linear-gradient(180deg,#38434b,#20282d)}
.fc-btn:active{transform:translateY(2px);box-shadow:inset 0 1px 0 rgb(255 255 255/.06),0 1px 0 #06090b}
.fc-btn[aria-pressed="true"]{transform:translateY(2px);box-shadow:inset 0 0 0 2px #ffb400,0 1px 0 #06090b}
.fc-btn:focus-visible{outline:3px solid #ffb400;outline-offset:3px}
.fc-btn-wide{min-height:60px}
.fc-name-ui{display:grid;gap:3px;min-width:0}
.fc-name-ui small{color:#a9b3b8;font-size:13px;font-weight:600}
.fc-group{display:grid;gap:6px}
.fc-label{margin:0;color:#a9b3b8;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.fc-seg-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.fc-btn-seg{justify-content:center;padding:8px 6px;text-align:center;font-size:15px}
.fc-reset{justify-self:start;gap:8px;min-height:44px;padding:8px 16px 8px 12px;font-size:15px}
.fc-reset-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fc-status{display:block;min-height:7.3em;padding:12px 14px 12px 16px;border-left:5px solid #ffb400;border-radius:0 10px 10px 0;background:#fffffc;color:#14181c;font-size:16px;font-weight:600;line-height:1.45;transition:border-color .2s}
.fc-stage[data-lamp="on"]~.fc-panel-ui .fc-status{border-left-color:#ef4444}
.fc-text{margin:0;max-width:40em;color:#14181c;font-size:17px;line-height:1.6}

@media (min-width:761px){
  .fc-page .sbp-film-frame.is-wide{aspect-ratio:auto;padding-bottom:58px;background:#0b0d0f}
  .fc-page .sbp-film-frame.is-wide video{aspect-ratio:16/9;width:100%;height:auto}
  .fc-page .sbp-film-frame.is-wide .sbp-play{bottom:58px}
  .fc-page .sbp-film-frame.is-wide .sbp-sound-on{left:12px;right:auto;top:auto;bottom:10px}
  .fc-page .sbp-film-frame.is-wide .sbp-pause{right:12px;top:auto;bottom:10px}
}
@media (max-width:900px){
  .fc-demo-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "stage" "panel";gap:16px}
}
@media (max-width:760px){
  .fc-demo{padding-block:36px 44px}
  .fc-stage{margin-inline:-8px;padding:8px 6px 6px;border-radius:14px}
  .fc-svg{border-radius:8px}
  .fc-hud{gap:4px;padding:0 0 6px}
  .fc-chip{padding:4px 6px 4px 5px;font-size:11px;gap:4px}
  .fc-chip i{width:8px;height:8px}
  .fc-panel-ui{gap:10px}
  .fc-ask{font-size:18px}
  .fc-controls{gap:8px;margin-inline:-8px;padding:12px 10px}
  .fc-btn{padding:8px 9px;gap:8px;font-size:15px}
  .fc-btn-wide{min-height:58px}
  .fc-btn-seg{padding:8px 4px;font-size:14px}
  .fc-name-ui small{font-size:12px}
  .fc-status{min-height:8.8em;padding:10px 12px;font-size:15px}
  .fc-text{font-size:16px}
}
@media (prefers-reduced-motion:reduce){
  .fc-page .fc-demo *{transition:none!important;animation:none!important}
}
