/* Pricing page. Linear's calm: a type-only header, three plan columns split only by hairlines, rolling tabular numbers, one estimator, one grouped table, a short FAQ. Prefix pr-. */

.pr svg { flex: none; }

/* hero */
.pr-hero { padding: 168px 0 72px; }
.pr-hero h1 { font-weight: 560; }
.pr-hero-sub { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.pr-lede { max-width: 46ch; font-size: 17px; line-height: 1.55; color: var(--fg-3); }
.pr-lede span { color: var(--fg-1); }
.pr-launch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--fg-2); padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--bg-2); box-shadow: var(--glass); }
.pr-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); }

/* rolling numbers */
.pr-num { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; white-space: nowrap; }
.pr-num .pr-vis { display: inline-flex; align-items: flex-end; }
.pr-num .pr-ch { display: inline-block; height: 1.15em; line-height: 1.15em; }
.pr-num .pr-dg { display: inline-block; height: 1.15em; line-height: 1.15em; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.pr-num .pr-reel { display: flex; flex-direction: column; transform: translateY(calc(var(--v, 0) * -1.15em)); transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.pr-num .pr-reel span { height: 1.15em; text-align: center; }
.pr-num .pr-in { animation: pr-in .5s var(--ease-enter) both; }
@keyframes pr-in { from { opacity: 0; transform: translateY(.3em); } }

/* plan columns: hairlines only */
.pr-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr auto; }
.pr-plan { grid-row: span 5; display: grid; grid-template-rows: subgrid; padding: 0 32px; border-left: 1px solid var(--line); }
.pr-plan:first-child { padding-left: 0; border-left: 0; }
.pr-plan:last-child { padding-right: 0; }
.pr-name { font-size: 22px; line-height: 30px; letter-spacing: -0.016em; }
.pr-price { margin-top: 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-size: 20px; line-height: 28px; color: var(--fg-1); }
.pr-price .pr-num { font-weight: 560; letter-spacing: -0.01em; }
.pr-unit { font-size: 16px; color: var(--fg-3); }
.pr-word { font-weight: 500; }
.pr-note { margin-top: 24px; min-height: 60px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--fg-3); }
.pr-seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pr-seg button { appearance: none; border: 0; background: none; font-size: 13px; line-height: 20px; padding: 3px 10px; border-radius: 6px; color: var(--fg-3); cursor: pointer; transition: color .16s, background-color .16s; }
.pr-seg button:hover { color: var(--fg-1); }
.pr-seg button[aria-pressed="true"] { background: var(--bg-4); color: var(--fg-1); box-shadow: var(--glass); }
.pr-feats { list-style: none; margin: 0; padding: 28px 0 32px; display: grid; gap: 12px; align-content: start; font-size: 14px; line-height: 20px; color: var(--fg-2); }
.pr-feats li { display: flex; gap: 10px; align-items: flex-start; }
.pr-feats svg { width: 16px; height: 16px; margin-top: 2px; color: var(--fg-3); }
.pr-soon { color: var(--fg-3); }
.pr-soon svg { color: var(--fg-4); }
.pr-tag { margin-left: 8px; height: 20px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; color: var(--fg-3); box-shadow: inset 0 0 0 1px var(--line-3); }
.pr-acts { display: flex; gap: 8px; flex-wrap: wrap; align-self: end; }
.pr-acts .btn { flex: 1 1 auto; justify-content: center; }
.pr-acts .btn-ghost { flex: 0 0 auto; }

/* section heads */
.pr-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 20px; align-items: end; margin-bottom: 56px; }
.pr-head > h2 { grid-column: 1 / span 7; }
.pr-head > p { grid-column: 8 / span 5; }

