.petugas-body {
  --atlas-bg: var(--canvas);
  --atlas-surface: #ffffff;
  --atlas-ink: var(--ink);
  --atlas-muted: var(--muted);
  --atlas-line: var(--border);
  --atlas-line-strong: #d2d7df;
  --atlas-orange: var(--brand-blue);
  --atlas-orange-dark: #123c91;
  --atlas-orange-soft: #eef4ff;
  --atlas-red: var(--brand-coral);
  --atlas-red-soft: #fff0ec;
  --atlas-green: #167ab1;
  --atlas-green-soft: #edf8ff;
  --atlas-shadow: 0 10px 30px rgba(10, 10, 10, 0.045);
  --atlas-clay: none;
  background: var(--canvas);
  color: var(--atlas-ink);
  font-family: var(--font-ui);
}

.petugas-body::before {
  content: none;
}

.petugas-workspace,
.petugas-shell {
  min-width: 0;
}

.petugas-workspace {
  background: transparent;
}

.petugas-topbar {
  border-bottom-color: var(--atlas-line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.petugas-brand-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
}

.petugas-brand-label span {
  color: var(--atlas-muted);
}

.petugas-brand-label i {
  color: rgba(17, 17, 17, 0.24);
  font-style: normal;
}

.petugas-brand-label strong {
  color: var(--atlas-ink);
  font-weight: 650;
}

.petugas-main {
  display: grid;
  width: min(1280px, calc(100% - 48px));
  gap: 18px;
  margin-inline: auto;
  padding: 8px 0 48px;
}

.petugas-surface {
  border: 1px solid var(--atlas-line);
  border-radius: 22px;
  background: var(--atlas-surface);
  box-shadow: var(--atlas-shadow);
}

.petugas-atlas-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  align-items: end;
  gap: 32px;
  min-height: 350px;
  overflow: hidden;
  padding: 40px;
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: left;
  background:
    radial-gradient(circle at 91% 5%, rgba(255, 85, 48, 0.38), transparent 27%),
    radial-gradient(circle at 78% 86%, rgba(20, 86, 240, 0.4), transparent 38%),
    linear-gradient(135deg, #0a0a0a 0%, #191e25 55%, #0a0a0a 100%);
  box-shadow: 0 24px 64px rgba(10, 10, 10, 0.22);
}

.petugas-atlas-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 90%);
}

.petugas-atlas-hero > * {
  position: relative;
  z-index: 1;
}

.petugas-hero-copy {
  max-width: 760px;
}

.petugas-eyebrow,
.petugas-section-kicker {
  margin: 0 0 8px;
  color: var(--brand-coral);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.petugas-atlas-hero .petugas-eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.petugas-atlas-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.petugas-lede {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 14px;
  line-height: 1.55;
}

.petugas-data-stamp {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: none;
  text-align: left;
  backdrop-filter: blur(12px);
}

.petugas-status-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(61, 174, 255, 0.12);
}

.petugas-data-stamp div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.petugas-data-stamp span,
.petugas-data-stamp small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.petugas-data-stamp span {
  font-weight: 600;
  text-transform: uppercase;
}

.petugas-data-stamp strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.petugas-data-stamp small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.petugas-kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--atlas-line);
  border-radius: 24px;
  background: var(--atlas-surface);
  box-shadow: var(--atlas-shadow);
}

.petugas-kpi {
  --metric-tone: var(--brand-blue);
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 118px;
  align-content: center;
  gap: 3px;
  padding: 16px;
  overflow: hidden;
  border-right: 1px solid var(--atlas-line);
}

.petugas-kpi::before {
  position: absolute;
  top: 0;
  right: 16px;
  left: 16px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--metric-tone);
  content: "";
}

.petugas-kpi:nth-child(2) { --metric-tone: var(--brand-cyan); }
.petugas-kpi:nth-child(3) { --metric-tone: #5079c9; }
.petugas-kpi:nth-child(4) { --metric-tone: var(--brand-coral); }
.petugas-kpi:nth-child(5) { --metric-tone: var(--brand-magenta); }
.petugas-kpi:nth-child(6) { --metric-tone: var(--ink); }

.petugas-kpi:last-child {
  border-right: 0;
}

.petugas-kpi > span {
  color: var(--atlas-muted);
  font-size: 9px;
  font-weight: 650;
  text-transform: uppercase;
}

.petugas-kpi > strong {
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.045em;
}

.petugas-kpi > small {
  max-width: 100%;
  overflow: hidden;
  color: var(--atlas-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.petugas-scope-badge,
.petugas-ring {
  position: absolute;
  top: 50%;
  right: 15px;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  transform: translateY(-50%);
}

.petugas-scope-badge {
  border: 1px solid rgba(20, 86, 240, 0.2);
  border-radius: 18px;
  background: var(--atlas-orange-soft);
  color: var(--atlas-orange-dark);
}

.petugas-scope-badge b {
  align-self: end;
  font-size: 19px;
  font-weight: 650;
}

.petugas-scope-badge i {
  align-self: start;
  font-size: 7px;
  font-style: normal;
  font-weight: 650;
  text-transform: uppercase;
}

.petugas-kpi.is-scope > strong,
.petugas-kpi.is-scope > small,
.petugas-kpi.is-ring > strong,
.petugas-kpi.is-ring > small {
  max-width: calc(100% - 76px);
}

.petugas-ring {
  border-radius: 50%;
  background: conic-gradient(var(--brand-blue) var(--ring-value, 0%), var(--surface-2) 0);
}

.petugas-ring::before {
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: #fff;
  content: "";
}

.petugas-ring.is-dark {
  background: conic-gradient(var(--brand-coral) var(--ring-value, 0%), var(--surface-2) 0);
}

.petugas-ring b {
  z-index: 1;
  font-size: 12px;
}

.petugas-kpi.is-alert::after {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--atlas-red);
  content: "";
}

.petugas-meter {
  display: block;
  height: 7px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--surface-2);
}

.petugas-meter b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--atlas-red);
}

