@layer tokens, foundation, canonical, public, private, premium, utilities;

@layer canonical {
/* Centralized cross-file geometry: foundation precedes canonical base. */

.mobile-bottom-nav,
[data-mobile-bottom-nav] { display: none; }

@media (max-width: 760px) {


.admin-table-heading {
  flex-wrap: wrap;
}

}

@media (max-width: 340px) {
.mobile-bottom-nav,
  [data-mobile-bottom-nav] { right: max(6px, var(--safe-right)); left: max(6px, var(--safe-left)); padding-inline: 4px; }
}

:root {
  --ink: #111827;
  --ink-soft: #263244;
  --muted: #5f6b7a;
  --line: #d7dde5;
  --line-strong: #aeb7c4;
  --canvas: #f4f6f8;
  --surface: #ffffff;
  --surface-alt: #eef2f6;
  --brand-orange: #f97800;
  --primary: #111827;
  --primary-hover: #312e81;
  --primary-pressed: #0b1020;
  --selected-bg: #eef2ff;
  --selected-ink: #312e81;
  --focus: #6366f1;
  --focus-ring: rgba(99, 102, 241, 0.28);
  --blue: #175cd3;
  --blue-soft: #eaf2ff;
  --green: #067647;
  --green-soft: #e9f8f1;
  --red: #b42318;
  --red-soft: #fff0ee;
  --yellow-soft: #fff8dc;
  --radius: 8px;
  --control-radius: 12px;
  --shadow: 0 16px 44px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 8px 24px rgba(17, 24, 39, 0.08);
  --header-height: 72px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --z-content: 1;
  --z-sticky: 100;
  --z-nav: 220;
  --z-sheet: 300;
  --z-modal: 440;
  --z-portal: 600;
  --z-feedback: 700;
  --motion-press: 140ms;
  --motion-fast: 160ms;
  --motion-standard: 220ms;
  --motion-enter: cubic-bezier(0.23, 1, 0.32, 1);
  --motion-move: cubic-bezier(0.77, 0, 0.175, 1);
  --motion-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}

/* The HTML hidden contract must win over component display declarations. */
.vinde-canonical-0500 [hidden] {
  display: none !important;
}

/* Vehicle Schema V2: keeps the approved champagne/ink language and adds structure only. */
.schema-group,
.vehicle-spec-group {
  border-top: 1px solid var(--line);
}
.vehicle-spec-group {
  padding-top: 18px;
  margin-top: 18px;
}


.schema-group > summary {
  cursor: pointer;
  list-style: none;
}

.schema-group > summary::-webkit-details-marker { display: none; }
.schema-group > summary span,
.vehicle-spec-group h3 { color: var(--ink); font-size: 1rem; margin: 0; }
.schema-group > summary small { color: var(--muted); }
.schema-group .dynamic-fields { padding-top: 4px; }

.vehicle-filter-group > summary small {
  color: var(--muted);
  font-size: .72rem;
}

.vehicle-filter-control[data-vehicle-filter-id] { min-width: 0; }
.vehicle-schema-details > h2 { margin-bottom: 4px; }
.vehicle-spec-group .spec-grid { margin-top: 12px; }
.vehicle-spec-group dd { overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .schema-group > summary { gap: 12px; }
  .vehicle-spec-group .spec-grid { grid-template-columns: 1fr; }
}

/* Source-parity controls added after the V3 visual checkpoint. */
.contact-split,
.settings-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}



.saved-search-panel {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.saved-search-panel > header,
.saved-search-panel > article {
  border-bottom: 1px solid var(--line);
}
.saved-search-panel > article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}


.saved-search-panel > header {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  grid-template-columns: minmax(0, 1fr) auto;
}


.saved-search-panel h2,
.saved-search-panel p {
  margin: 0;
}

.saved-search-panel article span,
.saved-search-panel article small {
  display: block;
  min-width: 0;
}


.draft-restored {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #a7d8bc;
  background: #effaf3;
  color: #17643a;
}

.draft-restored .text-button {
  margin-left: auto;
}

.dynamic-publish-section .form-band__heading,
.publish-form .form-band__heading {
  align-items: flex-start;
}

.advanced-fields {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.advanced-fields > summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.advanced-fields > summary small {
  color: var(--muted);
  font-weight: 650;
}

.advanced-fields[open] > summary {
  margin-bottom: 14px;
}

.dynamic-field {
  min-width: 0;
}

.dynamic-field.is-disabled {
  opacity: .62;
}

.choice-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-field legend {
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.choice-chip {
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 700;
}

.choice-chip:hover,
.choice-chip:focus-visible {
  border-color: var(--line-strong);
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}

.choice-chip.is-active {
  border-color: var(--selected-ink);
  background: var(--selected-bg);
  color: var(--selected-ink);
}

.photo-preview__actions {
  background: rgba(17, 24, 39, .72);
}

.photo-preview__actions .icon-button,
.photo-preview__actions .text-button {
  color: #fff;
}

.field-hint {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.field-error {
  display: block;
  margin-top: 5px;
  color: var(--red);
  font-weight: 700;
}

[data-description-quality][aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 2px var(--red-soft);
}

.preview-listing {
  display: grid;
  gap: 0;
  margin: 14px 0;
  border: 1px solid var(--line);
}

.preview-listing div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.preview-listing dt {
  color: var(--muted);
}

.preview-listing dd {
  margin: 0;
  font-weight: 750;
}


.password-field input {
  padding-right: 52px;
}

.password-field .icon-button {
  position: absolute;
  top: 50%;
  right: 3px;
  transform: translateY(-50%);
}

.auth-flow-state {
  display: grid;
  gap: 12px;
  padding-block: 18px;
}

.thread-row-wrap {
  position: relative;
}

.thread-row-wrap > .text-button {
  position: absolute;
  right: 12px;
  bottom: 10px;
}

.seller-profile-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
}



button.seller-summary,
a.seller-summary {
  width: 100%;
  text-align: left;
}

button.seller-summary > span:nth-child(2),
a.seller-summary > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

button.seller-summary strong,
button.seller-summary small,
a.seller-summary strong,
a.seller-summary small {
  display: block;
}

.contact-split > * {
  flex: 1;
}

.gallery-nav,
.gallery-zoom-button {
  background: rgba(255, 255, 255, .92);
}
.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}


.gallery-nav--prev { left: 12px; }
.gallery-nav--next { right: 12px; }
.gallery-zoom-button {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  transform: none;
}


.gallery-zoom img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}


.notification-row,
.blocked-list article {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
}

.notification-row.is-unread {
  border-left: 1px solid var(--line-strong);
  background: #f8fafc;
}

.notification-row strong,
.notification-row small,
.blocked-list strong,
.blocked-list small {
  display: block;
}

.action-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.action-list > button {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
}

@media (max-width: 760px) {

  .saved-search-panel > article {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .saved-search-panel > article .icon-button {
    grid-column: 2;
  }



  .seller-profile-hero > button {
    flex: 1;
  }

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

  .choice-chip {
    overflow-wrap: anywhere;
    text-align: left;
  }

  .photo-preview__actions {
    position: static;
    justify-content: flex-start;
    background: var(--ink);
  }

  .preview-listing div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-ui, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", sans-serif);
  font-size: 15px;
  line-height: 1.5;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

img {
  display: block;
  max-width: 100%;
}

p {
  margin-top: 0;
}


h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  font-size: 42px;
}
h1 {
  margin-top: 0;
  margin-bottom: 12px;
}


h2 {
  font-size: 28px;
}
h2 {
  margin-top: 0;
  margin-bottom: 10px;
}


h3 {
  font-size: 17px;
}
h3 {
  margin-top: 0;
  margin-bottom: 6px;
}


p {
  color: var(--muted);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: var(--z-feedback);
  top: 8px;
  left: 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}



.shell-wide {
  width: calc(100% - 48px);
  margin-inline: auto;
  max-width: 1280px;
}


.shell-narrow {
  width: calc(100% - 48px);
  margin-inline: auto;
  max-width: 920px;
}


.primary-button,
.secondary-button,
.danger-button,
.text-button,
.icon-button {
  border: 0;
  border-radius: var(--radius);
  background: none;
  text-decoration: none;
}

.primary-button,
.secondary-button,
.danger-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 750;
  white-space: nowrap;
}

.primary-button {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: white;
  transition: background var(--motion-press) ease, border-color var(--motion-press) ease, box-shadow var(--motion-press) ease, transform var(--motion-press) var(--motion-enter);
}

.primary-button:hover {
  border-color: var(--primary-hover);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.18);
}

.primary-button:active {
  border-color: var(--primary-pressed);
  background: var(--primary-pressed);
  box-shadow: none;
  transform: translateY(1px);
}

.primary-button:focus-visible {
  box-shadow: 0 0 0 3px var(--focus-ring), 0 6px 16px rgba(17, 24, 39, 0.16);
}

.primary-button:disabled {
  border-color: #6b7280;
  background: #6b7280;
  color: white;
  box-shadow: none;
  transform: none;
}

.secondary-button {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background var(--motion-press) ease, border-color var(--motion-press) ease, color var(--motion-press) ease, transform var(--motion-press) var(--motion-enter);
}

.secondary-button:hover {
  border-color: var(--primary-hover);
  background: var(--selected-bg);
  color: var(--primary-hover);
}

.secondary-button:active {
  background: #e0e7ff;
  transform: translateY(1px);
}

.secondary-button:focus-visible {
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.secondary-button:disabled,
.icon-button:disabled {
  border-color: #d1d5db;
  background: #f3f4f6;
  color: #6b7280;
  box-shadow: none;
  transform: none;
}

.danger-button {
  border: 1px solid #f4b6b0;
  background: var(--red-soft);
  color: var(--red);
}

.text-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
  color: var(--ink);
  font-weight: 750;
}

.text-button:hover {
  color: var(--primary-hover);
}

.text-button:active {
  color: var(--primary-pressed);
}

.text-button:focus-visible {
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.text-button:disabled {
  background: transparent;
  color: #6b7280;
}

.text-button .icon {
  width: 16px;
  height: 16px;
}

.icon-button {
  border: 1px solid var(--line);
  background: var(--surface);
}

.icon-button:hover,
.icon-button.is-active {
  border-color: var(--primary-hover);
  background: var(--selected-bg);
  color: var(--primary-hover);
}

.eyebrow {
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--selected-ink);
}

.site-header {
  border-bottom: 1px solid rgba(215, 221, 229, 0.95);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.04);
  backdrop-filter: blur(16px);
}

.site-header__desktop {
  height: 100%;
  display: grid;
  grid-template-columns: auto auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.site-header__mobile,
.mobile-menu {
  display: none;
}

.brand {
  width: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
}

.brand,
.brand:link,
.brand:visited,
.brand:hover,
.brand:active,
.footer-brand,
.footer-brand:link,
.footer-brand:visited,
.footer-brand:hover,
.footer-brand:active {
  text-decoration: none;
}

.brand:focus-visible,
.footer-brand:focus-visible {
  border-radius: 14px;
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.brand-lockup img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}

.brand-lockup em {
  color: var(--brand-orange);
  font-style: normal;
}


.main-nav__link {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.main-nav__link .icon {
  display: none;
}

.main-nav__link.is-active {
  border-bottom-color: var(--selected-ink);
  color: var(--ink);
}

.header-search,
.page-search,
.admin-search,
.help-search {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.header-search {
  height: 44px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 460px;
  justify-self: stretch;
  padding-left: 12px;
}


.header-search input,
.page-search input,
.admin-search input,
.help-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
}

.header-search > .icon,
.page-search > .icon,
.admin-search > .icon,
.help-search > .icon {
  color: var(--muted);
}

.header-search .icon-button,
.admin-search .icon-button {
  height: 44px;
  width: 44px;
  flex-basis: 44px;
  margin-right: 0;
  border: 0;
  background: var(--ink);
  color: white;
}

.header-actions,
.mobile-header-actions,
.results-actions,
.conversation__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}


.badge-button {
  position: relative;
}

.badge-dot,
.badge-count {
  border: 2px solid white;
  border-radius: 999px;
  background: var(--selected-ink);
  color: white;
  font-size: 10px;
  font-weight: 900;
}

.badge-dot {
  position: absolute;
  display: grid;
  place-items: center;
  top: 7px;
  right: 7px;
  width: 9px;
  height: 9px;
}


.badge-count {
  position: absolute;
  display: grid;
  place-items: center;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
}


.home-hero {
  background: #303b3b;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
}


.home-hero__photo {
  background: url("../images/marketplace-home.jpg") center 54% / cover no-repeat;
}

.home-hero__overlay {
  background: rgba(8, 18, 38, 0.56);
}

.home-hero__content {
  color: white;
}

.home-hero h1 {
  color: white;
  font-size: 54px;
}

.home-hero__content > p {
  max-width: 660px;
  margin-bottom: 28px;
  color: #edf2f7;
  font-size: 18px;
}


.hero-search label {
  height: 54px;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.hero-search .custom-combobox {
  min-width: 0;
}

.hero-search .combo-trigger {
  min-height: 54px;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.97);
}

.hero-search input,
.hero-search select {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  appearance: none;
}


.trust-band {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-band__grid {
  min-height: 76px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.trust-band__grid > span {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  font-size: 13px;
}

.trust-band__grid > span:last-child {
  border-right: 0;
}

.trust-band .icon {
  color: var(--green);
}


.content-section--tint,
.related-band {
  padding-block: 64px;
  border-block: 1px solid var(--line);
  background: var(--surface-alt);
}

.section-heading,
.account-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}


.section-heading h2,
.section-heading h3,
.account-section-heading h1,
.account-section-heading h2,
.admin-table-heading h2 {
  margin: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.category-tile {
  min-width: 0;
  min-height: 148px;
  display: grid;
  justify-items: start;
  align-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
}

.category-tile:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.category-tile > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--selected-bg);
  color: var(--selected-ink);
}

.category-tile strong {
  max-width: 100%;
  overflow-wrap: anywhere;
}

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


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

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

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

.listing-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.07);
  transition: border-color var(--motion-fast) var(--motion-enter), box-shadow var(--motion-standard) var(--motion-enter), transform var(--motion-fast) var(--motion-enter);
}

.listing-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.listing-card__media {
  background: var(--surface-alt);
}

.listing-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.listing-card__media img {
  transition: transform var(--motion-standard) var(--motion-enter);
}

.listing-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-content: center;
  justify-items: center;
  gap: 8px;
  background: var(--surface-alt);
  color: var(--muted);
  text-align: center;
}

.listing-image-placeholder .icon {
  width: 30px;
  height: 30px;
}

.listing-image-placeholder small {
  font-size: 12px;
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  .listing-card:hover .listing-card__media img {
    transform: scale(1.025);
  }
}

.status-chip {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.status-chip--promoted {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--yellow-soft);
  color: #7a4b00;
}

.status-chip--success {
  background: var(--green-soft);
  color: var(--green);
}

.status-chip--pending {
  background: var(--yellow-soft);
  color: #7a4b00;
}

.status-chip--risk {
  background: var(--red-soft);
  color: var(--red);
}

.status-chip--neutral {
  background: var(--surface-alt);
  color: var(--muted);
}

.favorite-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 1)) drop-shadow(0 2px 4px rgba(17, 24, 39, 0.34));
  transition: color var(--motion-fast) var(--motion-enter), transform var(--motion-press) var(--motion-enter);
}

.favorite-button:hover {
  background: transparent;
  color: var(--ink);
  transform: scale(1.06);
}

.favorite-button:active {
  background: transparent;
  transform: scale(0.94);
}

.favorite-button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.favorite-button.is-active,
.favorite-wide.is-active,
.mobile-detail-cta .icon-button.is-active {
  color: var(--red);
}

.favorite-button.is-active .icon,
.favorite-wide.is-active .icon,
.mobile-detail-cta .icon-button.is-active .icon {
  fill: currentColor;
}


.listing-card__category {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  text-transform: uppercase;
}


.listing-card h3 button,
.listing-card h3 a {
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 750;
  text-align: left;
  text-decoration: none;
}

.listing-card h3 button:hover,
.listing-card h3 a:hover {
  color: var(--selected-ink);
}

.listing-price {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
}

.listing-card__meta {
  color: var(--muted);
  font-size: 12px;
}

.listing-card__meta a,
.contact-meta span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}


.listing-card__meta a,
.detail-title-row p a,
.spec-grid a,
.vinde-ssr-location a {
  color: inherit;
  text-decoration: none;
}

.listing-card__category:hover,
.listing-card__meta a:hover,
.detail-title-row p a:hover,
.spec-grid a:hover,
.vinde-ssr-location a:hover {
  color: var(--selected-ink);
  text-decoration: underline;
}

.listing-card__meta .icon,
.detail-title-row p .icon,
.contact-meta .icon {
  width: 14px;
  height: 14px;
}

.home-publish-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.home-publish-band h2 {
  max-width: 680px;
}

.home-publish-band p {
  margin-bottom: 0;
}

.page-intro {
  padding-block: 46px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-intro--compact {
  padding-block: 28px;
}

.page-intro--detail {
  padding-block: 18px;
}

.page-intro p {
  max-width: 720px;
  margin-bottom: 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
}

.breadcrumbs button,
.breadcrumbs a {
  max-width: 220px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: none;
  color: var(--muted);
  text-decoration: none;
  text-overflow: ellipsis;
}

.breadcrumbs strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
}

.listings-search-row {
  display: grid;
  grid-template-columns: minmax(0, 720px) auto;
  gap: 12px;
}

.page-search {
  background: var(--surface);
}
.page-search {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding-left: 14px;
}


