/* Sheets, toasts, the watch star, skeletons, freshness and the upcoming-release layout */
#sheet2 .s2-scrim { position: fixed; inset: 0; z-index: 34; background: #0009; opacity: 0; pointer-events: none; transition: opacity var(--dur-3) var(--ease-out); }
#sheet2 .s2 { position: fixed; z-index: 35; left: 50%; top: 50%; width: min(520px, calc(100% - 32px)); max-height: 86vh; overflow: auto; transform: translate(-50%, -46%) scale(.98); opacity: 0; pointer-events: none;
  background: var(--deep); box-shadow: 0 0 0 1px var(--line), 0 30px 60px #000c; transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease-out); }
#sheet2[data-open] .s2-scrim { opacity: 1; pointer-events: auto; }
#sheet2[data-open] .s2 { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
/* the sheet close button (shared by every page's sheets) */
.pk-x { all: unset; cursor: pointer; width: 32px; height: 32px; border-radius: var(--r-act-in); display: grid; place-items: center; font-size: var(--fs-d1); color: var(--mute); background: var(--surface); }
.pk-x:focus-visible { box-shadow: 0 0 0 2px var(--text); }
#sheet2 .pk-x { position: absolute; top: 14px; right: 14px; }
#sheet2 .grab { display: none; }
#sheet2 h2 { font: 700 var(--fs-d1) var(--f-big); letter-spacing: -.02em; padding-right: var(--sp-65); }
#sheet2 h3 { font: 600 var(--fs-s) var(--f-ui); color: var(--mute); margin: var(--sp-4) 0 var(--sp-2); }
#sheet2 .lead { color: var(--mute); font-size: var(--fs-m); margin: var(--sp-1) 0 var(--sp-4); }
#sheet2 .fine { font-size: var(--fs-xs); color: var(--faint); margin-top: var(--sp-3); }
.s2-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--sp-3); align-items: center; padding: var(--sp-3) 0; border-top: 1px solid var(--line); }
.s2-row:first-child { border-top: 0; }
.s2-row .n { font-weight: 600; } .s2-row .n small { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--mute); }
.s2-row small.ok { color: var(--buy); } .s2-row small.hi { color: var(--wait); }
.s2-row .p { font-weight: 600; min-width: 70px; text-align: right; }
.s2-row.out .n, .s2-row.out .p { color: var(--faint); }
.s2-go { white-space: nowrap; }
.s2-row.pre .s2-go { background: var(--fair); }
.s2-ghost, .btn-s { all: unset; cursor: pointer; background: var(--surface); color: var(--mute); white-space: nowrap; }
.btn-s {  background: none; color: var(--gold); }
.s2-field { display: flex; flex-direction: column; gap: var(--sp-15); font-size: var(--fs-s); color: var(--mute); }
.s2-field input, .s2-field select { font: 600 var(--fs-l) var(--f-ui); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-s); padding: var(--sp-25) var(--sp-3); width: 100%; box-sizing: border-box; }
.s2-money { display: flex; align-items: center; gap: var(--sp-1); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 var(--sp-3); font: 700 var(--fs-d2) var(--f-big); color: var(--mute); }
.s2-money input { border: 0; background: none; font: 700 var(--fs-d2) var(--f-big); padding: var(--sp-25) 0; }
.s2-money input:focus-visible { outline: none; } .s2-money:focus-within { border-color: var(--fair); }   /* the box lights, not the input: its outline sat over the $ beside it (as the bundle box already does) */
.s2-quick { display: flex; gap: var(--sp-15); flex-wrap: wrap; margin-top: var(--sp-2); }
.s2-quick button { all: unset; cursor: pointer; padding: var(--sp-15) var(--sp-25); border-radius: var(--r-act); background: var(--surface); font-size: var(--fs-xs); font-weight: 600; color: var(--mute); }
.s2-sw { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-2) 0; cursor: pointer; }
.s2-sw input { width: 20px; height: 20px; accent-color: var(--buy); margin-top: var(--sp-05); flex: none; }
.s2-sw b { display: block; font-weight: 600; font-size: var(--fs-m); } .s2-sw small { color: var(--mute); font-size: var(--fs-xs); }
.s2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.s2-total { margin-top: var(--sp-3); font-size: var(--fs-m); color: var(--mute); } .s2-total b { color: var(--text); }
.s2-save { margin-top: var(--sp-4); text-align: center; }   /* a sheet's main button (.btn-l): its place, under what it saves */
.meter { margin-top: var(--sp-3); font-size: var(--fs-s); color: var(--mute); }
#toast { position: fixed; z-index: 60; left: 50%; bottom: 32px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: var(--sp-3) var(--pad); border-radius: var(--r-act); background: var(--text); color: var(--deep); font-weight: 600; font-size: var(--fs-m); box-shadow: 0 10px 30px #000a; transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease-out); max-width: calc(100% - 32px); }
#toast[data-on] { transform: translate(-50%, 0); opacity: 1; }
/* watch star */
.star { all: unset; cursor: pointer; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-act-in); color: var(--mute); background: var(--surface); flex: none; transition: color var(--dur-2), transform var(--dur-2); }
.star[aria-pressed=true] { color: var(--gold); }
.star:active { transform: scale(.9); }
.who .star { margin-left: var(--sp-2); }
/* freshness */
.fresh { font-size: var(--fs-xs); color: var(--faint); font-weight: 400; }
.is .r small .fresh, .src .n small .fresh { color: var(--faint); }
/* thin data */
.thin { display: flex; gap: var(--sp-2); align-items: flex-start; margin-top: var(--sp-3); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-s); background: color-mix(in srgb, var(--wait) 9%, transparent); font-size: var(--fs-s); color: var(--text); position: relative; }
.thin svg { color: var(--wait); flex: none; margin-top: 1px; }
/* loading skeleton */
.skel { padding: var(--sp-5) var(--gut); }
.skel i { display: block; border-radius: var(--r-act-in); background: linear-gradient(90deg, var(--surface) 0%, var(--raise) 50%, var(--surface) 100%); background-size: 200% 100%; animation: skel 1.1s linear infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
/* upcoming release */
.countdown { display: inline-flex; align-items: baseline; gap: var(--sp-15); padding: var(--sp-15) var(--sp-3); border-radius: var(--r-act-in); background: color-mix(in srgb, var(--fair) 14%, transparent); color: var(--fair); font-weight: 700; font-size: var(--fs-s); }
.upc-time { margin-top: var(--sp-5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.upc-time::before { content: ''; position: absolute; left: 8px; right: 8px; top: 9px; height: 2px; background: var(--line); }
.upc-time .st { position: relative; padding-top: var(--sp-5); font-size: var(--fs-s); color: var(--mute); }
.upc-time .st::before { content: ''; position: absolute; top: 3px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); }
.upc-time .st.done::before { background: var(--fair); box-shadow: none; }
.upc-time .st.now::before { background: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--text) 20%, transparent); }
.upc-time .st b { display: block; color: var(--text); font-weight: 600; }
.s2cta { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: var(--sp-15); margin-top: auto; padding: var(--sp-2) var(--sp-35); border-radius: var(--r-act); background: var(--raise); font-weight: 600; font-size: var(--fs-m); }
.s2cta.go { background: var(--buy); color: var(--deep); }
@media (max-width: 760px) {
  #sheet2 .s2 { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 88vh; transform: translateY(105%); opacity: 1; }
  #sheet2 .s2 { transition: transform var(--dur-3) var(--ease-drawer); }   /* out in 240, in 300 (below), on the drawer curve */
  #sheet2[data-open] .s2 { transform: none; transition-duration: var(--dur-4); }
  #sheet2 .s2.dragging { transition: none; }
  #sheet2 .grab { display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto var(--sp-3); }
  .s2-row { grid-template-columns: minmax(0, 1fr) auto; } .s2-row .s2-go, .s2-row .s2-ghost { grid-column: 1 / -1; text-align: center; }
  #toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
  .upc-time { grid-template-columns: 1fr; gap: var(--sp-3); } .upc-time::before { left: 6px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; } .upc-time .st { padding: 0 0 0 var(--sp-5); }
}
/* store rows are buttons now (they open Where to buy) but keep their row layout */
button.is { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; padding: var(--sp-2) 0; border-top: 1px solid var(--line); }
.instock button.is:first-child { border-top: 0; padding-top: 0; }
@media (hover: hover) and (pointer: fine) { button.is:hover .p { text-decoration: underline; text-underline-offset: 3px; } }

#sheet2 h3 .fresh { text-transform: none; }

.s2-inl { width: 48px; font: 700 var(--fs-m) var(--f-ui); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tag); padding: var(--sp-05) var(--sp-15); margin: 0 var(--sp-05); }
#sheet2 .lockrow { grid-template-columns: 12px minmax(0, 1fr) auto auto; }

#toast[data-on] { pointer-events: auto; }

/* where to buy: trust pills, delivered price, dimmed offers you don't count */
.pill.trust {  gap: var(--sp-1); vertical-align: 1px; margin-left: var(--sp-1); }
.pill.trust svg { flex: none; color: var(--text); }
.s2-row.of .p { display: flex; flex-direction: column; align-items: flex-end; } .s2-row.of .p small { font-size: var(--fs-label); color: var(--faint); font-weight: 500; white-space: nowrap; }
.s2-row.dim .n, .s2-row.dim .p b { opacity: .7; }
.s2-mode { all: unset; cursor: pointer; display: block; margin: var(--sp-2) 0 0; padding: var(--sp-25) var(--sp-3); border-radius: var(--r-act); background: var(--surface); font-size: var(--fs-s); color: var(--mute); }
.s2-mode b { color: var(--text); font-weight: 600; } @media (hover: hover) and (pointer: fine) { .s2-mode:hover { background: var(--raise); } } .s2-mode:focus-visible { box-shadow: 0 0 0 2px var(--text); }
.s2-outs { margin-top: var(--sp-3); } .s2-outs summary { cursor: pointer; font-size: var(--fs-m); color: var(--mute); padding: var(--sp-2) 0; }

.s2-acts { display: flex; flex-direction: column; align-items: stretch; gap: var(--sp-1); }
.s2-sub { font-size: var(--fs-xs); font-weight: 600; color: var(--mute); text-align: center; text-decoration: none; padding: var(--sp-1); } @media (hover: hover) and (pointer: fine) { .s2-sub:hover { color: var(--text); } }
@media (max-width: 760px) { .s2-row .s2-acts { grid-column: 1 / -1; } }
.s2-speed { font-size: var(--fs-s); color: var(--mute); margin: calc(-1 * var(--sp-1)) 0 var(--sp-2); }
.al-want small { font-size: var(--fs-xs); color: var(--faint); }

/* your prices sheet */
/* Your prices: the three verdict zones on one bar with the two handles on it (two ranges over one track, only their
   handles take a touch), each price typed below, then where today's price and the best offer land */