.petugas-meter.is-orange b {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
}

.petugas-meter.is-black b {
  background: var(--atlas-ink);
}

.petugas-status-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
}

.petugas-status-summary > span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--chip-line, var(--border));
  border-radius: 999px;
  background: var(--chip-bg, var(--surface-1));
}

.petugas-status-summary i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--chip-color, var(--atlas-ink));
}

.petugas-status-summary b {
  font-size: 12px;
}

.petugas-status-summary small {
  color: var(--atlas-muted);
  font-size: 9px;
}

.petugas-status-summary .is-approved {
  --chip-bg: var(--surface-2);
  --chip-color: var(--ink);
}

.petugas-status-summary .is-submitted {
  --chip-bg: #eef4ff;
  --chip-color: var(--brand-blue);
  --chip-line: rgba(20, 86, 240, 0.18);
}

.petugas-status-summary .is-review {
  --chip-bg: var(--atlas-red-soft);
  --chip-color: var(--atlas-red);
  --chip-line: rgba(255, 85, 48, 0.2);
}

.petugas-filter-shell {
  overflow: visible;
}

.petugas-filter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 12px 14px;
}

.petugas-filter-head > div {
  display: grid;
  gap: 2px;
}

.petugas-filter-head > div > span,
.petugas-filter-group > label,
.petugas-filter-group legend {
  color: var(--brand-blue);
  font-size: 9px;
  font-weight: 650;
  text-transform: uppercase;
}

.petugas-filter-head strong {
  font-size: 14px;
}

.petugas-filter-head small {
  color: var(--atlas-muted);
  font-size: 9px;
}

.petugas-filter-count {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--atlas-muted);
  font-size: 8px;
  font-weight: 650;
}

.petugas-filter-head > button,
.petugas-filter-actions button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 650;
}

.petugas-filter-head > button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--atlas-ink);
  background: var(--atlas-ink);
  color: #fff;
}

.petugas-filter-head > button i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(225deg);
}

.petugas-filter-shell:not(.is-open) .petugas-filter-head > button i {
  transform: rotate(45deg) translateY(-2px);
}

.petugas-filter-dock {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 0.8fr)) minmax(280px, 1.5fr);
  gap: 12px;
  padding: 0 12px 12px;
  border-top: 1px solid var(--atlas-line);
}

.petugas-filter-shell:not(.is-open) .petugas-filter-dock {
  display: none;
}

.petugas-filter-group {
  min-width: 0;
  margin: 0;
  padding: 12px 0 0;
  border: 0;
}

.petugas-filter-group > label,
.petugas-filter-group legend {
  display: block;
  margin-bottom: 6px;
  color: var(--atlas-muted);
}

.petugas-filter-group select,
.petugas-panel-tools input,
.petugas-panel-tools select,
.petugas-point-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--atlas-line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--atlas-ink);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  outline: 0;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.petugas-filter-group select,
.petugas-panel-tools select {
  appearance: none;
  padding: 0 34px 0 12px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2362656b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 16px;
  cursor: pointer;
}

.petugas-filter-group select:hover,
.petugas-panel-tools select:hover {
  border-color: rgba(20, 86, 240, 0.32);
  background-color: #f8faff;
}

.petugas-filter-group select option,
.petugas-panel-tools select option {
  background: #fff;
  color: var(--ink);
  font-weight: 500;
}

.petugas-filter-group select:disabled,
.petugas-panel-tools select:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.petugas-filter-group select:focus,
.petugas-panel-tools input:focus,
.petugas-panel-tools select:focus,
.petugas-point-search input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(20, 86, 240, 0.1);
}

.petugas-custom-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.petugas-custom-select.is-open {
  z-index: 40;
}

.petugas-native-select {
  position: absolute !important;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}

.petugas-select-trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid var(--atlas-line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--atlas-ink);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  outline: 0;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.petugas-select-trigger:hover {
  border-color: rgba(20, 86, 240, 0.32);
  background: #f8faff;
}

