.bt-gis-viewer-page {
  --bt-gis-countyparish-color: #c15a1a;
  --bt-gis-countyparish-stroke-width: 4.75;
  --bt-gis-township-color: #0e5630;
  --bt-gis-township-stroke-width: 3.25;
  min-height: calc(100vh - 64px);
  background: #edf0f3;
}

.bt-gis-viewer {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr) 310px;
  min-height: calc(100vh - 64px);
  color: #202124;
}

.bt-gis-viewer-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  border-color: #d7dce2;
  background: #f9fafb;
  padding: 12px;
  overflow: auto;
}

.bt-gis-viewer-left {
  border-right: 1px solid #d7dce2;
}

.bt-gis-viewer-right {
  border-left: 1px solid #d7dce2;
}

.bt-gis-viewer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bt-gis-viewer-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid #5b1d14;
  color: #0e5630;
  font-weight: 900;
}

.bt-gis-viewer-brand h1 {
  margin: 0;
  color: #5b1d14;
  font-size: 20px;
  line-height: 1.1;
}

.bt-gis-viewer-brand p {
  margin: 2px 0 0;
  color: #667085;
  font-size: 12px;
}

.bt-gis-viewer-card {
  border: 1px solid #d7dce2;
  background: #fff;
  padding: 10px;
}

.bt-gis-viewer-card h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bt-gis-viewer-toolbar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.bt-gis-pan-pad {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 1px solid #b9c2cf;
  border-radius: 50%;
  overflow: hidden;
  background: #b9c2cf;
}

.bt-gis-pan-direction {
  position: absolute;
  inset: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #0e5630;
  cursor: pointer;
  font: 800 18px/1 Arial, sans-serif;
}

.bt-gis-pan-direction span { position: absolute; transform: translate(-50%, -50%); }
.bt-gis-pan-direction[data-map-pan="up"] { top: 0; left: 0; width: 100%; height: 49%; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.bt-gis-pan-direction[data-map-pan="right"] { top: 0; right: 0; width: 49%; height: 100%; clip-path: polygon(100% 0, 100% 100%, 0 50%); }
.bt-gis-pan-direction[data-map-pan="down"] { bottom: 0; left: 0; width: 100%; height: 49%; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.bt-gis-pan-direction[data-map-pan="left"] { top: 0; left: 0; width: 49%; height: 100%; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.bt-gis-pan-direction[data-map-pan="up"] span { top: 40%; left: 50%; }
.bt-gis-pan-direction[data-map-pan="right"] span { left: 60%; top: 50%; }
.bt-gis-pan-direction[data-map-pan="down"] span { top: 60%; left: 50%; }
.bt-gis-pan-direction[data-map-pan="left"] span { left: 40%; top: 50%; }
.bt-gis-pan-direction:hover { background: #eef8f1; }
.bt-gis-pan-direction:focus-visible { background: #0e5630; color: #fff; outline: none; }
.gis-map-actions .bt-gis-pan-pad { grid-column: 1 / -1; justify-self: center; }

.bt-gis-surface-switcher {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #0e5630;
  background: #fff;
}

.bt-gis-surface-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  min-width: 42px;
  padding: 5px 9px;
  color: #0e5630;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.bt-gis-surface-link + .bt-gis-surface-link {
  border-left: 1px solid #0e5630;
}

.bt-gis-surface-link:hover,
.bt-gis-surface-link:focus {
  background: #eef8f1;
  outline: 1px solid rgba(14, 86, 48, .28);
  outline-offset: -2px;
}

.bt-gis-surface-link.is-active {
  background: #0e5630;
  color: #fff;
}

.bt-gis-viewer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9c2cf;
  background: #fff;
  color: #14213d;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  min-height: 28px;
  padding: 5px 8px;
}

.bt-gis-viewer-link {
  text-decoration: none;
}

.bt-gis-viewer-button:hover,
.bt-gis-viewer-button:focus {
  border-color: #0e5630;
  outline: 1px solid rgba(14, 86, 48, .35);
}

.bt-gis-viewer-button.primary {
  background: #0e5630;
  border-color: #0e5630;
  color: #fff;
}

.bt-gis-box-zoom-button {
  width: 30px;
  min-width: 30px;
  padding: 0;
}

.bt-gis-box-zoom-button span {
  display: block;
  width: 14px;
  height: 10px;
  margin: 0 auto;
  border: 2px dashed currentColor;
}

.bt-gis-box-zoom-button[aria-pressed="true"] {
  background: #0e5630;
  border-color: #0e5630;
  color: #fff;
}

.bt-gis-extent-history-button {
  width: 28px;
  min-width: 28px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.bt-gis-viewer-button:disabled {
  cursor: wait;
  opacity: .62;
}

.bt-gis-extent-history-button:disabled {
  cursor: default;
}

.bt-gis-clip-tools {
  border-color: #d89a3a;
  background: #fffaf0;
}

.bt-gis-restore-tools {
  border-color: #0e5630;
  background: #f2fbf6;
}

.bt-gis-restore-tools.is-success {
  border-color: #0e5630;
  background: #eefaf2;
}

.bt-gis-restore-tools p {
  margin: 0 0 8px;
}

.bt-gis-restore-confirmation-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(17, 24, 39, .42);
  padding: 18px;
}

.bt-gis-restore-confirmation-dialog {
  display: grid;
  gap: 10px;
  width: min(440px, 100%);
  border: 1px solid #cfd8e3;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17, 24, 39, .28);
  color: #14213d;
  padding: 14px;
}

.bt-gis-restore-confirmation-dialog:focus {
  outline: 2px solid rgba(14, 86, 48, .38);
  outline-offset: 2px;
}

.bt-gis-restore-confirmation-dialog h2 {
  margin: 0;
  color: #5b1d14;
  font-size: 15px;
  line-height: 1.2;
}

.bt-gis-restore-confirmation-dialog p {
  margin: 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.4;
}

.bt-gis-restore-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 2px;
}

.bt-gis-clip-controls {
  display: grid;
  gap: 7px;
}

.bt-gis-active-cache-settings {
  display: grid;
  gap: 2px;
  border: 1px solid #b7d7c6;
  background: #f1fbf5;
  color: #0f5c35;
  padding: 5px 6px;
  font-size: 11px;
  line-height: 1.25;
}

.bt-gis-active-cache-settings strong,
.bt-gis-subsection-heading {
  color: #5b1d14;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bt-gis-cache-mismatch {
  border: 1px solid #f79009;
  background: #fff7e6;
  color: #7a2e00;
  margin: 0;
  padding: 5px 6px;
}

.bt-gis-clip-controls label {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  color: #344054;
  font-size: 11px;
  font-weight: 900;
}

.bt-gis-clip-controls input,
.bt-gis-clip-controls select {
  width: 100%;
  min-height: 26px;
  border: 1px solid #b9c2cf;
  background: #fff;
  color: #14213d;
  font: inherit;
  font-weight: 800;
  padding: 3px 5px;
}

.bt-gis-clip-controls .bt-gis-viewer-button {
  width: 100%;
}

.bt-gis-layer-filter {
  display: inline-flex;
  border: 1px solid #d7dce2;
  background: #fbfcfd;
}

.bt-gis-layer-filter button {
  border: 0;
  background: transparent;
  color: #667085;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
}

.bt-gis-layer-filter button[aria-pressed="true"] {
  background: #fff;
  color: #5b1d14;
  box-shadow: inset 0 -2px 0 #0e5630;
}

.bt-gis-layer-list {
  display: grid;
  gap: 8px;
}

.bt-gis-layer-group {
  display: grid;
  gap: 5px;
}

.bt-gis-layer-group-title {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  width: 100%;
  border: 1px solid #d7dce2;
  background: #f8fafc;
  color: #5b1d14;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 7px;
  text-align: left;
}

.bt-gis-layer-group.is-collapsed .bt-gis-layer-row,
.bt-gis-layer-group.is-collapsed .bt-gis-layer-feature-list,
.bt-gis-layer-group.is-collapsed .bt-gis-legend {
  display: none;
}

.bt-gis-layer-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 5px;
  border: 1px solid #e1e6ed;
  background: #fff;
  padding: 6px;
}

.bt-gis-layer-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  cursor: pointer;
}