.pr-how { margin-top: var(--sp-2); font-size: var(--fs-s); line-height: 1.45; color: var(--mute); }
.pr-mode { margin-top: var(--sp-3); } .pr-mnote { margin-top: var(--sp-2); font-size: var(--fs-s); line-height: 1.45; color: var(--mute); }
.pr-set[hidden], .pr-own[hidden] { display: none; } .pr-h:disabled::-webkit-slider-thumb { display: none; } .pr-h:disabled::-moz-range-thumb { opacity: 0; }
.pr-track { --pr-th: 22px; position: relative; height: 44px; margin: var(--sp-7) 0 var(--sp-6); }
.pr-bar { position: absolute; inset: 5px 0; border-radius: var(--r-act-in); background: var(--surface); }
.pr-bar > span { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pr-bar > span em { font: 700 var(--fs-label) var(--f-ui); font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.pr-bar .z-buy { left: 0; background: color-mix(in srgb, var(--buy) 30%, transparent); border-radius: var(--r-act-in) 0 0 var(--r-act-in); } .pr-bar .z-buy em { color: var(--buy); }
.pr-bar .z-fair { background: color-mix(in srgb, var(--fair) 26%, transparent); } .pr-bar .z-fair em { color: var(--fair); }
.pr-bar .z-wait { background: color-mix(in srgb, var(--wait) 16%, transparent); border-radius: 0 var(--r-act-in) var(--r-act-in) 0; } .pr-bar .z-wait em { color: var(--wait); }
.pr-m { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--text); pointer-events: none; }
.pr-m.st { background: var(--buy); } .pr-m.ms { background: var(--mute); }
.pr-m em { position: absolute; top: -22px; left: 0; font: 600 var(--fs-label) var(--f-ui); font-style: normal; color: var(--mute); white-space: nowrap; }   /* placed by prices() lay() */
.pr-m em.dn { top: auto; bottom: -22px; } .pr-m.st em { color: var(--buy); }
.pr-h { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 44px; margin: 0; background: none; pointer-events: none; }
.pr-h::-webkit-slider-runnable-track { height: 44px; background: none; }
.pr-h::-moz-range-track { height: 44px; background: none; }
.pr-h::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: var(--pr-th); height: 44px; border-radius: var(--r-tag); background: var(--buy); box-shadow: 0 0 0 2px var(--deep), 0 2px 8px rgba(0, 0, 0, .4); cursor: grab; }
.pr-h::-moz-range-thumb { pointer-events: auto; width: var(--pr-th); height: 44px; border: 0; border-radius: var(--r-tag); background: var(--buy); box-shadow: 0 0 0 2px var(--deep), 0 2px 8px rgba(0, 0, 0, .4); cursor: grab; }
.pr-h.c::-webkit-slider-thumb { background: var(--fair); } .pr-h.c::-moz-range-thumb { background: var(--fair); }
.pr-h:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--text); outline-offset: 2px; } .pr-h:focus-visible::-moz-range-thumb { outline: 2px solid var(--text); outline-offset: 2px; }
.pr-nums { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.pr-n { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-1); padding: var(--sp-25) var(--sp-3); border-radius: var(--r-act-in); background: var(--surface); }
.pr-n small { font-size: var(--fs-xs); color: var(--mute); } .pr-n .s2-money { box-sizing: border-box; width: 100%; } .pr-n .s2-money input { min-width: 0; width: 100%; color: var(--text); }
.pr-qh { margin-top: var(--sp-4); font-size: var(--fs-xs); font-weight: 600; color: var(--mute); }
.pr-prev { list-style: none; margin: var(--sp-4) 0 0; padding: 0; }
.pr-prev li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--sp-3); min-height: 44px; font-size: var(--fs-s); color: var(--mute); }
.pr-prev li + li { border-top: 1px solid var(--line); } .pr-prev b { font: 700 var(--fs-l) var(--f-big); color: var(--text); }
.t-buy { color: var(--buy); } .t-fair { color: var(--fair); } .t-wait { color: var(--wait); } .t-bad { color: var(--bad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.nav-badge { display: inline-grid; place-items: center; min-width: 18px; margin-left: var(--sp-15); background: var(--buy); color: var(--deep); font: 700 var(--fs-label) var(--f-big); box-sizing: border-box; vertical-align: 1px; }
nav.bottom a { position: relative; } nav.bottom .nav-badge { position: absolute; top: 2px; left: 50%; margin-left: var(--sp-15); box-shadow: 0 0 0 2px var(--deep); }
/* audit (ui-ux-pro-max), round 2: every control in a sheet is a full 44px touch target */
@media (pointer: coarse), (max-width: 760px) {
  .s2-quick button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 var(--sp-35); box-sizing: border-box; }
  .s2 input[type=range] { height: 44px; }
  .s2-money, .s2-field input, .s2-field select { min-height: 44px; box-sizing: border-box; }
  .s2-ghost { min-height: 44px; display: inline-flex; align-items: center; box-sizing: border-box; }
  .s2-inl { min-width: 52px; min-height: 44px; box-sizing: border-box; }
  .s2 .ranges button { min-height: 44px; min-width: 44px; }
}

@media (min-width: 761px) { #sheet2 .s2.s2-wide { width: min(760px, calc(100% - 48px)); } }

.n-top { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; } .n-name { font-weight: 600; }
.s2-row .n small { margin-top: var(--sp-1); }
.s2-row.out .store-mark { filter: grayscale(.6); opacity: .7; }

/* the collection sheet ("I have it") and card alerts, shared by Explore, Watch and Portfolio */
.co-list { list-style: none; margin: var(--sp-3) 0 0; padding: 0; }
.co-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; padding: var(--sp-25) 0; border-top: 1px solid var(--line); }
.co-list li:first-child { border-top: 0; }
.co-g { box-sizing: border-box; width: 100%; text-align: center; overflow: hidden; text-overflow: ellipsis; font: 700 var(--fs-label) var(--f-big); padding: var(--sp-15) var(--sp-15); border-radius: var(--r-tag); background: var(--raise); color: var(--mute); white-space: nowrap; }
.co-g.slab { background: color-mix(in srgb, var(--gold) 18%, var(--raise)); color: var(--gold); }
.co-t { min-width: 0; } .co-t b { display: block; font-size: var(--fs-m); font-weight: 600; } .co-t small { font-size: var(--fs-xs); color: var(--mute); }
.co-h { font: 700 var(--fs-m) var(--f-big); margin: var(--sp-4) 0 var(--sp-2); }
.co-chips { margin: 0; } .co-chips .chip[aria-checked=true] { background: var(--text); color: var(--deep); }
.co-chips .chip[aria-checked=true] b { color: var(--deep); }
.s2 > .s2-field + .s2-field { margin-top: var(--sp-3); }   /* stacked fields only: never inside a grid */
.s2-field[hidden] { display: none; }
.ca-rm { display: block; text-align: center; margin-top: var(--sp-2); }
@media (pointer: coarse), (max-width: 760px) {  .co-list .btn-s { display: inline-flex; align-items: center; } }

/* Add hub, add many cards, where to buy */
.co-hub { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-15); }
.co-hub button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--sp-3); align-items: center; min-height: 60px; padding: var(--sp-2) var(--sp-25); border-radius: var(--r-act); background: var(--surface); }
@media (hover: hover) and (pointer: fine) { .co-hub button:hover { background: var(--raise); } } .co-hub button:focus-visible { box-shadow: 0 0 0 2px var(--text); }
.co-hi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-s); background: color-mix(in srgb, var(--buy) 16%, transparent); color: var(--buy); }
.co-q { display: flex; align-items: center; gap: var(--sp-2); height: 48px; padding: 0 var(--sp-35); margin-top: var(--sp-3); border-radius: var(--r-s); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); }
.co-q input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 500 var(--fs-l) var(--f-ui); color: var(--text); } .co-q:focus-within { box-shadow: inset 0 0 0 1.5px var(--text); }
.co-res, .co-tray { list-style: none; margin: var(--sp-2) 0 0; padding: 0; }
.co-res li, .co-tray li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: var(--sp-25); align-items: center; min-height: 58px; border-top: 1px solid var(--line); }
.co-res li:first-child, .co-tray li:first-child { border-top: 0; }
.co-res img { width: 36px; height: 50px; object-fit: cover; border-radius: var(--r-xs); background: var(--raise); } .co-res img.co-pimg { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: var(--r-tag); padding: var(--sp-05); box-sizing: border-box; }
.co-res .co-hint { display: block; min-height: 0; padding: var(--sp-3) 0; font-size: var(--fs-s); color: var(--mute); }
.co-plus { all: unset; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-act); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 700 var(--fs-d1) var(--f-big); color: var(--text); }
.co-plus.on { background: var(--buy); color: var(--deep); box-shadow: none; } .co-plus.on b { font-size: var(--fs-b); } .co-plus:focus-visible { box-shadow: 0 0 0 2px var(--text); }
.co-trayw { margin-top: var(--sp-3); padding-top: var(--sp-2); border-top: 1px solid var(--line); } .co-trayw[hidden] { display: none; }
.co-tray li { grid-template-columns: minmax(0, 1fr) auto auto; }
.co-tray select { font: 600 var(--fs-s) var(--f-ui); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-act-in); height: 44px; padding: 0 var(--sp-2); max-width: 110px; }
.co-qn { min-width: 22px; text-align: center; font: 700 var(--fs-b) var(--f-big); }
.co-total { margin-top: var(--sp-3); }
.co-uw { margin-top: var(--sp-3); padding: var(--sp-25) var(--sp-3); border-radius: var(--r-s); background: var(--surface); }
.co-buy { list-style: none; margin: var(--sp-3) 0 var(--sp-3); padding: 0; }
.co-buy li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: var(--sp-3); align-items: center; min-height: 64px; border-top: 1px solid var(--line); }
.co-buy li:first-child { border-top: 0; } .co-buy li > b { font: 700 var(--fs-l) var(--f-big); } .co-buy .pill { vertical-align: 1px; margin-left: var(--sp-1); }
@media (max-width: 760px) { .co-buy li { grid-template-columns: 28px minmax(0, 1fr) auto; } .co-buy li > .s2-go { grid-column: 2 / -1; justify-self: start; } }
.co-tray li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t t" "g q"; row-gap: var(--sp-15); padding: var(--sp-25) 0; }
.co-tray .co-t { grid-area: t; } .co-tray select { grid-area: g; justify-self: start; max-width: 160px; } .co-tray .stepper { grid-area: q; }
.co-tray .co-t b, .co-res .co-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .co-res .co-t small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 761px) { .co-tray li { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "t g q"; } }

/* Log a buy */
.lg-p { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--sp-3); align-items: center; margin: var(--sp-3) 0 var(--sp-4); padding: var(--sp-25); border-radius: var(--r-act); background: var(--surface); }
.lg-p img { width: 52px; height: 52px; object-fit: contain; border-radius: var(--r-act-in); background: #fff; padding: var(--sp-05); box-sizing: border-box; }
.lg-p b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lg-p small { font-size: var(--fs-xs); color: var(--mute); }
.lg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); align-items: start; }
.lg-grid .s2-field { margin: 0; min-width: 0; } .lg-grid .s2-field > span:first-child { font-weight: 600; }
.lg-grid .s2-money, .lg-grid input[type=date], .lg-grid select { height: 48px; min-height: 48px; box-sizing: border-box; }
.lg-grid .s2-money { font-size: var(--fs-lead); } .lg-grid .s2-money input { font-size: var(--fs-lead); padding: 0; height: 100%; min-width: 0; width: 100%; }
.lg-grid input[type=date] { color-scheme: dark; padding: 0 var(--sp-25); }
.lg-sum { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "l b" "s p"; align-items: center; row-gap: var(--sp-1); margin-top: var(--sp-4); padding: var(--sp-3) var(--sp-35); border-radius: var(--r-act); background: var(--surface); }
.lg-sl { grid-area: l; font-size: var(--fs-xs); font-weight: 600; color: var(--mute); } .lg-sum b { grid-area: b; font: 700 var(--fs-d3) var(--f-big); letter-spacing: -.03em; text-align: right; }
.lg-sum small { grid-area: s; font-size: var(--fs-xs); color: var(--mute); } .lg-sum .pill { grid-area: p; justify-self: end; }
/* I have it: copies */
.co-more { display: block; text-align: center; margin: var(--sp-2) auto 0; min-height: 44px; }
/* Tick off a set */
.co-step { margin: 0 0 var(--sp-1); font: 700 var(--fs-label) var(--f-big); letter-spacing: .08em; text-transform: uppercase; color: var(--fair); }
.co-back { display: inline-flex; align-items: center; min-height: 44px; margin: calc(-1 * var(--sp-15)) 0 var(--sp-1) calc(-1 * var(--sp-2)); }
.co-sets { list-style: none; margin: var(--sp-3) 0 0; padding: 0; }
.co-sets button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 72px minmax(0, 1fr) 56px; gap: var(--sp-3); align-items: center; min-height: 56px; padding: var(--sp-15) var(--sp-2); border-radius: var(--r-s); }
@media (hover: hover) and (pointer: fine) { .co-sets button:hover { background: var(--surface); } } .co-sets button:focus-visible { box-shadow: 0 0 0 2px var(--text); }
.co-sl img { display: block; max-width: 72px; max-height: 30px; object-fit: contain; }
.co-sets .co-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-mini { height: 6px; border-radius: var(--r-xs); background: color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; } .co-mini i { display: block; height: 100%; background: var(--buy); }
.co-rar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: var(--sp-3) 0 0; } .co-rar > * { flex: none; }
.co-tsbar { display: flex; justify-content: flex-end; margin: var(--sp-2) 0; } .co-tsbar .btn-s { display: inline-flex; align-items: center; }
.co-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: var(--sp-2); }
.co-tk { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: var(--sp-05); width: 100%; padding: var(--sp-05); border-radius: var(--r-act-in); }
.co-tk img { width: 100%; height: auto; aspect-ratio: 200 / 279; border-radius: var(--r-tag); background: var(--raise); opacity: .55; transition: opacity var(--dur-1); }
.co-tk small { font-size: var(--fs-label); color: var(--mute); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-tkm { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--r-tag); background: color-mix(in srgb, var(--deep) 70%, transparent); color: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text) 50%, transparent); }
.co-tk[aria-pressed=true] img { opacity: 1; } .co-tk[aria-pressed=true] { box-shadow: inset 0 0 0 2px var(--buy); }
.co-tk[aria-pressed=true] .co-tkm { background: var(--buy); color: var(--deep); box-shadow: none; }
.co-tk.own { cursor: default; box-shadow: none; } .co-tk.own .co-tkm { background: var(--raise); color: var(--mute); }
.co-tk:focus-visible { box-shadow: 0 0 0 2px var(--text); }
.co-foot { position: sticky; bottom: calc(-1 * var(--sp-5)); z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); margin: var(--sp-4) calc(-1 * var(--sp-5)) calc(-1 * var(--sp-5)); padding: var(--sp-3) var(--sp-5) calc(var(--sp-3) + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--deep) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); font-size: var(--fs-m); color: var(--mute); }
.co-foot b { color: var(--text); } .co-foot .s2-go[disabled] { opacity: .4; cursor: default; }
@media (prefers-reduced-motion: reduce) { .co-tk img { transition: none; } }
.co-own { display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-1); font-size: var(--fs-xs); color: var(--mute); } .co-own b { color: var(--text); } .co-own .co-mini { width: 48px; }
.co-sets button { grid-template-columns: 72px minmax(0, 1fr) auto; }

/* Log a buy: the price is the one thing you type, so it's big; the rest are settings-style rows with room to breathe */
.lg-price { display: flex; flex-direction: column; gap: var(--sp-2); font-size: var(--fs-m); font-weight: 600; color: var(--mute); }
.lg-price .s2-money { min-height: 64px; padding: 0 var(--sp-4); font-size: var(--fs-d4); border-radius: var(--r); }
.lg-price .s2-money input { font-size: var(--fs-d4); padding: 0; min-width: 0; width: 100%; height: 62px; }
.lg-quick { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-25) 0 var(--sp-4); } .lg-quick .chip b { font-weight: 700; margin-left: var(--sp-1); }
.lg-rows { border-radius: var(--r); background: var(--surface); padding: 0 var(--sp-35); }
.lg-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: 64px; border-top: 1px solid var(--line); font-size: var(--fs-b); font-weight: 600; color: var(--text); }
.lg-row:first-child { border-top: 0; }
.lg-row input[type=date], .lg-row select { width: auto; max-width: 62%; min-height: 44px; font: 600 var(--fs-b) var(--f-ui); color: var(--text); background: var(--deep); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 var(--sp-3); box-sizing: border-box; color-scheme: dark; }
.lg-sum { margin-top: var(--sp-4); padding: var(--sp-35) var(--sp-4); }
.lg-sum b { font-size: var(--fs-d3); }
#lgSave { width: 100%; box-sizing: border-box; min-height: 52px; display: flex; align-items: center; justify-content: center; font-size: var(--fs-l); }
.lg-price .s2-money input { color: var(--text); }
.lg-row > span:first-child { white-space: nowrap; }

/* notes on a buy or a copy: a full-width box under the rows */
.lg-note, .s2-field textarea { display: block; }
.lg-note { margin-top: var(--sp-3); font-size: var(--fs-m); font-weight: 600; color: var(--mute); } .lg-note > span { display: block; margin-bottom: var(--sp-15); } .lg-note small { font-weight: 500; color: var(--faint); }
.lg-note textarea, .s2-field textarea { width: 100%; box-sizing: border-box; min-height: 64px; padding: var(--sp-3) var(--sp-35); border-radius: var(--r-act); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 500 var(--fs-b)/1.4 var(--f-ui); resize: vertical; }
.lg-note textarea:focus-visible, .s2-field textarea:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.lg-row input[type=text] { width: 62%; min-height: 44px; font: 600 var(--fs-b) var(--f-ui); color: var(--text); background: var(--deep); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 var(--sp-3); box-sizing: border-box; text-align: right; }
.co-ch { font-size: var(--fs-xs); color: var(--faint); }
.s2-save { width: 100%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }   /* the main action in every sheet: full width, easy to reach */
.co-acts { display: flex; gap: var(--sp-35); flex: none; } .co-acts .btn-s { display: inline-flex; align-items: center; }

