:root {
  --ink: #172523;
  --muted: #71807d;
  --soft: #f4f7f5;
  --line: #e3e9e5;
  --surface: rgba(255, 255, 255, 0.96);
  --green-900: #083f3a;
  --green-700: #0f675f;
  --green-600: #11756a;
  --green-500: #178476;
  --green-100: #e4f3ee;
  --approved: #1f9d72;
  --review: #e0a52e;
  --rejected: #dc625f;
  --purple: #796eb4;
  --rail-width: 72px;
  --shadow-sm: 0 8px 24px rgba(23, 52, 47, 0.09);
  --shadow-lg: 0 24px 60px rgba(20, 46, 42, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--ink);
  background: #edf1ee;
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(23, 132, 118, 0.28);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 86px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--green-900);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-shell {
  display: flex;
  width: 100%;
  height: 100%;
}

.app-rail {
  position: relative;
  z-index: 1200;
  display: flex;
  width: var(--rail-width);
  flex: 0 0 var(--rail-width);
  flex-direction: column;
  align-items: center;
  padding: 14px 0 12px;
  border-right: 1px solid rgba(218, 226, 221, 0.85);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 4px 0 24px rgba(31, 57, 52, 0.04);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #16766c, #08463f);
  box-shadow: 0 10px 22px rgba(11, 90, 81, 0.24);
}

.brand-mark svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rail-nav,
.rail-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.rail-nav {
  margin-top: 32px;
}

.rail-bottom {
  margin-top: auto;
}

.rail-button {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 13px;
  color: #7d8c88;
  background: transparent;
  cursor: pointer;
  transition: 160ms ease;
}

.rail-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rail-button:hover {
  color: var(--green-700);
  background: #f0f6f3;
}

.rail-button.active {
  color: #fff;
  background: var(--green-700);
  box-shadow: 0 8px 18px rgba(15, 103, 95, 0.22);
}

.rail-button::after {
  position: absolute;
  z-index: 20;
  top: 50%;
  left: calc(100% + 11px);
  padding: 6px 8px;
  border-radius: 6px;
  color: #fff;
  background: #243c38;
  content: attr(data-tooltip);
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-4px, -50%);
  transition: 140ms ease;
  white-space: nowrap;
}

.rail-button:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.user-avatar {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  margin-top: 8px;
  place-items: center;
  border: 3px solid #f0f3f1;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #d28a65, #be654c);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.user-avatar span {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #37a979;
}

.map-workspace {
  position: relative;
  overflow: hidden;
  min-width: 0;
  flex: 1;
}

#map {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #e9efeb;
}

.leaflet-container {
  background: #e9efeb;
  font-family: "DM Sans", Arial, sans-serif;
}

.leaflet-control-attribution {
  margin: 0 12px 9px 0 !important;
  padding: 4px 8px !important;
  border-radius: 7px;
  color: #71807d !important;
  background: rgba(255, 255, 255, 0.82) !important;
  font-size: 9px !important;
  backdrop-filter: blur(8px);
}

.leaflet-control-attribution a {
  color: var(--green-700) !important;
}

.top-command-bar {
  position: absolute;
  z-index: 900;
  top: 16px;
  right: 16px;
  left: 16px;
  display: grid;
  height: 60px;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 560px) minmax(240px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 0 14px 0 20px;
  border: 1px solid rgba(224, 231, 226, 0.88);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(22, 54, 46, 0.08);
  backdrop-filter: blur(6px) saturate(120%);
}

.top-command-bar.search-hidden {
  grid-template-columns: auto auto;
  justify-content: space-between;
}

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

.page-identity {
  min-width: 0;
}

.identity-kicker,
.panel-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--green-500);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.page-identity h1 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  overflow: hidden;
  margin: 0;
  font: 800 15px/1.2 "Manrope", sans-serif;
  letter-spacing: -0.35px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-title {
  flex: 0 0 auto;
}

.dashboard-tagline {
  overflow: hidden;
  color: #526660;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-overflow: ellipsis;
}

.global-search {
  position: relative;
  display: flex;
  height: 44px;
  align-items: center;
  padding: 0 10px 0 14px;
  border: 1px solid #dfe6e1;
  border-radius: 12px;
  background: #f6f8f6;
  transition: 160ms ease;
}

.global-search:focus-within {
  border-color: #8bbdb2;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 132, 118, 0.09);
}

.global-search > button {
  display: grid;
  width: 24px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: #6d7f7a;
  background: transparent;
  cursor: pointer;
}

.global-search > button:hover {
  color: var(--green-700);
  background: #e9f1ed;
}

