/* Built from src/pos-mock.css by tools/build.mjs. Do not edit. */
/* Counter mock-ups, 1:1 with the POS app. Written in dp ("calc(var(--u) * 16)" = 16 dp); tools/build.mjs turns
   every "Nu" into calc(var(--u) * N), and --u is one dp at the frame's width. Colours are the app's
   light theme (core/designsystem Color.kt). The type scale is the app's (Type.kt): Roboto, body a step larger. */
.pm-wrap { container-type: inline-size; width: 100%; }
.pm-w-1024 .pm { --u: calc(100cqw / 1024); }
.pm-w-360 .pm { --u: calc(100cqw / 360); }
.pm {
  --primary: #1D5FCC; --on-primary: #fff; --primary-container: #D8E2FF; --secondary-container: #DAE2F9;
  --surface: #F9F9FF; --on-surface: #191C20; --on-surface-variant: #44474E; --outline: #74777F; --outline-variant: #C4C6D0;
  --container-low: #F3F3FA; --container-highest: #E2E2E9; --error: #BA1A1A;
  font-family: "Roboto", system-ui, sans-serif; color: var(--on-surface); background: var(--surface);
  font-size: calc(var(--u) * 16); line-height: calc(var(--u) * 22); overflow: hidden; position: relative; text-align: left;
  -webkit-font-smoothing: antialiased; user-select: none;
}
.pm * { box-sizing: border-box; }
.pm .ai { width: calc(var(--u) * 24); height: calc(var(--u) * 24); fill: currentColor; flex-shrink: 0; display: block; }
/* Screens: the Android status bar (28 dp) and gesture bar (20 dp) around the app */
.pm-tablet { width: calc(var(--u) * 1024); height: calc(var(--u) * 688); display: flex; flex-direction: column; }
.pm-body { flex: 1; min-height: 0; display: flex; }
.pm-phone { width: calc(var(--u) * 360); height: calc(var(--u) * 788); display: flex; flex-direction: column; }
.pm-status { position: relative; height: calc(var(--u) * 28); flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--u) * 24); background: var(--surface); font-size: calc(var(--u) * 14); font-weight: 500; color: var(--on-surface); }
.pm-phone .pm-status { height: calc(var(--u) * 32); padding: 0 calc(var(--u) * 22); }
.pm-status-icons { display: flex; gap: calc(var(--u) * 4); align-items: center; }
.pm-status-icons svg { width: calc(var(--u) * 15); height: calc(var(--u) * 15); fill: currentColor; }
.pm-status-icons .pm-batt { transform: rotate(90deg); width: calc(var(--u) * 17); height: calc(var(--u) * 17); }
.pm-punch { position: absolute; left: 50%; top: 50%; width: calc(var(--u) * 13); height: calc(var(--u) * 13); border-radius: 50%; background: #05070a; transform: translate(-50%, -50%); box-shadow: 0 0 0 calc(var(--u) * 2) #1c2027; }
.pm-gesture { height: calc(var(--u) * 20); flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--surface); }
.pm-gesture i { width: calc(var(--u) * 108); height: calc(var(--u) * 4); border-radius: calc(var(--u) * 2); background: rgba(25, 28, 32, .45); }

/* Device frames (the hardware is ours; the screen inside is the app): thin black glass bezel,
   a metal edge, rounded corners, front camera, and the phone's side buttons. */
