/* =====================================================================
   Nestaura — seeker.css
   Shares design tokens with app.css for visual continuity between the
   standalone landing page and this dashboard. chatbot.css is separate
   and untouched.
   ===================================================================== */

:root {
  --ink: #16302B;
  --brand: #004d40;
  --brand-deep: #06211D;
  --brass: #C89B5C;
  --ivory: #FBF8F3;
  --mist: #7C9990;
  --white: #FFFFFF;
  --line: rgba(22, 48, 43, 0.08);
  --danger: #B3453B;
  --amber: #B3853B;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 14px 34px -14px rgba(6, 33, 29, 0.22);
  --shadow-soft: 0 4px 16px -6px rgba(6, 33, 29, 0.12);
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
  --tabbar-height: 68px;
  --sidebar-width: 232px;
  --content-max: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  padding-bottom: calc(var(--tabbar-height) + env(safe-area-inset-bottom));
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  margin: 0;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.hidden { display: none !important; }

.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
}

/* ---------- Header ---------- */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(16px, env(safe-area-inset-top)) 20px 14px;
  background: var(--ivory);
  position: sticky;
  top: 0;
  z-index: 40;
}
.app-logo { height: 28px; width: auto; }
.header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: "Fraunces", Georgia, serif;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease;
}
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 18px; height: 18px; }
.notif-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  border: 1.5px solid var(--white);
}

/* ---------- Page container ---------- */
.dash-page {
  padding: 4px 20px 30px;
  min-height: 40vh;
}
.dash-section { display: none; animation: rise-in 0.4s var(--ease) both; }
.dash-section.active { display: block; }

.dash-greeting h1 {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.25;
}
.dash-greeting p {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--mist);
}

/* ---------- Discovery bar: search + browse mode ---------- */
.discovery-bar { margin-top: 18px; }

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: var(--shadow-soft);
}
.search-bar .search-icon { width: 19px; height: 19px; color: var(--mist); flex-shrink: 0; }
.search-bar input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--ink);
}
.search-bar input:focus { outline: none; }
.search-bar input::placeholder { color: var(--mist); }
.search-filter-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--ivory);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.search-filter-btn svg { width: 16px; height: 16px; }

.browse-mode-block { margin-top: 16px; }

.mode-toggle {
  display: flex;
  gap: 4px;
  background: var(--white);
  border-radius: 999px;
  padding: 5px;
  box-shadow: var(--shadow-soft);
  margin-top: 10px;
}
.mode-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  background: none;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.mode-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.mode-btn.active { background: var(--brand); color: var(--white); }
.mode-btn:not(.active):hover { background: rgba(0,77,64,0.06); }

/* ---------- Quick action cards ---------- */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 8px;
}
.qa-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.qa-card:active { transform: scale(0.97); }
.qa-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qa-icon svg { width: 16px; height: 16px; }
.qa-icon-brand { background: var(--brand); color: var(--white); }
.qa-icon-brass { background: var(--brass); color: var(--white); }
.qa-body { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.qa-card h3 { font-size: 0.82rem; font-weight: 600; }
.qa-card p {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--mist);
  flex: 1;
}
.qa-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand);
}
.qa-link svg { width: 12px; height: 12px; }
.qa-saved .qa-link { color: var(--amber); }
@media (hover: hover) {
  .qa-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(6,33,29,0.18); }
}

/* ---------- Section headers (reused across tabs) ---------- */
.panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 28px 0 14px;
}
.panel-header h2 { font-size: 1.15rem; font-weight: 600; }
.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
}
.panel-link svg { width: 16px; height: 16px; }

/* ---------- Filter pills ---------- */
.filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
}
.filter-pill {
  flex: 0 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

/* ---------- Property card (shared visual language with app.css) ---------- */
.h-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.h-scroller::-webkit-scrollbar { display: none; }

.property-card {
  flex: 0 0 auto;
  width: 68vw;
  max-width: 240px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}
.property-card:active { transform: scale(0.98); }
.card-img {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: var(--line);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 10px;
}
.card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,33,29,0.35) 0%, rgba(6,33,29,0) 35%, rgba(6,33,29,0.5) 100%);
}
.save-heart {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(251,248,243,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: var(--danger);
}
.save-heart svg { width: 15px; height: 15px; }
.save-heart:not(.saved) { color: var(--ink); }
.card-verified-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--brand);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}
.card-verified-badge svg { width: 10px; height: 10px; }
.card-price-row {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  background: rgba(251,248,243,0.94);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}
.card-info { padding: 11px 13px 14px; }
.card-info h3 {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-info p { margin: 3px 0 0; font-size: 0.74rem; color: var(--mist); }
.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
}
.card-rating svg { width: 12px; height: 12px; color: var(--brass); }
.card-review-count { color: var(--mist); font-weight: 500; }
.card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: 6px;
}
.card-amenities span { font-size: 0.68rem; color: var(--mist); }
@media (hover: hover) {
  .property-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -16px rgba(6,33,29,0.28); }
}

