:root {
  color-scheme: dark;
  --blue: #bff747;
  --blue-dark: #d2ff6e;
  --blue-soft: rgba(191, 247, 71, 0.14);
  --cyan: #1aa7d8;
  --ink: #f5f5f4;
  --muted: #9ea7a1;
  --line: rgba(245, 245, 244, 0.13);
  --line-strong: rgba(191, 247, 71, 0.42);
  --paper: #101411;
  --paper-strong: #151a16;
  --canvas: #050604;
  --map: #0b0f0d;
  --success: #6ee7a8;
  --warning: #ffb84d;
  --dark-ink: #050604;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(191, 247, 71, 0.15), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(26, 167, 216, 0.1), transparent 30rem),
    linear-gradient(rgba(5, 6, 4, 0.96), rgba(5, 6, 4, 0.98)),
    var(--canvas);
  font-family: Arial, Helvetica, sans-serif;
}

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

button {
  cursor: pointer;
}

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

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 174px minmax(280px, 1fr) auto;
  gap: 12px;
  align-items: center;
  height: 72px;
  padding: 12px 22px;
  background: rgba(5, 6, 4, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--dark-ink);
  background: var(--blue);
  border-radius: 7px;
  font-size: 13px;
  letter-spacing: 0;
}

.searchbar {
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) minmax(150px, 0.9fr) 112px 74px auto;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.searchbar input {
  min-width: 0;
  border: 0;
  padding: 13px 14px;
  outline: none;
  color: var(--ink);
  background: transparent;
  height: 100%;
}

.searchbar select {
  min-width: 0;
  border: 0;
  border-left: 1px solid var(--line);
  outline: none;
  padding: 0 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  height: 100%;
}

.radius-custom {
  display: none;
  min-width: 0;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 0 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.searchbar.custom-radius .radius-custom {
  display: block;
}

.searchbar:not(.custom-radius) {
  grid-template-columns: minmax(180px, 1.25fr) minmax(150px, 0.9fr) 112px auto;
}

.searchbar button,
.primary-wide {
  border: 0;
  background: var(--blue);
  color: var(--dark-ink);
  padding: 0 18px;
  font-weight: 700;
}

.searchbar button {
  min-width: 92px;
  height: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
}

.language-switcher {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  max-width: none;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}

.language-select {
  gap: 7px;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.language-select span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.language-select select {
  min-width: 210px;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  outline: none;
  padding: 10px 34px 10px 12px;
}

.language-select option {
  background: #111711;
  color: var(--text);
}

.language-switcher button {
  min-width: 28px;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  padding: 8px 6px;
  font-size: 11px;
  font-weight: 800;
}

.language-switcher button.active {
  background: var(--blue);
  color: var(--dark-ink);
}

.link-button,
.outline-button,
.text-action {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
}

.outline-button {
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 10px 14px;
}

.workspace {
  display: grid;
  grid-template-columns: 260px minmax(390px, 1.15fr) minmax(380px, 0.85fr);
  height: calc(100vh - 72px);
  min-height: 680px;
}

.filters,
.results-panel {
  overflow: auto;
  background: rgba(16, 20, 17, 0.92);
  border-right: 1px solid var(--line);
}

.filters {
  padding: 16px;
}

.filter-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.filter-card:first-child {
  padding-top: 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  font-weight: 800;
}

label {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

select,
textarea {
  color: var(--ink);
  background-color: #151a16;
  color-scheme: dark;
}

textarea {
  resize: vertical;
  line-height: 1.4;
}

select option {
  color: var(--ink);
  background-color: #151a16;
}

select option:checked {
  color: var(--dark-ink);
  background-color: var(--blue);
}

input:focus,
select:focus,
button:focus-visible {
  outline: 3px solid rgba(191, 247, 71, 0.18);
  outline-offset: 2px;
}

.check-list label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 600;
}

.check-list input {
  width: 16px;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--dark-ink);
}

.map-panel {
  position: relative;
  overflow: hidden;
  background: #151b17;
  border-right: 1px solid var(--line);
}

.map-toolbar {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 27, 23, 0.94);
  box-shadow: var(--shadow);
}

.map-toolbar span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.view-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}

