/* Process & Batch page (/solutions/process-batch/) — builds on platform-page.css, the section styles and widget kit (.dk-*)
   in platform-dashboards.css, and the Solutions patterns in solutions-production.css (.pe-*). Page-specific pieces are .pb-*. */
.pb-page .pe-tablet .dv-panes>*+*{margin-top:12px}

/* ---- temperature plots: stretched SVG (non-scaling strokes) with HTML labels placed by % ---- */
.pb-plot{position:relative}
.pb-plot svg,.pb-ov{display:block;width:100%;overflow:visible}
.pb-grid{stroke:#E6E8EE;stroke-width:1;vector-effect:non-scaling-stroke}
.pb-grid-v{stroke-dasharray:3 4}
.pb-band{fill:#E6F6EF}
.pb-limit{fill:none;stroke:#EE8574;stroke-width:1.5;stroke-dasharray:5 4;vector-effect:non-scaling-stroke}
.pb-gap{fill:#FFF4EF}
.pb-ln{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.pb-ln-ref{stroke:#55C197}
.pb-ln-run{stroke:#EE8574}
.pb-y{position:absolute;left:0;transform:translateY(-120%);font-size:10.5px;font-weight:700;color:#A3A8B6}
.pb-lim-t{position:absolute;transform:translate(-100%,-130%);font-size:10.5px;font-weight:800;color:#BF4A33;white-space:nowrap}
.pb-key{display:flex;flex-wrap:wrap;gap:6px 16px;margin:10px 0 0;padding:0;list-style:none;font-size:11.5px;font-weight:700;color:#5D6273}
.pb-key li{display:flex;align-items:center;gap:6px}
.pb-key li:before{content:"";width:14px;height:3px;border-radius:2px}
.pb-k-ref:before{background:#55C197}
.pb-k-run:before{background:#EE8574}
.pb-k-lim:before{height:0!important;border-top:2px dashed #EE8574}
/* stage names under a plot, each cell as wide as its stage */
.pf-page .pb-strip{display:flex;margin:8px 0 0;font-size:11.5px;font-weight:700;color:#A3A8B6}
.pb-strip span{min-width:0;padding:6px 2px;border-top:2px solid #E6E8EE;overflow:hidden;text-align:center;white-space:nowrap;text-overflow:ellipsis;transition:color .3s,border-color .3s}

/* ---- hero: batch B-3107 in Reactor R-201. The script sets data-stage (0–5 running, 6 finished), data-dev once the
   temperature has crossed its limit, .is-hot while it is above it, and --lvl for the vessel's fill ---- */
.pb-viz{--lvl:.1;max-width:1080px;margin:44px auto 0;font-family:Manrope,Arial,sans-serif;text-align:left}
.pf-page .pb-status{display:flex;justify-content:center;margin:0 0 20px;font-size:15px;font-weight:700}
.pb-status span{padding:8px 16px;border-radius:40px;background:var(--pf-white);box-shadow:0 0 0 1px var(--pf-line);color:var(--pf-ink);white-space:nowrap}
.pb-viz.is-hot .pb-status span{color:#BF4A33;box-shadow:0 0 0 2px #F7B6A6}
.pb-panel-live{display:grid;grid-template-columns:220px minmax(0,1fr);gap:36px;align-items:center;padding:28px 32px 24px;border-radius:28px;background:var(--pf-white);box-shadow:0 0 0 1px var(--pf-line),0 40px 70px -50px rgb(24 26 36 / .45)}
/* the vessel */
.pb-vessel{position:relative}
.pb-vessel svg{display:block;width:100%;height:auto;overflow:visible}
.pb-pipe{fill:none;stroke:#C7CEE0;stroke-width:6;stroke-linejoin:round}
.pb-valve{fill:#fff;stroke:#96A3C2;stroke-width:2;stroke-linejoin:round;transition:fill .3s}
.pb-viz[data-stage="0"] .pb-valve-in,.pb-viz[data-stage="5"] .pb-valve-out{fill:#55C197;stroke:#257A55}
.pb-motor{fill:#3F4456}
.pb-shaft{stroke:#3F4456;stroke-width:3}
.pb-blade{stroke:#3F4456;stroke-width:5;stroke-linecap:round}
.pb-impeller{transform-box:fill-box;transform-origin:center}
.pb-jacket{fill:#F3F4F7;stroke:#D3D9E4;stroke-width:2;transition:fill .5s,stroke .5s}
.pb-viz:is([data-stage="1"],[data-stage="2"],[data-stage="3"]) .pb-jacket{fill:#FEF0E8;stroke:#F5A47E}
.pb-viz[data-stage="4"] .pb-jacket{fill:#EAF2FB;stroke:#8DC3EA}
.pb-shell{fill:#fff;stroke:#3F4456;stroke-width:3}
.pb-lid{stroke:#3F4456;stroke-width:5;stroke-linecap:round}
.pb-liquid{fill:#A9CBEF;transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(var(--lvl));transition:fill .6s}
.pb-viz:is([data-stage="1"],[data-stage="3"]) .pb-liquid{fill:#F9CDAE}
.pb-viz[data-stage="2"] .pb-liquid{fill:#F5A47E}
.pb-viz.is-hot .pb-liquid{fill:#EE8574}
.pb-tap{stroke:#96A3C2;stroke-width:2}
/* instrument bubbles (ISA style: function letters over the loop number) */
.pb-tag{position:absolute;display:grid;place-items:center;align-content:center;width:38px;height:38px;margin:-19px 0 0 -19px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px #3F4456;font-size:9.5px;font-weight:700;line-height:1.1;color:#5D6273;transition:box-shadow .3s}
.pb-tag b{font-size:11px;font-weight:800;color:#22252F}
.pb-tag:before{content:"";position:absolute;left:3px;right:3px;top:50%;border-top:1.5px solid #3F4456}
.pb-tag-t{left:95%;top:40%}
.pb-tag-p{left:95%;top:58.7%}
.pb-tag-f{left:27.3%;top:11%}
.pb-viz.is-hot .pb-tag-t{box-shadow:inset 0 0 0 2px #EE8574,0 0 0 6px rgb(238 133 116 / .2)}
.pf-page .pb-vessel-name{margin-top:10px;font-size:12px;font-weight:600;color:var(--pf-muted);text-align:center}
.pb-vessel-name b{display:block;font-size:14px;color:var(--pf-ink)}
/* readings */
.pb-reads{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:22px}
.pb-read{display:grid;gap:6px;padding:12px 14px;border-radius:16px;background:var(--pf-surface);box-shadow:inset 0 0 0 1px var(--pf-line);transition:background-color .3s,box-shadow .3s}
.pb-read small{font-size:11px;font-weight:700;color:var(--pf-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pb-read b{font-size:24px;letter-spacing:-.03em;color:var(--pf-ink);font-variant-numeric:tabular-nums}
.pb-read b i{margin-left:4px;font-style:normal;font-size:13px;color:var(--pf-muted)}
.pb-viz.is-hot .pb-read-t{background:#FDECE8;box-shadow:inset 0 0 0 2px #EE8574}
.pb-viz.is-hot .pb-read-t b{color:#BF4A33}
/* the live trace */
.pb-chart svg{height:200px}
.pb-cursor{position:absolute;top:-6px;bottom:0;width:0;border-left:2px solid var(--pf-ink);opacity:.7}
.pb-cursor:before{content:"";position:absolute;left:-6px;top:-4px;width:10px;height:10px;border-radius:50%;background:var(--pf-ink)}
.pb-viz[data-stage="6"] .pb-cursor{opacity:0}
.pb-dev-pt{position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#EE8574;box-shadow:0 0 0 5px rgb(238 133 116 / .22);opacity:0;transform:scale(.4);transition:opacity .3s,transform .3s}
.pb-dev-pt b{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);padding:3px 9px;border-radius:10px;background:#FDECE8;color:#BF4A33;font-size:11px;white-space:nowrap}
.pb-viz[data-dev="1"] .pb-dev-pt{opacity:1;transform:none}
.pb-viz[data-stage="0"] .pb-strip-live span:nth-child(1),.pb-viz[data-stage="1"] .pb-strip-live span:nth-child(2),.pb-viz[data-stage="2"] .pb-strip-live span:nth-child(3),
.pb-viz[data-stage="3"] .pb-strip-live span:nth-child(4),.pb-viz[data-stage="4"] .pb-strip-live span:nth-child(5),.pb-viz[data-stage="5"] .pb-strip-live span:nth-child(6){color:var(--pf-ink);border-color:var(--pf-orange)}

/* ---- the challenge ---- */
/* three separate screens */
.pb-pic-vis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:24px 14px 0}
.pb-src{position:relative;align-self:start;display:grid;gap:8px;padding:12px;border-radius:12px;background:#22252F;color:#fff}
.pb-src small{font-size:10px;font-weight:700;color:#A3A8B6;white-space:nowrap}
.pb-src b{font-size:18px;letter-spacing:-.02em;color:#8DE0B9;font-variant-numeric:tabular-nums}
.pb-src b i{margin-left:3px;font-style:normal;font-size:10px;color:#A3A8B6}
.pb-src svg{width:100%;height:24px;fill:none;stroke:#F5A47E;stroke-width:2}
.pb-src+.pb-src:before{content:"";position:absolute;right:100%;top:30px;width:16px;border-top:2px dashed #E9A898}
.pb-pic-vis em,.pb-pic-cons em,.pb-pic-rec em{position:absolute;right:12px;bottom:12px;padding:4px 10px;border-radius:12px;background:#FDF6DF;color:#866500;font-style:normal;font-size:11px;font-weight:700}
/* same recipe, different results */
.pb-pic-cons{display:flex;align-items:flex-start;justify-content:center;gap:12px;padding:20px 14px 0}
.pb-run{display:grid;gap:3px;width:118px;padding:12px;border-radius:14px;background:#fff;box-shadow:inset 0 3px 0 #55C197,0 12px 26px -18px rgb(24 26 36 / .55)}
.pb-run.is-low{box-shadow:inset 0 3px 0 #EE8574,0 12px 26px -18px rgb(24 26 36 / .55)}
.pb-run small{font-size:10.5px;font-weight:700;color:#858A9B}
.pb-run b{font-size:22px;letter-spacing:-.03em;color:#257A55}
.pb-run.is-low b{color:#BF4A33}
.pb-run span{font-size:11px;font-weight:700;color:#5D6273}
.pb-neq{align-self:center;margin-top:-20px;font-style:normal;font-size:24px;font-weight:800;color:#A3A8B6}
/* records kept apart */
.pb-pic-rec{padding:0}
.pb-doc{position:absolute;display:grid;gap:6px;width:112px;padding:12px;border-radius:10px;background:#fff;box-shadow:0 12px 26px -18px rgb(24 26 36 / .55)}
.pb-doc b{font-size:11px;color:#3F4456}
.pb-doc i{height:5px;border-radius:3px;background:#EEF0F4}
.pb-doc i+i{width:70%}
.pb-doc-a{left:8%;top:22px;transform:rotate(-6deg)}
.pb-doc-b{left:36%;top:70px;transform:rotate(4deg)}
.pb-doc-c{right:7%;top:16px;transform:rotate(-3deg)}

/* ---- how DelphEon helps: who holds the tablet (operator, shift supervisor, process engineer, plant manager) ---- */
.pb-bg,.pb-wear{transition:opacity .4s ease}
.pb-bg1,.pb-bg2,.pb-bg3,.pb-w-suit,.pb-w-lab{opacity:0}
.pe-how-stage:not([data-step="0"]) :is(.pb-bg0,.pb-w-vest){opacity:0}
.pe-how-stage:is([data-step="2"],[data-step="3"]) .pb-w-hat{opacity:0}
.pe-how-stage[data-step="1"] .pb-bg1,.pe-how-stage[data-step="2"] :is(.pb-bg2,.pb-w-lab),.pe-how-stage[data-step="3"] .pb-bg3,
.pe-how-stage:is([data-step="1"],[data-step="3"]) .pb-w-suit{opacity:1}
/* tablet screens */
.pb-alert{flex-direction:column;align-items:flex-start;justify-content:center}
.pb-alert u{margin-left:0}
.pb-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.pb-meta span{display:grid;gap:2px;padding:9px 12px;border-radius:12px;background:#fff}
.pb-meta small{font-size:10.5px;font-weight:700;color:#858A9B}
.pb-meta b{font-size:13px;color:#22252F}
.pb-stages{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.pb-stages li{display:grid;grid-template-columns:18px minmax(0,1fr) 52px minmax(0,1.1fr);gap:10px;align-items:center;padding:7px 8px;border-radius:10px;font-size:12px;font-weight:600;color:#A3A8B6}
.pb-stages i{width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 2px #D3D6DE}
.pb-stages b{font-size:12.5px;color:#858A9B}
.pb-stages em{font-style:normal;text-align:right}
.pb-stages .is-done{color:#5D6273}
.pb-stages .is-done b{color:#22252F}
.pb-stages .is-done i{box-shadow:none;background:#55C197 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5'/%3E%3C/svg%3E") center/16px no-repeat}
.pb-stages .is-now{background:#EAF2FB;color:#2C68A8}
.pb-stages .is-now b{color:#22252F}
.pb-stages .is-now i{box-shadow:inset 0 0 0 5px #5B9BD5}
.pb-ov{height:150px}
.pb-deltas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pb-deltas span{display:grid;gap:4px;padding:12px 14px;border-radius:14px;background:#fff;box-shadow:inset 0 3px 0 #EE8574}
.pb-deltas small{font-size:11px;font-weight:700;color:#858A9B}
.pb-deltas b{font-size:20px;letter-spacing:-.02em;color:#BF4A33}

/* ---- key capabilities: batch B-3107 moves through the plant, one capability per station. The script marks the open
   station's parts (data-st) .is-on and the ones before it .is-past, and sets --at for the readout, the pin, the stop track
   and, on narrow screens, the floor's pan ---- */
.pb-plant{--at:0;padding:20px 28px 32px;border-radius:32px;background:var(--pf-white);box-shadow:0 0 0 1px var(--pf-line),0 40px 70px -50px rgb(24 26 36 / .45)}
/* the floor is --k times as wide as its window and pans so the open station sits in the middle (no pan when --k is 1) */
.pb-floor{--k:1;overflow:hidden}
.pb-floor-in{position:relative;width:calc(var(--k) * 100%);transform:translateX(clamp(calc(100% / var(--k) - 100%),calc(50% / var(--k) - var(--at) * 20% - 10%),0%));transition:transform .9s ease}
.pb-plant-svg{display:block;width:100%;height:auto;margin-top:-26px;overflow:visible}
/* the readout: one dark card that slides over the open station (kept inside the floor); the pin drops to the equipment */
.pb-card-lane{position:relative;height:206px}
.pb-card{position:absolute;bottom:26px;left:clamp(126px,calc(var(--at) * 20% + 10%),calc(100% - 126px));display:grid;width:252px;padding:14px 16px 13px;border-radius:18px;background:#22252F;color:#fff;box-shadow:0 22px 40px -24px rgb(24 26 36 / .7);transform:translateX(-50%);transition:left .9s ease}
.pb-card-s{grid-area:1/1;display:grid;align-content:start;gap:8px;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.pb-card-s.is-on{opacity:1;visibility:visible;transition-delay:.55s}
.pb-card small{font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#FF9A76}
.pb-card b{font-size:14.5px;line-height:1.3;letter-spacing:-.01em}
.pb-card ul{display:grid;gap:4px;margin:0;padding:0;list-style:none}
.pb-card li{display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:600;color:#A3A8B6}
.pb-card em{font-style:normal;font-weight:800;color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums}
.pb-card em.is-bad{color:#FF9C8A}
.pb-card em.is-ok{color:#8DE0B9}
.pb-card em.is-warn{color:#F5DE97}
.pf-page .pb-card p{margin:0;padding-top:8px;border-top:1px solid rgb(255 255 255 / .12);font-size:11.5px;font-weight:700;line-height:1.4;color:#C7CEE0}
.pb-card-bar{display:flex;gap:2px;height:10px;margin-top:2px;border-radius:5px;overflow:hidden}
.pb-card-bar i{min-width:3px}
.pb-card-bar .is-ok{background:#55C197}
.pb-card-bar .is-bad{background:#EE8574}
.pb-card-bar .is-warn{background:#EBC255}
.pb-pin{position:absolute;bottom:0;left:calc(var(--at) * 20% + 10%);height:26px;border-left:2px dashed var(--pf-orange);transition:left .9s ease}
.pb-pin:after{content:"";position:absolute;left:-6px;bottom:-5px;width:10px;height:10px;border-radius:50%;background:var(--pf-orange);box-shadow:0 0 0 4px rgb(255 95 45 / .18)}
/* the floor: areas, pipes with the batch's trail, and the equipment (dimmed until its station opens) */
.pb-zone{fill:transparent;transition:fill .5s}
.pb-zone.is-on{fill:#FFF6F2}
.pb-zone-div{stroke:#E6E8EE;stroke-width:1.5;stroke-dasharray:4 6}
.pb-ground{stroke:#D3D9E4;stroke-width:2}
.pb-fp,.pb-fp-trail,.pb-fp-slug{fill:none;stroke-width:7;stroke-linejoin:round}
.pb-fp{stroke:#DDE2EC}
.pb-fp-trail{stroke:#FFC6B2;opacity:0;transition:opacity .4s}
.pb-run:is(.is-on,.is-past) .pb-fp-trail{opacity:1}
.pb-run.is-on .pb-fp-trail{transition-delay:.8s}
.pb-fp-slug{stroke:var(--pf-orange);stroke-dasharray:18 200;stroke-dashoffset:18}
.pb-eq{opacity:.5;transition:opacity .5s}
.pb-eq.is-on{opacity:1}
.pb-shell-line{fill:none;stroke:#3F4456;stroke-width:3}
.pb-mat{fill:#F9CDAE;transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(0);transition:transform .9s ease}
.pb-eq.is-on .pb-mat{transform:scaleY(var(--l));transition-delay:.7s}
.pb-eq[data-st="1"].is-on .pb-mat{fill:#F5A47E}
.pb-frame{fill:none;stroke:#C7CEE0;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.pb-frame-thin{stroke:#96A3C2;stroke-width:2}
.pb-sack{fill:#EFE6D6;stroke:#C9B99B;stroke-width:2}
.pb-scr{fill:#22252F}
.pb-scr-t{fill:#8DE0B9;font:800 11px Manrope,Arial,sans-serif;text-anchor:middle}
.pb-jkt{fill:#F3F4F7;stroke:#D3D9E4;stroke-width:2;transition:fill .5s,stroke .5s}
.pb-eq.is-on .pb-jkt{fill:#FEF0E8;stroke:#F5A47E}
.pb-imp{transform-box:fill-box;transform-origin:center}
.pb-ft circle{fill:#fff;stroke:#3F4456;stroke-width:2;transition:stroke .3s}
.pb-ft path{stroke:#3F4456;stroke-width:1.5}
.pb-ft text{font:800 9.5px Manrope,Arial,sans-serif;fill:#22252F;text-anchor:middle}
.pb-ft .pb-ft-n{font-size:8px;font-weight:700;fill:#5D6273}
.pb-eq.is-on .pb-ft-hot circle{stroke:#EE8574;stroke-width:3}
.pb-filter{stroke:#96A3C2;stroke-width:2;stroke-dasharray:4 4}
.pb-base{fill:#E2E4EA}
.pb-gauge{stroke:#DDE2EC;stroke-width:6;stroke-linecap:round}
.pb-gauge-lvl{stroke:#F5A47E;stroke-width:4;stroke-linecap:round;opacity:0;transition:opacity .4s}
.pb-eq.is-on .pb-gauge-lvl{opacity:1;transition-delay:1s}
.pb-hoop{stroke:#3F4456;stroke-width:2}
.pb-drum-full{fill:#F9CDAE;stroke:#3F4456;stroke-width:3}
.pb-stream{stroke:#F5A47E;stroke-width:5;stroke-dasharray:6 5;opacity:0;transition:opacity .3s}
.pb-eq.is-on .pb-stream{opacity:1;transition-delay:.7s}
/* the stops: one per station, on a track that fills up to the open one */
.pb-stops{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:22px}
.pb-stops:before,.pb-stops:after{content:"";position:absolute;left:10%;right:10%;top:17px;height:2px;background:var(--pf-line)}
.pb-stops:after{background:var(--pf-orange);transform-origin:left;transform:scaleX(calc(var(--at) / 4));transition:transform .9s ease}
.pb-stop{position:relative;z-index:1;display:grid;justify-items:center;align-content:start;gap:4px;padding:0 6px 14px;border:0;border-radius:14px;background:none;font-family:inherit;text-align:center;cursor:pointer}
.pb-stop-n{display:grid;place-items:center;width:36px;height:36px;margin-bottom:6px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px #D3D6DE;font-size:12px;font-weight:800;color:var(--pf-muted);transition:background-color .25s,box-shadow .25s,color .25s}
.pb-stop b{font-size:15px;line-height:1.25;color:var(--pf-text);transition:color .25s}
.pb-stop-c{font-size:13px;font-weight:600;line-height:1.3;color:var(--pf-muted)}
.pb-stop:hover .pb-stop-n{box-shadow:inset 0 0 0 2px var(--pf-ink);color:var(--pf-ink)}
.pb-stop:focus-visible{outline:2px solid var(--pf-blue);outline-offset:2px}
.pb-stop.is-past .pb-stop-n{background:#FFE6DC;box-shadow:none;color:#BF4A33}
.pb-stop[aria-selected=true] .pb-stop-n{background:var(--pf-orange);box-shadow:0 0 0 6px rgb(255 95 45 / .16);color:#fff}
.pb-stop[aria-selected=true] b{color:var(--pf-ink)}
.pb-stop-timer{position:absolute;left:32%;right:32%;bottom:0;height:3px;border-radius:2px;background:var(--pf-orange);transform:scaleX(0);transform-origin:left}
/* the open station's capability */
.pb-cap{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px 56px;margin-top:24px;padding:30px 8px 0;border-top:1px solid var(--pf-line)}
.pb-cap[hidden]{display:none}
.pb-cap:focus-visible{outline:2px solid var(--pf-blue);outline-offset:6px;border-radius:12px}
.pb-cap-head small{display:block;margin-bottom:10px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--pf-orange)}
.pf-page .pb-cap h3{margin-bottom:12px;font-size:28px;line-height:1.15;letter-spacing:-.03em}
.pf-page .pb-cap-lead{font-size:17px;font-weight:600;line-height:1.5;color:var(--pf-ink)}
.pb-cap-body{display:grid;gap:12px}
.pf-page .pb-cap-body p{font-size:15.5px;line-height:1.6}

/* ---- beyond process monitoring: two runs of the same recipe on one board ---- */
.pb-cb-wrap{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:56px;align-items:center}
.pb-cb{margin:0;padding:28px 28px 22px;border-radius:32px;background:var(--pf-white);box-shadow:0 0 0 1px var(--pf-line),0 40px 70px -50px rgb(24 26 36 / .45)}
.pb-cb>*{transition:opacity .25s}
.pb-cb-head{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;margin-bottom:22px}
.pb-cb-head p{font-size:12px;font-weight:700;line-height:1.4;color:var(--pf-muted);text-align:center}
.pb-cb-head p span{display:block}
.pb-cb-batch{display:grid;gap:2px;padding:12px 16px;border-radius:16px;background:#E6F6EF}
.pb-cb-batch.is-run{background:#FDECE8;text-align:right}
.pb-cb-batch small{font-size:11px;font-weight:700;color:#257A55}
.pb-cb-batch.is-run small{color:#BF4A33}
.pb-cb-batch b{font-size:22px;letter-spacing:-.03em;color:var(--pf-ink)}
.pb-cb-batch span{font-size:12px;font-weight:600;color:var(--pf-text)}
.pf-page .pb-cb-sub{margin:0 0 8px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--pf-muted)}
.pb-cb-plot svg{height:220px}
.pf-page .pb-cb-x{display:flex;justify-content:space-between;margin:6px 0 0;font-size:10.5px;font-weight:700;color:#A3A8B6}
/* numbered differences on the chart; ② sits above its point, ③ below, ① to the right */
.pb-mark{position:absolute;display:flex;align-items:center;gap:6px;transform:translate(-11px,-50%);transition:opacity .25s}
.pb-mark>b{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--pf-ink);color:#fff;font-size:11.5px;box-shadow:0 0 0 3px #fff}
.pb-mark>span{padding:3px 9px;border-radius:10px;background:#fff;box-shadow:0 0 0 1px var(--pf-line),0 8px 18px -12px rgb(24 26 36 / .5);font-size:11.5px;font-weight:700;color:var(--pf-ink);white-space:nowrap}
.pb-mark-2,.pb-mark-3{flex-direction:column;transform:translate(-50%,calc(-100% + 11px))}
.pb-mark-2{flex-direction:column-reverse}
.pb-mark-3{transform:translate(-50%,-11px)}
.pb-cb-hist{margin-top:22px}
.pb-cb-row{display:grid;grid-template-columns:60px minmax(0,1fr);gap:10px;align-items:center;margin-top:6px}
.pb-cb-row>b{font-size:12.5px;color:var(--pf-ink)}
.pb-cb-stages{display:flex;gap:2px;height:26px}
.pb-cb-stages i{display:grid;place-items:center;min-width:0;border-radius:6px;background:#A4E1C6;overflow:hidden}
.pb-cb-row.is-run .pb-cb-stages i{background:#D3D6DE}
.pb-cb-row.is-run .pb-cb-stages i.is-long{background:#EE8574}
.pb-cb-stages i:nth-child(even){filter:brightness(.94)}
.pb-cb-stages span{padding:0 4px;font-size:10.5px;font-weight:700;font-style:normal;color:#22252F;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pb-cb-row.is-run .is-long span{color:#fff}
.pb-cb-stages .pb-cb-rest{background:none!important}
.pb-cb-out{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:22px 0 0}
.pb-cb-out div{display:grid;gap:4px;padding:12px 14px;border-radius:16px;background:var(--pf-surface);box-shadow:inset 0 0 0 1px var(--pf-line)}
.pb-cb-out dt{font-size:11px;font-weight:700;color:var(--pf-muted)}
.pb-cb-out dd{margin:0;display:flex;align-items:center;gap:6px;font-size:15px;font-weight:800;letter-spacing:-.02em}
.pb-cb-out dd:before{content:"";width:8px;height:8px;border-radius:50%}
.pb-cb-out .is-ref{color:#257A55}.pb-cb-out .is-ref:before{background:#55C197}
.pb-cb-out .is-run{color:#BF4A33}.pb-cb-out .is-run:before{background:#EE8574}
.pb-cb figcaption{max-width:560px;margin:18px auto 0;text-align:center;font-size:13px;line-height:1.5;color:var(--pf-muted)}
.pb-qs{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.pb-qs li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;padding:18px 20px;border-radius:20px;outline:0;cursor:default;transition:background-color .25s,box-shadow .25s}
.pb-qs li:is(:hover,:focus-visible){background:var(--pf-white);box-shadow:0 0 0 1px var(--pf-line)}
.pb-qs li:focus-visible{box-shadow:0 0 0 2px var(--pf-blue)}
.pb-q-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--pf-white);box-shadow:0 0 0 1px var(--pf-line)}
.pb-q-ic svg{width:20px;height:20px;fill:none;stroke:var(--pf-ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pf-page .pb-qs h3{font-size:20px;letter-spacing:-.03em;margin-bottom:6px}
.pf-page .pb-qs p{font-size:15.5px;line-height:1.55}
.pf-page .pb-related{margin:22px 20px 0;padding-top:20px;border-top:1px solid var(--pf-line);font-size:15px;line-height:1.5}
.pb-related a{display:inline-block;color:var(--pf-ink);font-weight:700;border-bottom:2px solid var(--pf-blue)}
.pb-related a:hover{color:var(--pf-ink);border-bottom-color:var(--pf-orange)}
/* hovering or focusing one of the four points lights the part of the board it draws on */
.pb-cb-wrap:has(.pb-qs>:is(:hover,:focus-visible,.is-on)) :is(.pb-cb-chart,.pb-cb-hist,.pb-cb-out){opacity:.3}
.pb-cb-wrap:has(.pb-q-cond:is(:hover,:focus-visible,.is-on)) .pb-cb-chart,
.pb-cb-wrap:has(.pb-q-hist:is(:hover,:focus-visible,.is-on)) .pb-cb-hist,
.pb-cb-wrap:has(.pb-q-perf:is(:hover,:focus-visible,.is-on)) :is(.pb-cb-chart,.pb-cb-hist),
.pb-cb-wrap:has(.pb-q-yield:is(:hover,:focus-visible,.is-on)) .pb-cb-out{opacity:1}
.pb-cb-wrap:has(.pb-q-cond:is(:hover,:focus-visible,.is-on)) .pb-mark{opacity:0}
.pb-cb-wrap:has(.pb-q-perf:is(:hover,:focus-visible,.is-on)) .pb-mark>b{background:var(--pf-orange)}
.pb-cb-wrap:has(.pb-q-perf:is(:hover,:focus-visible,.is-on)) .pb-cb-plot svg .pb-ln{opacity:.35}

/* ---- motion (paused while off screen via .dk-wait, like the rest of the kit) ---- */
@media(prefers-reduced-motion:no-preference){
 .pb-viz:not([data-stage="6"]) .pb-impeller{animation:pb-spin .9s linear infinite}
 .pb-viz[data-stage="2"] .pb-impeller{animation-duration:.55s}
 /* key capabilities: the batch runs through the pipe into the open station, which starts working; the bar under the
    open stop moves the batch on when it fills */
 .pb-run.is-on .pb-fp-slug{animation:pb-slug 1s ease-in-out both}
 .pb-eq.is-on .pb-imp{animation:pb-spin .7s linear infinite}
 .pb-eq.is-on .pb-imp-slow{animation-duration:1.6s}
 .pb-eq.is-on .pb-stream{animation:pb-pour .6s linear infinite}
 .pb-plant:not(.is-manual) .pb-stop[aria-selected=true] .pb-stop-timer{animation:pb-stop-timer 6.5s linear both}
 .pb-plant:is(.is-paused,:hover) .pb-stop-timer{animation-play-state:paused}
 .pb-cap:not([hidden]){animation:pe-rise .45s ease-out both}
 /* stretched plots draw in left to right with a clip (dashes would follow the stretched length) */
 :is(.pb-cb,.pb-ov) .pb-ln{animation:pb-reveal 2.2s ease-out both}
 :is(.pb-cb,.pb-ov) .pb-ln-run{animation-delay:.4s}
 .pb-mark>b{animation:pb-pop 3.2s ease-in-out infinite}
 .pb-mark-2>b{animation-delay:.4s}.pb-mark-3>b{animation-delay:.8s}
 .pb-viz[data-dev="1"] .pb-dev-pt{animation:pb-ring 1.6s ease-in-out infinite}
 .pb-pic-cons .pb-neq{animation:pe-ask 3s ease-in-out infinite}
}
@keyframes pb-spin{50%{transform:scaleX(-1)}}
@keyframes pb-reveal{from{clip-path:inset(0 100% 0 0)}}
@keyframes pb-slug{to{stroke-dashoffset:-100}}
@keyframes pb-pour{to{stroke-dashoffset:-11}}
@keyframes pb-stop-timer{to{transform:scaleX(1)}}
@keyframes pb-ring{50%{box-shadow:0 0 0 9px rgb(238 133 116 / .12)}}
@keyframes pb-pop{50%{box-shadow:0 0 0 3px #fff,0 0 0 8px rgb(255 95 45 / .22)}}

/* ---- responsive ---- */
@media(max-width:1100px){
 .pb-cb-wrap{grid-template-columns:minmax(0,1fr);gap:36px}
 .pb-cb{max-width:820px}
 .pb-cap{grid-template-columns:1fr}
}
@media(max-width:1000px){
 .pb-panel-live{grid-template-columns:170px minmax(0,1fr);gap:24px;padding:24px}
 .pb-reads{grid-template-columns:1fr 1fr}
}
@media(max-width:800px){
 .pb-qs li{padding:16px 4px}
 .pb-qs li:is(:hover,:focus-visible){background:none;box-shadow:none}
 .pf-page .pb-qs h3{font-size:18px}
 .pf-page .pb-related{margin-inline:4px}
}
/* phones: the vessel sits beside the readings, the trace runs full width below; the comparison drops its labels to numbers */
@media(max-width:700px){
 .pb-viz{margin-top:32px}
 .pf-page .pb-status{font-size:12.5px}
 .pb-status span{max-width:100%;white-space:normal;text-align:center}
 .pb-panel-live{grid-template-columns:96px minmax(0,1fr);gap:16px 14px;padding:16px 14px 14px;border-radius:22px}
 .pb-live{display:contents}
 .pb-chart{grid-column:1/-1}
 .pb-chart svg{height:150px}
 .pb-reads{gap:6px;margin:0}
 .pb-read{padding:8px 10px;border-radius:12px}
 .pb-read small{font-size:9.5px}
 .pb-read b{font-size:17px}
 .pb-read b i{font-size:10px}
 .pb-tag{width:26px;height:26px;margin:-13px 0 0 -13px;font-size:7px}
 .pb-tag b{font-size:8px}
 .pf-page .pb-vessel-name{font-size:10px}
 .pb-vessel-name b{font-size:11px}
 .pb-strip{font-size:9.5px}
 .pb-pic-vis{gap:12px;padding-inline:10px}
 .pb-src{padding:10px 8px}
 .pb-src b{font-size:15px}
 .pb-src+.pb-src:before{width:12px}
 .pb-run{width:104px;padding:10px}
 .pb-doc{width:96px}
 .pb-plant{padding:12px 14px 22px;border-radius:24px}
 .pb-stop{padding-inline:0}
 .pb-stop-n{width:30px;height:30px;margin-bottom:4px;font-size:10.5px}
 .pb-stops:before,.pb-stops:after{top:14px}
 .pb-stop b{font-size:10.5px;letter-spacing:-.01em}
 .pb-stop-c{display:none}
 .pb-cap{margin-top:16px;padding:22px 4px 0}
 .pf-page .pb-cap h3{font-size:22px}
 .pf-page .pb-cap-lead{font-size:16px}
 .pf-page .pb-cap-body p{font-size:15px}
 .pb-cb{padding:18px 14px 16px;border-radius:24px}
 .pb-cb-head{gap:8px}
 .pb-cb-head p{font-size:10.5px}
 .pb-cb-batch{padding:10px 12px}
 .pb-cb-batch b{font-size:17px}
 .pb-cb-plot svg{height:170px}
 .pb-mark>span{display:none}
 .pb-mark,.pb-mark-2,.pb-mark-3{transform:translate(-50%,-50%)}
 .pb-cb-row{grid-template-columns:50px minmax(0,1fr)}
 .pb-cb-stages span{display:none}
 .pb-cb-out{grid-template-columns:1fr 1fr}
 .pb-cb-out dd{font-size:13.5px}
}
/* phones only: the differences, spelled out under the chart */
.pb-cb-notes{display:none}
@media(max-width:700px){
 .pb-cb-notes{display:grid;gap:6px;margin:12px 0 0;padding:0;list-style:none;font-size:12px;font-weight:700;color:var(--pf-ink)}
 .pb-cb-notes li{display:flex;align-items:center;gap:8px}
 .pb-cb-notes b{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--pf-ink);color:#fff;font-size:10.5px}
}
/* key capabilities on narrow screens: the plant floor gets wider than its window and pans with the batch */
@media(max-width:900px){.pb-floor{--k:2}}
@media(max-width:560px){.pb-floor{--k:3}}
@media(max-width:400px){.pb-card{left:clamp(114px,calc(var(--at) * 20% + 10%),calc(100% - 114px));width:228px;padding-inline:14px}}
