:root {
  --green-900: #064533;
  --green-800: #075c42;
  --green-700: #087452;

  --surface: #ffffff;
  --surface-soft: #f5f8f6;

  --text: #15352b;
  --text-muted: #6a7e76;

  --border: #dde8e3;

  --orange: #ff8a00;
  --red: #e94343;
  --blue: #2485d8;
  --lime: #58aa42;

  --shadow:
    0 3px 12px rgba(13, 65, 49, .08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #edf3f0;
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface-soft);
  padding-bottom: 86px;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;

  min-height: 70px;
  padding:
    calc(10px + env(safe-area-inset-top))
    16px
    10px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  color: white;

  background:
    linear-gradient(
      135deg,
      var(--green-900),
      var(--green-700)
    );

  box-shadow:
    0 2px 8px rgba(0, 0, 0, .16);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;

  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.95))
    drop-shadow(0 0 3px rgba(255,255,255,.55))
    drop-shadow(0 2px 3px rgba(0,0,0,.22));
}

.brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: .2px;
}

.brand-text span {
  margin-top: 3px;
  font-size: 10px;
  opacity: .83;
  white-space: nowrap;
}

.connection-status {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;

  font-size: 11px;
  font-weight: 700;

  padding: 6px 8px;

  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #36e16f;
}

.connection-status.offline .status-dot {
  background: #ffb93b;
}

.app-main {
  padding: 16px;
}

.welcome-card {
  margin-bottom: 14px;
}

.welcome-card h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.welcome-card p {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}

.menu-card {
  position: relative;

  min-height: 126px;

  border: 1px solid var(--border);
  border-radius: 18px;

  padding: 16px 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: var(--text);
  background: white;

  box-shadow: var(--shadow);

  cursor: pointer;
}

.menu-card:active {
  transform: scale(.98);
}

.menu-card.hotspot {
  background: #fff7eb;
}

.menu-card.firespot {
  background: #fff0ef;
}

.menu-card.patrol {
  background: #eef8f3;
}

.menu-card.planting {
  background: #f1faed;
}

.menu-card.stored {
  background: #eef6ff;
}

.menu-card.offline-map {
  background: #eff9f6;
}

.menu-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 9px;
}

.hotspot .menu-icon {
  color: var(--orange);
}

.menu-title {
  font-size: 15px;
  font-weight: 800;
}

.menu-subtitle {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
}

.menu-badge {
  position: absolute;
  top: 8px;
  right: 8px;

  min-width: 22px;
  height: 22px;
  padding: 0 6px;

  display: grid;
  place-items: center;

  border-radius: 999px;

  background: var(--red);
  color: white;

  font-size: 11px;
  font-weight: 800;
}

.hidden {
  display: none !important;
}

.assignment-card,
.device-card {
  margin-top: 14px;

  padding: 14px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background: white;
  box-shadow: var(--shadow);
}

.assignment-header {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 9px;

  font-size: 13px;
}

.assignment-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 27px;
}

.assignment-content strong {
  font-size: 14px;
}

.assignment-content span {
  color: var(--text-muted);
  font-size: 12px;
}

.device-card {
  display: grid;
  gap: 10px;
}

.device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 12px;
}

.device-row span {
  color: var(--text-muted);
}

.device-row strong {
  font-size: 12px;
}

.bottom-nav {
  position: fixed;

  left: 50%;
  bottom: 0;

  transform: translateX(-50%);

  z-index: 60;

  width: min(100%, 520px);

  min-height: 68px;

  padding:
    7px
    14px
    calc(7px + env(safe-area-inset-bottom));

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid var(--border);

  background:
    rgba(255, 255, 255, .96);

  backdrop-filter: blur(14px);
}

.nav-item {
  border: 0;
  background: transparent;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 3px;

  color: #87968f;

  font-size: 10px;

  cursor: pointer;
}

.nav-item.active {
  color: var(--green-800);
  font-weight: 800;
}

.nav-icon {
  font-size: 22px;
  line-height: 1;
}

@media (min-width: 700px) {
  body {
    padding: 22px 0;
  }

  .app-shell {
    min-height: calc(100vh - 44px);
    border-radius: 24px;
    overflow: hidden;

    box-shadow:
      0 12px 40px rgba(0, 0, 0, .14);
  }

  .bottom-nav {
    width: 520px;
  }
}
.menu-icon-img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 10px;
}
/* ==========================================================
   HOTSPOT
   ========================================================== */

.field-page {
  position: fixed;
  inset: 0;
  z-index: 200;

  max-width: 520px;
  margin: 0 auto;

  background: #f5f8f6;

  transform: translateX(105%);
  transition: transform .22s ease;

  overflow-y: auto;
}

.field-page.active {
  transform: translateX(0);
}

.field-page-header {
  position: sticky;
  top: 0;
  z-index: 10;

  min-height: 68px;
  padding:
    calc(10px + env(safe-area-inset-top))
    16px
    10px;

  display: flex;
  align-items: center;
  gap: 12px;

  color: white;

  background:
    linear-gradient(
      135deg,
      #064533,
      #087452
    );

  box-shadow:
    0 2px 8px rgba(0,0,0,.14);
}

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

.field-page-header strong {
  font-size: 17px;
}