.bt-gis-layer-row input {
  accent-color: #0e5630;
}

.bt-gis-layer-row strong {
  display: block;
  color: #14213d;
  font-size: 12px;
}

.bt-gis-layer-row span span {
  display: block;
  color: #667085;
  font-size: 10px;
}

.bt-gis-layer-feature-list {
  display: grid;
  gap: 4px;
}

.bt-gis-layer-feature-group {
  display: grid;
  gap: 4px;
  margin-left: 18px;
}

.bt-gis-layer-feature-group.is-collapsed .bt-gis-layer-feature-list {
  display: none;
}

.bt-gis-layer-feature-group-title {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  width: 100%;
  border: 1px solid #d7dce2;
  background: #f8fafc;
  color: #5b1d14;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 6px;
  text-align: left;
}

.bt-gis-layer-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  border: 1px solid #e6ebf2;
  background: #fbfcfd;
  padding: 5px 6px;
}

.bt-gis-layer-feature-row label {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  cursor: pointer;
}

.bt-gis-layer-feature-row input {
  accent-color: #0e5630;
}

.bt-gis-layer-feature-row strong {
  display: block;
  overflow: hidden;
  color: #14213d;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bt-gis-layer-feature-row span span {
  display: block;
  color: #667085;
  font-size: 10px;
}

.bt-gis-feature-style-swatch {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 28px;
  height: 14px;
}

.bt-gis-feature-style-swatch::before {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 24px;
  border-top: var(--bt-gis-feature-swatch-width, 2px) solid var(--bt-gis-feature-swatch-stroke, #b42318);
  content: "";
  transform: translateY(-50%);
}

.bt-gis-feature-style-swatch::after {
  position: absolute;
  inset: 3px 5px;
  z-index: 0;
  border: 1px solid var(--bt-gis-feature-swatch-stroke, #b42318);
  background: var(--bt-gis-feature-swatch-fill, transparent);
  content: "";
  opacity: var(--bt-gis-feature-swatch-fill-opacity, 0);
}

.bt-gis-layer-feature-row label > span:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.bt-gis-tool-button {
  display: inline-grid;
  min-width: 28px;
  height: 26px;
  place-items: center;
  border: 1px solid #d7dce2;
  background: #fff;
  color: #5b1d14;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
}

.bt-gis-tool-button[aria-pressed="true"] {
  border-color: #0e5630;
  color: #0e5630;
  box-shadow: inset 0 -2px 0 #0e5630;
}

.bt-gis-legend {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 4px 6px;
  border: 1px solid #e1e6ed;
  border-top: 0;
  background: #fbfcfd;
  padding: 6px 8px;
  color: #475467;
  font-size: 11px;
}

.bt-gis-swatch {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0,0,0,.16);
}

.bt-gis-mvm-control-page {
  min-height: calc(100vh - 78px);
  background: #f6f8fb;
  padding: 18px;
}

.bt-gis-mvm-control-shell {
  display: grid;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.bt-gis-mvm-control-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d8e0ea;
  background: #fff;
  padding: 12px 14px;
}

.bt-gis-mvm-control-header h1 {
  margin: 0;
  color: #111827;
  font-size: 24px;
}

.bt-gis-mvm-control-header p {
  margin: 3px 0 0;
  color: #53627a;
  font-size: 12px;
  font-weight: 700;
}

.bt-gis-mvm-control-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.bt-gis-mvm-control-panel {
  max-height: none;
}

.bt-gis-mvm-management {
  max-height: 48vh;
  overflow: auto;
}

.bt-gis-mvm-control-panel.bt-gis-mvm-management {
  max-height: none;
}

.bt-gis-mvm-management-profile {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #d8e0ea;
  background: #f8fafc;
  margin-bottom: 8px;
  padding: 8px;
}

.bt-gis-mvm-management-profile > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.bt-gis-mvm-management-profile strong {
  color: #111827;
  font-size: 13px;
}

.bt-gis-mvm-management-profile span {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}

.bt-gis-mvm-management-profile span.is-dirty {
  color: #8a2f0b;
}

.bt-gis-mvm-management-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bt-gis-mvm-save-button:disabled {
  cursor: default;
  opacity: .72;
}

.bt-gis-mvm-management-status {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}

.bt-gis-mvm-management-status {
  margin: 0 0 8px;
}

.bt-gis-mvm-layer-settings {
  display: grid;
  gap: 8px;
}

.bt-gis-mvm-layer-setting {
  border: 1px solid #e1e6ed;
  margin: 0;
  background: #fff;
}

.bt-gis-mvm-layer-group {
  display: grid;
  border: 1px solid #cfd8e3;
  background: #fff;
}

.bt-gis-mvm-layer-group-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto auto;
  align-items: center;
  gap: 8px;
  background: #eef3f8;
  border-bottom: 1px solid #d8e0ea;
  padding: 6px 8px;
}

