:root {
  --tz-bg: #f4fff4;
  --tz-surface: #ffffff;
  --tz-surface-2: #f7fcf8;
  --tz-surface-3: #edf7ef;
  --tz-border: #d7f0d7;
  --tz-border-strong: #b8d8bf;
  --tz-text: #123019;
  --tz-muted: #476b50;
  --tz-primary: #2e9b4a;
  --tz-primary-2: #2a8d43;
  --tz-danger: #d64545;
  --tz-shadow-soft: 0 18px 40px rgba(18, 48, 25, 0.08);
  --tz-shadow-strong: 0 24px 60px rgba(18, 48, 25, 0.14);
}

:root[data-theme='dark'] {
  --tz-bg: #08110e;
  --tz-surface: #101a17;
  --tz-surface-2: #14211d;
  --tz-surface-3: #1a2a24;
  --tz-border: #223730;
  --tz-border-strong: #315145;
  --tz-text: #e9f6ef;
  --tz-muted: #9bb9aa;
  --tz-primary: #56c487;
  --tz-primary-2: #7bd9b3;
  --tz-danger: #ff8c8c;
  --tz-shadow-soft: 0 22px 48px rgba(0, 0, 0, 0.28);
  --tz-shadow-strong: 0 28px 70px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  align-items: start;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--tz-text);
  background: var(--tz-bg);
}