.page-search .primary-button {
  height: 42px;
  margin-right: 3px;
}

.mobile-filter-trigger {
  display: none;
}

.filter-count {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 10px;
}

.listings-layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding-block: 36px 72px;
}

.filter-sidebar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.filter-heading {
  border-bottom: 1px solid var(--line);
  background: inherit;
}

.filter-sidebar__scroll {
  display: grid;
  min-height: 0;
  gap: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.field-label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.field-label input,
.field-label textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.field-label textarea {
  resize: vertical;
}

.custom-combobox {
  position: relative;
  min-width: 0;
}

.combo-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.combo-trigger {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.combo-trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo-trigger > .icon:last-child {
  color: var(--muted);
  transition: transform 140ms ease;
}

.custom-combobox.is-open .combo-trigger > .icon:last-child {
  transform: rotate(180deg);
}

.combo-trigger:hover {
  border-color: var(--line-strong);
  background: #fbfcfd;
}

.combo-trigger:focus-visible {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.combo-backdrop {
  display: none;
}

.combo-popover {
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--surface);
  box-shadow: 0 20px 54px rgba(17, 24, 39, 0.18);
}

.combo-popover--headerless {
  grid-template-rows: minmax(0, 1fr);
}

.combo-popover--headerless.combo-popover--searchable {
  grid-template-rows: auto minmax(0, 1fr);
}

.combo-popover[hidden] {
  display: none;
}

.combo-popover header {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 9px 7px 14px;
  border-bottom: 1px solid var(--line);
}

.combo-search {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-alt);
}

.combo-search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.combo-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.combo-search > input,
.hero-search .combo-search > input,
.filter-sidebar .combo-search > input,
.publish-form .combo-search > input {
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}



.filter-sidebar .combo-popover,
.publish-form .combo-popover {
  max-width: 100%;
}

.combo-options {
  overscroll-behavior: contain;
}

.combo-option {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.combo-option > span:first-child {
  min-width: 0;
  display: block;
}


.combo-option strong {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
}


.combo-option small {
  color: var(--muted);
  font-size: 11px;
}
.combo-option small {
  min-width: 0;
  display: block;
  margin-top: 2px;
}


.combo-option:hover,
.combo-option:focus-visible {
  outline: 0;
  background: var(--surface-alt);
}

.combo-option[aria-selected="true"] {
  background: var(--selected-bg);
  color: var(--selected-ink);
}

.combo-option__indicator {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.combo-empty {
  padding: 28px 18px;
  color: var(--muted);
  text-align: center;
}

.current-location-picker,
.combo-location-group {
  margin: 4px 4px 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-alt);
}

.listing-card__media::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  background: linear-gradient(to bottom, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.12));
  content: '';
  pointer-events: none;
}

.combo-section-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 2px 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.combo-section-title .icon {
  width: 17px;
  height: 17px;
  color: var(--selected-ink);
}

.combo-section-title--manual {
  margin: 3px 4px 0;
  padding: 8px 8px 5px;
  border-top: 1px solid var(--line);
}

.current-location-button {
  width: 100%;
  min-height: 44px;
  justify-content: center;
}

.current-location-status {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}

.current-location-status > span,
.current-location-status > span > span {
  min-width: 0;
}

.current-location-status strong {
  display: block;
  overflow-wrap: anywhere;
}


.current-location-status small {
  color: var(--muted);
  font-size: 11px;
}
.current-location-status small {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 2px;
}


.current-location-status.is-detected > .icon {
  flex: 0 0 auto;
  color: var(--green);
}

.current-location-status.is-error {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.current-location-status.is-error > span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.current-location-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid var(--line-strong);
  border-top-color: var(--selected-ink);
  border-radius: 999px;
  animation: current-location-spin 720ms linear infinite;
}

@keyframes current-location-spin {
  to { transform: rotate(360deg); }
}

.range-field strong {
  color: var(--selected-ink);
}

.range-field input[type="range"] {
  min-height: 28px;
  padding: 0;
  accent-color: var(--selected-ink);
}

.filter-checks {
  border: 0;
  border-block: 1px solid var(--line);

  display: grid;
  gap: 10px;
  padding: 14px 0;
}

.filter-checks legend {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 750;
}

.filter-checks label,
.check-row {
  min-height: 30px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 13px;
}

.filter-checks input,
.check-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  accent-color: var(--selected-ink);
}


.filter-apply {

  width: 100%;
  display: inline-flex;
}