.bt-gis-mvm-layer-group-row > span {
  color: #53627a;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.bt-gis-mvm-layer-group-row label,
.bt-gis-mvm-layer-summary label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #344054;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.bt-gis-mvm-layer-group-row input,
.bt-gis-mvm-layer-summary input {
  accent-color: #0e5630;
}

.bt-gis-mvm-layer-group-body {
  display: grid;
  gap: 6px;
  padding: 7px;
}

.bt-gis-mvm-expand-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  border: 1px solid #b9c2cf;
  background: #fff;
  color: #14213d;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  min-height: 26px;
  padding: 4px 7px;
}

.bt-gis-mvm-expand-button span {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid #b9c2cf;
  background: #f8fafc;
}

.bt-gis-mvm-expand-button strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bt-gis-mvm-expand-button:hover,
.bt-gis-mvm-expand-button:focus {
  border-color: #0e5630;
  outline: 1px solid rgba(14, 86, 48, .28);
}

.bt-gis-mvm-layer-summary {
  display: grid;
  grid-template-columns: 24px auto auto minmax(180px, 1fr) minmax(110px, .55fr) auto auto auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 6px 7px;
}

.bt-gis-mvm-layer-summary strong {
  overflow: hidden;
  color: #14213d;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bt-gis-mvm-layer-summary > span:not(.bt-gis-mvm-style-preview) {
  overflow: hidden;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bt-gis-mvm-style-preview {
  display: inline-block;
  width: 34px;
  height: 20px;
  border: var(--bt-gis-preview-width, 2px) solid var(--bt-gis-preview-stroke, #0e5630);
  background: var(--bt-gis-preview-fill, #d8f3dc);
  opacity: 1;
  box-shadow: inset 0 0 0 999px rgba(255,255,255, calc(1 - var(--bt-gis-preview-fill-opacity, .35)));
}

.bt-gis-mvm-order-buttons {
  display: inline-grid;
  grid-template-rows: 15px 15px;
  gap: 1px;
  width: 24px;
}

.bt-gis-mvm-order-buttons button {
  display: grid;
  min-width: 0;
  min-height: 0;
  width: 24px;
  height: 15px;
  place-items: center;
  border: 1px solid #b9c2cf;
  background: #fff;
  color: #14213d;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  padding: 0;
}

.bt-gis-mvm-order-buttons button:disabled {
  cursor: default;
  color: #465469;
  opacity: .82;
}

.bt-gis-mvm-layer-detail {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(460px, 1.15fr);
  gap: 10px;
  border-top: 1px solid #e1e6ed;
  background: #fbfcfd;
  padding: 8px;
}

.bt-gis-mvm-detail-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-content: start;
  border: 1px solid #d8e0ea;
  background: #fff;
}

.bt-gis-mvm-detail-section h2 {
  margin: 0;
  border-bottom: 1px solid #d8e0ea;
  background: #eef3f8;
  color: #5b1d14;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  padding: 5px 7px;
  text-transform: uppercase;
}

.bt-gis-mvm-form-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 32px;
  border-bottom: 1px solid #e1e6ed;
  color: #344054;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 7px;
}

.bt-gis-mvm-form-row:last-child {
  border-bottom: 0;
}

.bt-gis-mvm-form-row > span {
  color: #5b1d14;
  text-align: right;
  text-transform: uppercase;
}

.bt-gis-mvm-feature-section {
  grid-column: 1 / -1;
}

.bt-gis-mvm-feature-list {
  display: grid;
  gap: 5px;
  padding: 6px;
}

.bt-gis-mvm-feature-row {
  display: grid;
  grid-template-columns: auto auto auto minmax(140px, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #e1e6ed;
  background: #fbfcfd;
  padding: 5px 7px;
}

.bt-gis-mvm-feature-row label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #475467;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.bt-gis-mvm-feature-row strong {
  overflow: hidden;
  color: #14213d;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bt-gis-mvm-feature-row input[type="text"] {
  width: 100%;
  min-width: 0;
}

.bt-gis-mvm-feature-label-color span {
  font-size: 10px;
}

.bt-gis-mvm-feature-style {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(180px, 1fr) minmax(180px, 1fr) auto auto auto auto;
  align-items: center;
  gap: 6px;
}

.bt-gis-mvm-feature-style-state {
  color: #667085;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.bt-gis-mvm-feature-color-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.bt-gis-mvm-feature-custom-color {
  min-width: 0;
}

.bt-gis-mvm-feature-custom-color summary {
  color: #53627a;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.bt-gis-mvm-feature-custom-color input[type="color"] {
  width: 34px;
  height: 22px;
  margin-top: 3px;
}

.bt-gis-mvm-feature-style label {
  gap: 3px;
}

.bt-gis-mvm-feature-style input[type="number"] {
  width: 64px;
}

.bt-gis-mvm-feature-style button {
  border: 1px solid #b9c2cf;
  background: #fff;
  color: #14213d;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 7px;
}

.bt-gis-mvm-group-settings {
  display: grid;
  gap: 5px;
  margin-bottom: 8px;
}

.bt-gis-mvm-group-settings label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #344054;
  font-size: 11px;
  font-weight: 900;
}

