:root{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#21302f;background:#f6f8f7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.top{background:#fff;padding:13px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e4eae8}.brand{font-size:21px;font-weight:850;letter-spacing:-.7px;color:#0e7266}.brand span{color:#243d37}.header-links{display:flex;gap:12px;align-items:center}.small{font-size:12px;color:#73817e}.pill{border:1px solid #d9e4e0;background:white;border-radius:999px;padding:8px 12px}.search{display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:13px 22px;background:#fff;border-bottom:1px solid #e4eae8}.field{display:flex;flex-direction:column;gap:5px;min-width:136px}.field label{font-weight:700;font-size:12px;color:#637671}.field input,.field select,.field textarea{border:1px solid #d8e4df;border-radius:11px;padding:11px 12px;background:#fff;color:#21302f;min-width:0;outline-color:#148d7c}.field textarea{min-height:75px}.btn{border:0;border-radius:11px;padding:11px 16px;background:#117d6d;color:white;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:hover{background:#08685d}.btn.secondary{background:#eff6f3;color:#126b60}.btn.danger{background:#b84b42}.btn:disabled{opacity:.45;cursor:not-allowed}.layout{display:grid;grid-template-columns:minmax(340px,42%) 1fr;height:calc(100dvh - 151px);min-height:520px}.results{overflow-y:auto;padding:18px 20px}.result-top{display:flex;align-items:center;justify-content:space-between}.muted{color:#71817d}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.listing{background:#fff;border:1px solid #e5eeea;border-radius:16px;overflow:hidden;cursor:pointer;box-shadow:0 4px 18px rgba(22,53,43,.035)}.listing:hover{border-color:#0e907d}.listing img{width:100%;height:150px;object-fit:cover;background:#e0e9e4}.listing-body{padding:11px}.listing h3{font-size:15px;margin:0 0 5px}.listing .info{font-size:12px;color:#6f817a}.listing .price{font-weight:800;margin-top:9px}.mapwrap{position:relative;min-height:400px}#map{height:100%;width:100%}.price-pin{background:white;border:2px solid #0a8a74;color:#124c44;border-radius:24px;padding:7px 9px;box-shadow:0 4px 12px #0002;font-weight:800;white-space:nowrap}.leaflet-div-icon{background:none;border:0}.notice{background:#fff6df;border:1px solid #f1dc9e;padding:9px 14px;border-radius:10px;color:#705914;font-size:13px;margin-bottom:12px}.empty{padding:28px;text-align:center;color:#697c73}.modal-bg{position:fixed;inset:0;z-index:2000;background:#0d2b2aaa;display:none;align-items:center;justify-content:center;padding:12px}.modal-bg.show{display:flex}.modal{background:white;width:min(860px,100%);max-height:94dvh;overflow-y:auto;border-radius:18px;position:relative}.close{position:absolute;right:13px;top:13px;z-index:2;background:#fff;border:0;width:34px;height:34px;border-radius:50%;font-size:22px;box-shadow:0 2px 12px #0002}.gallery{width:100%;height:280px;object-fit:cover;background:#dfe9e6}.modal-content{padding:21px}.detail-grid{display:grid;grid-template-columns:1fr 270px;gap:20px}.booking-box{border:1px solid #e1e9e6;border-radius:14px;padding:15px;display:flex;flex-direction:column;gap:12px}.booking-box .field{width:100%}.booking-box input{width:100%}.total{display:flex;justify-content:space-between;border-top:1px solid #e4eae8;padding-top:12px;font-weight:850}.status{font-size:13px;color:#546d64}.admin-wrap{max-width:1200px;margin:auto;padding:22px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel{background:#fff;border:1px solid #e4eae7;border-radius:16px;padding:20px;margin-bottom:18px}.panel h2{font-size:19px;margin:0 0 15px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.formgrid .wide{grid-column:1/-1}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}td,th{border-bottom:1px solid #edf0ef;text-align:left;padding:10px 8px}th{color:#697970}.actions{display:flex;gap:6px}.actions button{border:0;background:#ebf4f1;border-radius:8px;padding:6px 9px}.actions button.red{background:#ffedeb;color:#a63c32}.hidden{display:none!important}.mobile-tabs{display:none}#pointMap{height:220px;border-radius:11px;margin-top:7px}.help{font-size:12px;color:#74817d}@media(max-width:800px){.layout{display:block;height:auto;min-height:unset}.mapwrap{height:calc(100dvh - 205px);min-height:420px}.results{max-height:none}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-tabs{display:flex;position:fixed;bottom:17px;left:50%;transform:translateX(-50%);z-index:900;border-radius:100px;background:#133d38;padding:5px;box-shadow:0 5px 30px #0003}.mobile-tabs button{background:none;border:0;color:#fff;padding:10px 24px;font-weight:700;border-radius:100px}.mobile-tabs button.active{background:#fff;color:#0f675b}body.mobile-map .results{display:none}body.mobile-list .mapwrap{display:none}body.mobile-list .results{display:block;padding-bottom:90px}.detail-grid{grid-template-columns:1fr}.gallery{height:220px}.admin-grid{grid-template-columns:1fr}.search{padding:11px;gap:8px}.field{min-width:calc(50% - 6px);flex:1}.search .btn{width:100%}.top{padding:12px}.listing img{height:125px}.listing-body{padding:8px}}@media(max-width:390px){.cards{grid-template-columns:1fr}.header-links{font-size:12px}}

/* Admin-managed property rating and historical visitor totals */
.rating-summary{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:12px;color:#58736c}.stars{font-weight:800;color:#b37a00}.price-pin{min-width:166px;max-width:205px;padding:6px 10px;border-radius:13px;text-align:center;white-space:normal;font-size:13px;line-height:1.4}.price-pin .rating-summary{display:flex;flex-direction:column;gap:0;margin-top:2px;font-size:10px;line-height:1.2;color:#34534a}.price-pin .stars{font-size:12px}#detailRating .rating-summary{font-size:14px;margin:10px 0}

/* Compact map markers. Ratings and prior guest counts appear only on click. */
.compact-price-marker{background:transparent!important;border:0!important;}
.compact-price-marker .price-pin{display:flex;align-items:center;justify-content:center;width:84px;height:34px;min-width:0;max-width:none;padding:4px 7px;border:2px solid #0a8a74;border-radius:18px;background:#fff;color:#124c44;font-size:13px;font-weight:800;line-height:1;box-shadow:0 3px 9px #0002;white-space:nowrap;}
.property-map-popup{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#21302f;min-width:180px;}
.property-map-popup .popup-name{display:block;font-size:14px;margin-bottom:5px;}
.property-map-popup .popup-price{font-size:14px;font-weight:800;color:#0e7266;}
.property-map-popup .rating-summary{display:flex;flex-direction:column;align-items:flex-start;gap:3px;font-size:12px;line-height:1.4;margin:8px 0;}
.property-map-popup .popup-view{width:100%;margin-top:8px;padding:8px 12px;font-size:12px;border-radius:9px;}
.leaflet-popup-content{margin:14px;}

.custom-cluster {
  background: transparent;
  border: none;
}

.cluster-count {
  background: #087766;
  color: white;
  border: 2px solid white;
  border-radius: 25px;
  padding: 9px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px #0003;
}

.cluster-apartments {
  min-width: 240px;
  max-height: 320px;
  overflow-y: auto;
}

.cluster-apartment {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.cluster-apartment img {
  width: 80px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
}

.cluster-view {
  background: #087766;
  color: white;
  border: none;
  border-radius: 7px;
  padding: 6px 14px;
  cursor: pointer;
  margin-top: 6px;
}