/* ---------- Book with confidence banner ---------- */
.trust-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-radius: var(--radius-lg);
  padding: 18px;
  margin: 22px 0 8px;
  color: var(--ivory);
  flex-wrap: wrap;
}
.trust-banner-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ivory);
}
.trust-banner-icon svg { width: 21px; height: 21px; }
.trust-banner-copy { flex: 1; min-width: 160px; }
.trust-banner-copy h3 { color: var(--ivory); font-size: 0.98rem; font-weight: 600; }
.trust-banner-copy p { margin: 4px 0 0; font-size: 0.78rem; color: rgba(251,248,243,0.8); line-height: 1.4; }
.btn-ghost-light {
  background: var(--ivory);
  color: var(--brand);
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
  transition: filter 0.2s ease, transform 0.15s ease;
}
.btn-ghost-light:hover { filter: brightness(0.97); }
.btn-ghost-light:active { transform: scale(0.97); }

/* Saved grid (2-column, not horizontal scroll) */
.saved-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.saved-grid .property-card { width: 100%; max-width: none; }

/* ---------- Booking cards ---------- */
.booking-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  gap: 12px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
}
.booking-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  background-color: var(--line);
  flex-shrink: 0;
}
.booking-body { flex: 1; min-width: 0; }
.booking-body h3 {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.booking-dates { font-size: 0.76rem; color: var(--mist); margin-top: 2px; }
.booking-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.booking-price { font-size: 0.82rem; font-weight: 700; color: var(--brand); }
.status-chip {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 9px;
  border-radius: 999px;
}
.status-upcoming { background: rgba(0,77,64,0.1); color: var(--brand); }
.status-completed { background: rgba(124,153,144,0.18); color: var(--mist); }
.status-cancelled { background: rgba(179,69,59,0.1); color: var(--danger); }

/* ---------- Verified Lookups ---------- */
.lookup-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.lookup-box p.lookup-intro {
  font-size: 0.85rem;
  color: var(--mist);
  margin: 4px 0 16px;
  line-height: 1.5;
}
.lookup-meta {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brass);
  margin: -10px 0 16px;
}
.lookup-input-row {
  display: flex;
  gap: 8px;
}
.lookup-input-row input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--ivory);
}
.lookup-input-row input:focus {
  outline: none;
  border-color: var(--brand);
}
.btn-primary {
  background: var(--brand);
  color: var(--white);
  border: none;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.lookup-result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.lookup-result-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lookup-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lookup-badge.verified { background: rgba(0,77,64,0.1); color: var(--brand); }
.lookup-badge.unverified { background: rgba(179,69,59,0.1); color: var(--danger); }
.lookup-badge svg { width: 20px; height: 20px; }
.lookup-result h3 { font-size: 1rem; font-weight: 600; }
.lookup-result .lookup-sub { font-size: 0.78rem; color: var(--mist); margin-top: 1px; }
.lookup-result-detail {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.6;
}

.lookup-paywall {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(0,77,64,0.06), rgba(200,155,92,0.1));
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.lookup-paywall .fee {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 4px;
}
.lookup-paywall p {
  font-size: 0.78rem;
  color: var(--mist);
  margin: 0 0 12px;
}

.lookup-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.lookup-history-item:last-child { border-bottom: none; }

/* ---------- Profile ---------- */
.profile-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}
.profile-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 6px;
}
.form-field input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--ivory);
}
.form-field input:focus { outline: none; border-color: var(--brand); }
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-row span { font-size: 0.85rem; }
.switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch-track {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 999px;
  transition: background 0.2s ease;
  cursor: pointer;
}
.switch-track::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.switch input:checked + .switch-track { background: var(--brand); }
.switch input:checked + .switch-track::before { transform: translateX(18px); }

.btn-logout-full {
  width: 100%;
  background: none;
  border: 1px solid rgba(179,69,59,0.3);
  color: var(--danger);
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Empty / loading / error states ---------- */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--mist);
}
.empty-state svg { width: 40px; height: 40px; margin-bottom: 12px; color: var(--line); }
.empty-state p { font-size: 0.85rem; margin: 0 0 14px; }
.empty-state a.btn-primary { display: inline-block; text-decoration: none; }