.field-page-header span {
  margin-top: 2px;
  font-size: 11px;
  opacity: .8;
}

.page-back {
  width: 38px;
  height: 38px;

  border: 0;
  border-radius: 50%;

  display: grid;
  place-items: center;

  color: white;
  background: rgba(255,255,255,.12);

  font-size: 30px;
  line-height: 1;

  cursor: pointer;
}

.field-page-body {
  padding: 16px;
}

.hotspot-summary {
  margin-bottom: 14px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hotspot-summary > div {
  padding: 13px;

  border: 1px solid #e2e9e5;
  border-radius: 14px;

  background: white;

  box-shadow:
    0 2px 8px rgba(13,65,49,.06);
}

.hotspot-summary strong,
.hotspot-summary span {
  display: block;
}

.hotspot-summary strong {
  font-size: 15px;
}

.hotspot-summary span {
  margin-top: 3px;
  color: #728079;
  font-size: 11px;
}

.hotspot-list {
  display: grid;
  gap: 12px;
}

.hotspot-card {
  padding: 15px;

  border: 1px solid #e1e8e4;
  border-radius: 16px;

  background: white;

  box-shadow:
    0 3px 12px rgba(13,65,49,.07);
}

.hotspot-card-top {
  margin-bottom: 10px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.confidence {
  padding: 5px 9px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 800;
}

.confidence-high {
  color: #b3261e;
  background: #ffe9e7;
}

.confidence-medium {
  color: #a65a00;
  background: #fff1da;
}

.hotspot-age {
  color: #e26122;
  font-size: 12px;
  font-weight: 800;
}

.hotspot-location {
  display: block;

  margin-bottom: 11px;

  font-size: 15px;
}

.hotspot-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;

  margin-bottom: 13px;
}

.hotspot-meta span {
  padding: 9px;

  border-radius: 10px;

  color: #5e7068;
  background: #f5f8f6;

  font-size: 11px;
}

.hotspot-meta b {
  display: block;

  margin-bottom: 2px;

  color: #173c30;
  font-size: 10px;
}

.verify-hotspot-btn {
  width: 100%;

  padding: 11px 12px;

  border: 0;
  border-radius: 11px;

  color: white;
  background: #087452;

  font-weight: 800;

  cursor: pointer;
}

.verify-hotspot-btn:active {
  transform: scale(.99);
}
/* ==========================================================
   AUTH
   ========================================================== */

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background:
    linear-gradient(
      150deg,
      #064533,
      #087452
    );
}

.auth-overlay.active {
  display: flex;
}

.auth-card {
  width: min(100%, 360px);

  padding: 28px 22px;

  border-radius: 22px;

  background: white;

  text-align: center;

  box-shadow:
    0 18px 55px
    rgba(0,0,0,.22);
}

.auth-logo {
  width: 82px;
  height: 82px;

  object-fit: contain;

  margin-bottom: 8px;
}

.auth-card h2 {
  margin: 0;

  color: #075c42;

  font-size: 22px;
}

.auth-card p {
  margin:
    8px 0
    22px;

  color: #63756d;

  font-size: 13px;
  line-height: 1.45;
}

.auth-card .g_id_signin {
  display: flex;
  justify-content: center;
}

.auth-card small {
  display: block;

  margin-top: 18px;

  color: #87958f;

  font-size: 10px;
}
/* =========================================================
   HOTSPOT MOBILE PRIORITY UI
   ========================================================= */

.hotspot-page-header {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
}

.hotspot-header-title {
  min-width: 0;
}

.hotspot-header-title strong,
.hotspot-header-title span {
  display: block;
}

.hotspot-header-title span {
  margin-top: 2px;
  opacity: .78;
  font-size: 10px;
}

.hotspot-reload-icon {
  width: 38px;
  height: 38px;

  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;

  background: rgba(255,255,255,.12);
  color: white;

  font-size: 22px;
  line-height: 1;

  cursor: pointer;
}

.hotspot-reload-icon.loading {
  opacity: .65;
}

.hotspot-page-body {
  padding-bottom: 32px;
}


/* OVERVIEW */

.hotspot-overview {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;

  margin-bottom: 14px;
}

.hotspot-overview-main,
.hotspot-overview-side {
  border-radius: 18px;
  background: white;

  box-shadow:
    0 4px 18px
    rgba(20,70,50,.07);
}

.hotspot-overview-main {
  padding: 17px;
}

.hotspot-overview-main span,
.hotspot-overview-main small {
  display: block;

  color: #71827a;
  font-size: 10px;
}

.hotspot-overview-main strong {
  display: block;

  margin: 4px 0;

  color: #075c42;
  font-size: 31px;
  line-height: 1;
}

.hotspot-overview-side {
  display: grid;
  grid-template-columns: 1fr 1fr;

  overflow: hidden;
}

.hotspot-overview-side > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 12px 5px;

  text-align: center;
}

.hotspot-overview-side > div + div {
  border-left: 1px solid #edf1ef;
}

.hotspot-overview-side strong {
  color: #153c30;
  font-size: 20px;
}

.hotspot-overview-side span {
  margin-top: 3px;

  color: #788780;
  font-size: 9px;
}


/* PERIOD */