body[data-theme='dark'] {
  color-scheme: dark;
  background:
    radial-gradient(circle at top, rgba(58, 124, 97, 0.18), transparent 32%),
    radial-gradient(circle at right, rgba(43, 97, 156, 0.12), transparent 26%),
    linear-gradient(180deg, #09120f 0%, #0c1512 52%, #08110e 100%);
}

body[data-theme='dark'] input,
body[data-theme='dark'] textarea,
body[data-theme='dark'] select {
  background: rgba(16, 27, 23, 0.96);
  color: var(--tz-text);
  border-color: var(--tz-border);
}

body[data-theme='dark'] ::placeholder {
  color: rgba(155, 185, 170, 0.78);
}

body[data-theme='dark'] .tz-app {
  background: transparent;
}

body[data-theme='dark'] .tz-map-surface {
  background: linear-gradient(180deg, rgba(8, 17, 14, 0.52), rgba(8, 17, 14, 0.84));
}

body[data-theme='dark'] .tz-header {
  background: rgba(9, 18, 15, 0.84);
  border-bottom-color: rgba(60, 95, 82, 0.5);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

body[data-theme='dark'] .tz-brand .subtitle,
body[data-theme='dark'] .tz-panel-kicker,
body[data-theme='dark'] .tz-muted,
body[data-theme='dark'] .tz-panel-summary,
body[data-theme='dark'] .tz-dialog-helper,
body[data-theme='dark'] .tz-search-suggestion span,
body[data-theme='dark'] .tz-feed-card-subtitle,
body[data-theme='dark'] .tz-feed-card-meta,
body[data-theme='dark'] .tz-feed-card-time,
body[data-theme='dark'] .tz-inline-stat-card span,
body[data-theme='dark'] .tz-admin-surface-copy,
body[data-theme='dark'] .tz-admin-card-meta,
body[data-theme='dark'] .tz-admin-card-grid strong,
body[data-theme='dark'] .tz-admin-list-item span,
body[data-theme='dark'] .tz-admin-chart-meta span,
body[data-theme='dark'] .tz-admin-report-total span,
body[data-theme='dark'] .tz-admin-report-row-head span,
body[data-theme='dark'] .tz-field-label,
body[data-theme='dark'] .tz-field-help,
body[data-theme='dark'] .tz-image-preview-empty,
body[data-theme='dark'] .tz-active-sale-copy span {
  color: var(--tz-muted);
}

body[data-theme='dark'] .tz-search,
body[data-theme='dark'] .tz-card,
body[data-theme='dark'] .tz-discovery-panel,
body[data-theme='dark'] .tz-panel-section,
body[data-theme='dark'] .tz-inline-stat-card,
body[data-theme='dark'] .tz-inline-biz-card,
body[data-theme='dark'] .tz-admin-stat-card,
body[data-theme='dark'] .tz-admin-surface,
body[data-theme='dark'] .tz-admin-card-item,
body[data-theme='dark'] .tz-admin-list-item,
body[data-theme='dark'] .tz-admin-report-row,
body[data-theme='dark'] .tz-admin-media-card,
body[data-theme='dark'] .tz-category-panel,
body[data-theme='dark'] .tz-search-suggestion,
body[data-theme='dark'] .swal2-popup.tz-popup,
body[data-theme='dark'] .select2-dropdown,
body[data-theme='dark'] .select2-container--default .select2-selection--multiple,
body[data-theme='dark'] .select2-container--default .select2-selection--single {
  background: linear-gradient(180deg, rgba(20, 33, 29, 0.96), rgba(13, 24, 21, 0.98)) !important;
  color: var(--tz-text) !important;
  border-color: var(--tz-border) !important;
  box-shadow: var(--tz-shadow-soft);
}

body[data-theme='dark'] .tz-panel-tabs,
body[data-theme='dark'] .tz-topbar,
body[data-theme='dark'] .tz-admin-overview-list div,
body[data-theme='dark'] .tz-table th,
body[data-theme='dark'] .tz-table td {
  border-color: rgba(49, 81, 69, 0.72);
}

body[data-theme='dark'] .tz-panel-tabs {
  background: rgba(13, 24, 21, 0.96);
}

body[data-theme='dark'] .tz-popup.tz-popup .tz-account-tabs,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-biz-top-tabs {
  background: transparent !important;
}

body[data-theme='dark'] .tz-panel-tab,
body[data-theme='dark'] .tz-filter-chip,
body[data-theme='dark'] .tz-category-toggle,
body[data-theme='dark'] .tz-btn,
body[data-theme='dark'] .tz-search-btn-secondary,
body[data-theme='dark'] .tz-filter-toggle,
body[data-theme='dark'] .tz-notification-cell,
body[data-theme='dark'] .tz-account-note,
body[data-theme='dark'] .tz-admin-tab,
body[data-theme='dark'] .tz-admin-list-pill,
body[data-theme='dark'] .tz-admin-status-chip,
body[data-theme='dark'] .tz-feed-pill,
body[data-theme='dark'] .tz-search-pill,
body[data-theme='dark'] .tz-feed-verified {
  border-color: rgba(56, 91, 77, 0.82);
}

body[data-theme='dark'] .tz-panel-tab,
body[data-theme='dark'] .tz-filter-chip,
body[data-theme='dark'] .tz-category-toggle,
body[data-theme='dark'] .tz-btn,
body[data-theme='dark'] .tz-search-btn-secondary,
body[data-theme='dark'] .tz-filter-toggle,
body[data-theme='dark'] .tz-notification-cell,
body[data-theme='dark'] .tz-account-note,
body[data-theme='dark'] .tz-admin-tab,
body[data-theme='dark'] .tz-admin-list-pill,
body[data-theme='dark'] .tz-admin-status-chip,
body[data-theme='dark'] .tz-feed-pill,
body[data-theme='dark'] .tz-search-pill,
body[data-theme='dark'] .tz-feed-verified,
body[data-theme='dark'] .tz-panel-empty,
body[data-theme='dark'] .tz-review-card,
body[data-theme='dark'] .tz-biz-empty,
body[data-theme='dark'] .tz-info-dot,
body[data-theme='dark'] .tz-admin-report-total,
body[data-theme='dark'] .tz-admin-media-preview,
body[data-theme='dark'] .tz-admin-chart-track,
body[data-theme='dark'] .tz-image-preview,
body[data-theme='dark'] .tz-active-sale-card,
body[data-theme='dark'] .tz-category-option {
  background: rgba(26, 42, 36, 0.9);
  color: var(--tz-text);
}

body[data-theme='dark'] .tz-btn:hover,
body[data-theme='dark'] .tz-panel-tab:hover,
body[data-theme='dark'] .tz-filter-chip:hover,
body[data-theme='dark'] .tz-category-toggle:hover,
body[data-theme='dark'] .tz-search-btn-secondary:hover,
body[data-theme='dark'] .tz-admin-tab:hover,
body[data-theme='dark'] .tz-category-option:hover,
body[data-theme='dark'] .tz-search-suggestion:hover {
  border-color: var(--tz-border-strong);
  background: rgba(30, 48, 41, 0.98) !important;
}

body[data-theme='dark'] .tz-map-locate-control .tz-map-control-btn,
body[data-theme='dark'] .tz-marker-cluster {
  border-color: rgba(56, 91, 77, 0.82);
}

body[data-theme='dark'] .tz-marker-cluster {
  background: linear-gradient(180deg, rgba(20, 33, 29, 0.98), rgba(14, 24, 21, 0.98));
  color: var(--tz-text);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

body[data-theme='dark'] .tz-panel-tab.is-active,
body[data-theme='dark'] .tz-filter-chip.is-active,
body[data-theme='dark'] .tz-category-option.is-selected,
body[data-theme='dark'] .tz-admin-tab.is-active {
  background: linear-gradient(135deg, rgba(56, 150, 106, 0.34), rgba(44, 98, 158, 0.28));
  border-color: rgba(99, 191, 150, 0.44);
  color: #f3fffa;
}

body[data-theme='dark'] .tz-btn-primary,
body[data-theme='dark'] .tz-search-btn,
body[data-theme='dark'] .tz-admin-chart-track span {
  background: linear-gradient(135deg, #2d9f73, #3476b4);
  color: #f7fffb;
  border-color: transparent;
}

body[data-theme='dark'] .tz-info-dot {
  color: #dff9ee;
  border-color: rgba(99, 191, 150, 0.38);
  box-shadow: 0 10px 22px rgba(4, 10, 9, 0.26);
}

body[data-theme='dark'] #tzSearchForm {
  background: transparent !important;
  box-shadow: none;
}

body[data-theme='dark'] .tz-search-input,
body[data-theme='dark'] .tz-input,
body[data-theme='dark'] .tz-textarea,
body[data-theme='dark'] .swal2-input,
body[data-theme='dark'] .swal2-textarea,
body[data-theme='dark'] .tz-color-picker,
body[data-theme='dark'] .tz-file-input {
  background: rgba(13, 25, 21, 0.98) !important;
  border-color: rgba(49, 81, 69, 0.82) !important;
  color: var(--tz-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme='dark'] .tz-search-input:focus,
body[data-theme='dark'] .tz-input:focus,
body[data-theme='dark'] .tz-textarea:focus,
body[data-theme='dark'] .swal2-input:focus,
body[data-theme='dark'] .swal2-textarea:focus,
body[data-theme='dark'] .tz-color-picker:focus,
body[data-theme='dark'] .tz-file-input:focus,
body[data-theme='dark'] .tz-admin-tag-toggle:focus,
body[data-theme='dark'] .tz-biz-tag-toggle:focus {
  border-color: rgba(99, 191, 150, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(86, 196, 135, 0.18) !important;
}

body[data-theme='dark'] .tz-search-result-avatar,
body[data-theme='dark'] .tz-feed-card-avatar,
body[data-theme='dark'] .tz-admin-card-media {
  background: linear-gradient(135deg, rgba(45, 159, 115, 0.18), rgba(52, 118, 180, 0.22));
  border-color: rgba(86, 196, 135, 0.18);
  color: #9fe4c2;
}

body[data-theme='dark'] .tz-feed-card,
body[data-theme='dark'] .tz-inline-biz-card,
body[data-theme='dark'] .tz-admin-business-card {
  background: linear-gradient(180deg, rgba(20, 33, 29, 0.98), rgba(14, 24, 21, 0.98));
  border-color: rgba(44, 72, 61, 0.8);
  box-shadow: var(--tz-shadow-soft);
}

body[data-theme='dark'] .tz-feed-card.is-active {
  border-color: rgba(99, 191, 150, 0.44);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

body[data-theme='dark'] .tz-feed-pill,
body[data-theme='dark'] .tz-search-pill,
body[data-theme='dark'] .tz-admin-list-pill,
body[data-theme='dark'] .tz-admin-status-chip,
body[data-theme='dark'] .tz-feed-verified {
  background: rgba(64, 171, 255, 0.18);
  color: #b7e5ff;
}

body[data-theme='dark'] .tz-feed-pill-kind.is-sale {
  background: rgba(209, 121, 53, 0.18);
  color: #ffc694;
}

body[data-theme='dark'] .tz-inline-biz-address,
body[data-theme='dark'] .tz-feed-card-link,
body[data-theme='dark'] .tz-inline-link,
body[data-theme='dark'] .tz-search-more {
  color: #8fdab8;
}

body[data-theme='dark'] .tz-panel-empty,
body[data-theme='dark'] .tz-admin-report-total,
body[data-theme='dark'] .tz-admin-media-card,
body[data-theme='dark'] .tz-image-preview,
body[data-theme='dark'] .tz-active-sale-card {
  border-color: rgba(49, 81, 69, 0.72);
}

body[data-theme='dark'] .tz-admin-hero {
  background:
    radial-gradient(circle at top right, rgba(86, 196, 135, 0.2), transparent 34%),
    linear-gradient(135deg, #10261c 0%, #173827 46%, #173b54 100%);
  box-shadow: var(--tz-shadow-strong);
}

body[data-theme='dark'] .tz-admin-hero-metric {
  background: rgba(8, 15, 13, 0.32);
  border-color: rgba(255, 255, 255, 0.1);
}

body[data-theme='dark'] .tz-admin-stat-card strong,
body[data-theme='dark'] .tz-admin-surface-head h2,
body[data-theme='dark'] .tz-admin-list-item strong,
body[data-theme='dark'] .tz-admin-chart-meta strong,
body[data-theme='dark'] .tz-admin-card-grid span,
body[data-theme='dark'] .tz-admin-report-total strong,
body[data-theme='dark'] .tz-admin-report-row strong,
body[data-theme='dark'] .tz-admin-card-top h3,
body[data-theme='dark'] .tz-table {
  color: var(--tz-text);
}

body[data-theme='dark'] .tz-admin-report-row-head {
  background: transparent;
}

body[data-theme='dark'] .tz-popup {
  background: linear-gradient(180deg, rgba(17, 28, 24, 0.98), rgba(12, 22, 18, 0.99)) !important;
  box-shadow: var(--tz-shadow-strong) !important;
}

body[data-theme='dark'] .tz-popup .swal2-title,
body[data-theme='dark'] .tz-popup .swal2-html-container {
  color: var(--tz-text) !important;
}

body[data-theme='dark'] .tz-popup.tz-popup-biz-themed {
  background:
    linear-gradient(180deg, rgba(18, 29, 25, 0.98), rgba(11, 20, 17, 0.99)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.02), transparent 32%) !important;
}

body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-btn:hover {
  background: rgba(26, 42, 36, 0.96);
}

body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-sale-kind-option,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-biz-tag-toggle,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-biz-tag-panel,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-biz-tag-option,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-panel-tab,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-inline-stat-card,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-panel-summary,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-image-preview,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-active-sale-card,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-biz-empty,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-info-dot,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-input,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-textarea,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .swal2-input,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .swal2-textarea,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-color-picker,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-file-input,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .select2-container--default .select2-selection--multiple {
  background: rgba(16, 27, 23, 0.96) !important;
  color: var(--tz-text) !important;
}

body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-sale-kind-option.is-active,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-biz-tag-option.is-selected,
body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-panel-tab.is-active {
  color: #f5fffa !important;
}

body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-panel-tab {
  border-color: rgba(56, 91, 77, 0.82);
}

body[data-theme='dark'] .tz-file-input::file-selector-button {
  background: rgba(28, 46, 39, 0.98);
  color: var(--tz-text);
}

body[data-theme='dark'] .leaflet-control-zoom a,
body[data-theme='dark'] .leaflet-bar a {
  background-color: rgba(15, 27, 23, 0.94);
  color: var(--tz-text);
  border-bottom-color: var(--tz-border);
}

body[data-theme='dark'] .leaflet-control-attribution {
  background: rgba(9, 18, 15, 0.72);
  color: var(--tz-muted);
}

body[data-theme='dark'] .tz-map-toggle {
  background: transparent;
  border-color: transparent;
  color: var(--tz-text);
}

body[data-theme='dark'] .tz-map-toggle-handle {
  background: rgba(156, 187, 172, 0.72);
}

.tz-theme-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  min-width: 88px;
  height: 46px;
  padding: 4px;
  border: 1px solid var(--tz-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tz-muted);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  appearance: none;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 60ms ease;
}

.tz-theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.tz-theme-toggle-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.tz-theme-toggle-option svg {
  width: 18px;
  height: 18px;
  display: block;
}

.tz-theme-toggle[data-theme-mode='light'] .tz-theme-toggle-option-sun,
.tz-theme-toggle[data-theme-mode='dark'] .tz-theme-toggle-option-moon {
  background: linear-gradient(135deg, var(--tz-primary), var(--tz-primary-2));
  color: #fff;
  box-shadow: 0 10px 18px rgba(46, 155, 74, 0.22);
}

.tz-theme-toggle[data-theme-mode='light'] .tz-theme-toggle-option-moon,
.tz-theme-toggle[data-theme-mode='dark'] .tz-theme-toggle-option-sun {
  background: transparent;
  color: var(--tz-muted);
}

.tz-business-media {
  transition: filter 160ms ease;
}

.tz-pin.is-dimmed {
  filter: grayscale(1) saturate(0.12);
  opacity: 0.34;
}

body[data-theme='dark'] .tz-admin-business-form .tz-tag-option {
  background: rgba(16, 27, 23, 0.96);
  border-color: rgba(56, 91, 77, 0.82);
  color: var(--tz-text);
}

body[data-theme='dark'] .tz-tag-option,
body[data-theme='dark'] .tz-terms-check,
body[data-theme='dark'] .tz-notification-cell {
  background: rgba(16, 27, 23, 0.96);
  border-color: rgba(56, 91, 77, 0.82);
  color: var(--tz-text);
}

body[data-theme='dark'] input[type='checkbox'],
body[data-theme='dark'] input[type='radio'] {
  color-scheme: dark;
}

body[data-theme='dark'] .tz-theme-toggle {
  background: rgba(17, 31, 26, 0.92);
  border-color: rgba(56, 91, 77, 0.82);
  color: var(--tz-muted);
}

html.swal2-shown,
body.swal2-shown,
body.swal2-height-auto {
  height: 100% !important;
}

.tz-field-group {
  display: grid;
  gap: 6px;
}

.tz-field-label {
  font-size: 12px;
  color: var(--tz-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tz-biz-tag-field {
  margin-top: 10px;
}

.tz-color-picker {
  width: 100%;
  height: 46px;
  min-height: 46px;
  border: 1px solid var(--tz-biz-accent-border, var(--tz-border));
  border-radius: 12px;
  padding: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.tz-file-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 6px;
  border: 1px solid var(--tz-biz-accent-border, var(--tz-border));
  border-radius: 12px;
  background: #fff;
}

.tz-file-input::file-selector-button {
  margin-right: 12px;
  padding: 9px 14px;
  border: 1px solid var(--tz-biz-accent-border, var(--tz-border));
  border-radius: 10px;
  background: var(--tz-biz-accent-soft, rgba(46, 155, 74, 0.06));
  color: var(--tz-biz-accent-strong, var(--tz-text));
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tz-upload-row {
  display: grid;
  align-items: start;
}

.tz-upload-row .tz-field-group {
  gap: 10px;
  align-items: center;
}

.tz-image-preview {
  min-height: 152px;
  border: 1px dashed var(--tz-biz-accent-border, var(--tz-border));
  border-radius: 14px;
  background: var(--tz-biz-accent-soft, rgba(46, 155, 74, 0.06));
  display: grid;
  cursor: pointer;
  place-items: center;
  overflow: hidden;
  padding: 10px;
}

.tz-image-preview img {
  width: 100%;
  height: 100%;
  max-height: 130px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.tz-image-preview-empty {
  padding: 14px;
  text-align: center;
  color: var(--tz-muted);
  font-size: 13px;
}

.tz-active-sales-list {
  display: grid;
  gap: 10px;
}

.tz-active-sale-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--tz-biz-accent-border, var(--tz-border));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.tz-active-sale-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tz-active-sale-copy strong {
  font-size: 14px;
}

.tz-active-sale-copy span {
  font-size: 12px;
  color: var(--tz-muted);
}

.tz-biz-subs-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tz-biz-subs-search {
  flex: 1 1 160px;
  min-width: 0;
}

.tz-biz-subs-selectall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--tz-muted);
  cursor: pointer;
  white-space: nowrap;
}

.tz-biz-subs-selectall input,
.tz-biz-sub-check {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: var(--tz-biz-accent-strong, var(--tz-accent));
  cursor: pointer;
}

.tz-biz-subs-list {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  padding: 2px;
}

.tz-biz-sub-row {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--tz-biz-accent-border, var(--tz-border));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.tz-biz-sub-row[hidden] {
  display: none;
}

.tz-biz-sub-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  cursor: pointer;
}

.tz-biz-sub-name {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tz-biz-sub-note {
  font-size: 13px;
}

.tz-popup.tz-popup-biz-themed .tz-biz-sub-row {
  border-color: var(--tz-biz-accent-border);
  background: rgba(255, 255, 255, 0.98);
}

body[data-theme='dark'] .tz-popup.tz-popup-biz-themed .tz-biz-sub-row {
  border-color: rgba(56, 91, 77, 0.82);
  background: rgba(16, 27, 23, 0.96);
}

.tz-app {
  height: 100vh;
  min-height: 100vh;
  position: relative;
}

.tz-app-boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(114, 205, 145, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(247, 252, 248, 0.98), rgba(238, 247, 240, 0.98));
  transition: opacity 220ms ease, visibility 220ms ease;
}

.tz-app-boot-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.tz-app-boot-logo {
  width: min(132px, 32vw);
  height: auto;
}

.tz-app-boot-copy {
  display: grid;
  gap: 8px;
}

.tz-app-boot-title {
  font-size: clamp(34px, 9vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.tz-app-boot-subtitle {
  max-width: 320px;
  color: #476b50;
  font-size: 14px;
  line-height: 1.35;
}

body.tz-app-ready .tz-app-boot-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body[data-theme='dark'] .tz-app-boot-overlay {
  background:
    radial-gradient(circle at top, rgba(86, 196, 135, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(11, 19, 16, 0.98), rgba(13, 24, 21, 0.985));
}

body[data-theme='dark'] .tz-app-boot-subtitle {
  color: #9bb9aa;
}

#map {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  min-height: 240px;
  z-index: 0;
  transition: filter 120ms ease;
}

.tz-header {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--tz-border);
  padding: 12px 14px;
}

.tz-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Map blur when popups are open */
body.tz-blur #map {
  filter: blur(3px);
}

/* Mobile perf: blur/backdrop-filter can be expensive on some phones */
@media (max-width: 640px) {
  .tz-header { backdrop-filter: none; }
  body.tz-blur #map { filter: none; }

  .tz-app-boot-overlay {
    padding: 20px;
  }
}

/* Keep map visible (lighter backdrop than default) */
.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-backdrop-hide {
  background: transparent !important;
  z-index: 4000 !important;
}

/* Custom business pin marker */
.tz-div-icon {
  background: transparent;
  border: none;
}

.tz-user-location-icon {
  background: transparent;
  border: none;
}

.tz-user-location-marker {
  position: relative;
  width: 132px;
  height: 42px;
}

.tz-user-location-pulse {
  position: absolute;
  left: 9px;
  top: 9px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(46, 155, 74, 0.28);
  animation: tz-user-pulse 1.8s ease-out infinite;
}

.tz-map-locate-control {
  margin: 14px 14px 0 0;
}

.tz-map-locate-control .tz-map-control-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(18, 48, 25, 0.16);
}

.tz-marker-cluster-icon {
  background: transparent;
  border: 0;
}

.tz-marker-cluster {
  width: 48px;
  height: 48px;
  border-radius: 999px 999px 999px 8px;
  border: 2px solid rgba(46, 155, 74, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 249, 239, 0.98));
  color: var(--tz-text);
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 14px 24px rgba(18, 48, 25, 0.14);
}

.tz-marker-cluster.is-medium {
  width: 54px;
  height: 54px;
}

.tz-marker-cluster.is-large {
  width: 60px;
  height: 60px;
}

.tz-marker-cluster-count {
  font-size: 14px;
  line-height: 1;
}

.tz-app {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.tz-header {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  bottom: auto;
  background: rgba(255, 255, 255, 0.96);
  border-top: 0;
  border-bottom: 1px solid var(--tz-border);
  padding: 14px 18px 12px;
}

.tz-header-inner {
  max-width: 1360px;
  display: grid;
  gap: 14px;
}

.tz-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tz-header-filters {
  display: flex;
  justify-content: center;
}

.tz-filter-strip {
  width: 100%;
  max-width: 1360px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tz-filter-chip {
  border: 1px solid var(--tz-border);
  border-radius: 14px;
  background: rgba(46, 155, 74, 0.06);
  color: var(--tz-muted);
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.tz-filter-chip.is-active {
  background: var(--tz-primary);
  border-color: var(--tz-primary);
  color: #fff;
}

.tz-shell {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
}

.tz-map-surface {
  position: relative;
  min-height: 0;
  background: linear-gradient(180deg, rgba(244, 255, 244, 0.45), rgba(244, 255, 244, 0.9));
}

#map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.tz-discovery-panel {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid var(--tz-border);
  min-height: 0;
}

.tz-map-toggle {
  display: none;
  justify-self: center;
  margin: 10px 0 0;
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--tz-text);
  padding: 6px 0;
  font: inherit;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
}

.tz-map-toggle-handle {
  display: inline-block;
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(72, 98, 84, 0.34);
}

.tz-panel-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--tz-border);
}

.tz-panel-tab {
  border: 1px solid var(--tz-border);
  border-radius: 12px;
  background: #fff;
  color: var(--tz-muted);
  padding: 10px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tz-panel-tab.is-active {
  background: rgba(46, 155, 74, 0.1);
  color: var(--tz-primary-2);
  border-color: rgba(46, 155, 74, 0.24);
}

.tz-panel-section {
  min-height: 0;
  overflow: auto;
  padding: 18px 16px 22px;
}

.tz-discovery-type-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 12px;
}

.tz-discovery-type-tabs[hidden] {
  display: none !important;
}

.tz-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tz-panel-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tz-muted);
}

