/* Maintenance & Reliability page (/solutions/maintenance-reliability/) — 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 .mr-*. */
.mr-page .pe-tablet .dv-panes>*+*,.mr-page .pe-cap-viz .dv-panes>*+*{margin-top:12px}
.mr-page .pe-cap-viz .dv-panes>.dk-w:first-child{margin-top:0}

/* ---- hero: the Press 07 gear drive with four callouts. On wide screens the drawing sits in the middle of a 1000×520 stage
   (.mr-mach), the cards at its corners, and .mr-leads draws a line from each card to the numbered part it describes. The
   script steps data-step 1–4 to bring the cards in, then data-focus spotlights one at a time ---- */
.mr-viz{max-width:1080px;margin:44px auto 0;font-family:Manrope,Arial,sans-serif;text-align:left}
.mr-board{padding:18px 18px 22px;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)}
.pf-page .mr-board-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 6px 0}
.mr-board-h small{display:block;font-size:11.5px;font-weight:700;color:var(--pf-muted)}
.mr-board-h b{font-size:18px;letter-spacing:-.02em;color:var(--pf-ink)}
.mr-mach{position:relative;aspect-ratio:1000/520}
.mr-leads{position:absolute;inset:0;z-index:1;width:100%;height:100%;overflow:visible;pointer-events:none}
.mr-ld{fill:none;stroke:#B9C0CF;stroke-width:1.5;stroke-dasharray:4 4;transition:opacity .45s,stroke .3s,stroke-width .3s}
.mr-art{position:absolute;left:26.4%;top:26.9%;width:47.3%;height:auto;overflow:visible}
.mr-art text{font-family:Manrope,Arial,sans-serif;font-weight:800}
/* the drawing: muted metal greys and thin lines, as on the AI Analytics page; the gears turn while the machine runs */
.mr-m-floor{stroke:#E2E4EA;stroke-width:3}
.mr-m-line{stroke:#2B3550;stroke-width:1.75;stroke-linejoin:round}
.mr-m-thin{fill:none;stroke:#2B3550;stroke-width:1.1;opacity:.55}
.mr-m-face{fill:#F4F5F7;stroke:#2B3550;stroke-width:1.75}
.mr-m-gear{fill:#E2E5EB;stroke:#2B3550;stroke-width:1.75;stroke-linejoin:round}
.mr-m-base{fill:#D5D9E1;stroke:#2B3550;stroke-width:1.5}
.mr-m-bolts circle{fill:#9AA1B2}
.mr-m-run{font-size:10px;fill:#7EE2A8;text-anchor:middle;letter-spacing:1px}
.mr-vib{fill:none;stroke:#EE8574;stroke-width:2.5;stroke-linecap:round}
.mr-gear-a,.mr-gear-b,.mr-mk{transform-box:fill-box;transform-origin:center}
/* numbered markers on the parts the cards describe */
.mr-mk circle{fill:var(--k);stroke:#fff;stroke-width:2}
.mr-mk .mr-mk-ping{fill:none;stroke:var(--k);opacity:0;transform-box:fill-box;transform-origin:center}
.mr-mk text{font-size:10px;fill:#fff;text-anchor:middle}
/* the callout cards */
.mr-cd{position:absolute;z-index:2;width:23%;padding:12px 14px 14px;border-radius:16px;background:var(--pf-white);box-shadow:0 0 0 1px var(--pf-line),0 18px 36px -24px rgb(24 26 36 / .35);transition:opacity .45s,transform .45s,box-shadow .3s}
.mr-cd1{left:0;top:3.3%}.mr-cd2{right:0;top:3.3%}.mr-cd3{right:0;top:60.4%}.mr-cd4{left:0;top:60.4%}
.pf-page .mr-cd-h{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:13px;font-weight:800;color:var(--pf-ink)}
.mr-cd-h i{display:grid;place-items:center;flex:none;width:20px;height:20px;border-radius:50%;background:var(--k);color:#fff;font-size:11px;font-style:normal}
.mr-cd-h em{margin-left:auto;padding:3px 9px;font-size:11px}
.mr-cd-t{display:block;font-size:14.5px;letter-spacing:-.01em;color:var(--kt)}
.mr-cd-s{display:block;margin-top:2px;font-size:12px;font-weight:600;color:#6D7283}
.mr-cd-spark{display:block;width:100%;height:44px;margin:8px 0 6px;overflow:visible}
.mr-cd-lim{stroke:var(--k);stroke-width:1.2;stroke-dasharray:4 3}
.mr-cd-ln{fill:none;stroke:var(--k);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.mr-cd-spark circle{fill:var(--k)}
.pf-page .mr-cd-note{padding:6px 9px;border-radius:10px;background:var(--kb);font-size:12px;font-weight:700;color:var(--kt)}
.mr-cd-rows{margin:0;padding:0;list-style:none}
.mr-cd-rows li{display:flex;justify-content:space-between;gap:8px;padding:6px 0;font-size:12.5px}
.mr-cd-rows li+li{border-top:1px dashed var(--pf-line)}
.mr-cd-rows span{font-weight:600;color:#6D7283}
.mr-cd-rows b{white-space:nowrap;color:var(--pf-ink)}
.mr-ok{font-size:9px;font-style:normal;vertical-align:2px;color:#2BB673}
.pf-page .mr-cd-avail p{display:flex;justify-content:space-between;align-items:baseline}
.mr-cd-avail small,.mr-cd-pair small{font-size:11.5px;font-weight:700;color:var(--pf-muted)}
.mr-cd-avail b{font-size:20px;letter-spacing:-.02em;color:var(--pf-ink)}
.mr-cd-avail i{display:block;height:8px;margin:6px 0 10px;border-radius:4px;background:linear-gradient(90deg,var(--k) var(--v),#EEF1F7 0)}
.mr-cd-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pf-page .mr-cd-pair p{padding:8px 10px;border-radius:12px;background:var(--pf-bg)}
.mr-cd-pair small{display:block}
.mr-cd-pair b{font-size:15px;color:var(--pf-ink)}
.mr-up,.mr-down{font-style:normal;color:#1E9E5A}
.mr-cd-tasks{margin:0;padding:0;list-style:none}
.mr-cd-tasks li{padding:8px 10px 8px 12px;border-left:3px solid var(--k);border-radius:4px 12px 12px 4px;background:var(--kb)}
.mr-cd-tasks li+li{margin-top:6px}
.mr-cd-tasks b{display:block;font-size:13px;color:var(--pf-ink)}
.mr-cd-tasks small{font-size:11.5px;font-weight:600;color:#6D7283}
/* the script's steps: cards (and their lines) come in one by one, then the spotlight moves from card to card */
.mr-mach[data-step] :is(.mr-cd,.mr-ld){opacity:0}
.mr-mach[data-step] .mr-cd{transform:translateY(10px)}
.mr-mach[data-step="1"] :is(.mr-cd1,.mr-ld1),.mr-mach[data-step="2"] :is(.mr-cd1,.mr-cd2,.mr-ld1,.mr-ld2),
.mr-mach[data-step="3"] :is(.mr-cd1,.mr-cd2,.mr-cd3,.mr-ld1,.mr-ld2,.mr-ld3),.mr-mach[data-step="4"] :is(.mr-cd,.mr-ld){opacity:1;transform:none}
.mr-mach[data-focus="1"] .mr-cd1,.mr-mach[data-focus="2"] .mr-cd2,.mr-mach[data-focus="3"] .mr-cd3,.mr-mach[data-focus="4"] .mr-cd4{box-shadow:0 0 0 2px var(--k),0 24px 40px -24px rgb(24 26 36 / .45);transform:translateY(-3px)}
.mr-mach[data-focus="1"] .mr-ld1,.mr-mach[data-focus="2"] .mr-ld2,.mr-mach[data-focus="3"] .mr-ld3,.mr-mach[data-focus="4"] .mr-ld4{stroke:var(--k);stroke-width:2;stroke-dasharray:none}

/* ---- the challenge: pictures ---- */
/* an asset whose condition, last fault and last service all sit somewhere else */
.mr-pic-see svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#C7CEE0;stroke-width:1.5;stroke-dasharray:4 5;vector-effect:non-scaling-stroke}
.mr-see-asset,.mr-see-q{position:absolute;white-space:nowrap;z-index:1;display:grid;justify-items:center;padding:8px 12px;border-radius:12px;background:#fff;box-shadow:0 10px 26px -20px rgb(24 26 36 / .5);transform:translate(-50%,-50%)}
.mr-see-asset{left:50%;top:50%;padding:10px 16px;box-shadow:0 0 0 2px #22252F}
.mr-see-asset b{font-size:15px;color:#22252F}
.mr-see-q b{font-size:20px;line-height:1.1;color:#C7CEE0}
.mr-pic-see small{font-size:10.5px;font-weight:700;color:#858A9B}
.mr-see-q1{left:20%;top:24%}.mr-see-q2{left:80%;top:24%}.mr-see-q3{left:50%;top:84%}
/* the same breakdown, again and again */
.mr-rep{position:absolute;left:18px;right:18px;top:52px;height:70px}
.mr-rep-line{position:absolute;left:0;right:0;top:20px;height:2px;background:repeating-linear-gradient(90deg,#C7CEE0 0 6px,transparent 6px 10px)}
.mr-rep span{position:absolute;left:var(--x);top:0;display:grid;justify-items:center;gap:6px;transform:translateX(-50%)}
.mr-rep span:first-of-type{transform:none;justify-items:start}
.mr-rep b{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#FDECE8;box-shadow:inset 0 0 0 2px #EE8574;font-size:17px;color:#BF4A33}
.mr-rep small{font-size:11px;font-weight:700;color:#858A9B;white-space:nowrap}
.mr-rep-tag{position:absolute;right:14px;bottom:14px;padding:4px 10px;border-radius:12px;background:#FDECE8;color:#BF4A33;font-style:normal;font-size:11px;font-weight:700}

/* ---- how DelphEon helps: who holds the tablet (maintenance engineer, reliability engineer, technician, manager) ---- */
.mr-bg,.mr-wear{transition:opacity .4s ease}
.mr-bg1,.mr-bg2,.mr-bg3,.mr-wear-suit,.mr-wear-tech{opacity:0}
.pe-how-stage:not([data-step="0"]) :is(.mr-bg0,.mr-wear-op){opacity:0}
.pe-how-stage[data-step="1"] :is(.mr-bg1,.mr-wear-suit),.pe-how-stage[data-step="2"] :is(.mr-bg2,.mr-wear-tech),.pe-how-stage[data-step="3"] :is(.mr-bg3,.mr-wear-suit){opacity:1}
.mr-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.mr-cards-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.mr-cards .dk-card{min-height:0}
.mr-cards .dk-card b{font-size:24px}
.pe-tablet .dk-events{grid-template-columns:minmax(0,1fr)}
/* work order: header facts and its step list */
.pf-page .mr-wo-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
.mr-wo-meta span{padding:8px 10px;border-radius:10px;background:#F3F4F7;font-size:12.5px;font-weight:700;color:#22252F}
.mr-wo-meta small{display:block;font-size:10.5px;color:#858A9B}
.mr-wo-steps{display:grid;gap:9px;margin:0;padding:0;list-style:none}
.mr-wo-steps li{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:#22252F}
.mr-wo-steps li:before{content:"";flex:none;width:18px;height:18px;border-radius:50%;box-shadow:inset 0 0 0 2px #D3D6DE}
.mr-wo-steps .is-done{color:#858A9B}
.mr-wo-steps .is-done:before{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/18px no-repeat}
.mr-wo-steps .is-now{font-weight:800}
.mr-wo-steps .is-now:before{box-shadow:inset 0 0 0 5px #5B9BD5}
.mr-parts{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.mr-parts li{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;font-weight:600;color:#5D6273}
.mr-parts b{color:#22252F}
.pf-page .mr-due b{display:block;font-size:13.5px;color:#22252F}
.mr-due span{font-size:12px;font-weight:600;color:#858A9B}
.mr-cols{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
.mr-facts{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.mr-facts li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid #EEF0F4;font-size:12.5px;font-weight:600;color:#5D6273}
.mr-facts li:first-child{border-top:0}
.mr-facts b{color:#22252F;white-space:nowrap}
.mr-facts b[class]{color:var(--kt)}
/* MTTR going down is good news: both arrows read green */
.mr-page .dk-up b i,.mr-page .dk-down b i{color:#1E9E5A}
.mr-pair .dk-pair{grid-template-columns:1fr 1fr;padding:14px 16px;border-radius:18px;background:#fff}

/* ---- key capabilities: one asset record with a tab per capability ---- */
.mr-asset{border-radius:32px;background:var(--pf-surface);box-shadow:0 0 0 1px var(--pf-line);overflow:hidden}
.mr-asset-head{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;padding:22px 28px;background:var(--pf-white);border-bottom:1px solid var(--pf-line)}
.mr-asset-ic{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--pf-ink)}
.mr-asset-ic svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mr-asset-id small,.mr-asset-meta small{display:block;font-size:11.5px;font-weight:700;color:var(--pf-muted)}
.mr-asset-id b{font-size:19px;letter-spacing:-.02em;color:var(--pf-ink)}
.pf-page .mr-asset-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 26px;margin-left:auto;font-size:14px;font-weight:700;color:var(--pf-ink)}
.mr-tabs{display:flex;gap:4px;padding:10px 20px 0;background:var(--pf-white);border-bottom:1px solid var(--pf-line);overflow-x:auto;scrollbar-width:none}
.mr-tabs::-webkit-scrollbar{display:none}
.mr-tab{position:relative;flex:none;display:flex;align-items:center;gap:8px;padding:12px 16px 16px;border:0;background:none;font-family:inherit;font-size:15px;font-weight:700;color:var(--pf-text);cursor:pointer;transition:color .25s}
.mr-tab:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--pf-orange);transform:scaleX(0);transition:transform .3s ease}
.mr-tab svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mr-tab:hover{color:var(--pf-ink)}
.mr-tab:focus-visible{outline:2px solid var(--pf-blue);outline-offset:-4px;border-radius:12px}
.mr-tab[aria-selected=true]{color:var(--pf-ink)}
.mr-tab[aria-selected=true] svg{stroke:var(--pf-orange)}
.mr-tab[aria-selected=true]:after{transform:scaleX(1)}
/* the panels keep the capability row layout, copy always on the left */
.mr-panel,.mr-panel:nth-of-type(even){grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);padding:44px 40px;border-top:0}
.mr-panel:nth-of-type(even) .pe-cap-copy{order:0}
.mr-panel+.mr-panel{border-top:1px solid var(--pf-line)}
.mr-panel[hidden]{display:none}
.mr-panel:focus-visible{outline:2px solid var(--pf-blue);outline-offset:-8px;border-radius:24px}
.mr-page .pe-cap-copy>small{font-size:13px;letter-spacing:.06em;text-transform:uppercase}
/* each bar row is its own grid, so the label column gets a fixed width to keep the bars lined up */
.mr-page .pe-cap .dk-hbars li{grid-template-columns:150px minmax(0,1fr) 84px}
.mr-page .pe-tablet .dk-hbars li{grid-template-columns:132px minmax(0,1fr) 40px}
.mr-page .pe-cap .dk-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
/* faults heatmap: more faults read warmer, not greener */
.mr-heat .dk-l0{--h:#F3F4F7}.mr-heat .dk-l1{--h:#FBE0DA}.mr-heat .dk-l2{--h:#F5B3A6}.mr-heat .dk-l3{--h:#EE8574}
/* preventive plan */
.mr-pm{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.mr-pm li{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr) 98px;gap:10px;align-items:center;padding:9px 10px;border-radius:10px;font-size:12.5px;font-weight:600;color:#5D6273}
.mr-pm li:nth-child(odd):not(.mr-pm-h){background:#F7F8FA}
.mr-pm b{display:block;color:#22252F}
.mr-pm small{font-size:11px;color:#858A9B}
.mr-pm em{justify-self:end;font-size:11px}
.mr-pm-h{padding-block:0 6px!important;font-size:10.5px!important;font-weight:700!important;letter-spacing:.05em;text-transform:uppercase;color:#858A9B!important}
.mr-pm-h span:last-child{text-align:right}
.mr-comp{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:14px;align-items:center}
.mr-comp small{grid-column:1/-1;margin-bottom:6px;font-size:12px;font-weight:700;color:#858A9B}
.mr-comp b{font-size:15px;color:#22252F}
.mr-comp i{position:relative;height:8px;border-radius:5px;background:#EEF0F4;overflow:hidden}
.mr-comp i:after{content:"";position:absolute;inset:0 auto 0 0;width:var(--w);border-radius:5px;background:linear-gradient(90deg,#55C197,#A4E1C6)}
.mr-comp span{font-size:13px;font-weight:800;color:#257A55}
/* work-order board */
.mr-kanban{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mr-col{display:grid;align-content:start;gap:8px;padding:10px;border-radius:16px;background:#E9ECF1}
.pf-page .mr-col>p{display:flex;align-items:center;justify-content:space-between;padding:0 2px 2px;font-size:12px;font-weight:700;color:#22252F}
.mr-col>p span{display:flex;align-items:center;gap:6px}
.mr-col>p span:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--k)}
.mr-col>p b{padding:1px 8px;border-radius:10px;background:#fff;font-size:11px;color:#5D6273}
.mr-wo-card{display:grid;gap:3px;padding:10px 11px;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgb(24 26 36 / .06)}
.mr-wo-card small{font-size:10.5px;font-weight:700;color:var(--kt)}
.mr-wo-card b{font-size:12.5px;line-height:1.3;color:#22252F}
.mr-wo-card span{display:flex;align-items:center;justify-content:space-between;margin-top:4px;font-size:11px;font-weight:700;color:#858A9B}
.mr-wo-card i{display:grid;place-items:center;min-width:22px;height:22px;padding:0 4px;border-radius:11px;background:#EEF1F7;font-style:normal;font-size:10px;color:#4F5B78}
.mr-wo-card.is-hl{box-shadow:0 0 0 2px var(--pf-orange)}

/* ---- beyond equipment monitoring: the white centrepiece band. Pump P-104 drawn as a motor with a screen built in, the
   pump end beside it and a skid under both; the tabs below choose what the screen shows and the pump's state (data-step) ---- */
.mr-beyond{margin:40px 28px 0;padding:100px 0 90px;border-radius:40px;background:#fff;box-shadow:inset 0 0 0 1px var(--pf-line);color:var(--pf-ink);overflow:hidden}
.mr-beyond-head{max-width:860px;margin:0 auto 64px;text-align:center}
.pf-page .mr-beyond .dv-label{text-align:center}
.pf-page .mr-beyond h2{font-size:clamp(34px,4.4vw,60px);line-height:1.04;color:var(--pf-ink)}
.mr-beyond h2 span{color:var(--pf-orange)}
.pf-page .mr-bx-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.mr-bx-h small{font-size:11.5px;font-weight:700;color:#858A9B}
.mr-bx-t{display:block;font-size:14.5px;letter-spacing:-.01em}
.mr-bx-s{display:block;margin-bottom:8px;font-size:12px;font-weight:600;color:#858A9B}
.mr-bx .mr-bx-t+.mr-wo-steps{margin-top:12px}
.mr-hist{position:relative;display:grid;gap:9px;margin:0;padding:0 0 0 18px;list-style:none}
.mr-hist:before{content:"";position:absolute;left:4px;top:6px;bottom:6px;width:2px;background:#E2E4EA}
.mr-hist li{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:8px;font-size:12px;font-weight:600;color:#858A9B}
.mr-hist li:before{content:"";position:absolute;left:-18px;top:4px;width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2.5px #96A3C2}
.mr-hist li:first-child:before{box-shadow:inset 0 0 0 5px #5B9BD5}
.mr-hist small{grid-row:span 2;font-size:11px;font-weight:700;color:#858A9B}
.mr-hist b{font-size:12.5px;color:#22252F}
.mr-bx-kpi{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mr-bx-kpi span{padding:10px 12px;border-radius:14px;background:#F3F4F7}
.mr-bx-kpi small{display:block;font-size:11px;font-weight:700;color:#858A9B}
.mr-bx-kpi b{font-size:21px;letter-spacing:-.03em;white-space:nowrap}
.mr-bx-kpi i{font-style:normal;font-size:16px}
.mr-bx-kpi .dk-up,.mr-bx-kpi .dk-down{color:#1E9E5A}
.pf-page .mr-bx-note{margin-top:10px;padding:8px 10px;border-radius:10px;background:#E6F6EF;font-size:12px;font-weight:700;color:#257A55}
.mr-pump-mach{position:relative;padding:22px 31% 36px 9%;overflow:hidden}
/* the skid both halves stand on, drawn over the feet that run down to it */
.mr-pump-mach:after{content:"";position:absolute;z-index:2;left:1%;right:1%;bottom:0;height:16px;border-radius:4px;background:#D5D9E1;box-shadow:inset 0 0 0 1.5px #2B3550}
.mr-pump-fan{position:absolute;left:2%;width:7.2%;top:calc(22px + 20%);bottom:calc(36px + 20%);height:auto}
.mr-pump-fan *,.mr-pump-end *{vector-effect:non-scaling-stroke}
.mr-pump-end{position:absolute;left:69%;right:0;top:22px;bottom:36px;width:31%;height:calc(100% - 58px);overflow:visible}
.mr-pump-body{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 84px;gap:14px 18px;padding:16px 18px 20px;border-radius:26px;background:linear-gradient(#F7F8FA,#DCE0E7);box-shadow:inset 0 0 0 1.75px #2B3550,0 40px 60px -40px rgb(24 26 36 / .45);font-family:Manrope,Arial,sans-serif;color:#22252F}
/* cooling fins along the top, feet down to the skid */
.mr-pump-body:before,.mr-pump-body:after{content:"";position:absolute;z-index:-1;left:9%;right:9%}
.mr-pump-body:before{top:-14px;height:16px;background:repeating-linear-gradient(90deg,#2B3550 0 1.5px,#E2E5EB 1.5px 7px,#2B3550 7px 8.5px,transparent 8.5px 18px)}
.mr-pump-body:after{bottom:-24px;height:26px;background:linear-gradient(90deg,#B9C0CE 0 14%,transparent 14% 86%,#B9C0CE 86%)}
.mr-pump-top{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.pf-page .mr-pump-id{display:flex;align-items:baseline;gap:10px;margin:0}
.mr-pump-id b{padding:3px 9px;border-radius:6px;background:#2B3550;font-size:13px;letter-spacing:.04em;color:#fff}
.mr-pump-id small{font-size:12.5px;font-weight:700;color:#5D6273}
.pf-page .mr-pump-state{display:flex;align-items:center;gap:8px;margin:0;font-size:12.5px;font-weight:800;color:#22252F;white-space:nowrap}
.mr-pump-state i{width:10px;height:10px;border-radius:50%;background:#EE8574;box-shadow:0 0 0 3px rgb(238 133 116 / .25);transition:background-color .4s,box-shadow .4s}
.mr-pump-state span{display:none}
.mr-pump[data-step="0"] .mr-ps0,.mr-pump[data-step="1"] .mr-ps1,.mr-pump[data-step="2"] .mr-ps2,.mr-pump[data-step="3"] .mr-ps3{display:inline}
.mr-pump[data-step="1"] .mr-pump-state i{background:#5B9BD5;box-shadow:0 0 0 3px rgb(91 155 213 / .25)}
.mr-pump[data-step="2"] .mr-pump-state i{background:#96A3C2;box-shadow:0 0 0 3px rgb(150 163 194 / .25)}
.mr-pump[data-step="3"] .mr-pump-state i{background:#55C197;box-shadow:0 0 0 3px rgb(85 193 151 / .25)}
/* the screen: one record at a time, all four stacked in one cell so it keeps the tallest one's height */
.mr-pump-screen{display:grid;padding:10px;border-radius:18px;background:#1C2135;box-shadow:inset 0 0 0 1.75px #2B3550,inset 0 6px 14px rgb(0 0 0 / .4)}
.mr-bx{grid-area:1/1;padding:16px 18px;border-radius:12px;background:#fff}
.mr-bx:not(.is-on){visibility:hidden;opacity:0}
.mr-bx:focus-visible{outline:2px solid var(--pf-orange);outline-offset:2px}
/* the control column: a gauge that reads high during the alarm, run lamps and the stop button */
.mr-pump-ctl{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding-left:16px;border-left:1.5px dashed #B9C0CE}
.mr-pc-g{position:relative;width:60px;height:60px;border-radius:50%;background:radial-gradient(circle,#F4F5F7 57%,transparent 58%),conic-gradient(from 225deg,#9AA1B2 0 200deg,#EE8574 200deg 270deg,transparent 270deg);box-shadow:0 0 0 1.75px #2B3550;--a:15deg}
.mr-pc-g i,.mr-pc-g:after{position:absolute;left:50%;border-radius:2px;background:#2B3550}
.mr-pc-g i{bottom:50%;width:2.5px;height:21px;margin-left:-1.25px;transform:rotate(var(--a));transform-origin:50% 100%;transition:transform .7s cubic-bezier(.3,1.4,.5,1)}
.mr-pc-g:after{content:"";top:50%;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%}
.mr-pump[data-step="0"] .mr-pc-g{--a:100deg}
.mr-pump[data-step="3"] .mr-pc-g{--a:-5deg}
.mr-pc-b{width:18px;height:18px;border-radius:50%;background:#D5D8E0;box-shadow:0 0 0 1.5px #2B3550}
.mr-pc-run{background:#2BB673}
.mr-pump[data-step="0"] .mr-pc-run{background:#F2B940}
.mr-pc-stop{width:30px;height:30px;border-radius:50%;background:#E5533D;box-shadow:0 0 0 4px #F2B940,0 0 0 5.5px #2B3550}
/* pump-end parts that follow the state */
.mr-pm-brg{fill:#F4F5F7;stroke:#2B3550;stroke-width:1.75;transition:fill .4s}
.mr-pump[data-step="0"] .mr-pm-brg{fill:#F7B6A6}
.mr-pump[data-step="1"] .mr-pm-brg{fill:#A9CBEF}
.mr-pump[data-step="3"] .mr-pm-brg{fill:#A4E1C6}
.mr-pm-vib{fill:none;stroke:#EE8574;stroke-width:2.5;stroke-linecap:round}
.mr-pm-vib,.mr-pm-tag{opacity:0;transition:opacity .4s}
.mr-pump[data-step="0"] .mr-pm-vib,.mr-pump[data-step="1"] .mr-pm-tag{opacity:1}
.mr-pm-tag rect{fill:#5B9BD5;stroke:#2B3550;stroke-width:1.5}
.mr-pm-tag circle{fill:#fff}
.mr-pm-tag text{font-family:Manrope,Arial,sans-serif;font-size:12px;font-weight:800;fill:#fff;text-anchor:middle}
.mr-pm-needle{stroke:#2B3550;stroke-width:2;stroke-linecap:round}
.mr-pm-imp{transform-box:fill-box;transform-origin:center}
.mr-pm-tag{transform-box:fill-box;transform-origin:100% 0}
/* tabs: one stage each, the open one's orange bar fills before the next opens */
.mr-pump-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:40px}
.mr-pt{position:relative;display:grid;align-content:start;gap:10px;padding:20px 20px 26px;border:0;border-radius:20px;background:none;text-align:left;font-family:inherit;color:var(--pf-muted);cursor:pointer;overflow:hidden;transition:background-color .25s,box-shadow .25s}
.mr-pt:hover{background:var(--pf-surface)}
.mr-pt:focus-visible{outline:2px solid var(--pf-orange);outline-offset:2px}
.mr-pt-n{font-size:13px;font-weight:800;color:var(--pf-muted);transition:color .25s}
.mr-pt-t{font-size:20px;font-weight:700;line-height:1.2;letter-spacing:-.03em;color:#5D6273;transition:color .25s}
.mr-pt-d{display:grid;font-size:15px;line-height:1.55;color:var(--pf-muted);transition:color .25s}
.mr-pt-d>span{overflow:hidden}
.mr-pt[aria-selected=true]{background:var(--pf-surface);box-shadow:inset 0 0 0 1px var(--pf-line)}
.mr-pt[aria-selected=true] .mr-pt-n{color:var(--pf-orange)}
.mr-pt[aria-selected=true] .mr-pt-t{color:var(--pf-ink)}
.mr-pt[aria-selected=true] .mr-pt-d{color:var(--pf-text)}
.mr-pt-timer{position:absolute;left:20px;right:20px;bottom:0;height:3px;border-radius:2px;overflow:hidden}
.mr-pt-timer:after{content:"";position:absolute;inset:0;background:var(--pf-orange);transform:scaleX(0);transform-origin:left}
.pf-page .mr-beyond-close{max-width:900px;margin:64px auto 0;padding-top:40px;border-top:1px solid var(--pf-line);text-align:center;font-size:clamp(19px,1.8vw,24px);font-weight:600;line-height:1.45;letter-spacing:-.02em;color:var(--pf-ink)}
.mr-beyond-close span{color:var(--pf-muted)}

/* ---- motion (paused while off screen via .dk-wait, like the rest of the kit) ---- */
@media(prefers-reduced-motion:no-preference){
 .mr-gear-a{animation:mr-turn 24s linear infinite}
 .mr-gear-b{animation:mr-turn 14.6s linear infinite reverse}
 .mr-vib{animation:mr-vib 1.2s ease-in-out infinite}
 .mr-mk1 .mr-mk-ping,.mr-mach[data-focus="2"] .mr-mk2 .mr-mk-ping,.mr-mach[data-focus="3"] .mr-mk3 .mr-mk-ping,.mr-mach[data-focus="4"] .mr-mk4 .mr-mk-ping{animation:mr-ping 1.6s ease-out infinite}
 .mr-panel:not([hidden]){animation:pe-rise .45s ease-out both}
 .mr-rep b{animation:mr-flash 3.2s ease-in-out infinite}
 .mr-rep span:nth-of-type(2) b{animation-delay:.3s}.mr-rep span:nth-of-type(3) b{animation-delay:.6s}.mr-rep span:nth-of-type(4) b{animation-delay:.9s}
 .mr-pic-see .mr-see-q b{animation:pe-ask 3s ease-in-out infinite}
 .mr-see-q2 b{animation-delay:.4s!important}.mr-see-q3 b{animation-delay:.8s!important}
 .mr-pic-see svg path{animation:mr-dash 1.4s linear infinite}
 .mr-wo-steps .is-now:before{animation:pe-ring 2.4s ease-in-out infinite}
 .mr-pm-imp{animation:mr-turn 3s linear infinite}
 .mr-pump[data-step="0"] .mr-pm-vib{animation:mr-vib 1.2s ease-in-out infinite}
 .mr-pump[data-step="0"] .mr-pump-state i{animation:mr-blink 1.2s ease-in-out infinite}
 .mr-pump[data-step="0"] .mr-pc-g i{animation:mr-quiver .25s ease-in-out infinite alternate}
 .mr-pump[data-step="1"] .mr-pm-tag{animation:mr-swing 2.6s ease-in-out infinite}
 .mr-bx.is-on{animation:pe-rise .45s ease-out both}
 .mr-pump:not(.is-manual) .mr-pt[aria-selected=true] .mr-pt-timer:after{animation:mr-pump-timer 7s linear forwards}
 .mr-pump:hover .mr-pt-timer:after{animation-play-state:paused!important}
}
@keyframes mr-ping{from{transform:scale(.5);opacity:.9}to{transform:scale(1.8);opacity:0}}
@keyframes mr-turn{to{transform:rotate(1turn)}}
@keyframes mr-vib{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes mr-flash{50%{background:#F7B6A6;transform:scale(1.06)}}
@keyframes mr-dash{to{stroke-dashoffset:-18}}
@keyframes mr-blink{50%{opacity:.35}}
@keyframes mr-quiver{to{transform:rotate(calc(var(--a) + 6deg))}}
@keyframes mr-swing{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}
@keyframes mr-pump-timer{to{transform:scaleX(1)}}

/* ---- responsive ---- */
@media(max-width:1100px){
 .mr-panel,.mr-panel:nth-of-type(even){grid-template-columns:1fr;gap:32px}
 .mr-pump-tabs{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
}
/* below 960px the stage gets too narrow for cards around the drawing: the drawing goes on top, the cards in a 2×2 grid
   below it, and the numbers tie each card to its part instead of the lines */
@media(max-width:960px){
 .mr-mach{display:grid;grid-template-columns:1fr 1fr;gap:10px;aspect-ratio:auto}
 .mr-leads{display:none}
 .mr-art{position:static;grid-column:1/-1;justify-self:center;width:min(100%,560px);margin:10px 0 8px}
 .mr-cd{position:static;width:auto}
 .mr-mk{transform:scale(1.25)}
}
/* phones: one card at a time under the drawing (the spotlighted one, its part pinging), so the hero stays compact.
   Without the script all four stack */
@media(max-width:600px){
 .mr-mach{grid-template-columns:1fr}
 .mr-mach[data-focus] .mr-cd{grid-area:2/1;opacity:0}
 .mr-mach[data-focus="1"] .mr-cd1,.mr-mach[data-focus="2"] .mr-cd2,.mr-mach[data-focus="3"] .mr-cd3,.mr-mach[data-focus="4"] .mr-cd4{opacity:1}
 .mr-mk{transform:scale(1.5)}
}
@media(max-width:800px){
 .mr-viz{margin-top:32px}
 .mr-board{padding:14px 10px 12px;border-radius:22px}
 .mr-board-h b{font-size:16px}
 .mr-board-h em{font-size:11px}
 .mr-asset{border-radius:24px;margin-inline:-4px}
 .mr-asset-head{padding:18px 16px;gap:12px}
 .mr-asset-ic{width:40px;height:40px;border-radius:12px}
 .mr-asset-id b{font-size:16px}
 .pf-page .mr-asset-meta{margin-left:0;gap:8px 18px;font-size:12.5px}
 /* phones: the tabs wrap as pills instead of scrolling sideways */
 .mr-tabs{flex-wrap:wrap;gap:6px;padding:12px}
 .mr-tab{padding:8px 12px;border-radius:20px;background:var(--pf-surface);box-shadow:0 0 0 1px var(--pf-line);font-size:13px}
 .mr-tab:after{display:none}
 .mr-tab[aria-selected=true]{background:var(--pf-ink);box-shadow:none;color:#fff}
 .mr-tab svg{width:16px;height:16px}
 .mr-panel,.mr-panel:nth-of-type(even){padding:28px 16px}
 .mr-beyond{margin-inline:12px;padding:64px 0 56px;border-radius:28px}
 .mr-beyond-head{margin-bottom:40px}
 /* phones: the motor fills the width (no fan cowl or control column), the pump end shrinks beside it and the tabs
    become a list where only the open one shows its copy */
 .mr-pump-mach{padding:18px 23% 30px 0}
 .mr-pump-mach:after{height:12px}
 .mr-pump-fan,.mr-pump-ctl{display:none}
 .mr-pump-end{left:77%;width:23%;top:18px;bottom:30px;height:calc(100% - 48px)}
 .mr-pump-body{grid-template-columns:minmax(0,1fr);gap:10px;padding:12px 10px;border-radius:20px}
 .mr-pump-body:before{top:-10px;height:12px}
 .mr-pump-body:after{bottom:-18px;height:20px}
 .mr-pump-id small{display:none}
 .pf-page .mr-pump-state{font-size:11.5px}
 .mr-pump-screen{padding:6px;border-radius:14px}
 .mr-bx{padding:12px}
 .mr-pump-tabs{grid-template-columns:1fr;gap:6px;margin-top:28px}
 .mr-pt{grid-template-columns:auto minmax(0,1fr);gap:0 12px;padding:14px 16px 18px}
 .mr-pt-n{padding-top:3px}
 .mr-pt-t{font-size:17px}
 .mr-pt-d{grid-column:2;grid-template-rows:0fr;font-size:14px;transition:grid-template-rows .35s ease,margin .35s ease,color .25s}
 .mr-pt[aria-selected=true] .mr-pt-d{grid-template-rows:1fr;margin-top:6px}
 .mr-pt-timer{left:16px;right:16px}
 .pf-page .mr-beyond-close{margin-top:40px;padding-top:28px}
 .mr-pic-see .mr-see-q{padding:6px 9px}
}
