:root {
  --ink: #080808;
  --muted: #666666;
  --line: #e2e2e2;
  --paper: #f7f7f7;
  --panel: #ffffff;
  --green: #111111;
  --green-dark: #000000;
  --gold: #b58a19;
  --rose: #b84d5a;
  --blue: #2457c5;
  --discount-green: #008a22;
  --mode: var(--green);
  --mode-dark: var(--green-dark);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  overflow-anchor: none;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.05), transparent 38%),
    linear-gradient(315deg, rgba(0, 0, 0, 0.035), transparent 38%),
    var(--paper);
}

body.buyer-mode {
  --mode: var(--blue);
  --mode-dark: #111111;
  background:
    linear-gradient(135deg, rgba(36, 87, 197, 0.11), transparent 36%),
    linear-gradient(315deg, rgba(0, 0, 0, 0.045), transparent 38%),
    var(--paper);
}

body.seller-mode {
  --mode: #111111;
  --mode-dark: #000000;
  background:
    linear-gradient(135deg, rgba(25, 115, 95, 0.09), transparent 38%),
    linear-gradient(315deg, rgba(0, 0, 0, 0.04), transparent 38%),
    #f7fbf8;
}

button,
input,
select {
  font: inherit;
}

button,
input,
select,
textarea {
  max-width: 100%;
  min-width: 0;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p,
strong,
span,
button {
  overflow-wrap: anywhere;
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(49, 107, 181, 0.18), transparent 45%),
    linear-gradient(315deg, rgba(25, 115, 95, 0.18), transparent 45%),
    rgba(247, 248, 244, 0.78);
  backdrop-filter: blur(10px);
}

.auth-gate[hidden] {
  display: none !important;
}

.auth-gate.loading {
  align-content: center;
}

.auth-loader {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.auth-loader[hidden],
.auth-brand[hidden] {
  display: none !important;
}

.auth-loader .brand-mark {
  width: 72px;
  height: 72px;
  font-size: 30px;
}

.auth-loader .loader-logo {
  width: min(260px, 72vw);
  height: auto;
}

.auth-loader .loader-logo + strong {
  display: none;
}

.auth-loader strong {
  color: var(--ink);
  font-size: 20px;
}

.auth-brand {
  margin: 0;
}

.auth-gate:not(.loading) > .auth-brand {
  display: none;
}

.auth-gate #authAccount {
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.auth-gate .account-form {
  width: 100%;
}

.auth-experience {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
}

.auth-welcome-panel,
.auth-card {
  border: 1px solid rgba(217, 226, 221, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.auth-welcome-panel {
  display: none;
  align-content: space-between;
  min-height: 620px;
  padding: 34px;
  overflow: hidden;
}

.auth-welcome-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-welcome-brand strong,
.auth-welcome-brand span {
  display: block;
}

.auth-welcome-brand span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.auth-hero-copy {
  max-width: 680px;
}

.auth-hero-copy h1 {
  margin: 12px 0 14px;
  max-width: 700px;
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: 0;
}

.auth-hero-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.58;
}

.auth-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auth-trust-grid span {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.auth-trust-grid strong {
  color: var(--mode-dark);
  font-size: 14px;
}

.auth-trust-grid small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.42;
}

.auth-card {
  position: relative;
  align-self: center;
  max-width: none;
  padding: 28px;
}

.auth-close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.auth-close-button:hover {
  color: var(--mode-dark);
  background: #f4f8f6;
}

.auth-card-header {
  display: grid;
  gap: 8px;
}

.auth-card-header h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
}

.auth-card-header span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.48;
}

.auth-oauth-grid {
  display: grid;
  gap: 10px;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.auth-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.auth-required .app-shell {
  display: none;
}

#guestIntro {
  display: none;
}

body.guest-preview .app-shell {
  display: none;
}

body.guest-preview #guestIntro {
  display: block;
}

body.auth-required #guestIntro,
body.app-booting #guestIntro {
  display: none;
}

body.policy-required .app-shell {
  display: block;
}

body.policy-required .sidebar,
body.policy-required .topbar {
  display: none;
}

body.policy-required .market {
  min-height: 100vh;
  padding: 32px;
}

body.policy-required .view-panel {
  display: none !important;
}

body.policy-required #policyView.active-view {
  display: block !important;
}

body.app-booting .app-shell {
  visibility: hidden;
}

.guest-intro {
  min-height: 100vh;
  color: var(--ink);
}

.guest-intro-hero {
  min-height: 92vh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 28px clamp(20px, 4vw, 64px) 56px;
  background:
    linear-gradient(135deg, rgba(25, 115, 95, 0.16), transparent 38%),
    linear-gradient(315deg, rgba(216, 155, 40, 0.16), transparent 36%),
    var(--paper);
}

.guest-intro-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.guest-intro-nav .brand {
  margin: 0;
}

.guest-intro-actions,
.guest-hero-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.guest-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.guest-menu-item {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.guest-menu-item > button {
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: transparent;
  font-weight: 850;
}

.guest-menu-item > button::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.guest-menu-item:hover > button,
.guest-menu-item:focus-within > button,
.guest-menu-item.open > button {
  background: rgba(255, 255, 255, 0.78);
}

.guest-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  display: none;
  min-width: 210px;
  padding: 8px;
  border: 1px solid rgba(25, 115, 95, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(23, 33, 31, 0.14);
  transform: translateX(-50%);
}

.guest-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.guest-menu-item:hover .guest-dropdown,
.guest-menu-item:focus-within .guest-dropdown,
.guest-menu-item.open .guest-dropdown {
  display: grid;
}

.guest-dropdown a {
  display: grid;
  border-radius: 8px;
  padding: 11px;
  color: var(--ink);
  text-decoration: none;
}

.guest-dropdown a strong {
  font-size: 13px;
  font-weight: 950;
}

.guest-dropdown a:hover,
.guest-dropdown a:focus {
  color: var(--green-dark);
  background: var(--soft);
}

.guest-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.guest-hero-copy {
  max-width: 680px;
}

.guest-hero-copy h1 {
  margin: 10px 0 16px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.guest-hero-copy p:not(.eyebrow) {
  margin: 0 0 24px;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.6;
}

.guest-text-link {
  color: var(--green-dark);
  font-weight: 950;
}

.guest-photo-collage {
  position: relative;
  min-height: 530px;
}

.guest-photo-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(25, 115, 95, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 62px rgba(23, 33, 31, 0.18);
}

.guest-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guest-photo-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 4px;
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  background: rgba(15, 42, 36, 0.76);
  backdrop-filter: blur(8px);
}

.guest-photo-card figcaption strong {
  font-size: 16px;
}

.guest-photo-card figcaption span {
  font-size: 13px;
  font-weight: 700;
}

.guest-photo-card.large {
  inset: 34px 94px 54px 0;
}

.guest-photo-card.large img {
  object-position: center;
}

.guest-photo-card.small {
  width: 238px;
  height: 172px;
}

.guest-photo-card.small.top {
  top: 0;
  right: 0;
}

.guest-photo-card.small.bottom {
  right: 20px;
  bottom: 6px;
}

.guest-market-visual {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(25, 115, 95, 0.2);
  border-radius: 8px;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 248, 244, 0.9)),
    #fff;
  box-shadow: 0 28px 75px rgba(23, 33, 31, 0.16);
}

.visual-toolbar {
  display: flex;
  gap: 7px;
  padding-bottom: 18px;
}

.visual-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #bfcac4;
}

.visual-request-card,
.visual-offer-card,
.visual-listing-card {
  position: absolute;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 16px 38px rgba(23, 33, 31, 0.11);
}

.visual-request-card {
  top: 72px;
  left: 24px;
  right: 78px;
}

.visual-offer-card {
  top: 235px;
  right: 24px;
  width: min(320px, calc(100% - 48px));
  border-color: rgba(25, 115, 95, 0.24);
  background: #f5fbf7;
}

.visual-listing-card {
  left: 24px;
  bottom: 28px;
  width: min(290px, calc(100% - 48px));
  border-color: rgba(216, 155, 40, 0.28);
  background: #fffaf0;
}

.guest-market-visual small,
.guest-comparison small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.guest-market-visual strong {
  font-size: 20px;
}

.guest-market-visual p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.visual-request-card div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.visual-request-card div span {
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--green-dark);
  background: rgba(25, 115, 95, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.guest-intro-content {
  display: grid;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px clamp(20px, 4vw, 64px) 72px;
}

.guest-insight-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guest-insight-row article,
.guest-feature-band,
.guest-final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(23, 33, 31, 0.08);
}

.guest-insight-row article {
  display: grid;
  gap: 10px;
  align-content: start;
  overflow: hidden;
  padding: 0;
}

.guest-insight-row article > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--green-dark);
  font-weight: 950;
}

.guest-insight-row article img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.guest-insight-row article h2,
.guest-insight-row article p {
  padding-inline: 20px;
}

.guest-insight-row article p {
  padding-bottom: 20px;
}

.guest-insight-row h2,
.guest-feature-band h2,
.guest-final-cta h2 {
  margin: 0;
  color: var(--green-dark);
}

.guest-insight-row p,
.guest-feature-band p,
.guest-final-cta p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
}

.guest-feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
}

.guest-story-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(23, 33, 31, 0.08);
}

.guest-story-band h2 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
}

.guest-story-band p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.6;
}

.guest-founder-note {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  border: 1px solid rgba(25, 115, 95, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: #f5fbf7;
}

.guest-founder-note strong {
  color: var(--green-dark);
  font-weight: 950;
}

.guest-founder-note p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
}

.guest-story-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.guest-comparison {
  display: grid;
  gap: 12px;
}

.guest-comparison span {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(25, 115, 95, 0.16);
  border-radius: 8px;
  padding: 16px;
  background: var(--soft);
}

.guest-comparison strong {
  color: var(--ink);
  font-size: 17px;
}

.guest-comparison em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
}

.guest-final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 34px;
}

.guest-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guest-showcase-grid article {
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 10px;
  border: 1px solid rgba(25, 115, 95, 0.16);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, transparent, rgba(15, 42, 36, 0.78)),
    url("https://images.unsplash.com/photo-1556742502-ec7c0e9f34b1?auto=format&fit=crop&w=800&q=80") center/cover;
  color: #fff;
  overflow: hidden;
}

.guest-showcase-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, transparent, rgba(15, 42, 36, 0.78)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=800&q=80") center/cover;
}

.guest-showcase-grid article:nth-child(3) {
  background:
    linear-gradient(180deg, transparent, rgba(15, 42, 36, 0.78)),
    url("https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=800&q=80") center/cover;
}

.guest-showcase-grid h2,
.guest-showcase-grid p {
  margin: 0;
  color: #fff;
}

.guest-showcase-grid p {
  font-weight: 700;
  line-height: 1.45;
}

.guest-reviews-section {
  display: grid;
  gap: 16px;
}

.guest-section-heading {
  max-width: 720px;
}

.guest-section-heading h2 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: clamp(28px, 3vw, 42px);
}

.guest-section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
}

.guest-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guest-review-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(23, 33, 31, 0.08);
}

.review-stars {
  color: #b87913;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 950;
}

.guest-review-grid p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.guest-reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.guest-reviewer img {
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(23, 33, 31, 0.16);
}

.guest-reviewer strong {
  color: var(--green-dark);
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 24px 20px 170px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 248, 0.82)),
    rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--mode);
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: 132px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.sidebar .brand {
  align-items: flex-start;
}

.sidebar .brand .brand-logo {
  width: 118px;
  flex: 0 0 auto;
}

.guest-intro-nav .brand .brand-logo,
.auth-brand .brand-logo {
  width: 150px;
}

.auth-welcome-logo {
  width: 170px;
}

.brand .brand-logo + div,
.auth-welcome-brand .brand-logo + div {
  display: none;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.sidebar-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 22px;
  padding: 9px 10px;
  border: 1px solid rgba(217, 226, 221, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.05);
}

.sidebar-location-icon,
.nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--mode-dark);
  background:
    linear-gradient(135deg, rgba(25, 115, 95, 0.12), rgba(49, 107, 181, 0.08)),
    #f5faf7;
}

.sidebar-location-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.sidebar-location small,
.sidebar-location strong {
  display: block;
}

.sidebar-location small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.sidebar-location strong {
  margin-top: 1px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}

