/* Bhalophone Store. Built on the editorial site's tokens (pages.py :root):
   teal carries actions and state, amber is only the price, --r/--r-sm radii.
   Product register: fixed rem type, spacing on a 4px grid, dense where the
   owner works. Errors get their own red so amber keeps meaning "price". */

:root { --st-err: #a8321f; --st-err-soft: rgba(168, 50, 31, .07); --st-out: cubic-bezier(.23, 1, .32, 1); --st-drawer: cubic-bezier(.32, .72, 0, 1); }
.st-width { width: min(100% - 32px, 1120px); margin-inline: auto; }
.st-main { padding-bottom: 56px; }
.st-main:focus { outline: none; }
.st-main [id] { scroll-margin-top: 136px; }
.st-main :is(h1, h2, h3):not(:where(.grp, .kspecs *, .faq *)) { margin: 0; color: var(--ink); text-wrap: balance; letter-spacing:0; }
.st-main h1 { font-size: 2.25rem; line-height: 1.12; font-weight: 600; }
.st-main h2:not(:where(.grp, .kspecs *, .faq *)) { font-size: 1.5rem; line-height: 1.2; font-weight: 600; }
.st-main h3:not(:where(.kspecs *, .faq *)) { font-size: 1.125rem; line-height: 1.3; font-weight: 560; }
/* zero weight, so a block's own margin always wins over this reset */
:where(.st-main) :is(p, dl, dd, ol, ul, figure):not(:where(.kspecs *, .faq *)) { margin: 0; }
.st-main ol, .st-main ul { padding: 0; list-style: none; }
.st-main a { color: var(--lnk); text-underline-offset: 3px; }
.st-main a:hover { color: var(--teal); }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[lang="bn"] { font-family: 'Anek Bangla', var(--f-sans), sans-serif; }

/* ---- preview notice -------------------------------------------------- */
.st-notice { background: var(--tealL); border-bottom: 1px solid var(--rule); color: var(--tealD); font-size: .8125rem; }
.st-notice .st-width { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; min-height: 36px; }
.st-notice p { margin: 0; }
.st-notice-links { display: flex; gap: 4px 20px; margin-left: auto; }
.st-notice a { display: inline-flex; align-items: center; min-height: 36px; color: var(--tealD); font-weight: 560; text-underline-offset: 3px; }
.st-notice-owner { background: var(--panel); color: var(--onp); border-bottom: 0; }
.st-notice-owner .st-width { min-height: 44px; padding-block: 4px; }

/* ---- shared pieces --------------------------------------------------- */
.st-lede { margin-top: 16px; max-width: 58ch; font-size: 1.0625rem; line-height: 1.6; color: var(--tx); text-wrap: pretty; }
.st-small { margin-top: 12px; max-width: 60ch; font-size: .875rem; line-height: 1.55; color: var(--mut); text-wrap: pretty; }
.st-small a { color: var(--lnk); }
/* The unit code is the store's one signature: it is printed on the sticker on
   the phone, quoted on Facebook, and keys the owner's ledger. */
.st-tag { display: inline-flex; align-items: center; width: fit-content; min-height: 24px; padding: 0 8px; border: 1px solid var(--faint);
  border-radius: 4px; background: var(--card); font-size: .8125rem; font-weight: 560; color: var(--ink2); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.st-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .875rem; color: var(--mut); }
.st-variant { margin-top: 4px; font-size: .9375rem; color: var(--mut); }
.st-stamp { font-size: .875rem; color: var(--mut); font-variant-numeric: tabular-nums; }
.st-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 8px; }
.st-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 560; }
.st-links a::after { content: "→"; margin-left: 8px; }
.st-contact { margin-top: 4px; }

.st-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px;
  border: 1px solid var(--teal); border-radius: var(--r-sm); background: var(--teal); color: #fff; font: inherit; font-size: .9375rem;
  font-weight: 560; line-height: 1.25; text-decoration: none; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out, transform .16s var(--st-out); }
.st-main .st-button:visited { text-decoration: none; }
.st-button:hover { background: var(--tealD); color: #fff; }
.st-button:active { transform: scale(.97); }
.st-button[disabled] { opacity: .6; cursor: progress; }
.st-button-wide { width: 100%; margin-top: 20px; }
.st-button:focus-visible, .st-main a:focus-visible, .st-notice a:focus-visible, .st-choice input:focus-visible,
.st-field input:focus-visible, .st-field textarea:focus-visible, .st-field select:focus-visible, .st-consent input:focus-visible,
.st-more summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* state and price travel together, at the same size */
.st-buyline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; font-size: 1.125rem; }
.st-buyline-lg { margin-top: 16px; font-size: 1.25rem; }
.st-status { display: inline-flex; align-items: center; gap: 8px; padding: 2px 8px; border-radius: var(--r-sm); font-size: 1em; font-weight: 560; line-height: 1.4; white-space: nowrap; }
.st-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st-status.is-available { color: var(--tealD); background: var(--tealL); }
.st-status.is-hold { color: var(--acd); background: var(--amsoft); }
.st-status.is-sold { color: var(--ink2); background: var(--tone); }
.st-status.is-request { color: var(--tealD); background: var(--card); box-shadow: inset 0 0 0 1px var(--tint2); }
.st-status.is-request::before { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.st-price { font-size: 1em; font-weight: 600; color: var(--acd); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-price.st-estimate { color: var(--ink2); font-weight: 560; }

.st-callout { margin-top: 20px; padding: 16px; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--card); }
.st-callout p { margin-top: 4px; }
.st-callout-warn { background: var(--st-err-soft); border-color: rgba(168, 50, 31, .3); color: var(--ink); }
.st-callout-ok { background: var(--tealL); border-color: var(--tint2); color: var(--ink); }
.st-callout-note { padding: 12px 16px; background: var(--tealL); border-color: var(--tint2); color: var(--ink2); font-size: .9375rem; }
.st-callout:focus { outline: 2px solid var(--teal); outline-offset: 2px; }

.st-section { margin-top: 56px; }
.st-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 20px; }
.st-h-gap { margin-bottom: 20px !important; }

/* ---- storefront ------------------------------------------------------ */
/* The store band's teal dot paper and real cutouts, with the slip every phone
   is checked against in front: white paper, the logo's tick on each line. */
.st-hero { position: relative; display: grid; align-items: stretch; }
.st-hero-copy { align-self: center; padding-block: 44px; }
.st-main .st-hero h1 { max-width: 12ch; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.06; }
.st-hero p { margin-top: 16px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink2); }
.st-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 24px !important; }
.st-hero-art { position: relative; display: grid; align-items: center; justify-items: end; padding-block: 32px; }
.st-hero-phones { position: absolute; left: -20px; bottom: -64px; width: 352px; height: auto; }
.st-used-feature { margin-top: 40px; }
.st-used-feature .st-section-head { flex-wrap: nowrap; align-items: center; margin-bottom: 12px; }
.st-used-feature .st-more-link { flex: none; }
.st-used-feature .st-section-head > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.st-used-feature .st-stockpill, .st-collection-toolbar .st-stockpill { margin-top: 0; }
.st-units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.st-unit { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--card);
  border: 1px solid var(--rule); border-radius: var(--r); }
.st-unit:hover, .st-unit:focus-within { border-color: var(--teal); }
.st-unit-media { position: relative; aspect-ratio: 1.1; border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0;
  background: var(--bg); overflow: hidden; }
.st-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px 12px 24px; }
.st-photo-missing { display: block; background: var(--tone); }
.st-media-note { position: absolute; inset: auto auto 8px 8px; padding: 2px 6px; border-radius: var(--r-sm);
  background: var(--card); color: var(--ink2); font-size: .6875rem; font-weight: 560; line-height: 1.45; }
.st-unit-copy { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.st-main .st-unit h3 { font-size: 1rem; line-height: 1.25; text-wrap: wrap; overflow-wrap: anywhere; }
.st-unit h3 a { display: block; color: var(--ink); text-decoration: none; }
.st-unit h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.st-unit h3 a:focus-visible { outline: none; }
.st-unit h3 a:focus-visible::after { outline: 2px solid var(--teal); outline-offset: 2px; }
.st-unit .st-variant { flex: 1; padding-bottom: 6px; font-size: .8125rem; line-height: 1.45; }
.st-unit .st-buyline { gap: 4px 8px; }
.st-unit .st-status { gap: 4px; padding-inline: 6px; font-size: .75rem; }
.st-unit .st-status::before { width: 6px; height: 6px; }
.st-unit .st-meta { gap: 4px 8px; font-size: .75rem; }
.st-unit .st-grade { min-height: 20px; padding: 0; background: transparent; color: var(--mut); font-size: inherit; }

.st-empty { padding: 28px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); }
.st-empty p { margin-top: 8px; max-width: 60ch; }

.st-recent { margin-top: 40px; padding: 20px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.st-main .st-recent h2 { font-size: 1rem; }
.st-recent ul { margin-top: 8px !important; }
.st-recent li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.st-recent li a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-weight: 560; }
.st-recent li a span, .st-recent li > span { color: var(--mut); font-weight: 500; font-variant-numeric: tabular-nums; }

.st-independent { margin-top: 40px !important; max-width: 60ch; font-size: .875rem; color: var(--mut); }

/* ---- unit and accessory pages ----------------------------------------- */
.st-back { margin: 24px 0 20px; }
.st-main .st-back a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding-right: 8px; color: var(--ink); font-size: 1.0625rem; font-weight: 560; text-decoration: none; }
.st-back a > span:first-child { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--st-well, #f0f3f2); transition: background-color .15s ease-out, transform .16s var(--st-out); }
.st-back svg, .st-pagination svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-back a:hover > span:first-child { background: var(--tealL); color: var(--tealD); }
.st-back a:active > span:first-child { transform: scale(.94); }
.st-pagination .st-chip { gap: 6px; }
.st-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; }
.st-gallery-main { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--tealL); overflow: hidden; }
.st-unit-detail { gap: 24px; }
.st-unit-detail .st-gallery-main { aspect-ratio: 1.15; border: 1px solid var(--rule); background: var(--card); }
.st-gallery-main .st-photo { padding: 16px 20px 24px; }
.st-gallery-main figcaption { border: 1px solid var(--rule); background: var(--card); color: var(--ink2); }
.st-gallery-main .st-media-note { inset: auto auto 12px 12px; padding: 4px 8px; font-size: .75rem; }
.st-unit-buy { min-width: 0; padding: 24px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.st-unit-buy .st-buyline { margin-top: 12px; }
.st-unit-buy .st-small { margin-top: 8px; }
.st-unit-buy .st-button-wide { margin-top: 12px; }
.st-unit-buy .st-price { font-size: 1.25em; }
.st-unit-buy .st-status { font-size: .875rem; }
.st-buy h1 { margin-top: 8px; }

/* Phones only: once the main request button has scrolled away, a bar keeps
   price and action in reach. Hidden on wider screens, where the buy panel stays near. */
.st-sticky { display: none; }

/* ---- forms ------------------------------------------------------------ */
.st-form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding-top: 16px; }
.st-form { max-width: 620px; margin-top: 20px; }
.st-form-aside { padding: 20px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.st-main .st-form-aside h2 { font-size: 1.125rem; }
.st-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 16px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.st-summary > div { display: grid; gap: 3px; min-width: 0; }
.st-summary > div:only-child { grid-column: 1 / -1; }
.st-summary-photo { position: relative; width: 88px; height: 104px; border-radius: 14px; overflow: hidden; background: #f1f3f2; }
.st-summary-photo .st-photo { padding: 6px; }
.st-summary .st-buyline { margin-top: 6px; font-size: 1.25rem; }
.st-summary .st-buyline .st-price { color: var(--ink); }
.st-summary .st-status { font-size: .75rem; border-radius: var(--r-pill); }
.st-summary strong { color: var(--ink); font-size: 1.0625rem; }
.st-summary div > span:not(.st-price, .st-status) { color: var(--mut); font-size: .875rem; line-height: 1.4; }
legend [lang="bn"], label [lang="bn"] { font-weight: 500; color: var(--mut); margin-left: 4px; }
.st-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.st-field { margin-top: 20px; min-width: 0; }
.st-fieldset { border: 0; padding: 0; margin-inline: 0; }
.st-field > label, .st-fieldset > legend { display: block; padding: 0; font-weight: 560; color: var(--ink); font-size: .9375rem; }
.st-opt { font-weight: 500; color: var(--mut); font-size: .8125rem; }
.st-hint { margin-top: 4px !important; font-size: .8125rem; color: var(--mut); }
.st-field input, .st-field textarea, .st-field select { display: block; width: 100%; min-height: 48px; margin-top: 8px; padding: 12px;
  border: 1px solid var(--mut2); border-radius: var(--r-sm); background: var(--card); color: var(--ink); font: inherit; font-size: 1rem; }
.st-field textarea { min-height: 88px; resize: vertical; line-height: 1.5; }
.st-field.has-error input, .st-field.has-error textarea { border: 2px solid var(--st-err); }
.st-error { margin-top: 4px !important; font-size: .875rem; font-weight: 560; color: var(--st-err); }
.st-error::before { content: "! "; font-weight: 600; }
.st-choice-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); gap: 0 16px; margin-top: 4px; }
.st-choice { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: .9375rem; color: var(--ink2); cursor: pointer; }
.st-choice input, .st-consent input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--teal); }
.st-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--card); line-height: 1.5; cursor: pointer; }
.st-consent input { margin-top: 2px; }
.st-consent.has-error { border: 2px solid var(--st-err); }
.st-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-error-summary { margin-top: 20px; padding: 16px; border: 2px solid var(--st-err); border-radius: var(--r-sm); background: var(--st-err-soft); }
.st-main .st-error-summary h2 { font-size: 1rem; }
.st-error-summary ul { margin-top: 4px !important; }
.st-error-summary li { padding: 4px 0; }
.st-main .st-error-summary a { color: var(--st-err); font-weight: 560; }
.st-error-summary:focus { outline: 2px solid var(--teal); outline-offset: 2px; }
[data-show-when][hidden] { display: none; }

/* ---- status page ------------------------------------------------------ */
.st-status-page { max-width: 720px; margin-inline: auto; padding-top: clamp(24px, 5vw, 48px); }
.st-status-card { padding: clamp(16px, 4vw, 28px); border: 1px solid var(--rule);
  border-radius: var(--r); background: var(--card); box-shadow: var(--sh-lift); }
.st-status-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; justify-content: space-between; }
.st-status-card .st-status-item { margin-top: 4px; color: var(--mut); }
.st-status-card .st-status-next { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule); }
.st-status-activity { margin-block: 28px 16px; }
.st-activity-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline;
  gap: 0 12px; position: relative; padding: 10px 0 10px 20px; margin-left: 5px; border-left: 1px solid var(--rule); }
