:root {
  --bg:          #f0ebe5;
  --card-bg:     #ffffff;
  --header-bg:   #1a2f4a;
  --accent:      #e8892b;
  --text:        #1f2937;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --shadow:      0 2px 8px rgba(0,0,0,0.08);
  --radius:      10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.hidden { display: none !important; }

/* ── Header ────────────────────────────────────── */
header {
  background: var(--header-bg);
  color: white;
  padding: 16px 28px 0;
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.header-title { display: flex; align-items: center; gap: 10px; }
.compass { font-size: 26px; }
h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; white-space: nowrap; }

.header-right { display: flex; align-items: center; gap: 8px; }

.btn-add {
  background: var(--accent);
  color: white;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-add:hover { opacity: 0.88; }

.btn-photo-pins {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.btn-photo-pins:hover  { background: rgba(255,255,255,0.25); }
.btn-photo-pins.inactive { opacity: 0.45; }

/* Photo pin dot on map */
.photo-pin-dot {
  width: 14px; height: 14px;
  background: #f97316;
  border: 2.5px solid white;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
  cursor: pointer;
}


.stats-row {
  display: flex;
  gap: 24px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-item  { display: flex; flex-direction: column; align-items: center; }
.stat-value { font-size: 20px; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-label { font-size: 10px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

/* ── Map section (always visible) ───────────────── */
#map-section { position: relative; }
#map { width: 100%; height: 60vh; min-height: 300px; }

#map-legend {
  position: absolute;
  bottom: 28px;
  right: 12px;
  background: white;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  font-size: 12px;
  z-index: 400;
  max-width: 180px;
}
#map-legend .legend-title { font-weight: 700; margin-bottom: 6px; color: var(--text); }
.legend-item { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; color: var(--text-muted); }
.legend-dot  { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

/* Leaflet popup */
.leaflet-popup-content-wrapper { border-radius: 10px !important; padding: 0 !important; overflow: hidden; }
.leaflet-popup-content { margin: 0 !important; width: 220px !important; }
.popup-photo { width: 100%; height: 120px; object-fit: cover; display: block; }
.popup-body  { padding: 10px 12px; }
.popup-name  { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.popup-cat   { font-size: 11px; color: white; padding: 2px 7px; border-radius: 10px; display: inline-block; margin-bottom: 5px; }
.popup-loc   { font-size: 12px; color: var(--text-muted); margin-bottom: 3px; }
.popup-date  { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.popup-stars { font-size: 13px; color: #f59e0b; margin-bottom: 8px; }
.popup-btn   {
  display: inline-block; background: var(--header-bg); color: white;
  border: none; border-radius: 6px; padding: 5px 12px; font-size: 12px;
  font-weight: 600; cursor: pointer; width: 100%; text-align: center;
}
.popup-btn:hover { background: #243d5e; }

/* ── Trips section (between map and destinations) ── */
#trips-section {
  background: var(--header-bg);
  padding: 18px 28px 22px;
  border-bottom: 3px solid var(--accent);
}

.trips-header {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.trips-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.55);
}

.trips-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.trip-card {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 260px;
  max-width: 360px;
  flex: 1;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}
.trip-card:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
}

.trip-card-accent {
  width: 4px;
  border-radius: 4px;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 48px;
}

.trip-card-body { flex: 1; min-width: 0; }

.trip-card-name {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trip-card-dates {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 5px;
}

.trip-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.trip-card-cat {
  font-size: 11px;
  font-weight: 700;
  color: white;
  padding: 2px 9px;
  border-radius: 20px;
}

.trip-card-places {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

/* ── Upcoming Adventures section ────────────────── */
#upcoming-trips {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 28px 4px;
}
.upcoming-header { margin-bottom: 10px; }
.upcoming-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.upcoming-card {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
  border: 1px solid var(--border);
}
.upcoming-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.13); transform: translateY(-2px); }
.upcoming-left-bar {
  width: 6px;
  align-self: stretch;
  background: #0f766e;
  flex-shrink: 0;
}
.upcoming-card-body {
  flex: 1;
  padding: 14px 16px;
  min-width: 0;
}
.upcoming-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.upcoming-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.upcoming-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.upcoming-badge.planning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.upcoming-badge.inprogress {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.upcoming-card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.upcoming-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.upcoming-progress-track {
  flex: 1;
  max-width: 240px;
  height: 5px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.upcoming-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0f766e, #14b8a6);
  border-radius: 10px;
  transition: width 0.6s ease;
}
.upcoming-progress-label {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.upcoming-card-arrow {
  padding: 0 18px;
  font-size: 20px;
  color: #0f766e;
  flex-shrink: 0;
}

/* ── Destinations section (below map) ───────────── */
#destinations {
  padding: 20px 28px 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.dest-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* keep .controls alias for backward compat */
.controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.search-wrap input {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  width: 200px;
  background: white;
  outline: none;
  transition: border-color 0.2s;
}
.search-wrap input:focus { border-color: var(--header-bg); }

.sort-wrap select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  background: white;
  color: var(--text-muted);
  outline: none;
  cursor: pointer;
}

.filter-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  padding: 6px 13px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 500;
  background: white;
  color: var(--text-muted);
}
.chip:hover { border-color: #999; color: var(--text); }
.chip.active { background: var(--header-bg); color: white; border-color: var(--header-bg); }

.trip-count { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }

/* ── Cards ──────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid #ccc;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.13); transform: translateY(-2px); }

.card-photo-strip {
  width: 100%;
  height: 140px;
  display: flex;
  gap: 2px;
  overflow: hidden;
}
.card-photo-strip img {
  flex: 1;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.15s;
}
.card-photo-strip img:hover { opacity: 0.9; }

.card-body { padding: 14px; }

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
}
.card-name { font-size: 16px; font-weight: 700; line-height: 1.25; flex: 1; }
.cat-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: white;
  flex-shrink: 0;
}

.card-location { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.card-date     { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.card-stars    { font-size: 14px; color: #f59e0b; margin-bottom: 4px; }
.card-notes {
  font-size: 13px; color: #4b5563;
  margin-bottom: 10px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.card-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.btn-icon {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s;
}
.btn-icon:hover { background: #f3f4f6; color: var(--text); }
.btn-icon.danger:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .emoji { font-size: 48px; margin-bottom: 12px; }

/* ── Modal ──────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.modal-overlay.open { display: flex; }

.modal {
  background: white;
  border-radius: 14px;
  width: min(580px, 96vw);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.modal-header h2 { font-size: 19px; }
.modal-close {
  background: none; border: none; font-size: 26px;
  cursor: pointer; color: var(--text-muted); line-height: 1; padding: 0 4px;
}
.modal-close:hover { color: var(--text); }

form { padding: 18px 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { margin-bottom: 14px; }

label {
  font-size: 11px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;
}

input[type=text], input[type=month], select, textarea {
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: 8px 11px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--header-bg); }
textarea { resize: vertical; }

.star-input { display: flex; gap: 3px; font-size: 24px; cursor: pointer; padding-top: 2px; }
.star-input span { color: #d1d5db; transition: color 0.1s; user-select: none; }
.star-input span.lit { color: #f59e0b; }

/* Photo upload section in modal */
.photo-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding-top: 4px;
}
.btn-upload {
  background: var(--header-bg);
  color: white;
  padding: 5px 13px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-upload:hover { opacity: 0.85; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.photo-thumb-wrap {
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg);
}
.photo-thumb-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block;
}
.photo-delete {
  position: absolute;
  top: 4px; right: 4px;
  background: rgba(0,0,0,0.55);
  color: white;
  border: none;
  border-radius: 50%;
  width: 22px; height: 22px;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.photo-delete:hover { background: rgba(220,38,38,0.85); }

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}
.btn-cancel {
  background: white; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 9px 20px; font-size: 14px;
  cursor: pointer; color: var(--text-muted);
}
.btn-cancel:hover { background: #f9fafb; }
.btn-save {
  background: var(--header-bg); color: white; border: none;
  border-radius: 8px; padding: 9px 24px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn-save:hover { background: #243d5e; }

/* ── Lightbox ───────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 6px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 18px; right: 24px;
  background: none; border: none; color: white;
  font-size: 36px; cursor: pointer; line-height: 1;
}

/* ── Inbox button ── */
.btn-inbox {
  position: relative;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
}
.btn-inbox:hover { background: rgba(255,255,255,0.22); }
.inbox-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Inbox modal ── */
.inbox-modal { max-width: 680px; max-height: 80vh; display: flex; flex-direction: column; }
.inbox-subhead { font-size: 13px; color: var(--text-muted); padding: 0 24px 12px; border-bottom: 1px solid var(--border); }
.inbox-list { overflow-y: auto; padding: 16px 24px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.inbox-empty { color: var(--text-muted); font-size: 14px; text-align: center; padding: 2rem 0; }

.inbox-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #fafafa;
  transition: opacity .3s;
}
.inbox-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.inbox-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.inbox-subject { font-weight: 600; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 400px; }
.inbox-from { font-size: 12px; color: var(--text-muted); }
.inbox-date { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.inbox-match { font-size: 13px; color: #1d4ed8; background: #eff6ff; border-radius: 6px; padding: 4px 10px; margin-bottom: 6px; display: inline-block; }
.inbox-match.no-match { color: var(--text-muted); background: #f3f4f6; }
.inbox-snippet { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 6px; }
.inbox-reasoning { font-size: 12px; color: #6d28d9; font-style: italic; margin-bottom: 10px; }
.inbox-actions { display: flex; gap: 8px; }
.btn-approve {
  background: #16a34a; color: #fff; border: none; border-radius: 6px;
  padding: 6px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.btn-approve:hover { background: #15803d; }
.btn-reject {
  background: #fff; color: #dc2626; border: 1px solid #dc2626; border-radius: 6px;
  padding: 6px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.btn-reject:hover { background: #fef2f2; }

@media (max-width: 640px) {
  header      { padding: 14px 14px 0; }
  main        { padding: 14px; }
  .form-row   { grid-template-columns: 1fr; }
  .stats-row  { gap: 14px; flex-wrap: wrap; }
  .stat-value { font-size: 18px; }
  h1          { font-size: 18px; }
  #map        { height: calc(100vh - 130px); }
}

/* ── Quick-View Panel ──────────────────────────────────────────────────── */
.qv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 800;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.qv-panel {
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: min(600px, 100vw);
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  position: relative;
}
.qv-panel.open { transform: translateY(0); }

.qv-close {
  position: absolute;
  top: 12px; right: 16px;
  background: rgba(0,0,0,0.12);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 18px;
  cursor: pointer;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background 0.15s;
}
.qv-close:hover { background: rgba(0,0,0,0.28); }

.qv-hero {
  height: 160px;
  background: #1a2f4a;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #e8892b;
}

.qv-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.4s;
}

.qv-hero.has-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.2) 100%);
}

.qv-hero-text { position: relative; z-index: 1; }
.qv-name { font-size: 20px; font-weight: 800; color: white; line-height: 1.2; }
.qv-sub  { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 2px; }

.qv-body {
  padding: 16px 20px 24px;
}

.qv-trip-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.qv-pill {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  color: #1e40af;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}
.qv-pill:hover { background: #dbeafe; }

.qv-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}

.qv-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  cursor: zoom-in;
  background: #e5e7eb;
}
.qv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.qv-photo:hover img { transform: scale(1.06); }

.qv-more {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  background: #f3f4f6;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.15s;
}
.qv-more:hover { background: #e5e7eb; }

.qv-view-btn {
  display: block;
  text-align: center;
  background: #1a2f4a;
  color: white;
  text-decoration: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.15s;
}
.qv-view-btn:hover { background: #243d5e; }

.qv-loading, .qv-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 24px;
  color: #9ca3af;
  font-size: 13px;
  font-style: italic;
}
