.status-completed {
  --s-bg: #5AAA3A;
  --s-pill: #EAF3DE;
  --s-text: #5AAA3A;
}

.status-recognised {
  --s-bg: #2D5016;
  --s-pill: #D6E8C8;
  --s-text: #2D5016;
}

.status-progress {
  --s-bg: #C8900A;
  --s-pill: #FAEEDA;
  --s-text: #C8900A;
}

.status-scoping {
  --s-bg: #888780;
  --s-pill: #F1EFE8;
  --s-text: #888780;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--s-text);
  flex-shrink: 0;
}

.acc-popup-pill,
.detail-pill {
  background: var(--s-pill);
  color: var(--s-text);
}

.acc-popup-bar-fill,
.progress-bar-fill {
  background: var(--s-bg);
}

.marker-dot {
  position: relative;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  background: var(--s-bg);
  cursor: pointer;
  transition: transform 0.15s;
}
.marker-dot.active {
  transform: scale(1.3);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.marker-pulse {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid var(--s-bg);
  opacity: 0;
  animation: pulse 2.5s ease-out infinite;
}

.state-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 300;
}

body {
  background: #F7F6F3;
  color: #111110;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.breadcrumb-item {
  cursor: pointer;
  transition: color 0.15s;
}
.breadcrumb-item:hover {
  color: #E8C020;
}
.breadcrumb-item.active {
  color: #E8C020;
  cursor: default;
}
.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.2);
}

.main {
  display: grid;
  grid-template-columns: 360px 1fr;
  height: 100vh;
}

@media (min-width: 1200px) {
  .main {
    grid-template-columns: 400px 1fr;
  }
}
.crag-item, .state-item {
  width: 100%;
  display: block;
}

.sidebar {
  background: #FFFFFF;
  border-right: 1px solid rgba(17, 17, 16, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sidebar-top {
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(17, 17, 16, 0.08);
  flex-shrink: 0;
}
.sidebar-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #5AAA3A;
  margin-bottom: 6px;
}
.sidebar-title {
  font-family: "Raleway", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #111110;
  padding: 8px 0 6px;
  line-height: 1.2;
}
.sidebar-intro {
  font-size: 13px;
  color: rgba(17, 17, 16, 0.55);
  line-height: 1.7;
}
.sidebar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-bottom: 1px solid rgba(17, 17, 16, 0.08);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.sidebar-nav:hover {
  background: #F7F6F3;
}
.sidebar-nav-arrow {
  font-size: 13px;
  color: #2D5016;
}
.sidebar-nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2D5016;
}