.nav-list {
  display: grid;
  gap: 7px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.notification-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon {
  position: relative;
  width: 34px;
  height: 34px;
  overflow: hidden;
}

.nav-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: currentColor;
  opacity: 0.88;
}

.nav-icon::after {
  content: "";
  position: absolute;
  opacity: 0;
}

.nav-icon-dashboard::before {
  border-radius: 4px;
  box-shadow: 8px 0 0 -2px currentColor, 0 8px 0 -2px currentColor, 8px 8px 0 -2px currentColor;
  width: 8px;
  height: 8px;
}

.nav-icon-activity::before {
  width: 16px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: transparent;
}

.nav-icon-activity::after {
  width: 9px;
  height: 2px;
  margin-top: -2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
  opacity: 0.8;
}

.nav-icon-saved::before {
  width: 14px;
  height: 18px;
  border-radius: 3px 3px 7px 7px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}

.nav-icon-messages::before {
  width: 18px;
  height: 14px;
  border-radius: 7px;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 62% 78%, 44% 100%, 45% 78%, 0 78%);
}

.nav-icon-messages::after {
  width: 3px;
  height: 3px;
  margin-top: -2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 5px 0 0 #fff, 10px 0 0 #fff;
  opacity: 0.92;
}

.nav-icon-account::before {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  box-shadow: 0 9px 0 -4px currentColor;
}

.nav-icon-account.has-profile-avatar {
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.nav-icon-account.has-profile-avatar::before,
.nav-icon-account.has-profile-avatar::after {
  display: none;
}

.nav-icon-account.has-profile-avatar img,
.nav-icon-account.has-profile-avatar .avatar-placeholder {
  width: 26px;
  height: 26px;
}

.nav-icon-account.has-profile-avatar img {
  display: block;
  border-radius: 999px;
  object-fit: cover;
}

.nav-icon-account.has-profile-avatar .avatar-placeholder {
  display: grid;
  place-items: center;
  color: var(--mode-dark);
  background: rgba(255, 255, 255, 0.7);
}

.nav-icon-account.has-profile-avatar .avatar-placeholder svg {
  width: 18px;
  height: 18px;
}

.nav-icon-ship::before {
  width: 18px;
  height: 14px;
  border-radius: 4px;
}

.nav-icon-ship::after {
  width: 16px;
  height: 2px;
  margin-top: -7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
  opacity: 0.9;
}

.nav-icon-meetups::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 999px 999px 999px 2px;
  background: transparent;
  transform: rotate(-45deg);
}

.nav-icon-meetups::after {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.9;
}

.nav-icon-manager::before {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  transform: rotate(45deg);
}

.nav-icon-notifications::before {
  display: none;
}

.nav-icon-help::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: transparent;
}

.nav-icon-help::after {
  content: "?";
  position: absolute;
  color: currentColor;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  opacity: 0.9;
}

.nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: auto;
  border-radius: 999px;
  color: #fff;
  background: var(--rose);
  font-size: 12px;
  font-weight: 900;
}

.notification-count.hidden {
  display: none;
}

.nav-item[hidden] {
  display: none !important;
}

.notification-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 7px;
  border-radius: 999px;
  background: var(--rose);
  box-shadow: 0 0 0 3px rgba(184, 77, 90, 0.16);
}

.notification-dot.hidden {
  display: none;
}

.nav-item.active,
.nav-item:hover {
  color: var(--mode-dark);
  background: rgba(25, 115, 95, 0.1);
  box-shadow: inset 0 0 0 1px rgba(25, 115, 95, 0.08);
}

.nav-item:hover {
  transform: translateX(2px);
}

body.buyer-mode .nav-item.active,
body.buyer-mode .nav-item:hover {
  background: rgba(49, 107, 181, 0.12);
}

.sidebar-panel {
  margin-top: 36px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.panel-label,
.eyebrow {
  margin: 0;
  color: var(--mode);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sidebar-panel strong {
  display: block;
  margin-top: 8px;
  line-height: 1.25;
}

.sidebar-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.role-switcher {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 260px;
  padding: 14px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.role-switcher p {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.role-switcher span {
  display: block;
  margin-top: 2px;
  color: var(--mode-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mode-switch-text {
  grid-column: 1 / -1;
  margin-top: 2px;
  min-height: 42px;
  border: 1px solid rgba(25, 115, 95, 0.22);
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: var(--mode);
  font-weight: 900;
  line-height: 1.15;
}

.mode-switch-text:hover,
.mode-switch-text:focus-visible {
  background: var(--mode-dark);
  outline: 0;
}

.mode-notice-inline {
  display: none;
  grid-column: 1 / -1;
  color: #a33b25;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: none;
}

.mode-notice-inline.active {
  display: block;
}

#roleSwitch.has-mode-alert {
  box-shadow: 0 0 0 3px rgba(216, 155, 40, 0.24);
}

.market {
  min-width: 0;
  padding: 30px 34px 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(217, 226, 221, 0.88);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 249, 0.78)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 36px rgba(23, 33, 31, 0.08);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-balance,
.header-seller-rating {
  display: grid;
  gap: 3px;
  min-width: 128px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.header-seller-rating {
  min-width: 150px;
  border-color: rgba(25, 115, 95, 0.22);
  background: #f7fbf8;
}

.header-balance small,
.header-seller-rating small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.header-balance strong,
.header-seller-rating strong {
  color: var(--mode-dark);
  font-size: 18px;
}

.account-avatar-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  color: var(--mode-dark);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.account-avatar-button:hover,
.account-avatar-button:focus-visible {
  border-color: var(--mode);
  box-shadow: 0 0 0 4px rgba(25, 115, 95, 0.12);
  outline: 0;
}

.account-avatar-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--mode-dark);
  background: #f7faf8;
}

h1 {
  max-width: 820px;
  margin: 6px 0 0;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.primary-action,
#addWant,
.card-footer button,
.mode-choice {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: var(--mode);
  font-weight: 800;
  white-space: nowrap;
}

.primary-action:hover,
#addWant:hover,
.card-footer button:hover,
.mode-choice:hover {
  background: var(--mode-dark);
}

button:disabled,
.primary-action:disabled,
#addWant:disabled,
.card-footer button:disabled,
.mode-choice:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.mode-note b {
  color: var(--ink);
}

.secondary-action {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: #f4f7f5;
  font-weight: 900;
}

.pin-request {
  color: var(--green-dark) !important;
  background: #eaf3ee !important;
}

.pin-request.is-pinned {
  color: #fff !important;
  background: var(--gold) !important;
}

.make-listing-offer {
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
}

.seller-listing-composer,
.buyer-listings-panel,
.activity-section {
  margin-top: 14px;
}

.market-feed-section,
.buyer-listings-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.composer-drawer {
  display: none;
}

.composer-drawer.open {
  display: block;
}

.floating-create-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: var(--mode);
  font-weight: 900;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.floating-create-button span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: var(--mode-dark);
  background: #fff;
  font-size: 20px;
  line-height: 1;
}

.floating-create-button:hover,
.floating-create-button:focus-visible {
  background: var(--mode-dark);
  outline: 0;
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(23, 33, 31, 0.18);
}

.dashboard-action-bar {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 14px;
}

.dashboard-helper-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 12px 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 226, 221, 0.86);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(23, 33, 31, 0.06);
}

.dashboard-helper-strip div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.dashboard-helper-strip strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.dashboard-helper-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}

.dashboard-create-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 15px;
  color: #fff;
  background: var(--mode);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(23, 33, 31, 0.1);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.dashboard-create-action:hover,
.dashboard-create-action:focus-visible {
  background: var(--mode-dark);
  outline: 0;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(23, 33, 31, 0.14);
}

.seller-listing-composer,
.buyer-request-composer {
  padding: 14px;
}

.seller-listing-composer .mode-note,
.buyer-request-composer .mode-note {
  margin-bottom: 12px;
  padding: 12px;
  box-shadow: none;
}

.seller-listing-form-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(360px, 0.9fr);
  gap: 14px;
  align-items: start;
}

.seller-listing-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.seller-listing-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  margin-top: 0;
}

.listing-helper {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.add-listing-button {
  grid-column: 1 / -1;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--mode);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(25, 115, 95, 0.16);
}

.add-listing-button:hover {
  background: var(--mode-dark);
}

.request-feed-heading {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.request-feed-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--ink);
}

.request-feed-heading p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.request-feed-heading .feed-kicker {
  margin-bottom: 4px;
}

.feed-kicker,
.category-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 24px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  padding: 0 10px;
  color: #111;
  background: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.listing-create-note,
.buyer-activities-intro {
  margin-bottom: 12px;
}

.seller-activities-intro {
  margin-top: 0;
}

.my-seller-listings-panel {
  margin-top: 18px;
}

.edit-request {
  color: var(--green-dark) !important;
  background: #f3f6f2 !important;
}

.edited-label {
  display: inline-block;
  margin-left: 6px;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #eaf3ee;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}

.view-panel {
  display: none !important;
}

.view-panel.active-view {
  display: block !important;
}

.composer,
.controls {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.composer {
  padding: 18px;
  margin-bottom: 16px;
}

.composer-main label,
.composer-row label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.composer input,
.composer textarea,
.composer select,
.counter-form input,
.counter-form select,
.offer-form input,
.offer-form select,
.offer-form textarea,
.search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.composer input:focus,
.composer textarea:focus,
.composer select:focus,
.counter-form input:focus,
.counter-form select:focus,
.offer-form input:focus,
.offer-form select:focus,
.offer-form textarea:focus,
.search input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(25, 115, 95, 0.14);
}

.composer-main input {
  min-height: 54px;
  font-size: 18px;
  font-weight: 700;
}

.composer-main textarea {
  min-height: 104px;
  margin-top: 12px;
  padding: 12px 13px;
  resize: none;
  font: inherit;
  line-height: 1.45;
}

.composer-row {
  display: grid;
  grid-template-columns: 1fr 160px 180px auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}

.seller-listing-composer .composer-row,
.buyer-request-composer .composer-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seller-listing-composer .composer-main input,
.buyer-request-composer .composer-main input {
  min-height: 46px;
  font-size: 15px;
}

.seller-listing-composer .composer-main textarea,
.buyer-request-composer .composer-main textarea {
  min-height: 82px;
  margin-top: 0;
}

.counter-page {
  display: grid;
  gap: 16px;
  max-width: 960px;
}

.counter-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.counter-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.counter-meet-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.counter-meet-fields[hidden],
#counterShippingRule[hidden] {
  display: none !important;
}

.counter-review {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.counter-review > strong {
  color: var(--ink);
}

.counter-comparison {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  line-height: 1.45;
}

.counter-review .change-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-transform: none;
}

.counter-review input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--mode);
}

.controls {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin: 0 0 22px;
  border: 1px solid rgba(217, 226, 221, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.05);
}

.request-controls,
.listing-controls {
  margin-bottom: 2px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 244px;
  padding: 4px;
  border: 1px solid rgba(217, 226, 221, 0.85);
  border-radius: 12px;
  background: #edf2ef;
}

.segment {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  transition: background 150ms ease, color 150ms ease;
}

.segment.active {
  color: var(--mode-dark);
  background: #fff;
  box-shadow: 0 5px 14px rgba(23, 33, 31, 0.08);
}

.segment:hover {
  color: var(--mode-dark);
}

.search {
  width: 100%;
}

.range-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
  width: 100%;
}

.range-filters label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.range-filters input,
.range-filters select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.form-message {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--rose);
  font-size: 14px;
  font-weight: 700;
}

.feed {
  display: grid;
  gap: 18px;
}

.category-section {
  min-width: 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 10px;
  padding: 0 4px;
}

.section-header h2 {
  margin: 2px 0 0;
  font-size: 19px;
  line-height: 1.15;
}

.section-header p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.section-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  align-items: start;
  gap: 14px;
  overflow: visible;
  padding: 2px 4px 14px;
}

.want-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  align-self: start;
  min-height: 212px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(23, 33, 31, 0.08);
  scroll-snap-align: start;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.want-card:hover,
.want-card:focus-within,
.want-card.actions-open {
  border-color: rgba(25, 115, 95, 0.28);
  box-shadow: 0 16px 30px rgba(23, 33, 31, 0.12);
  transform: none;
}

.seller-listing-card {
  border-left: 4px solid #111;
  background: #fff;
}

.seller-listing-card .listing-pill {
  background: #111;
}

.seller-listing-card .listing-pill.used {
  background: var(--rose);
}