/* estimator */
.pr-est-sec { padding: 176px 0 0; }
.pr-est { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pr-ctrls { padding: 32px 40px 36px 0; border-right: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; align-content: start; }
.pr-step label { display: block; font-size: 13px; line-height: 20px; color: var(--fg-3); margin-bottom: 8px; }
.pr-stepper { display: inline-flex; align-items: center; border-radius: 10px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-3); }
.pr-stepper button { appearance: none; border: 0; background: none; width: 40px; height: 40px; display: grid; place-items: center; color: var(--fg-3); cursor: pointer; border-radius: 10px; transition: color .16s; }
.pr-stepper button:hover { color: var(--fg-1); }
.pr-stepper button:disabled { color: var(--fg-4); cursor: default; opacity: .5; }
.pr-stepper svg { width: 16px; height: 16px; }
.pr-stepper input { width: 56px; height: 40px; border: 0; background: none; text-align: center; font: inherit; font-size: 17px; font-weight: 500; color: var(--fg-1); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.pr-stepper input::-webkit-outer-spin-button, .pr-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pr-stepper input:focus-visible { outline: 2px solid var(--cu); outline-offset: -2px; border-radius: 4px; }

.pr-year { grid-column: 1 / -1; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.pr-year-key { display: flex; gap: 20px; font-size: 12px; line-height: 16px; color: var(--fg-3); margin-bottom: 14px; }
.pr-year-key span { display: inline-flex; align-items: center; gap: 8px; }
.pr-year-key i, .pr-tile { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.k-ai { background: var(--cu); }
.k-no { box-shadow: inset 0 0 0 1px var(--fg-4); }
.pr-tiles { display: grid; grid-template-columns: repeat(auto-fill, 26px); gap: 6px; min-height: 26px; }
.pr-tile { appearance: none; border: 0; padding: 0; width: 26px; height: 26px; border-radius: 6px; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 1px var(--line-3); transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out), transform .16s var(--ease-out); position: relative; }
.pr-tile::after { content: ""; position: absolute; inset: 9px; border-radius: 2px; background: var(--fg-4); opacity: .6; transition: opacity .3s; }
.pr-tile[aria-pressed="true"] { background: color-mix(in srgb, var(--cu) 82%, transparent); box-shadow: inset 0 0 0 1px var(--cu); }
.pr-tile[aria-pressed="true"]::after { opacity: 0; }
.pr-tile:hover { transform: translateY(-1px); }
.pr-tile.pr-new { animation: pr-pop .45s var(--ease-enter) both; }
@keyframes pr-pop { from { opacity: 0; transform: scale(.6); } }

.pr-ledger { padding: 32px 0 36px 40px; display: flex; flex-direction: column; }
.pr-ledger dl { margin: 0; }
.pr-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; line-height: 20px; color: var(--fg-2); }
.pr-line dt b { font-weight: 500; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.pr-line dt span { color: var(--fg-4); margin-left: 4px; white-space: nowrap; }
.pr-line dd { margin: 0; color: var(--fg-1); }
.pr-zero dd, .pr-zero dt { color: var(--fg-3); }
.pr-total { margin-top: 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--fg-3); }
.pr-total-n { font-size: clamp(36px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 560; color: var(--fg-1); }
.pr-fine { margin-top: auto; padding-top: 24px; font-size: 13px; line-height: 19px; color: var(--fg-4); max-width: 44ch; }

/* what's included */
.pr-cmp-sec { padding: 176px 0 0; }
.pr-cmp { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.pr-cmp thead th { position: sticky; top: 72px; z-index: 2; background: var(--bg); text-align: left; padding: 14px 16px 14px 0; font-size: 15px; font-weight: 500; color: var(--fg-1); border-bottom: 1px solid var(--line); vertical-align: bottom; }
.pr-cmp thead th span { display: block; font-size: 13px; font-weight: 400; color: var(--fg-3); }
.pr-cmp thead th:not(:first-child), .pr-cmp td { width: 22%; padding-left: 24px; border-left: 1px solid var(--line); }
.pr-cmp tbody th { text-align: left; font-weight: 400; color: var(--fg-3); padding: 11px 24px 11px 0; }
.pr-cmp td { padding-top: 11px; padding-bottom: 11px; color: var(--fg-2); }
.pr-cmp td svg { width: 16px; height: 16px; display: block; }
.pr-cmp td.y svg { color: var(--fg-2); }
.pr-cmp td.n svg { color: var(--fg-4); }
.pr-cmp .pr-grp th { padding: 56px 0 14px; font-size: 20px; line-height: 28px; font-weight: 560; letter-spacing: -0.014em; color: var(--fg-1); border: 0; }
.pr-cmp tbody:first-of-type .pr-grp th { padding-top: 32px; }
.pr-cmp tbody tr:not(.pr-grp):hover th { color: var(--fg-1); }

/* faq */
.pr-faq-sec { padding: 176px 0 0; }
.pr-faq-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; }
.pr-faq-in > h2 { grid-column: 1 / span 4; align-self: start; }
.pr-faq { grid-column: 6 / -1; border-top: 1px solid var(--line); }
.pr-faq details { border-bottom: 1px solid var(--line); }
.pr-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 16px; font-weight: 500; color: var(--fg-2); transition: color .16s; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.25px solid var(--fg-3); border-bottom: 1.25px solid var(--fg-3); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease-out); }
.pr-faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.pr-faq summary:hover { color: var(--fg-1); }
.pr-faq summary:focus-visible { outline-offset: 4px; }
.pr-faq details p { padding: 0 32px 22px 0; font-size: 15px; line-height: 23px; color: var(--fg-3); max-width: 60ch; }
.pr-link { color: var(--fg-1); text-decoration: underline; text-decoration-color: var(--fg-4); text-underline-offset: 2.5px; }
.pr-link:hover { text-decoration-color: var(--fg-1); }