.list-view {
  flex: 1;
  overflow-y: auto;
  display: none;
  flex-direction: column;
}
.list-view.visible {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.state-item {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(17, 17, 16, 0.08);
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.state-item:hover {
  background: #F7F6F3;
}
.state-item.active {
  background: #2D5016;
}
.state-item.active .state-name {
  color: #FFFFFF;
}
.state-item.active .state-meta {
  color: rgba(255, 255, 255, 0.45);
}
.state-item.active .state-arrow {
  color: rgba(255, 255, 255, 0.4);
}

.state-name {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111110;
}

.state-meta {
  font-size: 16px;
  color: rgba(17, 17, 16, 0.55);
  margin-top: 3px;
}

.state-badge {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.badge-active-state {
  background: #EAF3DE;
  color: #2D5016;
}

.badge-soon {
  background: rgba(52, 52, 50, 0.1);
  color: rgba(17, 17, 16, 0.55);
}

.state-arrow {
  font-size: 16px;
  color: rgba(17, 17, 16, 0.55);
  margin-left: 8px;
}

.crag-item {
  padding: 14px 24px;
  border-bottom: 1px solid rgba(17, 17, 16, 0.08);
  cursor: pointer;
  transition: background 0.15s;
}
.crag-item:hover {
  background: #F7F6F3;
}
.crag-item.active {
  background: #2D5016;
}
.crag-item.active .crag-name {
  color: #FFFFFF;
}
.crag-item.active .crag-meta,
.crag-item.active .crag-status-label {
  color: rgba(255, 255, 255, 0.45);
}
.crag-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.crag-name {
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111110;
  line-height: 1.2;
}

.crag-badge {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
}

.badge-completed {
  background: #EAF3DE;
  color: #2D5016;
}

.badge-recognised {
  background: #D6E8C8;
  color: #2D5016;
}

.badge-progress {
  background: #FAEEDA;
  color: #C8900A;
}

.badge-scoping {
  background: rgba(17, 17, 16, 0.06);
  color: rgba(17, 17, 16, 0.55);
}

.crag-meta {
  font-size: 14px;
  color: rgba(17, 17, 16, 0.55);
  margin-bottom: 6px;
}

.crag-status-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.crag-status-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sdot-done {
  background: #5AAA3A;
}
.sdot-progress {
  background: #C8900A;
  animation: pulse 2s ease-in-out infinite;
}
.sdot-scoping {
  background: #7c7b75;
}

.crag-status-label {
  font-size: 10px;
  color: rgba(17, 17, 16, 0.55);
}

.coming-soon {
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  gap: 12px;
}
.coming-soon.visible {
  display: flex;
}

.cs-icon {
  font-size: 32px;
  margin-bottom: 4px;
  opacity: 0.4;
}

.cs-title {
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111110;
}

.cs-sub {
  font-size: 14px;
  color: rgba(17, 17, 16, 0.55);
  line-height: 1.7;
  max-width: 260px;
}

.cs-back {
  margin-top: 8px;
  background: transparent;
  color: #2D5016;
  border: 1px solid #2D5016;
  font-family: "Nunito Sans", sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cs-back:hover {
  background: #2D5016;
  color: #FFFFFF;
}

.detail-panel {
  display: none;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
.detail-panel.visible {
  display: flex;
}

.detail-back {
  padding: 12px 24px;
  border-bottom: 1px solid rgba(17, 17, 16, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: #F7F6F3;
  flex-shrink: 0;
  transition: background 0.15s;
}
.detail-back:hover {
  background: #EDEAE3;
}
.detail-back-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2D5016;
}

.detail-content {
  padding: 20px 24px 32px;
  flex: 1;
  overflow-y: auto;
}

.detail-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.detail-name {
  font-family: "Raleway", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #111110;
  margin-bottom: 6px;
  line-height: 1.15;
}

.detail-location {
  font-size: 14px;
  color: rgba(17, 17, 16, 0.55);
  margin-bottom: 10px;
}

.detail-section {
  margin-bottom: 16px;
}
.detail-section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(17, 17, 16, 0.55);
  margin-bottom: 7px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(17, 17, 16, 0.08);
}

.detail-desc {
  font-size: 13px;
  line-height: 1.75;
  color: #3A3A36;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.stat-card {
  background: #F7F6F3;
  padding: 11px 13px;
  border: 1px solid rgba(17, 17, 16, 0.08);
}

.stat-num {
  font-family: "Raleway", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #2D5016;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(17, 17, 16, 0.55);
}

.progress-bar-bg {
  height: 4px;
  background: rgba(17, 17, 16, 0.07);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}
.progress-bar-bg-fill {
  height: 100%;
  border-radius: 2px;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 2px;
}

.detail-council {
  font-size: 15px;
  color: rgba(17, 17, 16, 0.55);
  margin-bottom: 16px;
}

.milestones {
  list-style: none;
}

.milestone {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(17, 17, 16, 0.08);
}
.milestone:last-child {
  border-bottom: none;
}

.mdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}
.mdot-done {
  background: #5AAA3A;
}
.mdot-progress {
  background: #C8900A;
  animation: pulse 2s ease-in-out infinite;
}
.mdot-todo {
  background: transparent;
  border: 1.5px solid #7c7b75;
}

.mtext {
  font-size: 13px;
  line-height: 1.55;
}
.mtext-done {
  color: rgba(17, 17, 16, 0.55);
}
.mtext-progress {
  color: #3A3A36;
}
.mtext-todo {
  color: #9e9c95;
}

.info-strip {
  margin-top: 10px;
  padding: 11px 13px;
  background: #F7F6F3;
  border: 1px solid rgba(17, 17, 16, 0.08);
  font-size: 14px;
  color: rgba(17, 17, 16, 0.55);
  line-height: 1.7;
}
.info-strip strong {
  color: #3A3A36;
  font-weight: 600;
}

.loading-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 10px;
}

.spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(17, 17, 16, 0.08);
  border-top-color: #2D5016;
  animation: spin 0.8s linear infinite;
}

.loading-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(17, 17, 16, 0.55);
}