.bt-gis-mvm-layer-setting input,
.bt-gis-mvm-layer-setting select {
  width: 100%;
  min-width: 0;
  border: 1px solid #b9c2cf;
  background: #fff;
  color: #14213d;
  font: inherit;
  font-size: 11px;
  min-height: 24px;
  padding: 2px 4px;
}

.bt-gis-mvm-layer-detail input[type="number"] {
  max-width: 82px;
  text-align: center;
}

.bt-gis-mvm-layer-detail input[data-mvm-field="displayLabel"],
.bt-gis-mvm-layer-detail input[data-mvm-field="layerGroup"] {
  max-width: 210px;
}

.bt-gis-mvm-layer-detail select {
  max-width: 250px;
}

.bt-gis-mvm-layer-setting input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  accent-color: #0e5630;
}

.bt-gis-mvm-layer-setting input[type="color"] {
  padding: 1px;
}

.bt-gis-mvm-color-swatches {
  display: grid;
  grid-template-columns: repeat(12, 18px);
  align-items: center;
  gap: 3px;
}

.bt-gis-mvm-color-control {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  border-bottom: 1px solid #e1e6ed;
  padding: 4px 7px;
}

.bt-gis-mvm-color-label {
  color: #344054;
  font-size: 10px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.bt-gis-mvm-fill-actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 32px;
  border-bottom: 1px solid #e1e6ed;
  padding: 4px 7px;
}

.bt-gis-mvm-fill-actions > span {
  color: #344054;
  font-size: 10px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.bt-gis-mvm-fill-actions button {
  justify-self: start;
  border: 1px solid #b9c2cf;
  background: #fff;
  color: #14213d;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 9px;
}

.bt-gis-mvm-fill-actions button.is-selected {
  border-color: #0e5630;
  background: #eaf6ef;
  color: #0e5630;
}

.bt-gis-mvm-color-swatches button {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid #667085;
  background: var(--bt-gis-swatch-color);
  cursor: pointer;
  padding: 0;
}

.bt-gis-mvm-color-swatches button.is-selected {
  border-color: #111827;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0e5630;
}

.bt-gis-mvm-color-swatches button.is-selected::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-bottom: 2px solid #111827;
  border-right: 2px solid #111827;
  transform: rotate(45deg);
}

.bt-gis-mvm-color-swatches span {
  color: #667085;
  font-size: 10px;
  font-weight: 800;
}

.bt-gis-mvm-custom-color {
  justify-self: end;
}

.bt-gis-mvm-custom-color summary {
  color: #53627a;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.bt-gis-mvm-custom-color label {
  min-width: 180px;
  margin-top: 4px;
}

.bt-gis-mvm-layer-setting input:disabled,
.bt-gis-mvm-layer-setting select:disabled {
  background: #eef2f6;
  color: #667085;
}

.bt-gis-mvm-style-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #667085;
  font-size: 10px;
  font-weight: 800;
}

.bt-gis-map-column {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  background: #f7f5ef;
}

.bt-gis-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #d7dce2;
  background: #fff;
  padding: 10px 12px;
}

.bt-gis-map-header strong {
  display: block;
  color: #5b1d14;
  font-size: 16px;
}

.bt-gis-map-header span {
  color: #667085;
  font-size: 12px;
}

.bt-gis-map-shell {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.bt-gis-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  cursor: grab;
  touch-action: none;
}

.bt-gis-map.is-dragging {
  cursor: grabbing;
}

.bt-gis-map.is-box-zoom-active,
.bt-gis-map.is-box-zoom-active.is-dragging {
  cursor: crosshair;
}

.bt-gis-map-bg {
  fill: #fbfaf6;
}

.bt-gis-box-zoom-rect {
  fill: rgba(14, 86, 48, .12);
  pointer-events: none;
  stroke: #0e5630;
  stroke-dasharray: 8 5;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.bt-spatial-renderer-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #fbfaf6;
  touch-action: none;
}

.bt-spatial-renderer-bg {
  fill: #fbfaf6;
}

.bt-spatial-renderer-feature polygon {
  fill: none;
  fill-opacity: 1;
  stroke: #1f2937;
  stroke-width: .75;
  vector-effect: non-scaling-stroke;
}

.bt-spatial-renderer-feature path {
  fill: none;
  fill-opacity: 1;
  stroke: #1f2937;
  stroke-width: .75;
  vector-effect: non-scaling-stroke;
}

.bt-spatial-renderer-feature:not(.bt-spatial-style-project-location) polygon {
  fill: none;
  fill-opacity: 1;
}

.bt-spatial-renderer-feature:not(.bt-spatial-style-project-location) path {
  fill: none;
  fill-opacity: 1;
}

.bt-spatial-renderer-feature polyline {
  fill: none;
  stroke: #5d6470;
  stroke-width: .85;
  vector-effect: non-scaling-stroke;
}

.bt-spatial-renderer-feature circle {
  fill: #fff;
  stroke: #0e5630;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.bt-spatial-style-well-location circle {
  fill: #fef3c7;
  stroke: #92400e;
  stroke-width: 1.2;
}

.bt-spatial-style-well-location polyline {
  stroke: #92400e;
  stroke-width: 1;
}