.tz-panel-title {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.15;
}

.tz-panel-summary {
  margin-bottom: 14px;
  color: var(--tz-muted);
  font-size: 14px;
}

.tz-feed-list {
  display: grid;
  gap: 12px;
}

.tz-feed-card {
  border: 1px solid var(--tz-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, rgba(244, 255, 244, 0.9));
  padding: 14px;
  display: grid;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 18px 32px rgba(18, 48, 25, 0.06);
}

.tz-feed-card.is-active {
  border-color: rgba(46, 155, 74, 0.44);
  box-shadow: 0 20px 34px rgba(46, 155, 74, 0.16);
}

.tz-feed-card-skeleton {
  cursor: default;
}

.tz-feed-card-skeleton .tz-feed-card-actions,
.tz-feed-card-skeleton .tz-feed-pill-row {
  pointer-events: none;
}

.tz-feed-card-copy-skeleton {
  width: 100%;
}

.tz-feed-card-avatar-skeleton {
  background: transparent;
}

.tz-feed-card-tags-skeleton,
.tz-feed-pill-row-skeleton {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tz-skeleton-block,
.tz-skeleton-line,
.tz-skeleton-pill,
.tz-skeleton-button {
  position: relative;
  overflow: hidden;
  background: rgba(46, 155, 74, 0.1);
}

.tz-skeleton-block::after,
.tz-skeleton-line::after,
.tz-skeleton-pill::after,
.tz-skeleton-button::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: tz-skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes tz-skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.tz-skeleton-line {
  display: block;
  height: 12px;
  border-radius: 999px;
}

.tz-skeleton-line-summary {
  width: min(280px, 78%);
  height: 14px;
}

.tz-skeleton-line-title {
  width: min(220px, 84%);
  height: 16px;
}

.tz-skeleton-line-subtitle {
  width: min(260px, 96%);
}

.tz-skeleton-line-meta {
  width: min(120px, 44%);
}

.tz-skeleton-pill {
  display: inline-flex;
  height: 28px;
  width: 82px;
  border-radius: 999px;
}

.tz-skeleton-pill-medium {
  width: 96px;
}

.tz-skeleton-pill-wide {
  width: 118px;
}

.tz-skeleton-button {
  display: inline-flex;
  width: 78px;
  height: 38px;
  border-radius: 14px;
}

.tz-panel-summary[data-tz-skeleton='1'] {
  margin-bottom: 14px;
}

body[data-theme='dark'] .tz-skeleton-block,
body[data-theme='dark'] .tz-skeleton-line,
body[data-theme='dark'] .tz-skeleton-pill,
body[data-theme='dark'] .tz-skeleton-button {
  background: rgba(156, 187, 172, 0.14);
}

body[data-theme='dark'] .tz-skeleton-block::after,
body[data-theme='dark'] .tz-skeleton-line::after,
body[data-theme='dark'] .tz-skeleton-pill::after,
body[data-theme='dark'] .tz-skeleton-button::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.tz-feed-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.tz-feed-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(46, 155, 74, 0.12);
  display: grid;
  place-items: center;
  flex: none;
}

.tz-feed-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tz-feed-card-fallback {
  font-size: 18px;
  font-weight: 800;
  color: var(--tz-primary-2);
}

.tz-feed-card-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.tz-feed-card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tz-feed-card-title {
  font-size: 16px;
  font-weight: 800;
}

.tz-feed-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(64, 171, 255, 0.14);
  color: #1779c6;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.tz-verified-badge {
  gap: 6px;
  padding: 4px 9px 4px 6px;
}

.tz-verified-badge-mark {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #63c8ff, #218fdf);
  color: #f5fbff;
  font-size: 10px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.tz-verified-badge-label {
  line-height: 1;
}

.tz-feed-card-subtitle,
.tz-feed-card-meta,
.tz-feed-card-time {
  color: var(--tz-muted);
  font-size: 13px;
}

.tz-feed-card-message {
  font-size: 14px;
  line-height: 1.45;
}

.tz-feed-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.tz-feed-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
}

.tz-feed-card-link {
  border: none;
  background: transparent;
  color: var(--tz-primary-2);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.tz-feed-card-link:hover {
  text-decoration: underline;
}

.tz-feed-card-link-danger {
  color: var(--tz-danger);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: left;
}

.tz-feed-card-actions .tz-btn {
  margin-left: auto;
}

.tz-feed-pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tz-feed-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18, 48, 25, 0.06);
  color: var(--tz-text);
  font-size: 12px;
  font-weight: 700;
}

.tz-feed-pill-kind.is-post {
  background: rgba(46, 155, 74, 0.12);
  color: var(--tz-primary-2);
}

.tz-feed-pill-kind.is-sale {
  background: rgba(201, 94, 34, 0.14);
  color: #9a4a17;
}

.tz-panel-empty {
  padding: 18px;
  border: 1px dashed var(--tz-border);
  border-radius: 16px;
  color: var(--tz-muted);
  background: rgba(46, 155, 74, 0.04);
}

.tz-business-panel-empty {
  display: grid;
  gap: 12px;
}

.tz-inline-biz {
  display: grid;
  gap: 16px;
}

.tz-inline-biz-header {
  display: grid;
  gap: 6px;
}

.tz-inline-biz-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 220px;
  background: linear-gradient(140deg, rgba(46, 155, 74, 0.16), rgba(18, 48, 25, 0.08));
}

.tz-inline-biz-hero img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.tz-inline-biz-hero-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px;
  background: linear-gradient(180deg, rgba(18, 48, 25, 0), rgba(18, 48, 25, 0.82));
  color: #fff;
  display: grid;
  gap: 8px;
}

.tz-inline-biz-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tz-inline-biz-title {
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
}

.tz-inline-biz-address {
  color: var(--tz-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  width: fit-content;
}

.tz-inline-biz-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tz-inline-biz-link-row .tz-inline-biz-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.tz-inline-biz-link-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.tz-inline-biz-icon-btn {
  margin-left: auto;
  border: 1px solid var(--tz-border);
  border-radius: 999px;
  background: var(--tz-surface, rgba(255, 255, 255, 0.7));
  color: var(--tz-text);
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  padding: 0;
}

.tz-inline-biz-icon-btn svg {
  width: 15px;
  height: 15px;
}

.tz-inline-biz-icon-btn:hover {
  border-color: var(--tz-primary);
  color: var(--tz-primary);
}

.tz-inline-biz-share-btn {
  width: 34px;
  height: 34px;
}

.tz-inline-biz-share-btn svg {
  width: 17px;
  height: 17px;
}

body[data-theme='dark'] .tz-inline-biz-icon-btn {
  background: rgba(255, 255, 255, 0.06);
}

.tz-report-link {
  background: none;
  border: none;
  padding: 0;
  width: fit-content;
  justify-self: start;
  color: #c0392b;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

body[data-theme='dark'] .tz-report-link {
  color: #ff8d7a;
}

.tz-admin-report-block {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(192, 57, 43, 0.35);
  border-radius: 14px;
  background: rgba(192, 57, 43, 0.06);
  padding: 10px 12px;
  margin: 10px 0;
}

.tz-admin-report-heading {
  color: #c0392b;
  font-size: 13px;
}

.tz-admin-report-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(192, 57, 43, 0.18);
  padding-top: 8px;
}

.tz-admin-report-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.tz-admin-report-reason {
  font-size: 13px;
}

.tz-admin-report-meta {
  font-size: 12px;
  opacity: 0.7;
}

.tz-admin-report-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

body[data-theme='dark'] .tz-admin-report-block {
  border-color: rgba(255, 141, 122, 0.35);
  background: rgba(255, 141, 122, 0.08);
}

body[data-theme='dark'] .tz-admin-report-heading {
  color: #ff8d7a;
}

.tz-inline-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tz-inline-hero-stat {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
}

.tz-inline-hero-stat strong {
  font-size: 13px;
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tz-inline-hero-stat-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  flex: 0 0 auto;
}

.tz-inline-hero-stat-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.tz-inline-biz-meta-grid {
  display: grid;
  gap: 12px;
}

.tz-inline-biz-card {
  border: 1px solid var(--tz-border);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.tz-inline-biz-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.tz-inline-biz-actions .tz-btn {
  width: 100%;
}

.tz-inline-review-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  cursor: grab;
  user-select: none;
}

.tz-inline-review-list.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.tz-inline-review-list .tz-review-card {
  min-width: 0;
  scroll-snap-align: start;
}

.tz-inline-review-carousel {
  display: block;
}

.tz-inline-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.tz-inline-carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(46, 155, 74, 0.22);
  padding: 0;
  cursor: pointer;
}

