/* The stage of the page to put a plan together (views/plan-stage.js, plan-scene.js): a tower and a display on a desk that the camera looks at, the caption and the control of the
   pictures on the display, and the cards that say what the part that is looked at is. Everything that changes with the scroll goes through attributes and custom properties set by
   plan-stage.js (the CSP has no inline styles): the camera and the layers of the drawing are attributes of the SVG, the weight of a card or of the caption is --w. */

.ps { position: relative; height: 100%; overflow: hidden; }
.ps-world { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---- the colours of the drawing ----
   The aluminium has a colour for each face (the top is the lightest, the front the next, the side the darkest) and a short fade inside a face (the front: lighter at its top;
   the side: lighter near the front edge; the top: lighter at the back), a fine grain over it, and only a faint light across it: a strong one is what a tube looks like. Chrome has
   five greys, from the dark of its edge to the white of its highlight. The stand of the display has the colours of a picture of the real one (measured on it); in the dark they are
   the same colours with less light on them. */
.ps {
  --al-fa1: light-dark(#dfe0e3, #8b8e96);
  --al-fa2: light-dark(#cdced2, #70737b);
  --al-sd1: light-dark(#d6d7db, #6e7178);
  --al-sd2: light-dark(#b8babf, #4b4e55);
  --al-tp1: light-dark(#e5e6e9, #878a92);
  --al-tp2: light-dark(#f4f5f7, #a4a7af);
  --al-dm1: light-dark(#f5f5f7, #b7b9c0);
  --al-dm2: light-dark(#d7d8dc, #8b8e96);
  --al-dm3: light-dark(#8f9198, #45474e);
  --al-bore: light-dark(#16181d, #07080b);
  --al-bore-up: light-dark(#2a2d34, #0d0e12);
  --al-wall: light-dark(rgba(34, 38, 50, 0.42), rgba(0, 0, 0, 0.5));
  --al-rim: light-dark(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.26));
  --al-hi: light-dark(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.3));
  --al-lo: light-dark(rgba(70, 78, 96, 0.4), rgba(0, 0, 0, 0.45));
  --al-cm: light-dark(#dddee1, #878b8f);
  --al-cl: light-dark(#d8d9dd, #7b7e84);
  --al-cb: light-dark(#b0b2b8, #43464d);
  --k0: light-dark(#3d424c, #0f1115);
  --k1: light-dark(#575d68, #1b1e24);
  --k2: light-dark(#767c88, #2c3037);
  --k3: light-dark(#9aa0ac, #444952);
  --k4: light-dark(#bcc1ca, #646a75);
  --k5: light-dark(#d6dae1, #868c98);
  --k6: light-dark(#e8ebf0, #a9afbb);
  --k7: light-dark(#f6f7fa, #cbd0da);
  --k8: light-dark(#ffffff, #f1f3f8);
  --c0: light-dark(#5a5f69, #343842);
  --c1: light-dark(#9ea4ae, #666b76);
  --c2: light-dark(#d3d7dd, #8d939e);
  --c3: light-dark(#eceef2, #b6bbc5);
  --c4: light-dark(#ffffff, #d8dbe2);
  --ar0: light-dark(#bcbdbf, #80848d);
  --ar1: light-dark(#cdced0, #8d9099);
  --ar2: light-dark(#d8d9db, #9a9ea8);
  --ar3: light-dark(#d3d4d6, #92969f);
  --ar4: light-dark(#c9cacc, #898d96);
  --rg0: light-dark(#ececee, #a9adb6);
  --rg1: light-dark(#d0d1d3, #8a8e97);
  --bd0: light-dark(#cacbcd, #8f929b);
  --bd1: light-dark(#eff0f2, #b6bac3);
  --bd2: light-dark(#d4d5d7, #999da6);
  --ft0: light-dark(#d9dadd, #8b8f98);
  --ft1: light-dark(#e6e7e9, #a1a5ae);
  --cr0: light-dark(#cacbcd, #8d9099);
  --cr1: light-dark(#5d5e60, #3a3c42);
  --cr2: light-dark(#7b7c7e, #50525a);
  --ff0: light-dark(#c9cacc, #7c808a);
  --ff1: light-dark(#f1f2f4, #bbbfc8);
  --ff2: light-dark(#dbdcde, #9a9ea8);
  --win: light-dark(#f4f4f6, #1f1f22);
  --win-bar: light-dark(#ececef, #2c2c2f);
  --win-ink: light-dark(#2c2c30, #f1f1f4);
  --win-pill: light-dark(rgba(0, 0, 0, 0.06), rgba(255, 255, 255, 0.1));
  --win-tool: light-dark(#4a4a50, #d6d6db);
}
.pvs-fa1 { stop-color: var(--al-fa1); }
.pvs-fa2 { stop-color: var(--al-fa2); }
.pvs-sd1 { stop-color: var(--al-sd1); }
.pvs-sd2 { stop-color: var(--al-sd2); }
.pvs-tp1 { stop-color: var(--al-tp1); }
.pvs-tp2 { stop-color: var(--al-tp2); }
.pvs-dm1 { stop-color: var(--al-dm1); }
.pvs-dm2 { stop-color: var(--al-dm2); }
.pvs-dm3 { stop-color: var(--al-dm3); }
.pvs-sc-m { stop-color: var(--al-cm); }
.pvs-sc-l { stop-color: var(--al-cl); }
.pvs-sc-b { stop-color: var(--al-cb); }
.pvs-c0 { stop-color: var(--c0); }
.pvs-c1 { stop-color: var(--c1); }
.pvs-c2 { stop-color: var(--c2); }
.pvs-c3 { stop-color: var(--c3); }
.pvs-c4 { stop-color: var(--c4); }
.pvs-ar0 { stop-color: var(--ar0); }
.pvs-ar1 { stop-color: var(--ar1); }
.pvs-ar2 { stop-color: var(--ar2); }
.pvs-ar3 { stop-color: var(--ar3); }
.pvs-ar4 { stop-color: var(--ar4); }
.pvs-rg0 { stop-color: var(--rg0); }
.pvs-rg1 { stop-color: var(--rg1); }
.pvs-bd0 { stop-color: var(--bd0); }
.pvs-bd1 { stop-color: var(--bd1); }
.pvs-bd2 { stop-color: var(--bd2); }
.pvs-ft0 { stop-color: var(--ft0); }
.pvs-ft1 { stop-color: var(--ft1); }
.pvs-cr0 { stop-color: var(--cr0); }
.pvs-cr1 { stop-color: var(--cr1); }
.pvs-cr2 { stop-color: var(--cr2); }
.pvs-ff0 { stop-color: var(--ff0); }
.pvs-ff1 { stop-color: var(--ff1); }
.pvs-ff2 { stop-color: var(--ff2); }
.pvs-shade { stop-color: #0a0c14; }
.pvs-lit { stop-color: #fff; }
.pvs-w1 { stop-color: #3d4fd6; }
.pvs-w2 { stop-color: #7a4fd0; }
.pvs-g1 { stop-color: #6f8cff; }
.pvs-g2 { stop-color: #b66dff; }
.pvs-g3 { stop-color: #ff8fb8; }
/* the shadows on the desk: many layers of the footprint, each very faint (plan-scene.js softShadow); one colour is for the narrow blur at the foot and one for the wide one. At the edge of
   the footprint the layers (24 and 16 of them) add up to about 20% and 9% on a light desk (a layer is 0.9% and 0.6%), and 34% and 16% on a dark one (1.7% and 1.1%). */
.pvs-soft { pointer-events: none; }
.pvs-soft-near { fill: light-dark(rgba(36, 48, 100, 0.0093), rgba(0, 0, 10, 0.0171)); }
.pvs-soft-far { fill: light-dark(rgba(46, 60, 118, 0.0059), rgba(0, 0, 12, 0.0109)); }

/* the tower: one rule for each face, then what is over a face (the light across it, the dark at its foot, the grain), the lines of its edges, the holes, the chrome */
.pvs-face { fill: url(#pvs-face-grad); }
.pvs-side { fill: url(#pvs-side-grad); }
.pvs-top { fill: url(#pvs-top-grad); }
.pvs-lattice { fill: url(#pvs-lat); }
.pvs-side-end { fill: var(--al-sd2); }
.pvs-fade-fill { fill: url(#pvs-lat-fade-grad); }
.pvs-sheen { fill: url(#pvs-sheen-grad); pointer-events: none; }
.pvs-sheen-side { fill: url(#pvs-sheen-side-grad); }
.pvs-bounce { fill: url(#pvs-bounce-grad); pointer-events: none; }
.pvs-sheen-top { fill: url(#pvs-sheen-top-grad); }
.pvs-grain { fill: url(#pvs-grain-tile); opacity: 0.45; pointer-events: none; }
.pvs-dimple { fill: url(#pvs-dimple-grad); }
.pvs-bore { fill: var(--al-bore); }
.pvs-bore-up { fill: var(--al-bore-up); }
.pvs-wall-shade { fill: none; stroke: var(--al-wall); stroke-width: 1; stroke-linecap: round; }
.pvs-rim { fill: none; stroke: var(--al-rim); stroke-width: 0.8; stroke-linecap: round; }
.pvs-edge-hi { fill: none; stroke: var(--al-hi); stroke-width: 1.3; stroke-linecap: round; }
.pvs-edge-lo { fill: none; stroke: var(--al-lo); stroke-width: 1; stroke-linecap: round; }
.pvs-groove { fill: light-dark(rgba(52, 60, 80, 0.1), rgba(0, 0, 0, 0.2)); }
.pvs-power { fill: light-dark(#f3f5f8, #b4bbc8); stroke: var(--al-lo); stroke-width: 0.9; }
.pvs-power-in { fill: light-dark(#8a91a0, #4a505f); }
.pvs-case { fill: none; stroke: var(--accent); stroke-opacity: 0.6; stroke-width: 1.4; }
/* chrome: the handles are tubes drawn as strokes of one line (the edge, the body, the broad light, the dark band that the horizon makes, the bright rim, a thin dark line low on it); the feet
   are posts on mirror discs with two washers at the base, a faint shadow of their own on the desk, and the top of the post in the shade of the body */
.pvs-tube { fill: none; stroke-linecap: butt; stroke-linejoin: round; pointer-events: none; }
.pvs-k0 { stroke: var(--k0); }
.pvs-k1 { stroke: var(--k1); }
.pvs-k2 { stroke: var(--k2); }
.pvs-k3 { stroke: var(--k3); }
.pvs-k4 { stroke: var(--k4); }
.pvs-k5 { stroke: var(--k5); }
.pvs-k6 { stroke: var(--k6); }
.pvs-k7 { stroke: var(--k7); }
.pvs-k8 { stroke: var(--k8); }
.pvs-foot-sh { fill: light-dark(rgba(36, 48, 100, 0.07), rgba(0, 0, 10, 0.16)); pointer-events: none; }
.pvs-disc-side { fill: url(#pvs-post-grad); }
.pvs-disc-top { fill: url(#pvs-disc-grad); }
.pvs-disc-lip { fill: none; stroke: var(--c4); stroke-width: 0.8; stroke-linecap: round; }
.pvs-gap { fill: light-dark(rgba(24, 28, 40, 0.6), rgba(0, 0, 0, 0.62)); }
.pvs-washer { fill: url(#pvs-post-grad); }
.pvs-washer-top { fill: var(--c3); stroke: var(--al-lo); stroke-width: 0.4; }
.pvs-post { fill: url(#pvs-post-grad); }
.pvs-post-shade { fill: url(#pvs-post-shade-grad); pointer-events: none; }

/* the display: the black border and the glass, the stand (one piece of aluminium: the arm with the ring of its hole, the bend, the top of the foot, the crease, the front of the foot and the
   rubber under it), the desktop, the bar of the screen and the window with its toolbar (as the laptop of the plan pages had them) */
.pvs-bezel { fill: #0e0e10; }
.pvs-bezel-edge { fill: none; stroke: light-dark(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.2)); stroke-width: 0.8; }
.pvs-lens-ring { fill: #121212; }
.pvs-lens { fill: #12202d; }
.pvs-glass { fill: #07080b; }
.pvs-arm { fill: url(#pvs-arm-grad); }
.pvs-arm-ring { fill: url(#pvs-ring-grad); }
.pvs-arm-side { fill: url(#pvs-arm-side-grad); pointer-events: none; }
.pvs-bend { fill: url(#pvs-bend-grad); }
.pvs-ftop { fill: url(#pvs-ftop-grad); }
.pvs-crease { fill: url(#pvs-crease-grad); }
.pvs-ffront { fill: url(#pvs-ffront-grad); }
.pvs-rubber { fill: #121315; }
.pvs-wall { fill: url(#pvs-wall-grad); }
.pvs-wall-glow-a { fill: url(#pvs-glow-a); }
.pvs-wall-glow-b { fill: url(#pvs-glow-b); }
.pvs-wall-glow-c { fill: url(#pvs-glow-c); }
.pvs-mb-text { fill: #fff; font-size: 5.6px; font-weight: 500; white-space: pre; }
.pvs-mb-app { font-weight: 700; }
.pvs-mb-logo { fill: #fff; }
.pvs-mb-ic { color: #fff; }
.pvs-ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pvs-tool { color: var(--win-tool); }
.pvs-win-shadow { fill: rgba(0, 0, 0, 0.3); }
.pvs-win-shadow-far { fill: rgba(0, 0, 0, 0.16); }
.pvs-win { fill: var(--win); }
.pvs-win-bar { fill: var(--win-bar); }
.pvs-tl-0 { fill: #ff5f57; }
.pvs-tl-1 { fill: #febc2e; }
.pvs-tl-2 { fill: #28c840; }
.pvs-pill { fill: var(--win-pill); }
.pvs-addr { fill: var(--win-ink); font-size: 5.6px; font-weight: 600; }

/* the pictures on the screen: one is shown, with a light and a dark file for each */
.pb-slide { opacity: 0; transition: opacity 0.4s ease; }
.pb-slide.on { opacity: 1; }
.pb-shot-dark { display: none; }
:root[data-theme="dark"] .pb-shot-light { display: none; }
:root[data-theme="dark"] .pb-shot-dark { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pb-shot-light { display: none; }
  :root:not([data-theme="light"]) .pb-shot-dark { display: inline; }
}

/* ---- the caption and the control of the pictures on the display: there while the whole desk is in view, and gone once the camera is in the tower ---- */
.ps { container-type: size; }
.ps-over { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 28px 22px; opacity: var(--w, 1); pointer-events: none; }
.ps-over > * { pointer-events: auto; }
.ps-over[hidden] { display: none; }
.pb-cap { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.5; }
.pb-cap b { color: var(--text); }
/* The caption of a step that looks inside (the chip, the storage): at the same place and in the same type as the caption of the pictures, over the drawing. The board is black in both
   themes, so the words lie on a plate of the glass of the cards (the words are where they were: 14 + 1 + 11 px from the top, 14 + 1 + 13 px from the left). It fades with its weight. */
.ps-cap { position: absolute; z-index: 2; top: 14px; left: 14px; box-sizing: border-box; max-width: 448px; padding: 11px 13px; border: 1px solid var(--lq-line, transparent); border-radius: 16px; background: color-mix(in srgb, var(--lq-fill, var(--surface)) 88%, transparent); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); opacity: var(--w, 0); pointer-events: none; }
.ps-cap[hidden] { display: none; }
.pb-control { display: flex; align-items: center; justify-content: center; gap: 12px; }
.pb-arrow { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--fill-strong); color: var(--text); cursor: pointer; }
.pb-arrow:hover { background: var(--separator); }
.pb-arrow .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.pb-dots { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--fill-strong); }
.pb-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--faint); opacity: 0.55; cursor: pointer; transition: opacity 0.2s ease, transform 0.2s ease; }
.pb-dot.on { background: var(--text); opacity: 1; transform: scale(1.1); }
@container (max-width: 520px) { .ps-over { padding: 14px 16px 12px; } .ps-cap { top: 6px; left: 6px; padding: 7px 9px; } .pb-cap { font-size: 12.5px; } }

/* ---- the cards: each is beside the part of the tower that the camera is looking at (the chip, the memory, the storage), as a card of the portal (liquid/card.js) ----
   Every size in a card is a number of --u: one px, less when the card does not fit in the stage (plan-stage.js fitCards sets --fit, never below a share of one), so the memory card
   keeps all of what it says on a stage that is not as tall as the card. */
.ps-call {
  --u: calc(var(--fit, 1) * 1px); --lq-radius: 22px; position: absolute; z-index: 3; box-sizing: border-box; overflow: hidden; padding: calc(26 * var(--u)) calc(28 * var(--u)); color: var(--text); opacity: var(--w, 0); pointer-events: none;
}
.ps-call[hidden] { display: none; }
.ps[data-layout="side"] .ps-call { top: 50%; right: 24px; width: min(calc(55% - 24px), 480px); max-height: calc(100% - 48px); transform: translateY(-50%); }
.ps[data-layout="stack"] .ps-call { --u: calc(var(--fit, 1) * 0.84px); right: 12px; bottom: 12px; left: 12px; max-height: 50%; padding: 14px 16px; }
.ps-call-head { display: flex; align-items: center; gap: calc(10 * var(--u)); margin-bottom: calc(10 * var(--u)); color: var(--muted); }
.ps-call-ico { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.ps-call-head small { font-size: calc(14.5 * var(--u)); font-weight: 700; letter-spacing: 0.02em; }
.ps-call-big { display: block; font-size: calc(28 * var(--u)); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.ps-call-title { display: block; margin: calc(10 * var(--u)) 0 calc(2 * var(--u)); font-size: calc(34 * var(--u)); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.ps-call-sub { margin: calc(2 * var(--u)) 0 0; color: var(--muted); font-size: calc(15.5 * var(--u)); line-height: 1.4; }
.ps-call-small { margin: calc(12 * var(--u)) 0 calc(8 * var(--u)); color: var(--muted); font-size: calc(14 * var(--u)); }
.ps-call-text { margin: calc(12 * var(--u)) 0 0; color: var(--muted); font-size: calc(15 * var(--u)); line-height: 1.5; }
.ps-stats { display: flex; gap: calc(32 * var(--u)); margin-top: calc(16 * var(--u)); }
.ps-stat b { display: block; font-size: calc(52 * var(--u)); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.ps-stat span { color: var(--muted); font-size: calc(15 * var(--u)); font-weight: 600; }
.ps-live { margin: calc(10 * var(--u)) 0 0; color: light-dark(#248a3d, #30d158); font-size: calc(14.5 * var(--u)); font-weight: 600; }
.ps-meter { display: block; width: 100%; height: calc(12 * var(--u)); margin: calc(14 * var(--u)) 0 0; appearance: none; border: 0; border-radius: calc(6 * var(--u)); background: var(--fill-strong); overflow: hidden; }
.ps-meter::-webkit-meter-bar { height: calc(12 * var(--u)); border: 0; border-radius: calc(6 * var(--u)); background: var(--fill-strong); }
.ps-meter::-webkit-meter-optimum-value, .ps-meter::-webkit-meter-suboptimum-value, .ps-meter::-webkit-meter-even-less-good-value { border-radius: calc(6 * var(--u)); background: var(--accent); }
.ps-meter::-moz-meter-bar { border-radius: calc(6 * var(--u)); background: var(--accent); }

/* the memory: what has to be understood before choosing */
.ps-lead { display: flex; align-items: flex-start; gap: calc(9 * var(--u)); margin: 0; font-size: calc(15.5 * var(--u)); font-weight: 700; line-height: 1.35; }
.ps-alert { flex: none; display: grid; place-items: center; width: calc(21 * var(--u)); height: calc(21 * var(--u)); border-radius: 50%; background: light-dark(#ff9500, #ff9f0a); color: #fff; font-size: calc(14 * var(--u)); font-style: normal; font-weight: 800; }
.ps-bars { display: grid; grid-template-columns: repeat(var(--span, 8), minmax(0, 1fr)); gap: calc(5 * var(--u)) calc(3 * var(--u)); }
.ps-seg { grid-column: span var(--gb, 1); display: grid; align-content: center; min-height: calc(46 * var(--u)); padding: calc(4 * var(--u)) calc(6 * var(--u)); border-radius: calc(10 * var(--u)); color: #fff; font-size: calc(14 * var(--u)); font-weight: 700; line-height: 1.15; text-align: center; }
.ps-seg small { display: block; font-size: calc(11.5 * var(--u)); font-weight: 500; opacity: 0.85; }
.ps-seg.c1, .ps-dot.c1 { background: light-dark(#ff9500, #ff9f0a); }
.ps-seg.c2, .ps-dot.c2 { background: light-dark(#34c759, #30d158); }
.ps-seg.c3, .ps-dot.c3 { background: light-dark(#af52de, #bf5af2); }
.ps-dot.c4 { background: light-dark(#aeaeb2, #636366); }
.ps-seg.dash { border: calc(1.5 * var(--u)) dashed light-dark(#ff3b30, #ff453a); background: transparent; color: light-dark(#ff3b30, #ff453a); }
.ps-seg.limit { grid-column: 1 / span var(--gb, 1); min-height: calc(34 * var(--u)); background: var(--fill-strong); color: var(--text); }
.ps-warn { margin: calc(14 * var(--u)) 0 0; color: light-dark(#ff3b30, #ff453a); font-size: calc(14.5 * var(--u)); font-weight: 700; line-height: 1.4; }
.ps-rows { display: grid; margin: calc(14 * var(--u)) 0 0; padding: 0; list-style: none; border-radius: calc(12 * var(--u)); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.ps-rows li { display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(9 * var(--u)) calc(14 * var(--u)); }
.ps-rows li + li { border-top: 1px solid var(--separator); }
.ps-dot { flex: none; width: calc(11 * var(--u)); height: calc(11 * var(--u)); border-radius: 50%; }
.ps-row-main, .ps-row-side { display: grid; gap: 1px; }
.ps-row-main { flex: 1; min-width: 0; }
.ps-row-side { text-align: right; }
.ps-rows b { font-size: calc(14.5 * var(--u)); font-weight: 600; }
.ps-rows small { color: var(--muted); font-size: calc(12.5 * var(--u)); }
.ps-rows small.on { color: light-dark(#248a3d, #30d158); }
/* a card that cannot be made small enough gives up its details, one level at a time (plan-stage.js fitCard marks it): first the examples, then the bars, and keeps what has to be
   understood (the lead, the number and the warning); the phone has no room for more than that */
.ps-call[data-compact] .ps-more, .ps-call[data-compact="2"] :is(.ps-bars, .ps-call-small, .ps-call-sub) { display: none; }
.ps[data-layout="stack"] .ps-call-memory :is(.ps-more, .ps-bars, .ps-call-small, .ps-call-sub) { display: none; }
.ps[data-layout="stack"] .ps-call-title { margin-top: 4px; font-size: calc(30 * var(--u)); }

/* the credit: the months that it pays, one row each (the month, the sum that is left after it, and under it, small, the sum that was taken off up to it), and the first month that has to be
   paid as a dashed row, with its note under it (yellow when the credit is used, grey when it is not). The card gives up its small lines first (level 1), then its head and the gap (2), and last the note of the dashed row (3). */
.ps[data-layout="side"] .ps-call-credit { width: min(calc(48% - 24px), 440px); } /* (narrower than the other cards: the whole board is at its left, and it is as tall as the stage lets it be) */
.ps-cr { margin: calc(4 * var(--u)) 0 0; padding: 0; list-style: none; }
.ps-cr-row { display: grid; grid-template-columns: calc(76 * var(--u)) minmax(0, 1fr); align-items: baseline; gap: calc(14 * var(--u)); padding: calc(13 * var(--u)) 0; }
.ps-cr-row:not(:first-child) { border-top: 1px solid var(--separator); }
.ps-cr-row.is-pay { border-top: calc(1.5 * var(--u)) dashed var(--faint); }
.ps-cr-row.is-pay:first-child { border-top: 0; }
.ps-cr-gap + .ps-cr-row { border-top: 0; }
.ps-cr-k { color: var(--muted); font-size: calc(15 * var(--u)); font-weight: 700; font-variant-numeric: tabular-nums; }
.ps-cr-main b { display: block; font-size: calc(19 * var(--u)); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; font-variant-numeric: tabular-nums; }
.ps-cr-sub { display: block; margin-top: calc(3 * var(--u)); color: var(--muted); font-size: calc(14 * var(--u)); line-height: 1.4; font-variant-numeric: tabular-nums; }
.ps-cr-sub.ps-cr-yellow { color: var(--credit-yellow); font-weight: 600; }
.ps-cr-gap { padding: calc(1 * var(--u)) 0; color: var(--faint); font-size: calc(18 * var(--u)); line-height: 1; text-align: center; }
.ps-call[data-compact] .ps-cr-row:not(.is-pay) .ps-cr-sub, .ps-call[data-compact="2"] :is(.ps-cr-gap, .ps-call-head), .ps-call[data-compact="3"] :is(.ps-cr-gap, .ps-call-head, .ps-cr-row.is-pay .ps-cr-sub) { display: none; }
.ps-call-credit[data-compact] .ps-cr-row { padding: calc(8 * var(--u)) 0; }
/* a phone: the card has the lower 60% of the stage (the board has the rest), and its rows are a little tighter than in a wide stage */
.ps[data-layout="stack"] .ps-call-credit { max-height: 60%; }
.ps[data-layout="stack"] .ps-cr-row { padding: calc(9 * var(--u)) 0; }
.ps[data-layout="stack"] .ps-cr-main b { font-size: calc(17 * var(--u)); }

@media (prefers-reduced-motion: reduce) {
  .pb-slide, .pvs-stick, .pvs-nand, .pb-dot { transition: none; }
}