.global-search > button svg {
  width: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.global-search input {
  min-width: 0;
  flex: 1;
  padding: 0 11px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
}

.global-search input::placeholder {
  color: #8e9a96;
}

.global-search kbd {
  padding: 4px 7px;
  border: 1px solid #dbe2de;
  border-radius: 6px;
  color: #7c8a86;
  background: #fff;
  font: 10px "DM Sans", sans-serif;
  box-shadow: 0 1px 1px rgba(29, 54, 49, 0.05);
}

.search-results {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  left: 0;
  overflow: hidden;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

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

.search-result {
  display: grid;
  width: 100%;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.search-result:hover {
  background: #f2f6f3;
}

.search-result > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--green-500);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.search-result.place-result > i {
  color: #2c786f;
  background: #e1f0ea;
  font-size: 0;
}

.search-result.place-result > i::before {
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 3px;
  content: "";
  transform: rotate(-45deg);
}

.search-result.waze-result > i {
  color: #fff;
  background: linear-gradient(145deg, #55bee7, #278fce);
  font-size: 9px;
}

.search-result.collection-result > i {
  color: #fff;
  background: linear-gradient(145deg, #199c73, #0e6f59);
  font-size: 8px;
}

.search-result.parliament-result > i {
  color: #fff;
  background: linear-gradient(145deg, #7779c6, #5357a7);
  font-size: 10px;
}

.search-result.complaint-result > i {
  color: #fff;
  background: linear-gradient(145deg, #e77659, #c94f3c);
  font-size: 12px;
}

.search-result > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.search-result strong {
  font-size: 11px;
}

.search-result small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.search-result em {
  color: var(--green-600);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.empty-result {
  padding: 16px 12px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  margin: -1px !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.command-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  justify-self: end;
}

.live-sync {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 3px;
}

.live-sync > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #32a979;
  box-shadow: 0 0 0 5px rgba(50, 169, 121, 0.11);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(50, 169, 121, 0); }
}

.live-sync > span {
  display: flex;
  flex-direction: column;
}

.live-sync strong {
  font-size: 10px;
}

.live-sync small {
  margin-top: 1px;
  color: #87948f;
  font-size: 8px;
  white-space: nowrap;
}

.round-button,
.analytics-button,
.view-button,
#close-insights,
#compact-menu,
.more-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.round-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e0e6e2;
  border-radius: 11px;
  color: #687a75;
  background: #fff;
}

.round-button:hover {
  color: var(--green-700);
  background: #f2f6f3;
}

.round-button svg,
.analytics-button svg,
.view-button svg,
#close-insights svg,
.hero-metric em svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.round-button.loading svg {
  animation: spin 650ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.analytics-button,
.view-button {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #c9dcd5;
  border-radius: 11px;
  color: var(--green-700);
  background: rgba(255,255,255,.92);
  box-shadow: 0 5px 14px rgba(22, 73, 65, .08);
  font-size: 10px;
  font-weight: 700;
}

#toggle-current-view[hidden] {
  display: none;
}

.analytics-button:hover,
.view-button:hover,
.analytics-button[aria-expanded="true"],
.view-button[aria-expanded="true"] {
  color: #fff;
  background: var(--green-900);
}

.map-heading-card {
  position: absolute;
  z-index: 800;
  top: 92px;
  left: 16px;
  width: min(474px, calc(100% - 32px));
  padding: 17px 18px 15px;
  border: 1px solid rgba(222, 229, 224, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px) saturate(135%);
}

.map-heading-card[hidden] {
  display: none;
}

.map-heading-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-heading-top > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green-600);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.map-heading-top > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

#compact-menu {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  padding: 0;
  border-radius: 8px;
  color: #778680;
  background: #eef3f0;
  font-size: 17px;
  line-height: 1;
}

.map-heading-card h2 {
  margin: 5px 0 2px;
  font: 800 22px/1.2 "Manrope", sans-serif;
  letter-spacing: -0.7px;
}

.map-heading-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.map-heading-card > p strong {
  color: var(--ink);
}

.quick-status {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.status-chip {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid #e0e7e2;
  border-radius: 9px;
  color: #60716c;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 9px;
  white-space: nowrap;
}

.status-chip:hover {
  border-color: #bfd5cd;
  background: #f3f8f5;
}

.status-chip.active {
  border-color: #bdd7ce;
  color: var(--green-700);
  background: var(--green-100);
  box-shadow: inset 0 0 0 1px rgba(23, 132, 118, 0.04);
}

.status-chip strong {
  font-size: 8px;
}

.status-chip i,
.map-legend i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.all-dot {
  background: var(--green-500);
}

.approved-dot {
  background: var(--approved);
}

.review-dot {
  background: var(--review);
}

.rejected-dot {
  background: var(--rejected);
}

.waze-dot {
  background: #33a9dd;
  box-shadow: 0 0 0 3px rgba(51, 169, 221, .12);
}

.map-control-dock {
  position: absolute;
  z-index: 860;
  bottom: 28px;
  left: 16px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.map-tools {
  position: relative;
  z-index: 800;
  bottom: auto;
  left: auto;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: 5px;
  border: 1px solid rgba(222, 229, 224, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.map-tools button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #5e716b;
  background: transparent;
  cursor: pointer;
}

.map-tools button:hover {
  color: var(--green-700);
  background: #ecf3ef;
}

.map-tools svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.map-tools > span {
  height: 1px;
  margin: 4px 5px;
  background: var(--line);
}

.basemap-control {
  position: relative;
  z-index: 850;
  bottom: auto;
  left: auto;
}

.basemap-control > button {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 5px;
  border: 1px solid rgba(222, 229, 224, 0.95);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(12px);
}

.basemap-preview {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(30deg, transparent 47%, #cfddd7 48% 51%, transparent 52%), linear-gradient(145deg, #e2ebe6 28%, #f5f3e9 29% 63%, #dbe6df 64%);
}

.basemap-control > button > span:nth-child(2) {
  display: flex;
  min-width: 65px;
  flex-direction: column;
}

.basemap-control small {
  color: #87948f;
  font-size: 7px;
}

.basemap-control strong {
  margin-top: 2px;
  font-size: 9px;
}

.basemap-control > button > svg {
  width: 14px;
  fill: none;
  stroke: #7c8b86;
  stroke-width: 1.8;
}

.basemap-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  display: grid;
  width: 220px;
  gap: 4px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.basemap-menu[hidden] {
  display: none;
}

.basemap-menu button {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.basemap-menu button:hover,
.basemap-menu button.active {
  background: #edf5f1;
}

.map-thumb {
  width: 42px;
  height: 34px;
  border-radius: 7px;
}

.light-thumb {
  background: linear-gradient(25deg, transparent 45%, #c5d7d0 46% 50%, transparent 51%), #edf1ed;
}

.color-thumb {
  background: linear-gradient(30deg, transparent 45%, #e5c16c 46% 49%, transparent 50%), linear-gradient(145deg, #cee1cc 35%, #e7f0e7 36% 68%, #c4dbe2 69%);
}

.dark-thumb {
  background: linear-gradient(30deg, transparent 45%, #657775 46% 49%, transparent 50%), #253432;
}

.basemap-menu button span {
  display: flex;
  flex-direction: column;
}

.basemap-menu button strong {
  font-size: 10px;
}

.basemap-menu button small {
  margin-top: 2px;
  font-size: 8px;
}

.layer-control {
  position: relative;
  z-index: 860;
  bottom: auto;
  left: auto;
}

.layer-control > button {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 9px;
  padding: 5px 9px 5px 11px;
  border: 1px solid rgba(222, 229, 224, 0.95);
  border-radius: 13px;
  color: #536863;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(12px);
}

.layer-control > button:hover,
.layer-control > button[aria-expanded="true"] {
  color: var(--green-700);
  border-color: #bfd4cc;
  background: #fff;
}

.layer-control > button > svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.layer-control > button > span {
  display: flex;
  min-width: 58px;
  flex-direction: column;
}

.layer-control > button small {
  color: #87948f;
  font-size: 7px;
}

.layer-control > button strong {
  margin-top: 2px;
  font-size: 9px;
}

.layer-control > button em {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--green-700);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.layer-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  display: grid;
  width: 276px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.layer-menu[hidden] {
  display: none;
}

.layer-menu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 8px 10px;
}

.layer-menu-header > div {
  display: flex;
  flex-direction: column;
}

.layer-menu-header span {
  color: var(--green-500);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.layer-menu-header strong {
  margin-top: 3px;
  font-size: 10px;
}

.layer-menu-header button {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #7d8b86;
  background: #f0f4f1;
  cursor: pointer;
  font-size: 17px;
}

.layer-option {
  position: relative;
  display: grid;
  grid-template-columns: 20px 34px 1fr;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: 140ms ease;
}

.layer-option:hover {
  background: #f2f6f3;
}

.layer-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.layer-check {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #cfd9d3;
  border-radius: 5px;
  color: transparent;
  background: #fff;
  transition: 140ms ease;
}

.layer-check svg {
  width: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.layer-option input:checked + .layer-check {
  color: #fff;
  border-color: var(--green-700);
  background: var(--green-700);
}

.layer-option input:focus-visible + .layer-check {
  outline: 3px solid rgba(23, 132, 118, 0.23);
  outline-offset: 2px;
}

.layer-symbol {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: #edf3ef;
  font-style: normal;
}

.application-symbol span {
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 5px 5px 5px 2px;
  background: var(--approved);
  box-shadow: 0 2px 7px rgba(26, 61, 55, .2);
  transform: rotate(-45deg);
}

.boundary-symbol::before {
  width: 19px;
  height: 16px;
  border: 2px dashed var(--green-500);
  border-radius: 50% 35% 45% 40%;
  content: "";
}

.parliament-symbol {
  color: #fff;
  background: conic-gradient(from 35deg, #2563eb, #db2777, #ea580c, #16a34a, #7c3aed, #2563eb);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  font-size: 11px;
  font-weight: 900;
}

.zone-symbol {
  background: #f6f1e4;
}

.zone-symbol::before {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(224,165,46,.8) 0 46%, transparent 47% 53%, rgba(23,132,118,.72) 54%);
  content: "";
}

.label-symbol {
  color: #4d6761;
  font-size: 10px;
  font-weight: 800;
}

.waze-symbol {
  color: #fff;
  background: linear-gradient(145deg, #55bee7, #278fce);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  font-size: 11px;
  font-weight: 900;
}

.collection-symbol {
  color: #fff;
  background: linear-gradient(145deg, #199c73, #0e6f59);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  font-size: 8px;
  font-weight: 900;
}

.complaint-symbol {
  color: #fff;
  border-radius: 12px 12px 12px 5px;
  background: linear-gradient(145deg, #f08a68, #c94837);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24), 0 5px 12px rgba(171,65,48,.2);
}

.complaint-symbol svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.consultation-symbol {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #8062df, #5637b7);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24), 0 5px 12px rgba(86,55,183,.2);
}

.consultation-symbol::before {
  width: 17px;
  height: 12px;
  border: 1.5px solid rgba(255,255,255,.92);
  border-radius: 5px;
  background: radial-gradient(circle at 5px 4px, #fff 0 1.5px, transparent 1.8px), radial-gradient(circle at 11px 4px, #fff 0 1.5px, transparent 1.8px);
  content: "";
}

.consultation-symbol::after {
  position: absolute;
  bottom: 10px;
  width: 11px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255,255,255,.9);
  content: "";
}

.disease-symbol {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #ef4444, #b91c1c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 5px 12px rgba(185,28,28,.2);
}

.disease-symbol::before,
.disease-symbol::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 2px;
  background: #fff;
  content: "";
  transform: translate(-50%, -50%);
}

.disease-symbol::before {
  width: 17px;
  height: 6px;
}

.disease-symbol::after {
  width: 6px;
  height: 17px;
}

.disease-symbol span {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
}

.layer-option > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.layer-option > span:last-child strong {
  font-size: 9px;
}

.layer-option > span:last-child small {
  margin-top: 2px;
  color: #87948f;
  font-size: 7px;
}

.map-legend {
  position: absolute;
  z-index: 700;
  right: calc(50% + 28px);
  bottom: 28px;
  display: flex;
  gap: 13px;
  padding: 9px 12px;
  border: 1px solid rgba(222, 229, 224, 0.92);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  transition: right 260ms ease;
}

.insights-panel.collapsed ~ .map-legend,
.map-workspace.insights-collapsed .map-legend {
  right: 18px;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #61716d;
  font-size: 8px;
  font-weight: 600;
}

.map-legend .parliament-line {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #db2777, #ea580c, #16a34a, #7c3aed);
  box-shadow: 0 1px 3px rgba(53,58,134,.18);
}

.complaint-dot {
  position: relative;
  display: grid;
  width: 12px !important;
  height: 10px !important;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 5px 5px 5px 2px !important;
  color: #fff;
  background: #d85845;
  box-shadow: 0 2px 5px rgba(110,44,34,.22), 0 0 0 3px rgba(216,88,69,.12);
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.complaint-dot::before {
  content: "!";
  transform: translateY(-.5px);
}

.complaint-dot::after {
  position: absolute;
  bottom: -3px;
  left: 2px;
  width: 4px;
  height: 4px;
  background: #d85845;
  content: "";
  transform: rotate(45deg);
}

.consultation-dot {
  position: relative;
  width: 11px !important;
  height: 11px !important;
  border-radius: 4px !important;
  background: #6d4bd4;
  box-shadow: 0 0 0 3px rgba(109,75,212,.13);
}

.consultation-dot::before {
  position: absolute;
  top: 3px;
  left: 2px;
  width: 7px;
  height: 2px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  content: "";
}

.disease-dot {
  position: relative;
  width: 10px !important;
  height: 10px !important;
  background: #dc2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,.13);
}

.disease-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(220,38,38,.46);
  border-radius: 50%;
  content: "";
  animation: diseaseHotspotPulse 1.8s ease-out infinite;
}

.complaint-status-legend {
  position: absolute;
  z-index: 715;
  bottom: 88px;
  left: 70px;
  width: 338px;
  padding: 11px 12px 12px;
  border: 1px solid rgba(222, 229, 224, .94);
  border-radius: 13px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.complaint-status-legend[hidden] {
  display: none;
}

.complaint-status-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.complaint-status-heading > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #49625d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.complaint-status-heading > span > i {
  width: 10px;
  height: 8px;
  border-radius: 4px 4px 4px 2px;
  background: #d85845;
  box-shadow: 0 0 0 4px rgba(216,88,69,.1);
}

.complaint-status-heading small {
  color: #89958f;
  font-size: 7px;
}

.complaint-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  margin-top: 10px;
}

.complaint-status-grid > label {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 15px 8px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  color: #6d7b76;
  font-size: 7px;
  cursor: pointer;
}

.complaint-status-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.complaint-status-check {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 1px solid #cdd7d2;
  border-radius: 5px;
  color: transparent;
  background: #fff;
  transition: 150ms ease;
}

.complaint-status-check svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.complaint-status-grid input:checked + .complaint-status-check {
  border-color: var(--status-color);
  color: #fff;
  background: var(--status-color);
}

.complaint-status-grid input:focus-visible + .complaint-status-check {
  outline: 3px solid color-mix(in srgb, var(--status-color) 22%, transparent);
  outline-offset: 2px;
}

.complaint-status-grid > label > i {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 3px 3px 3px 1px;
  background: var(--status-color);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--status-color) 30%, transparent);
}

.complaint-status-grid input:not(:checked) ~ i,
.complaint-status-grid input:not(:checked) ~ strong {
  opacity: .38;
}

.complaint-status-grid label strong {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.traffic-indicator {
  position: absolute;
  z-index: 710;
  right: calc(50% + 28px);
  bottom: 68px;
  width: 286px;
  padding: 11px 12px 10px;
  border: 1px solid rgba(222, 229, 224, .94);
  border-radius: 12px;
  background: rgba(255, 255, 255, .93);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  transition: right 260ms ease;
}

.traffic-indicator[hidden] {
  display: none;
}

.map-workspace.insights-collapsed .traffic-indicator {
  right: 18px;
}

.traffic-indicator-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.traffic-indicator-heading > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #49625d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.traffic-indicator-heading > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #33a9dd;
  box-shadow: 0 0 0 4px rgba(51,169,221,.11);
}

.traffic-indicator-heading small {
  color: #82908b;
  font-size: 7px;
}

.traffic-indicator-heading small strong {
  color: var(--ink);
}

.traffic-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 9px;
  margin-top: 10px;
}

.traffic-category-grid > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: #62736e;
  font-size: 7px;
  font-weight: 600;
  white-space: nowrap;
}

.traffic-category-grid > span > i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 2px 7px rgba(26, 55, 50, .18);
  font-style: normal;
}

.traffic-category-grid > span > i svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collection-indicator {
  position: absolute;
  z-index: 720;
  top: 244px;
  left: 16px;
  width: 262px;
  padding: 13px 14px;
  border: 1px solid rgba(222, 229, 224, .94);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.collection-indicator[hidden] {
  display: none;
}

.collection-indicator-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.collection-indicator-heading > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #46615b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.collection-indicator-heading > span i {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--approved);
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
}

.collection-indicator-heading > em {
  padding: 3px 6px;
  border-radius: 20px;
  color: var(--green-700);
  background: #e5f3ed;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.collection-indicator > strong {
  display: block;
  margin-top: 10px;
  font: 800 22px "Manrope", sans-serif;
  letter-spacing: -.7px;
}

.collection-indicator > small {
  display: block;
  margin-top: 2px;
  color: #84918c;
  font-size: 8px;
}

.collection-scale {
  display: flex;
  gap: 12px;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid #e8ede9;
}

.collection-scale span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #74837e;
  font-size: 7px;
}

.collection-scale i {
  width: 9px;
  height: 11px;
  border: 1px solid #fff;
  border-radius: 3px 3px 3px 1px;
  box-shadow: 0 1px 3px rgba(25, 55, 50, .16);
}

.collection-low {
  background: #75b9c7;
}

.collection-medium {
  background: #38a77b;
}

.collection-high {
  background: #e3a43a;
}

.disease-indicator {
  position: absolute;
  z-index: 725;
  top: 92px;
  right: calc(50% + 28px);
  width: 270px;
  padding: 12px 13px;
  border: 1px solid rgba(222, 229, 224, .94);
  border-radius: 14px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  transition: right 260ms ease;
}

.disease-indicator[hidden] {
  display: none;
}

.map-workspace.insights-collapsed .disease-indicator {
  right: 18px;
}

.disease-indicator-heading,
.disease-indicator-total,
.disease-scale {
  display: flex;
  align-items: center;
}

.disease-indicator-heading {
  justify-content: space-between;
}

.disease-indicator-heading > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4e5f5a;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.disease-indicator-heading > span i {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,.11);
}

.disease-indicator-heading > span i::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(220,38,38,.38);
  border-radius: 50%;
  content: "";
  animation: diseaseHotspotPulse 1.8s ease-out infinite;
}

.disease-indicator-heading em {
  padding: 3px 6px;
  border-radius: 20px;
  color: #9f1239;
  background: #ffe4e6;
  font-size: 6px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .45px;
}

.disease-indicator-total {
  gap: 6px;
  margin-top: 8px;
}

.disease-indicator-total strong {
  color: #991b1b;
  font: 800 19px "Manrope", sans-serif;
  letter-spacing: -.5px;
}

.disease-indicator-total span {
  color: #7f8c87;
  font-size: 7px;
}

.disease-indicator-total b {
  color: #52635e;
}

.disease-scale {
  justify-content: space-between;
  gap: 7px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #ebefec;
}

.disease-scale > span {
  display: grid;
  min-width: 0;
  grid-template-columns: 8px auto;
  align-items: center;
  gap: 1px 4px;
  color: #61706c;
}

.disease-scale i {
  grid-row: 1 / span 2;
  width: 8px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(24,48,43,.18);
}

.disease-scale b {
  font-size: 7px;
}

.disease-scale small {
  color: #96a09c;
  font-size: 6px;
}

.disease-high {
  background: #dc2626;
  animation: diseaseLegendBlink 1.55s ease-in-out infinite;
}

.disease-medium {
  background: #f59e0b;
}

.disease-low {
  background: #22a35a;
}

@keyframes diseaseHotspotPulse {
  0% { opacity: .8; transform: scale(.7); }
  75%, 100% { opacity: 0; transform: scale(1.65); }
}

@keyframes diseaseLegendBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220,38,38,.34); }
  50% { opacity: .66; box-shadow: 0 0 0 4px rgba(220,38,38,0); }
}

.waze-light-traffic {
  background: #f0b83f;
}

.waze-heavy-traffic {
  background: #cf3f46;
}

.waze-road-closure {
  background: #6f58a8;
}

.waze-police {
  background: #2f88d8;
}

.waze-hazard {
  color: #725510 !important;
  background: #f2c94c;
}

.waze-accident {
  background: #dc5a56;
}

.waze-other {
  background: #7d8b86;
}

.insights-panel {
  position: absolute;
  z-index: 950;
  top: 92px;
  right: 16px;
  bottom: 16px;
  overflow: auto;
  width: 50%;
  padding: 20px;
  border: 1px solid rgba(224, 231, 226, 0.92);
  border-radius: 22px;
  background: rgba(250, 252, 250, 0.97);
  box-shadow: var(--shadow-lg);
  scrollbar-width: thin;
  scrollbar-color: #ced8d2 transparent;
  backdrop-filter: blur(20px) saturate(135%);
  transition: opacity 230ms ease, transform 260ms cubic-bezier(.2,.8,.2,1);
}

.insights-panel.collapsed {
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(100% + 30px));
}

.consultation-detail-panel {
  position: absolute;
  z-index: 960;
  top: 92px;
  right: calc(50% + 28px);
  bottom: 16px;
  display: flex;
  overflow: hidden;
  width: min(390px, calc(50% - 44px));
  flex-direction: column;
  border: 1px solid rgba(222,216,237,.94);
  border-radius: 22px;
  background: rgba(252,251,255,.98);
  box-shadow: 0 22px 50px rgba(48,37,78,.18);
  backdrop-filter: blur(18px) saturate(130%);
}

.consultation-detail-panel[hidden] {
  display: none;
}

.consultation-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 18px 14px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0, rgba(220,207,255,.28), transparent 38%),
    linear-gradient(135deg, #7657d7, #3d2b72);
}

.consultation-detail-header > div {
  min-width: 0;
}

.consultation-detail-header span {
  display: block;
  color: rgba(255,255,255,.66);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.consultation-detail-header h2 {
  overflow: hidden;
  margin: 4px 0 0;
  font: 850 17px/1.2 "Manrope", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#close-consultation-details {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  color: #fff;
  background: rgba(255,255,255,.1);
  cursor: pointer;
}

#close-consultation-details:hover {
  background: rgba(255,255,255,.2);
}

#close-consultation-details svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.consultation-detail-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 15px;
  border-bottom: 1px solid #e9e5f1;
  background: #f5f2fb;
}

.consultation-detail-summary span {
  color: #6046a6;
  font-size: 8px;
  font-weight: 850;
}

.consultation-detail-summary small {
  color: #91899c;
  font-size: 6.5px;
}

.consultation-detail-list {
  display: grid;
  overflow: auto;
  align-content: start;
  gap: 9px;
  padding: 13px;
  scrollbar-width: thin;
  scrollbar-color: #cfc7df transparent;
}

.consultation-detail-record {
  padding: 12px;
  border: 1px solid #e9e5f0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(56,44,82,.055);
}