.view-toggle button {
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 11px;
  color: var(--muted);
  font-weight: 700;
}

.view-toggle button.active {
  background: var(--blue);
  color: var(--dark-ink);
}

.results-view-toggle {
  display: none;
  flex: 0 0 auto;
}

.map-zoom {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}

.map-zoom button,
.map-zoom span {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 34px;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-weight: 800;
}

.map-zoom span {
  min-width: 54px;
  color: var(--muted);
  font-size: 12px;
}

.map-zoom button {
  color: var(--blue);
}

.map-zoom button:disabled {
  color: rgba(245, 245, 244, 0.28);
  cursor: not-allowed;
}

.map-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-origin: var(--map-origin-x, 50%) var(--map-origin-y, 50%);
  transition: transform 220ms ease, transform-origin 220ms ease;
  will-change: transform;
  background:
    linear-gradient(90deg, rgba(245, 245, 244, 0.12) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(rgba(245, 245, 244, 0.12) 1px, transparent 1px) 0 0 / 96px 96px,
    radial-gradient(circle at 20% 18%, rgba(191, 247, 71, 0.18) 0 11%, transparent 12%),
    radial-gradient(circle at 82% 66%, rgba(26, 167, 216, 0.18) 0 13%, transparent 14%),
    #151b17;
}

.real-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #132016;
}

.leaflet-container,
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-container {
  overflow: hidden;
  width: 100%;
  height: 100%;
  outline-offset: 1px;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-tile {
  width: 256px;
  height: 256px;
  border: 0;
}

.leaflet-pane {
  z-index: 400;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: auto;
}

.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-top {
  top: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-left {
  left: 0;
}

.real-map.leaflet-container {
  font-family: Arial, Helvetica, sans-serif;
  filter: saturate(0.88) brightness(0.78) contrast(1.08);
}

.leaflet-control-attribution {
  background: rgba(5, 6, 4, 0.7) !important;
  color: rgba(245, 245, 244, 0.78) !important;
}

.leaflet-control-attribution a {
  color: var(--green) !important;
}

.nbh-map-pin {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  rotate: 0deg;
  background: var(--green);
  color: #071006;
  box-shadow: none;
  border: 2px solid rgba(5, 6, 4, 0.78);
  font-weight: 900;
  font-size: 12px;
}

.nbh-map-pin span {
  rotate: 0deg;
}

.nbh-map-pin.active {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(142, 230, 255, 0.28);
}

.nbh-map-cluster {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(7, 16, 6, 0.72);
  border-radius: 50%;
  background: rgba(191, 247, 71, 0.92);
  color: #071006;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 0 8px rgba(191, 247, 71, 0.16);
}

.nbh-user-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #16a7d6;
  border: 3px solid #f5f5f4;
  box-shadow: 0 0 0 9px rgba(22, 167, 214, 0.22), 0 8px 22px rgba(0, 0, 0, 0.45);
}

.nbh-map-popup strong {
  color: #071006;
}

.map-canvas.real-map-active {
  transform: none !important;
  background: #132016;
}

.map-canvas.real-map-active .street,
.map-canvas.real-map-active .district,
.map-canvas.real-map-active .pin,
.map-canvas.real-map-active .search-center-pin,
.map-canvas.real-map-active .search-radius-ring {
  display: none;
}

.street {
  position: absolute;
  background: rgba(245, 245, 244, 0.18);
  box-shadow: 0 0 0 1px rgba(245, 245, 244, 0.12);
}

.street-a {
  width: 140%;
  height: 22px;
  top: 42%;
  left: -15%;
  transform: rotate(-18deg);
}

.street-b {
  width: 24px;
  height: 125%;
  top: -10%;
  left: 46%;
  transform: rotate(12deg);
}

.street-c {
  width: 120%;
  height: 18px;
  top: 69%;
  left: -10%;
  transform: rotate(7deg);
}

.district {
  position: absolute;
  color: rgba(245, 245, 244, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.district-one {
  left: 18%;
  top: 29%;
}

.district-two {
  right: 18%;
  top: 54%;
}

.district-three {
  left: 40%;
  bottom: 18%;
}

.geo-search-active .district-one {
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  color: rgba(191, 247, 71, 0.9);
}

.geo-search-active .district-two {
  right: 12%;
  top: 24%;
  color: rgba(142, 230, 255, 0.82);
}

.geo-search-active .district-three {
  left: 12%;
  bottom: 16%;
  color: rgba(245, 245, 244, 0.82);
}

.geo-search-active {
  background:
    linear-gradient(90deg, rgba(245, 245, 244, 0.12) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(rgba(245, 245, 244, 0.12) 1px, transparent 1px) 0 0 / 96px 96px,
    radial-gradient(circle at 50% 50%, rgba(191, 247, 71, 0.075), transparent 42%),
    #151b17;
}

.geo-search-active .street {
  display: none;
}

.search-radius-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(56vw, 560px);
  height: min(56vw, 560px);
  max-width: 66%;
  max-height: 66%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(191, 247, 71, 0.36);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 247, 71, 0.08), transparent 68%);
  box-shadow: 0 0 42px rgba(191, 247, 71, 0.08);
  pointer-events: none;
}

.search-radius-ring span {
  position: absolute;
  right: 10%;
  top: 13%;
  border: 1px solid rgba(191, 247, 71, 0.32);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(5, 6, 4, 0.76);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.search-center-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  gap: 2px;
  min-width: 150px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(26, 167, 216, 0.5);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(5, 6, 4, 0.84);
  color: var(--ink);
  text-align: center;
  pointer-events: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}

.search-center-pin strong {
  color: #8ee6ff;
  font-size: 12px;
}

.search-center-pin span {
  color: var(--muted);
  font-size: 11px;
}

.pin {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -100%);
  border: 0;
  border-radius: 999px 999px 999px 4px;
  width: 42px;
  height: 42px;
  rotate: -45deg;
  background: #0d110f;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.pin span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 4px;
  rotate: 45deg;
  border-radius: 50%;
  background: var(--blue);
  color: var(--dark-ink);
  font-weight: 800;
  font-size: 12px;
}