.tz-inline-carousel-dot.is-active {
  background: var(--tz-primary);
}

.tz-inline-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tz-inline-stat-card {
  border: 1px solid var(--tz-border);
  border-radius: 16px;
  background: rgba(46, 155, 74, 0.05);
  padding: 12px;
  display: grid;
  gap: 6px;
}

.tz-inline-stat-card strong {
  font-size: 22px;
  line-height: 1;
}

.tz-inline-stat-card span {
  color: var(--tz-muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .tz-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .tz-discovery-panel {
    border-left: 0;
    border-top: 1px solid var(--tz-border);
    max-height: 52vh;
  }
}

@media (max-width: 780px) {
  .tz-header {
    padding: 12px;
  }

  .tz-header-main {
    flex-wrap: wrap;
  }

  .tz-search {
    width: 100%;
  }

  .tz-actions {
    width: 100%;
  }

  .tz-inline-analytics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tz-inline-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

.tz-user-location-pin {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--tz-primary);
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(18, 48, 25, 0.22);
}

.tz-user-location-label {
  position: absolute;
  left: 34px;
  top: 0;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--tz-border);
  color: var(--tz-text);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(18, 48, 25, 0.12);
  white-space: nowrap;
}

body[data-theme='dark'] .tz-user-location-pin {
  background: #72f0b1;
  border-color: rgba(10, 18, 15, 0.92);
  box-shadow: 0 0 0 4px rgba(114, 240, 177, 0.18), 0 12px 28px rgba(4, 10, 9, 0.34);
}

body[data-theme='dark'] .tz-user-location-label {
  background: rgba(13, 24, 21, 0.96);
  border-color: rgba(99, 191, 150, 0.3);
  color: #effff7;
  box-shadow: 0 14px 28px rgba(4, 10, 9, 0.34);
}

@keyframes tz-user-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  70% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.tz-pin {
  --tz-pin-color: var(--tz-primary);
  position: relative;
  width: 44px;
  height: 54px;
}

.tz-pin::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 4px;
  width: 36px;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--tz-pin-color);
  border: 2px solid rgba(255, 255, 255, 0.95);
}

.tz-pin::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 32px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 18px solid var(--tz-pin-color);
}

.tz-pin-head {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.tz-pin {
  transition: opacity 160ms ease, filter 160ms ease;
}

.tz-pin-live-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.tz-pin-live-badge {
  position: absolute;
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 12px rgba(18, 48, 25, 0.18);
}

.tz-pin-live-badge.is-verified {
  left: 50%;
  top: -2px;
  transform: translateX(-50%);
}

.tz-pin-live-badge.is-post {
  left: -1px;
  top: 12px;
  background: #2e9b4a;
}

.tz-pin-live-badge.is-verified {
  background: linear-gradient(180deg, #63c8ff, #218fdf);
}

.tz-pin-live-badge.is-sale {
  right: -1px;
  top: 12px;
  background: #c95e22;
}

.tz-pin-head img,
.tz-map-pin-icon,
.leaflet-container .leaflet-marker-pane .tz-map-pin-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding:2px !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

body[data-theme='dark'] .tz-pin-head img,
body[data-theme='dark'] .tz-map-pin-icon,
body[data-theme='dark'] .leaflet-container .leaflet-marker-pane .tz-map-pin-icon,
body[data-theme='light'] .tz-map-pin-icon,
body[data-theme='light'] .leaflet-container .leaflet-marker-pane .tz-map-pin-icon {
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

.tz-sale {
  border: 1px solid var(--tz-border);
  background: rgba(244, 255, 244, 0.7);
  border-radius: 12px;
  padding: 10px;
}

.tz-sale-title {
  font-weight: 900;
  margin-bottom: 4px;
}

.tz-sale-timer {
  font-weight: 800;
  color: var(--tz-primary);
}

.tz-pin-head .tz-pin-fallback {
  font-weight: 900;
  color: #000;
  font-size: 12px;
  line-height: 1;
}

.tz-pin.is-dimmed {
  filter: grayscale(1) saturate(0.12);
  opacity: 0.34;
  cursor: help;
}

.tz-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
}

.tz-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tz-brand-mark {
  width: 68px;
  height: 68px;
  object-fit: contain;
  display: block;
}

.tz-brand-admin {
  align-items: center;
}

.tz-brand-mark-admin {
  width: 52px;
  height: 52px;
}

.tz-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 320px;
  max-width: 430px;
}

.tz-search-input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 1px solid var(--tz-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--tz-text);
  padding: 0 14px;
  font-size: 14px;
  outline: none;
}

.tz-search-input:focus {
  border-color: #bfe7bf;
  box-shadow: 0 0 0 3px rgba(46, 155, 74, 0.12);
}

.tz-search-btn {
  height: 46px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--tz-primary), var(--tz-primary-2));
  color: #fff;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.tz-search-btn-secondary {
  border-color: var(--tz-border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--tz-text);
}

.tz-map-toast {
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translate(-50%, -10px);
  z-index: 1200;
  max-width: min(90vw, 420px);
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(18, 48, 25, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(18, 48, 25, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.tz-map-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tz-search-suggestions {
  display: grid;
  gap: 10px;
  text-align: left;
}

.tz-search-results-wrap {
  display: grid;
  gap: 12px;
}

.tz-search-results-note {
  font-size: 12px;
  color: var(--tz-muted);
  text-align: left;
}

.tz-search-results-scroll {
  max-height: 390px;
  overflow-y: auto;
  padding-right: 4px;
}

.tz-search-suggestion {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--tz-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  text-align: left;
}

.tz-search-result-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(46, 155, 74, 0.12);
  color: var(--tz-primary-2);
  font-weight: 800;
}

.tz-search-result-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tz-search-result-fallback {
  font-size: 18px;
}

.tz-search-result-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.tz-search-result-tags {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--tz-primary-2);
}

.tz-search-result-meta {
  flex: 0 0 auto;
}

.tz-search-suggestion strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  color: var(--tz-text);
}

.tz-search-suggestion span {
  color: var(--tz-muted);
  font-size: 13px;
  line-height: 1.4;
}

.tz-search-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(46, 155, 74, 0.12);
  color: var(--tz-primary-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tz-search-more {
  justify-self: start;
  border: none;
  background: transparent;
  color: var(--tz-primary-2);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.tz-brand .title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.tz-brand .subtitle {
  font-size: 12px;
  color: var(--tz-muted);
}

.tz-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tz-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--tz-border);
  border-radius: 14px;
  background: var(--tz-surface);
  color: var(--tz-text);
  cursor: pointer;
  padding: 0;
}

.tz-menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.tz-header.is-menu-open .tz-menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.tz-header.is-menu-open .tz-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.tz-header.is-menu-open .tz-menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.tz-btn {
  border: 1px solid var(--tz-border);
  background: var(--tz-surface);
  color: var(--tz-text);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.06s ease, background 0.12s ease, border-color 0.12s ease;
}

.tz-btn:hover {
  border-color: #bfe7bf;
  transform: translateY(-1px);
}

.tz-btn:active { transform: translateY(0px); }

.tz-btn-primary {
  background: linear-gradient(180deg, var(--tz-primary), var(--tz-primary-2));
  border-color: transparent;
  color: #fff;
}

.tz-btn-primary:hover { filter: brightness(1.02); }

.tz-btn-ghost {
  background: transparent;
}

.tz-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
}

.tz-refresh-btn-icon {
  width: 16px;
  height: 16px;
}

.tz-refresh-btn.is-refreshing {
  opacity: 0.92;
}

.tz-refresh-btn.is-refreshing .tz-refresh-btn-icon {
  animation: tz-spin 0.85s linear infinite;
}

.tz-refresh-btn:disabled {
  cursor: default;
}

@keyframes tz-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.tz-link {
  color: var(--tz-primary);
  text-decoration: none;
  font-weight: 700;
}

.tz-profile-manage-link {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tz-subscription-panel {
  display: grid;
  gap: 12px;
}

.tz-subscription-search {
  margin-bottom: 2px;
}

.tz-subscription-list {
  display: grid;
  gap: 12px;
  padding-bottom: 10px;
}

.tz-subscription-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--tz-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  cursor: pointer;
  transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.tz-subscription-item:hover,
.tz-subscription-item:focus-visible {
  border-color: var(--tz-primary);
  box-shadow: 0 10px 24px rgba(18, 48, 25, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.tz-subscription-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tz-subscription-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--tz-border);
  overflow: hidden;
}

.tz-subscription-badge-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.tz-subscription-badge-fallback {
  font-weight: 900;
  font-size: 12px;
}

.tz-subscription-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.tz-subscription-name {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tz-subscription-location {
  font-size: 12px;
  color: var(--tz-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tz-page {
  min-height: 100vh;
  padding: 22px 14px;
}

.tz-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--tz-surface);
  border: 1px solid var(--tz-border);
  border-radius: 16px;
  padding: 16px;
}

.tz-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  position: relative;
}

.tz-h1 {
  font-size: 20px;
  margin: 0;
}

.tz-muted { color: var(--tz-muted); }

.tz-table {
  width: 100%;
  border-collapse: collapse;
}

.tz-table th, .tz-table td {
  border-top: 1px solid var(--tz-border);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.tz-table th { color: var(--tz-muted); font-weight: 700; }

.tz-admin-toolbar {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.tz-admin-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tz-admin-tab {
  border: 1px solid rgba(16, 58, 34, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: #163625;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(17, 49, 28, 0.05);
}

.tz-admin-tab.is-active {
  background: linear-gradient(135deg, #1c7b53, #245a77);
  border-color: transparent;
  color: #fff;
}

.tz-admin-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 220px));
  gap: 12px;
}

.tz-admin-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.tz-admin-pager-meta {
  color: #5e7465;
  font-size: 13px;
}

.tz-admin-pager-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tz-admin-pager-size-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5e7465;
  font-size: 12px;
}

.tz-admin-pager-size {
  min-width: 84px;
  height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.tz-admin-pager-page {
  font-size: 12px;
  font-weight: 700;
  color: #294936;
}

.tz-admin-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tz-admin-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(28, 123, 83, 0.16);
  background: rgba(28, 123, 83, 0.08);
  color: #1b6242;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.tz-admin-filter-chip span {
  font-size: 11px;
}

.tz-admin-filter-chip-clear {
  background: rgba(36, 90, 119, 0.08);
  border-color: rgba(36, 90, 119, 0.16);
  color: #245a77;
}

.tz-admin-panel {
  display: grid;
  gap: 20px;
}

.tz-admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(88, 173, 141, 0.25), transparent 36%),
    linear-gradient(135deg, #143624 0%, #1d5a43 45%, #224f6f 100%);
  color: #f6fffb;
  box-shadow: 0 20px 50px rgba(14, 42, 30, 0.22);
}

.tz-admin-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.tz-admin-hero h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
}

.tz-admin-hero p {
  margin: 0;
  max-width: 52ch;
  color: rgba(247, 255, 251, 0.82);
  line-height: 1.55;
}