#map {
  width: 100%;
  height: 100%;
}

.leaflet-popup-content-wrapper {
  border-radius: 2px !important;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.15) !important;
  padding: 0 !important;
  font-family: "Nunito Sans", sans-serif !important;
}
.leaflet-popup-content {
  margin: 0 !important;
  min-width: 200px;
}
.leaflet-popup-tip-container {
  display: none !important;
}
.leaflet-popup-close-button {
  color: rgba(17, 17, 16, 0.55) !important;
  font-size: 20px !important;
  top: 8px !important;
  right: 8px !important;
}

.acc-popup {
  padding: 15px 18px 13px;
}
.acc-popup-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 9px;
}
.acc-popup-name {
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111110;
  margin-bottom: 3px;
}
.acc-popup-loc {
  font-size: 12px;
  color: rgba(17, 17, 16, 0.55);
  letter-spacing: 1px;
  margin-bottom: 9px;
}
.acc-popup-bar-bg {
  height: 3px;
  background: rgba(17, 17, 16, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}
.acc-popup-bar-fill {
  height: 100%;
  border-radius: 2px;
}
.acc-popup-link {
  font-size: 14px;
  color: #2D5016;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.state-popup {
  padding: 15px 18px 13px;
}
.state-popup-name {
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111110;
  margin-bottom: 4px;
}
.state-popup-meta {
  font-size: 11px;
  color: rgba(17, 17, 16, 0.55);
  margin-bottom: 10px;
}
.state-popup-link {
  font-size: 14px;
  color: #2D5016;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.state-popup-soon {
  font-size: 10px;
  color: rgba(17, 17, 16, 0.55);
  font-style: italic;
}

.map-legend {
  position: absolute;
  bottom: 28px;
  right: 12px;
  z-index: 1000;
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 16, 0.08);
  padding: 12px 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.legend-title {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(17, 17, 16, 0.55);
  margin-bottom: 10px;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.legend-row:last-child {
  margin-bottom: 0;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.legend-label {
  font-size: 12px;
  color: #3A3A36;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}
.sheet-handle {
  display: none;
  width: 36px;
  height: 4px;
  background: rgba(17, 17, 16, 0.12);
  border-radius: 2px;
  margin: 10px auto 0;
  flex-shrink: 0;
}

.mobile-tab-bar {
  display: none;
}

@media (max-width: 700px) {
  .sheet-handle {
    display: block;
  }
  .main {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: 100vh;
  }
  #map {
    height: 100vh;
  }
  .sidebar-top {
    padding: 18px 20px 14px;
  }
  .sidebar {
    position: fixed;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    height: calc(100vh - 56px - env(safe-area-inset-bottom, 0px));
    border-right: none;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.18);
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
  }
  .sidebar.sheet-open {
    transform: translateY(0);
  }
  .detail-content {
    padding-bottom: 48px;
  }
  .leaflet-bottom.leaflet-left {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .map-legend {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-tab-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    min-height: 56px;
    background: #FFFFFF;
    border-top: 1px solid rgba(17, 17, 16, 0.08);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    z-index: 2001;
  }
  .mobile-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 0;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(17, 17, 16, 0.55);
    font-family: "Nunito Sans", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-tab.active {
    color: #2D5016;
  }
  .mobile-tab svg {
    width: 20px;
    height: 20px;
  }
}

/*# sourceMappingURL=style.css.map */