.pin.active span {
  background: var(--cyan);
  color: #031017;
}

.results-panel {
  padding: 18px;
}

.results-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

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

h1 {
  margin-bottom: 4px;
  font-size: 22px;
  letter-spacing: 0;
}

.results-header p,
.business-meta,
.detail-muted {
  color: var(--muted);
  font-size: 13px;
}

.business-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 800;
}

.business-contact-line a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  border: 1px solid rgba(142, 230, 255, 0.28);
  border-radius: 999px;
  padding: 5px 9px;
  background: linear-gradient(145deg, rgba(142, 230, 255, 0.16), rgba(191, 247, 71, 0.08));
  color: #8ee6ff;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.business-contact-line a::before {
  content: "TEL";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(142, 230, 255, 0.18);
  color: #c9f5ff;
  font-size: 8px;
  font-weight: 900;
}

.business-contact-line a[href^="mailto:"]::before {
  content: "@";
  font-size: 12px;
}

.results-header select {
  width: 150px;
}

body.list-only .results-view-toggle {
  display: flex;
}

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

.listing-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 13px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.listing-image-wrap {
  position: relative;
  display: block;
  width: 92px;
  height: 84px;
}

.listing-number {
  position: absolute;
  z-index: 2;
  left: -6px;
  top: -6px;
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border: 2px solid rgba(5, 6, 4, 0.72);
  border-radius: 50%;
  background: var(--green);
  color: #071006;
  font-size: 12px;
  font-weight: 900;
}

.listing-card.active .listing-number {
  background: var(--cyan);
}

.listing-card.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(191, 247, 71, 0.18);
}

.listing-image {
  display: grid;
  place-items: center;
  width: 92px;
  height: 84px;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 900;
  overflow: hidden;
}

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

.listing-image.logo-image {
  padding: 8px;
  background: #f7faf0;
  border: 1px solid rgba(191, 247, 71, 0.25);
}

.listing-image.logo-image.logo-dark {
  background: linear-gradient(145deg, #071620, #0c2736);
  border-color: rgba(40, 188, 238, 0.42);
}

.listing-image.logo-image.logo-light {
  background: #f6f8ee;
  border-color: rgba(191, 247, 71, 0.36);
}

.listing-image.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.listing-card h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
}

