* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f7fb;
  color: #1f2937;
}

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

.page {
  max-width: 1150px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.narrow {
  max-width: 520px;
}

.topbar {
  background: #111827;
  color: #ffffff;
  padding: 14px 16px;
}

.topbar-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.topbar-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
}

.page-header {
  margin-bottom: 18px;
}

.hero,
.card,
.metric-card,
.property-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.hero {
  margin-top: 60px;
  text-align: center;
}

.grid {
  display: grid;
  gap: 16px;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.property-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.metric-title {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  background: #111827;
  color: #ffffff;
  display: inline-block;
}

.btn-secondary {
  background: #e5e7eb;
  color: #111827;
}

.btn-danger {
  background: #b91c1c;
  color: #ffffff;
}

.form {
  display: grid;
  gap: 10px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.message {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
}

.message.error {
  background: #fee2e2;
  color: #991b1b;
}

.message.success {
  background: #dcfce7;
  color: #166534;
}

.hidden {
  display: none;
}

.muted {
  color: #6b7280;
}

.helper-links {
  margin-top: 14px;
}

.property-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  background: #e5e7eb;
}

.property-fallback {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #4b5563;
  font-weight: 700;
}

.meta-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.meta-row {
  font-size: 14px;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
}

.spacer-top {
  margin-top: 14px;
}

.landing-hero {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.landing-banner-wrap {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.landing-banner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.landing-content {
  text-align: center;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
