:root {
  font-family: Almarai, Arial, sans-serif;
  color-scheme: dark;
  --ink: #f4f3eb;
  --muted: #aabbb5;
  --line: #ffffff1a;
  --panel: #112624ed;
  --gold: #e2c38a;
  --teal: #65c8b3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #12211d;
  color: var(--ink);
  font-size: 12px;
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
a {
  color: var(--gold);
  text-decoration: none;
}
button:hover,
a:hover {
  filter: brightness(1.15);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  pointer-events: none;
}
#map {
  position: absolute;
  inset: 0;
  background: #13201d;
}
.glass {
  background: var(--panel);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: 0 6px 30px #0003;
}
.topbar {
  position: absolute;
  z-index: 800;
  top: 14px;
  right: 18px;
  left: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  pointer-events: none;
}
.topbar > * {
  pointer-events: auto;
}
.brand {
  display: flex;
  align-items: center;
  width: 285px;
  height: 72px;
  gap: 9px;
  padding: 7px 11px;
  background: #faf8f2;
  border-radius: 12px;
  flex: none;
  box-shadow: 0 6px 24px #0002;
}
.brand svg {
  display: block;
  overflow: hidden;
  flex: none;
}
.authority-emblem {
  width: 57px;
  height: 57px;
}
.authority-wordmark {
  width: 194px;
  height: 63px;
}
.heading {
  min-width: 185px;
  text-shadow: 0 2px 6px #000;
  background: #10211b77;
  padding: 10px 14px;
  border-radius: 10px;
}
.heading small {
  color: #cfdfd4;
  font-size: 10px;
  display: block;
}
.heading strong {
  display: block;
  font-size: 18px;
  margin-top: 5px;
}
.search-box {
  position: relative;
  margin-right: auto;
  width: 330px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  padding: 0 17px;
  height: 44px;
}
.search-box input {
  width: 100%;
  border: 0;
  background: none;
  color: white;
  outline: 0;
  font-size: 11px;
}
.search-box input::placeholder {
  color: #b4c7be;
}
.search-box #searchResults {
  position: absolute;
  top: 53px;
  left: 0;
  right: 0;
  max-height: 65vh;
  overflow: auto;
  border-radius: 15px;
  background: #102925;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px #0006;
}
.search-item {
  display: block;
  text-align: right;
  width: 100%;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}