.tz-admin-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tz-admin-hero-metric {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.tz-admin-hero-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tz-admin-hero-metric strong {
  font-size: 24px;
  line-height: 1.1;
}

.tz-admin-hero-amount {
  display: block;
  max-width: 100%;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.tz-admin-hero-amount-detail {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.tz-admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.tz-admin-stat-card,
.tz-admin-surface,
.tz-admin-card-item {
  border: 1px solid rgba(19, 62, 37, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(242, 249, 245, 0.98));
  box-shadow: 0 16px 34px rgba(18, 48, 25, 0.08);
}

.tz-admin-stat-card {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.tz-admin-stat-link {
  justify-self: start;
  padding: 0;
  border: none;
  background: transparent;
  color: #1b6242;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.tz-admin-stat-link:hover,
.tz-admin-stat-link:focus-visible {
  color: #143f2b;
  text-decoration: underline;
}

.tz-admin-stat-card span {
  color: #5e7465;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tz-admin-stat-card strong {
  font-size: 30px;
  line-height: 1;
  color: #163625;
}

.tz-admin-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tz-admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tz-admin-surface {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.tz-admin-surface-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tz-admin-panel-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tz-admin-surface-head-stack {
  align-items: start;
}

.tz-admin-surface-head h2 {
  margin: 0;
  font-size: 19px;
  color: #173525;
}

.tz-admin-surface-copy {
  margin: 6px 0 0;
  color: #67806f;
  line-height: 1.5;
}

.tz-admin-card-list {
  display: grid;
  gap: 14px;
}

.tz-admin-card-item {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.tz-admin-card-shell {
  display: grid;
  gap: 0;
}

.tz-admin-card-summary {
  list-style: none;
  cursor: pointer;
}

.tz-admin-card-summary::-webkit-details-marker {
  display: none;
}

.tz-admin-card-summary:focus-visible {
  outline: 2px solid rgba(28, 123, 83, 0.32);
  outline-offset: 6px;
  border-radius: 20px;
}

.tz-admin-card-top {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.tz-admin-card-media {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(28, 123, 83, 0.12), rgba(36, 90, 119, 0.16));
  border: 1px solid rgba(28, 123, 83, 0.14);
  display: grid;
  place-items: center;
  color: #1a6141;
  font-size: 24px;
  font-weight: 800;
}

.tz-admin-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tz-admin-card-top h3 {
  margin: 0 0 4px;
  font-size: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tz-admin-card-meta {
  color: #6f8374;
  font-size: 13px;
}

.tz-admin-user-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.tz-admin-user-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tz-admin-user-top h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.tz-admin-user-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tz-admin-card-copy {
  min-width: 0;
}

.tz-admin-card-copy h3,
.tz-admin-card-meta,
.tz-admin-card-grid span {
  overflow-wrap: anywhere;
}

.tz-admin-card-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.tz-admin-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(28, 123, 83, 0.12);
  color: #1b6242;
  font-size: 12px;
  font-weight: 800;
}

.tz-admin-status-chip-secondary {
  background: rgba(36, 90, 119, 0.12);
  color: #245a77;
}

.tz-admin-card-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6a7f6f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tz-admin-card-toggle-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.tz-admin-card-shell[open] .tz-admin-card-toggle-icon {
  transform: rotate(225deg);
}

.tz-admin-card-body {
  display: grid;
  gap: 14px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid rgba(96, 122, 106, 0.22);
}

.tz-admin-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 18px;
}

.tz-admin-card-grid div {
  display: grid;
  gap: 4px;
}

.tz-admin-card-grid strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7f70;
}

.tz-admin-card-grid span {
  font-size: 14px;
  color: #193626;
}

.tz-admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tz-admin-queue-note {
  margin: 0;
  color: #6b7f70;
  font-size: 13px;
}

.tz-admin-overview-list {
  display: grid;
  gap: 12px;
}

.tz-admin-overview-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.tz-admin-overview-list div:first-child {
  border-top: none;
  padding-top: 0;
}

.tz-admin-payment-history {
  display: grid;
  gap: 8px;
  text-align: left;
}

.tz-admin-payment-entry {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.02);
}

.tz-admin-payment-entry-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tz-admin-payment-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tz-admin-payment-pill.is-paid {
  background: rgba(46, 155, 74, 0.14);
  color: #1b6242;
}

.tz-admin-payment-pill.is-unpaid {
  background: rgba(196, 134, 14, 0.16);
  color: #8a5a00;
}

.tz-admin-payment-pill.is-blocked {
  background: rgba(196, 44, 44, 0.14);
  color: #9c2121;
}

.tz-admin-payment-cycle {
  font-size: 12px;
  font-weight: 600;
  color: #6b7f70;
}

.tz-admin-payment-date {
  margin-left: auto;
  font-size: 12px;
  color: #6b7f70;
}

.tz-admin-payment-entry-meta {
  font-size: 12px;
  color: #6b7f70;
}

.tz-admin-payment-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.tz-admin-payment-pager .tz-btn {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 13px;
}

body[data-theme='dark'] .tz-admin-payment-entry {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

body[data-theme='dark'] .tz-admin-payment-cycle,
body[data-theme='dark'] .tz-admin-payment-date,
body[data-theme='dark'] .tz-admin-payment-entry-meta {
  color: #9eb4a6;
}

.tz-admin-inline-link {
  padding: 0;
  border: none;
  background: transparent;
  color: #1b6242;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tz-admin-inline-link:hover,
.tz-admin-inline-link:focus-visible {
  text-decoration: underline;
}

.tz-admin-chart-list,
.tz-admin-list-stack {
  display: grid;
  gap: 12px;
}

.tz-admin-chart-row {
  display: grid;
  gap: 8px;
}

.tz-admin-chart-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tz-admin-chart-meta strong {
  font-size: 14px;
  color: #163625;
}

.tz-admin-chart-meta span {
  color: #6b7f70;
  font-size: 13px;
}

.tz-admin-chart-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(29, 90, 67, 0.08);
  overflow: hidden;
}

.tz-admin-chart-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1c7b53, #2b8bc0);
}

.tz-admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(244, 249, 246, 0.9);
  border: 1px solid rgba(19, 62, 37, 0.07);
}

.tz-admin-list-item strong {
  display: block;
  margin-bottom: 4px;
  color: #173525;
}

.tz-admin-list-item span {
  color: #6b7f70;
  font-size: 13px;
}

.tz-admin-list-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(28, 123, 83, 0.12);
  color: #1b6242;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.tz-admin-content-copy {
  color: #173525;
  line-height: 1.6;
  white-space: pre-wrap;
}

.tz-admin-report-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 220px)) minmax(220px, 1fr);
  gap: 12px;
  align-items: end;
}

.tz-admin-report-total {
  display: grid;
  gap: 6px;
  min-height: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(28, 123, 83, 0.1), rgba(43, 139, 192, 0.1));
  border: 1px solid rgba(28, 123, 83, 0.12);
}

.tz-admin-report-total span {
  color: #5e7465;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tz-admin-report-total strong {
  color: #163625;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.tz-admin-report-list {
  display: grid;
  gap: 10px;
}

.tz-admin-report-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) minmax(150px, 1.1fr) minmax(120px, 0.8fr) minmax(160px, 1fr) minmax(120px, 0.8fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(244, 249, 246, 0.92);
  border: 1px solid rgba(19, 62, 37, 0.07);
}

.tz-admin-report-row span,
.tz-admin-report-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tz-admin-report-row strong {
  color: #163625;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tz-admin-report-row-head {
  background: transparent;
  border-style: dashed;
}

.tz-admin-report-row-head span {
  font-size: 12px;
  color: #5e7465;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.tz-admin-business-form {
  gap: 14px;
}

.tz-admin-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tz-admin-media-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(245, 250, 247, 0.95);
  border: 1px solid rgba(20, 58, 37, 0.08);
}

.tz-admin-media-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tz-admin-media-preview {
  min-height: 96px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(28, 123, 83, 0.08);
  border: 1px solid rgba(28, 123, 83, 0.1);
  display: grid;
  place-items: center;
  color: #66806f;
  font-weight: 700;
}

.tz-admin-media-preview.is-icon {
  min-height: 120px;
}

.tz-admin-media-preview.is-banner {
  min-height: 140px;
}

.tz-admin-media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tz-admin-media-preview.is-pending {
  border-style: dashed;
}

.tz-admin-tag-field {
  gap: 10px;
}

.tz-admin-tag-picker {
  gap: 10px;
}