.stars {
  color: var(--blue);
  letter-spacing: 1px;
  white-space: nowrap;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.listing-actions button {
  border: 1px solid rgba(191, 247, 71, 0.3);
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(191, 247, 71, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.listing-actions a.social-chip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(191, 247, 71, 0.24);
  border-radius: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}

.listing-actions a.social-chip::before {
  display: none;
}

.listing-actions a.social-chip span {
  position: relative;
  z-index: 1;
  text-shadow: none;
}

.social-chip.instagram span {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 5px;
  font-size: 0;
}

.social-chip.instagram span::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.social-chip.instagram span::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.social-chip.facebook span {
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  transform: translateY(1px);
}

.social-chip.youtube span {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
  font-size: 0;
}

.social-chip.tiktok span {
  font-size: 24px;
  transform: rotate(-8deg);
}

.social-chip.linkedin span {
  font-size: 17px;
  letter-spacing: -1px;
}

.social-chip.instagram {
  border-color: rgba(255, 79, 139, 0.55);
  background: rgba(255, 79, 139, 0.12);
  color: #ff7cab;
}

.social-chip.facebook {
  border-color: rgba(106, 168, 255, 0.52);
  background: rgba(24, 119, 242, 0.12);
  color: #7db5ff;
}

.social-chip.tiktok {
  border-color: rgba(37, 244, 238, 0.48);
  background: rgba(37, 244, 238, 0.1);
  color: #8ee6ff;
}

.social-chip.youtube {
  border-color: rgba(255, 100, 100, 0.52);
  background: rgba(255, 0, 0, 0.1);
  color: #ff7b7b;
}

.social-chip.twitter {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fbff;
}

.social-chip.linkedin {
  border-color: rgba(114, 199, 255, 0.5);
  background: rgba(10, 102, 194, 0.12);
  color: #72c7ff;
}

.social-chip.default {
  border-color: rgba(191, 247, 71, 0.38);
  background: rgba(191, 247, 71, 0.08);
  color: var(--blue);
}

.listing-actions button.social-chip.chat-chip {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-color: rgba(142, 230, 255, 0.5);
  border-radius: 10px;
  padding: 0;
  background: rgba(142, 230, 255, 0.1);
  color: #8ee6ff;
  font-size: 0;
}

.chat-chip span {
  position: relative;
  display: block;
  width: 17px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.chat-chip span::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -6px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: #111714;
  transform: skew(-18deg);
}

.badge {
  border-radius: 999px;
  padding: 5px 7px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.badge.book {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.badge.influencer {
  border: 1px solid rgba(26, 167, 216, 0.36);
  background: rgba(26, 167, 216, 0.16);
  color: #8ee6ff;
}

.event-preview {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.event-preview strong {
  color: var(--blue);
}

.event-discovery {
  margin-bottom: 14px;
}

.event-discovery:empty {
  display: none;
}

.event-discovery-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.event-discovery-head h2,
.event-discovery-head p {
  margin: 0;
}

.event-discovery-head h2 {
  font-size: 18px;
}

.event-discovery-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.event-discovery-head span {
  flex: 0 0 auto;
  border: 1px solid rgba(191, 247, 71, 0.24);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(191, 247, 71, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

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

.discover-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(191, 247, 71, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(191, 247, 71, 0.08), rgba(26, 167, 216, 0.05)),
    rgba(255, 255, 255, 0.045);
}

.discover-card span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.discover-card strong {
  font-size: 15px;
}

.discover-card small,
.discover-card p,
.discover-card em {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.discover-card em {
  color: var(--ink);
  font-style: normal;
}

.detail-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(2, 3, 2, 0.7);
  backdrop-filter: blur(10px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 4, 0.96);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

body.detail-open {
  overflow: hidden;
}

body.detail-open .detail-panel {
  display: flex;
}

.detail-sheet {
  width: min(1040px, 100%);
  max-height: min(900px, calc(100vh - 56px));
  overflow: auto;
  border: 1px solid rgba(191, 247, 71, 0.2);
  border-radius: 10px;
  background: rgba(16, 20, 17, 0.98);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.detail-cover {
  position: relative;
  display: grid;
  place-items: end start;
  min-height: 240px;
  padding: 28px;
  color: var(--ink);
  background:
    linear-gradient(20deg, rgba(5, 6, 4, 0.94), rgba(25, 44, 18, 0.72)),
    repeating-linear-gradient(135deg, rgba(191,247,71,0.12) 0 2px, transparent 2px 16px);
}

.detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(5, 6, 4, 0.72);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.detail-cover h2 {
  margin: 0;
  font-size: 36px;
}

.detail-body {
  padding: 26px;
}

.detail-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  margin: 15px 0;
}

.detail-actions a,
.detail-actions button {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}

.info-list {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  font-size: 14px;
}

.info-list strong {
  color: var(--muted);
}

.profile-box {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.profile-box h3 {
  margin: 0 0 12px;
}

.profile-box p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.influencer-box {
  border-color: rgba(26, 167, 216, 0.28);
  background:
    linear-gradient(145deg, rgba(26, 167, 216, 0.1), rgba(191, 247, 71, 0.055)),
    rgba(255, 255, 255, 0.035);
}

.influencer-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.influencer-head h3,
.influencer-head p {
  margin: 0;
}

.influencer-head p {
  margin-top: 6px;
}

.influencer-head a,
.influencer-box a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.influencer-head span {
  flex: 0 0 auto;
  border: 1px solid rgba(26, 167, 216, 0.36);
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(26, 167, 216, 0.16);
  color: #8ee6ff;
  font-size: 12px;
  font-weight: 900;
}

.influencer-deal {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(191, 247, 71, 0.2);
  border-radius: 8px;
  background: rgba(5, 6, 4, 0.32);
  color: var(--ink);
  font-weight: 800;
}

.fact-grid,
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-stack {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.contact-stack a {
  color: #8ee6ff;
  font-weight: 800;
  text-decoration: none;
}

.message-business-box {
  border-color: rgba(142, 230, 255, 0.22);
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.message-grid label,
.consent-line {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.message-grid input,
.message-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

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

.consent-line {
  grid-template-columns: auto 1fr;
  align-items: start;
  margin-top: 10px;
  font-weight: 700;
}

.message-business-box button {
  margin-top: 12px;
  border: 1px solid rgba(191, 247, 71, 0.38);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(191, 247, 71, 0.09);
  color: var(--blue);
  font-weight: 900;
}

.fact-grid span,
.profile-links a {
  border: 1px solid rgba(191, 247, 71, 0.22);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(191, 247, 71, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.digital-card-box {
  border-color: rgba(191, 247, 71, 0.34);
  background: linear-gradient(135deg, rgba(191, 247, 71, 0.07), rgba(26, 167, 216, 0.08)), var(--panel);
}

.digital-card-head,
.digital-card-preview,
.digital-card-required {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.digital-card-head span {
  border: 1px solid rgba(191, 247, 71, 0.4);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.digital-card-preview {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.digital-card-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.digital-card-photo {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #eaf6e2;
  color: #061006;
  font-size: 22px;
  font-weight: 900;
}

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

.digital-card-visual strong,
.digital-card-visual small {
  display: block;
}

.digital-card-visual small {
  margin-top: 5px;
  color: var(--muted);
}

.digital-card-qr {
  width: 122px;
  height: 122px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.digital-card-required {
  align-items: flex-start;
  margin: 12px 0;
  padding: 12px;
  border-radius: 8px;
  background: rgba(191, 247, 71, 0.1);
}

.digital-card-required strong {
  color: var(--green);
}

.digital-card-required a {
  color: var(--blue);
  font-weight: 900;
}

.hours-profile .today-hours {
  color: var(--ink);
}

.holiday-note {
  color: var(--muted);
}

.hours-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.hours-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.hours-list div.today {
  border-color: var(--line-strong);
  background: rgba(191, 247, 71, 0.08);
}

.hours-list span {
  color: var(--muted);
}

.hours-profile h4 {
  margin: 16px 0 10px;
  color: var(--ink);
}

.holiday-list {
  display: grid;
  gap: 8px;
}

.holiday-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
}

.holiday-list span {
  color: var(--muted);
}

.popular-times {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  min-height: 150px;
  align-items: end;
}

.popular-day {
  display: grid;
  gap: 7px;
  text-align: center;
}

.popular-day strong,
.popular-day small {
  color: var(--muted);
  font-size: 12px;
}

.popular-day span {
  position: relative;
  display: block;
  height: 92px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.popular-day i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--blue), rgba(26, 167, 216, 0.8));
}

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

.review-bars div {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.review-bars b {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.review-bars i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.update-list {
  display: grid;
  gap: 10px;
}

.update-list div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.update-list span {
  color: var(--muted);
  font-size: 12px;
}

.update-list a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.venue-tools {
  display: grid;
  gap: 10px;
}

.venue-tool-card,
.event-card {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.venue-tool-card span,
.event-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.venue-tool-card a,
.event-actions a,
.event-actions button {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.event-actions button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.commerce-workflows {
  border-color: rgba(26, 167, 216, 0.26);
  background:
    linear-gradient(145deg, rgba(26, 167, 216, 0.09), rgba(191, 247, 71, 0.055)),
    rgba(255, 255, 255, 0.035);
}

.commerce-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.commerce-head h3,
.commerce-head p {
  margin: 0;
}

.commerce-head p {
  margin-top: 6px;
}

.commerce-head span {
  flex: 0 0 auto;
  border: 1px solid rgba(26, 167, 216, 0.36);
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(26, 167, 216, 0.16);
  color: #8ee6ff;
  font-size: 12px;
  font-weight: 900;
}

.commerce-offer-grid,
.teacher-schedule {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.commerce-offer-card,
.teacher-schedule div {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 6, 4, 0.28);
}

.commerce-offer-card span,
.teacher-schedule span,
.teacher-schedule small {
  color: var(--muted);
  font-size: 12px;
}

.commerce-offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.commerce-offer-card b {
  color: var(--blue);
}

.commerce-offer-card button {
  min-height: 38px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  background: rgba(191, 247, 71, 0.1);
  color: var(--blue);
  font-weight: 900;
}

.subject-strip,
.owner-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.subject-strip span,
.owner-capabilities span {
  border: 1px solid rgba(191, 247, 71, 0.22);
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(191, 247, 71, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.teacher-schedule {
  margin-top: 12px;
}

.owner-tools {
  display: grid;
  gap: 14px;
}

.owner-tools-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.owner-tools-head h3,
.owner-tools-head p {
  margin: 0;
}

.owner-tools-head p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.owner-tools-head span {
  flex: 0 0 auto;
  border: 1px solid rgba(191, 247, 71, 0.24);
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(191, 247, 71, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

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

.owner-tool-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.owner-tool-card strong {
  color: var(--ink);
}

.owner-tool-card label {
  margin: 0;
}

.owner-status-line {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.owner-action {
  min-height: 40px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  background: rgba(191, 247, 71, 0.1);
  color: var(--blue);
  font-weight: 900;
}

.filter-card > .owner-action {
  width: 100%;
  margin: 6px 0 10px;
  padding: 0 12px;
  text-align: center;
}

.owner-tool-card a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.event-list {
  display: grid;
  gap: 10px;
}

.event-card small,
.event-actions em {
  color: var(--muted);
  font-size: 12px;
}

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

.media-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.media-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.media-head h3 {
  margin: 0;
}

.media-head span {
  max-width: 170px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
}

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

.photo-tile {
  position: relative;
  min-height: 132px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(191, 247, 71, 0.18);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(191, 247, 71, 0.18), rgba(26, 167, 216, 0.1)),
    rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.photo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tile.logo-tile {
  align-content: end;
  padding: 0;
  background: #f7faf0;
}

.photo-tile.logo-tile.logo-dark {
  background: linear-gradient(145deg, #071620, #0c2736);
  border-color: rgba(40, 188, 238, 0.42);
}

.photo-tile.logo-tile.logo-light {
  background: #f6f8ee;
  border-color: rgba(191, 247, 71, 0.36);
}

.photo-tile.logo-tile img {
  inset: 14px 12px 34px;
  width: calc(100% - 24px);
  height: calc(100% - 48px);
  object-fit: contain;
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 6, 4, 0.82));
}

.photo-tile.logo-tile::after {
  background: linear-gradient(180deg, transparent 58%, rgba(5, 6, 4, 0.78));
}

.photo-tile span {
  position: relative;
  z-index: 1;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.photo-tile small {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

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

.menu-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-image {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
  overflow: hidden;
}

.menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item strong,
.menu-item small,
.menu-item em {
  display: block;
}

.menu-item small {
  margin-top: 3px;
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.menu-item em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.booking-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

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

.booking-box button {
  min-height: 44px;
  width: 100%;
  border-radius: 7px;
  margin-top: 10px;
}

.review-box {
  margin-top: 16px;
}

.review-item {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 14px;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 340px;
  color: var(--muted);
  text-align: center;
}

.modal {
  border: 0;
  border-radius: 10px;
  padding: 0;
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.terms-panel {
  display: grid;
  gap: 9px;
  margin: 8px 0;
  padding: 12px;
  border: 1px solid rgba(191, 247, 71, 0.2);
  border-radius: 8px;
  background: rgba(191, 247, 71, 0.055);
}

.terms-panel strong {
  color: var(--blue);
}

.terms-panel p,
.terms-panel label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.modal-card {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(460px, 92vw);
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
}

.auth-card {
  width: min(560px, 92vw);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.auth-tabs button,
.google-auth-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.auth-tabs button {
  color: var(--ink);
  font-weight: 900;
  padding: 10px;
}

.auth-tabs button.active {
  background: var(--green);
  color: var(--dark-ink);
}

.mfa-step {
  display: grid;
  gap: 10px;
  padding-top: 8px;
}

.google-auth-box {
  display: grid;
  gap: 8px;
  justify-items: start;
  margin-top: 12px;
  padding: 12px;
}

.modal-card textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.primary-wide {
  min-height: 44px;
  border-radius: 7px;
}

@media (max-width: 1320px) {
  .workspace {
    grid-template-columns: 235px minmax(350px, 1fr) minmax(330px, 0.85fr);
  }
}

@media (max-width: 1120px) {
  .workspace {
    grid-template-columns: 245px minmax(360px, 1fr) minmax(320px, 0.9fr);
  }
}

body.list-only .workspace {
  grid-template-columns: 276px minmax(520px, 1fr);
}

body.list-only .map-panel {
  display: none;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    height: auto;
    gap: 10px;
  }

  .nav-actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .language-switcher {
    overflow-x: auto;
    max-width: 100%;
  }

  .workspace {
    display: block;
    height: auto;
    min-height: 0;
  }

  .filters,
  .results-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .filter-card {
    padding: 0;
    border-bottom: 0;
  }

  .map-panel {
    height: 460px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-panel {
    padding: 16px;
  }

  .detail-cover {
    min-height: 190px;
  }

  .detail-cover h2 {
    font-size: 29px;
  }

  .photo-grid,
  .menu-list,
  .popular-times,
  .owner-tool-grid,
  .commerce-offer-grid,
  .teacher-schedule,
  .event-discovery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 12px;
  }

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

  .searchbar.custom-radius {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 92px 64px auto;
  }

  .searchbar button {
    min-height: 42px;
  }

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

  .map-toolbar,
  .results-header,
  .detail-actions,
  .booking-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

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

  .listing-image-wrap {
    width: 78px;
    height: 78px;
  }

  .listing-image {
    width: 78px;
    height: 78px;
  }

  .detail-panel {
    padding: 8px;
  }

  .detail-sheet {
    max-height: calc(100vh - 16px);
    border-radius: 8px;
  }

  .detail-body {
    padding: 16px;
  }

  .photo-grid,
  .menu-list,
  .detail-actions,
  .digital-card-preview,
  .digital-card-required,
  .popular-times,
  .owner-tool-grid,
  .commerce-offer-grid,
  .teacher-schedule,
  .event-discovery-grid {
    grid-template-columns: 1fr;
  }

  .owner-tools-head,
  .influencer-head,
  .commerce-head,
  .event-discovery-head {
    display: grid;
  }
}
