/*
 * Vinde.online 0.5.59 - premium app-parity layer.
 *
 * This file is intentionally loaded after the canonical public/private CSS.
 * It changes presentation and motion only; routing, authentication and data
 * contracts remain owned by the existing canonical runtime.
 */

:root,
html[data-vinde-theme="light"] {
  --font-ui: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --line-strong: #cbd1dc;
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --surface-alt: #f2f4f7;
  --surface-high: #eef1f5;
  --glass: rgba(255, 255, 255, 0.76);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --glass-line: rgba(255, 255, 255, 0.78);
  --liquid-rail: color-mix(in srgb, var(--surface-alt) 82%, transparent);
  --liquid-pill: rgba(255, 255, 255, 0.86);
  --liquid-pill-line: rgba(255, 255, 255, 0.9);
  --liquid-pill-ink: #101828;
  --liquid-pill-shadow: 0 8px 22px rgba(16, 24, 40, 0.13), 0 2px 6px rgba(16, 24, 40, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  --brand-orange: #f97800;
  --primary: #101828;
  --primary-hover: #1d2939;
  --primary-pressed: #050b16;
  --action-solid: #101828;
  --action-on-solid: #fff;
  --notification-solid: #d92d20;
  --notification-on-solid: #fff;
  --selected-bg: rgba(16, 24, 40, 0.07);
  --selected-ink: #101828;
  --indigo: #101828;
  --indigo-soft: rgba(16, 24, 40, 0.07);
  --canvas-soft: #f2f4f7;
  --focus: #101828;
  --focus-ring: rgba(16, 24, 40, 0.16);
  --blue: #1570ef;
  --blue-soft: #eaf2ff;
  --green: #067647;
  --green-soft: #e9f8f1;
  --red: #b42318;
  --red-soft: #fff0ee;
  --yellow-soft: #fff8dc;
  --radius: 16px;
  --control-radius: 16px;
  --card-radius: 22px;
  --shadow: 0 24px 64px rgba(16, 24, 40, 0.16);
  --shadow-soft: 0 12px 34px rgba(16, 24, 40, 0.1);
  --shadow-card: 0 14px 34px rgba(16, 24, 40, 0.12), 0 3px 10px rgba(16, 24, 40, 0.07);
  --shadow-float: 0 22px 54px rgba(16, 24, 40, 0.19), 0 4px 14px rgba(16, 24, 40, 0.08);
  --motion-press: 140ms;
  --motion-fast: 160ms;
  --motion-selection: 210ms;
  --motion-standard: 220ms;
  --motion-sheet: 350ms;
  --motion-liquid: 250ms;
  --motion-enter: cubic-bezier(0.23, 1, 0.32, 1);
  --motion-move: cubic-bezier(0.2, 0.8, 0.2, 1);
  --motion-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

html[data-vinde-theme="dark"] {
  --ink: #f4f7fb;
  --ink-soft: #d9e0ea;
  --muted: #abb6c8;
  --line: #2d3849;
  --line-strong: #435066;
  --canvas: #0b1018;
  --surface: #141b26;
  --surface-alt: #101620;
  --surface-high: #1b2432;
  --glass: rgba(20, 27, 38, 0.76);
  --glass-strong: rgba(20, 27, 38, 0.9);
  --glass-line: rgba(255, 255, 255, 0.09);
  --liquid-rail: rgba(255, 255, 255, 0.045);
  --liquid-pill: rgba(55, 66, 84, 0.78);
  --liquid-pill-line: rgba(255, 255, 255, 0.14);
  --liquid-pill-ink: #f7f9fc;
  --liquid-pill-shadow: 0 9px 24px rgba(0, 0, 0, 0.38), 0 2px 7px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --primary: #f4f7fb;
  --primary-hover: #ffffff;
  --primary-pressed: #dfe6f0;
  --action-solid: #f4f7fb;
  --action-on-solid: #0b1018;
  --notification-solid: #f04438;
  --notification-on-solid: #fff;
  --selected-bg: rgba(255, 255, 255, 0.09);
  --selected-ink: #f4f7fb;
  --indigo: #f4f7fb;
  --indigo-soft: rgba(255, 255, 255, 0.09);
  --canvas-soft: #101620;
  --focus: #f4f7fb;
  --focus-ring: rgba(244, 247, 251, 0.2);
  --blue: #60a5fa;
  --blue-soft: rgba(96, 165, 250, 0.12);
  --green: #55d69a;
  --green-soft: rgba(85, 214, 154, 0.12);
  --red: #ff7a84;
  --red-soft: rgba(255, 122, 132, 0.12);
  --yellow-soft: rgba(250, 204, 21, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.34);
  --shadow-card: 0 16px 38px rgba(0, 0, 0, 0.36), 0 3px 12px rgba(0, 0, 0, 0.25);
  --shadow-float: 0 24px 60px rgba(0, 0, 0, 0.52), 0 4px 16px rgba(0, 0, 0, 0.3);
}

html {
  background: var(--canvas);
  color-scheme: light dark;
}

body,
.vinde-canonical-app,
[data-vinde-canonical-root] {
  background:
    radial-gradient(circle at 8% 4%, rgba(249, 120, 0, 0.055), transparent 24rem),
    var(--canvas);
  color: var(--ink);
  font-family: var(--font-ui);
  font-optical-sizing: auto;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[data-vinde-theme="dark"] body,
html[data-vinde-theme="dark"] .vinde-canonical-app,
html[data-vinde-theme="dark"] [data-vinde-canonical-root] {
  background:
    radial-gradient(circle at 10% 0%, rgba(249, 120, 0, 0.07), transparent 30rem),
    radial-gradient(circle at 94% 8%, rgba(96, 165, 250, 0.055), transparent 28rem),
    var(--canvas);
}

body :where(h1, h2, h3, h4, strong) {
  letter-spacing: -0.018em;
}

body :where(p, small, label, input, textarea, select, button, a) {
  letter-spacing: 0;
}

body :where(button, input, textarea, select) {
  font: inherit;
}

body :where(a, button, input, textarea, select, summary) {
  -webkit-tap-highlight-color: transparent;
}

body :where(a[href], button, summary, input, textarea, select):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  box-shadow: none;
}

body :where(input, textarea, select)::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

body :where(input, textarea, select) {
  color: var(--ink);
  caret-color: var(--focus);
}

/* Shared premium surfaces */
.site-header,
.site-footer,
.content-section,
.content-section--tint,
.related-band,
.page-intro,
.account-page,
.admin-page,
.legal-layout,
.help-layout,
.auth-gate-shell {
  background-color: transparent;
}

.site-header {
  height: 76px;
  border-bottom: 1px solid var(--glass-line);
  background: var(--glass-strong);
  box-shadow: none;
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
}

html[data-vinde-theme="dark"] .site-header {
  box-shadow: none;
}

.brand-lockup {
  filter: drop-shadow(0 4px 7px rgba(16, 24, 40, 0.1));
}

.brand-lockup img {
  border-radius: 10px;
}

.brand-lockup strong,
.brand-lockup em {
  text-shadow: 0 5px 14px rgba(16, 24, 40, 0.08);
}

.main-nav {
  min-height: 50px;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-alt);
}

.main-nav__link {
  min-height: 42px;
  padding-inline: 14px;
  border: 0;
  border-radius: 999px;
  transition: color var(--motion-fast) ease-out, background var(--motion-selection) ease-out, transform var(--motion-press) ease-out;
}

.main-nav__link.is-active {
  border: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 13px rgba(16, 24, 40, 0.09);
}

.header-search,
.page-search,
.admin-search,
.help-search,
.thread-list__tools label {
  border-color: var(--line);
  border-radius: 999px;
  background: var(--surface-alt);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46), 0 7px 18px rgba(16, 24, 40, 0.055);
  transition: border-color var(--motion-fast) ease-out, box-shadow var(--motion-fast) ease-out, transform var(--motion-fast) ease-out;
}

.header-search:has(input:focus),
.page-search:has(input:focus),
.admin-search:has(input:focus),
.help-search:has(input:focus) {
  border-color: var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.09);
}

.header-search input:focus-visible,
.page-search input:focus-visible,
.admin-search input:focus-visible,
.help-search input:focus-visible,
.thread-list__tools input:focus-visible {
  outline: 0;
  box-shadow: none;
}

.header-search .icon-button,
.page-search .icon-button,
.admin-search .icon-button,
.help-search .icon-button {
  width: 38px;
  min-width: 38px;
  height: 38px;
  flex-basis: 38px;
  margin-right: 3px;
  border-radius: 999px;
  border-color: #101828;
  background: #101828;
  color: #fff;
}

.header-search .icon-button:hover:not(:disabled):not([aria-disabled="true"]),
.page-search .icon-button:hover:not(:disabled):not([aria-disabled="true"]),
.admin-search .icon-button:hover:not(:disabled):not([aria-disabled="true"]),
.help-search .icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: #1d2939;
  background: #1d2939;
  color: #fff;
}

html[data-vinde-theme="dark"] :is(.header-search, .page-search, .admin-search, .help-search) .icon-button {
  border-color: #f4f7fb;
  background: #f4f7fb;
  color: #0b1018;
}

html[data-vinde-theme="dark"] :is(.header-search, .page-search, .admin-search, .help-search) .icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: #fff;
  background: #fff;
  color: #0b1018;
}

.page-search .primary-button,
.help-search .primary-button {
  min-width: 40px;
  flex-shrink: 0;
  border-radius: 999px;
}

.primary-button,
.secondary-button,
.danger-button,
.icon-button,
.text-button,
.filter-chip,
.combo-trigger {
  border-radius: 14px;
}

.primary-button {
  border-color: #101828;
  background: #101828;
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform var(--motion-press) ease-out, box-shadow var(--motion-fast) ease-out, background var(--motion-fast) ease-out;
}

html[data-vinde-theme="dark"] .primary-button {
  border-color: #f4f7fb;
  background: #f4f7fb;
  color: #0b1018;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32), inset 0 1px 0 #fff;
}

.primary-button:hover:not(:disabled):not([aria-disabled="true"]) {
  background: #1d2939;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

html[data-vinde-theme="dark"] .primary-button:hover:not(:disabled):not([aria-disabled="true"]) {
  background: #fff;
}

.primary-button:active,
.secondary-button:active,
.icon-button:active,
.filter-chip:active {
  transform: scale(0.975);
}

.secondary-button,
.icon-button,
.filter-chip {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 7px 18px rgba(16, 24, 40, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

html[data-vinde-theme="dark"] :is(.secondary-button, .icon-button, .filter-chip) {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.secondary-button:hover:not(:disabled):not([aria-disabled="true"]),
.icon-button:hover:not(:disabled):not([aria-disabled="true"]),
.filter-chip:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: var(--line-strong);
  background: var(--surface-high);
  color: var(--ink);
}

.icon-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.66);
  transition: color var(--motion-fast) ease-out, border-color var(--motion-fast) ease-out, background var(--motion-fast) ease-out, box-shadow var(--motion-fast) ease-out, transform var(--motion-press) ease-out;
}

.badge-button.icon-button {
  overflow: visible;
}

.badge-button .badge-count {
  z-index: 2;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border: 2px solid var(--surface);
  background: #d92d20;
  color: #fff;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  box-shadow: 0 2px 7px rgba(180, 35, 24, 0.35);
}

html[data-vinde-theme="dark"] .badge-button .badge-count {
  border-color: var(--surface);
  background: #f04438;
  color: #fff;
  box-shadow: 0 2px 8px rgba(240, 68, 56, 0.42);
}

.icon-button > .icon {
  width: 20px;
  height: 20px;
  transition: transform var(--motion-selection) var(--motion-enter);
}

.icon-button:hover:not(:disabled):not([aria-disabled="true"]) > .icon {
  transform: translateY(-1px) scale(1.035);
}

.conversation__actions {
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  backdrop-filter: blur(12px) saturate(135%);
}

.conversation__actions .icon-button {
  min-width: 44px;
  min-height: 44px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.conversation__actions .icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: var(--line);
  background: var(--surface-high);
}

.conversation__actions .icon-button[data-action="archive-thread"]:hover:not(:disabled):not([aria-disabled="true"]),
.conversation__actions .icon-button[data-action="archive-thread"]:focus-visible,
.photo-preview__actions .icon-button[data-photo-remove] {
  color: var(--red);
}

.conversation__actions .icon-button[data-action="archive-thread"]:hover:not(:disabled):not([aria-disabled="true"]),
.conversation__actions .icon-button[data-action="archive-thread"]:focus-visible,
.photo-preview__actions .icon-button[data-photo-remove]:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: color-mix(in srgb, var(--red) 32%, var(--line));
  background: var(--red-soft);
}

:is(.owner-row__actions, .photo-preview__actions, .blocked-row) .icon-button {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  backdrop-filter: blur(12px) saturate(135%);
}

.vinde-theme-toggle svg {
  width: 20px;
  height: 20px;
}