.hotspot-control-row {
  margin-bottom: 8px;
}

.hotspot-periods {
  display: grid;
  grid-template-columns: repeat(3,1fr);

  padding: 4px;

  border-radius: 14px;

  background: #e9f0ed;
}

.period-btn {
  min-height: 38px;

  border: 0;
  border-radius: 11px;

  background: transparent;
  color: #62736c;

  font-size: 11px;
  font-weight: 700;

  cursor: pointer;
}

.period-btn.active {
  background: white;
  color: #087452;

  box-shadow:
    0 2px 9px
    rgba(30,80,60,.10);
}


/* FILTER BUTTON */

.hotspot-filter-button {
  width: 100%;

  margin-bottom: 8px;
  padding: 11px 14px;

  border: 1px solid #d9e5df;
  border-radius: 13px;

  background: white;
  color: #315a4d;

  font-size: 11px;
  font-weight: 800;

  cursor: pointer;
}

.hotspot-filter-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 18px;
  height: 18px;

  margin-left: 5px;

  border-radius: 999px;

  background: #087452;
  color: white;

  font-size: 9px;
}


/* STATUS */

.hotspot-status {
  margin: 7px 3px 12px;

  color: #788780;

  font-size: 9px;
  line-height: 1.45;
}


/* CARDS */

.hotspot-list {
  display: grid;
  gap: 11px;
}

.hotspot-card {
  padding: 14px;

  border: 1px solid #e2e9e5;
  border-radius: 17px;

  background: white;

  box-shadow:
    0 3px 14px
    rgba(20,70,50,.05);
}

.hotspot-card-priority {
  border-color: #b8d9ca;

  box-shadow:
    0 4px 18px
    rgba(8,116,82,.10);
}

.hotspot-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 8px;
}

.hotspot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.priority-badge {
  padding: 5px 8px;

  border-radius: 999px;

  background: #e5f4ed;
  color: #087452;

  font-size: 9px;
  font-weight: 800;
}

.hotspot-age {
  flex: 0 0 auto;

  color: #6f7e77;

  font-size: 9px;
  font-weight: 700;
}

.hotspot-coordinate {
  display: flex;
  align-items: center;
  gap: 7px;

  margin-top: 13px;
}

.hotspot-pin {
  color: #dc4f45;
  font-size: 13px;
}

.hotspot-coordinate strong {
  color: #243f36;
  font-size: 13px;
}

.hotspot-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;

  margin: 12px 0;
}

.hotspot-meta-grid > div {
  padding: 9px 10px;

  border-radius: 11px;

  background: #f5f8f6;
}

.hotspot-meta-grid small,
.hotspot-meta-grid strong {
  display: block;
}

.hotspot-meta-grid small {
  margin-bottom: 3px;

  color: #84928c;

  font-size: 8px;
}

.hotspot-meta-grid strong {
  color: #40574e;

  font-size: 9px;
  line-height: 1.35;
}

.verify-hotspot-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  padding: 11px 13px;

  border: 0;
  border-radius: 11px;

  background: #087452;
  color: white;

  font-size: 11px;
  font-weight: 800;

  cursor: pointer;
}

.verify-hotspot-btn span {
  font-size: 18px;
  line-height: 1;
}


/* EMPTY */

.hotspot-empty {
  display: flex;
  flex-direction: column;
  gap: 5px;

  padding: 28px 16px;

  border: 1px dashed #ccd9d3;
  border-radius: 16px;

  background: white;

  text-align: center;
}

.hotspot-empty strong {
  color: #42594f;
  font-size: 12px;
}

.hotspot-empty span {
  color: #829089;
  font-size: 10px;
}


/* FILTER SHEET */

.hotspot-filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10020;

  display: none;

  background:
    rgba(10,25,18,.38);
}

.hotspot-filter-backdrop.active {
  display: block;
}

.hotspot-filter-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 10021;

  padding: 10px 18px 22px;

  border-radius: 24px 24px 0 0;

  background: white;

  transform:
    translateY(105%);

  transition:
    transform .22s ease;
}

.hotspot-filter-sheet.active {
  transform:
    translateY(0);
}

.hotspot-filter-handle {
  width: 38px;
  height: 4px;

  margin: 0 auto 15px;

  border-radius: 999px;

  background: #d5ddd9;
}

.hotspot-filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  margin-bottom: 18px;
}

.hotspot-filter-heading strong,
.hotspot-filter-heading span {
  display: block;
}

.hotspot-filter-heading strong {
  color: #173f31;
  font-size: 16px;
}

.hotspot-filter-heading span {
  margin-top: 3px;

  color: #7c8b84;

  font-size: 10px;
}

.hotspot-filter-heading button {
  width: 34px;
  height: 34px;

  border: 0;
  border-radius: 10px;

  background: #eef3f0;
  color: #52665d;

  font-size: 22px;

  cursor: pointer;
}

.hotspot-filter-field {
  display: block;

  margin-bottom: 13px;
}

.hotspot-filter-field > span {
  display: block;

  margin-bottom: 5px;

  color: #53675e;

  font-size: 10px;
  font-weight: 800;
}

