/* The phone sales app. One identity with the Prism home: a deep blue-black (or, in daylight, cool paper), one ice-blue accent, Geist
   at a few confident sizes, hairlines instead of colour blocks. Used outdoors at a door, so type is large, text-on-ground contrast is
   high in both modes, and every control is 44px or taller. Components are Prism UI; tokens are set here for this one app. */
html:root[data-mode] { --display: Geist, "Helvetica Neue", system-ui, sans-serif; --font: Geist, "Helvetica Neue", system-ui, -apple-system, "Segoe UI", sans-serif; --gut: 16px; --ios: cubic-bezier(.32, .72, 0, 1);
  --r-ctl: 14px; --r-card: 18px; --good: var(--accent); }
html:root[data-mode=dark] { --cap: #121821; --cap-line: #2d3745; }
html:root[data-mode=light] { --cap: #0b0f16; --cap-line: #0b0f16; }
html { background: var(--void); }
.sell { min-height: 100dvh; display: flex; flex-direction: column; background: var(--void); color: var(--ink); font: 400 17px/1.5 var(--font); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; -webkit-user-select: none; user-select: none; overflow-x: clip; }
.sell input, .sell textarea, .sell-dns b, .sell-terms { -webkit-user-select: text; user-select: text; }
.sell :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sell #tabs[hidden], .sell #bar[hidden], .sell #quick[hidden], .sell #sync[hidden] { display: none; }

/* the title: type on the ground, no block */
.sell #top { padding: calc(env(safe-area-inset-top) + var(--s-4)) var(--gut) var(--s-3); }
.sell #top:empty { display: none; }
.sell-top { display: flex; align-items: flex-end; gap: var(--s-2); max-width: 520px; margin: 0 auto; }
.sell-where { flex: 1; min-width: 0; }
.sell-where small { display: block; font-size: 15px; font-weight: 500; color: var(--fog); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.sell-where h1 { margin: 0; font: 600 clamp(38px, 11.5vw, 54px)/1 var(--display); letter-spacing: -.045em; overflow-wrap: break-word; text-wrap: balance; }
.sell-icon.btn { width: 44px; height: 44px; padding: 0; flex: none; align-self: flex-start; color: var(--ink); }
/* the steps done so far: a hairline that fills with the accent */
.sell-progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; max-width: 520px; height: 4px; margin: var(--s-4) auto 0; }
.sell-progress i { background: var(--line2); border-radius: 2px; }
.sell-progress i.on { background: var(--accent); }
.sell-progress i.now { animation: sell-now .7s var(--ios) backwards; transform-origin: left; }

.sell-screen { flex: 1; width: 100%; max-width: 552px; margin: 0 auto; padding: var(--s-4) var(--gut) var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); box-sizing: border-box; min-width: 0; }
.sell-a, .sell-b { display: flex; flex-direction: column; gap: var(--s-4); min-width: 0; }
.sell-ghost { position: fixed; z-index: 1; pointer-events: none; margin: 0; }
/* the Prism badge (a licence line) sits above the tab bar, not under it */
body[data-root] .sell-screen { padding-bottom: var(--s-4); }
body[data-root] { padding-bottom: calc(env(safe-area-inset-bottom) + 96px); }
.sell-today { display: flex; flex-direction: column; gap: var(--s-4); }
body[data-root] .sell-foot { display: none; }
.sell-staged #top, .sell-staged #bar, .sell-staged .sell-foot { display: none; }
.sell-staged .sell-screen { max-width: none; padding: 0; }

/* the thumb bar */
.sell #bar { position: sticky; bottom: 0; z-index: 5; background: var(--void); border-top: 1px solid var(--line); padding: var(--s-3) var(--gut) calc(env(safe-area-inset-bottom) + var(--s-3)); }
.sell-barrow { display: flex; gap: var(--s-2); max-width: 520px; margin-inline: auto; }
.sell-back.btn { flex: none; width: 60px; padding: 0; }
.sell-barrow > .sell-wide, .sell-grow { flex: 1; min-width: 0; padding-inline: var(--s-3); }

/* the tab bar: a dark capsule in both modes; the new-lead button is the one place the accent fills */
.sell #tabs { position: fixed; z-index: 6; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 10px); translate: -50% 0; width: min(calc(100vw - 24px), 520px); box-sizing: border-box; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 5px; border-radius: 24px; background: var(--cap); border: 1px solid var(--cap-line); box-shadow: 0 14px 34px -14px #000a; }
.sell #tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; border-radius: 19px; font-size: 12.5px; font-weight: 500; color: #aab6c7; text-decoration: none; transition: background var(--dur-2), color var(--dur-2), transform var(--dur-1) var(--ios); }
.sell #tabs a:active { transform: scale(.94); }
.sell #tabs a[aria-current] { background: #ffffff1c; color: #fff; }
.sell #tabs a[aria-current] svg { color: #7ccbf0; }
.sell #tabs svg { width: 21px; height: 21px; }
.sell #tabs a:focus-visible { outline-color: #7ccbf0; outline-offset: -3px; }
.sell #quick.btn { position: fixed; z-index: 6; right: max(14px, calc(50vw - 258px)); bottom: calc(env(safe-area-inset-bottom) + 88px); width: 62px; height: 62px; padding: 0; border: 0; border-radius: 20px; background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 28px -12px #000b; }
.sell #quick svg { width: 28px; height: 28px; stroke-width: 2.4; }
.sell #sync { position: fixed; z-index: 7; top: calc(env(safe-area-inset-top) + var(--s-2)); left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: var(--ink); color: var(--void); font-size: 14px; font-weight: 550; white-space: nowrap; }
.sell #sync svg { width: 14px; height: 14px; }

/* controls */
.sell .btn { border: 1px solid var(--line2); border-radius: var(--r-ctl); background: var(--fill); color: var(--ink); box-shadow: none; font-weight: 550; transition: transform var(--dur-1) var(--ios), background var(--dur-2), border-color var(--dur-2); touch-action: manipulation; height: 46px; padding: 0 18px; font-size: 15.5px; }
.sell .btn.lg { height: 54px; font-size: 16.5px; }
.sell .btn.xl { height: 60px; font-size: 17.5px; }
.sell .btn.pri { border-color: transparent; background: var(--ink); color: var(--void); --spin: var(--void); }
.sell .btn.pri:disabled { background: var(--fill-3); color: var(--fog); opacity: 1; }
.sell .btn.ghost { border-color: transparent; background: none; text-decoration: underline; text-decoration-color: var(--line3); text-underline-offset: 5px; }
.sell .btn:active:not(:disabled) { transform: scale(.97); }
.sell .btn.xl, .sell .btn.lg { justify-content: center; text-decoration: none; }
.sell-wide { width: 100%; justify-content: center; box-sizing: border-box; }
.sell .in { border: 1.5px solid var(--line3); border-radius: var(--r-ctl); background: var(--solid); box-shadow: none; color: var(--ink); font-size: 17px; min-height: 56px; padding-inline: 16px; }
.sell .in:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--sel); }
.sell .label { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.sell .hint { font-size: 14px; color: var(--fog); }
.sell-form { display: flex; flex-direction: column; gap: var(--s-4); }
.sell-form .in, .sell-search .in { width: 100%; box-sizing: border-box; }
.sell-form .label, .sell-pickers .label { display: block; margin: 0 0 var(--s-2); }
.sell .sell-area { height: auto; padding: var(--s-3) 16px; line-height: 1.45; resize: vertical; }
.sell-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.sell .choices { grid-template-columns: 1fr; gap: var(--s-2); }
.sell .choices > legend { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.sell .choice { align-items: center; min-height: 68px; box-sizing: border-box; padding: var(--s-3) var(--s-4); border: 1.5px solid var(--line2); border-radius: var(--r-card); background: var(--solid); box-shadow: none; transition: background var(--dur-2), border-color var(--dur-2), transform var(--dur-1) var(--ios); }
.sell .choice:active { transform: scale(.985); }
.sell .choice small { font-size: 14px; color: var(--fog); }
.sell .choice > input { margin: 0; accent-color: var(--accent); width: 20px; height: 20px; flex: none; }
.sell .choice:has(> input:checked) { border-color: var(--accent); background: var(--sel); box-shadow: none; }
.sell .choice:has(> input:disabled) { background: var(--fill-2); cursor: default; }
.sell .choice:has(> input:disabled):active { transform: none; }
.sell .choice .num { font: 600 26px/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sell .alert { border: 1px solid var(--line2); border-radius: var(--r-card); background: var(--solid); box-shadow: none; }
.sell .alert b { font-size: 16px; color: var(--ink); } .sell .alert p { font-size: 15px; color: var(--fog); }
.sell .alert.good { background: var(--sel); border-color: var(--accent); } .sell .alert.warm { border-color: var(--line3); } .sell .alert svg, .sell .alert a:not(.btn) { color: var(--ink); }

.sell-h { margin: var(--s-3) 0 calc(var(--s-2) * -1); font: 600 23px/1.1 var(--display); letter-spacing: -.035em; color: var(--ink); display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); }
.sell-h em { font: 500 15px/1 var(--font); letter-spacing: 0; font-style: normal; color: var(--fog); font-variant-numeric: tabular-nums; }
.sell-note { margin: 0; color: var(--fog); font-size: 15px; line-height: 1.5; }
.sell-wait { display: grid; place-items: center; padding: var(--s-8) 0; }
.sell .sell-quiet { align-self: center; color: var(--ink); height: 44px; }
.sell-foot { display: none; } /* the Prism badge: this is the owner's own tool, nobody to credit it to */

/* Today: the number, big and alone */
.sell-numbers { position: relative; display: flex; flex-direction: column; margin: 0; padding: var(--s-5) var(--s-5) var(--s-4); background: var(--solid); border: 1px solid var(--line); border-radius: 26px; color: var(--ink); }
.sell-numbers header { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.sell-numbers h1 { margin: 0; font: 600 26px/1 var(--display); letter-spacing: -.04em; }
.sell-numbers .sell-pb { height: 40px; font-size: 14.5px; text-decoration: none; }
.sell-today-date { margin: 4px 0 var(--s-5); font-size: 15px; color: var(--fog); }
.sell-numbers small { font-size: 15px; font-weight: 500; color: var(--fog); }
.sell-big { display: block; margin: 2px 0 var(--s-2) -.04em; font: 600 clamp(64px, calc(min(100vw, 520px) * 1.36 / var(--n, 4)), 168px)/.92 var(--display); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.sell-week { margin: 0 0 var(--s-5); font-size: 15px; color: var(--fog); line-height: 1.4; }
.sell-meters { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: var(--s-2); margin: 0; padding: 0; }
.sell-meter { box-sizing: border-box; position: relative; display: grid; align-content: space-between; gap: var(--s-2); min-height: 104px; margin: 0; padding: 12px 14px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--fill); color: var(--ink); font: inherit; text-align: left; overflow: hidden; }
.sell-meter > span { font-size: 14px; font-weight: 500; color: var(--fog); }
.sell-meter b { display: block; font: 600 40px/.9 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.sell-meter b em { font: 500 15px/1 var(--font); letter-spacing: 0; font-style: normal; color: var(--fog); }
.sell-meter i { display: block; height: 4px; border-radius: 2px; background: var(--line2); overflow: hidden; }
.sell-meter i::after { content: ""; display: block; width: calc(var(--v, 0) * 100%); height: 100%; border-radius: inherit; background: var(--accent); transition: width var(--dur-3) var(--ios); }
button.sell-meter { background: var(--ink); color: var(--void); border-color: transparent; cursor: pointer; touch-action: manipulation; transition: transform var(--dur-1) var(--ios); }
button.sell-meter > span, button.sell-meter b em { color: var(--void); opacity: .72; }
button.sell-meter:active { transform: scale(.96); }
button.sell-meter:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button.sell-meter > span { display: flex; justify-content: space-between; }
button.sell-meter u { text-decoration: none; display: grid; place-items: center; width: 30px; height: 30px; margin: -5px -5px 0 0; border-radius: 10px; background: var(--void); color: var(--ink); font-size: 16px; font-weight: 600; opacity: 1; }
button.sell-meter i { background: color-mix(in srgb, var(--void) 22%, transparent); }
button.sell-meter i::after { background: var(--void); }

.sell-list { display: flex; flex-direction: column; gap: var(--s-2); }
.sell-row { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 72px; box-sizing: border-box; padding: var(--s-2) var(--s-4) var(--s-2) var(--s-3); background: var(--solid); border: 1px solid var(--line); border-radius: var(--r-card); color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: transform var(--dur-1) var(--ios), background var(--dur-2), border-color var(--dur-2); }
button.sell-row:active, a.sell-row:active { transform: scale(.985); background: var(--fill-2); }
.sell-row.off { opacity: .55; cursor: default; }
.sell-row.na { cursor: default; background: var(--fill-2); }
.sell-row > span:not(.sell-dot):not(.num) { flex: 1; min-width: 0; }
.sell-row b, .sell-card b { display: block; font-weight: 600; overflow-wrap: break-word; }
.sell-row small, .sell-card small { display: block; color: var(--fog); font-size: 14.5px; line-height: 1.4; }
.sell-row > .num { font: 600 24px/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sell-row > svg, .sell-row > i { flex: none; color: var(--fog); }
.sell-dot { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--sel); color: var(--accent); }
.sell-dot.late { background: none; border: 1.5px solid var(--bad); color: var(--bad); }
.sell-dot svg { width: 21px; height: 21px; }

/* drafts, big enough to feel like the thing you are about to show */
.sell-rail { display: flex; gap: var(--s-3); margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) var(--s-2); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.sell-rail::-webkit-scrollbar { display: none; }
.sell-cover { position: relative; flex: none; display: flex; align-items: flex-end; width: min(78vw, 320px); aspect-ratio: 4 / 5; border: 1px solid var(--line2); border-radius: 24px; overflow: hidden; scroll-snap-align: start; background: var(--solid); color: var(--ink); text-decoration: none; transition: transform var(--dur-2) var(--ios); }
.sell-cover:active { transform: scale(.97); }
.sell-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sell-cover span { position: relative; width: 100%; padding: var(--s-4); background: var(--scrim); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line2); }
.sell-cover b { display: block; font: 600 28px/1 var(--display); letter-spacing: -.04em; overflow-wrap: break-word; }
.sell-cover small { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--accent); }
.sell-cover:not(:has(img)) { align-items: flex-start; }
.sell-cover:not(:has(img)) span { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* the pitch */
.sell-stage { position: fixed; inset: 0; z-index: 8; background: #000; overflow: hidden; }
.sell-stage-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.7); transform: scale(1.08); }
.sell-stage-load { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; }
.sell-stage-off { position: absolute; left: var(--s-4); right: var(--s-4); top: 40%; margin: 0; padding: var(--s-4); border-radius: var(--r-card); background: #000; color: #fff; text-align: center; }
.sell-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity var(--dur-3) var(--ease-out); }
.sell-stage.on iframe { opacity: 1; }
.sell-stage-x, .sell-stage-go { position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 2px; height: 56px; border: 1px solid #ffffff55; border-radius: 18px; background: #07090ee6; color: #fff; font: 550 17px var(--font); text-decoration: none; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform var(--dur-1) var(--ios); }
.sell-stage-x:active, .sell-stage-go:active { transform: scale(.94); }
.sell-stage-x { left: var(--s-4); bottom: calc(env(safe-area-inset-bottom) + var(--s-4)); width: 56px; }
.sell-stage-go { right: var(--s-4); bottom: calc(env(safe-area-inset-bottom) + var(--s-4)); padding: 0 var(--s-3) 0 var(--s-5); border-color: #7ccbf0; }

/* sheets */
.sell-sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: 552px; max-height: 88dvh; margin: 0 auto; padding: 0; border: 1px solid var(--line2); border-bottom: 0; border-radius: 28px 28px 0 0; background: var(--solid); color: var(--ink); box-shadow: 0 -18px 48px -16px #0008; overflow: hidden; }
.sell-sheet[open] { display: flex; flex-direction: column; animation: sell-up .42s var(--ios); }
.sell-sheet::backdrop { background: #000000a6; animation: sell-fade .3s; }
.sell-grab { flex: none; position: relative; height: 44px; margin-bottom: -12px; width: 100%; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; }
.sell-sheet:focus-visible { outline: 0; }
.sell .sell-grab:focus-visible { outline-offset: -4px; border-radius: 28px 28px 0 0; }
.sell-grab::after { content: ""; position: absolute; top: 12px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: var(--r-pill); background: var(--line3); }
.sell-sheet-body > * { flex: none; }
.sell-sheet-body > .btn.pri:last-child, .sell-sheet-body > .sell-err + .btn.pri { position: sticky; bottom: 0; z-index: 1; }
.sell-err { margin: 0; color: var(--bad); font-weight: 550; }
.sell-sheet-body { display: flex; flex-direction: column; gap: var(--s-3); padding: 0 var(--gut) calc(env(safe-area-inset-bottom) + var(--s-4)); overflow-y: auto; overscroll-behavior: contain; }
.sell-sheet h2 { margin: 0; font: 600 34px/1 var(--display); letter-spacing: -.045em; overflow-wrap: break-word; }
.sell-sheet .sell-h { margin-bottom: 0; }
.sell-sheet-ask { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.sell-sheet-ask > :first-child { grid-column: 1 / -1; }
.sell-price { margin: 0; font-size: 16px; line-height: 1.55; color: var(--fog); }
.sell-price b { color: var(--ink); font-variant-numeric: tabular-nums; }
.sell-say { padding: 0 var(--s-4); background: var(--sel); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: var(--r-card); }
.sell-say summary { padding: var(--s-3) 0; min-height: 28px; font-weight: 600; cursor: pointer; }
.sell-say p { margin: 0 0 var(--s-4); font-size: 21px; line-height: 1.4; font-weight: 450; }
.sell-saved { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); padding: var(--s-2) 0; text-align: center; }
.sell-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.sell-chips:has(.sell-chip:nth-child(4)) { display: grid; grid-template-columns: 1fr 1fr; }
.sell-chips:has(.sell-chip:nth-child(4)) .sell-chip span { display: flex; justify-content: center; }
.sell-chip { position: relative; }
.sell-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sell-chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s-4); box-sizing: border-box; border: 1px solid var(--line2); border-radius: 14px; background: var(--fill); color: var(--ink); font-size: 16px; font-weight: 500; transition: background var(--dur-2), color var(--dur-2), transform var(--dur-1) var(--ios); }
.sell-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--void); }
.sell-chip input:active + span { transform: scale(.96); }
.sell-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.sell-date-in { margin-top: var(--s-3); }
.sell-pickers { display: flex; flex-direction: column; gap: var(--s-2); }
.sell-pickers .label:not(:first-child) { margin-top: var(--s-2); }
.sell-auto { display: flex; align-items: center; gap: var(--s-3); min-height: 60px; padding: var(--s-2) var(--s-3); border: 1px solid var(--line2); border-radius: var(--r-card); background: var(--sel); cursor: pointer; }
.sell-auto[hidden] { display: none; }
.sell-auto input { flex: none; width: 22px; height: 22px; accent-color: var(--accent); }
.sell-auto b { display: block; font-weight: 600; font-size: 15px; }
.sell-auto small { color: var(--fog); font-size: 14px; }

/* the agreement and the signature: paper, then a real line to sign on */
.sell-terms { white-space: pre-wrap; font-size: 15px; line-height: 1.5; max-height: 36dvh; overflow-y: auto; }
.sell-sign { display: flex; flex-direction: column; gap: var(--s-1); }
.sell-sign-top { display: flex; align-items: center; justify-content: space-between; }
.sell-sign canvas { display: block; width: 100%; height: 200px; border-radius: var(--r-card); border: 1.5px solid var(--line3); box-sizing: border-box; background: linear-gradient(#0b0f16, #0b0f16) 20px calc(100% - 44px) / calc(100% - 40px) 1.5px no-repeat, #fff; color: #0b0f16; touch-action: none; cursor: crosshair; }
.sell-sign .sell-note { text-align: center; font-size: 14px; }
.sell-three { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s-2); }
.sell-faq details { border-bottom: 1px solid var(--line2); }
.sell-faq details:last-child { border-bottom: 0; }
.sell-faq summary, .sell-say summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); list-style: none; }
.sell-faq summary::-webkit-details-marker, .sell-say summary::-webkit-details-marker, .sell-faq-g > summary::-webkit-details-marker { display: none; }
.sell-faq summary::after, .sell-say summary::after, .sell-faq-g > summary::after { content: ""; flex: none; align-self: center; width: 9px; height: 9px; margin-right: 4px; border: solid var(--fog); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform var(--dur-2) var(--ios); }
.sell-faq details[open] summary::after, .sell-say[open] summary::after, .sell-faq-g[open] > summary::after { transform: rotate(-135deg); border-color: var(--accent); }
.sell-faq summary { padding: var(--s-3) 0; min-height: 28px; font-weight: 600; cursor: pointer; }
.sell-faq p { margin: 0 0 var(--s-3); color: var(--ink-2); font-size: 19px; line-height: 1.5; }