.eyebrow,
.eyebrow--dark,
.text-button,
.listing-card__category,
.listing-price,
.section-heading > span,
.account-section-heading > span {
  color: var(--ink);
}

.eyebrow {
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.text-button:hover,
.listing-card h3 a:hover,
.listing-card__category:hover,
.listing-card__meta a:hover,
.footer-nav a:hover {
  color: var(--ink);
}

/* Home */
.home-hero-stage {
  --trust-band-height: 78px;
  margin-top: 24px;
  position: relative;
  display: flow-root;
  isolation: isolate;
  padding-bottom: calc(var(--trust-band-height) / 2);
}

.home-hero {
  width: min(1380px, calc(100% - 40px));
  min-height: 500px;
  margin: 0 auto;
  z-index: 2;
  overflow: clip;
  border: 1px solid transparent;
  border-radius: 32px;
  background: var(--surface-high);
  box-shadow: none;
}

.home-hero__photo {
  background-position: center 53%;
  transform: scale(1.015);
}

.home-hero__overlay {
  background: linear-gradient(90deg, rgba(8, 18, 38, 0.73) 0%, rgba(8, 18, 38, 0.42) 48%, rgba(8, 18, 38, 0.04) 100%);
}

.home-hero__content {
  padding-block: 58px;
}

.home-hero h1 {
  max-width: 710px;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.home-hero__content > p {
  color: rgba(255, 255, 255, 0.9);
}

.hero-search {
  position: relative;
  z-index: 30;
  max-width: 1120px;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
  background-clip: padding-box;
}

.hero-search label,
.hero-search .combo-trigger {
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.93);
  color: #101828;
  box-shadow: 0 8px 22px rgba(8, 18, 38, 0.12);
}

.hero-search :is(.hero-search__query, .combo-trigger),
.hero-search .hero-search__query input {
  color: #101828;
}

.hero-search .hero-search__query input::placeholder {
  color: #667085;
  opacity: 1;
}

.hero-search :is(.hero-search__query, .combo-trigger) > .icon,
.hero-search .combo-trigger > .icon:last-child {
  color: #344054;
}

.hero-search .combo-trigger:hover:not(:disabled):not([aria-disabled="true"]),
.hero-search .combo-trigger:focus-visible:not(:disabled):not([aria-disabled="true"]) {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.98);
  color: #101828;
}

body .hero-search .hero-search__query:has(input:focus-visible):not([aria-disabled="true"]),
body .hero-search .custom-combobox--hero > .combo-trigger:focus-visible:not(:disabled):not([aria-disabled="true"]) {
  border-color: #101828;
  outline: 2px solid #101828;
  outline-offset: 2px;
  box-shadow: 0 8px 22px rgba(8, 18, 38, 0.12);
}

.hero-search .combo-trigger:is(:disabled, [aria-disabled="true"]) {
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.82);
  color: #667085;
}

.hero-search__submit {
  min-width: 150px;
  min-height: 56px;
  border-radius: 15px;
}

.trust-band {
  width: min(1180px, calc(100% - 48px));
  height: var(--trust-band-height);
  position: absolute;
  z-index: 3;
  right: auto;
  top: auto;
  bottom: 0;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

/* The search popover is an overlay. Opening it must never restyle or reflow
 * the hero, trust strip, or the content behind it. */
@media (min-width: 761px) {
  .combo-backdrop {
    display: none !important;
  }
}

body > .combo-popover.combo-popover--portal {
  position: fixed;
  z-index: 2147483000;
  top: var(--combo-portal-top);
  right: auto;
  bottom: auto;
  left: var(--combo-portal-left);
  width: var(--combo-portal-width);
  max-width: min(360px, calc(100vw - 24px));
  max-height: var(--combo-available-height, min(340px, calc(100dvh - 24px)));
  transform-origin: top center;
}

body > .combo-popover.combo-popover--portal.opens-up {
  transform-origin: bottom center;
}

body > .combo-popover.combo-popover--portal.is-entering {
  animation: vinde-menu-enter var(--combobox-enter-duration, 140ms) ease-out both;
}

body > .combo-popover.combo-popover--portal.opens-up.is-entering {
  animation-name: vinde-menu-enter-up;
}

body > .combo-popover.combo-popover--portal.is-exiting {
  pointer-events: none;
  animation: vinde-menu-exit 105ms ease-out both;
}

body > .combo-popover.combo-popover--portal.opens-up.is-exiting {
  animation-name: vinde-menu-exit-up;
}

.trust-band__grid > span {
  border-color: var(--line);
}

.content-section {
  padding-block: 58px;
}

.content-section--tint,
.related-band {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface-alt) 72%, transparent);
}

.section-heading {
  align-items: end;
}

.section-heading h2 {
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.08;
}

/* Owner-approved photo category carousel */
.category-grid[data-vinde-depth-carousel] {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  overflow-x: visible;
  overflow-y: visible;
  padding: 8px 2px 30px;
  scrollbar-width: none;
  perspective: 1100px;
}

.category-grid[data-vinde-depth-carousel]::-webkit-scrollbar {
  display: none;
}

.category-grid[data-vinde-depth-carousel] .category-tile {
  position: relative;
  width: auto;
  min-width: 0;
  min-height: 146px;
  height: 146px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46%;
  grid-template-rows: 42px minmax(0, 1fr) 34px;
  align-content: stretch;
  justify-items: stretch;
  gap: 0;
  padding: 12px 10px 10px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow:
    0 calc(11px + var(--category-depth, 0) * 7px) calc(24px + var(--category-depth, 0) * 12px) rgba(16, 24, 40, 0.14),
    0 3px 8px rgba(16, 24, 40, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  transform: translateY(var(--category-lift, -2px)) rotateY(var(--category-tilt, 0deg)) scale(calc(0.965 + var(--category-depth, 0) * 0.035));
  transform-origin: center;
  transition: border-color var(--motion-fast) ease-out, box-shadow var(--motion-standard) ease-out, transform var(--motion-selection) ease-out;
  color: var(--ink);
  text-decoration: none;
}

html[data-vinde-theme="dark"] .category-grid[data-vinde-depth-carousel] .category-tile {
  box-shadow:
    0 calc(12px + var(--category-depth, 0) * 7px) calc(27px + var(--category-depth, 0) * 12px) rgba(0, 0, 0, 0.42),
    0 3px 8px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.category-grid[data-vinde-depth-carousel] .category-tile > .category-tile__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 63%;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: var(--surface-high);
  color: inherit;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.72) 24%, #000 48%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.72) 24%, #000 48%);
}

.category-grid[data-vinde-depth-carousel] .category-tile > .category-tile__photo svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(1.025);
  transition: transform var(--motion-standard) var(--motion-enter), filter var(--motion-standard) ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .category-grid[data-vinde-depth-carousel] .category-tile:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-float);
    transform: translateY(-7px) rotateY(0deg) scale(1.015);
  }

  .category-grid[data-vinde-depth-carousel] .category-tile:hover > .category-tile__photo svg {
    transform: scale(1.065);
  }
}

.category-grid[data-vinde-depth-carousel] .category-tile > strong {
  position: relative;
  z-index: 2;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  min-width: 0;
  max-width: none;
  display: -webkit-box;
  align-self: center;
  margin: 0;
  padding: 0 6px 0 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 760;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.category-grid[data-vinde-depth-carousel] .category-tile > small {
  position: relative;
  z-index: 2;
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  display: block;
  align-self: end;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.category-grid[data-vinde-depth-carousel] .category-tile__icon {
  position: relative;
  z-index: 2;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--glass-strong) 82%, transparent);
  color: var(--category-accent, var(--ink));
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.16);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
}

.category-grid[data-vinde-depth-carousel] .category-tile__icon :is(.icon, svg) {
  width: 17px;
  height: 17px;
}

/* Listings */
.listing-grid {
  gap: 18px;
}

.listing-card:not(.listing-card--table) {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateZ(0);
  transition: transform var(--motion-fast) ease-out;
}

.listing-card:not(.listing-card--table):hover {
  transform: translateY(-3px);
}

.listing-card__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface-high);
  box-shadow: var(--shadow-card);
  transition: border-color var(--motion-fast) ease-out, box-shadow var(--motion-standard) ease-out;
}

.listing-card:not(.listing-card--table):hover .listing-card__media {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-float);
}

.listing-card__media img {
  object-fit: cover;
  background: var(--surface-high);
}

.listing-card__body {
  padding: 12px 2px 2px;
  background: transparent;
}

.listing-card h3 {
  min-height: 0;
  margin: 3px 0 7px;
  font-size: 15px;
  line-height: 1.3;
}

.listing-card h3 a,
.listing-card h3 button {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.012em;
}

.listing-price,
.listing-card__price {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.listing-card__category {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
}

.listing-card__meta,
.listing-card__body > p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.favorite-button {
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #101828;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.19);
  filter: none;
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
}

.favorite-button:hover {
  background: rgba(255, 255, 255, 0.92);
}

.favorite-button.is-active {
  border-color: rgba(225, 29, 72, 0.22);
  background: rgba(255, 255, 255, 0.93);
  color: #e11d48;
}

/* Inputs, dropdowns and sheets */
.field-label input,
.field-label textarea,
.combo-trigger,
.sort-select,
.owner-toolbar select,
.admin-filter-desktop select,
.vinde-runtime-dialog-form select,
.vinde-runtime-dialog-form textarea {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--surface-alt);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: border-color var(--motion-fast) ease-out, background var(--motion-fast) ease-out, box-shadow var(--motion-fast) ease-out, transform var(--motion-fast) ease-out;
}

.field-label,
.combo-label {
  font-weight: 500;
}

.hero-search .custom-combobox--hero {
  position: relative;
  min-height: 56px;
  align-self: start;
}

body .hero-search .custom-combobox--hero.is-open > .combo-trigger:not(:disabled):not([aria-disabled="true"]) {
  border-color: rgba(255, 255, 255, .92);
  outline: 0;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 22px rgba(8, 18, 38, .12);
}

.hero-search .custom-combobox--hero .combo-popover {
  position: absolute;
  z-index: 460;
  top: calc(100% + 8px);
  bottom: auto;
  width: min(360px, calc(100vw - 48px));
  max-width: min(360px, calc(100vw - 48px));
  max-height: min(340px, var(--combo-available-height, 340px));
}

.hero-search .custom-combobox--hero.opens-up .combo-popover {
  top: auto;
  bottom: calc(100% + 8px);
}