.st-activity-list li::before { content: ""; position: absolute; inset: 18px auto auto -4px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--mut2); }
.st-activity-list li:first-child::before { background: var(--teal); }
.st-activity-list time { font-size: .875rem; color: var(--mut); }
@media (max-width: 480px) {
  .st-activity-list li { grid-template-columns: minmax(0, 1fr); }
}
.st-quote { margin-top: 20px; padding: 20px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.st-main .st-quote h2 { margin-bottom: 8px; font-size: 1.125rem; }
.st-quote dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.st-quote-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 12px 0 8px !important; }
.st-quote-total span { font-weight: 560; color: var(--ink); }
.st-quote-total strong { font-size: 1.75rem; font-weight: 600; color: var(--acd); font-variant-numeric: tabular-nums; }
.st-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.st-inline { display: inline; margin: 0; }
.st-timeline { margin-top: 12px !important; border-top: 1px solid var(--rule); }
.st-timeline li { display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: 0 16px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.st-timeline li > span { color: var(--mut); font-variant-numeric: tabular-nums; font-size: .875rem; }
.st-timeline li p, .st-timeline li small { grid-column: 2; color: var(--mut); font-size: .8125rem; }


/* ---- owner ------------------------------------------------------------ */
.st-owner-bar .hnav a.on { font-weight: 560; }
.st-owner .st-main h1 { font-size: 1.75rem; }
.st-owner .st-main h2 { font-size: 1.125rem; }
.st-owner .st-main h3 { font-size: 1rem; }
.st-owner-head { padding-top: 24px; }
.st-owner-head > p { margin-top: 4px; color: var(--mut); }
.st-owner-head h1 { margin-top: 8px; }
.st-owner-section { margin-top: 32px; }
.st-owner-section > h2 { margin-bottom: 12px; }
.st-owner-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.st-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-sm); font-size: .9375rem; }
.st-table th { padding: 8px 12px; text-align: left; font-size: .8125rem; font-weight: 560; color: var(--mut); border-bottom: 1px solid var(--rule); }
.st-table td { padding: 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.st-table td small { display: block; margin-top: 2px; color: var(--mut); font-size: .8125rem; }
.st-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.st-table .is-low { color: var(--st-err); font-weight: 560; }
.st-table a { font-weight: 560; }
.st-queue .st-next a { display: inline-flex; min-height: 24px; }
.st-table tr.overdue td[data-label="Due"] { color: var(--st-err); font-weight: 560; }
.st-table tr.overdue td[data-label="Due"] small { color: var(--st-err); }
.st-quick { display: inline-flex; gap: 12px; margin-left: 8px; }
.st-quick a { font-weight: 600; }
.st-table-tight { max-width: 320px; }
.st-empty-line { padding: 16px; border: 1px dashed var(--faint); border-radius: var(--r-sm); color: var(--mut); }
.st-money { border-top: 1px solid var(--rule); }
.st-money div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.st-money dt { color: var(--ink2); }
.st-money dd { text-align: right; font-size: 1.25rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.st-money dd small { display: block; font-size: .75rem; font-weight: 500; color: var(--mut); }
.st-form-compact { margin-top: 0; }
.st-form-compact .st-field { margin-top: 12px; }
.st-form-compact .st-button { margin-top: 16px; }
.st-closed li { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.st-closed small { color: var(--mut); }
.st-owner-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: start; }
.st-owner-detail > .st-action-list { grid-column: 2; grid-row: 1; margin-top: 32px; }
.st-owner-detail > .st-owner-info { grid-column: 1; grid-row: 1; }
.st-owner .is-low { color: var(--st-err); }
.st-kv div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.st-kv dt { color: var(--mut); }
.st-kv dd { color: var(--ink); overflow-wrap: anywhere; }
.st-action-list { display: grid; gap: 12px; }
.st-action { padding: 16px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.st-action.is-primary { border-color: var(--teal); }
.st-action.has-error { border: 2px solid var(--st-err); }
.st-action .st-field { margin-top: 12px; }
.st-action .st-button { margin-top: 12px; }
.st-action > .st-button:first-child, .st-action > input + input + .st-button { margin-top: 0; }
.st-checklist { display: grid; margin-top: 8px; }
.st-checklist .st-choice { min-height: 40px; font-size: .875rem; }
.st-checklist .has-error { color: var(--st-err); font-weight: 560; }
.st-more { border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.st-more summary { display: flex; align-items: center; min-height: 48px; padding: 0 16px; font-weight: 560; color: var(--tealD); cursor: pointer; }
.st-more[open] summary { border-bottom: 1px solid var(--rule); }
.st-more .st-action { border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; }
.st-more .st-action:last-child { border-bottom: 0; }

/* ---- owner header on phones ------------------------------------------ */
@media (max-width: 520px) {
  header.site.st-owner-bar { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; }
  .st-owner-bar .hnav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; }
  .st-owner-bar .hnav a { padding-inline: 12px; font-size: .76rem; }
  .st-owner-bar .btxt { display: block; }
  .st-owner-bar .btxt em { display: none; }
}

@media (max-width: 860px) {
  .st-main [id] { scroll-margin-top: 88px; }
  .st-units { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-hero { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 16px; padding: 0 20px; border-radius: 24px; }
  .st-hero-copy { padding-block: 24px 0; }
  .st-main .st-hero h1 { max-width: none; }
  .st-hero p { margin-top: 8px; font-size: 1rem; }
  .st-hero-actions { gap: 8px 16px; margin-top: 20px !important; }
  .st-hero-art { display: block; }
  .st-hero-phones { inset: 26px 0 auto; max-width: 100%; width: min(300px, 88%); margin-inline: auto; }
  .st-detail, .st-form-layout, .st-owner-detail, .st-owner-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .st-owner-detail > .st-action-list, .st-owner-detail > .st-owner-info { grid-column: 1; grid-row: auto; }
  .st-owner-detail > .st-action-list { margin-top: 20px; }
  .st-form-aside.is-summary { order: -1; }
  .st-form-aside.is-summary .st-summary { padding-bottom: 0; border-bottom: 0; }
  .st-form-layout { gap: 20px; }
}
@media (max-width: 600px) {
  .st-main h1 { font-size: 1.75rem; }
  .st-main h2 { font-size: 1.25rem; }
  body:has(.st-owner-bar) .st-main [id] { scroll-margin-top: 152px; }
  .st-section { margin-top: 44px; }
  .st-used-feature { margin-top: 28px; }
  .st-units { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .st-unit-copy { padding: 10px; }
  .st-unit .st-photo { padding: 4px 4px 18px; }
  .st-main .st-unit h3 { font-size: .9375rem; }
  .st-unit .st-buyline { font-size: 1.0625rem; gap: 4px 6px; }
  .st-unit .st-status { font-size: .6875rem; }
  .st-unit .st-meta { font-size: .6875rem; }
  .st-gallery-main { aspect-ratio: 16 / 10; }
  .st-unit-detail { gap: 16px; }
  .st-unit-detail .st-gallery-main { aspect-ratio: 1.25; }
  .st-unit-buy { padding: 16px; }
  .st-row { grid-template-columns: minmax(0, 1fr); }
  .st-timeline li { grid-template-columns: minmax(0, 1fr); }
  .st-timeline li p, .st-timeline li small { grid-column: 1; }
  .st-notice .st-width { padding-block: 4px; }
  .st-notice-links { margin-left: 0; }
  .st-table:not(.st-table-tight) thead { display: none; }
  .st-table:not(.st-table-tight), .st-table:not(.st-table-tight) tbody, .st-table:not(.st-table-tight) tr { display: block; width: 100%; }
  .st-table:not(.st-table-tight) tr { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-bottom: 1px solid var(--rule); }
  .st-table:not(.st-table-tight) td { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 0; border: 0; }
  .st-table:not(.st-table-tight) td::before { content: attr(data-label); font-size: .8125rem; font-weight: 560; color: var(--mut); }
  .st-table:not(.st-table-tight) td small { grid-column: 2; }
  .st-table:not(.st-table-tight) .num { text-align: left; }
  .st-queue td.st-next { display: block; order: -1; font-size: 1rem; }
  .st-queue td.st-next::before { content: none; }
  .st-queue td.st-next a { min-height: 44px; align-items: center; }
  .st-queue td[data-label="Ref"] { display: none; }
  .st-owner-bar .hnav { display: flex; }
  .st-sticky { position: fixed; inset: auto 0 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--rule);
    box-shadow: 0 -8px 24px -16px rgba(var(--rgb-ink), .35); transition: transform .2s ease-out; }
  .st-sticky.is-hidden { transform: translateY(110%); }
  .st-sticky p { display: grid; line-height: 1.3; }
  .st-sticky strong { color: var(--ink); font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
  .st-sticky p span { font-size: .8125rem; color: var(--mut); }
  .st-sticky .st-button { min-width: 140px; }
  .has-sticky .st-main { padding-bottom: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-button { transition: none; }
  .st-button:active { transform: none; }
}

/* ==== the gadget store and the store bar ================================ */
.js .st-js-hide { display: none; }
.st-filterform select:focus-visible, .st-bagline-qty select:focus-visible,
.st-qty select:focus-visible, .st-linkbutton:focus-visible, .st-swatch input:focus-visible + span, .st-tile:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.st-bagcount { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; border-radius: var(--r-pill);
  background: var(--teal); color: #fff; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.st-added { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.st-added a { font-weight: 560; }

.st-trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px !important; padding: 12px 16px !important;
  border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); font-size: .9375rem; color: var(--ink2); }
.st-trust li { display: inline-flex; align-items: center; gap: 8px; }
.st-trust li::before { content: ""; width: 12px; height: 7px; margin-top: -4px; border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

.st-tiles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.st-tile { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 52px; padding: 4px 16px 4px 10px;
  border: 1px solid var(--rule); border-radius: var(--r); background: var(--card);
  font-size: .875rem; font-weight: 560; line-height: 1.3; text-decoration: none; transition: background .15s ease-out; }
.st-main .st-tile { color: var(--ink2); text-decoration: none; }
.st-section .st-tiles { margin-block: 0 20px; }
.st-main .st-tile:hover, .st-main .st-tile[aria-current] { border-color: var(--teal); background: var(--tealL); color: var(--tealD); }
.st-tile-photo { flex: none; display: block; width: 40px; height: 38px; object-fit: contain; mix-blend-mode: multiply; }
.st-tile span { min-width: 0; overflow-wrap: anywhere; }

.st-ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 216px), 1fr)); gap: 16px; }
.st-gcard { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--rule);
  border-radius: var(--r); background: var(--card); }
.st-gcard-media { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 8px; border-radius: var(--r-sm); background: #f1f3f2; overflow: hidden; }
.st-gcard-media .st-art { width: 64%; height: auto; }
.st-gadget-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.st-gcard-media .st-gadget-photo { padding: 6%; mix-blend-mode: multiply; }
.st-gcard-brand { font-size: .75rem; font-weight: 600; color: var(--mut); }
.st-main .st-gcard h3 { font-size: 1rem; line-height: 1.35; text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-gcard h3 a { color: var(--ink); text-decoration: none; }
.st-gcard h3 a:hover { text-decoration: underline; }
.st-gcard-price { margin-top: 4px !important; font-size: 1.125rem; font-weight: 600; color: var(--acd); font-variant-numeric: tabular-nums; }
.st-gcard-price small { display: block; color: var(--mut); font-size: .6875rem; font-weight: 500; }
.st-gcard-eta { font-size: .8125rem; color: var(--mut); line-height: 1.4; }
.st-gcard .st-addform { margin-top: auto; padding-top: 10px; }
.st-gcard > .st-price, .st-gcard h3 { margin-bottom: 8px !important; }
.st-gcard .st-button { width: 100%; min-height: 44px; }

.st-listhead { padding-top: 16px; }
.st-listhead .st-lede { margin-top: 8px; }
.st-shop { margin-top: 24px; }
.st-filterbox { margin-bottom: 12px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.st-filterbox > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px;
  font-weight: 560; color: var(--ink); cursor: pointer; list-style: none; }
.st-filterbox > summary::-webkit-details-marker { display: none; }
.st-filterbox > summary::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg);
  border: solid var(--teal); border-width: 0 2px 2px 0; margin-top: -3px; }
.st-filterbox[open] > summary::before { transform: rotate(225deg); margin-top: 3px; }
.st-filterbox .st-stamp { margin-left: auto; font-weight: 500; white-space: nowrap; }
.st-filterform { display: grid; gap: 12px; border-top: 1px solid var(--rule); padding: 12px 16px 16px; }
.st-filter-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  align-items: end; gap: 8px 12px; max-width: 700px; }
.st-filter-controls > label { font-size: .875rem; font-weight: 560; color: var(--ink); }
.st-filter-controls select { margin-top: 4px; }
.st-filterform .st-choice { min-height: 44px; margin: 0; }
.st-filter-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.st-brand-filter > summary { min-height: 44px; align-content: center; cursor: pointer; color: var(--ink); font-weight: 560; }
.st-brand-filter > fieldset { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  column-gap: 12px; max-height: 225px; overflow: auto; padding-inline: 2px; }
.st-main .kspecs { margin-top: 36px; }
.st-phone-page .kspecs { margin-top: 12px; }
@media (max-width: 480px) {
  .st-main .ksc dl div { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 4px 10px; }
  .st-main .ksc dt { gap: 6px; overflow-wrap: anywhere; }
}

.st-filterform select, .st-qty select, .st-bagline-qty select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--mut2);
  border-radius: var(--r-sm); background: var(--card); font: inherit; font-size: .9375rem; color: var(--ink); }
.st-clear { display: inline-flex; align-items: center; min-height: 40px; font-size: .875rem; font-weight: 560; }

.st-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.st-listhead + .st-chips { margin: 24px 0; }
.st-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--mut2); border-radius: var(--r-pill);
  background: var(--card); color: var(--ink2); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.st-main .st-chip { color: var(--ink2); text-decoration: none; }
.st-main .st-chip:hover, .st-main .st-chip[aria-current] { border-color: var(--teal); background: var(--tealL); color: var(--tealD); }
.st-more-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: .9375rem; font-weight: 560; }
.st-more-link::after { content: "→"; }

.st-grade { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 4px; background: var(--tealL);
  color: var(--tealD); font-size: .8125rem; font-weight: 560; }
.st-save { margin-top: 4px !important; font-size: .875rem; color: var(--mut); }
.st-save strong { color: var(--tealD); }