.search-item small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.search-empty {
  padding: 20px;
  color: var(--muted);
  line-height: 1.9;
}
.pill-btn {
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  font-size: 10px;
}
.sidebar {
  position: absolute;
  z-index: 720;
  top: 102px;
  bottom: 100px;
  right: 18px;
  width: 330px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.panel-head {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.panel-head h1,
.panel-head h2 {
  font-size: 17px;
  margin: 0;
}
.panel-head small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 7px;
}
.icon-btn {
  width: 33px;
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  flex: none;
}
.icon-btn:hover {
  background: #ffffff10;
}
.sidebar-body {
  overflow: auto;
  padding: 15px 16px 18px;
}
.field-label {
  display: block;
  color: #baccc2;
  font-size: 10px;
  margin: 0 0 8px;
}
.select {
  width: 100%;
  height: 39px;
  border: 1px solid #ffffff23;
  border-radius: 8px;
  background: #18332e;
  color: var(--ink);
  padding: 0 10px;
  margin-bottom: 12px;
  outline: 0;
}
.tabs {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  background: #07191477;
  border-radius: 10px;
  margin: 4px 0 18px;
}
.tab {
  flex: 1;
  padding: 9px 3px;
  border-radius: 7px;
  font-size: 10px;
}
.tab.active {
  background: #bba26b;
  color: #111e18;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 9px;
  color: #d3ddd5;
  font-size: 10px;
  letter-spacing: 0.1px;
}
.section-title:first-child {
  margin-top: 0;
}
.section-title span {
  color: #8ba79a;
  font-size: 9px;
}
.layer-row {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: center;
}
.layer-row .layer-copy {
  flex: 1;
  min-width: 0;
}
.layer-row strong {
  font-size: 11px;
  display: block;
  line-height: 1.6;
}
.layer-row small {
  font-size: 8.5px;
  display: block;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 3px;
}
.layer-row .swatch {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  border: 2px solid var(--layer-color);
  background: color-mix(in srgb, var(--layer-color), transparent 84%);
  flex: none;
}
.layer-row.line .swatch {
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: var(--layer-color);
}
.switch {
  position: relative;
  width: 31px;
  height: 18px;
  flex: none;
  cursor: pointer;
}
.switch input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.switch i {
  display: block;
  position: absolute;
  inset: 0;
  border: 1px solid #ffffff35;
  border-radius: 10px;
  background: #35463c;
  pointer-events: none;
}
.switch i:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: #d7dfd9;
  transition: transform 0.18s;
}
.switch input:checked + i {
  background: #43a98f;
  border-color: #7fd0bc;
}
.switch input:checked + i:after {
  transform: translateX(13px);
  background: #fff;
}
.switch input:focus-visible + i {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.layer-action {
  padding: 5px;
  color: #aac5b8;
  font-size: 14px;
}
.coverage-note {
  font-size: 9px;
  line-height: 1.9;
  color: #9eb8aa;
  margin: 14px 0 4px;
}
.map-tools {
  position: absolute;
  z-index: 700;
  top: 112px;
  left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-group {
  border-radius: 12px;
  padding: 4px;
  display: flex;
  flex-direction: column;
}
.tool-group button {
  width: 37px;
  height: 37px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tool-group button:hover {
  background: #ffffff13;
}
.north {
  padding: 12px 0;
  text-align: center;
  font-family: Arial;
  color: var(--gold);
  font-size: 12px;
  border-radius: 12px;
}
.north span {
  display: block;
  font-size: 20px;
  margin-top: 3px;
}
.basemap-dock {
  position: absolute;
  z-index: 710;
  right: 18px;
  bottom: 20px;
  border-radius: 13px;
  padding: 7px;
  display: flex;
  gap: 4px;
  width: 330px;
}
.base-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 9px;
  border-radius: 8px;
  padding: 10px 4px;
  color: #b3c9bd;
}
.base-btn.active {
  background: #bca779;
  color: #12241b;
}
.base-thumb {
  width: 21px;
  height: 17px;
  border-radius: 3px;
  background: linear-gradient(33deg, #8b7d61, #4d5741 60%, #9d8970);
}
.base-thumb.streets {
  background: linear-gradient(
    35deg,
    #ede9df 45%,
    #fff 45%,
    #fff 60%,
    #c5d5c1 60%
  );
}
.base-thumb.dark {
  background: linear-gradient(
    35deg,
    #364844 45%,
    #69746b 45%,
    #69746b 52%,
    #1b302b 52%
  );
}
.legend {
  position: absolute;
  z-index: 700;
  bottom: 37px;
  left: 18px;
  width: 235px;
  border-radius: 14px;
  overflow: hidden;
}
.legend-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 15px;
  text-align: right;
  font-size: 11px;
}
.legend-body {
  padding: 0 15px 13px;
  max-height: 50vh;
  overflow: auto;
}
.legend-subtitle {
  font-size: 9px;
  color: #b7c6bd;
  margin: 10px 0 8px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  margin: 9px 0;
  color: #e3eade;
}
.legend-line {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: var(--c);
  box-shadow: 0 0 0 1px #071a16;
}
.legend-square {
  width: 13px;
  height: 13px;
  background: var(--c);
  border-radius: 3px;
  opacity: 0.75;
}
.city-buttons {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 12px 0 4px;
}
.city-btn {
  font-size: 9px;
  padding: 7px 10px;
  border: 1px solid var(--c);
  color: var(--c);
  border-radius: 20px;
  opacity: 0.5;
}
.city-btn.active {
  opacity: 1;
  background: color-mix(in srgb, var(--c), transparent 88%);
}
.bottom-status {
  position: absolute;
  left: 18px;
  bottom: 7px;
  z-index: 650;
  display: flex;
  gap: 12px;
  font-size: 9px;
  color: #b4c5b9;
  pointer-events: none;
  text-shadow: 0 1px 3px #000;
}
.leaflet-control-attribution {
  background: #10211de6 !important;
  color: #92afa1 !important;
  font-size: 8px !important;
}
.leaflet-control-attribution a {
  color: #c7d8bc !important;
}
.leaflet-control-container .leaflet-bottom.leaflet-right {
  right: 370px;
}
.detail {
  position: absolute;
  z-index: 760;
  left: 72px;
  top: 111px;
  width: 340px;
  max-height: calc(100vh - 180px);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.detail-body {
  overflow: auto;
  padding: 18px;
  line-height: 1.8;
}
.detail-title {
  font-size: 18px;
  color: #fff;
  margin: 0 0 6px;
}
.tag {
  display: inline-block;
  padding: 4px 8px;
  color: var(--gold);
  border: 1px solid #d4ba7b44;
  background: #c3ab6210;
  border-radius: 5px;
  font-size: 9px;
}
.attribute {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
}
.attribute dt {
  font-size: 10px;
  color: var(--muted);
}
.attribute dd {
  margin: 0;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.note {
  padding: 12px;
  border: 1px solid #d5b46a33;
  border-radius: 8px;
  background: #d1ad5009;
  color: #c4cdbd;
  line-height: 1.9;
  font-size: 10px;
}
.actions {
  display: flex;
  gap: 7px;
  margin: 16px 0 3px;
  flex-wrap: wrap;
}
.btn {
  padding: 10px 13px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff06;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn.gold {
  background: #d4bc81;
  color: #13281e;
  border-color: #d4bc81;
}
.full {
  width: 100%;
}
.list-card {
  display: block;
  text-align: right;
  width: 100%;
  padding: 12px;
  margin-bottom: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #ffffff04;
}
.list-card strong {
  font-size: 11px;
  line-height: 1.6;
}
.list-card small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  color: #9ab5a7;
  line-height: 1.8;
}
.empty {
  padding: 20px 8px;
  text-align: center;
  color: #a2b6ab;
  line-height: 2;
  font-size: 10px;
}
.map-label {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #f8ead2 !important;
  font:
    11px Almarai,
    Arial !important;
  text-shadow:
    0 1px 3px #0a1816,
    0 -1px 3px #0a1816,
    1px 0 3px #0a1816;
  font-weight: bold !important;
}
.city-label {
  font-size: 14px !important;
  color: #fff !important;
}
.road-tooltip {
  font:
    10px Almarai,
    Arial;
  background: #102820e8;
  color: white;
  border: 1px solid #b8c5b940;
  box-shadow: none;
  direction: rtl;
}
.measure-info {
  position: absolute;
  left: calc(50% - 180px);
  bottom: 35px;
  z-index: 800;
  width: 360px;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  line-height: 1.8;
  font-size: 11px;
}
.toast {
  position: absolute;
  z-index: 1200;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #e4d5aa;
  color: #163021;
  border-radius: 10px;
  padding: 12px 20px;
  max-width: 80vw;
  font-size: 11px;
  line-height: 1.8;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #122b24;
  color: var(--ink);
  padding: 0;
  width: 650px;
  max-width: 92vw;
  max-height: 85vh;
  box-shadow: 0 20px 80px #0007;
}
dialog::backdrop {
  background: #06110bbf;
  backdrop-filter: blur(4px);
}
.dialog-body {
  padding: 22px;
  overflow: auto;
  max-height: 65vh;
  line-height: 1.9;
}
.source-block {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.source-block h3 {
  font-size: 13px;
  color: #e8d6a7;
  margin: 0 0 7px;
}
.source-block p {
  font-size: 10px;
  color: #b2c9bb;
  margin: 5px 0;
}
.source-block a {
  font-size: 10px;
}
.focused .sidebar,
.focused .heading,
.focused .search-box,
.focused .legend,
.focused .basemap-dock {
  display: none;
}
.legend.collapsed .legend-body {
  display: none;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: #a9baa44d;
  border-radius: 6px;
}
@media (max-width: 1100px) {
  .heading {
    display: none;
  }
  .search-box {
    width: 310px;
  }
  .sidebar,
  .basemap-dock {
    width: 300px;
  }
  .brand {
    width: 270px;
    padding: 7px 9px;
    gap: 7px;
  }
  .authority-wordmark {
    width: 184px;
  }
  .detail {
    width: 310px;
  }
  .leaflet-control-container .leaflet-bottom.leaflet-right {
    right: 335px;
  }
}
@media (max-width: 760px) {
  .topbar {
    top: 10px;
    right: 10px;
    left: 10px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .brand {
    height: 58px;
    width: 222px;
    padding: 6px 9px;
    gap: 5px;
  }
  .authority-emblem {
    width: 44px;
    height: 44px;
  }
  .authority-wordmark {
    width: 153px;
    height: 49px;
  }
  .search-box {
    position: absolute;
    right: 0;
    top: 69px;
    width: calc(100% - 54px);
    height: 39px;
  }
  .pill-btn {
    margin-right: auto;
    padding: 0 10px;
    height: 39px;
    font-size: 9px;
  }
  .sidebar {
    right: 10px;
    top: 128px;
    bottom: 83px;
    width: 280px;
  }
  .basemap-dock {
    right: 10px;
    bottom: 23px;
    width: 280px;
  }
  .map-tools {
    top: 129px;
    left: 10px;
  }
  .tool-group button {
    width: 32px;
    height: 33px;
  }
  .north {
    display: none;
  }
  .legend {
    left: 10px;
    bottom: 90px;
    width: 190px;
    max-height: 40vh;
  }
  .legend-body {
    max-height: 31vh;
  }
  .detail {
    right: 10px;
    left: auto;
    top: 128px;
    width: calc(100% - 65px);
    max-height: calc(100vh - 230px);
  }
  .sidebar:not([hidden]) ~ .legend {
    display: none;
  }
  .bottom-status {
    left: 10px;
    bottom: 6px;
    font-size: 8px;
  }
  .bottom-status #coords {
    display: none;
  }
  .leaflet-control-container .leaflet-bottom.leaflet-right {
    right: 0;
    bottom: 0;
  }
  .measure-info {
    left: 10px;
    right: 10px;
    width: auto;
    bottom: 90px;
  }
  .legend-item {
    font-size: 8px;
  }
  .sidebar-body {
    padding: 12px;
  }
  .panel-head {
    padding: 15px;
  }
  .tool-group:nth-child(2) button:last-child {
    display: none;
  }
}
/* Compact contextual metrics and data-backed map assistant. */
.dashboard {
  position: absolute;
  top: 102px;
  right: 370px;
  left: 275px;
  z-index: 705;
  border-radius: 12px;
  max-width: 760px;
  margin: auto;
  overflow: hidden;
}
.dash-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  text-align: right;
  font-size: 10px;
  border-bottom: 1px solid var(--line);
}
.dash-head small {
  color: var(--muted);
  font-size: 8px;
  margin-left: auto;
}
.dash-head .icon {
  width: 12px;
  height: 12px;
}
#dashboardMetrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.metric {
  padding: 9px 4px 10px;
  border-left: 1px solid var(--line);
  text-align: center;
  line-height: 1.5;
}
.metric:last-child {
  border: 0;
}
.metric strong {
  font-size: 17px;
  color: #efe4c8;
  display: block;
}
.metric span {
  font-size: 8px;
  color: #afc4b9;
}
.metric:hover,
.metric.selected {
  background: #64c7a71c;
}
.dashboard.collapsed #dashboardMetrics {
  display: none;
}
.governorate-glow {
  filter: drop-shadow(0 0 5px #8cffe0) drop-shadow(0 0 11px #57ceb5);
  stroke-linejoin: round;
  pointer-events: none;
}
.asset-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
}
.asset-cluster span {
  min-width: var(--asset-size);
  height: var(--asset-size);
  border-radius: 50%;
  background: #102923e8;
  color: #f8fff9;
  border: 2px solid var(--asset-color);
  box-shadow:
    0 0 0 5px #11271f44,
    0 2px 9px #0005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  font:
    10px Almarai,
    Arial;
  font-weight: 700;
  cursor: pointer;
}
.assistant-trigger {
  position: absolute;
  z-index: 730;
  right: 370px;
  bottom: 36px;
  padding: 12px 17px;
  border-radius: 24px;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: #e4d9b8;
}
.assistant-panel {
  position: absolute;
  z-index: 790;
  right: 370px;
  top: 204px;
  bottom: 100px;
  width: 380px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#assistantMessages {
  overflow: auto;
  flex: 1;
  padding: 16px;
  line-height: 1.9;
  font-size: 11px;
}
.assistant-intro {
  margin: 0 0 12px;
  color: #bdcec2;
}
.query-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.query-chips button {
  border: 1px solid #ffffff22;
  border-radius: 16px;
  padding: 6px 10px;
  font-size: 9px;
  background: #ffffff05;
}
.query-message {
  border-radius: 10px;
  background: #4a877525;
  padding: 10px 12px;
  margin: 15px 0 8px;
  color: #dfebdf;
}
.response-message {
  font-size: 10px;
  line-height: 1.9;
}
.response-message p {
  color: #acbfb4;
}
.response-message .search-item {
  padding: 8px;
}
.response-message .search-item small {
  font-size: 8px;
}
.assistant-turn .btn {
  font-size: 9px;
  margin: 5px 0;
}
#assistantForm {
  display: flex;
  gap: 7px;
  padding: 12px;
  border-top: 1px solid var(--line);
}
#assistantQuery {
  min-width: 0;
  flex: 1;
  background: #071b16;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  color: white;
  font-size: 10px;
}
.assistant-foot {
  font-size: 8px;
  margin: 0 13px 12px;
  color: #96afa1;
}
.comparison-bars {
  margin: 10px 0;
}
.comparison-bars button {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: right;
  padding: 5px 0;
  font-size: 9px;
}
.comparison-bars i {
  height: 5px;
  position: relative;
  background: #ffffff0b;
  border-radius: 4px;
}
.comparison-bars i::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 5px;
  width: var(--bar);
  background: #83cfb2;
  border-radius: 4px;
}
.comparison-bars b {
  font-size: 9px;
  font-weight: 400;
  text-align: left;
}
.quick-answer {
  padding: 15px;
  font-size: 11px;
  line-height: 1.9;
}
.quick-answer p {
  font-size: 9px;
  color: #afc4b9;
}
.quick-answer .btn {
  margin-top: 6px;
  font-size: 9px;
}
.traffic-trigger {
  padding: 10px 5px;
  border-radius: 9px;
  font-size: 9px;
  color: #d9d8c1;
}
.traffic-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.detail {
  top: 200px;
  max-height: calc(100vh - 260px);
}
.focused .dashboard,
.focused .assistant-trigger,
.focused .assistant-panel {
  display: none;
}
@media (max-width: 1100px) {
  .dashboard {
    right: 335px;
    left: 75px;
  }
  .assistant-trigger,
  .assistant-panel {
    right: 335px;
  }
  .assistant-panel {
    width: 340px;
  }
  .metric strong {
    font-size: 15px;
  }
}
@media (max-width: 760px) {
  .dashboard {
    top: 126px;
    left: 54px;
    right: 10px;
    width: auto;
    max-width: none;
  }
  .dash-head {
    padding: 7px 10px;
    font-size: 9px;
  }
  .dash-head small {
    font-size: 7px;
  }
  .metric {
    padding: 7px 2px;
  }
  .metric strong {
    font-size: 12px;
  }
  .metric span {
    font-size: 6px;
  }
  .sidebar,
  .detail {
    top: 213px;
  }
  .map-tools {
    top: 213px;
  }
  .assistant-trigger {
    right: 10px;
    bottom: 88px;
    font-size: 10px;
    padding: 9px 13px;
  }
  .assistant-panel {
    top: 211px;
    right: 10px;
    left: 10px;
    bottom: 88px;
    width: auto;
  }
  .detail {
    max-height: calc(100vh - 300px);
  }
  .assistant-foot {
    font-size: 7px;
  }
  .traffic-trigger {
    font-size: 8px;
  }
  .legend {
    max-height: 30vh;
  }
  .legend-body {
    max-height: 22vh;
  }
}
.family-title {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  margin: 17px -3px 7px;
  background: color-mix(in srgb, var(--family-color), transparent 78%);
  border-right: 4px solid var(--family-color);
  border-radius: 5px;
  color: #f1f0e3;
  font-size: 11px;
}
.family-title small {
  margin-right: auto;
  font-size: 8px;
  color: #cbd3c4;
}
.family-title .icon {
  color: var(--family-color);
  width: 17px;
  height: 17px;
}
.base-thumb.osm {
  background: linear-gradient(
    130deg,
    #cce0bb 15%,
    #f4ecce 16% 39%,
    #9fcde1 40% 46%,
    #eee7cf 47% 70%,
    #c6dab9 71%
  );
}
.basemap-dock {
  gap: 5px;
}
.base-btn {
  font-size: 8px;
  padding: 7px 4px;
  min-width: 0;
  flex: 1;
}
.base-thumb {
  width: 44px !important;
}
.leaflet-control-attribution {
  font-size: 9px !important;
}

/* Let the map resolve hits across all canvas panes, including overlapping parcels and buildings. */
.leaflet-overlay-pane canvas,
.leaflet-pane > canvas {
  pointer-events: none;
}
