/* ==========================================================================
   Noble Scout – Stylesheet
   Ruhige, seriöse Immobilien-Optik in Gold / Anthrazit / Warmweiss,
   passend zum Logo. Serifenschrift für Überschriften, klare Sans-Serif
   für Fliesstext.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --gold: #b3985f;
  --gold-dark: #8f7844;
  --gold-light: #e7dcc4;
  --charcoal: #23272a;
  --charcoal-soft: #3c4145;
  --cream: #faf7f2;
  --cream-deep: #f2ece1;
  --white: #ffffff;
  --line: #e6dfd1;
  --text: #2b2b2b;
  --text-muted: #6b6660;
  --success: #3f7a4f;
  --danger: #b3442f;
  --danger-bg: #fbeae6;
  --success-bg: #eaf3ec;
  --shadow-sm: 0 1px 3px rgba(35, 39, 42, 0.08);
  --shadow-md: 0 6px 24px rgba(35, 39, 42, 0.10);
  --shadow-lg: 0 16px 48px rgba(35, 39, 42, 0.16);
  --radius: 10px;
  --radius-lg: 16px;
  --maxw: 1200px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.5em;
  letter-spacing: 0.2px;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--charcoal); color: var(--white); }
.btn-primary:hover { background: #000; }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-outline-gold { background: transparent; border-color: var(--gold); color: var(--gold-dark); }
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }
.btn-ghost { background: transparent; color: var(--charcoal); padding: 10px 14px; }
.btn-ghost:hover { background: var(--cream-deep); }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; }
.brand img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: 0.94rem; color: var(--charcoal-soft);
}
.main-nav a:hover, .main-nav a.active { background: var(--cream-deep); color: var(--charcoal); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

.user-menu { position: relative; }
.user-chip {
  display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px;
  border-radius: 999px; background: var(--cream-deep); border: 1px solid var(--line); font-weight: 600; font-size: 0.9rem;
}
.user-chip .avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700;
}
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md); min-width: 220px; padding: 8px; display: none; z-index: 50;
}
.user-dropdown.open { display: block; }
.user-dropdown a, .user-dropdown button {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; background: none; border: none;
  font-size: 0.92rem; color: var(--text);
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--cream-deep); }
.user-dropdown hr { border: none; border-top: 1px solid var(--line); margin: 6px 0; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 56px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 720px; }
.hero .lead { font-size: 1.12rem; color: var(--text-muted); max-width: 620px; margin-bottom: 32px; }

.search-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px;
  margin-top: 8px;
}
.search-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 160px; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--charcoal-soft); }
.field input, .field select {
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--cream); color: var(--text);
  font-size: 0.95rem;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.autocomplete-wrap { position: relative; }
.autocomplete-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow-md); max-height: 260px; overflow-y: auto; z-index: 40; display: none;
}
.autocomplete-list.open { display: block; }
.autocomplete-item { padding: 10px 14px; font-size: 0.92rem; cursor: pointer; display: flex; justify-content: space-between; }
.autocomplete-item:hover, .autocomplete-item.active { background: var(--cream-deep); }
.autocomplete-item .plz { color: var(--text-muted); font-size: 0.85rem; }

.radius-field { min-width: 220px; }
.radius-row { display: flex; align-items: center; gap: 10px; }
.radius-row input[type=range] { flex: 1; accent-color: var(--gold); }
.radius-value { font-weight: 700; color: var(--gold-dark); min-width: 54px; text-align: right; font-size: 0.9rem; }

.geo-link { font-size: 0.82rem; color: var(--gold-dark); font-weight: 600; margin-top: 4px; display: inline-flex; align-items: center; gap: 4px; }
.geo-link:hover { text-decoration: underline; }

.trust-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--charcoal-soft); font-weight: 500; }
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Sections generic ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.section-head h2 { margin: 0; font-size: 1.7rem; }
.section-head p { margin: 6px 0 0; color: var(--text-muted); }

/* ---------- Listing cards ---------- */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.listing-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.15s ease, box-shadow 0.15s ease; display: flex; flex-direction: column;
}
.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.listing-media { position: relative; aspect-ratio: 4/3; background: var(--cream-deep) url('/img/placeholder-listing.svg') center/cover no-repeat; overflow: hidden; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
}
.badge-featured { background: var(--gold); color: #fff; }
.badge-business { background: var(--charcoal); color: #fff; }
.badge-neutral { background: var(--cream-deep); color: var(--charcoal-soft); border: 1px solid var(--line); }
.badge-pending { background: #fdf3e3; color: #93691a; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.media-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.fav-btn {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.92);
  border: none; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.fav-btn.active svg { fill: var(--gold); stroke: var(--gold); }
.listing-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.listing-price { font-family: var(--font-serif); font-size: 1.28rem; font-weight: 700; color: var(--charcoal); }
.listing-price small { font-family: var(--font-sans); font-weight: 500; font-size: 0.78rem; color: var(--text-muted); }
.listing-title { font-weight: 600; font-size: 0.98rem; color: var(--text); }
.listing-loc { font-size: 0.86rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.listing-meta { display: flex; gap: 14px; font-size: 0.84rem; color: var(--charcoal-soft); margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.listing-meta span { display: flex; align-items: center; gap: 5px; }
.listing-distance { font-size: 0.78rem; color: var(--gold-dark); font-weight: 600; }

/* ---------- Ad / banner slots ---------- */
.ad-slot {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-align: center; position: relative;
}
.ad-label {
  font-size: 0.66rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted);
  position: absolute; top: 8px; left: 12px; font-weight: 700;
}
.ad-slot .ad-content { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 14px; color: var(--text-muted); }
.ad-slot.ad-leaderboard { min-height: 100px; display: flex; align-items: center; justify-content: center; }
.ad-slot.ad-rect { min-height: 250px; display: flex; align-items: center; justify-content: center; }
.ad-slot .ad-placeholder-text { font-size: 0.82rem; }

/* ---------- Search page layout ---------- */
.search-layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: flex-start; }
.filters-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; position: sticky; top: 96px;
}
.filters-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.filter-group { margin-bottom: 18px; }
.filter-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--charcoal-soft); margin-bottom: 6px; }
.filter-group .range-two { display: flex; gap: 8px; }
.filter-group .range-two input { width: 100%; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 0.85rem; font-weight: 600;
  color: var(--charcoal-soft); background: var(--cream);
}
.chip.active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }

.results-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.results-count { font-size: 0.95rem; color: var(--charcoal-soft); }
.results-count strong { color: var(--charcoal); }
.sort-select { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state h3 { color: var(--charcoal); }

/* ---------- Listing detail ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: flex-start; }
.gallery { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.gallery-main { aspect-ratio: 16/10; background: var(--cream-deep) url('/img/placeholder-listing.svg') center/cover no-repeat; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.gallery-thumbs img { width: 84px; height: 64px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; flex: none; }
.gallery-thumbs img.active { border-color: var(--gold); }

.detail-title-row { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 26px; gap: 16px; flex-wrap: wrap; }
.detail-price { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; margin: 26px 0; }
.spec-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.spec-item .label { font-size: 0.76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.spec-item .value { font-weight: 700; font-size: 1.1rem; margin-top: 4px; }
.description-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-top: 12px; white-space: pre-line; }

.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; position: sticky; top: 96px; }
.contact-card .owner-name { font-weight: 700; font-size: 1.05rem; }
.contact-card .owner-type { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.contact-card .contact-line { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; padding: 8px 0; border-top: 1px solid var(--line); }

/* ---------- Auth pages ---------- */
.auth-shell { min-height: calc(100vh - 76px - 260px); display: flex; align-items: center; padding: 48px 0; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 40px; max-width: 460px; margin: 0 auto; width: 100%; }
.auth-card h1 { font-size: 1.6rem; text-align: center; }
.auth-card .sub { text-align: center; color: var(--text-muted); margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--cream);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form-group .hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.form-row { display: flex; gap: 14px; }
.form-row .form-group { flex: 1; }
.account-type-toggle { display: flex; gap: 10px; margin-bottom: 20px; }
.account-type-toggle label {
  flex: 1; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; text-align: center;
  font-weight: 600; font-size: 0.9rem; transition: all 0.15s;
}
.account-type-toggle input { display: none; }
.account-type-toggle input:checked + span { color: var(--gold-dark); }
.account-type-toggle label:has(input:checked) { border-color: var(--gold); background: #fdf9f2; }
.account-type-toggle .desc { display: block; font-weight: 400; font-size: 0.76rem; color: var(--text-muted); margin-top: 3px; }

.alert { padding: 12px 16px; border-radius: 9px; font-size: 0.88rem; margin-bottom: 16px; }
.alert-error { background: var(--danger-bg); color: var(--danger); }
.alert-success { background: var(--success-bg); color: var(--success); }
.alert-info { background: #eef3f8; color: #2c5a82; }

/* ---------- Dashboard ---------- */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: flex-start; }
.dash-nav { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; position: sticky; top: 96px; }
.dash-nav button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 14px; border-radius: 9px;
  background: none; border: none; font-weight: 600; font-size: 0.92rem; color: var(--charcoal-soft);
}
.dash-nav button.active, .dash-nav button:hover { background: var(--cream-deep); color: var(--charcoal); }
.dash-panel { display: none; }
.dash-panel.active { display: block; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat-card .num { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; }
.stat-card .lbl { font-size: 0.82rem; color: var(--text-muted); }

.my-listing-row {
  display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 14px; margin-bottom: 14px; align-items: center;
}
.my-listing-row .thumb { width: 100px; height: 76px; border-radius: 8px; object-fit: cover; background: var(--cream-deep) url('/img/placeholder-listing.svg') center/cover no-repeat; flex: none; }
.my-listing-row .info { flex: 1; min-width: 0; }
.my-listing-row .info .t { font-weight: 700; }
.my-listing-row .info .m { font-size: 0.84rem; color: var(--text-muted); }
.my-listing-row .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.price-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.price-card.highlight { border-color: var(--gold); box-shadow: var(--shadow-md); }
.price-card .tag { position: absolute; top: -12px; right: 24px; background: var(--gold); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.price-card .amount { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; margin: 10px 0 4px; }
.price-card .amount span { font-family: var(--font-sans); font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }
.price-card ul { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.price-card ul li { font-size: 0.9rem; display: flex; gap: 8px; align-items: flex-start; }
.price-card ul li::before { content: '✓'; color: var(--gold-dark); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #d9d5cd; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 32px; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid a { color: #b9b4aa; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand img { height: 34px; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { color: #a9a49b; font-size: 0.88rem; max-width: 280px; }
.footer-bottom { border-top: 1px solid #3a3f42; padding: 20px 0; display: flex; justify-content: space-between; font-size: 0.8rem; color: #8d887f; flex-wrap: wrap; gap: 10px; }

/* ---------- Misc pages ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--charcoal-soft); }
.prose li { margin-bottom: 6px; }

.image-upload-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.image-upload-grid .up-item { position: relative; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.image-upload-grid .up-item img { width: 100%; height: 100%; object-fit: cover; }
.image-upload-grid .up-remove { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,0.6); color: #fff; border: none; font-size: 0.8rem; }
.dropzone {
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--text-muted);
  cursor: pointer; background: var(--cream);
}
.dropzone:hover { border-color: var(--gold); }
.dropzone.dragover { border-color: var(--gold); background: #fdf9f2; }

.loader { display: inline-block; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton { background: linear-gradient(90deg, var(--cream-deep) 25%, #efe8d9 37%, var(--cream-deep) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius-lg); }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--charcoal); color: #fff; padding: 13px 18px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 0.9rem; min-width: 240px; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .search-layout, .detail-layout, .dash-layout { grid-template-columns: 1fr; }
  .filters-card, .dash-nav { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-row { flex-direction: column; align-items: stretch; }
  .detail-title-row { flex-direction: column; }
}