.tz-admin-tag-toggle {
  border-color: rgba(23, 62, 38, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.tz-admin-tag-toggle:focus {
  outline: none;
  border-color: #1c7b53;
  box-shadow: 0 0 0 3px rgba(28, 123, 83, 0.14);
}

.tz-admin-tag-panel {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  min-width: 0;
  border-color: rgba(23, 62, 38, 0.12);
  box-shadow: none;
}

.tz-admin-tag-options {
  max-height: 220px;
}

.tz-admin-tag-option {
  border-color: rgba(23, 62, 38, 0.1);
}

.tz-admin-tag-option input {
  accent-color: #1c7b53;
}

.tz-admin-tag-option.is-selected {
  border-color: rgba(28, 123, 83, 0.22);
  background: rgba(28, 123, 83, 0.08);
}

.tz-terms-shell {
  padding-top: 30px;
  padding-bottom: 30px;
}

.tz-terms-card {
  display: grid;
  gap: 18px;
}

.tz-terms-section {
  display: grid;
  gap: 8px;
}

.tz-terms-section h2 {
  margin: 0;
  font-size: 18px;
}

.tz-terms-section p {
  margin: 0;
  color: var(--tz-text);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .tz-admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tz-admin-hero,
  .tz-admin-visual-grid,
  .tz-admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .tz-admin-hero-metrics,
  .tz-admin-media-grid {
    grid-template-columns: 1fr;
  }

  .tz-admin-report-toolbar,
  .tz-admin-report-row {
    grid-template-columns: 1fr;
  }

  .tz-admin-report-row strong {
    text-align: left;
  }
}

.tz-subscription-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.tz-subscription-plan-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  text-align: left;
}

.tz-subscription-plan-price {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

@media (max-width: 900px) {
  .tz-admin-filter-row,
  .tz-admin-card-grid {
    grid-template-columns: 1fr;
  }

  .tz-admin-pager {
    flex-direction: column;
    align-items: flex-start;
  }

  .tz-admin-surface-head,
  .tz-admin-card-top,
  .tz-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .tz-admin-card-top {
    grid-template-columns: 1fr;
  }

  .tz-admin-card-badges {
    align-items: flex-start;
  }

  .tz-admin-user-chip-row,
  .tz-admin-panel-head-actions {
    justify-content: flex-start;
  }

  .tz-admin-user-top {
    flex-direction: column;
    align-items: stretch;
  }

  .tz-admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .tz-topbar {
    flex-direction: row;
    align-items: flex-start;
  }

  .tz-brand-admin {
    min-width: 0;
    flex: 1 1 auto;
  }

  .tz-admin-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .tz-topbar .tz-actions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    width: auto;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--tz-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 36px rgba(18, 48, 25, 0.14);
    justify-content: stretch;
  }

  .tz-topbar.is-menu-open .tz-actions {
    display: grid;
  }

  .tz-topbar .tz-actions .tz-btn,
  .tz-topbar .tz-actions .tz-theme-toggle,
  .tz-topbar .tz-actions a {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .tz-admin-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Swal2 theming */
.tz-popup {
  width: min(640px, calc(100vw - 24px)) !important;
  padding: 20px !important;
  border-radius: 16px !important;
  border: 1px solid var(--tz-border) !important;
}

.tz-popup.tz-popup-biz-themed {
  width: min(920px, calc(100vw - 24px)) !important;
  border-color: var(--tz-biz-accent-border) !important;
  box-shadow: 0 18px 44px var(--tz-biz-accent-shadow) !important;
  background: rgba(255, 255, 255, 0.99) !important;
}

.tz-popup.tz-popup-biz-themed .swal2-title {
  color: var(--tz-biz-accent-strong);
}

.tz-popup.tz-popup-biz-themed .tz-btn {
  border-color: var(--tz-biz-accent-border);
}

.tz-popup.tz-popup-biz-themed .tz-btn:hover {
  border-color: var(--tz-biz-accent);
  background: rgba(255, 255, 255, 0.98);
}

.tz-popup.tz-popup-biz-themed .tz-btn-primary {
  background: var(--tz-biz-accent);
  border-color: var(--tz-biz-accent);
  color: #fff;
}

.tz-popup.tz-popup-biz-themed .tz-btn-primary:hover {
  background: var(--tz-biz-accent-strong);
  border-color: var(--tz-biz-accent-strong);
}
.tz-popup.tz-popup-biz-themed .tz-field-label,
.tz-popup.tz-popup-biz-themed .tz-field-help,
.tz-popup.tz-popup-biz-themed .tz-muted {
  color: var(--tz-biz-accent-strong);
}

.tz-popup.tz-popup-biz-themed .tz-sale-kind-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tz-popup.tz-popup-biz-themed .tz-sale-kind-option {
  min-height: 46px;
  border: 1px solid var(--tz-biz-accent-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--tz-biz-accent-strong);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.tz-popup.tz-popup-biz-themed .tz-sale-kind-option:hover {
  border-color: var(--tz-biz-accent);
}

.tz-popup.tz-popup-biz-themed .tz-sale-kind-option.is-active {
  background: var(--tz-biz-accent);
  border-color: var(--tz-biz-accent);
  color: #fff;
  box-shadow: 0 10px 20px var(--tz-biz-accent-shadow);
}

.tz-popup.tz-popup-biz-themed .tz-manage-business-form {
  gap: 14px;
}

.tz-popup.tz-popup-biz-themed .tz-biz-profile-grid {
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

.tz-popup.tz-popup-biz-themed .tz-biz-profile-grid > .tz-field-group,
.tz-popup.tz-popup-biz-themed .tz-biz-profile-grid > .tz-row,
.tz-popup.tz-popup-biz-themed .tz-biz-profile-grid > .tz-biz-tag-field {
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.tz-popup.tz-popup-biz-themed .tz-biz-profile-main {
  gap: 12px;
}

.tz-popup.tz-popup-biz-themed .tz-biz-profile-grid > .tz-account-note {
  margin-bottom: 0 !important;
}

.tz-popup.tz-popup-biz-themed .tz-biz-profile-coords,
.tz-popup.tz-popup-biz-themed .tz-color-row,
.tz-popup.tz-popup-biz-themed .tz-biz-profile-media {
  margin: 0;
}

.tz-popup.tz-popup-biz-themed .tz-biz-profile-media .tz-field-group,
.tz-popup.tz-popup-biz-themed .tz-biz-profile-coords .tz-field-group,
.tz-popup.tz-popup-biz-themed .tz-color-row .tz-field-group {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tz-popup.tz-popup-biz-themed .tz-field-help-compact {
  font-size: 11px;
  line-height: 1.35;
  color: var(--tz-muted);
}

.tz-popup.tz-popup-biz-themed .tz-category-toggle-count {
  background: var(--tz-biz-accent);
}

.tz-popup.tz-popup-biz-themed .tz-biz-tag-picker {
  gap: 10px;
}

.tz-popup.tz-popup-biz-themed .tz-biz-tag-toggle {
  border-color: var(--tz-biz-accent-border);
  background: rgba(255, 255, 255, 0.98);
}

.tz-popup.tz-popup-biz-themed .tz-biz-tag-toggle:focus {
  outline: none;
  border-color: var(--tz-biz-accent);
  box-shadow: 0 0 0 3px var(--tz-biz-accent-soft);
}

.tz-popup.tz-popup-biz-themed .tz-biz-tag-panel {
  position: relative;
  top: auto;
  left: auto;
  min-width: 0;
  width: 100%;
  border-color: var(--tz-biz-accent-border);
  box-shadow: none;
}

.tz-popup.tz-popup-biz-themed .tz-biz-tag-options {
  max-height: 220px;
}

.tz-popup.tz-popup-biz-themed .tz-biz-tag-option {
  border-color: var(--tz-biz-accent-border);
}

.tz-popup.tz-popup-biz-themed .tz-biz-tag-option input {
  accent-color: var(--tz-biz-accent);
}

.tz-popup.tz-popup-biz-themed .tz-biz-tag-option.is-selected {
  border-color: var(--tz-biz-accent);
  background: var(--tz-biz-accent-soft);
}
.tz-popup.tz-popup-biz-themed .tz-input,
.tz-popup.tz-popup-biz-themed .tz-textarea,
.tz-popup.tz-popup-biz-themed .swal2-input,
.tz-popup.tz-popup-biz-themed .swal2-textarea,
.tz-popup.tz-popup-biz-themed .tz-color-picker,
.tz-popup.tz-popup-biz-themed .tz-file-input {
  border-color: var(--tz-biz-accent-border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.tz-popup.tz-popup-biz-themed .tz-input:focus,
.tz-popup.tz-popup-biz-themed .tz-textarea:focus,
.tz-popup.tz-popup-biz-themed .swal2-input:focus,
.tz-popup.tz-popup-biz-themed .swal2-textarea:focus,
.tz-popup.tz-popup-biz-themed .tz-color-picker:focus,
.tz-popup.tz-popup-biz-themed .tz-file-input:focus {
  border-color: var(--tz-biz-accent);
  box-shadow: 0 0 0 3px var(--tz-biz-accent-soft);
}
.tz-popup.tz-popup-biz-themed .select2-container--default .select2-selection--multiple {
  border: 1px solid var(--tz-biz-accent-border);
  border-radius: 12px;
  min-height: 46px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  gap: 6px;
}
.tz-popup.tz-popup-biz-themed .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--tz-biz-accent);
  box-shadow: 0 0 0 3px var(--tz-biz-accent-soft);
}
.tz-popup.tz-popup-biz-themed .select2-container--default .select2-selection--multiple .select2-selection__choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0;
  background: var(--tz-biz-accent-soft);
  border: 1px solid var(--tz-biz-accent-border);
  color: var(--tz-biz-accent-strong);
  border-radius: 999px;
  padding: 6px 12px;
  line-height: 1;
}
.tz-popup.tz-popup-biz-themed .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  position: static;
  margin: 0;
  border: none;
  padding: 0;
  background: transparent;
  color: var(--tz-biz-accent-strong);
  font-size: 14px;
  line-height: 1;
}
.tz-popup.tz-popup-biz-themed .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  background: transparent;
  color: var(--tz-biz-accent);
}
.tz-popup.tz-popup-biz-themed .select2-container--default .select2-search--inline .select2-search__field {
  margin: 2px 0;
  min-height: 28px;
  font-family: inherit;
}
.tz-popup.tz-popup-biz-themed .select2-dropdown {
  border-color: var(--tz-biz-accent-border);
}
.tz-popup.tz-popup-biz-themed .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--tz-biz-accent);
}
.tz-popup.tz-popup-biz-themed .tz-image-preview,
.tz-popup.tz-popup-biz-themed .tz-active-sale-card,
.tz-popup.tz-popup-biz-themed .tz-biz-empty {
  border-color: var(--tz-biz-accent-border);
  background: rgba(255, 255, 255, 0.98);
}

#onesignal-bell-launcher {
  display: none !important;
}

.tz-popup.tz-popup-biz-themed .tz-panel-tab {
  border-color: var(--tz-biz-accent-border);
  color: var(--tz-biz-accent-strong);
  background: rgba(255, 255, 255, 0.88);
}

.tz-popup.tz-popup-biz-themed .tz-panel-tab.is-active {
  border-color: var(--tz-biz-accent);
  background: rgba(255, 255, 255, 0.98);
  color: var(--tz-biz-accent-strong);
}

.tz-popup.tz-popup-biz-themed .tz-inline-stat-card,
.tz-popup.tz-popup-biz-themed .tz-panel-summary {
  border-color: var(--tz-biz-accent-border);
  background: rgba(255, 255, 255, 0.98);
}

.tz-popup.tz-popup-biz-themed .tz-info-dot {
  border-color: var(--tz-biz-accent-border);
  color: var(--tz-biz-accent-strong);
  background: rgba(255, 255, 255, 0.95);
}

/* Better spacing for popup buttons */
.swal2-actions {
  width: 100% !important;
  gap: 10px !important;
}

.swal2-actions .tz-btn {
  margin: 0 !important;
}

@media (max-width: 700px) {
  .tz-popup.tz-popup-biz-themed .tz-biz-profile-coords,
  .tz-popup.tz-popup-biz-themed .tz-color-row,
  .tz-popup.tz-popup-biz-themed .tz-biz-profile-media {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .swal2-actions {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
  .swal2-actions .tz-btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }
  .tz-brand-mark {
    width: 54px;
    height: 54px;
  }
  .tz-brand-mark-admin {
    width: 42px;
    height: 42px;
  }
  .tz-header {
    padding: 10px 12px;
  }
  .tz-header-inner {
    align-items: center;
    flex-wrap: wrap;
  }
  .tz-brand {
    min-width: 0;
    flex: 1;
  }
  .tz-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
  }
  .tz-search-input {
    min-width: 0;
    height: 42px;
  }
  .tz-search-btn {
    height: 42px;
    padding: 0 12px;
    font-size: 12px;
  }
  .tz-brand-copy {
    min-width: 0;
  }
  .tz-brand .title,
  .tz-brand .subtitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tz-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }
  .tz-actions {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: calc(100% + 10px);
    display: none;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--tz-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 36px rgba(18, 48, 25, 0.14);
    backdrop-filter: blur(10px);
  }
  .tz-header.is-menu-open .tz-actions {
    display: grid;
  }
  .tz-actions .tz-btn {
    width: 100%;
    justify-content: center;
  }
  .tz-map-toast {
    top: auto;
    bottom: 140px;
    max-width: calc(100vw - 24px);
  }
}

/* Leaflet image sizing override (as requested) */
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
  width: 100%;
}

.tz-title { color: var(--tz-text) !important; }

.tz-html {
  color: var(--tz-text) !important;
  margin: 0 !important;
}

.tz-popup .swal2-html-container.tz-html {
  padding: 0 0 1rem;
}

.tz-input, .tz-textarea {
  width: 100%;
  border: 1px solid var(--tz-border);
  border-radius: 12px;
  padding: 10px 10px;
  font-size: 14px;
  outline: none;
}

.tz-input:focus, .tz-textarea:focus {
  border-color: #bfe7bf;
}

.tz-form {
  display: grid;
  gap: 10px;
  text-align: left;
}

.tz-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--tz-muted);
  cursor: pointer;
}

.tz-terms-check input {
  margin-top: 2px;
  accent-color: var(--tz-primary);
  cursor: pointer;
}

.tz-terms-check span,
.tz-terms-check a,
.tz-terms-check:hover,
.tz-terms-check:hover *,
.tz-terms-check:focus-within,
.tz-terms-check:focus-within * {
  cursor: pointer;
}

.tz-account-section {
  display: grid;
  gap: 12px;
}

.tz-account-section[hidden] {
  display: none !important;
}

.tz-pwa-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tz-pwa-profile-actions .tz-btn {
  flex: 1 1 180px;
}

.tz-account-fields-grid {
  margin: 0;
}

.tz-account-note {
  padding: 11px 12px;
  border: 1px solid var(--tz-border);
  border-radius: 12px;
  background: rgba(46, 155, 74, 0.06);
  color: var(--tz-muted);
  font-size: 13px;
}

.tz-biz-pending-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tz-biz-pending-note .tz-btn {
  flex: 0 0 auto;
}

.tz-notification-grid {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) repeat(2, minmax(110px, 1fr));
  gap: 8px;
  align-items: center;
}

.tz-notification-enable-copy {
  margin-top: 6px;
}

.tz-notification-enable-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #198754;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.tz-notification-enable-link:hover,
.tz-notification-enable-link:focus-visible {
  color: #146c43;
}