.st-gadget-art { aspect-ratio: auto; padding: 32px 0 12px; gap: 16px; }
.st-gadget-art .st-art { width: min(52%, 280px); height: auto; }
.st-gadget-art figcaption { margin: 0 12px; padding: 8px 12px; border-radius: var(--r-sm); font-size: .8125rem; }
.st-gadget-art:has(.st-gadget-photo) { padding: 0; border: 1px solid var(--rule); background: var(--card); }
.st-gadget-art .st-gadget-photo { max-width: 480px; }
.st-highlights { display: grid; gap: 4px; margin-top: 12px !important; }
.st-highlights li { display: flex; gap: 8px; color: var(--ink2); }
.st-highlights li::before { content: ""; flex: none; width: 10px; height: 6px; margin-top: 8px; border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.st-eta { margin-top: 8px; font-size: .9375rem; color: var(--ink2); }
.st-buyform { margin-top: 20px; }
.st-swatches > div { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.st-swatch { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-size: .9375rem; color: var(--ink2); }
.st-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-swatch span { width: 28px; height: 28px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(var(--rgb-ink), .25); }
.st-swatch input:checked + span { box-shadow: inset 0 0 0 1px rgba(var(--rgb-ink), .25), 0 0 0 2px var(--card), 0 0 0 4px var(--teal); }
.st-buyrow { display: flex; align-items: end; gap: 12px; margin-top: 16px; }
.st-qty { margin-top: 0; width: 104px; }
.st-qty select { margin-top: 8px; }
.st-buyrow .st-button { flex: 1; }

.st-main .st-baggroup { margin-top: 28px; margin-bottom: 8px; font-size: 1.125rem; }
.st-baglist { border-top: 1px solid var(--rule); }
.st-bagline { display: grid; grid-template-columns: 64px minmax(0, 1fr) 132px 88px auto; align-items: center; gap: 12px 16px;
  padding: 12px 0; border-bottom: 1px solid var(--rule); }
.st-bagline-art { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--tealL); }
.st-bagline-art .st-art { width: 70%; height: auto; }
.st-bagline-main { display: grid; gap: 2px; }
.st-main .st-bagline-main a { color: var(--ink); font-weight: 560; text-decoration: none; }
.st-bagline-main small { color: var(--mut); font-size: .8125rem; }
.st-bagline-qty { display: flex; gap: 8px; }
.st-bagline-total { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.st-linkbutton { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--lnk); font: inherit; font-size: .875rem;
  font-weight: 560; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.st-bagsum div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.st-bagsum-total { font-weight: 600; color: var(--ink); }
.st-bagsum-total dd { color: var(--acd); font-size: 1.25rem; }
@media (max-width: 600px) {
  .st-ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .st-gcard { padding: 8px; }
  .st-main .st-gcard h3 { font-size: .9375rem; }
  .st-tiles { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: max-content;
    overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 3px 16px; }
  .st-tiles::-webkit-scrollbar { display: none; }
  .st-tile-photo { width: 36px; height: 36px; }
  .st-bagline { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .st-bagline-art { width: 56px; height: 56px; }
  .st-bagline-qty { grid-column: 2; }
  .st-bagline-total { grid-column: 3; grid-row: 1; }
  .st-bagline-remove { grid-column: 3; grid-row: 2; justify-self: end; }
  .st-trust { font-size: .875rem; }
}
@media (max-width: 350px) {
  .st-unit-copy { padding-inline: 8px; }
  .st-unit .st-status { padding-inline: 5px; }
  .st-unit .st-status::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .st-tile { transition: none; }
}

/* ---- owner gadget inventory ------------------------------------------ */
.st-stock-panel { --st-stock-columns: 48px minmax(0, 1fr) 148px 120px 60px; }
.st-stock-list { border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.st-stock-list > ul > li + li { border-top: 1px solid var(--rule); }
.st-stock-columns, .st-stock-summary { display: grid; grid-template-columns: var(--st-stock-columns);
  align-items: center; column-gap: 14px; padding-inline: 16px; }
.st-stock-columns { padding-block: 10px; border-bottom: 1px solid var(--rule);
  border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0; background: var(--bg);
  color: var(--mut); font-size: .8125rem; font-weight: 560; }
.st-stock-columns span:first-child { grid-column: span 2; }
.st-stock-summary { padding-block: 8px; list-style: none; cursor: pointer; }
.st-stock-summary::-webkit-details-marker { display: none; }
.st-stock-summary:hover { background: var(--tone); }
.st-stock-row[open] > .st-stock-summary { background: var(--tealL); }
.st-stock-summary:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.st-stock-thumb { display: grid; place-items: center; width: 48px; aspect-ratio: 1;
  border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--card); overflow: hidden; }
.st-stock-photo { display: block; width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.st-stock-title { min-width: 0; color: var(--ink); font-size: .9375rem; font-weight: 560;
  line-height: 1.35; overflow-wrap: anywhere; }
.st-stock-metrics { display: contents; }
.st-stock-availability { display: grid; gap: 1px; }
.st-stock-status, .st-stock-reserved, .st-stock-price { font-variant-numeric: tabular-nums; }
.st-stock-status { display: inline-flex; align-items: center; gap: 7px; color: var(--mut); font-size: .875rem; white-space: nowrap; }
.st-stock-status::before { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
.st-stock-status.is-live { color: var(--tealD); font-weight: 560; }
.st-stock-status.is-live::before { background: currentColor; }
.st-stock-reserved { padding-left: 14px; color: var(--mut); font-size: .75rem; }
.st-stock-price { color: var(--ink); font-size: .875rem; font-weight: 560; white-space: nowrap; }
.st-stock-price.is-unset { color: var(--mut); font-weight: 500; }
.st-stock-toggle { display: grid; place-items: center; min-height: 44px; padding-inline: 6px;
  border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--card); color: var(--tealD);
  font-size: .8125rem; font-weight: 560; }
.st-stock-summary:hover .st-stock-toggle { border-color: var(--teal); }
.st-stock-toggle span:last-child, .st-stock-row[open] .st-stock-toggle span:first-child { display: none; }
.st-stock-row[open] .st-stock-toggle span:last-child { display: block; }

.st-stock-form { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr) auto; align-items: end;
  gap: 12px 18px; margin: 8px 16px 12px; padding: 12px; border: 1px solid var(--rule);
  border-radius: var(--r-sm); background: var(--bg); }
.st-stock-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.st-stock-fields label { display: grid; gap: 4px; min-width: 0; color: var(--ink); font-size: .8125rem; font-weight: 560; }
.st-stock-fields input { width: 100%; min-width: 0; min-height: 44px; padding: 6px 8px; border: 1px solid var(--mut2);
  border-radius: var(--r-sm); background: var(--card); color: var(--ink); font: inherit; font-size: 1rem; }
.st-stock-confirm { display: flex; gap: 8px; align-items: center; justify-self: start; min-height: 44px;
  color: var(--tx); font-size: .8125rem; line-height: 1.4; cursor: pointer; }
.st-stock-confirm input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
.st-stock-form input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.st-stock-form input[aria-invalid="true"] { border-color: var(--st-err); }
.st-stock-form .st-button { min-height: 44px; padding: 8px 16px; }
.st-stock-feedback { grid-column: 1 / -1; margin-bottom: 8px; padding: 8px 10px; border-radius: var(--r-sm);
  background: var(--st-err-soft); color: var(--st-err); font-size: .875rem; font-weight: 600; }
.st-stock-form .st-stock-feedback { margin: 0; }
.st-stock-feedback li + li { margin-top: 4px; }

@media (max-width: 680px) {
  .st-stock-columns { display: none; }
  .st-stock-summary { grid-template-columns: 44px minmax(0, 1fr) 52px; grid-template-areas: "photo title edit" "photo metrics edit";
    gap: 3px 8px; padding: 8px; }
  .st-stock-thumb { grid-area: photo; width: 44px; }
  .st-stock-title { grid-area: title; display: -webkit-box; align-self: end; -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; overflow: hidden; font-size: .875rem; }
  .st-stock-row[open] .st-stock-title { -webkit-line-clamp: unset; }
  .st-stock-metrics { grid-area: metrics; display: flex; flex-wrap: wrap; align-self: start; gap: 0 8px; }
  .st-stock-availability { display: flex; flex-wrap: wrap; align-items: center; column-gap: 4px; }
  .st-stock-status, .st-stock-price { font-size: .75rem; }
  .st-stock-status { gap: 4px; }
  .st-stock-status::before { width: 6px; height: 6px; }
  .st-stock-reserved { padding-left: 0; font-size: .6875rem; }
  .st-stock-toggle { grid-area: edit; }
  .st-stock-form { grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 8px; }
  .st-stock-form .st-button { justify-self: end; }
}

/* Photo-led product cards */
.st-unit-media { aspect-ratio: 1; background: var(--tealL); }
.st-unit .st-photo { padding: 12px; mix-blend-mode: multiply; }
.st-unit-copy { gap: 6px; }
.st-unit-grade { min-height: 20px; }
.st-unit .st-grade { align-items: center; color: var(--tealD); font-size: .6875rem; letter-spacing: .01em; }
.st-unit .st-variant { padding-bottom: 4px; }
.st-unit .st-buyline { justify-content: space-between; }
@media (min-width: 1120px) {
  .st-shop .st-ggrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 620px) {
  .st-unit .st-photo { padding: 9px; }
  .st-unit .st-buyline { gap: 3px; }
  .st-body .bigfoot .inner > div:first-child { grid-column: 1 / -1; }
}

/* Store and editorial navigation share the same header. */

/* Used-phone catalogue and detail. */
.st-phone-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 32px; padding: clamp(22px, 4.2vw, 48px) 0 24px; }
.st-main .st-phone-heading h1 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.08; letter-spacing:0; }
.st-phone-heading p { margin-top: 10px; font-size: clamp(.9375rem, 1.5vw, 1.125rem); color: var(--ink2); }
.st-main .st-phone-cover { display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 4px 0; color: var(--tealD); text-decoration: underline; font-weight: 560; }
.st-collection-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 10px 0 14px; margin-bottom: 14px; border-top: 1px solid var(--rule); }
.st-collection-toolbar .st-chips { margin: 0; }
.st-collection-toolbar .st-stamp { flex: none; }
.st-phone-catalogue { grid-template-columns: repeat(auto-fit, minmax(min(100%, 305px), 1fr)); gap: 18px; }
.st-phone-catalogue:not(:has(> .st-unit:nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-phone-catalogue > .st-unit:only-child { grid-column: 1 / -1; max-width: 670px; }
.st-phone-catalogue .st-unit { border-radius: var(--r); background: var(--card); min-width: 0; }
.st-phone-catalogue .st-unit-media { min-width: 0; background: radial-gradient(ellipse at 45% 42%, #fcfdf9 12%, #e3ebe3 82%); }
.st-phone-catalogue .st-photo { padding: 18px 18px 35px; }
.st-unit-media figcaption { position: absolute; inset: auto 6px 8px; color: #435b52; text-align: center;
  font-size: .6875rem; line-height: 1.3; }
.st-phone-catalogue .st-unit-copy { gap: 6px; padding: clamp(15px, 2.1vw, 28px); justify-content: center; }
.st-main .st-phone-catalogue .st-unit h3 { font-size: clamp(1.125rem, 2vw, 1.625rem); line-height: 1.15; letter-spacing:0; }
.st-phone-catalogue .st-unit-grade { min-height: 0; }
.st-phone-catalogue .st-unit .st-grade { margin-bottom: 2px; min-height: 0; font-size: .75rem; }
.st-phone-catalogue .st-unit .st-variant { flex: none; padding: 0; }
.st-phone-catalogue .st-buyline { justify-content: flex-start; gap: 5px 8px; margin-top: 8px; }
.st-phone-catalogue .st-price { color: var(--ink); font-size: clamp(1.25rem, 2.5vw, 1.875rem); font-weight: 600; line-height: 1.1; }
.st-phone-catalogue .st-unit a::after { z-index: 1; }
.st-phone-sheet { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch; gap: 0;
  border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.st-phone-sheet .st-gallery-main { min-height: 375px; aspect-ratio: unset; border: 0;
  border-radius: calc(var(--r) - 1px) 0 0 calc(var(--r) - 1px);
  background: radial-gradient(ellipse at 48% 42%, #fcfdf9 14%, #e1ebe3 85%); }
.st-phone-sheet .st-photo { padding: 25px 30px 47px; mix-blend-mode: multiply; }
.st-phone-sheet figcaption.st-media-note { inset: auto 14px 13px; padding: 0; border: 0; background: transparent;
  text-align: center; font-weight: 500; color: #435b52; }
.st-phone-sheet .st-unit-buy { display: flex; flex-direction: column; justify-content: center; padding: clamp(20px, 3.2vw, 40px);
  border: 0; border-radius: 0 calc(var(--r) - 1px) calc(var(--r) - 1px) 0; }
.st-main .st-phone-sheet h1 { font-size: clamp(2rem, 3.2vw, 2.75rem); letter-spacing:0; line-height: 1.06; text-wrap: balance; }
.st-phone-sheet .st-meta { justify-content: space-between; margin-bottom: 12px; font-size: .75rem; }
.st-phone-sheet .st-meta .st-grade { background: var(--tealL); }
.st-phone-sheet .st-variant { margin-top: 8px; }
.st-phone-sheet .st-buyline { margin-top: 16px; column-gap: 12px; }
.st-phone-sheet .st-price { color: var(--ink); font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1.1; }
.st-phone-sheet .st-callout { margin-top: 14px; padding: 12px 0; border: 0; border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule); border-radius: 0; }
.st-phone-sheet .st-callout p { margin-top: 4px; }

@media (min-width: 940px) {
  .st-phone-catalogue:not(:has(> .st-unit:nth-child(3))) .st-unit { display: grid; grid-template-columns: 45% minmax(0, 1fr); min-height: 272px; }
  .st-phone-catalogue:not(:has(> .st-unit:nth-child(3))) .st-unit-media { aspect-ratio: unset; border-radius: calc(var(--r) - 1px) 0 0 calc(var(--r) - 1px); }
}
@media (max-width: 620px) {
  .st-phone-heading { gap: 6px; padding: 23px 0 11px; }
  .st-main .st-phone-cover { font-size: .875rem; }
  .st-collection-toolbar { align-items: flex-start; flex-direction: column; gap: 9px; padding-block: 10px; }
  .st-phone-catalogue, .st-phone-catalogue:not(:has(> .st-unit:nth-child(3))) { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .st-phone-catalogue .st-unit { display: grid; grid-template-columns: 39% minmax(0, 1fr); }
  .st-phone-catalogue .st-unit-media { aspect-ratio: unset; border-radius: calc(var(--r) - 1px) 0 0 calc(var(--r) - 1px); }
  .st-phone-catalogue .st-photo { padding: 10px 7px 36px; }
  .st-phone-catalogue .st-unit-copy { gap: 5px; padding: 12px; }
  .st-phone-catalogue .st-buyline { margin-top: 5px; }
  .st-phone-sheet { grid-template-columns: minmax(0, 1fr); }
  .st-phone-sheet .st-gallery-main { min-height: 0; aspect-ratio: 1.38;
    border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0; }
  .st-phone-sheet .st-photo { padding: 14px 20px 33px; }
  .st-phone-sheet .st-unit-buy { padding: 17px; }
}

/* Per-unit condition report. Status text carries meaning independently of color. */
.st-phone-order { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.st-phone-sheet .st-phone-order .st-button { margin: 0; }
.st-photo-stage.is-loading > .st-photo { opacity: 0; }
.st-photo-stage.is-loading::after { content: ""; position: absolute; inset: 15% 31%; border-radius: 12px;
  background: linear-gradient(100deg, #d6e1d9 18%, #ecf2ed 46%, #d6e1d9 74%); background-size: 220% 100%;
  animation: st-phone-loading 1.35s ease-in-out infinite; pointer-events: none; }
.st-photo-stage.is-unavailable > .st-photo { display: none; }
.st-photo-stage.is-unavailable::after { content: "Photo unavailable"; position: absolute; inset: 0; display: grid;
  place-items: center; color: var(--mut); font-size: .875rem; }
@keyframes st-phone-loading { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) {
  .st-photo-stage.is-loading::after { animation: none; }
}

.st-unit-gallery { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; }
.st-unit-thumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px !important; }
.st-unit-thumbs a { display: block; width: 54px; height: 54px; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.st-unit-thumbs a[aria-current] { outline: 2px solid var(--teal); outline-offset: -2px; }
.st-unit-thumbs img, .st-unit-photo-list img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-photo-upload { display: grid; gap: 8px; margin: 12px 0; }
.st-photo-upload input { min-width: 0; width: 100%; min-height: 44px; font: inherit; }
.st-photo-upload input::file-selector-button { min-height: 44px; font: inherit; }
.st-photo-upload .st-button { justify-self: start; }
.st-unit-photo-list { display: flex; flex-wrap: wrap; gap: 8px; }
.st-unit-photo-list li { width: 96px; }
.st-unit-photo-list a { display: block; width: 96px; height: 96px; border-radius: 6px; overflow: hidden; }
.st-unit-photo-list .st-linkbutton { min-height: 44px; }

.st-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px;
  padding-block: 18px; margin-top: 12px; border-top: 1px solid var(--rule); }
.st-pagination .st-chip { min-height: 44px; }

.st-inventory-search { display: flex; gap: 7px; margin: 0 0 8px; }
.st-inventory-search input { width: min(100%, 340px); min-width: 0; min-height: 44px; padding: 6px 10px;
  border: 1px solid var(--rule); border-radius: var(--r-sm); font: inherit; color: var(--ink); background: var(--card); }

/* ---- owner: store controls and the per-number history ------------------ */
.st-controls-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.st-control { padding: 16px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.st-control form { margin-top: 12px; }
.st-control .st-closed { margin-top: 12px; }
.st-control .st-closed li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.st-control-state { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.st-control-state::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mut2); }
.st-control-state.is-open::before { background: var(--teal); }
.st-control-state.is-paused { color: var(--st-err, #a8321f); }
.st-control-state.is-paused::before { background: var(--st-err, #a8321f); }
.st-history { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--r-sm);
  background: var(--bg); font-size: .9375rem; }
.st-history.is-risky { border-color: rgba(168, 50, 31, .35); background: rgba(168, 50, 31, .06); }
.st-turnstile { margin-top: 16px; min-height: 65px; }
@media (max-width: 860px) { .st-controls-grid { grid-template-columns: minmax(0, 1fr); } }

/* used or new: two plain answers instead of a spec grid */
.st-usednew-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.st-usednew-grid div { padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.st-usednew-grid div:first-child { border-color: var(--tint2); background: var(--tealL); }
.st-usednew-grid dt { font-weight: 600; color: var(--ink); }
.st-usednew-grid dd { margin: 6px 0 0; line-height: 1.55; }
.st-usednew-grid a { font-weight: 560; }
@media (max-width: 720px) { .st-usednew-grid { grid-template-columns: minmax(0, 1fr); } }

/* Filters in a side panel (owner 2026-11-30): a sticky column beside the grid
   on wide screens, a drawer from the left on phones. Both work without script:
   on phones the summary becomes the drawer's close bar. */
@media (min-width: 900px) {
  .st-shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0 24px; align-items: start; }
  .st-shop > :not(.st-filterbox) { grid-column: 2; }
  .st-filterbox { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: calc(var(--hdr-h, 70px) + 24px);
    margin: 0; max-height: calc(100dvh - var(--hdr-h, 70px) - 40px); overflow: auto; }
  .st-filterbox::details-content { content-visibility: visible; display: block; }
  .st-filterbox > summary { pointer-events: none; }
  .st-filterbox > summary::before { display: none; }
  .st-filterbox .st-filter-controls { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  body:has(.st-filterbox[open]) { overflow: hidden; }
  .st-filterbox[open]::before { content: ""; position: fixed; inset: 0; z-index: 80; background: rgba(var(--rgb-ink), .45); }
  .st-filterbox[open] > summary { position: fixed; z-index: 82; top: 0; left: 0; width: min(88vw, 360px);
    min-height: 56px; background: var(--card); border-bottom: 1px solid var(--rule); }
  .st-filterbox[open] > summary::before { display: none; }
  .st-filterbox[open] > summary::after { content: "×"; font-size: 26px; line-height: 1; color: var(--ink); }
  .st-filterbox[open] .st-filterform { position: fixed; z-index: 81; top: 56px; bottom: 0; left: 0;
    width: min(88vw, 360px); overflow: auto; overscroll-behavior: contain; align-content: start; border-top: 0; background: var(--card);
    box-shadow: 18px 0 40px -24px rgba(var(--rgb-ink), .5); }
  .st-filterbox[open] .st-filter-controls { grid-template-columns: 1fr; }
}

/* One disclosure style across the store: never the browser's triangle, a thin
   chevron on the right that turns over when open (owner 2026-12-01). */
.st-body details > summary { list-style: none; }
.st-body details > summary::-webkit-details-marker { display: none; }
.st-brand-filter > summary, .st-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-brand-filter > summary::after, .st-more > summary::after { content: ""; flex: none; width: 7px; height: 7px;
  margin-right: 4px; border: solid var(--mut); border-width: 0 1.75px 1.75px 0;
  transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.st-brand-filter[open] > summary::after, .st-more[open] > summary::after { transform: translateY(2px) rotate(225deg); }
@media (prefers-reduced-motion: reduce) { .st-brand-filter > summary::after, .st-more > summary::after { transition: none; } }

/* ---- Search results (owner 2026-12-01: "more visual and intuitive"). The
   query is read back as removable chips, result types are tabs with counts,
   products are photo-first tiles on wide screens and thumbnail rows on phones.
   Tiles carry no border of their own: the photo well is the only box. */
.sr-head { padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.st-main .sr-head h1 { font-size: clamp(1.5rem, 3.2vw, 2.125rem); letter-spacing:0; }
.sr-form { display: flex; gap: 8px; max-width: 720px; }
.sr-form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border: 1px solid var(--mut2);
  border-radius: var(--r-pill); background: var(--card); color: var(--ink); font: inherit; font-size: 1rem; }
.sr-form input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-color: var(--teal); }
.sr-read { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sr-read > span { color: var(--mut); font-size: .875rem; font-weight: 600; margin-right: 2px; }
.sr-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px 0 14px;
  border: 1px solid var(--rule); border-radius: var(--r-pill); background: var(--card); color: var(--ink);
  font-size: .875rem; font-weight: 560; text-decoration: none; }
.sr-tag small { color: var(--mut); font-size: .75rem; font-weight: 600; }
.sr-tag:hover { border-color: var(--teal); text-decoration: none; }
.sr-x { position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--tone); }
.sr-x::before, .sr-x::after { content: ""; position: absolute; left: 5px; right: 5px; top: 9.25px; height: 1.5px;
  border-radius: 2px; background: var(--ink2); transform: rotate(45deg); }
.sr-x::after { transform: rotate(-45deg); }
.sr-tag:hover .sr-x { background: var(--tealL); }
.sr-tabs { display: flex; gap: 6px; margin-top: 22px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 2px; }
.sr-tabs::-webkit-scrollbar { display: none; }
.sr-tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: var(--r-pill); background: var(--tone); color: var(--ink2); font-size: .875rem; font-weight: 560;
  text-decoration: none; white-space: nowrap; }
.sr-tabs a span { color: var(--mut); font-weight: 600; font-variant-numeric: tabular-nums; }
.sr-tabs a:hover { background: var(--tealL); text-decoration: none; }
.sr-tabs a[aria-current] { background: var(--ink); color: var(--card); }
.sr-tabs a[aria-current] span { color: rgba(255, 255, 255, .7); }
.sr-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  margin-top: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.sr-bar p { margin: 0; color: var(--mut); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.sr-bar p strong { color: var(--ink); }
.sr-sort { display: flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: var(--tone); }
.sr-sort a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill);
  color: var(--ink2); font-size: .8125rem; font-weight: 560; text-decoration: none; white-space: nowrap; }
.sr-sort a[aria-current] { background: var(--card); color: var(--ink);
  box-shadow: 0 1px 2px rgba(var(--rgb-ink), .12); }
.sr-block { margin-top: 32px; }
.st-main .sr-block h2 { font-size: 1.125rem; }
.sr-block > h2 { margin-bottom: 12px; }
.sr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 24px 16px;
  margin-top: 12px; }
.sr-card { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; color: var(--ink); text-decoration: none; }
.sr-card:hover { text-decoration: none; }
.sr-media { display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px; background: var(--tone);
  overflow: hidden; transition: background-color .15s ease; }
.sr-card:hover .sr-media { background: var(--tealL); }
.sr-media img { width: 78%; height: 78%; object-fit: contain; }
.sr-noimg { width: 34%; aspect-ratio: 9 / 16; border-radius: 10px; border: 2px solid var(--mut2); opacity: .5; }
.sr-body { display: grid; align-content: start; gap: 3px; min-width: 0; }
.sr-kind { display: inline-flex; align-items: center; gap: 6px; color: var(--mut); font-size: .75rem; font-weight: 560; }
.sr-kind::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mut2); }
.sr-kind.is-used::before { background: var(--teal); }
.sr-kind.is-used { color: var(--tealD); }
.sr-kind.is-gadget::before { background: var(--acc, #c9821f); }
.sr-title { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.sr-card:hover .sr-title { color: var(--tealD); }
.sr-meta { color: var(--mut); font-size: .8125rem; }
.sr-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 1.0625rem; font-weight: 600;
  font-variant-numeric: tabular-nums; color: var(--ink); }
.sr-price small { color: var(--mut); font-size: .8125rem; font-weight: 600; }
.sr-price.is-quiet small { font-size: .875rem; }
.sr-card mark, .sr-pages mark { background: none; color: inherit; text-decoration: underline;
  text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sr-units { margin-top: 12px; }
.sr-pages { list-style: none; margin: 8px 0 0; padding: 0; }
.sr-pages li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px;
  border-bottom: 1px solid var(--rule); }
.sr-pages li a { display: block; padding-block: 14px; color: var(--ink); font-weight: 560; text-decoration: none; }
.sr-pages li a:hover { color: var(--tealD); }
.sr-pages li span { flex: none; color: var(--mut); font-size: .8125rem; }
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sr-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule);
  border-radius: var(--r-pill); background: var(--card); color: var(--ink); font-size: .875rem; font-weight: 560;
  text-decoration: none; }
.sr-chip:hover { border-color: var(--teal); color: var(--tealD); text-decoration: none; }
.sr-want { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  margin-top: 32px; padding: 20px 22px; border-radius: 20px; background: var(--tealL); }
.sr-want strong { display: block; font-size: 1.0625rem; color: var(--ink); }
.sr-want p { margin: 4px 0 0; color: var(--ink2); max-width: 62ch; line-height: 1.5; }
.sr-want .st-button { white-space: nowrap; }
.sr-want-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--card); display: grid; place-items: center; }
.sr-want-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--tealD); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }
.sr-empty { margin-top: 32px; }
.sr-empty p { color: var(--mut); }
@media (max-width: 640px) {
  .sr-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sr-card { grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: auto; column-gap: 14px; row-gap: 4px;
    padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .sr-media { grid-row: span 2; border-radius: 14px; }
  .sr-price { grid-column: 2; font-size: 1rem; }
  .sr-want { grid-template-columns: minmax(0, 1fr); }
  .sr-want-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sr-media { transition: none; } }

/* Inspection report: one surface, hairline rows (owner 2026-12-01: "too much
   card inside card"). The disclosure is the only box; findings sit in it as
   a two-column list divided by rules. */

/* ---- Shared bits for the 2026-12-01 additions */
.st-main .st-lede { color: var(--ink2); font-size: 1.0625rem; line-height: 1.55; max-width: 64ch; }

/* In stock or not, at a glance: a green pill with a live count, or a grey one */
.st-stockpill { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; margin-top: 6px; padding: 0 12px;
  border-radius: var(--r-pill); font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-stockpill.is-in { background: var(--tealL); color: var(--tealD); }
.st-stockpill.is-in span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.st-stockpill.is-out { background: var(--tone); color: var(--mut); }

/* Out of stock is its own state, not a footnote */
.st-restock { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 28px;
  margin-top: 16px; padding: 28px 32px; border-radius: 24px; background: var(--card);
  box-shadow: 0 0 0 1px rgba(var(--rgb-ink), .07), 0 18px 40px -28px rgba(var(--rgb-ink), .35); }
.st-restock-art { display: grid; place-items: center; aspect-ratio: 1; border-radius: 20px; background: var(--tone); }
.st-restock-art svg { width: 78%; fill: none; stroke: var(--mut); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.st-restock-art circle { fill: var(--card); stroke: var(--teal); }
.st-restock-art path:nth-of-type(2) { stroke: var(--teal); }
.st-restock-art .plus { stroke: var(--teal); }
.st-main .st-restock h3 { margin-top: 6px; font-size: clamp(1.25rem, 2.4vw, 1.625rem); letter-spacing:0; }
.st-restock-copy > p:not(.st-restock-kicker):not(.st-small) { margin-top: 8px; color: var(--ink2); max-width: 60ch; line-height: 1.55; }
.st-restock .st-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.st-restock .st-small { margin-top: 12px; }
@media (max-width: 640px) {
  .st-restock { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; }
  .st-restock-art { width: 112px; }
  .st-restock .st-button { width: 100%; }
}

/* How we grade, drawn: one phone at three levels of wear */
.st-gradescale ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-gradescale li { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px; }
.st-gradescale svg { width: 64px; height: 72px; }
.st-gradescale .b { fill: var(--card); stroke: var(--ink2); stroke-width: 2; }
.st-gradescale .s { fill: var(--tealL); }
.st-gradescale .m { fill: none; stroke: var(--ink2); stroke-width: 1.6; stroke-linecap: round; opacity: .75; }
.st-gradescale .d { fill: none; stroke: var(--ink2); stroke-width: 2.4; stroke-linecap: round; }
.st-gradescale strong { display: block; color: var(--ink); font-size: 1rem; }
.st-gradescale li p { margin: 2px 0 0; color: var(--ink2); font-size: .9375rem; line-height: 1.45; }
.st-gradescale > .st-small { margin-top: 12px; }
@media (max-width: 720px) { .st-gradescale ol { grid-template-columns: minmax(0, 1fr); } }

/* Floating "Request a used phone": a small pill on the right edge (owner 2026-12-01) */
.st-fab { position: fixed; z-index: 55; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px 0 12px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--card); font-size: .875rem; font-weight: 600; white-space: nowrap; text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(var(--rgb-ink), .55), 0 2px 6px rgba(var(--rgb-ink), .18);
  transition: transform .2s var(--st-out), opacity .2s var(--st-out); }
.st-fab:hover { background: var(--tealD); text-decoration: none; }
.st-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-fab.is-away { opacity: 0; transform: translateY(16px); pointer-events: none; transition-duration: .14s; }
.st-fab:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.has-sticky .st-fab { bottom: calc(max(14px, env(safe-area-inset-bottom)) + 76px); }
@media (prefers-reduced-motion: reduce) { .st-fab { transition: none; } }

/* Why buy used from us: numbered steps with line icons */
.st-why-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px 24px; counter-reset: none; }
.st-why-steps li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; }
.st-why-icon { grid-row: span 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--tealL); }
.st-why-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--tealD); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.st-why-steps strong { grid-column: 1 / -1; margin-top: 10px; color: var(--ink); font-size: 1.0625rem; line-height: 1.3; }
.st-why-steps p { grid-column: 1 / -1; margin: 0; color: var(--ink2); font-size: .9375rem; line-height: 1.5; }
.st-why-steps.is-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .st-why-steps.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .st-why-steps.is-compact { grid-template-columns: minmax(0, 1fr); } }
.st-story { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; align-items: start;
  margin-top: 40px; padding: 32px; border-radius: 24px; background: var(--panel); color: var(--onp2); }