.seller-listing-card .listing-pill.new {
  color: #513a00;
  background: #f1c84b;
}

.card-topline,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.card-topline .distance {
  flex: 0 0 100%;
  margin-top: -2px;
}

.card-footer {
  justify-content: space-between;
  min-height: 44px;
}

.card-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 42px;
  margin-left: auto;
}

.make-offer,
.make-listing-offer,
.trash-card-action {
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 140ms ease, transform 140ms ease;
}

.want-card:hover .make-offer,
.want-card:focus-within .make-offer,
.want-card.actions-open .make-offer,
.want-card:hover .make-listing-offer,
.want-card:focus-within .make-listing-offer,
.want-card.actions-open .make-listing-offer,
.want-card:hover .trash-card-action,
.want-card:focus-within .trash-card-action,
.want-card.actions-open .trash-card-action {
  display: inline-flex;
}

.condition-pill {
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.condition-pill.used {
  background: var(--rose);
}

.condition-pill.new {
  color: #513a00;
  background: #f1c84b;
}

.card-category-pill {
  border: 1px solid rgba(217, 226, 221, 0.95);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  background: #f7faf8;
  font-size: 11px;
  font-weight: 900;
}

.own-listing-note {
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.trash-card-action,
.manager-card-delete-action,
.card-actions .trash-card-action,
.card-actions .manager-card-delete-action {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  border: 1px solid rgba(190, 45, 55, 0.4);
  border-radius: 8px;
  padding: 0;
  color: #fff;
  background: #c93642;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.trash-card-action span {
  display: block;
  transform: translateY(-1px);
}

.trash-card-action:hover,
.trash-card-action:focus-visible,
.manager-card-delete-action:hover,
.manager-card-delete-action:focus-visible {
  color: #fff;
  background: #a92431;
  border-color: #a92431;
  outline: 0;
}

.own-listing-card {
  border-color: rgba(49, 107, 181, 0.24);
}

.status-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.listing-card-context {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-height: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.listing-card-context span + span::before {
  content: "";
  margin-right: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.popular-badge {
  color: #fff;
  background: #111;
}

.listing-price-stack {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.listing-price-stack > span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-price-stack strong {
  color: var(--ink);
}

.listing-price-stack s {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.listing-discount-text {
  color: var(--discount-green);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.2;
}

.listing-price-stack.compact {
  justify-items: end;
  text-align: right;
}

.listing-owner-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-owner-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
}

.listing-owner-actions button:hover,
.listing-owner-actions button:focus-visible {
  border-color: #111;
  background: #111;
  color: #fff;
  outline: 0;
}

.distance,
.buyer {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.want-card h3 {
  margin: 13px 0 6px;
  font-size: 18px;
  line-height: 1.2;
}

.details {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.meta-grid span {
  min-width: 0;
  padding: 9px;
  border-radius: 8px;
  background: #f3f6f2;
}

.meta-grid span.status-good {
  border: 1px solid rgba(25, 115, 95, 0.28);
  background: #e7f5ed;
}

.meta-grid span.status-waiting {
  border: 1px solid rgba(216, 155, 40, 0.34);
  background: #fff4d8;
}

.status-card-good {
  border-color: rgba(25, 115, 95, 0.34);
  background: #f2fbf5;
}

.status-card-waiting {
  border-color: rgba(216, 155, 40, 0.34);
  background: #fffaf0;
}

.transaction-checkmark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 950;
  vertical-align: middle;
}

.meta-grid small,
.meta-grid strong {
  display: block;
}

.meta-grid small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.meta-grid strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.verified-seller-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-left: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(25, 115, 95, 0.28);
  border-radius: 999px;
  color: #0f6b58;
  background: #e7f5ed;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
}

.empty {
  padding: 28px;
  border: 1px dashed #aab8b1;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
}

.pinned-alerts {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.clear-alerts {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
}

.pinned-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f4f7f5;
}

.pinned-alert.deleted {
  background: rgba(184, 77, 90, 0.11);
}

.pinned-alert.edited {
  background: rgba(216, 155, 40, 0.14);
}

.pinned-alert span {
  color: var(--muted);
  font-weight: 800;
}

.dashboard-view {
  min-width: 0;
}

.mode-note {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.account-section-title,
.activity-page-header {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}

.account-section-title h2,
.activity-page-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.04;
}

.account-section-title p,
.activity-page-header p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.45;
}

.activity-page-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(217, 226, 221, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 34px rgba(23, 33, 31, 0.07);
}

.mode-note strong {
  color: var(--mode-dark);
}

.mode-note span {
  color: var(--muted);
  line-height: 1.4;
}

.activity-heading {
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.activity-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  margin: 2px 0 12px;
  padding: 12px;
  border: 1px solid rgba(217, 226, 221, 0.85);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.activity-section-heading strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.activity-section-heading span {
  max-width: 760px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.4;
  text-align: right;
}

.activity-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}

.activity-overview-card,
.dashboard-section,
.seller-listings-summary {
  border-radius: 16px;
}

.activity-overview-card {
  padding: 14px;
  border: 1px solid rgba(217, 226, 221, 0.88);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.05);
}

.activity-overview-card.active {
  border-color: rgba(25, 115, 95, 0.24);
  background: rgba(239, 249, 244, 0.84);
}

.activity-overview-card h3 {
  margin: 4px 0 10px;
  font-size: 18px;
}

.activity-overview-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-overview-card li {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.activity-overview-card li span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.dashboard-section {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(217, 226, 221, 0.9);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(23, 33, 31, 0.06);
}

.offer-row-list {
  display: grid;
  gap: 10px;
}

.dashboard-card.offer-row {
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.07);
}

.offer-row-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  width: 100%;
}

.bid-group-toggle,
.request-group-toggle,
.seller-listing-group-toggle {
  width: 100%;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.bid-group-toggle:hover h3,
.request-group-toggle:hover h3,
.seller-listing-group-toggle:hover h3 {
  color: var(--mode-dark);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.manager-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  align-items: start;
}

.manager-account-grid .dashboard-card {
  min-width: 0;
  overflow: hidden;
}

.manager-account-meta {
  grid-template-columns: 1fr;
}

.manager-account-meta span {
  min-width: 0;
}

.manager-account-meta strong {
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.manager-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr);
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.08);
}

.manager-filters.transaction-filters {
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(120px, 0.6fr)) minmax(140px, 0.7fr);
}

.manager-filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.manager-filters input,
.manager-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  text-transform: none;
}

.field-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-transform: none;
}

.delivery-default-note,
.delivery-choice-warning {
  display: block;
  margin-top: 6px;
  color: var(--rose);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 900;
  text-transform: none;
}

.manager-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 14px;
}

.danger-action,
.trash-action {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--rose);
  font-weight: 900;
  cursor: pointer;
}

.danger-action {
  min-height: 40px;
  padding: 0 14px;
}

.danger-action:hover,
.trash-action:hover {
  background: #9f2738;
}

.manager-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.manager-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.compact-action {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

.banned-account-card {
  border-color: rgba(191, 57, 73, 0.25);
  background: #fff8f6;
}

.banned-account-details {
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid rgba(191, 57, 73, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 750;
  line-height: 1.45;
}

.trash-action {
  min-width: 42px;
  min-height: 36px;
  padding: 0 10px;
  font-size: 12px;
}

.icon-trash-action {
  display: inline-grid;
  place-items: center;
  width: 36px;
  min-width: 36px;
  padding: 0;
}

.icon-trash-action svg {
  display: block;
}

.row-toggle-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--mode-dark);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.dashboard-card,
.message-thread,
.request-breakdown,
.offer-card,
.account-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.dashboard-card,
.message-thread,
.request-breakdown,
.offer-card {
  min-width: 0;
  padding: 16px;
  overflow: hidden;
}

.dashboard-card h3,
.message-thread h3 {
  margin: 8px 0;
  line-height: 1.2;
}

.dashboard-card p,
.offer-card p,
.auto-message p {
  color: var(--muted);
  line-height: 1.45;
}

.read-receipt {
  display: block;
  margin-top: -4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.request-stack {
  display: grid;
  gap: 18px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.offer-row-list {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.dashboard-section {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(217, 226, 221, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(23, 33, 31, 0.06);
}

.activity-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}

.activity-overview-card {
  padding: 14px;
  border: 1px solid rgba(217, 226, 221, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.05);
}

.activity-overview-card.active {
  border-color: rgba(25, 115, 95, 0.28);
  background: #f3fbf6;
}

.activity-overview-card h3 {
  margin: 4px 0 10px;
  font-size: 18px;
}

.activity-overview-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 750;
}

.activity-overview-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-overview-card li {
  display: grid;
  gap: 2px;
  padding: 0;
  border-left: 0;
  background: transparent;
}

.activity-overview-card li strong {
  color: var(--ink);
}

.activity-overview-card li span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.transaction-section {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.transaction-section h3 {
  margin: 0;
  font-size: 18px;
}

.completed-section {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.completed-section h3 {
  color: var(--muted);
}

.transaction-row-completed {
  border-color: #d6ddd9;
  background: #eef1ee;
  box-shadow: none;
  opacity: 0.78;
}

.transaction-row-completed .row-price,
.transaction-row-completed h3 {
  color: #5f6b66;
}

.transaction-tracking-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(49, 107, 181, 0.18);
  border-radius: 8px;
  background: #f7fbff;
}

.transaction-tracking-card span {
  display: grid;
  gap: 3px;
}

.transaction-tracking-card small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.transaction-tracking-card strong {
  overflow-wrap: anywhere;
}

.transaction-tracking-card a {
  color: var(--mode-dark);
  font-weight: 900;
  white-space: nowrap;
}

.transaction-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 33, 31, 0.42);
}

.transaction-modal {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(560px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.listing-offer-modal {
  width: min(1120px, 100%);
  max-height: min(860px, 92vh);
}

.compact-offer-layout {
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: 18px;
}

.listing-offer-modal .offer-request,
.listing-offer-modal .offer-form {
  min-width: 0;
}

.listing-offer-modal .offer-request h1 {
  font-size: 30px;
}

.listing-offer-form {
  align-self: start;
}

.transaction-modal h2 {
  margin: 4px 0;
  font-size: 24px;
}

.transaction-modal p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.stripe-required-modal {
  width: min(620px, 100%);
  gap: 14px;
}

.stripe-required-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #fff;
  background: #111827;
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.18);
}

.stripe-required-modal .eyebrow {
  margin-top: 2px;
}

.stripe-required-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 2px;
}

.stripe-required-list span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.stripe-required-list strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.stripe-required-list small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.stripe-guide-modal {
  width: min(760px, 100%);
  gap: 16px;
}

.stripe-guide-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.stripe-guide-heading h2 {
  margin: 4px 0;
}

.stripe-guide-heading p {
  max-width: 58ch;
}

.stripe-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stripe-guide-grid span,
.stripe-guide-note {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #ffffff, #f7faf8);
}

.stripe-guide-grid small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stripe-guide-grid strong,
.stripe-guide-note strong {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
}

.stripe-guide-note {
  border-color: rgba(25, 115, 95, 0.18);
  background: #f2f8f5;
}

.stripe-guide-note p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
}

.button-link {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.modal-close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f4f7f5;
  font-size: 22px;
  font-weight: 900;
}

.rating-badge {
  display: inline-grid;
  gap: 3px;
  min-width: 128px;
  padding: 8px 10px;
  border: 1px solid rgba(25, 115, 95, 0.24);
  border-radius: 8px;
  background: #e7f5ed;
  color: #145947;
}

.rating-badge strong {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: 16px;
}

.rating-badge small {
  color: #326b5c;
  font-size: 11px;
  font-weight: 900;
  text-transform: none;
}

.rating-badge.first-time {
  border-color: var(--line);
  color: var(--muted);
  background: #f3f6f2;
}

.transaction-modal-form {
  display: grid;
  gap: 14px;
}

.transaction-modal-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.transaction-modal-form select,
.transaction-modal-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.transaction-modal-form textarea {
  resize: vertical;
}

.rating-choice {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.rating-choice legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rating-choice div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.rating-choice label {
  display: block;
}

.rating-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-choice span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f7f5;
  color: var(--ink);
  font-weight: 950;
}

.rating-choice input:checked + span {
  border-color: rgba(25, 115, 95, 0.36);
  color: #145947;
  background: #e7f5ed;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.payment-success-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 31, 28, 0.22);
}