.petugas-select-trigger:focus-visible,
.petugas-select-trigger[aria-expanded="true"] {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(20, 86, 240, 0.1);
}

.petugas-select-trigger[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
}

.petugas-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.petugas-select-chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin: -4px 2px 0 0;
  border-right: 1.8px solid var(--atlas-muted);
  border-bottom: 1.8px solid var(--atlas-muted);
  transform: rotate(45deg);
  transition: transform 0.16s ease;
}

.petugas-select-trigger[aria-expanded="true"] .petugas-select-chevron {
  margin-top: 4px;
  border-color: var(--brand-blue);
  transform: rotate(225deg);
}

.petugas-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 50;
  display: none;
  max-height: min(286px, 42vh);
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(20, 86, 240, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(20, 52, 105, 0.18);
  scrollbar-color: rgba(20, 86, 240, 0.38) transparent;
  scrollbar-width: thin;
  backdrop-filter: blur(14px);
}

.petugas-select-menu.is-open {
  display: grid;
  animation: petugas-select-enter 0.14s ease-out both;
}

.petugas-select-menu.is-portaled {
  position: fixed;
  right: auto;
  z-index: 10001;
}

.petugas-select-menu.is-subsls-menu .petugas-select-option {
  align-items: start;
}

.petugas-select-menu.is-subsls-menu .petugas-select-option > span {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.petugas-select-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--atlas-ink);
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  outline: 0;
}

.petugas-select-option > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.petugas-select-option:hover,
.petugas-select-option:focus-visible {
  background: #f3f7ff;
  color: var(--brand-blue);
}

.petugas-select-option[aria-selected="true"] {
  background: #eaf1ff;
  color: var(--brand-blue);
  font-weight: 700;
}

.petugas-select-option[aria-selected="true"]::after {
  width: 7px;
  height: 7px;
  justify-self: center;
  border: 3px solid #d8e5ff;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 1px var(--brand-blue);
  content: "";
}

.petugas-panel-tools .petugas-select-menu {
  right: 0;
  left: auto;
  width: min(250px, calc(100vw - 24px));
}

@keyframes petugas-select-enter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.petugas-color-mode {
  grid-column: 6;
}

.petugas-filter-status {
  grid-column: 1 / 4;
}

.petugas-filter-listing {
  grid-column: 4 / 7;
}

.petugas-map-appearance-settings {
  grid-column: 1 / -1;
}

.petugas-map-style-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.petugas-map-style-head > div {
  display: grid;
  gap: 2px;
}

.petugas-map-style-head strong {
  color: var(--atlas-ink);
  font-size: 11px;
}

.petugas-map-style-head small {
  color: var(--atlas-muted);
  font-size: 9px;
}

.petugas-map-style-head button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--atlas-line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--atlas-ink);
  font-family: inherit;
  font-size: 8px;
  font-weight: 650;
  text-transform: uppercase;
}

.petugas-map-style-head button:hover,
.petugas-map-style-head button:focus-visible {
  border-color: rgba(20, 86, 240, 0.38);
  color: var(--brand-blue);
}

.petugas-map-style-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 8px;
}

.petugas-map-style-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--atlas-line);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(20, 86, 240, 0.045), transparent 58%),
    #fff;
}

.petugas-map-style-item header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.petugas-map-style-item header span,
.petugas-map-style-item header output {
  font-size: 9px;
  font-weight: 700;
}

.petugas-map-style-item header span {
  color: var(--atlas-ink);
}

.petugas-map-style-item header output {
  color: var(--brand-blue);
  font-variant-numeric: tabular-nums;
}

.petugas-map-style-item > p {
  grid-column: 1 / -1;
  min-height: 30px;
  margin: 0;
  color: var(--atlas-muted);
  font-size: 8px;
  line-height: 1.45;
}

.petugas-map-style-item.is-basemap,
.petugas-map-style-item.is-points {
  grid-template-columns: 1fr;
}

.petugas-map-color {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  cursor: pointer;
}

.petugas-map-color input {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--atlas-line-strong);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.petugas-map-color input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.petugas-map-color input::-webkit-color-swatch {
  border: 0;
  border-radius: 5px;
}

.petugas-map-color span {
  overflow: hidden;
  color: var(--atlas-muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
  font-weight: 650;
  text-overflow: ellipsis;
}

.petugas-map-range {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
}

.petugas-map-range > span {
  color: var(--atlas-muted);
  font-size: 8px;
  font-weight: 650;
  text-transform: uppercase;
}

.petugas-map-range input {
  width: 100%;
  min-width: 76px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand-blue);
  cursor: ew-resize;
}

