:root {
  --z-green: #0d6b4d;
  --z-green-dark: #094c37;
  --z-green-light: #e8f5f0;
  --z-gold: #c9a227;
  --z-text: #1a1a1a;
  --z-muted: #5c5c5c;
  --z-border: #e6e6e6;
  --z-card: #fff;
  --z-bg: #f3f4f6;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
.site-body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--z-text);
  background: var(--z-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.top-header {
  background: linear-gradient(180deg, var(--z-green) 0%, var(--z-green-dark) 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 16px;
  flex-wrap: wrap;
}
.logo-mark {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.logo-z {
  font-weight: 800;
  font-size: 1.5rem;
  background: #fff;
  color: var(--z-green);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.logo-text { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo-sub {
  font-size: 0.75rem;
  opacity: 0.9;
  width: 100%;
  margin-left: 40px;
  margin-top: -4px;
  font-weight: 500;
}
@media (min-width: 640px) {
  .logo-sub { width: auto; margin-left: 8px; margin-top: 0; }
}

.header-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-link {
  color: rgba(255,255,255,.92);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-link:hover { background: rgba(255,255,255,.12); }
.nav-link.is-active {
  background: rgba(255,255,255,.22);
  font-weight: 600;
}
.nav-admin {
  border: 1px solid rgba(255,255,255,.35);
  margin-left: 4px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0a5c44 0%, #0d6b4d 40%, #127a5c 100%);
  color: #fff;
  padding: 32px 0 40px;
}
.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
}
.hero p {
  margin: 0 0 20px;
  opacity: 0.92;
  font-size: 0.95rem;
  max-width: 560px;
}
.search-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-hover);
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .search-card {
    grid-template-columns: 1fr 1fr 140px;
    align-items: end;
  }
}
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--z-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--z-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}
.btn-primary {
  background: var(--z-green);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover { background: var(--z-green-dark); }

/* Chips row */
.chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}
.chip:hover { background: rgba(255,255,255,.28); }
.chip.is-on { background: #fff; color: var(--z-green); }

/* Main */
main.main { flex: 1; padding: 24px 0 40px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.section-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.muted { color: var(--z-muted); font-size: 0.9rem; }

/* Grid */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

.prop-card {
  background: var(--z-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.prop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.prop-card-img {
  position: relative;
  height: 200px;
  background: linear-gradient(120deg, #dfe9e6, #c5d9d0);
}
.prop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prop-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--z-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
}
.prop-price {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.prop-body { padding: 14px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.prop-title {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prop-meta {
  font-size: 0.82rem;
  color: var(--z-muted);
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.prop-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* Empty */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  background: var(--z-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.empty-state h3 { margin: 0 0 8px; }

/* Detail */
.detail-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .detail-layout { grid-template-columns: 1.2fr 380px; }
}
.detail-gallery {
  background: var(--z-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.detail-gallery .hero-img {
  height: min(52vh, 420px);
  background: #dfe9e6;
}
.detail-gallery .hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
}
.thumbs img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.85;
  border: 2px solid transparent;
}
.thumbs img:hover { opacity: 1; }
.thumbs img.is-feature-thumb {
  border-color: var(--z-green);
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(13, 74, 44, 0.2);
}
.detail-side {
  background: var(--z-card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  height: fit-content;
}
.detail-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--z-green);
  margin: 0 0 8px;
}
.detail-purpose {
  display: inline-block;
  background: var(--z-green-light);
  color: var(--z-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.detail-title { font-size: 1.35rem; font-weight: 700; margin: 0 0 12px; line-height: 1.3; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.spec {
  background: var(--z-bg);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
}
.spec b { display: block; font-size: 0.7rem; color: var(--z-muted); text-transform: uppercase; margin-bottom: 4px; }
.detail-desc {
  background: var(--z-card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-top: 8px;
}
.detail-desc h3 { margin: 0 0 12px; font-size: 1rem; }
.detail-desc p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.55;
  color: #333;
}
.btn-call {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--z-green);
  color: #fff !important;
  text-decoration: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 16px;
}
.btn-call:hover { background: var(--z-green-dark); }

/* Admin */
.admin-body { background: #eef1f4; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-topbar {
  background: linear-gradient(135deg, #0d4a2c 0%, var(--z-green) 45%, var(--z-green-dark) 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.admin-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 16px;
}
.admin-topbar-brand {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.admin-topbar-title { opacity: 0.95; }
.admin-topbar-sep { opacity: 0.5; margin: 0 6px; font-weight: 400; }
.admin-topbar-crumb { font-weight: 500; opacity: 0.88; }
.admin-topbar-actions { display: flex; align-items: center; gap: 10px; }
.admin-topbar-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  opacity: 0.92;
  padding: 6px 10px;
  border-radius: 8px;
}
.admin-topbar-link:hover { background: rgba(255, 255, 255, 0.12); opacity: 1; }
.admin-topbar-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
}
.admin-topbar-btn:hover { background: rgba(255, 255, 255, 0.28); }

.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }
.admin-wrap--wide { max-width: 1280px; }
.admin-page-head {
  margin-bottom: 20px;
}
.admin-page-title {
  margin: 0 0 6px;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1d21;
}
.admin-page-sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--z-muted);
  max-width: 52ch;
  line-height: 1.45;
}

.admin-panel {
  background: var(--z-card);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 28px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px 22px 24px;
}
.admin-panel-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.admin-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.admin-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--z-muted);
  pointer-events: none;
  display: flex;
}
.admin-search-input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  border-radius: 10px;
  border: 1px solid var(--z-border);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fafbfc;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.admin-search-input:focus {
  outline: none;
  border-color: var(--z-green);
  box-shadow: 0 0 0 3px rgba(13, 74, 44, 0.12);
  background: #fff;
}
.admin-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.admin-sort-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--z-muted);
}
.admin-select {
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--z-border);
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
  min-width: 160px;
  cursor: pointer;
}
.admin-select--sm { min-width: 72px; padding: 7px 10px; font-size: 0.85rem; }
.admin-btn-primary {
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: var(--z-green);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(13, 74, 44, 0.25);
}
.admin-btn-primary:hover { background: var(--z-green-dark); }

.admin-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--z-border);
}
.admin-filter-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--z-muted);
}
.admin-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-chip {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--z-border);
  background: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  color: #333;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.admin-chip:hover { border-color: #c5cbcf; background: #f8faf9; }
