:root {
  color-scheme: light;
  --ink: #142126;
  --muted: #60737a;
  --paper: #f6f9f8;
  --panel: #ffffff;
  --line: #dce7e7;
  --ocean: #0c7c86;
  --deep: #063d4d;
  --foam: #e8f7f5;
  --coral: #f06f5c;
  --gold: #d49a2a;
  --shadow: 0 18px 40px rgba(8, 45, 55, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.auth-pending [data-auth-guest],
.auth-pending [data-authenticated],
.auth-pending [data-logout],
.auth-pending [data-approved-seller] {
  visibility: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  align-items: center;
  background: rgba(246, 249, 248, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: auto auto minmax(220px, 1fr) auto auto;
  min-height: 72px;
  padding: 14px clamp(16px, 4vw, 52px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand,
.hero-actions,
.section-heading,
.sell-actions,
.product-meta,
.result-bar,
.tag-row,
.seller-row {
  align-items: center;
  display: flex;
}

.brand {
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 850;
}

.brand-mark {
  background: var(--deep);
  border-radius: 8px;
  color: #fff;
  display: grid;
  font-size: 0.75rem;
  font-weight: 900;
  height: 38px;
  place-items: center;
  width: 38px;
}

.section-heading a:hover {
  color: var(--ocean);
}

.hero-actions,
.sell-actions {
  gap: 10px;
}

.menu-wrap {
  position: relative;
}

.menu-button,
.cart-icon-button,
.header-search button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
}

.menu-button {
  background: #fff;
  border: 1px solid var(--line);
  flex-direction: column;
  gap: 5px;
  height: 42px;
  padding: 0;
  width: 46px;
}

.menu-button span {
  background: var(--deep);
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 20px;
}

.menu-button:hover,
.menu-button[aria-expanded="true"] {
  border-color: var(--ocean);
}

.dropdown-menu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  left: 0;
  min-width: 180px;
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 10px);
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 30;
}

.dropdown-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a,
.dropdown-menu button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  display: block;
  font-weight: 850;
  padding: 11px 12px;
  text-align: left;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
  background: var(--foam);
  color: var(--deep);
}

.header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 680px;
  width: 100%;
}

.top-auth-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.desktop-primary-nav {
  align-items: center;
  display: flex;
  gap: 20px;
}

.desktop-primary-nav a,
.desktop-primary-nav button {
  background: transparent;
  border: 0;
  color: var(--deep);
  font: inherit;
  font-weight: 850;
  padding: 8px 0;
}

.desktop-primary-nav a:hover,
.desktop-primary-nav button:hover {
  color: var(--ocean);
}

.marketplace-topbar {
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
}

.marketplace-topbar .menu-wrap {
  display: none;
}

.marketplace-account-area {
  justify-self: end;
}

.account-menu {
  position: relative;
}

.account-menu-trigger {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--deep);
  display: flex;
  font: inherit;
  font-weight: 850;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
}

.account-menu-caret {
  border-bottom: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  height: 0;
  width: 0;
}

.account-menu-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: none;
  min-width: 190px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 40;
}

.account-menu-panel.open {
  display: grid;
}

.account-menu-panel a,
.account-menu-panel button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  padding: 10px 12px;
  text-align: left;
}

.account-menu-panel a:hover,
.account-menu-panel button:hover {
  background: var(--foam);
}

.unified-dashboard-body {
  background: var(--paper);
}

.unified-dashboard {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}

.unified-sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100vh;
  padding: 24px 18px;
  position: sticky;
  top: 0;
}

.unified-nav {
  display: grid;
  gap: 4px;
}

.unified-nav button,
.unified-sidebar-footer a,
.unified-sidebar-footer button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  display: flex;
  font: inherit;
  justify-content: space-between;
  min-height: 42px;
  padding: 8px 10px;
  text-align: left;
}

.unified-nav button:hover,
.unified-nav button.active {
  background: var(--foam);
  color: var(--deep);
}

.unified-nav span {
  color: var(--muted);
  font-size: 0.8rem;
}

.unified-sidebar-footer {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 14px;
}

.unified-main {
  min-width: 0;
}

.unified-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 28px 40px;
}

.unified-header h1,
.dashboard-section-heading h2 {
  margin: 4px 0 0;
}

.dashboard-section {
  display: none;
  padding: 34px 40px 48px;
}

.dashboard-section.active {
  display: block;
}

.dashboard-section-heading {
  margin-bottom: 24px;
}

.unified-grid {
  padding: 0;
}

.future-panel,
.seller-state > .future-panel,
.seller-status-inline {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  max-width: 760px;
  padding: 24px;
}

.future-panel h3,
.future-panel p,
.seller-status-inline {
  margin: 0;
}

.future-panel p {
  color: var(--muted);
  line-height: 1.5;
}

.seller-state {
  margin-bottom: 22px;
}

.listing-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.listing-filter-tabs button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--deep);
  font: inherit;
  font-weight: 750;
  min-height: 34px;
  padding: 0 10px;
}

.listing-filter-tabs button.active {
  background: var(--foam);
  border-color: var(--ocean);
}

.top-auth-actions .solid-button,
.top-auth-actions .ghost-button {
  min-height: 42px;
  white-space: nowrap;
}

.header-search input {
  border-radius: 8px 0 0 8px;
  min-width: 0;
}

.header-search button {
  background: var(--deep);
  border: 1px solid var(--deep);
  border-radius: 0 8px 8px 0;
  color: #fff;
  font-weight: 850;
  min-height: 44px;
  padding: 0 16px;
}

.cart-icon-button {
  background: var(--ocean);
  border: 1px solid var(--ocean);
  color: #fff;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
}

.cart-icon-button strong {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  display: grid;
  font-size: 0.78rem;
  height: 24px;
  place-items: center;
  width: 24px;
}

.solid-button,
.ghost-button,
.glass-button,
.icon-button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
}

.solid-button {
  background: var(--ocean);
  border: 1px solid var(--ocean);
  color: #fff;
}

.solid-button:hover {
  background: #096a73;
}

.ghost-button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--deep);
}

.ghost-button:hover {
  border-color: var(--ocean);
}

.glass-button {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
}

.large {
  min-height: 50px;
  padding: 0 20px;
}

.full {
  width: 100%;
}

.hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(6, 39, 49, 0.9), rgba(6, 61, 77, 0.54), rgba(6, 61, 77, 0.2)),
    url("https://images.unsplash.com/photo-1582967788606-a171c1080cb0?auto=format&fit=crop&w=1800&q=82");
  background-position: center;
  background-size: cover;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
  min-height: min(720px, 84vh);
  padding: clamp(34px, 6vw, 76px) clamp(16px, 4vw, 52px);
}

.hero-copy {
  display: grid;
  gap: 0;
  justify-items: start;
  max-width: 680px;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 4px;
  width: auto;
}

.eyebrow {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb6aa;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 6vw, 6.35rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 22px;
  max-width: 980px;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 3.25rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 0;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

p {
  color: var(--muted);
  line-height: 1.58;
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  max-width: 680px;
}

.hero-copy h1 {
  margin-bottom: 28px;
  max-width: 670px;
}

.hero-copy h1 + p {
  margin-bottom: 20px;
  max-width: 620px;
}

.hero .hero-tagline {
  align-items: center;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--coral);
  border-right: 3px solid var(--coral);
  border-radius: 0;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 900;
  gap: 0;
  line-height: 1.3;
  justify-self: start;
  margin: 0 0 14px;
  max-width: none;
  padding: 2px 12px;
  text-transform: none;
}

.hero .hero-tagline::before {
  content: none;
}

.experience-hero {
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
  min-height: min(590px, 72vh);
}

.featured-listings-band {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: clamp(30px, 4vw, 52px) clamp(16px, 4vw, 52px);
}

.featured-listings-heading {
  margin: 0 auto 20px;
  max-width: 1440px;
}

.featured-carousel {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  margin: 0 auto;
  max-width: 1440px;
}

.featured-carousel-button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--deep);
  font-size: 1.35rem;
  height: 40px;
  padding: 0;
  width: 40px;
}

.featured-carousel-button:hover {
  border-color: var(--ocean);
  color: var(--ocean);
}

.featured-carousel-viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.featured-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.featured-carousel-track {
  display: grid;
  gap: 14px;
  grid-auto-columns: calc((100% - 42px) / 4);
  grid-auto-flow: column;
  min-width: 100%;
}

.featured-listing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.featured-listing-card:hover {
  border-color: var(--ocean);
  box-shadow: 0 10px 24px rgba(8, 45, 55, 0.12);
  transform: translateY(-2px);
}

.featured-listing-image {
  aspect-ratio: 1.45 / 1;
  background-color: var(--foam);
  background-position: center;
  background-size: cover;
  display: block;
  position: relative;
}

.featured-listing-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.featured-listing-image .tag {
  left: 9px;
  position: absolute;
  top: 9px;
}

.featured-listing-body {
  display: grid;
  gap: 8px;
  padding: 11px 12px 12px;
}

.featured-listing-body h3 {
  font-size: 0.96rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-listing-body > div {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.8rem;
  gap: 8px;
  justify-content: space-between;
  min-width: 0;
}

.featured-listing-body span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-listing-body strong {
  color: var(--deep);
  font-size: 0.95rem;
  white-space: nowrap;
}

.hero-market-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  overflow: hidden;
}

.hero-carousel-label {
  background: var(--deep);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  text-transform: uppercase;
}

.hero-carousel-track {
  display: flex;
  width: max-content;
  animation: heroCarousel 24s linear infinite;
}

.hero-market-card:hover .hero-carousel-track {
  animation-play-state: paused;
}

.hero-listing-card {
  background: #fff;
  flex: 0 0 360px;
  width: 360px;
}

.hero-card-image {
  aspect-ratio: 4 / 3;
  background-position: center;
  background-size: cover;
}

.hero-card-image.torch {
  background:
    linear-gradient(rgba(6, 61, 77, 0.08), rgba(6, 61, 77, 0.08)),
    url("https://images.unsplash.com/photo-1546026423-cc4642628d2b?auto=format&fit=crop&w=900&q=80") center / cover;
}

.hero-card-image.radion {
  background:
    linear-gradient(rgba(6, 61, 77, 0.08), rgba(6, 61, 77, 0.08)),
    url("https://images.unsplash.com/photo-1581345430443-6c4f43f23c18?auto=format&fit=crop&w=900&q=80") center / cover;
}

.hero-card-image.skimmer {
  background:
    linear-gradient(rgba(6, 61, 77, 0.08), rgba(6, 61, 77, 0.08)),
    url("https://images.unsplash.com/photo-1611095564985-89765398121e?auto=format&fit=crop&w=900&q=80") center / cover;
}

.hero-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.hero-card-body h2 {
  font-size: 1.4rem;
}

.hero-card-body p {
  margin-bottom: 0;
}

.hero-card-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.hero-card-meta strong {
  color: var(--deep);
  font-size: 1.45rem;
}

@keyframes heroCarousel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-1080px);
  }
}

.experience-paths {
  background: #fff;
  padding: clamp(42px, 6vw, 76px) clamp(16px, 4vw, 52px);
}

.path-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1220px;
}

.path-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  min-height: 330px;
  padding: clamp(22px, 4vw, 34px);
}

.path-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
  max-width: 520px;
}

.path-card p:not(.eyebrow) {
  max-width: 560px;
}

.path-card .solid-button {
  align-self: end;
  justify-self: start;
}

.buyer-path {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    url("https://images.unsplash.com/photo-1546026423-cc4642628d2b?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.seller-path {
  background:
    linear-gradient(90deg, rgba(232, 247, 245, 0.96), rgba(232, 247, 245, 0.72)),
    url("https://images.unsplash.com/photo-1520301255226-bf5f144451c1?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.inline-market-search {
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.45fr) minmax(150px, 0.45fr) auto;
  margin: 0 auto 22px;
  max-width: 1220px;
}

.market-search {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  padding: 18px;
}

.intro-section {
  background: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  padding: clamp(42px, 6vw, 76px) clamp(16px, 4vw, 52px);
}

.intro-copy,
.intro-points {
  max-width: 1220px;
}

.intro-copy h2 {
  margin-bottom: 18px;
  max-width: 780px;
}

.intro-copy p {
  font-size: 1.05rem;
  max-width: 760px;
}

.intro-points {
  display: grid;
  gap: 12px;
}

.intro-points div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.intro-points strong {
  color: var(--deep);
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  text-align: center;
}

.intro-points span {
  color: var(--muted);
  line-height: 1.5;
}

label {
  color: var(--muted);
  display: grid;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 800;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  outline: none;
  padding: 10px 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(12, 124, 134, 0.16);
}

.trust-strip {
  background: var(--deep);
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-strip div {
  background: rgba(255, 255, 255, 0.055);
  min-height: 112px;
  padding: 24px clamp(16px, 3vw, 36px);
}

.trust-strip strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(42px, 6vw, 80px) clamp(16px, 4vw, 52px);
}

.subdued {
  background: #eef6f5;
}

.section-heading {
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto 26px;
  max-width: 1220px;
}

.section-heading.compact {
  align-items: flex-start;
  display: block;
}

.section-heading a,
.section-copy {
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 0;
}

.category-band {
  background: #fff;
}

.category-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1220px;
}

.category-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 118px;
  padding: 18px;
  text-align: left;
}

.category-tile span {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.category-tile small {
  color: var(--muted);
  line-height: 1.4;
}

.category-tile.active,
.category-tile:hover {
  background: var(--foam);
  border-color: var(--ocean);
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1220px;
}

.product-card,
.sponsor-card,
.filters,
.modal-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card {
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-image {
  aspect-ratio: 1.18 / 1;
  background: var(--foam);
  background-position: center;
  background-size: cover;
  position: relative;
}

.badge {
  background: rgba(20, 33, 38, 0.86);
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  left: 12px;
  padding: 6px 9px;
  position: absolute;
  top: 12px;
}

.badge.gold {
  background: var(--gold);
}

.product-body {
  padding: 16px;
}

.product-body p {
  min-height: 50px;
}

.product-meta {
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.price {
  color: var(--deep);
  font-size: 1.25rem;
  font-weight: 950;
}

a.product-image {
  display: block;
}

.tag-row,
.seller-row {
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--foam);
  border-radius: 999px;
  color: var(--deep);
  font-size: 0.72rem;
  font-weight: 850;
  padding: 6px 9px;
}

.seller-row {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
  justify-content: space-between;
  margin-top: 14px;
}

.market-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: 260px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1220px;
}

.filters {
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 18px;
  position: sticky;
  top: 92px;
}

.filters h3 {
  margin-bottom: 0;
}

input[type="range"] {
  accent-color: var(--ocean);
  padding: 0;
}

.check-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.check-row input {
  min-height: auto;
}

.result-bar {
  color: var(--muted);
  justify-content: space-between;
  margin-bottom: 14px;
}

.result-bar strong {
  color: var(--ink);
}

.market-products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sponsor-section {
  background: #fff;
}

.sponsor-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1220px;
}

.sponsor-card {
  display: grid;
  gap: 14px;
  grid-template-columns: 104px minmax(0, 1fr);
  padding: 14px;
}

.sponsor-card .product-image {
  aspect-ratio: 1;
  border-radius: 8px;
}

.sponsor-card p {
  margin-bottom: 8px;
}

.seller-flow {
  background:
    linear-gradient(90deg, rgba(6, 61, 77, 0.96), rgba(12, 124, 134, 0.88)),
    url("https://images.unsplash.com/photo-1582967788606-a171c1080cb0?auto=format&fit=crop&w=1600&q=82");
  background-position: center;
  background-size: cover;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  padding: clamp(42px, 6vw, 82px) clamp(16px, 4vw, 52px);
}

.seller-flow-copy h2 {
  max-width: 760px;
}

.seller-flow-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
}

.seller-steps {
  counter-reset: seller-step;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.seller-steps li {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 18px;
}

.seller-steps strong {
  color: #fff;
  font-size: 1.05rem;
}

.seller-steps span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.sell-band {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 61, 77, 0.96), rgba(12, 124, 134, 0.86)),
    url("https://images.unsplash.com/photo-1529260830199-42c24126f198?auto=format&fit=crop&w=1600&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: clamp(42px, 6vw, 78px) clamp(16px, 4vw, 52px);
}

.sell-band h2 {
  max-width: 820px;
}

.sell-band .ghost-button {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.help-hero {
  background: var(--deep);
  color: #fff;
  padding: clamp(54px, 8vw, 110px) clamp(16px, 4vw, 52px);
}

.help-hero h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  margin-bottom: 18px;
}