.st-story-mark { display: grid; place-items: center; aspect-ratio: 1; border-radius: 20px;
  background: rgba(255, 255, 255, .06); color: var(--onp); text-align: center; }
.st-story-mark span { font-family: var(--f-display); font-size: 3rem; font-weight: 600; line-height: 1; letter-spacing:0; }
.st-story-mark small { margin-top: -18px; color: var(--onp3); font-size: .875rem; font-weight: 600; }
.st-main .st-story h2 { color: var(--onp); font-size: clamp(1.25rem, 2.6vw, 1.625rem); }
.st-story p { margin-top: 12px; max-width: 64ch; line-height: 1.6; }
@media (max-width: 640px) {
  .st-story { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 16px; }
  .st-story-mark { width: 96px; }
  .st-story-mark span { font-size: 2.125rem; }
  .st-story-mark small { margin-top: -10px; }
}
.st-expect-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 32px; }
.st-expect-list li { padding: 16px 0 16px 32px; border-top: 1px solid var(--rule); position: relative; }
.st-expect-list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 12px;
  border: 2px solid var(--mut); border-radius: 50%; }
.st-expect-list strong { color: var(--ink); }
.st-expect-list p { margin: 4px 0 0; color: var(--ink2); line-height: 1.5; }
.st-expect > .st-small { margin-top: 12px; }
.st-why-band .st-why-steps { margin-top: 20px; }

/* Request a used phone */
.st-sell-form .st-sell-progress.st-progress-4:not([hidden]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-want-flex { margin-top: 12px; }
.st-chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.st-chipbtn { min-height: 44px; padding: 0 14px; border: 1px solid var(--rule); border-radius: var(--r-pill);
  background: var(--card); color: var(--ink); font: inherit; font-size: .875rem; font-weight: 560; cursor: pointer;
  font-variant-numeric: tabular-nums; }
.st-chipbtn:hover { border-color: var(--teal); color: var(--tealD); }
.st-chipbtn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.st-want-ref { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--tealL); color: var(--ink2);
  font-size: .9375rem; line-height: 1.5; }
/* variant choices read as a row of chips, not a grid of boxes */
.st-want-form .st-sell-step .st-choice-list { display: flex; flex-wrap: wrap; gap: 8px; }
.st-want-form .st-sell-step .st-choice { min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); }
.st-want-form .st-sell-step .st-choice:has(input:checked) { border-color: var(--teal); background: var(--tealL); color: var(--tealD); font-weight: 560; }
.st-status-page { max-width: 720px; padding-top: 28px; }
.st-want-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 20px 0 0; }
.st-want-summary div { padding: 12px 0; border-top: 1px solid var(--rule); }
.st-want-summary dt { color: var(--mut); font-size: .8125rem; font-weight: 560; }
.st-want-summary dd { margin: 2px 0 0; color: var(--ink); font-weight: 560; }
.st-status-page .st-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 520px) { .st-want-summary { grid-template-columns: minmax(0, 1fr); } }

/* the honest fact behind a budget search: nothing new is that cheap */
.sr-insight { margin-top: 24px; padding: 16px 20px; background: var(--tone); border-radius: 16px;
  color: var(--ink2); line-height: 1.55; }
.sr-insight strong { color: var(--ink); }
.sr-insight a { color: var(--tealD); font-weight: 560; }

/* links inside .st-body are teal by default; the dark button keeps white text */
.st-body a.st-fab, .st-body a.st-fab:hover, .st-body a.st-fab:visited { color: var(--onp); }
@media (max-width: 480px) { .sr-sort { width: 100%; overflow-x: auto; scrollbar-width: none; } .sr-sort a { flex: 1; justify-content: center; } }

/* Phone photos (owner 2026-12-01): listings carry real photos of the unit,
   taken in hand with whatever is behind it. Those fill the frame edge to edge;
   a model render, until the real photos are in, sits on a flat neutral well.
   No gradient behind either, and the label is a small chip over the photo. */