.field-validation-status {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 21px;
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.field-validation-status.is-error {
  color: var(--danger, #b42318);
}

.field-validation-status.is-success {
  color: var(--success, #067647);
}

.field-validation-status.is-success::before {
  content: "\2713";
  font-weight: 800;
}

.field-validation-status[hidden] {
  display: none;
}

:is(input, textarea)[aria-invalid="true"] {
  border-color: var(--danger, #b42318);
}

:is(.auth-tabs, .message-tabs, .segmented, .owner-status-tabs, .publish-condition-chips) button {
  font-weight: 600;
}

select:not([multiple]) {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6 8 4 4 4-4' stroke='%23667085' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

html[data-vinde-theme="dark"] :is(.field-label input, .field-label textarea, .combo-trigger, .sort-select, .owner-toolbar select, .admin-filter-desktop select) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.field-label input:hover:not(:disabled):not([aria-disabled="true"]),
.field-label textarea:hover:not(:disabled):not([aria-disabled="true"]),
.combo-trigger:hover:not(:disabled):not([aria-disabled="true"]),
select:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: var(--line-strong);
  background: var(--surface-high);
  color: var(--ink);
}

.field-label input:focus,
.field-label textarea:focus,
.combo-trigger:focus-visible,
select:focus-visible {
  border-color: var(--focus);
  background: var(--surface);
  outline: 0;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.custom-combobox.is-open .combo-trigger {
  border-color: var(--focus);
  background: var(--surface);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  box-shadow: none;
}

:is(.field-label input, .field-label textarea, .combo-trigger, select):is(:disabled, [aria-disabled="true"]),
:is(.field-label input, .field-label textarea, .combo-trigger, select):is(:disabled, [aria-disabled="true"]):hover {
  border-color: var(--line);
  background: var(--surface-alt);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.56;
}

.combo-trigger > .icon:last-child {
  transition: transform var(--motion-selection) var(--motion-enter), color var(--motion-fast) ease-out;
}

.combo-popover,
.custom-combobox--compact .combo-popover {
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: 20px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-float);
  transform-origin: top center;
  animation: none;
  max-height: min(340px, var(--combo-available-height, 340px));
}

.custom-combobox.is-entering > .combo-popover {
  animation: vinde-menu-enter var(--combobox-enter-duration, 140ms) ease-out both;
}

.custom-combobox.is-exiting > .combo-popover {
  pointer-events: none;
  animation: vinde-menu-exit 105ms ease-out both;
}

.custom-combobox.opens-up > .combo-popover {
  top: auto;
  bottom: calc(100% + 7px);
  transform-origin: bottom center;
}

.custom-combobox.opens-up.is-entering > .combo-popover {
  animation-name: vinde-menu-enter-up;
}

.custom-combobox.opens-up.is-exiting > .combo-popover {
  animation-name: vinde-menu-exit-up;
}

.combo-popover header {
  border-color: var(--line);
}

.combo-search {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-alt);
}

.combo-search:focus-within {
  border-color: var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  box-shadow: none;
}

.combo-options {
  padding: 7px;
}

.combo-option {
  min-height: 48px;
  border-radius: 13px;
  transition: color var(--motion-fast) ease-out, background var(--motion-selection) ease-out, transform var(--motion-fast) ease-out;
}

.combo-option:hover,
.combo-option:focus-visible {
  background: var(--surface-high);
  transform: translateX(2px);
}

.combo-option[aria-selected="true"] {
  background: var(--selected-bg);
  color: var(--ink);
}

.combo-option__indicator {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  box-shadow: inset 0 0 0 4px var(--surface);
  transition: border-color var(--motion-selection) ease-out, background var(--motion-selection) ease-out, transform var(--motion-selection) var(--motion-enter);
}

.combo-option[aria-selected="true"] .combo-option__indicator {
  border-color: var(--ink);
  background: var(--ink);
  transform: scale(1.06);
}

.current-location-picker,
.combo-location-group {
  border-color: var(--line);
  border-radius: 16px;
  background: var(--surface-alt);
}

.sheet-backdrop,
.modal-backdrop {
  background: rgba(5, 11, 22, 0.54);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.combo-backdrop {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
}

.filter-sheet,
.admin-filter-sheet {
  border: 1px solid var(--glass-line);
  border-radius: 28px 28px 0 0;
  background: var(--glass-strong);
  box-shadow: 0 -22px 64px rgba(5, 11, 22, 0.25);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
}

.filter-sheet.is-open,
.admin-filter-sheet.is-open {
  animation: vinde-sheet-enter var(--motion-sheet) var(--motion-drawer) both;
}

.sheet-handle,
.vinde-message-sheet__handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: var(--line-strong);
}

/* Liquid segmented controls */
[data-vinde-liquid] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 999px;
  background: var(--liquid-rail);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--liquid-pill-line) 38%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(118%);
  backdrop-filter: blur(12px) saturate(118%);
}

.owner-status-tabs[data-vinde-liquid] {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
}

.owner-status-tabs[data-vinde-liquid]::-webkit-scrollbar {
  display: none;
}

[data-vinde-liquid] > :is(button, a, label, [role="tab"]) {
  position: relative;
  z-index: 1;
  min-height: 44px;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  color: var(--muted);
  opacity: 0.78;
  transition: color var(--motion-liquid) var(--motion-move), opacity var(--motion-liquid) ease-out, transform var(--motion-press) ease-out;
}

[data-vinde-liquid] > :is(button, a, label, [role="tab"]):hover:not(:disabled):not([aria-disabled="true"]),
[data-vinde-liquid] > :is(button, a, label, [role="tab"]):focus-visible:not(:disabled):not([aria-disabled="true"]) {
  color: var(--ink);
  opacity: 0.94;
}

[data-vinde-liquid] > :is(button, a, label, [role="tab"]).is-active,
[data-vinde-liquid] > :is(button, a, label, [role="tab"])[aria-selected="true"],
[data-vinde-liquid] > :is(button, a, label, [role="tab"])[aria-pressed="true"] {
  color: var(--liquid-pill-ink) !important;
  opacity: 1 !important;
}

[data-vinde-liquid-ready="0"] > :is(button, a, label, [role="tab"]).is-active,
[data-vinde-liquid-ready="0"] > :is(button, a, label, [role="tab"])[aria-selected="true"],
[data-vinde-liquid-ready="0"] > :is(button, a, label, [role="tab"])[aria-pressed="true"] {
  color: var(--muted) !important;
  opacity: 0.78 !important;
}

[data-vinde-liquid-ready="0"] > [data-vinde-liquid-previous-active] {
  color: var(--liquid-pill-ink) !important;
  opacity: 1 !important;
}

[data-vinde-liquid-ready="1"] > [data-vinde-liquid-previous-active] {
  color: var(--muted) !important;
  opacity: 0.78 !important;
}

.owner-stats-metrics[data-vinde-liquid] {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.owner-stats-metrics[data-vinde-liquid]::-webkit-scrollbar { display: none; }

.vinde-liquid-indicator {
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: var(--vinde-liquid-width, 0px);
  border: 1px solid var(--liquid-pill-line);
  border-radius: 999px;
  background: var(--liquid-pill);
  box-shadow: var(--liquid-pill-shadow);
  -webkit-backdrop-filter: blur(15px) saturate(128%);
  backdrop-filter: blur(15px) saturate(128%);
  transform: translateX(var(--vinde-liquid-x, 0px));
  will-change: transform;
  transition: transform var(--motion-liquid) var(--motion-move), width var(--motion-liquid) var(--motion-move), background-color var(--motion-liquid) ease-out, border-color var(--motion-liquid) ease-out, box-shadow var(--motion-liquid) ease-out;
  pointer-events: none;
}

[data-vinde-liquid-ready="0"] > .vinde-liquid-indicator {
  transition: none;
}

.message-tabs__indicator {
  display: none !important;
}

.main-nav,
.auth-tabs,
.message-tabs,
.segmented,
.view-toggle,
.thread-tabs,
.owner-status-tabs,
.owner-status-rail,
.owner-stats-periods,
.owner-stats-metrics,
.real-estate-transaction__options,
.publish-condition-chips {
  border-bottom: 0;
}

.main-nav[data-vinde-liquid] .main-nav__link.is-active,
[data-vinde-liquid] > :is(button, a, label, [role="tab"]).is-active {
  box-shadow: none;
}

:is(.main-nav, .auth-tabs, .message-tabs, .segmented, .view-toggle, .thread-tabs, .owner-status-tabs, .owner-status-rail, .owner-stats-periods, .owner-stats-metrics, .real-estate-transaction__options, .publish-condition-chips) > :is(button, a, label, [role="tab"]) {
  border-bottom: 0 !important;
}

html[data-vinde-theme="dark"] .vinde-liquid-indicator { box-shadow: var(--liquid-pill-shadow); }

.view-toggle[data-vinde-liquid]::before { display: none; }

.listing-results-region {
  position: relative;
  contain: layout style;
  transform-origin: 50% 0;
}

[data-listing-transition-trigger].is-busy { cursor: progress; }

/* Morphing toggles: Flutter VindeMorphSwitch parity (52 x 30, 24px knob). */
.vinde-switch-shell,
.vinde-switch {
  position: relative;
  width: 52px;
  min-width: 52px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 52px;
}

.toggle-row .vinde-switch-shell > input[type="checkbox"] {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 52px;
  min-width: 52px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  opacity: 0;
}

.vinde-switch {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.vinde-switch-visual {
  position: absolute;
  top: 7px;
  left: 0;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background-color: var(--surface-high);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line-strong) 72%, transparent);
  pointer-events: none;
  transition: background-color 250ms ease-out, box-shadow 250ms ease-out;
}

.vinde-switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background-color: #fff;
  box-shadow: 0 3px 8px rgba(16, 24, 40, 0.26);
  transform: translateX(0);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out, background-color 250ms ease-out;
}

.vinde-switch-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #667085;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: opacity 250ms ease-out, color 250ms ease-out;
}

.vinde-switch-glyph--off { opacity: 1; }
.vinde-switch-glyph--on { opacity: 0; }

.toggle-row .vinde-switch-shell > input[type="checkbox"]:checked + .vinde-switch-visual,
.vinde-switch[aria-checked="true"] > .vinde-switch-visual,
.vinde-switch.is-active > .vinde-switch-visual {
  background-color: #101828;
  box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.18);
}

.toggle-row .vinde-switch-shell > input[type="checkbox"]:checked + .vinde-switch-visual .vinde-switch-knob,
.vinde-switch[aria-checked="true"] .vinde-switch-knob,
.vinde-switch.is-active .vinde-switch-knob {
  transform: translateX(22px);
  box-shadow: 0 4px 10px rgba(16, 24, 40, 0.31);
}

.toggle-row .vinde-switch-shell > input[type="checkbox"]:checked + .vinde-switch-visual .vinde-switch-glyph--off,
.vinde-switch[aria-checked="true"] .vinde-switch-glyph--off,
.vinde-switch.is-active .vinde-switch-glyph--off { opacity: 0; }

.toggle-row .vinde-switch-shell > input[type="checkbox"]:checked + .vinde-switch-visual .vinde-switch-glyph--on,
.vinde-switch[aria-checked="true"] .vinde-switch-glyph--on,
.vinde-switch.is-active .vinde-switch-glyph--on {
  opacity: 1;
  color: #101828;
}