.petugas-segments {
  display: flex;
  min-width: 0;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.petugas-segments.is-wrap {
  flex-wrap: wrap;
  overflow: visible;
}

.petugas-segments::-webkit-scrollbar {
  display: none;
}

.petugas-segments button {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid var(--atlas-line);
  border-radius: 12px;
  background: #fff;
  color: var(--atlas-muted);
  font-family: inherit;
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

.petugas-segments button:hover,
.petugas-segments button:focus-visible {
  border-color: rgba(20, 86, 240, 0.28);
  color: var(--brand-blue);
}

.petugas-segments button.is-active {
  border-color: var(--atlas-ink);
  background: var(--atlas-ink);
  color: #fff;
}

.petugas-segments button span {
  padding: 2px 5px;
  border-radius: 99px;
  background: rgba(17, 17, 17, 0.07);
  font-size: 8px;
}

.petugas-segments button.is-active span {
  background: rgba(255, 255, 255, 0.15);
}

.petugas-custom-color {
  display: grid;
  grid-template-columns: minmax(132px, auto) minmax(112px, 1fr);
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(20, 86, 240, 0.14);
  border-radius: 13px;
  background: #f7f9ff;
}

.petugas-custom-color[hidden] {
  display: none;
}

.petugas-color-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
}

.petugas-color-picker input {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--atlas-line-strong);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.petugas-color-picker input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.petugas-color-picker input::-webkit-color-swatch {
  border: 0;
  border-radius: 6px;
}

.petugas-color-picker > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.petugas-color-picker b,
.petugas-color-picker small,
.petugas-color-hex > span {
  font-size: 8px;
  font-weight: 650;
  line-height: 1.1;
  text-transform: uppercase;
}

.petugas-color-picker b,
.petugas-color-hex > span {
  color: var(--atlas-muted);
}

.petugas-color-picker small {
  color: var(--atlas-ink);
  letter-spacing: 0.04em;
}

.petugas-color-hex {
  display: grid;
  gap: 4px;
}

.petugas-color-hex input {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 9px;
  border: 1px solid var(--atlas-line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--atlas-ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.025em;
  outline: 0;
  text-transform: uppercase;
}

.petugas-color-hex input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(20, 86, 240, 0.1);
}

.petugas-color-hex input.is-invalid {
  border-color: var(--brand-coral);
}

.petugas-color-swatches {
  display: flex;
  grid-column: 1 / -1;
  gap: 6px;
}

.petugas-color-swatches button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 8px;
  background: var(--swatch);
  box-shadow: 0 0 0 1px var(--atlas-line-strong);
}

.petugas-color-swatches button.is-active {
  box-shadow:
    0 0 0 2px var(--atlas-ink),
    0 0 0 4px #fff;
}

.petugas-filter-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.petugas-filter-actions .is-secondary {
  border: 1px solid var(--atlas-line-strong);
  background: #fff;
  color: var(--atlas-ink);
}

.petugas-filter-actions .is-primary {
  border: 1px solid var(--brand-blue);
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 7px 18px rgba(20, 86, 240, 0.18);
}

.petugas-focus-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 86, 240, 0.18);
  border-radius: 12px;
  background: var(--atlas-orange-soft);
}

.petugas-focus-banner[hidden] {
  display: none;
}

.petugas-focus-banner div {
  display: grid;
}

.petugas-focus-banner span {
  color: var(--atlas-orange-dark);
  font-size: 8px;
  font-weight: 650;
  text-transform: uppercase;
}

.petugas-focus-banner strong {
  font-size: 12px;
}

.petugas-focus-banner button {
  padding: 7px 10px;
  border: 1px solid rgba(20, 86, 240, 0.2);
  border-radius: 9px;
  background: #fff;
  color: var(--atlas-orange-dark);
  font-family: inherit;
  font-size: 9px;
  font-weight: 650;
}

.petugas-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 370px);
  gap: 12px;
  align-items: stretch;
}

.petugas-map-card,
.petugas-sls-panel {
  min-width: 0;
  overflow: hidden;
}

.petugas-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--atlas-line);
}

.petugas-section-kicker {
  margin-bottom: 4px;
  font-size: 9px;
}

.petugas-panel-head h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.petugas-visible-count {
  display: grid;
  min-width: 92px;
  justify-items: end;
}

.petugas-visible-count strong {
  font-size: 22px;
  line-height: 1;
}

.petugas-visible-count span {
  color: var(--atlas-muted);
  font-size: 9px;
}

.petugas-point-search {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--atlas-line);
  background: var(--surface-1);
}

.petugas-point-search > label {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.petugas-point-search > label > span,
.petugas-point-search > div > span {
  color: var(--atlas-muted);
  font-size: 8px;
  font-weight: 650;
  text-transform: uppercase;
}

.petugas-point-search input {
  padding-inline: 12px;
}

.petugas-point-search > div:nth-child(2) {
  display: grid;
  min-width: 150px;
  align-content: end;
  justify-items: end;
  gap: 5px;
}

.petugas-point-search > div:nth-child(2) button {
  min-height: 28px;
  padding-inline: 10px;
  border: 1px solid var(--atlas-line-strong);
  border-radius: 99px;
  background: #fff;
  font-family: inherit;
  font-size: 8px;
  font-weight: 650;
  text-transform: uppercase;
}

.petugas-point-results {
  grid-column: 1 / -1;
  display: grid;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--atlas-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 52, 105, 0.09);
}

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

