@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg: #f5efe8;
  --bg2: #ece0d1;
  --card: #fffaf4;
  --text: #251813;
  --muted: #766357;
  --border: rgba(72, 45, 28, 0.12);
  --shadow: 0 2px 8px rgba(72, 45, 28, 0.05), 0 16px 36px rgba(72, 45, 28, 0.06);
  --shadow-hover: 0 6px 16px rgba(72, 45, 28, 0.08), 0 18px 44px rgba(72, 45, 28, 0.1);
  --accent: #ba5d35;
  --accent-hover: #9c4925;
  --accent-light: rgba(186, 93, 53, 0.1);
  --accent2: #8a3d1d;
  --accent-soft: rgba(186, 93, 53, 0.06);
  --surface-warm: rgba(136, 61, 29, 0.04);
  --font-body: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
}

* { box-sizing: border-box; margin: 0; }
html { height: 100%; }
body {
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(186, 93, 53, 0.08), transparent 28%),
    linear-gradient(180deg, #f8f2eb 0%, var(--bg) 26%, #f3ece5 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

h1, h2, h3, h4, .brand__name, .placement__name, .listing-detail__title, .footer__title {
  font-family: var(--font-display);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Page-center for account/forms */
.page-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 64px);
  padding: 48px 24px 64px;
}
.page-center .card {
  width: 100%;
  max-width: 420px;
  padding: 36px;
}
.page-center h1 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.page-center .muted { font-size: 14px; margin-bottom: 24px; }

/* ---- TOPBAR ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 244, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 58px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 17px;
  margin-right: 8px;
  flex-shrink: 0;
}
.brand__dot {
  width: 11px;
  height: 11px;
  border-radius: 4px;
  background: linear-gradient(180deg, #d88558, var(--accent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav { display: flex; gap: 2px; align-items: center; flex: 1; }
.nav__link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 13.5px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  transition: color 0.12s, background 0.12s;
}
.nav__link:hover { color: var(--text); background: var(--bg2); }
.nav__link--active { color: var(--text); font-weight: 600; background: var(--accent-light); }

.topbar__actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }

/* ---- BUTTONS ---- */
.btn {
  border: 1px solid var(--border);
  background: rgba(255, 250, 244, 0.92);
  color: inherit;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  transition: background 0.12s, border-color 0.12s, box-shadow 0.12s;
  white-space: nowrap;
}
.btn:hover { background: var(--bg2); border-color: rgba(15, 23, 42, 0.12); }
.btn--primary {
  border: none;
  background: linear-gradient(180deg, #c66d43, var(--accent));
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); }
.btn--sm { padding: 6px 12px; font-size: 13px; border-radius: var(--radius-xs); }