.admin-chip.is-active {
  background: var(--z-green);
  color: #fff;
  border-color: var(--z-green);
  font-weight: 600;
}

.admin-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 14px;
}
.admin-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--z-muted);
}
.admin-meta strong { color: #333; font-weight: 600; }
.admin-page-size-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--z-muted);
  margin-right: 6px;
}

.admin-table-scroll {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--z-border);
}
.admin-table--pro {
  box-shadow: none;
  border-radius: 0;
  font-size: 0.875rem;
}
.admin-th-thumb { width: 120px; min-width: 120px; }
.admin-th-actions { width: 1%; white-space: nowrap; text-align: right; }
.admin-cell-thumb { vertical-align: middle; padding: 10px 8px 10px 12px; }
.admin-photos-cell { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; max-width: 112px; }
.admin-photos-hero {
  position: relative;
  width: 104px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--z-border);
  background: linear-gradient(145deg, #e8ecef, #dfe4e8);
}
.admin-photos-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-photos-hero.is-broken { background: #eee; }
.admin-feature-pin {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 0.75rem;
  color: #f5c542;
  text-shadow: 0 0 2px #000;
  line-height: 1;
}
.admin-photos-mini { display: flex; gap: 4px; flex-wrap: wrap; max-width: 112px; }
.admin-mini-tile {
  width: 30px;
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--z-border);
  opacity: 0.9;
}
.admin-mini-tile.is-feature {
  border-color: #c9a227;
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35);
  opacity: 1;
}
.admin-mini-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