.tz-notification-grid-head {
  font-size: 12px;
  font-weight: 700;
  color: var(--tz-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tz-notification-grid-label {
  font-weight: 700;
  color: var(--tz-text);
}

.tz-notification-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--tz-border);
  border-radius: 12px;
  background: #fff;
  color: var(--tz-text);
  font-size: 13px;
  cursor: pointer;
}

.tz-notification-cell input {
  margin: 0;
  accent-color: var(--tz-primary);
}

.tz-business-access-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.tz-biz-posts-actions {
  gap: 12px;
  margin-bottom: 20px;
}

.tz-biz-posts-helper {
  margin-bottom: 0;
}

.tz-biz-posts-list {
  gap: 10px;
}

.tz-business-access-manage {
  white-space: nowrap;
}

.tz-business-access-select {
  background: linear-gradient(180deg, rgba(46, 155, 74, 0.08), rgba(46, 155, 74, 0.03));
  border-color: rgba(46, 155, 74, 0.22);
}

.tz-help-popup-form {
  gap: 12px;
}

.tz-help-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tz-help-shell {
  min-height: 100vh;
  padding: 28px 18px;
  display: grid;
  place-items: center;
}

.tz-help-card {
  width: min(720px, 100%);
  padding: 24px;
  border: 1px solid var(--tz-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 56px rgba(18, 48, 25, 0.12);
}

.tz-help-back {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--tz-primary-2);
  text-decoration: none;
  font-weight: 700;
}

.tz-help-title {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
}

.tz-help-copy {
  margin: 8px 0 18px;
  color: var(--tz-muted);
}

.tz-help-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tz-help-status {
  min-height: 20px;
  font-size: 13px;
  color: var(--tz-muted);
}

.tz-help-status.is-error {
  color: var(--tz-danger);
}

.tz-help-status.is-success {
  color: var(--tz-primary-2);
}

.tz-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 640px) {
  .tz-row { grid-template-columns: 1fr; }
  .tz-color-row { grid-template-columns: 1fr; }
  .tz-notification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .tz-notification-grid-head:first-child {
    display: none;
  }
  .tz-notification-grid-head {
    text-align: center;
  }
  .tz-notification-grid-label {
    grid-column: 1 / -1;
    margin-top: 4px;
  }
  .tz-notification-cell {
    width: 100%;
    min-width: 0;
  }
  .tz-business-access-row {
    grid-template-columns: 1fr;
  }
}

.tz-biz {
  --tz-biz-accent: var(--tz-primary);
  --tz-biz-accent-strong: var(--tz-primary-2);
  --tz-biz-accent-soft: rgba(46, 155, 74, 0.08);
  --tz-biz-accent-border: rgba(46, 155, 74, 0.22);
  --tz-biz-accent-shadow: rgba(28, 92, 45, 0.22);
  --tz-biz-hero-base: #17341f;
  --tz-biz-hero-alt: #21472c;
  display: grid;
  gap: 14px;
  text-align: left;
}

.tz-biz-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--tz-biz-hero-base);
  min-height: 240px;
}

.tz-biz-hero-empty {
  background: linear-gradient(135deg, var(--tz-biz-hero-alt), var(--tz-biz-hero-base));
}

.tz-biz-media {
  position: absolute;
  inset: 0;
}

.tz-biz img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 0;
}

.tz-biz-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 13, 0.1) 0%, rgba(8, 24, 13, 0.28) 42%, rgba(8, 24, 13, 0.84) 100%);
}

.tz-biz-hero-overlay {
  position: relative;
  z-index: 1;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
}

.tz-biz-title-wrap {
  min-width: 0;
}

.tz-biz-kicker {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tz-biz-title {
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
  text-wrap: balance;
}

.tz-biz-rating-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tz-text);
  box-shadow: 0 8px 24px var(--tz-biz-accent-shadow);
}

.tz-biz-rating-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--tz-text);
}

.tz-biz-summary-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tz-biz-distance-chip {
  background: rgba(255, 255, 255, 0.88);
}

.tz-biz-subscriber-chip {
  background: rgba(255, 255, 255, 0.9);
}

.tz-biz-rating-count,
.tz-biz-rating-empty {
  font-size: 12px;
  font-weight: 700;
  color: var(--tz-muted);
}

.tz-biz-body {
  display: grid;
  gap: 12px;
}

.tz-biz-inline-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--tz-biz-accent-border);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--tz-biz-accent-soft), rgba(255, 255, 255, 0.96));
}

.tz-biz-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--tz-biz-accent);
}

.tz-biz-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tz-biz-inline-label {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--tz-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tz-biz-inline-copy,
.tz-biz-copy {
  line-height: 1.5;
  font-size: 14px;
  word-break: break-word;
}

.tz-biz-location-link {
  color: var(--tz-biz-accent-strong);
  text-decoration: none;
}

.tz-biz-location-link:hover {
  text-decoration: underline;
}

.tz-biz-copy-block {
  display: grid;
  gap: 6px;
}

.tz-biz-reviews-block {
  gap: 10px;
}

.tz-biz-review-summary {
  align-items: flex-start;
  cursor: default;
}

.tz-biz-review-summary.is-expanded {
  gap: 14px;
}

.tz-biz-review-copy-wrap {
  display: grid;
  gap: 10px;
  width: 100%;
}

.tz-review-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 82%);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.tz-review-list[hidden] {
  display: none;
}

.tz-review-card {
  padding: 12px 14px;
  border: 1px solid var(--tz-biz-accent-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  scroll-snap-align: start;
}

.tz-review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.tz-review-stars {
  color: #1f7a34;
  font-size: 13px;
  letter-spacing: 1px;
}

.tz-review-copy {
  line-height: 1.55;
  font-size: 14px;
}

.tz-biz-empty {
  padding: 14px;
  border: 1px dashed var(--tz-biz-accent-border);
  border-radius: 14px;
  color: var(--tz-muted);
  background: var(--tz-biz-accent-soft);
}

.tz-review-toggle {
  justify-self: start;
  border: none;
  background: transparent;
  color: var(--tz-biz-accent-strong);
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}

.tz-review-toggle:disabled {
  color: var(--tz-muted);
  cursor: default;
}

.tz-tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tz-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--tz-biz-accent-soft);
  color: var(--tz-biz-accent-strong);
  font-size: 12px;
  font-weight: 700;
}

.tz-tag-field {
  display: grid;
  gap: 8px;
}

.tz-tag-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tz-tag-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--tz-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.tz-tag-option input {
  margin: 0;
}

.tz-review-field {
  display: grid;
  gap: 8px;
}

.tz-rating-picker {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.tz-rating-star {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 28px;
  line-height: 1;
  color: #bfd8bf;
  cursor: pointer;
  transition: transform 0.08s ease, color 0.08s ease;
}

.tz-rating-star:hover,
.tz-rating-star.is-active {
  color: #f2b01e;
}

.tz-rating-star:hover {
  transform: scale(1.06);
}

.tz-biz-sale {
  margin-top: 2px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--tz-biz-accent-soft), rgba(255, 255, 255, 0.94));
  border: 1px solid var(--tz-biz-accent-border);
}

.tz-biz-sale-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--tz-biz-accent-strong);
  font-weight: 800;
}

.tz-biz-sale-copy {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* Final shell layout: mobile first, desktop side panel */
.tz-app {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.tz-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--tz-border);
  box-shadow: 0 8px 24px rgba(18, 48, 25, 0.05);
  padding: 12px;
}

.tz-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    'main';
  gap: 0;
  width: 100%;
  justify-items: stretch;
}

.tz-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-self: stretch;
}

.tz-brand-home {
  display: none;
}

.tz-brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tz-brand-lockup .tz-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.tz-brand-mark {
  width: 88px;
  height: 88px;
}

.tz-brand-mark-inline {
  width: 72px;
  height: auto;
  flex: 0 0 auto;
}

.tz-brand-copy .title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.tz-brand-copy .subtitle {
  font-size: 11px;
  line-height: 1.2;
}

.tz-brand-time {
  color: #123019;
}

.tz-brand-zup {
  color: #2e9b4a;
}

.tz-brand-copy .subtitle {
  color: #476b50;
}

body[data-theme='dark'] .tz-brand-time {
  color: #e9f6ef;
}

body[data-theme='dark'] .tz-brand-zup {
  color: #56c487;
}

body[data-theme='dark'] .tz-brand-copy .subtitle {
  color: #9bb9aa;
}

.tz-header-main {
  grid-area: main;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    'actions'
    'filters';
  align-items: start;
  gap: 10px;
  width: 100%;
  justify-self: stretch;
}

.tz-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
  width: 100%;
  max-width: none;
}

.tz-header-filter-stack {
  display: grid;
  gap: 10px;
}

.tz-header-actions {
  grid-area: actions;
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  align-self: start;
  justify-self: stretch;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  width: auto;
  max-width: 100%;
  margin: 0;
  align-items: center;
}

.tz-brand-lockup-inline {
  flex: 0 1 auto;
  margin-right: 8px;
}

.tz-header-actions .tz-btn {
  min-width: 0;
}

.tz-header-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tz-header-install-btn[hidden] {
  display: none !important;
}

.tz-header-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tz-header-install-btn-icon {
  width: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.tz-header-install-btn-icon .fa-solid {
  font-size: 14px;
}

.tz-header-help-btn-icon {
  width: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.tz-header-help-btn-icon .fa-solid {
  font-size: 14px;
}

.tz-header-install-btn-label {
  line-height: 1;
}

.tz-header-help-btn-label {
  line-height: 1;
}

.tz-search-input,
.tz-search-btn,
.tz-filter-toggle,
.tz-actions .tz-btn,
.select2-container .select2-selection--multiple {
  min-height: 44px;
}

.tz-search-input,
.tz-search-btn,
.tz-filter-toggle,
.tz-actions .tz-btn,
.tz-panel-tab {
  border-radius: 14px;
}

.tz-search-btn-icon {
  width: 44px;
  padding: 0;
  display: grid;
  place-items: center;
}

.tz-btn-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.tz-btn-icon svg {
  width: 100%;
  height: 100%;
}

.tz-filter-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--tz-border);
  background: #fff;
  color: var(--tz-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(18, 48, 25, 0.04);
}

.tz-header.is-filter-open .tz-filter-toggle {
  border-color: var(--tz-primary);
  background: rgba(46, 155, 74, 0.1);
  color: var(--tz-primary-2);
}

.tz-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 0 auto;
  justify-content: flex-end;
  align-self: center;
  justify-self: end;
}

.tz-actions .tz-btn {
  flex: 0 0 auto;
  min-width: 0;
  white-space: nowrap;
}

.tz-header-filters {
  grid-area: filters;
  min-width: 0;
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: max-height 160ms ease, opacity 140ms ease, transform 160ms ease;
}

.tz-header.is-filter-open .tz-header-filters {
  max-height: 180px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.tz-filter-strip {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  overflow: visible;
}

.tz-filter-chip {
  min-height: 44px;
  padding: 11px 14px;
}

.tz-filter-select-wrap {
  flex: 0 1 360px;
  width: min(360px, 100%);
  min-width: 0;
}

.tz-filter-select-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tz-category-picker {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  width: 100%;
}

.tz-category-toggle {
  min-height: 44px;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--tz-border);
  border-radius: 14px;
  background: #fff;
  color: var(--tz-text);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
}

#tzCategoryToggleLabel {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.tz-category-toggle-count {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--tz-primary);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  padding: 0 6px;
  flex: 0 0 auto;
}

.tz-category-selected-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
}

.tz-category-selected-row[hidden],
.tz-category-panel[hidden],
.tz-category-toggle-count[hidden] {
  display: none;
}