.help-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 720px;
}

.help-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(42px, 6vw, 76px) clamp(16px, 4vw, 52px);
}

.help-topic {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.help-topic-button {
  align-items: center;
  background: #fff;
  border: 0;
  color: var(--ink);
  display: flex;
  font-size: 1.12rem;
  font-weight: 900;
  gap: 16px;
  justify-content: space-between;
  min-height: 76px;
  padding: 20px 22px;
  text-align: left;
  width: 100%;
}

.help-topic-button:hover,
.help-topic-button[aria-expanded="true"] {
  background: var(--foam);
}

.help-topic-button strong {
  align-items: center;
  background: var(--deep);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.1rem;
  height: 30px;
  justify-content: center;
  line-height: 1;
  width: 30px;
}

.help-topic-panel {
  border-top: 1px solid var(--line);
  padding: 20px 22px 22px;
}

.help-topic-icon {
  align-items: center;
  background: var(--foam);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  color: var(--deep);
  display: inline-flex;
  font-size: 1.55rem;
  font-weight: 950;
  height: 48px;
  justify-content: center;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding: 0;
  width: 56px;
}

.help-topic-panel p {
  margin-bottom: 14px;
}

.help-topic-panel ol {
  color: var(--muted);
  margin: 0;
  padding-left: 20px;
}

.help-topic-panel li {
  line-height: 1.55;
  margin-bottom: 9px;
}

.help-topic-panel li:last-child {
  margin-bottom: 0;
}

.help-contact {
  align-items: center;
  background: var(--foam);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: clamp(38px, 5vw, 64px) clamp(16px, 4vw, 52px);
}

.help-contact p {
  max-width: 680px;
}

.help-contact a:not(.solid-button):not(.ghost-button) {
  color: #08717a;
  font-weight: 850;
}

.help-contact-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.promote-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 39, 49, 0.92), rgba(6, 61, 77, 0.72)),
    url("https://images.unsplash.com/photo-1546026423-cc4642628d2b?auto=format&fit=crop&w=1800&q=82") center / cover;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  padding: clamp(46px, 7vw, 92px) clamp(16px, 4vw, 52px);
}

.promote-hero h1 {
  max-width: 900px;
}

.promote-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  max-width: 700px;
}

.promotion-summary {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 14px;
  padding: 24px;
}

.promotion-summary strong {
  color: var(--deep);
  font-size: 1.65rem;
  line-height: 1.05;
}

.promotion-summary p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0;
}

.process-grid,
.promotion-packages,
.payment-notes {
  display: grid;
  gap: 18px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1220px;
}

.process-grid article,
.promotion-card,
.payment-notes div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-grid article {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.process-grid article > span {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--deep);
  display: grid;
  font-weight: 950;
  height: 38px;
  place-items: center;
  width: 38px;
}

.process-grid p,
.promotion-card p,
.payment-notes span {
  margin-bottom: 0;
}

.promotion-packages {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1220px;
}

.promotion-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.promotion-card.highlighted {
  border-color: rgba(240, 111, 92, 0.55);
  box-shadow: var(--shadow);
}

.promotion-card strong {
  color: var(--deep);
  font-size: 2.3rem;
  line-height: 1;
}

.promotion-card ul {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  padding-left: 20px;
}

.promotion-card .solid-button {
  align-self: end;
}

.promotion-payment {
  background: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  padding: clamp(42px, 6vw, 76px) clamp(16px, 4vw, 52px);
}

.promotion-payment > div {
  max-width: 1220px;
}

.promotion-payment p {
  max-width: 720px;
}

.payment-notes div {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.payment-notes strong {
  color: var(--deep);
}

.payment-notes span {
  color: var(--muted);
  line-height: 1.5;
}

.report-layout {
  align-items: start;
  background: var(--paper);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  padding: clamp(42px, 6vw, 76px) clamp(16px, 4vw, 52px);
}

.report-form,
.report-guidance {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 28px);
}

.report-form {
  display: grid;
  gap: 18px;
}

.report-guidance {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
}

.support-report-illustration {
  background: #f7fbfb;
  border: 1px solid #dce8e8;
  border-radius: 12px;
  display: block;
  max-height: 190px;
  object-fit: contain;
  padding: 12px;
  width: 100%;
}

.report-guidance div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 5px;
  padding-top: 14px;
}

.report-guidance strong {
  color: var(--deep);
}

.report-guidance span {
  color: var(--muted);
  line-height: 1.5;
}

.support-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.floating-report-problem {
  align-items: center;
  background: #fff;
  border: 1px solid #cfe2e2;
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 12px 28px rgba(8, 45, 55, 0.15);
  color: #063d4d;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 900;
  gap: 9px;
  left: 18px;
  min-height: 54px;
  padding: 6px 17px 6px 8px;
  position: fixed;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 120;
}

.floating-report-problem img {
  flex: 0 0 44px;
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.floating-report-problem-label {
  line-height: 1;
  white-space: nowrap;
}

.floating-report-problem:hover {
  border-color: var(--ocean);
  color: var(--ocean);
  transform: translateY(-1px);
}

.admin-report-notes {
  white-space: pre-line;
}

.listing-detail-page {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(16px, 4vw, 40px) clamp(14px, 4vw, 34px) 56px;
}

.listing-breadcrumbs {
  margin: 0 auto 10px;
  max-width: 1180px;
  padding: 0 clamp(14px, 4vw, 4px);
}

.listing-breadcrumbs a:hover {
  color: var(--deep);
}

.listing-detail-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) clamp(310px, 35vw, 390px);
}

.listing-main-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.listing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: grid;
  min-width: 0;
  overflow: hidden;
}

.listing-media-card {
  gap: 18px;
}

.listing-media-card .listing-gallery-main {
  aspect-ratio: 16 / 12;
  background: var(--foam);
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.listing-media-card .listing-gallery-main img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.listing-media-card .listing-gallery-main.listing-gallery-placeholder {
  align-items: center;
  color: #4f6670;
  display: flex;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.01em;
  text-align: center;
}

.listing-media-card .listing-gallery-main.listing-gallery-placeholder span {
  background: #f3fbfa;
  border: 1px dashed #b6d5d4;
  border-radius: 10px;
  padding: 12px 16px;
}

.listing-media-card .listing-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px 12px;
}

.listing-media-card .listing-gallery-thumb {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 10px;
  flex: 0 0 62px;
  height: 62px;
  overflow: hidden;
  padding: 0;
}

.listing-media-card .listing-gallery-thumb.active {
  border-color: #118b91;
}

.listing-media-card .listing-gallery-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.listing-summary-card {
  padding: 0 20px 20px;
  display: grid;
  gap: 8px;
}

.listing-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.listing-summary-card h1 {
  color: var(--deep);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  line-height: 1.15;
  margin: 0;
}

.listing-summary-card p {
  color: #4f6670;
  line-height: 1.55;
  margin: 0;
}

.listing-summary-price--mobile {
  color: var(--deep);
  display: none;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 950;
  margin: 0;
}

.listing-action-card {
  gap: 14px;
  padding: 20px;
  position: sticky;
  top: 94px;
}

.listing-action-price {
  color: var(--deep);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 950;
  margin: 0;
}

.listing-action-buttons {
  display: grid;
  gap: 10px;
}

.listing-action-buttons .solid-button,
.listing-action-buttons .ghost-button {
  width: 100%;
}

.listing-helper {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.48;
  margin: 0;
}

.listing-detail-panels {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.listing-panel {
  padding: 20px;
  border-radius: 14px;
  min-width: 0;
}

.listing-panel-heading {
  display: block;
  margin-bottom: 6px;
}

.listing-panel h2 {
  color: var(--deep);
  font-size: 1.18rem;
  margin: 0 0 10px;
}

.listing-panel p {
  color: #4f6670;
  line-height: 1.55;
  margin: 0;
}

.listing-panel p + p {
  margin-top: 8px;
}

.listing-detail-empty {
  color: var(--muted);
  margin: 0;
}

.listing-meta-grid {
  display: grid;
  gap: 8px;
}

.listing-meta-row {
  display: grid;
  gap: 4px 12px;
  grid-template-columns: minmax(110px, 0.32fr) minmax(0, 1fr);
  row-gap: 8px;
}

.listing-meta-label {
  color: #5b747c;
  font-size: 0.85rem;
}

.listing-meta-value {
  color: #1b3e4a;
  font-size: 0.98rem;
  font-weight: 700;
}

.listing-meta-row + .listing-meta-row {
  padding-top: 8px;
  border-top: 1px solid #e5f0f0;
}

.listing-panel-note {
  background: linear-gradient(180deg, #fff 0, #f8fcfb 100%);
}


.dashboard-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 39, 49, 0.92), rgba(6, 61, 77, 0.68)),
    url("https://images.unsplash.com/photo-1587135941948-670b381f08ce?auto=format&fit=crop&w=1800&q=82") center / cover;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  padding: clamp(46px, 7vw, 92px) clamp(16px, 4vw, 52px);
}

.seller-dashboard-access {
  background: var(--paper);
  display: grid;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 92px) clamp(16px, 4vw, 52px);
  place-items: center;
}

.seller-dashboard-access-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  max-width: 560px;
  padding: clamp(24px, 5vw, 38px);
}

.seller-dashboard-access-panel h1,
.seller-dashboard-access-panel p {
  margin: 0;
}

.seller-dashboard-body {
  background: var(--paper);
}

.seller-start-body {
  background: var(--paper);
}

.seller-start-header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 52px);
}

.seller-start-main {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 52px);
}

.seller-start-hero {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.seller-start-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  margin: 8px 0 16px;
  max-width: 760px;
}

.seller-start-hero > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 680px;
}

.seller-start-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seller-start-login {
  min-height: 48px;
}

.seller-start-safety,
.seller-status-panel,
.seller-application-page {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seller-start-safety {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.seller-start-safety ul {
  color: var(--muted);
  display: grid;
  gap: 12px;
  line-height: 1.45;
  margin: 0;
  padding-left: 20px;
}

.seller-benefits {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 54px 0;
}

.seller-benefits article {
  border-top: 2px solid var(--aqua);
  padding: 18px 0 0;
}

.seller-benefits strong {
  color: var(--coral);
  font-size: 0.86rem;
}

.seller-benefits h2 {
  font-size: 1.08rem;
  margin: 12px 0 8px;
}

.seller-benefits p,
.seller-status-panel p,
.seller-application-page-heading p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.seller-status-panel {
  display: grid;
  gap: 12px;
  margin: 36px auto;
  max-width: 680px;
  padding: clamp(24px, 5vw, 42px);
}

.seller-status-panel h2,
.seller-application-page-heading h2 {
  margin: 0;
}

.seller-application-page {
  margin: 36px auto 0;
  max-width: 860px;
  padding: clamp(22px, 5vw, 42px);
}

.seller-application-page-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.seller-application-page .seller-application-form {
  display: grid;
  gap: 20px;
}

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

.seller-sidebar {
  align-items: stretch;
  background: #ffffff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100vh;
  padding: 24px 18px;
  position: sticky;
  top: 0;
}

.seller-sidebar-nav {
  display: grid;
  gap: 4px;
}

.seller-sidebar-nav a,
.seller-sidebar-nav button,
.seller-sidebar-footer a,
.seller-sidebar-footer button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  display: flex;
  font: inherit;
  justify-content: space-between;
  min-height: 42px;
  padding: 8px 10px;
  text-align: left;
  text-decoration: none;
}

.seller-sidebar-nav button {
  cursor: pointer;
  width: 100%;
}

.seller-sidebar-nav a:hover,
.seller-sidebar-nav button:hover,
.seller-sidebar-nav .active {
  background: var(--aqua-pale);
  color: var(--reef-deep);
}

.seller-sidebar-nav span {
  color: var(--muted);
  font-size: 0.85rem;
}

.seller-sidebar-footer {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 16px;
}

.seller-sidebar-footer button {
  cursor: pointer;
}

.seller-dashboard-main {
  min-width: 0;
}

.seller-dashboard-header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 28px 40px;
}

.seller-dashboard-header h1 {
  font-size: 1.8rem;
  margin: 4px 0 0;
}

.seller-profile-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.seller-profile-summary > span:last-child {
  color: var(--muted);
}

.seller-overview {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(210px, 1.5fr);
  padding: 28px 40px 0;
}

.seller-stat,
.seller-sales-placeholder {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  min-height: 108px;
  padding: 18px;
}

.seller-stat span,
.seller-sales-placeholder span {
  color: var(--muted);
  font-size: 0.88rem;
}

.seller-stat strong {
  color: var(--reef-deep);
  font-size: 2rem;
}

.seller-sales-placeholder strong {
  font-size: 0.95rem;
  line-height: 1.4;
}

.seller-workspace {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  padding: 28px 40px 48px;
}

.dashboard-form-actions,
.admin-grid,
.admin-panel,
.admin-queue,
.admin-card {
  display: grid;
  gap: 14px;
}

.dashboard-form-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-shell {
  background: var(--paper);
  min-height: calc(100vh - 72px);
  padding-bottom: clamp(96px, 12vh, 160px);
}

.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1220px;
  padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 52px);
}

.admin-panel {
  align-content: start;
  min-width: 0;
}

.admin-panel-disclosure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(8, 45, 55, 0.06);
  overflow: hidden;
}

.admin-panel-summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  padding: 16px 18px;
}

.admin-panel-summary > div {
  min-width: 0;
}

.admin-panel-summary::-webkit-details-marker {
  display: none;
}

.admin-panel-summary::after {
  border: solid #0a6870;
  border-width: 0 2px 2px 0;
  content: "";
  flex: 0 0 9px;
  height: 9px;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  width: 9px;
}

.admin-panel-disclosure[open] .admin-panel-summary {
  border-bottom: 1px solid var(--line);
}

.admin-panel-disclosure[open] .admin-panel-summary::after {
  transform: translateY(3px) rotate(225deg);
}

.admin-panel-summary h2,
.admin-panel-summary p {
  margin: 0;
}

.admin-panel-summary h2 {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.admin-panel-count {
  background: #eef8f7;
  border: 1px solid #cfe6e4;
  border-radius: 999px;
  color: #0a6870;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 9px;
  white-space: nowrap;
}

.admin-panel-disclosure .admin-queue {
  padding: 14px;
}

.admin-card,
.empty-admin {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 18px;
}

.admin-notification-unread {
  border-left: 4px solid #0a6870;
}

.admin-card h3,
.admin-card p {
  margin: 0;
}

.admin-seller-card-collapsible {
  padding: 0;
}

.admin-seller-disclosure {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.admin-seller-summary {
  cursor: pointer;
  justify-content: space-between;
  list-style: none;
}

.admin-seller-summary::-webkit-details-marker {
  display: none;
}

.admin-seller-summary .tag {
  flex: 0 0 auto;
}

.admin-seller-summary h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-seller-toggle {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--deep);
  display: inline-flex;
  flex: 0 0 auto;
  height: 32px;
  justify-content: center;
  margin-left: auto;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  width: 32px;
}

.admin-seller-toggle::before {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 8px;
  transform: rotate(45deg) translate(-1px, -1px);
  width: 8px;
}

.admin-seller-summary:hover .admin-seller-toggle {
  background: var(--foam);
  border-color: rgba(11, 86, 112, 0.32);
}

.admin-seller-disclosure[open] .admin-seller-toggle {
  transform: rotate(180deg);
}

.admin-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-hero h1 {
  max-width: 900px;
}

.dashboard-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 680px;
}

.dashboard-stats {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.dashboard-stats div {
  display: grid;
  gap: 4px;
  padding: 20px;
  text-align: center;
}

.dashboard-stats div + div {
  border-left: 1px solid var(--line);
}

.dashboard-stats strong {
  font-size: 2rem;
}

.dashboard-stats span {
  color: var(--muted);
  font-weight: 850;
}

.dashboard-layout {
  align-items: start;
  background: var(--paper);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  padding: clamp(42px, 6vw, 76px) clamp(16px, 4vw, 52px);
}

.account-shell {
  background: var(--paper);
  min-height: calc(100vh - 72px);
}

.account-nav {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-self: end;
}

.account-nav a {
  color: var(--deep);
  font-weight: 850;
}

.account-nav a:hover {
  color: var(--ocean);
}

.account-hero {
  background: var(--deep);
  color: #fff;
  padding: clamp(42px, 7vw, 84px) clamp(16px, 4vw, 52px);
}

.account-hero h1 {
  margin-bottom: 10px;
}

.account-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.account-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  margin: 0 auto;
  max-width: 1060px;
  padding: clamp(28px, 5vw, 60px) clamp(16px, 4vw, 52px);
}