/* ---- HERO ---- */
.hero {
  padding: 14px 0 18px;
}
.hero__row {
  display: grid;
  grid-template-columns: 1fr minmax(270px, 332px);
  gap: 22px;
  align-items: start;
}
.hero__copy {
  min-width: 0;
  text-align: left;
}
.hero h1 {
  font-size: 41px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
  max-width: 12ch;
}
.hero__sub {
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.65;
}
.hero__soon {
  grid-column: 2;
  flex-shrink: 0;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(186, 93, 53, 0.08), rgba(255, 250, 244, 0.92));
  border: 1px solid rgba(138, 61, 29, 0.12);
  min-width: 280px;
}
.hero__soon-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  margin-bottom: 8px;
}
.hero__soon-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.hero__soon-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.hero__soon-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero__soon-items .pill { display: inline-block; }
.hero__ctas {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.hero__ctas .btn { padding: 11px 22px; font-size: 15px; border-radius: var(--radius-sm); }
.hero__links {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__links a {
  color: var(--accent2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.hero__stats {
  margin-top: 18px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.stat { min-width: 64px; }
.stat__num { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.stat__label { color: var(--muted); font-size: 12px; font-weight: 500; margin-top: 1px; }

/* ---- FILTER PANEL ---- */
.panel { margin-top: 0; padding: 20px; }
.panel__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.panel__row .control { flex: 1 1 170px; }
.panel__row .control--search { flex: 2 1 260px; }
.panel__row .control--actions { flex: 0 0 auto; display: flex; align-items: end; gap: 8px; }
.panel__meta { margin-top: 12px; font-size: 13px; color: var(--muted); }

.control label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.control-static {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  color: var(--text);
}
.control input, .control select {
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--bg);
  color: inherit;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.control input:focus, .control select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.control textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--bg);
  color: inherit;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.control textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.control input::placeholder { color: var(--muted); opacity: 0.8; }

/* ---- GRID ---- */
.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding-bottom: 8px;
}

/* ---- PLACEMENT CARD ---- */
.placement {
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  display: flex;
  flex-direction: column;
}
.placement[data-card-link] {
  cursor: pointer;
}
.placement:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(186, 93, 53, 0.22);
}
.placement__img {
  height: 160px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--bg2);
  position: relative;
}
.placement__city-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}
.placement__sponsored-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(186, 93, 53, 0.94);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.placement__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.placement__name { font-weight: 700; font-size: 16px; line-height: 1.3; }
.placement__location {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}
.placement__formats {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.placement__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.placement__meta-item { display: flex; align-items: center; gap: 4px; }
.placement__meta-item strong { color: var(--text); font-weight: 600; }
.placement__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}
.placement__price { font-weight: 700; font-size: 16px; }
.placement__price span { font-weight: 400; font-size: 13px; color: var(--muted); }
.placement__actions { display: flex; gap: 6px; }
.btn--icon {
  min-width: 34px;
  padding: 6px 10px;
}
.placement--sponsored {
  border-color: rgba(186, 93, 53, 0.26);
  box-shadow: 0 8px 24px rgba(186, 93, 53, 0.1);
}
.placement--ad-slot {
  border-style: dashed;
  border-color: rgba(186, 93, 53, 0.22);
  background: linear-gradient(180deg, rgba(186, 93, 53, 0.05), rgba(255, 255, 255, 0.96));
}
.placement__img--ad-slot {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(186, 93, 53, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(186, 93, 53, 0.18), rgba(138, 61, 29, 0.05));
}
.placement--ad-slot-compact .placement__body {
  padding: 14px;
}
.placement--ad-slot-compact .placement__meta {
  margin-top: 10px;
}
.placement--ad-slot-compact .placement__footer {
  padding-top: 10px;
}
.placement--adsense {
  border-style: solid;
  border-color: rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(255, 255, 255, 0.98));
}
.placement--adsense:hover {
  transform: none;
  box-shadow: var(--shadow);
  border-color: rgba(15, 23, 42, 0.12);
}
.placement__body--adsense {
  min-height: 100%;
  justify-content: flex-start;
}
.placement__ad-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.placement__ad-note {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.placement__ad-shell {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  background: rgba(15, 23, 42, 0.02);
  padding: 10px;
  min-height: 238px;
}
.placement__ad-slot {
  display: block;
  width: 100%;
  min-height: 216px;
}
.placement__ad-slot[data-adsense-error="1"]::before {
  content: "Ad blocked or unavailable";
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 216px;
  font-size: 13px;
  color: var(--muted);
}

/* ---- FORMAT PILLS ---- */
.pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}
.pill--format {
  background: var(--accent-light);
  color: var(--accent2);
  border: 1px solid rgba(186, 93, 53, 0.18);
}
.pill--tag {
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border);
}
.pill--soon {
  background: rgba(186, 93, 53, 0.08);
  color: var(--accent2);
  border: 1px dashed rgba(186, 93, 53, 0.24);
}
.pill--venue {
  background: rgba(22, 23, 29, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 10px;
}
.pill--ad {
  background: rgba(186, 93, 53, 0.1);
  color: var(--accent2);
  border: 1px solid rgba(186, 93, 53, 0.18);
}
.pill--size {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

/* ---- COMING SOON SECTION (bottom) ---- */
.coming-soon {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(186, 93, 53, 0.06), rgba(255, 250, 244, 0.94));
  border: 1px dashed rgba(138, 61, 29, 0.18);
  text-align: center;
}
.coming-soon__label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.coming-soon__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.coming-soon__desc {
  color: var(--muted);
  font-size: 14px;
  max-width: 440px;
  margin: 0 auto 16px;
}
.coming-soon__items {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.info-grid,
.resource-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.info-card,
.resource-card {
  padding: 20px;
  text-decoration: none;
  color: inherit;
}
.info-card__title,
.resource-card__title {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
}
.info-card__copy,
.resource-card__copy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.info-card__list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.info-card__list span {
  display: block;
}
.resource-card {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(236, 224, 209, 0.38));
}
.resource-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.resource-card__link {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent2);
  font-size: 13px;
  font-weight: 600;
}

