:root {
  --bg: #f1faf5;
  --panel: rgba(255, 255, 255, 0.7);
  --panel-2: rgba(255, 255, 255, 0.48);
  --ink: #1b1f27;
  --muted: #607067;
  --line: rgba(255, 255, 255, 0.34);
  --line-strong: rgba(24, 77, 63, 0.18);
  --brand: #137a63;
  --brand-dark: #075642;
  --accent: #9bd9be;
  --warning: #b45309;
  --danger: #b42318;
  --surface-border: rgba(255, 255, 255, 0.66);
  --shadow: 0 18px 44px rgba(12, 54, 42, 0.14);
  --surface-shadow: 0 20px 52px rgba(12, 54, 42, 0.13), 0 2px 8px rgba(12, 54, 42, 0.05);
  --control-shadow: 0 7px 18px rgba(12, 54, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  --page-bg:
    radial-gradient(circle at 82% 4%, rgba(155, 217, 190, 0.62), transparent 30%),
    radial-gradient(circle at 5% 22%, rgba(255, 255, 255, 0.86), transparent 28%),
    repeating-linear-gradient(90deg, rgba(19, 122, 99, 0.055) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(19, 122, 99, 0.035) 0 1px, transparent 1px 96px),
    linear-gradient(135deg, #fbfffd 0%, #e4f6ed 48%, #cdeada 100%);
  color-scheme: light;
}

.verification-code-card {
  margin-inline: auto;
  max-width: 520px;
  width: 100%;
}

.verification-code-field input {
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  min-height: 50px;
  text-align: center;
}

.contact-verification-panel {
  align-items: end;
  backdrop-filter: blur(18px);
  background: var(--panel);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  box-shadow: var(--surface-shadow);
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 15px;
}

.contact-verification-panel h2,
.contact-verification-panel p {
  margin: 0;
}

.contact-verification-panel form {
  display: grid;
  gap: 9px;
}

.contact-verification-panel form > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider-editor {
  margin-top: 20px;
  min-width: 0;
}

.provider-managed-ad .provider-managed-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 7px;
}

.provider-managed-actions .secondary-button {
  min-height: 38px;
  padding: 7px 11px;
}

@media (min-width: 760px) {
  .contact-verification-panel {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  }
}

@media (max-width: 560px) {
  .admin-list {
    max-height: 270px;
  }

  .provider-managed-ad {
    align-items: stretch;
    flex-direction: column;
  }

  .provider-managed-ad .provider-managed-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .provider-managed-actions .secondary-button,
  .provider-managed-actions button {
    justify-content: center;
    width: 100%;
  }
}

body[data-theme="dark"] {
  --bg: #11151b;
  --panel: #191f28;
  --panel-2: #222936;
  --ink: #f4f6f8;
  --muted: #aab3bf;
  --line: #303847;
  --line-strong: #465064;
  --brand: #69d3b0;
  --brand-dark: #8ff0cc;
  --accent: #39b8aa;
  --surface-border: rgba(198, 225, 215, 0.14);
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
  --surface-shadow: 0 20px 52px rgba(0, 0, 0, 0.32), 0 2px 8px rgba(0, 0, 0, 0.2);
  --control-shadow: 0 7px 18px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --page-bg:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 92px),
    linear-gradient(132deg, #10151a 0%, #11241f 40%, #0b5645 68%, #111820 100%);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  background: var(--page-bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
  padding-bottom: 70px;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.site-shell {
  min-height: 100dvh;
}

.utility-strip {
  background: #252a33;
  color: #d9e0e8;
  display: none;
  font-size: 0.82rem;
  justify-content: flex-end;
  gap: 18px;
  padding: 7px 24px;
}

.utility-strip a:last-child {
  color: #ffd8e2;
  font-weight: 700;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(251, 255, 253, 0.66);
  border-bottom: 1px solid rgba(10, 76, 59, 0.1);
  box-shadow: 0 8px 26px rgba(12, 54, 42, 0.06);
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 10px 14px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.menu-button {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 251, 247, 0.82)),
    rgba(255, 255, 255, 0.7);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  box-shadow: var(--control-shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

.menu-button span {
  background: var(--ink);
  border-radius: 99px;
  display: block;
  height: 2px;
  transition: width 160ms ease, transform 160ms ease;
  width: 17px;
}

.menu-button span:nth-child(1) {
  width: 14px;
}

.menu-button span:nth-child(2) {
  width: 20px;
}

.menu-button span:nth-child(3) {
  width: 11px;
}

.menu-button:hover span:nth-child(1),
.menu-button:hover span:nth-child(3) {
  width: 20px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 700;
  gap: 8px;
  justify-self: start;
}

.brand-mark {
  align-items: center;
  background: var(--brand);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.header-search {
  display: none;
}

.header-nav {
  align-items: center;
  display: none;
  gap: 6px;
}

.header-tools {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.tool-button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 800;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  white-space: nowrap;
}

.tool-button {
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 251, 247, 0.78));
  border: 1px solid var(--surface-border);
  box-shadow: var(--control-shadow);
  color: var(--ink);
}

.theme-toggle {
  font-size: 1rem;
  min-width: 34px;
  padding: 0;
}

.header-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 10px;
  white-space: nowrap;
}

.header-nav .post-link {
  background: var(--brand);
  color: white;
}

.header-nav .header-signout {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 38px;
  padding: 9px 10px;
  white-space: nowrap;
}

#app {
  margin: 0 auto;
  max-width: 1180px;
  outline: none;
  padding: 16px 12px 36px;
}

.classifieds-hero,
.hero {
  backdrop-filter: blur(18px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76) 0%, rgba(226, 246, 237, 0.54) 100%);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  box-shadow: var(--surface-shadow);
  display: grid;
  gap: 18px;
  padding: 18px;
}

.classifieds-hero {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.72), rgba(229, 247, 239, 0.5));
  gap: 12px;
  margin-top: 32px;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

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

.classifieds-hero h1,
.hero h1,
.page-head h1,
.results-head h1 {
  font-size: clamp(1.7rem, 8vw, 3.4rem);
  line-height: 1.04;
  margin: 0 0 10px;
}

.classifieds-hero p,
.hero p,
.page-head p,
.results-head p {
  color: var(--muted);
  margin-bottom: 0;
}

.home-swipe-showcase {
  display: block;
  margin-bottom: 6px;
  overflow: visible;
  padding: 0;
}

.swipe-stage {
  display: grid;
  gap: 12px;
  touch-action: pan-y;
}

.swipe-card-stack {
  min-height: max(580px, calc((100vw - 48px) * 1.25 + 238px));
  position: relative;
}

.swipe-profile-card {
  backdrop-filter: blur(18px);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.82), rgba(240, 250, 245, 0.62));
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  box-shadow: 0 26px 58px rgba(10, 47, 37, 0.2), 0 3px 10px rgba(10, 47, 37, 0.08);
  display: grid;
  gap: 12px;
  left: 0;
  overflow: hidden;
  padding: 12px;
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.swipe-profile-card.level-0 {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.88), rgba(240, 250, 245, 0.68));
  z-index: 3;
}

.swipe-profile-card.level-1 {
  opacity: 0.72;
  transform: translateY(18px) scale(0.965);
  z-index: 2;
}

.swipe-profile-card.level-2 {
  opacity: 0.42;
  transform: translateY(34px) scale(0.93);
  z-index: 1;
}

.swipe-profile-card .listing-image {
  aspect-ratio: 4 / 5;
  border-radius: 13px;
  min-height: 330px;
}

.swipe-card-body {
  display: grid;
  gap: 10px;
  padding: 0 3px 3px;
}

.swipe-title-row {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}

.swipe-title-row h2 {
  font-size: 1.32rem;
  line-height: 1.05;
  margin: 0 0 4px;
}

.swipe-title-row p {
  color: var(--muted);
  font-weight: 700;
  margin: 0;
}

.swipe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.swipe-tags span {
  background: rgba(238, 248, 243, 0.92);
  border: 1px solid rgba(19, 122, 99, 0.12);
  border-radius: 8px;
  color: #334155;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 8px;
}

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

.swipe-actions button {
  box-shadow: var(--control-shadow);
  border-radius: 10px;
  font-weight: 800;
  min-height: 44px;
}

.swipe-pass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 243, 0.94));
  border: 1px solid rgba(12, 65, 50, 0.16);
  color: var(--muted);
}

.swipe-save {
  background: linear-gradient(180deg, rgba(236, 250, 244, 0.98), rgba(219, 243, 232, 0.92));
  border: 1px solid rgba(19, 122, 99, 0.28);
  color: var(--brand);
}

