:root {
  --panel: #121a17ed;
  --line: #ffffff12;
  --gold: #cfac6c;
  --muted: #9ca79f;
  --teal: #79b59e;
}
body,
#map {
  background: #111814;
}
.glass {
  background: var(--panel);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px #0002;
}
.topbar {
  top: 10px;
  right: 22px;
  left: 22px;
  height: 60px;
  gap: 14px;
}
.brand {
  width: 247px;
  height: 59px;
  padding: 5px 10px;
  gap: 8px;
  background: #eeece3ef;
  border-radius: 9px;
  box-shadow: none;
}
.authority-emblem {
  width: 48px;
  height: 48px;
}
.authority-wordmark {
  width: 170px;
  height: 52px;
}
.heading {
  min-width: 130px;
  background: none;
  padding: 4px;
}
.heading strong {
  font-size: 15px;
}
.heading small {
  font-size: 9px;
}
.search-box {
  height: 42px;
  max-width: 620px;
  border-radius: 24px;
}
.search-box input {
  font-size: 11px;
}
.pill-btn {
  border-radius: 25px;
  padding: 10px 15px;
}
.dashboard {
  top: 79px;
  left: 22px;
  right: 87px;
  max-width: none;
  z-index: 704;
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
  backdrop-filter: none;
}
.dash-head {
  background: #111913c9;
  border: 0;
  border-radius: 10px 10px 0 0;
  width: max-content;
  max-width: 100%;
  padding: 5px 13px;
  gap: 14px;
  font-size: 9px;
  margin-right: 0;
}
.dash-head small {
  font-size: 8px;
}
#dashboardMetrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(100px, 1fr));
  gap: 9px;
  background: transparent;
}
.metric {
  padding: 12px 16px;
  border: 1px solid var(--line) !important;
  background: #141d17e8;
  border-radius: 18px;
  text-align: right;
  min-height: 88px;
  backdrop-filter: blur(12px);
  box-shadow: 0 7px 24px #0001;
}
.metric .metric-label {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #c9cfc5;
  font-size: 9px;
}
.metric .metric-label .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
}
.metric .metric-label i {
  width: 5px;
  height: 5px;
  background: #91b998;
  border-radius: 50%;
  margin-right: auto;
}
.metric strong {
  font-size: 25px;
  line-height: 1.3;
  margin: 8px 0 4px;
  color: #f4f2e9;
}
.metric small {
  color: #8e9b90;
  font-size: 8px;
}
.metric:hover {
  background: #283229e8;
}
.sidebar {
  right: 86px;
  top: 205px;
  bottom: 64px;
  width: 330px;
  border-radius: 22px;
  z-index: 730;
}
.panel-head {
  padding: 17px 19px;
  gap: 9px;
  min-height: 64px;
}
.panel-head h1,
.panel-head h2 {
  font-size: 17px;
  margin: 4px 0;
}
.panel-head small {
  font-size: 9px;
  color: var(--gold);
}
.panel-head > div {
  flex: 1;
}
.sidebar-body {
  padding: 13px;
}
.app-rail {
  position: absolute;
  right: 19px;
  top: 205px;
  bottom: 82px;
  width: 53px;
  border-radius: 26px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  padding: 9px 4px;
  overflow: auto;
  scrollbar-width: none;
}
.app-rail button {
  width: 41px;
  min-height: 41px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #a7b1a8;
}
.app-rail button.active,
.app-rail button:hover {
  background: #cfac6c25;
  color: #dfbc78;
}
.app-rail .icon {
  width: 20px;
  height: 20px;
}
.map-tools {
  left: 20px;
  top: 205px;
  right: auto;
  gap: 7px;
}
.map-tools .tool-group {
  border-radius: 16px;
}
.map-tools .tool-group button {
  width: 40px;
  height: 38px;
}
.traffic-trigger {
  display: none;
}
.north {
  width: 40px;
  background: #131c16bb;
}
.assistant-trigger {
  left: 175px;
  top: 21px;
  bottom: auto;
  right: auto;
  padding: 10px 16px;
  font-size: 10px;
  border-radius: 25px;
}
.search-box {
  margin-left: 160px;
}
.heading {
  display: none;
}
.basemap-dock {
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 16px;
  padding: 5px;
}
.base-btn {
  min-width: 74px;
  font-size: 10px;
}
.base-thumb {
  height: 28px;
}
.legend {
  left: 20px;
  bottom: 82px;
  top: auto;
  width: 239px;
  max-height: 430px;
  border-radius: 20px;
  z-index: 725;
}
.legend-title {
  font-size: 13px;
  padding: 16px;
}
.legend-body {
  padding: 0 17px 15px;
  max-height: 350px;
  overflow: auto;
}
.legend h4 {
  font-size: 10px;
  color: #d2c3a3;
  margin: 13px 0 8px;
}
.legend-item {
  font-size: 10px;
  gap: 9px;
  margin: 7px 0;
}
.legend-square {
  width: 16px;
  height: 9px;
  border-radius: 3px;
}
.legend-line {
  width: 23px;
}
.company-credit {
  position: fixed;
  bottom: 6px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 750;
  color: #aebbb1;
  padding: 4px 9px;
  border-radius: 10px;
  background: #111a15c9;
  backdrop-filter: blur(7px);
  font-size: 8px;
}
.company-credit img {
  width: 23px;
  height: 26px;
  object-fit: contain;
}
.company-credit b {
  font: 11px Arial;
  letter-spacing: 1.5px;
  display: block;
  color: #dce9e0;
}
.company-credit small {
  display: block;
  font: 4.8px Arial;
  letter-spacing: 0.8px;
  margin-top: 2px;
}
.bottom-status {
  right: 100px;
  left: auto;
  bottom: 5px;
  font-size: 8px;
  background: #101b1488;
  padding: 6px;
  border-radius: 8px;
}
.leaflet-control-attribution {
  font-size: 8px !important;
  background: #101a15b8 !important;
  color: #b6bfb8 !important;
  padding: 3px 7px !important;
  max-width: 520px;
}
.leaflet-control-attribution a {
  color: #d8c694;
}
.leaflet-bottom.leaflet-left {
  bottom: 43px;
  left: 15px;
}
.leaflet-control-scale-line {
  background: #e9e5d7cc;
  border-color: #4c5b50;
  color: #173725;
  text-shadow: none;
  font-size: 10px;
}
.leaflet-bottom.leaflet-right {
  bottom: 35px;
  right: 18px;
}
.basemap-intro {
  padding: 12px;
  background: #ffffff06;
  border-radius: 13px;
  margin-bottom: 13px;
}
.basemap-intro > b {
  color: var(--gold);
  font-size: 11px;
  display: block;
  margin-bottom: 10px;
}
.basemap-intro > div {
  display: flex;
  gap: 6px;
}
.basemap-intro button {
  background: #ffffff08;
  flex: 1;
  border-radius: 9px;
  min-height: 35px;
  font-size: 10px;
}
.basemap-intro button.selected {
  background: #cfac6c24;
  color: #e7c58b;
}
.basemap-intro > small {
  display: block;
  line-height: 1.7;
  font-size: 8px;
  margin-top: 9px;
  color: #819086;
}
.select {
  background: #202b22;
  border-color: #ffffff12;
  border-radius: 10px;
  min-height: 35px;
}
.field-label {
  font-size: 10px;
}
.tabs {
  margin: 15px 0 9px;
}
.tab {
  font-size: 10px;
  padding: 9px;
}
.layer-find {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #ffffff0e;
  border-radius: 20px;
  padding: 7px 10px;
  margin-bottom: 10px;
  background: #ffffff05;
}
.layer-find input {
  width: 100%;
  background: none;
  border: 0;
  outline: 0;
  color: inherit;
  font-size: 10px;
}
.layer-find .icon {
  width: 14px;
  height: 14px;
  color: #929f93;
}
summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
.layer-family {
  margin-bottom: 3px;
}
.layer-family > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 4px;
  color: #cfaf73;
  font-size: 11px;
}
.layer-family > summary > .icon:first-child {
  width: 17px;
  height: 17px;
}
.layer-family > summary > b {
  flex: 1;
}
.layer-family > summary > span {
  font: 9px Arial;
  color: #879387;
}
.layer-family > summary > .icon:last-child {
  width: 11px;
  height: 11px;
  transform: rotate(180deg);
}
.layer-family[open] > summary > .icon:last-child {
  transform: rotate(90deg);
}
.family-layers {
  border-right: 1px solid #c9a96b38;
  margin-right: 10px;
  padding-right: 9px;
}
.layer-detail {
  border-radius: 13px;
  margin-bottom: 5px;
  background: #ffffff04;
}
.layer-detail[open] {
  background: #ffffff07;
}
.layer-detail > summary {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 7px;
}
.layer-glyph > .icon {
  width: 17px;
  height: 17px;
}
.layer-detail > summary > div {
  flex: 1;
}
.layer-detail b {
  font-size: 10px;
  font-weight: 400;
  display: block;
  line-height: 1.5;
}
.layer-detail small {
  font-size: 8px;
  display: block;
  color: #86958a;
}
.layer-locate {
  padding: 4px;
  display: grid;
  place-items: center;
}
.layer-locate .icon {
  width: 13px;
  height: 13px;
  color: #aab5aa;
}
.switch {
  width: 29px;
  height: 17px;
  flex: none;
}
.switch i:before {
  width: 13px;
  height: 13px;
}
.switch input:checked + i:before {
  transform: translateX(12px);
}
.switch input:checked + i {
  background: #c6a660;
}
.layer-controls {
  padding: 0 12px 11px;
}
.layer-controls p {
  font-size: 9px;
  line-height: 1.7;
  color: #929e93;
  margin: 3px 0 8px;
}
.layer-controls > small {
  font-size: 8px;
  line-height: 1.8;
  margin-top: 9px;
}
.opacity-control {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  color: #a7b3a6;
  margin: 10px 0;
}
.opacity-control input {
  flex: 1;
  min-width: 50px;
  accent-color: #d2b16f;
  height: 3px;
}
.subtype-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  font-size: 9px;
  border-top: 1px solid #ffffff05;
}
.subtype-row .icon {
  width: 14px;
  height: 14px;
  color: #bba26d;
}
.subtype-row span {
  flex: 1;
}
.subtype-row input {
  accent-color: #d2b16f;
}
.work-panel {
  position: absolute;
  right: 86px;
  top: 205px;
  bottom: 65px;
  width: 370px;
  z-index: 740;
  border-radius: 23px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.panel-scroll {
  overflow: auto;
  padding: 15px 20px;
  flex: 1;
  font-size: 11px;
  line-height: 1.9;
}
.panel-scroll h3 {
  font-size: 14px;
  margin: 7px 0 12px;
}
.panel-scroll h4 {
  font-size: 11px;
  color: #cfb77e;
  margin: 22px 0 10px;
}
.panel-scroll > p {
  font-size: 10px;
  color: #aeb8ab;
}
.drag-glyph {
  opacity: 0.35;
  display: grid;
  place-items: center;
}
.drag-glyph .icon {
  width: 14px;
}
.drag-handle {
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.drag-handle:active {
  cursor: grabbing;
}
.user-moved {
  max-height: calc(100vh - 110px);
}
.work-panel.user-moved {
  height: 640px;
}
.sidebar.user-moved {
  height: 640px;
}
.assistant-panel.user-moved,
.detail.user-moved {
  height: 610px;
}
.scope-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  margin-bottom: 14px;
}
.scope-chip .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}
.source-badge {
  font-size: 8px;
  display: inline-block;
  border: 1px solid #80a99050;
  color: #bed5bb;
  border-radius: 20px;
  padding: 1px 7px;
  white-space: nowrap;
}
.scope-chip > .source-badge {
  margin-right: auto;
}
.insight-card {
  padding: 17px;
  background: #ffffff05;
  border: 1px solid #ffffff09;
  border-radius: 17px;
  margin-bottom: 12px;
}
.insight-card h3 {
  font-size: 12px;
  line-height: 1.8;
  padding-right: 13px;
  position: relative;
}
.insight-card h3:before {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d6b571;
}
.insight-card.teal h3:before {
  background: #91c4b3;
}
.insight-card.green h3:before {
  background: #87bc7b;
}
.insight-card p {
  font-size: 10px;
  line-height: 1.9;
  color: #9caa9a;
  margin-bottom: 5px;
}
.insight-card button {
  font-size: 9px;
  color: #d6b571;
  margin-top: 8px;
}
.topic-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.topic-chips button,
.topic-chips a {
  background: #ffffff08;
  border-radius: 20px;
  padding: 7px 12px;
  font-size: 9px;
  color: #cad2c4;
}
.wide {
  width: 100%;
  margin-top: 14px;
  min-height: 37px;
}
.btn {
  border-radius: 20px;
  font-size: 10px;
  padding: 9px 15px;
}
.btn.gold {
  background: #d3b06c;
  color: #1c241b;
}
.analysis-board {
  position: absolute;
  z-index: 760;
  top: 205px;
  left: 80px;
  right: 86px;
  bottom: 65px;
  border-radius: 23px;
  overflow: auto;
}
.analysis-board > .panel-head {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #131c16fa;
}
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
  padding: 18px;
}
.chart-card {
  border: 1px solid #ffffff0b;
  border-radius: 18px;
  background: #ffffff03;
  padding: 18px;
}
.chart-card h3 {
  font-size: 13px;
  margin: 0 0 13px;
}
.stat-bar {
  display: grid;
  grid-template-columns: 70px 1fr 42px;
  gap: 9px;
  align-items: center;
  width: 100%;
  padding: 5px 0;
  font-size: 9px;
  text-align: right;
}
.stat-bar > i {
  height: 8px;
  position: relative;
  background: #ffffff03;
  border-radius: 3px;
}
.stat-bar > i:after {
  content: "";
  display: block;
  height: 100%;
  width: var(--bar);
  background: #c9a867;
  border-radius: 3px;
}
.stat-bar b {
  font-size: 9px;
  font-weight: 400;
  color: #c7d2c2;
}
.stat-bar:hover > i:after {
  background: #8ab5a6;
}
.land-metrics {
  display: flex;
  gap: 14px;
  text-align: center;
  justify-content: space-between;
  padding: 4px 0 14px;
}
.land-metrics > div {
  flex: 1;
}
.land-metrics small {
  font-size: 9px;
  color: #a8b3a5;
  display: block;
}
.land-metrics strong {
  display: block;
  font-size: 23px;
  line-height: 1.4;
  margin-top: 6px;
}
.land-metrics strong small {
  display: inline;
  font-size: 10px;
}
.land-search-label {
  font-size: 10px;
  color: #d8bd84;
  display: block;
  margin: 12px 0;
}
.land-search {
  display: flex;
  gap: 5px;
  background: #ffffff08;
  padding: 5px;
  border-radius: 25px;
}
.land-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: #e3e8dc;
  padding: 4px 10px;
  font-size: 10px;
}
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: center;
  min-height: 145px;
}
.donut {
  height: 136px;
  width: 136px;
  border-radius: 50%;
  position: relative;
  flex: none;
  padding: 15px;
}
.donut > div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #152018;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.donut strong {
  font-size: 21px;
}
.donut small {
  font-size: 8px;
  color: #94a18f;
}
.donut-wrap ul {
  padding: 0;
  list-style: none;
  flex: 1;
}
.donut-wrap li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  margin: 8px 0;
}
.donut-wrap li > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.donut-wrap li > b {
  margin-right: auto;
  font: 10px Arial;
}
.histogram {
  height: 140px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  padding-top: 25px;
  direction: ltr;
}
.histogram > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
}
.histogram i {
  background: #bc9b70;
  width: 75%;
  border-radius: 3px 3px 0 0;
}
.histogram b {
  font-size: 9px;
  color: #d8c5a5;
}
.histogram small {
  font-size: 7px;
  color: #8d9a8c;
}
.imagery-card {
  background: #ffffff05;
  padding: 16px;
  border: 1px solid #ffffff0a;
  border-radius: 18px;
}
.imagery-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.imagery-card p {
  font-size: 10px;
  color: #a0ae9b;
}
.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 15px 0;
}
.meta-grid small {
  display: block;
  color: #889683;
  font-size: 8px;
}
.meta-grid b {
  display: block;
  font-size: 10px;
  line-height: 1.9;
}
.scene-card {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  padding: 10px;
  background: #ffffff05;
  border-radius: 14px;
}
.scene-card > img {
  width: 85px;
  height: 105px;
  object-fit: cover;
  border-radius: 9px;
}
.scene-card h3 {
  font-size: 12px;
  margin: 4px 0;
}
.scene-card p {
  font-size: 9px;
  color: #a5b09f;
  margin: 4px 0;
}
.scene-card a {
  font-size: 8px;
  display: block;
}
.before-after {
  display: flex;
  gap: 6px;
  margin: 14px 0;
}
.before-after img {
  width: 49%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}