.st-phone-catalogue .st-unit-media, .st-unit-media, .st-phone-sheet .st-gallery-main { background: #f1f3f2; }
.st-photo-stage.is-real { background: #e6e9e7; }
.st-photo-stage.is-real > .st-photo { padding: 0; object-fit: cover; object-position: 50% 50%; mix-blend-mode: normal; }
.st-gallery-main.is-real > .st-photo { object-fit: contain; }
.st-photo-stage.is-model > .st-photo { mix-blend-mode: multiply; }
.st-body .st-photo-stage > figcaption { inset: auto auto 10px 10px; width: auto; padding: 4px 9px; border: 0;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .9); color: var(--ink2);
  font-size: .6875rem; font-weight: 560; line-height: 1.3; text-align: left; }
.st-body .st-photo-stage.is-real > figcaption { background: rgba(18, 33, 31, .72); color: #fff; }

/* ---- Inspection report as one sheet (owner 2026-12-01): what passed beside
   what to know, like a lab slip. One surface, hairline rows, no nested cards,
   nothing folded away. Teal marks what passed; amber marks what to weigh. */
.st-report { margin-top: 32px; border: 1px solid var(--rule); border-radius: 20px; background: var(--card); overflow: hidden; }
.st-report-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 20px 24px; border-bottom: 1px dashed var(--mut2); }
.st-main .st-report-head h2 { margin: 0; font-size: 1.25rem; }
.st-report-head dl { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; }
.st-report-head dl div { display: flex; gap: 6px; align-items: baseline; }
.st-report-head dt { color: var(--mut); font-size: .75rem; font-weight: 600; }
.st-report-head dd { margin: 0; color: var(--ink); font-size: .8125rem; font-weight: 560; font-variant-numeric: tabular-nums; }
.st-report-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-report-col + .st-report-col { border-left: 1px solid var(--rule); }
.st-main .st-report-col h3 { display: flex; align-items: center; gap: 10px; margin: 0; padding: 18px 24px 10px;
  font-size: 1rem; color: var(--ink); }
.st-report-col h3 svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.st-report-col.is-pass h3 svg { background: var(--tealL); stroke: var(--tealD); }
.st-report-col.is-note h3 svg { background: #f7eedc; stroke: #784a14; }
.st-report-col h3 span { margin-left: auto; color: var(--mut); font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-report-col ul { list-style: none; margin: 0; padding: 0 0 8px; }
.st-report-col li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 14px 24px;
  border-top: 1px solid var(--rule); }
.st-rmark svg { display: block; width: 24px; height: 24px; margin-top: 1px; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; stroke: var(--mut); }
.st-report-col li.is-pass .st-rmark svg { stroke: var(--tealD); }
.st-report-col li.is-note .st-rmark svg, .st-report-col li.is-wear .st-rmark svg { stroke: #9a5d17; }
.st-report-col li strong { display: block; color: var(--ink); font-size: .9375rem; line-height: 1.35; }
.st-report-col li p { margin: 3px 0 0; color: var(--ink2); font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.st-report-good { flex-basis: 100%; color: var(--ink2); font-size: .9375rem; line-height: 1.5; }
.st-report-good strong { margin-right: 6px; color: var(--ink); }
.st-report-col { display: flex; flex-direction: column; }
.st-report-cover { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; margin-top: auto; padding: 18px 24px 20px;
  background: var(--tealL); color: var(--ink2); font-size: .9375rem; line-height: 1.5; }
.st-report-cover svg { width: 24px; height: 24px; fill: none; stroke: var(--tealD); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-report-cover strong { color: var(--ink); }
.st-report-cover p { margin-top: 3px; }
@media (max-width: 720px) {
  .st-report-cols { grid-template-columns: minmax(0, 1fr); }
  .st-report-col + .st-report-col { border-left: 0; border-top: 1px solid var(--rule); }
  .st-report-head, .st-report-col li, .st-report-cover { padding-inline: 16px; }
  .st-main .st-report-col h3 { padding-inline: 16px; }
}

/* ---- The path every phone takes: steps joined by one line, in order */
.st-why-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 32px 0; }
.st-why-steps li { position: relative; display: block; padding-right: 28px; }
.st-why-steps li::before { content: ""; position: absolute; left: 56px; right: 8px; top: 24px; height: 1px; background: var(--mut2); }
.st-why-steps li:last-child::before { display: none; }
.st-why-steps .st-why-icon { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: var(--tealL); }
.st-why-steps strong { display: block; grid-column: auto; margin-top: 14px; color: var(--ink); font-size: 1.0625rem; line-height: 1.3; }
.st-why-steps p { margin: 6px 0 0; color: var(--ink2); font-size: .9375rem; line-height: 1.5; }
@media (max-width: 640px) {
  .st-why-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .st-why-steps li { padding: 0 0 24px 64px; min-height: 48px; }
  .st-why-steps .st-why-icon { position: absolute; left: 0; top: 0; }
  .st-why-steps li::before { left: 24px; right: auto; top: 52px; bottom: 4px; width: 1px; height: auto; }
  .st-why-steps strong { margin-top: 2px; }
}

/* ---- What to expect: each with its own line icon */
.st-expect-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
.st-expect-list li::before { display: none; }
.st-expect-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tone); }
.st-expect-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.st-expect-list li p { margin-top: 4px; }

/* ---- The story: heading beside the two-phones mark, text under */
.st-story { display: block; margin-top: 40px; padding: 32px; border-radius: 24px; background: var(--panel); color: var(--onp2); }
.st-story-head { display: flex; align-items: center; gap: 24px; }
svg.st-story-mark { flex: none; width: 112px; height: 112px; }
.st-story-mark .b { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 3; }
.st-story-mark .f { fill: rgba(255, 255, 255, .07); stroke: var(--onp); stroke-width: 3; }
.st-story-mark .n { fill: var(--onp); font-family: var(--f-display); font-size: 26px; font-weight: 600; }
.st-story-mark .y { fill: var(--onp3); font-family: var(--f-sans); font-size: 12px; font-weight: 600; }
.st-main .st-story h2 { margin: 0; max-width: 22ch; color: var(--onp); font-size: clamp(1.25rem, 2.6vw, 1.75rem); text-wrap: balance; }
.st-story-text { margin-top: 20px; max-width: 68ch; }
.st-story-text p { margin: 12px 0 0; line-height: 1.6; }
.st-story-text p:first-child { margin-top: 0; }
.st-story-text .st-story-by { margin-top: 16px; color: var(--onp3); font-size: .875rem; font-weight: 600; }
@media (max-width: 640px) {
  .st-story { padding: 22px; }
  .st-story-head { gap: 14px; }
  svg.st-story-mark { width: 80px; height: 80px; }
}

.st-ref { margin: 0 0 6px; color: var(--mut); font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Recently sold: proof, set quietly as a ruled list, not a boxed card */
.st-recent { padding: 0; border: 0; border-radius: 0; background: none; }
.st-main .st-recent h2 { font-size: 1.125rem; }
.st-recent li:first-child { border-top: 1px solid var(--rule); }

/* Two doors, side by side on one rule: request a phone, sell a phone */
.st-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--rule); }
.st-doors > div { padding: 28px 32px 4px 0; }
.st-doors > div + div { padding-left: 32px; border-left: 1px solid var(--rule); }
.st-main .st-doors h2 { font-size: 1.25rem; }
.st-doors p { margin: 8px 0 16px; max-width: 46ch; color: var(--ink2); line-height: 1.5; }
@media (max-width: 720px) {
  .st-doors { grid-template-columns: minmax(0, 1fr); }
  .st-doors > div, .st-doors > div + div { padding: 24px 0 4px; border-left: 0; }
  .st-doors > div + div { border-top: 1px solid var(--rule); margin-top: 20px; }
  .st-doors .st-button { width: 100%; }
}

/* Two paths of five: one even row each on wide screens, a vertical line below 900px */
.st-why-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .st-why-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .st-why-steps li { padding: 0 0 24px 64px; min-height: 48px; }
  .st-why-steps .st-why-icon { position: absolute; left: 0; top: 0; }
  .st-why-steps li::before { left: 24px; right: auto; top: 52px; bottom: 4px; width: 1px; height: auto; }
  .st-why-steps strong { margin-top: 2px; }
  .st-why-steps p { max-width: 60ch; }
}

/* The buy box, unslopped (owner 2026-12-01): the report's three facts at a
   glance, not three jump links; the saving said plainly */
.st-glance { list-style: none; display: grid; gap: 0; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--rule); }
.st-main .st-glance a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink2); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.st-main .st-glance a:hover { color: var(--tealD); text-decoration: underline; }
.st-glance svg { flex: none; width: 22px; height: 22px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke: var(--mut); }
.st-glance .is-pass svg, .st-glance .is-cover svg { stroke: var(--tealD); }
.st-glance .is-note svg { stroke: #9a5d17; }
.st-save { color: var(--ink2); }
.st-save strong { color: var(--tealD); }

/* the report runs the full content width, and its meta pairs carry no rules */
.st-unit-more > .st-report, .st-report { grid-column: 1 / -1; width: 100%; }

/* Used or new: the price gap drawn, then the two cases side by side on one rule */
.st-usednew .st-usednew-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 20px;
  border-top: 1px solid var(--rule); }
.st-usednew .st-usednew-grid > div { padding: 18px 28px 4px 0; border: 0; border-radius: 0; background: none; }
.st-usednew .st-usednew-grid > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.st-usednew dt { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.st-usednew dt svg { flex: none; width: 22px; height: 22px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-usednew .is-used dt svg { stroke: var(--tealD); }
.st-usednew .is-new dt svg { stroke: #9a5d17; }
.st-usednew dd { margin: 8px 0 0 32px; color: var(--ink2); line-height: 1.55; }
@media (max-width: 640px) {
  .st-usednew .st-usednew-grid { grid-template-columns: minmax(0, 1fr); }
  .st-usednew .st-usednew-grid > div, .st-usednew .st-usednew-grid > div + div { padding: 16px 0 4px; border-left: 0; }
  .st-usednew .st-usednew-grid > div + div { border-top: 1px solid var(--rule); margin-top: 12px; }
}
/* report meta: one quiet line */
.st-report-head dl { gap: 2px 16px; }
@media (max-width: 640px) { .st-report-head { gap: 6px; } .st-report-head dl { gap: 2px 12px; } }

/* Buttons, one family (owner 2026-12-01: 'better buttons'): the header's pill
   shape everywhere in the store. Primary is the filled teal; secondary is a
   tinted fill, not an outline; a third choice is a text link. */
.st-button { min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); font-weight: 560; }
.st-textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--tealD); font-weight: 560;
  text-decoration: underline; text-decoration-color: rgba(var(--rgb-teal), .35); text-underline-offset: 4px; }
.st-textlink:hover { text-decoration-color: currentColor; }

/* Out of stock, drawn as the empty shelf: three empty slots on one line */
.st-restock { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; padding: 32px 36px; border: 1px solid var(--rule);
  border-radius: 24px; box-shadow: none; }
.st-restock-art { display: block; width: 100%; height: auto; aspect-ratio: auto; border-radius: 0; background: none; }
.st-restock-art rect { fill: var(--tone); stroke: var(--mut2); stroke-width: 2; stroke-dasharray: 5 5; }
.st-restock-art path { fill: none; stroke: var(--mut2); stroke-width: 2; stroke-linecap: round; }
.st-main .st-restock h3 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.st-restock-copy > p { margin: 8px 0 0; max-width: 56ch; color: var(--ink2); line-height: 1.55; }
.st-restock-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 20px; }
@media (max-width: 640px) {
  .st-restock { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 20px; }
  .st-restock-art { width: 150px; }
  .st-restock-actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .st-restock-actions .st-button { width: 100%; }
  .st-restock-actions .st-textlink { justify-content: center; }
}

/* ---- Gadgets (owner 2026-12-01): stock we hold reads strongest, items we
   only gauge interest for are dimmed, and every flag is the same small size */
.st-status.is-available { background: var(--teal); color: #fff; }
.st-status.is-available::before { background: #fff; }
.st-status.is-out { color: var(--mut); background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.st-status.is-out::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.st-buyline-lg .st-status, .st-meta .st-status { font-size: .8125rem; padding: 3px 10px; border-radius: var(--r-pill); }
.st-gcard { padding: 12px 12px 14px; gap: 4px; }
.st-gcard .st-button { min-height: 44px; margin-top: auto; padding: 0 16px; font-size: .875rem; }
/* dimmed only beside stock we hold: a whole page of it read as disabled */
.st-ggrid:has(.is-in_hand) .is-discovery .st-gcard-media :is(img, .st-art) { opacity: .8; filter: saturate(.55); }
.st-ggrid:has(.is-in_hand) .is-discovery h3 a { color: var(--ink2); }
.st-gcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.st-gcard-meta .st-status { padding: 2px 9px; border-radius: var(--r-pill); font-size: .75rem; }
.st-gcard-meta .is-out { padding: 0; box-shadow: none; background: none; gap: 6px; font-weight: 600; }
.st-gcard.is-in_hand { border-color: rgba(var(--rgb-teal), .35); }
.st-gcard.is-in_hand .st-gcard-media { background: var(--tealL); }

/* product page: calmer heading, flag beside the brand, buttons at their own width */
.st-detail .st-buy h1, .st-main .st-buy h1 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.12; letter-spacing:0; text-wrap: balance; }
.st-buy .st-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.st-buy .st-summary-line { margin-top: 12px; color: var(--ink2); line-height: 1.55; max-width: 52ch; }
.st-interest-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--mut); font-size: .875rem; line-height: 1.5; max-width: 52ch; }
.st-buyform .st-button { width: auto; min-width: 220px; margin-top: 16px; }
.st-detail { gap: 40px; padding-top: 8px; }
.st-gadget-art { background: var(--tone); border: 0; }
@media (max-width: 640px) {
  .st-buyform .st-button { width: 100%; min-width: 0; }
  .st-detail { gap: 20px; }
}

/* Recently sold: a photo, the name, a small line of facts, price and date */
.st-recent li { display: block; padding: 0; font-size: inherit; }
.st-recent li a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  min-height: 64px; padding: 10px 0; color: var(--ink); text-decoration: none; }
.st-recent li a:hover .st-rs-t strong { color: var(--tealD); }
.st-rs-thumb { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--tone); overflow: hidden; }
.st-rs-thumb img { width: 100%; height: 100%; object-fit: contain; filter: saturate(.7); }
.st-rs-t { display: grid; gap: 2px; min-width: 0; }
.st-rs-t strong { font-size: .9375rem; font-weight: 560; }
.st-rs-t small, .st-rs-end small { color: var(--mut); font-size: .8125rem; font-weight: 500; }
.st-rs-end { display: grid; justify-items: end; gap: 2px; }
.st-rs-end b { color: var(--ink2); font-size: .9375rem; font-variant-numeric: tabular-nums; }