.hotspot-filter-field select {
  width: 100%;

  padding: 11px 12px;

  border: 1px solid #d8e2dd;
  border-radius: 11px;

  background: white;
  color: #31483f;

  font-size: 12px;
}

.hotspot-filter-actions {
  display: grid;
  grid-template-columns: .8fr 1.4fr;
  gap: 9px;

  margin-top: 18px;
}

.hotspot-filter-reset,
.hotspot-filter-apply {
  min-height: 42px;

  border-radius: 12px;

  font-size: 11px;
  font-weight: 800;

  cursor: pointer;
}

.hotspot-filter-reset {
  border: 1px solid #d3dfd9;

  background: white;
  color: #53675e;
}

.hotspot-filter-apply {
  border: 0;

  background: #087452;
  color: white;
}

.hotspot-place {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-top: 13px;
}

.hotspot-place-icon {
  flex: 0 0 auto;
  font-size: 17px;
}

.hotspot-place strong,
.hotspot-place span {
  display: block;
}

.hotspot-place strong {
  color: #243f36;
  font-size: 13px;
}

.hotspot-place span {
  margin-top: 2px;

  color: #7b8b84;
  font-size: 9px;
}

.hotspot-coordinate {
  margin-top: 5px;
  margin-left: 26px;

  color: #8a9892;
  font-size: 9px;
  font-weight: 600;
}
.hotspot-spatial-info {
  display: grid;
  gap: 7px;

  margin-top: 12px;
}

.hotspot-spatial-info > div {
  padding: 10px 11px;

  border: 1px solid #e2ebe6;
  border-radius: 11px;

  background: #f7faf8;
}

.hotspot-spatial-info small,
.hotspot-spatial-info strong,
.hotspot-spatial-info span {
  display: block;
}

.hotspot-spatial-info small {
  margin-bottom: 3px;

  color: #819089;

  font-size: 8px;
}

.hotspot-spatial-info strong {
  color: #284b3e;

  font-size: 10px;
  line-height: 1.35;
}

.hotspot-spatial-info span {
  margin-top: 3px;

  color: #6f8178;

  font-size: 8px;
  line-height: 1.35;
}
/* =========================================================
   HOTSPOT APL SWITCH — POLISHED
   ========================================================= */

.hotspot-apl-switch-compact {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  min-height: 38px;

  margin: 0;
  padding: 0 9px;

  border: 1px solid #dbe6e0;
  border-radius: 12px;

  background: #ffffff;

  box-shadow:
    0 2px 8px
    rgba(28, 72, 54, .05);

  cursor: pointer;

  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}


.hotspot-apl-label {
  color: #536a60;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: .2px;
}


/* sembunyikan checkbox asli */

.hotspot-apl-switch-compact input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
  pointer-events: none;
}


/* track */

.hotspot-apl-switch-compact
.hotspot-switch-track {
  position: relative;

  width: 31px;
  height: 18px;

  border-radius: 999px;

  background: #d6e0db;

  box-shadow:
    inset 0 0 0 1px
    rgba(50, 84, 69, .06);

  transition:
    background .18s ease;
}


/* knob */

.hotspot-apl-switch-compact
.hotspot-switch-track > span {
  position: absolute;

  top: 2px;
  left: 2px;

  width: 14px;
  height: 14px;

  border-radius: 50%;

  background: #ffffff;

  box-shadow:
    0 1px 4px
    rgba(0, 0, 0, .18);

  transition:
    transform .18s ease;
}


/* ON */

.hotspot-apl-switch-compact:has(input:checked) {
  border-color: #b8d8ca;

  background: #f4faf7;

  box-shadow:
    0 2px 10px
    rgba(8, 116, 82, .08);
}


.hotspot-apl-switch-compact
input:checked +
.hotspot-switch-track {
  background: #087452;
}


.hotspot-apl-switch-compact
input:checked +
.hotspot-switch-track > span {
  transform:
    translateX(13px);
}


.hotspot-apl-switch-compact:has(input:checked)
.hotspot-apl-label {
  color: #087452;
}


/* hover / tap */

.hotspot-apl-switch-compact:hover {
  border-color: #c5d8cf;
}

.hotspot-apl-switch-compact:active {
  transform: scale(.98);
}

/* =========================================================
   HOTSPOT FILTER ROW
   ========================================================= */

.hotspot-filter-row {
  display: flex;
  align-items: center;
  gap: 7px;

  margin-bottom: 8px;
}

.hotspot-filter-row
.hotspot-apl-switch-compact {
  flex: 0 0 auto;

  margin: 0;
}

.hotspot-filter-row
.hotspot-filter-button {
  flex: 1;

  width: auto;

  margin: 0;
  min-height: 38px;
}

/* VERIFIKASI HOTSPOT — FORCE CENTER */

.hotspot-card .verify-hotspot-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100%;

  text-align: center !important;
}

.hotspot-card .verify-hotspot-btn > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* =========================================================
   HOTSPOT COORDINATE — FINAL
   ========================================================= */

.hotspot-card .hotspot-coordinate-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  gap: 4px !important;

  margin-top: 8px !important;
  margin-left: 0 !important;
}


.hotspot-card
.hotspot-coordinate-row
.hotspot-coordinate {
  display: inline-block !important;

  flex: 0 0 auto !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #284b3e !important;

  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;

  letter-spacing: 0 !important;
}