.consultation-detail-record > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.consultation-detail-record > header > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.consultation-detail-record > header b {
  overflow: hidden;
  color: #3f3850;
  font: 850 9px/1.25 "Manrope", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.consultation-detail-record > header small {
  margin-top: 2px;
  color: #8d8599;
  font-size: 6.5px;
}

.consultation-detail-record > header em {
  padding: 3px 6px;
  border-radius: 6px;
  color: #6748bc;
  background: #eee8ff;
  font-size: 6px;
  font-style: normal;
  font-weight: 850;
}

.consultation-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.consultation-detail-tags > * {
  padding: 3px 6px;
  border-radius: 6px;
  color: #71697d;
  background: #f2f0f6;
  font-size: 6px;
  font-style: normal;
}

.consultation-detail-record > section {
  margin-top: 8px;
  padding: 8px 9px;
  border-radius: 8px;
  background: #f7f6f9;
}

.consultation-detail-record > section.answer {
  border-left: 3px solid #7657d7;
  background: #f5f1ff;
}

.consultation-detail-record > section > b {
  display: block;
  color: #837b8d;
  font-size: 6px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.consultation-detail-record > section > p {
  margin: 4px 0 0;
  color: #57515f;
  font-size: 7.5px;
  line-height: 1.48;
  white-space: pre-line;
}

.consultation-detail-record > .consultation-record-status {
  position: relative;
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  align-items: center;
  gap: 2px 6px;
  margin-top: 8px;
  padding: 7px 8px;
  border: 1px solid var(--action-border, #dedbe5);
  border-radius: 9px;
  color: var(--action-text, #716989);
  background: var(--action-bg, #f7f6fa);
}

.consultation-detail-record > .consultation-record-status b {
  color: color-mix(in srgb, var(--action-color, #8c8596) 82%, #34303b);
  font-size: 5.7px;
  letter-spacing: .25px;
  text-transform: uppercase;
}

.consultation-detail-empty {
  display: grid;
  min-height: 180px;
  place-content: center;
  gap: 5px;
  color: #8c8496;
  text-align: center;
}

.consultation-detail-empty strong {
  color: #534b60;
  font: 850 13px "Manrope", sans-serif;
}

.consultation-detail-empty span {
  font-size: 8px;
}

.insights-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.insights-header h2 {
  margin: 0;
  font: 800 18px "Manrope", sans-serif;
  letter-spacing: -0.45px;
}

#close-insights {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  border: 1px solid #dde6e1;
  color: #74837f;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 4px 12px rgba(36, 57, 49, .07);
}

#close-insights:hover {
  color: var(--ink);
  background: #eaf0ec;
}

.hero-metric {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 118px;
  grid-template-columns: 1fr 130px;
  align-items: end;
  margin-top: 16px;
  padding: 17px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0e675e, #07413c);
  box-shadow: 0 14px 28px rgba(11, 83, 75, 0.17);
}

.hero-metric::after {
  position: absolute;
  top: -55px;
  right: -50px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  content: "";
}

.metric-copy {
  position: relative;
  z-index: 1;
}

.metric-copy > span {
  color: rgba(255,255,255,.75);
  font-size: 9px;
  font-weight: 600;
}

.metric-copy > div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 3px;
}

.metric-copy strong {
  font: 800 28px "Manrope", sans-serif;
  letter-spacing: -1px;
}

.metric-copy em {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 6px;
  border-radius: 20px;
  color: #d9f8eb;
  background: rgba(255,255,255,.12);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.metric-copy em svg {
  width: 10px;
}

.metric-copy small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.62);
  font-size: 8px;
}

.sparkline {
  position: relative;
  z-index: 1;
  height: 60px;
  margin: 0 -2px -3px 0;
}

.sparkline svg {
  width: 100%;
  height: 100%;
  filter: brightness(2.6) saturate(.65);
}

.status-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 9px;
}

.status-metrics button {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: 150ms ease;
}

.status-metrics button:hover {
  border-color: #c8d9d1;
  box-shadow: 0 7px 16px rgba(29, 55, 50, 0.06);
  transform: translateY(-1px);
}

.status-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
}

.status-icon svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approved-icon {
  color: var(--approved);
  background: #e8f6f0;
}

.review-icon {
  color: #bd8416;
  background: #fdf4df;
}

.rejected-icon {
  color: var(--rejected);
  background: #faeceb;
}

.status-metrics button > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.status-metrics small {
  overflow: hidden;
  max-width: 80px;
  color: #7f8c88;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-metrics strong {
  margin-top: 2px;
  font: 800 14px "Manrope", sans-serif;
}

.status-metrics em {
  margin-top: 7px;
  color: #85928e;
  font-size: 7px;
  font-style: normal;
}

.insight-card {
  margin-top: 9px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.card-title-row > div > span {
  color: var(--green-500);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card-title-row h3 {
  margin: 3px 0 0;
  font: 700 11px "Manrope", sans-serif;
}

.card-title-row select {
  padding: 5px 21px 5px 7px;
  border: 1px solid #dde5df;
  border-radius: 7px;
  color: #62736e;
  background: #f7f9f7;
  font-size: 8px;
}

.chart-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
}

.chart-stat strong {
  font: 800 17px "Manrope", sans-serif;
}

.chart-stat span {
  color: #8b9793;
  font-size: 7px;
}

.chart-stat em {
  margin-left: auto;
  color: var(--approved);
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.monthly-chart {
  position: relative;
  display: grid;
  height: 82px;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 5px;
  margin-top: 9px;
  border-bottom: 1px solid #e7ece8;
  background: repeating-linear-gradient(to bottom, #fff 0, #fff 26px, #edf1ee 27px);
}

.chart-bar {
  position: relative;
  min-height: 7px;
  padding: 0;
  border: 0;
  border-radius: 3px 3px 1px 1px;
  background: #9dbcb2;
  cursor: pointer;
  transform-origin: bottom;
  animation: grow 550ms cubic-bezier(.2,.8,.2,1) both;
}

.chart-bar:nth-child(3n),
.chart-bar:nth-child(7n) {
  background: #4f9183;
}

.chart-bar.peak {
  background: var(--green-700);
}

.chart-bar:hover,
.chart-bar:focus-visible {
  background: var(--green-900);
}

.chart-bar::before {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  z-index: 3;
  padding: 3px 4px;
  border-radius: 4px;
  color: #fff;
  background: #1d3531;
  content: attr(data-value);
  font-size: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(3px);
  transition: 120ms ease;
}

.chart-bar:hover::before,
.chart-bar:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes grow {
  from { transform: scaleY(0); }
}

.month-axis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 5px;
  color: #97a29f;
  font-size: 6px;
  text-align: left;
}

.month-axis span:last-child {
  text-align: right;
}

.more-button {
  padding: 0;
  color: #85928e;
  letter-spacing: 1px;
}

.development-content {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.donut {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--green-700) 0 48%, #d5aa4b 48% 82%, var(--purple) 82% 100%);
  transform: rotate(-34deg);
}

.donut::before {
  grid-area: 1 / 1;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.donut > div {
  z-index: 1;
  display: flex;
  grid-area: 1 / 1;
  flex-direction: column;
  align-items: center;
  transform: rotate(34deg);
}

.donut strong {
  font: 800 13px "Manrope", sans-serif;
}

.donut span {
  color: #889590;
  font-size: 6px;
}

.development-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.development-content li {
  display: grid;
  grid-template-columns: 7px 1fr auto;
  align-items: center;
  gap: 7px;
}

.development-content li > i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.residential {
  background: var(--green-700);
}

.commercial {
  background: #d5aa4b;
}

.industrial {
  background: var(--purple);
}

.development-content li > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.development-content li strong {
  font-size: 8px;
}

.development-content li small {
  margin-top: 1px;
  color: #899590;
  font-size: 6.5px;
}

.development-content li em {
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 2px 0;
}

.panel-footer > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #85928d;
  font-size: 7px;
}

.panel-footer > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--approved);
}

.panel-footer button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  color: var(--green-700);
  background: transparent;
  cursor: pointer;
  font-size: 8px;
  font-weight: 700;
}

.ai-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ai-panel-kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #45d6a2;
  box-shadow: 0 0 0 4px rgba(69, 214, 162, 0.13);
}

.ai-insight-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin-top: 14px;
  padding: 5px;
  border: 1px solid #e0e7e3;
  border-radius: 14px;
  background: rgba(239, 244, 241, .86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}

.ai-insight-tabs button {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 37px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 4px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #697672;
  background: transparent;
  font-size: 7px;
  font-weight: 800;
  line-height: 1.15;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.ai-insight-tabs button::before {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: .52;
}

.ai-insight-tabs button:not(:disabled):not(.active):hover {
  color: #465650;
  background: rgba(255,255,255,.68);
}

.ai-insight-tabs button.active {
  border-color: #cfe3db;
  color: #126b5d;
  background: #fff;
  box-shadow: 0 5px 12px rgba(31,70,61,.09), inset 0 -2px 0 currentColor;
  transform: translateY(-1px);
}

.ai-insight-tabs button.active::before {
  opacity: 1;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 13%, transparent);
}

.ai-insight-tabs button:nth-child(1).active {
  border-color: #cbe3da;
  color: #16715f;
  background: #f7fcfa;
}

.ai-insight-tabs button:nth-child(2).active {
  border-color: #cfdded;
  color: #356caa;
  background: #f7faff;
}

.ai-insight-tabs button:nth-child(3).active {
  border-color: #ead4d7;
  color: #b34d58;
  background: #fff9fa;
}

.ai-insight-tabs button:nth-child(4).active {
  border-color: #ddd4f2;
  color: #6748bc;
  background: #fbf9ff;
}

.ai-insight-tabs button:nth-child(5).active {
  border-color: #cddfdd;
  color: #317975;
  background: #f7fcfb;
}

.ai-insight-tabs button:disabled {
  color: #9aa5a1;
  background: transparent;
  box-shadow: none;
  cursor: not-allowed;
  opacity: .46;
}

.ai-insight-tabs button:disabled::before {
  opacity: .35;
}

.analytics-button:disabled,
.mobile-insights-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.7);
  opacity: 0.48;
}

.ai-mode-view[hidden] {
  display: none;
}

.ai-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 17px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 5%, rgba(96, 224, 184, 0.3), transparent 34%),
    linear-gradient(135deg, #0e675e, #073d39);
  box-shadow: 0 14px 28px rgba(11, 83, 75, 0.18);
}

.ai-hero::after {
  position: absolute;
  right: -32px;
  bottom: -48px;
  width: 125px;
  height: 125px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ai-hero-icon {
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.11);
}

.ai-hero-icon svg {
  width: 23px;
  fill: none;
  stroke: #c9ffeb;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-hero-copy {
  z-index: 1;
  min-width: 0;
}

.ai-hero-copy > span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.ai-hero-copy h3 {
  overflow: hidden;
  margin: 3px 0 2px;
  font: 800 11px/1.25 "Manrope", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-hero-copy strong {
  display: block;
  font: 800 21px "Manrope", sans-serif;
  letter-spacing: -0.7px;
}

.ai-hero-copy small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#ai-focus-top-venue,
#complaint-ai-focus-hotspot,
#disease-ai-focus-hotspot,
#consultation-ai-focus-hotspot,
#integrated-ai-focus-hotspot {
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  color: #effff9;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
  transition: 150ms ease;
}

#ai-focus-top-venue:hover,
#complaint-ai-focus-hotspot:hover,
#disease-ai-focus-hotspot:hover,
#consultation-ai-focus-hotspot:hover,
#integrated-ai-focus-hotspot:hover {
  color: #0b544c;
  background: #dffcf1;
}

#ai-focus-top-venue:disabled,
#complaint-ai-focus-hotspot:disabled,
#disease-ai-focus-hotspot:disabled,
#consultation-ai-focus-hotspot:disabled,
#integrated-ai-focus-hotspot:disabled {
  cursor: wait;
  opacity: 0.45;
}

#ai-focus-top-venue svg,
#complaint-ai-focus-hotspot svg {
  width: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.complaint-ai-hero {
  background:
    radial-gradient(circle at 92% 5%, rgba(134, 199, 255, 0.3), transparent 34%),
    linear-gradient(135deg, #245e9f, #243466);
  box-shadow: 0 14px 28px rgba(32, 70, 124, 0.18);
}

.complaint-ai-icon {
  color: #eaf5ff;
  font: 900 22px "Manrope", sans-serif;
}

.complaint-ai-hero #complaint-ai-focus-hotspot:hover {
  color: #244d83;
  background: #eaf4ff;
}

.disease-ai-hero {
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 211, 112, .28), transparent 34%),
    linear-gradient(135deg, #a51d2d, #631527);
  box-shadow: 0 14px 28px rgba(135, 23, 42, .2);
}

.disease-ai-icon {
  color: #fff4f1;
  font: 700 30px/1 "Manrope", sans-serif;
}

.disease-ai-hero #disease-ai-focus-hotspot:hover {
  color: #821c2e;
  background: #fff0ed;
}

#disease-ai-focus-hotspot > span {
  font-size: 13px;
  line-height: .7;
}

.disease-ai-metrics article:first-child strong {
  color: #a51d2d;
}

.disease-ai-metrics article:nth-child(2) strong {
  color: #c07117;
}