.skeleton-row { display: flex; gap: 14px; overflow: hidden; padding: 2px 0 10px; }
.skeleton-card, .skeleton-line {
  background: linear-gradient(100deg, var(--line) 30%, rgba(22,48,43,0.14) 50%, var(--line) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-lg);
}
.skeleton-card { flex: 0 0 auto; width: 68vw; max-width: 240px; height: 210px; }
.skeleton-line { height: 76px; border-radius: var(--radius-md); margin-bottom: 12px; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Bottom tab bar ---------- */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--tabbar-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--white);
  border-top: 1px solid var(--line);
  display: flex;
  z-index: 60;
  box-shadow: 0 -6px 20px -10px rgba(6,33,29,0.15);
}
.tab-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--mist);
  font-size: 0.64rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 2px;
}
.tab-btn svg { width: 21px; height: 21px; }
.tab-btn.active { color: var(--brand); }
.tab-btn .tab-icon-wrap { position: relative; }
.tab-dot {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
}

@media (min-width: 640px) {
  .saved-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================================
   Desktop / premium-site layout
   Below --sidebar-width the app keeps its native mobile shape; above it
   the bottom tab bar becomes a persistent left sidebar and content
   opens up into a wider, more spacious dashboard.
   ===================================================================== */
@media (min-width: 900px) {
  body { padding-bottom: 0; padding-left: var(--sidebar-width); }

  .main-header { padding: 22px clamp(24px, 3.5vw, 56px) 18px; }
  .app-logo { height: 30px; }

  .dash-page { padding: 8px clamp(24px, 3.5vw, 56px) 64px; max-width: var(--content-max); }

  .dash-greeting h1 { font-size: 2.05rem; }
  .dash-greeting p { font-size: 0.98rem; }

  /* Sidebar nav (repurposes the same tab-bar markup/JS, no HTML changes) */
  .tab-bar {
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: var(--sidebar-width);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 28px 14px;
    border-top: none;
    border-right: 1px solid var(--line);
    box-shadow: none;
  }
  .tab-btn {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
  }
  .tab-btn svg { width: 19px; height: 19px; }
  .tab-btn.active { background: rgba(0,77,64,0.09); }
  .tab-btn:hover { background: rgba(0,77,64,0.06); color: var(--brand); }

  /* Discovery bar: search + browse mode share one row */
  .discovery-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
  }
  .search-bar { flex: 1; padding: 13px 18px; }
  .browse-mode-block { margin-top: 0; flex-shrink: 0; }
  .browse-mode-block .eyebrow { display: none; }
  .mode-toggle { margin-top: 0; }
  .mode-btn { padding: 10px 16px; }

  /* Quick-action cards: icon-left, content-right */
  .quick-actions { gap: 18px; margin: 28px 0 6px; }
  .qa-card { flex-direction: row; align-items: flex-start; padding: 20px; gap: 14px; }
  .qa-icon { width: 44px; height: 44px; }
  .qa-icon svg { width: 20px; height: 20px; }
  .qa-card h3 { font-size: 0.92rem; }
  .qa-card p { font-size: 0.78rem; }
  .qa-link { font-size: 0.76rem; }

  /* Recommended: grid instead of a horizontal scroller */
  .h-scroller {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    overflow: visible;
    padding: 2px 0 4px;
  }
  .property-card { width: 100%; max-width: none; }

  .saved-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }

  /* Bookings: two-up */
  #bookingsContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-content: start;
  }
  #bookingsContainer .booking-card { margin-bottom: 0; }
  #bookingsContainer > .empty-state,
  #bookingsContainer > .skeleton-line { grid-column: 1 / -1; }

  .lookup-box { max-width: 640px; }

  /* Profile: two-column form layout (only while this tab is active, so it
     doesn't override the .dash-section hide/show toggle) */
  #profile.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  #profile .panel-header { grid-column: 1 / -1; }
  #profile .btn-logout-full { grid-column: 1 / -1; max-width: 280px; justify-self: start; }
}

/* ---------- Toast notifications ---------- */
.toast-msg {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--brand-deep);
  color: var(--ivory);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 30px -8px rgba(6,33,29,0.4);
  z-index: 500;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: 88vw;
  text-align: center;
}
.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast-msg.error {
  background: var(--danger);
}