:root {
  --green: #1b7a4d;
  --green-dark: #145c3a;
  --orange: #e8742c;
  --ink: #1c2420;
  --muted: #5c6b63;
  --bg: #f6f5f0;
  --card: #ffffff;
  --border: #e2e1d8;
  --radius: 8px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-family: var(--font-body);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--green-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

h1, h2, h3, .brand, .step-num, .tab, .btn { font-family: var(--font-head); }

.brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
  text-transform: uppercase;
}
.brand .dot { color: var(--orange); }

.nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav a, .nav button {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.nav a:hover, .nav button:hover { background: rgba(255,255,255,0.18); }
.nav .pill-primary { background: var(--orange); border-color: var(--orange); }
.nav .pill-pro { background: #2c2a1f; border-color: #c9a13b; color: #f0c75e; }

#app { flex: 1; max-width: 1100px; width: 100%; margin: 0 auto; padding: 28px 20px 60px; }

.footer {
  text-align: center;
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
}
.footer p { margin: 4px 0; }
.footer a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}
.footer a:hover { text-decoration: underline; }

/* ---- Hero / Landing ---- */
.hero {
  padding: 56px 0 0;
  border-bottom: 1px solid var(--border);
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: end;
  padding-bottom: 36px;
}
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; gap: 24px; } }

