.brand-link { text-decoration: none; color: inherit; }

.fivepost-page {
  position: relative;
  z-index: 2;
  padding: 14px 14px 96px;
  max-width: 1200px;
  margin: 0 auto;
}

.fp-hero {
  padding: 22px;
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 18px;
  align-items: end;
}

.fp-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.fp-status-card {
  padding: 14px;
  border: 1px solid rgba(165,180,252,.16);
  background: rgba(15,23,42,.52);
  border-radius: 18px;
}

.fp-status {
  margin-top: 6px;
  font-weight: 800;
  color: #dbeafe;
  font-size: 14px;
}

.fp-control { margin-top: 14px; padding: 16px; }

.fp-control-row {
  display: grid;
  grid-template-columns: 1fr 120px auto auto;
  gap: 12px;
  align-items: end;
}

.fp-input-wrap label {
  display: block;
  font-size: 12px;
  color: rgba(203,213,225,.72);
  margin: 0 0 7px;
}

.fp-input-wrap input,
.fp-input-wrap select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(165,180,252,.18);
  border-radius: 15px;
  background: rgba(2,6,23,.58);
  color: #e0e7ff;
  padding: 0 13px;
  font: inherit;
  outline: none;
}

.fp-input-wrap input:focus,
.fp-input-wrap select:focus {
  border-color: rgba(34,211,238,.62);
  box-shadow: 0 0 0 3px rgba(34,211,238,.12);
}

.fp-btn { min-height: 44px; white-space: nowrap; }
.fp-note { margin-top: 11px; font-size: 13px; }

.fp-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  margin-top: 14px;
}

.fp-map-card, .fp-list-card { overflow: hidden; }

#map {
  width: 100%;
  height: 620px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(2,6,23,.7);
}

.fp-list-card {
  padding: 0;
  max-height: 620px;
  display: flex;
  flex-direction: column;
}

.fp-list-head {
  padding: 16px;
  border-bottom: 1px solid rgba(165,180,252,.12);
}

.fp-list-title {
  font-weight: 800;
  font-size: 18px;
  color: #e0e7ff;
}

.fp-list { overflow: auto; padding: 10px; }

.fp-point {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(165,180,252,.14);
  background: rgba(15,23,42,.48);
  border-radius: 18px;
  padding: 13px;
  color: #e5e7eb;
  cursor: pointer;
  margin-bottom: 10px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.fp-point:hover {
  transform: translateY(-1px);
  border-color: rgba(34,211,238,.5);
  background: rgba(15,23,42,.72);
}

.fp-point.active {
  border-color: rgba(34,211,238,.85);
  box-shadow: 0 0 0 3px rgba(34,211,238,.11);
}

.fp-point-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.fp-point-name { font-weight: 800; line-height: 1.2; }

.fp-point-type {
  font-size: 11px;
  color: #67e8f9;
  border: 1px solid rgba(103,232,249,.22);
  border-radius: 999px;
  padding: 4px 7px;
  white-space: nowrap;
}

.fp-point-address {
  margin-top: 7px;
  color: rgba(226,232,240,.82);
  font-size: 13px;
  line-height: 1.35;
}

.fp-point-meta {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fp-mini {
  font-size: 11px;
  color: rgba(226,232,240,.75);
  background: rgba(2,6,23,.42);
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 999px;
  padding: 5px 7px;
}

.fp-selected { margin-top: 14px; padding: 16px; }

#selectedJson {
  margin: 10px 0 0;
  white-space: pre-wrap;
  color: #c4b5fd;
  background: rgba(2,6,23,.58);
  border: 1px solid rgba(165,180,252,.14);
  border-radius: 16px;
  padding: 13px;
  max-height: 260px;
  overflow: auto;
  font-size: 12px;
}

.leaflet-container { background: #0b1020; }

@media (max-width: 900px) {
  .fp-hero, .fp-layout, .fp-control-row { grid-template-columns: 1fr; }
  .fp-status-grid { grid-template-columns: 1fr; }
  #map { height: 420px; }
  .fp-list-card { max-height: none; }
}