.payment-success-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(420px, 92vw);
  border: 1px solid rgba(25, 115, 95, 0.22);
  border-radius: 8px;
  padding: 30px 28px 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 33, 31, 0.24);
  overflow: hidden;
  text-align: center;
}

.payment-success-card h2 {
  margin: 0;
  color: var(--green);
  font-size: 26px;
}

.payment-success-card p {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 750;
}

.success-detail-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 4px 0;
}

.success-detail-box span {
  display: grid;
  gap: 4px;
  min-width: 0;
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
  text-align: left;
}

.success-detail-box small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.success-detail-box strong {
  overflow-wrap: anywhere;
  color: var(--ink);
}

.mode-welcome-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 31, 28, 0.24);
  backdrop-filter: blur(4px);
}

.mode-welcome-card {
  width: min(520px, 92vw);
  border: 1px solid rgba(25, 115, 95, 0.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 33, 31, 0.22);
  padding: 24px;
}

.mode-welcome-card h2 {
  margin: 6px 0 8px;
  font-size: 26px;
}

.mode-welcome-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.mode-welcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.mode-welcome-grid span {
  display: grid;
  gap: 6px;
  min-height: 96px;
  border-radius: 8px;
  background: var(--soft);
  padding: 12px;
}

.mode-welcome-grid small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mode-welcome-grid strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.how-it-works-card {
  width: min(620px, 94vw);
  max-height: min(84vh, 680px);
  overflow: auto;
  border-color: rgba(25, 115, 95, 0.28);
  background:
    linear-gradient(135deg, rgba(25, 115, 95, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(216, 155, 40, 0.1), transparent 44%),
    #fff;
}

.how-it-works-card .panel-label,
.how-it-works-card h2 {
  color: var(--green-dark);
}

.how-it-works-grid {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.how-it-works-grid span {
  display: grid;
  gap: 5px;
  min-height: auto;
  padding: 12px;
  border: 1px solid rgba(25, 115, 95, 0.18);
  border-radius: 8px;
  background: rgba(247, 248, 244, 0.88);
}

.how-it-works-grid small {
  color: #7a5a17;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.how-it-works-grid strong {
  color: var(--green-dark);
  font-size: 15px;
  line-height: 1.35;
}

.how-it-works-card .primary-action {
  background: var(--green-dark);
}

.how-it-works-card .primary-action:hover {
  background: #083b31;
}

.terms-modal-card {
  width: min(900px, 94vw);
  max-height: 88vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
}

.terms-modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.terms-modal-header h2 {
  margin: 4px 0 0;
}

.terms-modal-scroll {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.terms-modal-scroll .terms-card {
  margin: 0;
  box-shadow: none;
}

.success-checkmark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(25, 115, 95, 0.12);
}

.confetti-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.confetti-burst span {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  background: hsl(calc(38 + var(--i) * 28), 76%, 53%);
  animation: confetti-fall 1.5s ease-out forwards;
  animation-delay: calc(var(--d) * 45ms);
  transform: translateX(-50%);
}

@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform: translate(-50%, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x) * 22px), 210px) rotate(280deg);
  }
}

.order-summary-page,
.order-summary-card {
  display: grid;
  gap: 16px;
}

.summary-address {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-address input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  text-transform: none;
}

.address-results {
  display: grid;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.address-results:empty,
.address-results[hidden] {
  display: none;
}

.address-result {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-transform: none;
  cursor: pointer;
}

.address-result:last-child {
  border-bottom: 0;
}

.address-result:hover {
  background: #f3f7f5;
}

.address-result.muted {
  color: var(--muted);
  cursor: default;
}

.manager-delete-page {
  display: grid;
  gap: 16px;
  max-width: 1120px;
}

.manager-delete-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.manager-delete-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.manager-delete-summary h2 {
  margin: 6px 0;
  font-size: 24px;
}

.manager-delete-summary p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.manager-delete-summary > strong {
  color: var(--rose);
  font-size: 28px;
  white-space: nowrap;
}

.manager-delete-meta {
  margin: 0;
}

.manager-delete-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 14px;
}

.manager-delete-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.manager-delete-grid textarea {
  width: 100%;
  min-height: 160px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  line-height: 1.45;
  text-transform: none;
}

.manager-delete-grid label:last-child textarea {
  min-height: 260px;
}

.manager-ban-modal {
  width: min(720px, 94vw);
}

.manager-ban-form {
  margin-top: 14px;
}

.manager-ban-form select,
.manager-ban-form textarea {
  width: 100%;
}

.danger-note {
  border-color: rgba(191, 57, 73, 0.25);
  background: #fff5f6;
}

.order-gallery {
  margin-top: 0;
}

.transaction-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.offer-row {
  display: grid;
  gap: 12px;
}

.offer-row-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 2px 0 12px;
  border-bottom: 1px solid rgba(217, 226, 221, 0.78);
}

.bid-group-toggle,
.request-group-toggle,
.seller-listing-group-toggle {
  width: 100%;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.row-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 7px;
  color: var(--rose);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  vertical-align: middle;
}

.row-alert-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--rose);
  box-shadow: 0 0 0 3px rgba(184, 77, 90, 0.16);
}

.inline-pay-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

.inline-pay-notice .notification-dot {
  margin-left: 0;
}

.accepted-offer-note {
  margin: 4px 0 6px;
  color: var(--mode-dark);
  font-size: 14px;
  font-weight: 700;
}

.accepted-offer-note strong {
  color: var(--green);
}

.offer-row-main h2,
.offer-row-main h3 {
  margin: 6px 0;
}

.offer-row-main p {
  margin: 0;
}

.row-price {
  color: var(--mode-dark);
  font-size: 24px;
  white-space: nowrap;
}

.row-price-stack {
  display: grid;
  gap: 4px;
  justify-items: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.expand-cue {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.conversation-status {
  display: grid;
  gap: 5px;
  justify-items: end;
  flex: 0 0 auto;
  color: var(--muted);
}

.conversation-status strong {
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}

.row-meta-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 0;
}

.bid-history {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.bid-history-item {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.bid-history-item h4 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.bid-history-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  white-space: pre-wrap;
}

.offer-sheet {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.offer-sheet table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  font-size: 13px;
}

.offer-sheet th,
.offer-sheet td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.offer-sheet th {
  color: var(--muted);
  background: #f3f6f2;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-sheet tr.counter-row {
  background: #fff8e5;
}

.seller-listing-activity-card {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.seller-listing-activity-card .offer-row-main {
  margin-bottom: 0;
}

.seller-listing-activity-card .row-meta-grid {
  gap: 6px;
}

.seller-listing-activity-card .row-meta-grid span {
  min-height: 54px;
  padding: 9px 10px;
}

.seller-listing-activity-card .offer-sheet {
  margin-top: 0;
}

.seller-listing-activity-card .offer-sheet table {
  min-width: 980px;
}

.seller-listing-activity-card .offer-sheet th,
.seller-listing-activity-card .offer-sheet td {
  padding: 8px 10px;
  vertical-align: middle;
}

.sheet-pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--ink);
  font: inherit;
}

.row-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
}

.mini-gallery img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  cursor: zoom-in;
}

.message-layout,
.message-split,
.message-list {
  display: grid;
  gap: 16px;
}

.message-list {
  max-width: 980px;
}

.message-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.message-column {
  display: grid;
  gap: 14px;
}

.message-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 520px;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(67, 82, 76, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 247, 0.92)),
    #f7faf8;
}

.message-thread.open {
  display: flex;
  flex-direction: column;
  min-width: min(360px, 100%);
  min-height: 360px;
  max-width: 100%;
  resize: both;
  overflow: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
}

.message-thread.open .message-scroll {
  flex: 1;
  min-height: 180px;
  max-height: none;
}

.policy-panel {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  color: var(--ink);
}

.policy-hero,
.terms-card,
.policy-acceptance-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.policy-hero {
  display: grid;
  gap: 10px;
  padding: 30px;
}

.policy-hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: 0;
}

.policy-hero p {
  max-width: 840px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.policy-hero > span {
  color: var(--mode-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.policy-grid article {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.policy-grid h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ink);
}

.policy-grid ol {
  margin: 0;
  padding-left: 20px;
  color: #394541;
  font-weight: 650;
  line-height: 1.45;
}

.policy-grid li + li {
  margin-top: 6px;
}

.terms-card {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.terms-card h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.terms-card > p {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.terms-section {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.terms-section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
}

.terms-section p {
  margin: 0;
  color: #394541;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.62;
}

.policy-acceptance-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.policy-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
  color: var(--ink);
  font-weight: 800;
}

.policy-agree input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--mode);
}

.policy-agree span {
  line-height: 1.45;
}

.policy-acceptance-card .primary-action {
  justify-self: start;
  min-width: 220px;
}

.thread-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.conversation-toggle {
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.message-thread.collapsed .thread-header {
  padding-bottom: 0;
  border-bottom: 0;
}

.conversation-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 999px;
  background: #d89b28;
  box-shadow: 0 0 0 3px rgba(216, 155, 40, 0.2);
}

.notifications-page {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 980px;
}

.notification-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.notification-list {
  display: grid;
  gap: 10px;
}

.notification-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: inherit;
  background: #fff;
  text-align: left;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.notification-row.expanded {
  cursor: default;
}

.notification-row:hover {
  border-color: rgba(25, 115, 95, 0.3);
  background: #f7faf8;
}

.notification-row.read {
  color: var(--muted);
  background: #f3f5f4;
  box-shadow: none;
  opacity: 0.72;
}

.notification-row.read:hover {
  border-color: var(--line);
  background: #eef1ef;
}

.notification-row.unread {
  border-color: rgba(25, 115, 95, 0.32);
}

.notification-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--mode-dark);
  background: #eaf3ee;
}

.notification-row.read .notification-icon {
  color: #7a8580;
  background: #e1e5e3;
}

.notification-row span:last-child {
  display: grid;
  gap: 4px;
}

.notification-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.notification-row strong {
  color: var(--ink);
  font-size: 16px;
}

.notification-row.read strong {
  color: #5f6b66;
}

.notification-row em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}

.notification-row em a {
  color: var(--mode-dark);
  font-weight: 900;
}

.notification-detail {
  grid-column: 2;
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid rgba(25, 115, 95, 0.14);
  border-radius: 8px;
  background: #fff;
}

.notification-detail p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

.notification-detail p a {
  color: var(--mode-dark);
  font-weight: 900;
}

.notification-detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.notification-detail-meta span {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 8px;
  background: #f4f7f5;
}

.notification-detail-meta small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.notification-detail-meta strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
}

.auto-message {
  position: relative;
  display: grid;
  gap: 4px;
  width: fit-content;
  max-width: min(78%, 620px);
  padding: 10px 12px;
  border: 0;
  border-radius: 18px;
  background: #e8ece9;
  box-shadow: none;
  overflow: visible;
}

.auto-message::before {
  display: none;
}