.petugas-point-result {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--atlas-line);
  background: transparent;
  color: var(--atlas-ink);
  text-align: left;
}

.petugas-point-result:hover,
.petugas-point-result:focus-visible {
  background: #eef4ff;
}

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

.petugas-point-result span,
.petugas-point-result small,
.petugas-point-more {
  color: var(--atlas-muted);
  font-size: 9px;
}

.petugas-point-more {
  padding: 10px 12px;
}

.petugas-map-frame {
  position: relative;
  min-height: 680px;
  background: var(--surface-2);
}

.petugas-map-frame:fullscreen,
.petugas-map-frame.is-fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  border-radius: 0;
}

.petugas-map-frame.is-fullscreen-fallback {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.petugas-body.map-fullscreen-open {
  overflow: hidden;
}

.petugas-filter-shell.is-map-overlay {
  position: absolute;
  top: 64px;
  right: 12px;
  left: 12px;
  z-index: 14;
  max-height: calc(100% - 76px);
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border-color: rgba(20, 86, 240, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(10, 10, 10, 0.18);
  backdrop-filter: blur(16px);
  overscroll-behavior: contain;
}

.petugas-filter-shell.is-map-overlay:not(.is-open) {
  right: auto;
  width: min(430px, calc(100% - 24px));
  overflow: hidden;
}

.petugas-filter-shell.is-map-overlay .petugas-filter-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 62px;
  padding-block: 8px;
  background: rgba(255, 255, 255, 0.98);
}

.petugas-filter-shell.is-map-overlay .petugas-filter-dock {
  background: rgba(255, 255, 255, 0.9);
}

.petugas-filter-shell.is-map-overlay .petugas-filter-head > button {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  box-shadow: 0 7px 18px rgba(20, 86, 240, 0.18);
}

#petugasMap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.petugas-map-state {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  padding: 24px;
  background: rgba(247, 248, 250, 0.92);
  text-align: center;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.petugas-map-state[hidden] {
  display: none;
}

.petugas-map-state > i {
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
  border: 7px solid rgba(20, 86, 240, 0.14);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: petugas-spin 900ms linear infinite;
}

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

.petugas-map-state strong {
  font-size: 14px;
}

.petugas-map-state span {
  max-width: 340px;
  color: var(--atlas-muted);
  font-size: 10px;
}

.petugas-map-state.is-error {
  background: rgba(255, 240, 236, 0.96);
}

.petugas-fullscreen {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 8;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--atlas-line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--atlas-ink);
  font-family: inherit;
  font-size: 9px;
  font-weight: 650;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.1);
}

.petugas-basemap-switch {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 8;
  display: flex;
  max-width: calc(100% - 150px);
  gap: 5px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--atlas-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.1);
  scrollbar-width: none;
}

.petugas-basemap-switch::-webkit-scrollbar {
  display: none;
}

.petugas-basemap-switch > button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--atlas-muted);
  font-family: inherit;
  font-size: 8px;
  font-weight: 650;
  text-transform: uppercase;
  white-space: nowrap;
}

.petugas-basemap-switch > button.is-active {
  background: var(--atlas-ink);
  color: #fff;
}

.petugas-basemap-switch .petugas-layer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.petugas-layer-toggle > i {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 44%, currentColor 45% 55%, transparent 56%),
    linear-gradient(transparent 44%, currentColor 45% 55%, transparent 56%);
  opacity: 0.72;
}

.petugas-layer-toggle.is-active > i {
  color: var(--brand-cyan);
  opacity: 1;
}

.petugas-layer-toggle > span {
  display: grid;
  text-align: left;
}

.petugas-layer-toggle strong,
.petugas-layer-toggle small {
  font-size: 8px;
  line-height: 1.2;
}

.petugas-map-context {
  position: absolute;
  z-index: 18;
  display: grid;
  width: min(258px, calc(100% - 20px));
  overflow: hidden;
  border: 1px solid var(--atlas-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(10, 10, 10, 0.2);
  backdrop-filter: blur(12px);
  animation: petugas-context-in 150ms ease-out both;
}

.petugas-map-context[hidden] {
  display: none;
}

@keyframes petugas-context-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}

.petugas-map-context header {
  display: grid;
  gap: 3px;
  padding: 11px 12px 10px;
  border-bottom: 1px solid var(--atlas-line);
  background: #f7f9ff;
}

