/* When are placards required explainer: a trailer in three-quarter view (a dry van of non-bulk boxes or a bulk
   cargo tank with residue), its side and rear placard slots, a top view of all four sides, a large placard preview,
   a weight readout and a verdict badge. Hero, film, course offer and return banner reuse spring-brakes.css (.sbp-*);
   this file styles only .wp-*. The script sets the stage's data-table, data-weight, data-bulk, data-place and
   data-result states, and CSS shows the matching parts. Without script the picture shows 1,001 lb of a Table 2
   material in non-bulk packages with FLAMMABLE 3 placards. Every SVG label is at least 11.5px in the 360 wide
   viewBox. */
.wp-page{--wp-go:#31d67b;--wp-amber:#fbbf24;--wp-red:#d7261e;--wp-blue:#1d5fc4;--wp-console:#151b20}
.wp-page .sbp-hero-grid.is-no-film{grid-template-columns:minmax(0,1fr)}
.wp-page .sbp-answer-text{font-size:clamp(21px,2.1vw,28px);line-height:1.22}
.wp-demo{padding-block:64px 72px;background:var(--paper)}
.wp-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}
.wp-head{grid-area:head}
.wp-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)}
.wp-svg{display:block;width:100%;height:auto;border-radius:10px;background:#0f1316}
.wp-panel{grid-area:panel;display:grid;gap:14px;min-width:0}

/* the HUD: table, package type, rule trigger; script on */
.wp-hud{display:none;align-items:center;gap:6px;flex-wrap:wrap;padding:0 2px 10px}
.wp-stage.is-js .wp-hud{display:flex}
.wp-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.15}
.wp-chip i{flex:none;width:9px;height:9px;border-radius:50%;background:#3a4246;box-shadow:inset 0 0 0 1.5px #586166}
.wp-chip span{color:#a9b3b8;font-weight:600;white-space:nowrap}
.wp-chip b{color:#e8eef0;font-weight:800}
.wp-chip-table i{background:var(--wp-red);box-shadow:0 0 0 2px rgb(215 38 30/.2)}
.wp-stage[data-table="t1"] .wp-chip-table i{background:var(--wp-blue);box-shadow:0 0 0 2px rgb(29 95 196/.25)}
.wp-chip-pack i{background:#38bdf8;box-shadow:0 0 0 2px rgb(56 189 248/.18)}
.wp-chip-rule i{background:var(--wp-amber);box-shadow:0 0 0 2px rgb(251 191 36/.2),0 0 10px rgb(251 191 36/.7)}
.wp-chip-rule b{color:#fde68a}
.wp-stage[data-result="none"] .wp-chip-rule i{background:var(--wp-go);box-shadow:0 0 0 2px rgb(49 214 123/.18)}
.wp-stage[data-result="none"] .wp-chip-rule b{color:var(--wp-go)}

/* the trailer: a dry van or a bulk tank */
.wp-ground{fill:none;stroke:#2e383e;stroke-width:1.4}
.wp-face{stroke:#0b0e10;stroke-width:1.2}
.wp-seam{fill:none;stroke:#8f999d;stroke-width:1}
.wp-box{fill:#c8975a;stroke:#5b4020;stroke-width:.8}
.wp-walk{fill:none;stroke:#59636a;stroke-width:3;stroke-linecap:round}
.wp-residue{fill:none;stroke:#8a6d2f;stroke-width:3;stroke-linecap:round;stroke-dasharray:2 4}
.wp-tank{display:none}
.wp-stage[data-bulk="bulk"] .wp-tank{display:inline}
.wp-stage[data-bulk="bulk"] .wp-van{display:none}

/* placard slots on the trailer: empty when no placard is required, otherwise the class diamond */
.wp-slot-empty{fill:rgb(8 11 13/.35);stroke:#59636a;stroke-width:1.4;stroke-dasharray:3 3}
.wp-pl{display:none}
.wp-stage[data-result="required"][data-table="t2"] .wp-pl-flam,.wp-stage[data-result="required"][data-table="t1"] .wp-pl-wet{display:inline}
.wp-stage[data-result="required"] .wp-slot-empty{display:none}
.wp-level{display:none}
.wp-stage[data-place="on"] .wp-level{display:inline}
.wp-level-line{fill:none;stroke:var(--wp-amber);stroke-width:1.6;stroke-dasharray:5 3}
.wp-stage[data-place="on"] .wp-slot-empty{stroke:var(--wp-amber)}

/* labels: one text family, never below 11.5px */
.wp-t{font-size:11.5px;font-weight:800;text-anchor:middle;letter-spacing:.03em}
.wp-t-pack{fill:#1f2a30}
.wp-t-res{fill:#5b4413}
.wp-t-level{fill:#fde68a;paint-order:stroke;stroke:#0b0e10;stroke-width:3px}
.wp-t-side{fill:#c3ccd0;letter-spacing:.06em}
.wp-stage[data-place="on"] .wp-t-side{fill:#fde68a}
.wp-t-plan{fill:#3a4549;letter-spacing:.06em}
.wp-t-none{fill:#c3ccd0;font-size:12px;letter-spacing:.06em}
.wp-t-pl{fill:#ffffff;font-size:11.5px;font-weight:900;letter-spacing:0}
.wp-t-num{fill:#ffffff;font-size:14px;font-weight:900}
.wp-t-cap{fill:#d3dade;text-anchor:start;letter-spacing:.04em}
.wp-t-wt{fill:#ffffff;font-size:15px;font-weight:900;text-anchor:end}
.wp-t-verdict{fill:#1a1206;font-size:12px;font-weight:900;letter-spacing:.04em}
.wp-stage[data-result="none"] .wp-t-verdict{fill:#06301b}

/* top view: the four sides */
.wp-plan-body{fill:#d7dcde;stroke:#0b0e10;stroke-width:1.2}
.wp-plan-cab{fill:none;stroke:#8f999d;stroke-width:1.4}
.wp-pslot-dia{fill:#151b20;stroke:#59636a;stroke-width:1.4;stroke-dasharray:3 2}
.wp-stage[data-result="required"][data-table="t2"] .wp-pslot-dia{fill:var(--wp-red);stroke:#1a1a1a;stroke-dasharray:none}
.wp-stage[data-result="required"][data-table="t1"] .wp-pslot-dia{fill:var(--wp-blue);stroke:#1a1a1a;stroke-dasharray:none}
.wp-stage[data-place="on"] .wp-pslot-dia{stroke:var(--wp-amber);stroke-width:2.4;stroke-dasharray:none}

/* the large placard preview */
.wp-big{display:none}
.wp-stage[data-result="none"] .wp-big-none,.wp-stage[data-result="required"][data-table="t2"] .wp-big-flam,
.wp-stage[data-result="required"][data-table="t1"] .wp-big-wet{display:inline}
.wp-big-empty{fill:#080b0d;stroke:#59636a;stroke-width:1.6;stroke-dasharray:5 4}
.wp-big-out{stroke:#1a1a1a;stroke-width:1.6}
.wp-big-red{fill:var(--wp-red)}
.wp-big-blue{fill:var(--wp-blue)}
.wp-big-in{fill:none;stroke:#ffffff;stroke-width:1.4}
.wp-big-sym{fill:#ffffff}

/* the running gear */
.wp-leg,.wp-foot{fill:#4f5a5e}
.wp-tire{stroke:#000;stroke-width:1}
.wp-hub{fill:#aeb7ba}

/* the readout and the verdict */
.wp-readout rect{fill:#080b0d;stroke:#59636a;stroke-width:1}
.wp-verdict rect{fill:var(--wp-amber);stroke:#1a1206;stroke-width:1}
.wp-stage[data-result="none"] .wp-verdict rect{fill:var(--wp-go);stroke:#06301b}

/* controls: one dark console, every button the same dark face and white text, amber when pressed or focused */
.wp-ask{margin:0;color:var(--ink);font-size:20px;line-height:1.25}
.wp-ask[hidden],.wp-controls[hidden]{display:none}
.wp-ask b{font-weight:800}
.wp-controls{display:grid;gap:12px;padding:14px;border-radius:16px;background:linear-gradient(180deg,#232b31,var(--wp-console));box-shadow:0 18px 40px -28px rgb(0 0 0/.8),inset 0 1px 0 rgb(255 255 255/.07);color:#e8eef0}
.wp-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}
.wp-btn:hover{background:linear-gradient(180deg,#38434b,#20282d)}
.wp-btn:active{transform:translateY(2px);box-shadow:inset 0 1px 0 rgb(255 255 255/.06),0 1px 0 #06090b}
.wp-btn[aria-pressed="true"]{transform:translateY(2px);box-shadow:inset 0 0 0 2px var(--sbp-amber,#ffb400),0 1px 0 #06090b}
.wp-btn:focus-visible{outline:3px solid var(--sbp-amber,#ffb400);outline-offset:3px}
.wp-btn-wide{min-height:64px}
.wp-name{display:grid;gap:3px;min-width:0}
.wp-name small{color:#a9b3b8;font-size:13px;font-weight:600}
.wp-group{display:grid;gap:6px}
.wp-label{margin:0;color:#a9b3b8;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.wp-seg{display:grid;gap:6px}
.wp-seg-1{grid-template-columns:minmax(0,1fr)}
.wp-seg-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.wp-seg-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.wp-btn-seg{justify-content:center;padding:8px 8px;text-align:center;font-size:15px}
.wp-icon{flex:none;width:30px;height:30px}
.wp-icon-body{fill:#8f9a9d}
.wp-icon-dia{fill:var(--wp-amber)}
.wp-reset{justify-self:start;gap:8px;min-height:44px;padding:8px 16px 8px 12px;font-size:15px}
.wp-reset-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wp-status{display:block;min-height:7.3em;padding:12px 14px 12px 16px;border-left:5px solid var(--wp-amber);border-radius:0 10px 10px 0;background:var(--white,#fffffc);color:var(--ink);font-size:16px;font-weight:600;line-height:1.45}
.wp-stage[data-result="none"]~.wp-panel .wp-status{border-left-color:var(--wp-go)}
.wp-text{margin:0;max-width:40em;color:var(--ink);font-size:17px;line-height:1.6}

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