.auto-message > strong {
  display: block;
  padding-right: 0;
  color: rgba(23, 33, 31, 0.72);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.message-action-menu {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 3;
}

.message-action-toggle {
  display: grid;
  place-items: center;
  width: 26px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(23, 33, 31, 0.6);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.message-action-menu.open .message-action-toggle,
.message-action-toggle:hover {
  background: rgba(255, 255, 255, 0.7);
}

.delete-message-button {
  position: absolute;
  top: 26px;
  right: 0;
  min-width: 132px;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  color: #fff;
  background: #a33b25;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  box-shadow: 0 10px 22px rgba(22, 37, 31, 0.16);
  cursor: pointer;
}

.auto-message.mine {
  margin-left: auto;
  margin-right: 0;
  border-bottom-right-radius: 5px;
  color: #fff;
  background: #19735f;
}

.auto-message.theirs {
  margin-right: auto;
  margin-left: 0;
  border-bottom-left-radius: 5px;
  color: var(--ink);
  background: #eef2ef;
}

.auto-message.message-chat.mine {
  background: #19735f;
}

.auto-message.message-chat.theirs {
  background: #eef2ef;
}

.auto-message.message-offer {
  border: 1px solid rgba(89, 127, 174, 0.18);
  background: #edf4fb;
}

.auto-message.message-listing-offer {
  border: 1px solid rgba(27, 109, 122, 0.18);
  background: #ebf7f8;
}

.auto-message.message-counteroffer {
  border: 1px solid rgba(167, 122, 48, 0.22);
  background: #fff5df;
}

.auto-message.message-accepted {
  border: 1px solid rgba(25, 115, 95, 0.22);
  background: #edf8f2;
}

.auto-message.message-declined,
.auto-message.message-transaction-deleted {
  border: 1px solid rgba(171, 66, 45, 0.22);
  background: #fff5f2;
}

.auto-message.message-system {
  max-width: min(86%, 720px);
  border: 1px solid rgba(84, 94, 90, 0.16);
  border-radius: 12px;
  background: #f7f8f7;
}

.message-text {
  display: grid;
  gap: 7px;
  margin-top: 0;
}

.message-text p {
  margin: 0;
  color: inherit;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.auto-message.mine > strong,
.auto-message.mine .message-context,
.auto-message.mine .read-receipt,
.auto-message.mine .message-supplement,
.auto-message.mine .message-text p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.auto-message.message-offer.mine,
.auto-message.message-listing-offer.mine,
.auto-message.message-counteroffer.mine,
.auto-message.message-accepted.mine,
.auto-message.message-declined.mine,
.auto-message.message-transaction-deleted.mine,
.auto-message.message-system.mine {
  color: var(--ink);
}

.auto-message.message-offer.mine > strong,
.auto-message.message-listing-offer.mine > strong,
.auto-message.message-counteroffer.mine > strong,
.auto-message.message-accepted.mine > strong,
.auto-message.message-declined.mine > strong,
.auto-message.message-transaction-deleted.mine > strong,
.auto-message.message-system.mine > strong,
.auto-message.message-offer.mine .message-context,
.auto-message.message-listing-offer.mine .message-context,
.auto-message.message-counteroffer.mine .message-context,
.auto-message.message-accepted.mine .message-context,
.auto-message.message-declined.mine .message-context,
.auto-message.message-transaction-deleted.mine .message-context,
.auto-message.message-system.mine .message-context,
.auto-message.message-offer.mine .read-receipt,
.auto-message.message-listing-offer.mine .read-receipt,
.auto-message.message-counteroffer.mine .read-receipt,
.auto-message.message-accepted.mine .read-receipt,
.auto-message.message-declined.mine .read-receipt,
.auto-message.message-transaction-deleted.mine .read-receipt,
.auto-message.message-system.mine .read-receipt,
.auto-message.message-offer.mine .message-supplement,
.auto-message.message-listing-offer.mine .message-supplement,
.auto-message.message-counteroffer.mine .message-supplement,
.auto-message.message-accepted.mine .message-supplement,
.auto-message.message-declined.mine .message-supplement,
.auto-message.message-transaction-deleted.mine .message-supplement,
.auto-message.message-system.mine .message-supplement,
.auto-message.message-offer.mine .message-text p,
.auto-message.message-listing-offer.mine .message-text p,
.auto-message.message-counteroffer.mine .message-text p,
.auto-message.message-accepted.mine .message-text p,
.auto-message.message-declined.mine .message-text p,
.auto-message.message-transaction-deleted.mine .message-text p,
.auto-message.message-system.mine .message-text p {
  color: var(--ink) !important;
}

.message-supplement {
  color: var(--muted) !important;
  font-size: 12px;
  font-weight: 850;
}

.message-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.message-detail-grid span {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(67, 82, 76, 0.08);
}

.message-detail-grid small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.message-detail-grid strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
}

.thread-location {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.message-context {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.message-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.message-composer textarea {
  width: 100%;
  min-height: 52px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.message-composer button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: var(--mode);
  font-weight: 900;
}

.message-composer-disabled {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(67, 82, 76, 0.14);
  border-radius: 8px;
  padding: 12px 14px;
  background: #f7faf8;
}

.message-composer-disabled strong {
  color: var(--ink);
}

.message-composer-disabled span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.composer-message {
  grid-column: 1 / -1;
  color: #a33b25;
  font-weight: 800;
}

.account-alert {
  padding: 12px;
  border: 1px solid rgba(25, 115, 95, 0.28);
  border-radius: 8px;
  color: #145947;
  background: #e7f5ed;
  font-weight: 850;
}

.stripe-connect-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(49, 107, 181, 0.24);
  border-radius: 8px;
  background: #f2f6fb;
}

.stripe-connect-card.ready {
  border-color: rgba(25, 115, 95, 0.28);
  background: #e7f5ed;
}

.stripe-connect-card strong {
  display: block;
  margin-bottom: 4px;
}

.stripe-connect-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.stripe-connect-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 750;
}

.stripe-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.stripe-dashboard-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 850;
  text-decoration: none;
}

.shipment-sheet-section {
  display: grid;
  gap: 12px;
}

.shipment-sheet {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.shipment-sheet table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
  font-size: 13px;
}

.shipment-sheet th,
.shipment-sheet td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.shipment-sheet th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f3f6f2;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.shipment-sheet tr.completed {
  background: #e7f5ed;
}

.shipment-actions-cell {
  width: 70px;
  text-align: center;
}

.manager-transaction-sheet table {
  min-width: 1520px;
}

.manager-transaction-sheet tr.completed {
  background: #eef1ee;
  color: #6b7470;
}

.manager-expanded-row td {
  background: #fbfcfa;
}

.manager-transaction-detail {
  display: grid;
  gap: 14px;
}

.transaction-warning {
  color: var(--rose);
  font-weight: 950;
}

.manager-status-good,
.manager-status-waiting,
.manager-status-neutral {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.manager-status-good {
  border: 1px solid rgba(25, 115, 95, 0.28);
  color: #145947;
  background: #e7f5ed;
}

.manager-status-waiting {
  border: 1px solid rgba(216, 155, 40, 0.34);
  color: #7a5411;
  background: #fff4d8;
}

.manager-status-neutral {
  border: 1px solid var(--line);
  color: var(--muted);
  background: #f3f6f2;
}

.manager-label-preview {
  display: grid;
  gap: 8px;
  max-width: 220px;
}

.issue-sheet table {
  min-width: 1320px;
}

.manager-issue-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 220px));
  gap: 10px;
  margin-bottom: 12px;
}

.manager-issue-stats span {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.manager-issue-stats small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.manager-issue-stats strong {
  color: var(--ink);
  font-size: 24px;
}

.issue-actions-cell {
  width: 70px;
  text-align: center;
}

.issue-menu-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-weight: 950;
  cursor: pointer;
}

.issue-menu-button:hover {
  border-color: rgba(185, 68, 79, 0.32);
  color: #fff;
  background: var(--rose);
}

.issue-details-short {
  display: block;
  max-width: 360px;
  white-space: normal;
}

.issue-details-panel {
  max-width: 460px;
}

.issue-details-panel summary {
  color: var(--mode-dark);
  font-weight: 900;
  cursor: pointer;
}

.issue-details-panel pre {
  max-height: 220px;
  margin: 8px 0 0;
  padding: 10px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #f8faf7;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.issue-row.issue-resolved {
  background: #e7f5ed;
}

.manager-email-sheet table {
  min-width: 1320px;
}

.email-log-sent {
  background: #f7fbf8;
}

.email-log-failed {
  background: #fff8e8;
}

.issue-row.issue-unresolved,
.issue-row.issue-needs-buyer-follow-up {
  background: #fff0f0;
}

.issue-row.issue-unresolved td:nth-child(3),
.issue-row.issue-needs-buyer-follow-up td:nth-child(3) {
  color: var(--rose);
  font-weight: 950;
}

.shipment-label-thumb {
  width: 84px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  cursor: zoom-in;
}

.shipment-edits {
  display: grid;
  gap: 8px;
  min-width: 180px;
}

.shipment-edits div {
  display: grid;
  gap: 2px;
  padding: 8px;
  border-radius: 8px;
  background: #f3f6f2;
}

.shipment-edits strong,
.shipment-edits span,
.shipment-edits small {
  display: block;
}

.auto-message.request-update {
  border: 1px solid rgba(216, 155, 40, 0.4);
  background: rgba(216, 155, 40, 0.12);
}

.auto-message.offer-response,
.auto-message.counteroffer {
  border: 1px solid rgba(25, 115, 95, 0.25);
  background: #eef6f1;
}

.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.offer-actions button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
}

.offer-actions button[data-action="declined"] {
  background: var(--rose);
}

.offer-actions button[data-listing-action="declined"] {
  background: var(--rose);
}

.offer-actions button[data-action="countered"] {
  background: var(--gold);
}

.offer-actions button[data-listing-action="countered"] {
  background: var(--gold);
}

.listing-offer-actions {
  align-items: center;
  gap: 6px;
  min-width: 260px;
  margin-top: 0;
}

.listing-offer-actions button,
.listing-offer-actions .locked-action {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  white-space: nowrap;
}

.locked-action {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 8px;
  padding: 0 12px;
  color: #145947;
  background: #e7f5ed;
  font-weight: 900;
}

.payment-button {
  min-height: 38px;
  margin-bottom: 12px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: var(--mode);
  font-weight: 800;
}

.ship-notice {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #eaf3ee;
  font-weight: 800;
}

.sold-package-list {
  display: grid;
  gap: 16px;
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0 auto;
}

.sold-package-list .dashboard-card {
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.shipment-info-note {
  width: min(100%, 980px);
  margin: 0 auto 16px;
}

.shipment-info-card {
  padding: 20px;
}

.shipment-info-card .meta-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.scheduled-meetups-note,
.scheduled-meetup-list {
  width: min(100%, 1040px);
  max-width: 1040px;
  margin-inline: auto;
}

.scheduled-meetups-note {
  margin-bottom: 16px;
}

.scheduled-meetup-list {
  display: grid;
  gap: 16px;
}

.scheduled-meetup-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.scheduled-meetup-header {
  align-items: start;
}

.scheduled-meetup-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.scheduled-meetup-location {
  grid-column: span 2;
}

.scheduled-meetup-details {
  margin-bottom: 0;
}

.scheduled-meetup-gallery {
  margin-top: 0;
  padding-top: 4px;
}

.scheduled-meetup-gallery img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.offer-review-page {
  display: grid;
  gap: 18px;
  width: min(100%, 1040px);
  margin: 0 auto;
}

.offer-review-hero,
.offer-review-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(23, 33, 31, 0.08);
}

.offer-review-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 22px;
}

.offer-review-hero h2 {
  margin: 4px 0 8px;
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: 0;
}

.offer-review-hero p,
.offer-review-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.offer-review-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
  gap: 16px;
}

.offer-review-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  min-width: 0;
}

.offer-review-card h3 {
  margin: 0;
  font-size: 20px;
}

.offer-review-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.offer-review-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

.offer-review-table th,
.offer-review-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.offer-review-table th {
  color: var(--muted);
  background: #f4f8f5;
  font-size: 11px;
  text-transform: uppercase;
}

.offer-review-table td {
  font-weight: 750;
}

.offer-review-table tr:last-child td {
  border-bottom: 0;
}

.empty-mini-state {
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: #f8fbf9;
  font-weight: 800;
}

.offer-review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.shipping-label,
.balance-card {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.shipping-label strong,
.balance-card strong {
  color: var(--mode-dark);
}

.shipment-instructions {
  margin-bottom: 0;
  background: linear-gradient(135deg, rgba(25, 115, 95, 0.08), rgba(255, 255, 255, 0.92));
}

.shipping-label span,
.balance-card span,
.shipping-label small,
.balance-card small {
  color: var(--muted);
  font-weight: 700;
}

.balance-card {
  gap: 10px;
  align-content: start;
}

.balance-card-header,
.balance-breakdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.balance-card-header strong {
  display: block;
  margin-top: 2px;
  font-size: 24px;
}

.balance-chart {
  display: block;
  min-height: 0;
  overflow: visible;
}

.profit-graph {
  max-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(217, 226, 221, 0.8);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 248, 0.86));
}

.profit-graph svg {
  display: block;
  width: 100%;
  height: 148px;
  min-height: 0;
}

.profit-graph line,
.profit-graph path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profit-graph .axis {
  stroke: #1b1b1b;
  stroke-width: 1.5;
}

.profit-graph .grid-line {
  stroke: rgba(8, 8, 8, 0.08);
}

.profit-graph .profit-line {
  stroke: var(--discount-green);
  stroke-width: 4;
}

.profit-graph .profit-area {
  fill: rgba(0, 138, 34, 0.1);
  stroke: none;
}

.profit-graph circle {
  fill: #fff;
  stroke: var(--discount-green);
  stroke-width: 3;
}