.swipe-like {
  background: linear-gradient(145deg, #17866c, #07513f);
  border: 1px solid rgba(3, 67, 52, 0.92);
  color: white;
}

.hero-search,
.results-search {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(10, 76, 59, 0.12);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.classifieds-hero .hero-search {
  border-color: rgba(10, 76, 59, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 8px 22px rgba(12, 54, 42, 0.05);
}

.search-title {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.location-distance-field {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(112px, 0.72fr) minmax(0, 1.28fr);
}

.city-postcode-field {
  min-width: 0;
}

.distance-control {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(12, 65, 50, 0.14);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  display: flex;
  min-height: 42px;
  min-width: 0;
  padding: 5px 8px;
}

.distance-control label {
  display: grid;
  gap: 2px;
  min-width: 0;
  width: 100%;
}

.distance-control label .distance-label {
  align-items: center;
  display: flex;
  font-size: 0.58rem;
  gap: 4px;
  justify-content: space-between;
  line-height: 1;
  min-width: 0;
  white-space: nowrap;
}

.distance-copy-full {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.distance-copy-short {
  display: none;
}

.distance-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.distance-mode label {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 5px;
  min-height: 30px;
  padding: 0 9px;
}

.distance-mode input {
  accent-color: var(--brand);
  min-height: auto;
  width: auto;
}

.distance-control input[type="range"] {
  accent-color: var(--brand);
  display: block;
  max-width: 100%;
  min-height: 18px;
  padding: 0;
  width: 100%;
}

.distance-control strong {
  color: var(--brand);
  flex: 0 0 auto;
  font-size: 0.64rem;
}

.hero-search-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.hero-search label,
.field,
.results-toolbar label,
.settings-grid label {
  color: var(--muted);
  display: grid;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 5px;
}

.hero-search .distance-control label {
  gap: 2px;
  min-width: 0;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(12, 65, 50, 0.16);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 3px 10px rgba(12, 54, 42, 0.035);
  color: var(--ink);
  min-height: 42px;
  outline: 0;
  padding: 0 11px;
  width: 100%;
}

body[data-theme="dark"] input,
body[data-theme="dark"] select,
body[data-theme="dark"] textarea {
  background: #121820;
  color: var(--ink);
}

body[data-theme="dark"] .menu-button {
  background: var(--panel-2);
  box-shadow: none;
}

body[data-discreet="true"] .listing-image span {
  color: var(--muted);
}

body[data-discreet="true"] .badge-row span:first-child {
  color: var(--muted);
}

body[data-discreet="true"] .header-search {
  display: none !important;
}

textarea {
  min-height: 110px;
  padding: 10px 11px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(19, 122, 99, 0.12);
}

.hero-search button,
.primary-button,
.primary-link {
  align-items: center;
  background: linear-gradient(145deg, #18846a, #07513f);
  border: 1px solid rgba(5, 79, 61, 0.92);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(7, 93, 70, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: white;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
}

.hero-search .secondary-search-button {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 248, 244, 0.9));
  border-color: rgba(12, 65, 50, 0.16);
  box-shadow: var(--control-shadow);
  color: var(--ink);
}

.secondary-button {
  align-items: center;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 249, 244, 0.84));
  border: 1px solid rgba(12, 65, 50, 0.16);
  border-radius: 10px;
  box-shadow: var(--control-shadow);
  color: var(--ink);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-weight: 700;
  min-height: 40px;
  padding: 0 8px;
}

.danger {
  color: var(--danger);
}

.age-strip {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(22, 24, 30, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  bottom: max(10px, env(safe-area-inset-bottom));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  gap: 6px;
  grid-template-columns: auto 1fr auto;
  left: 10px;
  margin: 0 auto;
  max-width: 520px;
  padding: 7px 8px;
  position: fixed;
  right: 10px;
  z-index: 35;
}

.age-strip.verified {
  background: rgba(10, 65, 57, 0.9);
  border-color: rgba(167, 243, 208, 0.28);
  color: rgba(255, 255, 255, 0.88);
}

.age-strip strong {
  color: white;
  font-size: 0.78rem;
}

.age-strip span {
  font-size: 0.74rem;
  line-height: 1.15;
  min-width: 0;
}

.age-strip button {
  background: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  min-height: 30px;
  padding: 0 9px;
  white-space: nowrap;
}

.home-section,
.directory-board,
.latest-board,
.post-strip,
.cta-row,
.safety-teaser,
.page-head,
.results-head,
.empty-panel,
.detail-box,
.contact-panel,
.post-card,
.account-panel,
.filters,
.safety-reminder,
.nearby-panel,
.policy-page {
  backdrop-filter: blur(18px);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.72), rgba(239, 249, 244, 0.52));
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  box-shadow: var(--surface-shadow);
  margin-top: 20px;
  padding: 16px;
}

.directory-board,
.latest-board {
  box-shadow: var(--surface-shadow);
}

.directory-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: -2px 0 12px;
  padding-bottom: 10px;
}

.directory-head h2 {
  font-size: 1.15rem;
  margin: 0;
}

.directory-head a {
  color: var(--brand);
  font-weight: 800;
  white-space: nowrap;
}

.directory-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.directory-column {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.58), rgba(229, 246, 237, 0.44));
  border: 1px solid rgba(12, 65, 50, 0.11);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.directory-column h3 {
  background: rgba(19, 122, 99, 0.065);
  border-bottom: 1px solid rgba(12, 65, 50, 0.09);
  font-size: 0.95rem;
  margin: 0;
  padding: 10px 12px;
}

.directory-column ul {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.directory-column li + li {
  border-top: 1px solid rgba(12, 65, 50, 0.08);
}

.directory-column a {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 12px;
}

.directory-column a:hover {
  background: rgba(255, 255, 255, 0.54);
}

.directory-column small {
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 0.72rem;
}

.latest-listings {
  display: grid;
  gap: 8px;
}

.latest-listings .listing-card {
  box-shadow: 0 10px 24px rgba(12, 54, 42, 0.08);
}

.post-strip {
  align-items: center;
  background: linear-gradient(145deg, rgba(224, 246, 236, 0.94), rgba(255, 255, 255, 0.9));
  border-color: rgba(19, 122, 99, 0.18);
  display: grid;
  gap: 12px;
}

.post-strip-note {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.section-title {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-title h2,
.cta-row h2,
.safety-teaser h2,
.detail-box h2,
.contact-panel h2,
.post-card h2 {
  font-size: 1.12rem;
  line-height: 1.2;
  margin: 0;
}

.section-title a,
.safety-teaser a {
  color: var(--brand);
  font-weight: 700;
}

.category-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.category-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(233, 248, 240, 0.5));
  border: 1px solid rgba(12, 65, 50, 0.12);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 8px 18px rgba(12, 54, 42, 0.05);
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 12px;
}

.category-card strong {
  font-size: 1rem;
}

.category-card span,
.category-card em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
}

.split {
  display: grid;
  gap: 14px;
}

.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-cloud button,
.nearby-panel button,
.nearby-panel a,
.policy-grid a,
.report-grid button {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 248, 243, 0.82));
  border: 1px solid rgba(12, 65, 50, 0.13);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 600;
  min-height: 36px;
  padding: 0 11px;
}

.region-list {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.region-list a {
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(237, 248, 242, 0.8));
  border: 1px solid rgba(12, 65, 50, 0.13);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px;
}

.region-list small {
  color: var(--muted);
}

.cta-row {
  align-items: center;
  display: grid;
  gap: 12px;
}

.safety-teaser {
  border-left: 5px solid var(--accent);
}

.site-footer {
  background: #20242c;
  color: white;
  display: grid;
  gap: 16px;
  margin-top: 20px;
  padding: 22px 14px 90px;
}

.site-footer p {
  color: #cfd5dd;
  margin: 6px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.site-footer a {
  color: #f6d6df;
  font-size: 0.88rem;
}

.breadcrumbs {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 6px;
  margin: 4px 0 12px;
}

.breadcrumbs a:last-child {
  color: var(--ink);
  font-weight: 700;
}

.results-head {
  align-items: start;
  display: grid;
  gap: 12px;
}

.results-head strong {
  display: inline-block;
  margin-top: 8px;
}

.results-search {
  margin-top: 12px;
}

.results-layout {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.desktop-filters {
  display: none;
  margin: 0;
}

.filters-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.filters-head button {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.25rem;
  height: 38px;
  width: 38px;
}

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

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

.filter-form h3 {
  font-size: 0.9rem;
  margin: 0;
}

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

.check-row {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 0.88rem;
  gap: 8px;
}

.check-row input {
  accent-color: var(--brand);
  min-height: auto;
  width: auto;
}

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

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

.results-toolbar {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-bottom: 10px;
}

.view-toggle {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(12, 65, 50, 0.13);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 3px;
}

.view-toggle button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  min-height: 36px;
}

.view-toggle button.active {
  background: linear-gradient(145deg, #18846a, #07513f);
  box-shadow: 0 6px 14px rgba(7, 93, 70, 0.18);
  color: white;
}

.listings {
  display: grid;
  gap: 10px;
}

.listing-card {
  backdrop-filter: blur(16px);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.72), rgba(237, 249, 243, 0.52));
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(12, 54, 42, 0.09), 0 2px 7px rgba(12, 54, 42, 0.04);
  display: grid;
  gap: 10px;
  grid-template-columns: 112px 1fr;
  min-width: 0;
  padding: 10px;
}