/* the quieter actions under a form's main button: split, delete, remove */
.s2-sub { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.s2-sub .s2-ghost, .s2-danger { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.s2-sub .s2-ghost { background: var(--surface); color: var(--text); }
.s2-danger { color: var(--wait); } @media (hover: hover) and (pointer: fine) { .s2-danger:hover { background: color-mix(in srgb, var(--wait) 10%, transparent); } } .s2-danger[data-sure] { background: color-mix(in srgb, var(--wait) 16%, transparent); }
.s2-sub button:focus-visible { box-shadow: 0 0 0 2px var(--text); }
.lg-split { display: flex; align-items: center; gap: var(--sp-25); flex-wrap: wrap; font-size: var(--fs-b); font-weight: 600; }
.lg-split .s2cta { min-height: 44px; margin: 0 0 0 auto; padding: 0 var(--pad); } .lg-split .s2cta.go { background: var(--buy); color: var(--deep); }

/* ---------- account: sign in, sync, the account sheet (sync.js) ---------- */
.acc { display: grid; gap: var(--sp-3); padding-top: var(--sp-2); text-align: left; }
.acc .s2-h { margin: 0; font: 700 var(--fs-d2)/1.2 var(--f-big); letter-spacing: -.01em; }
.acc .s2-sub b { color: var(--text); font-weight: 600; }
.acc .s2-go:disabled { opacity: .6; cursor: progress; }
.acc-google { display: flex; align-items: center; justify-content: center; gap: var(--sp-25); min-height: 48px; border-radius: var(--r-s); background: #fff; color: var(--google-ink); font-weight: 600; font-size: var(--fs-b); text-decoration: none; }
.acc-or { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-25); color: var(--faint); font-size: var(--fs-s); }
.acc-or::before, .acc-or::after { content: ''; height: 1px; background: var(--line); }
.acc-form { display: grid; gap: var(--sp-2); } .acc-form label { font-size: var(--fs-s); font-weight: 600; color: var(--mute); }
.acc-form input, .acc-del input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0 var(--sp-35); border-radius: var(--r-s); border: 1px solid var(--line); background: var(--raise); color: var(--text); font: 500 var(--fs-l) var(--f-ui); }
.acc-form input:focus-visible, .acc-del input:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.acc-code { letter-spacing: .4em; font-size: var(--fs-d3) !important; text-align: center; font-variant-numeric: tabular-nums; }
.acc-err { margin: 0; min-height: 1em; color: var(--bad); font-size: var(--fs-m); } .acc-err:empty { min-height: 0; }
.acc-fine { margin: 0; color: var(--faint); font-size: var(--fs-s); line-height: 1.5; }
.acc-links { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-4); } .acc-links button, .acc-alt { all: unset; cursor: pointer; color: var(--mute); font-size: var(--fs-m); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) { .acc-links button:hover, .acc-alt:hover { color: var(--text); } } .acc-links button:focus-visible, .acc-alt:focus-visible, .acc .s2-go:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.acc-acts { display: grid; gap: var(--sp-15); justify-items: start; } .acc-acts .s2-go { justify-self: stretch; margin-bottom: var(--sp-1); }
.acc-dl { margin: 0; display: grid; gap: var(--sp-2); padding: var(--sp-3) var(--sp-35); border-radius: var(--r-s); background: var(--raise); }
.acc-dl div { display: flex; justify-content: space-between; gap: var(--sp-3); font-size: var(--fs-m); } .acc-dl dt { color: var(--mute); } .acc-dl dd { margin: 0; text-align: right; }
.acc-del { border-top: 1px solid var(--line); padding-top: var(--sp-3); } .acc-del summary { cursor: pointer; color: var(--bad); font-weight: 600; font-size: var(--fs-m); min-height: 32px; display: flex; align-items: center; }
.acc-del p { color: var(--mute); font-size: var(--fs-m); } .acc-del .acc-err { color: var(--bad); }
.acc-danger { all: unset; cursor: pointer; margin-top: var(--sp-2); min-height: 44px; padding: 0 var(--sp-4); border-radius: var(--r-act); background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); font-weight: 700; display: inline-flex; align-items: center; }
.ab-acct { all: unset; box-sizing: border-box; cursor: pointer; height: 40px; min-width: 40px; padding: 0 var(--sp-35); border-radius: var(--r-act); display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--text); font-weight: 600; font-size: var(--fs-m); box-shadow: inset 0 0 0 1px var(--line); }
.ab-acct i, .acc-strip i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--buy); color: var(--deep); font-weight: 800; font-size: var(--fs-s); }
.ab-acct:has(i) { padding: 0 var(--sp-15); } .ab-acct:focus-visible, .acc-strip:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.acc-strip { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; align-items: center; gap: var(--sp-25); padding: var(--sp-25) var(--sp-35); border-radius: var(--r-act); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-m); color: var(--mute); margin-bottom: var(--sp-4); }
.acc-strip span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .acc-strip b { color: var(--text); font-weight: 600; }
.acc-strip em { font-style: normal; font-weight: 700; color: var(--buy); white-space: nowrap; } .acc-strip.on em { color: var(--mute); }
.sync-news { position: fixed; z-index: 61; left: 50%; bottom: 88px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-4); border-radius: var(--r-act); background: var(--text); color: var(--deep); font-weight: 600; font-size: var(--fs-m); box-shadow: 0 10px 30px #0008; transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2); }
.sync-news[data-on] { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sync-news button { all: unset; cursor: pointer; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-act); background: var(--deep); color: var(--text); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .sync-news { transition: none; } }
/* signed out on a page that is all about your own things: only the sign-up panel shows (sync.js gate) */
html.sh-gate main[data-personal] > :not(.acc-gate):not([data-gate]) { display: none !important; }
html.sh-hush #toast { display: none !important; }
.acc-gate { max-width: 560px; margin: clamp(var(--sp-6), 10vh, 96px) auto; padding: 0 var(--sp-4); display: grid; gap: var(--sp-4); text-align: left; }
.acc-gate h1 { font: 700 clamp(28px, 5vw, 40px)/1.1 var(--f-big); letter-spacing: -.02em; }
.acc-gate > p { color: var(--mute); font-size: var(--fs-lead); line-height: 1.55; } .acc-gate .eyebrow { color: var(--buy); }
.acc-gate-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-45); margin-top: var(--sp-2); }
.acc-gate-go { all: unset; box-sizing: border-box; cursor: pointer; background: var(--buy); color: var(--deep); display: inline-flex; align-items: center; }
.acc-gate-go:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.acc-gate .acc-fine a { color: var(--text); }
/* onboarding choices */
.acc-opts { display: grid; gap: var(--sp-2); }
.acc-opt { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: var(--sp-05); padding: var(--sp-35) var(--sp-4); min-height: 52px; border-radius: var(--r-act); background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--dur-1), background var(--dur-1); }
.acc-opt b { font-weight: 600; font-size: var(--fs-b); } .acc-opt small { color: var(--mute); font-size: var(--fs-s); }
.acc-opt[aria-pressed=true] { background: color-mix(in srgb, var(--buy) 14%, var(--raise)); box-shadow: inset 0 0 0 2px var(--buy); }
.acc-opt:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.acc .eyebrow { margin: 0; }
.acc-money { display: flex; align-items: center; gap: var(--sp-2); min-height: 56px; padding: 0 var(--sp-35); border-radius: var(--r-s); border: 1px solid var(--line); background: var(--raise); }
.acc-money:focus-within { outline: 2px solid var(--text); outline-offset: 1px; }
.acc-money span { font: 700 var(--fs-d2) var(--f-big); color: var(--mute); }
.acc-money input { all: unset; flex: 1; min-width: 0; font: 700 var(--fs-d3) var(--f-big); color: var(--text); font-variant-numeric: tabular-nums; }
.acc-chips { display: flex; flex-wrap: wrap; gap: var(--sp-15); }
.acc-chip { all: unset; cursor: pointer; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: var(--fs-m); }
@media (hover: hover) and (pointer: fine) { .acc-chip:hover { box-shadow: inset 0 0 0 1px var(--mute); } } .acc-chip:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.acc-fine a { color: var(--mute); text-underline-offset: 3px; }
/* the account button's picture (your Google photo, or your initial) */
.ab-acct img, .acc-strip img, .mbar-me img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block; }
/* phones: a slim top bar with the mark and you; it slides away while you scroll down and comes back when you scroll up */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); position: sticky; top: 0; z-index: 31; height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--gut) 0;
    background: var(--deep); border-bottom: 1px solid var(--line); transition: transform var(--dur-3) var(--ease-out); }
  .mbar.away { transform: translateY(-100%); }
  /* a page under the menu's own: Back on the left, the title in the middle once the page's heading has gone, the account on the right */
  .mbar.nav .mbar-back { flex: none; max-width: 42%; margin-left: calc(-1 * var(--sp-15)); }
  .mbar.nav .mbar-t { flex: 1; min-width: 0; text-align: center; font: 700 var(--fs-b) var(--f-big); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar.nav:not(:has(.mbar-me, .mbar-in))::after { content: ''; flex: none; width: 44px; }   /* the title stays centred with no account button */
  /* Back is in the bar now: the page's own back link and the product's back arrow step aside */
  :root[data-mbar-nav] :is(.nav-backrow, .pick > .step.back, .crumb) { display: none; }
  .mbar-brand { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--text); text-decoration: none; font: 700 var(--fs-b) var(--f-big); letter-spacing: -.01em; }
  .mbar-brand img { border-radius: var(--r-tag); }
  .mbar-me { all: unset; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
  .mbar-me img, .mbar-me i { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 2px var(--line); }
  .mbar-me i { display: grid; place-items: center; font-style: normal; background: var(--buy); color: var(--deep); font-weight: 800; font-size: var(--fs-m); }
  .mbar-in { all: unset; cursor: pointer; padding: var(--sp-2) var(--sp-35); border-radius: var(--r-act-in); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: var(--fs-m); }
  .mbar-me:focus-visible, .mbar-in:focus-visible, .mbar-brand:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) { .mbar { transition: none; } }

/* closed pop-ups are invisible AND out of reach: without this, a closed sheet's buttons stayed in the Tab order and in
   screen readers (it was only faded out). visibility waits for the closing fade, so the animation still plays. */
#sheet2:not([data-open]) .s2, #sheet2:not([data-open]) .s2-scrim, #upsell:not([data-open]) .up, #upsell:not([data-open]) .up-scrim,
.pk:not([data-open]), .pk-scrim:not([data-open]) { visibility: hidden; transition-property: transform, opacity, visibility; transition-delay: 0s, 0s, var(--dur-2); }
#sheet2[data-open] .s2, #upsell[data-open] .up, .pk[data-open] { visibility: visible; transition-delay: 0s; }
/* small text buttons and search fields: at least 24px to tap (WCAG 2.2), the typing area fills its box */
button.more, .btn-s { min-height: 24px; display: inline-flex; align-items: center; }
.srch input, #pkQ { min-height: 44px; }
/* iPhone and iPad zoom the page into any text box under 16px when it's tapped (and the sheet then scrolls sideways):
   every box people type or pick in is 16px or more */
.lg-row input[type=date], .lg-row select, .lg-row input[type=text], .lg-note textarea, .s2-field textarea, #alFall { font-size: var(--fs-l); }

/* 16px or more, so iPhone and iPad don't zoom in when it's tapped */
.co-tray select { font-size: var(--fs-l); }
/* while a sheet or pop-up is open, the page behind it doesn't scroll (iPhone and iPad included), and scrolling to the
   end of a sheet doesn't carry on into the page */
html[data-locked] { overflow: hidden; }
html[data-locked] body { overflow: hidden; }
#sheet2 .s2, #upsell .up, aside.sheet { overscroll-behavior: contain; }
#sheet2 .s2 { overflow-x: hidden; }

/* "Sign in" stays on one line in a tight header (iPad) */
.ab-acct { white-space: nowrap; flex: none; } .ab-acct[hidden] { display: none; }

.s2-alt { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; text-align: center; min-height: 44px; margin-top: var(--sp-2); border-radius: var(--r-act); color: var(--mute); font-weight: 600; font-size: var(--fs-m); }
@media (hover: hover) and (pointer: fine) { .s2-alt:hover { color: var(--text); } } .s2-alt:focus-visible { outline: 2px solid var(--text); }

.co-key { margin: var(--sp-15) 0 0; font-size: var(--fs-xs); color: var(--mute); line-height: 1.5; } .co-key b { color: var(--text); font-weight: 600; }
#pk { overscroll-behavior: contain; }   /* open, it holds the page still as a sheet does (html[data-locked], above) */
/* floating action bars tuck away while scrolling down on a phone (swipe.js) */
@media (max-width: 760px) {
  .act, .xcd-bar { transition: transform var(--dur-3) ease, opacity var(--dur-3) ease; }
  html.sh-down .act { transform: translate(-50%, calc(100% + 96px)); opacity: 0; pointer-events: none; }
  html.sh-down .xcd-bar { transform: translateY(calc(100% + 96px)); opacity: 0; }
  html.sh-down .xcd-bar-in { pointer-events: none; }
}
/* the brand: "Holo" in holographic foil, a slow shimmer (the splash's is quicker) */
.holo-foil { background: linear-gradient(100deg, var(--buy) 0%, var(--fair) 22%, var(--sell) 44%, var(--wait) 62%, var(--buy) 80%, var(--fair) 100%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: holoFoil 6s linear infinite; }
@keyframes holoFoil { from { background-position: 0% 50%; } to { background-position: -260% 50%; } }
@media (prefers-reduced-motion: reduce) { .holo-foil { animation: none; } }

/* the card scanner (scan.js) */
.sc-cam { position: relative; overflow: hidden; border-radius: var(--r); background: #000; aspect-ratio: 3 / 4; max-height: 52vh; margin-top: var(--sp-3); }
.sc-cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-guide { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.sc-guide i { height: 82%; aspect-ratio: 63 / 88; max-width: 80%; border-radius: var(--r-act); box-shadow: 0 0 0 2px var(--buy), 0 0 0 9999px rgba(0, 0, 0, .45); }
.sc-state { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); margin: 0; padding: var(--sp-15) var(--sp-3); border-radius: var(--r-tag); background: rgba(7, 19, 24, .8); font-size: var(--fs-s); font-weight: 600; white-space: nowrap; }
.sc-list { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: grid; gap: var(--sp-2); }
.sc-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--sp-25); align-items: center; padding: var(--sp-2) var(--sp-25); border-radius: var(--r-act); background: var(--surface); }
.sc-list li.top { box-shadow: inset 0 0 0 1.5px var(--buy); } .sc-list img { width: 44px; height: 61px; object-fit: cover; border-radius: var(--r-xs); }
.sc-list b { display: block; font-size: var(--fs-m); } .sc-list small { display: block; font-size: var(--fs-xs); color: var(--mute); }

/* form fields' edges at 3:1 against every background they sit on (WCAG 1.4.11); dividers keep the quieter --line */
:root { --field: #5F7C85; }
.s2-field input, .s2-field select, .s2-money, .lg-note textarea, .s2-field textarea, .lg-row input[type=date], .lg-row select, .lg-row input[type=text] { border-color: var(--field); }
.srch { box-shadow: inset 0 0 0 1px var(--field); } .srch:focus-within { box-shadow: inset 0 0 0 1.5px var(--text); }   /* a search field lights as the Explore search does (a11y, 2026-11-24) */
.w-dd, .op-tipform input, .op-tipform select { box-shadow: inset 0 0 0 1px var(--field); }

/* link buttons, in the app's own style (were gold text): on their own, a quiet pill like the other secondary buttons;
   inside a sentence, the app's blue text link */
.btn-s { display: inline-flex; align-items: center; gap: var(--sp-15); background: var(--raise); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow var(--dur-2), background var(--dur-2); }
@media (hover: hover) and (pointer: fine) { .btn-s:hover { box-shadow: inset 0 0 0 1px var(--mute); } } .btn-s:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* scanner, round 2: aim, tap, one clear result */
.sc-cam { cursor: pointer; } .sc-cam canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-guide i { transition: box-shadow var(--dur-2); box-shadow: 0 0 0 2px rgba(234, 245, 246, .7), 0 0 0 9999px rgba(0, 0, 0, .45); }
.sc-cam.found .sc-guide i { box-shadow: 0 0 0 3px var(--buy), 0 0 24px 2px rgba(57, 230, 160, .5), 0 0 0 9999px rgba(0, 0, 0, .45); }
.sc-cam.frozen .sc-guide i { box-shadow: 0 0 0 3px var(--buy), 0 0 0 9999px rgba(0, 0, 0, .6); }
.sc-cam.found .sc-state { background: var(--buy); color: var(--deep); }
.sc-bar { display: flex; justify-content: center; margin-top: var(--sp-35); } .sc-bar[hidden] { display: none; }
.sc-shutter { all: unset; cursor: pointer; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 4px var(--text); }
.sc-shutter i { width: 52px; height: 52px; border-radius: 50%; background: var(--text); transition: transform var(--dur-1); } .sc-shutter:active i { transform: scale(.9); }
.sc-shutter:disabled { opacity: .35; cursor: default; } .sc-shutter:focus-visible { outline: 2px solid var(--buy); outline-offset: 3px; }
.sc-cam.found + .sc-bar .sc-shutter { box-shadow: inset 0 0 0 4px var(--buy); } .sc-cam.found + .sc-bar .sc-shutter i { background: var(--buy); }
.sc-hit { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--sp-35); align-items: center; margin-top: var(--sp-35); padding: var(--sp-35); border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--buy); animation: scUp .35s var(--ease-out) both; }
@keyframes scUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sc-hit .sc-big { width: 96px; border-radius: var(--r-tag); } .sc-hit b { display: block; font-size: var(--fs-l); line-height: 1.3; } .sc-hit small { display: block; font-size: var(--fs-xs); color: var(--mute); }
.sc-hit .sc-price { margin-top: var(--sp-25); font: 700 var(--fs-d3) var(--f-big); letter-spacing: -.02em; }
.sc-acts { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-2); align-items: center; margin-top: var(--sp-25); } .sc-acts .s2-save { margin: 0; }
.sc-open { text-decoration: none; min-height: 52px; display: inline-flex; align-items: center; background: var(--raise); color: var(--text); font-weight: 700; padding: 0 var(--pad); border-radius: var(--r-act); box-shadow: inset 0 0 0 1px var(--line); }
.sc-alt { margin-top: var(--sp-3); } .sc-alt summary { cursor: pointer; font-weight: 600; font-size: var(--fs-m); color: var(--fair); padding: var(--sp-15) 0; }
.sc-list button { all: unset; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--sp-25); align-items: center; width: 100%; }
.sc-again { margin-top: var(--sp-3); }
@media (prefers-reduced-motion: reduce) { .sc-hit { animation: none; } }