.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.hero-sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 26px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-side {
  border-left: 1px solid var(--border);
  padding-left: 24px;
}
@media (max-width: 760px) { .hero-side { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; } }
.hero-side-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 10px;
}
.hero-side-fact {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.hero-side-fact strong { color: var(--green-dark); }

/* ---- Stat bar (problem framing) ---- */
.stat-bar {
  padding: 44px 0 8px;
  border-bottom: 1px solid var(--border);
}
.stat-bar-head { margin-bottom: 28px; }
.stat-bar-head h2 { margin: 8px 0 0; font-size: clamp(22px, 3vw, 30px); }
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 880px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stat-row { grid-template-columns: 1fr; } }
.stat-item {
  padding: 20px 24px 28px 0;
  border-left: 1px solid var(--border);
  padding-left: 24px;
}
.stat-item:first-child { border-left: none; padding-left: 0; }
@media (max-width: 880px) {
  .stat-item:nth-child(odd) { border-left: none; padding-left: 0; }
  .stat-item:nth-child(-n+2) { border-top: none; }
  .stat-item { border-top: 1px solid var(--border); padding-top: 24px; }
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.stat-label {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ---- Category marquee ---- */
.marquee {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  padding: 12px 22px;
  white-space: nowrap;
  border-right: 1px solid var(--border);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-1.revealed { transition-delay: 0.05s; }
.reveal-2.revealed { transition-delay: 0.1s; }
.reveal-3.revealed { transition-delay: 0.15s; }
.reveal-4.revealed { transition-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---- Steps (editorial list, not cards) ---- */
.step-list {
  display: flex;
  flex-direction: column;
}
.step-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.step-line:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--orange);
}
.step-line strong { font-size: 17px; display: block; margin-bottom: 4px; }
.step-line p { margin: 0; color: var(--muted); max-width: 520px; }

.perk-hover { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.perk-hover:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(20, 92, 58, 0.1); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); }
.btn-accent { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-accent:hover { background: #cf5f1d; }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; text-align: center; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-danger { color: #b3261e; border-color: #f1c7c2; background: #fff; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---- Cards / Grid ---- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.section-head h2 { margin: 0; }

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filters input, .filters select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  background: #fff;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.card .photo {
  height: 150px;
  background: linear-gradient(135deg, #dfe6df, #c9d4c9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  background-size: cover;
  background-position: center;
}
.card .body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .title { font-weight: 700; font-size: 15px; }
.card .meta { font-size: 12px; color: var(--muted); }
.card .price { font-weight: 800; color: var(--green-dark); font-size: 16px; margin-top: auto; }
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}
.badge.status-claimed { background: #9b8a3f; }
.badge.status-sold { background: #6b6b6b; }
.badge-pro {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #2c2a1f;
  color: #f0c75e;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}

/* ---- Forms ---- */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  max-width: 560px;
  margin: 0 auto;
}
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 700; color: var(--muted); }
.form-row input, .form-row select, .form-row textarea {
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: inherit;
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; flex-direction: row; }
.helper { font-size: 12px; color: var(--muted); }
.error-text { color: #b3261e; font-size: 13px; }
.error-link { color: var(--orange); font-weight: 600; text-decoration: underline; margin-left: 4px; }

.tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tab {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.tab.active { background: var(--green); color: #fff; border-color: var(--green); }

.oauth-row { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
}
.oauth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.oauth-divider::before, .oauth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.bulk-item {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}

/* ---- Detail ---- */
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
}
@media (max-width: 760px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-photo {
  height: 320px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #dfe6df, #c9d4c9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
}
.photo-strip { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.photo-thumb {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: #dfe6df;
  cursor: pointer;
  border: 2px solid transparent;
}
.photo-thumb.active { border-color: var(--accent, #1b7a4d); }

/* Full-screen photo lightbox. Deliberately just a large <img> with no
   transform/JS zoom logic — the page's viewport meta doesn't disable
   user-scaling, so mobile browsers' native pinch-zoom already works on it. */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  touch-action: pinch-zoom;
}
.lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 12px;
}
.detail-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.kv { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.kv:last-child { border-bottom: none; }

/* ---- Pro page ---- */
.pro-hero {
  background: linear-gradient(135deg, #1f1c14, #3a331f);
  color: #f0c75e;
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-bottom: 30px;
}
.pro-hero h1 { color: #fff; margin-bottom: 8px; }
.perk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.perk {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.perk .icon { font-size: 22px; margin-bottom: 6px; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.claim-row {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.toast.hidden { display: none; }

/* ---- Perk links (Pro page cards -> detail page) ---- */
.perk-link {
  display: block;
  cursor: pointer;
}
.perk-see-example {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
}

.back-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.back-link:hover { color: var(--ink); }

/* ---- Perk detail page ---- */
.perk-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 760px) { .perk-detail-grid { grid-template-columns: 1fr; } }

.perk-mock-frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.perk-mock-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 16px;
}

/* shared mock primitives */
.mock-line { height: 9px; border-radius: 3px; background: #d7dcd5; }
.mock-line.muted { background: #e6e9e3; }
.w-20 { width: 20%; } .w-25 { width: 25%; } .w-30 { width: 30%; } .w-35 { width: 35%; }
.w-40 { width: 40%; } .w-45 { width: 45%; } .w-50 { width: 50%; } .w-55 { width: 55%; }
.w-60 { width: 60%; } .w-70 { width: 70%; } .w-80 { width: 80%; }

/* bulk batch listing mock */
.mock-bulk-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mock-photo { width: 36px; height: 36px; border-radius: 6px; background: linear-gradient(135deg,#dfe6df,#c9d4c9); }
.mock-bulk-fields { display: flex; flex-direction: column; gap: 6px; }
.mock-tag { font-family: var(--font-mono); font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.mock-bulk-add { margin-top: 10px; font-size: 13px; color: var(--green-dark); font-weight: 600; }

/* tax report mock */
.mock-doc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-doc-period { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.mock-doc-row { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.mock-doc-total { font-weight: 800; border-bottom: none; padding-top: 12px; color: var(--green-dark); }

/* priority pickup feed mock */
.mock-feed { display: flex; flex-direction: column; gap: 10px; }
.mock-feed-card { position: relative; border: 1px solid var(--border); border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mock-feed-boosted { border-color: var(--orange); background: #fff7f1; }
.mock-feed-badge { position: absolute; top: 10px; right: 12px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }

/* diversion certificate mock */
.mock-cert { text-align: center; padding: 20px 10px; border: 1px dashed var(--border); border-radius: 8px; }
.mock-cert-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 14px; }
.mock-cert-num { font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--green-dark); }
.mock-cert-sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.mock-cert-foot { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.mock-cert-foot .mock-line { margin: 0 auto; }

/* analytics dashboard mock */
.mock-chart { display: flex; flex-direction: column; gap: 14px; }
.mock-bar-row { display: grid; grid-template-columns: 90px 1fr 28px; align-items: center; gap: 10px; }
.mock-bar-label { font-size: 12px; color: var(--muted); }
.mock-bar { height: 14px; border-radius: 4px; background: var(--green); min-width: 4px; }
.mock-bar-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-align: right; }

/* support line mock */
.mock-phone { display: flex; flex-direction: column; gap: 14px; }
.mock-phone-row { display: flex; align-items: center; gap: 10px; }
.mock-phone-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.mock-phone-cta { margin-top: 6px; text-align: center; background: var(--green); color: #fff; padding: 10px; border-radius: 6px; font-weight: 600; font-size: 14px; }

.config-warning {
  background: #fff3cd;
  border: 1px solid #ffe69c;
  color: #664d03;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 14px;
}

/* ---- Pro account dashboard ---- */
.account-head { margin-bottom: 24px; }
.account-head h1 { margin: 8px 0 6px; font-size: clamp(26px, 3.4vw, 36px); }

.account-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
@media (max-width: 700px) { .account-stats { grid-template-columns: repeat(2, 1fr); } }
.account-stat {
  padding: 18px 20px;
  border-left: 1px solid var(--border);
}
.account-stat:first-child { border-left: none; }
@media (max-width: 700px) {
  .account-stat:nth-child(odd) { border-left: none; }
  .account-stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}
.account-stat .stat-num { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--green-dark); }
.account-stat .stat-label { color: var(--muted); font-size: 13px; margin-top: 4px; }

.account-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.danger-zone { border-color: #f1c7c2; }
.account-substats {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
.account-substats strong { color: var(--ink); }

@media print {
  .topbar, .footer, .nav { display: none !important; }
}

/* ---- Ratings ---- */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 700;
  color: #8a6d1d;
  background: #fff8e1;
  border: 1px solid #f0c75e;
  border-radius: 999px;
  padding: 2px 9px;
}
.rating-badge.rating-new { color: var(--muted); background: #f3f3ee; border-color: var(--border); font-weight: 600; }
.rating-count { font-weight: 500; opacity: 0.8; }

.rating-large {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #8a6d1d;
}
.rating-large.rating-new { color: var(--muted); font-size: 14px; font-weight: 600; }
.rating-large .rating-count { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 500; }

.rating-widget {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin-top: 10px;
}
.rating-picker { display: flex; gap: 4px; margin-bottom: 10px; }
.rating-star {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--border);
  padding: 2px;
}
.rating-star-filled { color: #e8a93b; }
.rating-comment {
  width: 100%;
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 13px;
  margin-bottom: 10px;
  resize: vertical;
}

/* ============================================================
   Pro page — updated design (upgrade page + dashboard)
   ============================================================ */

.pro-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f0c75e;
  margin-bottom: 10px;
}
.pro-title { color: #fff; margin-bottom: 10px; font-size: clamp(24px, 4vw, 38px); }
.pro-sub { color: #d9d0af; margin-bottom: 20px; font-size: 16px; }

/* Value chips */
.value-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.value-chip {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 13px;
  color: #fff;
}

/* Pricing row */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--card);
}
.pricing-card-accent { border-color: var(--green-dark); }
.pricing-amount {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1;
}
.pricing-label { font-size: 14px; font-weight: 700; margin: 4px 0 4px; }
.pricing-note { font-size: 13px; color: var(--muted); }
.btn-block { display: block; width: 100%; }
.btn-outline { border: 1px solid var(--green-dark); color: var(--green-dark); background: transparent; }
.btn-outline:hover { background: #f0f8f4; }
.btn-green { background: var(--green-dark); color: #fff; }
.btn-green:hover { background: #0f4a2f; }

/* Perk arrow icon */
.perk-arrow-icon { margin-bottom: 10px; }
.perk-arrow-small { margin-right: 12px; flex-shrink: 0; }

/* Who is Pro for card */
.who-card {
  background: #f5f8f5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 28px 0 20px;
}
.who-title { margin: 0 0 12px; color: var(--green-dark); }
.who-list { margin: 0; padding-left: 20px; line-height: 2; color: var(--ink); }

/* Nonprofit card */
.nonprofit-card {
  background: #fff8f2;
  border: 1px solid #f2c89a;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}
.nonprofit-card h3 { margin: 0 0 8px; color: var(--orange); }
.nonprofit-card p { margin: 0 0 16px; font-size: 14px; color: var(--ink); }

/* ── Pro dashboard ── */
.pro-banner {
  background: linear-gradient(135deg, #1f1c14, #3a331f);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}
.pro-banner-greeting { font-family: var(--font-head); font-size: 24px; font-weight: 900; color: #fff; }
.pro-banner-sub { color: #f0c75e; font-size: 14px; margin-top: 4px; }
.pro-banner-meta { color: #9a9066; font-size: 13px; margin-top: 4px; }

/* Stat tiles */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
}
.stat-value { font-family: var(--font-head); font-size: 26px; font-weight: 900; color: var(--green-dark); }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Category bar chart */
.dash-bar-chart { margin: 12px 0 28px; }
.dash-bar-row { display: grid; grid-template-columns: 110px 1fr 28px; align-items: center; gap: 10px; margin-bottom: 8px; }
.dash-bar-label { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-bar-track { height: 8px; background: #e6ece8; border-radius: 4px; overflow: hidden; }
.dash-bar-fill { height: 100%; background: var(--green-dark); border-radius: 4px; }
.dash-bar-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-align: right; }

/* Pro listing rows */
.pro-listing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  gap: 10px;
}
.pro-listing-title { font-weight: 600; font-size: 14px; }
.pro-listing-detail { font-size: 12px; color: var(--muted); margin-top: 2px; }
.boosted-badge { font-size: 11px; color: var(--orange); font-weight: 600; margin-top: 4px; display: inline-block; }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #a93226; }
.btn-danger-outline { border: 1px solid #c0392b; color: #c0392b; background: transparent; }
.btn-danger-outline:hover { background: #fdf2f2; }

/* Pro perks row list */
.perk-list-rows { margin: 12px 0; }
.perk-row-small {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 8px;
  background: var(--card);
  cursor: pointer;
}
.perk-row-small:hover { background: #f5f8f5; }
.perk-row-body { flex: 1; }
.perk-row-title { font-weight: 700; font-size: 14px; }
.perk-row-summary { font-size: 13px; color: var(--muted); margin-top: 2px; }
.perk-chevron { font-size: 20px; color: var(--muted); }

/* ============================================================
   Wishlist page
   ============================================================ */
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.page-title { margin: 0; font-size: clamp(22px, 3vw, 30px); }

.wish-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: var(--card);
  gap: 10px;
}
.wish-cat { font-weight: 700; font-size: 15px; }
.wish-keywords { font-size: 13px; color: var(--muted); margin-top: 3px; font-style: italic; }

/* Wishlist add form overlay */
.wish-form-wrap {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.wish-form-wrap.hidden { display: none; }
.wish-form-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.wish-form-card h3 { margin: 0 0 18px; }
.wish-form-actions { display: flex; gap: 10px; margin-top: 18px; }
.empty-icon { font-size: 48px; margin-bottom: 12px; }

/* ============================================================
   Legal pages (Privacy / Terms)
   ============================================================ */
.legal-page { max-width: 760px; margin: 0 auto; line-height: 1.65; font-size: 15px; }
.legal-page h1 { margin-bottom: 4px; }
.legal-page h2 { margin-top: 28px; font-size: 18px; }
.legal-page ul { padding-left: 22px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--green-dark); font-weight: 600; }

/* ============================================================
   Messages page
   ============================================================ */
.messages-container {
  display: flex;
  gap: 1px;
  background: var(--border);
  height: calc(100vh - 140px);
  border-radius: var(--radius);
  overflow: hidden;
}

.messages-list-pane {
  width: 320px;
  background: var(--card);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.messages-list-pane .section-head {
  padding: 14px 14px 0;
  margin: 0;
}

.messages-list-pane .section-head h2 {
  font-size: 18px;
  margin: 0;
}

.conversation-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.conversation-item:hover {
  background: var(--bg);
}

.conversation-item.unread {
  border-left: 3px solid var(--orange);
  padding-left: 11px;
}

.convo-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 17px;
  flex-shrink: 0;
}

/* Unread: orange ring — the avatar's identity color (set inline) stays. */
.convo-avatar.unread { box-shadow: 0 0 0 2.5px var(--orange); }

.convo-main { flex: 1; min-width: 0; }

.convo-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.convo-top strong {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.convo-time { font-size: 11px; color: var(--muted); flex-shrink: 0; }

.convo-listing {
  font-size: 12px;
  color: var(--green-dark);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.convo-preview {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.convo-preview.unread { color: var(--ink); font-weight: 600; }

.convo-unread-pill {
  background: var(--orange);
  color: #fff;
  border-radius: 10px;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.messages-chat-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--card);
}

.messages-chat-pane.hidden {
  display: none;
}

.chat-header {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink);
  padding: 0;
  font-weight: 600;
}

.chat-header h3 {
  margin: 0;
  font-size: 16px;
}

.chat-header .helper {
  margin: 0;
  font-size: 12px;
}

.messages-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 75%;
}

.message-sent {
  align-self: flex-end;
  align-items: flex-end;
}

.message-received {
  align-self: flex-start;
  align-items: flex-start;
}

.message-body {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.45;
  word-wrap: break-word;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.message-sent .message-body {
  background: var(--green-dark);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.message-received .message-body {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.message-time {
  font-size: 11px;
  color: var(--muted);
}

.message-input-area {
  padding: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}

.message-input-area input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--bg);
}

.message-input-area input:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 2px rgba(20, 92, 58, 0.15);
}

@media (max-width: 700px) {
  .messages-container {
    height: calc(100vh - 120px);
  }

  .messages-list-pane {
    width: 100%;
    display: none;
  }

  .messages-list-pane.show {
    display: flex;
  }

  .messages-chat-pane {
    width: 100%;
  }

  .message {
    max-width: 90%;
  }
}

/* In-chat rating banner (mirrors the app's in-thread prompt) */
.chat-rate-card {
  border-top: 1px solid var(--border, #e2e1d8);
  background: #eef7f0;
  padding: 12px 16px;
  text-align: center;
}
.chat-rate-card .rating-widget { margin-top: 8px; }

/* Name + rating badge on message list rows and chat header */
.convo-name { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.convo-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#chat-title .rating-badge { font-size: 12px; vertical-align: 2px; }


/* Desktop split view: active thread highlight + no Back button */
.conversation-item.active {
  background: #eef4ee;
  border-left: 3px solid var(--orange);
  padding-left: 11px;
}
@media (min-width: 900px) {
  #back-btn { display: none; }
}

/* ---- Pro documents: Diversion Certificate + Disposal Tax Report ---- */
/* Mirrors the app's app/pro/certificate.tsx + tax-report.tsx designs so a
   Pro member sees the same document whichever platform they're on. */

.cert-wrap {
  background: var(--green-dark);
  padding: 10px;
  border-radius: 6px;
  max-width: 640px;
  margin: 0 auto;
}
.cert-inner {
  background: #fbfaf4;
  border: 2px solid var(--orange);
  border-radius: 3px;
  padding: 30px 24px;
  text-align: center;
}
.cert-brand {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}
.cert-brand strong {
  font-family: var(--font-head);
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--green-dark);
}
.cert-dot { width: 8px; height: 8px; background: var(--orange); display: inline-block; }
.cert-rule { height: 1px; background: var(--border); margin: 16px 0; }
.cert-kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--orange);
}
.cert-awarded { font-size: 13px; color: var(--muted); margin-top: 20px; }
.cert-recipient {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--ink);
  margin: 4px 0 16px;
}
.cert-body { font-size: 14px; color: var(--ink); line-height: 1.5; }
.cert-kg { display: flex; align-items: flex-end; justify-content: center; gap: 4px; margin: 6px 0; }
.cert-kg-num { font-family: var(--font-head); font-size: 60px; line-height: 1; color: var(--green); }
.cert-kg-unit { font-family: var(--font-head); font-size: 24px; color: var(--green); padding-bottom: 6px; }
.cert-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #eef4ee;
  border-radius: 6px;
  padding: 14px 8px;
  margin-top: 22px;
}
.cert-stat { flex: 1; }
.cert-stat-num { font-family: var(--font-head); font-size: 22px; color: var(--green-dark); }
.cert-stat-label { font-size: 11px; color: var(--muted); margin-top: 2px; }
.cert-stat-divider { width: 1px; height: 30px; background: var(--border); }
.cert-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.cert-site { color: var(--orange); font-weight: 600; }
.cert-disclaimer { font-size: 9px; color: var(--muted); margin-top: 10px; }

.report-doc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.report-brand { display: flex; align-items: baseline; gap: 4px; }
.report-brand strong {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--green-dark);
}
.report-dot { width: 8px; height: 8px; background: var(--orange); display: inline-block; }
.report-title {
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--orange);
  margin: 18px 0 4px;
}
.report-meta { color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.report-totals { display: flex; gap: 16px; margin: 16px 0 24px; flex-wrap: wrap; }
.report-totals > div { background: #eef4ee; border-radius: 6px; padding: 12px 18px; }
.report-totals .n { font-family: var(--font-head); font-size: 20px; color: var(--green-dark); }
.report-totals .l { font-size: 11px; color: var(--muted); }
.report-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.report-table th {
  text-align: left;
  border-bottom: 2px solid var(--green-dark);
  padding: 8px;
  color: var(--green-dark);
}
.report-table th:nth-child(4), .report-table th:nth-child(5) { text-align: right; }
.report-table td { border-bottom: 1px solid var(--border); padding: 8px; }
.report-disclaimer { margin-top: 24px; font-size: 10px; color: var(--muted); line-height: 1.5; }
.report-footer { font-size: 10px; color: var(--orange); font-weight: 600; }

/* Print: isolate the document itself so "Save as PDF" produces a clean
   page with no site chrome around it. */
@media print {
  .topbar, .footer, .page-header .btn, .helper, .nav { display: none !important; }
  body { background: #fff; }
  #app { padding: 0; max-width: none; }
  .cert-wrap, .report-doc { box-shadow: none; border: none; max-width: none; }
}

/* Pro dashboard document cards (mirrors the app's green cards w/ orange rule) */
.pro-docs-row { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.pro-doc-card {
  flex: 1;
  min-width: 200px;
  background: var(--green-dark);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--orange);
  padding: 16px;
  text-align: center;
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pro-doc-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,92,58,0.18); }
.pro-doc-icon { font-size: 22px; }
.pro-doc-title { font-weight: 600; font-size: 14px; margin-top: 2px; }
.pro-doc-sub { font-size: 12px; color: rgba(255,255,255,0.75); }

/* ============================================================================
   Skeletons
   Placeholders shaped like the content that's loading. They hold the layout
   so nothing jumps when data arrives — that's the point, not decoration.
   ========================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.sk {
  position: relative;
  overflow: hidden;
  background: #e8e9e4;
  border-radius: 4px;
}
.sk::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: sk-shimmer 1.25s infinite;
}
@keyframes sk-shimmer { to { transform: translateX(100%); } }

.sk-line { height: 10px; margin-bottom: 8px; }
.sk-line:last-child { margin-bottom: 0; }
.sk-price { height: 15px; margin-top: 10px; }
.sk-photo { height: 150px; border-radius: 0; }
.sk-thumb { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 6px; }

.sk-card { pointer-events: none; }
.sk-card .body { padding: 14px; }
.sk-row {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.sk-row-body { flex: 1; }

.w-25 { width: 25%; } .w-35 { width: 35%; } .w-40 { width: 40%; }
.w-50 { width: 50%; } .w-55 { width: 55%; } .w-60 { width: 60%; }
.w-75 { width: 75%; } .w-80 { width: 80%; } .w-90 { width: 90%; }

@media (prefers-reduced-motion: reduce) {
  .sk::after { animation: none; }
}

/* ============================================================================
   Materials | Tools section switch
   ========================================================================== */
.kind-switch {
  display: inline-flex;
  padding: 3px;
  gap: 3px;
  background: #ecebe4;
  border-radius: 999px;
  margin-bottom: 16px;
}
.kind-tab {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.kind-tab:hover { color: var(--ink); }
.kind-tab.active {
  background: var(--card);
  color: var(--green-dark, #145c3a);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
}
.kind-tab:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) {
  .kind-tab { transition: none; }
  .kind-tab:active { transform: none; }
}

/* ============================================================================
   Press feedback
   Buttons and cards should acknowledge a press immediately. Cheap, and it's
   most of what makes an interface feel responsive rather than laggy.
   ========================================================================== */
.btn, .card, .kind-tab, .photo-thumb {
  transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: scale(0.975); }
.card:hover {
  border-color: #cfd6cd;
  box-shadow: 0 4px 14px rgba(28, 36, 32, 0.07);
  transform: translateY(-2px);
}
.card:active { transform: translateY(0) scale(0.995); }
@media (prefers-reduced-motion: reduce) {
  .btn, .card, .kind-tab, .photo-thumb { transition: none; }
  .btn:active, .card:active, .card:hover { transform: none; }
}

/* ============================================================================
   "Drop Seal" celebration — shown when a listing posts.
   Deliberately the same falling orange square as the app's launch animation,
   so the mark that opens the app is the mark that confirms your action.
   ========================================================================== */
.seal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  background: rgba(246, 245, 240, 0.94);
  animation: seal-fade 0.25s ease;
}
@keyframes seal-fade { from { opacity: 0; } to { opacity: 1; } }

.seal-stage { position: relative; width: 96px; height: 96px; }
.seal-disc {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--green, #1b7a4d);
  transform: scale(0.3);
  opacity: 0;
  animation: seal-disc 0.85s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.22s forwards;
}
@keyframes seal-disc {
  0%   { transform: scale(0.3); opacity: 0; }
  55%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1);   opacity: 1; }
}
.seal-square {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  background: var(--orange, #e8742c);
  animation: seal-square 0.6s cubic-bezier(0.45, 0, 0.55, 1) forwards;
}
@keyframes seal-square {
  0%   { transform: translateY(-140px) scaleY(1.4) scaleX(0.8); opacity: 0; }
  25%  { opacity: 1; }
  70%  { transform: translateY(0) scaleY(0.5) scaleX(1.45); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0; }
}
.seal-check {
  position: absolute;
  left: 50%; top: 50%;
  width: 17px; height: 32px;
  margin: -20px 0 0 -8px;
  border: solid #fff;
  border-width: 0 5px 5px 0;
  transform: rotate(45deg) scale(0);
  animation: seal-check 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4) 0.62s forwards;
}
@keyframes seal-check {
  0%   { transform: rotate(45deg) scale(0); }
  60%  { transform: rotate(45deg) scale(1.15); }
  100% { transform: rotate(45deg) scale(1); }
}
.seal-text {
  font-family: var(--font-head, inherit);
  font-size: 21px;
  color: var(--ink, #1c2420);
  opacity: 0;
  animation: seal-text 0.45s ease 0.75s forwards;
}
.seal-sub {
  font-size: 14px;
  color: var(--muted, #5c6b63);
  margin-top: -12px;
  opacity: 0;
  animation: seal-text 0.45s ease 0.9s forwards;
}
@keyframes seal-text {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reduced motion: keep the confirmation, drop the choreography. The user
   still needs to know the listing posted — only the movement is optional. */
@media (prefers-reduced-motion: reduce) {
  .seal-overlay { animation: none; }
  .seal-disc { animation: none; transform: scale(1); opacity: 1; }
  .seal-square { display: none; }
  .seal-check { animation: none; transform: rotate(45deg) scale(1); }
  .seal-text, .seal-sub { animation: none; opacity: 1; }
}