.bt-spatial-layer-basemap-parish polygon,
.bt-spatial-layer-basemap-parish path,
.bt-spatial-layer-basemap-county polygon,
.bt-spatial-layer-basemap-county path,
.bt-spatial-layer-basemap-counties polygon,
.bt-spatial-layer-basemap-counties path,
.bt-spatial-style-legal-unit-parish polygon,
.bt-spatial-style-legal-unit-parish path {
  fill: none;
  fill-opacity: 1;
  stroke: var(--bt-gis-countyparish-color, #c15a1a);
  stroke-opacity: 1;
  stroke-width: var(--bt-gis-countyparish-stroke-width, 6);
  vector-effect: non-scaling-stroke;
}

.bt-spatial-layer-basemap-townships polygon,
.bt-spatial-layer-basemap-townships path,
.bt-spatial-layer-basemap-township-labels polygon,
.bt-spatial-layer-basemap-township-labels path,
.bt-spatial-style-legal-unit-township polygon,
.bt-spatial-style-legal-unit-township path {
  fill: none;
  fill-opacity: 1;
  stroke: var(--bt-gis-township-color, #0e5630);
  stroke-opacity: 1;
  stroke-width: var(--bt-gis-township-stroke-width, 3.25);
  vector-effect: non-scaling-stroke;
}

.bt-spatial-style-legal-unit-section polygon {
  fill: none;
  fill-opacity: 0;
  stroke: #1f5fc4;
  stroke-width: .75;
}

.bt-spatial-style-project-location polygon {
  fill: #8fd6c2;
  fill-opacity: .88;
  stroke: #005b44;
  stroke-width: 1.45;
  pointer-events: none;
}

.bt-spatial-style-project-location polyline {
  fill: none;
  stroke: #005b44;
  stroke-width: 1.45;
}

.bt-spatial-style-project-outline polygon {
  fill: none;
  fill-opacity: 1;
  stroke: #b42318;
  stroke-width: 3.2;
  vector-effect: non-scaling-stroke;
}

.bt-spatial-style-project-outline .bt-spatial-renderer-hit-area {
  fill: transparent !important;
  fill-opacity: 0 !important;
  stroke: transparent;
  stroke-width: 0;
  pointer-events: all;
}

.bt-spatial-style-project-layer polygon {
  fill: none;
  fill-opacity: 1;
  stroke: #8a94a6;
  stroke-width: .65;
}

.bt-spatial-style-project-layer path {
  fill: none;
  fill-opacity: 1;
  stroke: #8a94a6;
  stroke-width: .65;
}

.bt-spatial-renderer-feature[data-spatial-layer-key="project-display-scope"] polygon,
.bt-spatial-renderer-feature[data-spatial-layer-key="project-display-scope"] path {
  fill: rgba(4, 106, 76, .08);
  stroke: rgba(4, 106, 76, .72);
  stroke-dasharray: 10 8;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}

.bt-spatial-style-reference-line polyline,
.bt-spatial-style-project-layer polyline {
  stroke: #6b7280;
  stroke-width: .7;
}

.bt-spatial-style-reference-line polygon {
  fill: none;
  stroke: #6b7280;
  stroke-width: .7;
}

.bt-spatial-renderer-feature.is-selected polygon,
.bt-spatial-renderer-feature.is-selected polyline {
  fill: #8fd6c2;
  fill-opacity: .94;
  stroke: #005b44;
  stroke-width: 1.6;
}

.bt-spatial-renderer-label {
  fill: #101828;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  paint-order: normal;
  pointer-events: none;
  stroke: none;
}

.bt-spatial-label-kind-countyparish {
  fill: var(--bt-gis-countyparish-color, #c15a1a);
  opacity: 1;
}

.bt-spatial-renderer-feature[data-spatial-layer-key="project-overlay-tracts"] polygon,
.bt-spatial-renderer-feature[data-spatial-layer-key="project-overlay-tracts"] path {
  fill: #dbeeff;
  fill-opacity: .58;
}

.bt-spatial-label-kind-townshiprange {
  fill: var(--bt-gis-township-color, #0e5630);
}

.bt-spatial-label-kind-section {
  fill: #5b1d14;
}

.bt-spatial-foundation-preview {
  height: calc(100vh - 68px);
  min-height: 0;
  overflow: hidden;
  padding: 4px;
}

.bt-spatial-foundation-shell {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto auto;
  grid-template-areas:
    "panel map"
    "diagnostics diagnostics"
    "readiness readiness";
  gap: 4px;
  height: 100%;
  min-height: 0;
  border: 1px solid #cfd8e3;
  background: #fff;
  padding: 4px;
}

.bt-spatial-foundation-shell.is-side-panel-collapsed {
  grid-template-columns: 30px minmax(0, 1fr);
}

.bt-spatial-foundation-side-panel {
  grid-area: panel;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  border: 1px solid #d4dde8;
  background: #fbfcfd;
}

.bt-spatial-foundation-side-panel summary {
  cursor: pointer;
  padding: 6px 8px;
  border-bottom: 1px solid #d9e1ea;
  color: #5b1d14;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bt-spatial-foundation-side-panel:not([open]) {
  align-self: start;
  overflow: hidden;
}

.bt-spatial-foundation-side-panel:not([open]) summary {
  writing-mode: vertical-rl;
  min-height: 148px;
  padding: 8px 5px;
  border-bottom: 0;
  border-right: 0;
}

.bt-spatial-foundation-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 8px;
}

.bt-spatial-foundation-header h1 {
  margin: 2px 0;
  color: #5b1d14;
  font-size: 19px;
  line-height: 1.1;
}

.bt-spatial-foundation-header p {
  margin: 1px 0;
}

.bt-spatial-foundation-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 5px;
  min-width: 0;
}

.bt-spatial-foundation-control-group {
  display: grid;
  align-content: start;
  gap: 4px;
  max-height: 96px;
  overflow: auto;
  margin: 0;
  border: 1px solid #d4dde8;
  background: #fbfcfd;
  padding: 5px 6px;
}

.bt-spatial-foundation-control-group legend {
  color: #5b1d14;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.bt-spatial-foundation-control-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #14213d;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.bt-spatial-foundation-control-group input {
  width: auto;
  min-height: 0;
  margin: 0;
  accent-color: #0e5630;
}

.bt-spatial-foundation-diagnostic-controls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bt-spatial-foundation-diagnostic-controls legend {
  grid-column: 1 / -1;
}

.bt-spatial-foundation-diagnostic-controls button {
  min-height: 26px;
  border: 1px solid #9fb0c3;
  background: #fff;
  color: #14213d;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.bt-spatial-foundation-diagnostic-controls button:hover {
  border-color: #0e5630;
  color: #0e5630;
}

.bt-spatial-foundation-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  min-width: 0;
}

.bt-spatial-foundation-metrics div {
  border: 1px solid #d4dde8;
  padding: 5px 6px;
  background: #f8fafc;
}

.bt-spatial-foundation-metrics dt {
  color: #4b6283;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.bt-spatial-foundation-metrics dd {
  margin: 1px 0 0;
  color: #071322;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.bt-spatial-foundation-metric-wide dd {
  font-size: 12px;
  line-height: 1.25;
}

.bt-spatial-foundation-map {
  grid-area: map;
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #d4dde8;
  background: #fbfaf6;
}

.bt-spatial-main-viewer {
  padding: 0;
  background: #f4f6f8;
}

.bt-spatial-main-viewer .bt-spatial-foundation-shell {
  grid-template-columns: 340px minmax(0, 1fr) 310px;
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "left map right";
  gap: 0;
  border: 0;
  padding: 0;
}

.bt-spatial-main-viewer .bt-gis-viewer {
  height: calc(100vh - 64px);
  min-height: calc(100vh - 64px);
}

.bt-spatial-main-viewer .bt-gis-map-column {
  grid-area: map;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  background: #fbfaf6;
}

.bt-spatial-main-viewer .bt-gis-map-column,
.bt-spatial-main-viewer .bt-gis-viewer-left,
.bt-spatial-main-viewer .bt-gis-viewer-right {
  height: calc(100vh - 64px);
}

.bt-spatial-main-viewer .bt-gis-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  border-bottom: 1px solid #d7dce2;
  background: #fff;
  padding: 7px 10px;
}