/* close */
.pr-close { padding: 200px 0 176px; }
.pr-close-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.pr-close h2 { font-size: 40px; line-height: 44px; letter-spacing: -0.022em; font-weight: 560; max-width: 24ch; }
.pr-close h2 span { color: var(--fg-3); }
.pr-pills { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- what $2,000 runs: one stage, four movements ---------- */
.pr-run-sec { padding: 176px 0 0; scroll-margin-top: 40px; }
.pr-run { border-radius: 12px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
:root[data-theme="light"] .pr-run { background: var(--bg); }
.pr-run .ai-mark { --ai-mark-h: 14px; }
.pr-run-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.pr-run-tabs button { appearance: none; border: 0; background: none; position: relative; text-align: left; padding: 20px 24px 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: center; cursor: pointer; color: var(--fg-3); border-left: 1px solid var(--line); transition: background-color .2s; }
.pr-run-tabs button:first-child { border-left: 0; }
.pr-run-tabs button b { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--fg-2); transition: color .2s; }
.pr-run-tabs button > span:not(.ai-mark) { grid-column: 2; font-size: 13px; line-height: 18px; color: var(--fg-4); }
.pr-run-tabs button:hover b, .pr-run-tabs button[aria-selected="true"] b { color: var(--fg-1); }
.pr-run-tabs button[aria-selected="true"] { background: color-mix(in srgb, var(--fg-1) 3%, transparent); }
.pr-run-tabs button:focus-visible { outline: 2px solid var(--cu); outline-offset: -2px; }
.pr-run-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--cu); transform: scaleX(0); transform-origin: left; }
.pr-run-tabs button[aria-selected="true"] .pr-run-bar { transform: scaleX(var(--prog, 1)); }

.pr-run-stage { display: grid; padding: 32px 40px 36px; }
.pr-rp { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility 0s .35s; }
.pr-rp.on { opacity: 1; visibility: visible; transition: opacity .45s var(--ease-out) .05s; }
.pr-rp-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; }
.pr-runline { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--fg-1); }
.pr-tally { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; line-height: 20px; color: var(--fg-3); }
.pr-tally b { font-weight: 500; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.pr-rp-cap { margin-top: auto; padding-top: 4px; max-width: 72ch; font-size: 15px; line-height: 23px; color: var(--fg-3); }
.pr-rp-cap b { font-weight: 500; color: var(--fg-1); }

/* shared bits */
.pr-card { border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-3); padding: 18px 18px 16px; font-size: 14px; line-height: 20px; color: var(--fg-2); transition: opacity .5s var(--ease-out), transform .5s var(--ease-enter); }
:root[data-theme="light"] .pr-card { background: var(--bg); }
.pr-off { opacity: 0 !important; transform: translateY(8px); }
.pr-card-h { display: flex; align-items: center; gap: 10px; color: var(--fg-3); font-size: 13px; margin-bottom: 12px; }
.pr-key { font-weight: 600; color: var(--fg-1); font-size: 14px; font-variant-numeric: tabular-nums; }
.pr-card-r b { font-weight: 500; color: var(--fg-1); margin-left: 6px; }
.pr-cite { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; line-height: 1; white-space: nowrap; color: var(--cu); background: color-mix(in srgb, var(--cu) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cu) 30%, transparent); }
.pr-cites { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--fg-3); }
.pr-cites, .pr-card-acts { transition: opacity .45s var(--ease-out), transform .45s var(--ease-enter); }
.pr-cites li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pr-who { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-2); }
.pr-who.pr-yes { color: var(--fg-1); }
.pr-card-acts { display: flex; gap: 6px; margin-top: 12px; }
.pr-fake { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 7px; font-size: 12px; color: var(--fg-2); background: var(--bg-3); box-shadow: var(--glass); transition: transform .15s, opacity .3s; }
.pr-fake-p { background: var(--inv); color: var(--inv-fg); }
.pr-fake.pr-press { transform: scale(.92); opacity: .7; }
.pr-av { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--fg-1); background: var(--bg-4); box-shadow: var(--glass); }

/* 1: the field of 260 */
.pr-fp { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; }
.pr-field { display: grid; grid-template-columns: repeat(26, minmax(0, 1fr)); gap: 5px; }
.pr-field i { aspect-ratio: 1; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--line-3); background: transparent; transition: background-color .45s var(--ease-out), box-shadow .45s var(--ease-out), opacity .45s, transform .3s var(--ease-enter); }
.pr-field i.p { background: color-mix(in srgb, var(--cu) 28%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cu) 55%, transparent); animation: pr-breathe 1.1s ease-in-out infinite; }
.pr-field i.s { background: color-mix(in srgb, var(--cu) 78%, transparent); box-shadow: inset 0 0 0 1px var(--cu); }
.pr-field i.h { box-shadow: inset 0 0 0 1px var(--fg-4); background: repeating-linear-gradient(135deg, transparent 0 2px, color-mix(in srgb, var(--fg-4) 50%, transparent) 2px 3px); }
.pr-field i.g { box-shadow: inset 0 0 0 1.25px var(--fg-3); background: linear-gradient(90deg, var(--fg-3) 50%, transparent 50%); }
.pr-field i.na { background: var(--bg-4); box-shadow: none; opacity: .75; }
.pr-field i.c { background: var(--fg-1); box-shadow: none; }
.pr-field i.f { position: relative; z-index: 1; transform: scale(1.4); outline: 1.5px solid var(--fg-1); outline-offset: 2px; }
@keyframes pr-breathe { 50% { opacity: .5; } }
:root[data-theme="light"] .pr-field i.s, :root[data-theme="light"] .pr-legend i.s { background: color-mix(in srgb, var(--cu) 55%, transparent); }
.pr-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 12px; line-height: 16px; color: var(--fg-3); }
.pr-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pr-legend i { width: 10px; height: 10px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line-3); }
.pr-legend i.s { background: color-mix(in srgb, var(--cu) 78%, transparent); box-shadow: inset 0 0 0 1px var(--cu); }
.pr-legend i.h { box-shadow: inset 0 0 0 1px var(--fg-4); background: repeating-linear-gradient(135deg, transparent 0 2px, color-mix(in srgb, var(--fg-4) 50%, transparent) 2px 3px); }
.pr-legend i.g { box-shadow: inset 0 0 0 1.25px var(--fg-3); background: linear-gradient(90deg, var(--fg-3) 50%, transparent 50%); }
.pr-legend i.na { background: var(--bg-4); box-shadow: none; }
.pr-legend i.c { background: var(--fg-1); box-shadow: none; }