/* scanner, round 3: scan one card after another into a tray */
.sc-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-25); }
.sc-auto { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-s); font-weight: 600; color: var(--mute); cursor: pointer; min-height: 44px; }
.sc-auto input { width: 18px; height: 18px; accent-color: var(--buy); margin: 0; }
.sc-count { justify-self: end; font-size: var(--fs-s); font-weight: 700; color: var(--buy); }
.sc-cam.edges .sc-guide i { box-shadow: 0 0 0 2px rgba(234, 245, 246, .95), 0 0 0 9999px rgba(0, 0, 0, .45); }
.sc-cam.found .sc-guide i { box-shadow: 0 0 0 3px var(--buy), 0 0 24px 2px rgba(57, 230, 160, .5), 0 0 0 9999px rgba(0, 0, 0, .45); }
.sc-cam.snap .sc-guide i { animation: scSnap .5s ease-out; }
@keyframes scSnap { 0% { box-shadow: 0 0 0 3px var(--buy), inset 0 0 0 999px rgba(57, 230, 160, .35), 0 0 0 9999px rgba(0, 0, 0, .45); } 100% { box-shadow: 0 0 0 3px var(--buy), inset 0 0 0 999px rgba(57, 230, 160, 0), 0 0 0 9999px rgba(0, 0, 0, .45); } }
.sc-pop { position: absolute; top: 12px; left: 50%; transform: translate(-50%, -8px); display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-15) var(--sp-3) var(--sp-15) var(--sp-15); border-radius: var(--r-act); background: var(--buy); color: var(--deep); font-size: var(--fs-s); font-weight: 700; opacity: 0; pointer-events: none; max-width: 86%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-pop img { width: 22px; height: 30px; border-radius: var(--r-xs); object-fit: cover; }
.sc-cam.snap .sc-pop { animation: scPop 1.1s var(--ease-out) both; }
@keyframes scPop { 0% { opacity: 0; transform: translate(-50%, -8px); } 15%, 75% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); } }
.sc-trayw { margin-top: var(--sp-35); }
.sc-empty { margin: 0; padding: var(--sp-35) var(--sp-4); border-radius: var(--r-act); background: var(--surface); color: var(--mute); font-size: var(--fs-s); }
.sc-th { display: flex; align-items: baseline; gap: var(--sp-25); } .sc-th h3 { margin: 0; font-size: var(--fs-l); } .sc-th > b { margin-left: auto; font-size: var(--fs-l); }
.sc-clear { all: unset; cursor: pointer; font-size: var(--fs-s); font-weight: 600; color: var(--mute); padding: var(--sp-2) var(--sp-1); } .sc-clear:focus-visible { outline: 2px solid var(--text); }
.sc-tray { list-style: none; margin: var(--sp-2) 0 0; padding: 0; display: grid; gap: var(--sp-2); }
.sc-tray > li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--sp-25); align-items: center; padding: var(--sp-2) var(--sp-25); border-radius: var(--r-act); background: var(--surface); }
.sc-tray > li:first-child { animation: scUp .35s var(--ease-out) both; }
.sc-tray > li > img { width: 44px; height: 61px; object-fit: cover; border-radius: var(--r-xs); }
.sc-t b { display: block; font-size: var(--fs-m); line-height: 1.3; } .sc-t small { display: block; font-size: var(--fs-xs); color: var(--mute); }
.sc-ta { display: flex; gap: var(--sp-35); margin-top: var(--sp-05); } .sc-ta button, .sc-ta a { all: unset; cursor: pointer; white-space: nowrap; font-size: var(--fs-xs); font-weight: 600; color: var(--fair); padding: var(--sp-15) 0; }
.sc-ta button:focus-visible, .sc-ta a:focus-visible { outline: 2px solid var(--text); }
.sc-alts { grid-column: 1 / -1; display: grid; gap: var(--sp-15); padding-top: var(--sp-15); border-top: 1px solid var(--line); } .sc-alts[hidden] { display: none; }
.sc-alts button { all: unset; cursor: pointer; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--sp-25); align-items: center; padding: var(--sp-1); border-radius: var(--r-act-in); }
.sc-alts button:focus-visible { background: var(--raise); } @media (hover: hover) and (pointer: fine) { .sc-alts button:hover { background: var(--raise); } } .sc-alts img { width: 40px; height: 56px; object-fit: cover; border-radius: var(--r-xs); }
.sc-alts b { display: block; font-size: var(--fs-s); } .sc-alts small { display: block; font-size: var(--fs-xs); color: var(--mute); }
.sc-go { margin-top: var(--sp-3); position: sticky; bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .sc-cam.snap .sc-guide i, .sc-cam.snap .sc-pop, .sc-tray > li:first-child { animation: none; } .sc-cam.snap .sc-pop { opacity: 1; transform: translate(-50%, 0); } }
.sc-t .sc-twin { color: var(--wait); font-weight: 600; }

/* scanner, round 4: full screen. The camera fills the screen; the scanned cards line up along the bottom */
/* the frame: four corners, and everything outside it dimmed */
/* under the frame: what it's doing, or the card it found */
/* the bottom: what's been scanned, then the buttons */
/* one scanned card: slides up over the bottom, the camera paused above it */
/* the detector's live outline of the card, drawn over the camera; the fixed frame steps back while it's showing */

/* scanner, round 5: the live outline does the aiming, so no card-shaped guide in the middle (it stays in the layout,
   unseen, as the area the older reading uses; it shows again only on a phone that can't run the detector). The card
   chip sits just above the scanned cards. */

/* scanner, round 7: lock on, one big Add button in thumb reach, Undo, torch */
/* the recognised card: the whole row is the Add button */
/* the running total, and the strip: only a newly added card animates (a card moving to the front doesn't) */
/* the round button reads "Add" while a card is recognised */
/* the card panel: a grab handle, the app's pill stepper */


/* add cards: each card with its picture and price, the app's pill stepper, a total that reads like the rest of the app */
.co-find[hidden] { display: none; }
.co-trayw.is-scan { border-top: 0; padding-top: 0; }
.co-th { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); margin: var(--sp-3) 0 var(--sp-2); }
.co-th b { font: 700 var(--fs-xl) var(--f-big); letter-spacing: -.01em; } .co-th span { font-size: var(--fs-s); font-weight: 600; color: var(--buy); }
.co-tray li, .co-tray li:first-child { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "i t p" "i c c"; column-gap: var(--sp-3); row-gap: var(--sp-2); align-items: center; padding: var(--sp-3) 0; border-top: 1px solid var(--line); }
.co-tray li:first-child { border-top: 0; }
.co-tray li > img { grid-area: i; align-self: start; width: 40px; height: 56px; object-fit: cover; border-radius: var(--r-xs); background: var(--raise); }
.co-tray .co-t { grid-area: t; min-width: 0; } .co-tray .co-t small { display: block; font-size: var(--fs-xs); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-tray .co-pr { grid-area: p; font-size: var(--fs-m); font-weight: 700; }
.co-ctl { grid-area: c; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-25); }
.co-tray select { grid-area: auto; height: 44px; max-width: none; flex: 1; min-width: 0; padding: 0 var(--sp-3); border-radius: var(--r-act); font: 600 var(--fs-m) var(--f-ui); }
.qty-pill { flex: none; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.qty-pill button { all: unset; cursor: pointer; place-items: center; color: var(--text); }
.qty-pill button:active { background: var(--raise); } .qty-pill button:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }

@media (min-width: 761px) { .co-tray li { grid-template-columns: 40px minmax(0, 1fr) auto auto; grid-template-areas: "i t c p"; } .co-tray select { max-width: 150px; } }
/* how you got them: three equal choices on one line */
.co-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-15); }
.co-mores { display: flex; gap: var(--sp-45); flex-wrap: wrap; } .co-mores .co-more { margin-top: var(--sp-2); }

/* scanner, round 8: what the scan is for, at the top */
/* the strip scrolls sideways only (the count badges poking out made it scroll up and down too) */

/* ---------- price check ---------- */
#sheet2 .s2.pck-sheet { width: min(620px, calc(100% - 32px)); }
@media (max-width: 760px) { #sheet2 .s2.pck-sheet { width: auto; max-height: 94vh; } }
.pck-hero { position: relative; margin: 0 0 var(--sp-4); padding: var(--pad) var(--pad) var(--sp-4); border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pck-hero .eyebrow { margin: 0 0 var(--sp-25); }
.pck-tots { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.pck-tots span { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--mute); }
.pck-tots b { display: block; font: 700 clamp(26px, 7vw, 36px) var(--f-big); letter-spacing: -.03em; line-height: 1.1; margin-top: var(--sp-05); }
.pck-tots .pck-pay b { color: var(--buy); }
.pck-pct { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-2) var(--sp-25); margin-top: var(--sp-35); }
.pck-pct > span { font-size: var(--fs-xs); font-weight: 600; color: var(--mute); } .pck-pct small { font-size: var(--fs-xs); color: var(--mute); }
.pck-seg { display: inline-flex; gap: var(--sp-05); padding: var(--sp-05); border-radius: var(--r-act); background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); }
.pck-seg button { all: unset; cursor: pointer; min-width: 36px; height: 34px; padding: 0 var(--sp-2); display: grid; place-items: center; border-radius: var(--r-act-in); font: 700 var(--fs-s) var(--f-ui); color: var(--mute); }
.pck-seg button[aria-checked=true] { background: var(--text); color: var(--deep); }
.pck-seg button:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.pck-askline { margin: var(--sp-3) 0 0; padding: var(--sp-25) var(--sp-3); border-radius: var(--r-s); font-size: var(--fs-s); background: var(--deep); }
.pck-askline.good { box-shadow: inset 0 0 0 1.5px var(--buy); } .pck-askline.good b:last-child { color: var(--buy); }
.pck-askline.fair { box-shadow: inset 0 0 0 1.5px var(--fair); } .pck-askline.fair b:last-child { color: var(--fair); }
.pck-askline.high { box-shadow: inset 0 0 0 1.5px var(--wait); } .pck-askline.high b:last-child { color: var(--wait); }
.pck-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-25); }
.pck-list li { padding: var(--sp-3); border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--dur-2); }
.pck-list li.is-good { box-shadow: inset 0 0 0 1.5px var(--buy); } .pck-list li.is-fair { box-shadow: inset 0 0 0 1.5px var(--fair); } .pck-list li.is-high { box-shadow: inset 0 0 0 1.5px var(--wait); }
.pck-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; }
.pck-row img { width: 44px; height: 61px; border-radius: var(--r-xs); object-fit: cover; background: var(--raise); }
.pck-t b { display: block; font-size: var(--fs-b); line-height: 1.3; } .pck-t em { font-style: normal; color: var(--mute); font-size: var(--fs-s); } .pck-t small { display: block; font-size: var(--fs-xs); color: var(--mute); }
.pck-up { text-align: right; } .pck-up small { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--mute); } .pck-up b { font: 700 var(--fs-d1) var(--f-big); color: var(--buy); letter-spacing: -.02em; }
.pck-cond { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-top: var(--sp-25); flex-wrap: wrap; }
.pck-cond select { height: 40px; padding: 0 var(--sp-3); border-radius: var(--r-act); background: var(--deep); border: 1px solid var(--line); color: var(--text); font: 600 var(--fs-s) var(--f-ui); }
.pck-meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); margin-top: var(--sp-25); }
.pck-worth { flex: 1 1 140px; font-size: var(--fs-s); color: var(--mute); } .pck-worth b { color: var(--text); } .pck-worth small { font-size: var(--fs-xs); }
.pck-ask { display: flex; align-items: center; gap: var(--sp-2); } .pck-ask > span:first-child { font-size: var(--fs-xs); font-weight: 600; color: var(--mute); white-space: nowrap; }
.pck-ask .s2-money { width: 112px; height: 40px; font-size: var(--fs-l); border-radius: var(--r-act-in); background: var(--deep); } .pck-ask .s2-money input { font-size: var(--fs-l); padding: 0; width: 100%; min-width: 0; }
.pck-vd { flex-basis: 100%; display: flex; align-items: baseline; gap: var(--sp-2); font-size: var(--fs-s); }
.pck-vd small { color: var(--mute); font-size: var(--fs-xs); }
.pck-vd.good b { background: var(--buy); color: var(--deep); } .pck-vd.fair b { background: var(--fair); color: var(--deep); } .pck-vd.high b { background: var(--wait); color: var(--deep); }
.pck-acts { position: sticky; bottom: calc(-1 * var(--sp-5)); margin: var(--sp-4) calc(-1 * var(--sp-5)) 0; padding: var(--sp-3) var(--sp-5) calc(var(--sp-3) + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--deep) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.pck-acts .s2-save { margin: 0; width: 100%; }
.pck-acts2 { display: flex; justify-content: space-between; gap: var(--sp-2); margin-top: var(--sp-2); }
.pck + .fine, .pck .fine { margin-top: var(--sp-4); }

/* ---------- after a scan is added ---------- */
.cel { text-align: center; padding: var(--sp-2) 0 var(--sp-1); }
.cel-fan { position: relative; height: 150px; margin: var(--sp-1) auto var(--pad); }
.cel-fan img { position: absolute; left: 50%; top: 10px; width: 92px; height: 128px; object-fit: cover; border-radius: var(--r-tag); box-shadow: 0 10px 30px #000a;
  transform: translateX(-50%) translateX(calc(var(--i) * 46px)) rotate(calc(var(--i) * 9deg)) translateY(calc(var(--i) * var(--i) * 4px)); animation: celIn .55s var(--ease-out) both; animation-delay: var(--d); }
@keyframes celIn { from { opacity: 0; transform: translateX(-50%) translateY(40px) rotate(0) scale(.8); } }
.cel .eyebrow { margin: 0; }
.cel-big { margin: var(--sp-15) 0 var(--sp-1); font: 700 clamp(40px, 11vw, 56px) var(--f-big); letter-spacing: -.04em; background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cel-sub { color: var(--mute); } .cel-sub b { color: var(--text); }
.cel-note { margin-top: var(--sp-2); font-size: var(--fs-s); color: var(--mute); }
.cel-acts { display: grid; gap: var(--sp-2); margin-top: var(--sp-45); } .cel-acts .s2-save { margin: 0; text-decoration: none; display: grid; place-items: center; }
@media (prefers-reduced-motion: reduce) { .cel-fan img { animation: none; } }
/* price check, tighter rows: condition and grade on one line, worth and their price on the next */
.pck-pct { display: grid; gap: var(--sp-2); } .pck-pct .pck-seg { display: flex; } .pck-pct .pck-seg button { flex: 1; }
.pck-miss { margin: var(--sp-25) 0 0; font-size: var(--fs-xs); color: var(--wait); }
.pck-cond { flex-wrap: nowrap; } .pck-cond .pck-seg button { min-width: 0; padding: 0 var(--sp-2); height: 32px; font-size: var(--fs-xs); }
.pck-cond select { height: 38px; flex: none; max-width: 104px; padding: 0 var(--sp-25); }
.pck-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--sp-15) var(--sp-25); }
.pck-worth { flex: none; } .pck-ask { justify-self: end; } .pck-vd { grid-column: 1 / -1; }
.pck-list li { padding: var(--sp-3) var(--sp-3) var(--sp-25); }
@media (max-width: 360px) { .pck-cond .pck-seg button { padding: 0 var(--sp-15); } .pck-ask > span:first-child { display: none; } }
#sheet2 .cel-big { font: 700 clamp(40px, 11vw, 56px) var(--f-big); letter-spacing: -.04em; padding-right: 0; margin: var(--sp-15) 0 var(--sp-1); }

