/* ==========================================================================
   Grand-Saconnex Accessibility Map — Stylesheet
   Clean, Swiss-inspired design (SBB/TPG aesthetic)
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  --color-primary: #1B4965;
  --color-accent: #62B6CB;
  --color-success: #2D6A4F;
  --color-warning: #E9A820;
  --color-danger: #C1292E;
  --color-bg: #F8F9FA;
  --color-text: #212529;
  --color-text-muted: #6C757D;
  --color-border: #DEE2E6;
  --color-white: #FFFFFF;

  --sidebar-width: 340px;
  --attribution-height: 36px;
  --font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 6px;
  --transition-speed: 0.3s;
}

/* --- Reset / Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- App Layout --- */
#app {
  display: flex;
  height: calc(100% - var(--attribution-height));
  position: relative;
}

/* --- Sidebar --- */
.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  height: 100%;
  background: var(--color-white);
  border-right: 1px solid var(--color-border);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-speed) ease;
  z-index: 1000;
}

.sidebar-header {
  padding: 24px 20px 16px;
  border-bottom: 3px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
}

.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.sidebar-subtitle {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
}

.sidebar-section {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-section:last-child {
  border-bottom: none;
}

.sidebar-description {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.section-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* --- Sidebar Toggle Button --- */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1100;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-primary);
  transition: background var(--transition-speed) ease;
}

.sidebar-toggle:hover {
  background: var(--color-bg);
}

/* --- Filter Controls --- */
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text);
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.filter-checkbox:hover {
  color: var(--color-primary);
}

.filter-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 2px solid var(--color-border);
  border-radius: 3px;
  background: var(--color-white);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.filter-checkbox input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.filter-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Range Slider --- */
.slider-container {
  padding: 4px 0;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--color-border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border: 2px solid var(--color-white);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--color-accent);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border: 2px solid var(--color-white);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  padding: 4px 2px 0;
  font-size: 11px;
  color: var(--color-text-muted);
}

.rating-display {
  text-align: center;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
}

.rating-display .stars {
  color: var(--color-warning);
}

/* --- Legend --- */
.legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.legend-dot {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

/* --- Stats --- */
.stats {
  text-align: center;
}

.stats-text {
  font-size: 14px;
  color: var(--color-text);
}

.stats-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  line-height: 1.2;
}

.stats-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 8px 0;
}

.stats-item {
  text-align: center;
}

/* --- Map Container --- */
.map-container {
  flex: 1;
  position: relative;
  min-width: 0;
}

#map {
  width: 100%;
  height: 100%;
}

/* --- Street View & Map Links in Popup --- */
.popup-streetview-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 5px 12px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background 0.15s ease;
}

.popup-streetview-btn:hover {
  background: var(--color-accent);
}

.popup-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.popup-gmaps-link {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* --- Error Banner --- */
.error-banner {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-danger);
  color: var(--color-white);
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  z-index: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-width: 90%;
  text-align: center;
}

.error-banner.hidden {
  display: none;
}

/* --- Leaflet Popup Overrides --- */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 0;
}

.leaflet-popup-content {
  margin: 0;
  font-family: var(--font-family);
  font-size: 13px;
  line-height: 1.5;
  min-width: 240px;
  max-width: 300px;
}

.leaflet-popup-tip {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Popup inner styles */
.popup-content {
  padding: 0;
}

.popup-header {
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  border-radius: var(--radius) var(--radius) 0 0;
}

.popup-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.popup-category {
  font-size: 12px;
  color: var(--color-text-muted);
}

.popup-body {
  padding: 10px 14px 14px;
}

.popup-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.popup-stars {
  font-size: 16px;
  letter-spacing: 1px;
}

.popup-stars .star-filled {
  color: var(--color-warning);
}

.popup-stars .star-empty {
  color: var(--color-border);
}

.popup-rating-label {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--color-white);
}

.popup-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  margin-bottom: 10px;
  font-size: 12px;
}

.popup-feature {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.popup-feature .feat-icon {
  font-size: 13px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.popup-notes {
  background: var(--color-bg);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  border-left: 3px solid var(--color-accent);
}

.popup-meta {
  font-size: 12px;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.popup-meta a {
  color: var(--color-accent);
  font-weight: 500;
}

.popup-meta a:hover {
  color: var(--color-primary);
}

.popup-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.popup-verified.verified-yes {
  background: #D4EDDA;
  color: var(--color-success);
}

.popup-verified.verified-no {
  background: #F8F9FA;
  color: var(--color-text-muted);
}

/* --- Admin Link --- */
.sidebar-admin {
  text-align: center;
}

.admin-link {
  display: inline-block;
  font-size: 12px;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 4px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all 0.15s ease;
}

.admin-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  text-decoration: none;
}

/* --- Geolocation "You are here" Marker --- */
.geo-marker {
  background: none;
  border: none;
}

.geo-dot {
  width: 16px;
  height: 16px;
  background: #4285F4;
  border: 3px solid var(--color-white);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: geo-pulse 2s ease-in-out infinite;
}

.geo-label {
  font-family: var(--font-family);
  font-size: 10px;
  font-weight: 700;
  color: #4285F4;
  text-align: center;
  white-space: nowrap;
  margin-top: 2px;
  text-shadow: 0 0 3px var(--color-white), 0 0 3px var(--color-white), 0 0 3px var(--color-white);
}

@keyframes geo-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(66, 133, 244, 0.15), 0 2px 6px rgba(0, 0, 0, 0.2); }
}

/* --- School Marker --- */
.school-marker {
  background: none;
  border: none;
}