.bt-spatial-main-viewer .bt-gis-map-header strong {
  display: block;
  color: #5b1d14;
  font-size: 17px;
}

.bt-spatial-main-left {
  grid-area: left;
}

.bt-spatial-main-right {
  grid-area: right;
}

.bt-spatial-main-viewer .bt-spatial-foundation-map {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  background: #fbfaf6;
}

.bt-spatial-main-viewer .bt-gis-map-column > .bt-spatial-foundation-map {
  grid-area: auto;
  align-self: stretch;
  justify-self: stretch;
}

.bt-spatial-main-viewer .bt-spatial-foundation-controls {
  display: grid;
  gap: 10px;
}

.bt-spatial-main-viewer .bt-gis-viewer-card input[type="search"] {
  min-height: 32px;
  width: 100%;
  border: 1px solid #cfd8e3;
  background: #fff;
  color: #14213d;
  padding: 5px 7px;
  font: inherit;
  font-size: 12px;
}

.bt-spatial-main-viewer .bt-spatial-foundation-control-group {
  max-height: 145px;
  background: #fff;
}

.bt-spatial-main-viewer .bt-spatial-foundation-control-group legend {
  padding: 0 4px;
}

.bt-spatial-main-viewer .bt-spatial-foundation-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bt-spatial-main-viewer .bt-spatial-foundation-metrics div {
  background: #f8fafc;
}

.bt-spatial-main-viewer .bt-spatial-foundation-metric-wide {
  grid-column: 1 / -1;
}

.bt-spatial-foundation-diagnostics {
  border-top: 1px solid #d9e1ea;
  color: #40516d;
  font-size: 12px;
  padding: 4px 6px;
}

.bt-spatial-foundation-diagnostics-panel {
  grid-area: diagnostics;
  border-top: 1px solid #d9e1ea;
  color: #40516d;
  font-size: 12px;
}

.bt-spatial-foundation-diagnostics-panel summary {
  cursor: pointer;
  font-weight: 800;
  padding: 3px 6px;
}

.bt-spatial-foundation-readiness {
  grid-area: readiness;
  border-top: 1px solid #d9e1ea;
  max-height: 88px;
  overflow: auto;
  padding-top: 6px;
}

.bt-spatial-foundation-readiness:empty {
  display: none;
}

.bt-spatial-foundation-readiness h2 {
  margin: 0 0 6px;
  color: #5b1d14;
  font-size: 16px;
}

.bt-spatial-foundation-readiness ul {
  margin: 0;
  padding-left: 18px;
}

.bt-spatial-foundation-readiness li {
  margin: 3px 0;
}

.bt-gis-feature polygon {
  fill: #eef2f5;
  fill-opacity: .82;
  stroke: #1f2937;
  stroke-width: .75;
  vector-effect: non-scaling-stroke;
}

.bt-gis-feature polyline {
  fill: none;
  stroke: #5d6470;
  stroke-width: .85;
  vector-effect: non-scaling-stroke;
}