/* ---------- price check, round 2: the app's page pattern (eyebrow, question, one line of what to do, a totals panel
   like Trade check's, then the cards). Each row: picture, name, what to pay; condition; their price and the verdict ---------- */
.pck .eyebrow { margin: 0; }
#sheet2 .pck-h { font: 400 var(--fs-d5) / 1 var(--fd-display, var(--f-big)); letter-spacing: .02em; text-transform: uppercase; margin: var(--sp-15) 0 var(--sp-15); padding-right: var(--sp-65); }
.pck-lede { margin: 0 0 var(--sp-4); color: var(--mute); font-size: var(--fs-m); line-height: 1.45; }
.pck-sum { display: grid; gap: var(--sp-25); padding: var(--sp-4); border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pck-line { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); }
.pck-line span { font: 700 var(--fs-xs) var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.pck-line b { font: 700 clamp(24px, 6.4vw, 30px) var(--f-big); letter-spacing: -.03em; }
.pck-line.is-pay span { color: var(--buy); } .pck-line.is-pay b { color: var(--buy); }
.pck-line.is-ask b { font-size: var(--fs-d1); }
.pck-line[hidden], .pck-verdict[hidden], .pck-miss[hidden] { display: none; }
.pck-sum .pck-pct { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-25); flex-wrap: wrap; padding-top: var(--sp-25); border-top: 1px solid var(--line); }
.pck-sum .pck-pct > span { font-size: var(--fs-s); font-weight: 600; color: var(--mute); }
.pck-sum .pck-pct .pck-seg { display: inline-flex; } .pck-sum .pck-pct .pck-seg button { flex: none; min-width: 0; padding: 0 var(--sp-2); height: 32px; font-size: var(--fs-xs); }
.pck-verdict { margin: 0; padding: var(--sp-25) var(--sp-3); border-radius: var(--r-s); font-size: var(--fs-s); background: var(--deep); }
.pck-verdict b { display: inline-block; margin-right: var(--sp-15); color: var(--deep); }
.pck-verdict.good b, .pck-vd.good b { background: var(--buy); } .pck-verdict.fair b, .pck-vd.fair b { background: var(--fair); } .pck-verdict.high b, .pck-vd.high b { background: var(--wait); }
.pck-miss { margin: 0; font-size: var(--fs-xs); color: var(--wait); }
.pck-h3 { margin: var(--sp-5) 0 var(--sp-2); font: 700 var(--fs-b) var(--f-big); }
.pck-list li { padding: var(--sp-3); border-radius: var(--r); }
.pck-row { grid-template-columns: 44px minmax(0, 1fr) auto 32px; gap: var(--sp-25); align-items: start; }
.pck-t { padding-top: var(--sp-05); } .pck-t b { font-size: var(--fs-m); }
.pck-up { text-align: right; padding-top: var(--sp-05); } .pck-up small { display: block; font-size: var(--fs-label); font-weight: 600; color: var(--mute); }
.pck-up b { display: block; font: 700 var(--fs-xl) var(--f-big); color: var(--buy); letter-spacing: -.02em; line-height: 1.2; }
.pck-up [data-worth] { font-weight: 500; font-size: var(--fs-xs); }
.pck-x { all: unset; cursor: pointer; width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--r-act-in); color: var(--mute); }
.pck-x:focus-visible { background: var(--raise); color: var(--text); } @media (hover: hover) and (pointer: fine) { .pck-x:hover { background: var(--raise); color: var(--text); } } .pck-x:focus-visible { outline: 2px solid var(--text); }
.pck-ctl { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-25); }
.pck-ctl .pck-seg { flex: 1; display: flex; min-width: 0; } .pck-ctl .pck-seg button { flex: 1; min-width: 0; padding: 0; height: 36px; font-size: var(--fs-xs); }
.pck-ctl .pck-seg.is-off { opacity: .45; }
.pck-ctl select { flex: none; width: 96px; height: 42px; padding: 0 var(--sp-25); border-radius: var(--r-act); background: var(--deep); border: 1px solid var(--line); color: var(--text); font: 600 var(--fs-s) var(--f-ui); }
.pck-askrow { display: flex; align-items: center; gap: var(--sp-25); margin-top: var(--sp-25); flex-wrap: wrap; }
.pck-askrow .pck-ask { display: flex; align-items: center; gap: var(--sp-2); } .pck-askrow .pck-ask > span:first-child { font-size: var(--fs-xs); font-weight: 600; color: var(--mute); }
.pck-askrow .s2-money { width: 118px; height: 40px; font-size: var(--fs-l); border-radius: var(--r-act-in); background: var(--deep); } .pck-askrow .s2-money input { font-size: var(--fs-l); padding: 0; width: 100%; min-width: 0; }
.pck-vd { font-size: var(--fs-xs); color: var(--mute); } .pck-vd b { display: inline-block; margin-right: var(--sp-1); color: var(--deep); }
.pck-acts2 { justify-content: center; gap: var(--sp-55); }
.pck .fine { margin-top: var(--sp-4); } .pck > .ck-sec { margin-top: var(--sp-4); } .pck > .ck-sec .fine { margin: 0; text-align: left; }   /* the working, behind a fold (a Sheet segment) */
.pck-t { min-width: 0; } .pck-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-up { max-width: 112px; } .pck-up [data-worth] { line-height: 1.3; }
.co-sum { margin: var(--sp-2) 0 var(--sp-3); }
.cel .eyebrow { margin-top: var(--sp-05); }

/* ---------- scanner: what the scan is for, a two-way switch with a sliding highlight and a hint ---------- */

/* ---------- the best card: a hero, holo-edged ---------- */
.pck-hero { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--sp-4); align-items: center; margin: 0 0 var(--sp-3); padding: var(--sp-4); border-radius: var(--r-l); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pck-hero[hidden] { display: none; }
.pck-hcard { position: relative; width: 112px; aspect-ratio: 63 / 88; border-radius: var(--r-tag); overflow: hidden; transform: rotate(-4deg); box-shadow: 0 14px 30px #000b, 0 0 0 1px rgba(255, 255, 255, .08); animation: pckIn var(--dur-4) var(--ease-out) both; }
.pck-hcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pck-shine { display: none; }
@keyframes pckIn { from { opacity: 0; transform: rotate(-12deg) translateY(16px) scale(.9); } }
.pck-hinfo { min-width: 0; display: grid; gap: var(--sp-05); }
.pck-hl { font: 700 var(--fs-label) var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.pck-hn { font: 700 var(--fs-lead)/1.25 var(--f-ui); } .pck-hinfo > small { font-size: var(--fs-xs); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-hv { margin-top: var(--sp-15); font: 400 var(--fs-d6) / 1 var(--fd-display, var(--f-big)); letter-spacing: .02em; }
.pck-hm { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-2); font-size: var(--fs-xs); color: var(--mute); }
.pck-spark { margin-top: var(--sp-15); width: 100%; max-width: 160px; height: 30px; } .pck-spark.up { color: var(--buy); } .pck-spark.dn { color: var(--wait); }
@media (prefers-reduced-motion: reduce) { .pck-shine, .pck-hcard { animation: none; } }
/* trend chips */
.pck-tr { display: inline-flex; align-items: center; gap: var(--sp-05); font-weight: 700; }
.pck-tr small { font-weight: 600; opacity: .75; font-size: var(--fs-label); }
.pck-tr.up { color: var(--buy); background: color-mix(in srgb, var(--buy) 14%, transparent); } .pck-tr.dn { color: var(--wait); background: color-mix(in srgb, var(--wait) 14%, transparent); }
.pck-t [data-tr] { display: block; margin-top: var(--sp-1); } .pck-t [data-tr]:empty { display: none; }

/* ---------- your next steps ---------- */
.pck-steps .pck-h3 { margin-top: var(--sp-4); }
.pck-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.pck-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; padding: var(--sp-3); border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pck-sn { width: 30px; height: 30px; border-radius: var(--r-tag); display: grid; place-items: center; font: 700 var(--fs-s) var(--f-big); background: var(--raise); color: var(--text); }
.pck-steps li.is-done .pck-sn { background: var(--buy); color: var(--deep); } .pck-steps li.is-done .pck-st b { color: var(--mute); }
.pck-st b { display: block; font-size: var(--fs-m); } .pck-st b .num { color: var(--buy); font-family: var(--f-big); } .pck-st small { display: block; font-size: var(--fs-xs); color: var(--mute); }
.pck-steps li:last-child { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--buy) 60%, transparent); }
.pck-list li.is-flash { animation: pckFlash 1.2s ease-out; }
@keyframes pckFlash { 0%, 40% { box-shadow: inset 0 0 0 2px var(--text); } }

/* ---------- Pro: grading upside, in the holo frame ---------- */
.pck-pro { margin-top: var(--sp-3); padding: var(--sp-35); border-radius: var(--r); border: 1.5px solid transparent;
  background: linear-gradient(160deg, color-mix(in srgb, var(--sell) 10%, var(--surface)), var(--surface) 55%) padding-box, var(--holo) border-box; }
.pck-pro:empty { display: none; }
.pck-pro .locked { border-radius: var(--r-act); margin: calc(-1 * var(--sp-1)); }
.pck-pro-h { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; } .pck-pro-h b { font: 700 var(--fs-b) var(--f-big); }
.pck-pro-sub { margin: var(--sp-2) 0 0; font-size: var(--fs-s); color: var(--mute); }
.pck-ups { list-style: none; margin: var(--sp-25) 0 0; padding: 0; display: grid; gap: var(--sp-2); }
.pck-ups li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: var(--sp-25); align-items: center; }
.pck-ups img { width: 34px; height: 47px; object-fit: cover; border-radius: var(--r-xs); }
.pck-ups b { font-size: var(--fs-s); } .pck-ups small { display: block; font-size: var(--fs-xs); color: var(--mute); } .pck-ups small b { font-size: var(--fs-xs); color: var(--text); }
.pck-ups em { font: 700 var(--fs-lead) var(--f-big); font-style: normal; background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- add sheet: pulls against what the packs cost ---------- */
.co-hero { margin-top: var(--sp-2); }
.co-pull { margin: var(--sp-2) 0 0; padding: var(--sp-25) var(--sp-3); border-radius: var(--r-s); font-size: var(--fs-s); background: var(--surface); }
.co-pull[hidden] { display: none; } .co-pull.up b:last-child { color: var(--buy); } .co-pull.dn b:last-child { color: var(--wait); }
.cel-vs { margin: var(--sp-15) 0 0; font-weight: 600; } .cel-vs.up b { color: var(--buy); } .cel-vs.dn b { color: var(--wait); }

/* ---------- price check, round 4: every card in fixed slots, so a longer or shorter number moves nothing ---------- */
.pck .num, .co-tray .num, .pck-show .num { font-variant-numeric: tabular-nums; }
.pck-list li { padding: var(--sp-3); }
.pck-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 108px; gap: var(--sp-3); align-items: start; }
.pck-row > img { width: 52px; height: 72px; object-fit: cover; border-radius: var(--r-xs); background: var(--raise); }
.pck-t { min-width: 0; padding-top: 1px; }
.pck-t b { display: block; font-size: var(--fs-b); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-t small { display: block; margin-top: 1px; font-size: var(--fs-xs); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-chips { display: flex; gap: var(--sp-15); min-height: 22px; margin-top: var(--sp-15); } .pck-t [data-tr]:empty { display: flex; }
.pck-up { width: 108px; text-align: right; max-width: none; padding-top: 1px; }
.pck-up > small { display: block; font-size: var(--fs-label); font-weight: 600; color: var(--mute); letter-spacing: .02em; }
.pck-up > b { display: block; height: 26px; font: 700 var(--fs-d1)/26px var(--f-big); color: var(--buy); letter-spacing: -.02em; white-space: nowrap; }
.pck-pp { display: inline-block; margin-top: var(--sp-1); }
.pck-pp select { height: 28px; padding: 0 var(--sp-5) 0 var(--sp-25); border-radius: var(--r-act); border: 1px solid var(--line); background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' fill='none' stroke='%2385A0A7' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center;
  appearance: none; -webkit-appearance: none; color: var(--mute); font: 600 var(--fs-xs) var(--f-ui); }
.pck-pp select:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.pck-ctl { margin-top: var(--sp-3); }
.pck-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: var(--sp-25); align-items: end; margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.pck-worth { min-width: 0; } .pck-worth small { display: block; font-size: var(--fs-xs); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-worth b { display: block; font: 700 var(--fs-l)/22px var(--f-big); }
.pck-ask { display: grid; gap: var(--sp-05); } .pck-ask small { font-size: var(--fs-xs); font-weight: 600; color: var(--mute); }
.pck-ask .s2-money { width: 112px; height: 44px; border-radius: var(--r-s); background: var(--deep); font-size: var(--fs-l); padding: 0 var(--sp-25); }
.pck-ask .s2-money input { width: 100%; min-width: 0; padding: 0; font: 700 var(--fs-l) var(--f-big); }
.pck-rm { all: unset; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-act); color: var(--mute); }
@media (hover: hover) and (pointer: fine) { .pck-rm:hover { color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); } } .pck-rm:focus-visible { outline: 2px solid var(--text); }
.pck-vd { display: block; min-height: 20px; margin: var(--sp-25) 0 0; font-size: var(--fs-xs); color: var(--faint); line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-vd.good, .pck-vd.fair, .pck-vd.high { color: var(--mute); }
.pck-vd b { display: inline-block; margin-right: var(--sp-15); color: var(--deep); }
/* the stack's numbers never shift either */
.pck-line b { min-width: 6ch; text-align: right; }

/* ---------- the buttons under the main one: the app's quiet pill buttons, all the same size ---------- */
.pck-acts2 { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--sp-2); margin-top: var(--sp-2); justify-content: stretch; }
.pck-acts2 button { all: unset; box-sizing: border-box; cursor: pointer; min-height: 44px; display: grid; place-items: center; padding: 0 var(--sp-25); border-radius: var(--r-act); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-weight: 600; font-size: var(--fs-s); text-align: center; }
.pck-acts2 button:active { background: var(--raise); } .pck-acts2 button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.pck-acts .s2-save .num { font-family: var(--f-big); }

/* ---------- the deal ---------- */
.pck-offer { padding: var(--pad); border-radius: var(--r-l); border: 1.5px solid transparent; text-align: center;
  background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--buy) 14%, transparent), transparent 60%) padding-box, linear-gradient(var(--surface), var(--surface)) padding-box, var(--holo) border-box; }