.school-marker-inner {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border: 3px solid var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(27, 73, 101, 0.45);
  margin: 0 auto;
  animation: school-pulse 2.5s ease-in-out infinite;
}

.school-marker-icon {
  font-size: 22px;
  line-height: 1;
}

.school-marker-label {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 1px 8px;
  border-radius: 8px;
  text-align: center;
  white-space: nowrap;
  margin-top: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

@keyframes school-pulse {
  0%, 100% { box-shadow: 0 3px 12px rgba(27, 73, 101, 0.45); }
  50%      { box-shadow: 0 3px 20px rgba(27, 73, 101, 0.7), 0 0 0 8px rgba(98, 182, 203, 0.2); }
}

.school-popup-header {
  background: var(--color-primary) !important;
  color: var(--color-white);
}

.school-popup-header .popup-title {
  color: var(--color-white);
}

.school-popup-header .popup-category {
  color: rgba(255, 255, 255, 0.85);
}

.school-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

/* --- Attribution Bar --- */
.attribution-bar {
  height: var(--attribution-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  padding: 0 16px;
  flex-wrap: wrap;
}

.attribution-bar a {
  color: rgba(255, 255, 255, 0.9);
}

.attribution-bar a:hover {
  color: var(--color-white);
}

.attr-sep {
  opacity: 0.5;
}

/* --- Responsive: Mobile (768px and below) --- */
@media (max-width: 768px) {
  .sidebar-toggle {
    display: flex;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100% - var(--attribution-height));
    transform: translateX(-100%);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .map-container {
    width: 100%;
  }

  .leaflet-popup-content {
    min-width: 200px;
    max-width: 260px;
  }
}

/* --- Scrollbar (Webkit) --- */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

/* --- Add a Spot Button --- */
.btn-add-spot {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-family);
  color: var(--color-white);
  background: var(--color-success);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease;
  text-align: center;
}

.btn-add-spot:hover {
  background: #52B788;
}

.sidebar-contribute-links {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.contribute-link {
  font-size: 12px;
  color: var(--color-text-muted);
  text-decoration: none;
}

.contribute-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.contribute-sep {
  color: var(--color-border);
  margin: 0 2px;
}

.visitor-name {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

/* --- Pending Marker Legend Dot --- */
.legend-dot-pending {
  background: transparent !important;
  border: 2.5px solid #7C3AED !important;
  box-shadow: none !important;
}

/* --- Pending Popup --- */
.pending-popup-header {
  background: #F3F0FF !important;
}

.pending-popup-header .popup-title {
  color: #7C3AED;
}

.popup-pending-badge {
  display: inline-block;
  background: #7C3AED;
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

/* --- Contributor line in popup --- */
.popup-contributor {
  font-size: 11px;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 6px;
  margin-bottom: 4px;
}

/* ==========================================================================
   Identity Modal (centered card)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 16px;
}

.modal-backdrop.hidden { display: none; }

.modal-card-center {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 28px 24px;
  width: 100%;
  max-width: 380px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  background: var(--color-bg);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.modal-close-btn:hover { background: var(--color-border); }

.submit-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.submit-subtitle {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Shared form elements */
.submit-input {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.submit-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(98, 182, 203, 0.2);
}

.submit-input-code {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 8px;
  padding: 12px;
}

textarea.submit-input { resize: vertical; }
select.submit-input { cursor: pointer; }

.submit-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}

.submit-error {
  background: #FEE2E2;
  color: #C1292E;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 13px;
  margin: 8px 0;
}

.submit-error.hidden { display: none; }

.google-signin-wrapper { margin-bottom: 12px; }

.identity-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--color-text-muted);
  font-size: 12px;
}

.identity-divider::before,
.identity-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.code-sent-msg {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.btn-submit-primary {
  display: block;
  width: 100%;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-family);
  color: var(--color-white);
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 6px;
}

.btn-submit-primary:hover { background: #2A6F97; }
.btn-submit-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-submit-final { background: var(--color-success); }
.btn-submit-final:hover { background: #52B788; }

.btn-submit-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
}

.btn-submit-link:hover { color: var(--color-primary); }

/* ==========================================================================
   Pin-mode floating banner
   ========================================================================== */

.pin-banner {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.pin-banner.hidden { display: none; }

.pin-banner-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 4px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
}

.pin-banner-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Bottom Sheet (details form)
   ========================================================================== */

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--color-white);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.bottom-sheet.hidden {
  display: none;
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin: 10px auto 4px;
  cursor: grab;
}

.sheet-close-btn {
  top: 8px;
  right: 12px;
}

.sheet-scroll {
  overflow-y: auto;
  padding: 8px 20px 24px;
  flex: 1;
}

/* Stars */
.submit-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.submit-stars .star {
  font-size: 26px;
  color: var(--color-border);
  cursor: pointer;
  user-select: none;
}

.submit-stars .star.active { color: #F59E0B; }
.submit-stars .star.hover { color: #F59E0B; opacity: 0.7; }

/* Features */
.submit-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 12px;
}

.submit-features label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

/* Consent */
.submit-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 12px 0;
  cursor: pointer;
}

.submit-consent input { margin-top: 2px; }

/* ==========================================================================
   Map Toast
   ========================================================================== */

.map-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  background: var(--color-success);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.map-toast.hidden { display: none; }

/* --- Print --- */
@media print {
  .sidebar, .sidebar-toggle, .attribution-bar, .bottom-sheet, .pin-banner, .modal-backdrop {
    display: none;
  }

  .map-container {
    width: 100%;
  }
}