/* scan to pay: the code on white, the only white it needs */
.sell-scan { display: grid; justify-items: center; gap: var(--s-4); margin: 0; padding: var(--s-3) 0 var(--s-2); }
.sell-qr { width: min(76vw, 320px); padding: var(--s-4); background: #fff; border-radius: 26px; box-sizing: border-box; }
.sell-qr svg { display: block; width: 100%; height: auto; }
.sell-status { display: flex; align-items: center; justify-content: center; gap: var(--s-2); margin: 0; text-align: center; font-weight: 550; color: var(--ink); }

.sell-paper { background: var(--solid); border: 1px solid var(--line2); border-radius: 22px; padding: var(--s-5); }
.sell-paper > p { margin: 0; }
.sell-paper dl { margin: var(--s-4) 0 0; }
.sell-paper dl div { display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) 0; border-top: 1px solid var(--line); }
.sell-paper dt { color: var(--fog); }
.sell-paper dd { margin: 0; text-align: right; font-weight: 550; overflow-wrap: break-word; }
.sell-paper footer { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); color: var(--fog); font-size: 14px; }
.sell-receipt { border-color: var(--line2); border-radius: 22px 22px 0 0; padding-bottom: var(--s-6); background: var(--fill); -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 10px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 10px) no-repeat; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 10px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 10px) no-repeat; }
.sell-paid { display: flex; align-items: center; gap: var(--s-1); color: var(--accent); font-weight: 600; }
.sell-amount { display: block; font: 600 80px/.95 var(--display); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.sell-domain { font: 600 clamp(17px, 5.2vw, 26px)/1.15 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.sell-search { display: grid; grid-template-columns: 1fr 60px; gap: var(--s-2); }
.sell-search .btn { height: 56px; padding: 0; justify-content: center; }
.sell-dns { display: flex; flex-direction: column; gap: var(--s-2); }
.sell-dns > div { background: var(--solid); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-3) var(--s-4); }
.sell-dns small { color: var(--fog); }
.sell-dns p { display: flex; justify-content: space-between; gap: var(--s-3); margin: var(--s-1) 0 0; }
.sell-dns span { color: var(--fog); flex: none; }
.sell-dns b { font-family: var(--mono); font-size: 15px; overflow-wrap: anywhere; text-align: right; user-select: all; }

/* clients */
.sell-card { background: var(--solid); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-3) var(--s-4); }
.sell-card-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); }
.sell-card-top a { display: block; padding: 8px 0; color: inherit; text-decoration: none; min-width: 0; }
.sell-card-top b { font: 600 23px/1.1 var(--display); letter-spacing: -.035em; }
.sell-card .tag { background: var(--fill-2); color: var(--ink); border: 1px solid var(--line2); border-radius: var(--r-pill); padding: 4px 12px; font-size: 13.5px; font-weight: 550; white-space: nowrap; flex: none; }
.sell-card .tag.good { background: var(--sel); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.sell-card p { margin: var(--s-2) 0 0; overflow-wrap: break-word; }
.sell-owed { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding-top: var(--s-2); border-top: 1px solid var(--line); font-size: 15px; }
.sell-owed .btn { flex: none; background: var(--ink); color: var(--void); border-color: transparent; }
.sell-card > .btn { flex: none; margin-top: var(--s-2); }
.sell-doc { width: 100%; box-sizing: border-box; text-decoration: none; }
.sell-owed.late span { color: var(--bad); font-weight: 550; }
.sell-card > summary.sell-row { background: none; border: 0; padding: 0; list-style: none; }
.sell-card > summary::-webkit-details-marker { display: none; }
.sell-card > summary > i, .sell-card > summary > svg { transition: transform var(--dur-2) var(--ios); }
.sell-card[open] > summary > i, .sell-card[open] > summary > svg { transform: rotate(180deg); }
.sell-card .num:not(:empty) { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--sel); color: var(--accent); font-size: 22px; }
.sell-more { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-2) 0; }
.sell-more .sell-barrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.sell-more .sell-barrow .btn { padding-inline: var(--s-2); }
.sell-more .btn:not(.pri) { background: var(--fill); }
.sell-faq-g { border-top: 1px solid var(--line2); }
.sell-faq-g > summary { display: flex; margin: 0; padding: var(--s-3) 0; cursor: pointer; list-style: none; }
.sell-faq-g[open] { padding-bottom: var(--s-3); }
.sell-faq-g ol, .sell-faq-g ul { margin: var(--s-3) 0 0; padding-inline-start: 1.25em; line-height: 1.55; }
.sell-faq-g li + li { margin-top: var(--s-2); }
.sell-say-p { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 450; }
#rows { display: flex; flex-direction: column; gap: var(--s-3); margin: var(--s-2) 0; }