.pck-offer > span { display: block; font: 700 var(--fs-xs) var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--buy); }
.pck-offer > b { display: block; margin: var(--sp-1) 0 var(--sp-05); font: 700 clamp(40px, 12vw, 54px) var(--f-big); letter-spacing: -.04em; }
.pck-offer > small { display: block; color: var(--mute); font-size: var(--fs-s); }
.pck-oacts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin-top: var(--sp-35); }
.pck-fan { list-style: none; margin: var(--sp-35) 0 0; padding: 0; display: grid; gap: var(--sp-15); }
.pck-fan li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--sp-25); align-items: center; padding: var(--sp-15) var(--sp-2); border-radius: var(--r-s); background: var(--surface); }
.pck-fan img { width: 40px; height: 56px; object-fit: cover; border-radius: var(--r-xs); }
.pck-fan b { display: block; font-size: var(--fs-m); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pck-fan small { display: block; font-size: var(--fs-xs); color: var(--mute); }
.pck-agree { margin-top: var(--sp-4); } .pck-agree .s2-money { height: 56px; } .pck-agree .s2-money input { font-size: var(--fs-d3); }
.pck-agreed { margin: var(--sp-2) 0 0; font-size: var(--fs-s); color: var(--mute); min-height: 20px; }
.pck-agreed.good b { color: var(--buy); } .pck-agreed.fair b { color: var(--fair); } .pck-agreed.high b { color: var(--wait); }
/* the offer, big, turned towards the person across the table */
.pck-show { position: fixed; inset: 0; z-index: 90; display: grid; align-content: center; justify-items: center; gap: var(--sp-1); padding: var(--sp-5) var(--sp-45) calc(var(--sp-5) + env(safe-area-inset-bottom)); text-align: center;
  background: radial-gradient(100% 70% at 50% 20%, var(--glow-teal), var(--deep) 70%); color: var(--text); opacity: 0; transition: opacity var(--dur-2); overflow: auto; }
.pck-show.on { opacity: 1; }
.pck-show > p { margin: 0; font: 700 var(--fs-m) var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.pck-show > b { font: 700 clamp(64px, 22vw, 120px) / 1 var(--f-big); letter-spacing: -.05em; background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pck-show > small { font-size: var(--fs-l); color: var(--mute); }
.pck-show ul { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-2); width: min(420px, 100%); }
.pck-show li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--sp-3); align-items: center; text-align: left; font-size: var(--fs-l); font-weight: 600; }
.pck-show li img { width: 44px; height: 61px; object-fit: cover; border-radius: var(--r-xs); } .pck-show li small { display: block; font-size: var(--fs-s); color: var(--mute); font-weight: 500; }
.pck-show-f { margin-top: var(--pad) !important; font-size: var(--fs-label) !important; letter-spacing: .04em !important; text-transform: none !important; }
.pck-show-x { all: unset; cursor: pointer; position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 16px; padding: var(--sp-25) var(--sp-4); border-radius: var(--r-act); background: var(--surface); font-weight: 700; }

/* ---------- the collection sheet after a scan: the same sticky bar ---------- */
.co-trayw .pck-acts { margin-top: var(--sp-4); }
.co-trayw .pck-acts .s2-save { width: 100%; }
/* fixed slots: the hero and the totals keep their size whatever card or number is in them */
.pck-hero { min-height: 204px; box-sizing: border-box; }
.pck-hn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-hm { min-height: 22px; } .pck-hinfo [data-h-spark] { display: block; height: 32px; } .pck-hinfo [data-h-spark] svg { margin-top: var(--sp-05); }
.pck-verdict { min-height: 40px; box-sizing: border-box; display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-1); }
.pck-verdict.is-hint { color: var(--faint); background: var(--deep); } .pck-verdict.is-miss { color: var(--wait); }
.pck-line.is-ask b { color: var(--text); }
.pck-tip { margin: 0; font-size: var(--fs-s); color: var(--mute); }
/* the deal, card by card */
.pck-split { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.pck-split li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 118px; gap: var(--sp-25); align-items: center; padding: var(--sp-2) var(--sp-25); border-radius: var(--r-act); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pck-split li.is-set { box-shadow: inset 0 0 0 1.5px var(--fair); }
.pck-split img { width: 40px; height: 56px; object-fit: cover; border-radius: var(--r-xs); }
.pck-split .s2-money { height: 44px; border-radius: var(--r-s); background: var(--deep); padding: 0 var(--sp-25); font-size: var(--fs-l); } .pck-split .s2-money input { width: 100%; min-width: 0; padding: 0; font: 700 var(--fs-l) var(--f-big); }
.pck-deal .pck-sum { margin-bottom: var(--sp-3); }
.pck-hero { height: 224px; min-height: 0; }
.pck-hinfo > small { display: block; }
.pck-verdict { height: 60px; min-height: 0; align-content: center; overflow: hidden; line-height: 1.35; }
.pck-steps li { height: 72px; box-sizing: border-box; }
.pck-st { min-width: 0; } .pck-st b, .pck-st small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* card names get two lines (always two lines tall, so rows stay the same size) */
.pck-t b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; height: 2.6em; line-height: 1.3; }
/* the verdict grows to fit: a fixed height clipped longer messages. It can push the steps down by a line; the single-page redesign replaces this panel */
.pck-verdict { height: auto; min-height: 44px; overflow: visible; }

/* ---------- price check, single page (round 5) ---------- */
.pck-hero { height: 176px; grid-template-columns: 88px minmax(0, 1fr); } .pck-hcard { width: 88px; }
.pck-deal2 { display: grid; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pck-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); }
.pck-3 > div { min-width: 0; } .pck-3 span { display: block; font: 700 var(--fs-label) var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.pck-3 b { display: block; margin-top: var(--sp-05); font: 400 var(--fs-d5) / 1 var(--fd-display, var(--f-big)); letter-spacing: .02em; white-space: nowrap; }
.pck-read { margin: 0; min-height: 44px; padding: var(--sp-25) var(--sp-3); border-radius: var(--r-s); background: var(--deep); font-size: var(--fs-s); line-height: 1.45; color: var(--mute); }
.pck-read b { color: var(--text); } .pck-read.is-hint b { color: var(--text); }
.pck-read .pck-vb { display: inline-block; margin-right: var(--sp-1); color: var(--deep); }
.pck-read.good .pck-vb { background: var(--buy); } .pck-read.fair .pck-vb { background: var(--fair); } .pck-read.high .pck-vb { background: var(--wait); }
.pck-read.good b:not(.pck-vb) { color: var(--buy); } .pck-read.high b:not(.pck-vb) { color: var(--wait); }
.pck-bund { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: var(--sp-25); align-items: center; padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.pck-bund > span:first-child { font-weight: 700; font-size: var(--fs-m); } .pck-bund small { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--mute); }
.pck-bund .s2-money { height: 48px; border-radius: var(--r-s); background: var(--deep); padding: 0 var(--sp-3); } .pck-bund .s2-money input { width: 100%; min-width: 0; padding: 0; font: 700 var(--fs-d1) var(--f-big); }
.pck-hist { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-15); min-height: 0; font-size: var(--fs-xs); color: var(--mute); } .pck-hist:empty { display: none; }
.pck-hist span { margin-right: var(--sp-05); font-weight: 600; } .pck-hist i { font-style: normal; color: var(--faint); }
.pck-hist button { all: unset; cursor: pointer; padding: var(--sp-1) var(--sp-25); border-radius: var(--r-act); background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); font: 700 var(--fs-xs) var(--f-big); color: var(--text); }
.pck-hist button.on { box-shadow: inset 0 0 0 1.5px var(--buy); color: var(--buy); } .pck-hist button:focus-visible { outline: 2px solid var(--text); }
.pck-deal2 .pck-pct { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; } .pck-deal2 .pck-pct > span { font-size: var(--fs-s); font-weight: 600; color: var(--mute); }
.pck-deal2 .pck-pct .pck-seg button { padding: 0 var(--sp-2); height: 32px; min-width: 0; font-size: var(--fs-xs); }
/* a card: worth on the right; condition; then the price, your limit, remove */
.pck-row { grid-template-columns: 52px minmax(0, 1fr) 104px; }
.pck-w { width: 104px; text-align: right; } .pck-w small { display: block; font-size: var(--fs-label); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-w b { display: block; height: 32px; font: 400 var(--fs-d4)/32px var(--fd-display, var(--f-big)); letter-spacing: .02em; white-space: nowrap; }
.pck-chips { flex-wrap: wrap; } .pck-chips > span:empty { display: none; }
.pck-upc { all: unset; display: inline-flex; align-items: center; gap: var(--sp-1); font-weight: 700; color: var(--text); border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--holo) border-box; white-space: nowrap; }
.pck-upc b { font-weight: 800; } .pck-upc.is-locked { cursor: pointer; color: var(--pro-ink); }
.pck-pr { display: grid; grid-template-columns: 124px minmax(0, 1fr) 44px; gap: var(--sp-25); align-items: end; margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.pck-pr .pck-ask .s2-money { width: 124px; height: 44px; }
.pck-pr .pck-ask input::placeholder { color: var(--faint); opacity: 1; }
.pck-lim { min-width: 0; } .pck-lim small { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--mute); }
.pck-lim { display: grid; grid-template-columns: auto 1fr; column-gap: var(--sp-2); align-items: center; } .pck-lim small { grid-column: 1 / -1; }
.pck-lim b { font: 700 var(--fs-l)/22px var(--f-big); color: var(--fair); white-space: nowrap; }
.pck-lim select { justify-self: start; height: 28px; padding: 0 var(--sp-5) 0 var(--sp-2); border-radius: var(--r-act); border: 1px solid var(--line); appearance: none; -webkit-appearance: none; color: var(--mute); font: 600 var(--fs-xs) var(--f-ui);
  background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' fill='none' stroke='%2385A0A7' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center; }
.pck-vd { white-space: normal; height: auto; min-height: 20px; line-height: 1.4; }
.pck-vd b.num { color: var(--text); padding: 0; background: none; font-size: var(--fs-xs); }
/* the bottom: where the price lands, and Buy */
.pck-bar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-3); align-items: center; }
.pck-bar .s2-save { margin: 0; width: 100%; } .pck-barr { font: 700 var(--fs-s) var(--f-big); color: var(--mute); white-space: nowrap; } .pck-barr:empty { display: none; }
.pck-barr.good { color: var(--buy); } .pck-barr.fair { color: var(--fair); } .pck-barr.high { color: var(--wait); }
.pck-sp { text-align: right; font: 700 var(--fs-b) var(--f-big); } .pck-sp small { display: block; font: 500 var(--fs-label) var(--f-ui); color: var(--mute); }
.pck-split li { grid-template-columns: 40px minmax(0, 1fr) auto; }
@media (max-width: 360px) { .pck-bund { grid-template-columns: 1fr; } .pck-pr { grid-template-columns: 110px minmax(0, 1fr) 40px; } .pck-pr .pck-ask .s2-money { width: 110px; } }
.pck-t .pck-upc b { display: inline; height: auto; font-size: inherit; line-height: inherit; -webkit-line-clamp: unset; white-space: nowrap; }
.pck-vd > b:not(.num) { display: inline-block; margin-right: var(--sp-15); color: var(--deep); }
.pck-list li.is-good .pck-vd > b:not(.num) { background: var(--buy); } .pck-list li.is-fair .pck-vd > b:not(.num) { background: var(--fair); } .pck-list li.is-high .pck-vd > b:not(.num) { background: var(--wait); }
.pck-list li.is-good, .pck-list li.is-fair, .pck-list li.is-high { box-shadow: inset 0 0 0 1px var(--line); }
.pck-pr .pck-ask input::placeholder { color: color-mix(in srgb, var(--faint) 75%, transparent); font-style: italic; font-weight: 600; }
.co-prw { grid-area: p; text-align: right; } .co-prw .co-pr { display: block; } .co-paid { display: block; font-size: var(--fs-xs); color: var(--mute); white-space: nowrap; } .co-paid:empty { display: none; }

/* ---------- the verdict, in the app's own words and colours: Buy (green), Fair (blue), Wait (amber) ---------- */
.pck-verd { --vc: var(--mute); display: grid; gap: var(--sp-25); padding: var(--sp-3); border-radius: var(--r); background: color-mix(in srgb, var(--vc) 9%, var(--deep)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--vc) 55%, transparent); }
.pck-verd.v-buy, .pck-final.v-buy { --vc: var(--buy); } .pck-verd.v-fair, .pck-final.v-fair { --vc: var(--fair); } .pck-verd.v-wait, .pck-final.v-wait { --vc: var(--wait); }
.pck-verd.is-hint { --vc: var(--faint); }
.pck-vh { display: flex; align-items: center; gap: var(--sp-25); min-width: 0; }
.pck-vt { flex: none; background: var(--vc); color: var(--deep); }
.pck-verd.is-hint .pck-vt { background: var(--raise); color: var(--mute); }
.pck-vh b { min-width: 0; font-size: var(--fs-m); line-height: 1.3; }
.pck-vs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-15); }
.pck-vs > div { min-width: 0; padding: var(--sp-2); border-radius: var(--r-s); background: var(--deep); }
.pck-vs small { display: block; font-size: var(--fs-label); font-weight: 700; color: var(--mute); }
.pck-vs b { display: block; margin-top: var(--sp-05); font: 400 var(--fs-d4) / 1.1 var(--fd-display, var(--f-big)); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-vs .t-pos b { color: var(--buy); } .pck-vs .t-neg b { color: var(--wait); }   /* a loss is Wait orange, never red (The One Colour Rule) */
.pck-vs .t-buy b { color: var(--buy); } .pck-vs .t-fair b { color: var(--fair); } .pck-vs .t-wait b { color: var(--wait); }
.pck-verd.is-hint .pck-vs b { color: var(--text); }
/* the Buy button and the number beside it take the verdict's colour */

.pck-barr.buy { color: var(--buy); } .pck-barr.fair { color: var(--fair); } .pck-barr.wait { color: var(--wait); }
/* a card's own verdict */
.pck-list li.is-buy .pck-vd > b:not(.num) { background: var(--buy); } .pck-list li.is-fair .pck-vd > b:not(.num) { background: var(--fair); } .pck-list li.is-wait .pck-vd > b:not(.num) { background: var(--wait); }

/* ---------- the summary ---------- */
.pck-final { --vc: var(--buy); display: grid; gap: var(--sp-3); padding: var(--pad); border-radius: var(--r-l); border: 1.5px solid color-mix(in srgb, var(--vc) 60%, transparent);
  background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--vc) 18%, transparent), transparent 60%), var(--surface); }
.pck-fh { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.pck-fx { font: 700 clamp(22px, 6.4vw, 28px) var(--f-big); letter-spacing: -.03em; } .pck-fx small { font: 600 var(--fs-m) var(--f-ui); color: var(--mute); letter-spacing: 0; }
.pck-fl { margin: 0; font-weight: 700; font-size: var(--fs-b); color: var(--vc); }
.pck-mix { display: flex; align-items: center; gap: var(--sp-15); flex-wrap: wrap; margin: var(--sp-4) 0 var(--sp-2); }
.pck-mix > span:first-child { font: 700 var(--fs-b) var(--f-big); margin-right: auto; }
.pck-rt { display: inline-block; font-weight: 800; color: var(--deep); }
.pck-rt.r-buy { background: var(--buy); } .pck-rt.r-fair { background: var(--fair); } .pck-rt.r-wait { background: var(--wait); }
.pck-rated li { grid-template-columns: 40px minmax(0, 1fr) auto; }
.pck-rated li.is-buy { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--buy) 45%, transparent); }
.pck-rated li.is-fair { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fair) 45%, transparent); }
.pck-rated li.is-wait { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wait) 45%, transparent); }
.pck-rated .pck-t b { height: auto; -webkit-line-clamp: 1; }
.pck-rated .pck-sp { display: grid; justify-items: end; gap: var(--sp-05); }
.pck-recap { margin: var(--sp-3) 0 0; font-size: var(--fs-s); color: var(--mute); }