/* 2: drafting bands */
.pr-dr { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: center; }
.pr-bands { display: grid; gap: 22px; }
.pr-band p { display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: 13px; line-height: 18px; color: var(--fg-3); }
.pr-band p b { font-weight: 500; color: var(--fg-1); font-size: 14px; }
.pr-slv { display: grid; grid-template-columns: repeat(66, minmax(0, 1fr)); gap: 3px; }
.pr-slv i { height: 22px; border-radius: 1.5px; background: var(--bg-4); transition: background-color .4s var(--ease-out); }
.pr-slv i.d { background: color-mix(in srgb, var(--cu) 75%, transparent); }
.pr-slv i.a { background: var(--fg-1); }
.pr-sent { margin-top: 10px; font-size: 14px; line-height: 21px; color: var(--fg-1); transition: opacity .45s var(--ease-out), transform .45s var(--ease-enter); }
.pr-sent .pr-cite { margin-left: 4px; vertical-align: 1px; }

/* 3: ask */
.pr-ask { display: grid; gap: 16px; max-width: 760px; width: 100%; margin: 0 auto; }
.pr-q, .pr-a, .pr-qa { transition: opacity .45s var(--ease-out), transform .45s var(--ease-enter); }
.pr-q { display: flex; align-items: center; gap: 10px; justify-self: end; max-width: 88%; }
.pr-q p { padding: 9px 14px; border-radius: 12px; background: var(--bg-3); color: var(--fg-1); font-size: 15px; line-height: 22px; box-shadow: var(--glass); }
.pr-a { padding: 2px 0 2px 18px; border-left: 1px solid var(--cu-line); font-size: 15px; line-height: 23px; color: var(--fg-2); }
.pr-srcs, .pr-doors { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pr-door { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 13px; color: var(--fg-1); box-shadow: inset 0 0 0 1px var(--line-3); }

/* 4: checks */
.pr-checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pr-checks li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; line-height: 20px; color: var(--fg-2); }
.pr-ck-k { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-4); }
[data-ai] .pr-ck-k { color: var(--cu); }
.pr-ck-s { font-size: 13px; color: var(--fg-4); white-space: nowrap; transition: color .3s; }
.pr-ck-s.ok { color: var(--ok); }
.pr-ck-s.fx { color: var(--fg-1); }
.pr-ck-s.by { color: var(--fg-1); }
.pr-qa { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--fg-1); }

/* with AI and Without AI */
.pr-two { margin-top: 72px; }
.pr-two-h { font-size: 24px; line-height: 32px; letter-spacing: -0.016em; font-weight: 500; color: var(--fg-1); max-width: 40ch; margin-bottom: 28px; }
.pr-two-h span { color: var(--fg-3); }
.pr-two-g { border-top: 1px solid var(--line); }
.pr-two-r { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 5fr); column-gap: 32px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; line-height: 22px; color: var(--fg-2); }
.pr-two-r > [role="rowheader"] { color: var(--fg-1); font-weight: 500; transition: color .3s; }
.pr-two-r > :last-child { color: var(--fg-3); }
.pr-two-hd { padding: 14px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.pr-two-hd > span { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; color: var(--fg-1) !important; }
.pr-two-hd em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--fg-3); }
.pr-two-hd .ai-mark { --ai-mark-h: 14px; }
.pr-two-same > span { color: var(--fg-1) !important; }
.pr-two-r.on > [role="rowheader"] { color: var(--cu); }
.pr-two-r.on > :nth-child(2) { color: var(--fg-1); }