.hotspot-card
.hotspot-copy-coordinate {
  appearance: none !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  flex: 0 0 18px !important;

  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 5px !important;

  background: transparent !important;
  box-shadow: none !important;

  color: #6f8178 !important;

  cursor: pointer;
}


.hotspot-card
.hotspot-copy-coordinate svg {
  display: block;

  width: 12px;
  height: 12px;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.hotspot-card
.hotspot-copy-coordinate:hover {
  background: #eef6f2 !important;
  color: #087452 !important;
}


.hotspot-card
.hotspot-copy-coordinate.is-copied {
  color: #087452 !important;

  font-size: 10px !important;
  font-weight: 800 !important;
}

/* =========================================================
   HOTSPOT VIEW SWITCH — FINAL STYLE
   ========================================================= */

.hotspot-page-body
.hotspot-view-switch {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;

  gap: 4px !important;

  width: 100% !important;

  margin: 9px 0 12px !important;
  padding: 4px !important;

  border: 0 !important;
  border-radius: 14px !important;

  background: #eaf0ed !important;

  box-sizing: border-box !important;
}


.hotspot-page-body
.hotspot-view-btn {
  appearance: none !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 38px !important;

  margin: 0 !important;
  padding: 8px 12px !important;

  border: 0 !important;
  border-radius: 11px !important;

  background: transparent !important;

  box-shadow: none !important;

  color: #64766e !important;

  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  cursor: pointer !important;

  transition:
    background .16s ease,
    color .16s ease,
    box-shadow .16s ease !important;
}


.hotspot-page-body
.hotspot-view-btn.active {
  background: #ffffff !important;

  color: #1f604b !important;

  font-weight: 800 !important;

  box-shadow:
    0 2px 7px
    rgba(24, 73, 56, .08) !important;
}


.hotspot-page-body
.hotspot-view-btn:active {
  transform: scale(.985);
}

/* =========================================================
   HOTSPOT MAP
   ========================================================= */

.hotspot-map-canvas {
  height: 470px;
  min-height: 470px;
  background: #edf2ef;
}

.hotspot-map-legend {
  display: flex;
  gap: 10px;

  padding: 7px 9px;

  border-radius: 10px;

  background: rgba(255,255,255,.94);

  box-shadow:
    0 2px 8px
    rgba(35,60,50,.12);

  font-size: 10px;
  font-weight: 700;
}

.hotspot-map-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hotspot-map-dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  display: inline-block;
}

.hotspot-map-dot.high {
  background: #d94b43;
}

.hotspot-map-dot.medium {
  background: #f4a62a;
}

.hotspot-map-popup {
  min-width: 180px;

  font-family: inherit;

  color: #35483f;
}

.hotspot-map-popup-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;

  margin-bottom: 7px;
}

.hotspot-map-popup-head strong {
  font-size: 12px;
}

.hotspot-map-popup-head span {
  color: #78887f;

  font-size: 10px;
}

.hotspot-map-popup-coordinate {
  margin-bottom: 5px;

  font-size: 11px;
  font-weight: 800;
}

.hotspot-map-popup-location {
  font-size: 10px;
  line-height: 1.45;
}

.hotspot-map-popup-function {
  margin-top: 7px;

  font-size: 10px;
  font-weight: 700;

  color: #17694f;
}

/* =========================================================
   HOTSPOT LOCATION — FIX ICON + USER MARKER
   ========================================================= */

.hotspot-location-button {
  position: relative;
}

.hotspot-location-icon {
  position: relative;

  display: block;

  width: 18px;
  height: 18px;

  border: 2px solid #1769e0;
  border-radius: 50%;

  box-sizing: border-box;
}

.hotspot-location-icon::before {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #1769e0;

  transform:
    translate(-50%, -50%);
}

.hotspot-location-icon::after {
  content: "";

  position: absolute;

  left: 50%;
  top: -5px;

  width: 2px;
  height: 26px;

  background:
    linear-gradient(
      to bottom,
      #1769e0 0 4px,
      transparent 4px 20px,
      #1769e0 20px 24px
    );

  transform:
    translateX(-50%);
}


/* garis horizontal target */
.hotspot-location-button::after {
  content: "";

  position: absolute;

  left: 7px;
  top: 18px;

  width: 24px;
  height: 2px;

  pointer-events: none;

  background:
    linear-gradient(
      to right,
      #1769e0 0 4px,
      transparent 4px 20px,
      #1769e0 20px 24px
    );
}


/* titik posisi user */
.hotspot-user-position-wrapper {
  background: transparent !important;
  border: 0 !important;
}

.hotspot-user-position {
  position: relative;

  display: block;

  width: 18px;
  height: 18px;

  border: 3px solid #ffffff;
  border-radius: 50%;

  background: #1769e0;

  box-sizing: border-box;

  box-shadow:
    0 0 0 2px rgba(23,105,224,.35),
    0 2px 7px rgba(0,0,0,.25);
}

.hotspot-user-position::after {
  content: "";

  position: absolute;

  inset: -7px;

  border: 2px solid rgba(23,105,224,.25);
  border-radius: 50%;
}

/* =========================================================
   HOTSPOT LOCATION — ICON ONLY
   ========================================================= */