/* ---------- price check, round 7 ---------- */
/* the card's picture and name open its breakdown */
.pck-pic, button.pck-t, .pck-hcard { all: unset; cursor: pointer; display: block; }
.pck-pic img { width: 52px; height: 72px; object-fit: cover; border-radius: var(--r-xs); display: block; background: var(--raise); }
button.pck-t { min-width: 0; text-align: left; padding-top: 1px; }
.pck-pic:focus-visible, button.pck-t:focus-visible, .pck-hcard:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: var(--r-tag); }
.pck-hero .pck-hcard { position: relative; width: 88px; aspect-ratio: 63 / 88; border-radius: var(--r-tag); overflow: hidden; transform: rotate(-4deg); box-shadow: 0 14px 30px #000b; }
/* grading upside: a holo badge of its own, across the card */
.pck-upw:empty { display: none; } .pck-upw { margin-top: var(--sp-25); }
.pck-grade { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; align-items: center; gap: var(--sp-2); min-height: 36px; padding: 0 var(--sp-3); border-radius: var(--r-s);
  background: var(--holo); color: var(--deep); font-size: var(--fs-xs); font-weight: 800; position: relative; overflow: hidden; }
@keyframes pckShine { 0% { background-position: 120% 0; } 45%, 100% { background-position: -60% 0; } }
.pck-grade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); background-size: 260% 100%; animation: pckShine 3.6s ease-in-out 1.5s 2; }
.pck-grade span { letter-spacing: .04em; text-transform: uppercase; } .pck-grade b { margin-left: auto; font: 800 var(--fs-s) var(--f-big); }
.pck-grade.is-locked { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--holo) border-box; border: 1.5px solid transparent; color: var(--pro-ink); }
.pck-grade:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .pck-grade::after { animation: none; } }
/* the verdict line, and another copy */
.pck-vdr { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-top: var(--sp-25); }
.pck-vdr .pck-vd { margin: 0; min-width: 0; flex: 1; }
/* the three figures line up whatever their labels: labels keep two lines' room */
.pck-vs > div { display: flex; flex-direction: column; justify-content: space-between; }
.pck-vs small { line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* one line, always: a stat tile's label is never on two lines */

/* ---------- a card in more detail ---------- */
.pck-mod { position: fixed; inset: 0; z-index: 80; display: grid; align-items: end; justify-items: center; background: #000a; opacity: 0; transition: opacity var(--dur-2); }
.pck-mod.on { opacity: 1; }
.pck-mp { position: relative; width: min(560px, 100%); max-height: 90dvh; overflow: auto; box-sizing: border-box; padding: var(--sp-45) var(--pad) calc(var(--pad) + env(safe-area-inset-bottom)); border-radius: var(--r-l) var(--r-l) 0 0; background: var(--deep); box-shadow: 0 -10px 40px #000a; transform: translateY(24px); transition: transform var(--dur-2) var(--ease-in); }
.pck-mod.on .pck-mp { transform: none; transition: transform var(--dur-3) var(--ease-out); }   /* in at 240ms, out at 180ms: done before pricecheck.js removes it (200ms) */
@media (min-width: 761px) { .pck-mod { align-items: center; } .pck-mp { border-radius: var(--r-l); } }
.pck-mx { all: unset; cursor: pointer; position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-act-in); background: var(--surface); font-size: var(--fs-d2); }
.pck-mx:focus-visible { outline: 2px solid var(--text); }
.pck-mh { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: var(--sp-4); align-items: center; padding-right: var(--sp-65); }
.pck-mh .pck-hcard { position: relative; width: 110px; aspect-ratio: 63 / 88; border-radius: var(--r-tag); overflow: hidden; transform: rotate(-3deg); box-shadow: 0 14px 30px #000b; }
.pck-mh .pck-hcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pck-mh > div { min-width: 0; display: grid; gap: var(--sp-05); } .pck-mh small { color: var(--mute); font-size: var(--fs-xs); }
.pck-ml { margin-top: var(--sp-2); font-size: var(--fs-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.pck-mp section { margin-top: var(--pad); } .pck-mp h4 { margin: 0 0 var(--sp-2); font: 700 var(--fs-m) var(--f-big); display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.pck-promini { color: var(--pro-ink); border: 1px solid transparent; background: linear-gradient(var(--deep), var(--deep)) padding-box, var(--holo) border-box; }
.pck-mchart { display: block; width: 100%; height: 70px; } .pck-mchart.up { color: var(--buy); } .pck-mchart.dn { color: var(--wait); }
.pck-mlo { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--mute); margin-top: var(--sp-05); }
.pck-mt { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: var(--sp-15); }
.pck-mt > div { padding: var(--sp-2) var(--sp-25); border-radius: var(--r-s); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pck-mt > div.on { box-shadow: inset 0 0 0 1.5px var(--buy); }
.pck-mt span { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--mute); } .pck-mt b { display: block; font: 400 var(--fs-d4) / 1.1 var(--fd-display, var(--f-big)); letter-spacing: .02em; margin-top: var(--sp-05); } .pck-mt small { display: block; font-size: var(--fs-label); color: var(--faint); }
.pck-msub { margin: 0; font-size: var(--fs-s); color: var(--mute); } .pck-msub b { color: var(--text); }
.pck-ms { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-1); }
.pck-ms li { display: grid; grid-template-columns: 64px 70px minmax(0, 1fr); gap: var(--sp-2); align-items: baseline; padding: var(--sp-15) 0; border-top: 1px solid var(--line); font-size: var(--fs-s); }
.pck-ms li:first-child { border-top: 0; } .pck-ms span { color: var(--mute); } .pck-ms small { color: var(--mute); font-size: var(--fs-xs); } .pck-ms a { color: var(--fair); }
.pck-mgo { margin-top: var(--sp-45); display: grid; place-items: center; text-decoration: none; }

/* ---------- the summary: each copy's price, yours to change ---------- */
.pck-rated li { grid-template-columns: 40px minmax(0, 1fr) 112px; align-items: center; }
.pck-rated .pck-t { display: grid; gap: var(--sp-05); } .pck-rated .pck-t small { white-space: normal; }
.pck-rated .pck-rt { justify-self: start; }
.pck-rated .s2-money { height: 44px; border-radius: var(--r-s); background: var(--deep); padding: 0 var(--sp-25); font-size: var(--fs-l); } .pck-rated .s2-money input { width: 100%; min-width: 0; padding: 0; font: 700 var(--fs-l) var(--f-big); }
.pck-mix + .pck-tip { margin: calc(-1 * var(--sp-05)) 0 var(--sp-2); }
.pck-ctl select { width: 128px; font-size: var(--fs-xs); padding: 0 var(--sp-2); text-overflow: ellipsis; }
.pck-ctl .pck-seg button { font-size: var(--fs-xs); }
.co-tray li { grid-template-areas: "i t p" "i c c" "i d d"; }
@media (min-width: 761px) { .co-tray li { grid-template-areas: "i t c p" "i d d d"; } }

/* ---------- price check, round 8: the app's own patterns only ---------- */
/* secondary actions on a card are the app's pill buttons (.btn-s), side by side */
.pck-acts3 { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-25); }
.co-tray .co-dup { grid-area: d; justify-self: start; margin-top: var(--sp-05); }
/* one line, always: the verdict or share under a card */
.pck-vd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: var(--sp-25) 0 0; }
.pck-tr.warn { color: var(--wait); background: color-mix(in srgb, var(--wait) 14%, transparent); }
.pck-assume { margin: 0; font-size: var(--fs-xs); color: var(--mute); }
/* a card whose PSA 10 sells for far more: a strip across its top in the sheet's own tiles (PSA 10, against raw, worth grading) */
.pck-gban { display: block; margin: calc(-1 * var(--sp-3)) calc(-1 * var(--sp-3)) var(--sp-3); padding: var(--sp-2); border-radius: var(--r) var(--r) 0 0; background: var(--raise); border-bottom: 1px solid var(--line); }
.pck-gban[data-pcgrade] { cursor: pointer; } .pck-gban:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.pck-list li [data-up]:empty { display: none; }
/* the summary: what each card is, as chips on one line */
.pck-cs { display: flex; gap: var(--sp-1); align-items: center; overflow: hidden; white-space: nowrap; margin-top: var(--sp-1); }
.pck-c { flex: none; background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; color: var(--mute); }
.pck-rated .pck-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* worth grading, in the card's breakdown */
.pck-modds { --vc: var(--mute); padding: var(--sp-35); border-radius: var(--r); background: color-mix(in srgb, var(--vc) 8%, var(--surface)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--vc) 50%, transparent); }
.pck-modds.v-buy { --vc: var(--buy); } .pck-modds.v-fair { --vc: var(--fair); } .pck-modds.v-wait { --vc: var(--wait); } .pck-modds .pck-vs { margin-bottom: var(--sp-2); }
.pck-msearch { margin-top: var(--sp-3); }
.pck-rated .pck-pic img { width: 40px; height: 56px; border-radius: var(--r-xs); } .pck-rated b[data-sinfo] { cursor: pointer; }


/* ---------- price check, round 9 ---------- */
/* the same pill, in the Wait colour when the set needs a look; a pill that can't be used yet says so by fading */
.btn-s.is-wait { color: var(--wait); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wait) 60%, transparent); background: color-mix(in srgb, var(--wait) 10%, var(--raise)); }
.btn-s:disabled { opacity: .45; cursor: not-allowed; box-shadow: inset 0 0 0 1px var(--line); }
.pck-assume.is-warn { color: var(--wait); }
/* the summary hero: worth on the left, the deal price on the right in the verdict's colour */
.pck-fh2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); } .pck-fh2:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* the summary's three: worth, your limit (what to counter with), the deal; a past check's two */
.pck-fh2 > div { min-width: 0; } .pck-fh2 span { display: block; font: 700 var(--fs-label) var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.pck-fh2 b { display: block; margin-top: var(--sp-05); font: 400 var(--fs-d6) / 1 var(--fd-display, var(--f-big)); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-fh2 .is-deal { text-align: right; } .pck-fh2 .is-deal b { color: var(--vc); }
@media (max-width: 400px) { .pck-fh2:has(> :nth-child(3)) b { font-size: var(--fs-d5); } }   /* three across on a phone: a step smaller so a figure ($1,234.56) is never cut */
.pck-final .pck-vh b { color: var(--vc); font-size: var(--fs-b); }
/* a summary row: the how-label sits above the price box, so the worth chip keeps its room */
.pck-sin { display: grid; gap: var(--sp-05); } .pck-sin small { font-size: var(--fs-label); font-weight: 700; color: var(--mute); text-align: right; white-space: nowrap; }
.pck-rated .pck-cs { flex-wrap: nowrap; overflow: hidden; } .pck-rated .pck-cs > * { flex: none; }
.pck-rated li { grid-template-columns: 40px minmax(0, 1fr) 104px; gap: var(--sp-25); } .pck-rated .s2-money { padding: 0 var(--sp-2); }
/* price check: add a card by name under the list; the Pro mini-tag can open the Pro sheet */
.pck-more { display: flex; margin-top: var(--sp-3); }
button.pck-promini { cursor: pointer; } button.pck-promini:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.pck-mp .co-q { margin-top: var(--sp-3); } .pck-mp .co-res { max-height: 52dvh; overflow: auto; }

/* ---------- past price checks (pastchecks.js) ---------- */
.pck-top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-25); padding-right: var(--sp-7); } .pck-top .eyebrow { margin: 0; } .pck-top .btn-s { flex: none; }
.pck-tr.seen { color: var(--mute); background: var(--raise); }
.pck-then { margin: 0; font-size: var(--fs-xs); color: var(--mute); } .pck-then b { color: var(--text); } .pck-then b.up, .pcx-now b.up { color: var(--buy); } .pck-then b.dn, .pcx-now b.dn { color: var(--wait); }
.pck-where { margin-top: var(--sp-4); } .pck-where .s2-field { margin: 0; min-width: 0; }
.pcx-now { margin: var(--sp-3) 0 0; font-size: var(--fs-s); color: var(--mute); } .pcx-now b { color: var(--text); }
.pcx-acts { position: static; margin: var(--sp-4) 0 0; padding: 0; background: none; border: 0; backdrop-filter: none; }
/* past checks as Holding rows (pastchecks.js): the price in its verdict's colour, the rest as Collection's */
html[data-look=feed] .sys .hold-c.r-buy { color: var(--buy); } html[data-look=feed] .sys .hold-c.r-fair { color: var(--fair); } html[data-look=feed] .sys .hold-c.r-wait { color: var(--wait); }
.pck-mp > .sys { margin-top: var(--sp-3); }
.pck-mp .locked { margin-top: var(--sp-5); }


/* ---------- recent sales on each card: one line, always there; green when your price is under all of them, amber over ---------- */
.pck-sold { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: var(--sp-2); width: 100%; min-height: 36px; margin-top: var(--sp-25); padding: 0 var(--sp-3);
  border-radius: var(--r-act); background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; }
.pck-sold > span:first-child { flex: none; font-weight: 600; color: var(--mute); }
.pck-soldv { display: flex; align-items: center; gap: var(--sp-15); min-width: 0; overflow: hidden; } .pck-soldv b { font: 700 var(--fs-s) var(--f-big); color: var(--text); } .pck-soldv i { font-style: normal; color: var(--faint); } .pck-soldv small { font-size: var(--fs-xs); color: var(--faint); }
.pck-sold::after { content: '›'; margin-left: auto; padding-left: var(--sp-15); font-size: var(--fs-l); color: var(--faint); }
.pck-sold.is-under { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--buy) 45%, transparent); } .pck-sold.is-under .pck-soldv b { color: var(--buy); }
.pck-sold.is-over { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wait) 45%, transparent); } .pck-sold.is-over .pck-soldv b { color: var(--wait); }
@media (hover: hover) and (pointer: fine) { .pck-sold:hover { box-shadow: inset 0 0 0 1px var(--mute); } } .pck-sold:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
/* a Pro figure, locked (ACCESS.proValue): the Pro mark in the figure's place, wherever a figure is locked */
.pro-val { display: inline-flex; align-items: center; gap: var(--sp-1); vertical-align: middle; cursor: pointer; white-space: nowrap; }
.pro-val .pck-promini { flex: none; }
.pck-sold .pck-promini { flex: none; }
.pck-chips { overflow: hidden; } .pck-chips .pck-tr { white-space: nowrap; max-width: 100%; overflow: hidden; flex: none; }

/* ---------- a copy's price row: labels on one line, then the price box, your limit with its % and the bin, all
   centred on the same 44px line (the % sat 8px low and overlapped the bin) ---------- */
