:root {
  color-scheme: light;
  --ink: #171b17;
  --muted: #525e4d;
  --line: #dce1d5;
  --green: #293e25;
  --accent: #45642a;
  --lime: #c2ec78;
  --wash: #f4f6ee;
  font-family: Geist, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
* {box-sizing: border-box}
:where(section[id], form[id]) {scroll-margin-block-start: clamp(12px, 3vw, 32px)}
@media (prefers-reduced-motion: no-preference) {
  html {scroll-behavior: smooth}
  :where(.offer, .browse, .sell, .chip, .pill, .account-google) {transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease}
}
body {margin: 0}
a {color: inherit; text-decoration: none}
button {font: inherit; color: inherit; cursor: pointer}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {outline: 3px solid #557329; outline-offset: 3px}
button[aria-disabled="true"] {cursor: wait; opacity: .75}
.staff-section {margin-top: 36px}
.staff-section h2 {font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px}
.account-orders {display: grid; gap: 10px; margin-bottom: 24px}
input, select {font: inherit; border: 1px solid #b9c5b1; border-radius: 10px; padding: 11px 12px; max-width: 100%; background: #fff}
[hidden] {display: none !important}
code {font: .85em ui-monospace, Menlo, monospace; word-break: break-all}

/* Header, footer */
header {width: min(1170px, 90%); margin: auto; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px}
.brand {display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 28px; letter-spacing: -2px}
.brand img {width: 36px; height: 36px}
.brand.small {font-size: 20px; letter-spacing: -1.2px}
.brand.small img {width: 26px; height: 26px}
nav {display: flex; gap: 28px; flex-wrap: wrap}
nav a {font-size: 14px; padding: 10px 0}
nav a:hover {text-decoration: underline; text-underline-offset: 4px}
footer {width: min(1100px, 90%); margin-inline: auto; padding-block: 44px 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; border-top: 1px solid var(--line)}
footer nav {flex-direction: column; gap: 2px}
footer nav a {padding: 5px 0}
.foot-brand p {color: var(--muted); max-width: 34ch; line-height: 1.55; margin: 12px 0 0; font-size: .92rem}
.legal {width: min(1100px, 90%); margin: 0 auto 32px; color: #667060; font-size: .82rem; line-height: 1.5}

/* Buttons and type */
.sell, .browse {display: inline-block; border-radius: 100px; font-weight: 550; text-align: center}
.sell {border: 1px solid #cbd0c5; background: #fff; padding: 10px 19px; font-size: 14px}
.sell:hover {background: #f0f4e9}
.browse {background: #1b211a; color: #fff; border: 0; padding: 15px 27px; box-shadow: 0 3px 7px #303b201b}
.browse:hover {background: #35432c}
.block {display: block; width: 100%}
.label {margin: 0 0 14px; color: #476037; font-size: .8rem; font-weight: 600; letter-spacing: .065em; text-transform: uppercase}
h1 {margin: 0; font-size: clamp(3rem, 5.4vw, 5.5rem); font-weight: 500; line-height: .98; letter-spacing: -.07em}
h1 em, h2 em {font-family: "Instrument Serif", Georgia, serif; font-weight: 400; color: var(--accent); letter-spacing: -.03em}
.section h2 {margin: 0; font-size: clamp(2.4rem, 4.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.06em; font-weight: 500}
.intro {font-size: clamp(16px, 1.4vw, 20px); color: #4b5448; line-height: 1.55; margin: 22px 0 24px; max-width: 46ch}
.lead {line-height: 1.65; color: var(--muted); max-width: 40ch}
.text-link {text-decoration: underline; text-underline-offset: 3px}
.fine {color: var(--muted); font-size: .85rem; margin: 12px 0 0}
.badge {font-size: .72rem; font-weight: 600; padding: 4px 9px; border-radius: 100px; background: var(--green); color: #fff; white-space: nowrap}
.badge.soft {background: #ecefe7; color: var(--muted)}
.badge.lime {background: var(--lime); color: var(--green)}
.section {width: min(1100px, 90%); margin-inline: auto; padding-block: clamp(64px, 8vw, 104px)}

/* Hero */
.hero {position: relative; overflow: hidden; isolation: isolate; margin: 0 14px; min-height: min(860px, 100svh - 90px); display: grid; place-items: start center; text-align: center; border-radius: 26px;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, #fdfdf3 0%, #f4f7e8 45%, transparent 75%), linear-gradient(180deg, #f6f8ef, #e4ede0)}
.hero-copy {position: relative; z-index: 1; width: min(900px, 90%); padding-top: clamp(96px, 15vh, 190px); display: grid; justify-items: center}
.hero h1 {font-size: clamp(3rem, 6.4vw, 6rem)}
.hero .intro {max-width: none; margin: 26px 0 30px}
#wave {position: absolute; inset: auto 0 0 0; z-index: -1; width: 100%; height: 46%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%); mask-image: linear-gradient(180deg, transparent, #000 35%)}
.hero-actions {display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap}
.ghost {font-weight: 550; padding: 12px 4px}
.ghost:hover {text-decoration: underline; text-underline-offset: 4px}
.hero .proof {justify-content: center; margin-top: 26px}
.offer {display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px; padding: 3px; font-size: 13px; background: #fff9; border: 1px solid #cbd2c0; border-radius: 100px}
.offer b {background: var(--lime); border-radius: 100px; padding: 4px 10px; font-weight: 600}
.offer span {padding-right: 10px}
.offer:hover {border-color: #8ea27c; background: #fff}
.search {display: flex; gap: 8px; margin: 0 0 18px; width: min(100%, 500px); padding: 5px; background: #fff; border: 1px solid #c7d1bc; border-radius: 30px}
.search input {border: 0; min-width: 0; flex: 1; background: transparent; padding-left: 14px}
.search input:focus-visible {outline: 0}
.search:focus-within {outline: 3px solid #557329; outline-offset: 2px}
.search button {background: var(--green); color: #fff; border: 0; padding: 10px 20px; border-radius: 22px}
.proof {display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .88rem}
.proof li::before {content: "✓"; color: var(--accent); font-weight: 700; margin-right: 6px}

/* Deal cards */
.deals {display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px}
.deal {display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: var(--green); color: #f4f8ef; box-shadow: 0 24px 50px #283c2540}
.deal-head {display: flex; align-items: center; gap: 12px}
.deal-head div {flex: 1}
.deal-head strong, .deal-head small {display: block}
.deal-head strong {font-size: 1.15rem}
.deal-head small {color: #c9d6c2; font-size: .8rem; margin-top: 2px}
.deal-label {margin: 22px 0 10px; font-size: .78rem; color: #c9d6c2; text-transform: uppercase; letter-spacing: .06em}
.chips {display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px}
.chip {padding: 11px 4px; border: 1px solid #50684a; border-radius: 12px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums}
.chip:hover {border-color: #9fb592}
.chip[aria-current="true"] {background: var(--lime); border-color: var(--lime); color: var(--green)}
.deal-price {display: flex; align-items: end; gap: 24px; margin: 22px 0 22px; padding: 18px 0; border-block: 1px dashed #a7b6a066; flex-wrap: wrap}
.deal-price small {display: block; color: #c9d6c2; font-size: .78rem; margin-bottom: 4px}
.deal-price s {font-size: 1.5rem; color: #b9c7b3}
.deal-price strong {font-size: clamp(2.6rem, 4.5vw, 3.6rem); font-weight: 500; letter-spacing: -.06em; line-height: 1}
.save {margin-left: auto; align-self: center; color: var(--lime); font-weight: 600; font-size: .9rem}
.deal .browse {margin-top: auto; background: var(--lime); color: var(--green); box-shadow: none}
.deal .browse:hover {background: #d4f59b}
.deal .fine {text-align: center; color: #c9d6c2}

/* Logos */
.logo {display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--wash); border: 1px solid var(--line)}
.logo.light {background: #deefcb; border: 0}
.logo.xl {width: 72px; height: 72px; border-radius: 18px}
.mono {font-weight: 650; color: var(--green)}
.mono-ai {background: #eef2dc}
.mono-cloud {background: #e3eef0}
.mono-hosting {background: #e6efe0}
.mono-gpu {background: #f1e9dc}
.mono-databases {background: #e9e6f1}
.mono-tools {background: #edf0e8}
.logo-strip {position: relative; overflow: hidden; width: min(1170px, 90%); margin: auto; border-bottom: 1px solid var(--line); padding: 26px 0; color: #43513d}
.ticker {display: flex; width: max-content; animation: marquee 32s linear infinite}
.ticker ul {display: flex; align-items: center; gap: 48px; padding: 0 48px 0 0; margin: 0; list-style: none}
.ticker a {display: flex; align-items: center; gap: 9px; font-size: 1.1rem; font-weight: 600}
.ticker a:hover {color: var(--accent)}
.ticker img {object-fit: contain; filter: grayscale(1)}
.ticker a:hover img {filter: none}
.ticker.paused, .logo-strip:hover .ticker, .logo-strip:focus-within .ticker {animation-play-state: paused}
@keyframes marquee {to {transform: translateX(-50%)}}
#motion {position: absolute; right: 0; top: 50%; transform: translateY(-50%); border: 1px solid #c7d1bc; border-radius: 50%; background: #fff; width: 32px; height: 32px}
@media (prefers-reduced-motion: reduce) {.ticker {animation: none} .logo-strip {overflow-x: auto} #motion, .ticker ul[aria-hidden] {display: none}}

/* Explorer */
.section-head {display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 32px}
.section-head .lead {margin: 0}
.tabs {display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 8px; scrollbar-width: thin}
.tabs button {flex: none; border: 1px solid var(--line); background: #fff; border-radius: 100px; padding: 9px 16px; font-size: .92rem; font-weight: 550}
.tabs button span {color: #7b8576; font-weight: 500; margin-left: 4px}
.tabs button:hover {border-color: #8ea27c}
.tabs button[aria-pressed="true"] {background: var(--green); border-color: var(--green); color: #fff}
.tabs button[aria-pressed="true"] span {color: #c9d6c2}
.cards {display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 12px}
.card {display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .15s, transform .15s}
.card:hover {border-color: #8ea27c; transform: translateY(-1px)}
.card.live {background: linear-gradient(120deg, #fff 40%, #f1f7e6); border-color: #c5d6b2}
.card-body {flex: 1; min-width: 0}
.card-body strong, .card-body small {display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap}
.card-body strong {font-size: .98rem; letter-spacing: -.02em}
.card-body small {color: #6a7465; margin-top: 3px; font-size: .82rem}
.card-price {text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums}
.card-price b {display: block; font-size: 1.05rem}
.card-price s {color: #8b9486; font-size: .82rem}
.card-price.muted {color: #6a7465; font-size: .82rem}
.explorer-foot {display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px}
.marketplace-hero {background: radial-gradient(ellipse at 50% 24%, #fdfdf3, transparent 72%), #e8efdf; border: 1px solid var(--line); border-radius: 26px; padding: clamp(32px, 7vw, 82px) 20px; text-align: center}
.marketplace-hero h1 {font-size: clamp(2.5rem, 6vw, 5.5rem); text-wrap: balance}
.marketplace-hero .intro {margin-inline: auto; max-width: 53ch; text-wrap: pretty}
.marketplace-section {margin-top: clamp(38px, 7vw, 84px)}
.marketplace-section > h2 {margin-bottom: 20px}
.results-count {margin: 0 0 14px; color: var(--muted); font-size: .88rem}
nav a[aria-current="page"] {color: var(--accent); text-decoration: underline; text-underline-offset: 4px}

/* How it works, FAQ, bands */
.band {background: var(--wash)}
.split {display: grid; grid-template-columns: 1fr 1fr; gap: 8%}
.steps {counter-reset: steps; list-style: none; margin: 0; padding: 0}
.steps li {counter-increment: steps; position: relative}
.steps li::before {content: counter(steps); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 600; margin-bottom: 16px}
.steps h3 {margin: 0; font-size: 1.22rem; letter-spacing: -.035em}
.steps p {line-height: 1.6; color: var(--muted); margin: 8px 0 0}
.vendor-process .sell {margin-top: 8px}
.vendor-timeline {display: grid; gap: 12px; position: relative; isolation: isolate}
.vendor-timeline::before {content: ""; position: absolute; inset: 25px auto 25px 17px; width: 1px; background: #cbd7c1}
.vendor-timeline li {margin-left: 52px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--wash)}
.vendor-timeline li::before {position: absolute; top: 12px; left: -52px; margin: 0; box-shadow: 0 0 0 4px #fff}
@media (prefers-reduced-motion: no-preference) {
  .is-revealed[data-reveal] {animation: rise-in .45s ease-out both}
  .vendor-timeline li.is-revealed::before {animation: marker-in .55s ease-out}
}
@keyframes rise-in {from {opacity: .55; transform: translateY(12px)} to {opacity: 1; transform: translateY(0)}}
@keyframes marker-in {from {box-shadow: 0 0 0 7px var(--lime)} to {box-shadow: 0 0 0 4px #fff}}
.steps.row {display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0 36px}
.steps.row li {padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px}
.steps.compact {display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px}
.questions details {border-bottom: 1px solid var(--line); padding: 18px 0}
.questions details:first-child {border-top: 1px solid var(--line)}
.questions p {line-height: 1.65; color: var(--muted); margin: 8px 0 0}
summary {list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-weight: 550}
summary::-webkit-details-marker {display: none}
summary::after {content: "+"; color: #526a42}
details[open] summary::after {content: "−"}

/* Inner pages */
.page-content {min-height: 60vh; padding-top: clamp(40px, 5vw, 64px)}
.page-content > h1 {font-size: clamp(2.5rem, 5vw, 4.4rem)}
.page-content h2 {font-size: 2rem; letter-spacing: -.04em}
.pills {display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 4px}
.pill {border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; font-size: .9rem}
.pill:hover {border-color: #8ea27c}
.pill.on {background: var(--green); border-color: var(--green); color: #fff}
.capture {display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 520px; margin: 24px 0}
.capture label:not(.consent) {display: grid; gap: 6px; width: 100%; font-weight: 550; font-size: .92rem}
.consent {line-height: 1.5; font-size: .9rem; color: var(--muted)}
.catalog-table {overflow-x: auto; margin: 20px 0 48px; border: 1px solid var(--line); border-radius: 14px}
table {width: 100%; border-collapse: collapse; text-align: left; font-size: .92rem}
th, td {padding: 12px 14px; border-bottom: 1px solid #e6ebe1}
tbody tr:last-child td {border-bottom: 0}
th {background: #f1f5ec; font-weight: 600}
td b {font-variant-numeric: tabular-nums}
td s {color: #8b9486}

/* Render checkout */
.product-hero {display: flex; gap: 24px; align-items: center}
.product-hero h1 {font-size: clamp(2.6rem, 5vw, 4.6rem)}
.product-hero .intro {margin-bottom: 0}
.buy {display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; margin: 40px 0 72px}
.buy > .alert {grid-column: 1 / -1}
fieldset {border: 0; padding: 0; margin: 0; min-width: 0}
legend {font-weight: 600; margin-bottom: 14px; padding: 0}
.plans {display: grid; gap: 10px; min-width: 0}
.plan-option {display: grid; grid-template-columns: 22px 1fr auto auto; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; background: #fff}
.plan-option:hover {border-color: #8ea27c}
.plan-option:has(input:checked) {border-color: var(--green); background: #f6f9f0; box-shadow: 0 0 0 3px #c2ec7866}
.plan-option input, .method input {width: 18px; height: 18px; accent-color: var(--green); margin: 0}
.face {font-size: 1.6rem; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums}
.face small, .pay small {display: block; font-size: .78rem; font-weight: 400; letter-spacing: 0; color: #6a7465}
.pay {text-align: right; font-weight: 600; font-size: 1.15rem; font-variant-numeric: tabular-nums}
.summary {position: sticky; top: 20px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--wash); display: grid; gap: 18px}
.summary h2 {margin: 0; font-size: 1.4rem !important}
.summary dl {margin: 0; display: grid; gap: 10px}
.summary dl div {display: flex; justify-content: space-between; gap: 12px}
.summary dt {color: var(--muted)}
.summary dd {margin: 0; font-variant-numeric: tabular-nums; text-align: right}
.summary .total {padding-top: 12px; border-top: 1px solid #d3dbca; align-items: baseline}
.summary .total dt {color: var(--ink); font-weight: 600}
.summary .total dd > span {font-size: 1.8rem; font-weight: 600; letter-spacing: -.04em}
.summary .total small {display: block; color: #6a7465; font-size: .8rem}
.field {display: grid; gap: 6px; font-weight: 600}
.field small {font-weight: 400; color: #6a7465; font-size: .8rem}
.methods {display: grid; gap: 8px}
.methods legend {margin-bottom: 8px}
.method {display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer}
.method:has(input:checked) {border-color: var(--green)}
.method strong, .method small {display: block}
.method small {color: #6a7465; font-size: .8rem; margin-top: 2px}
.assure {list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); font-size: .85rem}
.assure li::before {content: "✓"; color: var(--accent); font-weight: 700; margin-right: 6px}
.band-lite {padding-top: 40px; border-top: 1px solid var(--line)}
.alert {margin: 0; padding: 12px 16px; border-radius: 12px; background: #fdf1e6; border: 1px solid #efcfb0; color: #6b3d12}

/* Order page */
.order {max-width: 620px}
.order h1 {font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 24px}
.order > .alert {margin-bottom: 20px}
.order-lines {margin: 0 0 24px; padding: 20px; background: var(--wash); border-radius: 16px; display: grid; gap: 12px}
.order-lines div {display: flex; justify-content: space-between; gap: 16px}
.order-lines dt {color: var(--muted)}
.order-lines dd {margin: 0; text-align: right}
.order-action {display: grid; gap: 14px; justify-items: start}
.order-action p {margin: 0; line-height: 1.6}
.order-action .block {max-width: 360px}
.status {padding: 3px 10px; border-radius: 100px; font-size: .82rem; font-weight: 600; background: #ecefe7}
.status-paid, .status-fulfilled {background: var(--lime); color: var(--green)}
.status-verifying {background: #fdf1e6; color: #6b3d12}
.wallets {list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; width: 100%}
.wallets li {display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px}
.wallets strong, .wallets code {display: block}
.wallets code {margin-top: 4px}

@media (max-width: 900px) {
  .buy {grid-template-columns: 1fr}
  .summary {position: static}
}
@media (max-width: 720px) {
  header {width: calc(100% - 32px); flex-wrap: wrap; padding: 12px 0 4px}
  header nav {order: 3; width: 100%; justify-content: center; gap: 20px}
  .hero {margin: 0 7px; border-radius: 18px}
  h1 {font-size: clamp(42px, 11vw, 60px)}
  .split, .steps.row, .steps.compact {grid-template-columns: 1fr}
  .split {gap: 32px}
  .cards {grid-template-columns: minmax(0, 1fr)}
  .card .badge {display: none}
  .chips {grid-template-columns: repeat(3, 1fr)}
  .plan-option {grid-template-columns: 22px 1fr auto; row-gap: 6px}
  .plan-option .badge {grid-column: 2 / -1; justify-self: start}
  .product-hero {flex-direction: column; align-items: flex-start}
}

/* Escrow timeline */
.dispute-panel {display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: clamp(24px, 4vw, 40px); border-radius: 22px; background: #fff; border: 1px solid var(--line)}
.dispute-panel h3 {margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.045em; font-weight: 550}
.dispute-panel p:not(.label) {color: var(--muted); line-height: 1.6}
.checks, .plain {list-style: none; padding: 0; margin: 0; display: grid; gap: 14px}
.checks li {position: relative; padding-left: 30px; line-height: 1.55; color: var(--muted)}
.checks li strong {color: var(--ink)}
.checks li::before {content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: var(--green); font-size: .72rem; font-weight: 700}
.checks.no li::before {content: "×"; background: #f6dfd3; color: #7a2f12}
.plain li {line-height: 1.6; color: var(--muted)}

/* Trust pillars */
.pillars {display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px}
.pillars article {padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(160deg, #fff 50%, var(--wash))}
.pillars h3 {margin: 18px 0 8px; font-size: 1.25rem; letter-spacing: -.035em}
.pillars p {margin: 0; color: var(--muted); line-height: 1.6}
.pillar-icon {display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: var(--lime); font-size: 1.2rem; font-weight: 700}

/* Docs & policies */
.doc {max-width: 720px}
.doc h2 {font-size: 1.45rem !important; margin: 36px 0 10px}
.doc p {line-height: 1.7; color: #3f483c}
.doc-section {margin-top: 48px}
.doc-section > h2 {margin-bottom: 20px}
.split-doc {display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px}
.compact-list {display: grid; gap: 22px}

/* Checkout escrow note, order tracking */
.escrow-note {display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #c5d6b2; font-size: .86rem}
.escrow-note strong::before {content: "🔒 "}
.escrow-note span {color: var(--muted); line-height: 1.5}
.band-lite h2 {margin: 0 0 24px}
.progress {list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: p}
.progress li {counter-increment: p; padding-top: 12px; border-top: 4px solid #e2e7dc; font-size: .8rem; color: #7b8576}
.progress li.done {border-color: var(--accent); color: var(--ink)}
.progress li.now {border-color: var(--lime); color: var(--ink); font-weight: 600}
.delivery {width: 100%; padding: 18px; border-radius: 14px; background: var(--green); color: #f4f8ef}
.delivery .label {color: var(--lime)}
.delivery-body {white-space: pre-wrap; word-break: break-word; font: .95rem/1.6 ui-monospace, Menlo, monospace}
.confirm-form {display: grid; gap: 12px; justify-items: start}
.dispute {width: 100%; margin-top: 8px; padding: 14px 0; border-top: 1px solid var(--line)}
.dispute .capture {margin: 12px 0 0}
textarea {font: inherit; width: 100%; border: 1px solid #b9c5b1; border-radius: 10px; padding: 11px 12px; resize: vertical}
blockquote {margin: 0; padding: 12px 16px; border-left: 3px solid var(--lime); background: var(--wash); border-radius: 0 10px 10px 0; color: var(--muted)}
.status-confirmed, .status-released {background: var(--lime); color: var(--green)}
.status-disputed, .status-refunded {background: #f6dfd3; color: #7a2f12}
.status-delivered {background: #e3eef0; color: #23474f}

@media (max-width: 1000px) {
}
@media (max-width: 720px) {
  .hero {min-height: 640px}
  .hero-copy {padding-top: 64px}
  .hero .intro br, .hero h1 br {display: none}
  #wave {height: 34%}
  .pillars, .dispute-panel, .split-doc {grid-template-columns: 1fr}
  footer {grid-template-columns: 1fr 1fr}
  .foot-brand {grid-column: 1 / -1}
}

/* Animated escrow flow */
.flow {display: grid; gap: 16px; margin: 8px 0 32px}
.flow-stage {position: relative; height: 270px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 80% at 50% 0%, #fbfdf4, transparent 70%), #fff}
.flow-track {position: absolute; left: 16%; right: 16%; top: 124px; height: 2px}
.seg {position: absolute; top: 0; width: 50%; height: 2px; background: linear-gradient(90deg, #c9d4bd 50%, transparent 0) 0 0 / 12px 2px}
.seg-a {left: 0} .seg-b {left: 50%}
.flow[data-step="1"] .seg-a, .flow[data-step="5"] .seg-b, .flow[data-step="3"] .seg {background-image: linear-gradient(90deg, var(--accent) 50%, transparent 0); height: 3px}
.actor {position: absolute; top: 88px; width: 190px; transform: translateX(-50%); display: grid; justify-items: center; gap: 3px; text-align: center}
.actor-buyer {left: 16%} .actor-vault {left: 50%} .actor-vendor {left: 84%}
.actor-icon {position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 10px; border-radius: 22px; background: #fff; border: 1px solid var(--line); color: var(--green); box-shadow: 0 8px 20px #2a3c2512; transition: background .4s, color .4s, transform .4s, box-shadow .4s}
.actor-icon svg {width: 30px; height: 30px}
.actor strong {font-size: .98rem; letter-spacing: -.02em}
.actor small {color: var(--muted); font-size: .82rem; min-height: 1.2em; transition: color .3s}
.flow[data-step="1"] .actor-buyer .actor-icon, .flow[data-step="4"] .actor-buyer .actor-icon,
.flow[data-step="2"] .actor-vault .actor-icon,
.flow[data-step="3"] .actor-vendor .actor-icon, .flow[data-step="5"] .actor-vendor .actor-icon {background: var(--green); color: var(--lime); border-color: var(--green); transform: scale(1.08); box-shadow: 0 0 0 8px #c2ec7840, 0 14px 30px #283c2533}
.flow[data-step="1"] .actor-buyer small, .flow[data-step="4"] .actor-buyer small, .flow[data-step="2"] .actor-vault small,
.flow[data-step="3"] .actor-vendor small, .flow[data-step="5"] .actor-vendor small {color: var(--ink); font-weight: 600}
.actor-check, .actor-lock {position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: .8rem; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s}
.actor-check {background: var(--lime); color: var(--green)}
.actor-lock {background: var(--green); color: var(--lime); border: 2px solid #fff}
.actor-lock svg {width: 13px; height: 13px}
.flow[data-step="4"] .actor-check, .flow[data-step="5"] .actor-check,
.flow[data-step="2"] .actor-lock, .flow[data-step="3"] .actor-lock, .flow[data-step="4"] .actor-lock {opacity: 1; transform: none}
.token {position: absolute; top: 34px; left: 16%; transform: translateX(-50%); padding: 7px 14px; border-radius: 100px; font-weight: 700; font-size: .85rem; white-space: nowrap; opacity: 0; box-shadow: 0 8px 18px #283c2526}
.money {background: var(--lime); color: var(--green)}
.code {background: var(--green); color: #f4f8ef; font: 600 .74rem ui-monospace, Menlo, monospace; letter-spacing: .06em}
.flow[data-step="1"] .money, .flow[data-step="2"] .money, .flow[data-step="3"] .money, .flow[data-step="4"] .money {left: 50%; opacity: 1}
.flow[data-step="5"] .money {left: 84%; opacity: 1}
.flow[data-step="3"] .code, .flow[data-step="4"] .code {left: 16%; opacity: 1}
.flow[data-step="3"] .money, .flow[data-step="4"] .money {top: 4px; opacity: .5}
.timer {position: absolute; left: 67%; top: 140px; transform: translateX(-50%); display: grid; gap: 5px; width: 130px; padding: 7px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .74rem; font-weight: 600; text-align: center; opacity: 0; transition: opacity .3s}
.timer i {display: block; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--fill, 0%), #e6ebe1 0)}
.flow[data-step="4"] .timer, .flow[data-step="5"] .timer {opacity: 1}
.flow[data-step="5"] .timer {--fill: 100%}

.flow-steps {list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px}
.flow-steps li {border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: background .35s, border-color .35s, transform .35s}
.flow-steps button {all: unset; box-sizing: border-box; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; width: 100%; padding: 18px 18px 0; cursor: pointer}
.flow-steps button:focus-visible {outline: 3px solid #557329; outline-offset: 3px; border-radius: 14px}
.flow-steps .n {display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--green); font-weight: 700; font-size: .85rem}
.flow-steps .t {font-weight: 600; letter-spacing: -.02em; line-height: 1.25}
.flow-steps .bar {grid-column: 1 / -1; display: block; height: 3px; border-radius: 3px; background: #e6ebe1; overflow: hidden}
.flow-steps .bar i {display: block; width: 0; height: 100%; background: var(--accent)}
.flow-steps p {margin: 0; padding: 12px 18px 18px; color: var(--muted); font-size: .9rem; line-height: 1.55}
.flow-steps li.is-done .bar i {width: 100%}
.flow-steps li.is-active {background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-3px)}
.flow-steps li.is-active p {color: #c9d6c2}
.flow-steps li.is-active .bar {background: #ffffff26}
.flow-steps li.is-active .bar i {width: 100%; background: var(--lime)}
.flow-steps li:not(.is-active):hover {border-color: #8ea27c}

@media (prefers-reduced-motion: no-preference) {
  .flow[data-step="1"] .seg-a, .flow[data-step="5"] .seg-b {animation: dash .6s linear infinite}
  .flow[data-step="3"] .seg {animation: dash .6s linear infinite reverse}
  .flow[data-step="1"] .money {animation: money-in 1.5s cubic-bezier(.6,0,.3,1) both}
  .flow[data-step="2"] .money {animation: pulse 1.4s ease-in-out infinite}
  .flow[data-step="3"] .code {animation: code-in 1.8s cubic-bezier(.6,0,.3,1) both}
  .flow[data-step="5"] .money {animation: money-out 3s cubic-bezier(.6,0,.3,1) both}
  .flow[data-step="4"] .timer i {animation: hold 4.5s linear both}
  .flow[data-step="2"] .actor-vault .actor-icon, .flow[data-step="4"] .actor-buyer .actor-icon {animation: ring 1.6s ease-out infinite}
  .flow-steps li.is-active .bar i {width: 0; animation: fill var(--dur) linear forwards}
  .flow.paused li.is-active .bar i, .flow.offscreen li.is-active .bar i {animation-play-state: paused}
}
@keyframes dash {to {background-position: 12px 0}}
@keyframes money-in {0% {left: 16%; opacity: 0} 15% {opacity: 1} 100% {left: 50%; opacity: 1}}
@keyframes code-in {0% {left: 84%; opacity: 0} 15% {opacity: 1} 100% {left: 16%; opacity: 1}}
@keyframes money-out {0%, 40% {left: 50%} 100% {left: 84%}}
@keyframes pulse {50% {transform: translateX(-50%) scale(1.12)}}
@keyframes hold {from {--fill: 0%} to {--fill: 70%}}
@keyframes ring {0% {box-shadow: 0 0 0 0 #c2ec78aa, 0 14px 30px #283c2533} 100% {box-shadow: 0 0 0 18px #c2ec7800, 0 14px 30px #283c2533}}
@keyframes fill {from {width: 0} to {width: 100%}}
@property --fill {syntax: "<percentage>"; inherits: true; initial-value: 0%}

@media (max-width: 900px) {
  .flow-steps {grid-template-columns: 1fr}
  .flow-steps li:not(.is-active) p {display: none}
}
@media (max-width: 560px) {
  .flow-stage {height: 240px}
  .actor {width: 104px; top: 78px}
  .actor-icon {width: 56px; height: 56px; border-radius: 17px}
  .actor-icon svg {width: 24px; height: 24px}
  .actor strong {font-size: .82rem}
  .actor small {font-size: .72rem}
  .flow-track {top: 106px}
  .token {top: 22px; font-size: .74rem; padding: 6px 10px}
  .flow[data-step="3"] .money, .flow[data-step="4"] .money {top: 0}
  .timer {top: 186px; left: 50%; width: 120px}
}

/* ---------- Featured credits ---------- */
.sr-only {position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap}
.section-head.center {flex-direction: column; align-items: center; text-align: center; gap: 16px}
.section-head.center .lead {max-width: 56ch}
.drops {display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px}
.drop {display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s}
.drop:hover {transform: translateY(-4px); border-color: #c5d6b2; box-shadow: 0 22px 44px #283c251c}
.drop-body {display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px}
.drop h3 {margin: 0; font-size: 1.2rem; letter-spacing: -.035em}
.drop p {margin: 6px 0 14px; color: var(--muted); line-height: 1.5; font-size: .92rem}
.drop-foot {margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted)}
.drop-cta {color: var(--green); font-weight: 600}
.drop:hover .drop-cta {text-decoration: underline; text-underline-offset: 3px}
.ticks {list-style: none; margin: 0; padding: 0; display: grid; gap: 8px}
.ticks li {position: relative; padding-left: 26px; font-size: .92rem; line-height: 1.45}
.ticks li::before {content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); color: var(--green); font-size: .66rem; font-weight: 800}

/* Generated feature art: brand-tinted, consistent across every listing */
.art {position: relative; aspect-ratio: 16 / 9; min-height: 166px; overflow: hidden; isolation: isolate; color: #fff;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr;
  gap: 13px 8px; padding: 16px 20px;
  background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--c) 75%, #fff) 0, transparent 45%),
              radial-gradient(circle at 10% 110%, color-mix(in srgb, var(--c) 60%, #000) 0, transparent 55%),
              linear-gradient(135deg, #10140f, color-mix(in srgb, var(--c) 35%, #10140f))}
.art::before {content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(#ffffff14 1px, transparent 1px), linear-gradient(90deg, #ffffff14 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 75%)}
.art::after {content: ""; position: absolute; right: -12%; bottom: -40%; z-index: -1; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #ffffff22; box-shadow: 0 0 0 28px #ffffff08, 0 0 0 56px #ffffff05}
.art-mark {display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px #0004}
.art-mark img {width: 28px; height: 28px}
.art-mark b {font-size: 1.4rem; color: var(--c)}
.art-status {justify-self: end; align-self: start; padding: 5px 11px; border-radius: 100px; font-size: .74rem; font-weight: 700; backdrop-filter: blur(6px)}
.art-in {background: #c2ec78; color: #1f3318}
.art-soon {background: #ffffffe6; color: #3d4a37}
.art-sold {background: #00000080; color: #fff; border: 1px solid #ffffff40}
.art-copy {grid-column: 1 / -1; grid-row: 2; align-self: end; display: grid}
.art-copy strong {font-size: clamp(2.1rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -.06em; line-height: 1}
.art-copy span {margin-top: 4px; font-size: .85rem; color: #ffffffc7}
.art-lg {aspect-ratio: 4 / 3; border-radius: 24px; padding: 26px 28px}
.art-lg .art-mark {width: 64px; height: 64px; border-radius: 18px}
.art-lg .art-mark img {width: 36px; height: 36px}
.art-lg .art-copy strong {font-size: clamp(3rem, 6vw, 4.6rem)}

/* Product page */
.back {display: inline-block; margin-bottom: 24px; font-size: .9rem}
.product {display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; margin-bottom: 64px}
.product > .art {position: sticky; top: 20px}
.product-info h1 {font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.02}
.product-info .intro {margin: 16px 0 18px}
.small-h {font-size: 1rem !important; margin: 26px 0 12px; letter-spacing: -.01em}
.proof-chip {display: inline-block; margin: 0; padding: 5px 12px; border-radius: 100px; background: var(--wash); color: var(--accent); font-size: .84rem; font-weight: 600}
.facts {margin: 26px 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden}
.facts div {display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 16px}
.facts div + div {border-top: 1px solid var(--line)}
.facts dt {color: var(--muted)}
.facts dd {margin: 0; font-weight: 550}
.quote {padding: 22px; border-radius: 18px; background: var(--wash)}
.quote h2 {margin: 0 !important; font-size: 1.3rem !important}
.quote p {margin: 8px 0 0; color: var(--muted); line-height: 1.55}
.quote .capture {margin: 16px 0 0}

/* ---------- Cleaner explorer ---------- */
.explorer-bar {display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px}
.explorer-bar .tabs {margin: 0; padding-bottom: 4px; flex: 1 1 520px}
.explorer-search input {width: min(280px, 100%); border-radius: 100px; padding: 10px 16px; background: var(--wash); border-color: var(--line)}
.cards {grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 28px; border-top: 1px solid var(--line)}
.card {padding: 14px 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none}
.card:hover {transform: none; background: none}
.card:hover strong {color: var(--accent)}
.card.live {background: none}
.card .logo {width: 36px; height: 36px; border-radius: 10px}
.card .logo img {width: 20px; height: 20px}
.card-body small {display: flex; align-items: center; gap: 6px}
.dot {display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none}
.dot-on {background: #5c9a2e}
.dot-off {background: #c3cabd}
.card-price.muted {font-size: .82rem; color: var(--accent); font-weight: 550}
.empty {padding: 24px 0; color: var(--muted)}

/* ---------- Why DevCredits ---------- */
.compare {max-width: 900px; margin: 0 auto 28px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff}
.compare-row {display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; align-items: center}
.compare-row > span {padding: 16px 22px; line-height: 1.45}
.compare-row + .compare-row {border-top: 1px solid var(--line)}
.compare-row > span:first-child {font-weight: 600}
.compare-row > span:nth-child(2) {color: #8a6f62}
.compare-row > span:nth-child(2)::before {content: "✕ "; color: #c06a4b; font-weight: 700}
.compare-row > span:nth-child(3) {background: #f5f9ee; color: var(--ink); font-weight: 550}
.compare-row > span:nth-child(3)::before {content: "✓ "; color: var(--accent); font-weight: 800}
.compare-head > span {font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) !important; font-weight: 600 !important; padding-block: 12px}
.compare-head > span::before {content: none !important}
.compare-head > span:nth-child(3) {color: var(--green) !important; background: var(--lime) !important}
.pillars {grid-template-columns: repeat(4, 1fr); gap: 14px}
.pillars article {padding: 22px; background: #fff}
.pillars h3 {margin: 14px 0 6px; font-size: 1.05rem}
.pillars p {font-size: .9rem}
.pillar-icon {width: 38px; height: 38px; border-radius: 11px; font-size: 1rem}

/* ---------- FAQ ---------- */
.faq .questions {max-width: 780px; margin: 0 auto; display: grid; gap: 10px}
.faq .questions details {border: 1px solid var(--line); border-radius: 16px; padding: 0; background: #fff; transition: border-color .2s, background .2s}
.faq .questions details:first-child {border-top: 1px solid var(--line)}
.faq .questions details[open] {border-color: #c5d6b2; background: #fbfcf7}
.faq summary {padding: 18px 22px; font-size: 1.02rem}
.faq summary::after {display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--wash); flex: none}
.faq details[open] summary::after {background: var(--lime); color: var(--green)}
.faq .questions p {margin: 0; padding: 0 22px 20px; max-width: 64ch}
.faq-more {text-align: center; color: var(--muted); margin: 26px 0 0}

@media (max-width: 900px) {
  .product {grid-template-columns: 1fr}
  .product > .art {position: static}
  .pillars {grid-template-columns: 1fr 1fr}
}
@media (max-width: 640px) {
  .compare-row {grid-template-columns: 1fr 1fr}
  .compare-row > span:first-child {grid-column: 1 / -1; padding-bottom: 4px; background: var(--wash)}
  .compare-head > span:first-child {display: none}
  .compare-row > span {padding: 12px 16px; font-size: .9rem}
  .pillars {grid-template-columns: 1fr}
  .facts div {grid-template-columns: 110px 1fr}
}
#drops .drops {grid-template-columns: repeat(4, 1fr)}
@media (max-width: 1100px) {#drops .drops {grid-template-columns: repeat(2, 1fr)}}
@media (max-width: 600px) {#drops .drops {grid-template-columns: 1fr}}
.product-info .small-h {margin: 26px 0 14px}
.deal.has-art {padding-top: 0; overflow: hidden}
.deal.has-art .art {margin: 0 -26px 22px; aspect-ratio: 16 / 7}
.deal.has-art .art-copy strong {transition: opacity .2s}
.deal .art-status {display: none}

/* ---------- Marketplace tiles ---------- */
.explore-section .explorer-bar {padding: 8px 8px 8px 10px; border: 1px solid var(--line); border-radius: 100px; background: #fff; box-shadow: 0 6px 18px #283c250d; margin-bottom: 22px}
.explore-section .tabs {padding: 0; gap: 4px; scrollbar-width: none}
.explore-section .tabs::-webkit-scrollbar {display: none}
.explore-section .tabs button {border: 0; padding: 9px 14px; background: none}
.explore-section .tabs button:hover {background: var(--wash)}
.explore-section .tabs button[aria-pressed="true"] {background: var(--green)}
.explore-section .explorer-search input {width: 220px; border: 0; background: var(--wash)}
.cards.tiles {grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; border: 0}
.card.tile {display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s}
.card.tile:hover {border-color: #b9cba6; box-shadow: 0 14px 30px #283c2514; transform: translateY(-2px)}
.card.tile:hover strong {color: var(--ink)}
.tile-top {display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px}
.tile .logo {width: 42px; height: 42px; border-radius: 12px}
.tile .logo img {width: 22px; height: 22px}
.tile strong {font-size: 1.02rem; letter-spacing: -.025em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap}
.tile small {margin-top: 3px; color: #6a7465; font-size: .82rem}
.tile-foot {display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line)}
.tile-price {font-size: .9rem; white-space: nowrap}
.tile-price small {color: var(--muted); font-size: .78rem}
.tile-price b {font-size: 1.15rem; letter-spacing: -.03em}
.tile-price.ask {color: var(--accent); font-weight: 600}
.tile-price.muted {color: var(--muted)}
.tile-tag {padding: 3px 8px; border-radius: 100px; font-size: .7rem; font-weight: 700; white-space: nowrap}
.tag-deal {background: var(--lime); color: var(--green)}
.tag-off {background: #eef0eb; color: #6a7465}
.tile .dot {width: 8px; height: 8px; margin-top: 4px}
@media (max-width: 1000px) {.cards.tiles {grid-template-columns: repeat(3, minmax(0, 1fr))}}
@media (max-width: 760px) {
  .explore-section .explorer-bar {border-radius: 20px; flex-direction: column; flex-wrap: nowrap; align-items: stretch}
  .explore-section .explorer-bar .tabs {flex: none; min-width: 0}
  .explore-section .explorer-search input {width: 100%}
  .cards.tiles {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px}
  .card.tile {padding: 14px}
  .tile-foot {flex-wrap: wrap}
}

/* Shared artwork footer */
.foot-band {
  position: relative;
  isolation: isolate;
  width: auto;
  display: block;
  margin: 40px 14px 14px;
  padding: 0;
  border: 0;
  border-radius: 26px;
  color: #f4f8ef;
  background: #1c2b19;
}
.foot-band::before, .foot-band::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.foot-band::before {
  z-index: -2;
  background: url("/assets/peaks.jpg") center 46% / cover no-repeat;
  filter: hue-rotate(-95deg) saturate(.55) brightness(.9);
}
.foot-band::after {
  z-index: -1;
  background: linear-gradient(180deg, #172414ed, #203820ab 40%, #182718f2 82%);
}
.foot-band-inner {
  width: min(720px, 90%);
  margin: auto;
  padding-block: clamp(64px, 8vw, 112px) clamp(48px, 6vw, 80px);
  text-align: center;
}
.foot-band .label, .foot-band h2 em {color: var(--lime)}
.foot-band h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1.04;
}
.foot-intro {margin: 16px auto 26px; max-width: 46ch; line-height: 1.6; color: #d4e0cc}
.foot-cta {display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px}
.foot-band .browse {background: var(--lime); color: var(--green)}
.foot-band .browse:hover {background: #d4f59b}
.foot-band .ghost.light {color: #f4f8ef}
.foot-band a:focus-visible {outline-color: var(--lime)}
.foot-menu {
  width: min(1100px, 90%);
  margin: auto;
  padding-block: 30px 24px;
  border-top: 1px solid #d4e0cc42;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.foot-menu h3 {margin: 0 0 5px; font-size: .9rem; font-weight: 650}
.foot-menu nav a, .foot-menu .foot-brand p, .foot-band .legal {color: #d4e0cc}
.foot-menu nav a:hover {color: #f4f8ef}
.foot-menu .brand img {background: #dce8d4; border-radius: 8px; padding: 3px}
.foot-band .legal {margin-bottom: 0; padding: 18px 0 24px; border-top: 1px solid #d4e0cc42}
@media (max-width: 720px) {
  .foot-band {margin-inline: 7px}
  .foot-menu {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px}
}

.deal-chat {
  border: 1px solid #d7e0d1;
  border-radius: 16px;
  background: #f7faf5;
  padding: clamp(16px, 4vw, 28px);
  margin-top: 24px;
}
.deal-chat h2 {margin-top: 0}
.deal-chat ol {list-style: none; padding: 0; margin: 16px 0}
.deal-chat li {
  background: white;
  border: 1px solid #dde7d8;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.deal-chat li small {color: #52604e}
.deal-chat li p {white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 0}
.deal-chat .capture {max-width: none; margin-bottom: 0}

.header-actions {display: flex; align-items: center; gap: 12px}
.header-actions .login-link {font-size: .875rem; white-space: nowrap}

/* Shared account and application layout */
.page-content:has(.auth-layout) {
  width: min(1170px, 94%);
  padding-block: 20px 24px;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
}
.auth-banner {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 620px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 24px;
  background: linear-gradient(180deg, #15211966, #15211930), #1c2b21 url("/assets/forest.jpg") center / cover no-repeat;
  color: #f4f8ef;
}
.auth-brand img {padding: 3px; border-radius: 7px; background: #dce8d4}
.auth-tagline {
  max-width: 12ch;
  margin: 26px 0 13px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.07em;
  font-weight: 500;
}
.auth-banner em {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  color: var(--lime);
}
.auth-banner > span {display: block; max-width: 31ch; color: #dbe7d7; line-height: 1.5}
.auth-panel {width: min(100%, 410px); padding: 26px 0 32px}
.auth-panel h1 {font-size: clamp(2.25rem, 4vw, 3.4rem); margin: 0; letter-spacing: -.065em}
.auth-intro {margin: 10px 0 26px; color: var(--muted)}
.account-google {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  font-weight: 550;
}
.account-google:not(:disabled):hover {background: var(--wash)}
.account-google:disabled {cursor: default; color: #596357}
.account-google img {object-fit: contain}
.account-note {margin: 8px 0 0; color: var(--muted); font-size: .83rem; line-height: 1.5}
.auth-divider {display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted); font-size: .85rem}
.auth-divider::before, .auth-divider::after {content: ""; flex: 1; height: 1px; background: var(--line)}
.auth-form {margin: 0; gap: 14px}
.auth-form small {color: var(--muted); font-weight: 400}
.auth-form .browse {width: 100%; margin-top: 3px}
.account-switch {margin: 18px 0 0; color: var(--muted); font-size: .94rem}
.account-switch a, .account-note a {color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px}

@media (max-width: 720px) {
  .page-content:has(.auth-layout) {width: 90%}
  .auth-layout {grid-template-columns: 1fr; gap: 22px}
  .auth-banner {min-height: 300px; background-position: center 59%}
  .auth-tagline {margin-top: 22px; font-size: clamp(2.7rem, 9vw, 4rem)}
  .auth-panel {width: 100%; max-width: 450px; justify-self: center; padding-top: 8px}
}

/* Vendor application */
.vendor-wizard {
  min-width: 0;
  padding: clamp(19px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.vendor-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}
.vendor-steps li {padding-top: 8px; border-top: 3px solid var(--line); color: var(--muted); font-size: .8rem}
.vendor-steps li[aria-current] {border-color: var(--accent); color: var(--ink); font-weight: 650}
.vendor-wizard h2 {font-size: clamp(1.7rem, 3vw, 2.6rem)}
.vendor-wizard .capture {max-width: none; margin-bottom: 0}
.vendor-wizard .fine {margin: 0}
.country-picker {display: grid; gap: 6px; width: 100%}
.country-field {display: flex; flex-wrap: wrap; gap: 8px}
.country-field input {flex: 1 1 9rem; min-width: 0}
.country-field .sell {padding-inline: 12px}
.country-options {border: 1px solid var(--line); border-radius: 10px; padding: 4px}
.country-options ul {list-style: none; padding: 0; margin: 0; max-height: 11rem; overflow-y: auto}
.country-options button {display: block; width: 100%; border: 0; border-radius: 6px; background: transparent; padding: 8px; text-align: start}
.country-options button:is(:hover, :focus-visible) {background: var(--wash)}
.country-options button:focus-visible {outline-offset: -3px}
.country-options [data-country-empty] {padding: 8px}
.country-picker #vendor-country-hint {margin-top: 4px}
.vendor-wizard textarea {width: 100%; resize: vertical}
.vendor-review {display: grid; gap: 10px; margin: 0; width: 100%}
.vendor-review div {display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 12px}
.vendor-review dt {color: var(--muted)}
.vendor-review dd {margin: 0; overflow-wrap: anywhere}
.vendor-payout {padding: 16px; background: var(--wash); border-radius: 12px}
.vendor-payout p {margin: 6px 0 0; color: var(--muted); line-height: 1.55}
.vendor-actions {display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px}

/* Submission receipts */
.page-content:has(.receipt-card) {display: grid; place-items: center; padding-block: clamp(36px, 7vw, 100px)}
.receipt-card {
  width: min(100%, 625px);
  padding: clamp(26px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0%, #eff5e6, #fff 62%);
  text-align: center;
}
.receipt-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: #e1ebd7;
  box-shadow: 0 0 0 8px #eaf1e4;
}
.receipt-envelope, .receipt-mail {
  position: relative;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 5px;
  width: 56px;
  height: 39px;
  overflow: hidden;
  color: #47623b;
  background: #f7faf4;
}
.receipt-envelope::before, .receipt-mail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -56%;
  width: 70%;
  aspect-ratio: 1;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateX(-50%) rotate(45deg);
}
.receipt-check {
  position: absolute;
  display: grid;
  place-items: center;
  bottom: 19px;
  right: 18px;
  width: 30px;
  height: 30px;
  border: 2px solid #e1ebd7;
  border-radius: 50%;
  background: var(--green);
  color: #f4f8ef;
  font-weight: 700;
}
.receipt-card h1 {font-size: clamp(2.45rem, 5vw, 4rem)}
.receipt-card > p {margin: 15px auto 20px; max-width: 41ch; color: var(--muted); line-height: 1.6}
.receipt-status {display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--green); font-size: .88rem}
.receipt-mail {width: 17px; height: 12px; border-width: 1px; border-radius: 2px}
.receipt-mail::before {border-width: 0 1px 1px 0}

.purchase-signin {
  margin-block: 18px;
  padding: 18px;
  border-radius: 14px;
  background: var(--wash);
}
.purchase-signin p {margin: 0 0 14px; color: var(--muted)}
.purchase-signin a {margin: 0 6px 4px 0}
.order {margin-inline: auto}
.order-lines dd {min-width: 0; overflow-wrap: anywhere}

/* ---------- Customer dashboard ---------- */
.dash-wrap {background: #f6f8f2; min-height: calc(100vh - 80px); border-top: 1px solid var(--line)}
.dash {width: min(1240px, 94%); margin: 0 auto; display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 28px; padding: 28px 0 56px}
.ico {flex: none}
.dash-side {position: sticky; top: 20px; align-self: start; display: grid; gap: 18px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px}
.dash-user {display: flex; align-items: center; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); min-width: 0}
.dash-user span:last-child {min-width: 0}
.dash-user strong, .dash-user small {display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap}
.dash-user small {color: var(--muted); font-size: .78rem}
.dash-avatar {display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--green); color: var(--lime); font-weight: 700}
.dash-nav {display: grid; gap: 2px}
.dash-nav a, .dash-out button {display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px; color: #3c4638; font-weight: 550; font-size: .94rem; border: 0; background: none; width: 100%; text-align: left; transition: background .15s, color .15s}
.dash-nav a:hover, .dash-out button:hover {background: var(--wash); color: var(--ink)}
.dash-nav a[aria-current="page"] {background: var(--green); color: #fff}
.dash-nav a[aria-current="page"] .ico {color: var(--lime)}
.dash-nav b {margin-left: auto; min-width: 20px; padding: 1px 7px; border-radius: 100px; background: var(--lime); color: var(--green); font-size: .74rem; text-align: center}
.dash-out {border-top: 1px solid var(--line); padding-top: 12px}
.dash-out button {color: var(--muted); cursor: pointer}
.dash-main {min-width: 0; display: grid; gap: 20px; align-content: start}
.dash-hero {display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 30px; border-radius: 22px; color: #f4f8ef;
  background: radial-gradient(circle at 88% 0%, #c2ec7833, transparent 45%), linear-gradient(135deg, #1f3118, #2f4a29)}
.dash-hero .label {color: var(--lime); margin-bottom: 8px}
.dash-hero h1 {margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.045em; font-weight: 600}
.dash-hero p:not(.label) {margin: 8px 0 0; color: #cfdcc6; max-width: 52ch; line-height: 1.55}
.dash-hero-actions {display: flex; gap: 10px; flex-wrap: wrap}
.dash-hero .browse {background: var(--lime); color: var(--green)}
.dash-hero .sell {background: #ffffff14; color: #fff; border-color: #ffffff38}
.dash-stats {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px}
.dash-stat {padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 6px}
.dash-stat span {display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .84rem; font-weight: 550}
.dash-stat strong {font-size: 1.85rem; letter-spacing: -.05em; font-weight: 600; font-variant-numeric: tabular-nums}
.dash-stat small {color: #7b8576; font-size: .78rem}
.dash-grid {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px}
.span-2 {grid-column: span 2}
.span-3 {grid-column: 1 / -1}
.dash-card {min-width: 0; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px}
.dash-card > header {display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px}
.dash-card h2 {margin: 0; font-size: 1.05rem; letter-spacing: -.02em}
.dash-link {color: var(--accent); font-weight: 600; font-size: .9rem}
.dash-link:hover {text-decoration: underline; text-underline-offset: 3px}
.dash-muted {color: var(--muted); line-height: 1.55; margin: 0 0 14px}
.dash-checks {list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px}
.dash-checks li {position: relative; padding-left: 26px; font-size: .92rem}
.dash-checks li::before {content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); color: var(--green); font-size: .66rem; font-weight: 800}
.dash-task {display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 8px; transition: border-color .15s, background .15s}
.dash-task:hover {border-color: #b9cba6; background: #fbfcf7}
.dash-task span:nth-child(2) {flex: 1; min-width: 0}
.dash-task strong, .dash-task small {display: block}
.dash-task small {color: var(--muted); font-size: .83rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap}
.dash-task .dot {width: 9px; height: 9px; border-radius: 50%; flex: none; background: #b9c2b2}
.dash-task.tone-action .dot, .dash-task.tone-warn .dot {background: #e0a42f; box-shadow: 0 0 0 4px #e0a42f26}
.dash-task.tone-info .dot {background: #2f80ed}
.dash-task.tone-bad .dot {background: #c84b31}
.dash-task.tone-good .dot {background: #5c9a2e}
.dash-arrow {color: var(--accent); font-weight: 700}
.dash-pill {display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: .76rem; font-weight: 650; white-space: nowrap}
.tone-good {background: #e4f4d3; color: #2f5a1b}
.tone-info {background: #e3eefc; color: #1f4f8f}
.tone-action {background: #fff1d6; color: #7a4c05}
.tone-warn {background: #fff4dc; color: #7a5a12}
.tone-bad {background: #fbe3dc; color: #8a2e17}
.tone-muted {background: #eef0eb; color: #5f685a}
.mini-progress {display: inline-flex; gap: 3px; margin-left: 10px; vertical-align: middle}
.mini-progress i {width: 16px; height: 4px; border-radius: 4px; background: #e2e7dc}
.mini-progress i.on {background: var(--accent)}
.dash-table {overflow-x: auto}
.dash-table table {width: 100%; border-collapse: collapse; font-size: .92rem}
.dash-table th {text-align: left; padding: 10px 12px; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #f7f9f3; border-bottom: 1px solid var(--line)}
.dash-table td {padding: 14px 12px; border-bottom: 1px solid #edf0e8; vertical-align: middle}
.dash-table tr:last-child td {border-bottom: 0}
.dash-table tbody tr:hover {background: #fbfcf8}
.dash-table td small {display: block; margin-top: 3px; color: #7b8576; font-size: .78rem}
.dash-table .num {text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap}
.dash-empty {display: grid; justify-items: center; gap: 6px; text-align: center; padding: 34px 16px}
.dash-empty .ico {color: var(--accent); padding: 12px; width: 52px; height: 52px; border-radius: 16px; background: var(--wash)}
.dash-empty h3 {margin: 8px 0 0; font-size: 1.1rem}
.dash-empty p {margin: 0 0 12px; color: var(--muted); max-width: 42ch; line-height: 1.55}
.dash-head {display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap}
.dash-head h1 {margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.045em; font-weight: 600}
.dash-head p {margin: 6px 0 0; color: var(--muted)}
.dash-tabs {display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px}
.dash-tabs button {border: 1px solid var(--line); background: #fff; border-radius: 100px; padding: 7px 14px; font-weight: 600; font-size: .86rem}
.dash-tabs button b {color: #7b8576; margin-left: 4px}
.dash-tabs button[aria-pressed="true"] {background: var(--green); border-color: var(--green); color: #fff}
.dash-tabs button[aria-pressed="true"] b {color: var(--lime)}
.dash-threads {display: grid; gap: 8px}
.dash-thread {display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, background .15s}
.dash-thread:hover {border-color: #b9cba6; background: #fbfcf7}
.dash-thread > .ico {color: var(--accent); padding: 9px; width: 38px; height: 38px; border-radius: 12px; background: var(--wash)}
.dash-thread span:nth-child(2) {flex: 1; min-width: 0}
.dash-thread strong, .dash-thread small {display: block}
.dash-thread small {color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap}
.dash-kv {margin: 0; display: grid}
.dash-kv div {display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf0e8}
.dash-kv div:last-child {border-bottom: 0}
.dash-kv dt {color: var(--muted)}
.dash-kv dd {margin: 0; font-weight: 550; word-break: break-word}
.dash-form {display: grid; gap: 14px; max-width: 420px}
.dash-form label {display: grid; gap: 6px; font-weight: 600; font-size: .9rem}
.dash-form small {font-weight: 400; color: var(--muted)}
.dash-flash {margin: 0; padding: 12px 16px; border-radius: 12px; font-weight: 550}
.dash-flash.ok {background: #e4f4d3; color: #2f5a1b}
.dash-flash.err {background: #fbe3dc; color: #8a2e17}
.dash-help-grid {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px}
.dash-help {display: grid; gap: 6px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .15s, transform .15s}
.dash-help:hover {border-color: #b9cba6; transform: translateY(-2px)}
.dash-help .ico {color: var(--accent); margin-bottom: 6px}
.dash-help small {color: var(--muted); word-break: break-word}
.dash-deals .deals {grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr))}
.dash-foot {padding: 18px 0 28px; text-align: center; color: #7b8576; font-size: .84rem; background: #f6f8f2}
.dash-foot a {text-decoration: underline; text-underline-offset: 3px}
@media (prefers-reduced-motion: no-preference) {
  .dash-main > * {animation: dash-in .35s ease-out both}
  .dash-main > *:nth-child(2) {animation-delay: .05s}
  .dash-main > *:nth-child(3) {animation-delay: .1s}
  .dash-main > *:nth-child(4) {animation-delay: .15s}
}
@keyframes dash-in {from {opacity: 0; transform: translateY(8px)}}
@media (max-width: 1000px) {
  .dash {grid-template-columns: 1fr}
  .dash-side {position: static; grid-template-columns: 1fr; padding: 10px}
  .dash-user, .dash-out {display: none}
  .dash-nav {display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none}
  .dash-nav a {flex: none; width: auto}
  .dash-stats {grid-template-columns: repeat(2, minmax(0, 1fr))}
  .dash-help-grid {grid-template-columns: repeat(2, minmax(0, 1fr))}
}
@media (max-width: 680px) {
  .dash-grid, .dash-help-grid {grid-template-columns: 1fr}
  .span-2, .span-3 {grid-column: auto}
  .dash-hero {padding: 22px}
  .dash-kv div {grid-template-columns: 1fr; gap: 2px}
  .dash-table th:nth-child(3), .dash-table td:nth-child(3) {display: none}
}
.dash-card > header {width: auto; min-height: 0; margin: 0 0 14px; padding: 0; position: static; background: none; border: 0; box-shadow: none}
.dash-nav a, .dash-nav a:hover, .dash-nav a[aria-current="page"] {text-decoration: none}
.dash-task.tone-info, .dash-task.tone-action, .dash-task.tone-warn, .dash-task.tone-good, .dash-task.tone-bad {color: var(--ink)}
.dash-task.tone-info strong {color: #1f4f8f}
.dash-task.tone-action strong, .dash-task.tone-warn strong {color: #7a4c05}
.dash-task.tone-good strong {color: #2f5a1b}
.dash-task.tone-bad strong {color: #8a2e17}

/* ---------- Deal chat (dashboard + staff console) ---------- */
.chat-layout {display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start}
.admin-col {display: grid; gap: 16px; min-width: 0}
.chat-card {display: grid; gap: 14px; min-width: 0}
.chat-log {list-style: none; margin: 0; padding: 4px; display: flex; flex-direction: column; gap: 12px; max-height: 560px; overflow-y: auto; scroll-behavior: smooth}
.msg {max-width: 78%; display: grid; gap: 4px}
.msg p {margin: 0; padding: 11px 14px; border-radius: 16px; line-height: 1.5; white-space: pre-wrap; word-break: break-word}
.msg small {color: #7b8576; font-size: .74rem; padding: 0 4px}
.msg.mine {align-self: flex-end; justify-items: end}
.msg.mine p {background: var(--green); color: #f4f8ef; border-bottom-right-radius: 5px}
.msg.theirs {align-self: flex-start}
.msg.theirs p {background: #eef3e7; border-bottom-left-radius: 5px}
.msg.system {align-self: center; max-width: 92%; justify-items: center; text-align: center}
.msg.system p {background: #fffbea; border: 1px solid #f0e3b4; color: #5a4a12; font-size: .9rem}
.msg-sys {display: inline-flex; align-items: center; gap: 5px; color: #8a7a3a; font-size: .74rem; font-weight: 650}
.chat-empty {text-align: center; padding: 24px 0}
.chat-compose {display: flex; gap: 10px; align-items: flex-end; padding-top: 14px; border-top: 1px solid var(--line)}
.chat-compose textarea {flex: 1; resize: vertical; min-height: 48px; border-radius: 14px}
.chat-note, .chat-closed {margin: 0; color: var(--muted); font-size: .82rem}
.chat-closed {padding: 12px 14px; border-radius: 12px; background: var(--wash)}
.chat-side {position: sticky; top: 20px; display: grid; gap: 14px}
.chat-side h2 {margin: 0; font-size: 1.05rem}
.chat-side .dash-kv div {grid-template-columns: 110px 1fr; padding: 9px 0; font-size: .9rem}
.chat-side .block {text-align: center}
.pre {white-space: pre-wrap; font-family: ui-monospace, Menlo, monospace; font-size: .85rem}
.admin-action textarea, .admin-action input {width: 100%}
.admin-action .danger {border-color: #e5b4a5; color: #8a2e17}
.admin-action .danger:hover {background: #fbe3dc}
.dash-avatar.staff {background: #1b211a; color: #fff}
.dash-tabs.links {gap: 6px}
.dash-tab {padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px; font-weight: 600; font-size: .86rem; background: #fff}
.dash-tab.on {background: var(--green); border-color: var(--green); color: #fff}
.dash-stat-inline {margin: 0; color: var(--muted)}
.dash-stat-inline strong {font-size: 1.8rem; color: var(--ink); letter-spacing: -.04em; margin-right: 6px}
a.dash-stat:hover {border-color: #b9cba6}
@media (max-width: 1000px) {.chat-layout {grid-template-columns: 1fr} .chat-side {position: static}}
@media (max-width: 560px) {.msg {max-width: 92%} .chat-compose {flex-direction: column; align-items: stretch}}
.chat-side > * {min-width: 0; max-width: 100%}
.chat-side .block {width: 100%; box-sizing: border-box}
.chat-side .dash-pill {white-space: normal; text-align: center}
.chat-side .dash-kv dd {min-width: 0; overflow-wrap: anywhere}

/* ---------- Dashboard: history, disputes, support, explore ---------- */
.dash-form.wide {max-width: none}
.dash-form.wide select, .dash-form.wide textarea {width: 100%}
.dash-form small {line-height: 1.5}
.dash-sub {margin: 6px 0 -4px; font-size: 1.15rem; letter-spacing: -.02em}
.dash-muted-inline {color: var(--muted); font-size: .84rem}
.dash-explore {padding-top: 18px}
.dash-explore .explorer-bar {margin-bottom: 18px}
.dash-explore .cards.tiles {grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr))}
.timeline {list-style: none; margin: 0; padding: 0 0 0 6px; position: relative}
.timeline::before {content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: #e4e9de}
.tl-day {position: relative; margin: 18px 0 8px 28px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted)}
.tl-day:first-child {margin-top: 0}
.tl-item {position: relative; display: flex; gap: 14px; padding: 8px 0 8px 2px}
.tl-dot {position: relative; z-index: 1; flex: none; width: 12px; height: 12px; margin-top: 4px; border-radius: 50%; background: #c3cabd; box-shadow: 0 0 0 4px #fff}
.tl-item.tone-info .tl-dot {background: #2f80ed}
.tl-item.tone-action .tl-dot, .tl-item.tone-warn .tl-dot {background: #e0a42f}
.tl-item.tone-good .tl-dot {background: #5c9a2e}
.tl-item.tone-bad .tl-dot {background: #c84b31}
.tl-item.tone-info, .tl-item.tone-action, .tl-item.tone-warn, .tl-item.tone-good, .tl-item.tone-bad, .tl-item.tone-muted {background: none; color: inherit}
.tl-item strong, .tl-item small {display: block}
.tl-item small {margin-top: 2px; color: var(--muted)}
.tickets {display: grid; gap: 10px}
.ticket {padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px}
.ticket.done {opacity: .7}
.ticket header {width: auto; min-height: 0; padding: 0; margin: 0; display: grid; gap: 3px; background: none; border: 0; position: static}
.ticket header small {color: var(--muted)}
.ticket p {margin: 10px 0 12px; line-height: 1.55; white-space: pre-wrap; word-break: break-word}
.ticket footer {all: unset; display: flex; justify-content: flex-end}
.ticket-list {list-style: none; margin: 0; padding: 0; display: grid; gap: 10px}
.ticket-list li {display: grid; gap: 4px; justify-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px}
.ticket-list strong {font-size: .92rem; line-height: 1.35}
.ticket-list small {color: var(--muted); font-size: .8rem; overflow-wrap: anywhere}
.dash-form label.consent {display: flex; align-items: flex-start; gap: 9px; font-weight: 400; color: var(--muted); font-size: .88rem; line-height: 1.5}
.dash-form label.consent input {width: auto; margin-top: 3px; flex: none}
.dash-form label.consent .dash-link {margin-left: 2px}

/* Checkout: unpaid Razorpay order */
.paybox {display: grid; grid-template-columns: minmax(0, 1fr) 440px; grid-template-areas: "alert alert" "head card" "how card"; column-gap: 56px; align-items: start; max-width: 1080px; margin: 0 auto; text-align: left}
.paybox > * {min-width: 0}
.paybox > .alert {grid-area: alert; margin: 0 0 24px}
.pay-head {grid-area: head}
.pay-how {grid-area: how}
.pay-card {grid-area: card}
.pay-head h1 {font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin: 6px 0 14px}
.pay-lede {color: var(--muted); font-size: 1.12rem; margin: 0 0 32px; line-height: 1.55}
.pay-steps {list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 0}
.pay-steps li {display: flex; gap: 16px; position: relative; padding-bottom: 22px}
.pay-steps li:not(:last-child)::before {content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 2px; background: var(--line)}
.pay-steps b {flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; background: var(--wash); border: 1px solid var(--line); color: var(--green)}
.pay-steps li:first-child b {background: var(--lime); border-color: var(--lime)}
.pay-steps strong {display: block; margin: 4px 0 2px}
.pay-steps span {color: var(--muted); font-size: .95rem; line-height: 1.5}
.pay-card {position: sticky; top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 24px 60px rgba(36, 59, 19, .08); display: grid; gap: 20px}
.pay-item {display: flex; align-items: center; gap: 14px}
.pay-item > div {flex: 1; min-width: 0}
.pay-item strong {display: block; font-size: 1.1rem}
.pay-item span {color: var(--muted); font-size: .92rem}
.pay-item .logo {width: 48px; height: 48px; border-radius: 14px}
.pay-off {flex: none; background: var(--lime); color: var(--green); font-weight: 700; font-size: .8rem; padding: 5px 11px; border-radius: 999px}
.pay-lines {margin: 0; padding: 18px 0; border-block: 1px solid var(--line); display: grid; gap: 12px}
.pay-lines div {display: flex; justify-content: space-between; gap: 16px; font-size: .96rem}
.pay-lines dt {color: var(--muted)}
.pay-lines dd {margin: 0; text-align: right; overflow-wrap: anywhere}
.pay-total {display: flex; justify-content: space-between; align-items: flex-end}
.pay-total > span {font-weight: 600}
.pay-total div {text-align: right}
.pay-total strong {display: block; font-size: 2.2rem; letter-spacing: -.04em; line-height: 1}
.pay-total small {color: var(--muted)}
.pay-card .pay-button {width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 18px; font-size: 1.05rem}
.pay-card .alert {margin: 0}
.pay-methods {display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0}
.pay-methods span {font-size: .8rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; background: var(--wash)}
.pay-secure {display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: .85rem; color: var(--muted)}
@media (max-width: 900px) {
  .paybox {grid-template-columns: 1fr; grid-template-areas: "alert" "head" "card" "how"; row-gap: 28px}
  .pay-card {position: static; padding: 22px}
  .pay-lede {margin-bottom: 0}
}

/* Offers and coupons */
.offer-banner {display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 28px; padding: 16px 22px; border-radius: 18px;
  background: linear-gradient(120deg, #243b13, #15220f); color: #eef3e4; text-decoration: none; box-shadow: 0 18px 40px rgba(36, 59, 19, .18)}
.offer-banner b {background: var(--lime); color: var(--green); border-radius: 999px; padding: 5px 12px; font-size: .85rem}
.offer-banner span {flex: 1; min-width: 220px}
.offer-banner strong {color: var(--lime); font-size: 1.15em}
.offer-banner s {opacity: .6; margin-left: 4px}
.offer-banner .offer-timer {flex: none; min-width: 0; font-variant-numeric: tabular-nums; font-weight: 650; background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 6px 12px}
.offer .offer-timer {font-variant-numeric: tabular-nums; font-weight: 650; color: var(--accent)}
.offer .offer-timer:empty {display: none}
.plan-option.on-sale {border-color: var(--accent)}
.plan-option .pay s {color: var(--muted)}
.plan-option.on-sale .pay {color: var(--accent)}
.coupon-field .optional {font-weight: 500; color: var(--muted); font-size: .85em; margin-left: 4px}
.coupon-field input {text-transform: uppercase; letter-spacing: .06em}
.pay-code {display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .05em; background: var(--lime); color: var(--green); border-radius: 6px; padding: 1px 7px; margin-left: 4px}
.coupon-code {font-family: ui-monospace, Menlo, monospace; letter-spacing: .04em}
.coupon-grid {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px}
.coupon-form {display: grid; gap: 16px}
@media (max-width: 700px) {.coupon-grid {grid-template-columns: 1fr}}

/* Header actions: vendor CTA + profile icon button */
.header-actions {gap: 10px}
.vendor-cta {display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 100px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s}
.vendor-cta:hover {background: var(--green)}
.profile-btn {display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #cbd0c5; background: #fff; color: var(--ink); transition: background .2s, border-color .2s}
.profile-btn:hover {background: #f0f4e9; border-color: #8ea27c}
.profile-btn.on {background: var(--lime); border-color: var(--lime); color: var(--green)}
@media (max-width: 720px) {.vendor-cta {height: 36px; padding: 0 14px; font-size: 13px} .profile-btn {width: 36px; height: 36px}}

/* ---------- Deal chat messenger (WhatsApp-style, dashboard + staff console) ---------- */
.dash.chat-mode {width: min(1480px, 96%); padding: 16px 0; gap: 20px; grid-template-columns: 220px minmax(0, 1fr)}
body:has(.chat-mode) .dash-foot {display: none}
.wa {--wall: #eef2e6; display: grid; grid-template-columns: 340px minmax(0, 1fr); height: calc(100dvh - 113px); min-height: 520px; background: #fff;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px #1f31180d}
.wa header {width: auto; min-height: 0; margin: 0}
.wa-list {display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line)}
.wa-list-head {padding: 18px 18px 12px}
.wa-list-head h1 {margin: 0; font-size: 1.4rem; letter-spacing: -.04em; font-weight: 650}
.wa-list-head small {color: var(--muted); font-size: .8rem}
.wa-search, .ord-search {display: flex; align-items: center; gap: 8px; padding: 0 12px; color: #7b8576}
.wa-search {margin: 0 14px 10px; background: var(--wash); border-radius: 12px}
.wa-search input, .ord-search input {border: 0; background: transparent; padding: 10px 0; width: 100%; outline: none; font-size: .9rem}
.wa-threads {flex: 1; overflow-y: auto; padding: 0 8px 10px; display: grid; align-content: start; gap: 2px}
.wa-thread {display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .15s}
.wa-thread:hover {background: #f6f8f2}
.wa-thread[aria-current] {background: #eaf3dc}
.wa-avatar {flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--wash)}
.wa-avatar .logo {width: 100%; height: 100%; border-radius: 50%; border: 0}
.wa-avatar .logo img {width: 24px; height: 24px}
.wa-head .wa-avatar {width: 42px; height: 42px}
.wa-thread-main {flex: 1; min-width: 0; display: grid; gap: 3px}
.wa-thread-top, .wa-thread-bottom {display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0}
.wa-thread strong, .wa-thread small, .wa-title strong, .wa-title small {overflow: hidden; text-overflow: ellipsis; white-space: nowrap}
.wa-thread strong {font-size: .95rem}
.wa-thread time {flex: none; color: #7b8576; font-size: .74rem}
.wa-thread small {color: var(--muted); font-size: .84rem}
.wa-badge {flex: none; font-style: normal; font-size: .66rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; background: #eef0eb; color: #6b7466}
.wa-badge.on {background: var(--lime); color: var(--green)}
.wa-none {display: grid; justify-items: center; gap: 10px; padding: 36px 20px; text-align: center; color: var(--muted)}
.wa-none .ico {color: var(--accent)}
.wa-chat {position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #fff}
.wa-head {display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line); background: #fff; z-index: 2}
.wa-title {flex: 1; min-width: 0; display: grid}
.wa-title strong {font-size: 1rem}
.wa-title small {color: var(--muted); font-size: .8rem}
.wa-tools {display: flex; align-items: center; gap: 2px}
.wa-tools .dash-pill {margin-right: 6px}
.wa-icon {display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: #56614f; cursor: pointer; font-size: 1.5rem; line-height: 1; transition: background .15s}
.wa-icon:hover {background: var(--wash); color: var(--ink)}
.wa-back {display: none; margin-left: -6px}
.wa-stage {position: relative; flex: 1; min-height: 0; display: flex}
.wa-body, .wa-empty {background-color: var(--wall);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%23d5dec8' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M22 30l8-4 8 4v8c0 6-4 9-8 10-4-1-8-4-8-10z'/%3E%3Ccircle cx='118' cy='34' r='9'/%3E%3Cpath d='M114 34h8M118 30v8'/%3E%3Cpath d='M64 96a10 10 0 0119-3 7 7 0 011 14H66a7 7 0 01-2-11z'/%3E%3Cpath d='M128 112l3 7 7 3-7 3-3 7-3-7-7-3 7-3z'/%3E%3Crect x='20' y='118' width='18' height='14' rx='3'/%3E%3Cpath d='M24 118v-4a5 5 0 0110 0v4'/%3E%3Cpath d='M78 22h14M85 15v14'/%3E%3C/svg%3E")}
.wa-body {flex: 1; overflow-y: auto; overflow-anchor: none; padding: 14px max(16px, 5%) 12px; overscroll-behavior: contain}
.wa-log {list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column}
.wa-day {align-self: center; margin: 14px 0 8px}
.wa-day span {display: inline-block; padding: 5px 12px; border-radius: 8px; background: #fff; color: #56614f; font-size: .74rem; font-weight: 650; box-shadow: 0 1px 1px #0b141a14}
.wa-sys {align-self: center; max-width: min(580px, 94%); margin: 8px 0}
.wa-sys div {display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; padding: 10px 14px; border-radius: 12px; background: #fdf7dc; border: 1px solid #efe3b0; color: #574812; font-size: .86rem; line-height: 1.5; box-shadow: 0 1px 1px #0b141a0d}
.wa-sys .ico {margin-top: 3px; color: #8a7a3a}
.wa-sys p {margin: 0; white-space: pre-wrap; overflow-wrap: anywhere}
.wa-sys time {grid-column: 2; justify-self: end; color: #8a7a3a; font-size: .68rem}
.wa-msg {display: flex; margin-top: 2px}
.wa-msg.tail {margin-top: 10px}
.wa-msg.mine {justify-content: flex-end}
.wa-bubble {position: relative; max-width: min(72%, 580px); padding: 6px 9px 7px 10px; border-radius: 10px; background: #fff; box-shadow: 0 1px .5px #0b141a24; font-size: .94rem; line-height: 1.45; overflow-wrap: anywhere}
.mine .wa-bubble {background: #dcf2c0}
.wa-msg.tail.theirs .wa-bubble {border-top-left-radius: 0}
.wa-msg.tail.mine .wa-bubble {border-top-right-radius: 0}
.wa-msg.tail .wa-bubble::before {content: ""; position: absolute; top: 0; width: 9px; height: 12px; background: inherit}
.wa-msg.tail.theirs .wa-bubble::before {left: -8px; clip-path: polygon(100% 0, 0 0, 100% 100%)}
.wa-msg.tail.mine .wa-bubble::before {right: -8px; clip-path: polygon(0 0, 100% 0, 0 100%)}
.wa-from {display: block; margin-bottom: 2px; color: #3b7a1f; font-size: .8rem; font-weight: 650}
.wa-bubble p {display: inline; margin: 0; white-space: pre-wrap}
.wa-bubble a:not(.wa-img, .wa-file) {color: #1d6aa8; text-decoration: underline}
.wa-meta {float: right; display: inline-flex; align-items: center; gap: 3px; margin: 8px 0 -4px 12px; color: #6f7b6a; font-size: .68rem; line-height: 1}
.wa-ticks {color: #3c9a5f}
.has-media .wa-bubble {padding: 4px 4px 7px}
.has-media .wa-bubble p, .has-media .wa-from {padding: 0 6px}
.has-media .wa-meta {margin-right: 6px}
.wa-img {display: block; max-width: 330px; margin-bottom: 4px; border-radius: 8px; overflow: hidden; background: #0000000d}
.wa-img img {display: block; width: 100%; max-height: 360px; object-fit: cover}
.wa-file {display: flex; align-items: center; gap: 10px; min-width: min(250px, 60vw); padding: 10px; margin-bottom: 4px; border-radius: 8px; background: #0b141a0d; color: inherit}
.wa-file:hover {background: #0b141a17}
.wa-file-ico {display: grid; place-items: center; flex: none; width: 36px; height: 42px; border-radius: 6px; background: #d9473a; color: #fff; font-size: .64rem; font-weight: 800; letter-spacing: .04em}
.wa-file-name {flex: 1; min-width: 0; display: grid}
.wa-file-name strong {overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem}
.wa-file-name small {color: #6f7b6a; font-size: .74rem}
.wa-end {height: 1px}
.wa-info {flex: none; width: 320px; overflow-y: auto; padding: 0 18px 18px; background: #fff; border-left: 1px solid var(--line)}
.wa-info header {position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 0; background: #fff}
.wa-facts {margin: 0 0 16px}
.wa-facts div {display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #edf0e8; font-size: .9rem}
.wa-facts dt {color: var(--muted)}
.wa-facts dd {margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere}
.wa-info .block {display: block; margin-top: 18px; text-align: center}
.wa-info-note {color: var(--muted); font-size: .8rem; line-height: 1.5}
.wa-compose {padding: 8px 12px 8px; background: #f4f6ee; border-top: 1px solid var(--line)}
.wa-bar {display: flex; align-items: flex-end; gap: 6px}
.wa-bar textarea {flex: 1; min-height: 44px; max-height: 150px; padding: 11px 16px; resize: none; border: 1px solid var(--line); border-radius: 22px; background: #fff; font: inherit; font-size: .95rem; line-height: 1.4}
.wa-bar textarea:focus {outline: 2px solid #9fca63; outline-offset: 0; border-color: transparent}
.wa-attach {width: 44px; height: 44px}
.wa-send {display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green); color: var(--lime); transition: background .15s, transform .15s}
.wa-send:hover {background: #1c2d18; transform: scale(1.04)}
.wa-send[disabled] {opacity: .6; cursor: wait}
.wa-note {display: flex; align-items: center; gap: 5px; margin: 6px 6px 0; color: #7b8576; font-size: .72rem}
.wa-preview {display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 8px 8px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px}
.wa-preview img {width: 54px; height: 54px; object-fit: cover; border-radius: 8px}
.wa-preview span {flex: 1; min-width: 0; display: grid; font-size: .86rem}
.wa-preview strong {overflow: hidden; text-overflow: ellipsis; white-space: nowrap}
.wa-preview small {color: var(--muted)}
.wa-error {margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: #fbe3dc; color: #8a2e17; font-size: .86rem}
.wa-chat > .wa-error {margin: 8px 12px 0}
.wa-closed {margin: 0; padding: 14px 18px; background: #f4f6ee; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; text-align: center}
.wa-empty {display: grid; place-items: center; padding: 30px; text-align: center}
.wa-empty > div {display: grid; justify-items: center; gap: 10px; max-width: 400px; padding: 30px; border-radius: 20px; background: #ffffffd9}
.wa-empty .ico {color: var(--accent)}
.wa-empty h2 {margin: 0; font-size: 1.3rem; letter-spacing: -.03em}
.wa-empty p {margin: 0; color: var(--muted); line-height: 1.55}
.wa-empty small {display: inline-flex; align-items: center; gap: 5px; color: #7b8576}
.wa.is-full {position: fixed; inset: 0; z-index: 1000; height: 100dvh; border: 0; border-radius: 0}
body:has(.wa.is-full) {overflow: hidden}
.wa-embedded {grid-template-columns: minmax(0, 1fr); height: min(680px, calc(100dvh - 140px))}
.wa-lightbox {padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh}
.wa-lightbox::backdrop {background: #0b141ae8}
.wa-lightbox img {display: block; max-width: 96vw; max-height: 90vh; border-radius: 8px}
.wa-drop .wa-body {outline: 3px dashed #9fca63; outline-offset: -10px}
@media (max-width: 1000px) {
  .dash.chat-mode {grid-template-columns: 1fr; gap: 12px}
  .chat-mode .wa {height: calc(100dvh - 160px)}
}
@media (max-width: 760px) {
  .dash.chat-mode {width: 100%; padding: 0}
  .chat-mode .wa {grid-template-columns: 1fr; border-radius: 0; border-inline: 0; height: calc(100dvh - 140px)}
  .wa:not(.has-chat):not(.wa-embedded) > .wa-chat {display: none}
  .wa.has-chat > .wa-list {display: none}
  .wa.has-chat {position: fixed; inset: 0; z-index: 1000; height: 100dvh}
  .wa-back {display: grid}
  .wa-tools .dash-pill, [data-chat-full] {display: none}
  .wa-head {padding: 8px 6px 8px 10px; gap: 8px}
  .wa-bubble {max-width: 86%}
  .wa-body {padding: 10px 12px}
  .wa-info {position: absolute; inset: 0; width: auto; z-index: 3; border: 0}
  .wa-note {display: none}
}

/* ---------- Orders dashboard ---------- */
.ord-kpis {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px}
.ord-kpi {display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px}
.ord-kpi-ico {display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px}
.ord-kpi small {display: block; color: var(--muted); font-size: .8rem; font-weight: 550}
.ord-kpi strong {font-size: 1.55rem; font-weight: 650; letter-spacing: -.045em; font-variant-numeric: tabular-nums}
.ord-card {padding: 0; overflow: hidden}
.ord-toolbar {display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line)}
.ord-toolbar .dash-tabs {margin: 0}
.ord-search {min-width: min(100%, 290px); border: 1px solid var(--line); border-radius: 12px; background: #fff}
.ord-search:focus-within {border-color: #9fca63; box-shadow: 0 0 0 3px #c2ec7855}
.ord-list {display: grid}
.ord-headrow, .ord-row {display: grid; grid-template-columns: minmax(210px, 1.5fr) minmax(240px, 260px) 120px 150px 128px; gap: 18px; align-items: center; padding: 14px 20px}
.ord-headrow {padding-block: 10px; background: #f7f9f3; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .7rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase}
.ord-row {border-bottom: 1px solid #edf0e8; transition: background .15s}
.ord-row:last-child {border-bottom: 0}
.ord-row:hover {background: #fbfcf8}
.ord-item {display: flex; align-items: center; gap: 12px; min-width: 0}
.ord-item > span {min-width: 0; display: grid; gap: 2px}
.ord-item strong {overflow: hidden; text-overflow: ellipsis; white-space: nowrap}
.ord-item:hover strong {color: var(--accent)}
.ord-item small {color: #7b8576; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.ord-off {font-style: normal; margin-left: 4px; padding: 1px 6px; border-radius: 100px; background: #e4f4d3; font-size: .7rem}
.ord-logo {width: 42px; height: 42px; border-radius: 12px}
.ord-steps {list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr)}
.ord-steps li {position: relative; display: grid; justify-items: center; gap: 6px; color: #8b9486; font-size: .7rem; font-weight: 550; text-align: center}
.ord-steps li::before {content: ""; position: absolute; top: 5px; right: 50%; width: 100%; height: 2px; background: #dbe1d3}
.ord-steps li:first-child::before {display: none}
.ord-steps i {position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #d0d8c7}
.ord-steps li.done, .ord-steps li.now {color: var(--ink)}
.ord-steps li.done::before, .ord-steps li.now::before {background: var(--accent)}
.ord-steps li.done i {background: var(--accent); border-color: var(--accent)}
.ord-steps li.now i {border-color: var(--accent); box-shadow: 0 0 0 4px #c2ec7899}
.ord-steps li.now {font-weight: 700}
.ord-note {display: inline-block; margin: 0; padding: 6px 10px; border-radius: 10px; background: #eef0eb; color: #5f685a; font-size: .8rem; font-weight: 550}
.ord-note.warn {background: #fff4dc; color: #7a5a12}
.ord-note.bad {background: #fbe3dc; color: #8a2e17}
.ord-amount strong {display: block; font-size: 1rem; font-variant-numeric: tabular-nums}
.ord-amount small {color: #3c7a1f; font-size: .75rem; font-weight: 600; line-height: 1.35; display: block; white-space: nowrap}
.ord-state .dash-pill {white-space: normal; line-height: 1.3}
.ord-actions {display: flex; justify-content: flex-end; gap: 8px}
.ord-icon, .ord-btn {display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: background .15s, border-color .15s}
.ord-icon {width: 36px; height: 36px; color: var(--accent)}
.ord-btn {padding: 8px 14px; font-size: .86rem; font-weight: 600}
.ord-icon:hover, .ord-btn:hover {background: var(--wash); border-color: #b9cba6}
.ord-btn.primary {background: var(--green); border-color: var(--green); color: #fff}
.ord-btn.primary:hover {background: #1c2d18}
.ord-none {padding: 22px 20px}
.dash-card .ord-list {margin: 0 -22px -20px}
.ord-card .ord-list {margin: 0}
@media (max-width: 1180px) {
  .ord-headrow {display: none}
  .ord-row {grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "item amount" "progress progress" "state actions"; gap: 12px 16px; padding: 16px 20px}
  .ord-item {grid-area: item} .ord-progress {grid-area: progress} .ord-amount {grid-area: amount; text-align: right}
  .ord-state {grid-area: state} .ord-actions {grid-area: actions}
}
@media (max-width: 1000px) {.ord-kpis {grid-template-columns: repeat(2, minmax(0, 1fr))}}
@media (max-width: 520px) {.ord-kpi {padding: 14px; gap: 10px} .ord-kpi strong {font-size: 1.25rem} .ord-steps li span {font-size: .64rem}}

/* ---------- Thank-you after payment ---------- */
.thanks {display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, #eaf7da, #f7fcef); border: 1px solid #d3e9b8}
.thanks-check {display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: var(--lime); box-shadow: 0 0 0 8px #c2ec7840}
.thanks h2 {margin: 0 0 4px; font-size: 1.2rem; letter-spacing: -.02em}
.thanks p {margin: 0; color: var(--muted); line-height: 1.5}
.thanks-next {list-style: none; counter-reset: step; display: grid; gap: 10px; width: 100%; margin: 0; padding: 0}
.thanks-next li {counter-increment: step; display: grid; grid-template-columns: 30px 1fr; gap: 2px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px}
.thanks-next li::before {content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--green); font-size: .85rem; font-weight: 700}
.thanks-next span {color: var(--muted); font-size: .9rem; line-height: 1.45}
.thanks-actions {display: flex; flex-wrap: wrap; align-items: center; gap: 10px}
.thanks-actions > a {display: inline-flex; align-items: center; min-height: 48px}
.deal-chat-link {display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap}
.deal-chat-link p {margin: 6px 0 0; color: var(--muted)}
@media (prefers-reduced-motion: no-preference) {
  .thanks-check {animation: thanks-pop .55s cubic-bezier(.2, 1.6, .4, 1) both}
  .wa-log > li:nth-last-child(-n+3) {animation: wa-in .2s ease-out both}
}
@keyframes thanks-pop {from {transform: scale(.4); opacity: 0}}
@keyframes wa-in {from {opacity: 0; transform: translateY(4px)}}

/* Quantity counter at checkout */
.qty-row {display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff}
.qty-row[hidden] {display: none}
.qty-row span {display: grid; gap: 2px}
.qty-row small {color: var(--muted); font-size: .82rem}
.qty-step {display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff}
.qty-step button {width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.25rem; font-weight: 600; color: var(--ink, #14210f); cursor: pointer}
.qty-step button:hover:not(:disabled) {background: #f0f4ea}
.qty-step button:disabled {color: #b8c0b0; cursor: not-allowed}
.qty-step input {width: 46px; height: 40px; border: 0; border-inline: 1px solid var(--line); text-align: center; font: inherit; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield}
.qty-step input::-webkit-inner-spin-button, .qty-step input::-webkit-outer-spin-button {-webkit-appearance: none; margin: 0}
/* Staff: stock & quantity */
.inv-plan {display: flex; align-items: center; gap: 12px}
.inv-plan span {display: grid; gap: 2px}
.inv-logo {width: 36px; height: 36px; flex: none}
.inv-num {width: 90px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-variant-numeric: tabular-nums}
.qty-each {margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: #e9f0df; color: var(--ink, #14210f); font-size: .78rem; font-weight: 600}
.qty-each[hidden] {display: none}

/* Header menu: desktop shows the nav inline; phones get one compact row and a dropdown */
.menu-btn, .nav-vendor {display: none}
@media (max-width: 720px) {
  header {position: sticky; top: 0; z-index: 60; width: 100%; min-height: 0; padding: 10px 16px; flex-wrap: nowrap; box-sizing: border-box;
          background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
          border-bottom: 1px solid transparent; transition: border-color .2s}
  header.menu-open {border-bottom-color: var(--line)}
  .brand {font-size: 22px; letter-spacing: -1.4px; gap: 5px}
  .brand img {width: 28px; height: 28px}
  .header-actions {gap: 8px}
  .header-actions .vendor-cta, .head-actions .login-link {display: none}
  .head-actions .sell, .header-actions > .sell {height: 36px; padding: 0 14px; font-size: 13px}
  .profile-btn {width: 38px; height: 38px}
  .menu-btn {display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #cbd0c5; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent}
  header.menu-open .menu-btn {background: var(--ink); border-color: var(--ink); color: #fff}
  header nav {position: absolute; top: 100%; left: 0; right: 0; order: 0; width: auto; display: grid; gap: 0; justify-content: stretch; padding: 6px 16px 14px;
              background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(20, 33, 15, .25);
              opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none; transition: opacity .18s, transform .18s, visibility .18s}
  header.menu-open nav {opacity: 1; transform: none; visibility: visible; pointer-events: auto}
  header nav a {padding: 14px 4px; font-size: 16px; font-weight: 500; border-bottom: 1px solid #eef0ea}
  header nav a:last-child {border-bottom: 0}
  header nav .nav-vendor {display: flex; justify-content: center; margin-top: 10px; padding: 13px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600}
  .product-hero {display: grid; grid-template-columns: 44px 1fr; align-items: center; column-gap: 12px; row-gap: 8px; margin-top: 4px}
  .product-hero > div {display: contents}
  .product-hero .logo.xl {width: 44px; height: 44px; border-radius: 12px}
  .product-hero .logo.xl img {width: 26px; height: 26px}
  .product-hero .label {margin: 0}
  .product-hero h1, .product-hero .intro {grid-column: 1 / -1; margin: 0}
  .product-hero h1 {font-size: clamp(2.1rem, 9.5vw, 2.8rem); line-height: 1.05}
  .product-hero .intro {font-size: 1rem}
}