.account-summary,
.account-profile-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 28px);
}

.account-summary h2,
.account-profile-form h2 {
  margin: 0;
}

.account-summary dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.account-summary dl div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
  padding-top: 14px;
}

.account-summary dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.account-summary dd {
  color: var(--deep);
  font-weight: 850;
  margin: 0;
  overflow-wrap: anywhere;
}

.dashboard-form,
.dashboard-listings {
  padding: clamp(20px, 4vw, 28px);
}

.dashboard-form {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 92px;
}

.dashboard-listing-grid {
  display: grid;
  gap: 14px;
}

.dashboard-listing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 148px minmax(0, 1fr);
  padding: 14px;
}

.dashboard-listing-image {
  aspect-ratio: 1;
  background: var(--foam);
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}

.dashboard-card-topline,
.dashboard-card-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.dashboard-listing-card p {
  margin-bottom: 12px;
}

.dashboard-card-actions {
  justify-content: flex-start;
  margin-top: 14px;
}

.empty-state {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 22px;
}

.empty-state[hidden] {
  display: none;
}

.empty-state h2,
.empty-state h3,
.empty-state p {
  margin-bottom: 0;
}

.legal-hero {
  background: var(--deep);
  color: #fff;
  padding: clamp(48px, 7vw, 94px) clamp(16px, 4vw, 52px);
}

.legal-hero h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  margin-bottom: 16px;
}

.legal-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.legal-content {
  background: #fff;
  display: grid;
  gap: 16px;
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(34px, 6vw, 72px) clamp(16px, 4vw, 52px);
}

.legal-content h2 {
  border-top: 1px solid var(--line);
  color: var(--deep);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin-top: 10px;
  padding-top: 24px;
}

.legal-content p {
  font-size: 1rem;
  margin-bottom: 0;
}

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: clamp(38px, 6vw, 70px) clamp(16px, 4vw, 52px) 24px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1220px;
}

.site-footer .brand {
  margin-bottom: 14px;
}

.site-footer .brand-mark {
  background: var(--ocean);
}

.site-footer h2 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 12px;
}

.site-footer p,
.site-footer a,
.site-footer button,
.footer-bottom {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer p {
  margin-bottom: 0;
  max-width: 320px;
}

.site-footer nav,
.footer-contact {
  display: grid;
  gap: 9px;
  align-content: start;
}

.site-footer a,
.site-footer button {
  background: transparent;
  border: 0;
  font-weight: 700;
  padding: 0;
  text-align: left;
}

.site-footer a:hover,
.site-footer button:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 34px auto 0;
  max-width: 1220px;
  padding-top: 18px;
}

.modal {
  border: 0;
  max-height: calc(100vh - 28px);
  max-width: min(720px, calc(100vw - 28px));
  overflow: auto;
  padding: 0;
  width: 100%;
}

.modal::backdrop {
  background: rgba(6, 32, 40, 0.64);
}

.modal-panel {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 30px);
  position: relative;
}

.seller-access-panel {
  max-width: 560px;
}

.seller-access-panel p:not(.eyebrow) {
  margin-bottom: 4px;
}

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

.auth-status {
  background: #eef8f6;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--deep);
  font-size: 0.92rem;
  padding: 10px 12px;
}

