:root {
  --green: #2f5d3a;
  --green-dark: #1f3f27;
  --cream: #f7f5ef;
  --gold: #c8a45e;
  --text: #2b2b28;
  --available: #2f7d4f;
  --unavailable: #b3413a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--cream);
}

a { color: inherit; text-decoration: none; }

.navbar {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 10;
}
.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}
.brand img {
  height: 44px;
  width: auto;
  border-radius: 8px;
  background: #fff;
  padding: 4px 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.brand-center { justify-content: center; margin-bottom: 16px; }
.navbar nav { display: flex; align-items: center; gap: 22px; }
.navbar nav a { color: #eee; font-weight: 500; }
.navbar nav a:hover { color: var(--gold); }

/* Phone button */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 10px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  transition: background 0.15s, border-color 0.15s;
}
.nav-phone:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.nav-phone svg { flex-shrink: 0; }
/* Mobile-only phone (left of hamburger): hidden on desktop */
.nav-phone-mobile { display: none; }
/* Desktop-only phone (inside nav, left of Apply Now): visible on desktop */
.nav-phone-desktop { display: flex; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle-open span:nth-child(2) { opacity: 0; }
.nav-toggle-open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.hero {
  background-size: cover;
  background-position: center bottom;
  color: #fff;
  padding: 120px 24px;
  text-align: center;
}
.hero-content h1 { font-size: 3rem; margin: 0 0 12px; letter-spacing: 1px; }
.hero-content p { font-size: 1.15rem; max-width: 620px; margin: 0 auto 8px; }
.hero-rent { font-weight: 700; color: var(--gold); font-size: 1.3rem; margin-bottom: 24px !important; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: #d8b876; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: rgba(200,164,94,0.15); }
.btn-outline-dark {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid var(--green-dark);
  margin-left: 12px;
}
.btn-outline-dark:hover { background: rgba(31,63,39,0.08); }
.btn-small { padding: 8px 16px; font-size: 0.9rem; }

.about, .units, .contact { max-width: 1100px; margin: 0 auto; padding: 64px 24px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-grid img { width: 100%; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.about-text h2 { color: var(--green); font-size: 2rem; margin-top: 0; }
.amenities { padding-left: 20px; line-height: 1.8; }
.amenities li::marker { color: var(--gold); }

.units h2, .contact h2 { color: var(--green); font-size: 2rem; }
.units-sub { color: #666; margin-bottom: 28px; }

.unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.unit-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  border-left: 5px solid var(--available);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.unit-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.1); }
.unit-card-top { display: flex; justify-content: space-between; align-items: center; }
.unit-card h3 { margin: 0; font-size: 1.15rem; }
.unit-detail { color: #666; margin: 8px 0 4px; }
.unit-rent { font-weight: 700; color: var(--green); margin: 0; }
.unit-deposit-sm { color: #888; font-size: 0.8rem; margin: 2px 0; }
.unit-date { color: #888; font-size: 0.85rem; margin: 6px 0 10px; }
.unit-link { color: var(--green); font-weight: 600; font-size: 0.9rem; }
.no-units { color: #666; font-style: italic; }

/* Unit detail page */
.unit-page { max-width: 900px; margin: 0 auto; padding: 40px 24px 64px; }
.unit-page-head { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.unit-page-head h1 { color: var(--green); margin: 0; }
.unit-page-sub { color: #666; margin-top: 6px; }
.unit-deposit { color: #666; margin-top: 4px; font-size: 0.95rem; }
.unit-section { margin-top: 40px; }
.unit-section h2 { color: var(--green); font-size: 1.4rem; margin-bottom: 16px; }
.unit-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.unit-gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.unit-floorplan-tour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.unit-floorplan-tour-grid .unit-floorplan-col,
.unit-floorplan-tour-grid .unit-tour-col { min-width: 0; }
.floorplan-wrap {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.floorplan-wrap img { width: 100%; display: block; }
.unit-tour-wrap {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  aspect-ratio: 16/9;
}
.unit-tour-wrap iframe,
.unit-tour-wrap video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
}
@media (max-width: 700px) {
  .unit-floorplan-tour-grid { grid-template-columns: 1fr; }
}
.unit-cta { text-align: center; }

.badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
}
.badge-available { background: var(--available); }
.badge-unavailable { background: var(--unavailable); }
.badge-coming-soon { background: #b8860b; }

.contact { text-align: center; }
.contact p { color: #555; margin-bottom: 24px; }
.contact-doc-link { margin-top: 18px !important; margin-bottom: 0 !important; }
.contact-doc-link a { color: var(--green); font-weight: 600; }
.contact-doc-link a:hover { color: var(--gold); }

/* Document / PDF viewer page */
.doc-page { max-width: 900px; margin: 0 auto; padding: 40px 24px 64px; }
.doc-page h1 { color: var(--green); margin: 16px 0 6px; }
.doc-page-sub { color: #666; margin-bottom: 20px; }
.doc-page-sub a { color: var(--green); font-weight: 600; }
.doc-frame-wrap {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  padding: 20px;
}
.doc-pages { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.doc-page-canvas {
  max-width: 100%;
  height: auto;
  box-shadow: 0 1px 8px rgba(0,0,0,0.15);
  border-radius: 4px;
}
.doc-loading { color: #888; text-align: center; padding: 60px 0; }
.doc-loading a { color: var(--green); font-weight: 600; }

/* Sub-tabs (Photos & Tours) */
.subtabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #e3e0d6;
  margin: 24px 0 28px;
}
.subtab {
  padding: 10px 20px;
  font-weight: 600;
  color: #777;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.subtab:hover { color: var(--green); }
.subtab.active { color: var(--green); border-bottom-color: var(--gold); }
.subtab-panel { min-height: 200px; }
.photo-category { margin-bottom: 40px; }
.photo-category:last-child { margin-bottom: 0; }
.photo-category-title { color: var(--green); font-size: 1.3rem; margin: 0 0 16px; }
.gallery-hero-photo { width: 100%; max-height: 520px; object-fit: cover; border-radius: 10px; display: block; }
.gallery-building-rest { margin-top: 0; }
.gallery-hero-figure { margin: 0 0 16px; }
.gallery-photo-figure { margin: 0; }
.gallery-photo-caption {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}
.gallery-hero-figure .gallery-photo-caption { text-align: left; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.media-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.media-embed { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.media-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.media-label { padding: 12px 16px; margin: 0; font-weight: 600; color: var(--green); font-size: 0.95rem; }
.media-embed-thumb { pointer-events: none; }
.media-click-shield { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.lb-photo { cursor: pointer; }
.lb-photo:hover { opacity: 0.88; transition: opacity 0.15s; }
.lb-media-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.14); transition: box-shadow 0.15s; }

/* Lightbox overlay */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.92);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  outline: none;
}
.lb-overlay[hidden] { display: none; }
.lb-content {
  position: relative;
  max-width: min(92vw, 1200px);
  max-height: 80vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  max-width: 100%; max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}
.lb-iframe {
  width: min(90vw, 1100px);
  height: min(80vh, 620px);
  border: none;
  border-radius: 6px;
  display: block;
}
.lb-close {
  position: fixed; top: 18px; right: 24px;
  background: none; border: none;
  color: #fff; font-size: 2.4rem; line-height: 1;
  cursor: pointer; padding: 4px 10px;
  opacity: 0.8; z-index: 9001;
}
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: none;
  color: #fff; font-size: 3rem; line-height: 1;
  cursor: pointer; padding: 12px 18px;
  border-radius: 6px; z-index: 9001;
  transition: background 0.15s;
}
.lb-nav:hover { background: rgba(255,255,255,0.25); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-label {
  color: #fff; font-size: 1rem; font-weight: 600;
  margin: 14px 0 0; text-align: center;
}
.lb-counter {
  color: rgba(255,255,255,0.55); font-size: 0.85rem;
  margin: 6px 0 0; text-align: center;
}
@media (max-width: 600px) {
  .lb-nav { font-size: 2rem; padding: 8px 12px; }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  max-width: 640px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
}
.contact-form .optional { font-weight: 400; color: #999; }
.contact-form label[hidden] { display: none; }
.contact-form .full-width { grid-column: 1 / -1; }
.contact-form input,
.contact-form textarea {
  padding: 9px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
.contact-form-actions { grid-column: 1 / -1; }
.contact-success {
  background: #f7f5ef;
  border: 1px solid #e3e0d6;
  border-radius: 10px;
  padding: 24px;
  max-width: 640px;
}
.contact-success p { margin: 0 0 12px; }
.contact-error {
  background: #fbe9e7;
  border: 1px solid #e6a39a;
  color: #8a2f24;
  border-radius: 8px;
  padding: 12px 16px;
  max-width: 640px;
  margin: 0 0 16px;
}

.admin-message-list { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 14px; }
.admin-message {
  background: #f7f5ef;
  border: 1px solid #e3e0d6;
  border-radius: 8px;
  padding: 14px 16px;
}
.admin-message-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.admin-message-name { font-weight: 700; color: var(--green); }
.admin-message-date { font-size: 0.8rem; color: #999; }
.admin-message-contact { margin: 4px 0; font-size: 0.85rem; color: #555; }
.admin-message-referral { margin: 4px 0; font-size: 0.85rem; color: #555; }
.admin-message-contact a { color: var(--green); }
.admin-message-body { margin: 8px 0; white-space: pre-wrap; }

.neighborhood-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 8px 0 36px;
}
.neighborhood-highlight {
  background: #f7f5ef;
  border: 1px solid #e3e0d6;
  border-radius: 10px;
  padding: 18px;
}
.neighborhood-highlight h3 {
  color: var(--green);
  font-size: 1rem;
  margin: 0 0 8px;
}
.neighborhood-highlight p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
}
.neighborhood-section { margin-bottom: 36px; }
.neighborhood-section h2 { color: var(--green); margin: 0 0 12px; }
.neighborhood-list { margin: 0; padding-left: 20px; }
.neighborhood-list li { margin-bottom: 6px; }
.map-embed {
  position: relative;
  width: 100%;
  padding-top: 50%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e3e0d6;
}
.map-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
@media (max-width: 800px) {
  .neighborhood-highlights { grid-template-columns: 1fr; }
  .map-embed { padding-top: 75%; }
  .contact-form { grid-template-columns: 1fr; }
}

.footer {
  text-align: center;
  padding: 28px;
  color: #777;
  font-size: 0.9rem;
  border-top: 1px solid #e3e0d6;
}
.footer-name {
  color: #555;
  font-weight: 700;
  margin: 0 0 4px;
}
.footer-address,
.footer-phone,
.footer-email {
  margin: 0 0 4px;
}
.footer-address a,
.footer-phone a,
.footer-email a {
  color: #777;
}
.footer-address a:hover,
.footer-phone a:hover,
.footer-email a:hover {
  color: var(--green);
}
.footer-bottom-row {
  position: relative;
  margin: 8px auto 0;
}
.footer-bottom-row p { margin: 0; }
.admin-footer-link {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  color: #aaa;
  font-size: 0.8rem;
}
.admin-footer-link:hover { color: var(--green); }

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  padding: 24px;
}
.login-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  width: 100%;
  max-width: 380px;
  text-align: center;
}
.login-card h1 { font-size: 1.4rem; color: var(--green); margin-top: 0; }
.login-card form { display: flex; flex-direction: column; gap: 16px; text-align: left; margin-top: 20px; }
.login-card label { font-weight: 600; font-size: 0.9rem; display: flex; flex-direction: column; gap: 6px; }
.login-card input {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.login-card .btn { margin-top: 8px; }
.back-link { display: inline-block; margin-top: 18px; color: var(--green); font-weight: 600; }
.error { color: var(--unavailable); font-weight: 600; }

/* Admin dashboard */
.admin-main { max-width: 900px; margin: 0 auto; padding: 40px 24px; }
.admin-main h1 { color: var(--green); }

.admin-settings {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  padding: 16px 20px 20px;
  margin-bottom: 32px;
}
.admin-units { display: flex; flex-direction: column; gap: 14px; }
.admin-unit {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
}
.admin-unit summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-weight: 600;
}
.admin-unit summary::-webkit-details-marker { display: none; }
.admin-unit summary::before {
  content: '▸';
  color: var(--green);
  transition: transform 0.15s ease;
}
.admin-unit[open] summary::before { transform: rotate(90deg); }
.admin-unit-name { color: var(--green); min-width: 90px; }
.admin-unit-meta { color: #888; font-weight: 400; font-size: 0.85rem; margin-left: auto; }

.admin-unit-body { padding: 0 20px 20px; border-top: 1px solid #eee; }
.admin-edit-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin-top: 16px;
}
.admin-edit-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
}
.admin-edit-form .full-width { grid-column: 1 / -1; }
.admin-edit-form input,
.admin-edit-form textarea {
  padding: 9px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
.admin-edit-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
}
.btn-link { color: var(--green); font-weight: 600; font-size: 0.9rem; }
.btn-link.admin-media-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--unavailable);
  padding: 0;
  font: inherit;
  font-weight: 600;
  font-size: 0.8rem;
}

.admin-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.admin-media-block h3 { margin: 0 0 12px; font-size: 1rem; color: var(--green); }
.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.admin-media-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}
.admin-main-badge { position: absolute; top: 5px; left: 5px; background: var(--green, #2d5a3d); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 2px 7px; border-radius: 10px; z-index: 2; letter-spacing: 0.03em; }
.admin-cat-note { font-size: 0.75rem; font-weight: 400; color: #888; }
.admin-media-item img { width: 100%; height: 90px; object-fit: cover; display: block; }
.admin-media-item form {
  background: rgba(255,255,255,0.95);
  text-align: center;
  padding: 3px 4px;
}
.photo-draggable.admin-media-item { display: flex; flex-direction: column; }
.admin-photo-label-form {
  display: flex;
  gap: 4px;
  border-top: 1px solid #eee;
}
.admin-photo-label-form input[type="text"] {
  flex: 1;
  font-size: 0.75rem;
  padding: 2px 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-width: 0;
}
.admin-photo-label-form .btn-link {
  font-size: 0.75rem;
  white-space: nowrap;
}
.admin-media-heading { color: var(--green); font-size: 1rem; margin: 28px 0 12px; }
.photo-save-status { min-height: 1.2em; color: var(--available); font-size: 0.85rem; font-weight: 600; margin: 0 0 8px; }
.photo-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.photo-category-col h4 { color: var(--green); font-size: 0.9rem; margin: 0 0 10px; }
.photo-dropzone {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 80px;
  background: #f7f5ef;
  border: 1px dashed #d8d4c8;
  border-radius: 8px;
  padding: 10px;
}
.photo-draggable {
  cursor: grab;
  user-select: none;
}
.photo-draggable.dragging { opacity: 0.4; }
.admin-sortable-item { cursor: default; user-select: none; }
.admin-sortable-item.dragging { opacity: 0.4; }
.drag-handle { cursor: grab; font-size: 1.1rem; color: #aaa; padding: 0 6px; flex-shrink: 0; }
.drag-handle:hover { color: #555; }
.admin-link-list li { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.admin-reorder-status { font-size: 0.82rem; color: #2d5a3d; font-weight: 600; min-height: 1.2em; display: block; margin-bottom: 8px; }
.photo-draggable img { height: 110px; }
.admin-upload-category { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 600; color: #555; }
.admin-upload-category select {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
}

@media (max-width: 900px) {
  .photo-categories { grid-template-columns: 1fr; }
}
.admin-link-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.admin-link-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f7f5ef;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
}
.admin-link-list li a { color: var(--green); }
.admin-link-edit-form { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.admin-link-edit-form input[type="text"] {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  width: 220px;
}
.admin-link-url {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #888 !important;
  font-size: 0.8rem;
}
.admin-floorplan-current { max-width: 220px; margin-bottom: 14px; }
.admin-floorplan-current img { height: auto; }
.admin-upload-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-upload-form input[type="file"] { font-size: 0.85rem; max-width: 220px; }

@media (max-width: 720px) {
  .admin-media { grid-template-columns: 1fr; }
}
.live-status { margin: 16px 0 0; font-size: 0.9rem; color: #555; }
.live-status-available { color: var(--available); }
.live-status-unavailable { color: #888; }
.admin-date-live-note { display: block; font-size: 0.8rem; color: #777; margin-bottom: 5px; }
.admin-date-live-note strong { color: #444; }
.admin-date-live-note em { color: var(--green); margin-left: 4px; }
.admin-date-row { display: flex; align-items: center; gap: 10px; }
.admin-date-clear { color: #c0392b; font-size: 0.8rem; white-space: nowrap; }
.admin-date-override-note { display: block; font-size: 0.8rem; color: #b8860b; margin-top: 4px; }
.live-warning {
  background: #fbe9e7;
  color: #8a3b32;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

@media (max-width: 860px) {
  .navbar-inner { position: relative; }
  .nav-toggle { display: flex; }
  /* Mobile: show icon-only phone button left of hamburger */
  .nav-phone-mobile { display: flex; margin-left: auto; margin-right: 12px; padding: 6px 8px; }
  .nav-phone-mobile .nav-phone-label { display: none; }
  /* Desktop phone inside nav: hide on mobile (nav collapses) */
  .nav-phone-desktop { display: none; }
  .navbar nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: var(--green-dark);
    padding: 18px 24px 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  }
  .navbar nav.nav-open { display: flex; }
  .navbar nav .btn { margin-top: 4px; }
}

@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 18px; }
  .hero-content h1 { font-size: 2.2rem; }
}

.admin-unit-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.admin-unit-filters label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.unit-special-badge {
  display: inline-block;
  background: #fff3cd;
  color: #8a5a00;
  border: 1px solid #ffe08a;
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 6px 0;
}
.badge-special {
  background: #fff3cd;
  color: #8a5a00;
  border: 1px solid #ffe08a;
}

.sitewide-promo-banner {
  background: #c9302c;
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 10px 16px;
  font-size: 0.95rem;
}
.admin-help-text {
  font-size: 0.85rem;
  color: #666;
  margin: -4px 0 10px;
}