.data-pairs {
  font-size: 10px;
}
.data-pairs > div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #ffffff0a;
}
.data-pairs dd {
  margin: 0;
  color: #dbbd80;
}
.comparison-swipe {
  position: absolute;
  bottom: 115px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 770;
  max-width: 500px;
  min-width: 320px;
  padding: 10px 16px;
  border-radius: 18px;
  font-size: 10px;
}
.comparison-swipe label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.comparison-swipe input {
  flex: 1;
  accent-color: #d8b36b;
}
.comparison-swipe span {
  display: block;
  color: #9fae98;
  font-size: 8px;
  margin-top: 7px;
}
.comparison-swipe button {
  position: absolute;
  left: 5px;
  top: 0;
  font-size: 20px;
}
.simulation-label {
  color: #e3bd77;
  background: #e9b45c13;
  border: 1px solid #e9b45c33;
  border-radius: 10px;
  padding: 9px;
  text-align: center;
  font-size: 11px;
}
.simulation-badge {
  position: absolute;
  top: 192px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 720;
  background: #493922ed;
  color: #f0ce91;
  border: 1px solid #d5ae6555;
  border-radius: 15px;
  padding: 7px 15px;
  font-size: 10px;
}
.traffic-key {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 9px;
  margin: 16px 0;
}
.incident-marker {
  color: #fff1cd;
  background: #ac5241;
  border: 1px solid #f0b98a;
  border-radius: 5px;
  display: grid;
  place-items: center;
}
.incident-marker .icon {
  width: 15px;
  height: 15px;
}
.report-actions {
  display: flex;
  gap: 10px;
  padding: 15px 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.report-paper {
  background: #faf6eb;
  color: #1d3025;
  border-radius: 17px;
  padding: 38px 44px;
  margin: 8px auto 25px;
  width: min(930px, 95%);
  font-size: 11px;
  line-height: 1.9;
}
.report-paper > header {
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 2px solid #21583f;
  padding-bottom: 16px;
  margin-bottom: 23px;
}
.report-paper > header > img {
  width: 125px;
  height: 115px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.9);
  margin: 15px 32px;
}
.report-paper > header > div {
  flex: 1;
}
.report-paper h1 {
  font-size: 26px;
  line-height: 1.6;
  margin: 3px 0;
}
.report-paper header small {
  font-size: 10px;
}
.report-paper header p {
  font-size: 10px;
  color: #927652;
}
.report-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}
.report-kpis > div {
  border: 1px solid #c7b493;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}
.report-kpis small {
  font-size: 10px;
  color: #8c7358;
}
.report-kpis strong {
  display: block;
  font-size: 24px;
  margin: 5px 0;
}
.report-kpis span {
  display: block;
  font-size: 8px;
  color: #927652;
}
.report-paper h2 {
  font-size: 14px;
  color: #94754f;
  border-bottom: 1px solid #d3c1a6;
  padding-bottom: 7px;
  margin-top: 24px;
}
.report-paper ul {
  padding-right: 20px;
}
.report-paper li {
  margin-bottom: 12px;
}
.report-paper li p {
  margin: 3px 0;
  font-size: 10px;
}
.report-paper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}
.report-paper td,
.report-paper th {
  border-bottom: 1px solid #e1d5c1;
  padding: 9px 6px;
  text-align: right;
}
.report-paper th {
  color: #967451;
  font-weight: 400;
}
.report-paper footer {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #c9b897;
  margin-top: 25px;
  padding-top: 12px;
  font-size: 8px;
}
.report-paper footer img {
  width: 24px;
  height: 30px;
  object-fit: contain;
}
.report-paper footer b {
  font: 11px Arial;
  letter-spacing: 1.5px;
}
.report-paper footer span {
  margin-right: auto;
}
.detail,
.assistant-panel {
  top: 205px;
  bottom: 65px;
  right: 86px;
  left: auto;
  width: 370px;
  border-radius: 22px;
  z-index: 745;
}
.detail-body {
  padding: 17px;
}
.assistant-foot {
  font-size: 8px;
}
.query-chips {
  display: flex;
  flex-direction: column;
}
.query-chips button {
  border: 0;
  background: #ffffff07;
  border-radius: 22px;
  padding: 10px;
  font-size: 10px;
  text-align: right;
}
.detail-title {
  font-size: 16px;
}
.coverage-note,
.note {
  font-size: 9px;
  line-height: 1.9;
}
.editor-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.editor-tools button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #ffffff07;
  border: 1px solid #ffffff0a;
  border-radius: 12px;
  padding: 12px 5px;
  font-size: 9px;
}
.editor-tools button.active {
  border-color: #cfac6c;
  background: #cfac6c1b;
}
.editor-tools .icon {
  color: #d0b379;
  width: 20px;
}
.editor-status {
  border: 1px dashed #c5ad6944;
  border-radius: 12px;
  padding: 12px;
  font-size: 10px;
  color: #d4c29f;
  margin: 12px 0;
}
.editor-form label {
  display: block;
  font-size: 10px;
  margin-top: 12px;
  color: #b5c1b0;
}
.editor-form input,
.editor-form textarea,
.editor-form select {
  width: 100%;
  margin-top: 5px;
  padding: 10px;
  background: #ffffff06;
  border: 1px solid #ffffff11;
  border-radius: 9px;
  color: inherit;
  font: 10px Almarai;
}
.editor-form textarea {
  min-height: 65px;
  resize: vertical;
}
.edit-vertex {
  background: #e8c475;
  border: 2px solid #28372b;
  border-radius: 3px;
  width: 11px;
  height: 11px;
  box-shadow: 0 0 0 1px #e8c475;
}
.edit-list {
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.edit-list button {
  background: #ffffff05;
  border-radius: 9px;
  padding: 9px;
  text-align: right;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.edit-list span {
  color: #a58a5d;
  font-size: 8px;
}
.toast {
  z-index: 1200;
}
.map-label {
  font-size: 11px !important;
  text-shadow: 0 1px 4px #000;
}
.asset-cluster {
  display: none !important;
}
@media (min-width: 1600px) {
  .dashboard {
    left: 180px;
    right: 86px;
  }
  .metric {
    min-height: 90px;
  }
  .sidebar,
  .work-panel {
    top: 210px;
  }
  .analysis-board {
    top: 210px;
  }
}
@media (max-width: 1100px) {
  .topbar {
    gap: 9px;
  }
  .brand {
    width: 205px;
  }
  .authority-wordmark {
    width: 137px;
  }
  .authority-emblem {
    width: 40px;
  }
  .search-box {
    margin-left: 0;
  }
  .assistant-trigger {
    top: 151px;
    left: 20px;
  }
  .dashboard {
    top: 80px;
  }
  .metric {
    padding: 10px 9px;
    min-height: 78px;
  }
  .metric strong {
    font-size: 21px;
  }
  .metric .metric-label {
    font-size: 8px;
  }
  .metric .metric-label .icon {
    display: none;
  }
  .sidebar,
  .work-panel {
    top: 198px;
  }
  .analysis-board {
    top: 198px;
    left: 70px;
  }
  .app-rail {
    top: 198px;
  }
  .company-credit > span:last-child {
    display: none;
  }
  .map-tools {
    top: 198px;
  }
}
@media (max-width: 760px) {
  .topbar {
    top: 9px;
    left: 10px;
    right: 10px;
    gap: 8px;
    height: 55px;
    flex-wrap: nowrap;
  }
  .brand {
    width: 155px;
    height: 46px;
    padding: 4px 7px;
    gap: 4px;
  }
  .authority-emblem {
    width: 33px;
    height: 33px;
  }
  .authority-wordmark {
    width: 103px;
    height: 35px;
  }
  .search-box {
    flex: 1;
    min-width: 0;
    height: 39px;
    margin: 0;
  }
  .search-box input {
    font-size: 9px;
    min-width: 0;
  }
  .pill-btn {
    display: none;
  }
  .search-box > .icon {
    display: none;
  }
  .dashboard {
    top: 68px;
    left: 12px;
    right: 12px;
  }
  .dash-head {
    width: 100%;
    font-size: 8px;
  }
  .dash-head small {
    font-size: 7px;
  }
  #dashboardMetrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
  .metric {
    min-height: 68px;
    padding: 7px 9px;
    border-radius: 13px;
  }
  .metric strong {
    font-size: 19px;
    margin: 4px 0;
  }
  .metric small {
    font-size: 7px;
  }
  .app-rail {
    right: 8px;
    top: 118px;
    bottom: 75px;
    width: 45px;
    border-radius: 21px;
    padding: 7px 2px;
  }
  .app-rail button {
    min-height: 35px;
    width: 35px;
    border-radius: 13px;
  }
  .app-rail .icon {
    width: 18px;
    height: 18px;
  }
  .sidebar,
  .work-panel,
  .detail,
  .assistant-panel {
    right: 61px;
    left: 10px;
    width: auto;
    top: 118px;
    bottom: 73px;
    border-radius: 18px;
    max-height: calc(100vh - 190px);
  }
  .analysis-board {
    left: 10px;
    right: 61px;
    top: 118px;
    bottom: 73px;
    border-radius: 18px;
  }
  .analysis-board .panel-head {
    padding: 13px;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 10px;
  }
  .metric .metric-label {
    font-size: 8px;
  }
  .assistant-trigger {
    left: 10px;
    top: 116px;
    padding: 9px 12px;
    font-size: 9px;
  }
  .map-tools {
    top: 160px;
    left: 10px;
  }
  .tool-group:nth-child(2) {
    display: none;
  }
  .legend {
    left: 10px;
    bottom: 100px;
    width: 222px;
    max-height: 350px;
  }
  .legend-body {
    max-height: 275px;
  }
  .basemap-dock {
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
  }
  .base-btn {
    font-size: 9px;
    min-width: 65px;
  }
  .base-thumb {
    height: 18px;
  }
  .company-credit {
    left: 7px;
    bottom: 5px;
    padding: 3px 6px;
    gap: 6px;
  }
  .company-credit img {
    width: 18px;
    height: 21px;
  }
  .company-credit b {
    font-size: 9px;
  }
  .company-credit small {
    font-size: 4px;
  }
  .bottom-status {
    right: 60px;
    bottom: 8px;
    max-width: 150px;
    font-size: 7px;
    display: block;
  }
  .bottom-status #coords {
    display: none;
  }
  .leaflet-bottom.leaflet-right {
    bottom: 34px;
    right: 3px;
  }
  .leaflet-control-attribution {
    max-width: 290px;
    font-size: 6px !important;
  }
  .leaflet-bottom.leaflet-left {
    bottom: 43px;
    left: 6px;
  }
  .panel-scroll {
    padding: 12px 15px;
  }
  .panel-head h1,
  .panel-head h2 {
    font-size: 15px;
  }
  .panel-head {
    padding: 13px;
  }
  .drag-glyph {
    display: none;
  }
  .work-panel.user-moved,
  .sidebar.user-moved {
    max-height: calc(100vh - 110px);
    height: 550px;
    min-width: 270px;
  }
  .report-paper {
    padding: 17px 15px;
    width: 97%;
    border-radius: 10px;
  }
  .report-paper > header {
    gap: 7px;
  }
  .report-paper > header > img {
    width: 60px;
    height: 65px;
    margin: 0 10px;
  }
  .report-paper h1 {
    font-size: 17px;
  }
  .report-paper header small,
  .report-paper header p {
    font-size: 8px;
  }
  .report-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .report-paper table {
    font-size: 8px;
  }
  .report-paper td,
  .report-paper th {
    padding: 6px 3px;
  }
  .report-paper footer span {
    display: none;
  }
  .comparison-swipe {
    min-width: 270px;
    max-width: 90%;
    bottom: 97px;
  }
  .simulation-badge {
    top: auto;
    bottom: 149px;
    max-width: 80%;
    font-size: 9px;
    white-space: nowrap;
  }
  .donut-wrap {
    gap: 10px;
  }
  .donut {
    width: 115px;
    height: 115px;
  }
  .land-metrics strong {
    font-size: 20px;
  }
}
@media print {
  @page {
    size: A4;
    margin: 12mm;
  }
  body {
    overflow: visible;
    background: white;
    color: #173d32;
  }
  body > * {
    display: none !important;
  }
  #analysisBoard {
    display: block !important;
    position: static !important;
    overflow: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
  }
  #analysisBoard > .panel-head,
  .report-actions {
    display: none !important;
  }
  #reportContent {
    display: block !important;
  }
  .report-paper {
    background: white;
    margin: 0;
    padding: 0;
    width: 100%;
    border: 0;
    color: #173d32;
  }
  .report-paper header img {
    width: 95px;
    height: 95px;
  }
  .report-paper h1 {
    font-size: 23px;
  }
  .report-paper h2 {
    break-after: avoid;
  }
  .report-paper tr,
  .report-kpis,
  .report-paper li {
    break-inside: avoid;
  }
  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

.floating-grip {
  display: grid;
  place-items: center;
  cursor: grab;
  color: #9bab9b88;
  min-height: 12px;
  touch-action: none;
}
.floating-grip .icon {
  width: 12px;
  height: 12px;
}
.basemap-dock > .floating-grip {
  width: 12px;
}
.detail-title {
  overflow-wrap: anywhere;
}
.report-paper > header > img {
  transform: none;
  width: 145px;
  height: 125px;
  margin: 0;
  object-fit: contain;
}
.map-tools.user-moved {
  width: 50px !important;
  height: auto;
}
.app-rail.user-moved {
  max-height: 600px;
  height: 560px;
}
.basemap-dock.user-moved {
  transform: none;
}
.editor-tools button .icon {
  pointer-events: none;
}
