/* App-specific styles — extends theme.css design tokens */

/* Nav */
.app-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fg);
  text-decoration: none;
}
.nav-brand:hover { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-auth { display: flex; gap: 0.75rem; align-items: center; }
.nav-user { display: flex; align-items: center; }
.nav-avatar-link { text-decoration: none; }
.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  overflow: hidden;
}
.nav-avatar:hover { border-color: var(--accent); }
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.unread-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.1rem 0.4rem;
  margin-left: 0.3rem;
  vertical-align: middle;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #0d9668; transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--card-border);
  color: var(--fg);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; }
.btn-lg { padding: 0.75rem 2rem; font-size: 1rem; }
.btn-danger { border-color: #ef4444; color: #ef4444; }
.btn-danger:hover { background: rgba(239,68,68,0.1); }
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.8rem; }

/* Pages */
.page { min-height: calc(100vh - 64px); padding: 2rem; max-width: 1200px; margin: 0 auto; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 0.5rem; }
.page-subtitle { color: var(--fg-muted); margin-bottom: 2rem; }

/* Browse Page */
.browse-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}
.browse-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 0.5rem; }
.browse-subtitle { color: var(--fg-muted); font-size: 1.1rem; }
.filters-bar {
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
}
.filters-inner { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; gap: 0.3rem; }
.filter-group label { font-size: 0.8rem; color: var(--fg-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.filter-group input, .filter-group select {
  background: var(--bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  color: var(--fg);
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  min-width: 120px;
}
.filter-group input:focus, .filter-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.filter-checks { gap: 0.5rem; }
.check-label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; cursor: pointer; color: var(--fg-muted); }
.check-label input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
.check-label:hover { color: var(--fg); }
.results-header { margin-bottom: 1rem; color: var(--fg-muted); font-size: 0.9rem; }
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.listing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}
.listing-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(16,185,129,0.15); }
.card-photo-wrap { position: relative; height: 200px; overflow: hidden; background: var(--bg); }
.card-photo { width: 100%; height: 100%; object-fit: cover; }
.card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--bg-secondary);
  color: var(--fg-muted);
}
.card-badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.badge-verified, .badge-furnished, .badge-pets {
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-verified { background: var(--accent); color: #fff; }
.badge-furnished, .badge-pets { background: var(--card-bg); color: var(--fg-muted); border: 1px solid var(--card-border); }
.card-body { padding: 1.25rem; }
.card-price { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.price-unit { font-size: 0.85rem; color: var(--fg-muted); font-weight: 400; }
.card-title { font-weight: 600; margin: 0.3rem 0 0.2rem; font-size: 1rem; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-address { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 0.6rem; }
.card-meta { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 0.75rem; }
.card-host { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--card-border); }
.host-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.host-avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.host-name-sm { font-size: 0.85rem; color: var(--fg-muted); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; padding: 2rem 0; }
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  color: var(--fg);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.page-btn:hover, .page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Listing Detail */
.page-detail { padding: 1.5rem 2rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--fg-muted); text-decoration: none; font-size: 0.9rem; margin-bottom: 1.5rem; }
.back-link:hover { color: var(--accent); }
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; }
.photo-gallery { margin-bottom: 2rem; }
.gallery-main { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: var(--card-bg); margin-bottom: 0.75rem; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-empty {
  aspect-ratio: 16/9;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--fg-muted);
}
.detail-price { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; }
.detail-price span { font-size: 1rem; color: var(--fg-muted); font-weight: 400; }
.detail-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.5rem; }
.detail-address { color: var(--fg-muted); margin-bottom: 1rem; }
.detail-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.detail-badge {
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  color: var(--accent-secondary);
}
.detail-meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.meta-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 0.75rem; text-align: center; }
.meta-item-val { font-size: 1.2rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.meta-item-label { font-size: 0.8rem; color: var(--fg-muted); }
.detail-section { margin-bottom: 2rem; }
.detail-section h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.detail-description { color: var(--fg-muted); line-height: 1.8; white-space: pre-wrap; }
.detail-rules { color: var(--fg-muted); line-height: 1.8; white-space: pre-wrap; }

/* Host Card */
.host-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}
.host-card-header { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.host-avatar-lg {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.host-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.host-name-lg { font-size: 1.1rem; font-weight: 700; }
.host-verified { color: var(--accent); font-size: 0.85rem; margin-top: 0.2rem; }
.host-joined { color: var(--fg-muted); font-size: 0.8rem; }
.host-bio { color: var(--fg-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.25rem; }
.detail-available {
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}
.avail-label { font-size: 0.85rem; color: var(--fg-muted); }
.avail-date { font-weight: 700; color: var(--accent); font-size: 0.95rem; }

/* Contact Modal */
.contact-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.contact-modal-inner {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  position: relative;
}
.contact-modal-inner h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.contact-listing-ref { color: var(--fg-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.contact-modal-inner textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  color: var(--fg);
  padding: 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  margin-bottom: 0.75rem;
}
.contact-modal-inner textarea:focus { outline: none; border-color: var(--accent); }

/* Create Listing */
.page-create { max-width: 720px; }
.create-form {}
.form-section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--card-border); }
.form-section h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--accent); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  color: var(--fg);
  padding: 0.65rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-checks { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.form-hint { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 0.75rem; }
.req { color: var(--accent); }
.photo-upload-area {
  border: 2px dashed var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  cursor: pointer;
  transition: border-color 0.2s;
}
.photo-upload-area:hover { border-color: var(--accent); }
.photo-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
}
.upload-icon { font-size: 2rem; }
.photo-previews { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.photo-preview-item { position: relative; width: 100px; height: 75px; border-radius: var(--radius); overflow: hidden; }
.photo-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Auth Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius);
}
.modal-close:hover { color: var(--fg); background: var(--bg); }
.modal-tabs { display: flex; gap: 0; margin-bottom: 1.5rem; border-bottom: 1px solid var(--card-border); }
.modal-tab {
  flex: 1;
  padding: 0.7rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--fg-muted);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  margin-bottom: -1px;
}
.modal-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.form-error { color: #ef4444; font-size: 0.85rem; margin-bottom: 0.75rem; min-height: 1.2rem; }

/* Role select */
.role-select { display: flex; gap: 0.75rem; }
.role-btn {
  flex: 1;
  padding: 0.6rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg-muted);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}