html[data-vinde-theme="dark"] :is(
  .toggle-row .vinde-switch-shell > input[type="checkbox"]:checked + .vinde-switch-visual,
  .vinde-switch[aria-checked="true"] > .vinde-switch-visual,
  .vinde-switch.is-active > .vinde-switch-visual
) { background-color: #f4f7fb; }

html[data-vinde-theme="dark"] :is(
  .toggle-row .vinde-switch-shell > input[type="checkbox"]:checked + .vinde-switch-visual .vinde-switch-knob,
  .vinde-switch[aria-checked="true"] .vinde-switch-knob,
  .vinde-switch.is-active .vinde-switch-knob
) { background-color: #0b1018; }

html[data-vinde-theme="dark"] :is(
  .toggle-row .vinde-switch-shell > input[type="checkbox"]:checked + .vinde-switch-visual .vinde-switch-glyph--on,
  .vinde-switch[aria-checked="true"] .vinde-switch-glyph--on,
  .vinde-switch.is-active .vinde-switch-glyph--on
) { color: #f4f7fb; }

.vinde-switch-shell:has(input[type="checkbox"]:focus-visible) > .vinde-switch-visual,
.vinde-switch:focus-visible > .vinde-switch-visual {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.toggle-row .vinde-switch-shell:has(input[type="checkbox"]:disabled) {
  cursor: not-allowed;
  opacity: 0.45;
}

.toggle-row > span,
.toggle-row > span :is(strong, small) {
  transition: color 250ms ease-out, opacity 250ms ease-out;
}

.toggle-row:has(input[type="checkbox"]:not(:checked)) > span small {
  opacity: 0.78;
}

.toggle-row:has(input[type="checkbox"]:checked) > span strong {
  color: var(--ink);
}

.vinde-theme-setting {
  border-top: 1px solid var(--line);
}

/* Cards and page modules */
.form-band,
.publish-review,
.account-mobile-nav,
.account-metrics,
.account-activity,
.account-help-row,
.settings-form,
.admin-metrics,
.admin-table-section,
.parity-section,
.messages-shell,
.empty-state,
.state-card,
.help-content,
.legal-layout > article,
.wordpress-document,
.seller-profile-hero,
.seller-summary,
.contact-card,
.detail-main > section {
  border-color: var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.account-content {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.account-content > .account-section-heading:first-child {
  padding-inline: 2px;
}

.account-content > .account-section-heading:first-child .eyebrow,
.account-section-heading > [data-route="notifications"] {
  display: none;
}

.account-count-skeleton > span {
  background: var(--surface-high);
}

.account-metrics button {
  border-radius: 12px;
}

.account-activity .section-heading > .text-button {
  min-height: 44px;
}

.admin-tabs button {
  border-radius: 12px;
}

.admin-tabs button.is-active {
  border-color: var(--action-solid);
  background: var(--action-solid);
  color: var(--action-on-solid);
}

.account-metrics button:first-child {
  border-radius: calc(var(--card-radius) - 1px) 0 0 calc(var(--card-radius) - 1px);
}

.account-metrics button:last-child {
  border-radius: 0 calc(var(--card-radius) - 1px) calc(var(--card-radius) - 1px) 0;
}

.owner-toolbar__filters > .custom-combobox {
  min-width: 0;
}

.owner-toolbar__filters > .custom-combobox .combo-trigger {
  width: 100%;
  min-height: 48px;
}

.photo-grid[data-photo-count="0"] {
  grid-template-columns: minmax(0, 320px);
}

.photo-grid[data-photo-count="0"] .photo-add {
  width: min(100%, 320px);
  min-height: 150px;
  aspect-ratio: auto;
  justify-self: start;
  border-style: solid;
  border-color: var(--line);
  border-radius: 20px;
  background: var(--surface-alt);
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
}

.photo-grid[data-photo-count="0"] .photo-add > .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.photo-add {
  transition: border-color 140ms ease-out, background-color 140ms ease-out, box-shadow 140ms ease-out, transform 140ms ease-out;
}

.photo-add.is-dragover {
  border-color: var(--focus);
  background: color-mix(in srgb, var(--selected-bg) 72%, var(--surface));
  box-shadow: 0 0 0 3px var(--focus-ring), 0 13px 34px rgba(16, 24, 40, 0.14);
  transform: translateY(-2px);
}

.photo-preview__meta {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  overflow: hidden;
  padding: 5px 8px;
  border-radius: 13px;
  background: rgba(11, 16, 24, 0.78);
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-preview:has(.photo-preview__meta) > span {
  bottom: auto;
  top: 8px;
}

.photo-upload-errors {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.photo-upload-error {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 8px 13px;
  border: 0;
  border-radius: 13px;
  background: color-mix(in srgb, var(--danger, #b42318) 8%, var(--surface));
  color: var(--ink);
}

.photo-upload-error :is(strong, small) {
  display: block;
}

.photo-upload-error small {
  margin-top: 3px;
  color: var(--muted);
}

.publish-currency-control {
  width: min(100%, 220px);
  align-self: end;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.publish-currency-control :is(.combo-label, legend),
.publish-seller-type-control legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.publish-currency-control .combo-popover {
  width: min(220px, calc(100vw - 32px));
}

.publish-currency-segmented {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.runtime-choice {
  position: relative;
}

.runtime-choice__trigger {
  width: 100%;
}

.runtime-choice__popover {
  width: 100%;
}

.runtime-choice.is-entering > .runtime-choice__popover {
  animation: vinde-menu-enter 140ms ease-out both;
}

.runtime-choice.is-exiting > .runtime-choice__popover {
  pointer-events: none;
  animation: vinde-menu-exit 105ms ease-out both;
}

.runtime-choice.opens-up > .runtime-choice__popover {
  top: auto;
  bottom: calc(100% + 7px);
  transform-origin: bottom center;
}

.runtime-choice.opens-up.is-entering > .runtime-choice__popover {
  animation-name: vinde-menu-enter-up;
}

.runtime-choice.opens-up.is-exiting > .runtime-choice__popover {
  animation-name: vinde-menu-exit-up;
}

.runtime-choice.is-open .runtime-choice__trigger > .icon:last-child {
  transform: rotate(180deg);
}

.publish-condition-control {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.publish-condition-control > legend {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}

.publish-condition-segmented {
  width: min(100%, 440px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.publish-seller-type-control {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.publish-seller-type {
  width: min(100%, 440px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.publish-condition-segmented,
.publish-seller-type,
.publish-currency-segmented {
  gap: 4px;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 999px;
  background: var(--liquid-rail);
}

.publish-condition-segmented > button,
.publish-seller-type > button,
.publish-currency-segmented > button {
  min-height: 42px;
  padding-inline: 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
}

.publish-condition-segmented > button.is-active,
.publish-seller-type > button.is-active,
.publish-currency-segmented > button.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.publish-phone-field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.publish-phone-readonly {
  position: relative;
}

.publish-phone-readonly > .icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.publish-phone-readonly input {
  width: 100%;
  min-height: 50px;
  padding-left: 44px;
  border-radius: var(--control-radius);
  background: var(--surface-alt);
  cursor: default;
}

.publish-hide-phone-toggle {
  margin-top: 5px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.publish-layout {
  padding-top: 28px;
}

.publish-progress {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-alt);
}

.publish-progress li {
  border-radius: 13px;
  background: transparent;
}

.publish-progress li.is-active {
  background: var(--surface);
}

.publish-form {
  gap: 16px;
}

.publish-form .form-band,
.publish-review {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.photo-grid {
  gap: 12px;
}

.photo-preview,
.photo-add {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-alt);
}

.photo-preview__actions {
  gap: 3px;
  padding: 3px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 5px 16px rgba(16, 24, 40, 0.14);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.photo-preview__actions :is(.icon-button, .text-button) {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.photo-preview__actions :is(.icon-button, .text-button):hover:not(:disabled) {
  background: var(--surface-high);
}

.publish-actions {
  gap: 10px;
  padding: 6px 0 0;
}

@media (min-width: 761px) {
  body :is(
    .site-header,
    .conversation__actions,
    .hero-search,
    .trust-band,
    .category-tile__icon,
    .favorite-button,
    .sheet-backdrop,
    .modal-backdrop,
    .filter-sheet,
    .admin-filter-sheet,
    .auth-panel,
    .auth-gate-card,
    .modal,
    .vinde-runtime-dialog,
    .vinde-message-modal,
    .vinde-message-sheet,
    .cookie-banner,
    .install-banner,
    .filter-submit-row,
    .saved-search-unavailable,
    .gallery-lightbox figcaption,
    .gallery-glass
  ),
  body :is(.owner-row__actions, .photo-preview__actions, .blocked-row) .icon-button {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

.form-band__heading > span,
.publish-review__heading > span,
.state-icon,
.modal-icon {
  background: var(--surface-high);
  color: var(--ink);
}

.publish-progress,
.owner-status-tabs:not([data-vinde-liquid]),
.message-tabs:not([data-vinde-liquid]),
.thread-list__tools {
  border-color: var(--line);
  background: var(--surface-alt);
}

.admin-header {
  background: #101828;
}

html[data-vinde-theme="dark"] .admin-header {
  background: #050b16;
}

.admin-metrics > div,
th,
td,
.notification-row,
.activity-row,
.owner-row,
.thread-row,
.message-list-item {
  border-color: var(--line);
}

th {
  background: var(--surface-alt);
  color: var(--muted);
}

/* Auth and modal polish */
.auth-page {
  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);
  background: var(--canvas);
}

.auth-photo {
  align-self: start;
  height: max(700px, calc(100dvh - 76px - 2 * clamp(24px, 4vw, 56px)));
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: 32px;
  background-position: center;
  box-shadow: var(--shadow-float);
}

.auth-panel {
  max-width: 560px;
  padding: 44px;
  border: 1px solid var(--glass-line);
  border-radius: 30px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-float);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
}

.auth-panel__dismiss {
  top: 18px;
  right: 18px;
  border-radius: 999px;
}

.auth-panel .brand {
  margin-bottom: 22px;
}

.auth-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 16px;
}

.auth-tabs button {
  min-height: 44px;
}

.auth-form {
  gap: 12px;
}

.auth-panel .text-button {
  min-height: 44px;
}

.auth-form .form-grid {
  gap: 10px 12px;
}

.auth-form .field-label input {
  height: 48px;
  min-height: 48px;
  padding-block: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-alt);
  box-shadow: none;
}

.auth-form .field-label input:focus {
  border-color: var(--focus);
  outline: 0;
  box-shadow: 0 0 0 2px var(--focus-ring);
}

.auth-form :is(input, textarea)[aria-invalid="true"] {
  border-color: var(--line);
  box-shadow: none;
}

.auth-validation-summary {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.auth-validation-summary[hidden] {
  display: none;
}

.auth-form .field-validation-status {
  display: none;
}

.auth-form > .primary-button {
  min-height: 48px;
}

.auth-social {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.auth-social__divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.auth-social__divider::before,
.auth-social__divider::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.auth-social__buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 10px;
}

.auth-social__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 11px 18px;
  overflow: hidden;
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--ink);
  font-weight: 720;
  line-height: 1.25;
  white-space: normal;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08), inset 0 1px 0 color-mix(in srgb, var(--surface) 45%, transparent);
}

html[data-vinde-theme="dark"] .auth-social__button {
  background: color-mix(in srgb, var(--surface-high) 78%, transparent);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.auth-social__button:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: var(--ink-soft);
  background: var(--surface-high);
  color: var(--ink);
}

.auth-social__button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.auth-social__provider-mark {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.auth-social__provider-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.auth-social__provider-mark--google {
  width: 24px;
  height: 24px;
  padding: 3px;
  border-radius: 4px;
  background: #fff;
}

.auth-social__provider-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.auth-form__error {
  margin: 0;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.45;
}

.auth-flow-state--inline {
  padding-block: 4px 8px;
}

@media (max-width: 359px) {
  .auth-social__buttons {
    grid-template-columns: 1fr;
  }
}

.phone-otp {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.phone-otp__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.phone-otp__send-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.phone-otp[data-phone-otp="phone"] .phone-otp__send-label {
  display: none;
}

.phone-otp[data-phone-otp="success"] .phone-otp__send-label {
  color: var(--green);
}

.phone-otp__phone {
  position: relative;
  display: block;
  height: 48px;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-alt);
}

.phone-otp__phone:focus-within {
  border-color: var(--focus);
  box-shadow: 0 0 0 2px var(--focus-ring);
}

.auth-form .phone-otp__phone > input {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding-inline: 14px 60px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-form .phone-otp__phone > input:focus {
  border: 0;
  box-shadow: none;
}

.phone-otp__phone > button {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 50%;
  right: 2px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid var(--action-solid);
  border-radius: 999px;
  background: var(--action-solid);
  color: var(--action-on-solid);
  cursor: pointer;
}

.phone-otp__phone > button:hover:not(:disabled) {
  border-color: var(--primary-hover);
  background: var(--primary-hover);
}

.phone-otp__phone > button:active:not(:disabled) {
  border-color: var(--primary-pressed);
  background: var(--primary-pressed);
}

.phone-otp__phone > button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.phone-otp__phone > button:disabled {
  opacity: .46;
  cursor: default;
}

.phone-otp__phone > button .icon {
  width: 19px;
  height: 19px;
}

.phone-otp.is-verified .phone-otp__phone {
  background: var(--surface-high);
}

.auth-form .phone-otp.is-verified .phone-otp__phone > input {
  color: var(--muted);
  cursor: default;
}

.phone-otp.is-verified .phone-otp__phone > button:disabled {
  border-color: color-mix(in srgb, var(--green) 34%, transparent);
  background: var(--green-soft);
  color: var(--green);
  opacity: 1;
}

.phone-otp__panel small,
.phone-otp__success small {
  color: var(--muted);
  line-height: 1.4;
}

.phone-otp__panel {
  display: grid;
  gap: 12px;
  margin-top: 3px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-high);
}

.phone-otp__code-wrap {
  position: relative;
}

.phone-otp__code-input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  opacity: .01;
  caret-color: transparent;
}

.phone-otp__digits {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  pointer-events: none;
}

.phone-otp__digits > span {
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.phone-otp__code-input:focus + .phone-otp__digits > span.is-current {
  border-color: var(--focus);
  box-shadow: 0 0 0 2px var(--focus-ring);
}

.phone-otp__actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.phone-otp__actions > button {
  min-height: 44px;
}

.phone-otp__error {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  line-height: 1.4;
}

.phone-otp__success {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
}

.phone-otp__success .icon {
  width: 21px;
  height: 21px;
}

.phone-otp__success span {
  display: grid;
  gap: 2px;
}

.register-activation-email {
  display: block;
  margin: 2px 0 4px;
  padding: 12px 14px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.register-activation-note {
  color: var(--muted);
  font-size: 13px;
}

.password-field {
  display: grid;
  align-items: center;
}

.password-field > input {
  grid-area: 1 / 1;
  width: 100%;
}

.password-visibility {
  grid-area: 1 / 1;
  z-index: 1;
  width: 44px;
  height: 44px;
  justify-self: end;
  display: grid;
  place-items: center;
  margin-right: 3px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.password-visibility:hover {
  background: var(--surface-high);
  color: var(--ink);
}

.password-visibility .icon {
  width: 19px;
  height: 19px;
}

.auth-safety {
  border-color: var(--line);
}

.auth-gate-card,
.modal,
.vinde-runtime-dialog,
.vinde-message-modal,
.vinde-message-sheet {
  border: 1px solid var(--glass-line);
  border-radius: 26px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-float);
  -webkit-backdrop-filter: blur(28px) saturate(155%);
  backdrop-filter: blur(28px) saturate(155%);
}

.modal:not(.modal--gallery):not(.modal--owner-actions),
.vinde-runtime-dialog,
.vinde-message-modal {
  animation: vinde-modal-enter 330ms var(--motion-drawer) both;
}

.modal-backdrop.modal--gallery {
  animation: vinde-gallery-backdrop-enter 180ms ease-out both;
}

.modal.modal--gallery {
  animation: vinde-gallery-shell-enter 240ms var(--motion-drawer) both;
}

.detail-gallery__open > img,
.gallery-lightbox__stage > img {
  animation: vinde-gallery-image-enter 220ms cubic-bezier(0.23, 1, 0.32, 1) both;
  transform-origin: center center;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 999px;
}

.modal [data-modal-initial-focus]:focus {
  outline: none;
}

.modal:not(.modal--gallery) > .modal-icon {
  margin-top: 2px;
}

/* Legacy light literals normalized into the shared light/dark token system. */
.saved-search-unavailable,
.notification-row.is-unread,
.filter-section--dynamic,
tbody tr:hover {
  background: var(--surface-alt);
}

.inline-notice--error {
  border-color: color-mix(in srgb, var(--red) 38%, var(--line));
  background: var(--red-soft);
  color: var(--ink);
}

.status-chip--warning {
  background: var(--yellow-soft);
  color: var(--ink);
}

.detail-tags span,
.avatar,
.avatar--seller .avatar__initials {
  color: var(--blue);
}

.secondary-button:disabled,
.icon-button:disabled,
button:disabled {
  border-color: var(--line);
  background: var(--surface-alt);
  color: var(--muted);
}

.skeleton-preview span,
.vinde-skeleton [data-skeleton-block] {
  background: var(--surface-high);
}

.vinde-skeleton [data-skeleton-block]:nth-child(even) {
  background: var(--surface-alt);
}

.vinde-skeleton [data-skeleton-block]:first-child {
  background: color-mix(in srgb, var(--selected-bg) 72%, var(--surface-high));
}

/* Authentication chrome is deliberately neutral. Orange remains reserved for
 * the .online wordmark and never communicates login, guest or logout state. */
.header-account-action[data-auth-state="guest"] {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.header-account-action[data-auth-state="guest"]:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: var(--surface-high);
  color: var(--ink);
}

.mobile-bottom-nav__item[data-mobile-nav-item="account"][data-auth-state="guest"] {
  color: var(--muted);
}

.thread-row:hover,
.thread-row.is-active,
.install-banner,
.filter-sheet .filter-submit-row,
.mobile-detail-cta {
  border-color: var(--line);
  background: var(--glass-strong);
  color: var(--ink);
}

.install-banner,
.filter-sheet .filter-submit-row,
.mobile-detail-cta {
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

.listing-context__media {
  background: var(--surface-high);
}

.listing-context__media img {
  object-fit: cover;
}

[data-vinde-private-runtime] :is(
  .admin-audience label:has(input:checked),
  .admin-notification-user-results > button:hover,
  .admin-notification-user-selected
) {
  border-color: var(--ink);
}

.cookie-banner {
  border: 1px solid var(--glass-line);
  border-radius: 20px;
  background: var(--glass-strong);
  color: var(--ink);
  box-shadow: var(--shadow-float);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}

.footer-nav a,
.footer-bottom,
.form-help,
.empty-state p,
.state-card p,
.auth-safety small {
  color: var(--muted);
}

html[data-vinde-theme="dark"] :is(
  .site-footer,
  .footer-main,
  .footer-bottom,
  .page-intro,
  .listing-toolbar,
  .quick-filter-rail,
  .filters-toolbar,
  .saved-search-panel,
  .notification-list,
  .blocked-list,
  .message-stream,
  .composer,
  .help-nav,
  .legal-layout > aside,
  .detail-sidebar,
  .detail-gallery,
  .owner-toolbar,
  .owner-list,
  .admin-user-card
) {
  border-color: var(--line);
  background-color: var(--surface);
  color: var(--ink);
}

html[data-vinde-theme="dark"] :is(
  .field-label,
  .check-row,
  .toggle-row,
  .notification-row,
  .activity-row,
  .owner-row,
  .thread-row,
  .message-list-item,
  .admin-user-card,
  .admin-listing-card
) {
  border-color: var(--line);
  color: var(--ink);
}

/* Floating glass mobile navigation */
@media (min-width: 761px) and (max-width: 1180px) {
  .category-grid[data-vinde-depth-carousel] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .phone-otp__panel {
    margin-inline: -2px;
    padding: 13px 11px;
  }

  .phone-otp__digits {
    gap: 5px;
  }

  .phone-otp__digits > span {
    height: 46px;
    border-radius: 11px;
  }

  .phone-otp__actions {
    grid-template-columns: 1fr 1fr;
  }

  .phone-otp__actions > [data-action="phone-otp-change"] {
    grid-column: 1 / -1;
    justify-self: start;
  }

  :root {
    --canonical-mobile-nav-height: 68px;
    --canonical-mobile-nav-edge: 12px;
  }

  .site-header {
    height: 70px;
  }

  .combo-backdrop {
    display: block;
    position: fixed;
    z-index: 420;
    inset: 0;
    padding: 0;
    border: 0;
    background: rgba(5, 11, 22, 0.54);
    pointer-events: auto;
  }

  .site-header__mobile {
    min-height: 70px;
    padding-inline: 14px;
  }

  .brand-lockup {
    font-size: 19px;
  }

  .brand-lockup img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .mobile-header-actions {
    display: flex;
    gap: 7px;
  }

  .home-hero {
    width: calc(100% - 28px);
    min-height: 420px;
    margin-top: 14px;
    border-radius: 24px;
  }

  .home-hero__overlay {
    background: linear-gradient(180deg, rgba(8, 18, 38, 0.08) 10%, rgba(8, 18, 38, 0.66) 66%, rgba(8, 18, 38, 0.78) 100%);
  }

  .home-hero__content {
    align-self: end;
    padding: 34px 18px 24px;
  }

  .home-hero h1 {
    font-size: clamp(31px, 10vw, 40px);
  }

  .home-hero__content > p {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .hero-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 5px;
    padding: 4px;
    border-radius: 16px;
  }

  .hero-search .hero-search__query {
    grid-column: 1;
    box-sizing: border-box;
    min-height: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .hero-search .hero-search__query input {
    box-sizing: border-box;
    min-height: 48px;
    height: 48px;
    font-size: 16px;
  }

  .hero-search > .custom-combobox {
    grid-column: auto;
  }

  .hero-search > .custom-combobox:nth-of-type(1),
  .hero-search > .custom-combobox:nth-of-type(2) {
    display: none;
  }

  .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;
    border-radius: 13px;
    font-size: 0;
  }

  .hero-search__submit .icon {
    width: 19px;
    height: 19px;
  }

  .trust-band {
    width: calc(100% - 40px);
    height: 70px;
    border-radius: 19px;
  }

  .home-hero-stage {
    --trust-band-height: 70px;
    margin-top: 14px;
    padding-bottom: calc(var(--trust-band-height) / 2 + 14px);
  }

  .trust-band__grid {
    min-height: 68px;
  }

  .trust-band__grid > span {
    gap: 5px;
    padding: 8px 5px;
    font-size: 9.5px;
    line-height: 1.2;
    text-align: center;
  }

  .trust-band__grid > span .icon {
    width: 17px;
    height: 17px;
  }

  .content-section {
    padding-block: 42px;
  }

  .section-heading {
    gap: 14px;
    margin-bottom: 18px;
  }

  .section-heading > .secondary-button,
  .account-section-heading > .primary-button {
    min-height: 44px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .listings-search-row .page-search input {
    align-self: stretch;
    min-height: 44px;
    font-size: 16px;
  }

  .listings-search-row .page-search .primary-button {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    padding: 0;
  }

  .listing-card--list .secondary-button {
    min-height: 44px;
  }

  .category-grid[data-vinde-depth-carousel] {
    display: flex;
    gap: 10px;
    margin-inline: -2px;
    padding: 7px 2px 26px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
  }

  .category-grid[data-vinde-depth-carousel] .category-tile {
    width: 132px;
    min-width: 132px;
    min-height: 142px;
    height: 142px;
    flex-basis: 132px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 78px minmax(0, 1fr);
    padding: 0;
    border-radius: 15px;
    scroll-snap-align: start;
  }

  .category-grid[data-vinde-depth-carousel] .category-tile > .category-tile__photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 78px;
    display: block;
    border-radius: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .category-grid[data-vinde-depth-carousel] .category-tile > strong {
    grid-column: 1;
    grid-row: 2;
    max-width: calc(100% - 36px);
    align-self: start;
    padding: 11px 0 6px 9px;
    font-size: 10.5px;
    line-height: 1.12;
  }

  .category-grid[data-vinde-depth-carousel] .category-tile > small {
    display: none;
  }

  .category-grid[data-vinde-depth-carousel] .category-tile__icon {
    position: absolute;
    top: 64px;
    right: 7px;
    grid-column: auto;
    grid-row: auto;
    width: 30px;
    height: 30px;
    border-radius: 999px;
  }

  .category-grid[data-vinde-depth-carousel] .category-tile__icon :is(.icon, svg) {
    width: 16px;
    height: 16px;
  }

  .listing-grid--home,
  .listing-grid--results,
  .listing-grid--account {
    gap: 12px;
  }

  .listing-card:not(.listing-card--table) {
    border-radius: 18px;
  }

  .listing-card__body {
    padding: 11px 11px 13px;
  }

  .listing-card h3 {
    font-size: 13px;
  }

  .listing-card.listing-card--list {
    height: 166px;
    min-height: 166px;
  }

  .listing-card--list h3 {
    min-height: 2.56em;
  }

  .listing-price,
  .listing-card__price {
    font-size: 16px;
  }

  .favorite-button {
    top: 7px;
    right: 7px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .combo-popover,
  .custom-combobox--compact .combo-popover {
    border-radius: 26px 26px 0 0;
    animation: none;
  }

  .custom-combobox.is-entering > .combo-popover {
    animation: vinde-sheet-enter var(--combobox-enter-duration, 140ms) ease-out both;
  }

  .custom-combobox.is-exiting > .combo-popover {
    animation: vinde-sheet-exit 105ms ease-out both;
  }

  .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;
    background: var(--canvas);
  }

  .auth-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    opacity: 0.52;
    box-shadow: none;
  }

  html[data-vinde-theme="dark"] .auth-photo {
    opacity: 0.25;
    filter: brightness(0.68) saturate(0.85);
  }

  .auth-panel {
    z-index: 1;
    width: calc(100% - 24px);
    max-width: none;
    max-height: calc(100dvh - 84px);
    margin: 12px;
    padding: 30px 20px calc(22px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 28px;
  }

  .auth-page:has(#auth-form[data-vinde-private-form="register"]) .auth-panel {
    border: 0;
  }

  .auth-panel__dismiss {
    top: 12px;
    right: 12px;
  }

  .auth-panel .brand {
    margin-bottom: 24px;
  }

  .auth-social__buttons {
    grid-template-columns: 1fr;
  }

  .auth-social__button {
    min-height: 52px;
    border-radius: 999px;
  }

  .modal:not(.modal--gallery),
  .vinde-runtime-dialog,
  .vinde-message-modal,
  .vinde-message-sheet,
  .auth-gate-card {
    border-radius: 28px 28px 0 0;
  }

  .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;
    overscroll-behavior: contain;
    border-radius: 28px;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    animation-name: vinde-mobile-modal-enter;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-bottom-nav,
  [data-mobile-bottom-nav] {
    min-height: 68px;
    padding: 5px 7px;
    border: 1px solid var(--glass-line);
    border-radius: 25px;
    background: var(--glass);
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.66);
    -webkit-backdrop-filter: blur(28px) saturate(175%);
    backdrop-filter: blur(28px) saturate(175%);
    transform: translateY(0) scale(1);
    transform-origin: bottom center;
    transition: left 420ms var(--motion-drawer), right 420ms var(--motion-drawer), bottom 420ms var(--motion-drawer), transform 420ms var(--motion-drawer), border-radius 420ms var(--motion-drawer), background 240ms ease-out;
  }

  html[data-vinde-theme="dark"] :is(.mobile-bottom-nav, [data-mobile-bottom-nav]) {
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }

  .mobile-bottom-nav.is-condensed,
  [data-mobile-bottom-nav].is-condensed {
    right: max(26px, env(safe-area-inset-right, 0px));
    bottom: max(7px, env(safe-area-inset-bottom, 0px));
    left: max(26px, env(safe-area-inset-left, 0px));
    border-radius: 22px;
    transform: translateY(3px) scale(0.93);
  }

  .mobile-bottom-nav__indicator {
    top: 5px;
    bottom: 5px;
    border: 1px solid var(--glass-line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 8px 19px rgba(16, 24, 40, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition: transform var(--motion-liquid) var(--motion-move), opacity var(--motion-fast) ease-out;
  }

  .mobile-bottom-nav__item,
  [data-mobile-bottom-nav] > .mobile-bottom-nav__item {
    color: color-mix(in srgb, var(--ink) 76%, transparent);
  }

  .mobile-bottom-nav__item.is-active {
    color: var(--ink);
  }

  .mobile-bottom-nav__item--publish .mobile-bottom-nav__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-top: -14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: #101828;
    color: #fff;
    box-shadow: 0 12px 25px rgba(16, 24, 40, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }

  html[data-vinde-theme="dark"] .mobile-bottom-nav__item--publish .mobile-bottom-nav__icon {
    background: #050b16;
  }

  .mobile-bottom-nav__item--publish > span:last-child {
    transform: translateY(2px);
  }

  .cookie-banner {
    border: 1px solid var(--glass-line);
    border-radius: 20px;
    background: var(--glass-strong);
    box-shadow: var(--shadow-float);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    backdrop-filter: blur(24px) saturate(145%);
  }
}

@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;
  }
}

/* Owner-approved source-only refinement: controls, cards and account paths. */
.filter-sidebar {
  gap: 10px;
  padding: 16px;
  border-color: var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 88%, var(--surface-alt));
  box-shadow: var(--shadow-soft);
}

.filter-heading {
  min-height: 46px;
  padding: 0 2px 10px;
}

.filter-group {
  border-color: var(--line);
}

.filter-group > summary {
  min-height: 50px;
  padding-inline: 2px;
  border-radius: 12px;
  font-weight: 650;
}

.filter-group > summary:hover {
  color: var(--ink);
  background: var(--surface-alt);
}

.filter-group__body {
  gap: 12px;
  padding: 4px 0 16px;
}

.filter-input-row {
  gap: 10px;
}

.filter-submit-row {
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.filter-submit-row :is(.primary-button, .secondary-button) {
  min-height: 48px;
  border-radius: 14px;
}

.filter-checks .toggle-row {
  min-height: 44px;
}

.listing-grid--results.is-list {
  gap: 16px;
}

.listing-card.listing-card--list {
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.listing-card--list .listing-card__media {
  border-radius: 20px;
}

.listing-card--list .listing-card__body {
  padding: 10px 2px;
}

.detail-main > .detail-section {
  margin-top: 16px;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.detail-main > .detail-section > :first-child {
  margin-top: 0;
}

.detail-main > .detail-section > p {
  max-width: 72ch;
  line-height: 1.72;
}

.detail-main > .detail-section.safety-note {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.account-head {
  padding: 24px 0 0;
  background: transparent;
  color: var(--ink);
}

.account-greeting-bar {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.account-greeting-bar .profile-identity :is(h1, p) {
  color: var(--ink);
}

.account-greeting-bar .profile-identity p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.account-greeting-bar__label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.account-greeting-bar .avatar--large {
  border: 1px solid var(--line);
  background: var(--surface-high);
  color: var(--ink);
}

.auth-legal-acceptance a {
  color: var(--ink);
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.account-layout {
  gap: 24px;
  padding-block: 24px 80px;
}

.account-nav {
  padding: 6px;
  border-radius: 20px;
  background: var(--surface-alt);
  box-shadow: var(--shadow-soft);
}

.account-nav > :is(button, a) {
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  background: transparent;
}

.account-nav > :is(button, a):hover,
.account-nav > :is(button, a).is-active {
  background: var(--surface);
}

.account-nav > :is(button, a).is-active {
  box-shadow: 0 5px 14px rgba(16, 24, 40, 0.08);
}

.settings-form {
  border-color: var(--line);
  background: var(--surface);
}

.settings-form > section {
  border-color: var(--line);
}

.notification-list,
.blocked-list {
  gap: 10px;
}

.notification-row,
.blocked-list article {
  min-height: 72px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.notification-row.is-unread {
  border-color: var(--line);
  background: var(--surface-alt);
}

.notification-row__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-high);
  color: var(--ink);
}

.row-action {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
}

.row-action:hover {
  background: var(--surface-high);
  color: var(--ink);
}

.row-action .icon {
  width: 18px;
  height: 18px;
}

.notification-row > .row-action {
  pointer-events: none;
}

.notification-list--empty,
.blocked-list--empty {
  padding-block: 24px 64px;
}

.empty-state--flat {
  min-height: 300px;
  padding: 36px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.help-content {
  padding: clamp(22px, 3vw, 34px);
}

.settings-return-control {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px;
  padding: 0 13px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 140ms ease-out, color 140ms ease-out;
}

.settings-return-control:hover {
  background: var(--surface-high);
}

.settings-return-control:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.settings-return-control .icon {
  width: 18px;
  height: 18px;
}

.help-steps section {
  padding-block: 14px;
  background: transparent;
}

.help-steps section > span {
  background: #101828;
  color: #fff;
}

.help-search {
  border-color: var(--line);
  background: var(--surface);
}

html[data-vinde-theme="dark"] :is(
  .account-greeting-bar,
  .account-nav,
  .settings-form,
  .notification-row,
  .blocked-list article,
  .help-content,
  .help-steps section,
  .support-row,
  .help-document-scroll
) {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

html[data-vinde-theme="dark"] .account-head {
  background: transparent;
  color: var(--ink);
}

html[data-vinde-theme="dark"] .account-greeting-bar .profile-identity :is(h1, p),
html[data-vinde-theme="dark"] .account-greeting-bar__label {
  color: var(--ink);
}

html[data-vinde-theme="dark"] .account-greeting-bar .profile-identity p,
html[data-vinde-theme="dark"] .account-greeting-bar__label {
  color: var(--muted);
}

html[data-vinde-theme="dark"] .notification-row.is-unread {
  background-color: var(--surface-high);
}

:is(
  .skip-link,
  .filter-count,
  .pagination .is-current,
  .publish-progress li.is-active span,
  .form-band__heading > span,
  .composer__send
) {
  border-color: var(--action-solid);
  background: var(--action-solid);
  color: var(--action-on-solid);
}

.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  transform: none;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  overflow: visible;
  clip: auto;
  clip-path: none;
}

.help-hero {
  background: var(--action-solid);
  color: var(--action-on-solid);
}

.help-hero :is(h1, .eyebrow) {
  color: var(--action-on-solid);
}

.thread-row b {
  background: var(--notification-solid);
  color: var(--notification-on-solid);
}

.segmented:not([data-vinde-liquid]) > button.is-active {
  background: var(--selected-bg);
  color: var(--selected-ink);
}

html[data-vinde-theme="dark"] .help-steps section {
  background: transparent;
}

html[data-vinde-theme="dark"] .help-steps section > span {
  background: #1570ef;
  color: #fff;
}

/* Messages keep their filter rail mounted while only the active conversation
 * changes. Bubbles follow the app's directional, content-width rhythm. */
.message-stream {
  gap: 8px;
  background: var(--surface-alt);
}

.message-bubble {
  width: fit-content;
  max-width: min(72%, 560px);
  margin-right: auto;
  padding: 11px 14px 8px;
  border: 0;
  border-radius: 20px 20px 20px 7px;
  background: var(--surface);
  box-shadow: 0 5px 16px color-mix(in srgb, var(--shadow-color, #101828) 8%, transparent);
}

.message-bubble.is-mine {
  margin-right: 0;
  margin-left: auto;
  border: 0;
  border-radius: 20px 20px 7px 20px;
  background: var(--selected-bg);
}

.message-bubble:not(.is-group-start) {
  margin-top: -5px;
}

.message-bubble.is-incoming:not(.is-group-start) {
  border-top-left-radius: 10px;
}

.message-bubble.is-mine:not(.is-group-start) {
  border-top-right-radius: 10px;
}

.message-bubble.is-incoming:not(.is-group-end) {
  border-bottom-left-radius: 10px;
}

.message-bubble.is-mine:not(.is-group-end) {
  border-bottom-right-radius: 10px;
}

.conversation.is-thread-entering {
  animation: vinde-thread-content-enter 150ms var(--motion-enter) both;
}

@keyframes vinde-thread-content-enter {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Account child pages share one calm rounded surface. Headers and empty states
 * stay flat inside it instead of forming nested rectangular cards. */
.account-child-page {
  margin-block: 34px 80px;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.account-child-page__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 26px 34px 13px;
}

.account-child-page__title {
  min-width: 0;
}

.account-child-page__title :is(.eyebrow, h1) {
  margin: 0;
}

.account-child-page__title h1 {
  font-size: clamp(28px, 3vw, 38px);
}

.account-child-page__body {
  min-width: 0;
  padding: 13px 34px 34px;
}

.notification-preferences {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 20px;
  align-items: center;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--line);
}

.notification-preferences > div,
.notification-preferences__toggle {
  min-width: 0;
}

.notification-preferences strong,
.notification-preferences small {
  display: block;
}

.notification-preferences small {
  margin-top: 4px;
  color: var(--muted);
}

.notification-preferences__toggle {
  grid-column: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  color: var(--text);
}

.notification-preferences__toggle input {
  inline-size: 20px;
  block-size: 20px;
  accent-color: var(--text);
}

.notification-preferences .secondary-button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 44px;
}

.account-child-page .settings-return-control {
  align-self: start;
  margin: 0;
}

.account-child-page :is(.notification-list, .blocked-list) {
  width: auto;
  margin: 0;
  padding-block: 13px 0;
}

.account-child-page :is(.notification-row, .blocked-list article) {
  min-height: 72px;
  border: 0;
  border-radius: 18px;
  background: var(--surface-alt);
  box-shadow: none;
}

.account-child-page .notification-row.is-unread {
  background: var(--surface-high);
  box-shadow: inset 3px 0 0 var(--notification-solid);
}

.account-child-page :is(.notification-list--empty, .blocked-list--empty) {
  padding-block: 0;
}

.account-child-page .empty-state--flat {
  min-height: 280px;
  padding: 34px 21px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.account-child-page--help {
  width: min(1180px, calc(100% - 40px));
}

.account-child-page__header--help {
  grid-template-columns: auto minmax(220px, 1fr) minmax(320px, 680px);
  padding-bottom: 21px;
}

.account-child-page__header--help .help-search {
  width: 100%;
  margin: 0;
  border-color: var(--line);
  border-radius: 17px;
  background: var(--surface-high);
  color: var(--ink);
}

.account-child-page .help-layout {
  padding-block: 13px 34px;
}

.account-child-page .help-content {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.account-child-page .help-steps {
  border-block: 0;
}

.account-child-page .help-steps section {
  border-bottom-color: var(--line);
  background: transparent;
}

html[data-vinde-theme="dark"] .account-child-page {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

@media (max-width: 760px) {
  .filter-sidebar {
    box-shadow: none;
  }

  .filter-sheet__body {
    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__media {
    border-radius: 16px;
  }

  .listing-card--list .listing-card__body {
    padding: 5px 0;
  }

  .detail-main > .detail-section {
    margin: 12px 14px 0;
    padding: 18px;
    border-radius: 20px;
  }

  .detail-main > .detail-section.safety-note {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .detail-main > .detail-section.safety-note > .text-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .account-head {
    padding: 14px 14px 0;
  }

  .account-greeting-bar {
    width: 100%;
    padding: 18px;
    border-radius: 20px;
  }

  .account-layout {
    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 {
    width: 100%;
    justify-content: center;
  }

  .account-content {
    margin-top: 18px;
  }

  .account-mobile-back {
    margin-bottom: 12px;
  }

  .notification-list,
  .blocked-list {
    width: calc(100% - 28px);
  }

  .notification-list--empty,
  .blocked-list--empty {
    padding-top: 8px;
  }

  .empty-state--flat {
    min-height: 260px;
  }

  .help-content {
    padding: 20px;
    border-radius: 20px;
  }

  .account-child-page {
    width: calc(100% - 28px);
    margin-block: 18px 56px;
    border-radius: 22px;
  }

  .account-child-page__header,
  .account-child-page__header--help {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 18px 18px 10px;
  }

  .account-child-page__header > .text-button,
  .account-child-page__header--help .help-search {
    grid-column: 1 / -1;
  }

  .account-child-page__body,
  .account-child-page .help-layout {
    padding: 10px 14px 20px;
  }

  .notification-preferences {
    grid-template-columns: 1fr;
  }

  .notification-preferences .secondary-button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .account-child-page .help-nav {
    margin-bottom: 21px;
  }

  .account-child-page .help-content {
    padding: 0;
    border-radius: 0;
  }

  .message-bubble {
    max-width: min(86%, 520px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .conversation.is-thread-entering {
    animation-duration: 1ms;
    animation-timing-function: linear;
  }

  @keyframes vinde-thread-content-enter {
    from { opacity: 0; transform: none; }
    to { opacity: 1; transform: none; }
  }
}

/* 0.5.60 account workspace: one stable shell for every account section. */
.account-mobile-menu-trigger,
.account-mobile-nav,
.account-mobile-context-header {
  display: none;
}

.account-content > :is(.account-child-page, .owner-workspace, .admin-header, .admin-page) {
  width: 100%;
  max-width: none;
  margin: 0;
}

.account-content > .owner-workspace {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.account-content > .owner-workspace > .shell-wide,
.account-content > .account-admin-page {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.account-content > .account-admin-header {
  padding: 0 0 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.account-content > .account-admin-header :is(h1, p, .eyebrow) {
  color: inherit;
}

.account-content > .account-child-page {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.account-readonly-field {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-high);
}

.account-readonly-field > span,
.account-readonly-field > small {
  color: var(--muted);
}

.account-readonly-field > strong {
  overflow-wrap: anywhere;
}

.account-security-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.account-security-row,
.account-danger-zone {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.account-security-row > span:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-high);
}

.account-security-row > div,
.account-danger-zone > div {
  display: grid;
  gap: 3px;
}

.account-security-row small,
.account-danger-zone small {
  color: var(--muted);
}

[data-account-verification] > p {
  margin: -2px 0 16px;
  color: var(--muted);
  line-height: 1.5;
}

.account-verification-actions {
  min-width: 0;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px !important;
}

.account-verification-actions > :is(button, .status-chip) {
  flex: 0 0 auto;
}

[data-account-verification] .account-security-card > :is(.phone-otp__panel, .phone-otp__success, .phone-otp__error) {
  margin: 14px 18px;
}

[data-account-verification] .phone-otp__panel > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.account-danger-zone {
  grid-template-columns: minmax(0, 1fr) auto;
  border-bottom: 0;
}

.account-section-state {
  min-height: 320px;
}

.account-child-page__header--help {
  grid-template-columns: minmax(210px, .8fr) minmax(320px, 1.4fr);
}

.account-child-page--embedded {
  width: 100%;
}

.help-search {
  position: relative;
}

.help-search__clear {
  min-height: 34px;
  padding-inline: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
}

.help-search__clear:hover {
  background: var(--selected-bg);
  color: var(--ink);
}

.help-article-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.help-article-card {
  appearance: none;
  width: 100%;
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  box-shadow: none;
  transition: border-color 150ms ease-out, background-color 150ms ease-out, transform 120ms ease-out;
}

.help-article-card:hover {
  border-color: var(--line-strong);
  background: var(--surface-high);
  transform: translateY(-1px);
}

.help-article-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.help-article-card > span {
  display: grid;
  gap: 5px;
}

.help-article-card small,
.help-article-card p,
.help-topic > p,
.help-results > p,
.help-article__summary {
  margin: 0;
  color: var(--muted);
}

.help-article-card p {
  line-height: 1.45;
}

.help-article {
  display: grid;
  gap: 16px;
}

.help-article__back {
  width: fit-content;
  margin-bottom: 4px;
}

.help-article__section {
  min-width: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.help-article__section > h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.25;
}

.help-article__items {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.help-article__items > li {
  padding-left: 4px;
}

.help-article__items--steps > li::marker {
  color: var(--ink);
  font-weight: 800;
}

.help-article__note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-high);
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.help-troubleshooting {
  display: grid;
  gap: 10px;
  margin: 0;
}

.help-troubleshooting > div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-high);
}

.help-troubleshooting :is(dt, dd) {
  margin: 0;
}

.help-troubleshooting dt {
  color: var(--ink);
  font-weight: 800;
}

.help-troubleshooting dd {
  color: var(--muted);
  line-height: 1.5;
}

.help-related {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.help-related > h3 {
  margin: 0;
  font-size: 18px;
}

.help-related > div {
  display: grid;
  gap: 8px;
}

.help-related button {
  appearance: none;
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  text-align: left;
}

.help-related button:hover {
  border-color: var(--line-strong);
  background: var(--surface-high);
}

.help-related button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.help-article > .support-row {
  margin-top: 4px;
}

.help-support-context,
.help-no-results {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-high);
}

.help-support-context p,
.help-no-results p {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}

.help-support-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-top: 4px;
}

.help-support-action > small {
  flex: 1 1 240px;
  color: var(--muted);
}

.help-results .support-row,
.help-topic .support-row {
  margin-top: 22px;
}

@media (max-width: 900px) {
  .account-child-page__header--help {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-child-page__header--help .help-search {
    grid-column: 1;
  }

  .account-child-page .help-layout {
    display: block;
  }

  .account-child-page .help-nav {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .account-child-page .help-nav::-webkit-scrollbar {
    display: none;
  }

  .account-child-page .help-nav > strong {
    display: none;
  }

  .account-child-page .help-nav > button {
    min-width: max-content;
  }

  .account-child-page .help-content {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .account-layout {
    width: calc(100% - 28px);
    grid-template-columns: minmax(0, 1fr);
  }

  .account-nav {
    display: none !important;
  }

  .account-head--child {
    display: none;
  }

  .account-mobile-menu-trigger {
    position: sticky;
    z-index: 18;
    top: calc(var(--header-height) + 8px);
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    color: var(--ink);
    font: inherit;
    text-align: left;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
  }

  .account-mobile-menu-trigger > span {
    display: grid;
    gap: 1px;
  }

  .account-mobile-menu-trigger small {
    color: var(--muted);
  }

  .account-mobile-menu-trigger[aria-expanded="true"] > .icon {
    transform: rotate(180deg);
  }

  .account-mobile-nav,
  .account-mobile-nav[hidden] {
    display: none !important;
  }

  .account-mobile-nav.is-open:not([hidden]) {
    display: grid !important;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
  }

  .account-mobile-nav > button {
    appearance: none;
    min-height: 52px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font: inherit;
    text-align: left;
  }

  .account-mobile-nav > button:last-child {
    border-bottom: 0;
  }

  .account-mobile-nav > button.is-active {
    background: var(--selected-bg);
  }

  .account-content {
    margin-top: 14px;
  }

  .account-mobile-context-header {
    min-height: 44px;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
  }

  .account-mobile-context-header .account-mobile-back {
    width: auto;
    height: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0 10px 0 6px;
    border-radius: 12px;
    color: var(--ink);
    font-weight: 760;
    text-decoration: none;
  }

  .account-mobile-context-header .account-mobile-back > .icon {
    width: 20px;
    height: 20px;
  }

  .account-layout--child .account-mobile-menu-trigger,
  .account-layout--child .account-mobile-nav {
    display: none !important;
  }

  .account-content > .account-child-page {
    width: 100%;
    margin: 0;
  }

  .account-content .owner-workspace__header {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .account-content .owner-workspace__header > .primary-button {
    width: 100%;
  }

  .account-content .owner-workspace__header--stats > div {
    grid-column: 1;
    grid-row: 1;
  }

  .account-child-page__header--help {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-child-page__header--help .help-search {
    grid-column: 1;
  }

  .account-child-page__header--help .help-search .primary-button::before {
    content: "\2192";
    font-size: 20px;
    line-height: 1;
  }

  .account-child-page .help-layout {
    padding-inline: 14px;
  }

  .account-child-page :is(.notification-list, .blocked-list) {
    width: 100%;
  }

  .account-security-row,
  .account-danger-zone {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .account-security-row > :is(button, .status-chip),
  .account-danger-zone > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .account-security-row > .account-verification-actions {
    grid-column: 1 / -1;
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .account-verification-actions > :is(button, .status-chip) {
    width: 100%;
    justify-content: center;
  }

  [data-account-verification] .account-security-card > :is(.phone-otp__panel, .phone-otp__success, .phone-otp__error) {
    margin-inline: 14px;
  }

  .help-article-card {
    min-height: 96px;
    padding: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-article-card,
  .account-mobile-menu-trigger > .icon {
    transition: none;
  }

  .help-article-card:hover {
    transform: none;
  }
}

@keyframes vinde-menu-enter {
  from { opacity: 0; transform: translateY(-7px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes vinde-menu-exit {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-4px) scale(0.992); }
}

@keyframes vinde-menu-enter-up {
  from { opacity: 0; transform: translateY(7px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes vinde-menu-exit-up {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(4px) scale(0.992); }
}

@keyframes vinde-sheet-enter {
  from { opacity: 0.86; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes vinde-sheet-exit {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(16px); }
}

@keyframes vinde-modal-enter {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 15px)) scale(0.975); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes vinde-mobile-modal-enter {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 18px)) scale(0.965);
  }
  72% {
    opacity: 1;
    transform: translate(-50%, calc(-50% - 1px)) scale(1.004);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes vinde-gallery-backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes vinde-gallery-shell-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes vinde-gallery-image-enter {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  :is(
    .custom-combobox.is-entering > .combo-popover,
    .custom-combobox.is-exiting > .combo-popover,
    .filter-sheet,
    .admin-filter-sheet,
    .vinde-liquid-indicator,
    .category-tile,
    .mobile-bottom-nav,
    [data-mobile-bottom-nav],
    .gallery-lightbox,
    .gallery-lightbox__stage img,
    .photo-add,
    .vinde-switch-knob
  ) {
    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;
  }

  .category-grid[data-vinde-depth-carousel] .category-tile,
  .mobile-bottom-nav,
  [data-mobile-bottom-nav] {
    transform: none !important;
  }

  .modal:not(.modal--gallery):not(.modal--owner-actions) {
    animation-name: vinde-modal-reduced-enter;
    transform: translate(-50%, -50%);
  }

  [data-vinde-liquid] > :is(button, a, label, [role="tab"]) {
    transition-duration: 1ms !important;
  }

  .listing-results-region {
    transform: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  [data-vinde-liquid] {
    background: var(--surface-alt);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .vinde-liquid-indicator {
    background: var(--surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  [data-vinde-liquid],
  .vinde-liquid-indicator {
    border-color: var(--ink);
  }
}

@media (forced-colors: active) {
  [data-vinde-liquid] { border: 1px solid ButtonText; }
  .vinde-liquid-indicator {
    border: 2px solid Highlight;
    background: Canvas;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  [data-vinde-liquid] > :is(button, a, label, [role="tab"]).is-active,
  [data-vinde-liquid] > :is(button, a, label, [role="tab"])[aria-selected="true"],
  [data-vinde-liquid] > :is(button, a, label, [role="tab"])[aria-pressed="true"] {
    color: HighlightText !important;
    forced-color-adjust: none;
    background: Highlight !important;
  }
}

@keyframes vinde-modal-reduced-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Account navigation keeps the single destructive action last and explicit. */
:is(.account-nav, .account-mobile-nav) > .account-logout-action {
  color: var(--red);
}

:is(.account-nav, .account-mobile-nav) > .account-logout-action:hover {
  background: var(--red-soft);
}

/* Authoritative publication date stays paired with the server price. */
.detail-price-stack {
  flex: 0 0 auto;
  display: grid;
  gap: 5px;
  justify-items: end;
  text-align: right;
}

.detail-price-stack > strong {
  font-size: 30px;
}

.detail-publication-date {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .detail-price-stack {
    width: 100%;
    justify-items: start;
    text-align: left;
  }
}

/* Admin mutations are committed only after a completed, deliberate hold. */
.vinde-hold-confirm {
  --vinde-hold-progress: 0;
  position: relative;
  min-height: 48px;
  display: inline-grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 10px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.vinde-hold-confirm__ring {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  border-radius: 999px;
  background: conic-gradient(
    from -90deg,
    currentColor calc(var(--vinde-hold-progress) * 1turn),
    color-mix(in srgb, currentColor 18%, transparent) 0
  );
  transition: opacity 120ms ease-out;
}

.vinde-hold-confirm__ring > span {
  width: 20px;
  height: 20px;
  display: block;
  border-radius: inherit;
  background: currentColor;
  opacity: 0.12;
}

.vinde-hold-confirm__label {
  min-width: 0;
  text-align: center;
}

.vinde-hold-confirm.is-holding {
  transform: scale(0.985);
}

.vinde-hold-confirm.is-complete .vinde-hold-confirm__ring {
  opacity: 0.72;
}

@media (max-width: 430px) {
  /* Mobile-only geometry: every visible icon control has a complete 48px hitbox. */
  :is(
    .site-header__mobile,
    .mobile-header-actions,
    .conversation__actions,
    .filter-sheet,
    .modal,
    .combo-popover,
    .install-banner--mobile,
    .photo-preview__actions,
    .admin-actions-detail__header,
    .admin-notification-user-selected
  ) .icon-button,
  .owner-overflow-button,
  .pagination .icon-button,
  .favorite-button,
  .detail-mobile-back,
  .gallery-nav,
  .gallery-glass,
  .conversation-back,
  .composer .icon-button,
  .admin-filter-sheet header .icon-button {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    flex-basis: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    line-height: 0;
  }

  :is(
    .site-header__mobile,
    .mobile-header-actions,
    .conversation__actions,
    .filter-sheet,
    .modal,
    .combo-popover,
    .install-banner--mobile,
    .photo-preview__actions,
    .admin-actions-detail__header,
    .admin-notification-user-selected
  ) .icon-button > :is(.icon, svg),
  .owner-overflow-button > :is(.icon, svg),
  .pagination .icon-button > :is(.icon, svg),
  .favorite-button > :is(.icon, svg),
  .detail-mobile-back > :is(.icon, svg),
  .gallery-nav > :is(.icon, svg),
  .gallery-glass > :is(.icon, svg),
  .conversation-back > :is(.icon, svg),
  .composer .icon-button > :is(.icon, svg),
  .admin-filter-sheet header .icon-button > :is(.icon, svg) {
    width: 20px;
    height: 20px;
    display: block;
    margin: 0;
    transform: none;
  }

  .listings-search-row .page-search .primary-button {
    position: relative;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    margin-right: 1px;
    line-height: 0;
  }

  .listings-search-row .page-search .primary-button > .icon {
    width: 20px;
    height: 20px;
    display: block;
    margin: 0;
  }

  .page-search__submit-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .results-actions .custom-combobox--compact > .combo-trigger,
  .listings-search-row .mobile-filter-trigger {
    min-height: 48px;
  }

  .results-actions .view-toggle {
    width: 104px;
    min-width: 104px;
    height: 52px;
    grid-template-columns: repeat(2, 48px);
    gap: 0;
    padding: 2px 4px;
  }

  .results-actions .view-toggle::before {
    width: 48px;
    height: 44px;
  }

  .results-actions .view-toggle[data-active-view="list"]::before {
    transform: translateX(48px);
  }

  .results-actions .view-toggle > button {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    line-height: 0;
  }

  .results-actions .view-toggle .view-mode-icon {
    width: 21px;
    height: 21px;
    display: block;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vinde-hold-confirm,
  .vinde-hold-confirm__ring {
    transition-duration: 1ms;
  }
}

/* Admin-only AI activity: compact summary plus a dedicated, readable screen. */
[data-vinde-private-runtime] .admin-ai-card {
  align-items: center;
  background: color-mix(in srgb, var(--surface-alt) 88%, var(--surface));
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px;
}

[data-vinde-private-runtime] .admin-ai-card > div {
  display: grid;
  gap: 6px;
}

[data-vinde-private-runtime] .admin-ai-card :is(h3, p),
[data-vinde-private-runtime] .admin-ai-header :is(h2, p),
[data-vinde-private-runtime] .admin-ai-quota :is(h3, p),
[data-vinde-private-runtime] .admin-ai-recent :is(h3, p) {
  margin: 0;
}

[data-vinde-private-runtime] .admin-ai-card p,
[data-vinde-private-runtime] .admin-ai-header p,
[data-vinde-private-runtime] .admin-ai-quota p,
[data-vinde-private-runtime] .admin-ai-recent p,
[data-vinde-private-runtime] .admin-ai-recent small {
  color: var(--muted);
}

[data-vinde-private-runtime] .admin-ai-card .status-chip {
  justify-self: start;
}

[data-vinde-private-runtime] .admin-ai-panel {
  display: grid;
  gap: 22px;
}

[data-vinde-private-runtime] .admin-ai-header {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

[data-vinde-private-runtime] .admin-ai-header > div {
  display: grid;
  gap: 6px;
}

[data-vinde-private-runtime] .admin-ai-back {
  white-space: nowrap;
}

[data-vinde-private-runtime] .admin-ai-periods {
  justify-self: start;
}

[data-vinde-private-runtime] .admin-ai-metrics {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

[data-vinde-private-runtime] .admin-ai-metrics article {
  background: var(--surface);
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 18px;
}

[data-vinde-private-runtime] .admin-ai-metrics small,
[data-vinde-private-runtime] .admin-ai-metrics span {
  color: var(--muted);
}

[data-vinde-private-runtime] .admin-ai-metrics strong {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.1;
}

[data-vinde-private-runtime] .admin-ai-quota {
  align-items: center;
  background: color-mix(in srgb, var(--surface-alt) 88%, var(--surface));
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 17px 18px;
}

[data-vinde-private-runtime] .admin-ai-quota > div {
  display: grid;
  gap: 5px;
}

[data-vinde-private-runtime] .admin-ai-quota > strong {
  font-size: 1.25rem;
}

[data-vinde-private-runtime] .admin-ai-recent {
  display: grid;
  gap: 12px;
}

[data-vinde-private-runtime] .admin-ai-recent-list {
  border-block: 1px solid var(--line);
  display: grid;
}

[data-vinde-private-runtime] .admin-ai-recent-list article {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 14px 2px;
}

[data-vinde-private-runtime] .admin-ai-recent-list article + article {
  border-top: 1px solid var(--line);
}

[data-vinde-private-runtime] .admin-ai-recent-list article > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

[data-vinde-private-runtime] :is(.admin-ai-card, .admin-ai-panel) :is(button, a) {
  min-height: 44px;
}

[data-vinde-private-runtime] :is(.admin-ai-card, .admin-ai-panel) :is(button, a):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  [data-vinde-private-runtime] .admin-ai-card,
  [data-vinde-private-runtime] .admin-ai-quota {
    align-items: stretch;
    flex-direction: column;
  }

  [data-vinde-private-runtime] .admin-ai-card .secondary-button {
    width: 100%;
  }

  [data-vinde-private-runtime] .admin-ai-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  [data-vinde-private-runtime] .admin-ai-header .admin-ai-back {
    grid-column: 1 / -1;
    justify-self: start;
  }

  [data-vinde-private-runtime] .admin-ai-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-vinde-private-runtime] .admin-ai-periods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 360px) {
  [data-vinde-private-runtime] .admin-ai-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-vinde-private-runtime] .admin-ai-recent-list article {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 0.5.62.0: authoritative stores, lightweight information pages and Admin clarity. */
.auth-mobile-nav {
  display: none;
}

.footer-stores {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-store-link {
  min-width: 132px;
  min-height: 48px;
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-alt);
  color: var(--ink);
  text-decoration: none;
}

.footer-store-link small {
  color: var(--muted);
  font-size: 10px;
}

.footer-store-link strong {
  font-size: 13px;
}

.public-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  align-items: start;
  gap: 28px;
  padding-block: 34px 64px;
}

.public-info-layout .wordpress-document {
  min-width: 0;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.public-info-support {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-alt);
}

.public-info-support p {
  margin: 0;
  color: var(--muted);
}

.admin-actions-detail-tabs {
  width: 100%;
  margin: 14px 0 18px;
}

.admin-actions-detail-tabs > button {
  min-height: 44px;
}

.admin-actions-detail-tabs > button span {
  min-width: 22px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--surface-high);
  font-size: 11px;
}

.admin-verification-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.admin-verification-group legend {
  padding-inline: 6px;
  font-weight: 750;
}

.admin-actions-listing-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.admin-actions-listing-card h4 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 16px;
}

.admin-actions-listing-card__actions,
.admin-actions-detail-primary-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-actions-listing-card__actions > :is(button, a),
.admin-actions-detail-primary-actions > :is(button, a) {
  min-height: 44px;
}

.admin-resolve-explanation {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-alt);
}

.admin-resolve-explanation h3,
.admin-resolve-explanation p {
  margin: 0;
}

.admin-resolve-severity--critical,
.admin-resolve-severity--high {
  color: var(--red);
  background: var(--red-soft);
}

.admin-resolve-severity--normal {
  color: var(--warning-ink, #7a4b00);
  background: var(--warning-soft, #fff3c4);
}

/* The desktop account rail collapses at 900px. Keep the overview destinations
 * directly available through that same breakpoint so tablets never land in a
 * navigation gap. Child routes use their dedicated back header instead. */
@media (min-width: 761px) and (max-width: 900px) {
  .account-mobile-nav--overview,
  .account-mobile-nav--overview[hidden] {
    display: grid !important;
    margin: 18px 0 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 760px) {
  .auth-mobile-nav {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: calc(env(safe-area-inset-top, 0px) + 2px) 0 18px;
  }

  .auth-mobile-nav > a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-alt);
    color: var(--ink);
    font-weight: 720;
    text-decoration: none;
  }

  .auth-mobile-nav > a .icon {
    width: 19px;
    height: 19px;
  }

  .home-hero {
    min-height: min(382px, 105vw);
  }

  .home-hero__content {
    padding: 26px 16px 20px;
  }

  .home-hero h1 {
    font-size: clamp(28px, 8.7vw, 36px);
  }

  .home-hero__content > p {
    margin-bottom: 14px;
  }

  .content-section {
    padding-block: 30px;
  }

  .category-grid[data-vinde-depth-carousel] {
    gap: 8px;
    padding-bottom: 18px;
  }

  .category-grid[data-vinde-depth-carousel] .category-tile {
    width: clamp(82px, 25vw, 106px);
    min-width: clamp(82px, 25vw, 106px);
    min-height: 124px;
    height: 124px;
    flex-basis: clamp(82px, 25vw, 106px);
    grid-template-rows: 65px minmax(0, 1fr);
    border-radius: 14px;
  }

  .category-grid[data-vinde-depth-carousel] .category-tile > .category-tile__photo {
    height: 65px;
  }

  .category-grid[data-vinde-depth-carousel] .category-tile > strong {
    max-width: calc(100% - 27px);
    padding: 8px 0 5px 7px;
    font-size: 9.5px;
    line-height: 1.15;
    -webkit-line-clamp: 3;
  }

  .category-grid[data-vinde-depth-carousel] .category-tile__icon {
    top: 53px;
    right: 5px;
    width: 27px;
    height: 27px;
  }

  .listings-search-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 8px;
  }

  .listings-search-row .page-search {
    min-width: 0;
  }

  .listings-search-row .mobile-filter-trigger {
    min-width: 72px;
    min-height: 48px;
    justify-content: center;
  }

  .results-toolbar {
    align-items: stretch;
  }

  .results-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .results-actions > .custom-combobox,
  .results-actions .combo-trigger {
    width: 100%;
    min-width: 0;
  }

  .results-actions .custom-combobox--compact > .combo-trigger {
    min-height: 44px;
  }

  .results-actions .view-toggle {
    flex: 0 0 auto;
  }

  .account-mobile-nav--overview,
  .account-mobile-nav--overview[hidden] {
    display: grid !important;
    margin: 18px 0 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
  }

  .account-mobile-nav--overview > button {
    min-height: 56px;
  }

  .account-mobile-nav--overview > .account-logout-action {
    color: var(--red);
    background: color-mix(in srgb, var(--red-soft) 56%, transparent);
  }

  .account-mobile-context-header {
    position: static;
    width: max-content;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .account-mobile-context-header .account-mobile-back {
    border: 1px solid var(--line);
    background: var(--surface-alt);
    box-shadow: var(--shadow-soft);
  }

  .account-mobile-context-header .account-mobile-back:focus-visible {
    outline: 3px solid var(--focus-ring, #7c83ff);
    outline-offset: 2px;
  }

  .admin-actions-detail-tabs {
    position: sticky;
    z-index: 8;
    top: calc(var(--header-height) + 52px + env(safe-area-inset-top, 0px));
    background: var(--canvas);
  }

  [data-vinde-private-runtime] .account-content > .account-admin-header {
    min-width: 0;
    max-width: 100%;
    overflow: clip;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
  }

  [data-vinde-private-runtime] .account-admin-header .admin-title {
    display: grid;
    gap: 6px;
  }

  [data-vinde-private-runtime] .account-admin-header .admin-title h1 {
    margin: 0;
    font-size: clamp(24px, 7.4vw, 30px);
    line-height: 1.08;
  }

  [data-vinde-private-runtime] .account-admin-header .admin-title p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
  }

  [data-vinde-private-runtime] .account-admin-header .admin-tabs {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 8px;
    margin: 14px 0 0;
    padding: 2px 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  [data-vinde-private-runtime] .account-admin-header .admin-tabs::-webkit-scrollbar {
    display: none;
  }

  [data-vinde-private-runtime] .account-admin-header .admin-tabs button {
    width: auto;
    min-width: max-content;
    min-height: 44px;
    flex: 0 0 auto;
    justify-content: center;
    padding: 9px 13px;
    border-color: var(--line);
    background: var(--surface-alt);
    color: var(--muted);
    box-shadow: none;
    scroll-snap-align: start;
  }

  [data-vinde-private-runtime] .account-admin-header .admin-tabs button.is-active {
    border-color: color-mix(in srgb, var(--selected-ink) 34%, var(--line));
    background: var(--selected-bg);
    color: var(--selected-ink);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--selected-ink) 16%, transparent);
  }

  [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;
  }

  [data-vinde-private-runtime] .admin-actions-form select {
    min-height: 48px;
    appearance: none;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-alt);
    color: var(--ink);
    padding: 0 38px 0 12px;
  }

  .admin-actions-listing-card__actions,
  .admin-actions-detail-primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-actions-listing-card__actions > :is(button, a),
  .admin-actions-detail-primary-actions > :is(button, a) {
    width: 100%;
    justify-content: center;
  }

  .admin-resolve-explanation {
    padding: 14px;
  }

  .public-info-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-block: 18px calc(var(--canonical-mobile-nav-clearance, 92px) + 18px);
  }

  .public-info-layout .wordpress-document,
  .public-info-support {
    padding: 18px;
    border-radius: 18px;
  }

  .public-info-support {
    position: static;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-stores {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-store-link {
    min-width: 0;
  }

  body.has-canonical-mobile-nav #page-content {
    scroll-padding-bottom: var(--canonical-mobile-nav-clearance, 92px);
  }

  body.has-canonical-mobile-nav :is(.detail-contact-bar, .publish-actions, .account-content) {
    margin-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }
}

@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;
  }

  .admin-actions-listing-card__actions,
  .admin-actions-detail-primary-actions,
  .footer-stores {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Authoritative publication date stays paired with the server price. */
.detail-price-stack {
  flex: 0 0 auto;
  display: grid;
  gap: 5px;
  justify-items: end;
  text-align: right;
}

.detail-price-stack > strong {
  font-size: 30px;
}

.detail-publication-date {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .detail-price-stack {
    width: 100%;
    justify-items: start;
    text-align: left;
  }
}