.creative-reminder {
  margin-top: 9px;
  padding: 9px 11px;
  border-radius: var(--radius-xs);
  background: rgba(186, 93, 53, 0.05);
  border: 1px solid rgba(138, 61, 29, 0.12);
}
.creative-reminder--compact {
  margin-top: 7px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.creative-reminder__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent2);
}
.creative-reminder__inline {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.creative-reminder__pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.creative-reminder__detail {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.creative-reminder__detail:empty {
  display: none;
}

/* ---- CREATIVE SPECS ---- */
.creative-specs-shell {
  margin-top: 20px;
}
.creative-specs {
  margin-top: 0;
  padding: 24px;
}
.creative-specs__head h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.creative-specs__head .muted {
  margin-top: 8px;
  max-width: 64ch;
}
.creative-specs__grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.creative-spec {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(186, 93, 53, 0.04), rgba(255, 255, 255, 0.98));
  padding: 16px;
}
.creative-spec__size {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.creative-spec__name {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent2);
}
.creative-spec__use {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.creative-specs__footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

/* ---- LISTING DETAIL ---- */
.listing-detail {
  margin-top: 12px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
}
.listing-detail__hero {
  height: 340px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--bg2);
  position: relative;
}
.listing-detail__body {
  padding: 32px;
}
.listing-detail__title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.listing-detail__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.listing-detail__location { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.listing-detail__price {
  font-size: 24px;
  font-weight: 700;
  margin: 16px 0 24px;
}
.listing-detail__price span { font-weight: 400; font-size: 15px; color: var(--muted); }
.listing-detail__section { margin-bottom: 24px; }
.listing-detail__section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.listing-detail__specs { display: flex; flex-wrap: wrap; gap: 8px; }
.listing-detail__desc {
  line-height: 1.6;
  color: var(--muted);
  font-size: 14.5px;
}
.listing-detail__helper {
  margin-top: 14px;
}
.listing-size-note {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border);
}
.listing-size-note__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent2);
}
.listing-size-note__body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.listing-detail__stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.listing-detail__stat {
  padding: 14px;
  background: var(--bg);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}
.listing-detail__stat-value { font-weight: 700; font-size: 18px; }
.listing-detail__stat-label { font-size: 11px; color: var(--muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; }
.listing-detail__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.listing-detail__actions .btn { padding: 11px 22px; font-size: 15px; }

/* ---- FOOTER ---- */
.footer {
  margin-top: 48px;
  padding: 24px 0 8px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.footer__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.footer__title {
  font-size: 20px;
  color: var(--text);
}
.footer__copy {
  margin-top: 6px;
  max-width: 40ch;
  font-size: 13px;
  line-height: 1.6;
}
.footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.footer__links a:hover,
.hero__links a:hover,
.auth-card__switch a:hover,
.dashboard-panel__link:hover {
  color: var(--accent2);
}

.page-intro {
  padding: 18px 22px;
}
.page-intro h1 {
  margin-top: 8px;
  font-size: 34px;
  line-height: 1.04;
}
.page-intro .muted {
  margin-top: 10px;
  max-width: 62ch;
}
.content-page {
  max-width: 820px;
  margin: 12px auto 0;
  display: grid;
  gap: 16px;
}
.content-page__section {
  padding: 22px 24px;
}
.content-page__section h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.content-page__section p + p {
  margin-top: 10px;
}
.content-page__section p,
.content-page__section li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.content-page__section a {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
}
.content-page__section ul {
  margin: 10px 0 0 18px;
}
.content-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.content-page__note {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
  border: 1px solid var(--border);
}
.content-page__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.content-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(37, 24, 19, 0.05);
  border: 1px solid var(--border);
}

.page-shell {
  padding: 10px 0 40px;
}

.status {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  box-shadow: var(--shadow);
}
.status--info {
  background: rgba(186, 93, 53, 0.08);
  border-color: rgba(186, 93, 53, 0.18);
}
.status--success {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.18);
}
.status--warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.22);
}
.status--error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.18);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
}