.listing-change-request-notice {
  background: linear-gradient(135deg, #fff9ef 0%, #fff2d4 100%);
  border-color: #f1c85a;
  box-shadow: 0 10px 24px -16px rgba(112, 84, 8, 0.45);
}

.listing-change-request-summary {
  border-bottom: 1px solid rgba(193, 128, 0, 0.2);
  font-weight: 850;
  padding-bottom: 8px;
  line-height: 1.35;
}

.admin-note,
.admin-note *,
.listing-admin-note,
.listing-admin-note *,
.listing-change-request-admin-note,
.listing-change-request-admin-note *,
.message-preview-note,
.message-preview-note * {
  background: #fff7e6;
  border-left: 4px solid #f59e0b;
  color: #7c2d12 !important;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.4;
}

.listing-change-request-admin-note {
  margin: 10px 0 0;
}

.form-message {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 0;
}

.form-message:not(:empty) {
  background: #eef8f6;
  border: 1px solid var(--line);
  color: var(--deep);
  padding: 10px 12px;
}

.form-message.error:not(:empty) {
  background: #fff1ef;
  border-color: #f2b6ad;
  color: #8f2e22;
}

.auth-reset-button {
  align-self: start;
  background: transparent;
  border: 0;
  color: var(--ocean);
  font-size: 0.88rem;
  font-weight: 850;
  padding: 2px 0;
  text-decoration: underline;
}

.auth-reset-button:hover {
  color: var(--deep);
}

.seller-application-form {
  display: grid;
  gap: 14px;
}

.seller-application-form select {
  padding-right: 36px;
  width: 100%;
}

.application-section {
  border: 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px 0 0;
}

.application-section legend {
  color: var(--deep);
  font-weight: 900;
  padding: 0 8px 0 0;
}

.application-check-group {
  display: grid;
  gap: 8px;
}

.application-check-group > span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

.application-check-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.application-check-options label,
.agreement-item {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  font-size: 0.9rem;
  font-weight: 400;
  gap: 8px;
  line-height: 1.45;
}

.application-check-options input,
.application-agreements input {
  flex: 0 0 auto;
  margin: 3px 0 0;
}

.application-agreements label {
  color: inherit;
  display: block;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.application-agreements a {
  color: var(--ocean);
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.application-agreements {
  gap: 10px;
}

.application-review-grid {
  display: grid;
  gap: 10px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.application-review-grid div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 3px;
  padding-top: 10px;
}

.application-review-grid dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
}

.application-review-grid dd {
  color: var(--deep);
  font-size: 0.9rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.application-review-copy {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 5px;
  padding-top: 12px;
}

.application-review-copy p {
  color: var(--muted);
  line-height: 1.5;
}

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

.wide {
  grid-column: 1 / -1;
}

.icon-button {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  height: 38px;
  min-height: 38px;
  padding: 0;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
}

.toast {
  background: var(--deep);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: var(--shadow);
  color: #fff;
  font-weight: 800;
  left: 50%;
  max-width: min(640px, calc(100vw - 32px));
  opacity: 0;
  padding: 12px 16px;
  pointer-events: none;
  position: fixed;
  text-align: center;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 30;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 960px) {
  .featured-carousel-track {
    grid-auto-columns: calc((100% - 28px) / 3);
  }

  .marketplace-topbar .menu-wrap {
    display: block;
  }

  .marketplace-topbar .desktop-primary-nav,
  .marketplace-topbar .marketplace-account-area {
    display: none;
  }

  .marketplace-topbar .cart-icon-button {
    display: inline-flex;
  }

  .unified-dashboard {
    grid-template-columns: 1fr;
  }

  .unified-sidebar {
    gap: 14px;
    height: auto;
    padding: 16px 20px;
    position: static;
  }

  .unified-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .unified-sidebar-footer {
    display: flex;
    margin-top: 0;
  }

  .unified-header,
  .dashboard-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .seller-start-hero {
    grid-template-columns: 1fr;
  }

  .seller-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-dashboard-shell {
    grid-template-columns: 1fr;
  }

  .seller-sidebar {
    gap: 16px;
    height: auto;
    padding: 16px 20px;
    position: static;
  }

  .seller-sidebar-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seller-sidebar-footer {
    display: flex;
    margin-top: 0;
  }

  .seller-dashboard-header,
  .seller-overview,
  .seller-workspace {
    padding-left: 24px;
    padding-right: 24px;
  }

  .seller-overview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .seller-sales-placeholder {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .seller-workspace {
    grid-template-columns: 1fr;
  }

  .topbar {
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  }

  .hero,
  .intro-section,
  .experience-hero,
  .report-layout,
  .listing-detail-layout,
  .listing-detail-panels,
  .dashboard-hero,
  .dashboard-layout,
  .admin-grid,
  .account-grid,
  .promote-hero,
  .promotion-payment,
  .path-grid,
  .seller-flow,
  .market-layout,
  .sell-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .trust-strip,
  .category-grid,
  .process-grid,
  .product-grid,
  .sponsor-grid,
  .market-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promotion-packages {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .dashboard-form {
    position: static;
  }

  .report-guidance {
    position: static;
  }

  .inline-market-search {
    grid-template-columns: 1fr 1fr;
  }

  .sell-band {
    align-items: flex-start;
    display: grid;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-nav {
    display: none;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .experience-hero {
    min-height: auto;
  }

  .featured-listings-band {
    padding: 28px 14px;
  }

  .featured-carousel {
    grid-template-columns: 1fr;
  }

  .featured-carousel-button {
    display: none;
  }

  .featured-carousel-track {
    grid-auto-columns: 100%;
  }

  .featured-listing-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .featured-listing-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 104px;
  }

  .featured-listing-body {
    align-content: center;
  }

  .unified-sidebar {
    padding: 14px;
  }

  .unified-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unified-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 24px 14px;
  }

  .unified-header h1 {
    font-size: 1.55rem;
  }

  .dashboard-section {
    padding: 24px 14px 34px;
  }

  .seller-start-header {
    padding: 14px;
  }

  .seller-start-main {
    padding: 32px 14px;
  }

  .seller-start-hero h1 {
    font-size: 2.45rem;
  }

  .seller-benefits {
    gap: 24px;
    grid-template-columns: 1fr;
    margin: 38px 0;
  }

  .seller-sidebar {
    padding: 14px;
  }

  .seller-sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-sidebar-nav a,
  .seller-sidebar-nav button {
    font-size: 0.9rem;
  }

  .seller-dashboard-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 24px 14px;
  }

  .seller-dashboard-header h1 {
    font-size: 1.55rem;
  }

  .seller-profile-summary {
    justify-content: flex-start;
  }

  .seller-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px 14px 0;
  }

  .seller-sales-placeholder {
    grid-column: 1 / -1;
  }

  .seller-workspace {
    gap: 20px;
    padding: 20px 14px 34px;
  }

  .topbar {
    gap: 8px;
    padding: 12px 14px;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }

  .brand span:last-child {
    display: none;
  }

  .menu-button {
    height: 40px;
    width: 42px;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    grid-row: 2;
  }

  .header-search input {
    border-radius: 8px;
    min-height: 40px;
    padding: 8px 10px;
  }

  .header-search button {
    display: none;
  }

  .cart-icon-button {
    min-height: 40px;
    padding: 0 10px;
  }

  .cart-icon-button span {
    display: none;
  }

  .top-auth-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: flex-end;
  }

  .hero {
    padding: 36px 14px;
  }

  .intro-section,
  .report-layout,
  .listing-detail-panels,
  .dashboard-hero,
  .dashboard-layout,
  .promote-hero,
  .promotion-payment {
    padding: 36px 14px;
  }

  h1 {
    font-size: 2.8rem;
  }

  .hero-actions,
  .sell-actions,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    max-width: none;
  }

  .inline-market-search {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: auto;
  }

  .listing-detail-layout {
    grid-template-columns: 1fr;
  }

  .listing-action-card {
    position: static;
    top: auto;
  }

  .listing-action-price {
    display: none;
  }

  .listing-summary-price--mobile {
    display: block;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-stats div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .dashboard-listing-card {
    grid-template-columns: 1fr;
  }

  .dashboard-form-actions {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .category-grid,
  .process-grid,
  .product-grid,
  .help-grid,
  .sponsor-grid,
  .market-products,
  .seller-access-actions,
  .application-review-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .help-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared authenticated navigation */
.dashboard-nav-button,
.shared-header-controls .dashboard-nav-button {
  align-items: center;
  background: #eef7f6;
  border: 1px solid #abd5d3;
  border-radius: 8px;
  color: #086b73;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 850;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  white-space: nowrap;
}

.dashboard-nav-button:hover {
  background: #e1f2f0;
  border-color: #77bbb9;
}

.nav-avatar-button {
  align-items: center;
  background: transparent;
  border: 0;
  display: inline-flex;
  min-height: 42px;
  padding: 0;
}

.nav-avatar {
  background: #d9f0ee;
  border: 1px solid #acd9d6;
  border-radius: 50%;
  color: #075f68;
  display: inline-flex;
  flex: 0 0 auto;
  height: 40px;
  overflow: visible;
  position: relative;
  width: 40px;
}

.nav-avatar-initials,
.nav-avatar img {
  align-items: center;
  border-radius: inherit;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 100%;
  justify-content: center;
  letter-spacing: 0.04em;
  object-fit: cover;
  overflow: hidden;
  width: 100%;
}

.notification-badge {
  align-items: center;
  background: var(--coral);
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 900;
  height: 18px;
  justify-content: center;
  line-height: 1;
  min-width: 18px;
  padding: 0 4px;
  position: absolute;
  right: -6px;
  top: -5px;
}

.account-menu-profile {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  margin: -2px 0 8px;
  padding: 6px 5px 13px;
}

.nav-avatar-small {
  height: 36px;
  width: 36px;
}

.account-menu-profile > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.account-menu-profile strong {
  color: var(--deep);
  font-size: 0.86rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-profile small,
.notification-summary {
  color: var(--muted);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-summary {
  color: #0a727a;
  font-weight: 750;
}

.account-notification-section {
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  padding: 3px 5px 10px;
}

.account-notification-heading {
  align-items: center;
  display: flex;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 7px;
}

.account-notification-tab {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  display: inline-flex;
  font-weight: 650;
  gap: 6px;
  min-height: 2.05rem;
  padding: 0.25rem 0.7rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.account-notification-tab:hover {
  background-color: color-mix(in oklab, var(--ocean) 6%, transparent);
}

.account-notification-tab.active {
  border-color: color-mix(in oklab, var(--ocean) 30%, var(--line));
  color: var(--ink);
  font-weight: 800;
}

.account-notification-tab:focus-visible,
.account-notification-tab:hover {
  border-color: color-mix(in oklab, var(--ocean) 40%, var(--line));
}

.account-message-link {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.account-menu-message-link {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.account-message-badge {
  background: #eb445a;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1;
  min-width: 1rem;
  padding: 0.1rem 0.32rem;
  text-align: center;
}

.account-notification-section ul {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-notification-section li {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.account-notification-section li a {
  color: #385058;
  font-size: 0.75rem;
  line-height: 1.35;
  overflow: hidden;
  padding: 2px 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-notification-section li button {
  background: transparent;
  border: 0;
  color: var(--ocean);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 0;
}

.account-notification-section .notification-empty {
  color: var(--muted);
  display: block;
  font-size: 0.75rem;
  padding: 2px 0;
}

.shared-marketplace-header {
  grid-template-columns: auto auto minmax(180px, 1fr) auto;
}

.shared-marketplace-header .menu-wrap {
  display: none;
}

.shared-header-controls {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-self: end;
}

.shared-header-controls .homepage-guest-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.shared-header-controls .ghost-button,
.shared-header-controls .guest-create-button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 850;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  white-space: nowrap;
}

.shared-header-controls .ghost-button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.shared-header-controls .guest-create-button {
  background: var(--coral);
  border: 1px solid var(--coral);
  color: #fff;
}

.shared-header-controls .guest-create-button:hover {
  background: #c65647;
  border-color: #c65647;
}

.shared-account-menu {
  position: relative;
}

.shared-account-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(8, 45, 55, 0.16);
  min-width: 290px;
  padding: 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
}

.shared-account-panel nav {
  display: grid;
  gap: 2px;
}

.shared-account-panel nav a,
.shared-account-panel nav button {
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  padding: 9px 8px;
  text-align: left;
}

.shared-account-panel nav a:hover,
.shared-account-panel nav button:hover {
  background: var(--foam);
}

.mobile-create-account {
  background: var(--coral) !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .shared-marketplace-header {
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 64px;
    padding: 10px 14px;
  }

  .shared-marketplace-header .desktop-primary-nav,
  .shared-marketplace-header .header-search,
  .shared-header-controls .homepage-guest-actions,
  .shared-header-controls .dashboard-nav-button {
    display: none;
  }

  .shared-marketplace-header .menu-wrap {
    display: block;
    justify-self: end;
  }

  .shared-marketplace-header .shared-header-controls {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .shared-marketplace-header .menu-wrap {
    grid-column: 3;
    grid-row: 1;
  }

  .shared-marketplace-header .dropdown-menu {
    left: auto;
    right: 0;
  }

  .shared-account-panel {
    max-width: calc(100vw - 28px);
    right: -46px;
  }
}

/* Account dashboard refresh */
.unified-dashboard-body {
  background: #f4f7f8;
}

.unified-dashboard {
  grid-template-columns: 264px minmax(0, 1fr);
}

.unified-sidebar {
  background: #ffffff;
  border-right-color: #dfe7e9;
  gap: 30px;
  padding: 26px 16px 18px;
}

.unified-sidebar .brand {
  color: var(--deep);
  padding: 0 8px;
}

.unified-sidebar .brand-mark {
  background: var(--deep);
  border-radius: 11px;
}

.unified-nav {
  gap: 5px;
}

.unified-nav button,
.unified-sidebar-footer a,
.unified-sidebar-footer button {
  border-radius: 10px;
  gap: 12px;
  justify-content: flex-start;
  padding: 9px 12px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.unified-nav button svg {
  fill: none;
  flex: 0 0 auto;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

.unified-nav button span {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 760;
}

.unified-nav button small {
  color: #718287;
  font-size: 0.7rem;
  font-weight: 760;
  margin-left: auto;
  text-transform: capitalize;
}

.unified-nav button:hover,
.unified-nav button.active {
  background: #eaf6f5;
  color: #086d75;
}

.unified-nav button.active {
  box-shadow: inset 3px 0 0 var(--ocean);
}

.unified-sidebar-footer {
  gap: 3px;
  padding: 14px 4px 0;
}

.unified-sidebar-footer a,
.unified-sidebar-footer button {
  color: #60737a;
  font-size: 0.86rem;
  font-weight: 720;
}

.unified-sidebar-footer button {
  color: #8d4b43;
}

.unified-sidebar-footer a:hover,
.unified-sidebar-footer button:hover {
  background: #f4f7f8;
  color: var(--deep);
}

.unified-main {
  background: #f6f8f9;
}

.unified-header {
  background: rgba(255, 255, 255, 0.96);
  gap: 24px;
  min-height: 144px;
  padding: 28px clamp(28px, 4vw, 56px);
}

.account-header-identity,
.account-header-actions {
  align-items: center;
  display: flex;
  gap: 14px;
}

.account-header-identity {
  min-width: 0;
}

.account-header-identity > div {
  min-width: 0;
}

.account-avatar {
  align-items: center;
  background: #d9f0ee;
  border: 1px solid #b8dedb;
  border-radius: 50%;
  color: #075f68;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  letter-spacing: 0.04em;
  width: 52px;
}

.account-header-email {
  color: #66777d;
  font-size: 0.9rem;
  margin: 6px 0 0;
  overflow-wrap: anywhere;
}

.unified-header h1 {
  color: #102d36;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.12;
  margin: 0;
}

.account-header-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.member-badge,
.listing-status {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 850;
  justify-content: center;
  letter-spacing: 0.015em;
  line-height: 1;
  min-height: 27px;
  padding: 0 10px;
  white-space: nowrap;
}

.member-badge {
  background: #edf4f5;
  border-color: #dce8e9;
  color: #34525b;
}

.dashboard-section {
  margin: 0 auto;
  max-width: 1320px;
  padding: clamp(30px, 4vw, 48px) clamp(24px, 4vw, 56px) 58px;
}

.dashboard-section-heading {
  margin-bottom: 28px;
  max-width: 720px;
}

.dashboard-section-heading h2 {
  color: #102d36;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.12;
  margin: 0 0 8px;
}

.dashboard-section-heading > p:not(.eyebrow) {
  font-size: 0.98rem;
  margin: 0;
}

.dashboard-section .eyebrow {
  color: #d75f50;
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.account-summary-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.summary-card,
.dashboard-card,
.profile-preview,
.account-profile-form,
.empty-state-card,
.settings-card,
.seller-stat,
.dashboard-listings,
.listing-editor,
.future-panel,
.seller-status-inline {
  background: #ffffff;
  border: 1px solid #dde7e8;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(9, 45, 53, 0.035);
}

.summary-card {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  min-height: 136px;
  padding: 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.summary-card:hover,
.dashboard-card:hover,
.settings-card:hover {
  border-color: #bfd9db;
  box-shadow: 0 10px 22px rgba(9, 45, 53, 0.075);
  transform: translateY(-1px);
}

.summary-icon,
.empty-icon,
.upload-dropzone-icon {
  align-items: center;
  background: #eaf6f5;
  border-radius: 10px;
  color: #08737b;
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.summary-icon svg,
.empty-icon svg,
.upload-dropzone-icon svg,
.delivery-note svg,
.listing-photo-placeholder svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  width: 20px;
}

.summary-card > div {
  display: grid;
  gap: 3px;
}

.summary-card > div > span,
.seller-stat > span {
  color: #60737a;
  font-size: 0.78rem;
  font-weight: 740;
}

.summary-card strong {
  color: #12313a;
  font-size: 1.65rem;
  line-height: 1.15;
}

.summary-card a,
.text-link {
  background: transparent;
  border: 0;
  color: #08717a;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 0;
  text-align: left;
  text-decoration: none;
}

.summary-card a:hover,
.text-link:hover {
  color: #063d4d;
  text-decoration: underline;
}

.overview-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
}

.overview-main-column,
.overview-side-column {
  display: grid;
  gap: 18px;
}

.dashboard-card {
  padding: 22px;
}

.card-heading,
.section-heading-row,
.section-heading.compact,
.listing-action-bar,
.form-footer {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.card-heading h3,
.profile-preview h3,
.account-profile-form h3,
.settings-card h3,
.listing-form-group h3,
.dashboard-listing-card h3 {
  color: #15323b;
  font-size: 1.04rem;
  margin: 0;
}

.compact-empty {
  align-items: center;
  border-top: 1px solid #edf1f2;
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
}

.compact-empty .empty-icon {
  background: #f2f6f6;
  color: #6b8187;
}

.compact-empty p,
.dashboard-card p,
.settings-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.overview-listing-status {
  border-top: 1px solid #edf1f2;
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
}

.overview-listing-status p {
  margin: 0;
}

.overview-listing-numbers {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.overview-listing-numbers strong {
  color: #16343d;
  font-size: 1.25rem;
}

.overview-listing-numbers span {
  color: #718187;
  font-size: 0.8rem;
  margin-right: 9px;
}

.completion-card .card-heading > strong {
  color: #0a7780;
  font-size: 1.12rem;
}

.completion-meter {
  background: #e9eff0;
  border-radius: 999px;
  height: 7px;
  margin: 16px 0 12px;
  overflow: hidden;
}

.completion-meter span {
  background: #0b7c86;
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 240ms ease;
  width: 0;
}

.seller-status-card > div {
  display: grid;
  gap: 9px;
}

.seller-status-card h3 {
  margin: 0;
}

.quick-action-list {
  display: grid;
  gap: 3px;
  margin-top: 12px;
}

.quick-action-list a,
.quick-action-list button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #34545c;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 720;
  padding: 9px 8px;
  text-align: left;
}

.quick-action-list a:hover,
.quick-action-list button:hover {
  background: #eff7f7;
  color: #076b73;
}

.profile-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(210px, 0.45fr) minmax(0, 1fr);
  max-width: 960px;
}

.profile-preview {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.profile-preview p {
  font-size: 0.86rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.large-avatar {
  font-size: 1.06rem;
  height: 68px;
  width: 68px;
}

.account-profile-form,
.listing-editor {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 28px);
}

.profile-form-grid {
  gap: 18px;
}

.account-profile-form label,
.listing-editor label {
  color: #49616a;
  font-size: 0.82rem;
  font-weight: 780;
}

.account-profile-form label > span,
.listing-editor label > span {
  color: #294952;
}

.account-profile-form input,
.account-profile-form textarea,
.listing-editor input,
.listing-editor textarea,
.listing-editor select {
  border-color: #ceddde;
  border-radius: 9px;
  min-height: 45px;
}

.account-profile-form input[readonly] {
  background: #f5f8f8;
  color: #60747a;
}

.account-profile-form textarea,
.listing-editor textarea {
  line-height: 1.48;
  resize: vertical;
}

.account-profile-form small,
.listing-editor small {
  color: #718187;
  font-size: 0.74rem;
  font-weight: 620;
  line-height: 1.45;
}

.form-footer {
  border-top: 1px solid #e9eff0;
  padding-top: 18px;
}

.form-footer p {
  font-size: 0.8rem;
  margin: 0;
}

.empty-state-card {
  align-items: center;
  display: flex;
  gap: 18px;
  max-width: 680px;
  padding: 26px;
}

.empty-state-card .empty-icon {
  height: 46px;
  width: 46px;
}

.empty-state-card h3 {
  color: #15323b;
  margin: 0 0 5px;
}

.empty-state-card p {
  font-size: 0.92rem;
  margin: 0 0 14px;
}

.section-heading-row {
  align-items: end;
}

.seller-state {
  margin-bottom: 18px;
}

.future-panel,
.seller-status-inline {
  gap: 10px;
  max-width: 720px;
  padding: 22px;
}

.future-panel h3,
.future-panel p,
.seller-status-inline {
  margin: 0;
}

.seller-overview {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
}

.seller-stat {
  gap: 6px;
  min-height: 122px;
  padding: 18px;
}

.seller-stat strong {
  color: #12323b;
  font-size: 1.85rem;
  line-height: 1;
}

.seller-stat small {
  color: #7a898d;
  font-size: 0.73rem;
}

.dashboard-listings {
  margin-top: 18px;
  padding: 22px;
}

.section-heading.compact {
  align-items: flex-start;
  margin-bottom: 18px;
}

.section-heading.compact h3 {
  margin: 0;
}

.listing-filter-tabs {
  gap: 6px;
}

.listing-filter-tabs button {
  border-color: #d4e0e1;
  border-radius: 999px;
  color: #526a71;
  font-size: 0.78rem;
  font-weight: 760;
  padding: 0 12px;
}

.listing-filter-tabs button:hover,
.listing-filter-tabs button.active {
  background: #e9f6f5;
  border-color: #9fcecd;
  color: #076a72;
}

.empty-state {
  align-items: center;
  background: #f8fbfb;
  border: 1px dashed #cddfdf;
  border-radius: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 0 0 16px;
  padding: 22px;
}

.dashboard-listing-grid {
  gap: 12px;
}

.dashboard-listing-card {
  align-items: stretch;
  border-color: #e0e8e9;
  border-radius: 12px;
  gap: 18px;
  grid-template-columns: 122px minmax(0, 1fr);
  padding: 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.dashboard-listing-card:hover {
  border-color: #bcd8da;
  box-shadow: 0 8px 18px rgba(8, 45, 55, 0.06);
}

.dashboard-listing-image {
  background: #edf4f4;
  border-radius: 9px;
  overflow: hidden;
}

.dashboard-listing-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.listing-photo-placeholder {
  align-items: center;
  color: #7b979b;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 100px;
}

.listing-photo-placeholder svg {
  height: 28px;
  width: 28px;
}

.dashboard-listing-content {
  min-width: 0;
}

.dashboard-card-topline {
  gap: 12px;
}

.dashboard-card-topline > strong {
  color: #102f38;
  font-size: 1rem;
}

.dashboard-listing-card h3 {
  margin: 10px 0 4px;
  overflow-wrap: anywhere;
}

.listing-card-meta {
  color: #668087;
  font-size: 0.77rem;
  margin: 0;
}

.listing-card-description {
  color: #60747b;
  display: -webkit-box;
  font-size: 0.86rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 8px 0 0;
  overflow: hidden;
}

.dashboard-card-actions {
  gap: 8px;
  margin-top: 12px;
}

.dashboard-card-actions .ghost-button,
.dashboard-card-actions .text-link {
  min-height: 34px;
}

.listing-status.status-active { background: #e7f6ed; border-color: #b8e1c6; color: #17683c; }
.listing-status.status-pending_review { background: #fff6df; border-color: #f0d59b; color: #8b5c08; }
.listing-status.status-draft { background: #eef2f3; border-color: #d8e1e3; color: #5c7076; }
.listing-status.status-sold { background: #e8f2fc; border-color: #bfd8ee; color: #28638d; }
.listing-status.status-rejected,
.listing-status.status-suspended { background: #fceceb; border-color: #efc3bd; color: #a44034; }

.listing-form-group {
  border-top: 1px solid #e7edef;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(185px, 0.36fr) minmax(0, 1fr);
  padding-top: 20px;
}

.listing-form-group > div > p {
  font-size: 0.84rem;
  margin: 5px 0 0;
}

.delivery-note {
  align-items: center;
  background: #f2f8f8;
  border: 1px solid #d5e6e5;
  border-radius: 10px;
  color: #1e555d;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
}

.delivery-note svg { color: #087680; }
.delivery-note span { font-size: 0.88rem; font-weight: 800; }
.delivery-note small { margin-left: auto; }

.upload-dropzone {
  align-content: center;
  background: #fbfdfd;
  border: 1px dashed #a9cacc;
  border-radius: 12px;
  justify-items: center;
  min-height: 170px;
  padding: 20px;
  position: relative;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.upload-dropzone:hover {
  background: #f0f9f8;
  border-color: #2c9ca3;
}

.upload-dropzone input {
  cursor: pointer;
  height: 100%;
  inset: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
}

.upload-dropzone strong { color: #1a3c45; font-size: 0.9rem; }

.photo-preview-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
}

.photo-preview {
  background: #f4f8f8;
  border: 1px solid #dce7e8;
  border-radius: 9px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.photo-preview img { display: block; height: 86px; object-fit: cover; width: 100%; }
.photo-preview figcaption { color: #667a80; font-size: 0.68rem; overflow: hidden; padding: 7px; text-overflow: ellipsis; white-space: nowrap; }

.listing-action-bar {
  background: #fbfcfc;
  border-top: 1px solid #e4ecec;
  bottom: 0;
  margin: 0 -28px -28px;
  padding: 16px 28px;
  position: sticky;
  z-index: 2;
}

.submission-note { color: #667a80; font-size: 0.77rem; }
.dashboard-form-actions { display: flex; gap: 8px; grid-template-columns: none; }

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

.settings-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  min-height: 208px;
  padding: 22px;
}

.settings-card-danger { border-color: #ecd4cf; }
.settings-card .ghost-button,
.settings-card .text-link { align-self: flex-start; }

.solid-button,
.ghost-button {
  border-radius: 9px;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.solid-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.solid-button:disabled,
.ghost-button:disabled,
.text-link:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.unified-dashboard :focus-visible {
  outline: 3px solid rgba(12, 124, 134, 0.32);
  outline-offset: 2px;
}

.listing-editor input:invalid:not(:placeholder-shown),
.listing-editor textarea:invalid:not(:placeholder-shown) {
  border-color: #d3776d;
}

.toast.toast-error { background: #8a3429; }

.admin-hero {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding-block: clamp(36px, 5vw, 64px);
}

.admin-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-mfa-panel {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.admin-mfa-step,
.admin-mfa-form,
.admin-action-dialog form {
  display: grid;
  gap: 12px;
}

.admin-mfa-step {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.admin-mfa-step h2,
.admin-mfa-step p,
.admin-action-dialog h2,
.admin-action-dialog p {
  margin: 0;
}

.admin-mfa-qr {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  justify-self: center;
  max-width: 260px;
  padding: 12px;
  width: 100%;
}

.admin-mfa-form label,
.admin-action-dialog label {
  color: var(--deep);
  font-size: 0.85rem;
  font-weight: 800;
}

.admin-mfa-form input,
.admin-action-dialog textarea {
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  padding: 12px;
  width: 100%;
}

.admin-mfa-form input {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
}

.admin-card-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-listing-photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-listing-photo {
  aspect-ratio: 16 / 9;
  background: #edf4f4;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  width: 150px;
}

.admin-listing-photo:focus-visible {
  outline: 3px solid #74a8b8;
  outline-offset: 2px;
}

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

.admin-listing-details {
  color: var(--muted);
  white-space: pre-wrap;
}

.admin-listing-image-dialog {
  border: 0;
  border-radius: 10px;
  max-width: min(95vw, 1100px);
  padding: 12px;
  width: 100%;
}

.admin-listing-image-dialog::backdrop {
  background: rgb(2 24 34 / 65%);
}

.admin-listing-image-dialog-shell {
  display: grid;
  gap: 10px;
}

.admin-listing-image-dialog-shell img {
  border-radius: 8px;
  display: block;
  height: auto;
  max-height: calc(100vh - 180px);
  max-width: min(95vw, 1080px);
  object-fit: contain;
  width: auto;
}

.admin-listing-image-close {
  justify-self: end;
  min-height: 33px;
  padding: 0.5rem 0.9rem;
  width: auto;
}

.admin-audit-card {
  gap: 9px;
}

.admin-danger-action {
  color: #9b3d32;
}

.admin-danger-action:hover {
  color: #6f251d;
}

.admin-action-dialog {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 22px 70px rgb(4 31 44 / 28%);
  color: var(--deep);
  max-width: 520px;
  padding: 24px;
  width: calc(100% - 32px);
}

.admin-action-dialog::backdrop {
  background: rgb(2 24 34 / 65%);
}

.admin-action-dialog small {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .account-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-layout { grid-template-columns: minmax(0, 1.2fr) minmax(245px, 0.8fr); }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-card { min-height: 0; }
}

@media (max-width: 700px) {
  .admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-hero-actions {
    width: 100%;
  }

  .admin-panel-summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .admin-panel-count {
    order: 3;
  }
}

@media (max-width: 900px) {
  .unified-dashboard { grid-template-columns: 1fr; }
  .unified-sidebar {
    gap: 12px;
    height: auto;
    padding: 14px 18px;
    position: static;
  }
  .unified-sidebar .brand { padding: 0; }
  .unified-nav {
    display: flex;
    gap: 6px;
    margin: 0 -18px;
    overflow-x: auto;
    padding: 0 18px 4px;
    scrollbar-width: none;
  }
  .unified-nav::-webkit-scrollbar { display: none; }
  .unified-nav button { flex: 0 0 auto; min-height: 40px; padding: 8px 11px; }
  .unified-nav button.active { box-shadow: inset 0 -3px 0 var(--ocean); }
  .unified-sidebar-footer { border-top: 0; display: flex; gap: 6px; margin: 0; padding: 0; }
  .unified-sidebar-footer a,
  .unified-sidebar-footer button { min-height: 32px; padding: 5px 8px; }
  .unified-header { min-height: 0; }
  .overview-layout,
  .profile-layout { grid-template-columns: 1fr; }
  .profile-preview { align-items: center; display: flex; flex-wrap: wrap; }
  .profile-preview p { margin-right: auto; }
  .seller-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .unified-header,
  .account-header-actions,
  .section-heading-row,
  .section-heading.compact,
  .listing-action-bar,
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .unified-header { gap: 18px; padding: 22px 16px; }
  .account-header-actions { align-items: stretch; width: 100%; }
  .account-header-actions .ghost-button,
  .account-header-actions .solid-button { width: 100%; }
  .member-badge { align-self: flex-start; }
  .dashboard-section { padding: 28px 16px 42px; }
  .account-summary-grid { grid-template-columns: 1fr 1fr; }
  .summary-card { min-height: 122px; padding: 14px; }
  .summary-card .summary-icon { display: none; }
  .overview-layout { gap: 14px; }
  .dashboard-card,
  .account-profile-form,
  .listing-editor,
  .dashboard-listings { padding: 18px; }
  .empty-state-card { align-items: flex-start; flex-direction: column; }
  .listing-form-group { grid-template-columns: 1fr; }
  .delivery-note { align-items: flex-start; flex-direction: column; }
  .delivery-note small { margin-left: 0; }
  .listing-action-bar { margin: 0 -18px -18px; padding: 14px 18px; }
  .dashboard-form-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .dashboard-form-actions .solid-button,
  .dashboard-form-actions .ghost-button { width: 100%; }
  .dashboard-listing-card { grid-template-columns: 92px minmax(0, 1fr); padding: 10px; }
  .dashboard-listing-image { min-height: 92px; }
  .dashboard-card-actions { align-items: flex-start; flex-direction: column; }
  .dashboard-card-actions .ghost-button { width: 100%; }
  .seller-overview { gap: 10px; }
  .seller-stat { min-height: 108px; padding: 14px; }
  .admin-listing-photo { width: 120px; }
  .listing-filter-tabs { width: 100%; }
  .listing-filter-tabs button { flex: 1 1 auto; }
  .photo-preview-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Profile photo controls */
.account-avatar-image {
  background: #d9f0ee;
  border: 1px solid #b8dedb;
  border-radius: 50%;
  display: block;
  flex: 0 0 auto;
  height: 52px;
  object-fit: cover;
  width: 52px;
}

.header-edit-profile {
  align-self: center;
  white-space: nowrap;
}

.profile-photo-actions {
  display: grid;
  gap: 9px;
  margin-top: 6px;
}

.profile-photo-actions .ghost-button {
  justify-self: start;
}

.profile-photo-actions .text-link {
  justify-self: start;
}

.profile-photo-actions small,
.profile-character-count {
  color: #718187;
  font-size: 0.74rem;
  line-height: 1.45;
}

.profile-character-count {
  display: block;
  margin-top: -2px;
}

.visually-hidden {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

@media (max-width: 640px) {
  .header-edit-profile {
    align-self: flex-start;
  }

  .profile-photo-actions {
    flex: 1 0 100%;
  }
}

/* Account dashboard layout refinement */
.unified-dashboard-body {
  background: #edf3f4;
  overflow-x: hidden;
}

.unified-dashboard {
  background: #f6f8f9;
  border: 1px solid #dce6e8;
  border-radius: 20px;
  grid-template-columns: 244px minmax(0, 1fr);
  margin: 20px auto;
  max-width: 1440px;
  min-height: calc(100vh - 40px);
}

.unified-sidebar {
  border-radius: 20px 0 0 20px;
  gap: 24px;
  min-width: 0;
  padding: 24px 14px 18px;
  position: static;
}

.unified-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.unified-nav button {
  min-height: 46px;
  width: 100%;
}

.unified-nav button:focus-visible,
.summary-card:focus-visible {
  outline: 3px solid rgba(12, 124, 134, 0.35);
  outline-offset: 2px;
}

.unified-sidebar-footer {
  margin-top: auto;
}

.unified-main {
  min-width: 0;
}

.unified-header {
  align-items: center;
  border-radius: 0 20px 0 0;
  gap: 20px;
  min-height: 0;
  padding: 24px clamp(28px, 4vw, 46px);
}

.account-header-identity {
  gap: 16px;
}

.account-header-copy {
  display: grid;
  gap: 3px;
}

.account-header-copy .eyebrow {
  margin: 0;
}

.account-header-details {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.account-header-email {
  margin: 0;
}

.account-header-actions {
  gap: 8px;
}

.account-header-actions .member-badge {
  margin-right: 4px;
}

.dashboard-section {
  max-width: none;
  padding: clamp(28px, 3.5vw, 42px) clamp(24px, 4vw, 46px) 48px;
}

.dashboard-section-heading {
  margin-bottom: 22px;
}

.account-summary-grid {
  gap: 12px;
  margin-bottom: 16px;
}

.summary-card {
  appearance: none;
  cursor: pointer;
  font: inherit;
  min-height: 128px;
  padding: 16px;
  text-align: left;
  width: 100%;
}

.summary-card:hover {
  border-color: #a9d1d2;
  transform: translateY(-1px);
}

.summary-card-content {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.summary-card-label {
  color: #60737a;
  font-size: 0.78rem;
  font-weight: 740;
}

.summary-card strong {
  font-size: 1.55rem;
}

.summary-card-action {
  color: #08747c;
  font-size: 0.78rem;
  font-weight: 760;
  margin-top: 2px;
}

.overview-layout {
  gap: 16px;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.8fr);
}

.overview-main-column,
.overview-side-column {
  gap: 16px;
}

.dashboard-card {
  padding: 20px;
}

.compact-empty {
  min-height: 0;
  padding: 18px 0 2px;
}

@media (max-width: 1200px) {
  .unified-dashboard {
    border-radius: 16px;
    grid-template-columns: 236px minmax(0, 1fr);
    margin: 14px auto;
    min-height: calc(100vh - 28px);
  }

  .unified-sidebar {
    border-radius: 16px 0 0 16px;
  }

  .unified-header {
    border-radius: 0 16px 0 0;
  }

  .overview-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(245px, 0.85fr);
  }
}

@media (max-width: 1024px) {
  .unified-dashboard {
    border: 0;
    border-radius: 0;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    max-width: none;
    min-height: 100vh;
  }

  .unified-sidebar {
    border-bottom: 1px solid #dce6e8;
    border-radius: 0;
    gap: 12px;
    height: auto;
    padding: 16px 24px 12px;
  }

  .unified-nav {
    flex-direction: row;
    margin: 0 -24px;
    overflow-x: auto;
    padding: 0 24px 8px;
    scrollbar-width: none;
  }

  .unified-nav::-webkit-scrollbar {
    display: none;
  }

  .unified-nav button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 12px;
    width: auto;
  }

  .unified-nav button.active {
    box-shadow: inset 0 -3px 0 var(--ocean);
  }

  .unified-sidebar-footer {
    border-top: 0;
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
  }

  .unified-header {
    border-radius: 0;
    padding: 22px 24px;
  }

  .overview-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .overview-side-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .unified-sidebar {
    padding: 14px 16px 10px;
  }

  .unified-nav {
    margin: 0 -16px;
    padding: 0 16px 8px;
  }

  .unified-header,
  .account-header-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .unified-header {
    gap: 16px;
    padding: 20px 16px;
  }

  .account-header-actions {
    width: 100%;
  }

  .account-header-actions .ghost-button,
  .account-header-actions .solid-button {
    width: 100%;
  }

  .dashboard-section {
    padding: 26px 16px 40px;
  }

  .account-summary-grid,
  .overview-side-column {
    grid-template-columns: 1fr;
  }

  .summary-card {
    min-height: 104px;
  }

  .summary-card .summary-icon {
    display: flex;
  }
}

/* Account dashboard visual polish */
.unified-dashboard-body {
  background: #f5f8f8;
}

.unified-dashboard {
  border-color: #dbe7e8;
  box-shadow: 0 18px 44px rgba(6, 44, 62, 0.06);
}

.unified-sidebar {
  background: #fcfefe;
  border-right-color: #dce9e9;
}

.unified-nav button {
  color: #118b91;
  position: relative;
}

.unified-nav button span {
  color: #3f5a61;
}

.unified-nav button small {
  color: #64787d;
}

#message-unread-count {
  background: #f06f61;
  border-radius: 999px;
  color: #fff;
  line-height: 1;
  min-width: 20px;
  padding: 4px 6px;
  text-align: center;
}

.message-preview-list {
  background: #fff;
  border: 1px solid #dce8e8;
  border-radius: 14px;
  display: grid;
  overflow: hidden;
}

.message-preview {
  align-items: start;
  border-bottom: 1px solid #e8eeee;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 16px 18px;
}

.message-preview:last-child { border-bottom: 0; }
.message-preview.unread { background: #f2fbfa; box-shadow: inset 3px 0 0 #118b91; }
.message-preview.selected { background: #fff8f6; box-shadow: inset 3px 0 0 #f06f61; }
.message-preview-label { color: #08747c; font-size: 0.76rem; font-weight: 850; }
.message-preview-body { display: grid; gap: 6px; }
.message-preview-title { color: #0a4c5a; font-size: 0.92rem; font-weight: 850; margin: 5px 0 0; }
.message-preview-note {
  margin: 0;
  overflow-wrap: anywhere;
}
.message-preview p { color: #294a54; margin: 5px 0 0; overflow-wrap: anywhere; }
.message-preview time { color: #71868b; flex: 0 0 auto; font-size: 0.78rem; }

@media (max-width: 560px) {
  .message-preview { gap: 9px; padding: 14px; }
}

.unified-nav button:hover,
.unified-nav button.active {
  background: #e8f5f3;
  color: #087b82;
}

.unified-nav button:hover span,
.unified-nav button.active span {
  color: #063d4d;
}

.unified-nav button.active {
  box-shadow: inset 3px 0 0 #f06f61;
}

.unified-sidebar-footer {
  border-top-color: #e5eeee;
}

.unified-main {
  background: #f7fafa;
}

.unified-header {
  background:
    radial-gradient(circle at 86% 12%, rgba(17, 139, 145, 0.12) 0 1px, transparent 1.5px) 0 0 / 22px 22px,
    linear-gradient(112deg, #e8f5f3 0%, #edf6fa 56%, #fffaf5 100%);
  border-bottom: 1px solid #d8e8e8;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.unified-header::before {
  background: radial-gradient(circle, rgba(17, 139, 145, 0.13) 0 28%, transparent 29%);
  border-radius: 50%;
  content: "";
  height: 240px;
  pointer-events: none;
  position: absolute;
  right: -96px;
  top: -144px;
  width: 240px;
  z-index: 0;
}

.unified-header > * {
  position: relative;
  z-index: 1;
}

.account-header-identity {
  gap: 18px;
}

.account-avatar,
.account-avatar-image {
  background: #dff2ef;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #118b91, 0 7px 16px rgba(6, 44, 62, 0.13);
  color: #08777e;
  height: 56px;
  width: 56px;
}

.account-avatar-image.large-avatar,
.account-avatar.large-avatar {
  height: 76px;
  width: 76px;
}

.account-header-copy {
  gap: 5px;
}

.account-header-copy .eyebrow {
  color: #087d85;
}

.account-header-email {
  color: #526c73;
}

.account-header-actions {
  gap: 9px;
}

.account-header-actions .member-badge {
  background: rgba(255, 255, 255, 0.74);
  border-color: #bfdcda;
  color: #075f68;
}

.dashboard-section-heading h2,
.unified-header h1 {
  color: #062c3e;
}

.dashboard-section .eyebrow {
  color: #d65e52;
}

.account-summary-grid {
  gap: 14px;
}

.summary-card {
  border-color: #dce8e8;
  min-height: 122px;
  overflow: hidden;
  padding: 16px;
  position: relative;
}

.summary-card::before {
  background: #b8e3df;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.summary-card:hover {
  border-color: #93cfcf;
  box-shadow: 0 12px 24px rgba(6, 44, 62, 0.09);
  transform: translateY(-2px);
}

.summary-card:active,
.solid-button:active,
.ghost-button:active {
  transform: translateY(0);
}

.summary-icon {
  border-radius: 11px;
  height: 40px;
  width: 40px;
}

.summary-card-saved::before { background: #72c9bf; }
.summary-card-messages::before { background: #8abbd1; }
.summary-card-orders::before { background: #e8c985; }
.summary-card-listings::before { background: #f1a097; }
.summary-card-saved .summary-icon { background: #e8f5f3; color: #0b7c80; }
.summary-card-messages .summary-icon { background: #edf6fa; color: #397a9b; }
.summary-card-orders .summary-icon { background: #fff7ed; color: #9a6d1f; }
.summary-card-listings .summary-icon { background: #fdefec; color: #c55549; }

.summary-card-label {
  color: #516a70;
  font-size: 0.76rem;
}

.summary-card strong {
  color: #062c3e;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.summary-card-action {
  color: #08777e;
}

.dashboard-card,
.profile-preview,
.account-profile-form,
.empty-state-card,
.settings-card,
.seller-stat,
.dashboard-listings,
.listing-editor,
.future-panel,
.seller-status-inline {
  border-color: #dce8e8;
  box-shadow: 0 5px 16px rgba(6, 44, 62, 0.035);
}

.dashboard-card:hover,
.settings-card:hover {
  border-color: #b9d8d8;
  box-shadow: 0 10px 24px rgba(6, 44, 62, 0.07);
}

.card-heading h3,
.profile-preview h3,
.account-profile-form h3,
.settings-card h3,
.listing-form-group h3,
.dashboard-listing-card h3 {
  color: #0a3748;
}

.compact-empty {
  align-items: flex-start;
  border-top-color: #e7efef;
}

.compact-empty > div {
  display: grid;
  gap: 5px;
}

.compact-empty .text-link {
  justify-self: start;
}

.overview-listing-status {
  border-top-color: #e7efef;
}

.completion-card {
  background: linear-gradient(135deg, #ffffff 0%, #fbfefd 100%);
}

.completion-meter {
  background: #deebeb;
  margin-bottom: 10px;
}

.completion-meter span {
  background: linear-gradient(90deg, #118b91, #39a7a1);
}

.profile-completion-list {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 14px 0 4px;
  padding: 0;
}

.profile-completion-list li {
  align-items: center;
  color: #60767b;
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 8px;
}

.profile-completion-list li::before {
  border: 1.5px solid #a9bec0;
  border-radius: 50%;
  content: "";
  height: 12px;
  width: 12px;
}

.profile-completion-list li.complete {
  color: #255d61;
}

.profile-completion-list li.complete::before {
  background: #118b91;
  border-color: #118b91;
  box-shadow: inset 0 0 0 3px #e8f5f3;
}

.profile-completion-list small {
  color: #819398;
  font-size: 0.7rem;
  font-weight: 650;
  margin-left: auto;
}

.profile-completion-list .complete small {
  color: #087b82;
}

.seller-status-card {
  background: linear-gradient(135deg, #fff 0%, #fffaf5 100%);
}

.seller-status-card .listing-status {
  width: fit-content;
}

.empty-state-card {
  background: linear-gradient(135deg, #fff 0%, #fbfefd 100%);
  border-style: dashed;
}

[data-section="messages"] .empty-state-card .empty-icon { background: #edf6fa; color: #397a9b; }
[data-section="saved"] .empty-state-card .empty-icon { background: #e8f5f3; color: #0a7b80; }
[data-section="orders"] .empty-state-card .empty-icon { background: #fff7ed; color: #9a6d1f; }

.profile-preview {
  background: linear-gradient(145deg, #edf8f7 0%, #fff 62%);
}

.profile-photo-actions .ghost-button {
  min-height: 42px;
}

.account-profile-form input[readonly] {
  background: #f4f8f8;
  border-color: #dbe7e8;
}

.listing-status.status-paused { background: #fff7ed; border-color: #ecd29c; color: #8d6216; }
.listing-status.status-shipped { background: #edf6fa; border-color: #bed9e7; color: #2f6d8c; }
.listing-status.status-delivered { background: #e7f6ed; border-color: #b8e1c6; color: #17683c; }

.settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
}

.unified-dashboard :focus-visible {
  outline-color: rgba(17, 139, 145, 0.58);
}

@media (max-width: 1024px) {
  .unified-header {
    background:
      radial-gradient(circle at 92% 8%, rgba(17, 139, 145, 0.1) 0 1px, transparent 1.5px) 0 0 / 20px 20px,
      linear-gradient(112deg, #e8f5f3 0%, #edf6fa 64%, #fffaf5 100%);
  }

  .unified-nav button.active {
    box-shadow: inset 0 -3px 0 #f06f61;
  }
}

@media (max-width: 680px) {
  .account-avatar,
  .account-avatar-image {
    height: 52px;
    width: 52px;
  }

  .account-header-actions .member-badge {
    margin-bottom: 2px;
  }

  .account-header-actions .solid-button,
  .account-header-actions .ghost-button {
    min-height: 44px;
  }

  .summary-card {
    min-height: 108px;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .summary-card,
  .dashboard-card,
  .settings-card,
  .solid-button,
  .ghost-button,
  .completion-meter span {
    transition-duration: 0.01ms;
  }
}

/* Public beta marketplace shell */
.breadcrumbs {
  align-items: center;
  color: #60737a;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 8px;
  margin: 0 0 18px;
}

.breadcrumbs a {
  color: #08747c;
  font-weight: 750;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.browse-hero {
  background: linear-gradient(125deg, #e8f5f3 0%, #edf6fa 62%, #fffaf5 100%);
  border-bottom: 1px solid #dceaea;
  padding: clamp(42px, 7vw, 78px) max(24px, calc((100vw - 1220px) / 2));
}

.browse-hero h1 {
  color: #062c3e;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
  max-width: 720px;
}

.browse-hero > p:not(.eyebrow) {
  color: #4a666d;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 650px;
}

.browse-shell {
  margin: 0 auto;
  max-width: 1280px;
  padding: 34px 28px 72px;
}

.browse-tabs {
  border-bottom: 1px solid #dce7e7;
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  overflow-x: auto;
}

.browse-tabs a {
  border-bottom: 3px solid transparent;
  color: #506970;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 12px 14px;
  white-space: nowrap;
}

.browse-tabs a:hover,
.browse-tabs a.active {
  border-bottom-color: #f06f61;
  color: #062c3e;
}

.browse-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(220px, 0.3fr) minmax(0, 1fr);
}

.browse-filters {
  background: #fff;
  border: 1px solid #dce8e8;
  border-radius: 14px;
  display: grid;
  gap: 16px;
  padding: 20px;
  position: sticky;
  top: 18px;
}

.browse-filters h2,
.browse-results h2 {
  color: #062c3e;
  font-size: 1.22rem;
  margin: 0;
}

.browse-filters label {
  color: #425f66;
  display: grid;
  font-size: 0.82rem;
  font-weight: 780;
  gap: 7px;
}

.browse-filters input,
.browse-filters select {
  border: 1px solid #cddddd;
  border-radius: 9px;
  min-height: 42px;
  padding: 0 10px;
}

.browse-filters input[type="range"] {
  accent-color: #118b91;
  min-height: auto;
  padding: 0;
}

.browse-filters output {
  color: #08747c;
  font-size: 0.82rem;
  font-weight: 800;
}

.browse-filters .ghost-button {
  justify-self: start;
  min-height: 42px;
}

.browse-results-heading {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.browse-results-heading > p {
  color: #5e747a;
  font-size: 0.86rem;
  margin: 0 0 2px;
  white-space: nowrap;
}

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

.browse-grid .hm-market-card {
  background: #fff;
  border: 1px solid #dce8e8;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(8, 45, 55, 0.08);
  min-width: 0;
  overflow: hidden;
  position: relative;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.browse-grid .hm-market-card:hover {
  box-shadow: 0 18px 38px rgba(8, 45, 55, 0.13);
  transform: translateY(-2px);
}

.browse-grid .hm-featured-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #eef4f2, #e1ece9);
  display: block;
  overflow: hidden;
  position: relative;
}

.browse-grid .hm-featured-image img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.browse-grid .hm-listing-fallback {
  align-items: center;
  color: #062c3e;
  display: flex;
  font-size: 0.78rem;
  font-weight: 850;
  height: 100%;
  inset: 0;
  justify-content: center;
  padding: 16px;
  position: absolute;
  text-align: center;
}

.browse-grid .hm-listing-fallback::before {
  border: 3px solid #4f7378;
  content: "";
  display: block;
  height: 42px;
  margin-right: 10px;
  width: 42px;
}

.browse-grid .hm-listing-fallback--coral::before {
  border-radius: 50% 45% 50% 40%;
  box-shadow: 20px -12px 0 -9px #4f7378, -15px -11px 0 -9px #4f7378;
}

.browse-grid .hm-listing-fallback--equipment::before {
  border-radius: 7px;
  box-shadow: 0 16px 0 -10px #4f7378;
  height: 28px;
  width: 62px;
}

.browse-grid .hm-listing-badge,
.browse-grid .hm-condition-badge {
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 6px 8px;
  position: absolute;
  text-transform: uppercase;
  top: 12px;
}

.browse-grid .hm-listing-badge {
  background: rgba(255, 255, 255, 0.92);
  color: #062c3e;
  left: 12px;
}

.browse-grid .hm-condition-badge {
  background: #f06f5c;
  color: #fff;
  right: 12px;
}

.browse-grid .hm-favorite-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 50%;
  color: #062c3e;
  display: grid;
  height: 34px;
  place-items: center;
  position: absolute;
  right: 12px;
  top: 50px;
  width: 34px;
}

.browse-grid .hm-favorite-button[aria-pressed="true"] {
  color: #f06f5c;
}

.browse-grid .hm-featured-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.browse-grid .hm-featured-title {
  color: #142126;
  display: -webkit-box;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.browse-grid .hm-featured-price {
  color: #063d4d;
  display: block;
  font-size: 1.28rem;
  font-weight: 950;
}

.browse-grid .hm-featured-meta,
.browse-grid .hm-featured-seller,
.browse-grid .hm-shipping-line {
  color: #60737a;
  display: block;
  font-size: 0.84rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browse-grid .hm-featured-meta {
  color: #48626a;
  font-weight: 780;
}

.browse-grid .hm-description {
  color: #60737a;
  display: -webkit-box;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 2px 0 4px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.browse-grid .hm-market-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.browse-grid .hm-market-actions .hm-button {
  background: #fff;
  border: 1px solid #dce7e7;
  border-radius: 8px;
  color: #063d4d;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 850;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
}

.browse-grid .hm-shipping-line {
  align-items: center;
  border-top: 1px solid #edf2f1;
  display: flex;
  gap: 6px;
  padding-top: 10px;
}

.browse-empty {
  align-items: start;
  background: #fbfefd;
  border: 1px dashed #bcd8d8;
  border-radius: 14px;
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  justify-items: start;
  padding: 28px;
}

.browse-empty strong { color: #062c3e; }
.browse-empty span { color: #60737a; font-size: 0.9rem; }

.browse-skeleton {
  background: #fff;
  border: 1px solid #dce8e8;
  border-radius: 14px;
  display: grid;
  gap: 11px;
  overflow: hidden;
  padding: 14px;
}

.browse-skeleton > div,
.browse-skeleton > span {
  animation: reef-skeleton 1.3s ease-in-out infinite;
  background: linear-gradient(90deg, #eef4f4 20%, #f8fbfb 45%, #eef4f4 70%);
  background-size: 220% 100%;
  border-radius: 8px;
  display: block;
}

.browse-skeleton > div { aspect-ratio: 1 / 0.78; }
.browse-skeleton > span { height: 12px; }
.browse-skeleton > span:last-child { width: 58%; }

.listing-breadcrumbs {
  margin: 24px auto -4px;
  max-width: 1180px;
  padding: 0 28px;
}

.listing-gallery-main {
  aspect-ratio: 1 / 0.86;
  background: #edf4f4;
  overflow: hidden;
}

.listing-gallery-main img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.listing-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
}

.listing-gallery-thumb {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 7px;
  flex: 0 0 54px;
  height: 54px;
  overflow: hidden;
  padding: 0;
}

.listing-gallery-thumb.active { border-color: #118b91; }
.listing-gallery-thumb img { display: block; height: 100%; object-fit: cover; width: 100%; }

.listing-wysiwyg {
  background: #e8f5f3;
  border: 1px solid #b8dedb;
  border-radius: 999px;
  color: #08747c;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  margin-left: 8px;
  padding: 5px 9px;
}

@keyframes reef-skeleton {
  to { background-position: -220% 0; }
}

@media (max-width: 1024px) {
  .browse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .browse-shell { padding: 26px 16px 48px; }
  .browse-layout { grid-template-columns: 1fr; }
  .browse-filters { position: static; }
  .browse-results-heading { align-items: start; flex-direction: column; gap: 7px; }
  .listing-breadcrumbs { margin-top: 18px; padding: 0 16px; }
}

@media (max-width: 560px) {
  .browse-hero { padding: 36px 16px; }
  .browse-grid { grid-template-columns: 1fr; }
  .browse-tabs { margin-right: -16px; }
}

@media (prefers-reduced-motion: reduce) {
  .browse-skeleton > div,
  .browse-skeleton > span { animation: none; }
}

.help-topics,
.guide-steps,
.guide-checklist {
  margin: 0 auto;
  max-width: 1120px;
  padding: 24px 28px 62px;
}

.help-topics {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.help-actions {
  background: #f7fbfa;
  padding: 28px clamp(16px, 4vw, 52px) 12px;
}

.help-actions .section-heading {
  margin: 0 auto 16px;
  max-width: 1120px;
}

.help-action-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
}

.help-action-card {
  background: #fff;
  border: 1px solid #dce8e8;
  border-radius: 8px;
  color: #062c3e;
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 18px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.help-action-card:hover,
.help-action-card:focus-visible {
  border-color: #a8d4d2;
  box-shadow: 0 12px 26px rgba(8, 45, 55, 0.08);
  transform: translateY(-1px);
}

.help-action-card strong {
  font-size: 0.98rem;
  font-weight: 900;
}

.help-action-card span {
  color: #60737a;
  font-size: 0.86rem;
  line-height: 1.45;
}

.help-topic {
  background: #fff;
  border: 1px solid #dce8e8;
  border-radius: 8px;
  overflow: hidden;
}

.help-topic-button {
  min-height: auto;
  padding: 16px 18px;
}

.help-topic-button[aria-expanded="true"] {
  background: #f4fbfa;
}

.help-topic-chevron {
  border-color: #0a6870;
  border-style: solid;
  border-width: 0 2px 2px 0;
  display: inline-block;
  flex: 0 0 auto;
  height: 10px;
  margin-right: 4px;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  width: 10px;
}

.help-topic-button[aria-expanded="true"] .help-topic-chevron {
  transform: rotate(-135deg);
}

.help-topic-panel {
  color: #516a70;
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 0 18px 18px;
}

.help-topic-panel p { margin: 0; }

.help-topic-panel .dashboard-card-actions {
  margin-top: 14px;
}

.help-contact {
  padding-block: clamp(26px, 4vw, 42px);
}

.guide-steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-steps article,
.guide-checklist {
  background: #fff;
  border: 1px solid #dce8e8;
  border-radius: 14px;
  padding: 22px;
}

.guide-steps article > span {
  color: #f06f61;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.guide-steps h2,
.guide-checklist h2 {
  color: #062c3e;
  font-size: 1.05rem;
  margin: 10px 0 8px;
}

.guide-steps p { color: #60737a; font-size: 0.9rem; line-height: 1.55; margin: 0; }

.guide-checklist {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  padding-top: 28px;
}

.guide-checklist ul { color: #506970; display: grid; gap: 10px; line-height: 1.5; margin: 0; padding-left: 20px; }

.shipping-availability-note,
.report-form-note {
  background: #edf6fa;
  border: 1px solid #cae1eb;
  border-radius: 10px;
  color: #335e72;
  display: grid;
  font-size: 0.86rem;
  gap: 4px;
  line-height: 1.45;
  padding: 13px 14px;
}

@media (max-width: 900px) {
  .help-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .help-topics,
  .guide-steps,
  .guide-checklist { padding: 20px 16px 44px; }
  .help-action-grid { grid-template-columns: 1fr; }
  .guide-steps,
  .guide-checklist { grid-template-columns: 1fr; }
  .floating-report-problem {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    font-size: 0.8rem;
    left: 14px;
    min-height: 52px;
    padding: 5px 13px 5px 7px;
    z-index: 300;
  }

  .floating-report-problem img {
    flex-basis: 40px;
    height: 40px;
    width: 40px;
  }
}

/* Premium account dashboard + listing editor refinement */
.unified-dashboard-body {
  background:
    radial-gradient(circle at 12% 0%, rgba(53, 184, 178, 0.12), transparent 28rem),
    #f6f8f7;
  color: #18333d;
}

.unified-dashboard {
  background: #f6f8f7;
  box-shadow: none;
}

.unified-sidebar {
  background:
    radial-gradient(circle at 18% 8%, rgba(53, 184, 178, 0.2), transparent 9rem),
    linear-gradient(180deg, #123746 0%, #0b2836 100%);
  border-right: 0;
  color: #eefafa;
  gap: 18px;
  padding: 22px 16px;
}

.unified-sidebar .brand,
.unified-sidebar .brand span:last-child {
  color: #ffffff;
}

.unified-sidebar .brand-mark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.sidebar-account-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 10px;
}

.sidebar-avatar-link {
  align-items: center;
  background: transparent;
  border: 0;
  color: #ffffff;
  display: flex;
  gap: 10px;
  padding: 0;
  text-align: left;
  width: 100%;
}

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

.sidebar-avatar-link small {
  color: rgba(238, 250, 250, 0.72);
  font-size: 0.74rem;
  margin-top: 2px;
}

.unified-nav {
  gap: 6px;
}

.unified-nav button,
.unified-sidebar-footer a,
.unified-sidebar-footer button {
  border-radius: 12px;
  color: rgba(238, 250, 250, 0.82);
  gap: 10px;
  justify-content: flex-start;
  min-height: 44px;
}

.unified-nav button svg {
  color: rgba(53, 184, 178, 0.98);
  flex: 0 0 18px;
}

.unified-nav button span {
  color: inherit;
  flex: 1;
  font-weight: 800;
}

.unified-nav button small {
  color: rgba(238, 250, 250, 0.68);
}

.unified-nav button:hover,
.unified-nav button.active {
  background: rgba(232, 246, 245, 0.12);
  color: #ffffff;
}

.unified-nav button.active {
  box-shadow: inset 3px 0 0 #f26f63;
}

.unified-sidebar-footer {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.unified-sidebar-footer a,
.unified-sidebar-footer button {
  color: rgba(238, 250, 250, 0.78);
}

.unified-main {
  background: #f6f8f7;
}

.unified-header {
  background:
    radial-gradient(circle at 82% 12%, rgba(53, 184, 178, 0.34), transparent 14rem),
    radial-gradient(circle at 8% 110%, rgba(242, 111, 99, 0.18), transparent 13rem),
    linear-gradient(125deg, #123746 0%, #168c88 100%);
  border: 0;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 18px 42px rgba(18, 55, 70, 0.18);
  color: #f7ffff;
  gap: 22px;
  isolation: isolate;
  margin: 0 0 8px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  position: relative;
}

.unified-header::before {
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(232, 246, 245, 0.12) 46% 48%, transparent 48% 100%),
    radial-gradient(circle, rgba(255, 255, 255, 0.13) 0 1px, transparent 1.6px);
  background-size: 118px 64px, 22px 22px;
  content: "";
  inset: 0;
  opacity: 0.58;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.unified-header h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.account-header-copy {
  max-width: 680px;
}

.account-header-copy .eyebrow,
.unified-header .eyebrow {
  color: rgba(232, 246, 245, 0.78);
}

.account-header-copy p:not(.eyebrow),
.account-header-email {
  color: rgba(247, 255, 255, 0.86);
  line-height: 1.5;
  margin: 8px 0 0;
}

.account-header-actions {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: min(360px, 100%);
}

.account-header-actions .member-badge {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.account-header-actions .ghost-button {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.account-header-actions .solid-button {
  background: #ffffff;
  color: #123746;
}

.avatar-shell {
  display: inline-grid;
  height: 76px;
  place-items: center;
  position: relative;
  width: 76px;
}

.avatar-shell-small {
  height: 42px;
  width: 42px;
}

.avatar-shell-large {
  height: 96px;
  width: 96px;
}

.avatar-uploader {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: inherit;
  padding: 0;
}

.avatar-uploader:hover .account-avatar,
.avatar-uploader:hover .account-avatar-image,
.sidebar-avatar-link:hover .account-avatar,
.sidebar-avatar-link:hover .account-avatar-image {
  transform: translateY(-1px);
}

.account-avatar,
.account-avatar-image {
  background: linear-gradient(135deg, #e8f6f5, #ffffff);
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(7, 35, 45, 0.24);
  color: #168c88;
  display: grid;
  font-weight: 900;
  height: 64px;
  letter-spacing: -0.03em;
  object-fit: cover;
  place-items: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
  width: 64px;
}

.sidebar-account-card .account-avatar,
.sidebar-account-card .account-avatar-image {
  border-width: 2px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  height: 42px;
  width: 42px;
}

.account-avatar.large-avatar,
.account-avatar-image.large-avatar,
.avatar-shell-large .account-avatar,
.avatar-shell-large .account-avatar-image {
  height: 96px;
  width: 96px;
}

.avatar-camera-control {
  align-items: center;
  background: #f26f63;
  border: 3px solid #ffffff;
  border-radius: 999px;
  bottom: 2px;
  box-shadow: 0 8px 18px rgba(18, 55, 70, 0.28);
  color: #ffffff;
  display: flex;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 2px;
  width: 34px;
}

.avatar-camera-control svg {
  fill: currentColor;
  height: 17px;
  width: 17px;
}

.dashboard-section {
  padding: clamp(24px, 4vw, 42px);
}

.dashboard-section-heading {
  max-width: 760px;
}

.dashboard-section-heading h2 {
  color: #123746;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  letter-spacing: -0.05em;
}

.dashboard-section-heading > p:not(.eyebrow) {
  color: #64767c;
}

.dashboard-group {
  display: grid;
  gap: 14px;
}

.dashboard-group + .dashboard-group {
  margin-top: 22px;
}

.dashboard-group-heading {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.dashboard-group-heading h3 {
  color: #123746;
  font-size: 1.18rem;
  margin: 3px 0 0;
}

.dashboard-card,
.profile-preview,
.account-profile-form,
.empty-state-card,
.settings-card,
.seller-stat,
.dashboard-listings,
.future-panel,
.seller-status-inline,
.create-listing-shell {
  border: 1px solid rgba(220, 231, 231, 0.9);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(18, 55, 70, 0.06);
}

.dashboard-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.onboarding-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 111, 99, 0.13), transparent 14rem),
    linear-gradient(135deg, #fffaf6 0%, #ffffff 72%);
  margin-bottom: 18px;
}

.onboarding-meter span {
  background: linear-gradient(90deg, #168c88, #35b8b2);
}

.getting-started-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.getting-started-item {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e6eeee;
  border-radius: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  padding: 12px;
}

.getting-started-icon {
  align-items: center;
  background: #fff0ee;
  border-radius: 14px;
  color: #d95e53;
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.getting-started-icon svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 22px;
}

.getting-started-item.complete .getting-started-icon {
  background: #e8f6f5;
  color: #168c88;
}

.getting-started-item h4,
.getting-started-item p {
  margin: 0;
}

.getting-started-item p {
  color: #64767c;
  font-size: 0.88rem;
  line-height: 1.4;
}

.getting-started-state {
  background: #fff5ec;
  border: 1px solid #f3d2ca;
  border-radius: 999px;
  color: #b94f43;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 6px 9px;
  white-space: nowrap;
}

.getting-started-item.complete .getting-started-state {
  background: #e8f6f5;
  border-color: #bfe4e0;
  color: #13756f;
}

.account-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-card {
  background: #ffffff;
  border-radius: 20px;
}

.summary-card strong {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.summary-card-action {
  line-height: 1.35;
}

.overview-layout {
  align-items: start;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.85fr);
}

.overview-side-column {
  display: grid;
  gap: 16px;
}

.seller-status-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 184, 178, 0.14), transparent 10rem),
    #ffffff;
}

.overview-listing-numbers {
  display: grid;
  gap: 6px 10px;
  grid-template-columns: auto 1fr;
}

.overview-listing-numbers strong {
  color: #123746;
  font-size: 1.4rem;
}

.overview-listing-numbers span {
  color: #64767c;
  padding-top: 6px;
}

.dashboard-discovery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-recommendation-card {
  background: #ffffff;
  border: 1px solid #dce7e7;
  border-radius: 20px;
  box-shadow: 0 10px 22px rgba(18, 55, 70, 0.05);
  min-width: 0;
  overflow: hidden;
}

.dashboard-recommendation-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #dff3f0, #f7fbfb);
  display: block;
  position: relative;
}

.dashboard-recommendation-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.dashboard-recommendation-image span {
  background: rgba(18, 55, 70, 0.82);
  border-radius: 999px;
  bottom: 10px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 850;
  left: 10px;
  padding: 5px 8px;
  position: absolute;
}

.dashboard-recommendation-fallback {
  align-items: center;
  color: #168c88;
  display: flex;
  font-weight: 850;
  height: 100%;
  justify-content: center;
}

.dashboard-recommendation-body {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.dashboard-recommendation-body > div {
  display: grid;
  gap: 4px;
}

.dashboard-recommendation-body a {
  color: #123746;
  font-weight: 850;
  line-height: 1.25;
}

.dashboard-recommendation-body strong {
  color: #168c88;
}

.dashboard-recommendation-body p {
  color: #64767c;
  font-size: 0.82rem;
  margin: 0;
}

.dashboard-save-button {
  align-items: center;
  background: #f7fbfb;
  border: 1px solid #dce7e7;
  border-radius: 999px;
  color: #123746;
  display: inline-flex;
  font-weight: 850;
  gap: 7px;
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
}

.dashboard-save-button svg {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  width: 16px;
}

.dashboard-save-button.saved {
  background: #e8f6f5;
  border-color: #9ed8d4;
  color: #168c88;
}

.dashboard-listing-skeleton {
  animation: dashboard-pulse 1.4s ease-in-out infinite;
  background: linear-gradient(90deg, #edf3f2, #f7fbfb, #edf3f2);
  background-size: 240% 100%;
  border-radius: 20px;
  min-height: 246px;
}

@keyframes dashboard-pulse {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.profile-preview {
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 184, 178, 0.18), transparent 9rem),
    #ffffff;
  text-align: center;
}

.profile-avatar-uploader {
  justify-self: center;
}

.avatar-modal-backdrop {
  align-items: center;
  background: rgba(9, 31, 42, 0.58);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 80;
}

.avatar-modal-panel {
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 18px;
  max-height: min(720px, calc(100vh - 32px));
  max-width: 720px;
  overflow: auto;
  padding: clamp(18px, 4vw, 28px);
  width: min(720px, 100%);
}

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

.avatar-modal-heading h2 {
  color: #123746;
  margin: 4px 0;
}

.icon-button {
  align-items: center;
  background: #f7fbfb;
  border: 1px solid #dce7e7;
  border-radius: 999px;
  color: #123746;
  display: flex;
  font-size: 1.5rem;
  height: 40px;
  justify-content: center;
  line-height: 1;
  width: 40px;
}

.avatar-upload-layout {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: auto minmax(0, 1fr);
}

.avatar-preview-frame {
  background:
    radial-gradient(circle at 30% 20%, rgba(53, 184, 178, 0.22), transparent 60%),
    #eef8f7;
  border: 1px solid #dce7e7;
  border-radius: 24px;
  display: grid;
  min-height: 230px;
  padding: 24px;
  place-items: center;
}

.avatar-preview-frame img,
.avatar-preview-frame .account-avatar {
  border-radius: 999px;
  height: 168px;
  object-position: var(--avatar-preview-object-x, 50%) var(--avatar-preview-object-y, 50%);
  object-fit: cover;
  width: 168px;
}

.avatar-upload-controls {
  min-width: 0;
}

.avatar-position-control input[type="range"] {
  width: min(100%, 250px);
}

.avatar-upload-controls {
  display: grid;
  gap: 14px;
}

.avatar-dropzone {
  min-height: 170px;
}

.avatar-position-control {
  display: grid;
  gap: 8px;
}

.avatar-position-control span {
  color: #123746;
  font-weight: 850;
}

.avatar-modal-actions {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr auto auto;
}

.listing-status.status-attention {
  background: #fff0ee;
  border-color: #f1b5ad;
  color: #b94f43;
}

.seller-overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seller-stat {
  background: #ffffff;
  border-radius: 20px;
}

.seller-stat-active { box-shadow: inset 0 4px 0 #168c88; }
.seller-stat-draft { box-shadow: inset 0 4px 0 #8da4ab; }
.seller-stat-pending { box-shadow: inset 0 4px 0 #d49a2a; }
.seller-stat-sold { box-shadow: inset 0 4px 0 #123746; }

.create-listing-body {
  background: #f6f8f7;
}

.create-listing-main {
  padding: 0 max(18px, calc((100vw - 1180px) / 2)) 64px;
}

.create-listing-hero {
  padding: clamp(30px, 6vw, 64px) 0 24px;
}

.create-listing-hero-grid {
  align-items: stretch;
  background:
    radial-gradient(circle at 88% 16%, rgba(53, 184, 178, 0.28), transparent 13rem),
    linear-gradient(125deg, #123746, #168c88);
  border-radius: 30px;
  color: #ffffff;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.35fr);
  padding: clamp(24px, 4vw, 44px);
}

.create-listing-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.07em;
  line-height: 0.96;
  margin: 4px 0 10px;
}

.create-listing-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.create-listing-hero aside {
  align-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.create-listing-shell {
  background: #ffffff;
  display: grid;
  gap: 22px;
  padding: clamp(18px, 4vw, 28px);
}

.listing-stepper {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.listing-stepper li {
  align-items: center;
  background: #f7fbfb;
  border: 1px solid #dce7e7;
  border-radius: 16px;
  color: #64767c;
  display: flex;
  font-size: 0.82rem;
  font-weight: 850;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
}

.listing-stepper span {
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  color: #168c88;
  display: flex;
  flex: 0 0 26px;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.listing-stepper li.active {
  background: #e8f6f5;
  border-color: #9ed8d4;
  color: #123746;
}

.listing-stepper li.complete {
  background: #123746;
  border-color: #123746;
  color: #ffffff;
}

.listing-form-step {
  background: #ffffff;
  border: 1px solid #dce7e7;
  border-radius: 18px;
  display: block;
  overflow: hidden;
}

.listing-form-step.active {
  border-color: #9ed8d4;
  box-shadow: 0 12px 28px rgba(6, 44, 62, 0.08);
}

.listing-form-step.complete {
  border-color: #c8e3df;
}

.listing-step-summary {
  align-items: center;
  color: #123746;
  cursor: pointer;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  list-style: none;
  min-height: 62px;
  padding: 14px 16px;
}

.listing-step-summary::-webkit-details-marker {
  display: none;
}

.listing-step-label {
  align-items: center;
  display: flex;
  font-size: 0.94rem;
  font-weight: 850;
  gap: 10px;
  min-width: 0;
}

.listing-step-label > span:last-child {
  overflow-wrap: anywhere;
}

.listing-step-number {
  align-items: center;
  background: #e8f6f5;
  border: 1px solid #c8e3df;
  border-radius: 999px;
  color: #168c88;
  display: inline-flex;
  flex: 0 0 30px;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.listing-step-arrow {
  align-items: center;
  border: 1px solid #dce7e7;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 32px;
  justify-content: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  width: 32px;
}

.listing-step-arrow::before {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 8px;
  transform: rotate(45deg) translate(-1px, -1px);
  width: 8px;
}

.listing-form-step.active .listing-step-summary {
  background: #e8f6f5;
}

.listing-form-step.complete .listing-step-number {
  background: #123746;
  border-color: #123746;
  color: #ffffff;
}

.listing-step-summary:hover .listing-step-arrow {
  background: #f2f8f8;
  border-color: #9ed8d4;
}

.listing-form-step[open] .listing-step-arrow {
  transform: rotate(180deg);
}

.listing-step-content {
  border-top: 1px solid #e4eeee;
}

.stepped-listing-editor {
  box-shadow: none;
}

.stepped-listing-editor .listing-form-group {
  border-radius: 0;
  border-top: 0;
  padding: 20px;
}

.listing-review-panel {
  background: #f7fbfb;
  border: 1px solid #dce7e7;
  border-radius: 18px;
  padding: 16px;
}

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

.listing-review-list div {
  background: #ffffff;
  border: 1px solid #e4eeee;
  border-radius: 14px;
  padding: 12px;
}

.listing-review-list .wide {
  grid-column: 1 / -1;
}

.listing-review-list dt {
  color: #64767c;
  font-size: 0.75rem;
  font-weight: 850;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.listing-review-list dd {
  color: #123746;
  margin: 0;
}

.removable-photo-preview {
  position: relative;
}

.removable-photo-preview button {
  margin-top: 6px;
}

@media (max-width: 1180px) {
  .account-summary-grid,
  .dashboard-discovery-grid,
  .seller-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .unified-dashboard {
    grid-template-columns: 1fr;
  }

  .unified-sidebar {
    border-radius: 0 0 22px 22px;
    height: auto;
    position: static;
  }

  .unified-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .unified-nav button {
    flex: 0 0 auto;
    min-width: max-content;
  }

  .unified-nav button.active {
    box-shadow: inset 0 -3px 0 #f26f63;
  }

  .unified-sidebar-footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  .create-listing-hero-grid,
  .avatar-upload-layout {
    grid-template-columns: 1fr;
  }

  .listing-stepper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .unified-header {
    align-items: flex-start;
    border-radius: 0 0 22px 22px;
    flex-direction: column;
  }

  .account-header-identity {
    align-items: flex-start;
  }

  .account-header-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .account-header-actions .solid-button,
  .account-header-actions .ghost-button {
    justify-content: center;
    width: 100%;
  }

  .dashboard-card-grid,
  .account-summary-grid,
  .dashboard-discovery-grid,
  .seller-overview,
  .listing-review-list {
    grid-template-columns: 1fr;
  }

  .getting-started-item {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .getting-started-state,
  .getting-started-action {
    grid-column: 2;
    justify-self: start;
  }

  .avatar-modal-actions {
    grid-template-columns: 1fr;
  }

  .avatar-modal-actions span {
    display: none;
  }
}

@media (max-width: 430px) {
  .dashboard-section,
  .unified-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .avatar-shell {
    height: 64px;
    width: 64px;
  }

  .account-avatar,
  .account-avatar-image {
    height: 56px;
    width: 56px;
  }

  .avatar-camera-control {
    height: 32px;
    width: 32px;
  }

  .avatar-preview-frame img,
  .avatar-preview-frame .account-avatar {
    height: 138px;
    width: 138px;
  }
}

/* Listing detail marketplace polish */
.listing-detail-body {
  background:
    radial-gradient(circle at 8% 0%, rgba(12, 124, 134, 0.14), transparent 32rem),
    radial-gradient(circle at 92% 8%, rgba(240, 111, 92, 0.08), transparent 28rem),
    linear-gradient(180deg, #f4fbfa 0%, #eef7f5 48%, #f7faf9 100%);
}

.listing-detail-body #listing-detail {
  min-height: 60vh;
}

.listing-detail-body .site-footer {
  box-shadow: 0 -18px 44px rgba(8, 45, 55, 0.12);
  margin-top: clamp(20px, 4vw, 46px);
}

.listing-detail-page {
  margin: 0 auto;
  max-width: 1280px;
  padding: clamp(20px, 3vw, 34px) clamp(16px, 4vw, 28px) clamp(56px, 7vw, 86px);
}

.listing-detail-page .listing-breadcrumbs {
  margin: 0 0 16px;
  max-width: none;
  padding: 0;
}

.listing-title-band {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 0 12px;
}

.listing-title-band h1 {
  color: var(--deep);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.1;
  margin: 0;
  max-width: 860px;
}

.listing-title-band .listing-detail-badges {
  margin-top: 12px;
}

.listing-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-detail-badge {
  background: rgba(232, 247, 245, 0.92);
  border: 1px solid #c5e2df;
  border-radius: 999px;
  color: #0a6870;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  padding: 8px 10px;
}

.listing-seller-trust-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(198, 224, 223, 0.95);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(8, 45, 55, 0.045);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0 0 16px;
  min-height: 48px;
  padding: 8px 11px;
}

.listing-seller-trust-row--empty {
  justify-content: flex-start;
}

.listing-seller-trust-row--empty p {
  color: var(--muted);
  font-weight: 800;
  margin: 0;
}

.listing-seller-avatar {
  align-items: center;
  background: linear-gradient(135deg, #0b7f88 0%, #123746 100%);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 32px;
  font-size: 0.78rem;
  font-weight: 950;
  height: 32px;
  justify-content: center;
  letter-spacing: 0;
  width: 32px;
}

.listing-seller-trust-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 4px;
  min-width: 0;
}

.listing-seller-trust-copy p {
  color: #35525a;
  font-size: 0.9rem;
  line-height: 1.25;
  margin: 0;
}

.listing-seller-trust-name {
  color: var(--deep);
  font-weight: 950;
  text-decoration: none;
}

a.listing-seller-trust-name:hover,
.listing-seller-trust-link:hover {
  color: var(--ocean);
}

.listing-seller-trust-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.listing-seller-trust-note {
  color: #60737a;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.listing-seller-trust-separator {
  color: #9fb2b7;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
}

.listing-seller-trust-meta .listing-seller-badge,
.listing-seller-trust-chip {
  font-size: 0.72rem;
  margin-top: 0;
  padding: 6px 8px;
  white-space: nowrap;
}

.listing-seller-trust-chip {
  align-items: center;
  background: #f5fbfa;
  border: 1px solid #d9ebea;
  border-radius: 999px;
  color: #315660;
  display: inline-flex;
  font-weight: 850;
  line-height: 1;
}

.listing-seller-trust-link,
.listing-seller-trust-placeholder {
  align-items: center;
  border: 1px solid #cde1e1;
  border-radius: 999px;
  color: #0a6870;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 900;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.listing-seller-trust-placeholder {
  color: #60737a;
}

.listing-detail-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 440px minmax(0, 1fr) 320px;
}

.listing-main-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.listing-info-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.listing-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(202, 222, 222, 0.9);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(8, 45, 55, 0.09);
  display: grid;
  min-width: 0;
  overflow: hidden;
}

.listing-media-card {
  overflow: visible;
  padding: 14px;
}

.listing-gallery-shell {
  display: grid;
  gap: 12px;
}

.listing-media-card .listing-gallery-main {
  align-items: center;
  aspect-ratio: auto;
  background: linear-gradient(145deg, #f8fbfa 0%, #edf6f5 100%);
  border: 1px solid #dceaea;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  max-height: 520px;
  min-height: 300px;
  overflow: hidden;
  padding: 12px;
  position: relative;
}

.listing-media-card .listing-gallery-main img {
  display: block;
  height: 100%;
  max-height: calc(520px - 24px);
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.listing-media-card .listing-gallery-main.listing-gallery-placeholder {
  color: #526a70;
  font-weight: 850;
  text-align: center;
}

.listing-media-card .listing-gallery-main.listing-gallery-placeholder span {
  background: #fff;
  border: 1px dashed #b7d6d4;
  border-radius: 12px;
  padding: 14px 18px;
}

.listing-media-card .listing-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 2px 2px;
}

.listing-media-card .listing-gallery-thumb {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 10px;
  flex: 0 0 72px;
  height: 72px;
  overflow: hidden;
  padding: 0;
}

.listing-media-card .listing-gallery-thumb.active,
.listing-media-card .listing-gallery-thumb:focus-visible {
  border-color: var(--ocean);
  outline: none;
}

.listing-media-card .listing-gallery-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  padding: 0;
  width: 100%;
}

.listing-action-card {
  align-self: start;
  gap: 15px;
  padding: 22px;
  position: static;
  top: auto;
}

.listing-action-heading {
  display: grid;
  gap: 3px;
}

.listing-action-heading span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.listing-action-price {
  color: var(--deep);
  display: block;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 950;
  line-height: 1;
  margin: 0;
}

.listing-action-card h2 {
  color: #244852;
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
}

.listing-purchase-row {
  align-items: center;
  background: #f7fcfb;
  border: 1px solid #dfeeed;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.listing-purchase-row span {
  color: #60737a;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.listing-purchase-row strong {
  color: #1b3e4a;
  font-size: 0.95rem;
}

.listing-action-buttons {
  display: grid;
  gap: 8px;
}

.listing-action-buttons .solid-button,
.listing-action-buttons .ghost-button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  width: 100%;
}

.listing-action-buttons .listing-buy-button {
  box-shadow: 0 12px 22px rgba(7, 111, 119, 0.22);
}

.listing-action-buttons .ghost-button {
  background: #fff;
  border-color: #cde1e1;
  color: var(--deep);
}

.listing-action-buttons .listing-cart-button {
  background: #f7fcfb;
  border-color: rgba(9, 126, 136, 0.35);
  color: #086b74;
}

.listing-action-buttons .listing-message-button {
  color: #45616a;
  font-size: 0.94rem;
  min-height: 42px;
}

.listing-report-link {
  color: #60737a;
  font-size: 0.86rem;
  font-weight: 800;
  justify-self: start;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.listing-report-link:hover {
  color: var(--ocean);
}

.listing-action-notes {
  background: #f5fbfa;
  border: 1px solid #dfeded;
  border-radius: 12px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.listing-action-notes p,
.listing-helper {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.listing-panel {
  align-content: start;
  border-radius: 14px;
  padding: 18px;
}

.listing-panel-heading {
  margin-bottom: 8px;
}

.listing-panel h2 {
  color: var(--deep);
  font-size: 1.04rem;
  line-height: 1.2;
  margin: 0;
}

.listing-panel p {
  color: #385158;
  line-height: 1.55;
  margin: 0;
}

.listing-panel p + p {
  margin-top: 8px;
}

.listing-seller-name {
  color: #1f454f;
  font-weight: 850;
  margin: 0;
}

.listing-seller-summary {
  display: grid;
  gap: 12px;
}

.listing-seller-badge {
  align-items: center;
  background: #eff9f7;
  border: 1px solid #cde5e2;
  border-radius: 999px;
  color: #0a6870;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1;
  margin-top: 7px;
  padding: 7px 9px;
  width: fit-content;
}

.listing-seller-actions {
  display: grid;
  gap: 8px;
}

.listing-seller-actions .ghost-button,
.listing-seller-actions .listing-seller-profile-button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  text-align: center;
  width: 100%;
}

.listing-seller-profile-button {
  cursor: pointer;
  font: inherit;
}

.listing-detail-empty {
  color: var(--muted);
  margin: 0;
}

.listing-meta-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.listing-meta-row {
  background: #f8fcfb;
  border: 1px solid #e1eeee;
  border-radius: 12px;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr;
  padding: 10px;
}

.listing-meta-row + .listing-meta-row {
  border-top: 1px solid #e1eeee;
  padding-top: 12px;
}

.listing-meta-label {
  color: #60737a;
  font-size: 0.78rem;
  font-weight: 800;
}

.listing-meta-value {
  color: #1b3e4a;
  font-size: 0.98rem;
  font-weight: 850;
}

.listing-panel-note {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f7fbfa 100%);
}

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

.listing-policy-item {
  background: #f8fcfb;
  border: 1px solid #e1eeee;
  border-radius: 12px;
  display: grid;
  gap: 5px;
  padding: 12px;
}

.listing-policy-item h3 {
  color: #1f454f;
  font-size: 0.9rem;
  line-height: 1.25;
  margin: 0;
}

.listing-policy-item p {
  color: #536c72;
  font-size: 0.9rem;
  line-height: 1.5;
}

.shared-marketplace-header {
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  grid-template-columns: max-content max-content minmax(240px, 520px) max-content;
}

.shared-marketplace-header .brand {
  min-width: max-content;
}

.shared-marketplace-header .desktop-primary-nav {
  flex-wrap: nowrap;
  gap: clamp(12px, 1.4vw, 18px);
  justify-self: start;
  min-width: 0;
}

.shared-marketplace-header .desktop-primary-nav a,
.shared-marketplace-header .desktop-primary-nav button {
  align-items: center;
  display: inline-flex;
  font-size: 0.93rem;
  min-height: 42px;
  white-space: nowrap;
}

.shared-marketplace-header .header-search {
  grid-template-columns: minmax(180px, 1fr) auto;
  justify-self: stretch;
  max-width: 520px;
  min-width: 240px;
}

.shared-marketplace-header .header-search input {
  min-height: 42px;
  min-width: 0;
}

.shared-marketplace-header .header-search button,
.shared-marketplace-header .dashboard-nav-button,
.shared-marketplace-header .shared-header-controls .ghost-button,
.shared-marketplace-header .shared-header-controls .guest-create-button {
  min-height: 42px;
}

.shared-header-controls {
  flex-wrap: nowrap;
}

@media (max-width: 1120px) {
  .shared-marketplace-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .shared-marketplace-header .desktop-primary-nav {
    justify-self: center;
  }

  .shared-marketplace-header .header-search {
    display: none;
  }
}

@media (max-width: 1180px) {
  .listing-detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .listing-media-card .listing-gallery-main {
    max-height: 440px;
  }

  .listing-media-card .listing-gallery-main img {
    max-height: calc(440px - 24px);
  }

  .listing-main-column {
    order: 1;
  }

  .listing-action-card {
    order: 2;
  }

  .listing-info-column {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    order: 3;
  }

  .listing-description-panel,
  .listing-panel-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .listing-detail-layout,
  .listing-info-column {
    grid-template-columns: 1fr;
  }

  .listing-main-column,
  .listing-action-card,
  .listing-info-column {
    grid-column: auto;
  }

  .listing-action-card {
    position: static;
    top: auto;
  }

  .listing-description-panel,
  .listing-panel-note {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .listing-detail-page {
    padding: 18px 14px 52px;
  }

  .listing-title-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
  }

  .listing-title-band h1 {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
  }

  .listing-seller-trust-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
  }

  .listing-seller-trust-copy {
    flex: 1 1 calc(100% - 44px);
  }

  .listing-seller-trust-separator {
    display: none;
  }

  .listing-seller-trust-link,
  .listing-seller-trust-placeholder {
    flex: 1 1 100%;
    min-height: 40px;
  }

  .listing-media-card {
    padding: 10px;
  }

  .listing-media-card .listing-gallery-main {
    max-height: 380px;
    min-height: 230px;
    padding: 8px;
  }

  .listing-media-card .listing-gallery-main img {
    max-height: calc(380px - 16px);
  }

  .listing-media-card .listing-gallery-thumb {
    flex-basis: 58px;
    height: 58px;
  }

  .listing-action-card,
  .listing-panel {
    padding: 18px;
  }

  .listing-action-buttons .solid-button,
  .listing-action-buttons .ghost-button {
    width: 100%;
  }

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

.seller-profile-body {
  background:
    radial-gradient(circle at 8% 0%, rgba(12, 124, 134, 0.14), transparent 32rem),
    radial-gradient(circle at 94% 10%, rgba(240, 111, 92, 0.08), transparent 30rem),
    linear-gradient(180deg, #f4fbfa 0%, #eef7f5 52%, #f7faf9 100%);
}

.seller-profile-body #seller-profile {
  min-height: 60vh;
}

.seller-public-page {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(20px, 3vw, 34px) clamp(16px, 4vw, 28px) clamp(56px, 7vw, 86px);
}

.seller-public-breadcrumbs {
  margin: 0 0 16px;
  max-width: none;
  padding: 0;
}

.seller-public-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(202, 222, 222, 0.9);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(8, 45, 55, 0.09);
  min-width: 0;
  padding: 22px;
}

.seller-public-hero {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: auto minmax(0, 1fr) minmax(180px, 230px);
  margin-bottom: 22px;
}

.seller-public-avatar {
  align-items: center;
  background: linear-gradient(135deg, #0b7f88 0%, #123746 100%);
  border-radius: 22px;
  color: #fff;
  display: inline-flex;
  font-size: 2rem;
  font-weight: 950;
  height: 92px;
  justify-content: center;
  letter-spacing: 0;
  width: 92px;
}

.seller-public-hero-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.seller-public-hero-copy h1,
.seller-public-empty-page h1 {
  color: var(--deep);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0;
}

.seller-public-hero-copy p,
.seller-public-card p {
  color: #385158;
  line-height: 1.55;
  margin: 0;
}

.seller-public-trust-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-public-trust-row > span:not(.listing-seller-badge) {
  background: #f6fbfa;
  border: 1px solid #dfeded;
  border-radius: 999px;
  color: #526a70;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  padding: 8px 10px;
}

.seller-public-actions {
  display: grid;
  gap: 9px;
}

.seller-public-actions .solid-button,
.seller-public-actions .ghost-button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  text-align: center;
  width: 100%;
}

.seller-public-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.seller-public-main,
.seller-public-side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.seller-public-section-heading {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.seller-public-section-heading h2 {
  color: var(--deep);
  font-size: 1.25rem;
  line-height: 1.15;
  margin: 0;
}

.seller-public-section-heading > span {
  background: #eff9f7;
  border: 1px solid #cde5e2;
  border-radius: 999px;
  color: #0a6870;
  font-weight: 900;
  line-height: 1;
  padding: 8px 11px;
}

.seller-public-listing-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.seller-public-listing-card {
  background: #fff;
  border: 1px solid #e1eeee;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(8, 45, 55, 0.08);
  display: grid;
  overflow: hidden;
}

.seller-public-listing-image {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #f8fbfa 0%, #edf6f5 100%);
  color: #6b8187;
  display: flex;
  font-size: 0.86rem;
  font-weight: 850;
  justify-content: center;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.seller-public-listing-image img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.seller-public-listing-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.seller-public-listing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.seller-public-listing-badges span {
  background: #f3faf9;
  border: 1px solid #d9ecea;
  border-radius: 999px;
  color: #0a6870;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  padding: 6px 8px;
}

.seller-public-listing-title {
  color: var(--deep);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.seller-public-listing-body strong {
  color: var(--ocean);
  font-size: 1.2rem;
}

.seller-public-empty {
  background: #f8fcfb;
  border: 1px dashed #c9e1df;
  border-radius: 14px;
  padding: 16px;
}

.seller-public-empty h3 {
  color: var(--deep);
  font-size: 1rem;
  margin: 0 0 6px;
}

.seller-public-empty-page {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.public-seller-profile-card {
  margin-top: 18px;
}

.public-seller-profile-form {
  display: grid;
  gap: 16px;
}

.public-seller-profile-form .form-footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.public-seller-profile-form .form-footer p {
  color: var(--muted);
  flex: 1 1 260px;
  margin: 0;
}

@media (max-width: 940px) {
  .seller-public-hero,
  .seller-public-layout {
    grid-template-columns: 1fr;
  }

  .seller-public-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .seller-public-page {
    padding: 18px 14px 52px;
  }

  .seller-public-card {
    padding: 18px;
  }

  .seller-public-hero {
    align-items: start;
  }

  .seller-public-avatar {
    border-radius: 18px;
    height: 76px;
    width: 76px;
  }

  .seller-public-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .seller-public-listing-grid {
    grid-template-columns: 1fr;
  }
}