.pck-pr { grid-template-columns: 112px minmax(0, 1fr) 44px; align-items: end; }
.pck-pr .pck-ask, .pck-pr .pck-lim { display: grid; grid-template-rows: auto 44px; row-gap: var(--sp-1); grid-template-columns: minmax(0, 1fr); align-items: center; min-width: 0; }
.pck-pr .pck-ask small, .pck-pr .pck-lim small { grid-column: auto; line-height: 17px; }
.pck-pr .pck-ask .s2-money { width: 112px; }
.pck-limr { display: flex; align-items: center; gap: var(--sp-15); min-width: 0; height: 44px; }
.pck-limr b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pck-limr select { flex: none; height: 32px; padding: 0 var(--sp-45) 0 var(--sp-2); background-position: right 6px center; }
@media (max-width: 360px) { .pck-pr { grid-template-columns: 100px minmax(0, 1fr) 40px; } .pck-pr .pck-ask .s2-money { width: 100px; } }
.pck-vdt.is-under { color: var(--buy); } .pck-vdt.is-over { color: var(--wait); }
.pck-vd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the limit and its % fit beside the price box: a slimmer % picker, the figure a touch smaller */
.pck-limr { gap: var(--sp-1); } .pck-limr b { font-size: var(--fs-b); } .pck-limr select { padding: 0 var(--sp-4) 0 var(--sp-15); font-size: var(--fs-xs); background-position: right 5px center; }
/* the bin: last on a copy's actions row, the same pill in the app's danger red; the price row is the price and your limit */
.btn-s.is-bad { color: var(--bad); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 55%, transparent); background: color-mix(in srgb, var(--bad) 9%, var(--raise)); }
@media (hover: hover) and (pointer: fine) { .btn-s.is-bad:hover { box-shadow: inset 0 0 0 1px var(--bad); } }
.pck-acts3 .pck-bin { margin-left: auto; padding: var(--sp-2) var(--sp-3); }
.pck-pr { grid-template-columns: 112px minmax(0, 1fr); }
@media (max-width: 360px) { .pck-pr { grid-template-columns: 100px minmax(0, 1fr); } }

/* ---------- the price check's segmented controls are the app's .seg (pulse-components): only their size here ---------- */
.pck-ctl .seg, .pck-pct .seg, .pcx-per { margin: 0; }
.pck-ctl .seg { flex: 1; min-width: 0; padding: var(--sp-05); } .pck-ctl .seg button { height: 34px; line-height: 34px; font-size: var(--fs-xs); font-weight: 700; }
.pck-ctl .seg .seg-ind, .pck-pct .seg .seg-ind, .pcx-per .seg-ind { top: 3px; bottom: 3px; }
.pck-pct .seg { padding: var(--sp-05); } .pck-pct .seg button { height: 32px; line-height: 32px; font-size: var(--fs-xs); }
.pck-ctl select { width: 104px; }
.pcx-per { margin-top: var(--sp-3); padding: var(--sp-05); } .pcx-per button { height: 32px; line-height: 32px; font-size: var(--fs-xs); }
/* your limit's % sits at the row's right edge, in line with the bin below */
.pck-limr label { margin-left: auto; }
/* your deals: the period, the report and where you buy */
.pcx-per { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: var(--sp-3); }
.pcx-per button { min-width: 0; padding: 0; height: 34px; font-size: var(--fs-xs); }
.pcx-rep { margin-top: var(--sp-3); display: grid; gap: var(--sp-3); }
.pcx-where { list-style: none; margin: 0; padding: 0; display: grid; }
.pcx-where li { display: grid; grid-template-columns: minmax(0, 1fr) 48px 76px 76px; column-gap: var(--sp-2); align-items: baseline; padding: var(--sp-2) 0; border-top: 1px solid var(--line); }
.pcx-where li:first-child { padding-top: 0; border-top: 0; } .pcx-where small { font-size: var(--fs-label); font-weight: 600; color: var(--faint); text-align: right; } .pcx-where small:first-child { text-align: left; }
.pcx-where b { min-width: 0; font-size: var(--fs-m); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcx-where span { text-align: right; white-space: nowrap; font: 400 var(--fs-xl)/1 var(--fd-display); letter-spacing: .02em; } .pcx-where .up { color: var(--buy); } .pcx-where .dn { color: var(--wait); }
.pcx-rep .pck-vs .t- b { color: var(--text); }
.pcx-rep .pck-vs > div { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Pro, at the right moment (after a deal): one quiet card in the holo frame, the app's pills ---------- */
.pro-moment { margin: var(--sp-4) 0 0; padding: var(--sp-35); border-radius: var(--r); display: grid; gap: var(--sp-2); justify-items: start; text-align: left; border: 1.5px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--holo) border-box; transition: opacity var(--dur-2); }
.pro-moment p { margin: 0; font-size: var(--fs-m); line-height: 1.45; color: var(--mute); } .pro-moment p b { color: var(--text); }
.pro-moment-acts { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.pro-moment.is-gone { opacity: 0; }

/* text-only buttons are gone: these are .btn-s pills; only where they sit is set here */
.cel-acts .btn-s { justify-content: center; }

/* the card details: what you already own of this card (the collection's own copy list, inside the pop-up) */
.pck-own { display: grid; gap: var(--sp-2); } .pck-own h4 { margin-bottom: 0; }
.pck-own .pck-vs > div { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pck-own .pck-vs .t- b { color: var(--text); }
.pck-own .co-list { margin: 0; }
/* raw and graded copies apart: the app's segmented control (layout only here) */
.pck-ownseg { margin: 0; } .pck-ownp { display: grid; gap: var(--sp-2); } .pck-ownp[hidden] { display: none; }

.pck-vs b svg { vertical-align: 1px; }
.pck-chg { font-weight: 800; white-space: nowrap; } .pck-chg.up { color: var(--buy); } .pck-chg.dn { color: var(--wait); } .pck-chg svg { vertical-align: 0; margin-right: var(--sp-05); }
.pck-paid.up { color: var(--buy); } .pck-paid.dn { color: var(--wait); }

/* PSA slabs: the cert read off the label, in the scanner and on the copy */
.pck-verify { margin-top: var(--sp-2); padding: var(--sp-15) var(--sp-3); font-size: var(--fs-xs); justify-self: start; }

/* a binder page in view: the chip counts the cards; the check list before they're added (the scanner's own panel and rows) */

/* a card still to scan from the page: its own picture from the photo, how many left */

/* the page map: the photo, a mark on each card (green tick added/ready, amber ! to fix, grey left out) */
/* the page review takes the whole screen: the photo as big as it fits between the title and the buttons */
/* every card of the page by name under the photo (its own scroll, so the screen never does), the buttons kept in view */

/* the price check, tightened for phones (2026-10-24): nothing wider than a 320-430 px screen (Safari draws text and
   form controls a little wider than Chrome, so every fixed width here can give), less padding, one line per label */
#sheet2 .pck-sheet .pck-h { padding-right: 0; }
.pck-sheet .pck-top .eyebrow { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-sheet .pck-lede { margin-bottom: var(--sp-3); }
.pck-sheet .pck-hcard { width: 84px; }
.pck-sheet .pck-sum { padding: var(--sp-35); }
.pck-sheet .pck-bund { grid-template-columns: minmax(0, 1fr) minmax(96px, 128px); }
.pck-sheet .pck-bund > span:first-child, .pck-sheet .pck-bund small { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-sheet .pck-bund .s2-money { height: 44px; min-width: 0; }
.pck-sheet .pck-bund .s2-money input:focus-visible { outline: none; } .pck-sheet .pck-bund .s2-money:focus-within { border-color: var(--fair); }
.pck-sheet .pck-sum .pck-pct { flex-wrap: nowrap; } .pck-sheet .pck-sum .pck-pct > span { flex: none; } .pck-sheet .pck-pctt { display: none; }
.pck-sheet .pck-sum .pck-pct .pck-seg { min-width: 0; } .pck-sheet .pck-sum .pck-pct .pck-seg button { padding: 0 var(--sp-15); font-size: var(--fs-xs); }
.pck-sheet .pck-list li { padding: var(--sp-25); min-width: 0; }
.pck-sheet .pck-list li > * { min-width: 0; }
.pck-sheet .pck-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--sp-25); }
.pck-sheet .pck-pic img { width: 44px; height: 61px; }
.pck-sheet .pck-w { width: auto; max-width: 96px; }
.pck-sheet .pck-ctl { gap: var(--sp-15); margin-top: var(--sp-25); }
.pck-sheet .pck-ctl .seg { flex: 1 1 0; min-width: 0; } .pck-sheet .pck-ctl .seg button { min-width: 0; padding: 0 var(--sp-05); font-size: var(--fs-xs); }
.pck-sheet .pck-ctl select { width: 78px; min-width: 0; flex: none; padding: 0 var(--sp-2); }
.pck-sheet .pck-pr { grid-template-columns: minmax(84px, 112px) minmax(0, 1fr); gap: var(--sp-2); margin-top: var(--sp-25); padding-top: var(--sp-25); }
.pck-sheet .pck-pr .pck-ask .s2-money { width: 100%; min-width: 0; }
.pck-sheet .pck-acts3 { gap: var(--sp-15); }
.pck-sheet .pck-bar { gap: var(--sp-25); }
.pck-sheet .pck-barr { font-size: var(--fs-xs); }
.pck-sheet .pck-t b { height: auto; min-height: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pck-sheet .pck-chips:empty { display: none; } .pck-sheet .pck-chips { min-height: 0; margin-top: var(--sp-1); }
.pck-sheet .pck-acts { z-index: 5; }
.pck-sheet .pck-soldv { flex: 1 1 auto; } .pck-sheet .pck-soldv .pro-val { min-width: 0; display: flex; align-items: center; gap: var(--sp-15); } .pck-sheet .pck-promini { flex: none; }
.pck-sheet .pck-acts3 { flex-wrap: nowrap; } .pck-sheet .pck-acts3 .btn-s { min-width: 0; white-space: nowrap; }

/* the price check: each card is its row and one summary line (condition · your price · limit); its controls open from
   the summary. A lot of five took three screens of open controls (critique 2026-10-24) */
.pck-sheet .pck-list li:not(.is-open) .pck-detail { display: none; }
.pck-sum { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); width: 100%; min-height: 44px; margin-top: var(--sp-2); padding: 0 var(--sp-3);
  border-radius: var(--r-act-in); background: var(--deep); font-size: var(--fs-s); color: var(--mute); }
.pck-sum span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pck-sum b { color: var(--text); font-weight: 600; }
.pck-sum [data-sum] { display: flex; flex: 1 1 auto; align-items: center; gap: var(--sp-2); } .pck-sum [data-sum] > .pck-cs { flex-wrap: nowrap; overflow: hidden; } .pck-sum [data-sum] > :last-child { flex: none; margin-left: auto; }   /* a copy closed: its chips, then its limit at the end (pricecheck.js update) */
.pck-sum:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.pck-chev { flex: none; transition: transform var(--dur-2) var(--ease-out); } .is-open .pck-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .pck-chev { transition: none; } .pck-mod .pck-mp, .pck-mod.on .pck-mp { transform: none; transition: none; } }

/* the sign-up panel's example of what the page shows (real catalogue prices, labelled Example; critique 2026-10-24) */
.acc-prev { display: grid; gap: var(--sp-2); margin-top: var(--sp-2); }
.acc-prev-h { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); font-size: var(--fs-s); color: var(--mute); } .acc-prev-h b { color: var(--text); }
.acc-prev .list-card img { object-fit: contain; border-radius: var(--r-act-in); background: #fff; padding: var(--sp-05); box-sizing: border-box; }
.acc-prev .list-card .row > span { min-width: 0; } .acc-prev .list-card :is(b, small) { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .acc-prev .list-card b { font-size: var(--fs-m); font-weight: 600; } .acc-prev .list-card small { font-size: var(--fs-xs); color: var(--mute); }
/* the scanner's On eBay now: how each is sold (kit .fmt-k, inline) across the top, then its price and title */
.pck-eb li { grid-template-columns: 70px minmax(0, 1fr); } .pck-eb .pck-how { grid-column: 1 / -1; display: flex; gap: var(--sp-1); flex-wrap: wrap; }
/* an offer's decision line (offerList): its verdict tag and how far it is from the good or top price, in that verdict's
   colour; a warning on its own line; the rest one quiet line. On a wide row the button keeps the right-hand column */
.s2-row.of .of-say, .s2-row.of .of-warn, .s2-row.of .of-meta { grid-column: 1 / 3; }
/* what a listing costs in parts (payCells): price, shipping, tax, three across under its name and figure */
.s2-row.of > .ss-stats { grid-column: 1 / 3; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.s2-row.of .s2-go, .s2-row.of .s2-acts { grid-column: 3; grid-row: 1 / span 4; align-self: center; }
.of-say { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; margin: 0; }
.of-say b { font-size: var(--fs-m); font-weight: 700; line-height: 1.3; }
.of-say.t-buy b { color: var(--buy); } .of-say.t-fair b { color: var(--fair); } .of-say.t-wait b { color: var(--wait); }
.of-warn { margin: 0; font-size: var(--fs-s); font-weight: 600; color: var(--wait); }
.of-meta { display: block; font-size: var(--fs-xs); color: var(--mute); line-height: 1.45; }
@media (max-width: 760px) { .s2-row.of .of-say, .s2-row.of .of-warn, .s2-row.of .of-meta, .s2-row.of .s2-go, .s2-row.of .s2-acts { grid-column: 1 / -1; grid-row: auto; } }
/* where you sell: the platform choice in the Sell and bulk sheets (portfolio and the product page both open them) */
.pf-plat { display: flex; flex-direction: column; gap: var(--sp-15); margin: var(--sp-3) 0; }
.pf-plat button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; min-height: 60px; padding: var(--sp-25) var(--sp-3); border-radius: var(--r-act); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pf-plat button[aria-checked=true] { box-shadow: inset 0 0 0 2px var(--buy); background: color-mix(in srgb, var(--buy) 7%, var(--surface)); } .pf-plat button:focus-visible { box-shadow: 0 0 0 2px var(--text); }
.pf-plat b { display: block; font-weight: 600; } .pf-plat small { font-size: var(--fs-xs); color: var(--mute); } .pf-th { text-align: right; } .pf-th b { font: 700 var(--fs-lead) var(--f-big); }
.pf-plat small.pf-pn { color: var(--faint); font-size: var(--fs-label); }
.pf-plat button small { display: block; }
/* Sell and Sell target: quick prices as tiles (a label over the price), the two figures that decide (what you keep, the
   profit), and one line on how the price sits against the market */
.st-pre { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--sp-2); margin-top: var(--sp-25); }
.st-pre button { all: unset; box-sizing: border-box; cursor: pointer; min-height: 52px; display: flex; flex-direction: column; justify-content: center; gap: var(--sp-05); padding: var(--sp-15) var(--sp-25);
  border-radius: var(--r-act-in); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.st-pre button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.st-pre small { font-size: var(--fs-xs); font-weight: 600; color: var(--mute); } .st-pre b { font: 700 var(--fs-l) var(--f-big); color: var(--text); }
.st-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--sp-2); margin-top: var(--sp-3); }
.st-f { display: flex; flex-direction: column; gap: var(--sp-1); padding: var(--sp-25) var(--sp-3); border-radius: var(--r-act-in); background: var(--surface); }
.st-f small { font-size: var(--fs-xs); font-weight: 600; color: var(--mute); }
.st-f b { font: 700 var(--fs-d4) var(--f-big); color: var(--text); } .st-f b.up { color: var(--buy); } .st-f b.dn { color: var(--wait); }
.st-f b i { margin-left: var(--sp-15); font: 600 var(--fs-s) var(--f-ui); font-style: normal; }
.st-reach { margin-top: var(--sp-25); font-size: var(--fs-s); line-height: 1.45; color: var(--mute); } .st-reach b { color: var(--text); }
.st-reach .label { margin-right: var(--sp-15); } .st-reach small { display: block; margin-top: var(--sp-1); font-size: var(--fs-xs); color: var(--faint); }
/* StockHolo's prices: the two figures read as values, not fields */
.pr-n .s2-money:has(input:disabled) { border-color: transparent; background: none; padding-left: 0; } .pr-n input:disabled { opacity: 1; -webkit-text-fill-color: var(--text); }

/* a sheet's title takes focus when it opens, so a screen reader starts there; that isn't a keyboard move, so no ring */
#sheet2 [tabindex="-1"]:focus { outline: none; box-shadow: none; }