.role-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

/* Messages */
.page-messages { padding: 1.5rem 2rem; }
.messages-layout { display: grid; grid-template-columns: 340px 1fr; gap: 0; height: calc(100vh - 130px); border: 1px solid var(--card-border); border-radius: var(--radius-lg); overflow: hidden; }
.conv-list { border-right: 1px solid var(--card-border); overflow-y: auto; }
.conv-list-inner { padding: 0.5rem; }
.conv-item {
  padding: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid transparent;
}
.conv-item:hover { background: var(--bg-secondary); }
.conv-item.active { background: var(--accent-glow); border-color: var(--accent); }
.conv-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.3rem; }
.conv-item-name { font-weight: 600; font-size: 0.95rem; }
.conv-item-time { font-size: 0.75rem; color: var(--fg-muted); }
.conv-item-preview { font-size: 0.85rem; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-item-listing { font-size: 0.8rem; color: var(--accent); margin-bottom: 0.2rem; }
.conv-detail {
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.conv-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 1rem; color: var(--fg-muted); }
.conv-placeholder-icon { font-size: 3rem; }
.conv-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--card-border);
  background: var(--card-bg);
  flex-shrink: 0;
}
.conv-header-title { font-weight: 700; }
.conv-header-subtitle { font-size: 0.85rem; color: var(--fg-muted); }
.conv-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.msg-bubble { max-width: 70%; }
.msg-bubble.mine { align-self: flex-end; }
.msg-bubble.theirs { align-self: flex-start; }
.msg-text {
  padding: 0.6rem 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.mine .msg-text { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.theirs .msg-text { background: var(--card-bg); border: 1px solid var(--card-border); border-bottom-left-radius: 4px; }
.msg-meta { font-size: 0.75rem; color: var(--fg-muted); margin-top: 0.25rem; }
.mine .msg-meta { text-align: right; }
.conv-input-area {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--card-border);
  background: var(--card-bg);
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.conv-input-area input {
  flex: 1;
  background: var(--bg);
  border: 1.5px solid var(--card-border);
  border-radius: 100px;
  color: var(--fg);
  padding: 0.6rem 1.25rem;
  font-family: inherit;
  font-size: 0.9rem;
}
.conv-input-area input:focus { outline: none; border-color: var(--accent); }

/* Profile */
.page-profile { max-width: 900px; }
.profile-header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}
.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-upload-btn {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.profile-name { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.2rem; }
.profile-email { color: var(--fg-muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.profile-verified { color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.verify-placeholder { color: var(--fg-muted); font-size: 0.85rem; }
.profile-body { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.profile-edit-form, .my-listings-section { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 1.5rem; }
.profile-edit-form h3, .my-listings-section h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.my-listings-grid { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.my-listing-item {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.my-listing-thumb { width: 60px; height: 45px; border-radius: 8px; overflow: hidden; background: var(--bg-secondary); flex-shrink: 0; }
.my-listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.my-listing-info { flex: 1; min-width: 0; }
.my-listing-title { font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-listing-meta { font-size: 0.8rem; color: var(--fg-muted); }
.my-listing-actions { display: flex; gap: 0.5rem; }
.listing-status-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.listing-status-active { background: var(--accent-glow); color: var(--accent); border: 1px solid var(--accent); }
.listing-status-inactive { background: var(--card-bg); color: var(--fg-muted); border: 1px solid var(--card-border); }

/* Empty states */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--fg-muted);
}
.empty-state-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  z-index: 1000;
  animation: slideUp 0.3s ease;
  max-width: 320px;
}
.toast.success { border-color: var(--accent); color: var(--accent); }
.toast.error { border-color: #ef4444; color: #ef4444; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Responsive */
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
  .host-card { position: static; }
  .messages-layout { grid-template-columns: 1fr; height: auto; }
  .conv-list { border-right: none; border-bottom: 1px solid var(--card-border); max-height: 300px; }
  .conv-detail { height: 500px; }
  .profile-body { grid-template-columns: 1fr; }
  .nav-links { gap: 0.75rem; }
}
@media (max-width: 640px) {
  .page { padding: 1rem; }
  .filters-inner { gap: 0.75rem; }
  .filter-group input, .filter-group select { min-width: 90px; }
  .listings-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 1rem; }
  .form-row { grid-template-columns: 1fr; }
}