/* the big moments: sign in, and a site going live. Same ground, same one accent; the live moment draws a single line. */
body[data-tone=all] .sell-foot { display: none; }
body[data-tone=all] #bar { background: linear-gradient(to bottom, transparent, var(--void) 55%); border: 0; padding-top: var(--s-6); } /* the page scrolls under it (printed link, clip), so the bar fades the text out instead of printing over it */
.sell-hero { position: relative; flex: 1; display: flex; flex-direction: column; gap: var(--s-3); padding: calc(env(safe-area-inset-top) + var(--s-6)) 0 var(--s-4); box-sizing: border-box; }
.sell-mark { width: 40px; height: 40px; margin-bottom: auto; color: var(--ink); }
.sell-hero:not(.sell-won) { justify-content: flex-end; }
.sell-hero h1 { margin: 0; font: 600 clamp(72px, 30vw, 170px)/.9 var(--display); letter-spacing: -.06em; overflow-wrap: break-word; }
.sell-hero p { margin: 0; font-size: 19px; color: var(--fog); max-width: 24ch; }
.sell-hero > .btn:last-child { margin-top: var(--s-6); }
.sell-won { justify-content: flex-end; }
.sell-won h1 { font-size: clamp(52px, calc(min(100vw, 620px) * 1.7 / var(--n, 8)), 132px); line-height: 1; letter-spacing: -.055em; }
.sell-link { display: block; padding: 10px 0; font-size: 19px; font-weight: 600; color: var(--accent); overflow-wrap: anywhere; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.sell-tick { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: var(--accent); color: var(--on-accent); animation: sell-pop .5s var(--ease-spring); }
.sell-tick.sm { width: 56px; height: 56px; border-radius: 18px; }
.sell-tick svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.sell-tick path { stroke-dasharray: 24; animation: sell-draw .45s .15s var(--ios) backwards; }
/* a site goes live: one line crosses the screen in the accent, then settles as a hairline */
.sell-beam { position: absolute; left: calc(var(--gut) * -1); right: calc(var(--gut) * -1); top: calc(env(safe-area-inset-top) + 18%); height: 2px; background: var(--accent); transform-origin: left; animation: sell-sweep 1.1s var(--ios) backwards, sell-rest .8s 1.1s var(--ios) forwards; pointer-events: none; }
.sell-won > :not(.sell-beam) { position: relative; z-index: 1; }
@keyframes sell-sweep { from { transform: scaleX(0); } }
@keyframes sell-rest { to { opacity: .28; } }
@keyframes sell-up { from { transform: translateY(100%); } }
@keyframes sell-fade { from { opacity: 0; } }
@keyframes sell-pop { from { transform: scale(.5); opacity: 0; } }
@keyframes sell-draw { from { stroke-dashoffset: 24; } }
@keyframes sell-now { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .sell-sheet[open], .sell-sheet::backdrop, .sell-tick, .sell-tick path, .sell-beam, .sell-progress i.now { animation: none; } .sell-beam { opacity: .28; } }

/* a big screen: the tab bar becomes a rail, a sale's title holds the left of the screen, Today splits in two */
@media (min-width: 1000px) {
  html:root[data-mode] { --gut: 40px; }
  .sell #tabs { left: 0; top: 0; bottom: 0; translate: none; width: 104px; grid-auto-flow: row; grid-auto-rows: 76px; align-content: start; padding: var(--s-4) 8px; border-radius: 0; border-width: 0 1px 0 0; box-shadow: none; }
  .sell #tabs a { border-radius: 18px; }
  .sell #quick.btn { left: 21px; right: auto; bottom: 24px; }
  body[data-root] > #top, body[data-root] > #view { margin-left: 104px; width: calc(100% - 104px); }
  body[data-root] .sell-screen { max-width: none; padding-inline: max(var(--gut), calc((100vw - 104px - 760px) / 2)); padding-bottom: var(--s-7); }
  body[data-root] { padding-bottom: 0; }
  body[data-root] #top { padding-block: var(--s-6) var(--s-3); padding-inline: max(var(--gut), calc((100vw - 104px - 760px) / 2)); }
  body[data-root] .sell-top { max-width: none; }
  .sell-where h1 { font-size: clamp(64px, 6vw, 104px); }
  .sell .sell-screen:has(.sell-today) { padding: 0; }
  .sell-today { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-7); align-items: start; }
  .sell-a { position: sticky; top: 0; min-height: 100dvh; padding: var(--s-6) 0 var(--s-6) var(--gut); box-sizing: border-box; }
  .sell-numbers { flex: 1; margin: 0; padding: var(--s-6); }
  .sell-numbers h1 { font-size: 32px; }
  .sell-numbers > small { margin-top: auto; }
  .sell-big { font-size: clamp(90px, calc(34vw * 1.36 / var(--n, 4)), 380px); }
  .sell-meter b { font-size: 56px; }
  .sell-meter { min-height: 150px; padding: 16px 18px 18px; }
  .sell-b { padding: var(--s-6) var(--gut) var(--s-7) 0; }
  .sell-b > .sell-h:first-child { margin-top: 0; }
  .sell-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin: 0; padding: 0; overflow: visible; }
  .sell-cover { width: auto; }
  .sell-cover b { font-size: 26px; }
  /* a sale: left, the step; right, the work */
  body[data-step] #top { position: fixed; inset: 0 auto 0 0; width: 44vw; box-sizing: border-box; padding: var(--s-7) 56px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--solid); border-right: 1px solid var(--line); }
  body[data-step] .sell-top { margin: 0; max-width: none; width: 100%; }
  body[data-step] .sell-progress { margin: var(--s-5) 0 0; max-width: none; width: 100%; height: 4px; }
  body[data-step] .sell-where small { font-size: 19px; }
  body[data-step] .sell-icon.btn { position: absolute; top: var(--s-6); right: 40px; }
  body[data-step] > :is(#view, #bar, .sell-foot) { margin-left: 44vw; width: 56vw; box-sizing: border-box; }
  body[data-step] .sell-screen { max-width: none; padding: var(--s-7) calc((56vw - 560px) / 2) var(--s-6); }
  body[data-step] .sell-scan { margin: 0; padding: var(--s-6); }
  body[data-step] #bar { padding-inline: calc((56vw - 560px) / 2); }
  body[data-step] .sell-barrow { max-width: none; }
  /* the big moments */
  body[data-tone=all] .sell-screen { max-width: none; padding-inline: 6vw; }
  body[data-tone=all] .sell-barrow { max-width: none; margin-inline: 6vw; }
  .sell-hero { justify-content: flex-end; }
  .sell-hero h1 { font-size: clamp(160px, 22vw, 340px); }
  .sell-hero > .btn:last-child { margin-top: var(--s-4); align-self: flex-start; width: 360px; }
  .sell-won h1 { font-size: clamp(90px, calc(60vw * 1.5 / var(--n, 8)), 168px); }
  .sell-sheet { max-width: 620px; margin-bottom: 24px; border-radius: 28px; border-bottom: 1px solid var(--line2); }
}