.filter-section {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.filter-section h3,
.filter-section__title {
  font-size: 13px;
  font-weight: 800;
}
.filter-section h3 {
  margin: 0;
}


.filter-section__title {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}


.filter-section__title small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.filter-section--dynamic {
  padding: 15px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: #f8fafc;
}

.filter-group {
  min-width: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.filter-group > summary {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.filter-group > summary::-webkit-details-marker {
  display: none;
}

.filter-group > summary::after {
  content: "+";
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.filter-group[open] > summary::after {
  content: "−";
}

.filter-group > summary:focus-visible {
  outline: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.filter-group > summary small {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}


.filter-group.filter-section--dynamic {
  padding: 0 12px;
}

.filter-group.filter-section--dynamic .filter-group__body {
  padding-bottom: 12px;
}

.filter-input-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}


.filter-submit-row {
  background: inherit;
}

.filter-submit-row .primary-button,
.filter-submit-row .secondary-button {
  min-width: 0;
  padding-inline: 9px;
}

.filter-validation-message {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.filter-input-row input[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 2px var(--red-soft);
}

.results-column {
  min-width: 0;
}

.results-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.results-toolbar h1 {
  margin: 0;
  font-size: 30px;
}

.result-count-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: .01em;
}

.custom-combobox--compact {
  min-width: 190px;
}

.custom-combobox--compact .combo-trigger {
  min-height: 44px;
}


.view-toggle {
  position: relative;
  width: 96px;
  min-width: 96px;
  height: 48px;
  display: grid;
  grid-template-columns: repeat(2, 44px);
  align-items: center;
  gap: 0;
  padding: 2px 4px;
  border: 0;
  border-radius: 15px;
  background: var(--surface-alt);
  isolation: isolate;
}

.view-toggle::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 4px;
  left: 4px;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(16, 24, 40, .12);
  transform: translateX(0);
  transition: transform 140ms ease-out, background-color 140ms ease-out, box-shadow 140ms ease-out;
}

.view-toggle[data-active-view="grid"]::before {
  transform: translateX(44px);
}

.view-toggle > button {
  position: relative;
  z-index: 1;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  transition: color 140ms ease-out, transform 140ms ease-out;
}

.view-toggle > button.is-active {
  color: var(--ink);
}

.view-toggle > button:active {
  transform: scale(.96);
}

.view-toggle > button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.view-mode-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.active-filters > button:not(.text-button) {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 0;
  background: var(--surface-alt);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.active-filters .icon {
  width: 16px;
  height: 16px;
}

.active-filters .text-button {
  min-height: 40px;
  padding-inline: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}


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



.listing-card--list h3 {
  min-height: 0;
  margin-top: 8px;
}

.listing-card--list .listing-card__meta {
  display: flex;
  gap: 18px;
}


.listing-card__list-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
}

.listing-card__list-actions > span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 32px;
}

.pagination button,
.pagination a {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.pagination .is-current {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.inline-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--ink);
}

.inline-notice > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.inline-notice > span {
  min-width: 0;
  flex: 1;
}

.inline-notice--error {
  border-color: #f2b8b5;
  background: #fff8f7;
}

.empty-state {
  min-height: 390px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 40px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.empty-state > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--surface-alt);
}

.empty-state h2,
.empty-state h1,
.empty-state p {
  max-width: 480px;
}

.listing-card__facts {
  min-width: 0;
  display: flex;
  gap: 6px;
  margin: -5px 0 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.listing-card__facts span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.listing-card__facts span + span::before { content: '·'; margin-right: 6px; color: var(--line-strong); }

.detail-terminal-shell {
  padding-block: clamp(28px, 7vw, 72px);
}

.detail-terminal-state {
  min-height: min(390px, calc(100svh - 220px));
  padding: clamp(24px, 6vw, 40px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.detail-terminal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.detail-terminal-actions > * {
  min-height: 44px;
}

@media (max-width: 359px) {
  .detail-terminal-actions {
    width: 100%;
    align-items: stretch;
  }

  .detail-terminal-actions > * {
    width: 100%;
  }
}

.sheet-backdrop,
.filter-sheet {
  display: none;
}



.detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.detail-gallery__main {
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.detail-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery__main > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.78);
  color: white;
  font-size: 11px;
}

.detail-gallery--empty {
  grid-template-columns: minmax(0, 1fr);
}

.detail-gallery__main > .detail-gallery__image-placeholder {
  position: absolute;
  inset: 0;
  padding: 0;
  border-radius: 0;
  background: var(--surface-alt);
  color: var(--muted);
}

.detail-gallery__thumbs {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  min-width: 0;
}

.detail-gallery__thumbs button {
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.detail-gallery__thumbs button.is-active {
  border-color: var(--selected-ink);
}

.detail-gallery__thumbs img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
  border-bottom: 1px solid var(--line);
}

.detail-title-row h1 {
  margin-bottom: 8px;
  font-size: 34px;
}

.detail-title-row p {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}


.detail-title-row > strong {
  flex: 0 0 auto;
  font-size: 30px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 18px 0 4px;
}

.detail-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #163a70;
  font-size: 12px;
  font-weight: 750;
}

.detail-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.detail-section p:last-child {
  margin-bottom: 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.spec-grid > div {
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.spec-grid dt {
  color: var(--muted);
  font-size: 12px;
}

.spec-grid dd {
  margin: 3px 0 0;
  font-weight: 750;
}

.safety-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.safety-note > .icon {
  width: 32px;
  height: 32px;
  color: var(--green);
}

.safety-note h2 {
  margin-bottom: 5px;
  font-size: 18px;
}

.safety-note p {
  margin: 0;
}

.contact-column {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.contact-price {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-price span,
.seller-summary span,
.contact-meta {
  color: var(--muted);
  font-size: 12px;
}

.contact-price strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
}

.seller-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-block: 5px;
}

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

.seller-summary span {
  display: block;
}


.seller-summary strong {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.seller-summary small {
  white-space: nowrap;
  text-overflow: ellipsis;
}

.seller-summary span .icon {
  width: 13px;
  height: 13px;
  display: inline;
  color: var(--green);
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #163a70;
  font-weight: 850;
}

a.seller-summary,
a.seller-summary:visited,
a.seller-summary:hover,
a.seller-summary:focus-visible {
  text-decoration: none;
}

.avatar--seller {
  overflow: hidden;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.avatar--seller .avatar__initials {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #163a70;
  font-size: 17px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transform: translateY(-0.5px);
}

.avatar--large {
  width: 68px;
  height: 68px;
  flex-basis: 68px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  font-size: 24px;
}

.avatar--large .avatar__initials {
  font-size: 25px;
}

.contact-button {
  width: 100%;
}


.favorite-wide {
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-alt);
  font-weight: 750;
}
.favorite-wide {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}


.contact-meta {
  display: grid;
  gap: 7px;
  padding: 8px 0;
}

.report-link {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: none;
  color: var(--red);
  font-size: 12px;
}

.detail-contact__safety {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.detail-contact__safety .report-link {
  width: 100%;
  min-width: 0;
  justify-content: flex-start;
  padding-inline: 4px;
  text-align: left;
}

.mobile-detail-cta {
  display: none;
}


.publish-progress {
  list-style: none;
  background: var(--line);
}

.publish-progress li {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 750;
}

.publish-progress li span,
.form-band__heading > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-alt);
  font-size: 12px;
}

.publish-progress li.is-active {
  color: var(--ink);
}

.publish-progress li.is-active span,
.form-band__heading > span {
  background: var(--ink);
  color: white;
}


.form-band {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form-band__heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.form-band__heading h2,
.form-band__heading p {
  margin-bottom: 4px;
}


.photo-preview {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: grid;
  grid-template-rows: auto auto;
}

.photo-preview__media,
.photo-add {
  border-radius: var(--radius);
}
.photo-preview__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}


.photo-preview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview__media > span {
  position: absolute;
  bottom: 7px;
  left: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.78);
  color: white;
  font-size: 10px;
}

.photo-preview__actions :is(.icon-button, .text-button) {
  position: static;
  min-width: 44px;
  min-height: 44px;
  border: 0;
}

/* Runtime upload previews place reorder/cover/delete in a shared action row.
   Keep those controls in normal flex flow instead of stacking every icon at
   the generic preview corner. */
.photo-preview .photo-preview__actions .icon-button {
  position: static;
  inset: auto;
}

.photo-preview .icon-button .icon {
  width: 16px;
  height: 16px;
}

.photo-add {
  border: 1px dashed var(--line-strong);
  background: var(--surface-alt);
}
.photo-add {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  min-height: 110px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
}


.photo-add .icon {
  color: var(--selected-ink);
}

.photo-add span {
  color: var(--muted);
  font-size: 11px;
}

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

.field-label--full {
  grid-column: 1 / -1;
}

.smart-category {
  border: 1px solid #b9d1f8;
  border-radius: var(--radius);
  background: var(--blue-soft);
  text-align: left;
}

.smart-category > .icon:first-child {
  color: var(--blue);
}


.smart-category small {
  color: var(--muted);
}

.publish-review {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid #b3ddca;
  border-radius: var(--radius);
  background: var(--green-soft);
}

.publish-review > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.publish-review > div > .icon {
  color: var(--green);
}

.publish-review strong,
.publish-review small {
  display: block;
}

.publish-review small {
  color: var(--muted);
}


.publish-actions .primary-button[data-publish-submit-state]:disabled {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  cursor: wait;
  opacity: 1;
}

.publish-actions .primary-button[data-publish-submit-state="success"]:disabled {
  border-color: var(--green);
  background: var(--green);
  cursor: default;
}

.publish-submit-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #bed2f4;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--ink);
}

.publish-submit-status[hidden] {
  display: none;
}

.publish-submit-status > span:first-child {
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  color: var(--blue);
}

.publish-submit-status .icon {
  width: 20px;
  height: 20px;
}

.publish-submit-status strong {
  display: block;
}


.publish-submit-status small {
  color: var(--muted);
}
.publish-submit-status small {
  display: block;
  margin-top: 3px;
}


.publish-submit-status--success {
  border-color: #b3ddca;
  background: var(--green-soft);
}

.publish-submit-status--success > span:first-child {
  color: var(--green);
}

.publish-submit-status--failed_retryable {
  border-color: color-mix(in srgb, var(--warning-ink, #7a4b00) 30%, transparent);
  background: var(--yellow-soft);
}

.publish-submit-status--failed_retryable > span:first-child {
  color: var(--warning-ink, #7a4b00);
}

.publish-submit-status--failed_terminal {
  border-color: #f4b6b0;
  background: var(--red-soft);
}

.publish-submit-status--failed_terminal > span:first-child {
  color: var(--red);
}

.favorite-button.is-active {
  animation: favorite-confirm var(--motion-standard) var(--motion-enter);
}

@keyframes favorite-confirm {
  0% { transform: scale(0.88); }
  65% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.publish-form[data-publish-operation-locked="1"] .publish-section,
.publish-form[data-publish-operation-locked="1"] .publish-review {
  opacity: 0.72;
}

.auth-page {
  background: var(--surface);
}

.auth-photo {
  background: url("../images/marketplace-home.jpg") center / cover no-repeat;
}



.auth-gate-shell {
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 72px) 18px;
  background: var(--canvas);
}

.auth-gate-card {
  width: min(100%, 480px);
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(17, 24, 39, .12);
  text-align: center;
}

.auth-gate-card h1 {
  margin: 0;
}

.auth-gate-card p {  color: var(--muted); }
.auth-gate-card p {
  margin: 0;
  max-width: 38ch;
}

.auth-gate-actions { width: 100%; display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.auth-gate-actions > * { min-width: 148px; }


.auth-tabs,
.message-tabs,
.segmented {
  border-bottom: 1px solid var(--line);
}
.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}



.auth-tabs button,
.message-tabs button,
.segmented button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.auth-tabs button,
.segmented button {
  min-height: 44px;
}


.auth-tabs button.is-active,
.message-tabs button.is-active,
.segmented button.is-active {
  border-bottom-color: var(--selected-ink);
  color: var(--ink);
}



.auth-form__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-safety {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.auth-safety .icon {
  color: var(--green);
}

.auth-safety strong,
.auth-safety small {
  display: block;
}

.auth-safety small {
  color: var(--muted);
}

.messages-shell {
  height: 680px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  margin-block: 28px 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.thread-list {
  min-width: 0;
  overflow-y: auto;
  border-right: 1px solid var(--line);
}

.thread-list__tools {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.thread-list__tools label {
  min-width: 0;
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.thread-list__tools .message-refresh {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
}

.thread-list__tools input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
}

.message-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  padding-inline: 14px;
}


.message-tabs button {
  min-height: 44px;
  position: relative;
  z-index: 1;
}


.message-tabs button.is-active {
  border-bottom-color: transparent;
}

.message-tabs button span {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--selected-bg);
  color: var(--selected-ink);
  font-size: 10px;
}

.thread-row {
  position: relative;
  width: 100%;
  min-height: 102px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
}

.thread-row:hover,
.thread-row.is-active {
  background: #f5f8fc;
}

.thread-row.is-active::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 3px;
  background: var(--selected-ink);
}

.thread-row > span:nth-child(2) {
  min-width: 0;
}

.thread-row strong,
.thread-row small,
.thread-row p {
  text-overflow: ellipsis;
  white-space: nowrap;
}
.thread-row strong,
.thread-row small {
  display: block;
  overflow: hidden;
}


.thread-row small,
.thread-row p,
.thread-row time {
  color: var(--muted);
  font-size: 11px;
}

.thread-row p {
  display: block;
  overflow: hidden;
  margin: 6px 0 0;
}


.thread-row b {
  position: absolute;
  right: 14px;
  bottom: 13px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--selected-ink);
  color: white;
  font-size: 10px;
}

.thread-list__empty-hint {
  padding: 20px 14px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.conversation {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.conversation__header {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}

.conversation__header strong,
.conversation__header small {
  display: block;
}

.conversation__header small {
  color: var(--muted);
  font-size: 11px;
}

.conversation-back {
  display: none;
}

.listing-context {
  min-height: 64px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.listing-context__media {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e9edf2;
  color: var(--muted);
}


.listing-context__media > span {
  display: none;
}

.listing-context__media.is-fallback > span,
.listing-context__media.is-broken > span {
  display: grid;
  place-items: center;
}

.listing-context small,
.listing-context strong {
  display: block;
}

.listing-context small {
  color: var(--muted);
  font-size: 10px;
}

.message-stream {
  background: #f6f8fb;
}

.message-bubble {
  border: 1px solid var(--line);
  border-radius: 8px 8px 8px 2px;
  background: var(--surface);
}

.message-bubble.is-mine {
  border-color: #c9d9ef;
  border-radius: 8px 8px 2px 8px;
  background: var(--blue-soft);
}

.message-bubble p {
  margin: 0 0 5px;
  color: var(--ink);
}

.message-bubble span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

.message-attachments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 112px));
  gap: 4px;
  margin-bottom: 7px;
}

.message-attachment {
  position: relative;
  min-width: 88px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 7px;
  background: #e9edf2;
  color: var(--muted);
}

.message-attachment img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.message-attachment [data-message-attachment-fallback] {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}

.message-attachment.is-broken [data-message-attachment-fallback] {
  display: grid;
}

.composer {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.composer input {
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.composer__send {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.account-head {
  background: var(--ink);
  color: white;
}



.profile-identity h1,
.profile-identity p {
  color: white;
}


.account-nav {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.account-nav > :is(button, a) {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  text-decoration: none;
  text-align: left;
}

.account-nav > :is(button, a) .icon:first-child {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.account-nav > :is(button, a):last-child {
  border-bottom: 0;
}

.account-nav > :is(button, a):hover,
.account-nav > :is(button, a).is-active {
  background: var(--selected-bg);
}

.account-nav > :is(button, a).is-active {
  box-shadow: inset 3px 0 var(--selected-ink);
}

.account-nav > :is(button, a) .icon:last-child {
  width: 14px;
  height: 14px;
  color: var(--muted);
}


.account-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.account-metrics button {
  min-height: 126px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.account-metrics button:last-child {
  border-right: 0;
}

.account-metrics button:hover {
  background: var(--surface-alt);
}

.account-metrics button > span {
  color: var(--selected-ink);
}

.account-metrics strong {
  font-size: 28px;
}

.account-count-skeleton {
  width: 34px;
  height: 22px;
  display: grid;
  place-items: center;
}

.account-count-skeleton > span {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: #e4e7ec;
}

.account-count-error {
  display: grid;
  place-items: center;
  color: var(--danger, #b42318);
}

.account-count-error svg {
  width: 22px;
  height: 22px;
}

.account-counts-error {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -12px 0 24px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--danger, #b42318) 28%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--danger, #b42318) 6%, var(--surface));
}

.account-counts-error > span {
  display: grid;
  flex: 0 0 auto;
  color: var(--danger, #b42318);
}

.account-counts-error p {
  flex: 1 1 auto;
  margin: 0;
  color: var(--ink);
}

.account-metrics small {
  color: var(--muted);
}

.account-activity,
.account-help-row,
.settings-form,
.owner-listings {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.account-activity .section-heading {
  margin: 0;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.activity-row,
.owner-row {
  border-bottom: 1px solid var(--line);
}
.activity-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}


.activity-row:last-child,
.owner-row:last-child {
  border-bottom: 0;
}

.activity-row img,
.owner-row img {
  border-radius: 6px;
}
.activity-row img {
  width: 68px;
  height: 58px;
  object-fit: cover;
}


.activity-row strong,
.activity-row small,
.owner-row strong,
.owner-row small {
  display: block;
}

.activity-row small,
.owner-row p {
  color: var(--muted);
  font-size: 12px;
}

.owner-row {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  min-height: 112px;
}


.owner-row img {
  object-fit: cover;
  width: 92px;
  height: 76px;
}


.owner-row h3,
.owner-row p {
  margin: 5px 0 0;
}

.owner-row__actions {
  display: flex;
  gap: 6px;
}

.account-help-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 20px;
}

.account-help-row > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.account-help-row strong,
.account-help-row small {
  display: block;
}

.account-help-row small {
  color: var(--muted);
}

.settings-form {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.settings-form > .primary-button {
  margin: 0 22px 22px;
}


.settings-form > section {
  border-bottom: 1px solid var(--line);
}
.settings-form > section {
  margin: 0 22px 22px;
  padding-top: 22px;
}


.toggle-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.toggle-row strong,
.toggle-row small {
  display: block;
}

.toggle-row small {
  color: var(--muted);
}

.toggle-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--selected-ink);
}

.admin-header {
  padding-block: 30px;
  background: var(--ink);
  color: white;
}

.admin-header .breadcrumbs,
.admin-header .breadcrumbs button,
.admin-header .breadcrumbs strong,
.admin-header p {
  color: #cbd5e1;
}

.admin-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.admin-title h1 {
  margin-bottom: 8px;
}

.admin-title p {
  margin: 0;
}

.admin-page {
  padding-block: 28px 80px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.admin-metrics > div {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.admin-metrics > div:last-child {
  border-right: 0;
}

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

.admin-metrics strong {
  font-size: 28px;
}

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

.trend--up {
  color: var(--green);
}

.trend--risk {
  color: var(--red);
}

.admin-toolbar {
  display: grid;
  grid-template-columns: 260px minmax(240px, 1fr) auto;
  gap: 10px;
  margin-bottom: 18px;
}

.segmented {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.segmented button {
  border-bottom: 0;
  border-right: 1px solid var(--line);
}

.segmented button:last-child {
  border-right: 0;
}

.segmented button.is-active {
  background: var(--ink);
  color: white;
}

.admin-search {
  background: var(--surface);
}
.admin-search {
  height: 44px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
}


.admin-table-section,
.parity-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.admin-table-section {
  overflow: hidden;
}


.admin-table-heading {
  border-bottom: 1px solid var(--line);
}
.admin-table-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  align-items: center;
  margin: 0;
  padding: 16px 18px;
}


.admin-table-heading p {
  margin: 3px 0 0;
  font-size: 12px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

td {
  font-size: 13px;
}

td strong,
td small {
  display: block;
}

td small {
  color: var(--muted);
}

tbody tr:hover {
  background: #fafbfc;
}

.admin-table-section table {
  min-width: 820px;
}

.empty-inline {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-block: 36px 80px;
}

.state-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.state-card__preview {
  min-height: 170px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  margin: -18px -18px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.state-card h2 {
  font-size: 19px;
}

.state-card p {
  min-height: 68px;
}

.state-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
}

.state-icon--error {
  background: var(--red-soft);
  color: var(--red);
}

.state-icon--lock {
  background: var(--selected-bg);
  color: var(--selected-ink);
}

.skeleton-preview span {
  width: 74%;
  height: 14px;
  border-radius: 3px;
  background: #d9dee6;
  animation: pulse 1.4s ease-in-out infinite;
}

.skeleton-preview span:nth-child(2) {
  width: 58%;
}

.skeleton-preview span:nth-child(3) {
  width: 68%;
}

.skeleton-preview.is-complete {
  color: var(--green);
}

.vinde-skeleton {
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.vinde-skeleton > div {
  min-height: 320px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 28px;
  gap: 12px;
  overflow: hidden;
}

.vinde-skeleton [data-skeleton-block] {
  min-width: 0;
  border-radius: 10px;
  background: #e4e7ec;
}

.vinde-skeleton [data-skeleton-block]:nth-child(even) { background: #f2f4f7; }
.vinde-skeleton [data-skeleton-block]:first-child { background: #ffe7d1; }
.vinde-skeleton > p { margin: 14px 0 0; color: var(--muted); font-weight: 700; }

.vinde-skeleton--home [data-skeleton-block]:nth-child(1),
.vinde-skeleton--listings [data-skeleton-block]:nth-child(1),
.vinde-skeleton--publish-edit [data-skeleton-block]:nth-child(2),
.vinde-skeleton--account [data-skeleton-block]:nth-child(n+7) { grid-column: 1 / -1; }
.vinde-skeleton--home [data-skeleton-block]:nth-child(2) { grid-column: 1 / 5; }
.vinde-skeleton--home [data-skeleton-block]:nth-child(3) { grid-column: 5 / 9; }
.vinde-skeleton--home [data-skeleton-block]:nth-child(4) { grid-column: 9 / -1; }
.vinde-skeleton--home [data-skeleton-block]:nth-child(n+5) { grid-column: span 6; grid-row: span 5; }

.vinde-skeleton--listings [data-skeleton-block]:nth-child(n+2),
.vinde-skeleton--my-listings [data-skeleton-block]:nth-child(n+4) { grid-column: span 4; grid-row: span 3; }
.vinde-skeleton--listings [data-skeleton-block]:nth-child(2),
.vinde-skeleton--my-listings [data-skeleton-block]:nth-child(4) { grid-row: span 6; }
.vinde-skeleton--my-listings [data-skeleton-block]:nth-child(-n+3) { grid-column: span 4; }

.vinde-skeleton--detail > div { grid-auto-rows: 36px; }
.vinde-skeleton--detail [data-skeleton-block]:first-child { grid-column: 1 / -1; grid-row: span 6; }
.vinde-skeleton--detail [data-skeleton-block]:nth-child(n+2):nth-child(-n+5) { grid-column: 1 / 10; }
.vinde-skeleton--detail [data-skeleton-block]:nth-child(n+6) { grid-column: span 6; grid-row: span 2; }

.vinde-skeleton--publish-edit [data-skeleton-block] { grid-column: 1 / -1; grid-row: span 2; }
.vinde-skeleton--publish-edit [data-skeleton-block]:nth-child(4),
.vinde-skeleton--publish-edit [data-skeleton-block]:nth-child(5) { grid-column: span 6; }
.vinde-skeleton--publish-edit [data-skeleton-block]:nth-child(6) { grid-row: span 4; }

.vinde-skeleton--messages [data-skeleton-block]:nth-child(odd),
.vinde-skeleton--notifications [data-skeleton-block]:nth-child(odd) { grid-column: 1 / 3; grid-row: span 2; border-radius: 999px; }
.vinde-skeleton--messages [data-skeleton-block]:nth-child(even),
.vinde-skeleton--notifications [data-skeleton-block]:nth-child(even) { grid-column: 3 / -1; grid-row: span 2; }

.vinde-skeleton--account [data-skeleton-block]:first-child { grid-column: 1 / 4; grid-row: span 4; border-radius: 999px; }
.vinde-skeleton--account [data-skeleton-block]:nth-child(2),
.vinde-skeleton--account [data-skeleton-block]:nth-child(3) { grid-column: 4 / 10; }
.vinde-skeleton--account [data-skeleton-block]:nth-child(n+4):nth-child(-n+6) { grid-column: span 4; grid-row: span 3; }

.vinde-skeleton--stats [data-skeleton-block]:nth-child(-n+3) { grid-column: span 4; }
.vinde-skeleton--stats [data-skeleton-block]:nth-child(n+4) { grid-column: span 1; grid-row: span 6; align-self: end; }
.vinde-skeleton--stats [data-skeleton-block]:nth-child(4) { grid-column-start: 1; grid-row: 4 / span 4; }
.vinde-skeleton--stats [data-skeleton-block]:nth-child(5) { grid-row: 3 / span 5; }
.vinde-skeleton--stats [data-skeleton-block]:nth-child(6) { grid-row: 5 / span 3; }
.vinde-skeleton--stats [data-skeleton-block]:nth-child(7) { grid-row: 2 / span 6; }
.vinde-skeleton--stats [data-skeleton-block]:nth-child(8) { grid-row: 4 / span 4; }
.vinde-skeleton--stats [data-skeleton-block]:nth-child(9) { grid-row: 3 / span 5; }
.vinde-skeleton--stats [data-skeleton-block]:nth-child(10) { grid-row: 6 / span 2; }

@media (max-width: 640px) {
  .vinde-skeleton { padding: 14px; border-radius: 12px; }
  .vinde-skeleton > div { min-height: 280px; gap: 9px; }
  .vinde-skeleton--home [data-skeleton-block]:nth-child(n+5),
  .vinde-skeleton--listings [data-skeleton-block]:nth-child(n+2),
  .vinde-skeleton--my-listings [data-skeleton-block]:nth-child(n+4) { grid-column: 1 / -1; }
}

.help-hero {
  padding-block: 64px;
  background: var(--ink);
  color: white;
}

.help-hero h1 {
  color: white;
}

.help-search {
  background: white;
  color: var(--ink);
}

.help-search .primary-button {
  height: 46px;
  margin-right: 3px;
}

.help-layout,
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 42px;
  padding-block: 44px 80px;
}

.help-nav,
.legal-layout aside {
  display: grid;
  align-content: start;
  gap: 2px;
}

.help-nav strong {
  padding: 10px 12px;
}

.help-nav button,
.legal-layout aside button,
.legal-layout aside a {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  text-align: left;
}

.help-nav button:hover,
.help-nav button.is-active,
.legal-layout aside button:hover,
.legal-layout aside button.is-active,
.legal-layout aside a:hover,
.legal-layout aside a.is-active {
  background: var(--selected-bg);
}

.help-content,
.legal-layout article {
  max-width: 820px;
}

.help-steps {
  border-block: 1px solid var(--line);
}

.help-steps section {
  border-bottom: 1px solid var(--line);
}

.help-steps section:last-child {
  border-bottom: 0;
}

.help-steps section > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.help-steps h3,
.help-steps p {
  margin-bottom: 4px;
}

.support-row,
.parity-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.support-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 18px;
}


.support-row strong,
.support-row small,
.parity-note strong,
.parity-note small {
  display: block;
}

.support-row small,
.parity-note small {
  color: var(--muted);
}

.legal-layout article h3 {
  margin-top: 30px;
}

.parity-section {
  overflow: hidden;
  margin-block: 36px 80px;
}


.parity-section table {
  min-width: 820px;
}

.parity-note {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: var(--green-soft);
}
.parity-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 18px;
  margin: 0;
}


.parity-note > .icon {
  color: var(--green);
}

.not-found {
  min-height: 560px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.not-found > span {
  color: var(--selected-ink);
  font-size: 72px;
  font-weight: 900;
}

.install-banner {
  position: fixed;
  z-index: var(--z-feedback);
  right: 16px;
  bottom: 16px;
  width: min(520px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.install-banner > img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
}

.install-banner strong {
  display: block;
}


.install-banner p {
  font-size: 11px;
  line-height: 1.35;
}
.install-banner p {
  display: block;
  margin: 3px 0 0;
}


.install-banner .secondary-button {
  max-width: 190px;
  white-space: normal;
  line-height: 1.2;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.footer-main {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.footer-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.brand-lockup--footer {
  gap: 8px;
  font-size: 17px;
}

.brand-lockup--footer img {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
}

.footer-nav button,
.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-nav button:hover,
.footer-nav a:hover {
  color: var(--selected-ink);
}

.footer-bottom {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.modal-backdrop {
  position: fixed;
  z-index: var(--z-sheet);
  inset: 0;
  background: rgba(17, 24, 39, 0.62);
}

body.has-canonical-modal {
  overflow: hidden;
  overscroll-behavior: none;
}

.modal {
  position: fixed;
  z-index: var(--z-modal);
  top: 50%;
  left: 50%;
  width: min(calc(100% - 32px), 500px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}


.modal-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
}

.modal-icon--success {
  background: var(--green-soft);
  color: var(--green);
}

.modal .field-label {
  margin-top: 14px;
}

.modal-actions {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 22px;
}


.modal[data-modal-kind="exit-publish"],
.modal-backdrop[data-modal-kind="exit-publish"] {
  opacity: 1;
  transition: opacity 150ms ease-out, transform 150ms ease-out;
}

.modal[data-modal-kind="exit-publish"].is-closing {
  opacity: 0;
  transform: translate(-50%, calc(-50% + 6px)) scale(.99);
  pointer-events: none;
}

.modal-backdrop[data-modal-kind="exit-publish"].is-closing {
  opacity: 0;
  pointer-events: none;
}

.modal-inline-error {
  margin-top: 13px;
  color: var(--red);
  font-weight: 700;
}

.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: vinde-button-spin 700ms linear infinite;
}

@keyframes vinde-button-spin { to { transform: rotate(360deg); } }

.toast-region {
  position: fixed;
  z-index: var(--z-feedback);
  right: auto;
  bottom: max(20px, var(--vinde-feedback-obstruction-offset, 0px), var(--vinde-feedback-keyboard-offset, 0px));
  left: 50%;
  display: block;
  width: min(560px, calc(100vw - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  width: 100%;
  min-width: 0;
  max-width: none;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto 48px;
  align-items: center;
  column-gap: 10px;
  min-height: 52px;
  padding: 6px 6px 6px 14px;
  border: 1px solid color-mix(in srgb, var(--vinde-feedback-accent, #73a7ff) 36%, transparent);
  border-radius: 18px;
  background: rgb(21 28 41 / 97%);
  color: #f8faff;
  box-shadow: 0 10px 28px rgb(0 0 0 / 30%);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms var(--motion-enter), transform 220ms var(--motion-enter);
  pointer-events: auto;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.toast--success { --vinde-feedback-accent: #45d483; }
.toast--error {
  --vinde-feedback-accent: #ff716a;
}
.toast--warning { --vinde-feedback-accent: #ffbe45; }
.toast--info,
.toast--default { --vinde-feedback-accent: #73a7ff; }

.vinde-premium-feedback__icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--vinde-feedback-accent) 58%, transparent);
  border-radius: 999px;
  color: var(--vinde-feedback-accent);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.vinde-premium-feedback__copy {
  min-width: 0;
  flex: 1 1 auto;
  color: #f8faff;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.35;
  align-self: center;
  overflow-wrap: anywhere;
}

.vinde-premium-feedback__action {
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 48px;
  padding: 0 10px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: var(--vinde-feedback-accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.vinde-premium-feedback__dismiss {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.vinde-premium-feedback__action:hover,
.vinde-premium-feedback__action:focus-visible,
.vinde-premium-feedback__dismiss:hover,
.vinde-premium-feedback__dismiss:focus-visible {
  background: color-mix(in srgb, var(--vinde-feedback-accent) 12%, transparent);
  outline: 2px solid color-mix(in srgb, var(--vinde-feedback-accent) 54%, transparent);
  outline-offset: -2px;
}

@keyframes pulse {
  0%, 100% { opacity: 0.52; }
  50% { opacity: 1; }
}

@media (max-width: 1120px) {
  .site-header__desktop {
    grid-template-columns: auto minmax(180px, 1fr) auto;
    gap: 12px;
  }

  .main-nav {
    display: none;
  }

  .header-actions .secondary-button {
    width: 44px;
    padding: 0;
    font-size: 0;
  }

  .header-actions .secondary-button .icon {
    width: 19px;
    height: 19px;
  }

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

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

  .listings-layout {
    grid-template-columns: 278px minmax(0, 1fr);
  }

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

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

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
  }
}

@media (max-width: 900px) and (min-width: 761px) {
  .shell-wide,
  .shell-narrow {
    width: calc(100% - 32px);
  }

  .site-header__desktop {
    grid-template-columns: 150px minmax(160px, 1fr) auto;
  }

  .brand {
    width: auto;
  }

  .brand-lockup--header {
    gap: 7px;
    font-size: 18px;
  }

  .brand-lockup--header img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .header-actions > .primary-button {
    width: 44px;
    padding: 0;
    font-size: 0;
  }

  .hero-search {
    grid-template-columns: minmax(200px, 1fr) repeat(2, minmax(150px, 0.7fr));
  }

  .hero-search__submit {
    grid-column: 1 / -1;
    width: fit-content;
  }

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

  .listings-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }

  .filter-sidebar {
    padding: 16px;
  }

  .results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .results-actions {
    width: 100%;
    justify-content: space-between;
  }

  .results-actions .custom-combobox--compact {
    min-width: 0;
    flex: 1;
  }

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

  .detail-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 74px;
  }

  .detail-title-row {
    display: grid;
  }

.contact-column {
    padding: 18px;
  }

  .auth-panel {
    padding: 40px;
  }

  .messages-shell {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .account-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
  }

  .admin-toolbar {
    grid-template-columns: 220px minmax(200px, 1fr);
  }

  .admin-toolbar > .primary-button {
    grid-column: 1 / -1;
    width: fit-content;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  body {
    font-size: 14px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 23px;
  }

  .shell-wide,
  .shell-narrow {
    width: calc(100% - 28px);
  }

  .site-header__desktop {
    display: none;
  }


  .site-header__mobile > .icon-button,
  .mobile-header-actions .icon-button {
    border: 0;
  }


  .brand-lockup--mobile {
    gap: 7px;
    font-size: 18px;
  }

  .brand-lockup--mobile img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }


  .mobile-header-actions .icon-button {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .mobile-menu {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-menu nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .mobile-menu .main-nav__link {
    width: 100%;
    justify-content: flex-start;
    border: 0;
    border-radius: var(--radius);
    background: var(--surface-alt);
  }

  .mobile-menu .main-nav__link .icon {
    display: block;
  }

  .mobile-menu .main-nav__link.is-active {
    background: var(--selected-bg);
  }


  .home-hero__photo {
    background-position: 58% 52%;
  }

  .home-hero__overlay {
    background: rgba(8, 18, 38, 0.61);
  }


  .home-hero h1 {
    font-size: 34px;
  }

  .home-hero__content > p {
    font-size: 15px;
  }


.hero-search__query {
  grid-column: 1 / -1;
}


.hero-search .combo-trigger {
  min-height: 48px;
  height: 48px;
}


.hero-search label {
  min-height: 48px;
  height: 48px;
  padding-inline: 10px;
}


  body.has-combobox {
    overscroll-behavior: contain;
  }


  .combo-backdrop {
    background: rgba(17, 24, 39, 0.58);
    pointer-events: auto;
  }

  .combo-popover,
  .custom-combobox--compact .combo-popover {
    border-width: 1px 0 0;
    border-radius: 12px 12px 0 0;
  }




  .combo-option {
    min-height: 52px;
  }


  .trust-band__grid > span {
    font-size: 10px;
    text-align: center;
  }

.content-section--tint,
.related-band {
  padding-block: 38px;
}


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

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


  .section-heading .secondary-button,
  .account-section-heading .primary-button {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 12px;
  }





  .listing-card h3 {
    min-height: 38px;
    font-size: 14px;
  }

  .listing-price {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .listing-card__meta span:last-child {
    display: none;
  }

  .home-publish-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .page-intro,
  .page-intro--compact {
    padding-block: 26px;
  }

  .page-intro--detail {
    padding-block: 12px;
  }

  .breadcrumbs {
    margin-bottom: 12px;
  }


  .page-search .primary-button {
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .page-search .primary-button::before {
    content: "→";
    font-size: 20px;
  }

  .mobile-filter-trigger {
    display: inline-flex;
    padding-inline: 11px;
  }

  .listings-layout {
    display: block;
    padding-block: 24px 52px;
  }

  .filter-sidebar {
    display: none;
  }

  .filter-sheet .filter-sidebar__scroll {
    display: grid;
    gap: 14px;
    overflow: visible;
  }


  .results-toolbar h1 {
    font-size: 25px;
  }


  .sort-select {
    min-width: 0;
    flex: 1;
  }

  .sort-select span {
    display: none;
  }

  .sort-select select {
    width: 100%;
  }

  .listing-card--list {
    grid-template-columns: 118px minmax(0, 1fr);
  }


  .listing-card--list .listing-card__body > p,
  .listing-card--list .listing-card__list-actions > span,
  .listing-card--list .listing-card__category {
    display: none;
  }

  .listing-card--list .listing-card__meta {
    display: grid;
    gap: 4px;
  }

  .listing-card--list .listing-card__list-actions {
    margin-top: 8px;
  }

  .listing-card--list .secondary-button {
    font-size: 11px;
  }

  .sheet-backdrop {
    background: rgba(17, 24, 39, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--motion-fast) var(--motion-enter);
  }

  .sheet-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .filter-sheet {
    border-radius: 8px 8px 0 0;
    background: var(--surface);
    transition: transform var(--motion-standard) var(--motion-drawer);
  }

  .filter-sheet.is-open {
    transform: none;
  }

  .sheet-handle {
    width: 42px;
    height: 4px;
    margin: 8px auto 3px;
    border-radius: 999px;
    background: var(--line-strong);
  }

  .filter-sheet header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
  }

  .filter-sheet header h2,
  .filter-sheet header .eyebrow {
    margin-bottom: 0;
  }


  .filter-sheet .filter-apply {
    display: inline-flex;
  }

  .filter-sheet .filter-submit-row {
    position: sticky;
    z-index: 3;
    bottom: calc(-20px - var(--safe-bottom));
    margin: 0 -16px;
    padding: 12px 16px calc(12px + var(--safe-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -10px 22px rgba(17, 24, 39, 0.08);
  }



  .detail-gallery {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .detail-gallery__main {
    min-width: 0;
    border-radius: 0;
    aspect-ratio: 4 / 3;
  }

  .detail-gallery__thumbs {
    position: relative;
    z-index: 2;
    min-width: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 68px;
    margin-top: -24px;
    padding-inline: 14px;
  }

  .detail-gallery__thumbs button {
    border-color: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.18);
  }

.detail-tags,
.detail-section {
  margin-inline: 14px;
}


.detail-title-row {
  margin-inline: 14px;
  display: grid;
  gap: 8px;
  padding-top: 22px;
}


  .detail-title-row h1 {
    font-size: 27px;
  }

  .detail-title-row > strong {
    grid-row: 1;
    font-size: 25px;
  }

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

  .safety-note {
    grid-template-columns: auto 1fr;
  }

  .safety-note .text-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .contact-column {
    position: static;
    margin: 14px;
    box-shadow: none;
  }

  .contact-column .contact-button,
  .contact-column .favorite-wide {
    display: none;
  }

  .mobile-detail-cta {
    position: fixed;
    z-index: var(--z-nav);
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-width: 100vw;
    min-width: 0;
    min-height: 66px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 7px;
    padding: 8px 10px calc(8px + var(--safe-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-detail-cta > * {
    max-width: 100%;
    min-width: 0;
  }

  .mobile-detail-cta[data-owner-view="1"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-detail-cta[data-owner-view="1"] > [data-owner-action] {
    padding-inline: 8px;
  }

  .related-band .listing-grid--home > :nth-child(n+3) {
    display: none;
  }


  .publish-progress li {
    min-height: 48px;
    font-size: 11px;
  }




  .field-label--full {
    grid-column: auto;
  }

  .publish-actions {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
  }

  .publish-actions [data-action="submit-publish"] {
    grid-column: 1 / -1;
  }


  .auth-photo {
    background-position: center 52%;
  }


  .auth-gate-actions { flex-direction: column-reverse; }
  .auth-gate-actions > * { width: 100%; }


  .messages-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: calc(100vh - var(--header-height) - var(--canonical-mobile-nav-clearance));
    height: min(680px, calc(100dvh - var(--header-height) - var(--canonical-mobile-nav-clearance)));
    min-height: 0;
    max-height: 680px;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .messages-shell:not(.is-thread-route) {
    display: block;
  }

  .messages-shell:not(.is-thread-route) .thread-list {
    height: 100%;
    border-right: 0;
  }

  .messages-shell:not(.is-thread-route) .conversation {
    display: none;
  }

  .messages-shell.is-thread-route {
    display: block;
  }

  .messages-shell.is-thread-route .thread-list {
    display: none;
  }

  .messages-shell.is-thread-route .conversation {
    height: 100%;
  }

  .conversation-back {
    display: grid;
  }

  .conversation__header {
    padding-inline: 8px;
  }

  .conversation__actions .icon-button:first-child {
    display: none;
  }

  .listing-context {
    padding-inline: 10px;
  }

  .listing-context .text-button {
    font-size: 11px;
  }

  .message-stream {
    padding: 16px 12px;
  }


  .composer {
    padding-bottom: calc(10px + var(--safe-bottom));
  }


  .account-head__inner {
    align-items: flex-start;
    min-width: 0;
  }

  .profile-identity {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 62px);
  }

  .profile-identity > div {
    min-width: 0;
    max-width: 100%;
  }

  .profile-identity h1 {
    font-size: 25px;
  }

  .profile-identity h1,
  .profile-identity p {
    word-break: break-word;
  }

  .profile-identity .avatar {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .account-head__inner > .secondary-button {
    min-width: 44px;
    width: 44px;
    padding: 0;
    font-size: 0;
  }


  .account-nav {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    scrollbar-width: none;
  }

  .account-nav > :is(button, a) {
    min-width: max-content;
    grid-template-columns: auto auto;
    border: 0;
    border-right: 1px solid var(--line);
    box-shadow: none;
  }

  .account-nav > :is(button, a) .icon:last-child {
    display: none;
  }

  .account-nav > :is(button, a).is-active {
    box-shadow: inset 0 -3px var(--selected-ink);
  }


  .account-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .account-metrics button {
    min-height: 100px;
    padding: 8px;
  }

  .account-metrics strong {
    font-size: 22px;
  }

  .account-metrics small {
    font-size: 10px;
    text-align: center;
  }

  .account-help-row {
    align-items: stretch;
    flex-direction: column;
  }

  .owner-row {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    padding-inline: 10px;
  }

  .owner-row img {
    width: 76px;
    height: 68px;
  }

  .owner-row p {
    display: none;
  }

  .owner-row__actions {
    display: grid;
  }

  .settings-form > section,
  .settings-form > .primary-button {
    margin-inline: 14px;
  }

  .admin-header {
    padding-block: 22px;
  }

  .admin-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-title h1 {
    font-size: 28px;
  }

  .admin-page {
    width: 100%;
    padding-block: 18px 56px;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, 1fr);
    border-inline: 0;
    border-radius: 0;
  }

  .admin-metrics > div {
    min-height: 92px;
    border-bottom: 1px solid var(--line);
  }

  .admin-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .admin-toolbar {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }

  .admin-toolbar > .primary-button {
    width: 100%;
  }

  .admin-table-section {
    border-inline: 0;
    border-radius: 0;
  }

  .state-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 24px 56px;
  }

  .state-card p {
    min-height: 0;
  }

  .help-hero {
    padding-block: 42px;
  }

  .help-search .primary-button {
    width: 46px;
    padding: 0;
    font-size: 0;
  }

  .help-search .primary-button::before {
    content: "→";
    font-size: 20px;
  }

  .help-layout,
  .legal-layout {
    display: block;
    padding-block: 24px 56px;
  }

  .help-nav,
  .legal-layout aside {
    display: flex;
    overflow-x: auto;
    margin-bottom: 28px;
    scrollbar-width: none;
  }

  .help-nav strong {
    display: none;
  }

  .help-nav button,
  .legal-layout aside button,
  .legal-layout aside a {
    min-width: max-content;
  }

  .support-row,
  .parity-note {
    grid-template-columns: auto 1fr;
  }

  .support-row .secondary-button {
    grid-column: 1 / -1;
  }

  .parity-section {
    width: 100%;
    margin-block: 24px 56px;
    border-inline: 0;
    border-radius: 0;
  }


  .footer-nav {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .modal {
    padding: 22px 18px;
  }

  .toast-region {
    right: auto;
    bottom: max(calc(12px + var(--safe-bottom)), var(--vinde-feedback-obstruction-offset, 0px), var(--vinde-feedback-keyboard-offset, 0px));
    left: 50%;
    width: min(560px, calc(100vw - 24px));
  }

  body.has-canonical-mobile-nav:not(.is-canonical-keyboard-open) .toast-region {
    bottom: max(calc(var(--canonical-mobile-nav-clearance, 92px) + 12px), var(--vinde-feedback-obstruction-offset, 0px), var(--vinde-feedback-keyboard-offset, 0px));
  }

  body.has-mobile-detail-cta:not(.has-canonical-mobile-nav):not(.is-canonical-keyboard-open) .toast-region {
    bottom: max(calc(78px + var(--safe-bottom)), var(--vinde-feedback-obstruction-offset, 0px), var(--vinde-feedback-keyboard-offset, 0px));
  }

  .toast {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .install-banner {
    right: 10px;
    bottom: calc(10px + var(--safe-bottom));
    left: 10px;
    width: auto;
    grid-template-columns: 42px minmax(0, 1fr) 36px;
    gap: 9px;
    padding: 10px;
  }

  .install-banner > img {
    width: 42px;
    height: 42px;
  }

  .install-banner > .primary-button,
  .install-banner > .secondary-button {
    grid-column: 2 / 3;
    width: fit-content;
    max-width: 100%;
    min-height: 34px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .install-banner > .icon-button {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  body.has-mobile-detail-cta .install-banner {
    bottom: calc(78px + var(--safe-bottom));
  }
}

@media (max-width: 390px) {
  .shell-wide,
  .shell-narrow {
    width: calc(100% - 24px);
  }

  .brand--mobile {
    width: auto;
  }

  .mobile-header-actions .icon-button {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .home-hero {
    min-height: 640px;
  }

  .home-hero h1 {
    font-size: 31px;
  }

  .hero-search label {
    font-size: 13px;
  }

  .category-tile {
    min-height: 108px;
  }

  .listing-card__media {
    aspect-ratio: 1 / 0.88;
  }

  .listing-card__category {
    font-size: 9px;
  }

  .listing-card h3 {
    font-size: 13px;
  }

  .listing-card__meta {
    font-size: 10px;
  }

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

  .publish-progress li {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    text-align: center;
  }

  .profile-identity h1 {
    font-size: 22px;
  }

  .owner-row {
    grid-template-columns: 64px minmax(0, 1fr) 38px;
  }

  .owner-row img {
    width: 64px;
    height: 60px;
  }
}

.cookie-banner {
  position: fixed;
  z-index: var(--z-feedback);
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .18);
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted, #667085);
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.wordpress-document > :first-child { margin-top: 0; }
.wordpress-document > :last-child { margin-bottom: 0; }
.wordpress-document :where(h2, h3, h4) { margin-top: 1.6em; }
.wordpress-document :where(p, li) { line-height: 1.7; }

.legal-document-scroll,
.help-document-scroll {
  max-height: clamp(320px, 52vh, 520px);
  overflow: auto;
  padding: 4px 18px 4px 0;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.legal-document-scroll > :is(h1, h2):first-child,
.help-document-scroll > :is(h1, h2):first-child {
  display: none;
}

.legal-document-scroll:focus-visible,
.help-document-scroll:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .legal-document-scroll,
  .help-document-scroll {
    max-height: clamp(320px, 52vh, 460px);
    padding-right: 10px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 82px;
    left: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner__actions .text-button { grid-column: 1 / -1; }
}

/* Final narrow-viewport containment. Keep intrinsic control sizes from
   widening the canonical page when runtime identities contain long values. */
@media (max-width: 760px) {
.form-band__heading,
.form-band__heading > div,
.field-label,
.dynamic-field,
.custom-combobox {
  min-width: 0;
  max-width: 100%;
}

.seller-profile-hero {
  align-items: flex-start;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}

.seller-profile-hero > div {
  flex: 1 1 calc(100% - 80px);
  min-width: 0;
  max-width: 100%;
}


  .seller-profile-hero h1,
  .seller-profile-hero p,
  .form-band__heading h2,
  .form-band__heading p,
  .smart-category strong,
  .smart-category small {
    word-break: break-word;
  }
.seller-profile-hero p,
.form-band__heading h2,
.form-band__heading p,
.smart-category strong,
.smart-category small {
  overflow-wrap: anywhere;
}

.seller-profile-hero h1 {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}


  .publish-form :is(input, select, textarea, button) {
    min-width: 0;
    max-width: 100%;
  }

  .results-actions .custom-combobox--compact {
    min-width: 0;
    flex: 1 1 auto;
  }

  .view-toggle {
    min-width: 0;
    flex: 0 0 auto;
  }
}

/* Canonical 0.5.17 bounded cascade: keep the component rules authoritative. */
.account-mobile-nav,
.account-mobile-back,
.publish-condition-control--mobile,
.combo-close-button,
.detail-mobile-back {
  display: none;
}

.home-hero { isolation: isolate; outline: 0; }
.home-hero__photo,
.home-hero__overlay { border-radius: inherit; }
.account-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  min-width: 0;
  flex: 1 1 auto;
}

.profile-identity > div { min-width: 0; }
.profile-identity h1,
.profile-identity p {   word-break: break-word;
  margin-bottom: 3px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.profile-identity__greeting {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-identity__greeting > span:first-child {
  min-width: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.verified-badge {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #e8f7ef;
  color: #087f4d;
}
.verified-badge .icon { width: 14px; height: 14px; }
.account-head__inner > .secondary-button { flex: 0 0 auto; }
.seller-summary > span:nth-child(2) {
  min-width: 0;
}

.seller-profile-hero > div {
  margin-right: auto;
  min-width: 0;
}

.seller-profile-hero h1,
.seller-profile-hero p,
.seller-summary strong,
.seller-summary small {
  word-break: break-word;
}
.seller-profile-hero h1 {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.seller-profile-hero p {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.seller-summary strong {
  display: -webkit-box;
  overflow: hidden;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.seller-summary small {
  overflow: hidden;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.custom-combobox--hero .combo-popover > header,
.custom-combobox--hero .combo-close-button { display: none; }
.trust-band,
.home-section { position: relative; z-index: 1; background: var(--surface); }
.listing-card .listing-card__body { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(42px, auto) auto auto 1fr; align-content: start; }
.listing-card__category {    text-overflow: ellipsis; white-space: nowrap;
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.listing-card__meta {
  display: grid;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.listing-card__meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.listing-card h3 button,
.listing-card h3 a {   -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  width: 100%;
  padding: 0;
  overflow-wrap: anywhere;
  display: -webkit-box;
  overflow: hidden;
}
.listing-card--list .listing-card__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
}
.listing-card--list .listing-card__body > p {
  max-width: 680px;
  margin: 12px 0;
  display: none;
}
.owner-row__image-placeholder {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: grid;
  place-items: center;
  background: var(--surface-alt);
  color: var(--muted);
}
.owner-row__image-placeholder .icon { width: 30px; height: 30px; }
.filter-checks .toggle-row { border-bottom: 0; }
.filter-group .filter-checks {
  gap: 12px;
  padding-block: 4px;
  border: 0;
}
.filter-group .filter-checks .toggle-row {
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
}
.filter-group .filter-checks .toggle-row input { margin: 0 0 0 auto; }
.detail-layout {
  gap: 36px;
  padding-block: 28px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 380px);
  grid-template-areas: "gallery contact" "main .";
  align-items: start;
  column-gap: 36px;
  row-gap: 0;
}
.detail-primary-row { grid-area: gallery; display: block; min-width: 0; }
.detail-primary-row .detail-gallery { height: 560px; }
.detail-gallery__main {
  width: 100%;
  height: 100%;
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: auto;
}

.detail-gallery__open {   border: 0; background: transparent; cursor: zoom-in; }
.detail-gallery__open {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
}

.detail-gallery--empty .detail-gallery__main { min-height: 220px; aspect-ratio: 4 / 3; }
.detail-gallery__thumbs button {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}
.gallery-thumb-more { position: absolute; inset: 0; display: grid; place-content: center; gap: 2px; background: rgba(8, 18, 38, .68); color: #fff; text-align: center; }
.gallery-thumb-more strong,
.gallery-thumb-more small { display: block; }
.detail-main {
  min-width: 0;
  grid-area: main;
  width: auto;
}
.detail-layout > .contact-column { grid-area: contact; position: relative; top: auto; min-width: 0; min-height: 560px; height: auto; align-content: start; overflow: hidden; }
.modal--gallery.modal-backdrop { background: rgba(4, 10, 20, .94); }
.modal.modal--gallery { width: 100vw; max-width: none; height: 100dvh; max-height: none; overflow: hidden; padding: 0; border-radius: 0; background: #050b16; }
.modal--gallery .modal-close { z-index: 4; top: 18px; left: 18px; right: auto; }
.gallery-lightbox { width: 100%; height: 100%; display: grid; grid-template-columns: 68px minmax(0, 1fr) 68px; align-items: center; gap: 16px; padding: 24px; }
.gallery-lightbox__stage { position: relative; min-width: 0; height: 100%; display: grid; place-items: center; margin: 0; padding-block: 0 86px; }
.gallery-lightbox__stage > img { width: 100%; height: 100%; max-height: calc(100dvh - 134px); object-fit: contain; }
.gallery-lightbox figcaption { position: absolute; bottom: 72px; left: 50%; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; transform: translateX(-50%); backdrop-filter: blur(14px); }
.gallery-lightbox__thumbs { position: absolute; bottom: 0; left: 50%; max-width: min(720px, calc(100vw - 190px)); display: flex; gap: 8px; overflow-x: auto; padding: 2px; transform: translateX(-50%); scrollbar-width: none; }
.gallery-lightbox__thumbs::-webkit-scrollbar { display: none; }
.gallery-lightbox__thumbs button { flex: 0 0 64px; width: 64px; height: 52px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: rgba(255,255,255,.12); }
.gallery-lightbox__thumbs button.is-active { border-color: #fff; }
.gallery-lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-lightbox__fallback { display: none; place-items: center; gap: 10px; color: #fff; text-align: center; }
.gallery-lightbox__fallback svg { width: 38px; height: 38px; }
.gallery-lightbox__stage.is-broken > img { display: none; }
.gallery-lightbox__stage.is-broken .gallery-lightbox__fallback { display: grid; }
.gallery-glass { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(14px); }
.gallery-glass:disabled { opacity: .35; }
.install-banner--mobile {
  display: none;
}

.publish-category-flow { min-width: 0; display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-alt); }
.publish-category-card {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--selected-ink);
  border-radius: 18px;
  background: var(--selected-bg);
  color: var(--ink);
  text-align: left;
}
.publish-category-card > span { min-width: 0; }
.publish-category-card small,
.publish-category-card strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.publish-category-card small { color: var(--muted); font-size: 12px; }
.publish-category-card > .icon:last-child { align-self: center; justify-self: center; }
.publish-category-manual { justify-self: start; }
.publish-category-confirmed,
.publish-category-current {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.publish-category-confirmed > span,
.publish-category-current > span,
.smart-category > span { min-width: 0; }
.publish-category-confirmed small,
.publish-category-confirmed strong,
.publish-category-current small,
.publish-category-current strong {
  display: block;
}

.smart-category strong {
  display: block;
}

.smart-category small {
  display: block;
}

.category-recheck-note {  color: var(--muted); font-size: 12px; font-style: normal; }
.category-recheck-note {
  display: block;
  margin-top: 5px;
}

.smart-category {   border: 1px solid var(--selected-ink); border-radius: var(--radius); background: var(--selected-bg); color: var(--ink); text-align: left;
}
.smart-category {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
}

.publish-category-recommendation > .text-button { justify-self: start; }
.real-estate-transaction {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 9px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}
.real-estate-transaction legend {
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.real-estate-transaction__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.real-estate-transaction__option {
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong, var(--line));
  border-radius: calc(var(--radius) - 2px);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.real-estate-transaction__option:hover { border-color: var(--selected-ink); }
.real-estate-transaction__option:focus-visible { outline: 3px solid color-mix(in srgb, var(--selected-ink) 28%, transparent); outline-offset: 2px; }
.real-estate-transaction__option.is-active {
  border-color: var(--selected-ink);
  background: var(--selected-bg);
  color: var(--selected-ink);
  box-shadow: inset 0 0 0 1px var(--selected-ink);
}
.real-estate-transaction.has-error { border-color: var(--danger, #b42318); }
.real-estate-transaction__error { color: var(--danger, #b42318); font-size: 12px; font-weight: 700; }
.publish-condition-row { margin-bottom: 12px; }
.schema-group {   border: 1px solid var(--line); border-radius: var(--radius); }
.schema-group {
  padding-top: 18px;
  margin-top: 12px;
  overflow: clip;
}

.schema-group > summary {     background: var(--surface-alt); font-weight: 800; cursor: pointer;
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}
.schema-group > .form-grid { padding: 16px; }

@media (max-width: 1120px) and (min-width: 761px) {
  .site-header__desktop {
    grid-template-columns: auto auto minmax(140px, 1fr) auto;
    gap: 10px;
  }

  .brand-lockup {
    gap: 7px;
    font-size: 18px;
  }

  .brand-lockup img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .main-nav {
    display: flex;
  }

  .main-nav__link {
    width: 44px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .main-nav__link .icon {
    width: 19px;
    height: 19px;
    display: block;
  }

  .header-search {
    min-width: 0;
  }

  .header-actions {
    gap: 4px;
  }

  .header-actions .primary-button,
  .header-actions .secondary-button {
    width: 44px;
    min-width: 44px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .detail-layout { grid-template-columns: minmax(0, 1fr) minmax(330px, 350px); column-gap: 24px; }
}

@media (max-width: 760px) {
  .brand--mobile {
  width: auto;
  justify-self: start;
}
  .mobile-menu {
  position: fixed;
  z-index: var(--z-nav);
  top: var(--header-height);
  left: 0;
  right: 0;
  padding: 8px 14px 16px;
  transform: translateY(-10px);
  display: none;
}
  .install-banner--mobile {
    position: fixed;
    z-index: var(--z-feedback);
    top: auto;
    right: max(10px, var(--safe-right));
    bottom: max(10px, var(--safe-bottom));
    left: max(10px, var(--safe-left));
    width: auto;
    max-width: calc(100% - 20px);
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto auto;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .install-banner--mobile > img { width: 38px; height: 38px; }
  .install-banner--mobile .install-banner__open { grid-column: auto; min-height: 36px; padding-inline: 12px; }
  .home-hero h1 { font-size: clamp(30px, 9vw, 36px); }
  .hero-search__submit::before,
  .page-search .primary-button::before,
  .help-search .primary-button::before { content: none; }
  .combo-close-button { display: grid; }
  .category-grid {    overscroll-behavior-inline: contain;  scroll-snap-type: x proximity; scrollbar-width: none;
  grid-template-columns: repeat(2, 1fr);
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
}
  .category-grid::-webkit-scrollbar { display: none; }
  .category-tile {
    scroll-snap-align: start;

  width: auto;
  min-width: 0;
  min-height: 126px;
  height: 126px;
  max-height: 126px;
  flex: 0 0 calc((100% - 30px) / 3.75);
  grid-template-rows: 36px minmax(34px, auto) 18px;
  align-content: space-between;
  gap: 6px;
  padding: 10px;
  overflow: hidden;
}
  .category-tile > span { width: 34px; height: 34px; }
  .category-tile strong {
    min-width: 0;
    max-width: 100%;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: normal;
  }
  .category-tile small {
    overflow: hidden;
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .listing-card .listing-card__body { grid-template-rows: auto minmax(38px, auto) auto auto 1fr; }
  .listing-card--list .listing-card__media {
  height: 100%;
  min-height: 0;
}
  .detail-layout {
  width: 100%;
  padding: 0 0 80px;
  display: flex;
  flex-direction: column;
}
  .detail-primary-row { order: 1; display: block; width: 100%; }
  .detail-primary-row .detail-gallery { height: auto; }
  .detail-main {
  order: 2;
  width: 100%;
}
  .detail-layout > .contact-column { order: 3; position: static; min-height: 0; height: auto; margin: 14px; overflow: visible; }
  .detail-mobile-back { display: grid; position: absolute; z-index: 4; top: 10px; left: 10px; background: rgba(255,255,255,.9); }
  .gallery-lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 4px; padding: 10px; }
  .gallery-lightbox__stage { padding-bottom: 78px; }
  .gallery-lightbox__stage > img { max-height: calc(100dvh - 108px); }
  .gallery-lightbox figcaption { bottom: 64px; }
  .gallery-lightbox__thumbs { max-width: calc(100vw - 32px); }
  .gallery-lightbox__thumbs button { flex-basis: 58px; width: 58px; height: 48px; }
  .gallery-glass { width: 42px; height: 42px; }
  .publish-condition-control--desktop { display: none; }
  .real-estate-transaction { grid-column: 1 / -1; width: 100%; padding: 12px; }
  .real-estate-transaction__option { min-height: 48px; padding-inline: 8px; }
  .publish-condition-control--mobile { display: block; grid-column: 1 / -1; padding: 0; border: 0; }
  .publish-condition-control--mobile legend { margin-bottom: 8px; font-weight: 800; }
  .publish-condition-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .publish-condition-chip { min-width: max-content; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
  .publish-condition-chip.is-active { border-color: var(--selected-ink); background: var(--selected-bg); color: var(--selected-ink); font-weight: 800; }
.publish-layout {
  padding-block: 22px 56px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.publish-form {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.form-grid {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 13px;
  grid-template-columns: minmax(0, 1fr);
}

.form-band {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 18px 14px;
  overflow: clip;
}

.publish-category-confirmed,
.publish-category-current {
  grid-template-columns: auto minmax(0, 1fr);
}

.smart-category {
  min-width: 0;
  max-width: 100%;
  grid-template-columns: auto minmax(0, 1fr);
}

  .publish-category-confirmed > button,
  .publish-category-current > button,
  .smart-category > .icon:last-child { grid-column: 1 / -1; justify-self: start; }
  .account-nav {
  position: sticky;
  z-index: var(--z-sticky);
  top: var(--header-height);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  display: none;
}
  .account-mobile-back {
    color: var(--ink);
  }
  .account-mobile-nav { display: grid; margin-bottom: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .account-mobile-nav > :is(button, a) { appearance: none; min-height: 54px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 0 14px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-decoration: none; text-align: left; }
  .account-mobile-nav > :is(button, a) .icon:first-child { width: 18px; height: 18px; color: currentColor; }
  .account-mobile-nav > :is(button, a):last-child { border-bottom: 0; }
  .activity-row > span { min-width: 0; }
  .activity-row strong,
  .activity-row small { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
  .profile-identity h1,
  .profile-identity p {  word-break: break-word;
}
.profile-identity p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

  .profile-identity h1 {   -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.profile-identity h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  display: -webkit-box;
  overflow: hidden;
}

  .profile-identity h1.profile-identity__greeting { display: flex; overflow: visible; }
  .profile-identity__email { display: none; }
  .cookie-banner { right: 10px; bottom: calc(76px + var(--safe-bottom)); left: 10px; gap: 8px; padding: 10px 12px; border-radius: 12px; }
  .cookie-banner p { font-size: 11px; line-height: 1.35; }
  .cookie-banner__actions { gap: 6px; }
  .cookie-banner__actions button { min-height: 44px; padding-inline: 9px; font-size: 11px; }
.photo-grid {
  min-width: 0;
  max-width: 100%;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

  .photo-preview .photo-preview__actions {
    position: static;
    justify-content: space-between;
    gap: 2px;
    padding: 2px;
    flex-wrap: nowrap;
    background: var(--ink);
  }
  .photo-preview .photo-preview__actions .icon-button {
    position: static;
    inset: auto;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }
  .photo-preview .photo-preview__actions .text-button {
    min-width: 0;
    min-height: 44px;
    flex: 1 1 auto;
    padding-inline: 4px;
  }
}

@media (max-width: 360px) {
  .category-tile { flex-basis: calc((100% - 20px) / 3.2); }
}

@media (hover: hover) and (pointer: fine) {
  .category-grid { cursor: grab; }
  .category-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
  .category-grid.is-dragging * { pointer-events: none; }
}

/* Canonical 0.5.17: app-parity presentation for the existing WordPress
   Auto and Imobiliare publish schema. Storage keys and global shell styling
   remain owned by the existing publish contract. */
[data-dynamic-category="auto"],
[data-dynamic-category="imobiliare"] {
  display: grid;
  gap: 12px;
}
[data-dynamic-category="auto"] .schema-primary-block,
[data-dynamic-category="imobiliare"] .schema-primary-block {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
[data-dynamic-category="auto"] .auto-primary-grid,
[data-dynamic-category="imobiliare"] .property-primary-grid,
[data-dynamic-category="auto"] .auto-schema-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

[data-dynamic-category="imobiliare"] .property-advanced-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

[data-dynamic-category="auto"] .schema-group,
[data-dynamic-category="imobiliare"] .schema-group {
  margin-top: 0;
  overflow: hidden;
  background: var(--surface);
}
[data-dynamic-category="auto"] .schema-group > summary,
[data-dynamic-category="imobiliare"] .schema-group > summary {
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  list-style: none;
}
[data-dynamic-category="auto"] .schema-group > summary::-webkit-details-marker,
[data-dynamic-category="imobiliare"] .schema-group > summary::-webkit-details-marker {
  display: none;
}
[data-dynamic-category="auto"] .schema-group__icon,
[data-dynamic-category="imobiliare"] .schema-group__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--selected-bg);
  color: var(--selected-ink);
}
[data-dynamic-category="auto"] .schema-group__icon .icon,
[data-dynamic-category="imobiliare"] .schema-group__icon .icon {
  width: 21px;
  height: 21px;
}
[data-dynamic-category="auto"] .schema-group__copy,
[data-dynamic-category="imobiliare"] .schema-group__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
[data-dynamic-category="auto"] .schema-group__copy strong,
[data-dynamic-category="imobiliare"] .schema-group__copy strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
}
[data-dynamic-category="auto"] .schema-group__copy small,
[data-dynamic-category="imobiliare"] .schema-group__copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}
[data-dynamic-category="auto"] .schema-group__progress,
[data-dynamic-category="imobiliare"] .schema-group__progress {
  min-width: 44px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--selected-bg);
  color: var(--selected-ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
[data-dynamic-category="auto"] .schema-group__chevron,
[data-dynamic-category="imobiliare"] .schema-group__chevron {
  display: grid;
  place-items: center;
  transition: transform .18s ease;
}
[data-dynamic-category="auto"] .schema-group[open] .schema-group__chevron,
[data-dynamic-category="imobiliare"] .schema-group[open] .schema-group__chevron {
  transform: rotate(180deg);
}
[data-dynamic-category="auto"] .schema-group > .form-grid,
[data-dynamic-category="imobiliare"] .schema-group > .form-grid {
  border-top: 1px solid var(--line);
}
[data-dynamic-category="imobiliare"] .schema-choice-field {
  grid-column: 1 / -1;
}
[data-dynamic-category="imobiliare"] .schema-choice-field .choice-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
[data-dynamic-category="imobiliare"] .schema-choice-field .choice-chip {
  width: auto;
  min-height: 44px;
  flex: 0 1 auto;
  padding: 9px 13px;
}

@media (min-width: 1180px) {
  [data-dynamic-category="auto"] .auto-schema-grid,
  [data-dynamic-category="imobiliare"] .property-advanced-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  [data-dynamic-category="auto"],
  [data-dynamic-category="imobiliare"] {
    gap: 10px;
  }
  [data-dynamic-category="auto"] .schema-primary-block,
  [data-dynamic-category="imobiliare"] .schema-primary-block {
    padding: 12px;
  }
  [data-dynamic-category="auto"] .auto-primary-grid,
  [data-dynamic-category="imobiliare"] .property-primary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  [data-dynamic-category="auto"] .auto-schema-grid,
  [data-dynamic-category="imobiliare"] .property-advanced-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-dynamic-category="auto"] .schema-group > summary,
  [data-dynamic-category="imobiliare"] .schema-group > summary {
    min-height: 72px;
    grid-template-columns: 38px minmax(0, 1fr) auto 20px;
    gap: 9px;
    padding: 12px;
  }
  [data-dynamic-category="auto"] .schema-group__icon,
  [data-dynamic-category="imobiliare"] .schema-group__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  [data-dynamic-category="auto"] .schema-group > .form-grid,
  [data-dynamic-category="imobiliare"] .schema-group > .form-grid {
    padding: 12px;
  }
  [data-dynamic-category="auto"] .combo-trigger,
  [data-dynamic-category="imobiliare"] .combo-trigger,
  [data-dynamic-category="auto"] input,
  [data-dynamic-category="imobiliare"] input,
  [data-dynamic-category="auto"] textarea,
  [data-dynamic-category="imobiliare"] textarea {
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  [data-dynamic-category="auto"] .auto-primary-grid,
  [data-dynamic-category="imobiliare"] .property-primary-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-dynamic-category="auto"] .schema-group__copy small,
  [data-dynamic-category="imobiliare"] .schema-group__copy small {
    display: none;
  }
}

/* 0.5.17: one mobile viewport contract for every editable control and transient sheet. */
@media (max-width: 760px) {
  body :where(
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
    textarea,
    select,
    [contenteditable="true"]
  ) {
    font-size: 16px;
  }

  .combo-popover,
  .custom-combobox--compact .combo-popover {
    --canonical-mobile-sheet-height: min(720px, calc(var(--canonical-visual-viewport-height, 100dvh) - 24px));

  position: fixed;
  z-index: var(--z-portal);
  padding-bottom: var(--safe-bottom);
  top: calc(
      var(--canonical-visual-viewport-offset-top, 0px) +
      var(--canonical-visual-viewport-height, 100dvh) -
      var(--canonical-mobile-sheet-height)
    );
  right: auto;
  bottom: auto;
  left: var(--canonical-visual-viewport-offset-left, 0px);
  width: var(--canonical-visual-viewport-width, 100vw);
  max-width: var(--canonical-visual-viewport-width, 100vw);
  height: var(--canonical-mobile-sheet-height);
  max-height: var(--canonical-mobile-sheet-height);
  grid-template-rows: auto auto minmax(0, 1fr);
  contain: layout paint;
}

  .combo-popover--headerless {
    grid-template-rows: minmax(0, 1fr);
  }

  .combo-popover--headerless.combo-popover--searchable {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .combo-popover header,
  .combo-search {
    background: var(--surface);
  }
.combo-popover header {
  min-height: 56px;
  padding-inline: 16px 10px;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.combo-search {
  margin: 8px 14px;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}


  .combo-options {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

  padding: 6px 10px 12px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

body.has-combobox .filter-sheet {
  overflow: hidden;
}


body.has-combobox .modal {
  overflow: visible;
  overflow-x: hidden;
  overflow-y: auto;
}


.modal-backdrop {
  top: var(--canonical-visual-viewport-offset-top, 0px);
  right: auto;
  bottom: auto;
  left: var(--canonical-visual-viewport-offset-left, 0px);
  width: var(--canonical-visual-viewport-width, 100vw);
  height: var(--canonical-visual-viewport-height, 100dvh);
}

.sheet-backdrop {
  position: fixed;
  z-index: var(--z-nav);
  inset: 0;
  display: block;
  top: var(--canonical-visual-viewport-offset-top, 0px);
  right: auto;
  bottom: auto;
  left: var(--canonical-visual-viewport-offset-left, 0px);
  width: var(--canonical-visual-viewport-width, 100vw);
  height: var(--canonical-visual-viewport-height, 100dvh);
}


  .filter-sheet {
    --canonical-mobile-sheet-height: min(720px, calc(var(--canonical-visual-viewport-height, 100dvh) - 24px));

  position: fixed;
  z-index: var(--z-sheet);
  overflow: hidden;
  transform: translateY(102%);
  top: calc(
      var(--canonical-visual-viewport-offset-top, 0px) +
      var(--canonical-visual-viewport-height, 100dvh) -
      var(--canonical-mobile-sheet-height)
    );
  right: auto;
  bottom: auto;
  left: var(--canonical-visual-viewport-offset-left, 0px);
  width: var(--canonical-visual-viewport-width, 100vw);
  height: var(--canonical-mobile-sheet-height);
  max-height: var(--canonical-mobile-sheet-height);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}

  .filter-sheet__body {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .modal:not(.modal--gallery) {
    top: calc(var(--canonical-visual-viewport-offset-top, 0px) + 12px);
    left: 50%;
    width: min(calc(var(--canonical-visual-viewport-width, 100vw) - 24px), 500px);
    max-height: calc(var(--canonical-visual-viewport-height, 100dvh) - 24px);
    transform: translateX(-50%);
  }

  .modal.modal--gallery {
    top: var(--canonical-visual-viewport-offset-top, 0px);
    left: var(--canonical-visual-viewport-offset-left, 0px);
    width: var(--canonical-visual-viewport-width, 100vw);
    height: var(--canonical-visual-viewport-height, 100dvh);
    max-height: var(--canonical-visual-viewport-height, 100dvh);
    transform: none;
  }
}

/*
 * Owner marketplace — approved Round 2.1 contract.
 * These styles are deliberately scoped to the canonical owner surfaces so the
 * public marketplace keeps its existing visual language unchanged.
 */
.status-chip--warning {
  background: #fff3e6;
  color: #b54708;
}

.status-chip--danger {
  background: var(--red-soft);
  color: var(--red);
}

.owner-workspace {
  min-height: calc(100vh - var(--header-height));
  padding: 28px 0 84px;
  background: var(--canvas);
  color: var(--ink);
}

.owner-workspace > .shell-wide {
  max-width: 1240px;
}

.owner-workspace__header {
  min-height: 100px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.owner-workspace__header > div {
  min-width: 0;
}

.owner-workspace__header > div > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.owner-workspace__header h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.owner-workspace__header p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.owner-workspace__back {
  display: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
}

.owner-workspace__back svg,
.owner-workspace__header--stats > .secondary-button svg,
.owner-listing-card__open svg,
.owner-overflow-button svg,
.owner-filter-toggle svg {
  width: 20px;
  height: 20px;
}

.owner-workspace__header--stats > .secondary-button {
  min-height: 48px;
  flex: 0 0 auto;
  padding-inline: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}

.owner-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(17, 24, 39, .02);
}

.owner-toolbar form {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.owner-toolbar form > label {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
}

.owner-toolbar form > label svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.owner-toolbar input,
.owner-toolbar select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
}

.owner-toolbar input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.owner-filter-toggle {
  display: none;
  width: 48px;
  min-width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
}

.owner-toolbar__filters {
  display: grid;
  grid-template-columns: minmax(190px, 220px) minmax(170px, 190px);
  gap: 10px;
}

.owner-toolbar__filters > label {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.owner-status-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 18px;
  max-width: 100%;
  padding: 0 0 7px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(71, 84, 103, .42) transparent;
  scroll-padding-inline: 2px;
  overscroll-behavior-inline: contain;
}

.owner-status-tabs::-webkit-scrollbar {
  display: block;
  height: 5px;
}

.owner-status-tabs::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(71, 84, 103, .42);
}

.owner-stats-metrics::-webkit-scrollbar {
  display: none;
}

.owner-status-tabs button {
  min-height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  white-space: nowrap;
}

.owner-status-tabs button.is-active {
  border-color: var(--selected-ink);
  background: var(--selected-bg);
  color: var(--selected-ink);
}

.owner-status-tabs small {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(95, 107, 122, .1);
  color: inherit;
  font-size: 11px;
  line-height: 1.3;
}

.owner-status-tabs button.is-active small {
  background: rgba(49, 46, 129, .1);
}

.owner-results-heading {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 14px;
  color: var(--muted);
}

.owner-results-heading strong {
  font-size: 16px;
}

.owner-results-heading span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.owner-results {
  min-height: 220px;
}

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

.owner-listing-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .05);
}

.owner-listing-card__summary {
  min-width: 0;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 44px;
  align-items: start;
  gap: 12px;
}

.owner-listing-card__summary > img,
.owner-listing-card__summary > .owner-row__image-placeholder {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--surface-alt);
  object-fit: cover;
  overflow: hidden;
}

.owner-listing-card__copy {
  min-width: 0;
}


.owner-listing-card__copy h3 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -.018em;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.owner-listing-card__copy h3 {
  display: -webkit-box;
  min-height: 43px;
  max-height: 43px;
  margin: 1px 0 7px;
  overflow: hidden;
}


.owner-listing-card__copy strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}
.owner-listing-card__copy strong {
  display: block;
  margin-bottom: 2px;
}


.owner-listing-card__copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.owner-listing-card__copy span {
  display: block;
  overflow: hidden;
}


.owner-listing-card__open {
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--ink);
}

.owner-listing-card__status {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.owner-listing-card__status .status-chip {
  min-height: 28px;
  gap: 5px;
  padding-inline: 10px;
  font-size: 12px;
}

.owner-listing-card__status .status-chip svg {
  width: 15px;
  height: 15px;
}

.owner-metric-rail {
  min-width: 0;
  min-height: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
}

.owner-metric-rail > div {
  min-width: 0;
  margin: 0;
  padding: 0 3px;
  border: 0;
  background: transparent;
  text-align: center;
}

.owner-metric-rail dt {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: var(--muted);
}

.owner-metric-rail dt svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.owner-metric-rail dt strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.owner-metric-rail dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.22;
}

.owner-listing-card__hint {
  min-height: 20px;
  margin: auto 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.owner-moderation-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.owner-moderation-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--accent);
}

.owner-moderation-note--category {
  border-color: color-mix(in srgb, #e08312 34%, var(--line));
  background: color-mix(in srgb, #e08312 8%, var(--surface));
}

.owner-moderation-summary {
  display: grid;
  gap: 12px;
  text-align: left;
}

.owner-moderation-summary > p {
  margin: 0;
}


.owner-moderation-callout,
.owner-moderation-reason,
.owner-moderation-reasons {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--ink);
  line-height: 1.5;
}
.owner-moderation-callout {
  padding: 12px 14px;
}

.owner-moderation-reason {
  margin: 0;
  padding: 12px 14px;
}


.owner-moderation-callout--category {
  border-color: color-mix(in srgb, #e08312 34%, var(--line));
  background: color-mix(in srgb, #e08312 8%, var(--surface));
}

.owner-moderation-reasons {
  padding: 12px 14px;
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 34px;
}


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

.owner-listing-card__actions:has(.owner-primary-action:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.owner-primary-action,
.owner-overflow-button {
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: transform 100ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out;
  -webkit-tap-highlight-color: transparent;
}

.owner-primary-action:active:not(:disabled),
.owner-overflow-button:active:not(:disabled) {
  transform: scale(.98);
}

.owner-primary-action {
  border: 1px solid var(--action-solid);
  background: var(--action-solid);
  color: var(--action-on-solid);
}
.owner-primary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}


.owner-primary-action:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: color-mix(in srgb, var(--action-solid) 88%, var(--action-on-solid));
  background: color-mix(in srgb, var(--action-solid) 88%, var(--action-on-solid));
  color: var(--action-on-solid);
}

.owner-primary-action:active:not(:disabled):not([aria-disabled="true"]) {
  border-color: color-mix(in srgb, var(--action-solid) 82%, var(--action-on-solid));
  background: color-mix(in srgb, var(--action-solid) 82%, var(--action-on-solid));
  color: var(--action-on-solid);
}

.owner-primary-action:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.owner-primary-action:is(:disabled, [aria-disabled="true"]) {
  border-color: var(--line);
  background: var(--surface-high);
  color: var(--ink-soft);
  box-shadow: none;
  cursor: wait;
  transform: none;
}

.owner-action-pending-copy {
  display: none;
}

[data-owner-mutation-control][aria-busy="true"] .owner-action-idle-copy {
  display: none;
}

[data-owner-mutation-control][aria-busy="true"] .owner-action-pending-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.owner-listing-card[data-owner-action-pending] [data-owner-mutation-gateway] {
  cursor: wait;
}

.owner-overflow-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.owner-overflow-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  padding: 0;
}


.owner-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 24px;
}

.owner-pagination button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
}

.owner-pagination button.is-active {
  border-color: var(--selected-ink);
  background: var(--selected-bg);
  color: var(--selected-ink);
}

.owner-pagination button:disabled {
  opacity: .45;
}

.owner-listings-state,
.owner-stats-error {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}

.owner-listings-state > span,
.owner-stats-error > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--muted);
}

.owner-listings-state h2,
.owner-stats-error h2 {
  margin: 0;
}


.owner-listings-state p,
.owner-stats-error p {
  color: var(--muted);
}
.owner-listings-state p {
  margin: 0;
  max-width: 480px;
}

.owner-stats-error p {
  margin: 0;
  max-width: 480px;
}


.owner-listings-loading {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}

.owner-listings-loading > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--selected-ink);
  animation: owner-loading-pulse 1s ease-in-out infinite alternate;
}

.owner-listings-loading > span:nth-child(2) { animation-delay: .16s; }
.owner-listings-loading > span:nth-child(3) { animation-delay: .32s; }
.owner-listings-loading > p { margin-left: 6px; }

@keyframes owner-loading-pulse {
  from { opacity: .24; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(-2px); }
}

.owner-stats-layout {
  display: grid;
  grid-template-columns: 312px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.owner-stats-summary {
  align-self: start;
  height: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .05);
}

.owner-stats-summary__listing {
  min-width: 0;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.owner-stats-summary__listing > img,
.owner-stats-summary__listing > .owner-row__image-placeholder {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--surface-alt);
  object-fit: cover;
  overflow: hidden;
}

.owner-stats-summary__listing > div {
  min-width: 0;
}

.owner-stats-summary__listing h2 {
  display: -webkit-box;
  max-height: 44px;
  margin: 7px 0 6px;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.owner-stats-summary__listing strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.owner-stats-summary__listing p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.owner-stats-summary .owner-metric-rail {
  min-height: 64px;
  margin-top: 18px;
}

.owner-stats-summary .owner-metric-rail dt {
  gap: 4px;
}

.owner-stats-summary .owner-metric-rail dt strong {
  font-size: 15px;
}

.owner-stats-summary .owner-metric-rail dd {
  font-size: 9px;
}

.owner-stats-availability {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.owner-stats-availability > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.owner-stats-availability small {
  display: block;
}


.owner-stats-availability strong {
  color: var(--ink);
  font-size: 13px;
}
.owner-stats-availability strong {
  display: block;
  margin-bottom: 4px;
}


.owner-stats-availability small {
  font-size: 11px;
  line-height: 1.4;
}

.owner-stats-main {
  min-width: 0;
}

.owner-stats-controls {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 16px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.owner-stats-periods,
.owner-stats-metrics {
  border-radius: 10px;
  background: var(--surface-alt);
}

.owner-stats-periods {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


.owner-stats-metrics {
  scrollbar-width: none;
}
.owner-stats-metrics {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  overflow-x: auto;
}


.owner-stats-periods button,
.owner-stats-metrics button {
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  transition: background-color 160ms ease-out, color 160ms ease-out, box-shadow 160ms ease-out;
}

.owner-stats-periods button.is-active,
.owner-stats-metrics button.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(17, 24, 39, .08);
}

.owner-stats-chart-card {
  min-height: 0;
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .04);
}

.owner-stats-chart-card > header {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  min-height: 46px;
}

.owner-stats-chart-card > header span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.owner-stats-chart-card > header strong {
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.owner-stats-chart-card > header small {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
}

.owner-stats-chart {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 12px;
  overflow: visible;
  opacity: 1;
  transition: opacity var(--motion-fast) var(--motion-enter);
}

.owner-stats-chart__empty,
.owner-listings-loading--chart {
  opacity: 1;
  transition: opacity var(--motion-fast) var(--motion-enter);
}

@starting-style {
  .owner-stats-chart,
  .owner-stats-chart__empty,
  .owner-listings-loading--chart {
    opacity: 0;
  }
}

.owner-chart-grid line {
  stroke: var(--line);
  stroke-width: 1;
}

.owner-chart-area polygon {
  fill: rgba(67, 86, 194, .08);
}

.owner-chart-series polyline {
  fill: none;
  stroke: #4356c2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.owner-chart-series circle {
  fill: var(--surface);
  stroke: #4356c2;
  stroke-width: 4;
}

.owner-chart-point {
  outline: none;
}

.owner-chart-hit-target {
  fill: transparent;
  stroke: transparent;
  stroke-width: 0;
  pointer-events: all;
}

.owner-chart-point:focus-visible .owner-chart-visible-point {
  stroke-width: 6;
}

.owner-chart-tooltip {
  display: none;
  pointer-events: none;
}

.owner-chart-point:hover .owner-chart-tooltip,
.owner-chart-point:focus .owner-chart-tooltip {
  display: block;
}

.owner-chart-tooltip rect {
  fill: var(--ink);
  stroke: var(--surface);
  stroke-width: 1;
}

.owner-chart-tooltip text {
  fill: #fff;
  font-size: 12px;
  font-weight: 750;
}

.owner-chart-labels text,
.owner-chart-y-labels text {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.help-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.help-legal-links a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(67, 86, 194, .36);
  text-underline-offset: 3px;
}

.owner-stats-chart__empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--muted);
  text-align: center;
}

.owner-listings-loading--chart {
  min-height: 280px;
}

.owner-stats-explainer {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.owner-stats-explainer > summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 800;
}

.owner-stats-explainer > summary::-webkit-details-marker {
  display: none;
}

.owner-stats-explainer > summary svg {
  width: 18px;
  height: 18px;
  transition: transform .18s ease;
}

.owner-stats-explainer[open] > summary svg {
  transform: rotate(180deg);
}

.owner-stats-explainer > div {
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.owner-stats-explainer p {
  margin: 10px 0 0;
}

.modal--owner-actions .modal-icon {
  background: var(--selected-bg);
  color: var(--selected-ink);
}

.modal.modal--owner-actions .modal-close {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.modal-backdrop.modal--owner-actions {
  opacity: 1;
  transition: opacity var(--motion-standard) var(--motion-enter);
}

.modal.modal--owner-actions {
  opacity: 1;
  transition: opacity var(--motion-standard) var(--motion-enter), transform var(--motion-standard) var(--motion-enter);
}

.modal-backdrop.modal--owner-actions.is-closing {
  opacity: 0;
  transition-duration: var(--motion-fast);
}

.modal.modal--owner-actions.is-closing {
  opacity: 0;
  transform: translate(-50%, calc(-50% + 6px)) scale(.99);
  transition-duration: var(--motion-fast);
}

.modal.modal--owner-actions.is-closing * {
  pointer-events: none;
}

@starting-style {
  .modal-backdrop.modal--owner-actions {
    opacity: 0;
  }

  .modal.modal--owner-actions {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 8px)) scale(.99);
  }
}

.modal--owner-actions .action-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.modal--owner-actions .action-list > button {
  width: 100%;
  min-height: 48px;
  justify-content: flex-start;
}

.owner-action-sheet__handle {
  display: none;
}

.owner-action-sheet__summary {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.owner-action-sheet__summary > img,
.owner-action-sheet__summary > .owner-row__image-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}


.owner-action-sheet__summary h2 {
  font-size: 18px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.owner-action-sheet__summary h2 {
  margin: 5px 0 0;
  overflow: hidden;
}


.owner-action-sheet__summary p {
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.owner-action-sheet__summary p {
  margin: 5px 0 0;
  overflow: hidden;
}


.owner-action-row__label {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.owner-action-row__chevron {
  display: inline-grid;
  margin-left: auto;
  color: var(--muted);
}

.owner-action-row__chevron svg {
  width: 18px;
  height: 18px;
}

.modal--owner-actions .owner-action-row--danger {
  margin-top: 4px;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.owner-action-sheet__cancel {
  width: 100%;
  min-height: 50px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

@media (max-width: 1100px) and (min-width: 761px) {
  .owner-listings-grid,
  .owner-stats-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .owner-stats-summary {
    width: 100%;
  }

  .owner-toolbar__filters {
    grid-template-columns: minmax(150px, 190px) minmax(150px, 180px);
  }

  .owner-listing-card__summary {
    grid-template-columns: 80px minmax(0, 1fr) 44px;
  }

  .owner-listing-card__summary > img,
  .owner-listing-card__summary > .owner-row__image-placeholder {
    width: 80px;
    height: 80px;
  }

  .owner-stats-controls {
    grid-template-columns: 230px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .owner-workspace {
    min-height: calc(100svh - var(--header-height));
    padding: 14px 0 calc(var(--canonical-mobile-nav-clearance, 96px) + 24px);
  }

  .owner-workspace > .shell-wide {
    width: calc(100% - 28px);
  }

  .owner-workspace__header {
    min-height: 56px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    gap: 10px;
    margin-bottom: 12px;
  }

  .owner-workspace__back {
    display: grid;
  }

  .owner-workspace__header > div > span {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .owner-workspace__header h1 {
    font-size: clamp(24px, 6.7vw, 28px);
  }

  .owner-workspace__header p {
    display: none;
  }

  .owner-workspace__header--stats {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
  }

  .owner-workspace__header--stats > .secondary-button {
    width: 44px;
    min-height: 44px;
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .owner-workspace__header--stats > .secondary-button > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .owner-workspace__header--stats > div {
    grid-column: 2;
    grid-row: 1;
  }

  .owner-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .owner-toolbar form {
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
  }

  .owner-toolbar form > label {
    border: 0;
    border-radius: 14px 0 0 14px;
  }

  .owner-filter-toggle {
    display: grid;
  }

  .owner-toolbar__filters {
    display: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 10px;
  }

  .owner-toolbar__filters.is-open {
    display: grid;
  }

  .owner-toolbar__filters > label {
    background: var(--surface);
  }

  .owner-status-tabs {
    width: 100%;
    max-width: 100%;
    margin: 16px 0 0;
    padding: 0 0 7px;
  }

  .owner-status-tabs button {
    min-height: 48px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .owner-results-heading {
    display: flex;
  }

  .owner-listings-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .owner-listing-card {
    gap: 13px;
    padding: 14px;
    border-radius: 14px;
  }

  .owner-listing-card__summary {
    grid-template-columns: 88px minmax(0, 1fr) 44px;
    gap: 11px;
  }

  .owner-listing-card__summary > img,
  .owner-listing-card__summary > .owner-row__image-placeholder {
    width: 88px;
    height: 88px;
  }

  .owner-listing-card__copy h3 {
    min-height: 0;
    margin-bottom: 6px;
    font-size: 18px;
  }

  .owner-listing-card__copy strong {
    font-size: 19px;
  }

  .owner-listing-card__copy span {
    font-size: 13px;
  }

  .owner-metric-rail {
    min-height: 64px;
    gap: 0;
  }

  .owner-metric-rail > div {
    padding-inline: 1px;
  }

  .owner-metric-rail dt {
    gap: 4px;
  }

  .owner-metric-rail dt svg {
    width: 18px;
    height: 18px;
  }

  .owner-metric-rail dt strong {
    font-size: 17px;
  }

  .owner-metric-rail dd {
    font-size: 10px;
  }

  .owner-listing-card__actions {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .owner-stats-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .owner-stats-summary {
    padding: 14px;
  }

  .owner-stats-summary__listing {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .owner-stats-summary__listing > img,
  .owner-stats-summary__listing > .owner-row__image-placeholder {
    width: 84px;
    height: 84px;
  }

  .owner-stats-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 6px;
  }

  .owner-stats-metrics {
    grid-template-columns: repeat(4, minmax(104px, 1fr));
    scroll-snap-type: x proximity;
  }

  .owner-stats-metrics button {
    scroll-snap-align: start;
  }

  .owner-stats-chart-card {
    min-height: 0;
    margin-top: 10px;
    padding: 14px 10px;
  }

  .owner-stats-chart-card > header {
    grid-template-columns: auto auto minmax(0, 1fr);
    padding-inline: 4px;
  }

  .owner-stats-chart-card > header strong {
    font-size: 28px;
  }

  .owner-stats-chart {
    min-width: 0;
    height: 244px;
  }

  .owner-stats-explainer > summary {
    min-height: 52px;
  }

  .modal.modal--owner-actions {
    top: auto;
    right: auto;
    bottom: 0;
    left: var(--canonical-visual-viewport-offset-left, 0px);
    width: var(--canonical-visual-viewport-width, 100vw);
    max-width: none;
    height: auto;
    max-height: min(78vh, calc(var(--canonical-visual-viewport-height, 100dvh) - 12px));
    padding: 22px 18px max(22px, var(--safe-bottom));
    border-radius: 20px 20px 0 0;
    transform: translateY(0);
  }

  .modal.modal--owner-actions.is-closing {
    transform: translateY(14px);
  }

  .modal.modal--owner-actions .action-list > button {
    min-height: 52px;
  }

  .modal.modal--owner-actions .modal-close {
    display: none;
  }

  .owner-action-sheet__handle {
    width: 42px;
    height: 5px;
    display: block;
    margin: -10px auto 16px;
    border-radius: 999px;
    background: var(--line);
  }

  @starting-style {
    .modal.modal--owner-actions {
      opacity: 0;
      transform: translateY(18px);
    }
  }
}

@media (max-width: 360px) {
  .owner-listing-card__summary {
    grid-template-columns: 76px minmax(0, 1fr) 44px;
    gap: 9px;
  }

  .owner-listing-card__summary > img,
  .owner-listing-card__summary > .owner-row__image-placeholder {
    width: 76px;
    height: 76px;
  }

  .owner-listing-card__copy h3 {
    font-size: 16px;
  }

  .owner-listing-card__copy strong {
    font-size: 17px;
  }

  .owner-metric-rail dt {
    gap: 3px;
  }

  .owner-metric-rail dt svg {
    width: 16px;
    height: 16px;
  }

  .owner-metric-rail dt strong {
    font-size: 15px;
  }

  .owner-metric-rail dd {
    font-size: 9px;
  }

  .owner-pagination button span {
    display: none;
  }
}

/* Vinde 0.5.64 — one canonical responsive system for remediation surfaces. */
html {
  width: 100%;
  overflow-x: hidden;
  min-width: 0;
  max-width: 100%;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  min-width: 0;
  max-width: 100%;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}


:is(
  .saved-search-trigger,
  .search-assist-panel button,
  .notification-pagination button,
  .account-type-segmented button,
  .account-phone-premium button,
  .promotion-checkout button,
  .owner-listing-card__summary--open,
  .combo-trigger,
  .mobile-filter-trigger
) {
  min-height: 44px;
}

.saved-search-trigger {
  width: 50px;
  min-width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 16px;
}

.saved-search-trigger .icon {
  width: 21px;
  height: 21px;
}

.search-assist-panel {
  width: min(720px, 100%);
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(16, 24, 40, .12);
}

.search-assist-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.search-assist-panel > header > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.search-assist-panel > header strong,
.search-assist-panel > header small {
  overflow-wrap: anywhere;
}

.search-assist-panel > header small,
.search-assist-list small,
.search-assist-state {
  color: var(--muted);
}

.search-assist-list {
  display: grid;
  gap: 6px;
}

.search-assist-list > button,
.search-assist-list > article {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.search-assist-list > button:hover,
.search-assist-list > button:focus-visible,
.search-assist-list > article:focus-within {
  background: var(--surface-alt);
}

.search-assist-list > button > span,
.saved-search-open > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-assist-list strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-search-open {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.saved-search-actions {
  flex-wrap: wrap;
  justify-content: space-between;
  display: flex;
  align-items: center;
  gap: 2px;
}


.saved-search-actions .icon-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
}

.saved-search-rename-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

.saved-search-rename-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  padding-inline: 12px;
  font: inherit;
}

.search-assist-state {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.saved-search-create {
  width: 100%;
  margin-top: 10px;
}

.account-type-picker {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.account-type-picker > legend {
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 760;
}

.account-type-picker > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.account-type-segmented {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-alt);
}

.account-type-segmented > button {
  min-width: 0;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 9px 12px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
}

.account-type-segmented > button small {
  color: inherit;
  font-size: 11px;
  font-weight: 600;
}

.account-type-segmented > button.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 5px 16px rgba(16, 24, 40, .12);
}

.account-company-field {
  margin-top: 12px;
}

.account-phone-premium {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-alt);
}

.account-phone-premium > :is(span, strong, small) {
  grid-column: 1;
}

.account-phone-premium > button {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
}

.account-verification-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--green) 32%, var(--line));
  border-radius: 15px;
  background: color-mix(in srgb, var(--green-soft) 76%, var(--surface));
}

.account-verification-summary > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--green);
}

.account-verification-summary > div {
  display: grid;
  gap: 1px;
}

.account-verification-summary > button {
  margin-left: auto;
}

.account-verification-summary small {
  color: var(--muted);
}

.publish-seller-type-control {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-alt);
}

.publish-seller-type-control > span,
.publish-seller-type-control > small {
  color: var(--muted);
  font-size: 13px;
}

.publish-seller-type-control > strong {
  color: var(--ink);
  font-size: 16px;
}

.notification-pagination {
  display: flex;
  justify-content: center;
  padding-top: 14px;
}

.notification-row--price-drop .notification-row__icon {
  background: color-mix(in srgb, var(--blue-soft) 80%, var(--surface));
  color: var(--blue);
}

.notification-row--price-drop strong {
  color: var(--ink);
}

.notification-row--manual-review .notification-row__icon {
  background: color-mix(in srgb, var(--blue-soft) 72%, var(--surface));
  color: var(--blue);
}

.admin-future-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.admin-future-tools h3 {
  margin: 0;
}


.admin-future-tools p {
  color: var(--muted);
}
.admin-future-tools p {
  margin: 0;
  margin-top: 4px;
}


.admin-future-tools > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-rebs-preview {
  display: grid;
  gap: 14px;
}

.admin-rebs-pending-list {
  display: grid;
  gap: 8px;
}

.admin-rebs-pending-list > article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-alt);
}

.admin-rebs-pending-list > article > div {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-rebs-pending-list small {
  color: var(--muted);
}

.admin-rebs-mapping-evidence {
  display: grid;
  gap: 8px;
}

.admin-rebs-mapping-evidence > h3 {
  margin: 0 0 4px;
}

.admin-rebs-mapping-evidence > article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-alt);
}

.admin-rebs-mapping-evidence > article > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.admin-rebs-mapping-evidence small {
  color: var(--muted);
}

.rebs-invitation-state {
  min-height: 280px;
  align-content: center;
}

.owner-listing-card__summary--open {
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
}

.owner-listing-card__summary--open:hover,
.owner-listing-card__summary--open:focus-visible {
  background: var(--surface-alt);
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.owner-listing-card__summary--open > .icon {
  width: 22px;
  height: 22px;
  align-self: center;
  justify-self: center;
}

.owner-promotion-active {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--blue-soft) 74%, var(--surface));
  color: var(--ink);
}

.owner-promotion-active > span {
  display: grid;
  gap: 1px;
}

.owner-promotion-active small {
  color: var(--muted);
}

.owner-primary-action--promote {
  background: var(--blue);
  color: #fff;
}

.modal.modal--promotion {
  width: min(560px, calc(100vw - 28px));
  padding: 0;
  overflow: hidden;
}

.promotion-checkout {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.promotion-checkout__hero {
  display: flex;
  align-items: center;
  gap: 14px;
}

.promotion-checkout__hero > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 15px;
  background: var(--blue-soft);
  color: var(--blue);
}

.promotion-checkout__hero > div {
  min-width: 0;
}

.promotion-checkout__hero h2 {
  margin: 0;
}


.promotion-checkout__hero p {
  color: var(--muted);
  line-height: 1.45;
}
.promotion-checkout__hero p {
  margin: 0;
  margin-top: 4px;
}


.promotion-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}

.promotion-offer > div {
  display: grid;
  gap: 2px;
}

.promotion-offer small,
.promotion-offer > span {
  color: var(--muted);
}

.promotion-benefits {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promotion-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
}

.promotion-benefits .icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--green);
}

.promotion-payment-surface {
  display: grid;
  gap: 8px;
}

.promotion-payment-surface > button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-alt);
  color: var(--ink);
}

.promotion-payment-surface small,
.promotion-terms-version {
  color: var(--muted);
}

.promotion-checkout__progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-alt);
  color: var(--ink-soft);
}

@media (max-width: 760px) {

  .search-assist-panel {
    width: 100%;
  }


  .settings-form input,
  .auth-form input,
  .publish-form input,
  .publish-form textarea,
  .filter-sheet input {
    font-size: max(16px, 1rem);
  }

  .promotion-checkout {
    padding: 20px 18px max(20px, var(--safe-bottom));
  }
}

@media (max-width: 390px) {
  .listings-search-row .mobile-filter-trigger {
    min-width: 50px;
    padding-inline: 8px;
    font-size: 0;
  }

  .listings-search-row .mobile-filter-trigger::before {
    content: "Filtre";
    font-size: 12px;
  }

  .saved-search-rename-form {
    grid-template-columns: 1fr 44px;
  }

  .saved-search-rename-form > .secondary-button {
    grid-column: 1 / -1;
  }

  .account-type-segmented {
    grid-template-columns: 1fr;
  }

  .account-phone-premium {
    grid-template-columns: 1fr;
  }

  .account-phone-premium > button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin-top: 8px;
  }

  .toast {
    grid-template-columns: 24px minmax(0, 1fr) 48px;
  }

  .vinde-premium-feedback__action {
    grid-column: 2;
    justify-self: start;
  }
}


/* Centralized cross-file geometry: public, private and premium final values. */
[data-vinde-private-runtime] .admin-tabs { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; padding-bottom: 1px; }

[data-vinde-private-runtime] .admin-tabs button { align-items: center; display: inline-flex; flex: 0 0 auto; gap: 8px; min-height: 44px; padding: 10px 16px; }

[data-vinde-private-runtime] .admin-moderation-detail--placeholder { align-content: center; display: grid; justify-items: center; min-height: 360px; padding: 32px; }

[data-vinde-private-runtime] .admin-moderation-empty { min-height: 260px; }

.site-header {
  position: sticky;
  z-index: var(--z-sticky);
  top: 0;
  height: 76px;
}

.main-nav {
  display: flex;
  align-items: center;
  min-height: 50px;
  gap: 3px;
  padding: 4px;
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  min-height: 44px;
  padding-inline: 14px;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  position: relative;
  overflow: hidden;
}

.eyebrow {
  display: block;
  margin-bottom: 7px;
}

.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: min(1380px, calc(100% - 40px));
  min-height: 500px;
  margin: 0 auto;
  z-index: 2;
  overflow: clip;
}

.home-hero__photo {
  position: absolute;
  inset: 0;
  transform: scale(1.015);
}


.home-hero__content {
  position: relative;
  z-index: 1;
  padding-block: 58px;
}


.home-hero h1 {
  margin-bottom: 14px;
  max-width: 710px;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) minmax(175px, 0.8fr) minmax(165px, 0.8fr) auto;
  position: relative;
  z-index: 30;
  max-width: 1120px;
  gap: 10px;
  padding: 9px;
}


.hero-search__submit {
  padding-inline: 22px;
  min-width: 150px;
  min-height: 56px;
}

.content-section {
  padding-block: 58px;
}

.listing-grid {
  display: grid;
  align-items: stretch;
  gap: 18px;
}

.listing-card {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: visible;
  transform: translateZ(0);
}

.listing-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-card__body {
  padding: 12px 2px 2px;
}

.listing-card h3 {
  min-height: 0;
  margin: 3px 0 7px;
}

.favorite-button {
  position: absolute;
  z-index: 3;
  margin: 0;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}

.combo-popover {
  position: absolute;
  z-index: var(--z-portal);
  top: calc(100% + 7px);
  left: 0;
  width: 100%;
  max-width: min(100%, calc(100vw - 32px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  transform-origin: top center;
  max-height: min(340px, var(--combo-available-height, 340px));
}

.custom-combobox--compact .combo-popover {
  width: min(260px, calc(100vw - 32px));
  max-width: min(260px, calc(100vw - 32px));
  right: 0;
  left: auto;
  overflow: hidden;
  transform-origin: top center;
  max-height: min(340px, var(--combo-available-height, 340px));
}


.combo-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 10px;
  padding: 0 12px;
  min-height: 48px;
}

.combo-options {
  min-height: 0;
  overflow-y: auto;
  padding: 7px;
}

.combo-option {
  padding-block: 6px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  min-height: 48px;
}

.combo-option__indicator {
  justify-self: center;
  width: 18px;
  height: 18px;
}

.account-content {
  min-width: 0;
}

.publish-seller-type-control {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.publish-layout {
  padding-block: 34px 80px;
  padding-top: 28px;
}

.publish-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 24px;
  gap: 4px;
  padding: 4px;
}

.publish-form {
  display: grid;
  gap: 16px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.photo-preview__actions {
  align-items: center;
  flex-wrap: wrap;
  position: static;
  display: flex;
  justify-content: flex-end;
  gap: 3px;
  padding: 3px;
}


.publish-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 6px 0 0;
}


.auth-page {
  display: grid;
  position: relative;
  align-items: start;
  min-height: calc(100dvh - 76px);
  padding: clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(440px, 560px);
  gap: clamp(26px, 4vw, 64px);
}

.auth-photo {
  align-self: start;
  height: max(700px, calc(100dvh - 76px - 2 * clamp(24px, 4vw, 56px)));
  min-height: 0;
  overflow: hidden;
}

.auth-panel {
  width: 100%;
  align-self: center;
  position: relative;
  max-width: 560px;
  padding: 44px;
}

.auth-panel__dismiss {
  position: absolute;
  min-width: 48px;
  min-height: 48px;
  top: 18px;
  right: 18px;
}

.auth-panel .brand {
  margin-bottom: 22px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 16px;
}


.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form > .primary-button {
  width: 100%;
  min-height: 48px;
}

.password-field {
  position: relative;
  display: grid;
  align-items: center;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.listing-context__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filter-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100dvh - var(--header-height) - 40px);
  overflow: hidden;
  gap: 10px;
  padding: 16px;
}

.filter-heading {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  min-height: 46px;
  padding: 0 2px 10px;
}

.filter-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 50px;
  padding-inline: 2px;
}

.filter-group__body {
  display: grid;
  gap: 12px;
  padding: 4px 0 16px;
}

.filter-submit-row {
  display: grid;
  position: sticky;
  z-index: 4;
  bottom: 0;
  grid-template-columns: minmax(70px, 0.65fr) minmax(0, 1.35fr);
  gap: 8px;
  padding-top: 14px;
}


.listing-grid--results.is-list {
  grid-template-columns: 1fr;
  gap: 16px;
}

.listing-card.listing-card--list {
  height: 228px;
  min-height: 228px;
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: 16px;
  padding: 0;
}

.listing-card--list .listing-card__body {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto auto auto auto minmax(0, 1fr) auto;
  padding: 10px 2px;
}

.account-head {
  padding-block: 34px;
  padding: 24px 0 0;
}

.account-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding-block: 24px 80px;
}

.account-nav {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: grid;
  overflow: hidden;
  padding: 6px;
}

.account-nav > :is(button, a) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  min-height: 46px;
}

.notification-list,
.blocked-list {
  display: grid;
  padding-block: 24px 60px;
  gap: 10px;
}

.notification-row,
.blocked-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-height: 72px;
}

.help-steps section {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding-block: 14px;
}

.skip-link:focus {
  transform: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  overflow: visible;
}

.message-stream {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 24px;
  gap: 8px;
}

.message-bubble {
  align-self: flex-start;
  width: fit-content;
  max-width: min(72%, 560px);
  margin-right: auto;
  padding: 11px 14px 8px;
}

.message-bubble.is-mine {
  align-self: flex-end;
  margin-right: 0;
  margin-left: auto;
}

.help-search {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 680px;
  height: 54px;
  padding-left: 14px;
  position: relative;
}


@media (max-width: 760px) {


.site-header { height: 70px; }

.combo-backdrop {
  top: var(--canonical-visual-viewport-offset-top, 0px);
  right: auto;
  bottom: auto;
  left: var(--canonical-visual-viewport-offset-left, 0px);
  width: var(--canonical-visual-viewport-width, 100vw);
  height: var(--canonical-visual-viewport-height, 100dvh);
  display: block;
  position: fixed;
  z-index: var(--z-sheet);
  inset: 0;
  padding: 0;
}


.site-header__mobile {
  height: 100%;
  display: grid;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 70px;
  padding-inline: 14px;
}

.brand-lockup img { width: 38px; height: 38px; flex-basis: 38px; }

.mobile-header-actions {
  display: flex;
  gap: 7px;
}




.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 5px;
  padding: 4px;
}

.hero-search__submit {
  grid-column: 2;
  grid-row: 1;
  width: 48px;
  box-sizing: border-box;
  gap: 0;
  min-width: 48px;
  min-height: 48px;
  height: 48px;
  padding: 0;
}


.trust-band__grid {
  min-height: 68px;
}

.trust-band__grid > span {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 8px 5px;
}


.listing-card--list .secondary-button {
  padding-inline: 8px;
  min-height: 44px;
}

.listing-grid--home,
  .listing-grid--results,
  .listing-grid--account {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.listing-card__body {
  padding: 11px 11px 13px;
}


.listing-card--list h3 { min-height: 2.56em; }

.favorite-button { top: 7px; right: 7px; width: 44px; height: 44px; min-width: 44px; min-height: 44px; }

.auth-page {
  position: relative;
  min-height: calc(100dvh - 70px);
  height: calc(100dvh - 70px);
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.auth-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.auth-panel {
  z-index: 1;
  width: calc(100% - 24px);
  max-width: none;
  max-height: calc(100dvh - 84px);
  margin: 12px;
  padding: 30px 20px calc(22px + var(--safe-bottom));
  overflow-y: auto;
}

.auth-panel__dismiss {
  top: 12px;
  right: 12px;
}

.auth-panel .brand {
  display: none;
  margin-bottom: 24px;
}

.modal:not(.modal--gallery):not(.modal--owner-actions) { top: calc(
      var(--canonical-visual-viewport-offset-top, 0px) +
      (var(--canonical-visual-viewport-height, 100dvh) / 2)
    ); bottom: auto; max-height: calc(var(--canonical-visual-viewport-height, 100dvh) - 32px); overflow-x: hidden; overflow-y: auto; transform: translate(-50%, -50%); transform-origin: center center; }

.mobile-bottom-nav,
  [data-mobile-bottom-nav] {
  position: fixed;
  z-index: var(--z-nav);
  top: auto;
  right: max(var(--canonical-mobile-nav-edge), var(--safe-right));
  bottom: max(var(--canonical-mobile-nav-edge), var(--safe-bottom));
  left: max(var(--canonical-mobile-nav-edge), var(--safe-left));
  width: auto;
  max-width: none;
  height: auto;
  margin: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  min-height: 68px;
  padding: 5px 7px;
  transform: translateY(0) scale(1);
  transform-origin: bottom center;
}

.mobile-bottom-nav__indicator {
  position: absolute;
  z-index: 0;
  left: 7px;
  width: calc((100% - 14px) / 5);
  transform: translateX(calc(var(--mobile-nav-index, 0) * 100%));
  top: 5px;
  bottom: 5px;
}

.filter-sheet__body {
  display: grid;
  gap: 16px;
  padding: 16px 16px calc(20px + var(--safe-bottom));
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding-inline: 16px;
}

.listing-grid--results.is-list { gap: 12px; }

.listing-card.listing-card--list {
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
  height: 156px;
  min-height: 156px;
}

.listing-card--list .listing-card__body { padding: 5px 0; }

.account-head {
  padding-block: 24px;
  padding: 14px 14px 0;
}

.account-layout {
  display: block;
  min-width: 0;
  padding-block: 0 56px;
  width: calc(100% - 28px);
  padding-top: 0;
}

[data-vinde-private-runtime] .admin-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: 0;
  padding-inline: 0;
  overflow: visible;
}

[data-vinde-private-runtime] .admin-tabs button {
  min-height: 48px;
  width: 100%;
  justify-content: center;
}

.account-content {
  width: 100%;
  margin: 24px 0 0;
  margin-top: 18px;
}

.account-mobile-back {
  width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  margin-bottom: 12px;
}

.notification-list,
  .blocked-list { width: calc(100% - 28px); }

.message-bubble {
  max-width: min(86%, 520px);
}

.home-hero {
  align-items: center;
  width: calc(100% - 28px);
  margin-top: 14px;
  min-height: min(382px, 105vw);
}

.home-hero__content {
  padding-block: 28px;
  align-self: end;
  padding: 26px 16px 20px;
}

.home-hero__content > p {
  margin-bottom: 14px;
}

.content-section {
  padding-block: 30px;
}


.listings-search-row {
  grid-template-columns: minmax(0, 1fr) 50px auto;
  align-items: stretch;
  gap: 8px;
}

.listing-grid--results:not(.is-list) .listing-card__media {
  aspect-ratio: 1 / 0.88;
}

.listings-search-row .mobile-filter-trigger { min-width: 72px; min-height: 48px; justify-content: center; }

.listings-search-row .mobile-filter-trigger {
  font-size: 12px;
}

.listings-search-row .mobile-filter-trigger::before {
  content: none;
}

.results-toolbar {
  flex-direction: column;
  gap: 13px;
  align-items: stretch;
}

.results-actions {
  width: 100%;
  justify-content: space-between;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

[data-vinde-private-runtime] .admin-moderation-empty { min-height: 180px; padding: 22px 14px; }

[data-vinde-private-runtime] .admin-moderation-detail--placeholder { min-height: 220px; padding: 22px 16px; }

.footer-main {
  min-height: 0;
  gap: 14px;
  padding-block: 18px;
  align-items: flex-start;
  flex-direction: column;
}
}

@media (min-width: 761px) {
.combo-backdrop { display: none; }
}

@media (max-width: 520px) {
.listing-grid--home,
  .listing-grid--results,
  .listing-grid--account { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.listing-card__category { display: none; }

.listing-card__body { padding: 11px 2px 13px; }

.listing-card__meta span:last-child { display: none; }
}

@media (max-width: 900px) {
.account-layout { width: calc(100% - 28px); grid-template-columns: minmax(0, 1fr); }

.account-nav { display: none; }

.account-mobile-nav { display: none; }

.account-content { margin-top: 14px; }
}

@media (max-width: 360px) {
.home-hero { width: calc(100% - 20px); min-height: 336px; margin-top: 10px; }

.home-hero__content { padding-inline: 13px; }

.listings-search-row .mobile-filter-trigger { min-width: 66px; padding-inline: 8px; }
}
}

/* Accessibility/platform utilities are deliberately isolated in the final
 * cascade layer. This is the only Reduced Motion policy for the Web shell;
 * component files must not add competing duration overrides. */
@layer utilities {
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto !important;
    }

    html *,
    html *::before,
    html *::after {
      scroll-behavior: auto !important;
      animation-duration: 1ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 1ms !important;
    }

    :is(
      .vinde-switch-visual,
      .vinde-switch-glyph,
      .field-validation-status,
      .badge-count,
      .toast
    ) {
      transition-duration: 80ms !important;
    }

    .current-location-spinner,
    .owner-listings-loading > span {
      animation: none !important;
    }

    .current-location-spinner {
      border-color: var(--selected-ink);
    }

    .button-spinner {
      /* Functional progress stays perceivable without spatial movement. */
      animation-duration: 1.2s !important;
    }

    :is(
      .category-grid[data-vinde-depth-carousel] .category-tile,
      .mobile-bottom-nav,
      [data-mobile-bottom-nav],
      .listing-results-region,
      .help-article-card:hover
    ) {
      transform: none !important;
    }

    .toast {
      transform: none !important;
      transition-property: opacity !important;
      transition-timing-function: linear !important;
    }

    .modal:not(.modal--gallery):not(.modal--owner-actions) {
      animation-name: vinde-modal-reduced-enter;
      transform: translate(-50%, -50%);
    }

    :is(
      .account-type-segmented > button,
      .owner-listing-card__summary--open,
      .promotion-checkout,
      .help-article-card,
      .account-mobile-menu-trigger > .icon
    ) {
      transition: none !important;
    }

    .conversation.is-thread-entering {
      animation-timing-function: linear;
    }

    @keyframes vinde-thread-content-enter {
      from { opacity: 0; transform: none; }
      to { opacity: 1; transform: none; }
    }
  }
}