.bt-gis-feature circle {
  pointer-events: visible;
  fill: #fff;
  stroke: #0e5630;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.bt-gis-layer-basemap-parish polygon,
.bt-gis-layer-basemap-parish path,
.bt-gis-layer-basemap-county polygon,
.bt-gis-layer-basemap-county path,
.bt-gis-layer-basemap-counties polygon,
.bt-gis-layer-basemap-counties path {
  fill: none;
  stroke: var(--bt-gis-countyparish-color, #c15a1a);
  stroke-opacity: 1;
  stroke-width: var(--bt-gis-countyparish-stroke-width, 3.25);
  vector-effect: non-scaling-stroke;
}

.bt-gis-map.has-active-everyday-map .bt-gis-layer-basemap-parish polygon,
.bt-gis-map.has-active-everyday-map .bt-gis-layer-basemap-parish path,
.bt-gis-map.has-active-everyday-map .bt-gis-layer-basemap-county polygon,
.bt-gis-map.has-active-everyday-map .bt-gis-layer-basemap-county path,
.bt-gis-map.has-active-everyday-map .bt-gis-layer-basemap-counties polygon,
.bt-gis-map.has-active-everyday-map .bt-gis-layer-basemap-counties path {
  stroke: #2563eb;
}

.bt-gis-layer-basemap-townships polygon,
.bt-gis-layer-basemap-townships path,
.bt-gis-layer-basemap-township-labels polygon,
.bt-gis-layer-basemap-township-labels path {
  fill: #fff;
  fill-opacity: .01;
  stroke: #667085;
  stroke-opacity: 1;
  stroke-width: var(--bt-gis-township-stroke-width, 2.9);
  vector-effect: non-scaling-stroke;
}

.bt-gis-layer-basemap-sections polygon {
  fill: none;
  fill-opacity: 0;
  stroke: #1f5fc4;
  stroke-width: .75;
}

.bt-gis-layer-project-survey-abstracts polygon {
  fill: #dff3eb;
  fill-opacity: .16;
  stroke: #005b44;
  stroke-width: .9;
}

.bt-gis-layer-project-second-divisions polygon {
  fill: #fbfcfd;
  fill-opacity: .24;
  stroke: #1f2937;
  stroke-width: .72;
}

.bt-gis-layer-project-locations polygon,
.bt-gis-layer-project-areas polygon {
  fill: #8fd6c2;
  fill-opacity: .94;
  stroke: #005b44;
  stroke-width: 1.6;
}

.bt-gis-layer-project-outlines polygon {
  fill: none;
  fill-opacity: 0;
  stroke: #b42318;
  stroke-width: 3.2;
  vector-effect: non-scaling-stroke;
}

.bt-gis-feature[class*="bt-gis-layer-project-overlay-"] polygon {
  fill: #f7c9d4;
  fill-opacity: .34;
  stroke: #9f1239;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}

.bt-gis-feature.bt-gis-layer-project-overlay-tracts polygon {
  fill: #dbeeff;
  fill-opacity: .58;
}

.bt-gis-feature[class*="bt-gis-layer-project-reference-"] polygon,
.bt-gis-feature[class*="bt-gis-layer-project-reference-"] path,
.bt-gis-feature.bt-gis-style-project-reference polygon,
.bt-gis-feature.bt-gis-style-project-reference path {
  fill: #fef3c7;
  fill-opacity: .18;
  stroke: #92400e;
  stroke-dasharray: 7 4;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}

.bt-gis-feature[class*="bt-gis-layer-project-reference-"] polyline,
.bt-gis-feature.bt-gis-style-project-reference polyline {
  stroke: #92400e;
  stroke-dasharray: 7 4;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}

.bt-gis-feature[class*="bt-gis-layer-project-reference-"] circle,
.bt-gis-feature.bt-gis-style-project-reference circle {
  fill: #fffbeb;
  stroke: #92400e;
  stroke-dasharray: 5 3;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}

.bt-gis-feature[class*="bt-gis-layer-project-overlay-"] polyline {
  stroke: #9f1239;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}

.bt-gis-feature[class*="bt-gis-layer-project-overlay-"] circle {
  fill: #fff1f2;
  stroke: #9f1239;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}

.bt-gis-layer-style-carrier.has-layer-stroke .bt-gis-feature polygon,
.bt-gis-layer-style-carrier.has-layer-stroke .bt-gis-feature polyline,
.bt-gis-layer-style-carrier.has-layer-stroke .bt-gis-feature circle {
  stroke: var(--bt-gis-layer-stroke);
}

.bt-gis-layer-style-carrier.has-layer-fill .bt-gis-feature polygon,
.bt-gis-layer-style-carrier.has-layer-fill .bt-gis-feature circle {
  fill: var(--bt-gis-layer-fill);
}

.bt-gis-layer-style-carrier.has-layer-fill-opacity .bt-gis-feature polygon,
.bt-gis-layer-style-carrier.has-layer-fill-opacity .bt-gis-feature circle {
  fill-opacity: var(--bt-gis-layer-fill-opacity);
}

.bt-gis-layer-style-carrier.has-layer-stroke-width .bt-gis-feature polygon,
.bt-gis-layer-style-carrier.has-layer-stroke-width .bt-gis-feature polyline,
.bt-gis-layer-style-carrier.has-layer-stroke-width .bt-gis-feature circle {
  stroke-width: var(--bt-gis-layer-stroke-width);
}

.bt-gis-layer-style-carrier.has-layer-opacity .bt-gis-feature polygon,
.bt-gis-layer-style-carrier.has-layer-opacity .bt-gis-feature polyline,
.bt-gis-layer-style-carrier.has-layer-opacity .bt-gis-feature circle {
  opacity: var(--bt-gis-layer-opacity);
}

.bt-gis-feature.has-feature-stroke polygon,
.bt-gis-feature.has-feature-stroke polyline,
.bt-gis-feature.has-feature-stroke circle {
  stroke: var(--bt-gis-feature-stroke);
}

.bt-gis-feature.has-feature-fill polygon,
.bt-gis-feature.has-feature-fill circle {
  fill: var(--bt-gis-feature-fill);
}

.bt-gis-feature.has-feature-fill-opacity polygon,
.bt-gis-feature.has-feature-fill-opacity circle {
  fill-opacity: var(--bt-gis-feature-fill-opacity);
}

.bt-gis-layer-style-carrier .bt-gis-feature.has-feature-stroke-width polygon,
.bt-gis-layer-style-carrier .bt-gis-feature.has-feature-stroke-width polyline,
.bt-gis-layer-style-carrier .bt-gis-feature.has-feature-stroke-width circle {
  stroke-width: var(--bt-gis-feature-stroke-width);
}

.bt-gis-layer-basemap-survey-lines polyline {
  stroke: #16823a;
  stroke-width: 1;
}

.bt-gis-range-low polygon { fill: #d8f3dc; }
.bt-gis-range-mid polygon { fill: #95d5b2; }
.bt-gis-range-high polygon { fill: #52b788; }
.bt-gis-range-complete polygon { fill: #2d6a4f; }
.bt-gis-layer-signed.bt-gis-range-low polygon { fill: #fff7b3; }
.bt-gis-layer-signed.bt-gis-range-mid polygon { fill: #ffe066; }
.bt-gis-layer-signed.bt-gis-range-high polygon { fill: #ffd43b; }
.bt-gis-layer-signed.bt-gis-range-complete polygon { fill: #ffea00; }
.bt-gis-status-declined polygon { fill: #e89991; stroke: #b42318; }

.bt-gis-feature.is-selected polygon,
.bt-gis-feature.is-selected polyline {
  stroke: #b42318;
  stroke-width: 2.4;
}

.bt-gis-layer-style-carrier.has-layer-stroke-width .bt-gis-feature polygon,
.bt-gis-layer-style-carrier.has-layer-stroke-width .bt-gis-feature polyline,
.bt-gis-layer-style-carrier.has-layer-stroke-width .bt-gis-feature circle {
  stroke-width: var(--bt-gis-layer-stroke-width);
}

.bt-gis-layer-style-carrier .bt-gis-feature.has-feature-stroke-width polygon,
.bt-gis-layer-style-carrier .bt-gis-feature.has-feature-stroke-width polyline,
.bt-gis-layer-style-carrier .bt-gis-feature.has-feature-stroke-width circle {
  stroke-width: var(--bt-gis-feature-stroke-width);
}

.bt-gis-feature.is-hidden {
  display: none;
}

.bt-gis-label {
  fill: #101828;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  paint-order: stroke;
  pointer-events: none;
  stroke: rgba(255,255,255,.68);
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.bt-gis-label.bt-gis-layer-project-survey-abstracts,
.bt-gis-label.bt-gis-layer-project-second-divisions {
  fill: #003b2d;
  font-weight: 800;
  stroke-width: .9;
}

.gis-feature.gis-label-layer polygon {
  display: none;
}

.gis-feature-label {
  fill: #101828;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  paint-order: normal;
  pointer-events: none;
  stroke: none;
}

.gis-feature-label.is-reference-label {
  fill: #111827;
  font-weight: 800;
}

.gis-feature-label.is-priority-label {
  fill: #000;
  font-weight: 900;
}

.gis-feature.gis-layer-basemap-parish .gis-feature-label {
  fill: var(--bt-gis-countyparish-color, #c15a1a);
  font-weight: 900;
  opacity: 1;
  stroke: none;
}

.gis-feature.gis-layer-basemap-townships .gis-feature-label,
.gis-feature.gis-layer-basemap-township-labels .gis-feature-label {
  fill: var(--bt-gis-township-color, #0e5630);
  font-weight: 900;
  stroke: none;
}

.gis-feature.gis-layer-basemap-sections .gis-feature-label {
  fill: #174ea6;
  font-weight: 800;
  stroke: none;
}

.gis-feature.gis-layer-project-locations .gis-feature-label,
.gis-feature.gis-layer-project-sections .gis-feature-label,
.gis-feature.gis-layer-project-second-divisions .gis-feature-label,
.gis-feature.gis-layer-project-survey-abstracts .gis-feature-label {
  fill: #111827;
  font-weight: 800;
  stroke: none;
}

.bt-gis-identify-empty {
  color: #667085;
  font-size: 13px;
}

.bt-gis-identify-title {
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
}

.bt-gis-identify-title strong {
  color: #5b1d14;
  font-size: 15px;
}

.bt-gis-identify-title span {
  color: #667085;
  font-size: 12px;
}

.bt-gis-identify-grid,
.bt-gis-stats-grid {
  display: grid;
  gap: 6px;
}

.bt-gis-kv {
  display: grid;
  grid-template-columns: minmax(82px, .48fr) minmax(0, 1fr);
  gap: 6px;
  border: 1px solid #e1e6ed;
  background: #fbfcfd;
  padding: 5px 7px;
  font-size: 12px;
}

.bt-gis-kv span:first-child {
  color: #667085;
  font-weight: 800;
}

.bt-gis-kv span:last-child {
  color: #14213d;
  min-width: 0;
  overflow-wrap: anywhere;
}

.bt-gis-search {
  display: grid;
  gap: 6px;
}

.bt-gis-search input {
  border: 1px solid #d7dce2;
  min-height: 30px;
  padding: 5px 8px;
}

.bt-gis-search-results {
  display: grid;
  gap: 4px;
  max-height: 180px;
  overflow: auto;
}

.bt-gis-search-results button {
  display: grid;
  gap: 1px;
  border: 1px solid #e1e6ed;
  background: #fff;
  color: #14213d;
  cursor: pointer;
  padding: 5px 7px;
  text-align: left;
}

.bt-gis-search-results button:hover,
.bt-gis-search-results button:focus {
  border-color: #0e5630;
  outline: 1px solid rgba(14, 86, 48, .35);
}

.bt-gis-search-results strong {
  font-size: 12px;
}

.bt-gis-search-results span {
  color: #667085;
  font-size: 10px;
}

.bt-gis-loading,
.bt-gis-error {
  display: grid;
  min-height: 320px;
  place-items: center;
  color: #667085;
  font-weight: 800;
}

.bt-gis-error {
  color: #b42318;
}

@media (max-width: 1180px) {
  .bt-gis-viewer {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .bt-gis-viewer-right {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid #d7dce2;
  }
}

@media (max-width: 860px) {
  .bt-gis-viewer {
    grid-template-columns: 1fr;
  }

  .bt-gis-viewer-left,
  .bt-gis-viewer-right {
    border: 0;
    border-bottom: 1px solid #d7dce2;
  }

  .bt-gis-map {
    min-height: 420px;
  }
}