.admin-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) {
  .admin-upload-grid { grid-template-columns: 1fr; }
}
.admin-upload-slot {
  border: 1px solid var(--z-border);
  border-radius: 12px;
  padding: 12px;
  background: #fafbfc;
}
.admin-upload-preview-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 140px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8ecef, #dfe4e8);
  border: 1px dashed #c5cbcf;
  margin-bottom: 10px;
}
.admin-upload-preview-wrap.has-image {
  border-style: solid;
  border-color: var(--z-border);
}
.admin-upload-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.admin-upload-btn {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--z-border);
  background: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.admin-upload-btn:hover { background: #f0f4f2; border-color: var(--z-green); color: var(--z-green-dark); }
.admin-remove-img {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e8c4cd;
  background: #fff;
  color: #8b1538;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
}
.admin-feature-pick {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.82rem;
  cursor: pointer;
  user-select: none;
}

.admin-thumb {
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8ecef, #dfe4e8);
  position: relative;
  border: 1px solid var(--z-border);
}
.admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-thumb img.is-hidden { display: none; }
.admin-thumb__ph {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--z-muted);
  padding: 4px;
  text-align: center;
  line-height: 1.2;
}
.admin-thumb--empty .admin-thumb__ph,
.admin-thumb.is-broken .admin-thumb__ph {
  display: flex;
}
.admin-prop-cell { max-width: 320px; }
.admin-prop-title {
  font-weight: 600;
  color: #1a1d21;
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 4px;
}
.admin-prop-meta {
  font-size: 0.78rem;
  color: var(--z-muted);
  line-height: 1.35;
}
.admin-price { font-weight: 600; color: #1a1d21; font-variant-numeric: tabular-nums; }
.admin-price--muted { color: var(--z-muted); font-weight: 500; }

.admin-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-badge--pending { background: #fff8e6; color: #8a5a00; border: 1px solid #f0d090; }
.admin-badge--approved { background: #e8f5ee; color: #0d4a2c; border: 1px solid #b8dcc8; }
.admin-badge--rejected { background: #fce8ec; color: #8b1538; border: 1px solid #f0b8c4; }

.admin-actions-wrap { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.admin-table--pro .btn-sm {
  margin-right: 0;
  padding: 7px 11px;
  font-size: 0.78rem;
  border-radius: 7px;
}
.admin-btn-ghost {
  background: #fff;
  color: #333;
  border: 1px solid var(--z-border);
}
.admin-btn-ghost:hover { background: #f5f7f6; }
.admin-btn-danger {
  background: #fff;
  color: #8b1538;
  border: 1px solid #e8c4cd;
}

.admin-pager-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.admin-pager-btn {
  min-width: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--z-border);
  background: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  color: #333;
}
.admin-pager-btn:hover:not(:disabled) { background: #f5f7f6; border-color: #c5cbcf; }
.admin-pager-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.admin-pager-btn.is-current {
  background: var(--z-green);
  color: #fff;
  border-color: var(--z-green);
  font-weight: 600;
}
.admin-pager-ellipsis { padding: 0 4px; color: var(--z-muted); font-size: 0.9rem; }

.admin-card {
  background: var(--z-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  max-width: 420px;
  margin: 0 auto;
}
.admin-card h1 { margin: 0 0 8px; font-size: 1.35rem; }
.admin-card p { color: var(--z-muted); font-size: 0.9rem; margin: 0 0 20px; }
.admin-card input {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--z-border);
  font-family: inherit;
}
.admin-error { color: #b00020; font-size: 0.85rem; margin-top: 8px; }

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  align-items: center;
}
.admin-toolbar button, .admin-toolbar a {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--z-border);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: none;
  color: inherit;
}
.admin-toolbar button.is-active {
  background: var(--z-green);
  color: #fff;
  border-color: var(--z-green);
}
.admin-toolbar .btn-add-admin {
  background: var(--z-green);
  color: #fff;
  border-color: var(--z-green);
  font-weight: 600;
}
.admin-toolbar .btn-add-admin:hover {
  background: var(--z-green-dark);
  border-color: var(--z-green-dark);
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--z-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
}
.admin-table th, .admin-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--z-border);
}
.admin-table th { background: #fafafa; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; color: var(--z-muted); }
.admin-table tr:hover td { background: #fafcfb; }

.btn-sm {
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  margin-right: 6px;
}
.btn-approve { background: var(--z-green); color: #fff; }
.btn-reject { background: #fff; color: #b00020; border: 1px solid #e0e0e0; }

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-hover);
}
.modal.modal-wide {
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
}
.modal h3 { margin: 0 0 12px; }
.modal textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--z-border);
  font-family: inherit;
  margin-bottom: 12px;
}
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }

.site-footer {
  background: #fff;
  border-top: 1px solid var(--z-border);
  padding: 24px 0;
  margin-top: auto;
}
.footer-inner { text-align: center; }
.footer-brand { font-weight: 700; color: var(--z-green); margin-bottom: 8px; }
.footer-muted { font-size: 0.82rem; color: var(--z-muted); margin: 0 0 12px; }
.footer-link { color: var(--z-green); text-decoration: none; font-size: 0.9rem; }

.error-box {
  max-width: 520px;
  margin: 48px auto;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Admin notifications */
.admin-notify-form { display: flex; flex-direction: column; gap: 4px; }
.admin-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--z-muted);
  margin-top: 12px;
}
.admin-hint { font-weight: 400; opacity: 0.85; }
.admin-input,
.admin-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--z-border);
  font-family: inherit;
  font-size: 0.95rem;
}
.admin-textarea { resize: vertical; min-height: 96px; }
.admin-select--block { width: 100%; margin-bottom: 4px; }
.admin-btn-secondary {
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--z-border);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}
.admin-btn-secondary:hover { background: var(--z-green-light); }
.admin-notify-wp-row { margin-bottom: 4px; }
.admin-wp-select { margin-top: 8px; }
.admin-success {
  color: var(--z-green-dark);
  font-size: 0.9rem;
  margin: 8px 0 0;
}
.admin-panel--spaced { margin-top: 20px; }
.admin-section-title {
  font-size: 1.05rem;
  margin: 0 0 12px;
  font-weight: 700;
}
.admin-muted-cell {
  color: var(--z-muted);
  padding: 16px;
  text-align: center;
}