.auth-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 36px;
}
.auth-card__intro h1 {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.1;
}
.auth-card__switch {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.auth-card__switch a {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
}

.stack-form {
  display: grid;
  gap: 14px;
}

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

.hero-card {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.hero-card h1 {
  margin-top: 8px;
  font-size: 32px;
  line-height: 1.08;
}
.hero-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.hero-card__stat {
  min-width: 120px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
}
.hero-card__stat strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}
.hero-card__stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.content-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.form-card {
  padding: 28px;
}
.form-card__head {
  margin-bottom: 20px;
}
.form-card__head h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.dashboard-hero {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.dashboard-hero h1 {
  margin-top: 8px;
  font-size: 32px;
  line-height: 1.05;
}
.dashboard-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.summary-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.payout-card {
  margin-top: 18px;
  padding: 20px 22px;
}
.payout-card__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.payout-card__head h2 {
  margin-top: 8px;
  font-size: 22px;
}
.payout-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.payout-card__badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stat-card {
  padding: 22px;
}
.stat-card__value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.stat-card__label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.dashboard-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-panel {
  padding: 24px;
}
.dashboard-panel--full {
  grid-column: 1 / -1;
}
.dashboard-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 16px;
}
.dashboard-panel__head h2 {
  font-size: 18px;
}
.dashboard-panel__hint,
.dashboard-panel__link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.dashboard-panel__body {
  display: grid;
  gap: 12px;
}

.dashboard-item {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
}
.dashboard-item__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.dashboard-item__title {
  font-size: 16px;
  font-weight: 700;
}
.dashboard-item__meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.dashboard-item__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.dashboard-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
}
.badge--accent {
  background: rgba(186, 93, 53, 0.1);
  border-color: rgba(186, 93, 53, 0.18);
  color: var(--accent2);
}
.badge--success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.18);
  color: #047857;
}

.empty-state {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 1));
  border: 1px dashed rgba(15, 23, 42, 0.14);
}
.empty-state__title {
  font-weight: 700;
  font-size: 15px;
}
.empty-state__body {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.listing-shell {
  padding-bottom: 40px;
}

.messages-layout {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.messages-sidebar,
.messages-panel {
  padding: 18px;
}
.messages-sidebar__head,
.messages-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 14px;
}
.messages-sidebar__head h2 {
  font-size: 18px;
}
.messages-sidebar__list {
  display: grid;
  gap: 10px;
}
.messages-list-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: pointer;
  font: inherit;
}
.messages-list-item--active {
  border-color: rgba(186, 93, 53, 0.28);
  background: rgba(186, 93, 53, 0.07);
}
.messages-list-item__title {
  font-size: 15px;
  font-weight: 700;
}
.messages-list-item__meta,
.messages-list-item__preview,
.messages-panel__meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.messages-panel__title {
  font-size: 20px;
  font-weight: 700;
}
.messages-thread {
  min-height: 280px;
  display: grid;
  gap: 10px;
}
.message-bubble {
  max-width: 80%;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.message-bubble--mine {
  margin-left: auto;
  background: rgba(186, 93, 53, 0.08);
  border-color: rgba(186, 93, 53, 0.16);
}
.message-bubble__sender {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent2);
}
.message-bubble__body {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
}
.message-bubble__time {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.messages-compose {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.messages-compose label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.messages-compose textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--bg);
  color: inherit;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}
.messages-compose__actions {
  margin-top: 10px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero__soon { grid-column: 1; min-width: 0; max-width: 400px; }
  .hero__soon-items { flex-direction: row; flex-wrap: wrap; }
  .hero__soon-items .pill { display: inline-block; }
  .info-grid,
  .resource-grid,
  .content-grid,
  .messages-layout,
  .dashboard-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .content-page__grid {
    grid-template-columns: 1fr;
  }
  .dashboard-panel--full {
    grid-column: auto;
  }
  .footer__row {
    flex-direction: column;
  }
  .footer__links {
    justify-content: flex-start;
  }
}
@media (max-width: 800px) {
  .hero h1 { font-size: 33px; }
  .hero__stats { gap: 20px; }
  .listing-detail__body { padding: 24px; }
  .hero-card,
  .dashboard-hero,
  .payout-card__head {
    flex-direction: column;
  }
  .hero-card h1,
  .dashboard-hero h1 {
    font-size: 28px;
  }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .topbar__inner { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 6px; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .hero { padding: 12px 0 18px; }
  .hero__ctas,
  .hero__stats { justify-content: flex-start; }
  .hero h1 { font-size: 28px; }
  .listing-detail__hero { height: 220px; }
  .page-center { padding: 32px 16px; }
  .page-center .card { padding: 24px; }
  .page-shell { padding: 8px 0 30px; }
  .auth-card,
  .form-card,
  .dashboard-panel,
  .dashboard-hero,
  .payout-card,
  .hero-card,
  .messages-sidebar,
  .messages-panel {
    padding: 22px;
  }
  .form-actions,
  .dashboard-item__actions,
  .dashboard-hero__actions,
  .payout-card__actions {
    flex-direction: column;
  }
  .hero__links {
    gap: 10px;
  }
  .page-intro,
  .content-page__section {
    padding: 20px;
  }
  .form-actions .btn,
  .dashboard-item__actions .btn,
  .dashboard-hero__actions .btn,
  .payout-card__actions .btn {
    width: 100%;
  }
}