/* the video tile in a phone's gallery, and the video playing in the frame */
.st-vthumb { display: grid; place-items: center; gap: 0; width: 54px; height: 54px; border-radius: 10px; background: var(--ink);
  color: #fff; font-size: .6875rem; font-weight: 560; }
.st-vthumb svg { width: 18px; height: 18px; fill: currentColor; }
.st-photo-stage .st-stage-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.st-photo-stage.is-playing > .st-photo, .st-photo-stage.is-playing > figcaption { visibility: hidden; }
.st-unit-video { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 12px 0; }
.st-unit-video video { max-width: 100%; border-radius: 12px; background: #000; }

/* owner sign-in */
.st-login-wrap { max-width: 400px; margin: 64px auto 96px; }
.st-login-mark { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--tealL); fill: none; stroke: var(--tealD);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-main .st-login-wrap h1 { margin: 16px 0 8px; font-size: 1.5rem; }
.st-login { display: grid; gap: 8px; margin-top: 16px; }
.st-login label { font-weight: 560; font-size: .875rem; }
.st-login input { min-height: 48px; padding: 0 14px; border: 1px solid var(--mut2); border-radius: 12px; font: inherit; }
.st-login input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.st-login .st-button { margin-top: 8px; }

/* Fewer boxes on a phone's page (owner 2026-12-01: 'too much cards'): the photo
   is its own rounded frame, the buy column sits on the page, and the money-back
   note is text with a rule, not a tinted card */
.st-main > .crumbs { margin: 16px 0 20px; }
.st-phone-sheet { gap: clamp(24px, 4vw, 56px); border: 0; border-radius: 0; background: none; }
.st-phone-sheet .st-gallery-main { border-radius: 24px; }
.st-phone-sheet .st-unit-buy { padding: 8px 0; border: 0; border-radius: 0; background: none; }
@media (max-width: 860px) {
  .st-phone-sheet .st-gallery-main { border-radius: 20px; }
  .st-phone-sheet .st-unit-buy { padding: 0; }
}

/* ---- Owner queue, unslopped (owner 2026-12-01): the state and the pause
   switch in the top bar, four counts that jump to their section, a sticky
   section nav, then sections in order of urgency on one surface */
.st-owner-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }
.st-owner-state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.st-owner-state .st-button { min-height: 40px; }
.st-ostats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule); }
.st-ostat { display: grid; gap: 2px; padding: 16px 20px 16px 0; color: var(--ink); text-decoration: none; }
.st-ostat + .st-ostat { padding-left: 20px; border-left: 1px solid var(--rule); }
.st-ostat b { font-size: 1.75rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.st-ostat span { color: var(--mut); font-size: .8125rem; font-weight: 600; }
.st-ostat:hover b { color: var(--tealD); }
.st-owner-nav { position: sticky; top: 76px; z-index: 5; display: flex; gap: 4px; margin: 16px 0 0; padding: 6px;
  overflow-x: auto; scrollbar-width: none; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 1px var(--rule); }
.st-owner-nav::-webkit-scrollbar { display: none; }
.st-owner-nav a { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill);
  color: var(--ink2); font-size: .875rem; font-weight: 560; text-decoration: none; white-space: nowrap; }
.st-owner-nav a:hover { background: var(--tone); }
.st-owner .st-owner-section { scroll-margin-top: 140px; margin-top: 40px; padding: 0; border: 0; background: none; box-shadow: none; }
.st-owner .st-controls-grid { grid-template-columns: minmax(0, 1fr); }
.st-owner .st-control { padding: 0; border: 0; background: none; }
@media (max-width: 720px) {
  .st-ostats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-ostat:nth-child(3) { padding-left: 0; border-left: 0; }
  .st-ostat:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* The story card: his photo, the ten years, his words (owner 2026-12-01) */
.st-story { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; padding: 32px; }
.st-story-photo { margin: 0; }
.st-story-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.st-story-text { margin-top: 20px; }
.st-story-text .st-story-by { margin-top: 18px; color: var(--onp3); font-size: .9375rem; font-weight: 500; }
.st-story-text .st-story-by strong { color: var(--onp); font-weight: 560; }
@media (max-width: 720px) {
  .st-story { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
  .st-story-photo img { aspect-ratio: 4 / 3; object-position: 50% 22%; }
}

/* breathing room: the price bars, and the glance list under the buy buttons */
.st-usednew .st-usednew-grid { margin-top: 28px; }
.st-unit-buy .st-glance { margin-top: 20px; padding-top: 10px !important; }
.st-unit-buy .st-phone-order + .st-small { margin-top: 12px; }

/* The story card: his photo with a name chip, the 10+ mark beside the heading */
.st-story { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px; }
.st-story-photo { position: relative; }
.st-story-photo img { border-radius: 20px; }
.st-story-photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 12px;
  border-radius: 12px; background: rgba(18, 33, 31, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--onp2); font-size: .8125rem; line-height: 1.3; }
.st-story-photo figcaption strong { display: block; color: var(--onp); font-size: .9375rem; }
@media (max-width: 720px) {
  .st-story { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 16px 16px 24px; }
  .st-story-photo img { aspect-ratio: 4 / 3; object-position: 50% 20%; }
  .st-story-body { padding: 0 6px; }
}

/* restock: the phone-and-magnifier tile the owner preferred (2026-12-01) */
@media (min-width: 641px) { .st-restock { grid-template-columns: 180px minmax(0, 1fr); } }   /* phones stack (above) */
.st-restock .st-restock-art { display: grid; place-items: center; width: auto; aspect-ratio: 1; border-radius: 20px; background: var(--tone); }
.st-restock .st-restock-art svg { width: 78%; height: auto; fill: none; stroke: var(--mut); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.st-restock .st-restock-art rect { fill: none; stroke: var(--mut); stroke-dasharray: none; }
.st-restock .st-restock-art circle { fill: var(--card); stroke: var(--teal); }
.st-restock .st-restock-art path:nth-of-type(2), .st-restock .st-restock-art .plus { stroke: var(--teal); }
@media (max-width: 640px) { .st-restock .st-restock-art { width: 88px; border-radius: 16px; } }

/* Used or new, redrawn (owner 2026-12-01: 'compare better'): two prices side
   by side, then one bar -- the share of the new price you pay, and what you keep */
.st-vs2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; max-width: 760px; margin-top: 20px; }
.st-vs2-price { display: grid; gap: 4px; padding: 16px 0 0; border-top: 2px solid var(--teal); }
.st-vs2-price.is-new { border-top-color: var(--mut2); }
.st-vs2-price span { color: var(--ink2); font-size: .875rem; font-weight: 560; }
.st-vs2-price b { color: var(--ink); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.st-vs2-price.is-new b { color: var(--mut); font-weight: 560; }
.st-vs2-price small { color: var(--mut); font-size: .8125rem; }
@media (max-width: 480px) {
  .st-vs2 { gap: 14px 16px; }
}

/* loading states: the wizard's price lookup, and a busy submit button */
.st-want-ref.is-loading { color: var(--mut); }
.st-want-ref.is-loading::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 8px;
  vertical-align: -1px; border: 2px solid var(--mut2); border-top-color: var(--teal); border-radius: 50%;
  animation: st-spin .7s linear infinite; }
.st-button:is(.st-button-quiet, .st-gcard *, .st-stock-form *)[aria-busy="true"]::before { content: ""; width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff; border-radius: 50%; animation: st-spin .7s linear infinite; }
.st-button-quiet[aria-busy="true"]::before { border-color: rgba(var(--rgb-teal), .3); border-top-color: var(--tealD); }
@keyframes st-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .st-want-ref.is-loading::after, .st-button[aria-busy="true"]::before, .st-button[aria-busy="true"]::after { animation: none; } }

/* a photo well while its photo is on the way: a shimmer inside one neutral */
.is-waiting { background-image: linear-gradient(90deg, transparent 25%, rgba(var(--rgb-ink), .07) 50%, transparent 75%);
  background-size: 200% 100%; animation: st-sk 1.2s ease-in-out infinite; }
@keyframes st-sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .is-waiting { animation: none; } }

/* owner gadget catalogue (gadget_admin.py, 2026-12-02) */
.st-gadmin-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.st-gadmin-chips .st-count { margin-left: 6px; color: var(--mut); font-variant-numeric: tabular-nums; }
.st-gadmin-name { display: flex; align-items: center; gap: 12px; min-height: 48px; color: var(--ink); text-decoration: none; }
.st-gadmin-name .st-stock-photo { flex: none; width: 48px; height: 48px; padding: 3px; border-radius: var(--r-sm); background: var(--card); }
.st-gadmin-name strong { display: block; font-weight: 600; }
.st-gadmin-name small { display: block; color: var(--mut); font-size: 13px; }
.st-gadmin-name:hover strong { color: var(--tealD); text-decoration: underline; }
.st-gadmin-table td { vertical-align: middle; }
.st-gadmin-form { display: grid; gap: 16px; max-width: 640px; }
.st-gadmin-form textarea#specs { min-height: 160px; font-variant-numeric: tabular-nums; }
.st-gadmin-delete { display: grid; gap: 8px; margin-top: 16px; max-width: 640px; }
@media (max-width: 640px) {
  .st-gadmin-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .st-gadmin-chips .st-chip { flex: none; }
}

