/* Order & Supply Management page: its screens. Shared parts are in product.css. */
/* ============================================================
   Order & Supply Management: what only this page needs.
   Sizes are real pixels on the artboards that product.js scales.
   ============================================================ */
.op-grad { background: linear-gradient(100deg, #0891b2 0%, #06b6d4 38%, #10b981 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.op-nw { white-space: nowrap; }

/* ---------- the app around every screen ---------- */
.op-url { display: grid !important; }
.op-url b { grid-area: 1 / 1; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-url u { text-decoration: none; }
.is-narrow .op-url u { display: none; }
.op-logo { display: block; width: 22px; height: 22px; border-radius: 7px; flex: none; background: linear-gradient(140deg, #22d3ee, #10b981); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); position: relative; }
.op-logo::after { content: ''; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; border-radius: 2px; background: #fff; box-shadow: 0 -4px 0 #fff, 0 4px 0 rgba(255,255,255,.7); }
.op-app { display: grid; grid-template-columns: 44px minmax(0, 1fr); min-height: var(--h, 430px); }
.op-app--wide { grid-template-columns: 150px minmax(0, 1fr); }
.op-main { position: relative; min-width: 0; padding: 14px 16px 16px; }
.op-side, .op-rail { background: #0a2540; display: flex; flex-direction: column; }
.op-side { gap: 1px; padding: 12px 8px; }
.op-side b { display: flex; align-items: center; gap: 8px; padding: 0 5px 11px; color: #fff; font-size: 12px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; white-space: nowrap; }
.op-side em { font-style: normal; }
.op-side small { display: block; font-size: 10.5px; font-weight: 600; color: #9fb3c8; letter-spacing: 0; }
.op-side > span { display: flex; align-items: center; gap: 9px; padding: 6.5px 8px; border-radius: 7px; color: #9fb3c8; font-size: 12px; font-weight: 600; white-space: nowrap; }
.op-side > span.is-here { background: rgba(255,255,255,.1); color: #fff; }
.op-side svg { width: 14px; height: 14px; flex: none; }
.op-rail { align-items: center; gap: 3px; padding: 11px 0; }
.op-rail .op-logo { margin-bottom: 8px; }
.op-railitem { display: grid; place-items: center; width: 30px; height: 28px; border-radius: 8px; color: #7f97ad; }
.op-railitem svg { width: 15px; height: 15px; }
.op-railitem.is-here, .op-railitem.is-on { background: rgba(255,255,255,.13); color: #fff; }
.js .op-railitem[data-on] { transition: background-color .4s, color .4s; }
.is-narrow .op-app, .is-narrow .op-app--wide { grid-template-columns: minmax(0, 1fr); }
.is-narrow .op-rail, .is-narrow .op-side { display: none; }

.op-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; min-height: 34px; }
.op-top__l { min-width: 0; }
.op-top__r { display: flex; align-items: center; gap: 8px; flex: none; }
.op-subh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 7px; min-height: 21px; }
.op-subh h5 { margin: 0; font: 700 10.5px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.op-gap { margin-top: 10px; }
.op-lbl { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.op-tw { border: 1px solid var(--rule-2); border-radius: 10px; overflow: hidden; }
.op-tw .ps-t th { background: #fafbfd; }

/* fields, stats, line items */
.op-fields { display: grid; gap: 8px 12px; }
.op-fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.op-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.op-fields--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.op-f { min-width: 0; }
.op-f > span { display: block; font-size: 10.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-f > b { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-span2 { grid-column: span 2; }
.op-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.op-stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.op-stat { padding: 7px 10px 8px; border-radius: 9px; border: 1px solid var(--rule); background: #fff; min-width: 0; }
.op-stat > span { display: block; font: 700 9.5px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-stat > b { display: block; margin-top: 3px; font-size: 15px; font-weight: 800; letter-spacing: -.015em; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.op-stats--s .op-stat > b { font-size: 14px; }
.op-frs { display: grid; gap: 5px; margin-top: 10px; }
.op-fr { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 31px; padding: 0 11px; border-radius: 8px; background: #f6f8fb; box-shadow: inset 0 0 0 1px #edf1f6; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.op-fr > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-fr > b { flex: none; font: 600 12px/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.op-fr--pos > b { color: #0b8a50; } .op-fr--neg > b { color: #b42318; }
.op-fr--t { min-height: 38px; background: #0a2540; box-shadow: none; color: #fff; font-weight: 700; }
.op-fr--t > b { color: #fff; font-size: 13.5px; }
.op-fr--in { background: var(--pa-soft); box-shadow: none; color: var(--pa-ink); font-weight: 650; } .op-fr--in > b { color: var(--pa-ink); }
.op-fr--p { min-height: 34px; background: #e3f9ee; box-shadow: none; color: #0b8a50; font-weight: 700; } .op-fr--p > b { color: #0b8a50; font-size: 13px; }

/* a value that changes */
.op-flip { align-items: center; }
.op-flip--r { justify-items: end; } .op-flip--l { justify-items: start; }
.op-flip > i { font-style: normal; white-space: nowrap; }
.js .op-flip > [data-on]:not(.is-on) { transform: translateY(7px) scale(.96); }
.js .op-flip[style] > [data-on] { transition-delay: var(--d, 0s); }
.op-ck { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; color: #fff; clip-path: inset(0 100% 0 0); transition: clip-path .34s ease-out; filter: drop-shadow(0 0 .35px #fff) drop-shadow(0 0 .35px #fff); }

/* the stop plan */
.op-stops { display: grid; grid-template-columns: minmax(0, 1fr); }
.op-stop { position: relative; display: flex; gap: 10px; padding-bottom: 7px; }
.op-stop:last-child { padding-bottom: 0; }
.op-node { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 6px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #cdd7e1; color: var(--ink-3); font: 700 11px/1 var(--mono); }
.op-node em { font-style: normal; transition: opacity .25s; }
.js .op-node[data-on] { transition: background-color .35s var(--d, 0s), box-shadow .35s var(--d, 0s); }
.op-node.is-on { background: #12b76a; box-shadow: 0 0 0 4px rgba(18,183,106,.13); color: #fff; }
.op-node--y.is-on { background: var(--pa); box-shadow: 0 0 0 4px rgba(8,145,178,.14); }
.op-node.is-on em { opacity: 0; }
.op-node.is-on .op-ck { clip-path: inset(0); transition-delay: calc(var(--d, 0s) + .18s); }
.op-wire { position: absolute; left: 12px; top: 32px; bottom: -6px; width: 2px; background: #e3e9f0; overflow: hidden; }
.js .op-wire[data-on] { opacity: 1; transform: none; }
.op-wire::after { content: ''; position: absolute; inset: 0; background: #12b76a; transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease) var(--d, 0s); }
.op-wire.is-on::after { transform: none; }
.op-stop:last-child .op-wire { display: none; }
.op-srow { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 5px 10px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.js .op-srow[data-on] { transition: box-shadow .35s, background-color .35s; }
.op-srow.is-on { box-shadow: inset 0 0 0 1px var(--pa), 0 0 0 3px rgba(8,145,178,.12); background: #fbfeff; }
.op-srow__t { flex: 1; min-width: 0; }
.op-srow__t b { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.25; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-srow__t span { display: block; font-size: 11px; font-weight: 500; line-height: 1.3; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-time { flex: none; font: 600 11px/1 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.op-time.ps-swap { justify-items: end; }
.op-time i { font-style: normal; }
.op-flag { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 6px; background: #fff4dc; color: #a16207; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.op-flag svg { width: 11px; height: 11px; }
.op-srow__t .op-flip { display: grid; }
.op-late { display: inline-flex; align-items: center; gap: 4px; color: #a16207; font-weight: 650; }
.op-late svg { width: 11px; height: 11px; flex: none; }

/* ---------- hero ---------- */
.op-hero { position: relative; height: 510px; }
.op-hero__t { position: absolute; inset: 0; }
/* the screen renders flat, so its text stays sharp, and takes on depth only while the pointer leans it */
.op-herosec .ps-hero__stage { perspective: none; }
.op-herosec .ps-hero__stage .ps-fit, .op-herosec .ps-hero__stage .ps-fit > div { transform-style: flat; }   /* the kit passes 3D down from the stage; here the depth starts at .op-hero, inside these two */
.op-hero:hover { perspective: 1700px; }
.op-hero__t:not(:hover) { transform: none; transform-style: flat; }
.op-hero__win { position: absolute; left: 0; top: 28px; width: 722px; }
.op-hero__win .op-main { padding-right: 64px; }   /* the window's content stops 10px short of the two cards, and the sample tag ends on the same line */
.op-hero__win .ps-bar { padding-right: 64px; }
.op-hero__map { left: 668px; top: 0; width: 212px; }
.op-hero__card { left: 668px; top: 344px; width: 212px; height: 118px; }
.op-hero__t:hover .op-hero__map { transform: translateY(var(--py, 0)) translateZ(36px); }
.op-hero__t:hover .op-hero__card { transform: translateY(var(--py, 0)) translateZ(60px); }
/* the loop starts over in one cut: nothing fades or slides back to its start */
[data-step="0"] .op-hero *:not(.ps-floater):not(.op-hero__t), [data-step="0"] .op-hero *::before, [data-step="0"] .op-hero *::after { transition: none !important; }
.op-who2 { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.op-who2 svg { width: 13px; height: 13px; color: var(--ink-3); }
.op-hgrid { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 12px; margin-top: 2px; }
.op-hero .op-stops .op-srow { min-height: 41px; }
.op-hero .op-stat { padding-left: 8px; padding-right: 8px; }
.op-hero .op-stat > span { font-size: 10.5px; letter-spacing: .02em; }
.op-hfoot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.op-hfoot .ps-mini { margin: 0; font: 600 11px/1 var(--mono); color: var(--ink-2); }
/* a trip can only be closed once every POD is in, and once it is closed the button is gone */
.op-close { background: #e9eef3; color: var(--ink-4); transition: background-color .3s, color .3s, transform .16s; }
[data-step="6"] .op-close, [data-step="7"] .op-close { background: var(--pa); color: #fff; }
.op-closed { display: inline-flex; align-items: center; gap: 5px; height: 26px; font-size: 11px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.op-closed svg { width: 13px; height: 13px; color: #12b76a; }
.op-hmoney { margin-top: 10px; padding: 9px 10px 10px; border-radius: 11px; background: #f8fafc; box-shadow: inset 0 0 0 1px var(--rule-2); }
.op-hmoney h5 { margin: 0 0 7px; font: 700 10.5px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.op-hmoney .op-fr { min-height: 28px; padding: 0 9px; font-size: 11.5px; }
.op-hmoney .op-fr--t { margin-top: 6px; }
.op-hmoney .op-fr--t > b { font-size: 12.5px; }
.op-hmoney .op-fr--p { margin-top: 5px; background: #eef2f6; color: var(--ink-3); transition: background-color .35s, color .35s; }
.op-hmoney .op-fr--p > b { color: var(--ink-4); transition: color .35s; }
[data-step="8"] .op-hmoney .op-fr--p { background: #e3f9ee; color: #0b8a50; }
[data-step="8"] .op-hmoney .op-fr--p > b { color: #0b8a50; }
.op-hm { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; border-bottom: 1px solid var(--rule-2); font-size: 11.5px; color: var(--ink-2); }
.op-hm > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-hm__v { justify-items: end; font: 600 11.5px/1 var(--mono); color: var(--ink); }
.op-hm__v i { font-style: normal; color: var(--ink-4); }
.op-hm__v b { font-weight: 600; white-space: nowrap; }
.op-mapcard { position: relative; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(10,37,64,.07), 0 26px 50px -18px rgba(10,37,64,.38); }
.op-map { position: relative; height: 122.5px; border-radius: 9px; overflow: hidden; background: linear-gradient(180deg, #eaf6f9, #f2f8f4); }
.op-mapsvg { display: block; width: 100%; height: 100%; }
.op-roads path { fill: none; stroke: #d7e6ea; stroke-width: 1.6; }
.op-route { fill: none; stroke: #b6cdd6; stroke-width: 3; stroke-linecap: round; }
.op-route--done { stroke: var(--pa); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s var(--ease); }
[data-step="3"] .op-route--done { stroke-dashoffset: 82; } [data-step="4"] .op-route--done { stroke-dashoffset: 61; } [data-step="5"] .op-route--done { stroke-dashoffset: 23; } [data-step="6"] .op-route--done, [data-step="7"] .op-route--done, [data-step="8"] .op-route--done { stroke-dashoffset: 0; }
.op-pin circle { fill: #fff; stroke: #9db4bf; stroke-width: 2; transition: fill .3s, stroke .3s; }
/* the map is drawn at .82 of its units and the hero scales it again: 14 units read at about 10px on the smallest two-column hero */
.op-pin text { font: 700 14px/1 var(--sans); fill: var(--ink-2); paint-order: stroke; stroke: rgba(240,248,247,.9); stroke-width: 3px; stroke-linejoin: round; transition: opacity .3s; }
/* the truck is bigger than a pin: while it stands on a city, the status line under the map names it */
[data-step="0"] .op-pin--0 text, [data-step="1"] .op-pin--0 text, [data-step="2"] .op-pin--0 text, [data-step="3"] .op-pin--0 text, [data-step="4"] .op-pin--1 text, [data-step="5"] .op-pin--2 text, [data-step="6"] .op-pin--3 text, [data-step="7"] .op-pin--3 text, [data-step="8"] .op-pin--3 text { opacity: 0; }
.op-pin.is-on circle { fill: #12b76a; stroke: #fff; }
.op-truck { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -12px 0 0 -12px; display: grid; place-items: center; border-radius: 50%; background: #0a2540; color: #fff; box-shadow: 0 0 0 4px rgba(10,37,64,.13), 0 5px 12px rgba(10,37,64,.32); transform: translate(calc(var(--tx, 206) * .81667px), calc(var(--ty, 24) * .81667px)); transition: transform 1.2s var(--ease); }
.op-truck svg { width: 13px; height: 13px; }
[data-step="3"] .op-truck { --tx: 170; --ty: 39; } [data-step="4"] .op-truck { --tx: 136; --ty: 62; } [data-step="5"] .op-truck { --tx: 80; --ty: 102; } [data-step="6"] .op-truck, [data-step="7"] .op-truck, [data-step="8"] .op-truck { --tx: 34; --ty: 120; }
.op-map__f { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 4px 1px; font-size: 11px; color: var(--ink-3); }
.op-map__f b { font-weight: 700; color: var(--ink); }
.op-fcard { position: absolute; inset: 0 0 auto 0; padding: 11px 12px 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(10,37,64,.07), 0 26px 50px -16px rgba(10,37,64,.42); font-size: 12px; }
.op-fcard__h { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 750; color: var(--ink); white-space: nowrap; }
.op-fcard__h svg { width: 14px; height: 14px; color: var(--pa); }
.op-fcard > .ps-row:first-child { min-height: 21px; }
.op-fcard__m { margin-top: 8px; }
.op-fcard__b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.op-fcard__s { margin-top: 5px; font-size: 11px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.op-erpline { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 10.5px; font-weight: 750; color: var(--ink-2); white-space: nowrap; }
.op-erpline i { position: relative; flex: 1; height: 2px; border-radius: 2px; background: #dbe3ea; overflow: hidden; }
.op-erpline u { position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, var(--pa), var(--pb)); }
.op-fcard.is-on .op-erpline u { animation: opPacket 1.5s linear infinite; }
@keyframes opPacket { to { left: 100%; } }
/* the hero takes more of the row than the kit's default, so its screen reads at the size of the screens below it */
@media (min-width: 1241px) {
  .op-herosec .ps-hero__grid { grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); gap: 36px; }
  .op-herosec .ps-hero__stage { margin-right: max(-128px, calc((1200px - 100vw) / 2 - 4px)); }
}
/* small laptops: the headline is sized in vw, so its column can follow it and the lines break as they do at 1440. The screen takes what that frees */
@media (min-width: 1241px) and (max-width: 1439px) {
  .op-herosec .ps-hero__grid { grid-template-columns: clamp(360px, 28vw, 400px) minmax(0, 1fr); gap: 28px; }
  .op-herosec .ps-hero__stage { margin-right: calc((1176px - 100vw) / 2); }
  .op-herosec { padding-bottom: 44px; }   /* the bigger screen adds height: this keeps the page menu above the fold on a 1280x720 screen */
}
/* up to 1240 the two columns have no room for the wide screen: the hero goes to one column, as it does below 960 */
@media (max-width: 1240px) {
  .op-herosec .ps-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .op-herosec .ps-hero__stage { width: 100%; max-width: 960px; margin: 0 auto; }
}
/* the ribbon is taller than the hero: it fades out instead of ending on a straight line, and on phones it stays behind the text */
.op-herosec::after { content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 170px; background: linear-gradient(180deg, rgba(255,255,255,0), var(--bg)); pointer-events: none; }
@media (max-width: 1240px) { .op-herosec .hero-ribbon { opacity: .13; } }
@media (max-width: 480px) {
  .op-herosec .crumbs a, .op-herosec .crumbs span { white-space: nowrap; }
  .op-herosec .crumbs > span:last-child, .op-herosec .crumbs > .sep:nth-last-child(2) { display: none; }
}
@media (max-width: 430px) { .op-herosec .ps-hero__ctas .btn { flex: 1 1 auto; padding-inline: 16px; } }   /* one row while both labels fit whole, one under the other below that */
.op-mini { height: 26px; padding: 0 10px; font-size: 11px; }

/* ---------- the problem ---------- */
.op-problem .section__head { margin-bottom: 40px; }
.op-leaks { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 34px; }
.op-pipe { position: absolute; left: 0; right: 0; top: 0; height: 2px; overflow: visible; background: linear-gradient(90deg, rgba(103,232,249,.6), rgba(103,232,249,.28) 40%, rgba(255,255,255,.1)); }
.op-pipe i { position: absolute; top: -3px; left: 0; width: 44px; height: 8px; border-radius: 8px; background: linear-gradient(90deg, transparent, #67e8f9); filter: drop-shadow(0 0 6px #22d3ee); animation: opFlow 7s linear infinite; }
@keyframes opFlow { 0% { left: -44px; opacity: 1; transform: scaleX(1); } 25% { opacity: .85; transform: scaleX(.8); } 50% { opacity: .62; transform: scaleX(.6); } 75% { opacity: .36; transform: scaleX(.42); } 100% { left: 100%; opacity: .05; transform: scaleX(.25); } }
.op-leak { position: relative; }
.op-leak__gap { position: absolute; left: 34px; top: -35px; width: 26px; height: 4px; background: var(--bg-3); }
.op-leak__gap::before, .op-leak__gap::after { content: ''; position: absolute; top: -2px; width: 2px; height: 8px; border-radius: 2px; background: rgba(103,232,249,.75); }
.op-leak__gap::before { left: 0; } .op-leak__gap::after { right: 0; }
.op-leak__gap i { position: absolute; left: 50%; top: 0; width: 6px; height: 9px; margin-left: -3px; border-radius: 50% 50% 55% 55%; background: #67e8f9; opacity: 0; animation: opDrip 7s ease-in infinite; animation-delay: calc(var(--i) * 1.75s + .5s); }
@keyframes opDrip { 0% { opacity: 0; transform: translateY(0) scale(.5); } 3% { opacity: 1; transform: translateY(2px) scale(1); } 13% { opacity: 0; transform: translateY(32px) scale(.8); } 100% { opacity: 0; transform: translateY(32px); } }
.op-leak__ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 11px; color: #67e8f9; background: rgba(103,232,249,.09); box-shadow: inset 0 0 0 1px rgba(103,232,249,.2); }
.op-leak__ic svg { width: 19px; height: 19px; }
.op-leak h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.018em; line-height: 1.2; color: #fff; }
.op-leak p { margin: 0; font-size: 15px; line-height: 1.55; color: #aebfce; }
@media (max-width: 960px) {
  .op-leaks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; padding-top: 0; }
  .op-pipe, .op-leak__gap { display: none; }
}
@media (max-width: 560px) { .op-leaks { grid-template-columns: minmax(0, 1fr); } .op-leak { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; } .op-leak__ic { grid-row: span 2; margin: 0; } }

/* ---------- the story ---------- */
.op-story .ps-step h3 { text-wrap: balance; }
@media (min-width: 961px) {
  .op-story .ps-scrolly { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; }
  .op-story .ps-step p { font-size: 16.5px; }
  .op-story .ps-scrolly__stage { top: calc(var(--nav-h) + var(--subnav-h, 0px) + clamp(20px, 100vh - 790px, 74px)); }   /* a laptop screen has to hold the whole window */
}
/* a narrow desktop keeps the screens at the size of the hero: the text gives up a column */
@media (min-width: 961px) and (max-width: 1180px) {
  .op-story .ps-scrolly, .op-explore .ps-tabs { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 28px; }
  .op-story .ps-step p { font-size: 15.5px; }
  .op-story .ps-step ul { font-size: 14px; }
  .op-explore .ps-tab { padding: 12px 12px 13px; }
  .op-explore .ps-tab b { font-size: 15px; }
  .op-explore .ps-tab span { font-size: 13.5px; }
}
/* on phones the screen fills the top of the view, so a step's text has to arrive below it, at the moment the step begins */
@media (max-width: 960px) {
  .op-story .ps-step { min-height: 0; padding: 42vh 0 0; }
  .op-story .ps-step:first-child { min-height: 0; padding-top: 18px; }
  .op-story .ps-step:last-child { min-height: 0; padding-bottom: 10vh; }
  .op-story .ps-step ul { display: none; }
}
/* where a sticky screen would leave no room for its text: each step's text, then its own screen, which plays as it scrolls in.
   Up to 960 the screen is as tall as .6 of the width, so that depends on the shape of the window: portrait tablets (3:4 and narrower) keep the sticky screen.
   The words are written once: the order below interleaves them with the screens of .op-mstack */
.op-mstack { display: none; }
@media (max-width: 767px), (max-height: 560px), (max-width: 960px) and (min-aspect-ratio: 4/5) {
  .op-story > .container { display: flex; flex-direction: column; }
  .op-story .ps-scrolly, .op-story .ps-scrolly__steps, .op-mstack { display: contents; }
  .op-story .ps-scrolly__stage { display: none; }
  .op-story .ps-scrolly__steps > .ps-step { min-height: 0; padding: 34px 0 16px; opacity: 1; }
  .op-story .ps-scrolly__steps > .ps-step:first-child { padding-top: 0; }
  .op-story .ps-step ul { display: block; }
  .op-mshot { width: 100%; min-width: 0; }
  .op-mshot .ps-fit { max-width: 488px; margin-inline: auto; }
  .op-story .ps-scrolly__steps > .ps-step:nth-child(1) { order: 1; } .op-mshot:nth-child(1) { order: 2; }
  .op-story .ps-scrolly__steps > .ps-step:nth-child(2) { order: 3; } .op-mshot:nth-child(2) { order: 4; }
  .op-story .ps-scrolly__steps > .ps-step:nth-child(3) { order: 5; } .op-mshot:nth-child(3) { order: 6; }
  .op-story .ps-scrolly__steps > .ps-step:nth-child(4) { order: 7; } .op-mshot:nth-child(4) { order: 8; }
  .op-story .ps-scrolly__steps > .ps-step:nth-child(5) { order: 9; } .op-mshot:nth-child(5) { order: 10; }
  .op-story .ps-scrolly__steps > .ps-step:nth-child(6) { order: 11; } .op-mshot:nth-child(6) { order: 12; }
  .op-story .ps-note { order: 13; }
}
@media (max-height: 560px), (min-width: 768px) and (max-height: 700px) { .op-mshot .ps-fit { max-width: 390px; } }   /* a phone on its side or a short window: more of the screen in view */
/* between tablet and phone the wide artboard would shrink past reading size: the phone artboard takes over, at up to 1.25 times */
@media (max-width: 767px) { .op-herosec .ps-fit, .op-explore .ps-fit { max-width: 488px; margin-inline: auto; } }
.op-reveal { width: 100%; }
.op-life { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin: 0 -2px 12px; }
.op-life::before { content: ''; position: absolute; left: 6.25%; right: 6.25%; top: 5px; height: 2px; border-radius: 2px; background: #e3e9f0; }
.op-life__fill { position: absolute; left: 6.25%; top: 5px; height: 2px; width: calc(var(--v, 0%) * .875); border-radius: 2px; background: linear-gradient(90deg, var(--pa), var(--pb)); transition: width .8s var(--ease); }
.op-life__head { position: absolute; left: calc(6.25% + var(--v, 0%) * .875); top: 6px; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--pa); box-shadow: 0 0 0 4px rgba(8,145,178,.16); transition: left .8s var(--ease); z-index: 2; }
.op-life > span { position: relative; padding-top: 16px; text-align: center; font-size: 10.5px; font-weight: 600; color: var(--ink-4); white-space: nowrap; }
.op-life > span::before { content: ''; position: absolute; left: 50%; top: 2px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #d5dde6; box-shadow: 0 0 0 2px #fff; transition: background .35s; }
.js .op-life > span[data-on] { transition: color .35s; }
.op-life > span.is-on { color: var(--ink); }
.op-life > span.is-on::before { background: var(--pa); }
.op-sgrid { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 12px; }
.op-pans { position: relative; min-height: 334px; }
.op-pan { position: absolute; inset: 0; }
.js .op-pan[data-on] { transition: opacity .42s var(--ease), transform .55s var(--ease); }
.js .op-pan[data-on]:not(.is-on) { opacity: 0; transform: translateX(16px) scale(.985); pointer-events: none; }
.op-hint { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 11px; border-radius: 9px; background: var(--pa-soft); color: var(--pa-ink); font-size: 11.5px; font-weight: 650; line-height: 1.3; }
.op-hint svg { width: 14px; height: 14px; flex: none; }
/* lines of a money screen arrive one by one */
.op-pan--q .op-fr, .op-pan--c .op-fr, .op-pan--c .op-eq { transition: opacity .4s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * .11s + .12s); }
.op-pan:not(.is-on) .op-fr, .op-pan:not(.is-on) .op-eq { opacity: 0; transform: translateX(-12px); transition-delay: 0s; }
.op-reveal:not(.in) .op-pan--q .op-fr, .op-reveal:not(.in) .op-pan--q .op-hint { opacity: 0; transform: translateX(-12px); }
.op-pan--q .op-hint { transition: opacity .4s .75s; }
.op-ogroup { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--rule-2); }
.op-ogroup:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.op-ogroup h5 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font: 700 10.5px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--pa-ink); }
.op-ogroup h5 svg { width: 13px; height: 13px; }
.op-carry > b { position: relative; width: fit-content; max-width: 100%; }
.is-on .op-carry > b { animation: opCarry 1.5s var(--ease) .25s both; }
@keyframes opCarry { 0% { background: rgba(8,145,178,.2); box-shadow: 0 0 0 3px rgba(8,145,178,.2); border-radius: 3px; } 100% { background: transparent; box-shadow: 0 0 0 3px transparent; } }
.op-assign { padding: 9px 11px; border-radius: 10px; background: #f8fafc; box-shadow: inset 0 0 0 1px var(--rule-2); }
.op-stats--s { margin-top: 8px; }
.op-pod { display: flex; align-items: center; gap: 7px; font: 600 11px/1 var(--mono); color: var(--ink-2); }
.op-pod .ps-prog { width: 74px; height: 5px; }
.op-frs--c { margin-top: 0; }
.op-eq { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.1fr); align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 11px; background: #f8fafc; box-shadow: inset 0 0 0 1px var(--rule-2); }
.op-eq > i { font-style: normal; font-size: 16px; font-weight: 600; color: var(--ink-4); }
.op-eq > div > span { display: block; font-size: 10.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.op-eq b { display: block; margin-top: 2px; font-size: 15px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.op-eq__r b { color: #0b8a50; }
.op-pan--i .ps-t th, .op-pan--i .ps-t td { padding-left: 4px; padding-right: 4px; }
.op-pan--i .ps-t th:first-child, .op-pan--i .ps-t td:first-child { padding-left: 9px; }
.op-pan--i .ps-t td { font-size: 11.5px; padding-top: 5px; padding-bottom: 5px; }
.op-pan--i .ps-chip { height: 20px; padding: 0 7px; font-size: 10.5px; }
.op-pan--i .ps-t td:first-child { font: 600 11px/1 var(--mono); }
.op-counts { display: flex; gap: 6px; }
.op-hot td { background: var(--pa-soft); }
.op-erp { display: grid; grid-template-columns: 112px minmax(0, 1fr) 70px; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 11px; border-radius: 11px; background: #0a2540; color: #fff; font-size: 11px; font-weight: 700; }
.op-erp__a, .op-erp__b { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.op-erp__b { justify-content: flex-end; }
.op-erp__a .op-logo { width: 18px; height: 18px; border-radius: 6px; }
.op-erp__a .op-logo::after { left: 5px; right: 5px; top: 8px; box-shadow: 0 -3px 0 #fff, 0 3px 0 rgba(255,255,255,.7); }
.op-erp__b svg { width: 15px; height: 15px; color: #67e8f9; }
.op-erp__l { display: grid; gap: 3px; font-size: 10px; font-weight: 600; color: #aebfce; text-align: center; white-space: nowrap; }
.op-erp__l--b { margin-top: 6px; }
.op-erp__run { position: relative; display: block; height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.op-erp__run u { position: absolute; top: 0; left: -28%; width: 28%; height: 100%; background: linear-gradient(90deg, transparent, #22d3ee); }
.op-erp__l--b .op-erp__run u { left: auto; right: -28%; background: linear-gradient(270deg, transparent, #34d399); }
.op-pan--i.is-on .op-erp__run u { animation: opPacket 1.7s linear infinite .8s; }
.op-pan--i.is-on .op-erp__l--b .op-erp__run u { animation-name: opPacketB; }
@keyframes opPacketB { to { right: 100%; } }
.op-rec { align-self: start; padding: 10px 10px 10px; border-radius: 12px; background: #f8fafc; box-shadow: inset 0 0 0 1px var(--rule-2); }
.op-rec h5 { margin: 0 0 8px; font: 700 10.5px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.op-rec__r { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 24px; border-bottom: 1px solid var(--rule-2); font-size: 11px; color: var(--ink-3); }
.op-rec__r > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.op-rec__r svg { width: 12px; height: 12px; }
.op-rec__r > b { font: 600 10.5px/1 var(--mono); color: var(--ink); white-space: nowrap; }
.op-rec__m { margin-top: 10px; padding: 9px 10px 10px; border-radius: 10px; background: #0a2540; color: #fff; }
.op-rec__l { display: grid; gap: 1px; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.12); }
.op-rec__l > span, .op-rec__p > span { font-size: 10.5px; font-weight: 500; color: #aebfce; }
.op-rec__l > b { font-size: 15px; font-weight: 800; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.op-rec__p { display: grid; gap: 1px; }
.op-rec__p > b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #4ade80; line-height: 1.15; font-variant-numeric: tabular-nums; }

/* ---------- modules ---------- */
/* the kit's row of pills scrolls sideways and does not follow autoplay: here all six stay in view, so the selected one is always seen */
@media (max-width: 960px) { .op-explore .ps-tabs__list { flex-wrap: wrap; margin: 0; padding: 0 0 2px; overflow: visible; } }
/* all six panels share one grid cell, so the set is as tall as its tallest at any width, in either language, and autoplay cannot move the page.
   The caption takes up the slack, so every screen starts on the same line. Without product.js there is no .ps-ready and the panels stay a plain list */
@media (max-width: 960px) {
  .ps-ready .op-explore .ps-tabs__panels { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ps-ready .op-explore .ps-panel { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; }
  .ps-ready .op-explore .ps-panel[hidden] { visibility: hidden; }
  .ps-ready .op-explore .ps-panel[hidden] * { animation: none !important; }
  .ps-ready .op-explore .ps-panel__txt { flex: 1 0 auto; }
  .ps-ready .op-explore .ps-panel > .ps-fit { flex: none; }
}
/* the tab that closes and the tab that opens change height together, at one pace, so the list never runs past the height it ends at and nothing under it moves.
   The kit's max-height shuts late: it has to run down from 180px before the text starts to close, while the next tab is already open */
@media (min-width: 961px) {
  .op-explore .ps-tab { display: grid; grid-template-rows: auto 0fr; transition: background .25s, color .25s, grid-template-rows .4s var(--ease); }
  .op-explore .ps-tab.is-active { grid-template-rows: auto 1fr; }
  .op-explore .ps-tab span, .op-explore .ps-tab.is-active span { min-height: 0; max-height: none; }
}
/* here the screens are smaller than the longest list, so the panels hold the list's height and the row keeps one size whichever tab is open */
@media (min-width: 961px) and (max-width: 1040px) { .op-explore .ps-tabs__panels { min-height: 424px; } }
.op-two { display: grid; gap: 14px; }
.op-two--p { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.op-two--t { grid-template-columns: 220px minmax(0, 1fr); }
.op-two--f { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); margin-top: 10px; }
.op-two--a { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.op-frs--p { margin-top: 10px; }
/* the six tab screens share one height, so the page does not jump: a shorter screen spreads out to fill it instead of ending in a strip */
.op-frs--p .op-fr { min-height: 35px; } .op-frs--p .op-fr--t { min-height: 42px; }
.op-two--p > div:last-child, .op-two--f > div:last-child { display: flex; flex-direction: column; }
.op-two--p .op-chain2 { margin-top: auto; }
.op-two--f .op-chain { margin-top: auto; }
.op-frs--s { gap: 7px; } .op-frs--s .op-fr { min-height: 36px; } .op-frs--s .op-fr--t { min-height: 44px; }
.op-hint--s { padding: 7px 10px; background: #f6f8fb; color: var(--ink-3); font-weight: 600; }
/* a line that waits for its turn, then lands */
.op-calc { position: relative; }
.js .op-calc[data-on] { transition: opacity .3s, background-color .3s; }
.js .op-calc[data-on]:not(.is-on) { opacity: .5; }
.op-calc > b { transition: opacity .25s; }
.op-calc:not(.is-on) > b { opacity: 0; }
.op-calc::after { content: '–'; position: absolute; right: 11px; top: 50%; margin-top: -8px; font: 600 12px/16px var(--mono); color: var(--ink-4); }
.op-calc.is-on::after { display: none; }
.op-calc.is-on { animation: opLand .7s var(--ease); }
@keyframes opLand { from { background: var(--pa-soft); box-shadow: inset 0 0 0 1px var(--pa); } }
.op-frs--s { margin-top: 0; }
.op-gauge { padding: 10px 12px 11px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--rule); }
.op-gauge__n { display: block; margin-top: 4px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.op-bar { position: relative; height: 9px; margin-top: 8px; border-radius: 9px; background: #eaeff5; }
.op-bar i { display: block; height: 100%; width: var(--v, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--pa), var(--pb)); transition: width .7s var(--ease), background .4s; }
[data-step="5"] .op-bar i, [data-step="6"] .op-bar i { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.op-bar u { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink); }
.op-bar__l { display: flex; justify-content: space-between; margin-top: 5px; font: 600 9.5px/1 var(--mono); color: var(--ink-3); }
.op-act { display: flex; margin-top: 10px; }
.op-act .ps-btn { flex: 1; height: 34px; }
.op-swapbtn .op-flip { display: inline-grid; justify-items: center; }
.op-chain2 { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 10px; border-radius: 10px; background: #fff8ea; box-shadow: inset 0 0 0 1px #fbe6bd; }
.op-chain2 > i { flex: 1; height: 2px; background: #f1d9a9; }
.op-chain2__s { position: relative; display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: var(--ink); }
.op-chain2__s em { font-style: normal; }
.op-chain2__s small { display: block; font-size: 10px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.op-chain2__s .op-ck { position: static; flex: none; width: 18px; height: 18px; margin: 0; padding: 2px; border-radius: 50%; background: #12b76a; clip-path: none; filter: none; }
.op-chain2__s u { display: block; flex: none; width: 12px; height: 12px; margin: 3px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.2); }

/* dispatch board */
.op-await { display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 9px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.op-await__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--pa-soft); color: var(--pa-ink); flex: none; }
.op-await__ic svg { width: 14px; height: 14px; }
.op-await__t { flex: 1; min-width: 0; }
.op-await__t b { display: block; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-await__t span { display: block; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.op-board { position: relative; margin-top: 10px; overflow: hidden; }
.op-board__in { --lw: 164px; --lg: 10px; --ch: 75px; position: relative; width: calc(var(--lw) * 4 + var(--lg) * 3); }
.op-lanes { display: grid; grid-template-columns: repeat(4, var(--lw)); gap: var(--lg); }
.op-lane { display: flex; align-items: center; justify-content: space-between; min-height: 28px; padding: 0 3px; border-bottom: 2px solid var(--rule); font-size: 12px; font-weight: 750; color: var(--ink-2); }
.op-lane > span:last-child { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #eef2f6; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.op-cards { position: relative; height: 240px; margin-top: 6px; }
.op-bc { position: absolute; left: 0; top: 0; width: var(--lw); height: var(--ch); padding: 7px 9px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule), 0 1px 2px rgba(10,37,64,.04); transform: translate(calc(var(--c) * (var(--lw) + var(--lg))), calc(var(--r) * (var(--ch) + 7px))); transition: transform .85s var(--ease), background-color .4s, box-shadow .4s; }
.js .op-bc--new[data-on] { transition: opacity .45s, transform .6s var(--ease); }
.js .op-bc--new[data-on]:not(.is-on) { opacity: 0; transform: translate(calc(var(--c) * (var(--lw) + var(--lg))), calc(var(--r) * (var(--ch) + 7px) - 26px)) scale(.92); }
.js .op-bc--new.is-on { opacity: 1; transform: translate(calc(var(--c) * (var(--lw) + var(--lg))), calc(var(--r) * (var(--ch) + 7px))); }
.op-bc__h { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.op-bc__h > b { font: 600 11px/1 var(--mono); color: var(--ink); }
.op-bc__h .ps-chip { height: 19px; font-size: 10.5px; padding: 0 7px; }
.op-bc__r { margin-top: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: -.005em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-bc__m { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: 3px; font-size: 10px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.op-bc__m span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.op-bc__m em { display: none; }
.op-bc--sub::after { content: ''; position: absolute; right: 9px; bottom: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--pc); }
.op-bc--done { background: #effbf5; box-shadow: inset 0 0 0 1px #c9f0dd; }
[data-step="4"] .op-bc--47, [data-step="5"] .op-bc--47, [data-step="6"] .op-bc--47 { --c: 3 !important; --r: 2 !important; background: #effbf5; box-shadow: inset 0 0 0 1px #c9f0dd; }
[data-step="5"] .op-bc--49, [data-step="6"] .op-bc--49 { --c: 2 !important; --r: 2 !important; }
.op-leg { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.op-leg i { width: 8px; height: 8px; border-radius: 2px; background: var(--pc); }

/* trip types */
.op-seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 9px; background: #eef2f6; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.op-seg b { position: relative; z-index: 1; padding: 4px 10px; text-align: center; white-space: nowrap; font-weight: 700; }
.op-seg__k { position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc(50% - 3px); border-radius: 7px; background: #fff; box-shadow: 0 1px 3px rgba(10,37,64,.15); transform: translateX(var(--v, 0%)); transition: transform .45s var(--ease); }
.op-tys { display: grid; gap: 4px; align-content: start; }
.op-ty { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 10px; border-radius: 10px; color: var(--ink-3); box-shadow: inset 0 0 0 1px transparent; }
.js .op-ty[data-on] { transition: background-color .3s, box-shadow .3s, color .3s; }
.op-ty.is-on { background: var(--pa-soft); box-shadow: inset 0 0 0 1px var(--pa); color: var(--pa-ink); }
.op-ty svg { width: 17px; height: 17px; flex: none; }
.op-ty span { min-width: 0; }
.op-ty b { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.op-ty em { display: block; font: 500 10px/1.3 var(--mono); font-style: normal; color: var(--ink-3); white-space: nowrap; }
.op-typs { position: relative; min-height: 330px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--rule); background: #fbfcfd; }
.op-typ { position: absolute; inset: 0; padding: 13px 15px; }
.op-typ__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.op-typ__h b { font-size: 15px; font-weight: 800; letter-spacing: -.015em; }
.op-typ__h em { font: 600 10.5px/1 var(--mono); font-style: normal; color: var(--pa-ink); white-space: nowrap; }
.op-typ p { margin: 8px 0 12px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); min-height: 36px; }
.op-sch { display: block; width: 100%; height: 150px; margin-top: 8px; border-radius: 10px; background: linear-gradient(180deg, #f1f8fa, #f4faf6); }
.op-sl { fill: none; stroke: #c6d6dd; stroke-width: 2.2; stroke-linecap: round; }
.op-sr { fill: none; stroke: var(--pa); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 18 300; stroke-dashoffset: 18; }
.op-typ.is-on .op-sr { animation: opRoute 2.7s linear infinite; animation-delay: calc(var(--s, 0) * .9s); }
@keyframes opRoute { 0% { stroke-dashoffset: 18; } 33%, 100% { stroke-dashoffset: -100; } }
.op-sn { fill: #fff; stroke: var(--pa); stroke-width: 2.6; }
.op-sn--e { fill: #12b76a; stroke: #fff; }
.op-sn--h { fill: #0a2540; stroke: #fff; }

/* supplier documents */
.op-idn { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.op-idn small { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.op-av { width: 32px; height: 32px; font-size: 11px; border-radius: 9px; }
.op-tw--d .ps-t td { padding-top: 11px; padding-bottom: 11px; }
.op-rowhl.is-on td { background: var(--pa-soft); }
.js .op-rowhl[data-on] td { transition: background-color .3s; }
.op-renew { display: inline-flex; align-items: center; height: 21px; padding: 0 9px; border-radius: 999px; background: #feeaea; color: #b42318; font-size: 11px; font-weight: 700; transition: transform .16s; }
.op-renew.is-pressed { transform: scale(.93); }
.op-pop { position: absolute; right: 22px; top: 136px; z-index: 5; width: 232px; padding: 11px 12px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(10,37,64,.08), 0 22px 46px -14px rgba(10,37,64,.4); }
.op-pop h5 { margin: 0 0 8px; font-size: 12px; font-weight: 750; color: var(--ink); }
.op-pop .ps-field { margin-top: 3px; }
.op-pop__a { display: flex; justify-content: flex-end; margin-top: 9px; }
.op-toast { position: absolute; right: 16px; bottom: 7px; z-index: 4; }
.op-toast--l { right: auto; left: 16px; bottom: 12px; }
/* the document table fills the screen: on the wide screen the message takes the band above it, one line high, so no row is covered */
[data-ps-play]:not(.is-narrow) .op-tw--d ~ .op-toast { top: 116px; bottom: auto; padding: 6px 11px; white-space: nowrap; }
[data-ps-play]:not(.is-narrow) .op-tw--d ~ .op-toast > div { display: flex; align-items: baseline; gap: 8px; }

/* fuel settlement */
.op-cons { padding: 9px 11px 10px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--rule); }
.op-cons__r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; margin-bottom: 7px; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.op-cons__r > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-cons__r > b { font: 600 11px/1.3 var(--mono); color: var(--ink); }
.op-cons__b { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 1px; height: 8px; border-radius: 8px; background: #eef2f6; overflow: hidden; }
.op-cons__t, .op-cons__o { display: block; height: 100%; width: var(--v, 0%); transition: width .8s var(--ease); }
.op-cons__t { background: linear-gradient(90deg, var(--pa), var(--pb)); }
.op-cons__o { background: #ef4444; }
.op-cons__n { font-size: 11px; font-weight: 700; color: #b42318; }
.op-chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
.op-ch { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; }
.op-ch::before { content: ''; position: absolute; top: 9px; left: -50%; right: 50%; height: 2px; background: #e3e9f0; }
.op-ch:first-child::before { display: none; }
.op-ch > span { position: relative; z-index: 1; display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #cdd7e1; }
.op-ch u { position: absolute; inset: 5px; border-radius: 50%; background: transparent; }
.op-ch em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.op-ch small { display: block; font-size: 10px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.op-ch.is-set > span { background: #12b76a; box-shadow: none; }
.op-ch.is-set .op-ck { clip-path: inset(0); width: 16px; height: 16px; margin: -8px 0 0 -8px; }
.op-ch--now.is-on > span { box-shadow: inset 0 0 0 1.5px #f59e0b, 0 0 0 4px rgba(245,158,11,.18); }
.op-ch--now.is-on u { background: #f59e0b; }
.op-ch--now:not(.is-on) em, .op-ch--now:not(.is-on) small { opacity: .45; }
.op-ch--wait em, .op-ch--wait small { opacity: .45; }
.op-band { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 7px 8px 7px 11px; border-radius: 10px; background: #f8fafc; box-shadow: inset 0 0 0 1px var(--rule-2); }
.op-band > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.op-band > span:first-child > svg { width: 15px; height: 15px; color: var(--ink-3); }
.op-band b { font-weight: 700; }

/* approvals */
.op-ins { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; }
.op-in { display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 6px 8px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.op-in__ic { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--pa-soft); color: var(--pa-ink); font: 700 10.5px/1 var(--mono); }
.op-in__t { flex: 1; min-width: 0; }
.op-in__t b { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-in__t span { display: block; font-size: 10.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-in .ps-btn { height: 26px; padding: 0 9px; font-size: 11px; }
.op-in .ps-chip { height: 19px; padding: 0 7px; font-size: 10px; }
.op-in--a.is-on { box-shadow: inset 0 0 0 1px var(--pa), 0 0 0 3px rgba(8,145,178,.12); }
.js .op-in--a[data-on]:not(.is-on) { opacity: 1; transform: none; }
.js .op-in--a[data-on] { transition: box-shadow .3s, opacity .45s, max-height .5s var(--ease), min-height .5s var(--ease), padding .5s var(--ease), margin .5s var(--ease); max-height: 60px; }
[data-step="2"] .op-in--a .op-in__b, [data-step="3"] .op-in--a .op-in__b { display: none; }
.js [data-step="3"] .op-in--a[data-on] { opacity: 0; max-height: 0; min-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -6px; overflow: hidden; box-shadow: none; }
.op-mxw .op-subh { margin-top: 0; }
.op-mx { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.op-mx th { padding: 4px 2px; font: 700 9.5px/1.2 var(--mono); letter-spacing: .02em; text-align: center; color: var(--ink-3); white-space: nowrap; }
.op-mx th:first-child { text-align: left; }
.op-mx tbody th { font: 600 10.5px/1.2 var(--sans); letter-spacing: 0; color: var(--ink-2); text-align: left; padding-right: 4px; white-space: normal; }
.op-mx td { padding: 3px 1px; text-align: center; border-top: 1px solid var(--rule-2); }
.op-mx tbody th { border-top: 1px solid var(--rule-2); }
.op-b { display: inline-grid; place-items: center; min-width: 32px; height: 19px; padding: 0 3px; border-radius: 5px; font-size: 9.5px; font-weight: 700; }
.op-b--f { background: var(--pa); color: #fff; } .op-b--w { background: var(--pa-soft); color: var(--pa-ink); } .op-b--a { background: #fff4dc; color: #a16207; } .op-b--r { background: #eef2f6; color: var(--ink-2); } .op-b--n { color: var(--ink-4); }
.op-b--hot.is-on { box-shadow: 0 0 0 2px #f59e0b; }
.op-mx__r.is-on th, .op-mx__r.is-on td { background: #fffaf0; }
.js .op-mx__r[data-on] > * { transition: background-color .3s; }
.op-mx__n { margin: 8px 0 0; font-size: 10.5px; line-height: 1.35; color: var(--ink-3); }

/* ---------- small live tiles ---------- */
.op-t-life .ps-tile__vis { padding: 16px 12px 12px; display: flex; }
.op-t-life [data-ps-play] { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.op-l8 { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.op-l8::before { content: ''; position: absolute; left: 6.25%; right: 6.25%; top: 12px; height: 2px; background: #dfe6ee; }
.op-l8__fill { position: absolute; left: 6.25%; top: 12px; height: 2px; width: calc(var(--v, 0%) * .875); background: linear-gradient(90deg, var(--pa), var(--pb)); transition: width .7s var(--ease); }
.op-l8__n { position: relative; display: grid; justify-items: center; text-align: center; }
.op-l8__d { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #cdd7e1; font: 700 10.5px/1 var(--mono); color: var(--ink-3); transition: background .3s, box-shadow .3s; }
.op-l8__d em { font-style: normal; }
.op-l8__n.is-on .op-l8__d { background: var(--pa); box-shadow: none; }
.op-l8__n.is-on .op-l8__d em { opacity: 0; }
.op-l8__n.is-on .op-ck { clip-path: inset(0); }
.op-l8__n b { display: block; margin-top: 7px; font-size: 11.5px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.op-l8__n small { display: block; margin-top: 2px; font: 600 9.5px/1.2 var(--mono); color: var(--ink-3); }
.op-l8__cap { position: relative; min-height: 40px; }
.op-l8__f { padding: 9px 11px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.op-dim { color: var(--ink-4); }
.op-l8__cap p { position: absolute; inset: 0 0 auto; margin: 0; padding: 9px 11px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.op-l8__cap b { margin-right: 7px; color: var(--ink); }
.op-al { display: block; margin-bottom: 7px; padding: 7px 10px 8px; border-radius: 8px; background: #fff; border-left: 3px solid var(--rule); box-shadow: inset 0 0 0 1px var(--rule-2); }
.op-al:last-child { margin-bottom: 0; }
.op-al b { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.op-al span { display: block; font-size: 11.5px; color: var(--ink-3); }
.op-al--bad { border-left-color: #ef4444; background: #fff6f6; } .op-al--warn { border-left-color: #f59e0b; background: #fffbf1; } .op-al--a { border-left-color: var(--pa); background: #f3fbfd; }
.op-tile__h { margin-bottom: 4px; font: 700 10.5px/1.2 var(--mono); letter-spacing: .04em; color: var(--ink-3); }
.op-dl { min-height: 29px; border-bottom: 1px solid #e9eef4; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.op-dl:last-child { border-bottom: 0; }
.op-dl > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-dl--n { margin-top: 8px; padding-top: 7px; border-top: 1px solid #e9eef4; border-bottom: 0; }
.op-log { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 1px 8px; padding: 5px 0 6px; border-bottom: 1px solid #e9eef4; font-size: 11.5px; }
.op-log:last-child { border-bottom: 0; }
.op-log time { font: 600 10.5px/1.4 var(--mono); color: var(--ink-3); white-space: nowrap; }
.op-log b { font-weight: 700; color: var(--ink); white-space: nowrap; }
.op-log span { font: 600 10.5px/1.4 var(--mono); color: var(--ink-3); white-space: nowrap; text-align: right; }
.op-log em { grid-column: 2 / -1; font-style: normal; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-cc { padding: 2px 2px 0; }
.op-locs { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.op-locs svg { width: 14px; height: 14px; color: var(--pa); flex: none; }
.op-tp { display: grid; gap: 7px; }
.op-tp__r { padding: 8px 10px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.op-tp__t { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.op-tp__t svg { width: 15px; height: 15px; flex: none; color: var(--pa); }
.op-tp__t small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.op-tp__n { background: var(--pa-soft); box-shadow: none; }
.op-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.op-tags span { padding: 3px 8px; border-radius: 6px; background: #eef2f6; font-size: 11px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 560px) { .op-cc .op-fields--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .op-l8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .op-l8__n b, .op-l8__n small { display: none; }
  .op-l8__cap { min-height: 62px; }
  .op-l8__f { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-l8__d { width: 24px; height: 24px; }
}

/* ---------- the earlier sections ---------- */
.op-details { position: relative; padding: 80px 0; }
@media (max-width: 1080px) { .op-details { padding: 64px 0; } }
@media (max-width: 760px) { .op-details { padding: 52px 0; } }

/* ---------- who uses it ---------- */
.op-perms { display: grid; gap: 4px; margin-top: 2px; }
.op-perm { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 23px; font-size: 13px; color: var(--ink-2); }
.op-perm em { font-style: normal; }
.op-perm .op-b { flex: none; min-width: 46px; height: 21px; font-size: 11px; font-style: normal; }

/* ---------- how it connects: flows from the ERP run the other way ---------- */
.op-hub .ps-wires path.ps-run { stroke-width: 2.2; stroke-dasharray: 16 172; }
.op-hub .ps-wires path.ps-run:nth-of-type(22), .op-hub .ps-wires path.ps-run:nth-of-type(24) { animation-direction: reverse; stroke: #34d399; }
/* stacked, the core is a wide card: its list takes the width, and each group label sits with its own group */
@media (max-width: 960px) {
  .op-hub .ps-core ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; }
  .op-hub .ps-map__h:not(:first-child) { margin-top: 12px; }
}
@media (max-width: 560px) { .op-hub .ps-core ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- phones: a 390 artboard, close to 1:1 on a phone ----------
   Floors on the artboard: 11px for labels, 13px for what is read. What does not fit is hidden, not shrunk. */
.is-narrow .op-main { padding: 12px 14px 14px; }
.is-narrow .op-app, .is-narrow .op-app--wide { min-height: 0; }
.is-narrow .ps-bar { gap: 6px; height: 36px; padding: 0 12px; }
.is-narrow .ps-bar i { width: 9px; height: 9px; }
.is-narrow .ps-bar span { margin-left: 6px; font-size: 11px; }
.is-narrow .ps-bar em { padding: 4px 8px; font-size: 11px; }
.is-narrow .ps-chip { height: 24px; padding: 0 9px; font-size: 12px; }
.is-narrow .ps-btn { height: 34px; padding: 0 13px; font-size: 13px; }
.is-narrow .ps-title { font-size: 16.5px; }
.is-narrow .ps-sub { font-size: 13px; }
.is-narrow .op-top { flex-wrap: wrap; gap: 2px 10px; }
.is-narrow .op-top__l { display: contents; }
.is-narrow .op-top .ps-title, .is-narrow .op-top .op-flip--l { flex: 1; min-width: 0; }
.is-narrow .op-top .ps-sub { order: 3; width: 100%; }
/* a long title takes the whole row, and its chip moves down beside the subtitle */
.is-narrow .op-top:has(+ .op-two--p) .ps-title, .is-narrow .op-top:has(+ .op-stats--h4) .ps-title { flex-basis: 100%; }
.is-narrow .op-top:has(+ .op-two--p) .ps-sub, .is-narrow .op-top:has(+ .op-stats--h4) .ps-sub { flex: 1; width: auto; min-width: 0; }
.is-narrow .op-top:has(+ .op-two--p) .op-top__r, .is-narrow .op-top:has(+ .op-stats--h4) .op-top__r { order: 4; }
.is-narrow .op-subh { min-height: 24px; margin: 12px 0 8px; }
.is-narrow .op-subh h5 { font-size: 11px; }
.is-narrow .ps-mini { font-size: 12px; }
.is-narrow .op-lbl { font-size: 12px; }
.is-narrow .op-fields { gap: 9px 10px; }
.is-narrow .op-f > span { font-size: 11.5px; }
.is-narrow .op-f > b { font-size: 13px; white-space: normal; }
.is-narrow .op-stats { gap: 6px; }
.is-narrow .op-stat { padding: 7px 9px 8px; }
.is-narrow .op-stat > span { font: 600 11px/1.2 var(--sans); letter-spacing: 0; text-transform: none; }
.is-narrow .op-stat > b, .is-narrow .op-stats--s .op-stat > b { font-size: 14.5px; }
.is-narrow .op-stats--h2, .is-narrow .op-stats--h4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.is-narrow .op-stats--h2 .op-stat:nth-child(2), .is-narrow .op-stats--h4 .op-stat:nth-child(4) { display: none; }
.is-narrow .op-stats--h4 { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.1fr); }   /* the average is the longest value */
.is-narrow .op-frs { gap: 5px; }
.is-narrow .op-fr { gap: 8px; min-height: 34px; padding: 0 11px; font-size: 13px; }
.is-narrow .op-fr > b { font-size: 13px; }
.is-narrow .op-fr--t { min-height: 40px; }
.is-narrow .op-fr--t > b { font-size: 14.5px; }
.is-narrow .op-hint { font-size: 13px; }
.is-narrow .op-stop { gap: 9px; }
.is-narrow .op-node { font-size: 12px; }
.is-narrow .op-srow { min-height: 46px; padding: 5px 10px; }
.is-narrow .op-srow__t b { font-size: 13px; }
.is-narrow .op-srow__t span { font-size: 12px; }
.is-narrow .op-time { font-size: 12px; }
.is-narrow .op-srow { position: relative; }
.is-narrow .op-flag { position: absolute; right: 9px; bottom: 4px; height: 21px; font-size: 11.5px; }
.is-narrow .op-flag + .op-time { align-self: flex-start; margin-top: 3px; }
.is-narrow .op-pod { font-size: 12px; }
/* hero: the window, then the card, in the flow of the page */
.is-narrow .op-hero { height: auto; }
.is-narrow .op-hero:hover { perspective: none; }
.is-narrow .op-hero__t { position: relative; inset: auto; }
.is-narrow .op-hero__win { position: relative; left: auto; top: auto; width: auto; }
.is-narrow .op-hero__win .op-main { padding-right: 14px; }
.is-narrow .op-hero__win .ps-bar { padding-right: 12px; }
.is-narrow .op-hgrid { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 0; }
.is-narrow .op-hero__map { display: none; }
.is-narrow .op-hero__card { position: relative; left: auto; top: auto; width: auto; height: 118px; margin: 10px 0 0; transform: none; }
.is-narrow .op-hero__t:hover, .is-narrow .op-hero__t:hover .op-hero__card { transform: none; transform-style: flat; }
.is-narrow .op-fcard { box-shadow: 0 0 0 1px rgba(10,37,64,.08), 0 10px 26px -14px rgba(10,37,64,.32); font-size: 13px; }
.is-narrow .op-fcard__h { font-size: 13px; }
.is-narrow .op-fcard__s { font-size: 12px; }
.is-narrow .op-erpline { font-size: 11.5px; }
.is-narrow .op-hmoney { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0; margin-top: 10px; background: none; box-shadow: none; }
.is-narrow .op-hmoney h5, .is-narrow .op-hm { display: none; }
.is-narrow .op-hmoney .op-fr, .is-narrow .op-hmoney .op-fr--t, .is-narrow .op-hmoney .op-fr--p { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; min-height: 52px; margin: 0; padding: 0 9px; font-size: 11.5px; }
.is-narrow .op-hmoney .op-fr > b { font-size: 13.5px; }
.is-narrow .op-hmoney .op-flip--r { justify-items: start; }
/* story */
.is-narrow .op-life { margin: 0 -2px 10px; }
.is-narrow .op-life > span { height: 12px; padding: 0; font-size: 0; }
.is-narrow .op-sgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.is-narrow .op-pans { min-height: 0; }
.is-narrow .op-pan { position: static; }
.is-narrow .op-rec { padding: 0; background: none; box-shadow: none; }
.is-narrow .op-rec h5, .is-narrow .op-rec__r { display: none; }
.is-narrow .op-rec__m { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 9px 11px; }
.is-narrow .op-rec__l { padding: 0; margin: 0; border: 0; }
.is-narrow .op-rec__l > span, .is-narrow .op-rec__p > span { font-size: 11.5px; }
.is-narrow .op-rec__l > b, .is-narrow .op-rec__p > b { font-size: 14.5px; line-height: 1.2; }
.is-narrow .op-ogroup { padding-bottom: 10px; margin-bottom: 10px; }
.is-narrow .op-ogroup:last-child { padding-bottom: 0; margin-bottom: 0; }
.is-narrow .op-ogroup .op-fields--3, .is-narrow .op-pan--q .op-fields--3 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1fr); }
.is-narrow .op-pan > .op-subh:first-child { margin-top: 0; }
.is-narrow .op-ogroup h5 { font-size: 11px; }
.is-narrow .op-assign { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 8px 10px; }
.is-narrow .op-assign .op-f:nth-child(2) { display: none; }
.is-narrow .op-eq { gap: 5px; padding: 10px; }
.is-narrow .op-eq > div > span { font-size: 11.5px; }
.is-narrow .op-eq b { font-size: 14px; }
.is-narrow .op-pan--i .ps-t th:nth-child(2), .is-narrow .op-pan--i .ps-t td:nth-child(2), .is-narrow .op-pan--i .ps-t th:nth-child(5), .is-narrow .op-pan--i .ps-t td:nth-child(5) { display: none; }
.is-narrow .ps-t th { padding: 7px 6px; font-size: 11px; letter-spacing: .03em; }
.is-narrow .ps-t td { padding: 8px 6px; font-size: 13px; }
.is-narrow .op-pan--i .ps-t td { padding-top: 7px; padding-bottom: 7px; font-size: 13px; }
.is-narrow .op-pan--i .ps-t td:first-child { font-size: 12px; }
.is-narrow .op-pan--i .ps-chip { height: 23px; padding: 0 8px; font-size: 11.5px; }
.is-narrow .op-erp { grid-template-columns: 112px minmax(0, 1fr) 46px; font-size: 12px; }
.is-narrow .op-erp__l { font-size: 11px; }
/* tabs: one height for all six, so the page does not move when they change */
.ps-panel .is-narrow .op-app { min-height: 530px; }
.is-narrow .op-two--p, .is-narrow .op-two--t, .is-narrow .op-two--f, .is-narrow .op-two--a { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.is-narrow .op-two--p { display: flex; flex-direction: column; gap: 8px; }
.is-narrow .op-two--p > div { display: contents; }
.is-narrow .op-two--p .op-gauge { order: 1; } .is-narrow .op-two--p .op-frs { order: 2; } .is-narrow .op-two--p .op-act { order: 3; margin: 0; } .is-narrow .op-two--p .op-chain2 { order: 4; margin: 0; }
.is-narrow .op-two--p .op-fields, .is-narrow .op-two--p .op-stats--2, .is-narrow .op-hint--s { display: none; }
.is-narrow .op-frs--p { margin-top: 0; }
.is-narrow .op-frs--p .op-fr { min-height: 31px; }
.is-narrow .op-frs--p .op-fr--t { min-height: 38px; }
.is-narrow .op-bar__l { font-size: 11px; }
.is-narrow .op-chain2__s { font-size: 13px; }
.is-narrow .op-chain2__s small { font-size: 11.5px; }
.is-narrow .op-await__ic, .is-narrow .op-await__t span, .is-narrow .op-leg, .is-narrow .op-boardstage .ps-sub { display: none; }
.is-narrow .op-await { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; min-height: 58px; }
.is-narrow .op-await__t { grid-column: 1; grid-row: 1; }
.is-narrow .op-await .op-flip { grid-column: 1; grid-row: 2; justify-items: start; }
.is-narrow .op-assignb { grid-column: 2; grid-row: 1 / 3; }
.is-narrow .op-await__t b { font-size: 13px; line-height: 1.25; white-space: normal; }
.is-narrow .op-board__in { --lw: 176px; --lg: 10px; --ch: 106px; transform: translateX(calc(var(--pan, 0) * -186px)); transition: transform .7s var(--ease); }
.is-narrow .op-lane { font-size: 13px; }
.is-narrow .op-lane > span:last-child { font-size: 12px; }
.is-narrow .op-cards { height: 334px; }
.is-narrow .op-bc { padding: 11px 10px 10px; }
.is-narrow .op-bc__h > b { font-size: 12px; }
.is-narrow .op-bc__h .ps-chip { height: 21px; padding: 0 7px; font-size: 11px; }
.is-narrow .op-bc__r { margin-top: 13px; font-size: 13px; }
.is-narrow .op-bc__m { margin-top: 8px; font-size: 11px; }
.is-narrow[data-step="3"] .op-board__in, .is-narrow[data-step="4"] .op-board__in { --pan: 2; }
.is-narrow[data-step="5"] .op-board__in, .is-narrow[data-step="6"] .op-board__in { --pan: 1; }
.is-narrow .op-seg { font-size: 12px; }
.is-narrow .op-tys { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.is-narrow .op-ty { justify-content: center; min-height: 44px; padding: 0; }
.is-narrow .op-ty span { display: none; }
.is-narrow .op-typs { min-height: 388px; }
.is-narrow .op-typ__h b { font-size: 16px; }
.is-narrow .op-typ__h em { font-size: 11px; }
.is-narrow .op-sch { height: 200px; }
.is-narrow .op-typ p { font-size: 13px; min-height: 57px; }
.is-narrow .op-tw--d .ps-t th:nth-child(2), .is-narrow .op-tw--d .ps-t td:nth-child(2) { display: none; }
.is-narrow .op-tw--d .ps-t td { padding-top: 15px; padding-bottom: 15px; }
.is-narrow .op-tw--d .ps-t td:first-child { max-width: 150px; white-space: normal; line-height: 1.25; }
.is-narrow .op-idn { font-size: 15.5px; }
.is-narrow .op-idn small { font-size: 12px; }
.is-narrow .op-stats:not(.op-stats--h2):not(.op-stats--h4) .op-stat { padding: 7px 7px 8px; }
.is-narrow .op-renew { height: 24px; font-size: 12px; }
.is-narrow .op-pop { right: 14px; top: 150px; width: 250px; }
.is-narrow .op-pop h5 { font-size: 13px; }
.is-narrow .ps-field { height: 34px; font-size: 13px; }
.is-narrow .ps-toast { font-size: 13px; }
.is-narrow .ps-toast small { font-size: 12px; }
.is-narrow .op-toast, .is-narrow .op-toast--l { left: auto; right: 14px; bottom: 12px; }
.is-narrow .op-two--f .op-fr { min-height: 32px; }
.is-narrow .op-two--f .op-fr--t { min-height: 38px; }
.is-narrow .op-cons { padding: 7px 10px 8px; }
.is-narrow .op-cons__r { gap: 2px 8px; margin-bottom: 5px; font-size: 12px; }
.is-narrow .op-cons__r:nth-child(2) { margin-bottom: 0; }
.is-narrow .op-cons__r > b { font-size: 12px; }
.is-narrow .op-cons__n { display: none; }
.is-narrow .op-chain { margin-top: 4px; }
.is-narrow .op-ch em { font-size: 12.5px; }
.is-narrow .op-ch small { font-size: 11px; }
.is-narrow .op-band > span:first-child { gap: 7px; font-size: 13px; white-space: nowrap; }
.is-narrow .op-band > span:first-child > svg { display: none; }
.is-narrow .op-top:has(+ .op-stats--h4) .ps-sub { font-size: 12.5px; white-space: nowrap; }
.is-narrow .op-top:has(+ .op-stats--h4) .ps-chip--dot::before { display: none; }   /* the subtitle and the long chip share a row: the dot gives them a gap */
.is-narrow .op-in { min-height: 46px; padding: 5px 7px; }
.is-narrow .op-in__ic { width: 26px; height: 26px; font-size: 11px; }
.is-narrow .op-in__t b { font-size: 13px; white-space: normal; line-height: 1.2; }
.is-narrow .op-in__t span { display: none; }
.is-narrow .op-ins { gap: 5px; }
.is-narrow .op-in .ps-btn { height: 30px; padding: 0 10px; font-size: 12.5px; }
.is-narrow .op-in .ps-chip { height: 22px; padding: 0 7px; font-size: 11px; }
.is-narrow .op-in:nth-child(n+6) { display: none; }
.is-narrow .op-mx { font-size: 11px; }
.is-narrow .op-mx th { font-size: 11px; }
.is-narrow .op-mx tbody th { font-size: 12px; }
.is-narrow .op-mx td, .is-narrow .op-mx tbody th { padding-top: 2px; padding-bottom: 2px; }
.is-narrow .op-mx tbody tr:nth-child(n+6) { display: none; }
.is-narrow .op-b { min-width: 42px; height: 20px; font-size: 11px; }
.is-narrow .op-mxw .op-subh { margin: 0 0 3px; }
.is-narrow .op-mx__n { display: none; }


/* the pointer lands about .6s into its step: what the click causes waits for it */
.js .op-chain2[data-on].is-on { transition-delay: .72s; }
.js [data-step="6"] #opSend .op-flip > [data-on] { transition-delay: .72s; }
#opSend, #opSet { transition: background-color .3s, color .3s, transform .16s; }
[data-step="6"] #opSend { background: #e9eef3; color: var(--ink-3); transition-delay: .72s; }
[data-step="8"] #opSet { background: #e9eef3; color: var(--ink-3); }
.js .op-ty[data-on], .js .op-typ[data-on] { transition-delay: .5s; }
.js .op-typ[data-on]:not(.is-on) { transform: none; }

/* ---------- small physics ---------- */
@keyframes opPop { 0% { transform: scale(.82); } 55% { transform: scale(1.14); } 100% { transform: scale(1); } }
.op-node.is-on { animation: opPop .5s ease-out var(--d, 0s); }
.js .op-flip > [data-on] { transition-timing-function: cubic-bezier(.34, 1.45, .64, 1); }
.js .op-fcard[data-on], .js .op-rec__r > .ps-in-pop[data-on], .js .op-hm__v .ps-in-pop[data-on] { transition: opacity .32s, transform .5s cubic-bezier(.34, 1.5, .64, 1); }
@keyframes opBump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.3); background: var(--pa-soft); color: var(--pa-ink); } }
[data-step="2"] .op-lane:nth-child(1) > span:last-child, [data-step="4"] .op-lane:nth-child(3) > span:last-child, [data-step="4"] .op-lane:nth-child(4) > span:last-child, [data-step="5"] .op-lane:nth-child(2) > span:last-child, [data-step="5"] .op-lane:nth-child(3) > span:last-child { animation: opBump .6s var(--ease) .35s; }
@keyframes opLift { 0%, 100% { box-shadow: inset 0 0 0 1px var(--rule), 0 1px 2px rgba(10,37,64,.04); } 45% { box-shadow: inset 0 0 0 1px var(--pa), 0 16px 30px -10px rgba(10,37,64,.35); } }
[data-step="4"] .op-bc--47, [data-step="5"] .op-bc--49 { z-index: 3; animation: opLift .9s var(--ease); }
@keyframes opGlow { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); } 100% { box-shadow: 0 0 0 14px rgba(74,222,128,0); } }
[data-step="4"] .op-rec__m { animation: opGlow 1.1s ease-out .25s; }
.op-sl { stroke-dasharray: 100; stroke-dashoffset: 0; }
@keyframes opDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.op-typ.is-on .op-sl { animation: opDraw .6s var(--ease) calc(var(--s, 0) * .22s + .5s) backwards; }
.op-sn { transform-box: fill-box; transform-origin: center; }
@keyframes opNode { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.op-typ.is-on .op-sn { animation: opNode .4s cubic-bezier(.34, 1.5, .64, 1) .55s backwards; }

html:not(.js) .op-pan:not(:first-child) { display: none; }
@media (prefers-reduced-motion: reduce) {
  .op-pipe i, .op-leak__gap i, .op-erpline u, .op-erp__run u, .op-sr { animation: none !important; }
  .op-leak__gap i { opacity: 1; transform: translateY(12px); }
  .op-bc, .op-truck, .op-route--done, .op-seg__k, .op-life__fill, .op-life__head, .op-l8__fill, .op-explore .ps-tab { transition: none !important; }
  .is-on .op-carry > b, .op-node.is-on, .op-rec__m, .op-bc, .op-lane > span:last-child, .op-calc.is-on, .op-sl, .op-sn { animation: none !important; }
}