/* one row, up close: a list and its side panel, Linear-style */
.pr-up { margin-top: 96px; }
.pr-up-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; }
.pr-up-head h3 { font-size: 24px; line-height: 32px; letter-spacing: -0.016em; font-weight: 500; color: var(--fg-1); }
.pr-up-head p { font-size: 15px; color: var(--fg-3); }
.pr-app { display: grid; grid-template-columns: minmax(0, 1fr) 0px; border-radius: 12px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; transition: grid-template-columns .6s var(--ease-spring); }
.pr-up.open .pr-app { grid-template-columns: minmax(0, 1fr) 400px; }
:root[data-theme="light"] .pr-app { background: var(--bg); }
.pr-app code, .pr-side-h code { font: 400 12.5px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: 0; color: var(--fg-2); }
.pr-app-bar { height: 44px; padding: 0 18px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--fg-3); }
.pr-app-bar b { font-weight: 500; color: var(--fg-1); }
.pr-app-r { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; color: var(--fg-2); }
.pr-pg { width: 14px; height: 14px; }
.pr-pg circle { fill: none; stroke: var(--fg-4); stroke-width: 1.25; }
.pr-pg path { fill: var(--fg-2); }
.pr-li { height: 44px; padding: 0 18px; display: grid; grid-template-columns: 16px 76px minmax(0, 1fr) 22px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--fg-2); white-space: nowrap; transition: background-color .3s; }
.pr-li > span { overflow: hidden; text-overflow: ellipsis; }
.pr-li-on { background: color-mix(in srgb, var(--fg-1) 4%, transparent); color: var(--fg-1); }
.pr-li-more { display: flex; border-bottom: 0; color: var(--fg-4); font-size: 13px; }
.pr-li-p { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 600; color: var(--fg-2); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-3); }
.st { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px var(--fg-4); position: relative; transition: background-color .4s, box-shadow .4s; }
.st.ok { background: var(--fg-2); box-shadow: none; }
.st.ok::after { content: ""; position: absolute; left: 4px; top: 4.5px; width: 5px; height: 2.5px; border-left: 1.25px solid var(--bg); border-bottom: 1.25px solid var(--bg); transform: rotate(-45deg); }
.st.ai { box-shadow: inset 0 0 0 1.25px var(--cu); background: radial-gradient(circle, var(--cu) 0 30%, transparent 32%); }
.st.gap { box-shadow: inset 0 0 0 1.25px var(--fg-3); background: linear-gradient(90deg, var(--fg-3) 50%, transparent 50%); }
.pr-app-side { min-width: 0; overflow: hidden; border-left: 1px solid var(--line-2); padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; opacity: 0; transition: opacity .4s .25s; }
.pr-up.open .pr-app-side { opacity: 1; }
.pr-side-h { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg-3); white-space: nowrap; }
.pr-side-h code { color: var(--fg-1); }
.pr-props { margin: 0; display: grid; gap: 10px; }
.pr-props > div { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 13px; }
.pr-props dt { color: var(--fg-4); }
.pr-props dd { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--fg-2); white-space: nowrap; }
.pr-props dd b { font-weight: 500; color: var(--fg-1); }
.pr-props .ai-mark { --ai-mark-h: 12px; }
.pr-props .ap-av.round { width: 20px; height: 20px; font-size: 8.5px; }
.pr-sg { color: var(--cu); }
.pr-file { height: 22px; padding: 0 7px; display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; font: 400 12px/1 "Geist Mono", ui-monospace, monospace; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line-3); transition: opacity .4s; }
.pr-file s { text-decoration: none; }
.pr-file-new { display: none; color: var(--fg-1); }
.pr-up.v8 .pr-file:not(.pr-file-new) { opacity: .45; }
.pr-up.v8 .pr-file:not(.pr-file-new) s { text-decoration: line-through; }
.pr-up.v8 .pr-file-new { display: inline-flex; animation: pr-in .4s var(--ease-spring) both; }
.pr-sheet { border-radius: 6px; padding: 12px 14px; background: #fff; color: #1b1b1d; box-shadow: inset 0 0 0 1px #00000017; font-size: 13.5px; line-height: 21px; }
.pr-sheet-h { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font: 400 11.5px/1 "Geist Mono", ui-monospace, monospace; color: #6b6b70; letter-spacing: 0; }
.pr-sheet > i { display: block; height: 5px; border-radius: 3px; background: #0000000d; margin-top: 8px; }
.pr-sheet > i.s { width: 60%; }
.pr-u { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, #b87333 70%, transparent); transition: text-decoration-color .5s; }
.pr-up.acc .pr-u { text-decoration-color: transparent; }
.pr-side-f { margin-top: auto; display: flex; gap: 6px; transition: opacity .4s; }
.pr-up.acc .pr-side-f { opacity: 0; }
.pr-up-cap { margin-top: 14px; font-size: 14px; line-height: 21px; color: var(--fg-3); }
@media (max-width: 860px) {
  .pr-app, .pr-up.open .pr-app { grid-template-columns: minmax(0, 1fr); }
  .pr-app-side { border-left: 0; border-top: 1px solid var(--line-2); opacity: 1; }
  .pr-li { grid-template-columns: 16px 64px minmax(0, 1fr) 20px; gap: 10px; padding: 0 14px; }
}

/* comparison: All or Differences */
.pr-cmp-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.pr-cmp-n { font-size: 13px; color: var(--fg-4); font-variant-numeric: tabular-nums; }
.pr-cmp tr.pr-same, .pr-cmp tbody.pr-empty { display: none; }

/* tablet */
@media (max-width: 1024px) {
  .pr-fp, .pr-dr { grid-template-columns: 1fr; gap: 28px; }
  .pr-fp-card, .pr-page { max-width: 440px; width: 100%; }
  .pr-run-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-run-tabs button:nth-child(3) { border-left: 0; }
  .pr-run-tabs button:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pr-plans { grid-template-columns: 1fr; grid-template-rows: none; }
  .pr-plan { grid-row: auto; grid-template-rows: none; padding: 40px 0; border-left: 0; border-top: 1px solid var(--line); }
  .pr-plan:first-child { border-top: 0; padding-top: 0; }
  .pr-acts .btn { flex: 0 0 auto; }
  .pr-head > h2, .pr-head > p { grid-column: 1 / -1; }
  .pr-est { grid-template-columns: 1fr; }
  .pr-ctrls { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pr-ledger { padding-left: 0; }
  .pr-faq-in > h2, .pr-faq { grid-column: 1 / -1; }
}

/* phone and small tablet */
@media (max-width: 860px) {
  .pr-head { grid-template-columns: minmax(0, 1fr); }
  .pr-head > h2, .pr-head > p { grid-column: 1; }
  .pr-faq-in { grid-template-columns: minmax(0, 1fr); }
  .pr-faq-in > h2, .pr-faq { grid-column: 1; }
  .pr-feats { font-size: 15px; line-height: 22px; }
  .pr-link { display: inline-block; padding: 11px 0; margin: -11px 0; }
  .pr-feats svg { margin-top: 3px; }
  .pr-seg button { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .pr-tiles { grid-template-columns: repeat(auto-fill, 40px); gap: 6px; }
  .pr-tile { width: 40px; height: 40px; border-radius: 8px; }
  .pr-tile::after { inset: 15px; }
  .pr-year-key { font-size: 13px; flex-wrap: wrap; gap: 8px 20px; }
  .pr-step label { font-size: 14px; }
  .pr-line { font-size: 15px; line-height: 22px; }
  .pr-total { font-size: 15px; }
  .pr-fine { font-size: 13px; }
  .pr-checks li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .pr-ck-k { grid-column: 1 / -1; }
  .pr-two-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; row-gap: 6px; }
  .pr-two-r > [role="rowheader"] { grid-column: 1 / -1; }
  .pr-two-hd > [role="columnheader"]:first-child { display: none; }
}

/* phone */
@media (max-width: 640px) {
  .pr-hero { padding: 120px 0 48px; }
  .pr-est-sec, .pr-cmp-sec, .pr-faq-sec, .pr-run-sec { padding-top: 104px; }
  .pr-head { margin-bottom: 32px; }
  .pr-launch { font-size: 14px; }
  .pr-plan { padding: 36px 0; }
  .pr-acts .btn { min-height: 44px; }
  .pr-ctrls { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .pr-stepper button { width: 40px; height: 44px; }
  .pr-stepper input { width: 40px; height: 44px; }
  .pr-cmp thead th:not(:first-child), .pr-cmp td { width: 84px; padding-left: 12px; }
  .pr-cmp thead th { font-size: 14px; padding-right: 8px; top: 64px; }
  .pr-cmp thead th span { font-size: 12px; line-height: 16px; }
  .pr-cmp td { font-size: 13px; line-height: 18px; padding-right: 4px; }
  .pr-cmp tbody th { padding-right: 12px; font-size: 14px; line-height: 20px; }
  .pr-cmp .pr-grp th { padding-top: 40px; font-size: 18px; }
  .pr-faq summary { min-height: 56px; font-size: 16px; line-height: 22px; }
  .pr-faq details p { padding-right: 0; }
  .pr-close { padding: 112px 0 104px; }
  .pr-close h2 { font-size: 30px; line-height: 34px; }
  .pr-pills .btn { min-height: 44px; }

  /* the run stage on phones: tabs 2 by 2, stage edge to edge inside the gutter */
  .pr-run { border-radius: 16px; }
  .pr-run-tabs button { padding: 14px 14px 15px; column-gap: 8px; min-height: 64px; }
  .pr-run-tabs button b { font-size: 14px; line-height: 20px; }
  .pr-run-tabs button > span:not(.ai-mark) { font-size: 12px; line-height: 16px; }
  .pr-run-stage { padding: 20px 16px 22px; }
  .pr-rp { gap: 18px; }
  .pr-rp-top { gap: 10px; }
  .pr-runline { font-size: 13px; padding: 5px 12px 5px 9px; }
  .pr-tally { gap: 2px 14px; font-size: 12px; line-height: 18px; }
  .pr-rp-cap { font-size: 15px; line-height: 22px; }
  .pr-field { gap: 3px; grid-template-columns: repeat(20, minmax(0, 1fr)); }
  .pr-field i { border-radius: 2px; }
  .pr-fp { gap: 18px; }
  .pr-card { padding: 14px 14px 12px; }
  .pr-dr { gap: 20px; }
  .pr-bands { gap: 14px; }
  .pr-slv { grid-template-columns: repeat(33, minmax(0, 1fr)); gap: 2px; }
  .pr-slv i { height: 14px; }
  .pr-sent { font-size: 14px; line-height: 21px; }
  .pr-q { max-width: 100%; }
  .pr-q p, .pr-a { font-size: 15px; line-height: 22px; }
  .pr-a { padding-left: 14px; }
  .pr-checks li { gap: 4px 12px; padding: 10px 0; }
  .pr-two { margin-top: 56px; }
  .pr-two-h { font-size: 20px; line-height: 28px; }
}
@media (max-width: 400px) {
  .pr-run-tabs button > span:not(.ai-mark) { display: none; }
  .pr-run-tabs button { min-height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .pr-num .pr-reel, .pr-tile, .pr-tile::after, .pr-faq summary::after { transition: none; }
  .pr-num .pr-in, .pr-tile.pr-new { animation: none; }
  .pr-rp, .pr-rp.on, .pr-field i, .pr-slv i, .pr-card, .pr-sent, .pr-q, .pr-a, .pr-qa { transition: none; }
  .pr-field i.p { animation: none; }
}

.pr-model { margin-top: 28px; font-size: 14px; line-height: 21px; color: var(--fg-3); }
.pr-model span { color: var(--fg-4); margin-left: 6px; }

/* ============ Invention round: versions never add a report (sheets stack, the charge stays) ============ */
.pv-sec, .ps-sec { padding: 176px 0 0; }
.pv { display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pv-col { padding: 24px 28px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who bill" "stack stack"; row-gap: 12px; }
.pv-col + .pv-col { border-left: 1px solid var(--line); }
.pv-who { grid-area: who; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.pv-who b { font-weight: 500; color: var(--fg-1); }
.pv-who > span { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-3); font-size: 12.5px; --ai-mark-h: 14px; }
.pv-col[data-ai="1"] .pv-who > span { color: var(--cu); }
.pv-bill { grid-area: bill; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.pv-bill b { font-size: 32px; line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; color: var(--fg-1); }
.pv-bill > span { font-size: 12px; color: var(--fg-3); }
.pv-col[data-ai="0"] .pv-bill b { color: var(--fg-2); }
.pv-stack { grid-area: stack; position: relative; height: 270px; perspective: 1200px; }
.pv-sh { position: absolute; left: 50%; top: 52px; width: min(300px, 80%); height: 168px; margin-left: calc(min(300px, 80%) / -2); border-radius: 8px; background: var(--paper, #f4f1ea); color: #2a2723; box-shadow: 0 1px 0 #0000001a, 0 10px 24px #00000040; padding: 12px 14px;
  transform: translate(calc(var(--o) * 12px), calc(var(--o) * 34px)) rotateX(14deg); transform-origin: 50% 100%; transition: transform .8s var(--ease-spring), opacity .4s; }
:root[data-theme="light"] .pv-sh { background: #fff; box-shadow: 0 0 0 1px #00000014, 0 10px 24px #00000014; }
.pv-sh[data-k="1"] { --o: -1; } .pv-sh[data-k="2"] { --o: 0; } .pv-sh[data-k="3"] { --o: 1; }
.pv.run .pv-sh:not(.in) { opacity: 0; transform: translate(calc(var(--o) * 12px), calc(var(--o) * 34px - 70px)) rotateX(14deg); }
.pv-sh-h { display: flex; justify-content: space-between; font-size: 12px; color: #6b6f76; margin-bottom: 14px; }
.pv-sh-h b { color: #2a2723; font-weight: 600; }
.pv-ln { height: 6px; border-radius: 3px; background: #0000000f; margin: 9px 0; }
.pv-ln.s { width: 64%; }
.pv-bill.tick b { animation: pv-tick .9s var(--ease-spring); }
@keyframes pv-tick { 0% { opacity: .45; } 100% { opacity: 1; } }
.pv-foot { grid-column: 1 / -1; display: flex; gap: 24px; justify-content: flex-end; padding: 14px 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fg-3); }
.pv-foot b { color: var(--fg-1); font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .pv { grid-template-columns: 1fr; } .pv-col + .pv-col { border-left: 0; border-top: 1px solid var(--line); } .pv-col { padding: 20px 16px; } .pv-stack { height: 230px; } .pv-bill b { font-size: 24px; } .pv-foot { padding: 12px 16px; justify-content: space-between; } }

/* ============ Invention round: the credential sets the seat ============ */
.ps { border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ps-bar { height: 52px; padding: 0 24px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ps-bar b { font-weight: 600; }
.ps-dim { color: var(--fg-3); font-size: 13px; }
.ps-r { margin-left: auto; font-size: 12.5px; color: var(--fg-3); }
.ps-head, .ps-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, .8fr) 100px; align-items: center; gap: 12px; padding: 0 24px; }
.ps-head { height: 36px; font-size: 12px; color: var(--fg-3); background: var(--line-2); }
.ps-head .n, .ps-row .n { text-align: right; }
.ps-row { height: 52px; border-top: 1px solid var(--line-2); font-size: 13.5px; transition: background .5s; }
.ps-row.flash { background: var(--line-2); }
.ps-m { display: flex; align-items: center; gap: 10px; color: var(--fg-1); font-weight: 500; white-space: nowrap; }
.ps-m em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--fg-3); }
.ps-m .ap-av { color: #eef3f8 !important; }
.ps-mr { background: #3b4a5c !important; } .ps-jo { background: #3b5c4e !important; } .ps-so { background: #3b5c4e !important; } .ps-al { background: #4a3d5c !important; } .ps-tw { background: #5c4a3b !important; }
.ps-cred { display: inline-flex; gap: 2px; padding: 2px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); justify-self: start; }
.ps-cred button { all: unset; cursor: pointer; padding: 3px 8px; border-radius: 5px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; color: var(--fg-3); transition: background var(--dur-hover), color var(--dur-hover); }
.ps-cred button:hover { color: var(--fg-1); }
.ps-cred button[aria-pressed="true"] { background: var(--bg-4); color: var(--fg-1); }
.ps-cred button:focus-visible { outline: 2px solid var(--fg-3); outline-offset: 1px; }
.ps-seat { color: var(--fg-2); font-size: 13px; white-space: nowrap; }
.ps-y { color: var(--fg-1); font-variant-numeric: tabular-nums; }
.ps-y .pr-num { justify-content: flex-end; }
.ps-sum { display: flex; align-items: center; gap: 24px; padding: 16px 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); flex-wrap: wrap; }
.ps-k b { color: var(--fg-1); font-weight: 500; font-variant-numeric: tabular-nums; margin-left: 4px; }
.ps-over { display: inline-flex; align-items: center; gap: 7px; color: var(--amber); opacity: 0; transform: translateY(4px); transition: opacity .4s var(--ease-spring), transform .4s var(--ease-spring); }
.ps-over.on { opacity: 1; transform: none; }
.ps-over svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.ps-tot { margin-left: auto; display: inline-flex; align-items: baseline; gap: 8px; }
.ps-tot b { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; color: var(--fg-1); }
@media (max-width: 860px) {
  .ps-head { display: none; }
  .ps-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "m y" "c s"; height: auto; row-gap: 8px; padding: 12px 16px; }
  .ps-m { grid-area: m; } .ps-cred { grid-area: c; } .ps-seat { grid-area: s; justify-self: end; font-size: 12px; } .ps-y { grid-area: y; }
  .ps-bar, .ps-sum { padding-left: 16px; padding-right: 16px; }
  .ps-sum { gap: 10px 18px; } .ps-tot { margin-left: 0; width: 100%; }
}
@media (max-width: 700px) { .pv-sec, .ps-sec { padding-top: 104px; } }
@media (prefers-reduced-motion: reduce) { .pv *, .ps * { transition: none !important; animation: none !important; } }

/* ============ Linear round, D3: the estimate's inputs as filter chips (field | is | value | x) ============ */
.pr-ctrls { grid-template-columns: minmax(0, 1fr); }
.pr-chips { position: relative; padding: 18px 20px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; isolation: isolate; }
.pr-chips::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-2);
  -webkit-mask-image: linear-gradient(to right, #000 5%, transparent 52%), linear-gradient(#000 62%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 5%, transparent 52%), linear-gradient(#000 62%, transparent); mask-composite: intersect; }
.pr-chips-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 14px; }
.pr-chips-h b { font-weight: 500; color: var(--fg-1); }
.pr-chips-h svg { width: 16px; height: 16px; fill: none; stroke: var(--fg-4); stroke-width: 1.3; stroke-linecap: round; }
.pr-chip { display: inline-flex; align-items: stretch; height: 34px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-3); background: var(--bg-2); font-size: 13px; color: var(--fg-2); }
.pr-chip > * + * { box-shadow: -1px 0 0 var(--line-3); }
.pr-chip-f { display: inline-flex; align-items: center; padding: 0 12px; color: var(--fg-1); white-space: nowrap; }
.pr-chip-is { display: inline-flex; align-items: center; padding: 0 10px; color: var(--fg-4); }
.pr-chip-v { display: inline-flex; align-items: center; }
.pr-chip-v button { appearance: none; border: 0; background: none; width: 28px; height: 100%; display: grid; place-items: center; color: var(--fg-4); cursor: pointer; transition: color .16s; }
.pr-chip-v button:hover { color: var(--fg-1); }
.pr-chip-v button:disabled { opacity: .35; cursor: default; }
.pr-chip-v svg { width: 12px; height: 12px; }
.pr-chip-v input { width: 34px; height: 100%; border: 0; background: none; text-align: center; font: inherit; font-weight: 500; color: var(--fg-1); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.pr-chip-v input::-webkit-outer-spin-button, .pr-chip-v input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pr-chip-v input:focus-visible { outline: 2px solid var(--fg-3); outline-offset: -4px; border-radius: 4px; }
.pr-chip-x { appearance: none; border: 0; background: none; width: 32px; display: grid; place-items: center; color: var(--fg-4); cursor: pointer; border-radius: 0 6px 6px 0; transition: color .16s; }
.pr-chip-x:hover { color: var(--fg-1); }
.pr-chip-x svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.pr-total-n .pr-num { display: inline-block; }
@media (max-width: 640px) {
  .pr-ctrls { grid-template-columns: minmax(0, 1fr); }
  .pr-chips { padding: 14px 0 18px; }
  .pr-chips::before { display: none; }
  .pr-chip { height: 40px; }
  .pr-chip-v button { width: 36px; }
}