.petugas-map-context header span {
  color: var(--brand-blue);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.petugas-map-context header code {
  overflow: hidden;
  color: var(--atlas-ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.petugas-map-context > a,
.petugas-map-context > button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 7px 11px;
  border: 0;
  border-bottom: 1px solid var(--atlas-line);
  background: #fff;
  color: var(--atlas-ink);
  font-family: inherit;
  text-align: left;
  text-decoration: none;
}

.petugas-map-context > a {
  background: var(--atlas-ink);
  color: #fff;
}

.petugas-map-context > button:last-child {
  border-bottom: 0;
}

.petugas-map-context > a:hover,
.petugas-map-context > a:focus-visible {
  background: var(--brand-blue);
}

.petugas-map-context > button:hover,
.petugas-map-context > button:focus-visible {
  background: #eef4ff;
}

.petugas-map-context > a > span,
.petugas-map-context > button > span {
  display: grid;
  gap: 2px;
}

.petugas-map-context strong {
  font-size: 9px;
  font-weight: 650;
}

.petugas-map-context small {
  color: var(--atlas-muted);
  font-size: 7px;
}

.petugas-map-context > a small {
  color: rgba(255, 255, 255, 0.62);
}

.petugas-map-context i {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 9px;
  background: #f7f9ff;
}

.petugas-map-context > a i {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.petugas-map-context .is-maps::before {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 9px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 8px 8px 8px 1px;
  content: "";
  transform: rotate(-45deg);
}

.petugas-map-context .is-maps::after {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.petugas-map-context .is-copy::before,
.petugas-map-context .is-copy::after {
  position: absolute;
  width: 10px;
  height: 12px;
  border: 1.5px solid var(--brand-blue);
  border-radius: 3px;
  content: "";
}

.petugas-map-context .is-copy::before {
  top: 6px;
  left: 7px;
}

.petugas-map-context .is-copy::after {
  top: 9px;
  left: 10px;
  background: #f7f9ff;
}

.petugas-map-legend {
  position: absolute;
  right: 12px;
  bottom: 28px;
  z-index: 8;
  width: min(270px, calc(100% - 24px));
  overflow: hidden;
  border: 1px solid var(--atlas-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.12);
  backdrop-filter: blur(8px);
}

.petugas-map-legend header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px;
  border-bottom: 1px solid var(--atlas-line);
}

.petugas-map-legend header strong {
  font-size: 9px;
  text-transform: uppercase;
}

.petugas-map-legend header button {
  padding: 5px 8px;
  border: 1px solid var(--atlas-line);
  border-radius: 7px;
  background: #fff;
  font-family: inherit;
  font-size: 7px;
  font-weight: 650;
  text-transform: uppercase;
}

.petugas-map-legend header + div {
  display: grid;
  gap: 8px;
  padding: 10px 11px;
}

.petugas-map-legend.is-collapsed header + div {
  display: none;
}

#legendItems {
  display: grid;
  gap: 5px;
}

.petugas-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--atlas-muted);
  font-size: 9px;
}

.petugas-legend-item i {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(17, 17, 17, 0.25);
  border-radius: 50%;
  background: var(--legend-color);
}

.petugas-map-legend span,
.petugas-map-legend small {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--atlas-muted);
  font-size: 8px;
}

.petugas-building-legend[hidden] {
  display: none;
}

.petugas-building-legend > i {
  width: 17px;
  height: 14px;
  flex: 0 0 auto;
  border: 1px solid rgba(20, 86, 240, 0.72);
  border-radius: 3px;
  background: rgba(61, 174, 255, 0.22);
  transform: skew(-7deg);
}

.petugas-building-legend > b {
  color: var(--atlas-ink);
  font-size: 8px;
}

.petugas-map-legend .petugas-context-hint {
  padding-top: 7px;
  border-top: 1px solid var(--atlas-line);
  color: var(--brand-blue);
  line-height: 1.35;
}

.petugas-stack-sample {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--atlas-ink);
  color: #fff;
  font-size: 7px;
  font-style: normal;
  font-weight: 650;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.25);
}

.petugas-stack-marker {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  padding: 0 6px;
  border: 3px solid #fff;
  border-radius: 99px;
  background: var(--stack-color, #111);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
  box-shadow:
    0 0 0 1px rgba(17, 17, 17, 0.35),
    0 8px 18px rgba(17, 17, 17, 0.2);
}

.petugas-stack-marker:hover,
.petugas-stack-marker:focus-visible {
  transform: scale(1.08);
}

.petugas-map-frame.is-satellite .petugas-basemap-switch,
.petugas-map-frame.is-satellite .petugas-fullscreen,
.petugas-map-frame.is-satellite .petugas-map-legend {
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
}

.petugas-map-frame.is-satellite .petugas-basemap-switch button,
.petugas-map-frame.is-satellite .petugas-map-legend span,
.petugas-map-frame.is-satellite .petugas-map-legend small,
.petugas-map-frame.is-satellite .petugas-map-legend strong {
  color: #fff;
}

.petugas-panel-badge {
  display: grid;
  min-width: 42px;
  height: 34px;
  place-items: center;
  padding: 0 10px;
  border-radius: 99px;
  background: var(--atlas-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
}

.petugas-panel-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 7px;
  padding: 10px;
  border-bottom: 1px solid var(--atlas-line);
}

.petugas-panel-tools input {
  padding-inline: 11px;
}

.petugas-sls-list {
  display: grid;
  max-height: 750px;
  overflow-y: auto;
  scrollbar-color: rgba(20, 86, 240, 0.42) transparent;
  scrollbar-width: thin;
}

.petugas-sls-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
  min-height: 105px;
  padding: 13px 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--atlas-line);
  background: transparent;
  color: var(--atlas-ink);
  font-family: inherit;
  text-align: left;
}