.boot { margin: 0; min-height: 60svh; display: grid; place-items: center; color: var(--fog); font-size: 1.125rem; }
/* proof week: their numbers at the door */
.sell-door { margin: 0 0 var(--s-3); font: 600 clamp(22px, 6vw, 30px)/1.2 var(--display); letter-spacing: -.02em; }
.sell-proof { display: grid; gap: var(--s-3); }
.sell-proof > .sell-big { font-size: clamp(64px, calc(min(100vw, 520px) * 1.36 / var(--n, 4)), 168px); margin-top: 0; }
.sell-proof > small { color: var(--fog); }
.sell-proof-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: var(--s-2); }
.sell-proof-kinds div { padding: var(--s-3); border-radius: var(--r-card); background: rgba(127,127,127,.12); display: grid; }
.sell-proof-kinds b { font: 600 28px/1 var(--display); font-variant-numeric: tabular-nums; }
.sell-proof-kinds span { color: var(--fog); font-size: 14px; }
.sell-proof-days { display: flex; align-items: flex-end; gap: 6px; height: 96px; padding-bottom: 20px; }
.sell-proof-days i { position: relative; flex: 1; min-height: 4px; height: calc(8px + var(--h) * 72px); border-radius: 6px; background: color-mix(in srgb, var(--accent) calc((.28 + var(--h) * .72) * 100%), transparent); } /* a quiet day is a quiet bar; the day letter stays readable */
.sell-proof-days u { position: absolute; top: 100%; left: 0; right: 0; margin-top: 4px; text-align: center; text-decoration: none; font-size: 12px; font-style: normal; color: var(--fog); }
.sell-collat { display: grid; gap: var(--s-3); }
.sell-collat .sell-card { display: grid; gap: var(--s-3); }
.sell-clip { width: 100%; max-height: 52vh; border-radius: var(--r-card); background: #000; }
.sell-say .sell-clip { margin: 0 0 var(--s-3); }
/* a message sits at the top: at the bottom it covered the Card and Cash buttons it was telling you to use */
body.sell .toasts { inset: calc(env(safe-area-inset-top) + 8px) 8px auto 8px; width: auto; bottom: auto; }