.hotspot-location-control {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hotspot-location-button {
  appearance: none !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 34px !important;
  height: 34px !important;

  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;

  color: #1769e0 !important;

  cursor: pointer !important;
}


/* hapus garis tambahan versi sebelumnya */
.hotspot-location-button::after,
.hotspot-location-icon::after {
  display: none !important;
}


/* icon target */
.hotspot-location-icon {
  position: relative !important;

  display: block !important;

  width: 21px !important;
  height: 21px !important;

  border: 2px solid #1769e0 !important;
  border-radius: 50% !important;

  background: transparent !important;

  box-sizing: border-box !important;

  box-shadow:
    0 0 0 2px
    rgba(23,105,224,.12) !important;
}


/* titik tengah */
.hotspot-location-icon::before {
  content: "" !important;

  position: absolute !important;

  left: 50% !important;
  top: 50% !important;

  width: 6px !important;
  height: 6px !important;

  border-radius: 50% !important;

  background: #1769e0 !important;

  transform:
    translate(-50%, -50%) !important;
}


.hotspot-location-button:active {
  transform: scale(.90) !important;
}

/* =========================================================
   HOTSPOT BASEMAP CONTROL
   ========================================================= */

.hotspot-basemap-control {
  display: flex;

  gap: 3px;

  padding: 3px;

  border-radius: 10px;

  background:
    rgba(255,255,255,.94);

  box-shadow:
    0 2px 8px
    rgba(35,60,50,.12);
}


.hotspot-basemap-btn {
  appearance: none;

  min-height: 28px;

  padding:
    5px 9px;

  border: 0;
  border-radius: 7px;

  background:
    transparent;

  color: #687a71;

  font-family: inherit;
  font-size: 9px;
  font-weight: 700;

  cursor: pointer;
}


.hotspot-basemap-btn.active {
  background: #e5f2ec;

  color: #17694f;
}


.hotspot-basemap-btn.locked {
  opacity: .42;

  cursor: default;
}

/* =========================================================
   FIRESPOT
   ========================================================= */

.firespot-header-spacer {
  width: 36px;
  height: 36px;
}

.firespot-intro-card {
  display: flex;
  flex-direction: column;

  gap: 5px;

  padding: 15px 16px;

  border: 1px solid #e1e9e5;
  border-radius: 16px;

  background: #ffffff;
}

.firespot-intro-card strong {
  color: #31483d;

  font-size: 13px;
  font-weight: 800;
}

.firespot-intro-card span {
  color: #718078;

  font-size: 10px;
  line-height: 1.5;
}

.hotspot-map-verify-btn {
  width: 100%;

  margin-top: 10px;
  padding: 9px 12px;

  border: 0;
  border-radius: 10px;

  background: #17694f;

  color: #ffffff;

  font-family: inherit;
  font-size: 10px;
  font-weight: 800;

  cursor: pointer;
}

.hotspot-map-verify-btn:active {
  transform: scale(.985);
}

/* =========================================================
   FIRESPOT VERIFICATION FORM
   ========================================================= */

.firespot-source-card {
  padding: 13px 14px;

  border: 1px solid #e1e9e5;
  border-radius: 14px;

  background: #f8fbf9;
}

.firespot-source-head {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 10px;
}

.firespot-source-head strong {
  font-size: 11px;
}

.firespot-source-head span {
  color: #7a8981;

  font-size: 9px;
  font-weight: 700;
}

.firespot-source-coordinate {
  margin-top: 8px;

  color: #30473c;

  font-size: 11px;
  font-weight: 800;
}

.firespot-source-location {
  margin-top: 4px;

  color: #718078;

  font-size: 9px;
  line-height: 1.45;
}

.firespot-form-section {
  margin-top: 14px;
}

.firespot-form-label {
  display: block;

  margin-bottom: 7px;

  color: #344b40;

  font-size: 10px;
  font-weight: 800;
}

.firespot-result-options {
  display: grid;

  gap: 7px;
}

.firespot-result-options label {
  display: flex;
  align-items: center;

  gap: 9px;

  padding: 10px 11px;

  border: 1px solid #e1e9e5;
  border-radius: 11px;

  background: #ffffff;

  font-size: 10px;
  font-weight: 700;

  cursor: pointer;
}

.firespot-result-options input {
  margin: 0;

  accent-color: #17694f;
}

.firespot-note {
  width: 100%;

  padding: 10px 11px;

  border: 1px solid #dfe7e3;
  border-radius: 11px;

  background: #ffffff;

  font-family: inherit;
  font-size: 10px;

  box-sizing: border-box;

  resize: vertical;
}

.firespot-primary-btn {
  width: 100%;

  margin-top: 15px;
  padding: 11px 14px;

  border: 0;
  border-radius: 12px;

  background: #17694f;

  color: #ffffff;

  font-family: inherit;
  font-size: 10px;
  font-weight: 800;

  cursor: pointer;
}

/* =========================================================
   FIRESPOT — DOKUMENTASI FOTO
   ========================================================= */

.firespot-photo-help {
  display: block;

  margin-bottom: 8px;

  color: #7a8981;

  font-size: 9px;
  line-height: 1.45;
}

.firespot-photo-input {
  display: none;
}

.firespot-photo-add {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  min-height: 42px;

  border: 1px dashed #aebdb5;
  border-radius: 12px;

  background: #f8fbf9;

  color: #416457;

  font-size: 10px;
  font-weight: 800;

  cursor: pointer;
}

.firespot-photo-add-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  border-radius: 50%;

  background: #e5f1eb;

  color: #17694f;

  font-size: 15px;
  line-height: 1;
}