.petugas-sls-item::after {
  position: absolute;
  right: 14px;
  bottom: 8px;
  left: 14px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan) var(--coverage, 0%), var(--surface-2) 0);
  content: "";
}

.petugas-sls-item:hover,
.petugas-sls-item:focus-visible,
.petugas-sls-item.is-active {
  background: #eef4ff;
}

.petugas-sls-copy {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 3px;
}

.petugas-sls-copy strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.petugas-sls-copy span {
  overflow: hidden;
  color: var(--brand-blue);
  font-size: 8px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.petugas-sls-copy code {
  color: var(--atlas-muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
}

.petugas-sls-metrics {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px;
  text-align: right;
}

.petugas-sls-metrics span {
  display: grid;
  align-content: start;
}

.petugas-sls-metrics b {
  font-size: 14px;
  line-height: 1;
}

.petugas-sls-metrics small {
  color: var(--atlas-muted);
  font-size: 7px;
  font-weight: 650;
  text-transform: uppercase;
}

.petugas-sls-empty {
  padding: 28px 18px;
  color: var(--atlas-muted);
  font-size: 11px;
  text-align: center;
}

.petugas-method-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.petugas-method-strip > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 14px 16px;
  border-right: 1px solid var(--atlas-line);
}

.petugas-method-strip > div:last-child {
  border-right: 0;
}

.petugas-method-strip > div > span {
  color: var(--brand-blue);
  font-size: 9px;
  font-weight: 650;
}

.petugas-method-strip p {
  margin: 0;
  color: var(--atlas-muted);
  font-size: 10px;
  line-height: 1.45;
}

.petugas-method-strip strong {
  color: var(--atlas-ink);
  font-size: 13px;
}

.petugas-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 4px 0;
  color: var(--atlas-muted);
  font-size: 9px;
}

.petugas-footer strong {
  color: var(--atlas-ink);
}

.petugas-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  max-width: min(360px, calc(100vw - 40px));
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--atlas-ink);
  color: #fff;
  font-size: 10px;
  font-weight: 650;
  box-shadow: 0 14px 30px rgba(10, 10, 10, 0.2);
}

.petugas-toast[hidden] {
  display: none;
}

.petugas-popup {
  display: grid;
  min-width: 250px;
  gap: 9px;
  font-family: var(--font-ui);
}

.petugas-popup header {
  display: grid;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--atlas-line);
}

.petugas-popup header span,
.petugas-popup-row span {
  color: var(--atlas-muted);
  font-size: 8px;
  font-weight: 650;
  text-transform: uppercase;
}

.petugas-popup header strong {
  font-size: 13px;
}

.petugas-popup-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.petugas-popup-row b {
  overflow-wrap: anywhere;
  font-size: 9px;
  font-weight: 600;
}

.petugas-popup-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 3px;
}

.petugas-popup-actions a,
.petugas-popup-actions button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--atlas-line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--atlas-ink);
  font-family: inherit;
  font-size: 8px;
  font-weight: 650;
  text-decoration: none;
  text-transform: uppercase;
}

