/* The pricing page, /studio/upgrade (D191, D194): hero, the monthly/yearly toggle, three plan cards, the compare
   table and the FAQ. Sizes from design/chordlens.pen; colours are Studio tokens, so light and dark both follow. */

#upgrade { container-type: inline-size; }
/* The one page kept to a column (P322): plan cards and FAQ read badly at full width. */
.up-page { max-width: 1176px; margin-inline: auto; display: flex; flex-direction: column; align-items: flex-start; }
.up-icon { flex: none; width: 16px; height: 16px; }
.up-wide { width: 100%; min-width: 0; }

/* ---- Hero ---- */
.up-hero { display: flex; flex-direction: column; align-self: stretch; align-items: center; gap: 20px; padding: 0 0 32px; text-align: center; }
.up-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px 6px 8px;
  border-radius: 999px; outline: 1px solid color-mix(in srgb, var(--st-accent) 25%, transparent); outline-offset: -1px;
  background: var(--st-accent-soft); color: var(--st-accent); font: 500 11px/14px var(--st-font-mono); letter-spacing: 0.11em; text-transform: uppercase;
}
.up-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 3px; background: var(--st-accent); }
.up-title { display: flex; flex-direction: column; margin: 0; font: 600 clamp(40px, 6cqi, 64px)/1.05 var(--st-font); letter-spacing: -0.0375em; }
.up-title__accent { background: linear-gradient(90deg, var(--st-accent), var(--st-warn)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.up-lede { max-width: 520px; margin: 0; color: var(--st-text-dim); font-size: 17px; line-height: 1.55; }
.up-strip {
  --up-beat: 0.5s; --n: 7; --skip: 0; --w: 72px; --gap: 10px; --pitch: calc(var(--w) + var(--gap));
  width: calc(var(--n) * var(--pitch) - var(--gap)); max-width: 100%; margin: -8px 0 -16px; padding: 16px 0; overflow-x: clip;
  mask-image: linear-gradient(90deg, transparent, rgb(0 0 0 / 0.35) 10%, #000 35%, #000 65%, rgb(0 0 0 / 0.35) 90%, transparent);
}
/* The centre slot is track chord --skip + 3; the still frame sits two bars in, on Am. */
.up-track { display: flex; align-items: center; gap: var(--gap); translate: calc((var(--skip) + 2) * -1 * var(--pitch)) 0; }
/* Every chord is one size; the lit one scales (1.2 × 72px ≈ the 88px design) so nothing reflows. */
.up-chord {
  display: flex; flex: none; flex-direction: column; align-items: center; gap: 8px; width: var(--w); padding: 12px 0 10px;
  border-radius: 12px; outline: 1px solid var(--st-line); outline-offset: -1px; background: var(--st-surface); color: var(--st-text-dim);
}
.up-chord b { font: 600 20px/1 var(--st-font); }
.up-chord--lit { transform: scale(1.2); outline-color: var(--st-accent); background: var(--st-accent-soft); color: var(--st-text); box-shadow: 0 0 24px color-mix(in srgb, var(--st-accent) 30%, transparent); }
.up-beats { display: flex; gap: 3px; }
.up-beat { width: 4px; height: 4px; border-radius: 2px; background: var(--st-line-strong); }
.up-beat--on { background: var(--st-accent); }

/* Like Live chords: the current chord stays centred and the row slides a chord left on each bar line. A bar of 4/4
   at 120 BPM, a 16-beat loop over C G Am F (track chords 4-7); the track snaps back a whole cycle, so the wrap is
   invisible. A negative delay starts every part half way into beat 10 (Am, 3 beats on), the still frame. */
@media (prefers-reduced-motion: no-preference) {
  .up-track { animation: up-slide calc(16 * var(--up-beat)) calc(-10.5 * var(--up-beat)) infinite; }
  .up-chord:nth-child(4) { --at: 0; }
  .up-chord:nth-child(5) { --at: 4; }
  .up-chord:nth-child(6) { --at: 8; }
  .up-chord:nth-child(7) { --at: 12; }
  :is(.up-chord:nth-child(n+4):nth-child(-n+7), .up-chord:nth-child(n+4):nth-child(-n+7) .up-beat) {
    animation: up-lit calc(16 * var(--up-beat)) step-end calc((var(--at) + var(--k, 0) - 26.5) * var(--up-beat)) infinite;
  }
  .up-chord:nth-child(n+4):nth-child(-n+7) .up-beat:nth-child(1) { --k: 0; animation-name: up-on-4; }
  .up-chord:nth-child(n+4):nth-child(-n+7) .up-beat:nth-child(2) { --k: 1; animation-name: up-on-3; }
  .up-chord:nth-child(n+4):nth-child(-n+7) .up-beat:nth-child(3) { --k: 2; animation-name: up-on-2; }
  .up-chord:nth-child(n+4):nth-child(-n+7) .up-beat:nth-child(4) { --k: 3; animation-name: up-on-1; }
}
/* Each slide takes the bar's last 280 ms (3.5% of the 8 s loop) and lands on the downbeat. */
@keyframes up-slide {
  0%, 21.5% { translate: calc((var(--skip) + 0) * -1 * var(--pitch)) 0; animation-timing-function: ease-in-out; }
  25%, 46.5% { translate: calc((var(--skip) + 1) * -1 * var(--pitch)) 0; animation-timing-function: ease-in-out; }
  50%, 71.5% { translate: calc((var(--skip) + 2) * -1 * var(--pitch)) 0; animation-timing-function: ease-in-out; }
  75%, 96.5% { translate: calc((var(--skip) + 3) * -1 * var(--pitch)) 0; animation-timing-function: ease-in-out; }
  100% { translate: calc((var(--skip) + 4) * -1 * var(--pitch)) 0; }
}
@keyframes up-lit {
  0% { transform: scale(1.2); outline-color: var(--st-accent); background: var(--st-accent-soft); color: var(--st-text); box-shadow: 0 0 24px color-mix(in srgb, var(--st-accent) 30%, transparent); }
  25%, 100% { transform: none; outline-color: var(--st-line); background: var(--st-surface); color: var(--st-text-dim); box-shadow: none; }
}
/* Beat k of a bar stays on for the bar's last 4 - k beats. */
@keyframes up-on-4 { 0% { background: var(--st-accent); } 25%, 100% { background: var(--st-line-strong); } }
@keyframes up-on-3 { 0% { background: var(--st-accent); } 18.75%, 100% { background: var(--st-line-strong); } }
@keyframes up-on-2 { 0% { background: var(--st-accent); } 12.5%, 100% { background: var(--st-line-strong); } }
@keyframes up-on-1 { 0% { background: var(--st-accent); } 6.25%, 100% { background: var(--st-line-strong); } }

/* ---- Notices and the toggle ---- */
/* The page's toast: a zero-height slot stuck to the viewport's foot, centred on the page column, so it never moves the cards. */
/* Focus lands on the heading only when a closed toast had it (page.ts); it isn't a control. */
.up-title:focus { outline: none; }
.up-notice-slot { position: sticky; bottom: 24px; z-index: 45; order: 1; align-self: stretch; height: 0; }
.up-notice, .up-msg { display: flex; align-items: center; gap: 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.up-notice {
  position: absolute; bottom: 0; left: 50%; width: max-content; max-width: min(560px, calc(100% - 32px)); padding: 6px 6px 6px 16px;
  border-radius: 10px; outline: 1px solid var(--st-line-strong); outline-offset: -0.5px; background: var(--st-popover-bg);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--st-shadow) 60%, transparent); color: var(--st-text); transform: translateX(-50%);
}
.up-notice p, .up-msg p { flex: 1; margin: 0; }
.up-notice p { padding: 6px 0; }
.up-notice--ok { outline-color: color-mix(in srgb, var(--st-ok) 45%, transparent); }
.up-notice--error { outline-color: color-mix(in srgb, var(--st-error) 55%, transparent); }
.up-notice__close { display: inline-grid; flex: none; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 7px; background: none; color: var(--st-text-dim); cursor: pointer; }
.up-notice__close:hover { background: var(--st-surface-2); color: var(--st-text); }
.up-notice__close:focus-visible { outline: 2px solid var(--st-accent); outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) {
  .up-notice { animation: up-notice-in 180ms ease-out; }
  @keyframes up-notice-in { from { opacity: 0; transform: translate(-50%, 8px); } }
}
.up-msg { margin-top: 4px; padding: 10px 12px; background: var(--st-surface-2); color: var(--st-text); text-align: left; }
.up-msg--error { outline: 1px solid color-mix(in srgb, var(--st-error) 55%, transparent); outline-offset: -1px; }
.up-toggle { align-self: center; padding: 8px 0 40px; }
.up-toggle .st-seg { gap: 4px; padding: 4px; border-radius: 12px; background: var(--st-surface); }
.up-toggle .st-seg__item { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 18px; border-radius: 8px; font-size: 14px; color: var(--st-text-dim); }
.up-save { padding: 3px 7px; border-radius: 6px; background: var(--st-accent-soft); color: var(--st-accent); font: 600 11px/14px var(--st-font-mono); }

/* ---- Cards ---- */
.up-voucher { display: flex; align-items: center; gap: 8px; align-self: center; width: min(100%, 369px); margin: 8px 0 0; padding: 10px 14px; border: 1px solid var(--st-accent); border-radius: 10px; background: var(--st-accent-soft); color: var(--st-text); font-weight: 600; font-size: 13px; }
.up-voucher[hidden] { display: none; }
.up-cards.up-cards--one { grid-template-columns: minmax(0, 369px); justify-content: center; }
.up-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; padding-top: 20px; }
.up-card {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 32px;
  border-radius: 20px; outline: 1px solid var(--st-line); outline-offset: -1px; background: var(--st-surface);
}
.up-card--pro {
  outline-color: color-mix(in srgb, var(--st-accent) 67%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--st-accent) 10%, var(--st-surface)), var(--st-surface));
  box-shadow: 0 24px 60px -20px color-mix(in srgb, var(--st-accent) 35%, transparent);
}
.up-ribbon { position: absolute; top: -12px; right: 0; }
.up-card__name { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 22px/1.2 var(--st-font); letter-spacing: -0.02em; }
.up-card--pro .up-card__name { color: var(--st-accent); }
.up-card__mark { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; outline: 1px solid var(--st-line-strong); outline-offset: -1px; background: var(--st-surface-2); color: var(--st-text); }
.up-card--pro .up-card__mark, .up-card__mark--pro { outline-color: transparent; background: var(--st-accent); color: var(--st-on-accent); }
.up-card__tagline { margin: -6px 0 4px; color: var(--st-text-dim); font-size: 14px; }
.up-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0; }
.up-price__amount { font: 600 48px/1 var(--st-font); letter-spacing: -0.04em; }
.up-price__list { color: var(--st-text-faint); font: 600 24px/1 var(--st-font); letter-spacing: -0.04em; }
.up-price__unit { color: var(--st-text-dim); font-size: 14px; }
.up-note { margin: -8px 0 0; color: var(--st-text-dim); font-size: 14px; }
.up-note b { color: var(--st-text); font-weight: 600; }
.up-note__list { color: var(--st-text-faint); }
.up-card__act { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding-top: 8px; text-align: center; }
.up-card__act .st-btn--lg { justify-content: center; height: 50px; border-radius: 12px; text-decoration: none; }
/* A failing renewal's Update card (P284): the plan card's rose outline (plan-card.css `.pc-btn--fix`). */
.up-card__act .up-cta--fix { outline-color: #f8717180; background: #f871711a; }
.up-card__act .up-cta--fix:hover { outline-color: #f87171; }
.up-card__act .up-cta--fix .st-icon { color: #fecaca; }
.up-card__act .st-btn[aria-disabled='true'] { opacity: 0.45; cursor: default; box-shadow: none; }
.up-current { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; margin: 0; border-radius: 12px; outline: 1px dashed var(--st-line-strong); outline-offset: -1px; color: var(--st-text-dim); font-weight: 600; }
.up-small { margin: 0; color: var(--st-text-faint); font-size: 12px; }
.up-rule { width: 100%; margin: 8px 0 0; border: 0; border-top: 1px solid var(--st-line); }
.up-lead { margin: 0; font-weight: 600; font-size: 13px; }
.up-features { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.up-feature { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 20px; }
.up-feature .up-icon { margin-top: 2px; color: var(--st-text-dim); }
.up-card--pro .up-feature .up-icon { color: var(--st-accent); }
.up-feature small { display: block; color: var(--st-text-faint); font-size: 12px; line-height: 18px; }
.up-upcoming { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--st-surface-2); color: var(--st-text-dim); font-size: 13px; line-height: 18px; }
.up-upcoming .up-icon { margin-top: 1px; }
.up-feature--no { color: var(--st-text-faint); }
.up-card--pro .up-feature--soon .up-icon, .up-feature--no .up-icon { color: var(--st-text-faint); }
.up-feature--soon { color: var(--st-text-dim); }
.up-link { display: inline-flex; align-items: center; gap: 6px; color: var(--st-accent); font-weight: 500; font-size: 14px; text-decoration: none; }
.up-link:hover { text-decoration: underline; }
.up-upsell {
  display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px; border-radius: 12px;
  outline: 1px solid color-mix(in srgb, var(--st-accent) 30%, transparent); outline-offset: -1px;
  background: var(--st-accent-soft); color: var(--st-text); text-decoration: none;
}
.up-upsell > span:nth-child(2) { flex: 1; }
.up-upsell b { display: block; font-size: 13px; }
.up-upsell small { color: var(--st-text-dim); font-size: 12px; }
.up-upsell > .up-icon { color: var(--st-accent); }

/* ---- Trust row ---- */
/* One centred row on the cards' centre line; a centred 2×2 grid when narrower, a stack on a phone (never a lone item). */
.up-trust { container-type: inline-size; align-self: stretch; padding: 32px 0 0; }
.up-trust__row { display: grid; grid-template-columns: max-content; justify-content: center; gap: 12px 40px; margin: 0; padding: 0; list-style: none; }
@container (min-width: 440px) { .up-trust__row { grid-template-columns: repeat(2, max-content); } }
@container (min-width: 820px) { .up-trust__row { grid-template-columns: repeat(4, max-content); } }
.up-trust li { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--st-text-dim); font-size: 13px; }
.up-trust .up-icon { color: var(--st-text-faint); }

/* ---- Compare ---- */
.up-compare { width: 100%; padding-top: 96px; }
.up-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.up-kicker { margin: 0 0 12px; color: var(--st-accent); font: 500 11px/14px var(--st-font-mono); letter-spacing: 0.2em; text-transform: uppercase; }
.up-h2 { margin: 0; font: 600 clamp(28px, 3.4cqi, 36px)/1.1 var(--st-font); letter-spacing: -0.03em; }
.up-section-aside { max-width: 320px; margin: 0; color: var(--st-text-dim); font-size: 14px; line-height: 1.5; text-align: right; }
.up-table-wrap { position: relative; overflow-x: auto; border-radius: 16px; outline: 1px solid var(--st-line); outline-offset: -1px; background: var(--st-surface); }
.up-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.up-table th, .up-table td { padding: 15px 12px; border-top: 1px solid var(--st-line); text-align: center; font-weight: 400; }
.up-table thead th { border-top: 0; padding: 18px 12px; font-weight: 600; font-size: 15px; }
.up-table thead small { display: block; margin-top: 2px; color: var(--st-text-faint); font: 400 11px/14px var(--st-font-mono); }
.up-table .up-th--feature, .up-table .up-row__name { width: 40%; padding-left: 24px; text-align: left; }
.up-table thead .up-th--feature { color: var(--st-text-dim); font-weight: 400; font-size: 13px; }
.up-group th { padding: 12px 24px; background: var(--st-panel); color: var(--st-text-faint); font: 400 10px/12px var(--st-font-mono); letter-spacing: 0.2em; text-align: left; text-transform: uppercase; }
.up-td { color: var(--st-text-dim); }
.up-td .up-icon { display: inline-block; vertical-align: middle; }
.up-td--no { color: var(--st-text-faint); }
td.up-col--pro, th.up-col--pro { background: color-mix(in srgb, var(--st-accent) 7%, transparent); color: var(--st-text); font-weight: 500; }
th.up-col--pro { color: var(--st-accent); }
td.up-col--pro .up-icon { color: var(--st-accent); }

/* ---- FAQ ---- */
.up-faq { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 80px; width: 100%; padding: 96px 0 48px; }
.up-faq__body { margin: 20px 0; color: var(--st-text-dim); font-size: 15px; line-height: 1.55; }
.up-faq__support { display: inline-flex; align-items: center; gap: 6px; color: var(--st-text); font-weight: 500; font-size: 14px; text-decoration: none; }
.up-faq__support:hover { text-decoration: underline; }
.up-faq__list { border-top: 1px solid var(--st-line); }
.up-q { border-bottom: 1px solid var(--st-line); }
.up-q__ask { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 500; font-size: 16px; list-style: none; cursor: pointer; }
.up-q__ask::-webkit-details-marker { display: none; }
.up-q__ask::after { content: '+'; color: var(--st-text-dim); font: 300 22px/1 var(--st-font); }
.up-q[open] .up-q__ask::after { content: '−'; color: var(--st-accent); }
.up-q__answer { margin: -8px 0 22px; color: var(--st-text-dim); font-size: 14px; line-height: 1.6; }

/* ---- Closed, failed ---- */
.up-closed .fb-denied__mark { background: var(--st-accent-soft); color: var(--st-accent); }

@container (max-width: 960px) {
  .up-cards { grid-template-columns: minmax(0, 1fr); }
  .up-faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .up-section-aside { text-align: left; }
}
@container (max-width: 560px) {
  .up-card { padding: 24px 20px; }
  .up-price__amount { font-size: 40px; }
  .up-price__list { font-size: 20px; }
  .up-strip { --n: 5; --skip: 1; --w: 48px; --gap: 8px; }
  .up-compare, .up-faq { padding-top: 64px; }
}

/* ---- Upgrade to Pro confirm (P290, chordlens.pen "Proposed · P290 Upgrade to Pro"): the upgrade pop-up's look
   (upgrade-prompt.css `.upp-dialog`), at the frame's 440px. Colours light-dark, the frame's values on dark. ---- */
.upc-dialog {
  --upc-ink: light-dark(#d41843, #ff6b85);
  --upc-ground: light-dark(#fafafa, #0c0c0f);
  box-sizing: border-box;
  position: fixed;
  flex-direction: column;
  gap: 20px;
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 28px 32px 24px;
  border: 1px solid transparent;
  border-radius: 20px;
  overflow: auto;
  background:
    linear-gradient(180deg, light-dark(#fff0f3, #22101a) 0%, var(--st-surface) 42%) padding-box,
    linear-gradient(180deg, light-dark(rgb(212 24 67 / 0.4), rgb(255 107 133 / 0.63)) 0%, var(--st-line) 60%) border-box;
  box-shadow: 0 32px 80px color-mix(in srgb, var(--st-shadow) 70%, transparent), 0 0 48px light-dark(rgb(212 24 67 / 0.15), rgb(255 45 85 / 0.25));
  color: var(--st-text);
  font: 400 13px/1.45 var(--st-font);
}
.upc-dialog[open] { display: flex; }
.upc-dialog:focus { outline: none; }
.upc-dialog::backdrop { background: color-mix(in srgb, #050507 70%, transparent); }
.upc-close { position: absolute; top: 20px; right: 20px; background: var(--st-surface-2); color: var(--st-text-faint); }
.upc-close .st-icon { width: 16px; height: 16px; }

.upc-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 -10px; padding-right: 40px; color: var(--upc-ink); font: 700 12px/16px var(--st-font); letter-spacing: 0.067em; text-transform: uppercase; }
.upc-eyebrow .st-icon { width: 14px; height: 14px; }
.upc-eyebrow--done { color: light-dark(#15803d, #4ade80); }
.upc-title { margin: 0 0 -10px; padding-right: 40px; font: 700 26px/1.3 var(--st-font); letter-spacing: -0.023em; }
.upc-body { margin: 0; color: var(--st-text-dim); font: 400 15px/1.5 var(--st-font); }

.upc-summary { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--st-line); border-radius: 14px; background: var(--upc-ground); transition: opacity 0.15s; }
.upc-dialog[data-state='paying'] .upc-summary { opacity: 0.6; }
.upc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.upc-label { color: var(--st-text-dim); font-size: 14px; }
.upc-row:first-child .upc-label { color: var(--st-text); font-weight: 600; }
.upc-due { font: 600 30px/1 var(--st-font); letter-spacing: -0.033em; font-variant-numeric: tabular-nums; }
.upc-next { font: 600 14px/18px var(--st-font); }
.upc-period { margin: 0; color: var(--st-text-faint); font-size: 13px; }
.upc-divider { width: 100%; height: 1px; margin: 0; border: 0; background: var(--st-line); }
.upc-skeleton { min-width: 3ch; border-radius: 6px; background: var(--st-surface-2); color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .upc-skeleton { animation: upc-pulse 1.2s ease-in-out infinite alternate; }
}
@keyframes upc-pulse { to { opacity: 0.5; } }

.upc-strip { display: flex; gap: 10px; margin: 0; padding: 12px 14px; border: 1px solid; border-radius: 12px; font-size: 13px; }
.upc-strip .st-icon { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.upc-strip--warn { border-color: light-dark(#e9c46a, #5c4a12); background: light-dark(#fffbeb, #1a1508); color: light-dark(#854d0e, #f5c451); }
.upc-strip--error { border-color: light-dark(#fda4af, #7a1e2c); background: light-dark(#fff1f2, #2a0d12); color: light-dark(#be123c, #ff8a9b); }

.upc-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.upc-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 16px;
  border: 1px solid var(--st-accent-edge, #ff6b85); border-radius: 12px;
  background: linear-gradient(180deg, light-dark(#f0285a, var(--st-accent-hi)), light-dark(#be123c, var(--st-accent-strong)));
  box-shadow: 0 8px 24px rgb(255 45 85 / 0.31), inset 0 1px 0 rgb(255 255 255 / 0.25);
  color: var(--st-on-accent); font: 600 15px/19px var(--st-font); cursor: pointer;
}
.upc-cta:hover:enabled { box-shadow: 0 12px 34px rgb(255 45 85 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.25); }
.upc-cta:focus-visible { outline: 2px solid var(--st-text); outline-offset: 2px; }
.upc-cta:disabled { opacity: 0.7; cursor: default; }
.upc-cta .st-icon { flex: none; width: 16px; height: 16px; }
.upc-spinner { width: 14px; height: 14px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: st-spin 0.9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .upc-spinner { animation: none; } }
.upc-not-now { padding: 2px 8px; border: 0; background: none; color: var(--st-text-faint); font: 500 14px/18px var(--st-font); cursor: pointer; }
.upc-not-now:hover:enabled { color: var(--st-text); }
.upc-not-now:disabled { opacity: 0.5; cursor: default; }
.upc-foot { margin: 0; color: var(--st-text-faint); font-size: 12px; text-align: center; }

@media (max-width: 480px) {
  .upc-dialog { padding: 24px 20px 20px; }
  .upc-title { font-size: 22px; }
}