.firespot-photo-preview {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 7px;

  margin-top: 9px;
}

.firespot-photo-item {
  position: relative;

  overflow: hidden;

  border-radius: 10px;

  background: #edf2ef;
}

.firespot-photo-item img {
  display: block;

  width: 100%;
  aspect-ratio: 1 / 1;

  object-fit: cover;
}

.firespot-photo-item > span {
  display: block;

  padding: 4px 5px;

  color: #62736a;

  font-size: 8px;
  text-align: center;
}

.firespot-photo-remove {
  position: absolute;

  top: 4px;
  right: 4px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(30,40,35,.72);

  color: #ffffff;

  font-size: 16px;
  line-height: 1;

  cursor: pointer;
}

/* FIRESPOT — PHOTO GEOTAG */

.firespot-photo-meta {
  display: flex;
  flex-direction: column;

  gap: 2px;

  padding: 5px 6px 6px;

  background: #ffffff;
}

.firespot-photo-meta strong {
  color: #344b40;

  font-size: 8px;
  font-weight: 800;
}

.firespot-photo-meta span {
  color: #718078;

  font-size: 7px;
  line-height: 1.3;
  word-break: break-word;
}

/* FIRESPOT — GPS QUALITY */

.firespot-photo-gps-quality {
  font-weight: 700;
}

.firespot-photo-gps-quality.good {
  color: #25754f;
}

.firespot-photo-gps-quality.medium {
  color: #a66b14;
}

.firespot-photo-gps-quality.low {
  color: #b3483d;
}

.firespot-photo-retry-gps {
  align-self: flex-start;

  margin-top: 3px;
  padding: 3px 6px;

  border: 0;
  border-radius: 6px;

  background: #eef4f1;

  color: #27634d;

  font-family: inherit;
  font-size: 7px;
  font-weight: 800;

  cursor: pointer;
}

.firespot-photo-retry-gps:disabled {
  opacity: .55;
}

/* =========================================================
   FIRESPOT — PHOTO WATERMARK
   ========================================================= */

.firespot-photo-image-wrap {
  position: relative;

  overflow: hidden;

  background: #1f2824;
}

.firespot-photo-image-wrap img {
  display: block;

  width: 100%;
  aspect-ratio: 1 / 1;

  object-fit: cover;
}

.firespot-photo-watermark {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  flex-direction: column;

  gap: 1px;

  padding: 18px 5px 5px;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0),
      rgba(0,0,0,.72)
    );

  color: #ffffff;

  pointer-events: none;
}

.firespot-photo-watermark strong {
  font-size: 7px;
  font-weight: 800;
  line-height: 1.2;
}

.firespot-photo-watermark span {
  font-size: 6px;
  font-weight: 600;
  line-height: 1.25;

  text-shadow:
    0 1px 2px
    rgba(0,0,0,.7);
}

/* =========================================================
   HOTSPOT MAP — FIRESPOT
   ========================================================= */

.firespot-map-marker-wrapper {
  background: transparent;
  border: 0;
}

.firespot-map-marker {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  border: 2px solid #ffffff;
  border-radius: 50%;

  box-shadow:
    0 2px 7px
    rgba(0,0,0,.38);

  font-size: 17px;
  line-height: 1;
}

.firespot-map-marker.active {
  background: #d7473e;
}

.firespot-map-marker.controlled {
  background: #e89a31;
}

.firespot-map-marker.extinguished {
  background: #51836a;
}

.firespot-map-marker.unknown {
  background: #777777;
}

.firespot-map-popup {
  display: grid;

  gap: 4px;

  min-width: 180px;

  font-size: 12px;
}

.firespot-map-popup > strong {
  font-size: 14px;
}

/* =========================================================
   MENU — COMING SOON
   ========================================================= */

.menu-card[data-coming-soon="true"] {
  position: relative;
}

.menu-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 4px;
  padding: 3px 7px;

  border-radius: 999px;

  background: rgba(70, 86, 79, .10);

  color: #65736d;

  font-size: 8px;
  font-weight: 800;
  line-height: 1;

  letter-spacing: .2px;
  text-transform: uppercase;
}

/* =========================================================
   MENU — INACTIVE / COMING SOON
   ========================================================= */

.menu-card[data-coming-soon="true"] {
  position: relative;

  background: #f1f3f2;

  border-color: #d9dedb;

  color: #89918d;

  box-shadow: none;

  cursor: default;
}

.menu-card[data-coming-soon="true"] .menu-icon-img {
  opacity: .45;
  filter: grayscale(1);
}

.menu-card[data-coming-soon="true"] .menu-title {
  color: #858d89;
}