.listing-image {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, #12362d, #3e9d7a 55%, #e2c98b);
  border: 1px solid rgba(12, 65, 50, 0.22);
  border-radius: 12px;
  color: var(--muted);
  display: grid;
  justify-items: center;
  min-height: 112px;
  padding: 8px;
  text-align: center;
}

.listing-image.has-media {
  overflow: hidden;
  padding: 0;
}

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

.listing-image.locked {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14) 10px, rgba(255, 255, 255, 0.07) 10px, rgba(255, 255, 255, 0.07) 20px),
    linear-gradient(145deg, #12362d, #3e9d7a 55%, #e2c98b);
}

.listing-image span {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(12, 54, 42, 0.14);
  color: var(--brand);
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 52px;
}

.listing-image small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.68rem;
  line-height: 1.2;
}

.listing-image.compact {
  min-height: 80px;
}

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

.listing-title-row {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
}

.listing-card h3 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0;
}

.save-icon {
  background: linear-gradient(180deg, rgba(239, 250, 245, 0.98), rgba(221, 244, 233, 0.92));
  border: 1px solid rgba(19, 122, 99, 0.26);
  border-radius: 10px;
  box-shadow: var(--control-shadow);
  color: var(--brand);
  font-size: 1.1rem;
  height: 34px;
  width: 34px;
}

