:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #5e6b66;
  --line: #d9e1dc;
  --paper: #f7faf8;
  --panel: #ffffff;
  --accent: #0d7c66;
  --accent-strong: #0a5f4f;
  --warn: #b25524;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar strong {
  display: block;
  font-size: 20px;
}

.topbar span {
  color: var(--muted);
  font-size: 14px;
}

nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 650;
}

main {
  padding: 28px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 24px;
  align-items: start;
}

.filters,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.filters {
  position: sticky;
  top: 96px;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
}

label {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 14px;
}

input,
select,
button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

button {
  background: var(--accent);
  color: #fff;
  border: 0;
  font-weight: 750;
  cursor: pointer;
}

button.secondary {
  background: #e7f1ed;
  color: var(--accent-strong);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.listing-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.listing-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #dfe8e3;
}

.listing-card-content {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.listing-card p,
.booking-row p {
  margin: 0;
  color: var(--muted);
}

.price {
  color: var(--accent-strong);
  font-weight: 800;
}

.panel {
  margin-top: 24px;
}

.booking-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.metric {
  padding: 14px;
  background: #eef5f2;
  border-radius: 8px;
}

.metric strong {
  display: block;
  font-size: 24px;
}

@media (max-width: 820px) {
  .topbar,
  nav,
  .workspace,
  .booking-row {
    display: grid;
  }

  main {
    padding: 18px;
  }

  .filters {
    position: static;
  }
}