.menu-card[data-coming-soon="true"] .menu-coming-soon {
  position: absolute;

  top: 7px;
  right: 7px;

  margin: 0;
  padding: 3px 6px;

  border-radius: 999px;

  background: #dfe3e1;

  color: #6f7773;

  font-size: 7px;
  font-weight: 800;

  letter-spacing: .3px;
  text-transform: uppercase;
}

.menu-card[data-coming-soon="true"]:active {
  transform: none;
}

/* =========================================================
   HOTSPOT MAP — VERIFY BUTTON CENTER
   ========================================================= */

.hotspot-map-verify-btn {
  display: block;

  width: fit-content;

  margin:
    10px auto 0;

  text-align: center;
}

/* =========================================================
   FIRESPOT MAP — DISTINCT FROM HOTSPOT
   ========================================================= */

.firespot-map-marker {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  width: 30px;
  height: 30px;

  font-size: 25px;
  line-height: 30px;

  filter:
    drop-shadow(0 2px 2px rgba(0,0,0,.45));
}

.firespot-map-marker.active {
  background: transparent !important;
}

.firespot-map-marker.controlled {
  background: transparent !important;
}

.firespot-map-marker.extinguished {
  background: transparent !important;
}

.firespot-map-marker.unknown {
  background: transparent !important;
}

/* =========================================================
   DATA TERSIMPAN
   ========================================================= */

.stored-data-body {
  display: grid;
  gap: 14px;
}

.stored-sync-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 10px 12px;

  border: 1px solid #dfe7e2;
  border-radius: 12px;

  background: #ffffff;
}

.stored-sync-button {
  appearance: none;

  border: 0;
  border-radius: 10px;

  padding: 9px 12px;

  font: inherit;
  font-size: 11px;
  font-weight: 700;

  color: #ffffff;
  background: #347154;

  cursor: pointer;
}

.stored-sync-button:disabled {
  opacity: 0.55;
  cursor: default;
}

.stored-sync-message {
  flex: 1;

  font-size: 10px;
  line-height: 1.35;

  color: #718079;
  text-align: right;
}

.stored-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.stored-summary-card {
  display: flex;
  flex-direction: column;
  gap: 3px;

  padding: 12px 8px;

  border: 1px solid #dde4e0;
  border-radius: 12px;

  background: #ffffff;

  text-align: center;
}

.stored-summary-card strong {
  font-size: 20px;
}

.stored-summary-card span {
  font-size: 9px;
  color: #66736d;
}

.stored-section {
  display: grid;
  gap: 8px;
}

.stored-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stored-section-head span {
  font-size: 10px;
  color: #718079;
}

.stored-list {
  display: grid;
  gap: 8px;
}

.stored-item {
  display: grid;
  gap: 7px;

  padding: 11px;

  border: 1px solid #dfe5e2;
  border-radius: 12px;

  background: #ffffff;
}

.stored-item-head,
.stored-item-meta,
.stored-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stored-item-meta,
.stored-item-footer,
.stored-item-location {
  font-size: 9px;
  color: #66736d;
}

.stored-sync-status {
  padding: 3px 6px;

  border-radius: 999px;

  font-size: 8px;
  font-weight: 800;
}

.stored-sync-status.pending {
  background: #fff0d8;
  color: #a86813;
}

.stored-sync-status.synced {
  background: #e4f3ea;
  color: #347154;
}

.stored-empty {
  padding: 16px;

  border: 1px dashed #d8dfdb;
  border-radius: 12px;

  color: #78827d;

  font-size: 10px;
  text-align: center;
}

/* =========================================================
   DATA TERSIMPAN — DETAIL
   ========================================================= */

.stored-item-clickable {
  cursor: pointer;
}

.stored-item-clickable:active {
  transform: scale(.99);
}

.stored-detail-body {
  display: grid;
  gap: 14px;
}

.stored-detail-card,
.stored-detail-section {
  display: grid;
  gap: 10px;

  padding: 12px;

  border: 1px solid #dfe5e2;
  border-radius: 12px;

  background: #ffffff;
}

.stored-detail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;
}

.stored-detail-fields {
  display: grid;

  gap: 8px;

  margin: 0;
}

.stored-detail-fields > div {
  display: grid;
  gap: 2px;

  padding-bottom: 7px;

  border-bottom: 1px solid #edf0ee;
}

.stored-detail-fields > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stored-detail-fields dt {
  font-size: 9px;

  color: #77827d;
}

.stored-detail-fields dd {
  margin: 0;

  font-size: 11px;
  font-weight: 650;

  color: #29332f;
}

.stored-detail-uuid {
  overflow-wrap: anywhere;
}

.stored-detail-photo-grid {
  display: grid;
  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 8px;
}

.stored-detail-photo {
  overflow: hidden;

  border: 1px solid #dfe5e2;
  border-radius: 10px;

  background: #f7f8f7;
}

.stored-detail-photo-image-wrap {
  position: relative;
  overflow: hidden;
}

.stored-detail-photo img {
  display: block;

  width: 100%;
  aspect-ratio: 4 / 3;

  object-fit: cover;
}

.stored-detail-photo-info {
  display: grid;

  gap: 2px;

  padding: 7px;
}

.stored-detail-photo-info strong {
  font-size: 10px;
}

.stored-detail-photo-info span {
  font-size: 8px;

  color: #69756f;
}