.profit-graph text {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.profit-graph.empty {
  display: grid;
  gap: 8px;
  padding: 8px 10px 10px;
}

.profit-graph.empty path {
  stroke: rgba(0, 138, 34, 0.35);
  stroke-width: 4;
}

.profit-graph.empty line {
  stroke: rgba(8, 8, 8, 0.16);
}

.profit-graph.empty span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.stripe-report-embed {
  display: grid;
  gap: 12px;
  min-height: 0;
  padding: 14px;
  border: 1px solid rgba(49, 107, 181, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(99, 91, 255, 0.08), transparent 46%),
    linear-gradient(315deg, rgba(0, 138, 34, 0.06), transparent 42%),
    #ffffff;
}

.stripe-report-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.stripe-report-copy {
  min-width: 0;
}

.stripe-report-embed small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.stripe-report-embed strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 18px;
}

.stripe-report-embed p {
  margin: 6px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.stripe-report-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.stripe-report-metrics span {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(217, 226, 221, 0.86);
  border-radius: 10px;
  background: rgba(248, 251, 249, 0.9);
}

.stripe-report-metrics strong {
  margin: 0;
  font-size: 16px;
}

.stripe-report-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 8px;
}

.stripe-activity-table {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(217, 226, 221, 0.86);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.stripe-activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stripe-activity-head strong {
  margin: 0;
  font-size: 14px;
}

.stripe-activity-rows {
  display: grid;
  gap: 6px;
}

.stripe-activity-rows span {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(180px, 0.9fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f7faf8;
}

.stripe-activity-rows strong {
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stripe-activity-rows em,
.stripe-activity-rows small,
.stripe-empty-note {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.stripe-activity-rows small {
  color: var(--mode-dark);
}

.stripe-empty-note {
  margin: 0;
}

.balance-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.balance-breakdown span {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f3f6f2;
}

.balance-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.account-form {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 1040px;
  padding: 30px;
}

.account-form [hidden] {
  display: none !important;
}

.account-dashboard {
  display: grid;
  gap: 18px;
  max-width: none;
  padding: 0;
}

.account-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.035), transparent 42%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(23, 33, 31, 0.07);
}

.account-page-heading h2 {
  margin: 4px 0 4px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.02;
}

.account-page-heading p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.account-top-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.account-profile-card,
.account-stripe-stack {
  min-width: 0;
}

.account-profile-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(23, 33, 31, 0.07);
}

.account-profile-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.account-profile-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid rgba(217, 226, 221, 0.9);
  border-radius: 999px;
  background: #f6f8f7;
}

.account-profile-avatar img,
.account-profile-avatar .avatar-placeholder {
  width: 100%;
  height: 100%;
}

.account-profile-avatar img {
  object-fit: cover;
}

.account-profile-avatar .avatar-placeholder {
  display: grid;
  place-items: center;
  color: var(--mode-dark);
}

.account-profile-card h3 {
  margin: 2px 0 4px;
  font-size: 22px;
  line-height: 1.12;
}

.account-profile-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.account-profile-card .profile-summary {
  grid-template-columns: 1fr;
  gap: 8px;
}

.account-profile-card .profile-summary div {
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: none;
}

.account-profile-card .account-actions {
  margin-top: 2px;
}

.account-profile-card .edit-profile-button,
.account-profile-card .logout-button {
  flex: 1 1 130px;
}

.account-stripe-stack {
  display: grid;
  gap: 12px;
}

#accountView {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
}

#accountView.active-view {
  display: grid !important;
}

.account-transactions {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding-top: 0;
  max-height: min(700px, 66vh);
  overflow: auto;
  overscroll-behavior: contain;
}

.account-transactions .mode-note,
.account-section-title {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.account-transaction-tools {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.08);
}

.account-transaction-tools > div:first-child {
  display: grid;
  gap: 4px;
}

.account-transaction-tools strong {
  color: var(--ink);
}

.account-transaction-tools span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.account-transaction-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(130px, 0.45fr) minmax(130px, 0.45fr);
  gap: 10px;
}

.account-transaction-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-transaction-filters input,
.account-transaction-filters select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: 0;
}

.account-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-location {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.profile-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-picture-editor {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.profile-picture-preview {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  color: var(--mode-dark);
  background: #fff;
}

.profile-picture-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-picture-editor label {
  margin: 0;
}

.account-form input,
.account-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  outline: 0;
  color: var(--ink);
  background: #fff;
}

.account-form input:disabled {
  color: var(--muted);
  background: #f3f6f2;
}

.password-reset-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.password-reset-panel div {
  display: grid;
  gap: 4px;
}

.password-reset-panel strong {
  color: var(--ink);
}

.password-reset-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.account-form .auth-terms-consent {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

.account-form .auth-terms-consent.has-error {
  border-color: rgba(191, 57, 73, 0.5);
  background: #fff5f6;
}

.account-form .auth-terms-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

.account-form .auth-terms-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
  padding: 0;
  accent-color: var(--mode-main);
}

.auth-terms-warning {
  margin: -2px 0 0 28px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
}

.terms-link-button {
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--mode-dark);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.oauth-password-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  margin-top: 2px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(23, 33, 31, 0.07);
}

.oauth-password-panel > div:first-child {
  display: grid;
  gap: 6px;
  padding-bottom: 2px;
}

.oauth-password-panel strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
}

.oauth-password-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.oauth-password-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.oauth-password-fields label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.oauth-password-fields input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 750;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.oauth-password-fields input:focus {
  border-color: rgba(25, 115, 95, 0.5);
  box-shadow: 0 0 0 3px rgba(25, 115, 95, 0.12);
}

.oauth-password-fields .primary-action {
  min-height: 44px;
  padding-inline: 18px;
  white-space: nowrap;
}

.oauth-password-panel .form-message {
  grid-column: 1 / -1;
  margin: -4px 0 0;
}

.account-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.text-action {
  min-height: 40px;
  border: 0;
  color: var(--mode-dark);
  background: transparent;
  font-weight: 900;
  text-decoration: underline;
}

.edit-profile-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--mode-dark);
  background: #fff;
  font-weight: 900;
}

.text-action.hidden {
  display: none;
}

.profile-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-summary div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.05);
}

.profile-summary small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-summary strong {
  color: var(--ink);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.auth-switch-prompt {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.auth-switch-prompt button {
  border: 0;
  color: var(--mode-dark);
  background: transparent;
  font-weight: 900;
  text-decoration: underline;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 8px;
  background: #edf2ef;
}

.auth-tabs button,
.oauth-button {
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
}

.oauth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.google-mark,
.azure-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.auth-tabs button {
  color: var(--muted);
  background: transparent;
}

.auth-tabs button.active {
  color: var(--mode-dark);
  background: #fff;
  box-shadow: 0 5px 14px rgba(23, 33, 31, 0.08);
}

.oauth-button {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.oauth-button:hover {
  border-color: rgba(25, 115, 95, 0.35);
  background: #f8fbfa;
}

.logout-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: var(--rose);
  font-weight: 800;
}

.mode-choice {
  color: var(--green-dark);
  background: #eaf3ee;
}

.mode-choice.active {
  color: #fff;
  background: var(--green);
}

.offer-page {
  min-height: 100vh;
  padding: 32px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 22px;
  align-items: start;
}

.offer-request h1 {
  margin-bottom: 22px;
}

.summary-card,
.offer-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.summary-card {
  padding: 22px;
}

.summary-card h2 {
  margin: 18px 0 8px;
  font-size: 28px;
  line-height: 1.1;
}

.summary-card p {
  color: var(--muted);
  line-height: 1.55;
}

.offer-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.offer-steps {
  padding: 16px;
  border-radius: 8px;
  background: #f4f7f5;
}

.offer-steps strong {
  display: block;
  margin-bottom: 10px;
  color: var(--mode-dark);
}

.offer-steps ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.offer-steps .important-step {
  margin-top: 10px;
  color: var(--ink);
}

.offer-steps .ups-link,
.ship-notice a,
.shipping-label a {
  display: inline-block;
  margin-top: 10px;
  color: var(--mode-dark);
  font-weight: 800;
}

.offer-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(220px, 1fr);
  gap: 12px;
}

.shipping-proof,
.shipping-proof-card,
.meetup-details {
  display: grid;
  gap: 12px;
}

.shipping-proof[hidden],
.meetup-details[hidden],
#shippingTimeField[hidden] {
  display: none !important;
}

.shipping-proof,
.meetup-details {
  padding: 14px;
  border: 1px solid rgba(49, 107, 181, 0.25);
  border-radius: 8px;
  background: rgba(49, 107, 181, 0.08);
}

.shipping-proof .mode-note,
.meetup-details .mode-note {
  margin-bottom: 0;
  box-shadow: none;
}

.map-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.map-search-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 10px;
}

.map-search-row input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}

.map-search-row button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: var(--mode);
  font-weight: 800;
}

.map-preview iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

.shipping-proof-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(49, 107, 181, 0.25);
  border-radius: 8px;
  background: #f7fbff;
}

.shipping-proof-card > strong {
  color: var(--mode-dark);
}

.tracking-review-card {
  display: grid;
  gap: 14px;
}

.tracking-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.tracking-card-header div {
  display: grid;
  gap: 3px;
}

.tracking-card-header strong,
.shipping-proof-form .tracking-card-header strong {
  color: var(--mode-dark);
  font-size: 17px;
}

.tracking-card-header span,
.tracking-review-card span {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.tracking-review-card small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tracking-review-card b,
.tracking-number-row b {
  color: var(--ink);
  font-size: 16px;
}

.tracking-number-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

.tracking-number-row span:first-child {
  min-width: 0;
}

.tracking-lock-note {
  max-width: 230px;
  text-align: right;
}

.shipping-status-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
}

.shipping-status-panel > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(49, 107, 181, 0.12);
}

.shipping-status-panel small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.shipping-status-panel strong {
  color: var(--ink);
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.25;
}

.shipping-proof-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(49, 107, 181, 0.25);
  border-radius: 8px;
  background: #f7fbff;
}

.shipping-proof-form > strong {
  color: var(--ink);
}

.shipping-proof-form > span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.shipping-proof-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.shipping-form-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(240px, 1fr);
  gap: 12px;
  align-items: end;
}

.shipping-proof-form input,
.shipping-proof-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
  outline: 0;
}

.shipping-proof-form input:focus,
.shipping-proof-form select:focus {
  border-color: var(--mode);
  box-shadow: 0 0 0 3px rgba(25, 115, 95, 0.14);
}

.styled-select-wrap {
  position: relative;
  display: block;
}

.styled-select-wrap select {
  appearance: none;
  padding-right: 42px;
}

.styled-select-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--mode-dark);
  border-bottom: 2px solid var(--mode-dark);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.shipping-proof-message {
  color: var(--mode-dark);
  font-weight: 850;
}

.compact-upload {
  min-height: 110px;
}

.offer-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-form textarea {
  padding: 12px 13px;
  resize: vertical;
}

.upload-box {
  min-height: 150px;
  place-items: center;
  border: 2px dashed #b9c7c0;
  border-radius: 8px;
  background: #f6faf7;
  text-align: center;
}