.tz-category-chip {
  border: 0;
  border-radius: 999px;
  background: var(--tz-primary);
  color: #fff;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.tz-category-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  border: 1px solid var(--tz-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(18, 48, 25, 0.12);
  padding: 12px;
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: min(420px, calc(100vw - 32px));
}

.tz-category-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.tz-category-clear-btn {
  white-space: nowrap;
}

.tz-category-search {
  min-height: 42px;
}

.tz-category-options {
  max-height: 248px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.tz-category-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--tz-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  cursor: pointer;
  min-width: 0;
}

.tz-category-option input {
  margin: 0;
  accent-color: var(--tz-primary);
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.tz-category-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tz-category-option.is-selected {
  border-color: rgba(46, 155, 74, 0.26);
  background: rgba(46, 155, 74, 0.08);
}

.tz-popup-busy {
  position: relative;
}

.tz-popup-busy-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(2px);
  z-index: 20;
}

.tz-popup-busy-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(23, 62, 38, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--tz-text);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(18, 48, 25, 0.12);
}

.tz-popup-busy-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(46, 155, 74, 0.18);
  border-top-color: var(--tz-primary);
  border-radius: 999px;
  animation: tz-popup-spin 700ms linear infinite;
}

@keyframes tz-popup-spin {
  to {
    transform: rotate(360deg);
  }
}

body[data-theme='dark'] .tz-popup-busy-overlay {
  background: rgba(10, 18, 15, 0.68);
}

body[data-theme='dark'] .tz-popup-busy-indicator {
  background: rgba(16, 27, 23, 0.98);
  border-color: rgba(56, 91, 77, 0.82);
  color: var(--tz-text);
}

.tz-shell {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(260px, 36vh) minmax(0, 1fr);
}

.tz-map-surface {
  position: relative;
  min-height: 260px;
  background: linear-gradient(180deg, rgba(244, 255, 244, 0.4), rgba(244, 255, 244, 0.88));
}

#map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.tz-discovery-panel {
  position: relative;
  z-index: 10;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--tz-border);
  border-left: 0;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.tz-panel-tabs {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--tz-border);
  background: rgba(255, 255, 255, 0.98);
}

.tz-panel-tab {
  padding: 11px 10px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tz-panel-section {
  min-height: 0;
  overflow: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px 12px 18px;
}

.tz-panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  margin-bottom: 12px;
}

.tz-panel-title {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1.1;
}

.tz-panel-summary {
  margin-bottom: 12px;
}

.tz-feed-card {
  border-radius: 18px;
  padding: 14px;
}

.tz-feed-card-tags {
  margin-top: 10px;
}

.tz-inline-biz {
  gap: 14px;
}

.tz-inline-biz-hero {
  min-height: 156px;
  border-radius: 18px;
}

.tz-inline-biz-hero img {
  min-height: 156px;
}

.tz-inline-biz-hero-copy {
  padding: 14px;
}

.tz-inline-biz-title {
  font-size: 22px;
}

  .tz-inline-hero-stats {
    gap: 6px;
  }

  .tz-inline-hero-stat {
    padding: 6px 8px;
    gap: 6px;
  }

  .tz-inline-hero-stat strong {
    font-size: 12px;
  }

.tz-inline-analytics-grid {
  grid-template-columns: minmax(0, 1fr);
}

.tz-inline-stat-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tz-info-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--tz-border);
  background: rgba(255, 255, 255, 0.96);
  color: var(--tz-muted);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
}

.tz-duration-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.tz-dialog-helper {
  font-size: 13px;
  color: var(--tz-muted);
}

.tz-inline-link {
  color: var(--tz-primary-2);
  text-decoration: underline;
  font-weight: 700;
}

@media (max-width: 900px) {
  .tz-shell {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .tz-map-surface {
    height: min(31vh, 320px);
    min-height: 220px;
    overflow: hidden;
    transition: height 220ms ease, min-height 220ms ease, opacity 180ms ease;
  }

  body.tz-map-collapsed .tz-map-surface {
    height: 0;
    min-height: 0;
    opacity: 0;
  }

  body.tz-map-collapsed .tz-discovery-panel {
    border-radius: 0;
  }

  .tz-discovery-panel {
    height: 100%;
    min-height: 0;
    border-radius: 24px 24px 0 0;
  }

  .tz-map-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .tz-header {
    padding: 10px;
  }

  .tz-header-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'brand'
      'main';
    gap: 10px;
  }

  .tz-brand-mark {
    width: 74px;
    height: 74px;
  }

  .tz-brand-home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .tz-brand-lockup-mobile {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: left;
  }

  .tz-brand-mark-mobile {
    width: 52px;
    height: auto;
  }

  .tz-brand-lockup-inline {
    display: none;
  }

  .tz-brand-copy .title {
    font-size: 24px;
  }

  .tz-brand-copy .subtitle {
    font-size: 11px;
  }

  .tz-header-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'actions'
      'filters';
    gap: 8px;
  }

  .tz-search {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 6px;
  }

  .tz-search-btn,
  .tz-search-input,
  .tz-filter-toggle,
  .tz-actions .tz-btn,
  .tz-category-toggle {
    min-height: 42px;
  }

  .tz-search-btn {
    padding: 0 12px;
  }

  .tz-actions {
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
    scrollbar-width: auto;
    justify-content: stretch;
    margin: 0;
    justify-self: stretch;
  }

  .tz-actions .tz-btn {
    flex: 1 1 0;
    font-size: 14px;
  }

  .tz-header-install-btn-label {
    display: none;
  }

  .tz-header-help-btn-label {
    display: none;
  }

  .tz-header-actions {
    width: 100%;
    min-width: 0;
    align-self: start;
    justify-self: stretch;
  }

  .tz-header.is-filter-open .tz-header-filters {
    max-height: 220px;
  }

  .tz-filter-strip {
    gap: 6px;
  }

  .tz-filter-chip {
    min-height: 40px;
    padding: 9px 12px;
  }

  .tz-filter-select-wrap {
    flex-basis: 100%;
    width: 100%;
  }

  .tz-category-panel {
    position: static;
    min-width: 0;
  }

  .tz-category-panel-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .tz-category-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .tz-panel-tabs {
    position: sticky;
    top: 0;
    z-index: 2;
    gap: 6px;
    padding: 10px 10px 8px;
    background: rgba(255, 255, 255, 0.98);
  }

  .tz-panel-tab {
    padding: 10px 8px;
    font-size: 14px;
  }

  .tz-panel-section {
    padding: 12px 10px 16px;
  }

  .tz-map-toggle {
    margin: 10px 10px 0;
    min-width: 0;
    width: calc(100% - 20px);
  }
}

@media (min-width: 900px) {
  .tz-header {
    padding: 16px 20px 14px;
  }

  .tz-header-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'brand'
      'main';
    align-items: center;
  }

  .tz-brand-mark {
    width: 58px;
    height: 58px;
  }

  .tz-header-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'actions'
      'filters';
    align-items: center;
    width: 100%;
  }

  .tz-header.is-filter-open .tz-header-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .tz-actions {
    width: max-content;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-left: 0;
    justify-self: start;
  }

  .tz-actions .tz-btn {
    flex: 0 0 auto;
  }

  .tz-search {
    grid-template-columns: minmax(260px, 1fr) 44px;
  }

  .tz-header-filters {
    width: 100%;
    max-height: 0;
    max-width: none;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height 180ms ease, opacity 140ms ease, transform 180ms ease;
    justify-self: stretch;
    justify-content: flex-start;
  }

  .tz-header-filter-stack {
    justify-self: start;
    align-items: flex-start;
    justify-items: start;
    text-align: left;
  }

  .tz-header.is-filter-open .tz-header-filters {
    max-height: 170px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .tz-filter-strip {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: visible;
    padding-bottom: 2px;
  }

  .tz-filter-select-wrap {
    flex: 0 0 360px;
  }

  .tz-category-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tz-shell {
    grid-template-columns: minmax(0, 1fr) 420px;
    grid-template-rows: minmax(0, 1fr);
  }

  .tz-map-surface {
    min-height: 0;
  }

  .tz-discovery-panel {
    border-top: 0;
    border-left: 1px solid var(--tz-border);
    border-radius: 0;
  }

  .tz-panel-section {
    padding: 18px 16px 22px;
  }

  .tz-inline-analytics-grid,
  .tz-inline-biz-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --tz-mobile-map-sheet-peek: 34px;
  }

  .tz-app {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .tz-shell {
    height: 100%;
    min-height: 0;
    position: relative;
    overflow: hidden;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  body.tz-map-collapsed .tz-shell {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .tz-map-surface {
    height: 100%;
    min-height: 0;
  }

  body.tz-map-collapsed .tz-map-surface {
    height: 0;
    min-height: 0;
    opacity: 0;
  }

  .tz-discovery-panel {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    transform: translateY(calc(100% - var(--tz-mobile-map-sheet-peek)));
    transition: transform 220ms ease, box-shadow 220ms ease;
    box-shadow: 0 -10px 28px rgba(18, 48, 25, 0.16);
  }

  body.tz-map-collapsed .tz-discovery-panel {
    position: relative;
    height: 100%;
    max-height: 100%;
    transform: translateY(0);
    box-shadow: none;
  }

  .tz-map-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    min-width: 0;
    min-height: 26px;
    margin: 8px 0 0;
    padding: 6px 0 4px;
    line-height: 1.1;
    touch-action: pan-x;
  }

  .tz-panel-tabs,
  .tz-discovery-type-tabs {
    flex: 0 0 auto;
    position: static;
    top: auto;
    z-index: auto;
    background: rgba(255, 255, 255, 0.98);
  }

  body[data-theme='dark'] .tz-panel-tabs,
  body[data-theme='dark'] .tz-discovery-type-tabs {
    background: rgba(13, 24, 21, 0.98);
  }


  .tz-panel-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  .tz-discovery-type-tabs {
    gap: 8px;
    margin: 0 0 10px;
  }

  .tz-popup .swal2-html-container.tz-html {
    padding: 0;
  }

  .tz-panel-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 10px 2px;
    font-size: 15px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .tz-panel-section {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px 10px 18px;
  }

  .tz-panel-section[hidden] {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .tz-shell {
    grid-template-columns: minmax(0, 1fr) 450px;
  }
}

.tz-biz-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  padding-top: 6px;
  border-top: 1px solid var(--tz-biz-accent-border);
}

.tz-biz-actions .tz-btn {
  border-color: var(--tz-biz-accent-border);
}

.tz-biz-actions .tz-btn:not(.tz-btn-primary) {
  color: var(--tz-biz-accent-strong);
}

.tz-rating {
  display: flex;
  color: var(--tz-biz-accent-strong);
  gap: 8px;
}

.tz-stars {
  letter-spacing: 1px;
  color: #1f7a34;
  font-size: 16px;
}

@media (max-width: 640px) {
  .tz-popup {
    width: min(100vw - 16px, 560px) !important;
    padding: 16px !important;
  }
  .tz-biz {
    gap: 12px;
  }
  .tz-biz-hero,
  .tz-biz-hero-overlay {
    min-height: 210px;
  }
  .tz-biz-title {
    font-size: 22px;
  }
  .tz-biz-rating-chip {
    width: 100%;
    justify-content: space-between;
  }
  .tz-review-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .tz-rating-picker {
    justify-content: space-between;
  }
  .tz-biz-actions {
    flex-direction: column;
  }
  .tz-biz-actions .tz-btn {
    width: 100%;
  }
  .tz-subscription-item {
    align-items: flex-start;
    flex-direction: column;
  }
  .tz-subscription-item .tz-btn {
    width: 100%;
  }
}

.tz-danger {
  border-color: #f0c9c9;
  color: #a12e2e;
}