.save-icon.saved {
  background: var(--brand);
  color: white;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.badge-row span {
  background: rgba(239, 249, 244, 0.88);
  border: 1px solid rgba(12, 65, 50, 0.12);
  border-radius: 8px;
  color: #334155;
  font-size: 0.68rem;
  font-weight: 700;
  min-height: 24px;
  padding: 3px 8px;
}

.listing-meta,
.listing-description,
.listing-footer,
.note,
.safety-reminder span {
  color: var(--muted);
  font-size: 0.86rem;
}

.listing-meta,
.listing-description {
  margin: 0;
}

.available-now-line,
.contact-live {
  align-items: center;
  color: #0f6f52;
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 7px;
  margin: 7px 0 0;
}

.available-now-line span,
.contact-live span {
  background: #21a873;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(33, 168, 115, 0.13);
  height: 7px;
  width: 7px;
}

.badge-row .live-badge {
  background: #dff8ec;
  border-color: rgba(24, 132, 91, 0.22);
  color: #0c694c;
}

.contact-live {
  background: rgba(225, 248, 238, 0.72);
  border: 1px solid rgba(24, 132, 91, 0.14);
  border-radius: 8px;
  margin-bottom: 4px;
  padding: 8px 10px;
}

.card-review-line {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0;
}

.card-review-line span,
.review-overall span,
.review-list > article > small {
  color: #b07a13;
  letter-spacing: 0;
}

.detail-section-head,
.calendar-live,
.tour-list > div,
.tour-list article {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.detail-section-head {
  gap: 12px;
}

.detail-section-head h2,
.detail-section-head p {
  margin: 0;
}

.calendar-live,
.calendar-status {
  color: #0f6f52;
  font-size: 0.75rem;
  font-weight: 800;
}

.calendar-live {
  gap: 7px;
}

.calendar-live i {
  background: #21a873;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.weekly-calendar {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 14px;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.weekly-calendar div {
  background: rgba(235, 249, 242, 0.74);
  border: 1px solid rgba(12, 65, 50, 0.1);
  border-radius: 9px;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 9px 7px;
  text-align: center;
}

.weekly-calendar span {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}

.weekly-calendar strong {
  font-size: 0.7rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.weekly-calendar .unavailable {
  background: rgba(240, 242, 243, 0.6);
  opacity: 0.7;
}

.tour-list {
  border-top: 1px solid var(--surface-border);
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
}

.tour-list > div span,
.tour-list p {
  color: var(--muted);
  font-size: 0.76rem;
  margin: 0;
}

.tour-list article {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  gap: 10px;
  padding: 8px 10px;
}

.tour-list article span,
.tour-list article strong {
  font-size: 0.78rem;
}

.review-overall {
  align-items: end;
  display: grid;
  gap: 1px;
  justify-items: end;
}

.review-overall > strong {
  font-size: 1.5rem;
  line-height: 1;
}

.review-overall small {
  color: var(--muted);
  font-size: 0.68rem;
}

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

.review-category-grid div {
  background: rgba(245, 250, 248, 0.72);
  border: 1px solid var(--surface-border);
  border-radius: 9px;
  display: grid;
  gap: 5px;
  padding: 9px;
}

.review-category-grid span {
  color: var(--muted);
  font-size: 0.66rem;
  text-transform: capitalize;
}

.review-category-grid strong {
  font-size: 0.92rem;
}

.review-category-grid i {
  background: linear-gradient(90deg, #24a879 var(--score), rgba(20, 71, 56, 0.1) var(--score));
  border-radius: 999px;
  display: block;
  height: 4px;
}

.review-list {
  display: grid;
  gap: 9px;
}

.review-list > article {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  display: grid;
  gap: 7px;
  padding: 11px;
}

.review-list > article > div {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.review-list p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.review-list article > div span {
  color: var(--muted);
  font-size: 0.7rem;
}

.review-list blockquote {
  background: rgba(228, 247, 239, 0.72);
  border-left: 3px solid #2b9f78;
  display: grid;
  gap: 3px;
  margin: 2px 0 0;
  padding: 8px 10px;
}

.review-list blockquote strong,
.review-list blockquote span {
  font-size: 0.75rem;
}

.review-submit {
  border-top: 1px solid var(--surface-border);
  margin-top: 12px;
  padding-top: 12px;
}

.review-submit summary {
  color: var(--brand);
  cursor: pointer;
  font-weight: 800;
}

.review-submit form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.review-score-inputs {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.review-score-inputs label {
  display: grid;
  gap: 5px;
}

.review-score-inputs span {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: capitalize;
}

.review-submit form > p {
  color: var(--muted);
  font-size: 0.74rem;
  margin: 0;
}

.listing-footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.listing-footer .primary-link {
  margin-left: auto;
  min-height: 34px;
}

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

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

.gallery-view .listing-image {
  min-height: 150px;
}

.nearby-panel {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.classifieds-map {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
}

.map-copy {
  align-items: start;
  display: grid;
  gap: 10px;
}

.map-copy h2 {
  font-size: 1.12rem;
  margin: 0 0 4px;
}

.map-copy p {
  color: var(--muted);
  margin: 0;
}

.map-copy a {
  color: var(--brand);
  font-weight: 800;
}

.google-map-canvas {
  background: linear-gradient(135deg, #edf3f7, #f8fafc);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  display: none;
  min-height: 320px;
  overflow: hidden;
}

.google-map-canvas.ready {
  display: block;
}

.map-canvas {
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.12) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(155, 217, 190, 0.16) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #edf8f2, #fbfffd);
  background-size: 42px 42px, 42px 42px, auto;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  min-height: 300px;
  overflow: hidden;
  position: relative;
}

.map-canvas[hidden] {
  display: none;
}

body[data-theme="dark"] .map-canvas {
  background:
    linear-gradient(90deg, rgba(57, 184, 170, 0.12) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(240, 112, 147, 0.1) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #18202b, #222b38);
}

body[data-theme="dark"] .google-map-canvas {
  background: linear-gradient(135deg, #18202b, #222b38);
}

body[data-theme="dark"] .home-swipe-showcase {
  background:
    linear-gradient(180deg, rgba(240, 112, 147, 0.12), rgba(18, 24, 32, 0)),
    var(--panel);
}

body[data-theme="dark"] .swipe-tags span {
  background: var(--panel-2);
  color: var(--ink);
}

.map-road {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(120, 132, 150, 0.16);
  border-radius: 999px;
  position: absolute;
}

.road-a {
  height: 24px;
  left: -8%;
  top: 34%;
  transform: rotate(-9deg);
  width: 116%;
}

.road-b {
  height: 20px;
  left: 18%;
  top: -8%;
  transform: rotate(68deg);
  width: 72%;
}

.road-c {
  height: 16px;
  left: 8%;
  top: 70%;
  transform: rotate(18deg);
  width: 86%;
}

.map-pin {
  background: var(--brand);
  border: 2px solid white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(20, 28, 38, 0.22);
  color: white;
  display: grid;
  gap: 1px;
  min-width: 86px;
  padding: 7px 8px;
  position: absolute;
  text-align: left;
  transform: translate(-50%, -50%);
}

.map-pin strong {
  font-size: 0.95rem;
  line-height: 1;
}

.map-pin span,
.map-pin small {
  line-height: 1.1;
}

.map-pin span {
  font-size: 0.72rem;
  font-weight: 800;
}

.map-pin small {
  opacity: 0.82;
  font-size: 0.64rem;
}

.safety-reminder {
  align-items: start;
  display: grid;
  gap: 4px;
}

.brief-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(255, 255, 255, 0.92)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  min-height: 220px;
  padding: 18px;
}

.brief-hero h1 {
  font-size: clamp(2rem, 9vw, 4.4rem);
  line-height: 1;
  margin: 0 0 10px;
}

.brief-hero p {
  color: var(--muted);
  margin: 0;
  max-width: 620px;
}

.brief-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.brief-card,
.brief-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.brief-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
}

.brief-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brief-card h2,
.brief-panel h2 {
  font-size: 1.12rem;
  margin: 0;
}

.brief-card p {
  color: var(--muted);
  margin: 0;
}

.weather-card {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(247, 250, 252, 0.96)),
    var(--panel);
}

.brief-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.brief-timeline {
  display: grid;
  gap: 8px;
}

.brief-timeline div {
  align-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  gap: 4px;
  grid-template-columns: 64px 1fr;
  min-height: 44px;
  padding: 8px 10px;
}

.brief-timeline strong {
  color: var(--brand);
}

.brief-timeline span {
  color: var(--muted);
}

.notes-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.notes-grid button,
.side-menu-action {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  min-height: 42px;
  padding: 10px;
  text-align: left;
}

.side-menu-post {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: white !important;
}

.side-menu-action {
  text-align: center;
}

body[data-theme="dark"] .brief-hero,
body[data-theme="dark"] .weather-card {
  background:
    linear-gradient(135deg, rgba(57, 184, 170, 0.16), rgba(18, 24, 32, 0.96)),
    var(--panel);
}

.side-menu,
.filter-drawer,
.modal-backdrop {
  background: rgba(17, 24, 39, 0.45);
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 160ms ease;
  z-index: 40;
}

.side-menu.open,
.filter-drawer.open,
.modal-backdrop:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

.side-menu-card,
.filter-drawer .filters {
  background: var(--panel);
  bottom: 0;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  left: 0;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 16px;
  position: absolute;
  right: 0;
}

.side-menu-card {
  border-radius: 12px 12px 0 0;
}

.side-menu-head,
.modal-head {
  align-items: start;
  display: flex;
  justify-content: space-between;
}

.side-menu-head button,
.modal-head button {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.3rem;
  height: 38px;
  width: 38px;
}

.side-menu nav {
  display: grid;
  gap: 8px;
}

.side-menu nav a {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  min-height: 42px;
  padding: 10px;
}

.filter-drawer .filters {
  border-radius: 12px 12px 0 0;
  margin: 0;
}

.age-modal-card,
.enquiry-modal-card {
  background: var(--panel);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  left: 50%;
  max-width: 520px;
  padding: 18px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 28px);
}

.enquiry-modal-card {
  max-height: calc(100dvh - 28px);
  max-width: 720px;
  overflow-y: auto;
}

.enquiry-profile-summary,
.enquiry-safety,
.enquiry-history article {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.enquiry-profile-summary {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.enquiry-profile-summary div {
  display: grid;
  gap: 2px;
}

.enquiry-profile-summary span,
.enquiry-profile-summary em {
  color: var(--muted);
  font-size: 0.74rem;
}

.enquiry-profile-summary em {
  color: var(--brand);
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.enquiry-modal-card form {
  display: grid;
  gap: 12px;
}

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

.enquiry-safety {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
}

.enquiry-safety strong {
  color: var(--brand);
  font-size: 0.78rem;
}

.enquiry-safety span {
  color: var(--muted);
  font-size: 0.72rem;
}

.enquiry-history {
  display: grid;
  gap: 9px;
}

.enquiry-history article {
  display: grid;
  gap: 6px;
  padding: 11px;
}

.enquiry-history article > div {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.enquiry-history p,
.enquiry-history article > span {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0;
}

.status-pill {
  background: rgba(33, 168, 115, 0.12);
  border: 1px solid rgba(33, 168, 115, 0.2);
  border-radius: 999px;
  color: #0f6f52;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
}

.modal-actions {
  display: grid;
  gap: 8px;
}

.ad-detail {
  display: grid;
  gap: 14px;
}

.ad-main,
.detail-box,
.availability-calendar,
.reviews-panel {
  min-width: 0;
}

.ad-title {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.ad-title h1 {
  font-size: clamp(1.45rem, 6vw, 2.3rem);
  line-height: 1.08;
  margin: 0 0 10px;
}

.gallery-placeholders {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.gallery-placeholders .listing-image:first-child {
  grid-column: 1 / -1;
  min-height: 210px;
}

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

.detail-grid span,
.verification-list span,
.status-grid article,
.alerts-list article,
.report-item {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.detail-grid strong {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.contact-panel {
  display: grid;
  gap: 10px;
}

.report-grid,
.policy-grid,
.status-grid,
.settings-grid,
.safety-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.similar-listings {
  display: grid;
  gap: 10px;
}

.similar-listings .listing-card {
  box-shadow: none;
}

.post-flow {
  display: grid;
  gap: 14px;
}

.stepper {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 14px 0 0;
  padding: 12px;
}

.stepper li {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px;
}

.stepper li.active {
  background: #e8f8f0;
  color: var(--brand);
}

.stepper li.done {
  color: var(--accent);
}

.post-fields {
  display: grid;
  gap: 10px;
}

.post-fields .full {
  grid-column: 1 / -1;
}

.post-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.verification-list,
.upload-placeholder,
.submission-box,
.message-list,
.alerts-list {
  display: grid;
  gap: 8px;
}

.upload-placeholder {
  background: var(--panel-2);
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  padding: 14px;
}

.upload-placeholder div {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upload-placeholder div span {
  align-items: center;
  aspect-ratio: 1;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  justify-content: center;
}

.account-layout {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.account-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
}

.account-tabs button {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  flex: 0 0 auto;
  font-weight: 700;
  min-height: 38px;
  padding: 0 12px;
}

.account-tabs button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.admin-layout {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.admin-list-panel,
.admin-editor {
  backdrop-filter: blur(18px);
  background: var(--panel);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  box-shadow: var(--surface-shadow);
  padding: 16px;
}

.admin-list-panel {
  align-content: start;
  display: grid;
  gap: 12px;
}

.admin-list-head,
.admin-editor-head,
.admin-status-row,
.admin-editor-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.admin-list-head span,
.admin-status-row,
.admin-listing-button small,
.admin-listing-button em,
.admin-media-panel p {
  color: var(--muted);
  font-size: 0.76rem;
}

.admin-list {
  display: grid;
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 2px;
}

.admin-listing-button {
  background: var(--panel-2);
  border: 1px solid rgba(12, 65, 50, 0.12);
  border-radius: 11px;
  color: var(--ink);
  display: grid;
  gap: 2px;
  padding: 11px;
  text-align: left;
}

.admin-listing-button span {
  font-weight: 800;
}

.admin-listing-button em {
  font-style: normal;
  text-transform: capitalize;
}

.admin-listing-button.active {
  background: linear-gradient(145deg, rgba(23, 134, 108, 0.94), rgba(7, 81, 63, 0.92));
  border-color: rgba(4, 78, 61, 0.86);
  box-shadow: 0 10px 20px rgba(7, 93, 70, 0.18);
  color: white;
}

.admin-listing-button.active small,
.admin-listing-button.active em {
  color: rgba(255, 255, 255, 0.78);
}

.admin-editor {
  display: grid;
  gap: 16px;
}

.admin-editor-head {
  align-items: start;
}

.admin-editor-head h2,
.admin-media-panel h3 {
  font-size: 1.08rem;
  line-height: 1.2;
  margin: 0;
}

.admin-status-row {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 12px;
}

.admin-status-row span {
  background: var(--panel-2);
  border: 1px solid rgba(12, 65, 50, 0.1);
  border-radius: 9px;
  padding: 6px 9px;
}

.admin-status-row strong {
  color: var(--ink);
}

.admin-field-grid,
.admin-media-fields {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.admin-field-grid .full,
.admin-media-fields .full {
  grid-column: 1 / -1;
}

.admin-media-panel {
  background: var(--panel-2);
  border: 1px solid rgba(12, 65, 50, 0.12);
  border-radius: 13px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.admin-media-panel p {
  margin: 5px 0 0;
}

.admin-upload-control {
  align-items: center;
  background: linear-gradient(145deg, rgba(238, 250, 244, 0.9), rgba(222, 245, 233, 0.72));
  border: 1px dashed rgba(19, 122, 99, 0.46);
  border-radius: 12px;
  color: var(--brand);
  cursor: pointer;
  display: grid;
  gap: 4px;
  justify-items: center;
  min-height: 92px;
  padding: 13px;
  text-align: center;
}

.admin-upload-control > span {
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-upload-control small {
  color: var(--muted);
  font-size: 0.74rem;
}

.admin-upload-control input {
  max-width: 100%;
  min-height: auto;
  padding: 0;
}

.admin-upload-control.is-full {
  border-style: solid;
  cursor: not-allowed;
  opacity: 0.7;
}

.admin-media-gallery {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-media-gallery figure,
.admin-media-empty {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(12, 65, 50, 0.12);
  border-radius: 11px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.admin-media-gallery figure {
  display: grid;
}

.admin-media-gallery img {
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.admin-media-remove {
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-top: 1px solid rgba(12, 65, 50, 0.12);
  color: var(--danger);
  font-size: 0.74rem;
  font-weight: 800;
  min-height: 34px;
}

.admin-media-visibility {
  align-items: center;
  background: rgba(238, 249, 245, 0.94);
  border-top: 1px solid rgba(12, 65, 50, 0.12);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 0.75rem;
  font-weight: 750;
  gap: 8px;
  min-height: 38px;
  padding: 7px 10px;
}

.admin-media-visibility input {
  accent-color: var(--brand);
  height: 17px;
  margin: 0;
  min-height: auto;
  width: 17px;
}

.admin-media-empty {
  align-items: center;
  color: var(--muted);
  display: grid;
  gap: 4px;
  grid-column: 1 / -1;
  justify-items: center;
  min-height: 132px;
  padding: 12px;
  text-align: center;
}

.admin-media-empty span {
  align-items: center;
  background: rgba(19, 122, 99, 0.1);
  border-radius: 9px;
  color: var(--brand);
  display: inline-flex;
  font-size: 1.3rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.admin-media-empty p {
  margin: 0;
}

.admin-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-switches label {
  align-items: center;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(12, 65, 50, 0.12);
  border-radius: 9px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 7px;
  min-height: 36px;
  padding: 0 10px;
}

.admin-switches input {
  accent-color: var(--brand);
  min-height: auto;
  width: auto;
}

.admin-preview {
  border-top: 1px solid rgba(12, 65, 50, 0.12);
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

.admin-preview .section-title {
  margin: 0;
}

.admin-preview .listing-card {
  box-shadow: none;
}

.admin-editor-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-editor-actions .is-live {
  background: #16785a;
  border-color: #16785a;
  color: #fff;
}

.provider-managed-ads {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.provider-managed-ad {
  align-items: center;
  background: rgba(245, 252, 249, 0.7);
  border: 1px solid rgba(12, 65, 50, 0.12);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.provider-managed-ad div {
  display: grid;
  gap: 2px;
}

.provider-managed-ad span {
  color: var(--muted);
  font-size: 0.76rem;
}

.provider-managed-ad button {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 750;
  min-height: 38px;
  padding: 7px 11px;
}

.provider-managed-ad button.live {
  background: #16785a;
  border-color: #16785a;
  color: #fff;
}

.provider-planner,
.admin-planner {
  background: rgba(247, 252, 250, 0.72);
  border: 1px solid rgba(12, 65, 50, 0.12);
  border-radius: 12px;
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 15px;
}

.provider-planner form,
.admin-planner {
  align-items: start;
}

.schedule-editor-grid {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.schedule-editor-grid label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.schedule-editor-grid span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.schedule-editor-grid input {
  font-size: 0.72rem;
  min-height: 40px;
  min-width: 0;
  padding: 7px;
  text-align: center;
  width: 100%;
}

.provider-planner form {
  display: grid;
  gap: 12px;
}

.profile-tagline {
  color: var(--muted);
  margin: -3px 0 10px;
}

.provider-insights {
  background: rgba(248, 252, 250, 0.78);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
}

.provider-insights .section-title {
  margin: 0;
}

.provider-insights .section-title h2,
.provider-insights .section-title p {
  margin: 0;
}

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

.insight-metrics article {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--surface-border);
  border-radius: 9px;
  display: grid;
  gap: 3px;
  padding: 11px;
}

.insight-metrics span,
.quality-score span,
.analytics-note {
  color: var(--muted);
  font-size: 0.72rem;
}

.insight-metrics strong {
  font-size: 1.16rem;
}

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

.insight-funnel,
.traffic-sources,
.quality-coach {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 12px;
}

.insight-funnel h3,
.traffic-sources h3,
.quality-actions h3 {
  font-size: 0.88rem;
  margin: 0 0 10px;
}

.insight-funnel > div,
.traffic-sources > div {
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr auto;
  margin-top: 8px;
}

.insight-funnel span,
.traffic-sources span,
.insight-funnel strong,
.traffic-sources strong {
  font-size: 0.72rem;
}

.insight-funnel i,
.traffic-sources i,
.quality-score i {
  background: rgba(18, 84, 65, 0.1);
  border-radius: 999px;
  display: block;
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  position: relative;
}

.insight-funnel i::after,
.traffic-sources i::after,
.quality-score i::after {
  background: #2aa276;
  border-radius: inherit;
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
}

.insight-funnel i::after {
  width: var(--funnel);
}

.traffic-sources i::after {
  width: var(--source);
}

.quality-coach {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(120px, 0.36fr) minmax(0, 1fr);
}

.quality-score {
  align-content: center;
  display: grid;
  gap: 6px;
}

.quality-score > strong {
  font-size: 2rem;
}

.quality-score i::after {
  width: var(--quality);
}

.quality-actions {
  display: grid;
  gap: 7px;
}

.quality-actions > div {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.quality-actions > div span {
  color: var(--muted);
  font-size: 0.76rem;
}

.quality-actions em {
  border-radius: 999px;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 800;
  padding: 3px 7px;
}

.impact-high {
  background: rgba(203, 67, 53, 0.1);
  color: #a43f35;
}

.impact-medium {
  background: rgba(191, 128, 24, 0.12);
  color: #916414;
}

.impact-low {
  background: rgba(37, 131, 96, 0.12);
  color: #1d7656;
}

.analytics-note {
  margin: 0;
}

.admin-review-queue {
  background: rgba(248, 252, 250, 0.76);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  margin-top: 16px;
  padding: 16px;
}

.admin-review-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.admin-review-item {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  display: grid;
  gap: 9px;
  padding: 12px;
}

.admin-review-item > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.admin-review-item span,
.admin-review-item p {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0;
}

.admin-review-item textarea {
  min-height: 72px;
}

.auth-layout {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.auth-card,
.auth-aside,
.provider-ads,
.auth-gate {
  backdrop-filter: blur(18px);
  background: var(--panel);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  box-shadow: var(--surface-shadow);
  padding: 16px;
}

.auth-card {
  display: grid;
  gap: 14px;
}

.auth-card-head,
.provider-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.auth-card-head h2,
.auth-aside h2 {
  font-size: 1.12rem;
  margin: 0;
}

.auth-card-head span,
.auth-note,
.auth-link,
.auth-aside p {
  color: var(--muted);
  font-size: 0.82rem;
}

.role-select {
  border: 0;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.role-select legend {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.role-option {
  background: var(--panel-2);
  border: 1px solid rgba(12, 65, 50, 0.12);
  border-radius: 12px;
  color: var(--ink);
  display: grid;
  gap: 2px;
  grid-template-columns: auto 1fr;
  padding: 11px;
}

.role-option input {
  accent-color: var(--brand);
  grid-row: 1 / span 2;
  margin: 3px 2px 0 0;
  min-height: auto;
  width: auto;
}

.role-option span {
  font-weight: 800;
}

.role-option small {
  color: var(--muted);
  font-size: 0.78rem;
}

.role-option:has(input:checked) {
  background: rgba(223, 247, 235, 0.78);
  border-color: rgba(19, 122, 99, 0.38);
  box-shadow: 0 8px 18px rgba(12, 54, 42, 0.08);
}

.auth-fields {
  display: grid;
  gap: 10px;
}

.auth-consent {
  align-items: start;
  color: var(--muted);
  display: flex;
  font-size: 0.8rem;
  font-weight: 600;
  gap: 8px;
}

.auth-consent input {
  accent-color: var(--brand);
  flex: 0 0 auto;
  margin: 3px 0 0;
  min-height: auto;
  width: auto;
}

.auth-note,
.auth-link {
  margin: 0;
}

.auth-link a {
  color: var(--brand);
  font-weight: 800;
}

.auth-aside {
  align-content: start;
  display: grid;
  gap: 12px;
}

.auth-aside ol {
  color: var(--muted);
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.auth-gate {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 20px;
}

.provider-overview {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.provider-overview article {
  background: var(--panel);
  border: 1px solid var(--surface-border);
  border-radius: 13px;
  box-shadow: 0 9px 20px rgba(12, 54, 42, 0.07);
  display: grid;
  gap: 4px;
  padding: 13px;
}

.provider-overview strong {
  color: var(--brand);
  font-size: 1rem;
}

.provider-overview span {
  color: var(--muted);
  font-size: 0.78rem;
}

.provider-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 14px;
}

.provider-ads {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.compact-list .listing-card {
  box-shadow: none;
}

.empty-panel {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  color: var(--muted);
  margin: 8px 0 0;
}

.report-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
}

.toast {
  background: #111827;
  border-radius: 10px;
  bottom: 18px;
  color: white;
  left: 50%;
  max-width: calc(100% - 28px);
  opacity: 0;
  padding: 10px 14px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 20px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 80;
}

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

body[data-theme="dark"] .site-header {
  background: rgba(14, 21, 25, 0.7);
  border-bottom-color: rgba(152, 220, 190, 0.1);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}

body[data-theme="dark"] .menu-button,
body[data-theme="dark"] .tool-button,
body[data-theme="dark"] .secondary-button,
body[data-theme="dark"] .hero-search .secondary-search-button {
  background: linear-gradient(180deg, rgba(39, 54, 56, 0.96), rgba(22, 31, 35, 0.94));
  border-color: rgba(171, 226, 202, 0.16);
  color: var(--ink);
}

body[data-theme="dark"] .classifieds-hero,
body[data-theme="dark"] .hero,
body[data-theme="dark"] .home-section,
body[data-theme="dark"] .directory-board,
body[data-theme="dark"] .latest-board,
body[data-theme="dark"] .post-strip,
body[data-theme="dark"] .cta-row,
body[data-theme="dark"] .safety-teaser,
body[data-theme="dark"] .page-head,
body[data-theme="dark"] .results-head,
body[data-theme="dark"] .empty-panel,
body[data-theme="dark"] .detail-box,
body[data-theme="dark"] .contact-panel,
body[data-theme="dark"] .post-card,
body[data-theme="dark"] .account-panel,
body[data-theme="dark"] .filters,
body[data-theme="dark"] .safety-reminder,
body[data-theme="dark"] .nearby-panel,
body[data-theme="dark"] .policy-page,
body[data-theme="dark"] .listing-card {
  background: linear-gradient(150deg, rgba(30, 42, 45, 0.78), rgba(18, 29, 33, 0.64));
  border-color: var(--surface-border);
}

body[data-theme="dark"] .hero-search,
body[data-theme="dark"] .results-search,
body[data-theme="dark"] .distance-control,
body[data-theme="dark"] .view-toggle {
  background: rgba(11, 20, 23, 0.42);
  border-color: rgba(171, 226, 202, 0.14);
}

body[data-theme="dark"] .home-swipe-showcase {
  background: transparent;
}

body[data-theme="dark"] .swipe-profile-card {
  background: linear-gradient(155deg, rgba(31, 45, 47, 0.82), rgba(16, 29, 32, 0.7));
  border-color: rgba(171, 226, 202, 0.18);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.4), 0 3px 10px rgba(0, 0, 0, 0.2);
}

body[data-theme="dark"] .swipe-tags span,
body[data-theme="dark"] .badge-row span,
body[data-theme="dark"] .directory-column,
body[data-theme="dark"] .category-card,
body[data-theme="dark"] .region-list a,
body[data-theme="dark"] .link-cloud button,
body[data-theme="dark"] .nearby-panel button,
body[data-theme="dark"] .nearby-panel a,
body[data-theme="dark"] .policy-grid a,
body[data-theme="dark"] .report-grid button {
  background: rgba(36, 50, 53, 0.9);
  border-color: rgba(171, 226, 202, 0.14);
  color: var(--ink);
}

body[data-theme="dark"] .directory-column h3 {
  background: rgba(105, 211, 176, 0.09);
  border-bottom-color: rgba(171, 226, 202, 0.12);
}

body[data-theme="dark"] .swipe-pass,
body[data-theme="dark"] .swipe-save,
body[data-theme="dark"] .save-icon,
body[data-theme="dark"] .listing-image span {
  background: linear-gradient(180deg, rgba(39, 54, 56, 0.98), rgba(23, 34, 38, 0.95));
  border-color: rgba(171, 226, 202, 0.18);
  color: var(--brand);
}

body[data-theme="dark"] .admin-list-panel,
body[data-theme="dark"] .admin-editor {
  background: linear-gradient(150deg, rgba(30, 42, 45, 0.8), rgba(18, 29, 33, 0.66));
  border-color: var(--surface-border);
}

body[data-theme="dark"] .admin-listing-button,
body[data-theme="dark"] .admin-media-panel,
body[data-theme="dark"] .admin-status-row span,
body[data-theme="dark"] .admin-switches label,
body[data-theme="dark"] .admin-media-gallery figure,
body[data-theme="dark"] .admin-media-empty {
  background: rgba(36, 50, 53, 0.82);
  border-color: rgba(171, 226, 202, 0.14);
  color: var(--ink);
}

body[data-theme="dark"] .admin-upload-control {
  background: rgba(36, 50, 53, 0.74);
  border-color: rgba(143, 240, 204, 0.34);
}

body[data-theme="dark"] .admin-media-remove {
  background: rgba(23, 34, 38, 0.94);
  border-top-color: rgba(171, 226, 202, 0.12);
}

body[data-theme="dark"] .admin-media-visibility {
  background: rgba(29, 45, 46, 0.94);
  border-top-color: rgba(171, 226, 202, 0.12);
  color: var(--ink);
}

body[data-theme="dark"] .available-now-line,
body[data-theme="dark"] .contact-live {
  color: #91e8c7;
}

body[data-theme="dark"] .contact-live,
body[data-theme="dark"] .provider-managed-ad,
body[data-theme="dark"] .provider-planner,
body[data-theme="dark"] .admin-planner,
body[data-theme="dark"] .weekly-calendar div,
body[data-theme="dark"] .tour-list article,
body[data-theme="dark"] .review-category-grid div,
body[data-theme="dark"] .review-list > article,
body[data-theme="dark"] .review-list blockquote,
body[data-theme="dark"] .admin-review-queue,
body[data-theme="dark"] .admin-review-item,
body[data-theme="dark"] .provider-insights,
body[data-theme="dark"] .insight-metrics article,
body[data-theme="dark"] .insight-funnel,
body[data-theme="dark"] .traffic-sources,
body[data-theme="dark"] .quality-coach {
  background: rgba(30, 66, 56, 0.62);
  border-color: rgba(145, 232, 199, 0.18);
}

body[data-theme="dark"] .auth-card,
body[data-theme="dark"] .auth-aside,
body[data-theme="dark"] .auth-gate,
body[data-theme="dark"] .provider-ads,
body[data-theme="dark"] .provider-overview article {
  background: linear-gradient(150deg, rgba(30, 42, 45, 0.8), rgba(18, 29, 33, 0.66));
  border-color: var(--surface-border);
}

body[data-theme="dark"] .role-option {
  background: rgba(36, 50, 53, 0.82);
  border-color: rgba(171, 226, 202, 0.14);
}

body[data-theme="dark"] .role-option:has(input:checked) {
  background: rgba(72, 150, 122, 0.22);
  border-color: rgba(143, 240, 204, 0.38);
}

@media (hover: hover) {
  .menu-button:hover,
  .tool-button:hover,
  .secondary-button:hover,
  .hero-search .secondary-search-button:hover,
  .swipe-pass:hover,
  .swipe-save:hover,
  .save-icon:hover,
  .link-cloud button:hover,
  .nearby-panel button:hover,
  .nearby-panel a:hover,
  .policy-grid a:hover,
  .report-grid button:hover,
  .region-list a:hover {
    border-color: rgba(19, 122, 99, 0.38);
    box-shadow: 0 11px 22px rgba(12, 54, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.86);
    transform: translateY(-1px);
  }

  .hero-search button:not(.secondary-search-button):hover,
  .primary-button:hover,
  .primary-link:hover,
  .swipe-like:hover {
    box-shadow: 0 14px 25px rgba(7, 93, 70, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    filter: brightness(1.04);
    transform: translateY(-1px);
  }
}

button:not(:disabled):active,
.primary-link:active {
  transform: translateY(1px) scale(0.99);
}

@media (max-width: 420px) {
  .site-header {
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .brand {
    font-size: 1.05rem;
  }

  .header-tools {
    grid-column: auto;
    justify-content: flex-end;
  }

  .tool-button {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 9px;
  }

  .theme-toggle {
    min-width: 32px;
    padding: 0;
  }

  .location-distance-field {
    gap: 6px;
    grid-template-columns: minmax(104px, 0.68fr) minmax(0, 1.32fr);
  }

  .city-postcode-field input {
    padding: 0 9px;
  }

  .distance-control {
    padding: 5px 6px;
  }

  .distance-control label .distance-label {
    font-size: 0.54rem;
  }

  .distance-copy-full {
    display: none;
  }

  .distance-copy-short {
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .distance-control strong {
    font-size: 0.6rem;
  }

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

  .listing-image {
    min-height: 96px;
  }

  .listing-footer .primary-link {
    margin-left: 0;
    width: 100%;
  }

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

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

  .map-pin {
    min-width: 72px;
    padding: 6px;
  }

  .weekly-calendar,
  .schedule-editor-grid {
    grid-template-columns: repeat(7, minmax(88px, 1fr));
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-snap-type: x proximity;
  }

  .weekly-calendar div,
  .schedule-editor-grid label {
    scroll-snap-align: start;
  }

  .detail-section-head,
  .provider-managed-ad {
    align-items: stretch;
    flex-direction: column;
  }

  .provider-managed-ad button {
    width: 100%;
  }

  .review-category-grid,
  .review-score-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-list > article > div {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }

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

  .enquiry-profile-summary {
    align-items: start;
    flex-direction: column;
  }

  .enquiry-profile-summary em {
    text-align: left;
  }

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

  .insight-layout,
  .quality-coach {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 680px) {
  .hero-search,
  .results-search {
    grid-template-columns: 1.3fr 1fr 1fr auto;
  }

  .classifieds-hero .hero-search {
    grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.75fr) minmax(190px, 0.9fr);
  }

  .classifieds-hero .search-title {
    grid-column: 1 / -1;
  }

  .location-distance-field {
    grid-template-columns: minmax(190px, 0.72fr) minmax(260px, 1fr);
  }

  .home-swipe-showcase {
    padding: 0;
  }

  .swipe-stage {
    margin: 0 auto;
    max-width: 430px;
  }

  .swipe-card-stack {
    min-height: 730px;
  }

  .swipe-profile-card .listing-image {
    min-height: 238px;
  }

  .brief-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 280px;
    padding: 26px;
  }

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

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

  .hero-search-actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(160px, 220px) minmax(220px, 300px);
  }

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

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

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

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

  .results-toolbar {
    grid-template-columns: 220px auto 220px;
  }

  .modal-actions,
  .cta-row,
  .post-strip {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
  }

  .post-fields,
  .settings-grid,
  .safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-field-grid,
  .admin-media-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
  }

  .auth-layout.single {
    grid-template-columns: minmax(0, 540px);
    max-width: 540px;
  }

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

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

  .map-copy {
    align-items: center;
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 920px) {
  .utility-strip {
    display: flex;
  }

  .site-header {
    grid-template-columns: auto auto 1fr auto auto;
    padding: 10px 24px;
  }

  .header-search {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr auto;
  }

  .header-search input {
    min-height: 38px;
  }

  .header-search button {
    background: var(--ink);
    border: 0;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    min-height: 38px;
    padding: 0 14px;
  }

  .header-nav {
    display: flex;
  }

  #app {
    padding: 24px;
  }

  .hero {
    grid-template-columns: 0.95fr 1.05fr;
    padding: 28px;
  }

  .classifieds-hero {
    padding: 20px;
  }

  .classifieds-hero h1 {
    font-size: 2.05rem;
  }

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

  .directory-grid {
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
  }

  .split,
  .ad-detail,
  .post-flow,
  .account-layout {
    grid-template-columns: 280px 1fr;
  }

  .admin-layout {
    align-items: start;
    grid-template-columns: minmax(240px, 0.54fr) minmax(0, 1.46fr);
  }

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

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

  .results-layout {
    align-items: start;
    grid-template-columns: 280px 1fr;
  }

  .desktop-filters {
    display: grid;
    position: sticky;
    top: 82px;
  }

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

  .side-menu-card {
    border-radius: 0 12px 12px 0;
    bottom: 0;
    max-width: 360px;
    right: auto;
    top: 0;
    width: 360px;
  }

  .filter-drawer .filters {
    border-radius: 12px 0 0 12px;
    bottom: 0;
    left: auto;
    max-width: 420px;
    right: 0;
    top: 0;
    width: 420px;
  }

  .contact-panel {
    position: sticky;
    top: 82px;
  }

  .site-footer {
    grid-template-columns: 280px 1fr;
    padding: 30px 24px;
  }
}

@media (max-width: 560px) {
  .admin-layout .admin-list {
    max-height: 270px;
  }
}

.provider-declarations,
.contact-choice-fieldset,
.submission-declarations,
.provider-contact-controls,
.provider-declaration-panel,
.provider-compliance-panel,
.publication-gaps,
.platform-boundary-panel,
.urgent-report-notice,
.policy-content,
.policy-action-band,
.admin-command-centre {
  backdrop-filter: blur(18px);
  background: var(--panel);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  box-shadow: var(--surface-shadow);
}

.provider-declarations {
  display: grid;
  gap: 9px;
  margin: 4px 0;
  padding: 14px;
}

.provider-declarations[hidden] {
  display: none;
}

.provider-declarations legend,
.contact-choice-fieldset legend {
  color: var(--ink);
  font-weight: 800;
  padding: 0 6px;
}

.provider-declarations p,
.contact-choice-fieldset p,
.provider-compliance-panel p,
.provider-contact-controls p,
.platform-boundary-panel p,
.policy-action-band p,
.urgent-report-notice p {
  color: var(--muted);
  margin: 0;
}

.provider-declarations .auth-consent {
  margin: 0;
}

.contact-choice-fieldset,
.submission-declarations {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.contact-choice-fieldset label,
.submission-declarations label,
.provider-contact-controls > label:not(.field),
.provider-declaration-panel label {
  align-items: flex-start;
  color: var(--ink);
  display: flex;
  gap: 9px;
  line-height: 1.4;
}

.contact-choice-fieldset input,
.submission-declarations input,
.provider-contact-controls input[type="checkbox"],
.provider-declaration-panel input {
  accent-color: var(--brand);
  flex: 0 0 auto;
  height: 17px;
  margin-top: 2px;
  width: 17px;
}

.provider-compliance-panel,
.provider-contact-controls,
.provider-declaration-panel,
.publication-gaps,
.platform-boundary-panel,
.policy-action-band,
.urgent-report-notice,
.admin-command-centre {
  margin-top: 16px;
  padding: 16px;
}

.provider-compliance-panel h2,
.provider-contact-controls h3,
.provider-declaration-panel h3,
.publication-gaps h3,
.platform-boundary-panel h2,
.policy-action-band h2,
.urgent-report-notice strong {
  margin: 0;
}

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

.provider-compliance-grid span {
  background: color-mix(in srgb, var(--muted) 9%, transparent);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 8px 9px;
}

.provider-compliance-grid span.done {
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border-color: color-mix(in srgb, var(--brand) 35%, transparent);
  color: var(--brand-dark);
}

.publication-gaps {
  background: color-mix(in srgb, var(--warning) 7%, var(--panel));
  box-shadow: none;
  margin: 0 0 16px;
}

.publication-gaps.complete {
  background: color-mix(in srgb, var(--brand) 8%, var(--panel));
}

.publication-gaps ul {
  color: var(--muted);
  display: grid;
  gap: 5px;
  margin: 9px 0 0;
  padding-left: 19px;
}

.provider-contact-controls,
.provider-declaration-panel {
  display: grid;
  gap: 11px;
}

.provider-contact-controls .field {
  margin-top: 4px;
}

.platform-boundary-panel,
.policy-action-band {
  align-items: center;
  display: grid;
  gap: 12px;
}

.platform-boundary-panel a {
  color: var(--brand-dark);
  font-weight: 800;
}

.urgent-report-notice {
  border-left: 4px solid var(--danger);
  box-shadow: none;
}

.urgent-report-notice strong {
  color: var(--danger);
  display: block;
  margin-bottom: 5px;
}

.report-privacy-note {
  color: var(--muted);
  font-size: 0.76rem;
  margin: 0;
}

.policy-content {
  display: grid;
  gap: 0;
  margin-top: 16px;
  overflow: hidden;
  padding: 0;
}

.policy-content article {
  border-bottom: 1px solid var(--line-strong);
  padding: 16px;
}

.policy-content article:last-child {
  border-bottom: 0;
}

.policy-content h2,
.policy-content p {
  margin: 0;
}

.policy-content h2 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.policy-content p {
  color: var(--muted);
  line-height: 1.65;
}

.admin-command-centre {
  overflow: hidden;
}

.admin-queue-grid {
  display: grid;
  gap: 12px;
}

.admin-queue-column {
  background: color-mix(in srgb, var(--panel-2) 88%, transparent);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
}

.admin-queue-title {
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  justify-content: space-between;
  padding: 12px;
}

.admin-queue-title h3 {
  font-size: 0.95rem;
  margin: 0;
}

.admin-queue-title span {
  color: var(--muted);
  font-size: 0.76rem;
}

.admin-operation-list {
  display: grid;
  gap: 8px;
  max-height: 480px;
  overflow: auto;
  padding: 8px;
}

.admin-operation-card {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: grid;
  gap: 9px;
  padding: 11px;
}

.admin-operation-head {
  align-items: flex-start;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.admin-operation-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-operation-head strong,
.admin-operation-head span,
.admin-operation-card p,
.admin-operation-card li {
  overflow-wrap: anywhere;
}

.admin-operation-head span,
.admin-operation-card p,
.admin-operation-card li {
  color: var(--muted);
  font-size: 0.76rem;
}

.admin-operation-head em {
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 0.65rem;
  font-style: normal;
  padding: 4px 6px;
  text-transform: uppercase;
}

.admin-operation-head .risk-critical,
.admin-operation-head .risk-high {
  border-color: color-mix(in srgb, var(--danger) 45%, transparent);
  color: var(--danger);
}

.admin-operation-head .risk-medium {
  border-color: color-mix(in srgb, var(--warning) 45%, transparent);
  color: var(--warning);
}

.admin-operation-head .risk-low {
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  color: var(--brand-dark);
}

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

.admin-operation-card textarea {
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  min-height: 58px;
  padding: 8px;
  resize: vertical;
}

.admin-operation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-operation-actions button,
.admin-operation-card > button {
  min-height: 36px;
  padding: 7px 9px;
}

.admin-operation-actions .danger {
  color: var(--danger);
}

.admin-empty-state {
  color: var(--muted);
  padding: 22px 12px;
  text-align: center;
}

.admin-empty-state h4,
.admin-empty-state p {
  margin: 0;
}

.admin-audit-log {
  border-top: 1px solid var(--line-strong);
  margin-top: 14px;
  padding-top: 12px;
}

.admin-audit-log summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.admin-audit-log > div {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.admin-audit-log article {
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 7px 0;
}

.admin-audit-log span {
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

body[data-theme="dark"] .provider-compliance-grid span.done,
body[data-theme="dark"] .platform-boundary-panel a,
body[data-theme="dark"] .admin-operation-head .risk-low {
  color: var(--accent);
}

@media (min-width: 760px) {
  .provider-compliance-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .provider-contact-controls,
  .provider-declaration-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .provider-contact-controls > div,
  .provider-declaration-panel > div,
  .provider-contact-controls .field {
    grid-column: 1 / -1;
  }

  .platform-boundary-panel,
  .policy-action-band {
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr) auto;
  }
}

@media (min-width: 1040px) {
  .admin-queue-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .provider-compliance-panel,
  .provider-contact-controls,
  .provider-declaration-panel,
  .publication-gaps,
  .platform-boundary-panel,
  .policy-action-band,
  .urgent-report-notice,
  .admin-command-centre {
    padding: 13px;
  }

  .admin-operation-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-operation-actions button,
  .admin-operation-card > button {
    justify-content: center;
    width: 100%;
  }

  .admin-audit-log article {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-audit-log span {
    text-align: left;
  }
}

/* Calm, professional typography across public, account, and admin surfaces. */
:root {
  --font-text: "Segoe UI Variable Text", "Aptos", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "Segoe UI Variable Display", "Aptos Display", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-text);
  font-synthesis: none;
  letter-spacing: 0;
}

body {
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body * {
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

body :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-display);
  font-weight: 500 !important;
  line-height: 1.18;
}

body :where(strong, b, summary, legend, button, label, .primary-button, .secondary-button, .tool-button, .post-link) {
  font-weight: 500 !important;
}

body .brand,
body .brand strong,
body .brand-mark {
  font-family: var(--font-display);
  font-weight: 600 !important;
}

.eyebrow,
.listing-kicker,
.admin-editor-kicker,
.status-pill,
.badge-row span,
.swipe-tags span {
  font-weight: 500 !important;
}

/* Square action system: crisp geometry, consistent centring, clear hierarchy. */
:root {
  --action-primary-top: #17856a;
  --action-primary-bottom: #0b654f;
  --action-primary-hover-top: #1b9274;
  --action-primary-hover-bottom: #0d7058;
  --action-primary-border: #075441;
  --action-secondary-bg: rgba(250, 255, 252, 0.84);
  --action-secondary-hover: rgba(255, 255, 255, 0.98);
  --action-secondary-border: rgba(12, 65, 50, 0.24);
  --action-secondary-ink: #17372f;
  --action-shadow: 0 6px 14px rgba(8, 62, 48, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.74), inset 0 -2px 0 rgba(5, 69, 52, 0.08);
  --action-primary-shadow: 0 7px 16px rgba(6, 78, 59, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(2, 45, 34, 0.3);
  --action-focus: rgba(31, 157, 121, 0.38);
}

body[data-theme="dark"] {
  --action-primary-top: #229876;
  --action-primary-bottom: #117158;
  --action-primary-hover-top: #2aa884;
  --action-primary-hover-bottom: #158064;
  --action-primary-border: #43b08f;
  --action-secondary-bg: rgba(27, 40, 43, 0.94);
  --action-secondary-hover: rgba(37, 54, 57, 0.98);
  --action-secondary-border: rgba(166, 226, 203, 0.24);
  --action-secondary-ink: #e6f0ec;
  --action-shadow: 0 7px 16px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -2px 0 rgba(0, 0, 0, 0.22);
  --action-primary-shadow: 0 8px 18px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.13), inset 0 -2px 0 rgba(0, 0, 0, 0.3);
  --action-focus: rgba(105, 211, 176, 0.46);
}

button,
.primary-button,
.secondary-button,
.primary-link,
.side-menu-action {
  border-radius: 0 !important;
}

button:not(.admin-listing-button):not(.map-pin),
.primary-button,
.secondary-button,
.primary-link,
.side-menu-action {
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
}

button:not(.admin-listing-button):not(.map-pin) {
  display: inline-flex;
}

.primary-button,
.secondary-button,
.primary-link,
.side-menu-action,
.hero-search button,
.results-search button {
  min-height: 44px;
  padding: 10px 16px;
}

body .hero-search button:not(.secondary-search-button),
body .results-search button,
body .primary-button,
body .primary-link,
body .swipe-like,
body .age-strip button,
body .header-search button,
body .view-toggle button.active,
body .account-tabs button.active,
body .provider-managed-ad button.live {
  background: linear-gradient(180deg, var(--action-primary-top), var(--action-primary-bottom));
  border: 1px solid var(--action-primary-border);
  box-shadow: var(--action-primary-shadow);
  color: #fff;
}

body .secondary-button,
body .hero-search .secondary-search-button,
body .menu-button,
body .tool-button,
body .swipe-pass,
body .swipe-save,
body .save-icon,
body .filters-head button,
body .side-menu-head button,
body .modal-head button,
body .link-cloud button,
body .nearby-panel button,
body .report-grid button,
body .notes-grid button,
body .side-menu-action,
body .account-tabs button,
body .view-toggle button,
body .provider-managed-ad button:not(.live),
body .admin-media-remove {
  background: var(--action-secondary-bg);
  border: 1px solid var(--action-secondary-border);
  box-shadow: var(--action-shadow);
  color: var(--action-secondary-ink);
}

body .menu-button,
body .theme-toggle,
body .save-icon,
body .filters-head button,
body .side-menu-head button,
body .modal-head button {
  flex: 0 0 auto;
  height: 40px;
  min-height: 40px;
  min-width: 40px;
  padding: 0;
  width: 40px;
}

body .tool-button:not(.theme-toggle) {
  min-height: 40px;
  padding: 0 13px;
}

.menu-button span,
.menu-button span:nth-child(1),
.menu-button span:nth-child(2),
.menu-button span:nth-child(3) {
  border-radius: 0;
  height: 1px;
  width: 18px;
}

.menu-button:hover span:nth-child(1),
.menu-button:hover span:nth-child(3) {
  width: 18px;
}

body .swipe-actions button {
  min-height: 44px;
}

body .save-icon {
  height: 36px;
  min-height: 36px;
  min-width: 36px;
  width: 36px;
}

body .text-button {
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  min-height: 40px;
}

body button.danger,
body .secondary-button.danger,
body .text-button.danger {
  color: var(--danger);
}

body .secondary-button.danger {
  border-color: color-mix(in srgb, var(--danger) 44%, transparent);
}

.admin-listing-button {
  border-radius: 0 !important;
  text-align: left;
}

.map-pin {
  border-radius: 0 !important;
}

button:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.primary-link:focus-visible,
.side-menu-action:focus-visible {
  outline: 2px solid var(--action-focus);
  outline-offset: 3px;
}

@media (hover: hover) {
  body .hero-search button:not(.secondary-search-button):hover,
  body .results-search button:hover,
  body .primary-button:hover,
  body .primary-link:hover,
  body .swipe-like:hover,
  body .age-strip button:hover,
  body .header-search button:hover,
  body .view-toggle button.active:hover,
  body .account-tabs button.active:hover,
  body .provider-managed-ad button.live:hover {
    background: linear-gradient(180deg, var(--action-primary-hover-top), var(--action-primary-hover-bottom));
    box-shadow: 0 10px 20px rgba(6, 78, 59, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -2px 0 rgba(2, 45, 34, 0.28);
    filter: none;
    transform: translateY(-1px);
  }

  body .secondary-button:hover,
  body .hero-search .secondary-search-button:hover,
  body .menu-button:hover,
  body .tool-button:hover,
  body .swipe-pass:hover,
  body .swipe-save:hover,
  body .save-icon:hover,
  body .filters-head button:hover,
  body .side-menu-head button:hover,
  body .modal-head button:hover,
  body .link-cloud button:hover,
  body .nearby-panel button:hover,
  body .report-grid button:hover,
  body .notes-grid button:hover,
  body .side-menu-action:hover,
  body .account-tabs button:hover,
  body .view-toggle button:hover,
  body .provider-managed-ad button:not(.live):hover,
  body .admin-media-remove:hover {
    background: var(--action-secondary-hover);
    border-color: color-mix(in srgb, var(--brand) 48%, var(--action-secondary-border));
    box-shadow: 0 9px 18px rgba(8, 62, 48, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -2px 0 rgba(5, 69, 52, 0.09);
    transform: translateY(-1px);
  }
}

button:not(:disabled):active,
.primary-button:active,
.secondary-button:active,
.primary-link:active,
.side-menu-action:active {
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

button:disabled,
.primary-button[aria-disabled="true"],
.secondary-button[aria-disabled="true"] {
  box-shadow: none;
  filter: grayscale(0.35);
  opacity: 0.5;
}

@media (max-width: 420px) {
  body .menu-button,
  body .theme-toggle {
    height: 38px;
    min-height: 38px;
    min-width: 38px;
    width: 38px;
  }

  body .tool-button:not(.theme-toggle) {
    min-height: 38px;
    padding: 0 11px;
  }
}