.ai-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.ai-metrics article {
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.ai-metrics article > span,
.ai-metrics article > small {
  display: block;
  overflow: hidden;
  color: #85928e;
  font-size: 6.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-metrics article > span {
  font-weight: 700;
}

.ai-metrics article > strong {
  display: block;
  overflow: hidden;
  margin: 5px 0 3px;
  color: #193b35;
  font: 800 13px "Manrope", sans-serif;
  letter-spacing: -0.3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-trend-card .card-title-row > em {
  padding: 4px 7px;
  border-radius: 7px;
  color: var(--green-700);
  background: #e8f6f0;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.ai-monthly-chart {
  display: grid;
  height: 106px;
  align-items: end;
  gap: 6px;
  margin-top: 13px;
  padding-top: 10px;
  border-bottom: 1px solid #e4ebe6;
  background: repeating-linear-gradient(to bottom, #fff 0, #fff 31px, #edf2ee 32px);
}

.ai-chart-loading {
  grid-column: 1 / -1;
  align-self: center;
  color: #8a9692;
  font-size: 8px;
  text-align: center;
}

.ai-month-column {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}

.ai-month-column > span {
  padding: 5px 0 6px;
  color: #8d9895;
  font-size: 6px;
  text-align: center;
}

.ai-month-bar {
  position: relative;
  min-height: 7px;
  padding: 0;
  border: 0;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(to top, #77a99e, #afd0c6);
  cursor: help;
  transform-origin: bottom;
  animation: grow 550ms cubic-bezier(.2,.8,.2,1) both;
}

.ai-month-bar.peak {
  background: linear-gradient(to top, #0d685e, #45b896);
  box-shadow: 0 5px 12px rgba(14, 103, 94, 0.2);
}

.complaint-ai-day-bar {
  background: linear-gradient(to top, #6f8fbd, #b6cae5);
}

.complaint-ai-day-bar.peak {
  background: linear-gradient(to top, #315c9a, #5f9ae0);
  box-shadow: 0 5px 12px rgba(49, 92, 154, 0.2);
}

.ai-month-bar::before {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  z-index: 4;
  padding: 3px 4px;
  border-radius: 5px;
  color: #fff;
  background: #193b35;
  content: attr(data-value);
  font-size: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(2px);
  transition: 120ms ease;
  white-space: nowrap;
}

.ai-month-bar:hover::before,
.ai-month-bar:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ai-parliament-card .card-title-row > em {
  padding: 4px 7px;
  border-radius: 7px;
  color: #72551d;
  background: #fbf1d9;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.ai-parliament-list {
  display: grid;
  gap: 11px;
  margin-top: 14px;
}

.ai-parliament-row {
  min-width: 0;
}

.ai-parliament-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ai-parliament-meta > span {
  display: flex;
  overflow: hidden;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: #435650;
  font-size: 7.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-parliament-meta > span b {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  place-items: center;
  border-radius: 5px;
  color: #53756c;
  background: #edf5f1;
  font-size: 6px;
}

.ai-parliament-meta > strong {
  color: #203f38;
  font: 800 8px "Manrope", sans-serif;
  white-space: nowrap;
}

.ai-parliament-track {
  overflow: hidden;
  height: 5px;
  margin: 5px 0 4px 23px;
  border-radius: 20px;
  background: #edf2ef;
}

.ai-parliament-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #198570, #5fc5a4);
}

.ai-parliament-row:nth-child(2n) .ai-parliament-track i {
  background: linear-gradient(90deg, #678d81, #9fc3b7);
}

.ai-parliament-row:nth-child(n+7) .ai-parliament-track i {
  background: linear-gradient(90deg, #aa8b49, #d8bb76);
}

.ai-parliament-row > small {
  display: block;
  margin-left: 23px;
  color: #929d99;
  font-size: 6px;
}

.complaint-ai-status-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.complaint-ai-status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px auto;
  align-items: center;
  gap: 8px;
}

.complaint-ai-status-row > span {
  display: flex;
  overflow: hidden;
  align-items: center;
  gap: 6px;
  color: #4d5f5a;
  font-size: 7px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.complaint-ai-status-row > span i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--status-color);
}

.complaint-ai-status-row > div {
  overflow: hidden;
  height: 5px;
  border-radius: 10px;
  background: #edf1ef;
}

.complaint-ai-status-row > div i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--status-color);
}

.complaint-ai-status-row > strong {
  color: #344b45;
  font: 800 8px "Manrope", sans-serif;
  white-space: nowrap;
}

.complaint-ai-status-row > strong small {
  margin-left: 2px;
  color: #929d99;
  font-size: 6px;
}

.complaint-ai-parliament-list .ai-parliament-track i {
  background: linear-gradient(90deg, #3568a8, #72a8e2);
}

.complaint-ai-parliament-list .ai-parliament-row:nth-child(2n) .ai-parliament-track i {
  background: linear-gradient(90deg, #687aa5, #9eadd0);
}

.complaint-ai-parliament-list .ai-parliament-row:nth-child(n+7) .ai-parliament-track i {
  background: linear-gradient(90deg, #9b769f, #c3a4c5);
}

.disease-priority-card .card-title-row > em {
  padding: 4px 7px;
  border-radius: 7px;
  color: #9f1239;
  background: #ffe4e6;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.disease-priority-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.disease-priority-row {
  display: grid;
  width: 100%;
  grid-template-columns: 21px minmax(0, 1fr) 35px;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid #e4eae6;
  border-radius: 10px;
  color: #445650;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: 150ms ease;
}

.disease-priority-row:hover,
.disease-priority-row:focus-visible {
  border-color: #e8b3b7;
  box-shadow: 0 6px 14px rgba(91, 40, 48, .08);
  transform: translateY(-1px);
}

.disease-priority-row:first-child {
  border-color: #efb1b6;
  background: linear-gradient(90deg, #fff5f5, #fff);
}

.disease-priority-rank {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 7px;
  color: #8e9a96;
  background: #f0f4f2;
  font-size: 7px;
  font-weight: 850;
}

.disease-priority-row:first-child .disease-priority-rank {
  color: #fff;
  background: #b91c2e;
}

.disease-priority-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.disease-priority-copy > strong,
.disease-priority-copy > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.disease-priority-copy > strong {
  font-size: 7.5px;
}

.disease-priority-copy > small {
  margin-top: 2px;
  color: #8a9692;
  font-size: 6px;
}

.disease-priority-copy > i {
  overflow: hidden;
  height: 4px;
  margin-top: 5px;
  border-radius: 10px;
  background: #edf1ef;
}

.disease-priority-copy > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22a35a, #f59e0b);
}

.disease-priority-tinggi .disease-priority-copy > i b {
  background: linear-gradient(90deg, #f59e0b, #dc2626);
}

.disease-priority-score {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.disease-priority-score strong {
  color: #344944;
  font: 850 13px "Manrope", sans-serif;
}

.disease-priority-score small {
  margin-top: 1px;
  color: #929c98;
  font-size: 5.5px;
}

.disease-priority-tinggi .disease-priority-score strong,
.disease-priority-tinggi .disease-priority-score small {
  color: #b91c2e;
}

.disease-theme-list {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.disease-theme-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 8px;
}

.disease-theme-row > span {
  overflow: hidden;
  color: #4b5e58;
  font-size: 7px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.disease-theme-row > strong {
  color: #394e48;
  font: 800 8px "Manrope", sans-serif;
}

.disease-theme-row > strong small {
  color: #929d99;
  font-size: 6px;
}

.disease-theme-row > i {
  overflow: hidden;
  height: 5px;
  grid-column: 1 / -1;
  border-radius: 10px;
  background: #edf1ef;
}

.disease-theme-row > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d97706, #f4ba52);
}

.ai-card-badge.neutral {
  color: #687570;
  background: #edf1ef;
}

.disease-enforcement-card {
  background:
    radial-gradient(circle at 100% 0, rgba(239, 68, 68, .07), transparent 38%),
    #fff;
}

.disease-enforcement-card > p {
  margin: 10px 0 0;
  color: #66746f;
  font-size: 7.5px;
  line-height: 1.55;
}

.disease-enforcement-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.disease-enforcement-stats > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 9px;
  border: 1px solid #e6ebe8;
  border-radius: 10px;
  background: #f7f9f8;
}

.disease-enforcement-stats small {
  color: #899590;
  font-size: 6px;
}

.disease-enforcement-stats strong {
  margin-top: 3px;
  color: #9f1239;
  font: 850 15px "Manrope", sans-serif;
}

.disease-ai-narrative {
  background:
    radial-gradient(circle at 100% 0, rgba(220, 38, 38, .08), transparent 42%),
    #fff;
}

.disease-ai-spark {
  background: linear-gradient(135deg, #dc3545, #8f1630);
  box-shadow: 0 6px 12px rgba(143, 22, 48, .18);
}

.disease-ai-narrative .ai-action-note {
  border-color: #f0d8d9;
  background: #fff6f6;
}

.disease-ai-narrative .ai-narrative-heading > div > span,
.disease-ai-narrative .ai-action-note > span {
  color: #b91c2e;
}

.disease-ai-footer span i {
  background: #dc2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,.1);
}

.integrated-ai-hero {
  background:
    radial-gradient(circle at 94% 4%, rgba(75, 224, 209, .26), transparent 35%),
    linear-gradient(135deg, #243b74, #17213f 62%, #3a1f58);
  box-shadow: 0 14px 28px rgba(29, 42, 83, .22);
}

.integrated-ai-icon {
  color: #dffdfa;
  font: 900 13px "Manrope", sans-serif;
  letter-spacing: -.4px;
}

.integrated-ai-hero #integrated-ai-focus-hotspot:hover {
  color: #263c72;
  background: #e9fbfa;
}

#integrated-ai-focus-hotspot > span {
  font-size: 13px;
  line-height: .7;
}

.integrated-ai-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  gap: 7px;
  margin-top: 9px;
}

.integrated-ai-toolbar > label,
.integrated-data-quality {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid #e0e6e3;
  border-radius: 11px;
  background: #fff;
}

.integrated-ai-toolbar > label {
  display: flex;
  flex-direction: column;
}

.integrated-ai-toolbar > label > span,
.integrated-data-quality > span {
  color: #83908c;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.integrated-ai-toolbar select {
  width: 100%;
  min-width: 0;
  margin-top: 4px;
  padding: 6px 24px 6px 7px;
  border: 1px solid #dce4e0;
  border-radius: 8px;
  color: #3e534d;
  background: #f8faf9;
  cursor: pointer;
  font: 750 7px "DM Sans", sans-serif;
}

.integrated-ai-toolbar select:focus-visible {
  outline: 3px solid rgba(64,93,169,.16);
  border-color: #8095c9;
}

.integrated-data-quality {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 3px 6px;
}

.integrated-data-quality > strong {
  color: #3f5ca7;
  font: 850 12px "Manrope", sans-serif;
}

.integrated-data-quality > i {
  overflow: hidden;
  height: 4px;
  grid-column: 1 / -1;
  border-radius: 10px;
  background: #e9eeec;
}

.integrated-data-quality > i b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4d70c4, #48b7a5);
  transition: width 280ms ease;
}

.integrated-data-quality > small {
  overflow: hidden;
  grid-column: 1 / -1;
  color: #98a19e;
  font-size: 5.3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integrated-ai-ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 10px;
}

.integrated-ai-ladder > button {
  display: grid;
  min-width: 0;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 0 5px;
  padding: 7px 5px;
  border: 1px solid #e2e8e5;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: 150ms ease;
}

.integrated-ai-ladder > button:hover,
.integrated-ai-ladder > button:focus-visible,
.integrated-ai-ladder > button.active {
  border-color: #aebbdc;
  background: #f6f8fd;
  box-shadow: 0 5px 12px rgba(43,63,112,.07);
}

.integrated-ai-ladder > button.active i {
  color: #2d477f;
}

.integrated-ai-ladder b {
  display: grid;
  width: 20px;
  height: 20px;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #2b7e71;
  font-size: 7px;
}

.integrated-ai-ladder .diagnostic b {
  background: #c17a18;
}

.integrated-ai-ladder .predictive b {
  background: #3f62b5;
}

.integrated-ai-ladder .prescriptive b {
  background: #8d3e9b;
}

.integrated-ai-ladder i,
.integrated-ai-ladder small {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integrated-ai-ladder i {
  color: #465853;
  font-size: 6px;
  font-style: normal;
  font-weight: 850;
}

.integrated-ai-ladder small {
  margin-top: 1px;
  color: #929d99;
  font-size: 5px;
}

.integrated-stage-card {
  --stage-color: #2b7e71;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--stage-color);
  scroll-margin-top: 12px;
}

.integrated-diagnostic-card {
  --stage-color: #c17a18;
}

.integrated-predictive-card {
  --stage-color: #3f62b5;
}

.integrated-prescriptive-card {
  --stage-color: #8d3e9b;
}

.integrated-stage-heading {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.integrated-stage-heading > b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--stage-color);
  font-size: 9px;
}

.integrated-stage-heading > div {
  min-width: 0;
}

.integrated-stage-heading > div span {
  display: block;
  overflow: hidden;
  color: var(--stage-color);
  font-size: 6px;
  font-weight: 850;
  letter-spacing: .65px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.integrated-stage-heading h3 {
  overflow: hidden;
  margin: 2px 0 0;
  color: #304640;
  font: 750 10px "Manrope", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integrated-stage-heading > em {
  padding: 4px 6px;
  border-radius: 7px;
  color: var(--stage-color);
  background: color-mix(in srgb, var(--stage-color) 10%, white);
  font-size: 5.5px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.integrated-source-grid {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.integrated-source-item {
  --source-color: #2d7f72;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid #e4eae7;
  border-radius: 10px;
  background: #fbfcfb;
}

.integrated-source-item > i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--source-color);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.integrated-source-waze { --source-color: #258fc7; }
.integrated-source-complaints { --source-color: #d25b45; }
.integrated-source-collections { --source-color: #168c68; }
.integrated-source-disease { --source-color: #c92336; }
.integrated-source-compounds { --source-color: #6f7780; }

.integrated-source-item > span {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1px 7px;
}

.integrated-source-item > span small {
  overflow: hidden;
  color: #60716c;
  font-size: 7px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integrated-source-item > span strong {
  color: var(--source-color);
  font: 850 12px "Manrope", sans-serif;
}

.integrated-source-item > span em {
  overflow: hidden;
  grid-column: 1 / -1;
  color: #909b97;
  font-size: 6px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integrated-source-item > b {
  padding: 3px 5px;
  border-radius: 6px;
  color: var(--source-color);
  background: color-mix(in srgb, var(--source-color) 9%, white);
  font-size: 5.5px;
  white-space: nowrap;
}

.integrated-source-item.unavailable {
  border-style: dashed;
  opacity: .7;
}

.integrated-stage-summary {
  margin: 11px 0 0;
  padding: 9px 10px;
  border-left: 2px solid var(--stage-color);
  border-radius: 0 8px 8px 0;
  color: #5f706a;
  background: color-mix(in srgb, var(--stage-color) 5%, white);
  font-size: 7.5px;
  line-height: 1.55;
}

.integrated-ranking-list,
.integrated-predictive-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.integrated-rank-row {
  display: grid;
  width: 100%;
  grid-template-columns: 20px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 7px;
  padding: 6px;
  border: 1px solid #e5eae7;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.integrated-rank-row:hover,
.integrated-rank-row:focus-visible,
.integrated-predictive-row:hover,
.integrated-predictive-row:focus-visible {
  border-color: color-mix(in srgb, var(--stage-color, #526b65) 42%, white);
  box-shadow: 0 5px 12px rgba(45, 62, 58, .07);
}

.integrated-rank-row.selected,
.integrated-predictive-row.selected {
  border-color: #7188c3;
  background: #f5f7fd;
  box-shadow: 0 0 0 2px rgba(64,93,169,.08);
}

.integrated-rank-row > b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: #c17a18;
  font-size: 6px;
}

.integrated-rank-row > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.integrated-rank-row > span strong,
.integrated-rank-row > span small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integrated-rank-row > span strong {
  color: #41544e;
  font-size: 7px;
}

.integrated-rank-row > span small {
  margin-top: 2px;
  color: #8b9692;
  font-size: 5.8px;
}

.integrated-rank-row > span i {
  overflow: hidden;
  height: 4px;
  margin-top: 5px;
  border-radius: 10px;
  background: #eef2f0;
}

.integrated-rank-row > span i em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #edb44d, #b96811);
}

.integrated-rank-row > strong {
  color: #9b5b11;
  font: 850 12px "Manrope", sans-serif;
  text-align: right;
}

.integrated-correlation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.integrated-correlation {
  display: grid;
  min-width: 0;
  padding: 8px;
  border: 1px solid #e5eae7;
  border-radius: 9px;
  background: #fafbfa;
}

.integrated-correlation > span {
  overflow: hidden;
  color: #65756f;
  font-size: 5.8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integrated-correlation > span b {
  color: #a2aaa7;
}

.integrated-correlation > strong {
  margin-top: 4px;
  color: #277a6e;
  font: 850 12px "Manrope", sans-serif;
}

.integrated-correlation.negative > strong {
  color: #a6565f;
}

.integrated-correlation > small {
  margin-top: 2px;
  color: #8c9793;
  font-size: 5.5px;
}

.integrated-predictive-row {
  --level-color: #24a160;
  display: grid;
  width: 100%;
  grid-template-columns: 22px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid #e5eae7;
  border-left: 3px solid var(--level-color);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.integrated-predictive-row.level-kritikal { --level-color: #c21e35; }
.integrated-predictive-row.level-tinggi { --level-color: #e17b17; }
.integrated-predictive-row.level-sederhana { --level-color: #c7a026; }

.integrated-predictive-position {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  color: var(--level-color);
  background: color-mix(in srgb, var(--level-color) 10%, white);
  font-size: 6px;
  font-weight: 850;
}

.integrated-predictive-row > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.integrated-predictive-row > span:nth-child(2) strong,
.integrated-predictive-row > span:nth-child(2) small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integrated-predictive-row > span:nth-child(2) strong {
  color: #40534d;
  font-size: 7px;
}

.integrated-predictive-row > span:nth-child(2) small {
  margin-top: 2px;
  color: #8b9692;
  font-size: 5.7px;
}

.integrated-predictive-row > em {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  font-style: normal;
}

.integrated-predictive-row > em strong {
  color: var(--level-color);
  font: 850 13px "Manrope", sans-serif;
}

.integrated-predictive-row > em small {
  color: var(--level-color);
  font-size: 5px;
}

.integrated-factor-panel {
  margin-top: 11px;
  padding: 10px;
  border: 1px solid #dfe5ee;
  border-radius: 11px;
  background: #f8f9fd;
}

.integrated-factor-panel > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.integrated-factor-panel > div:first-child span {
  color: #6d7b8f;
  font-size: 6px;
  font-weight: 850;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.integrated-factor-panel > div:first-child strong {
  overflow: hidden;
  color: #344f88;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integrated-factor-list {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.integrated-factor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 8px;
}

.integrated-factor-row > span {
  display: flex;
  overflow: hidden;
  align-items: center;
  gap: 5px;
  color: #52645e;
  font-size: 6.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integrated-factor-row > span i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--factor-color);
}

.integrated-factor-row > strong {
  color: var(--factor-color);
  font: 850 8px "Manrope", sans-serif;
}

.integrated-factor-row > strong small {
  color: #929d99;
  font-size: 5.5px;
}

.integrated-factor-row > b {
  overflow: hidden;
  height: 4px;
  border-radius: 10px;
  background: #e5e9ec;
}

.integrated-factor-row > b i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--factor-color);
}

.integrated-factor-row > em {
  color: #8e9995;
  font-size: 5.5px;
  font-style: normal;
  text-align: right;
}

.integrated-action-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 11px;
}

.integrated-action-brief > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 8px;
  border: 1px solid #eadfee;
  border-radius: 9px;
  background: #fbf7fc;
}

.integrated-action-brief small,
.integrated-action-brief strong {
  overflow: hidden;
  text-overflow: ellipsis;
}

.integrated-action-brief small {
  color: #94849a;
  font-size: 5.5px;
  white-space: nowrap;
}

.integrated-action-brief strong {
  margin-top: 3px;
  color: #6f3679;
  font-size: 6.5px;
  line-height: 1.3;
}

.integrated-prescriptions li > span {
  background: linear-gradient(135deg, #a45bb0, #6f2b7d);
}

.integrated-method-note {
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid #dfe5e2;
  border-radius: 12px;
  background: #f6f8f7;
}

.integrated-method-note > span {
  color: #65736f;
  font-size: 6px;
  font-weight: 850;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.integrated-method-note p,
.integrated-method-note small {
  display: block;
  margin: 5px 0 0;
  color: #71807b;
  font-size: 6.5px;
  line-height: 1.5;
}

.integrated-method-note small {
  padding-top: 6px;
  border-top: 1px solid #e2e7e4;
  color: #9a5c63;
}

.integrated-ai-footer span i {
  background: #405da9;
  box-shadow: 0 0 0 4px rgba(64,93,169,.11);
}

.ai-narrative-card {
  background:
    radial-gradient(circle at 100% 0, rgba(46, 172, 135, 0.09), transparent 42%),
    #fff;
}

.ai-narrative-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ai-spark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #22a67f, #0a5e56);
  box-shadow: 0 6px 12px rgba(14, 103, 94, 0.17);
}

.complaint-ai-spark {
  background: linear-gradient(135deg, #4f8fd8, #344d95);
  box-shadow: 0 6px 12px rgba(52, 77, 149, 0.17);
}

.complaint-ai-narrative {
  background:
    radial-gradient(circle at 100% 0, rgba(79, 143, 216, 0.1), transparent 42%),
    #fff;
}

.ai-narrative-heading > div > span,
.ai-action-note > span {
  color: var(--green-500);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.ai-narrative-heading h3 {
  margin: 2px 0 0;
  font: 700 11px "Manrope", sans-serif;
}

.ai-narrative-card > p,
.ai-action-note p {
  margin: 10px 0 0;
  color: #52645f;
  font-size: 8px;
  line-height: 1.55;
}

.ai-action-note {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #dcebe5;
  border-radius: 10px;
  background: #f2f8f5;
}

.ai-action-note p {
  margin-top: 3px;
}

.ai-card-badge {
  padding: 4px 7px;
  border-radius: 7px;
  color: #0d695d;
  background: #e3f5ee;
  font-size: 7px;
  font-weight: 800;
}

.ai-card-badge.warning {
  color: #97691a;
  background: #fcf1d8;
}

.ai-card-disclaimer {
  margin: 9px 0 0;
  padding: 8px 9px;
  border-left: 2px solid #d7aa4b;
  border-radius: 0 7px 7px 0;
  color: #7a776d;
  background: #fdf9ef;
  font-size: 7px;
  line-height: 1.45;
}

.ai-insight-list,
.ai-recommendation-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.ai-insight-list li {
  display: grid;
  grid-template-columns: 7px 1fr;
  align-items: start;
  gap: 8px;
  color: #52635e;
  font-size: 7.5px;
  line-height: 1.5;
}

.ai-insight-list li > i {
  width: 7px;
  height: 7px;
  margin-top: 2px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d09b32;
  box-shadow: 0 0 0 1px #e1c483;
}

.ai-recommendation-card {
  background:
    radial-gradient(circle at 100% 0, rgba(42, 176, 135, 0.11), transparent 38%),
    #f9fcfa;
}

.ai-recommendation-list li {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: start;
  gap: 9px;
}

.ai-recommendation-list li > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #2aaa86, #0c655a);
  font: 800 8px "Manrope", sans-serif;
  box-shadow: 0 5px 10px rgba(20, 121, 109, 0.13);
}

.ai-recommendation-list li > p {
  margin: 1px 0 0;
  color: #4c605a;
  font-size: 7.5px;
  line-height: 1.5;
}

.ai-panel-footer > span b {
  font-weight: 700;
}

.ai-panel-footer > em {
  color: #85928d;
  font-size: 7px;
  font-style: normal;
}

.mobile-insights-button {
  display: none;
}

.map-error {
  position: absolute;
  z-index: 980;
  top: 50%;
  left: 50%;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #ead7d6;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%);
}

.map-error:not([hidden]) {
  display: flex;
}

.map-error svg {
  width: 24px;
  fill: none;
  stroke: var(--rejected);
  stroke-width: 1.8;
}

.map-error > div {
  display: flex;
  flex-direction: column;
}

.map-error strong {
  font-size: 11px;
}

.map-error span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.toast {
  position: absolute;
  z-index: 1500;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 11px;
  color: #fff;
  background: #153f39;
  box-shadow: var(--shadow-lg);
  font-size: 10px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52c994;
}

.application-dialog {
  width: min(520px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: var(--ink);
  background: transparent;
  box-shadow: 0 30px 80px rgba(13, 40, 36, .28);
}

.application-dialog::backdrop {
  background: rgba(10, 32, 29, .42);
  backdrop-filter: blur(5px);
}

.application-dialog[open] {
  animation: dialog-in 190ms cubic-bezier(.2,.8,.2,1);
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
}

.dialog-shell {
  overflow: auto;
  max-height: calc(100vh - 32px);
  padding: 20px;
  border: 1px solid rgba(225, 232, 227, .95);
  border-radius: 22px;
  background: #f8faf8;
  scrollbar-width: thin;
  scrollbar-color: #cdd7d1 transparent;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.dialog-header > div {
  display: flex;
  flex-direction: column;
}

.dialog-kicker {
  color: var(--green-500);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.dialog-header h2 {
  margin: 3px 0 0;
  font: 800 18px "Manrope", sans-serif;
  letter-spacing: -.45px;
}

#close-application-dialog {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: #72817c;
  background: #eaf0ec;
  cursor: pointer;
}

#close-application-dialog:hover {
  color: var(--ink);
  background: #dfe8e2;
}

#close-application-dialog svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.dialog-application-hero {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 126px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 20px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, #126d63, #073e39);
}

.dialog-application-hero::after {
  position: absolute;
  top: -65px;
  right: -25px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  content: "";
}

.dialog-application-hero.review {
  background: linear-gradient(135deg, #c88d1e, #976108);
}

.dialog-application-hero.rejected {
  background: linear-gradient(135deg, #d8645f, #a9423f);
}

.dialog-application-hero > div {
  position: relative;
  z-index: 1;
}

.dialog-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 20px;
  color: #dff8ed;
  background: rgba(255,255,255,.13);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.dialog-status::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.dialog-application-hero small {
  display: block;
  margin-top: 13px;
  color: rgba(255,255,255,.68);
  font-size: 8px;
}

.dialog-application-hero h3 {
  margin: 3px 0 0;
  font: 800 20px "Manrope", sans-serif;
}

.dialog-building-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.1);
}

.dialog-building-icon svg {
  width: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dialog-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 9px;
}

.dialog-details > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.dialog-details span {
  color: #85928e;
  font-size: 8px;
}

.dialog-details strong {
  overflow: hidden;
  margin-top: 4px;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dialog-progress {
  margin-top: 9px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.dialog-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.dialog-section-title > div {
  display: flex;
  flex-direction: column;
}

.dialog-section-title span {
  color: var(--green-500);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dialog-section-title h3 {
  margin: 3px 0 0;
  font: 700 11px "Manrope", sans-serif;
}

.dialog-section-title em {
  color: var(--green-700);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.progress-track {
  overflow: hidden;
  height: 6px;
  margin-top: 12px;
  border-radius: 10px;
  background: #e9efeb;
}

.progress-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-500), var(--approved));
  transition: width 250ms ease;
}

.dialog-progress ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.dialog-progress li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 9px;
}

.dialog-progress li > i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #74837e;
  background: #e9eeeb;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.dialog-progress li.complete > i {
  color: #fff;
  background: var(--approved);
}

.dialog-progress li.current > i {
  color: #a66e11;
  background: #fbefd3;
  box-shadow: 0 0 0 4px rgba(224,165,46,.1);
}

.dialog-progress li.rejected > i {
  color: #fff;
  background: var(--rejected);
}

.dialog-progress li > span {
  display: flex;
  flex-direction: column;
}

.dialog-progress li strong {
  font-size: 9px;
}

.dialog-progress li small {
  margin-top: 2px;
  color: #87948f;
  font-size: 7px;
}

.dialog-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}

.dialog-actions button {
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid #dce4df;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

.dialog-actions button:hover {
  background: #f0f4f1;
}

#print-application {
  color: #fff;
  border-color: var(--green-700);
  background: var(--green-700);
}

#print-application:hover {
  background: var(--green-900);
}

#print-application svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Custom Leaflet markers */
.application-marker {
  border: 0 !important;
  background: transparent !important;
}

.marker-core {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 12px 12px 12px 4px;
  color: #fff;
  background: var(--approved);
  box-shadow: 0 8px 18px rgba(24, 52, 47, 0.28);
  transform: rotate(-45deg);
  transition: 150ms ease;
}

.marker-core.review {
  background: var(--review);
}

.marker-core.rejected {
  background: var(--rejected);
}

.marker-core span {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.19);
  font-size: 8px;
  font-weight: 800;
  transform: rotate(45deg);
}

.application-marker:hover .marker-core,
.application-marker:focus .marker-core,
.application-marker.selected .marker-core {
  transform: rotate(-45deg) translate(2px, -2px) scale(1.08);
  box-shadow: 0 10px 24px rgba(24, 52, 47, 0.34);
}

.application-tooltip {
  padding: 7px 9px !important;
  border: 1px solid rgba(219, 227, 222, .95) !important;
  border-radius: 8px !important;
  color: var(--ink) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 7px 18px rgba(24, 52, 47, .13) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  backdrop-filter: blur(10px);
}

.application-tooltip::before {
  display: none;
}

.waze-alert-marker {
  border: 0 !important;
  background: transparent !important;
}

.waze-map-icon {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2.5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #7d8b86;
  box-shadow: 0 7px 16px rgba(20, 48, 44, .28);
  cursor: pointer;
  transform-origin: center;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.waze-map-icon svg {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.waze-map-icon.light-traffic {
  background: #f0b83f;
}

.waze-map-icon.heavy-traffic {
  background: #cf3f46;
}

.waze-map-icon.road-closure {
  background: #6f58a8;
}

.waze-map-icon.police {
  background: #2f88d8;
}

.waze-map-icon.hazard {
  color: #725510;
  background: #f2c94c;
}

.waze-map-icon.accident {
  background: #dc5a56;
}

.waze-map-icon.other {
  background: #7d8b86;
}

.waze-alert-marker:hover .waze-map-icon,
.waze-alert-marker:focus .waze-map-icon,
.waze-alert-marker.selected .waze-map-icon {
  z-index: 4;
  box-shadow: 0 10px 22px rgba(20, 48, 44, .35);
  transform: translateY(-3px) scale(1.12);
}

.waze-click-tooltip {
  padding: 7px 9px !important;
  border: 1px solid rgba(216, 225, 220, .95) !important;
  border-radius: 8px !important;
  color: #29433e !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 7px 18px rgba(24,52,47,.14) !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  backdrop-filter: blur(10px);
}

.waze-click-tooltip::before {
  display: none;
}

.waze-popup {
  padding: 14px;
  font-family: "DM Sans", sans-serif;
}

.waze-popup-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.waze-popup-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #32a8da;
  font-size: 10px;
  font-weight: 900;
}

.waze-popup-icon.jam {
  background: #f0b83f;
}

.waze-popup-icon.heavy-traffic {
  background: #cf3f46;
}

.waze-popup-icon.accident {
  background: #dc5a56;
}

.waze-popup-icon.road-closed {
  background: #6f58a8;
}

.waze-popup-icon.police {
  background: #2f88d8;
}

.waze-popup-icon.hazard {
  color: #725510;
  background: #f2c94c;
}

.waze-popup-heading > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.waze-popup-heading small {
  color: #3195c1;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.waze-popup-heading strong {
  overflow: hidden;
  margin-top: 2px;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waze-popup-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 11px;
}

.waze-popup-details > div {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 8px;
  background: #f2f6f4;
}

.waze-popup-details span {
  color: #83918c;
  font-size: 7px;
}

.waze-popup-details strong {
  margin-top: 3px;
  font-size: 8px;
}

.waze-popup-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: #84918d;
  font-size: 7px;
}

.waze-popup-source a {
  color: #218fbe;
  font-weight: 800;
  text-decoration: none;
}

.collection-marker {
  border: 0 !important;
  background: transparent !important;
}

.collection-map-icon {
  position: relative;
  display: grid;
  width: 34px;
  height: 36px;
  place-items: center;
  border: 2.5px solid #fff;
  border-radius: 11px;
  color: #fff;
  background: #38a77b;
  box-shadow: 0 7px 17px rgba(20, 48, 44, .3);
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.collection-map-icon::after {
  position: absolute;
  z-index: 0;
  bottom: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  background: inherit;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.collection-map-icon svg {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  fill: rgba(255,255,255,.12);
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collection-map-icon b {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 50%;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: -.2px;
  transform: translateX(-50%);
}

.collection-map-icon.low {
  background: #75b9c7;
}

.collection-map-icon.medium {
  background: #38a77b;
}

.collection-map-icon.high {
  color: #6b4c08;
  background: #e3a43a;
}

.collection-map-icon.high svg {
  fill: rgba(255,255,255,.2);
}

.collection-marker:hover .collection-map-icon,
.collection-marker:focus .collection-map-icon,
.collection-marker.selected .collection-map-icon {
  box-shadow: 0 10px 23px rgba(20, 48, 44, .38);
  transform: translateY(-3px) scale(1.1);
}

.collection-tooltip {
  padding: 7px 9px !important;
  border: 1px solid rgba(216, 225, 220, .95) !important;
  border-radius: 8px !important;
  color: #29433e !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 7px 18px rgba(24,52,47,.14) !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  backdrop-filter: blur(10px);
}

.collection-tooltip::before {
  display: none;
}

.collection-popup {
  font-family: "DM Sans", sans-serif;
}

.collection-popup-heading {
  min-height: 64px;
  padding: 14px 45px 13px 14px;
  color: #fff;
  background: linear-gradient(135deg, #0d715b, #209b76);
}

.collection-popup-heading > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.collection-popup-heading small {
  color: rgba(255,255,255,.72);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .65px;
  text-transform: uppercase;
}

.collection-popup-heading strong {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.25;
}

.collection-popup-total {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 13px 14px 10px;
}

.collection-popup-total > span {
  color: #82908b;
  font-size: 7px;
}

.collection-popup-total > strong {
  margin-top: 2px;
  color: #173d36;
  font: 800 18px "Manrope", sans-serif;
  letter-spacing: -.35px;
}

.collection-popup-total > small {
  margin-top: 1px;
  color: #74837e;
  font-size: 7px;
}

.collection-month-chart {
  display: grid;
  height: 72px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 5px;
  margin: 0 14px;
  padding-top: 5px;
  border-bottom: 1px solid #e2e9e5;
}

.collection-month-chart > div {
  display: grid;
  height: 100%;
  grid-template-rows: 1fr 14px;
  align-items: end;
  gap: 3px;
}

.collection-month-chart i {
  display: block;
  min-height: 4px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, #43b18b, #16806a);
}

.collection-month-chart span {
  color: #8b9692;
  font-size: 6px;
  text-align: center;
}

.collection-popup-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 12px 14px 0;
}

.collection-popup-details > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 8px;
  border-radius: 8px;
  background: #f2f6f4;
}

.collection-popup-details > .wide {
  grid-column: 1 / -1;
}

.collection-popup-details span {
  color: #83918c;
  font-size: 7px;
}

.collection-popup-details strong {
  margin-top: 3px;
  font-size: 8px;
  line-height: 1.3;
}

.collection-popup-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px 13px;
  color: #84918d;
  font-size: 7px;
}

.collection-popup-source em {
  color: #137963;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.complaint-tooltip {
  display: flex !important;
  min-width: 146px;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px !important;
  border: 1px solid rgba(221,225,222,.96) !important;
  border-radius: 8px !important;
  color: #56362f !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 7px 18px rgba(55,35,30,.14) !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  backdrop-filter: blur(10px);
}

.complaint-tooltip > strong {
  color: #2f4540;
  font-size: 9px;
}

.complaint-tooltip > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #5c6d67;
  font-size: 7px;
}

.complaint-tooltip > span > i {
  width: 7px;
  height: 7px;
  border-radius: 3px 3px 3px 1px;
  background: var(--status-color);
}

.complaint-tooltip > small {
  color: #929c98;
  font-size: 7px;
  font-weight: 600;
}

.complaint-tooltip::before {
  display: none;
}

.complaint-popup {
  font-family: "DM Sans", sans-serif;
}

.complaint-popup-heading {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 10px;
  padding: 14px 45px 14px 14px;
  color: #fff;
  background: linear-gradient(135deg, #bd4937, #e57659);
}

.complaint-popup-heading > i {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 11px;
  background: rgba(255,255,255,.13);
}

.complaint-popup-heading > i svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.complaint-popup-heading > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.complaint-popup-heading small {
  color: rgba(255,255,255,.72);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.complaint-popup-heading strong {
  margin-top: 3px;
  font-size: 12px;
}

.complaint-status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 3px 6px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.13);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .15px;
}

.complaint-status-badge > i {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 3px 3px 3px 1px;
  background: var(--status-color);
  box-shadow: 0 1px 3px rgba(37,33,31,.18);
}

.complaint-popup-body {
  padding: 12px 14px 0;
}

.complaint-popup-body > div {
  display: flex;
  flex-direction: column;
  padding: 9px 0;
  border-bottom: 1px solid #e8ece9;
}

.complaint-popup-body > div:first-child {
  padding-top: 0;
}

.complaint-popup-body > div:last-child {
  border-bottom: 0;
}

.complaint-popup-body span {
  color: #8a9691;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .25px;
  text-transform: uppercase;
}

.complaint-popup-body strong,
.complaint-popup-body p {
  margin: 4px 0 0;
  color: #2f4540;
  font-size: 8px;
  line-height: 1.45;
}

.complaint-description p {
  max-height: 145px;
  overflow-y: auto;
  padding-right: 4px;
  white-space: pre-line;
}

.complaint-popup-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px 13px;
  color: #8a9691;
  font-size: 7px;
}

.complaint-popup-source em {
  color: #bd4937;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.parliament-label {
  padding: 5px 7px !important;
  border: 1px solid rgba(91,95,179,.2) !important;
  border-radius: 8px !important;
  color: #373b81 !important;
  background: rgba(255,255,255,.9) !important;
  box-shadow: 0 4px 12px rgba(35,40,93,.12) !important;
  text-align: center;
  backdrop-filter: blur(8px);
}

.parliament-label-swatch {
  display: block;
  width: 18px;
  height: 3px;
  margin: 0 auto 3px;
  border-radius: 999px;
  background: var(--parliament-color);
}

.parliament-label::before {
  display: none;
}

.parliament-label span,
.parliament-label strong {
  display: block;
  line-height: 1.1;
}

.parliament-label span {
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .4px;
}

.parliament-label strong {
  margin-top: 2px;
  font-size: 7px;
  white-space: nowrap;
}

.parliament-popup {
  font-family: "DM Sans", sans-serif;
}

.parliament-popup-heading {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 10px;
  padding: 14px 45px 14px 14px;
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--parliament-color) 78%, #243044), var(--parliament-color));
}

.parliament-popup-heading > i {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 11px;
  background: rgba(255,255,255,.13);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.parliament-popup-heading > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.parliament-popup-heading small {
  color: rgba(255,255,255,.7);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.parliament-popup-heading strong {
  margin-top: 3px;
  font-size: 13px;
}

.parliament-popup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 13px 14px 0;
}

.parliament-popup-body > div {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 8px;
  background: #f2f3f9;
}

.parliament-popup-body span {
  color: #85899a;
  font-size: 7px;
}

.parliament-popup-body strong {
  margin-top: 3px;
  font-size: 8px;
}

.parliament-popup-body p {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: #68706d;
  font-size: 8px;
  line-height: 1.45;
}

.parliament-popup-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 13px;
  color: #8a8f9d;
  font-size: 7px;
}

.parliament-popup-source em {
  color: var(--parliament-color);
  font-style: normal;
  font-weight: 800;
}

.disease-area-marker {
  border: 0 !important;
  background: transparent !important;
}

.disease-marker-shell {
  position: relative;
  display: grid;
  width: 58px;
  height: 38px;
  grid-template-columns: 17px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  padding: 5px 8px 5px 6px;
  border: 2px solid #fff;
  border-radius: 12px;
  color: #fff;
  background: var(--disease-color);
  box-shadow: 0 6px 15px rgba(42,52,49,.25);
  cursor: pointer;
  transform-origin: center;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.disease-marker-shell:hover {
  box-shadow: 0 9px 20px rgba(42,52,49,.31);
  transform: translateY(-2px) scale(1.04);
}

.disease-marker-shell > i {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}

.disease-marker-shell > i::before,
.disease-marker-shell > i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 1px;
  background: #fff;
  content: "";
  transform: translate(-50%, -50%);
}

.disease-marker-shell > i::before {
  width: 8px;
  height: 3px;
}

.disease-marker-shell > i::after {
  width: 3px;
  height: 8px;
}

.disease-marker-shell > strong {
  position: relative;
  z-index: 1;
  align-self: end;
  font: 850 12px/1 "Manrope", sans-serif;
  text-align: right;
}

.disease-marker-shell > span {
  position: relative;
  z-index: 1;
  align-self: start;
  color: rgba(255,255,255,.74);
  font-size: 6px;
  font-weight: 750;
  text-align: right;
  text-transform: uppercase;
}

.disease-area-marker-tinggi .disease-marker-shell {
  box-shadow: 0 7px 18px rgba(185,28,28,.4), 0 0 0 5px rgba(220,38,38,.12);
}

.disease-area-marker-tinggi .disease-marker-shell::before,
.disease-area-marker-tinggi .disease-marker-shell::after {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(220,38,38,.52);
  border-radius: 17px;
  content: "";
  pointer-events: none;
  animation: diseaseHotspotPulse 1.75s ease-out infinite;
}

.disease-area-marker-tinggi .disease-marker-shell::after {
  animation-delay: .65s;
}

.disease-tooltip {
  padding: 7px 9px !important;
  border: 1px solid rgba(255,255,255,.86) !important;
  border-radius: 9px !important;
  box-shadow: 0 7px 18px rgba(26,50,46,.16) !important;
  font-family: "DM Sans", sans-serif;
}

.disease-tooltip strong,
.disease-tooltip span {
  display: block;
}

.disease-tooltip strong {
  color: #354944;
  font-size: 9px;
}

.disease-tooltip span {
  margin-top: 2px;
  color: #798681;
  font-size: 7px;
}

.disease-popup {
  width: 288px;
  font-family: "DM Sans", sans-serif;
}

.leaflet-popup-content:has(.disease-popup) {
  width: 288px !important;
}

.disease-popup-heading {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--disease-color) 88%, #351212), var(--disease-color));
}

.disease-popup-icon {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: rgba(255,255,255,.14);
}

.disease-popup-icon i::before,
.disease-popup-icon i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 2px;
  background: #fff;
  content: "";
  transform: translate(-50%, -50%);
}

.disease-popup-icon i::before {
  width: 15px;
  height: 5px;
}

.disease-popup-icon i::after {
  width: 5px;
  height: 15px;
}

.disease-popup-heading > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.disease-popup-heading small {
  color: rgba(255,255,255,.72);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.disease-popup-heading strong {
  overflow: hidden;
  margin-top: 3px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.disease-popup-heading em {
  padding: 4px 7px;
  border-radius: 20px;
  color: #fff;
  background: rgba(255,255,255,.18);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.disease-popup-metrics {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  gap: 6px;
  padding: 11px 12px 7px;
}

.disease-popup-metrics > div {
  display: flex;
  min-height: 39px;
  flex-direction: column;
  justify-content: center;
  padding: 6px 7px;
  border-radius: 9px;
  background: #f3f6f4;
}

.disease-popup-metrics > div.primary {
  grid-row: 1 / span 2;
  color: #fff;
  background: var(--disease-color);
}

.disease-popup-metrics span {
  color: #8b9792;
  font-size: 6px;
}

.disease-popup-metrics strong {
  margin-top: 2px;
  color: #344a44;
  font-size: 10px;
}

.disease-popup-metrics .primary span {
  color: rgba(255,255,255,.72);
}

.disease-popup-metrics .primary strong {
  color: #fff;
  font: 850 22px "Manrope", sans-serif;
}

.disease-popup-types {
  display: flex;
  gap: 5px;
  padding: 0 12px 8px;
}

.disease-popup-types span {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid #e7ece9;
  border-radius: 7px;
  color: #72807c;
  font-size: 6px;
}

.disease-popup-types i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dc2626;
}

.disease-popup-types b {
  color: #3f534e;
}

.disease-popup-localities {
  padding: 9px 12px 8px;
  border-top: 1px solid #e9eeeb;
}

.disease-popup-localities h4 {
  margin: 0 0 7px;
  color: #52645f;
  font-size: 7px;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.disease-popup-localities ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.disease-popup-localities li {
  display: grid;
  min-width: 0;
  grid-template-columns: 15px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  color: #566762;
  font-size: 7px;
}

.disease-popup-localities li > b:first-child {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 5px;
  color: var(--disease-color);
  background: color-mix(in srgb, var(--disease-color) 11%, white);
  font-size: 6px;
}

.disease-popup-localities li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.disease-popup-localities li strong {
  color: #344a44;
  font-size: 7px;
}

.disease-popup footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px 11px;
  color: #8a9691;
  background: #fafbfa;
  font-size: 6px;
}

.disease-popup footer b {
  flex: 0 0 auto;
  color: var(--disease-color);
}

.leaflet-popup-content-wrapper {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(221, 228, 223, .95);
  border-radius: 16px !important;
  box-shadow: 0 18px 45px rgba(22, 48, 44, .2) !important;
}

.leaflet-popup-content {
  width: 238px !important;
  margin: 0 !important;
}

.leaflet-popup-tip {
  box-shadow: none !important;
}

.leaflet-popup-close-button {
  top: 10px !important;
  right: 10px !important;
  display: grid !important;
  width: 27px !important;
  height: 27px !important;
  place-items: center;
  border-radius: 8px;
  color: rgba(255,255,255,.85) !important;
  background: rgba(0,0,0,.13) !important;
  font: 18px/1 Arial !important;
}

.application-popup {
  font-family: "DM Sans", sans-serif;
}

.district-label {
  border: 0 !important;
  background: transparent !important;
}

.district-label span {
  display: inline-block;
  padding: 5px 7px;
  border: 1px solid rgba(210, 221, 215, .92);
  border-radius: 7px;
  color: #49635d;
  background: rgba(255,255,255,.86);
  box-shadow: 0 4px 10px rgba(24, 52, 47, .08);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .45px;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.popup-cover {
  padding: 16px;
  color: #fff;
  background: linear-gradient(135deg, #156e64, #0a4842);
}

.popup-cover.review {
  background: linear-gradient(135deg, #cc9325, #a66d0c);
}

.popup-cover.rejected {
  background: linear-gradient(135deg, #d6645f, #ac4542);
}

.popup-cover span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 20px;
  background: rgba(255,255,255,.14);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.popup-cover span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.popup-cover small {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,.7);
  font-size: 8px;
}

.popup-cover h3 {
  margin: 2px 0 0;
  font: 800 16px "Manrope", sans-serif;
}

.popup-body {
  padding: 13px 16px 15px;
}

.popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.popup-grid > div {
  padding: 8px;
  border-radius: 8px;
  background: #f3f6f4;
}

.popup-grid span {
  display: block;
  color: #83918c;
  font-size: 7px;
}

.popup-grid strong {
  display: block;
  margin-top: 3px;
  font-size: 9px;
}

.popup-action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--green-700);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}

.consultation-area-marker {
  border: 0 !important;
  background: transparent !important;
}

.consultation-marker-shell {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 2px auto 0;
  border: 3px solid rgba(255,255,255,.96);
  border-radius: 50% 50% 50% 12px;
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--consultation-color) 76%, #fff), var(--consultation-color));
  box-shadow: 0 10px 22px rgba(52,40,102,.3), 0 2px 6px rgba(52,40,102,.18);
  cursor: pointer;
  transform: rotate(-45deg);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.consultation-marker-shell:hover {
  filter: saturate(1.12);
  box-shadow: 0 14px 28px rgba(52,40,102,.38), 0 3px 8px rgba(52,40,102,.2);
  transform: translateY(-3px) rotate(-45deg) scale(1.08);
}

.consultation-marker-shell > i {
  position: relative;
  display: block;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 8px;
  background: rgba(255,255,255,.17);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
  transform: rotate(45deg);
}

.consultation-marker-shell > i::before {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 9px 0 #fff;
  content: "";
}

.consultation-marker-shell > i::after {
  position: absolute;
  right: 4px;
  bottom: 5px;
  left: 4px;
  height: 5px;
  border: 2px solid #fff;
  border-top: 0;
  border-radius: 99px;
  content: "";
}

.consultation-marker-shell > strong {
  position: absolute;
  top: -8px;
  right: -10px;
  z-index: 2;
  min-width: 24px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid var(--consultation-color);
  border-radius: 999px;
  color: #342866;
  background: #fff;
  box-shadow: 0 4px 10px rgba(52,40,102,.25);
  font: 850 10px/17px "Manrope", sans-serif;
  text-align: center;
  transform: rotate(45deg);
}


.consultation-tooltip {
  padding: 7px 9px !important;
  border: 1px solid rgba(255,255,255,.88) !important;
  border-radius: 9px !important;
  box-shadow: 0 7px 18px rgba(38,31,74,.17) !important;
  font-family: "DM Sans", sans-serif;
}

.consultation-tooltip strong,
.consultation-tooltip span {
  display: block;
}

.consultation-tooltip strong {
  color: #3e3854;
  font-size: 9px;
}

.consultation-tooltip span {
  margin-top: 2px;
  color: #80798e;
  font-size: 7px;
}

.consultation-popup {
  width: 318px;
  font-family: "DM Sans", sans-serif;
}

.leaflet-popup-content:has(.consultation-popup) {
  width: 318px !important;
}

.consultation-popup-heading {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--consultation-color) 86%, #271f44), var(--consultation-color));
}

.consultation-popup-heading > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.consultation-popup-heading small {
  color: rgba(255,255,255,.72);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.consultation-popup-heading strong {
  margin-top: 3px;
  font: 800 13px/1.15 "Manrope", sans-serif;
}

.consultation-popup-heading > em {
  padding: 4px 6px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 7px;
  background: rgba(255,255,255,.13);
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
}

.consultation-popup-icon {
  position: relative;
  display: block;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  background: rgba(255,255,255,.13);
}

.consultation-popup-icon::before {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 11px 0 #fff;
  content: "";
}

.consultation-popup-icon::after {
  position: absolute;
  right: 6px;
  bottom: 8px;
  left: 6px;
  height: 3px;
  border-radius: 99px;
  background: #fff;
  content: "";
}

.consultation-popup-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 12px 13px 0;
}

.consultation-popup-metrics > div {
  display: flex;
  flex-direction: column;
  padding: 8px 9px;
  border-radius: 9px;
  background: #f3f1fa;
}

.consultation-popup-metrics > div:last-child {
  grid-column: 1 / -1;
}

.consultation-popup-metrics span {
  color: #8b8498;
  font-size: 7px;
}

.consultation-popup-metrics strong {
  margin-top: 3px;
  color: #443c58;
  font-size: 9px;
}

.consultation-popup-categories,
.consultation-popup-records {
  padding: 11px 13px 0;
}

.consultation-popup h4 {
  margin: 0 0 7px;
  color: #5b5467;
  font-size: 8px;
}

.consultation-popup-categories > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.consultation-popup-categories span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 99px;
  color: #6b6377;
  background: #f4f2f8;
  font-size: 6.5px;
}

.consultation-popup-categories i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--consultation-color);
}

.consultation-popup-categories b {
  color: var(--consultation-color);
}

.consultation-popup-records > h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.consultation-popup-records > h4 em {
  color: var(--consultation-color);
  font-size: 7px;
  font-style: normal;
}

.consultation-popup-records ol {
  display: grid;
  max-height: 310px;
  gap: 6px;
  overflow-y: auto;
  margin: 0;
  padding: 0 2px 0 0;
  list-style: none;
}

.consultation-popup-records li {
  padding: 8px 9px;
  border: 1px solid #ebe8f2;
  border-radius: 9px;
  background: #fff;
}

.consultation-record-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.consultation-popup-records li span,
.consultation-popup-records li em,
.consultation-popup-records li small {
  color: #8c8596;
  font-size: 6.5px;
}

.consultation-popup-records li em {
  overflow: hidden;
  max-width: 128px;
  font-style: normal;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.consultation-popup-records li > strong {
  display: block;
  margin-top: 4px;
  color: var(--consultation-color);
  font-size: 7px;
}

.consultation-record-copy,
.consultation-record-answer {
  margin-top: 7px;
  padding: 7px 8px;
  border-radius: 7px;
  background: #f7f6fa;
}

.consultation-record-answer {
  border-left: 3px solid var(--consultation-color);
  background: color-mix(in srgb, var(--consultation-color) 7%, #fff);
}

.consultation-record-copy > b,
.consultation-record-answer > b {
  display: block;
  color: #777083;
  font-size: 6.5px;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.consultation-popup-records p {
  margin: 4px 0;
  color: #5d5866;
  font-size: 7.5px;
  line-height: 1.42;
  white-space: pre-line;
}

.consultation-popup-records li > small {
  display: block;
  margin-top: 7px;
  color: #716989;
  font-weight: 700;
}

.consultation-popup-records li > small b {
  margin-right: 4px;
  color: #8c8596;
  font-size: 6px;
  letter-spacing: .25px;
  text-transform: uppercase;
}

.consultation-popup-records li > small.consultation-record-status {
  position: relative;
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  align-items: center;
  gap: 2px 6px;
  padding: 7px 8px;
  border: 1px solid var(--action-border, #dedbe5);
  border-radius: 9px;
  color: var(--action-text, #716989);
  background: var(--action-bg, #f7f6fa);
}

.consultation-record-status::before {
  width: 7px;
  height: 7px;
  grid-row: 1 / span 2;
  border-radius: 50%;
  background: var(--action-color, #8c8596);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--action-color, #8c8596) 14%, transparent);
  content: "";
}

.consultation-popup-records li > small.consultation-record-status b {
  margin: 0;
  color: color-mix(in srgb, var(--action-color, #8c8596) 82%, #34303b);
  font-size: 5.7px;
}

.consultation-record-status > span {
  color: var(--action-text, #716989);
  font-size: 7px;
  font-weight: 850;
  line-height: 1.25;
}

.consultation-record-status.ongoing {
  --action-color: #d58a22;
  --action-text: #8a5817;
  --action-border: #ead1a8;
  --action-bg: linear-gradient(135deg, #fff8eb, #fffdf8);
  animation: consultation-action-pulse 1.8s ease-in-out infinite;
}

.consultation-record-status.ongoing::before {
  animation: consultation-action-blink 1.1s ease-in-out infinite;
}

.consultation-record-status.completed {
  --action-color: #2f8f6b;
  --action-text: #276f57;
  --action-border: #c8e2d8;
  --action-bg: linear-gradient(135deg, #edf9f4, #fbfefd);
}

.consultation-record-status.kiv {
  --action-color: #74817d;
  --action-text: #5d6965;
  --action-border: #d7dedb;
  --action-bg: linear-gradient(135deg, #f2f5f4, #fbfcfc);
}

.consultation-record-status.alert {
  --action-color: #c9545d;
  --action-text: #984048;
  --action-border: #eccdd0;
  --action-bg: linear-gradient(135deg, #fff0f1, #fffafa);
}

@keyframes consultation-action-pulse {
  0%, 100% { box-shadow: 0 3px 8px rgba(213,138,34,.08); }
  50% { box-shadow: 0 4px 14px rgba(213,138,34,.25), 0 0 0 2px rgba(213,138,34,.08); }
}

@keyframes consultation-action-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .42; transform: scale(.78); }
}

@media (prefers-reduced-motion: reduce) {
  .consultation-record-status.ongoing,
  .consultation-record-status.ongoing::before {
    animation: none;
  }
}

.consultation-popup footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px 12px;
  color: #908a99;
  font-size: 6.5px;
}

.consultation-popup footer b {
  color: var(--consultation-color);
}

.consultation-ai-hero {
  background:
    radial-gradient(circle at 92% 5%, rgba(213, 197, 255, .34), transparent 36%),
    linear-gradient(135deg, #7657d7, #38256f);
  box-shadow: 0 14px 28px rgba(72, 48, 142, .2);
}

.consultation-ai-icon {
  position: relative;
}

.consultation-ai-icon > i {
  position: relative;
  display: block;
  width: 24px;
  height: 18px;
  border: 2px solid #f2edff;
  border-radius: 7px;
}

.consultation-ai-icon > i::before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f2edff;
  box-shadow: 10px 0 #f2edff;
  content: "";
}

.consultation-ai-icon > i::after {
  position: absolute;
  right: 4px;
  bottom: 3px;
  left: 4px;
  height: 3px;
  border: 1.5px solid #f2edff;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  content: "";
}

.consultation-ai-hero #consultation-ai-focus-hotspot:hover {
  color: #56399f;
  background: #f2edff;
}

#consultation-ai-focus-hotspot > span {
  font-size: 13px;
  line-height: .7;
}

.consultation-category-card .card-title-row > em,
.consultation-parliament-card .card-title-row > em,
.consultation-status-overview-card .card-title-row > em {
  padding: 4px 7px;
  border-radius: 7px;
  color: #6345b5;
  background: #f0ebff;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.consultation-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 13px;
}

.consultation-category-item {
  position: relative;
  overflow: hidden;
  min-height: 61px;
  padding: 9px 10px;
  border: 1px solid #e7e2f2;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #faf8ff);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.consultation-category-item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--category-accent);
  content: "";
}

.consultation-category-item > span {
  display: block;
  min-height: 20px;
  color: #726b7f;
  font-size: 6.5px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.consultation-category-item > strong {
  display: block;
  margin-top: 5px;
  color: #332c45;
  font: 850 18px/1 "Manrope", sans-serif;
}

.consultation-category-item.total {
  grid-column: 1 / -1;
  min-height: 54px;
  background: linear-gradient(135deg, #f2edff, #fff);
}

.consultation-category-item.total > strong {
  color: #6245b5;
}

.consultation-category-item:hover,
.consultation-category-item:focus-visible,
.consultation-category-item[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--category-accent) 42%, #e7e2f2);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--category-accent) 13%, transparent);
  transform: translateY(-1px);
}

.consultation-category-item[aria-expanded="true"] {
  background: color-mix(in srgb, var(--category-accent) 8%, #fff);
}

.consultation-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.consultation-status-item {
  position: relative;
  overflow: hidden;
  min-height: 72px;
  border: 1px solid color-mix(in srgb, var(--status-accent) 18%, #e8e9eb);
  border-radius: 12px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--status-accent) 7%, #fff), #fff 78%);
  box-shadow: 0 5px 14px rgba(54, 48, 69, .055);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.consultation-status-item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--status-accent);
  content: "";
}

.consultation-status-item > span {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 9px 10px 3px 12px;
  color: #5c5962;
  font-size: 6.5px;
  font-weight: 850;
  line-height: 1.3;
  text-transform: uppercase;
}

.consultation-status-item > span::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--status-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--status-accent) 13%, transparent);
  content: "";
}

.consultation-status-item > strong {
  display: block;
  padding: 3px 10px 11px 12px;
  color: var(--status-text, var(--status-accent));
  font: 850 20px/1 "Manrope", sans-serif;
}

.consultation-status-item:hover,
.consultation-status-item:focus-visible,
.consultation-status-item[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--status-accent) 42%, #e4e5e8);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--status-accent) 13%, transparent);
  transform: translateY(-1px);
}

.consultation-status-item[aria-expanded="true"] {
  background: color-mix(in srgb, var(--status-accent) 10%, #fff);
}

.consultation-parliament-chart {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.consultation-parliament-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 7px;
}

.consultation-parliament-row > span {
  overflow: hidden;
  color: #655f70;
  font-size: 6.5px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.consultation-parliament-row > i {
  overflow: hidden;
  height: 8px;
  border-radius: 99px;
  background: #eeeaf5;
}

.consultation-parliament-row > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bar-color), color-mix(in srgb, var(--bar-color) 62%, #fff));
  animation: grow-horizontal 520ms cubic-bezier(.2,.8,.2,1) both;
}

.consultation-parliament-row > strong {
  color: #40384f;
  font: 850 8px "Manrope", sans-serif;
  text-align: right;
}

@keyframes grow-horizontal {
  from { width: 0; }
}

.consultation-status-overview {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  margin-top: 14px;
}

.consultation-ai-donut {
  position: relative;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--consultation-status-gradient, #e8e5ee 0 100%));
  box-shadow: inset 0 0 0 1px rgba(49, 42, 63, .08);
}

.consultation-ai-donut::before {
  grid-area: 1 / 1;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 15px rgba(58, 43, 89, .12);
  content: "";
}

.consultation-ai-donut > span {
  z-index: 1;
  display: flex;
  grid-area: 1 / 1;
  flex-direction: column;
  align-items: center;
}

.consultation-ai-donut strong {
  color: #392f4f;
  font: 850 19px/1 "Manrope", sans-serif;
}

.consultation-ai-donut small {
  margin-top: 4px;
  color: #91899e;
  font-size: 6px;
  font-weight: 800;
  text-transform: uppercase;
}

.consultation-status-legend {
  display: grid;
  gap: 9px;
}

.consultation-status-legend > span {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.consultation-status-legend i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--status-accent);
}

.consultation-status-legend b {
  overflow: hidden;
  color: #665f70;
  font-size: 6.5px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.consultation-status-legend strong {
  color: #3f374c;
  font: 850 7px "Manrope", sans-serif;
  white-space: nowrap;
}

.consultation-meeting-table {
  overflow: auto;
  max-height: 245px;
  margin-top: 13px;
  border: 1px solid #e7e3ed;
  border-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: #cfc7df transparent;
}

.consultation-meeting-head,
.consultation-meeting-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 72px 34px;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
}

.consultation-meeting-head {
  position: sticky;
  z-index: 1;
  top: 0;
  color: #6d6578;
  background: #f2eff7;
  font-size: 6.5px;
  font-weight: 850;
  text-transform: uppercase;
}

.consultation-meeting-row {
  color: #514b5a;
  background: #fff;
  font-size: 7px;
}

.consultation-meeting-row:nth-child(even) {
  background: #f9f8fb;
}

.consultation-meeting-row > span:first-child {
  overflow: hidden;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.consultation-meeting-row > span:last-child,
.consultation-meeting-head > span:last-child {
  text-align: right;
}

.consultation-meeting-row > strong {
  color: #6547b7;
  font: 850 7px "Manrope", sans-serif;
  text-align: right;
}

.consultation-ai-spark {
  color: #7657d7;
  background: #eee8ff;
}

.consultation-ai-narrative .ai-action-note {
  border-color: #e4dcfb;
  background: #f6f2ff;
}

.consultation-ai-footer > span i {
  background: #7657d7;
}

/* Readability scale for all AI Insight wording. */
#insights-panel .insights-header h2 {
  font-size: 20px;
}

#insights-panel .panel-kicker {
  font-size: 10px;
}

#insights-panel :where(span, small, p, li, b, em, label, button, select, option, time):not([aria-hidden="true"]) {
  font-size: 9px;
}

#insights-panel .card-title-row h3,
#insights-panel .ai-narrative-heading h3 {
  font-size: 13px;
}

#insights-panel .ai-hero-copy h3 {
  font-size: 13px;
}

#insights-panel .ai-hero-copy strong {
  font-size: 23px;
}

#insights-panel .ai-metrics article > strong {
  font-size: 15px;
}

#insights-panel .consultation-category-item > strong {
  font-size: 20px;
}

#insights-panel .consultation-status-item > strong {
  font-size: 22px;
}

#insights-panel .consultation-parliament-row > strong,
#insights-panel .consultation-status-legend strong,
#insights-panel .consultation-meeting-row > strong {
  font-size: 10px;
}

#insights-panel .consultation-ai-donut strong {
  font-size: 21px;
}

@media (max-width: 1180px) {
  .top-command-bar {
    grid-template-columns: minmax(190px, .8fr) minmax(280px, 1.2fr) auto;
  }

  .live-sync {
    display: none;
  }

  .insights-panel {
    width: 50%;
  }

  .consultation-detail-panel {
    right: calc(50% + 28px);
    width: min(360px, calc(50% - 44px));
  }

  .map-legend {
    right: calc(50% + 28px);
  }
}

@media (max-width: 920px) {
  .top-command-bar {
    grid-template-columns: 1fr minmax(260px, 1.15fr) auto;
    gap: 12px;
  }

  .identity-kicker,
  .analytics-button span,
  .view-button span {
    display: none;
  }

  .page-identity h1 {
    font-size: 14px;
  }

  .analytics-button,
  .view-button {
    width: 38px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .insights-panel {
    width: 50%;
  }

  .consultation-detail-panel {
    right: calc(50% + 28px);
    width: min(330px, calc(50% - 44px));
  }

  .map-legend {
    right: calc(50% + 28px);
  }

  .map-heading-card {
    width: 430px;
  }
}

@media (max-width: 720px) {
  :root {
    --rail-width: 0px;
  }

  .app-rail {
    display: none;
  }

  .top-command-bar {
    top: 10px;
    right: 10px;
    left: 10px;
    height: auto;
    min-height: 62px;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 16px;
  }

  .page-identity {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--green-700);
  }

  .page-identity::before {
    content: "KL";
    font: 800 11px "Manrope", sans-serif;
  }

  .page-identity h1,
  .identity-kicker,
  .round-button,
  .analytics-button {
    display: none;
  }

  .global-search {
    height: 40px;
    padding-left: 11px;
  }

  .global-search input {
    font-size: 11px;
  }

  .global-search kbd {
    display: none;
  }

  .command-actions {
    display: flex;
    gap: 6px;
  }

  .command-actions::after {
    display: none;
    content: "";
  }

  .view-button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    font-size: 0;
  }

  .map-heading-card {
    top: 84px;
    right: 10px;
    left: 10px;
    width: auto;
    padding: 13px 14px 12px;
    border-radius: 15px;
  }

  .map-heading-top {
    display: none;
  }

  .map-heading-card h2 {
    margin: 0 0 2px;
    font-size: 16px;
  }

  .quick-status {
    overflow-x: auto;
    gap: 5px;
    margin: 10px -3px -2px;
    padding: 2px 3px 3px;
    scrollbar-width: none;
  }

  .quick-status::-webkit-scrollbar {
    display: none;
  }

  .status-chip {
    flex: 0 0 auto;
    padding: 6px 8px;
    font-size: 8px;
  }

  .insights-panel {
    top: auto;
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    max-height: calc(100% - 90px);
    padding: 18px;
    border-radius: 22px;
    transform: translateY(calc(100% + 20px));
  }

  .consultation-detail-panel {
    top: 84px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    border-radius: 20px;
  }

  .insights-panel.mobile-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .insights-panel.collapsed:not(.mobile-open) {
    transform: translateY(calc(100% + 20px));
  }

  .hero-metric {
    grid-template-columns: 1fr 110px;
  }

  .ai-insight-tabs button {
    padding: 8px 3px;
    font-size: 7px;
  }

  .integrated-ai-ladder > button {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 4px;
    padding: 6px 4px;
  }

  .integrated-ai-ladder b {
    width: 18px;
    height: 18px;
  }

  .integrated-ai-ladder small,
  .integrated-stage-heading > em {
    display: none;
  }

  .map-legend {
    display: none;
  }

  .complaint-status-legend {
    bottom: 225px;
    left: 10px;
    width: min(338px, calc(100vw - 20px));
    padding: 10px 11px 11px;
  }

  .traffic-indicator {
    top: 190px;
    right: 10px;
    bottom: auto;
    width: 210px;
    padding: 9px 10px 8px;
  }

  .collection-indicator {
    top: 190px;
    left: 10px;
    width: min(250px, calc(100vw - 20px));
    padding: 11px 12px;
  }

  .disease-indicator,
  .map-workspace.insights-collapsed .disease-indicator {
    top: 88px;
    right: 10px;
    width: min(270px, calc(100vw - 20px));
    padding: 10px 11px;
  }

  .map-workspace.disease-active .collection-indicator,
  .map-workspace.disease-active .traffic-indicator {
    top: 214px;
  }

  .map-workspace.collection-active.traffic-active .traffic-indicator {
    top: 326px;
  }

  .map-workspace.disease-active.collection-active.traffic-active .traffic-indicator {
    top: 350px;
  }

  .traffic-indicator-heading > span {
    font-size: 7px;
  }

  .traffic-category-grid {
    gap: 5px 7px;
  }

  .traffic-category-grid > span {
    font-size: 6px;
  }

  .map-control-dock {
    bottom: 90px;
    left: 10px;
    gap: 6px;
  }

  .basemap-control > button > span:nth-child(2),
  .basemap-control > button > svg {
    display: none;
  }

  .basemap-control > button {
    height: 46px;
    padding: 4px;
  }

  .layer-control > button {
    width: 46px;
    height: 46px;
    justify-content: center;
    padding: 0;
  }

  .layer-control > button > span,
  .layer-control > button > em {
    display: none;
  }

  .layer-menu {
    left: -104px;
    width: min(276px, calc(100vw - 20px));
  }

  .basemap-preview {
    width: 36px;
    height: 36px;
  }

  .mobile-insights-button {
    position: absolute;
    z-index: 900;
    right: 10px;
    bottom: 12px;
    left: 10px;
    display: grid;
    height: 64px;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(221, 228, 223, .95);
    border-radius: 16px;
    background: rgba(255,255,255,.95);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    text-align: left;
    backdrop-filter: blur(14px);
  }

  .mobile-insights-button > svg {
    width: 38px;
    height: 38px;
    padding: 9px;
    border-radius: 10px;
    color: #fff;
    background: var(--green-700);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
  }

  .mobile-insights-button > span {
    display: flex;
    flex-direction: column;
  }

  .mobile-insights-button small {
    color: #7e8b87;
    font-size: 8px;
  }

  .mobile-insights-button strong {
    margin-top: 1px;
    font: 800 16px "Manrope", sans-serif;
  }

  .mobile-insights-button em {
    color: var(--green-700);
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
  }

  .leaflet-control-attribution {
    margin-bottom: 82px !important;
    max-width: 165px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dialog-shell {
    padding: 15px;
  }

  .dialog-application-hero {
    min-height: 112px;
    padding: 16px;
  }

  .dialog-building-icon {
    width: 50px;
    height: 50px;
  }

  .dialog-application-hero h3 {
    font-size: 17px;
  }

  .toast {
    right: 16px;
    bottom: 88px;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .application-dialog,
  .application-dialog * {
    visibility: visible !important;
  }

  .application-dialog {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
  }

  .dialog-shell {
    max-height: none;
    border: 0;
  }

  .dialog-actions,
  #close-application-dialog {
    display: none !important;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .insights-panel {
    padding: 16px;
  }

  .hero-metric {
    min-height: 100px;
    margin-top: 11px;
    padding: 14px;
  }

  .status-metrics button {
    padding: 8px;
  }

  .status-icon {
    width: 24px;
    height: 24px;
  }

  .status-metrics button > span:nth-child(2) {
    margin-top: 5px;
  }

  .insight-card {
    padding: 12px;
  }

  .monthly-chart {
    height: 62px;
  }

  .development-content {
    margin-top: 8px;
  }

  .donut {
    width: 80px;
    height: 80px;
  }

  .donut::before {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
