:root {
  --bg: #f5f6f1;
  --panel: #fff;
  --ink: #191b18;
  --muted: #62685f;
  --line: #d9ddd3;
  --soft: #ecefe8;
  --green: #245c45;
  --green-ink: #fff;
  --gold: #b98b2f;
  --red: #9b3d37;
  --blue: #345e8c;
  --shadow: 0 14px 40px rgba(24, 29, 22, .09);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
textarea { resize: vertical; }
.app { min-height: 100vh; }
.lock-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lock-card {
  width: min(100%, 500px);
  display: grid;
  gap: 20px;
}
.lock-error {
  border: 1px solid #d8b7b2;
  background: #f6e8e5;
  color: var(--red);
  border-radius: 8px;
  padding: 10px 12px;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
}
.topbar .btn { flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 850; }
.logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--green-ink);
}
.nav { display: flex; gap: 16px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.spacer { flex: 1; }
.btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}
.btn.primary { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.btn.danger { border-color: #d8b7b2; color: var(--red); }
.btn:disabled {
  opacity: .48;
  cursor: not-allowed;
  background: var(--soft);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding: 34px 24px 26px;
  max-width: 1220px;
  margin: 0 auto;
  align-items: end;
}
.eyebrow {
  color: var(--green);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.02; margin-bottom: 14px; }
h2 { font-size: 25px; line-height: 1.12; margin-bottom: 12px; }
h3 { font-size: 16px; margin-bottom: 6px; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 700px; }
.muted { color: var(--muted); }
.page { max-width: 1220px; margin: 0 auto; padding: 0 24px 46px; }
.page-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.page-nav .muted {
  font-size: 14px;
  margin-left: auto;
}
.shell, .panel, .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.shell { overflow: hidden; }
.panel { padding: 18px; }
.panel > *:last-child {
  margin-bottom: 0;
}
.panel .btn,
.panel .reputation-box {
  margin-top: 12px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcf8;
}
.search, .input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
}
.top-search { width: min(420px, 100%); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.stat strong { display: block; font-size: 24px; }
.home-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  padding-top: 46px;
  padding-bottom: 34px;
}
.home-hero-copy .actions {
  margin-top: 20px;
}
.home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.home-trust-row span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.home-showcase {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcf8;
  box-shadow: var(--shadow);
  padding: 14px;
}
.home-showcase-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.home-showcase-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.home-stack {
  display: grid;
  gap: 10px;
}
.home-preview-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 10px;
}
.home-preview-card strong,
.home-preview-card span {
  display: block;
}
.home-preview-card strong {
  line-height: 1.2;
  margin-bottom: 5px;
}
.home-preview-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.home-preview-art {
  width: 82px;
  height: 104px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, .94);
  font-weight: 900;
  text-align: center;
  font-size: 12px;
  padding: 10px;
  background: linear-gradient(135deg, var(--green), #1d3028 52%, var(--gold));
}
.home-preview-art.blue { background: linear-gradient(135deg, var(--blue), #1d2d42 55%, var(--green)); }
.home-preview-art.red { background: linear-gradient(135deg, var(--red), #392423 52%, var(--gold)); }
.home-preview-art.has-image {
  background: #eef1e9;
  padding: 6px;
}
.home-preview-art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.home-page {
  display: grid;
  gap: 18px;
}
.home-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home-panel-grid .panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.home-panel-grid .panel p {
  flex: 1;
}
.layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; padding: 18px; }
.filters { display: grid; gap: 10px; align-content: start; }
.filter { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfcf8; }
.filter strong {
  display: block;
  line-height: 1.2;
  margin-bottom: 3px;
}
.filter span {
  display: block;
  line-height: 1.3;
}
.filter label, .form label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 7px;
}
.form label span {
  color: #8a9086;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}
.field-help {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.section-head, .card-row, .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-head + .cards {
  margin-top: 14px;
}
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { overflow: hidden; box-shadow: none; }
.listing-card-link {
  display: block;
  height: 100%;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.listing-card-link:hover {
  transform: translateY(-2px);
  border-color: #b9c1b2;
  box-shadow: 0 16px 34px rgba(24, 29, 22, .11);
}
.wanted-card {
  border-color: #d9b7b2;
  background: #fffafa;
}
.card-art {
  min-height: 176px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .94);
  font-weight: 900;
  text-align: center;
  padding: 20px;
  background: radial-gradient(circle at 76% 18%, rgba(255,255,255,.18), transparent 26%), linear-gradient(135deg, var(--green), #1d3028 52%, var(--gold));
}
.card-art.blue { background: radial-gradient(circle at 22% 22%, rgba(255,255,255,.22), transparent 24%), linear-gradient(135deg, var(--blue), #1d2d42 55%, var(--green)); }
.card-art.red { background: radial-gradient(circle at 78% 22%, rgba(255,255,255,.20), transparent 24%), linear-gradient(135deg, var(--red), #392423 52%, var(--gold)); }
.card-art.has-image {
  background: #eef1e9;
  padding: 12px;
  overflow: hidden;
}
.card > .card-art.has-image {
  height: 320px;
  min-height: 320px;
}
.card > .card-art:not(.has-image) {
  height: 220px;
  min-height: 220px;
}
.listing-photo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}
.detail-gallery .listing-photo {
  width: auto;
  height: auto;
  max-height: min(500px, 58vh);
  object-fit: contain;
}
.card-body { padding: 13px; }
.card-row { margin-top: 12px; }
.card-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.wanted-pill,
.traction-pill,
.discount-pill {
  border-color: transparent;
  font-weight: 850;
}
.wanted-pill {
  background: #f4e3df;
  color: var(--red);
}
.traction-pill {
  background: #e5eee7;
  color: var(--green);
}
.discount-pill {
  background: #f3ead8;
  color: #7a5818;
}
.card-cta {
  pointer-events: none;
}
.price { font-weight: 850; font-size: 18px; }
.price-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.1;
}
.price-discounted {
  color: var(--red);
  font-weight: 900;
}
.price-original {
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through;
  font-weight: 750;
}
.price-label-small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.detail-title-row {
  display: block;
  margin-bottom: 12px;
}
.detail-title {
  font-size: clamp(26px, 2.55vw, 34px);
  line-height: 1.08;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}
.detail-price {
  margin-top: 10px;
  font-size: 24px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}
.detail-price .price-original {
  font-size: 15px;
}
.detail-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.wanted-callout {
  border: 1px solid #d9b7b2;
  border-radius: 8px;
  background: #fff5f3;
  color: var(--red);
  padding: 12px;
  margin-bottom: 14px;
  display: grid;
  gap: 3px;
}
.wanted-callout span {
  color: #74433f;
  font-size: 14px;
}
.notice, .site-footer {
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  background: #fbfcf8;
  color: var(--muted);
  font-size: 13px;
}
.site-footer {
  max-width: 1220px;
  margin: 20px auto 0;
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.site-footer span { display: block; margin-top: 4px; }
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 800;
  color: var(--ink);
}
.legal-hero {
  grid-template-columns: minmax(0, 760px);
  padding-bottom: 18px;
}
.legal-page {
  display: grid;
  gap: 16px;
}
.legal-content {
  max-width: 900px;
}
.legal-content h2 {
  margin-top: 24px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p {
  color: var(--muted);
  line-height: 1.6;
}
.legal-content p strong {
  color: var(--ink);
}
.flash {
  max-width: 1220px;
  margin: 14px auto 0;
  background: #e7efe8;
  border: 1px solid #c6d7c8;
  color: #1e4f39;
  padding: 12px 14px;
  border-radius: 8px;
}
.membership-current {
  margin-top: 0;
  margin-bottom: 18px;
}
.seller-owner-bar {
  color: var(--muted);
  margin-bottom: 18px;
}
.seller-owner-bar strong {
  margin-right: auto;
  font-size: 14px;
}
.form {
  display: grid;
  gap: 14px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.guided-choice {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcf8;
  padding: 12px;
}
.form-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 4px;
}
.title-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}
.set-feedback {
  border: 1px solid #ead9b9;
  border-radius: 8px;
  background: #fbf4e7;
  color: #745318;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.inline-link {
  border: 0;
  background: transparent;
  color: #245c45;
  padding: 0;
  cursor: pointer;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.traction-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.image-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.upload-tile {
  border: 1px dashed #b9c1b2;
  border-radius: 9px;
  background: #fbfcf8;
  padding: 12px;
  display: grid;
  gap: 8px;
}
.upload-preview {
  min-height: 138px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
}
.upload-preview img {
  max-width: 100%;
  max-height: 138px;
  object-fit: contain;
  border-radius: 6px;
}
.auth-card {
  max-width: 460px;
  margin: 38px auto;
}
.dashboard-grid, .seller-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 18px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.detail-layout > .shell {
  align-self: start;
}
.detail-product {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  align-items: start;
}
.detail-gallery {
  display: grid;
  gap: 12px;
  background: transparent;
  justify-items: center;
  align-content: start;
}
.detail-gallery .card-art {
  width: min(100%, 320px);
  height: min(500px, 58vh);
  min-height: 360px;
  border-radius: 9px;
  box-shadow: 0 18px 46px rgba(22, 28, 19, .18);
}
.detail-gallery .card-art.has-image {
  height: auto;
  min-height: 0;
}
.detail-product-info {
  align-self: start;
}
.thumb-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 12px;
  width: min(100%, 300px);
  margin-top: 4px;
}
.thumb-stack.two-thumbs {
  grid-template-columns: repeat(2, minmax(92px, 1fr));
}
.thumb-preview {
  height: 68px;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 5px;
}
.thumb-preview.active {
  border-color: var(--green);
  box-shadow: inset 0 0 0 2px rgba(36, 92, 69, .14);
}
.thumb-preview.more {
  background: linear-gradient(135deg, var(--soft), #dfe5d8);
}
.thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: 28px;
  background: rgba(20, 24, 18, .72);
  align-items: center;
  justify-content: center;
}
.gallery-modal.open {
  display: flex;
}
.gallery-dialog {
  width: min(980px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--panel);
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
}
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}
.gallery-shot {
  min-height: 180px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .94);
  font-weight: 900;
  text-align: center;
  padding: 16px;
  background: radial-gradient(circle at 76% 18%, rgba(255,255,255,.18), transparent 26%), linear-gradient(135deg, var(--green), #1d3028 52%, var(--gold));
}
.gallery-shot:nth-child(2n) {
  background: radial-gradient(circle at 22% 22%, rgba(255,255,255,.22), transparent 24%), linear-gradient(135deg, var(--blue), #1d2d42 55%, var(--green));
}
.gallery-shot:nth-child(3n) {
  background: radial-gradient(circle at 78% 22%, rgba(255,255,255,.20), transparent 24%), linear-gradient(135deg, var(--red), #392423 52%, var(--gold));
}
.gallery-shot.has-image {
  background: #eef1e9;
}
.gallery-shot img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 6px;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.spec {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 12px;
}
.spec span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}
.spec strong { overflow-wrap: anywhere; }
.detail-note {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
  color: var(--muted);
  padding: 12px;
  font-size: 13px;
}
.contact-compact textarea { min-height: 96px; }
.stack { display: grid; gap: 12px; }
.cover {
  height: 104px;
  background: radial-gradient(circle at 78% 20%, rgba(255,255,255,.22), transparent 24%), linear-gradient(135deg, var(--green), #192a24 64%, var(--gold));
}
.seller-card { overflow: hidden; align-self: start; }
.seller-body { padding: 14px; display: grid; gap: 12px; }
.storefront-tagline {
  font-size: 20px;
  font-weight: 850;
  margin-bottom: 10px;
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.store-link-list {
  display: grid;
  gap: 8px;
}
.store-link-list .pill {
  justify-content: center;
}
.reputation-box {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcf8;
  padding: 12px;
  display: grid;
  gap: 10px;
}
.reputation-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.reputation-score strong {
  font-size: 32px;
  line-height: 1;
}
.score-meter {
  height: 8px;
  border-radius: 999px;
  background: var(--soft);
  overflow: hidden;
}
.score-meter span {
  display: block;
  height: 100%;
  background: var(--green);
}
.reputation-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.reputation-facts .stat {
  box-shadow: none;
  padding: 10px;
}
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--green-ink);
  border: 3px solid var(--panel);
  margin-top: -46px;
  font-weight: 900;
}
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.table-pill-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.inline-admin-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.message-center {
  display: grid;
  gap: 16px;
}
.message-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  gap: 8px;
  min-width: min(100%, 300px);
}
.message-stats .stat {
  box-shadow: none;
  padding: 10px;
}
.message-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.active-pill {
  border-color: var(--green);
  background: #e5eee7;
  color: var(--green);
  font-weight: 850;
}
.message-list {
  display: grid;
  gap: 12px;
}
.message-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcf8;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}
.message-main {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
}
.message-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--green-ink);
  font-weight: 900;
}
.message-headline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 3px;
}
.message-headline h2 {
  margin: 0;
  font-size: 20px;
}
.message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}
.message-meta a {
  color: var(--green);
  font-weight: 800;
}
.message-body {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.message-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 360px;
}
.message-actions form {
  margin: 0;
}
.empty-state {
  border: 1px dashed #b9c1b2;
  border-radius: 10px;
  background: #fbfcf8;
  padding: 22px;
  text-align: center;
}
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan { padding: 18px; display: grid; gap: 12px; }
.plan .amount { font-size: 34px; font-weight: 900; }
.plan-current {
  border-color: #b9d0bf;
  background: #f4faf4;
}
.plan-disabled {
  opacity: .58;
  background: #f1f2ed;
  box-shadow: none;
}
.plan-disabled .amount,
.plan-disabled h2 {
  color: var(--muted);
}
.classified-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; padding: 18px; }
.classified-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.classified-meta .pill { font-size: 12px; padding: 4px 8px; }
@media (max-width: 900px) {
  .hero, .home-hero, .layout, .dashboard-grid, .seller-layout, .classified-layout, .detail-layout, .detail-product { grid-template-columns: 1fr; }
  .cards, .stats, .plans, .home-metrics, .home-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar { flex-wrap: wrap; }
}
@media (max-width: 580px) {
  .topbar, .hero, .page { padding-left: 14px; padding-right: 14px; }
  .cards, .stats, .plans, .home-metrics, .home-panel-grid, .mini-stats, .form-grid, .spec-grid, .image-upload-grid { grid-template-columns: 1fr; }
  .home-hero { padding-top: 30px; }
  .home-preview-card { grid-template-columns: 74px minmax(0, 1fr); }
  .home-preview-art { width: 74px; height: 96px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .thumb-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-nav .btn { flex: 1 1 100%; }
  .page-nav .muted { margin-left: 0; }
  .store-links .btn, .store-link-list .pill { width: 100%; }
  .inline-admin-form { grid-template-columns: 1fr; }
  .message-card, .message-main, .message-stats { grid-template-columns: 1fr; }
  .message-actions { justify-content: flex-start; max-width: none; }
  .message-actions .btn, .message-actions form, .message-actions button { width: 100%; }
  .title-field-row { grid-template-columns: 1fr; }
  .detail-title { font-size: 28px; }
  .detail-price { width: 100%; text-align: center; }
  .section-head, .row { align-items: flex-start; flex-direction: column; }
  .site-footer { margin-left: 14px; margin-right: 14px; flex-direction: column; }
}