.upload-box strong {
  color: var(--green-dark);
  font-size: 18px;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.image-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.image-preview img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.request-upload-box {
  min-height: 96px;
}

.request-card-images,
.request-detail-images {
  display: flex;
  gap: 8px;
  margin: 10px 0 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.request-card-image-button {
  flex: 0 0 auto;
  width: 64px;
  height: 54px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f7faf8;
  cursor: pointer;
}

.request-detail-images .request-card-image-button {
  width: 96px;
  height: 76px;
}

.request-card-image-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image-viewer-modal {
  width: min(860px, 94vw);
  padding: 14px;
  background: #111827;
}

.image-viewer-modal img {
  width: 100%;
  max-height: 82vh;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.offer-form.submitted {
  border-color: rgba(25, 115, 95, 0.45);
}

@media (max-width: 900px) {
  .guest-intro-hero {
    min-height: auto;
  }

  .guest-intro-nav {
    display: grid;
    align-items: start;
  }

  .guest-menu {
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .guest-dropdown {
    left: 0;
    transform: none;
  }

  .guest-hero-grid,
  .guest-feature-band,
  .guest-story-band {
    grid-template-columns: 1fr;
  }

  .guest-hero-grid {
    padding-top: 38px;
  }

  .guest-hero-copy h1 {
    font-size: 40px;
  }

  .guest-photo-collage {
    min-height: auto;
    display: grid;
    gap: 12px;
  }

  .guest-photo-card,
  .guest-photo-card.large,
  .guest-photo-card.small,
  .guest-photo-card.small.top,
  .guest-photo-card.small.bottom {
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
  }

  .guest-insight-row,
  .guest-review-grid,
  .guest-showcase-grid {
    grid-template-columns: 1fr;
  }

  .auth-gate {
    align-content: end;
    padding: 18px;
  }

  .auth-gate #authAccount {
    align-self: end;
  }

  .auth-experience {
    grid-template-columns: 1fr;
  }

  .auth-welcome-panel {
    min-height: auto;
    gap: 28px;
    padding: 24px;
  }

  .auth-hero-copy h1 {
    font-size: 34px;
  }

  .auth-hero-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .auth-trust-grid,
  .auth-field-grid {
    grid-template-columns: 1fr;
  }

  .auth-trust-grid span {
    min-height: auto;
  }

  .auth-card {
    padding: 22px;
    max-height: min(760px, calc(100dvh - 40px));
    overflow: auto;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 14px 14px 12px;
  }

  .nav-list {
    grid-template-columns: repeat(8, minmax(154px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .nav-item {
    scroll-snap-align: start;
  }

  .sidebar-location {
    margin-bottom: 12px;
  }

  .sidebar-panel {
    display: none;
  }

  .market {
    padding: 22px 16px 36px;
  }

  .shipping-status-panel {
    grid-template-columns: 1fr;
  }

  .tracking-card-header,
  .tracking-number-row {
    display: grid;
  }

  .shipping-form-grid {
    grid-template-columns: 1fr;
  }

  .scheduled-meetup-location {
    grid-column: auto;
  }

  .topbar,
  .controls {
    align-items: stretch;
  }

  .topbar {
    flex-direction: column;
  }

  .topbar-actions {
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header-balance,
  .header-mode-status {
    flex: 1 1 180px;
    width: auto;
  }

  .controls {
    grid-template-columns: 1fr;
  }

  .composer-row {
    grid-template-columns: 1fr;
  }

  .seller-listing-composer .composer-row,
  .buyer-request-composer .composer-row {
    grid-template-columns: 1fr;
  }

  .seller-listing-form-grid,
  .buyer-request-form-grid,
  .seller-listing-fields {
    grid-template-columns: 1fr;
  }

  .segmented,
  .search,
  .range-filters {
    width: 100%;
  }

  .range-filters {
    grid-template-columns: 1fr 1fr;
  }

  .rail {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .offer-page {
    padding: 20px 16px 36px;
  }

  .offer-layout {
    grid-template-columns: 1fr;
  }

  .compact-offer-layout {
    grid-template-columns: 1fr;
  }

  .message-split {
    grid-template-columns: 1fr;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .manager-filters,
  .manager-filters.transaction-filters {
    grid-template-columns: 1fr;
  }

  .manager-delete-summary,
  .manager-delete-grid {
    grid-template-columns: 1fr;
  }

  .manager-delete-summary {
    display: grid;
  }

  #accountView {
    grid-template-columns: 1fr;
  }

  .account-transactions {
    max-height: none;
    overflow: visible;
    padding-top: 0;
  }

  .account-transaction-filters {
    grid-template-columns: 1fr 1fr;
  }

  .account-transaction-filters label:first-child {
    grid-column: 1 / -1;
  }

  .offer-row {
    grid-template-columns: 1fr;
  }

  .activity-overview {
    grid-template-columns: 1fr;
  }

  .map-search-row {
    grid-template-columns: 1fr;
  }

  .account-location {
    grid-template-columns: 1fr;
  }

  .profile-edit-grid,
  .oauth-password-fields,
  .password-reset-panel {
    grid-template-columns: 1fr;
  }

  .password-reset-panel {
    display: grid;
  }

  .profile-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .guest-intro {
    padding: 0 12px 28px;
  }

  .guest-intro-hero {
    padding: 10px 0 28px;
  }

  .guest-intro-nav {
    position: sticky;
    top: 0;
    z-index: 24;
    gap: 8px;
    padding: 8px 0;
    background: rgba(247, 248, 244, 0.94);
    backdrop-filter: blur(10px);
  }

  .guest-intro-actions,
  .guest-hero-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .guest-intro-actions button,
  .guest-hero-buttons button,
  .guest-hero-buttons a {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .guest-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    overflow: visible;
  }

  .guest-menu-item > button {
    width: 100%;
    min-height: 36px;
    padding: 0 8px;
    font-size: 11px;
    text-align: center;
  }

  .guest-dropdown {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 116px;
    width: auto;
    max-height: min(280px, calc(100dvh - 142px));
    overflow: auto;
    transform: none;
  }

  .guest-hero-grid,
  .guest-feature-band,
  .guest-story-band,
  .guest-final-cta,
  .guest-showcase-grid article,
  .guest-review-grid article {
    padding: 14px;
  }

  .guest-hero-copy h1 {
    font-size: clamp(28px, 9vw, 34px);
    line-height: 1.03;
  }

  .guest-hero-copy p:not(.eyebrow),
  .guest-story-band p:not(.eyebrow),
  .guest-final-cta p {
    font-size: 15px;
    line-height: 1.45;
  }

  .guest-photo-card,
  .guest-photo-card.large,
  .guest-photo-card.small,
  .guest-photo-card.small.top,
  .guest-photo-card.small.bottom {
    height: 176px;
  }

  .guest-photo-card figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    padding: 10px;
  }

  .auth-gate {
    align-content: end;
    padding: 0;
    background:
      linear-gradient(180deg, rgba(23, 33, 31, 0.06), rgba(23, 33, 31, 0.2)),
      rgba(247, 248, 244, 0.55);
  }

  .auth-gate #authAccount {
    width: 100%;
    max-height: 88dvh;
    overflow: auto;
  }

  .auth-card,
  .account-form,
  .oauth-password-panel {
    padding: 15px;
  }

  .auth-card {
    border-radius: 16px 16px 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    max-height: 88dvh;
  }

  .auth-card-header h2,
  .transaction-modal h2,
  .terms-modal-header h2 {
    font-size: 21px;
  }

  .auth-tabs {
    grid-template-columns: 1fr;
  }

  .app-shell {
    min-height: 100dvh;
  }

  .sidebar {
    padding: 12px 12px 10px;
  }

  .brand {
    gap: 9px;
    margin-bottom: 12px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand span {
    font-size: 10px;
  }

  .nav-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .nav-item {
    flex: 0 0 auto;
    min-height: 44px;
    max-width: 196px;
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .notification-count {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .notification-dot {
    width: 7px;
    height: 7px;
    margin-left: 5px;
  }

  .role-switcher {
    position: static;
    width: 100%;
    margin-top: 10px;
    gap: 7px;
    padding: 12px;
    box-shadow: 0 8px 18px rgba(23, 33, 31, 0.06);
  }

  .floating-create-button {
    right: 10px;
    bottom: 14px;
    min-height: 42px;
    padding: 0 13px;
    font-size: 12px;
  }

  .floating-create-button span {
    width: 21px;
    height: 21px;
    font-size: 17px;
  }

  .role-switcher p {
    font-size: 11px;
    line-height: 1.35;
  }

  .role-switcher #roleSwitch {
    width: 100%;
    min-height: 40px;
  }

  .market {
    padding: 14px 10px 76px;
  }

  .topbar {
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
  }

  h1 {
    font-size: 25px;
    line-height: 1.08;
  }

  .topbar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px;
    gap: 8px;
    width: 100%;
  }

  .header-balance,
  .header-seller-rating {
    min-width: 0;
    padding: 8px 9px;
  }

  .header-balance strong,
  .header-seller-rating strong {
    font-size: 15px;
    line-height: 1.2;
  }

  .account-avatar-button {
    width: 42px;
    height: 42px;
  }

  .mode-note,
  .activity-section-heading,
  .dashboard-card,
  .message-thread,
  .request-breakdown,
  .offer-card {
    padding: 12px;
  }

  .mode-note {
    gap: 4px;
  }

  .mode-note strong {
    font-size: 18px;
  }

  .mode-note span,
  .activity-section-heading span {
    font-size: 13px;
    line-height: 1.4;
  }

  .request-feed-heading {
    margin-top: 0;
    padding-bottom: 10px;
  }

  .request-feed-heading h2 {
    font-size: 24px;
  }

  .request-feed-heading p {
    font-size: 13px;
  }

  .composer {
    padding: 12px;
    margin-bottom: 12px;
  }

  .seller-listing-form-grid,
  .buyer-request-form-grid {
    gap: 10px;
  }

  .composer-main label,
  .composer-row label,
  .range-filters label {
    gap: 5px;
    font-size: 10px;
  }

  .composer input,
  .composer textarea,
  .composer select,
  .counter-form input,
  .counter-form select,
  .offer-form input,
  .offer-form select,
  .offer-form textarea,
  .search input,
  .range-filters input,
  .range-filters select {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .composer-main input,
  .seller-listing-composer .composer-main input,
  .buyer-request-composer .composer-main input {
    min-height: 40px;
    font-size: 14px;
  }

  .composer-main textarea,
  .seller-listing-composer .composer-main textarea,
  .buyer-request-composer .composer-main textarea {
    min-height: 70px;
    padding: 10px;
    font-size: 13px;
  }

  .listing-helper,
  .buyer-request-helper,
  .form-message {
    font-size: 12px;
    line-height: 1.35;
  }

  .primary-action,
  #addWant,
  .add-listing-button,
  .card-footer button,
  .mode-choice,
  .row-actions button,
  .modal-actions button,
  .message-composer button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .controls {
    gap: 10px;
    padding: 10px;
    margin-bottom: 14px;
  }

  .segmented {
    width: 100%;
  }

  .segment {
    min-height: 32px;
    font-size: 12px;
  }

  .range-filters {
    grid-template-columns: 1fr;
  }

  .feed {
    gap: 18px;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .section-header p,
  .section-header span {
    font-size: 12px;
  }

  .rail {
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    gap: 9px;
    padding-bottom: 10px;
  }

  .want-card {
    min-height: 206px;
    padding: 10px;
  }

  .want-card h3 {
    margin: 9px 0 5px;
    font-size: 15px;
  }

  .details,
  .dashboard-card p,
  .offer-card p,
  .auto-message p {
    font-size: 13px;
    line-height: 1.38;
  }

  .want-card .details {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .condition-pill {
    padding: 4px 8px;
    font-size: 10px;
  }

  .distance,
  .buyer {
    font-size: 11px;
  }

  .meta-grid,
  .row-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 8px 0;
  }

  .meta-grid span,
  .seller-listing-activity-card .row-meta-grid span {
    min-width: 0;
    min-height: 0;
    padding: 7px;
  }

  .meta-grid small {
    font-size: 9px;
  }

  .meta-grid strong {
    font-size: 13px;
  }

  .offer-grid,
  .activity-overview {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dashboard-section {
    gap: 10px;
    margin-top: 14px;
  }

  .activity-overview-card {
    padding: 12px;
  }

  .activity-overview-card h3 {
    font-size: 17px;
  }

  .offer-row-main {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 8px;
  }

  .row-price-stack {
    justify-items: start;
  }

  .row-price {
    font-size: 20px;
    white-space: normal;
  }

  .inline-pay-notice {
    display: inline-grid;
    grid-auto-flow: column;
    margin-left: 0;
    margin-top: 4px;
    white-space: normal;
  }

  .offer-sheet {
    max-width: 100%;
  }

  .offer-sheet table {
    min-width: 760px;
    font-size: 12px;
  }

  .offer-sheet th,
  .offer-sheet td,
  .seller-listing-activity-card .offer-sheet th,
  .seller-listing-activity-card .offer-sheet td {
    padding: 7px 8px;
  }

  .transaction-tracking-card {
    display: grid;
    gap: 8px;
  }

  .transaction-tracking-card a {
    white-space: normal;
  }

  .transaction-modal-backdrop,
  .mode-welcome-backdrop {
    padding: 10px;
  }

  .transaction-modal,
  .mode-welcome-card,
  .terms-modal-card,
  .manager-ban-modal {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 16px;
  }

  .listing-offer-modal .offer-request h1 {
    font-size: 24px;
  }

  .mode-welcome-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .message-split,
  .message-thread-layout {
    gap: 10px;
  }

  .message-composer {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .message-composer textarea {
    min-height: 54px;
  }

  .profile-edit-grid,
  .oauth-password-fields,
  .password-reset-panel,
  .shipping-form-grid,
  .counter-meet-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .market {
    padding-inline: 8px;
  }

  h1 {
    font-size: 23px;
  }

  .guest-hero-copy h1 {
    font-size: 29px;
  }

  .guest-menu-item > button {
    min-height: 34px;
    padding: 0 5px;
    font-size: 10px;
  }

  .guest-dropdown {
    top: 108px;
  }

  .topbar-actions {
    grid-template-columns: 1fr 42px;
  }

  .header-seller-rating {
    grid-column: 1 / -1;
    order: 3;
  }

  .rail {
    grid-template-columns: 1fr;
  }

  .want-card {
    min-height: 198px;
  }

  .meta-grid,
  .row-meta-grid {
    grid-template-columns: 1fr;
  }

  .card-footer {
    align-items: stretch;
    gap: 7px;
  }

  .card-footer button {
    width: 100%;
  }

  .guest-photo-card,
  .guest-photo-card.large,
  .guest-photo-card.small,
  .guest-photo-card.small.top,
  .guest-photo-card.small.bottom {
    height: 160px;
  }

  .account-transaction-filters {
    grid-template-columns: 1fr;
  }

  .account-transaction-filters label:first-child {
    grid-column: auto;
  }

  .auth-trust-grid span,
  .activity-overview-card li {
    padding: 10px;
  }
}

/* Return policy, help, tutorial, and compact UI polish */
.section-count {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 900;
}

.dashboard-helper-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 12px 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(20, 32, 28, 0.06);
}

.dashboard-helper-strip strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.dashboard-helper-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.dashboard-helper-strip .secondary-action {
  white-space: nowrap;
}

.rail {
  align-items: stretch;
  grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
}

.want-card {
  display: flex;
  min-height: 265px;
  height: 100%;
  flex-direction: column;
}

.want-card .details {
  display: -webkit-box;
  min-height: 46px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.want-card .card-footer {
  margin-top: auto;
}

.want-card:hover,
.want-card:focus-within,
.want-card.actions-open {
  transform: translateY(-3px);
}

.help-page,
.return-policy-page,
.support-page,
.return-issue-page {
  display: grid;
  gap: 18px;
}

.help-hero,
.return-issue-hero,
.support-hero,
.return-policy-hero {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(243,248,245,0.94));
  box-shadow: 0 18px 45px rgba(20, 32, 28, 0.08);
}

.help-hero h2,
.return-issue-hero h2,
.support-hero h2,
.policy-hero h1,
.return-policy-hero h2 {
  margin: 4px 0 8px;
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: 0;
}

.help-grid,
.support-grid,
.policy-grid,
.return-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.help-link-card,
.help-grid > article,
.support-card,
.policy-card,
.policy-grid > article,
.return-choice-card {
  display: grid;
  gap: 8px;
  min-height: 142px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 32, 28, 0.06);
  text-align: left;
}

.help-link-card:hover,
.help-grid > article:hover,
.return-choice-card:hover {
  border-color: rgba(25, 115, 95, 0.24);
  transform: translateY(-2px);
}

.help-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(20, 32, 28, 0.08);
  border-radius: 12px;
  background:
    #f3f8f5
    url("assets/reverse-marketplace-logo.png")
    center / 30px auto
    no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.return-issue-form,
.return-seller-response,
.return-policy-callout,
.return-request-status-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 32, 28, 0.06);
}

.return-issue-form select,
.return-issue-form textarea,
.return-issue-form input[type="file"],
.return-seller-response textarea,
.return-seller-response input[type="file"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fbfdfb;
  color: var(--ink);
  font: inherit;
}

.return-seller-response {
  margin-top: 12px;
  border-color: rgba(25, 115, 95, 0.2);
  background: #f8fbf8;
}

.return-seller-response > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.return-seller-response > div:first-child span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.match-suggestions,
.address-review-panel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid rgba(25, 115, 95, 0.18);
  border-radius: 12px;
  padding: 14px;
  background: #f8fbf8;
}

.match-suggestions > div:first-child,
.address-review-panel {
  color: var(--ink);
}

.match-suggestions > div:first-child span,
.address-review-panel span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.match-suggestion-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.match-suggestion-list article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.match-suggestion-list article span {
  color: var(--mode-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.match-suggestion-list article small {
  color: var(--muted);
  font-weight: 800;
}

.match-suggestion-list button,
.address-review-panel button {
  width: fit-content;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  background: var(--mode);
  font-weight: 900;
  cursor: pointer;
}

.address-review-panel {
  border-color: rgba(216, 155, 40, 0.28);
  background: #fffaf0;
}

.address-review-panel strong::before {
  content: "Important: ";
  color: #9b6114;
}

.transaction-support-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--mode-dark);
  font-weight: 900;
}

.required-tutorial-card {
  position: relative;
  z-index: 100;
  width: min(92vw, 720px);
  border: 1px solid rgba(22, 31, 29, 0.1);
  border-radius: 22px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
}

.required-tutorial-backdrop {
  background: rgba(18, 31, 28, 0.24);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.required-tutorial-card .panel-label {
  color: var(--mode-dark);
  background: rgba(25, 115, 95, 0.08);
}

.required-tutorial-card h2 {
  margin-top: 6px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.04;
  letter-spacing: 0;
}

.required-tutorial-card > p {
  max-width: 62ch;
  color: #5e6b67;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 750;
}

.tutorial-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 18px;
}

.tutorial-progress span {
  height: 5px;
  border-radius: 999px;
  background: #e8eee9;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tutorial-progress span.is-active {
  background: var(--mode);
}

.tutorial-progress span.active {
  background: var(--mode);
  transform: scaleY(1.25);
}

.tutorial-detail-card {
  display: grid;
  gap: 8px;
  min-height: 112px;
  border: 1px solid rgba(25, 115, 95, 0.15);
  border-radius: 16px;
  padding: 18px;
  background: #f6faf7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.tutorial-detail-card strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.tutorial-target-label {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: #111;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.tutorial-highlight-target {
  position: relative !important;
  z-index: 96 !important;
  pointer-events: auto;
  outline: 3px solid rgba(27, 94, 77, 0.88);
  outline-offset: 7px;
  border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(7, 15, 13, 0.34), 0 18px 48px rgba(0, 0, 0, 0.2) !important;
  transition: outline-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.request-feed-heading.tutorial-highlight-target,
.listing-feed-heading.tutorial-highlight-target {
  padding: 12px 14px 14px;
  background: rgba(255, 255, 255, 0.72);
}

.role-switcher.tutorial-highlight-target {
  left: 14px;
  width: 224px;
  max-width: calc(100vw - 28px);
  box-sizing: border-box;
  gap: 9px;
  padding: 12px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24) !important;
}

.role-switcher.tutorial-highlight-target p {
  margin: 0;
}

@media (max-width: 640px) {
  .role-switcher.tutorial-highlight-target {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
  }

  .required-tutorial-card {
    width: min(94vw, 520px);
    padding: 18px;
    border-radius: 18px;
  }

  .required-tutorial-card > p,
  .tutorial-detail-card strong {
    font-size: 14px;
  }

  .tutorial-detail-card {
    min-height: 0;
    padding: 14px;
  }

  .profit-graph {
    max-height: 118px;
  }

  .profit-graph svg {
    height: 116px;
  }

  .balance-card-header strong {
    font-size: 21px;
  }

  .stripe-report-embed {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px;
  }

  .stripe-report-metrics {
    grid-template-columns: 1fr;
  }

  .stripe-report-metrics span {
    min-height: 0;
  }

  .stripe-report-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .account-top-grid {
    grid-template-columns: 1fr;
  }

  .account-page-heading {
    padding: 16px;
  }

  .stripe-activity-rows span {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.tutorial-pointer {
  position: fixed;
  z-index: 101;
  max-width: 210px;
  pointer-events: none;
}

.tutorial-pointer span {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 11px;
  color: #fff;
  background: #111;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tutorial-pointer::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 18px;
  border-top: 9px solid #111;
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
}

.tutorial-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.account-dashboard {
  gap: 18px;
}

.account-transactions {
  max-height: min(680px, 64vh);
  overflow: auto;
}

.account-section-title,
.account-transactions .mode-note {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.oauth-password-panel {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.oauth-password-panel strong {
  color: var(--ink);
}

.guest-intro-actions {
  align-self: start;
}

@media (max-width: 900px) {
  .stripe-report-top,
  .oauth-password-panel {
    grid-template-columns: 1fr;
  }

  .stripe-report-top {
    display: grid;
  }

  .oauth-password-fields,
  .stripe-activity-rows span {
    grid-template-columns: 1fr;
  }

  .dashboard-helper-strip {
    grid-template-columns: 1fr;
  }

  .rail {
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    gap: 12px;
  }

  .want-card {
    min-height: 250px;
  }
}

@media (max-width: 640px) {
  .guest-intro-nav {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .guest-intro-actions {
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .guest-intro-actions button {
    min-height: 44px;
  }

  .help-hero,
  .return-issue-hero,
  .support-hero,
  .return-policy-hero,
  .required-tutorial-card {
    padding: 16px;
    border-radius: 14px;
  }

  .help-grid,
  .support-grid,
  .policy-grid,
  .return-choice-grid {
    grid-template-columns: 1fr;
  }

  .stripe-guide-heading,
  .stripe-guide-grid,
  .stripe-required-list {
    grid-template-columns: 1fr;
  }

  .rail {
    grid-template-columns: 1fr;
  }

  .want-card {
    min-height: 236px;
    padding: 14px;
  }

  .want-card h3 {
    font-size: 15px;
  }

  .want-card .details {
    min-height: 42px;
    -webkit-line-clamp: 2;
  }

  .tutorial-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .dashboard-view {
    padding: 12px;
  }

  .request-feed-heading,
  .listing-feed-heading,
  .buyer-activities-intro,
  .dashboard-helper-strip,
  .controls,
  .composer {
    margin-bottom: 8px;
  }

  .market-feed-section,
  .buyer-listings-panel {
    gap: 10px;
  }

  .request-feed-heading h2,
  .listing-feed-heading h2,
  .activity-page-header h2 {
    font-size: 24px;
    line-height: 1.05;
  }

  .request-feed-heading p,
  .listing-feed-heading p,
  .section-header p,
  .dashboard-helper-strip span,
  .listing-helper {
    font-size: 12px;
    line-height: 1.35;
  }

  .controls,
  .seller-listing-form-grid,
  .buyer-request-form-grid,
  .seller-listing-fields,
  .buyer-request-fields,
  .offer-review-layout,
  .offer-review-hero {
    grid-template-columns: 1fr;
  }

  .controls {
    gap: 8px;
    padding: 10px;
  }

  .segmented {
    min-height: 38px;
  }

  .segment {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .search input,
  .range-filters input,
  .range-filters select,
  .composer input,
  .composer select,
  .composer textarea {
    min-height: 38px;
    padding: 9px 11px;
    font-size: 13px;
  }

  .composer textarea {
    min-height: 74px;
  }

  .rail,
  .listing-rail {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 12px;
  }

  .want-card {
    min-height: 190px;
    padding: 11px;
    border-radius: 12px;
  }

  .want-card h3 {
    font-size: 15px;
    line-height: 1.18;
  }

  .want-card .details {
    min-height: 34px;
    font-size: 12px;
    line-height: 1.35;
  }

  .want-card .meta-grid {
    gap: 6px;
  }

  .want-card .meta-grid span {
    padding: 8px;
  }

  .condition-pill,
  .status-badge {
    padding: 5px 8px;
    font-size: 10px;
  }

  .make-offer,
  .make-listing-offer {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .offer-review-page {
    gap: 12px;
  }

  .offer-review-hero,
  .offer-review-card {
    padding: 14px;
    border-radius: 14px;
  }

  .offer-review-hero h2 {
    font-size: 25px;
  }

  .offer-review-actions,
  .offer-review-actions .primary-action,
  .offer-review-hero .secondary-action {
    width: 100%;
  }

  .offer-review-actions {
    display: grid;
  }

  .offer-review-table {
    min-width: 520px;
  }

  .offer-review-table th,
  .offer-review-table td {
    padding: 9px;
    font-size: 12px;
  }
}