/* owner categories and brands (2026-12-02) */
.st-cat-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.st-cat-row { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.st-cat-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.st-cat-form label { display: grid; gap: 4px; flex: 1 1 200px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.st-cat-form input { min-height: 44px; }
.st-cat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 14px; color: var(--mut); }
.st-cat-meta form { display: inline; }
.st-cat-meta code { font-size: 13px; }

/* ---- UI audit, 2026-12-02 ---------------------------------------------- */
/* a question you can open reads as text, not as something switched off */
.st-main .faq summary { color: var(--ink); }
.st-main .faq details p { color: var(--ink2); }
/* headings and the rule or list under them never touch */
.st-main .st-lede + .st-expect-list { margin-top: 20px !important; }
.st-buy h1 + .st-interest-note { margin-top: 20px !important; }
.st-form > .st-small { margin-top: 20px; }
.st-form .st-button-wide + .st-small { max-width: none; margin-top: 12px; text-align: center; }
/* the trail's last word is the heading right below it on a phone */
@media (max-width: 620px) {
  .st-main > .crumbs { margin: 10px 0 12px; }
  .st-main > .crumbs:has(> .here) > :is(.here, .sep:has(+ .here)) { display: none; }
  .st-main > .crumbs + .st-listhead { padding-top: 0; }
}
/* one line for the saving on a card */
.st-unit .st-save { margin-top: 2px !important; font-size: .875rem; }
.st-phone-catalogue .st-unit .st-status { border-radius: var(--r-pill); padding: 3px 9px; }
.st-unit:hover h3 a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.st-nowrap { white-space: nowrap; }
.st-listhead + .st-empty { margin-top: 20px; }
.st-empty p a, .st-phone-heading p a { text-decoration: underline; }
.st-unit-buy .st-callout + .st-glance { margin-top: 0; padding-top: 6px !important; border-top: 0; }
.sr-block .st-section-head { flex-wrap: nowrap; align-items: center; }
.sr-block .st-more-link { flex: none; }
.st-restock-actions .st-textlink:only-child { justify-content: flex-start; }
.st-summary + .st-small, .st-bagsum + .st-small { margin-top: 14px; }
.st-bagsum .st-bagsum-total { border-bottom: 0; padding-bottom: 0; }
/* a short choice is a row of buttons you can hit, not loose dots */
.st-form .st-choice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.st-form .st-choice { gap: 10px; min-height: 52px; padding: 8px 14px; border: 1px solid var(--mut2); border-radius: var(--r-sm);
  background: var(--card); line-height: 1.3; }
.st-form .st-choice:hover { border-color: var(--teal); }
.st-form .st-choice:has(input:checked) { border-color: var(--teal); background: var(--tealL); color: var(--tealD); font-weight: 560; }
/* eight or four to a shelf: rows of four, never a row with a hole */
@media (min-width: 601px) { .st-section > .st-ggrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* search: the heading says what they are, so each card needn't */
.sr-block:has(.st-section-head) .sr-kind { display: none; }
.sr-units.st-phone-catalogue > .st-unit:only-child { max-width: 560px; }
@media (max-width: 480px) { .sr-sort a { padding-inline: 8px; } }
/* Phone forms: a full-width way forward, four steps that fit, a pill that holds two lines */
@media (max-width: 480px) {
  .st-form .st-choice { gap: 8px; padding-inline: 12px; font-size: .875rem; }
  .st-sell-actions .st-button { flex: 1; }
  .st-sell-actions [data-sell-back] { flex: 0 1 auto; }
  .st-progress-4 li { justify-content: center; padding-inline: 0; gap: 5px; }
  .st-progress-4 li span { width: 18px; height: 18px; font-size: .6875rem; }
  .st-want-form .st-sell-step .st-want-flex { border-radius: 16px; padding-block: 10px; }
}
/* ask for a phone while the shelf is empty */
.st-ask { margin-top: 28px; }
.st-main .st-ask h3 { font-size: 1.0625rem; }
.st-ask ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.st-main .st-ask a { display: grid; gap: 2px; color: var(--ink); text-decoration: none; }
.st-ask-photo { display: grid; place-items: center; aspect-ratio: .92; margin-bottom: 8px; border-radius: 18px; background: #f1f3f2; transition: background-color .15s ease-out; }
.st-ask-photo img { width: 74%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.st-ask a:hover .st-ask-photo { background: var(--tealL); }
.st-ask strong { font-size: .9375rem; font-weight: 560; line-height: 1.3; }
.st-ask a:hover strong { color: var(--tealD); text-decoration: underline; text-underline-offset: 3px; }
.st-ask small { color: var(--mut); font-size: .8125rem; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .st-ask ul { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: -16px; padding: 0 16px !important; scroll-padding-inline: 16px; }
  .st-ask ul::-webkit-scrollbar { display: none; }
  .st-ask li { flex: none; width: 128px; scroll-snap-align: start; }
}
/* full-screen photos: on a used phone the marks are the point */
.st-zoom { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0;
  border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; }
.st-zoom svg, .st-viewer svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.st-gallery-main.can-zoom > .st-photo { cursor: zoom-in; }
.st-zoom:focus-visible, .st-viewer button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.st-viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0c1413; color: #fff; overflow: hidden; }
.st-viewer::backdrop { background: #0c1413; }
.st-viewer-strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.st-viewer-strip::-webkit-scrollbar { display: none; }
.st-viewer-strip img { flex: none; width: 100vw; height: 100%; object-fit: contain; scroll-snap-align: center; touch-action: pan-x pinch-zoom; }
.st-viewer-bar { position: absolute; z-index: 1; inset: max(12px, env(safe-area-inset-top)) 12px auto; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.st-viewer-bar span { padding: 6px 12px; border-radius: var(--r-pill); background: rgba(12, 20, 19, .72); font-size: .875rem; font-weight: 560; font-variant-numeric: tabular-nums; }
.st-viewer button { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; pointer-events: auto; }
.st-viewer button:focus-visible { outline-color: #fff; }
.st-viewer-nav { position: absolute; inset: auto 12px max(16px, env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 12px; pointer-events: none; }
body:has(.st-viewer[open]) { overflow: hidden; }
/* ---- Skill review, 2026-12-02: press, touch, entrances, small type ------- */
.st-body { -webkit-tap-highlight-color: transparent; }
.st-body :is(a, button, summary, label, select, input) { touch-action: manipulation; }
/* what you press answers */
.st-tile, .st-chip, .st-chipbtn, .sr-chip, .st-choice, .st-fab, .st-zoom, .st-ask a, .st-unit { transition: transform .16s var(--st-out), background-color .15s ease-out, border-color .15s ease-out; }
.st-fab { transition: transform .2s var(--st-out), opacity .2s var(--st-out); }
:is(.st-tile, .st-chip, .st-chipbtn, .sr-chip, .st-choice, .st-zoom):active { transform: scale(.97); }
.st-fab:active { transform: scale(.96); }
:is(.st-unit, .st-ask a):active { transform: scale(.985); }
/* tight tracking belongs to large type */
.st-main h3:not(:where(.kspecs *, .faq *)) { letter-spacing:0; }
.st-main .st-gcard h3 { letter-spacing: 0; }
/* the buyer's five steps are a sequence, so they count; the inspection path keeps its icons */
.st-buy-steps .st-why-icon { border: 1.5px solid var(--teal); background: var(--card); color: var(--tealD); font-size: 1.0625rem; font-weight: 600;
  font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { html:has(.has-sticky) { scroll-padding-bottom: 96px; } }
@media (prefers-reduced-motion: no-preference) {
  /* the next step of a form arrives instead of blinking in */
  .st-sell-step { transition: opacity .2s var(--st-out), transform .2s var(--st-out); }
  .js .st-sell-step:not(:first-of-type):not([hidden]) { @starting-style { opacity: 0; transform: translateY(8px); } }
  .st-viewer { opacity: 0; transform: scale(.985); transition: opacity .14s ease-out, transform .14s ease-out, display .14s allow-discrete, overlay .14s allow-discrete; }
  .st-viewer[open] { opacity: 1; transform: none; transition-duration: .2s; transition-timing-function: var(--st-out);
    @starting-style { opacity: 0; transform: scale(.985); } }
  @media (max-width: 899px) {
    .st-filterbox[open] > summary, .st-filterbox[open] .st-filterform { animation: st-drawer .28s var(--st-drawer); }
    .st-filterbox[open]::before { animation: st-dim .2s ease-out; }
  }
}
@keyframes st-drawer { from { transform: translateX(-100%); } }
@keyframes st-dim { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .st-body :is(a, button, label, .st-unit):active { transform: none; }
  .st-tile, .st-chip, .st-chipbtn, .sr-chip, .st-choice, .st-fab, .st-zoom, .st-ask a, .st-unit { transition: none; }
}

/* ==== Redesign, 2026-12-02 ===============================================
   Type: one family, Anek Bangla (Latin, Bangla and the taka sign drawn as one),
   in four weights with one meaning each. Light says which (a maker, a currency,
   "than new"); heavy is the thing itself (a model, a price); regular is prose;
   semibold is a control. Headlines open the width axis. Tracking stays at zero.
   Layout: one surface per product, no boxes round boxes; lists stand beside
   their heading; the page breathes in steps of 8. */
.st-main, .st-viewer {
  --f-price: var(--f-sans); --f: var(--f-sans); --w-light: 300; --w-ui: 560; --w-heavy: 600; --st-well: #f0f3f2;
  font-family: var(--f-sans); font-size-adjust: .489; }
.st-main { font-size: 1.0625rem; line-height: 1.55; }
.st-width { width: min(100% - 40px, 1200px); }
.st-main { padding-bottom: 96px; }
.st-main :is(.st-status, .st-grade, figcaption, .st-stockpill, small) { letter-spacing: .01em; }
.st-main :is(h1, h2, h3):not(:where(.grp, .kspecs *, .faq *)) { letter-spacing: 0; }
.st-main h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.04; font-weight: var(--w-heavy); }
.st-main h2:not(:where(.grp, .kspecs *, .faq *)) { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; font-weight: 600; }
.st-main h3:not(:where(.kspecs *, .faq *)) { font-size: 1.25rem; line-height: 1.25; font-weight: 600; letter-spacing: 0; }
.st-main .st-lede { margin-top: 12px; font-size: 1.1875rem; line-height: 1.5; font-weight: 380; color: var(--ink2); max-width: 56ch; }
.st-section { margin-top: 112px; }
.st-section-head { align-items: center; margin-bottom: 28px; }
.st-h-gap { margin-bottom: 32px !important; }
.st-main .st-price, .st-sticky strong { color: var(--ink); font-weight: var(--w-heavy); }
.st-variant { color: var(--mut); }
.st-variant b, .st-summary b { font-weight: var(--w-ui); color: var(--ink2); }
/* controls: one shape, one weight; a link that leads on is underlined, not arrowed */
.st-button { font-size: 1.0625rem; font-weight: var(--w-ui); }
.st-more-link { color: var(--ink) !important; font-weight: var(--w-ui); text-decoration: underline; text-decoration-color: rgba(var(--rgb-teal), .35); text-underline-offset: 5px; }
.st-more-link:hover { text-decoration-color: currentColor; }
.st-more-link::after, .st-links a::after { content: none; }
.st-links a { text-decoration: underline; text-decoration-color: rgba(var(--rgb-teal), .35); text-underline-offset: 5px; }
.st-textlink { font-weight: var(--w-ui); font-size: 1.0625rem; }
.st-stockpill { min-height: 32px; padding: 0 14px; font-size: .9375rem; font-weight: 560; }

/* hero: the name of the promise set big, the phones and the slip beside it */
.st-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: center; }
.st-hero-copy { padding-block: 56px 48px; }
.st-main .st-hero h1 { max-width: none; font-size: clamp(2.75rem, 5.7vw, 4.75rem); line-height: 1; font-weight: 600; text-wrap: initial; }
.st-hero h1 :is(.w-l, b) { display: block; text-wrap: balance; }
.st-hero h1 .w-l { font-weight: 270; }
.st-hero h1 b { font-weight: var(--w-heavy); }
.st-hero p { max-width: 42ch; margin-top: 24px; font-size: 1.375rem; line-height: 1.45; font-weight: 380; text-wrap: pretty; }
.st-hero-actions { gap: 8px 28px; margin-top: 32px !important; }
.st-hero .st-button { --bh: 58px; }
.st-duel { display: grid; grid-template-columns: auto minmax(0, 1fr); justify-content: start; gap: 0 48px; margin-top: 48px; }
.st-duel li { display: grid; align-content: start; gap: 4px; color: var(--mut); font-size: 1.0625rem; font-weight: 340; }
.st-duel b { font-size: 2rem; line-height: 1.1; font-weight: 270; font-variant-numeric: tabular-nums; }
.st-duel b small { font-size: 1.0625rem; font-weight: 380; }
.st-duel em { font-style: normal; line-height: 1.4; }
.st-duel .is-ours { color: var(--tealD); }
.st-duel .is-ours b { font-weight: var(--w-heavy); }
.st-duel .is-ours em { color: var(--ink); font-weight: 560; }
.st-hero-art { align-items: center; justify-items: center; padding-block: 28px 0; }
.st-hero-phones { position: static; width: min(100%, 520px); }
/* a phone: one tonal tile, its words on the left, the phone standing on the right */
.st-used-feature { margin-top: 72px; }
.st-used-feature .st-section-head { margin-bottom: 24px; }
.st-used-feature .st-section-head > div { gap: 4px 16px; }
.st-phone-catalogue, .st-phone-catalogue:not(:has(> .st-unit:nth-child(3))) { gap: 20px; }
.st-main .st-phone-catalogue .st-unit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 340px; border: 0;
  border-radius: 28px; background: var(--st-well); overflow: hidden; }
.st-main .st-phone-catalogue .st-unit:hover { background: #e8eeec; }
.st-phone-catalogue .st-unit-copy { order: -1; gap: 4px; padding: 32px 20px 32px 32px; justify-content: flex-start; }
.st-main .st-phone-catalogue.st-phone-catalogue .st-unit .st-unit-media { aspect-ratio: auto; border-radius: 0; background: inherit; }   /* its own layer (view transition), so the photo blends with this */
.st-main .st-phone-catalogue .st-photo-stage.is-model > .st-photo { padding: 28px 20px 28px 8px; }
.st-body .st-phone-catalogue .st-photo-stage > figcaption { inset: auto 14px 14px auto; }
.st-phone-catalogue .st-unit .st-grade { margin: 0; color: var(--tealD); font-size: .9375rem; font-weight: 560; }
.st-main .st-phone-catalogue .st-unit h3 { margin-top: 6px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.08; font-weight: var(--w-heavy); text-wrap: balance; }
.st-unit h3 .w-l, .st-phone-sheet h1 .w-l { display: block; }
.st-phone-catalogue .st-unit .st-variant { margin-top: 8px; font-size: 1rem; }
.st-main .st-phone-catalogue .st-buyline { margin-top: auto; padding-top: 24px; gap: 8px 12px; }
.st-main .st-phone-catalogue .st-price { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; }
.st-phone-catalogue .st-unit .st-status { font-size: .875rem; padding: 4px 12px; font-weight: var(--w-ui); }
.st-main .st-unit .st-save { margin-top: 8px !important; font-size: 1.0625rem; font-weight: 350; color: var(--ink2); }
.st-save strong { font-weight: 600; }
@media (max-width: 939px) {
  .st-phone-catalogue, .st-phone-catalogue:not(:has(> .st-unit:nth-child(3))) { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 940px) {
  .st-main .st-phone-catalogue:has(> .st-unit:nth-child(3)) .st-unit { grid-template-columns: minmax(0, 1fr); }
  .st-phone-catalogue:has(> .st-unit:nth-child(3)) .st-unit-copy { order: 0; padding: 0 28px 28px; }
  .st-main .st-phone-catalogue.st-phone-catalogue:has(> .st-unit:nth-child(3)) .st-unit .st-unit-media { aspect-ratio: 1.1; }
}

/* categories and gadgets: pills on tone, products without a frame */
.st-main .st-tile { min-height: 52px; border: 0; border-radius: var(--r-pill); background: var(--st-well); padding: 4px 20px 4px 12px; font-size: 1rem; font-weight: 560; }
.st-section .st-tiles { margin-block: 0 28px; }
.st-ggrid, .st-shop .st-ggrid { gap: 40px 20px; }
.st-main .st-gcard, .st-main .st-gcard.is-in_hand { padding: 0; border: 0; background: none; gap: 6px; }
.st-main .st-gcard-media, .st-main .st-gcard.is-in_hand .st-gcard-media { margin-bottom: 8px; border-radius: 24px; background: var(--st-well); transition: background-color .15s ease-out; }
.st-gcard:hover .st-gcard-media { background: #e3ecea; }
.st-gcard-media .st-gadget-photo { padding: 10%; }
.st-gcard-meta .st-status { font-size: .875rem; font-weight: 450; }
.st-gcard-brand { font-size: .875rem; font-weight: 400; }
.st-main .st-gcard h3 { font-size: 1.125rem; line-height: 1.25; font-weight: 560; }
.st-gcard-price { font-size: 1.375rem; font-weight: var(--w-heavy); color: var(--ink); }
.st-gcard-price small { font-size: .875rem; font-weight: 400; }
.st-main .st-gcard .st-button { width: auto; justify-self: start; align-self: flex-start; min-height: 44px; padding: 0 20px; font-size: 1rem; }
.st-gcard .st-addform { display: flex; }
@media (max-width: 540px) {
  .st-section > .st-ggrid { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 20px;
    scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .st-section > .st-ggrid::-webkit-scrollbar { display: none; }
  .st-section > .st-ggrid > .st-gcard { flex: none; width: 44vw; min-width: 164px; max-width: 220px; scroll-snap-align: start; }
}

/* a heading on the left, its list on the right */
.st-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
@media (min-width: 900px) { .st-split > div:first-child { position: sticky; top: 112px; } }
.st-split h2 { max-width: 14ch; }
.st-split .st-why-steps { display: block; margin: 0; }
.st-split .st-why-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 24px; padding: 26px 0; border-top: 1px solid var(--rule); min-height: 0; }
.st-split .st-why-steps li:last-child { border-bottom: 1px solid var(--rule); }
.st-split .st-why-steps li::before { display: none; }
.st-split .st-why-steps .st-why-icon { position: static; grid-row: span 2; width: 48px; height: 48px; }
.st-split .st-why-steps strong { margin: 0; font-size: 1.375rem; font-weight: 600; line-height: 1.2; }
.st-split .st-why-steps p { grid-column: 2; margin: 0; font-size: 1.0625rem; max-width: 56ch; }
.st-split .st-expect-list { display: block; margin: 0; }
.st-split .st-expect-list li { grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding: 24px 0; }
.st-split .st-expect-list li:last-child { border-bottom: 1px solid var(--rule); }
.st-split .st-expect-icon { width: 48px; height: 48px; border-radius: 50%; }
.st-split .st-expect-list strong { font-size: 1.25rem; font-weight: 600; }
/* how buying works: five steps counted in the thinnest weight */
.st-main .st-buy-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.st-main .st-buy-steps li { padding: 20px 0 0; border-top: 1px solid var(--mut2); min-height: 0; }
.st-main .st-buy-steps li::before { display: none; }
.st-main .st-buy-steps .st-why-icon { position: static; display: block; width: auto; height: auto; border: 0; border-radius: 0; background: none; color: var(--teal);
  font-size: 4.5rem; line-height: .9; font-weight: 200; }
.st-main .st-buy-steps strong { margin-top: 20px; font-size: 1.1875rem; font-weight: 600; }
.st-main .st-buy-steps p { font-size: 1rem; }
@media (max-width: 900px) {
  .st-main .st-buy-steps { display: block; }
  .st-main .st-buy-steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; border-top-color: var(--rule); }
  .st-main .st-buy-steps .st-why-icon { grid-row: span 2; font-size: 3.25rem; }
  .st-main .st-buy-steps strong { margin: 4px 0 0; }
  .st-main .st-buy-steps p { grid-column: 2; }
}
/* grades: each name is set in the weight its phone has left */
.st-gradescale ol { gap: 24px; }
.st-gradescale li { grid-template-columns: 72px minmax(0, 1fr); gap: 20px; }
.st-gradescale svg { width: 72px; height: 81px; }
.st-main .st-gradescale strong { font-size: clamp(1.75rem, 2.8vw, 2.25rem); line-height: 1.1; }
.st-gradescale li:nth-child(1) strong { font-weight: 600; }
.st-gradescale li:nth-child(2) strong { font-weight: 500; }
.st-gradescale li:nth-child(3) strong { font-weight: 250; }
.st-gradescale li p { margin-top: 4px; font-size: 1rem; }

/* the story, the two doors, what sold */
.st-main .st-story { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; margin-top: 112px; padding: 40px 56px 40px 40px; border-radius: 36px; }
.st-story-photo img { border-radius: 24px; }
.st-main .st-story h2 { max-width: 18ch; font-size: clamp(1.75rem, 3.4vw, 2.625rem); }
.st-story-text { max-width: 56ch; margin-top: 32px; }
.st-story-text p { margin-top: 20px; font-size: 1.1875rem; font-weight: 320; line-height: 1.55; color: rgba(var(--rgb-white), .78); text-wrap: pretty; }
.st-main .st-story-text .st-story-lead { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.42; }
.st-story-text b { color: var(--onp); font-weight: 600; }
.st-main .st-story-text .st-story-by { margin-top: 28px; font-size: 1.1875rem; font-weight: 320; color: rgba(var(--rgb-white), .78); }
.st-main .st-story-text .st-story-by strong { color: var(--onp); font-weight: 600; }
.st-main .st-doors { gap: 20px; margin-top: 112px; border: 0; }
.st-main .st-doors > div, .st-main .st-doors > div + div { display: flex; flex-direction: column; align-items: flex-start; padding: 44px; border: 0; border-radius: 28px; background: var(--st-well); }
.st-main .st-doors > div:first-child { background: var(--tealD); color: var(--aquaL); }
.st-main .st-doors h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); max-width: 14ch; }
.st-main .st-doors > div:first-child h2 { color: var(--onp); }
.st-main .st-doors > div:first-child p { color: var(--aquaL); }
.st-main .st-doors p { margin: 14px 0 28px; font-size: 1.125rem; font-weight: 380; }
.st-main .st-doors .st-button { margin-top: auto; }
.st-doors h2 .w-l { display: block; }
.st-main .st-doors > div:first-child .st-button { --b-bg: var(--card); --b-fg: var(--tealD); --b-disc: var(--teal); --b-ico: var(--onp); --b-hov: var(--aquaL); }
.st-main .st-doors > div + div .st-button { background: var(--card); }
.st-main .st-recent { margin-top: 112px; }
.st-main .st-recent h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.st-recent ul { margin-top: 24px !important; }
.st-recent li a { grid-template-columns: 56px minmax(0, 1fr) auto; min-height: 84px; }
.st-rs-thumb { width: 56px; height: 56px; border-radius: 14px; }
.st-rs-t strong { color: var(--ink); font-size: 1.25rem; font-weight: 600; }
.st-rs-end b { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.st-rs-t small, .st-rs-end small { font-size: .9375rem; }

/* questions: heading left, hairline rows right */
.st-main .dfq .faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 72px; align-items: start; }
.st-main .dfq .fhead { grid-column: 1; grid-row: 1 / span 12; margin: 0; }
.st-main .dfq .faq h2 { max-width: 12ch; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; font-weight: 600; letter-spacing: 0; }
.st-main .dfq details { grid-column: 2; margin: 0; padding: 0; border-top: 1px solid var(--rule); border-radius: 0; box-shadow: none; background: none; }
.st-main .dfq details:last-child { border-bottom: 1px solid var(--rule); }
.st-main .dfq summary { padding: 22px 0; font-size: 1.1875rem; font-weight: var(--w-ui); }
.st-main .dfq details[open] summary { font-weight: 600; }
.st-main .dfq details p { margin: 0; padding: 0 48px 26px 0; font-size: 1.0625rem; line-height: 1.6; }

/* empty shelf and the phones to ask for */
.st-restock { border: 0; border-radius: 28px; background: var(--st-well); }
.st-main .st-restock h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; }
.st-restock-copy > p { font-size: 1.0625rem; }
.st-restock .st-restock-art { background: var(--card); }
.st-ask { margin-top: 56px; }
.st-main .st-ask h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 600; }
.st-ask ul { gap: 20px; margin-top: 20px; }
.st-ask-photo { border-radius: 24px; background: var(--st-well); }
.st-ask strong { font-size: 1.0625rem; font-weight: 600; line-height: 1.25; }
.st-ask small { font-size: .9375rem; }

/* used listing */
.st-main .st-phone-heading h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1; letter-spacing: 0; }
.st-phone-heading p { margin-top: 14px; font-size: 1.1875rem; font-weight: 380; }
.st-collection-toolbar { padding-block: 16px 20px; }
.st-chip { border-color: transparent; background: var(--st-well); font-size: 1rem; font-weight: 560; min-height: 48px; padding: 0 20px; }

/* a phone's page */
.st-main .st-unit-detail { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.st-main .st-phone-sheet .st-gallery-main { min-height: 560px; border-radius: 36px; background: var(--st-well); }
.st-main .st-phone-sheet h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1; letter-spacing: 0; font-weight: 600; }
.st-main .st-phone-sheet .st-meta { font-size: .9375rem; }
.st-phone-sheet .st-variant { margin-top: 14px; font-size: 1.125rem; }
.st-main .st-phone-sheet .st-buyline { margin-top: 28px; }
.st-main .st-phone-sheet .st-price { font-size: clamp(2.75rem, 5vw, 4rem); line-height: 1; }
.st-buyline-lg .st-status { font-size: .9375rem; padding: 5px 14px; font-weight: var(--w-ui); }
.st-phone-sheet .st-save { margin-top: 10px !important; font-size: 1.0625rem; font-weight: 350; }
.st-main .st-phone-sheet .st-phone-order { margin-top: 28px; gap: 10px; }
.st-main .st-phone-sheet .st-phone-order .st-button { --bh: 58px; }
.st-unit-buy .st-phone-order + .st-small { margin-top: 14px; font-size: 1rem; }
.st-main .st-glance li + li { border-top: 1px solid var(--rule); }
.st-main .st-glance a { min-height: 52px; font-size: 1.0625rem; font-weight: 560; }
.st-unit-more > * { margin-top: 112px; }
.st-unit-more > .st-report:first-child { margin-top: 72px; }
.st-main .st-report { border-radius: 32px; }
.st-report-head { padding: 32px 36px 28px; }
.st-main .st-report-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; }
.st-report-head dt { font-size: .9375rem; font-weight: 400; }
.st-report-head dd { font-size: .9375rem; font-weight: var(--w-ui); }
.st-report-good { font-size: 1.125rem; font-weight: 380; }
.st-main .st-report-col h3 { padding: 24px 36px 16px; font-size: 1.375rem; }
.st-main .st-report-col h3 span { color: var(--ink); font-size: 3rem; font-weight: 200; line-height: 1; }
.st-report-col li { padding: 18px 36px; }
.st-report-col li strong { font-size: 1.125rem; font-weight: 600; }
.st-report-col li p, .st-report-cover p { font-size: 1.0625rem; }
.st-report-cover { padding: 24px 36px 28px; }
.st-report-cover strong { font-size: 1.125rem; font-weight: 600; }
/* used against new: the two prices argue in weight */
.st-vs2 { max-width: none; margin-top: 8px; gap: 24px 40px; }
.st-vs2-price { align-content: start; padding-top: 20px; }
.st-vs2-price span { font-size: 1.0625rem; font-weight: 450; }
.st-main .st-vs2-price b { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; font-weight: 600; }
.st-main .st-vs2-price.is-new b { font-weight: 200; color: var(--ink2); }
.st-vs2-price small { font-size: 1rem; }
.st-vs2-share { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; margin-top: 12px; }
.st-vs2-share i { flex: 0 0 100%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--teal) var(--w), #dfe8e6 var(--w)); }
.st-vs2-share p { font-size: 1.125rem; color: var(--ink2); }
.st-vs2-share b { color: var(--tealD); font-weight: var(--w-heavy); }
.st-usednew dt { font-size: 1.25rem; font-weight: 600; }
.st-phone-page .st-unit-more > .kspecs { margin-top: 112px; }
.st-main .kspecs h2.grp { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; font-weight: 600; letter-spacing: 0; }
.st-main .ksc h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: 0; }
.st-main .ksc dt { font-size: 1.0625rem; font-weight: 400; }
.st-main .ksc dd { font-size: 1.0625rem; font-weight: 560; }

/* a gadget's page, the listing, search, forms */
.st-detail .st-buy h1, .st-main .st-buy:not(.st-unit-buy) h1 { margin-top: 12px; font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.02; letter-spacing: 0; font-weight: var(--w-heavy); }
.st-main .st-gallery-main.st-gadget-art { border: 0 !important; border-radius: 36px; background: var(--st-well); }
.st-gadget-art .st-gadget-photo { mix-blend-mode: multiply; padding: 6%; }
.st-interest-note { font-size: 1rem; }
.st-highlights li { font-size: 1.0625rem; }
.st-buyline-lg .st-price { font-size: 2.25rem; line-height: 1; }
.st-main .st-listhead h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); }
.st-filterbox { border: 0; border-radius: 24px; background: var(--st-well); }
.st-filterform { border-top-color: rgba(var(--rgb-ink), .1); }
.st-filterbox .st-button { width: 100%; }
.st-pagination { border: 0; padding-block: 40px 0; }
.st-main .sr-head h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: 0; }
.sr-form input { min-height: 60px; font-size: 1.125rem; padding-inline: 26px; }
.sr-form .st-button { --bh: 60px; }
.st-main .sr-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.sr-block { margin-top: 56px; }
.sr-media { border-radius: 24px; background: var(--st-well); }
.sr-title { font-size: 1.125rem; }
.sr-price { font-size: 1.25rem; font-weight: 600; }
.sr-price small { font-size: .9375rem; font-weight: 400; }
.sr-tabs a, .sr-chip { font-size: 1rem; font-weight: 560; }
.sr-meta { font-size: .9375rem; }
.sr-want { border-radius: 28px; padding: 28px 32px; }
.sr-want strong { font-size: 1.375rem; font-weight: 600; }
.st-field > label, .st-fieldset > legend { font-size: 1.0625rem; font-weight: 560; }
.st-hint { font-size: .9375rem; }
.st-field input, .st-field textarea, .st-field select { min-height: 56px; border-radius: 14px; padding: 12px 16px; font-size: 1.0625rem; }
.st-form .st-choice { border-radius: 14px; font-size: 1.0625rem; }
.st-want-form .st-sell-step .st-choice { border-radius: var(--r-pill); min-height: 48px; padding-inline: 18px; }
.st-form-aside { padding: 28px; border: 0; border-radius: 28px; background: var(--st-well); }
.st-summary strong { font-size: 1.25rem; font-weight: 600; }
.st-summary-photo { background: var(--card); }
.st-summary { border-bottom-color: rgba(var(--rgb-ink), .12); }
.st-small { font-size: .9375rem; }
.st-status-card { border: 0; border-radius: 32px; background: var(--tealL); box-shadow: none; }
.st-empty { border: 0; border-radius: 28px; background: var(--st-well); padding: 36px; }
.st-baglist .st-bagline-main a { font-size: 1.125rem; font-weight: 560; }
.st-bagsum-total dd { color: var(--ink); font-size: 1.75rem; font-weight: var(--w-heavy); }
.st-quote { border: 0; border-radius: 28px; background: var(--st-well); padding: 28px; }
.st-quote-total strong { color: var(--ink); font-size: 2.25rem; font-weight: var(--w-heavy); }
.st-grade { min-height: 30px; padding: 0 12px; border-radius: var(--r-pill); font-weight: 560; font-size: .9375rem; }

