/* LandAI CSS owner: Search shell, search suggestions, and overlay layer panel. */
.search-form {
  display: grid;
  gap: 0.4rem;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.search-form input {
  width: 100%;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.search-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.map-left-search {
  position: fixed;
  top: calc(var(--premium-banner-offset) + 12px);
  left: calc(var(--left-rail-width) + 12px);
  z-index: 5;
  display: grid;
  gap: 8px;
  width: 610px;
  max-width: calc(100vw - var(--left-rail-width) - 24px);
}

.map-left-search-row {
  display: grid;
  grid-template-columns: minmax(0, 375px) 86px auto;
  gap: 8px;
  align-items: stretch;
  max-width: 100%;
}

.map-left-search .unified-search-form {
  width: 100%;
  max-width: 100%;
  height: 50px;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

.map-left-search .unified-search-form input {
  height: 100%;
  border: none;
  border-radius: 0;
  padding: 0;
  color: #2f3437;
  font-size: 1.02rem;
  font-weight: 500;
}

.map-left-search .unified-search-form input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}

.map-left-search .unified-search-form input::placeholder {
  color: #8b8f94;
  font-weight: 500;
}

.map-left-search .unified-search-form input::-webkit-search-decoration,
.map-left-search .unified-search-form input::-webkit-search-cancel-button,
.map-left-search .unified-search-form input::-webkit-search-results-button,
.map-left-search .unified-search-form input::-webkit-search-results-decoration {
  display: none;
}

.search-icon-btn,
.search-clear-btn {
  height: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #c8ccd0;
  font-family: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: color 0.15s ease, background 0.15s ease;
}

.search-icon-btn:hover,
.search-clear-btn:hover {
  background: #f5f7f8;
  color: #7b8086;
}

.search-icon-btn:disabled {
  cursor: wait;
  color: #16a34a;
}

.search-clear-btn {
  font-size: 2.45rem;
  font-weight: 300;
  line-height: 1;
}

.search-layers-btn {
  height: 50px;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  padding: 0 0.75rem;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.search-layers-btn:hover,
.search-layers-btn.is-active {
  background: #0f766e;
  color: #ffffff;
}

.search-layers-btn:active {
  transform: translateY(1px);
}

.search-premium-unlock-btn {
  min-width: 124px;
  height: 50px;
  padding: 0 14px;
  border: 0;
  border-radius: 16px;
  background: #ff2a00;
  box-shadow: 0 8px 24px rgba(255, 42, 0, 0.2);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.search-premium-unlock-btn[hidden] {
  display: none;
}

.search-premium-unlock-btn:hover,
.search-premium-unlock-btn:focus-visible {
  background: #e62600;
  outline: none;
}

.search-premium-unlock-btn:active {
  transform: translateY(1px);
}

.search-dropdown {
  width: 375px;
  max-width: 100%;
  padding: 28px 20px 26px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.search-dropdown[hidden] {
  display: none;
}

.search-location-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) 64px 34px;
  gap: 6px;
  margin-top: 12px;
  align-items: stretch;
}

.search-location-filters[hidden] {
  display: none;
}

.search-filter-field {
  position: relative;
  min-width: 0;
  height: 44px;
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 5px 22px 5px 9px;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  background: #f8fafc;
  color: #2f3437;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.search-filter-field::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.8px solid #7b8490;
  border-bottom: 1.8px solid #7b8490;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.search-filter-field:focus-within {
  background: #fff;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.search-filter-field:has(input:disabled) {
  background: #f1f5f9;
  color: #9aa1aa;
  cursor: not-allowed;
}

.search-filter-field:has(input:disabled)::after {
  border-color: #b6bec8;
}

.search-filter-label {
  min-width: 0;
  overflow: hidden;
  color: #69727d;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.search-filter-field:has(input:disabled) .search-filter-label {
  color: #9aa1aa;
}

.search-location-filters input {
  width: 100%;
  min-width: 0;
  height: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2f3437;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.1;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: inherit;
}

.search-location-filters input:focus {
  outline: none;
}

.search-location-filters input:disabled {
  opacity: 1;
  color: #9aa1aa;
}

.search-location-filters input::placeholder {
  color: #8b949f;
  opacity: 1;
}

.search-location-filters input::-webkit-calendar-picker-indicator {
  opacity: 0;
}

.search-filter-field-state {
  padding-right: 20px;
}

.search-filter-clear {
  align-self: center;
  width: 34px;
  height: 34px;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  background: #f8fafc;
  color: #8b8f94;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0 0 2px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.search-filter-clear:hover,
.search-filter-clear:focus-visible {
  background: #fff;
  border-color: #cbd5e1;
  color: #334155;
  outline: none;
}

.overlay-layers-panel {
  width: 470px;
  max-width: 100%;
  max-height: min(70vh, 640px);
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.overlay-layers-panel[hidden] {
  display: none;
}

.overlay-layers-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #e2e8f0;
}

.overlay-layers-panel-header h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 750;
  color: #0f172a;
}

.overlay-layers-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.overlay-layers-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.overlay-layers-content {
  display: grid;
  gap: 0.8rem;
  padding: 0.85rem 0.9rem 1rem;
  max-height: calc(min(70vh, 640px) - 54px);
  overflow: auto;
}

.overlay-layers-select-row,
.overlay-layers-search-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
}

.overlay-layers-select-row label,
.overlay-layers-search-row label {
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
}

.overlay-layers-select-row select,
.overlay-layers-search-row input {
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 0.84rem;
  padding: 0.45rem 0.5rem;
}

.overlay-layers-search-row input {
  appearance: none;
}

.overlay-layers-search-row input:focus,
.overlay-layers-select-row select:focus {
  border-color: rgba(15, 118, 110, 0.55);
  outline: 2px solid rgba(15, 118, 110, 0.14);
  outline-offset: 0;
}

.overlay-layer-catalog {
  display: grid;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.overlay-layer-catalog-summary {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 0.65rem;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  list-style: none;
}

.overlay-layer-catalog-summary::-webkit-details-marker {
  display: none;
}

.overlay-layer-catalog-summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.overlay-layer-catalog[open] > .overlay-layer-catalog-summary {
  border-bottom: 1px solid #e2e8f0;
}

.overlay-layer-catalog[open] > .overlay-layer-catalog-summary::before {
  content: "-";
}

.overlay-layer-catalog-summary span:first-of-type {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overlay-layer-catalog-count {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.overlay-layer-catalog-body {
  display: grid;
  gap: 0.65rem;
  padding: 0.65rem;
  background: #fff;
}

.overlay-layer-ai-catalog {
  border-color: rgba(37, 99, 235, 0.28);
}

.overlay-layer-ai-catalog > .overlay-layer-catalog-summary {
  background: #eff6ff;
  color: #1e3a8a;
}

.overlay-layer-ai-catalog > .overlay-layer-catalog-summary::before {
  border-color: rgba(37, 99, 235, 0.28);
  color: #1d4ed8;
}

.overlay-layer-ai-catalog .overlay-layer-catalog-count {
  color: #2563eb;
}

.overlay-layer-ai-bundle {
  display: grid;
  gap: 0.55rem;
}

.overlay-layer-ai-bundle + .overlay-layer-ai-bundle {
  padding-top: 0.55rem;
  border-top: 1px solid #dbeafe;
}

.overlay-layer-ai-bundle-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  color: #1e3a8a;
  font-size: 0.74rem;
  font-weight: 850;
}

.overlay-layer-ai-bundle-header span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overlay-layer-ai-bundle-header span:last-child {
  color: #2563eb;
  font-variant-numeric: tabular-nums;
}

.overlay-layer-group {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.overlay-layer-base-group {
  border-color: rgba(15, 118, 110, 0.28);
}

.overlay-layer-active-group {
  border-color: rgba(16, 185, 129, 0.36);
  background: #f7fefb;
}

.overlay-layer-active-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.58rem 0.65rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.16);
  background: #ecfdf5;
  color: #064e3b;
}

.overlay-layer-active-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 850;
}

.overlay-layer-active-count {
  color: #047857;
  font-size: 0.72rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.overlay-layer-parcel-row {
  border-top: 0;
  background: #f0fdfa;
}

.overlay-layer-parcel-settings {
  display: grid;
  gap: 0.62rem;
  padding: 0.62rem 0.65rem 0.72rem 3.85rem;
  border-top: 1px solid #ccfbf1;
  background: #f8fffd;
}

.overlay-layer-label-controls,
.overlay-layer-buildings-controls {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.overlay-layer-label-heading {
  color: #334155;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
}

.overlay-layer-label-segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.24rem;
}

.overlay-layer-label-mode-btn {
  min-width: 0;
  min-height: 1.78rem;
  padding: 0.28rem 0.2rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  font: inherit;
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1;
}

.overlay-layer-label-mode-btn:hover,
.overlay-layer-label-mode-btn:focus-visible {
  border-color: #60a5fa;
  color: #1d4ed8;
  outline: none;
}

.overlay-layer-label-mode-btn.is-active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.overlay-layer-buildings-btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 34px;
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 850;
  text-align: left;
}

.overlay-layer-buildings-btn span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overlay-layer-buildings-btn span:last-child {
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
}

.overlay-layer-buildings-btn:hover,
.overlay-layer-buildings-btn:focus-visible {
  border-color: rgba(15, 118, 110, 0.42);
  color: #0f766e;
  outline: none;
}

.overlay-layer-buildings-btn.is-active {
  border-color: #14b8a6;
  background: #ecfdf5;
  color: #047857;
}

.overlay-layer-buildings-btn.is-active span:last-child {
  background: #d1fae5;
  color: #047857;
}

.overlay-layer-buildings-btn[aria-disabled="true"] {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #64748b;
}

.overlay-layer-buildings-hint {
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.overlay-layer-group-header,
.overlay-layer-row {
  display: grid;
  gap: 0.55rem;
  align-items: center;
}

.overlay-layer-group-header {
  grid-template-columns: 22px minmax(0, 1fr) auto 28px;
  padding: 0.58rem 0.65rem;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 750;
}

.overlay-layer-group-name {
  cursor: pointer;
}

.overlay-layer-group-collapse {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.overlay-layer-group-collapse:hover,
.overlay-layer-group-collapse:focus-visible {
  border-color: rgba(15, 118, 110, 0.38);
  background: #f0fdfa;
  color: #0f766e;
  outline: none;
}

.overlay-layer-group-rows[hidden] {
  display: none;
}

.overlay-layer-row {
  grid-template-columns: 22px 30px minmax(0, 1fr) 24px auto;
  padding: 0.55rem 0.65rem;
  border-top: 1px solid #e2e8f0;
  color: #334155;
}

.overlay-layer-active-row {
  background: #fbfffd;
}

.overlay-layer-active-row:first-child {
  border-top: 0;
}

.overlay-layer-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.overlay-layer-style-btn {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 2px solid var(--overlay-layer-border-color, rgba(15, 23, 42, 0.24));
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--overlay-layer-color, #2563eb) 0 68%,
    var(--overlay-layer-border-color, rgba(15, 23, 42, 0.24)) 68% 100%
  );
  cursor: pointer;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(15, 23, 42, 0.12);
}

.overlay-layer-style-btn:hover {
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.55),
    0 0 0 2px rgba(15, 23, 42, 0.12),
    0 1px 2px rgba(15, 23, 42, 0.12);
}

.overlay-layer-style-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.overlay-layer-parcel-swatch {
  border: 1px solid rgba(14, 165, 233, 0.36);
  background: var(--overlay-layer-color, #0ea5e9);
  opacity: 1;
}

.overlay-layer-info-btn {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  color: #475569;
  cursor: pointer;
  font-family: ui-serif, Georgia, serif;
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
}

.overlay-layer-info-btn:hover,
.overlay-layer-info-btn:focus-visible {
  border-color: rgba(15, 118, 110, 0.38);
  background: #f0fdfa;
  color: #0f766e;
  outline: none;
}

.overlay-layer-style-popover,
.overlay-layer-info-popover {
  position: fixed;
  z-index: 16;
  display: grid;
  gap: 0.8rem;
  padding: 0.82rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
  color: #0f172a;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}

.overlay-layer-info-popover {
  gap: 0.65rem;
}

.overlay-layer-style-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 0.5rem;
}

.overlay-layer-style-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 800;
}

.overlay-layer-style-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

.overlay-layer-style-close:hover,
.overlay-layer-style-close:focus-visible {
  background: #f1f5f9;
  color: #0f172a;
  outline: none;
}

.overlay-layer-style-field {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 750;
}

.overlay-layer-style-color-input {
  width: 42px;
  height: 30px;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.overlay-layer-style-color-input::-webkit-color-swatch-wrapper {
  padding: 2px;
}

.overlay-layer-style-color-input::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
}

.overlay-layer-style-color-input::-moz-color-swatch {
  border: none;
  border-radius: 4px;
}

.overlay-layer-style-opacity {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 42px;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.overlay-layer-style-opacity-input {
  width: 100%;
  height: 22px;
  accent-color: var(--accent);
}

.overlay-layer-style-reset {
  width: 100%;
  min-height: 34px;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  background: #ecfdf5;
  color: #047857;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.overlay-layer-style-reset:hover,
.overlay-layer-style-reset:focus-visible {
  border-color: #86efac;
  background: #dcfce7;
  color: #065f46;
  outline: none;
}

.overlay-layer-info-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.overlay-layer-info-table td {
  padding: 0.35rem 0;
  border-top: 1px solid #eef2f7;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.overlay-layer-info-table tr:first-child td {
  border-top: 0;
}

.overlay-layer-info-table td:first-child {
  width: 88px;
  color: #64748b;
  font-weight: 750;
}

.overlay-layer-zoom-editor {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.65rem;
  border-top: 1px solid #eef2f7;
}

.overlay-layer-zoom-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  color: #0f172a;
  font-size: 0.76rem;
  font-weight: 800;
}

.overlay-layer-zoom-heading span:last-child {
  min-width: 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 750;
  text-align: right;
}

.overlay-layer-zoom-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.overlay-layer-zoom-field {
  display: grid;
  gap: 0.25rem;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
}

.overlay-layer-zoom-field input {
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0 0.45rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #0f172a;
  font: inherit;
  font-variant-numeric: tabular-nums;
}

.overlay-layer-zoom-field input:focus {
  border-color: rgba(15, 118, 110, 0.55);
  outline: 2px solid rgba(15, 118, 110, 0.14);
  outline-offset: 0;
}

.overlay-layer-zoom-warning {
  margin: 0;
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.3;
}

.overlay-layer-opacity-value {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 750;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.overlay-layer-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 650;
}

.overlay-layer-active-name {
  display: grid;
  gap: 0.12rem;
  white-space: normal;
}

.overlay-layer-name-main,
.overlay-layer-meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overlay-layer-meta {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 650;
}

.overlay-layer-count {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 650;
}

.overlay-layer-active-pill {
  justify-self: end;
  padding: 0.16rem 0.42rem;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
}

.overlay-layers-muted {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
}

@media (max-width: 560px) {
  .map-left-search-row {
    grid-template-columns: minmax(0, 1fr) 78px auto;
  }

  .search-layers-btn {
    padding-inline: 0.5rem;
    font-size: 0.84rem;
  }

  .search-premium-unlock-btn {
    min-width: 94px;
    padding-inline: 10px;
    font-size: 0.78rem;
  }
}