.pm-device {
  position: relative;
  background: linear-gradient(150deg, #434b57 0%, #171b21 22%, #0a0c0f 60%, #20252c 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 0 2px #07090c, 0 0 0 1px #05070a, 0 34px 60px -22px rgba(22, 35, 61, .5), 0 12px 24px -12px rgba(22, 35, 61, .35);
}
.pm-device .pm { box-shadow: 0 0 0 1px #000; }
.pm-device-tablet { padding: 1.1%; border-radius: 2.6% / 3.9%; }
.pm-device-tablet .pm { border-radius: 1.6% / 2.4%; }
.pm-cam { position: absolute; left: 50%; top: .85%; width: .55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b4a63 0, #10151d 55%, #05070a 100%); transform: translate(-50%, -50%); box-shadow: 0 0 0 1px #1c2027; }
.pm-device-phone { padding: 1.7%; border-radius: 13.5% / 6.2%; }
.pm-device-phone .pm { border-radius: 12% / 5.5%; }
.pm-btn-power, .pm-btn-vol { position: absolute; right: -1.2%; width: 1.2%; background: linear-gradient(90deg, #12161b, #2b313a); border-radius: 0 3px 3px 0; }
.pm-btn-power { top: 24%; height: 8%; }
.pm-btn-vol { top: 36%; height: 15%; }

/* Navigation rail (IGoScaleNavigationRail, collapsed: 80 dp, 48 dp rows, primaryContainer pill) */
.pm-rail { width: calc(var(--u) * 80); flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * 4); padding-top: calc(var(--u) * 8); background: var(--surface); border-right: calc(var(--u) * 1) solid var(--outline-variant); color: var(--on-surface-variant); }
.pm-rail-menu { width: calc(var(--u) * 48); height: calc(var(--u) * 48); display: flex; align-items: center; justify-content: center; color: var(--on-surface); margin-bottom: calc(var(--u) * 8); }
.pm-rail-item { width: calc(var(--u) * 56); height: calc(var(--u) * 48); border-radius: calc(var(--u) * 24); display: flex; align-items: center; justify-content: center; }
.pm-rail-item.on { background: var(--primary-container); color: var(--primary); }

/* Item browser */
.pm-browser { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--surface); }
.pm-search-row { display: flex; align-items: center; padding: calc(var(--u) * 8) calc(var(--u) * 16); gap: calc(var(--u) * 8); }
.pm-search-fast { padding: calc(var(--u) * 8) calc(var(--u) * 12); }
.pm-field { flex: 1; min-width: 0; height: calc(var(--u) * 56); border: calc(var(--u) * 1) solid var(--outline); border-radius: calc(var(--u) * 4); display: flex; align-items: center; padding: 0 calc(var(--u) * 16); color: var(--on-surface-variant); font-size: calc(var(--u) * 18); white-space: nowrap; overflow: hidden; }
.pm-bc { width: calc(var(--u) * 48); height: calc(var(--u) * 48); display: flex; align-items: center; justify-content: center; color: var(--on-surface-variant); }
.pm-obtn { height: calc(var(--u) * 40); padding: 0 calc(var(--u) * 24); border: calc(var(--u) * 1) solid var(--outline); border-radius: calc(var(--u) * 20); display: flex; align-items: center; color: var(--primary); font-size: calc(var(--u) * 16); font-weight: 600; white-space: nowrap; }
.pm-sbtn { height: calc(var(--u) * 32); padding: 0 calc(var(--u) * 12); border: calc(var(--u) * 1) solid var(--outline); border-radius: calc(var(--u) * 16); display: flex; align-items: center; color: var(--primary); font-size: calc(var(--u) * 14); font-weight: 600; white-space: nowrap; }
.pm-chips { display: flex; gap: calc(var(--u) * 8); padding: 0 calc(var(--u) * 16); white-space: nowrap; overflow: hidden; flex-shrink: 0; }
.pm-chip { height: calc(var(--u) * 32); padding: 0 calc(var(--u) * 16); border: calc(var(--u) * 1) solid var(--outline-variant); border-radius: calc(var(--u) * 8); display: inline-flex; align-items: center; gap: calc(var(--u) * 8); font-size: calc(var(--u) * 16); font-weight: 600; color: var(--on-surface-variant); flex-shrink: 0; }
.pm-chip.on { background: var(--secondary-container); border-color: transparent; color: #131C2B; padding-left: calc(var(--u) * 8); }
.pm-chip .ai { width: calc(var(--u) * 18); height: calc(var(--u) * 18); }
.pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 8); padding: calc(var(--u) * 16); align-content: start; overflow: hidden; flex: 1; }
.pm-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pm-card { background: var(--container-highest); border-radius: calc(var(--u) * 12); padding: calc(var(--u) * 8); display: flex; flex-direction: column; align-items: center; text-align: center; }
.pm-tile { display: flex; align-items: center; justify-content: center; border-radius: calc(var(--u) * 8); font-weight: 600; flex-shrink: 0; }
.pm-tile-lg { width: calc(var(--u) * 72); height: calc(var(--u) * 72); font-size: calc(var(--u) * 28.8); }
.pm-card-name { font-size: calc(var(--u) * 16); line-height: calc(var(--u) * 22); height: calc(var(--u) * 44); margin-top: calc(var(--u) * 4); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pm-card-price { font-size: calc(var(--u) * 14); line-height: calc(var(--u) * 20); font-weight: 600; white-space: nowrap; }
.pm-badge { min-height: calc(var(--u) * 18); font-size: calc(var(--u) * 11); line-height: calc(var(--u) * 18); font-weight: 500; color: var(--error); }

/* Sale pane (SalePane: surfaceContainerLow, 400 dp, 12 dp padding) */
.pm-pane { width: calc(var(--u) * 400); flex-shrink: 0; background: var(--container-low); border-left: calc(var(--u) * 1) solid var(--outline-variant); padding: calc(var(--u) * 12); display: flex; flex-direction: column; }
.pm-title { font-size: calc(var(--u) * 22); line-height: calc(var(--u) * 28); font-weight: 600; }
.pm-sale-head { display: flex; align-items: center; min-height: calc(var(--u) * 48); }
.pm-sale-head .pm-title { flex: 1; }
.pm-ibtn { width: calc(var(--u) * 48); height: calc(var(--u) * 48); display: flex; align-items: center; justify-content: center; color: var(--on-surface-variant); }
.pm-gap { width: calc(var(--u) * 8); }
.pm-err { color: var(--error) !important; }
.pm-hr, .pm-hr2 { border: 0; margin: 0; background: var(--outline-variant); height: calc(var(--u) * 1); flex-shrink: 0; }
.pm-hr2 { height: calc(var(--u) * 2); margin-top: calc(var(--u) * 8); }
.pm-lines { flex: 1; overflow: hidden; }
.pm-line { padding: calc(var(--u) * 8) 0; }
.pm-line.on { background: var(--secondary-container); }
.pm-line-top { display: flex; gap: calc(var(--u) * 8); font-size: calc(var(--u) * 18); line-height: calc(var(--u) * 26); }
.pm-line-top span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-line-top b { font-weight: 600; }
.pm-line-unit { font-size: calc(var(--u) * 12); line-height: calc(var(--u) * 16); color: var(--on-surface-variant); }
.pm-line-ctl { display: flex; align-items: center; }
.pm-line-ctl i, .pm-grow { flex: 1; }
.pm-tbtn { height: calc(var(--u) * 44); padding: 0 calc(var(--u) * 12); display: flex; align-items: center; color: var(--primary); font-size: calc(var(--u) * 16); font-weight: 600; }
.pm-tonal { width: calc(var(--u) * 48); height: calc(var(--u) * 48); border-radius: calc(var(--u) * 24); background: var(--secondary-container); color: #131C2B; display: flex; align-items: center; justify-content: center; }
.pm-tonal .ai { width: calc(var(--u) * 20); height: calc(var(--u) * 20); }
.pm-qty { min-width: calc(var(--u) * 48); height: calc(var(--u) * 48); padding: 0 calc(var(--u) * 12); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: calc(var(--u) * 18); font-weight: 600; white-space: nowrap; }
.pm-x { width: calc(var(--u) * 48); height: calc(var(--u) * 48); margin-left: calc(var(--u) * 12); display: flex; align-items: center; justify-content: center; color: var(--error); }
.pm-totals { padding: calc(var(--u) * 8) 0; }
.pm-totals div { display: flex; justify-content: space-between; font-size: calc(var(--u) * 18); line-height: calc(var(--u) * 26); }
.pm-totals .pm-total { font-size: calc(var(--u) * 22); line-height: calc(var(--u) * 28); }
.pm-totals .pm-total b { font-weight: 700; }
.pm-charge { margin-top: calc(var(--u) * 8); height: calc(var(--u) * 56); border-radius: calc(var(--u) * 12); background: var(--primary); color: var(--on-primary); display: flex; align-items: center; justify-content: center; font-size: calc(var(--u) * 16); font-weight: 600; flex-shrink: 0; }

/* Fast Mode (FastCounterSplit) */
.pm-fast-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--container-low); }
.pm-fast-head { display: flex; align-items: center; gap: calc(var(--u) * 4); padding: calc(var(--u) * 8) calc(var(--u) * 8) 0 calc(var(--u) * 12); }
.pm-fast-head .pm-title { flex: 1; }
.pm-fast-lines { flex: 1; overflow: hidden; padding: 0 calc(var(--u) * 12); }
.pm-fast-side { gap: calc(var(--u) * 8); }
.pm-outlined { height: calc(var(--u) * 48); border: calc(var(--u) * 1) solid var(--outline); border-radius: calc(var(--u) * 24); display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * 8); color: var(--primary); font-size: calc(var(--u) * 16); font-weight: 600; flex-shrink: 0; }
.pm-outlined .ai { width: calc(var(--u) * 18); height: calc(var(--u) * 18); }
.pm-fast-side .pm-hr2 { margin-top: 0; }
.pm-fast-side .pm-charge { margin-top: calc(var(--u) * 8); }

/* Phone */
.pm-appbar { height: calc(var(--u) * 64); display: flex; align-items: center; gap: calc(var(--u) * 8); padding: 0 calc(var(--u) * 8) 0 calc(var(--u) * 16); flex-shrink: 0; }
.pm-appbar .pm-title { flex: 1; margin-left: calc(var(--u) * 8); }
.pm-phone .pm-grid { flex: 1; }
.pm-salebar { height: calc(var(--u) * 56); flex-shrink: 0; background: var(--primary); color: var(--on-primary); display: flex; align-items: center; gap: calc(var(--u) * 4); padding: 0 calc(var(--u) * 16); font-size: calc(var(--u) * 18); font-weight: 600; }
.pm-salebar span:first-child { flex: 1; }

/* Hero: the tablet with the phone in front */
.pm-hero { position: relative; }
.pm-hero .pm-device-phone { position: absolute; left: -4%; bottom: -10%; width: 27%; }
@media (max-width: 560px) { .pm-hero .pm-device-phone { display: none; } }

/* Retail page: Default / Fast Mode switch */
.pm-switch { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); margin-bottom: 20px; }
.pm-switch button { min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 0; background: transparent; color: var(--text); font: 600 1rem/1 var(--font-body); cursor: pointer; transition: background-color .2s, color .2s; }
.pm-switch button[aria-selected="true"] { background: #1d5fcc; color: #fff; }
.js .pm-panel[hidden] { display: none; }
.pm-caption { margin-top: 16px; color: var(--muted); font-size: .95rem; }

/* iGoScale Cloud web (igoscale_cloud crates/web/src/app.css): Inter, 256 px sidebar, soft panels. Sizes in px as "u". */
.pm-w-1280 .cm { --u: calc(100cqw / 1280); }
.cm-window { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(22, 35, 61, .10), 0 34px 60px -22px rgba(22, 35, 61, .45), 0 12px 24px -12px rgba(22, 35, 61, .25); }
.cm-chrome { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #eceff5; border-bottom: 1px solid #dde2ec; }
.cm-chrome i { width: 11px; height: 11px; border-radius: 50%; background: #c9cfdb; }
.cm-chrome i:nth-child(1) { background: #ff5f57; } .cm-chrome i:nth-child(2) { background: #febc2e; } .cm-chrome i:nth-child(3) { background: #28c840; }
.cm-url { flex: 1; max-width: 420px; margin: 0 auto; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: #fff; font: 500 12px/1 var(--font-body); color: #5d6170; white-space: nowrap; overflow: hidden; }
.cm {
  --blue: #1d5fcc; --blue-soft: #e3eaff; --ink: #191c20; --muted: #5d6170; --faint: #8a90a0; --line: #e3e5ee; --page: #f6f7fc; --raise: #f3f4fa;
  --tone-main: #3d6fd1; --tone-main-soft: #eef3ff; --tone-good: #2e8b62; --tone-good-soft: #ecf8f1; --tone-count: #6b6fa8; --tone-count-soft: #f0f0fa;
  width: calc(var(--u) * 1280); height: calc(var(--u) * 676); display: grid; grid-template-columns: calc(var(--u) * 256) 1fr; overflow: hidden; background: var(--page);
  font-family: "Inter", system-ui, sans-serif; font-size: calc(var(--u) * 15); line-height: 1.55; color: var(--ink); -webkit-font-smoothing: antialiased; user-select: none; text-align: left;
}
.cm * { box-sizing: border-box; }
.cm p, .cm h4 { margin: 0; }
.cm svg { width: calc(var(--u) * 18); height: calc(var(--u) * 18); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.cm-side { background: #fff; border-right: calc(var(--u) * 1) solid var(--line); padding: calc(var(--u) * 18) calc(var(--u) * 12); display: flex; flex-direction: column; }
.cm-logo { width: calc(var(--u) * 129); height: auto; margin: 0 calc(var(--u) * 10) calc(var(--u) * 14); }
.cm-biz { padding: 0 calc(var(--u) * 10) calc(var(--u) * 10); font-size: calc(var(--u) * 13); color: var(--muted); }
.cm-nav { display: flex; align-items: center; gap: calc(var(--u) * 12); min-height: calc(var(--u) * 40); padding: 0 calc(var(--u) * 12); font-size: calc(var(--u) * 14.5); font-weight: 500; color: #3d4352; border-radius: calc(var(--u) * 10); }
.cm-subs { display: grid; gap: calc(var(--u) * 1); margin: calc(var(--u) * 2) 0 calc(var(--u) * 6) calc(var(--u) * 21); padding-left: calc(var(--u) * 12); border-left: calc(var(--u) * 1) solid var(--line); }
.cm-subs span { padding: calc(var(--u) * 7) calc(var(--u) * 10); font-size: calc(var(--u) * 13.5); color: #4c5262; border-radius: calc(var(--u) * 8); }
.cm-subs .on { font-weight: 600; color: var(--blue); background: var(--blue-soft); }
.cm-label { padding: calc(var(--u) * 16) calc(var(--u) * 12) calc(var(--u) * 6); font-size: calc(var(--u) * 11); font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .07em; }
.cm-content { padding: calc(var(--u) * 28) calc(var(--u) * 32); display: grid; gap: calc(var(--u) * 18); align-content: start; min-width: 0; }
.cm-head h4 { font-size: calc(var(--u) * 26); font-weight: 650; line-height: 1.25; letter-spacing: -.015em; }
.cm-head p { color: var(--muted); }
.cm-chips { display: flex; gap: calc(var(--u) * 8); }
.cm-chips span { display: inline-flex; align-items: center; min-height: calc(var(--u) * 34); padding: calc(var(--u) * 6) calc(var(--u) * 14); font-size: calc(var(--u) * 13.5); font-weight: 500; color: #3d4352; background: #fff; border: calc(var(--u) * 1) solid var(--line); border-radius: calc(var(--u) * 999); }
.cm-chips .on { color: #fff; background: var(--blue); border-color: var(--blue); }
.cm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--u) * 14); }
.cm-stat, .cm-panel { background: #fff; border: calc(var(--u) * 1) solid rgba(227, 229, 238, .7); border-radius: calc(var(--u) * 18); box-shadow: 0 calc(var(--u) * 1) calc(var(--u) * 2) rgba(25, 28, 32, .04), 0 calc(var(--u) * 8) calc(var(--u) * 24) rgba(29, 95, 204, .08); }
.cm-stat { display: grid; gap: calc(var(--u) * 4); align-content: start; padding: calc(var(--u) * 16) calc(var(--u) * 18); min-width: 0; }
.cm-stat-label { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--u) * 8); font-size: calc(var(--u) * 13.5); font-weight: 500; color: var(--muted); }
.cm-stat-value { font-size: calc(var(--u) * 24); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cm-ico { display: grid; place-items: center; width: calc(var(--u) * 36); height: calc(var(--u) * 36); border-radius: calc(var(--u) * 11); color: var(--tone-main); background: var(--tone-main-soft); }
.cm-ico.good { color: var(--tone-good); background: var(--tone-good-soft); }
.cm-ico.count { color: var(--tone-count); background: var(--tone-count-soft); }
.cm-pill { justify-self: start; display: inline-flex; align-items: center; gap: calc(var(--u) * 6); padding: calc(var(--u) * 2) calc(var(--u) * 10); font-size: calc(var(--u) * 12.5); font-weight: 600; border-radius: calc(var(--u) * 999); }
.cm-pill::before { content: ""; width: calc(var(--u) * 6); height: calc(var(--u) * 6); border-radius: 50%; background: currentColor; }
.cm-pill.good { color: var(--tone-good); background: var(--tone-good-soft); }
.cm-note { font-size: calc(var(--u) * 12.5); color: var(--muted); }
.cm .cm-spark { display: block; width: 100%; height: calc(var(--u) * 34); margin-top: calc(var(--u) * 4); }
.cm-spark .cm-line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.cm-main .cm-line { stroke: var(--tone-main); } .cm-main .cm-area { fill: var(--tone-main-soft); }
.cm-good .cm-line { stroke: var(--tone-good); } .cm-good .cm-area { fill: var(--tone-good-soft); }
.cm-count .cm-line { stroke: var(--tone-count); } .cm-count .cm-area { fill: var(--tone-count-soft); }
.cm-spark .cm-area { stroke: none; }
.cm-panels { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: calc(var(--u) * 14); align-items: start; }
.cm-panel { padding: calc(var(--u) * 20) calc(var(--u) * 22); display: grid; gap: calc(var(--u) * 14); min-width: 0; }
.cm-panel-head { font-size: calc(var(--u) * 16.5); font-weight: 650; }
.cm-table { padding: 0; overflow: hidden; gap: 0; }
.cm-table .cm-panel-head { padding: calc(var(--u) * 18) calc(var(--u) * 20) calc(var(--u) * 14); }
.cm table { width: 100%; border-collapse: collapse; }
.cm th, .cm td { padding: calc(var(--u) * 12) calc(var(--u) * 16); font-size: calc(var(--u) * 14); text-align: left; vertical-align: middle; border-bottom: calc(var(--u) * 1) solid var(--line); font-variant-numeric: tabular-nums; }
.cm th { font-size: calc(var(--u) * 12.5); font-weight: 600; color: var(--muted); white-space: nowrap; background: var(--raise); }
.cm tr:last-child td { border-bottom: 0; }
.cm td small { font-size: calc(var(--u) * 13); color: var(--muted); }
.cm .r { text-align: right; }
.cm-amt { display: inline-grid; justify-items: end; gap: calc(var(--u) * 5); min-width: calc(var(--u) * 110); }
.cm-amt strong { font-weight: 650; white-space: nowrap; }
.cm-amt i { display: block; width: 100%; height: calc(var(--u) * 4); border-radius: calc(var(--u) * 4); background: linear-gradient(to left, var(--tone-main) var(--w), #eef0f6 var(--w)); }
.cm-top { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--u) * 12); counter-reset: top; }
.cm-top li { display: flex; align-items: center; gap: calc(var(--u) * 10); font-size: calc(var(--u) * 14); counter-increment: top; }
.cm-top li::before { content: counter(top); display: grid; place-items: center; width: calc(var(--u) * 24); height: calc(var(--u) * 24); border-radius: calc(var(--u) * 8); font-size: calc(var(--u) * 12); font-weight: 600; color: var(--tone-count); background: var(--tone-count-soft); }
.cm-top span { flex: 1; }
.cm-top b { font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---- Animations (site.js). Nothing here runs when the visitor turns off motion: the script never starts them. ---- */
/* A finger tap on the counter */
.pm-card, .pm-tonal, .pm-charge { position: relative; overflow: hidden; }
.pm-ripple { position: absolute; left: 50%; top: 50%; width: calc(var(--u) * 120); height: calc(var(--u) * 120); margin: -calc(var(--u) * 60) 0 0 -calc(var(--u) * 60); border-radius: 50%; background: rgba(29, 95, 204, .28); transform: scale(0); animation: pm-ripple .65s ease-out forwards; pointer-events: none; }
.pm-charge .pm-ripple { background: rgba(255, 255, 255, .45); width: calc(var(--u) * 400); height: calc(var(--u) * 400); margin: -calc(var(--u) * 200) 0 0 -calc(var(--u) * 200); }
@keyframes pm-ripple { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
/* A new sale line slides in at the top */
.pm-line, .pm-lines .pm-hr { transition: max-height .35s ease, opacity .3s ease, padding .35s ease; max-height: calc(var(--u) * 140); }
.pm-line-out { max-height: 0 !important; opacity: 0; padding-top: 0 !important; padding-bottom: 0 !important; overflow: hidden; }
/* After Charge: a quick "Paid" flash over the sale pane */
.pm-pane { position: relative; }
.pm-pane::after { content: "Paid"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(243, 243, 250, .92); color: #137a4b; font-size: calc(var(--u) * 34); font-weight: 700; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.pm-paid .pm-pane::after { opacity: 1; }

/* Cloud picture: charts draw themselves, store bars grow */
@property --w { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
.anim-ready .cm-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.anim-ready .cm-area { opacity: 0; }
.anim-ready.play .cm-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.3, .7, .3, 1) .2s; }
.anim-ready.play .cm-area { opacity: 1; transition: opacity .8s ease .9s; }
.anim-ready .cm-amt i { animation: none; }
.anim-ready.play .cm-amt i { animation: cm-grow 1.1s cubic-bezier(.3, .7, .3, 1) .3s both; }
@keyframes cm-grow { from { --w: 0%; } }