.petugas-map-card .maplibregl-popup-content {
  padding: 13px;
  border: 1px solid var(--atlas-line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(10, 10, 10, 0.18);
}

.petugas-map-card .maplibregl-popup-close-button {
  top: 5px;
  right: 6px;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  color: var(--atlas-muted);
  font-size: 18px;
}

.petugas-fatal {
  display: grid;
  min-height: 65vh;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.petugas-fatal h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.petugas-fatal p {
  color: var(--atlas-muted);
}

@media (max-width: 1240px) {
  .petugas-kpi-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .petugas-kpi:nth-child(3) {
    border-right: 0;
  }

  .petugas-kpi:nth-child(-n + 3) {
    border-bottom: 1px solid var(--atlas-line);
  }

  .petugas-filter-dock {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .petugas-color-mode,
  .petugas-filter-status,
  .petugas-filter-listing {
    grid-column: auto;
  }

  .petugas-filter-status,
  .petugas-filter-listing {
    grid-column: span 2;
  }

  .petugas-map-appearance-settings {
    grid-column: 1 / -1;
  }

  .petugas-map-style-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .petugas-workspace-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 330px);
  }
}

@media (max-width: 980px) {
  .petugas-main {
    width: min(100% - 22px, 1460px);
  }

  .petugas-atlas-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
    min-height: 0;
    padding: 32px;
  }

  .petugas-workspace-grid {
    grid-template-columns: 1fr;
  }

  .petugas-sls-list {
    max-height: 520px;
  }

  .petugas-filter-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .petugas-filter-status,
  .petugas-filter-listing {
    grid-column: 1 / -1;
  }

  .petugas-map-style-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .petugas-method-strip {
    grid-template-columns: 1fr;
  }

  .petugas-method-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--atlas-line);
  }

  .petugas-method-strip > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .petugas-brand-label span,
  .petugas-brand-label i {
    display: none;
  }

  .petugas-main {
    width: min(100% - 16px, 1460px);
    padding-top: 16px;
    padding-bottom: 100px;
  }

  .petugas-atlas-hero {
    gap: 16px;
    padding: 28px 22px;
  }

  .petugas-atlas-hero h1 {
    font-size: clamp(34px, 11vw, 54px);
  }

  .petugas-lede {
    font-size: 12px;
  }

  .petugas-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .petugas-kpi,
  .petugas-kpi:nth-child(3) {
    min-height: 110px;
    border-right: 1px solid var(--atlas-line);
    border-bottom: 1px solid var(--atlas-line);
  }

  .petugas-kpi:nth-child(even) {
    border-right: 0;
  }

  .petugas-kpi:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .petugas-scope-badge,
  .petugas-ring {
    right: 10px;
    width: 56px;
    height: 56px;
  }

  .petugas-scope-badge b {
    font-size: 15px;
  }

  .petugas-ring b {
    font-size: 9px;
  }

  .petugas-kpi.is-scope > strong,
  .petugas-kpi.is-scope > small,
  .petugas-kpi.is-ring > strong,
  .petugas-kpi.is-ring > small {
    max-width: calc(100% - 58px);
  }

  .petugas-filter-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .petugas-filter-count {
    display: none;
  }

  .petugas-filter-head small {
    max-width: 240px;
  }

  .petugas-filter-dock {
    grid-template-columns: 1fr;
  }

  .petugas-filter-group select,
  .petugas-select-trigger,
  .petugas-panel-tools input,
  .petugas-panel-tools select,
  .petugas-point-search input {
    min-height: 48px;
    border-radius: 13px;
    font-size: 16px;
  }

  .petugas-color-hex input {
    min-height: 42px;
    font-size: 16px;
  }

  .petugas-filter-group select,
  .petugas-panel-tools select {
    padding-right: 42px;
    background-position: right 14px center;
    background-size: 18px;
  }

  .petugas-segments button,
  .petugas-filter-head > button,
  .petugas-filter-actions button {
    min-height: 44px;
    touch-action: manipulation;
  }

  .petugas-fullscreen {
    min-height: 44px;
  }

  .petugas-sls-list {
    max-height: min(62vh, 560px);
    overscroll-behavior: contain;
  }

  .petugas-filter-status,
  .petugas-filter-listing,
  .petugas-color-mode,
  .petugas-map-appearance-settings {
    grid-column: 1;
  }

  .petugas-map-style-head {
    align-items: start;
  }

  .petugas-map-style-grid {
    grid-template-columns: 1fr;
  }

  .petugas-map-style-item {
    min-height: 96px;
  }

  .petugas-filter-actions {
    justify-content: stretch;
  }

  .petugas-filter-actions button {
    flex: 1;
  }

  .petugas-point-search {
    grid-template-columns: 1fr;
  }

  .petugas-point-search > div:nth-child(2) {
    min-width: 0;
    grid-auto-flow: column;
    justify-content: space-between;
    justify-items: start;
  }

  .petugas-map-frame {
    min-height: 570px;
  }

  .petugas-filter-shell.is-map-overlay {
    top: 116px;
    max-height: calc(100% - 128px);
  }

  .petugas-fullscreen {
    top: 62px;
  }

  .petugas-basemap-switch {
    right: 12px;
    max-width: none;
  }

  .petugas-map-legend {
    bottom: 88px;
  }

  .petugas-map-frame .maplibregl-ctrl-bottom-left,
  .petugas-map-frame .maplibregl-ctrl-bottom-right {
    bottom: 62px;
  }

  .petugas-panel-tools {
    grid-template-columns: 1fr;
  }

  .petugas-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 440px) {
  .petugas-atlas-hero h1 {
    font-size: 36px;
  }

  .petugas-kpi {
    padding: 13px;
  }

  .petugas-kpi > strong {
    font-size: 25px;
  }

  .petugas-status-summary > span {
    flex: 1 1 100%;
  }

  .petugas-filter-head > button span {
    display: none;
  }

  .petugas-filter-head > button {
    width: 42px;
    justify-content: center;
    padding: 0;
  }

  .petugas-filter-shell.is-map-overlay .petugas-filter-head > button {
    width: auto;
    padding-inline: 12px;
  }

  .petugas-filter-shell.is-map-overlay .petugas-filter-head > button span {
    display: inline;
  }

  .petugas-map-frame {
    min-height: 560px;
  }

  .petugas-map-legend {
    right: 8px;
    bottom: 88px;
    width: min(240px, calc(100% - 16px));
  }

  .petugas-sls-item {
    grid-template-columns: 1fr;
  }

  .petugas-sls-metrics {
    justify-content: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .petugas-map-state > i {
    animation-duration: 1ms;
  }

  .petugas-map-context,
  .petugas-select-menu.is-open {
    animation: none;
  }
}