@media (max-width: 900px) {
  .st-split, .st-main .dfq .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .st-main .dfq .fhead, .st-main .dfq details { grid-column: 1; grid-row: auto; }
  .st-main .dfq .faq { gap: 0; }
  .st-main .dfq .fhead { margin-bottom: 20px; }
  .st-split h2, .st-main .dfq .faq h2 { max-width: 20ch; }
  .st-section, .st-main .st-story, .st-main .st-doors, .st-main .st-recent, .st-unit-more > * { margin-top: 80px; }
  .st-phone-page .st-unit-more > .kspecs { margin-top: 80px; }
  .st-main .st-unit-detail { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .st-main .st-phone-sheet .st-gallery-main { min-height: 0; aspect-ratio: 1.1; border-radius: 28px; }
  .st-main .st-phone-sheet .st-gallery-main.is-real { aspect-ratio: .9; }
  .st-main .st-story { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px 20px 32px; border-radius: 28px; }
}
@media (max-width: 860px) {
  .st-hero { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
  .st-hero-copy { display: contents; }
  .st-hero h1, .st-hero-art { order: -1; }
  .st-main .st-hero h1 { padding-top: 28px; }
  .st-main .st-hero h1 { font-size: clamp(2.375rem, 12.4vw, 4.5rem); }
  .st-hero p { margin-top: 14px; font-size: 1.1875rem; }
  .st-duel { gap: 0 28px; margin-top: 32px; }
  .st-duel li { font-size: 1rem; }
  .st-duel b { font-size: 1.75rem; }
  .st-hero-actions { gap: 6px 16px; margin-top: 20px !important; }
  .st-hero .st-button { --bh: 54px; }
  .st-hero-art { padding-block: 24px 4px; }
  .st-hero-phones { width: min(340px, 84%); margin: 0 auto; }
}
@media (max-width: 620px) {
  .st-width { width: min(100% - 32px, 1200px); }
  .st-main { padding-bottom: 72px; }
  .st-main .st-phone-catalogue .st-unit { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 232px; border-radius: 24px; }
  .st-phone-catalogue .st-unit-copy { padding: 22px 12px 22px 22px; }
  .st-main .st-phone-catalogue .st-photo-stage.is-model > .st-photo { padding: 18px 14px 34px 4px; }
  .st-main .st-phone-catalogue .st-unit .st-variant b { display: block; }
  .st-main .st-phone-catalogue .st-buyline { padding-top: 16px; }
  .st-main .st-unit .st-save { font-size: 1rem; }
  .st-gradescale li { grid-template-columns: 64px minmax(0, 1fr); }
  .st-split .st-why-steps li, .st-split .st-expect-list li { gap: 4px 18px; padding: 22px 0; }
  .st-split .st-why-steps strong { font-size: 1.25rem; }
  .st-main .st-doors > div, .st-main .st-doors > div + div { padding: 28px 24px; margin-top: 0; }
  .st-report-head, .st-main .st-report-col h3, .st-report-col li, .st-report-cover { padding-inline: 20px; }
  .st-recent li a { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; }
  .st-rs-thumb { width: 48px; height: 48px; }
  .st-rs-t strong, .st-rs-end b { font-size: 1.0625rem; }
  .st-form-aside { padding: 22px; border-radius: 24px; }
  .st-section > .st-ggrid { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .sr-form input { min-height: 54px; }
  .sr-form .st-button { --bh: 54px; }
  .sr-form input { padding-inline: 20px; }
}

/* ---- What the same money buys new: new phones thin, ours in full weight */
.st-newlist li { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.2fr) auto; align-items: center; gap: 4px 20px; min-height: 76px;
  padding: 14px 0; border-top: 1px solid var(--rule); font-size: 1.0625rem; font-weight: 300; color: var(--ink2); }
.st-newlist strong { font-size: 1.25rem; font-weight: 300; line-height: 1.2; }
.st-main .st-newlist a { color: inherit; text-decoration: none; }
.st-main .st-newlist a:hover { text-decoration: underline; text-underline-offset: 4px; }
.st-newlist b { font-size: 1.25rem; font-weight: 300; text-align: right; font-variant-numeric: tabular-nums; }
.st-newlist .is-ours { margin: 4px max(-24px, -2vw) 0; padding: 22px min(24px, 2vw); border: 0; border-radius: 24px; background: var(--tealD); color: var(--aquaL); font-weight: 450; }
.st-newlist .is-ours strong, .st-newlist .is-ours b { color: var(--onp); font-weight: var(--w-heavy); font-size: 1.5rem; }
.st-newlist .is-ours span { font-weight: 560; color: var(--onp); }
.st-newlist small { display: block; margin-top: 4px; color: var(--aquaL); font-size: .9375rem; font-weight: 400; }
@media (max-width: 620px) {
  .st-newlist li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 16px 0; }
  .st-newlist strong { grid-column: 1; grid-row: 1; }
  .st-newlist b { grid-column: 2; grid-row: 1; }
  .st-newlist span { grid-column: 1 / -1; font-size: 1rem; }
  .st-newlist .is-ours { margin: 8px 0 0; padding: 20px; }
}

/* ---- Chips: a mark that says the state, no dot, no smear of colour */
.st-status, .st-main .st-phone-catalogue .st-unit .st-status, .st-buyline-lg .st-status, .st-meta .st-status, .st-summary .st-status {
  gap: 7px; min-height: 34px; padding: 0 14px 0 11px; border-radius: var(--r-pill); font-size: .9375rem; font-weight: 500; letter-spacing: 0; }
.st-status::before, .st-unit .st-status::before { width: 17px; height: 17px; border-radius: 0; background: currentColor; box-shadow: none;
  -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.st-status { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.st-status.is-hold { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.st-status:is(.is-out, .is-request) { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E"); }
.st-status.is-available { background: var(--teal); color: #fff; }
.st-status.is-available::before { background: #fff; }
.st-status.is-hold { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(var(--rgb-ink), .2); }
.st-status.is-sold { background: rgba(var(--rgb-ink), .07); color: var(--ink2); }
.st-status.is-out::before, .st-status.is-request::before { background: currentColor; }
.st-gcard-meta .is-out { min-height: 24px; padding: 0; font-size: .9375rem; }
.st-gcard-meta .st-status::before { width: 15px; height: 15px; }
.st-stockpill, .st-main .st-stockpill { gap: 8px; min-height: 34px; padding: 0 14px 0 12px; font-size: .9375rem; font-weight: 500; }
.st-stockpill.is-in { background: var(--tealL); color: var(--tealD); }
.st-stockpill.is-in span { width: 16px; height: 16px; border-radius: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.st-stockpill.is-out { background: none; padding: 0; color: var(--mut); }
.st-main .st-chip { border: 1px solid rgba(var(--rgb-ink), .16); background: var(--card); color: var(--ink); font-weight: 500; }
.st-main .st-chip:hover { border-color: var(--ink); background: var(--card); color: var(--ink); }
.st-main .st-chip[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--card); }
.st-grade { font-weight: 500; }

/* ---- A phone's card: what it is good for, and on a phone the phone itself comes first and large */
.st-unit-for { margin-top: 10px; max-width: 30ch; color: var(--ink2); font-size: 1rem; line-height: 1.4; text-wrap: pretty; }
@media (max-width: 620px) {
  .st-main .st-phone-catalogue .st-unit { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 28px; }
  .st-main .st-phone-catalogue.st-phone-catalogue .st-unit .st-unit-media { order: -1; aspect-ratio: 1.12; }
  .st-main .st-phone-catalogue .st-photo-stage.is-model > .st-photo { padding: 22px 22px 6px; }
  .st-body .st-phone-catalogue .st-photo-stage > figcaption { inset: 14px auto auto 14px; }
  .st-phone-catalogue .st-unit-copy { order: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 14px 22px 24px; }
  .st-phone-catalogue .st-unit-copy > * { grid-column: 1 / -1; }
  .st-phone-catalogue .st-unit-grade { grid-column: 1; align-self: center; }
  .st-main .st-phone-catalogue .st-unit h3 { font-size: 1.875rem; }
  .st-main .st-phone-catalogue .st-unit .st-variant b { display: inline; }
  .st-unit-for { max-width: none; }
  .st-main .st-phone-catalogue .st-buyline { justify-content: space-between; padding-top: 18px; }
  .st-main .st-phone-catalogue .st-price { font-size: 2.5rem; }
}
@media (min-width: 621px) and (max-width: 860px) {
  .st-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 24px; align-items: start; }
  .st-hero-copy { display: block; padding-block: 24px 16px; }
  .st-hero h1, .st-hero-art { order: 0; }
  .st-main .st-hero h1 { padding-top: 16px; font-size: 6.4vw; }
  .st-hero-phones { width: 100%; }
}
@media (max-width: 620px) {
  .st-hero-art { display: grid; justify-items: center; }
}
