  /* ==========================================================================
     RAIL ABOUT INCLUSIVE MAP ACCORDION CARD & DESKTOP SEARCH BUTTONS
     ========================================================================== */

  /* 1. Left Rail About Card */
  .apple-rail-about-card {
    margin: 8px 4px 4px 4px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    flex-shrink: 0;
  }
  body.dark-theme .apple-rail-about-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
  }
  .apple-rail-about-header {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    background: transparent;
    transition: background 0.16s ease;
  }
  .apple-rail-about-header:hover {
    background: rgba(2, 105, 153, 0.05);
  }
  body.dark-theme .apple-rail-about-header:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  .apple-rail-about-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .apple-rail-about-icon {
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
  }
  .apple-rail-about-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--heading, #0f172a);
    font-family: var(--font-firago);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }
  body.dark-theme .apple-rail-about-title {
    color: #f8fafc;
  }
  .apple-rail-about-chevron {
    font-size: 0.6rem;
    color: #94a3b8;
    transition: transform 0.24s ease;
    flex-shrink: 0;
  }
  .apple-rail-about-card.open .apple-rail-about-chevron {
    transform: rotate(180deg);
  }

  .apple-rail-about-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s cubic-bezier(0.16, 1, 0.3, 1), padding 0.28s ease, opacity 0.2s ease;
    padding: 0 12px;
    opacity: 0;
  }
  .apple-rail-about-card.open .apple-rail-about-body {
    max-height: 260px;
    padding: 0 12px 12px 12px;
    opacity: 1;
  }

  .apple-rail-about-desc {
    font-size: 0.72rem;
    line-height: 1.45;
    color: #64748b;
    font-family: var(--font-firago);
    margin: 0 0 10px 0;
    text-align: left;
  }
  body.dark-theme .apple-rail-about-desc {
    color: #94a3b8;
  }

  .apple-rail-about-btn {
    width: 100%;
    height: 30px;
    border-radius: 10px;
    border: 1px solid rgba(2, 105, 153, 0.2);
    background: rgba(2, 105, 153, 0.06);
    color: var(--primary, #0284c7);
    font-size: 0.74rem;
    font-weight: 600;
    font-family: var(--font-firago);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.18s ease;
  }
  .apple-rail-about-btn:hover {
    background: var(--primary, #0284c7);
    color: #ffffff;
    border-color: var(--primary, #0284c7);
    transform: translateY(-0.5px);
  }
  body.dark-theme .apple-rail-about-btn {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.25);
    color: #38bdf8;
  }
  body.dark-theme .apple-rail-about-btn:hover {
    background: #38bdf8;
    color: #0f172a;
  }

  /* When Left Rail is collapsed into 68px icon-only bar */
  .apple-desktop-rail.collapsed .apple-rail-about-card {
    width: 44px;
    margin: 8px auto;
    border-radius: 12px;
  }
  .apple-desktop-rail.collapsed .apple-rail-about-header {
    justify-content: center;
    padding: 8px 4px;
  }
  .apple-desktop-rail.collapsed .apple-rail-about-title,
  .apple-desktop-rail.collapsed .apple-rail-about-chevron,
  .apple-desktop-rail.collapsed .apple-rail-about-body {
    display: none !important;
  }

  /* 2. Desktop Search Input & Buttons Styling */
  .desktop-left-column #search-input {
    padding-right: 215px !important;
  }

  .desktop-left-column #btn-near-me,
  .desktop-left-column #btn-toggle-filters {
    width: auto !important;
    height: 32px !important;
    padding: 0 11px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-family: var(--font-firago) !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
  }

  .desktop-left-column .btn-label-desktop {
    display: inline-block !important;
    font-family: var(--font-firago) !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .desktop-left-column #btn-near-me {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
  }
  .desktop-left-column #btn-near-me:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
  }
  body.dark-theme .desktop-left-column #btn-near-me {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }
  body.dark-theme .desktop-left-column #btn-near-me:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
  }

  .desktop-left-column #btn-toggle-filters {
    background: rgba(2, 105, 153, 0.08) !important;
    color: var(--primary, #0284c7) !important;
    border: 1px solid rgba(2, 105, 153, 0.2) !important;
    position: relative !important;
  }
  .desktop-left-column #btn-toggle-filters:hover {
    background: rgba(2, 105, 153, 0.15) !important;
    border-color: var(--primary, #0284c7) !important;
    transform: translateY(-0.5px) !important;
  }
  body.dark-theme .desktop-left-column #btn-toggle-filters {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
  }
  body.dark-theme .desktop-left-column #btn-toggle-filters:hover {
    background: rgba(56, 189, 248, 0.2) !important;
    border-color: #38bdf8 !important;
  }
}

/* ==========================================================================
   MOBILE ISOLATION SAFEGUARDS (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .drawer-header {
    display: none !important;
  }
  .drawer-view {
    display: contents !important;
  }
  .drawer-view:not(#drawer-view-places) {
    display: none !important;
  }
}


/* ==========================================================================
   COMPANION DRAWER: GEO-LOCATION, GUEST VALUE CARD & VOLUNTEER STYLES
   ========================================================================== */

.drawer-pickup-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.drawer-pickup-geo-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 4px 11px;
  border-radius: 9999px;
  font-family: var(--font-firago);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-pickup-geo-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.drawer-pickup-geo-btn:active {
  transform: translateY(0);
}

.drawer-pickup-geo-btn svg {
  color: #2563eb;
  transition: transform 0.2s ease;
}

.drawer-pickup-geo-btn:hover svg {
  transform: scale(1.15);
}

body.dark-theme .drawer-pickup-geo-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
}

body.dark-theme .drawer-pickup-geo-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

body.dark-theme .drawer-pickup-geo-btn svg {
  color: #60a5fa;
}

.drawer-input-highlight {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22) !important;
  animation: pulseInputHighlight 0.9s ease;
}

@keyframes pulseInputHighlight {
  0% { transform: scale(1); }
  50% { transform: scale(1.015); }
  100% { transform: scale(1); }
}

/* --- Guest Educational & Value Proposition Card --- */
.drawer-companion-guest-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
  animation: fadeInGuestCard 0.25s ease-out;
}

@keyframes fadeInGuestCard {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

body.dark-theme .drawer-companion-guest-card {
  background: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.drawer-comp-guest-header {
  margin-bottom: 16px;
}

.drawer-comp-guest-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  font-family: var(--font-firago);
  margin: 10px 0 6px 0;
  line-height: 1.35;
}

body.dark-theme .drawer-comp-guest-title {
  color: #f8fafc;
}

.drawer-comp-guest-sub {
  font-size: 0.83rem;
  color: #64748b;
  font-family: var(--font-firago);
  line-height: 1.45;
  margin: 0;
}

body.dark-theme .drawer-comp-guest-sub {
  color: #94a3b8;
}

/* Benefit Boxes */
.drawer-comp-benefit-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 15px 16px;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.drawer-comp-benefit-box.volunteer-box {
  background: #f0fdf4;
  border-color: rgba(34, 197, 94, 0.28);
}

body.dark-theme .drawer-comp-benefit-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.09);
}

body.dark-theme .drawer-comp-benefit-box.volunteer-box {
  background: rgba(34, 197, 94, 0.09);
  border-color: rgba(34, 197, 94, 0.25);
}

.drawer-comp-benefit-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.drawer-comp-benefit-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.drawer-comp-benefit-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  font-family: var(--font-firago);
  line-height: 1.35;
}

body.dark-theme .drawer-comp-benefit-title {
  color: #f8fafc;
}

.drawer-comp-benefit-desc {
  margin: 2px 0 0 0;
  font-size: 0.74rem;
  color: #64748b;
  font-family: var(--font-firago);
  line-height: 1.35;
}

body.dark-theme .drawer-comp-benefit-desc {
  color: #94a3b8;
}

.drawer-comp-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-comp-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #334155;
  font-family: var(--font-firago);
}

body.dark-theme .drawer-comp-benefit-list li {
  color: #cbd5e1;
}

.drawer-comp-benefit-list .benefit-bullet {
  color: #16a34a;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.2;
}

body.dark-theme .drawer-comp-benefit-list .benefit-bullet {
  color: #4ade80;
}

/* Guest Action Buttons */
.drawer-comp-guest-actions {
  margin-top: 18px;
}

.drawer-btn-secondary {
  width: 100%;
  height: 42px;
  background: #ffffff;
  border: 1.5px solid #22c55e;
  color: #15803d;
  border-radius: 14px;
  font-family: var(--font-firago);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-btn-secondary:hover {
  background: rgba(34, 197, 94, 0.08);
  transform: translateY(-1px);
}

body.dark-theme .drawer-btn-secondary {
  background: transparent;
  border-color: #4ade80;
  color: #4ade80;
}

body.dark-theme .drawer-btn-secondary:hover {
  background: rgba(34, 197, 94, 0.16);
}

/* --- Volunteer Area Info Card --- */
.drawer-companion-volunteer-card {
  background: #ffffff;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 20px;
  padding: 22px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
}

body.dark-theme .drawer-companion-volunteer-card {
  background: #1c1c1e;
  border-color: rgba(34, 197, 94, 0.35);
}

.drawer-comp-vol-box {
  text-align: left;
}

/* ==========================================================================
   GOOGLE MATERIAL SYMBOLS (ROUNDED & FILLED) - APPLE MAPS / GOOGLE MAPS STYLE
   ========================================================================== */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  user-select: none;
  flex-shrink: 0;
}

.map-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #475569;
  transition: color 0.18s ease;
}

.map-chip-icon .material-symbols-rounded {
  font-size: 18px !important;
  line-height: 1 !important;
  color: inherit !important;
}

.map-filter-chip.active .map-chip-icon,
.map-filter-chip.active .map-chip-icon .material-symbols-rounded {
  color: #ffffff !important;
}

body.dark-theme .map-chip-icon {
  color: #94a3b8;
}

body.dark-theme .map-filter-chip.active .map-chip-icon,
body.dark-theme .map-filter-chip.active .map-chip-icon .material-symbols-rounded {
  color: #0f172a !important;
}

.feature-badge .material-symbols-rounded,
.popup-feature-badge .material-symbols-rounded {
  font-size: 14px !important;
  line-height: 1 !important;
}


/* --- AI Scanner Drawer Polish & Sizing --- */
.drawer-scanner-upload-card {
  margin-bottom: 12px;
}

.drawer-scanner-preview-box {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border, #e2e8f0);
  background: #000;
}

.drawer-scanner-img-wrap {
  position: relative;
  width: 100%;
  height: 210px;
}

.drawer-scanner-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drawer-scanner-repick-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(18, 18, 20, 0.75);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 6px 12px;
  font-family: var(--font-firago);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.drawer-scanner-repick-btn:hover {
  background: rgba(18, 18, 20, 0.9);
}

.drawer-scanner-btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 14px 0 6px;
}

.drawer-scanner-action-btn {
  background: var(--primary, #0284c7);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 10px 22px;
  font-family: var(--font-firago);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(2, 105, 153, 0.22);
}

.drawer-scanner-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 105, 153, 0.3);
  opacity: 0.96;
}

.drawer-scanner-action-btn:active {
  transform: translateY(0);
}

.drawer-scanner-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Loading card */
.drawer-scanner-loading-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 16px;
  text-align: center;
  margin-top: 14px;
}

body.dark-theme .drawer-scanner-loading-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.drawer-scanner-spinner-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.drawer-scanner-spinner {
  font-size: 32px;
  color: var(--primary, #0284c7);
  animation: spin 1s linear infinite;
}

.drawer-scanner-loading-title {
  font-family: var(--font-firago);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--heading, #0f172a);
  margin-bottom: 4px;
}

.drawer-scanner-loading-sub {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

/* Scan Result card */
.drawer-scanner-result-card {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 18px;
  padding: 16px;
  margin-top: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

body.dark-theme .drawer-scanner-result-card {
  background: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.08);
}

.drawer-scanner-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.drawer-scanner-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-firago);
}

.drawer-scanner-status-badge.accessible {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.drawer-scanner-status-badge.partially_accessible {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.drawer-scanner-status-badge.inaccessible {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.drawer-scanner-ai-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 8px;
}

body.dark-theme .drawer-scanner-ai-tag {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.drawer-scanner-result-title {
  font-family: var(--font-firago);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--heading, #0f172a);
  margin-bottom: 3px;
}

.drawer-scanner-result-addr {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 12px;
}

.drawer-scanner-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.drawer-scanner-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
}

body.dark-theme .drawer-scanner-feature-pill {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.drawer-scanner-analysis-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

body.dark-theme .drawer-scanner-analysis-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.drawer-scanner-analysis-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--heading, #0f172a);
  margin-bottom: 6px;
  font-family: var(--font-firago);
}

.drawer-scanner-analysis-text {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}

body.dark-theme .drawer-scanner-analysis-text {
  color: #cbd5e1;
}

.drawer-scanner-result-actions {
  display: flex;
  gap: 10px;
}

/* Apple Rail Saved Badge */
.apple-rail-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background-color: var(--primary, #0284c7);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* ==========================================================================
   GOOGLE-MAPS STYLE FLOATING FILTER CHIPS BAR OVER THE MAP
   ========================================================================== */

.map-floating-filter-bar {
  position: absolute;
  top: 16px;
  left: 708px;
  right: 16px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  transition: left 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When drawer is open with collapsed rail */
.desktop-left-column.rail-collapsed ~ .map-container .map-floating-filter-bar {
  left: 536px;
}

/* When drawer is closed (only Rail is visible) */
.desktop-left-column.drawer-closed ~ .map-container .map-floating-filter-bar {
  left: 256px;
}

/* When rail is collapsed AND drawer is closed */
.desktop-left-column.rail-collapsed.drawer-closed ~ .map-container .map-floating-filter-bar {
  left: 84px;
}

@media (max-width: 768px) {
  .map-floating-filter-bar {
    display: none !important;
  }
}

/* All Filters Button */
.map-chip-all-filters-btn {
  pointer-events: auto;
  flex-shrink: 0;
  height: 38px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  color: #0f172a;
  font-family: var(--font-firago);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.map-chip-all-filters-btn:hover {
  background: #f8fafc;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.map-chip-all-filters-btn:active {
  transform: translateY(0);
}

.map-chip-all-filters-btn svg {
  color: #2563eb;
}

.map-chip-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.map-chips-divider {
  width: 1px;
  height: 24px;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

/* Scrollable / Draggable Chips Track */
.map-filter-chips-track {
  pointer-events: auto;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  padding: 4px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.map-filter-chips-track::-webkit-scrollbar {
  display: none;
}

/* Individual Filter Chip */
.map-filter-chip {
  flex-shrink: 0;
  height: 36px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  color: #1c1c1e;
  font-family: var(--font-firago);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}

.map-filter-chip:hover {
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.map-filter-chip:active {
  transform: translateY(0);
}

.map-chip-icon {
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.map-chip-icon .material-symbols-rounded {
  font-size: 18px;
  vertical-align: middle;
}

.map-chip-close {
  display: none;
  font-size: 0.7rem;
  margin-left: 2px;
  font-weight: 700;
  opacity: 0.85;
}

/* Active State for Feature Chips (Accessibility - Green Theme) */
.map-filter-chip.feature-chip.active {
  background: #16a34a !important;
  color: #ffffff !important;
  border-color: #15803d !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35) !important;
}
.map-filter-chip.feature-chip.active .map-chip-icon .material-symbols-rounded {
  color: #ffffff !important;
}
.map-filter-chip.feature-chip.active .map-chip-close {
  display: inline-block !important;
}

/* Active State for Category Chips (Blue Theme) */
.map-filter-chip.cat-chip.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}
.map-filter-chip.cat-chip.active .map-chip-icon .material-symbols-rounded {
  color: #ffffff !important;
}
.map-filter-chip.cat-chip.active .map-chip-close {
  display: inline-block !important;
}

.map-chips-sub-divider {
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  margin: 0 4px;
}

/* Dark theme overrides */
body.dark-theme .map-chip-all-filters-btn,
body.dark-theme .map-filter-chip {
  background: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

body.dark-theme .map-chip-all-filters-btn:hover,
body.dark-theme .map-filter-chip:hover {
  background: #2c2c2e;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

body.dark-theme .map-chips-divider,
body.dark-theme .map-chips-sub-divider {
  background: rgba(255, 255, 255, 0.15);
}

body.dark-theme .map-filter-chip.feature-chip.active {
  background: #22c55e !important;
  color: #ffffff !important;
  border-color: #4ade80 !important;
}

body.dark-theme .map-filter-chip.cat-chip.active {
  background: #3b82f6 !important;
  color: #ffffff !important;
  border-color: #60a5fa !important;
}


/* Apple Dark Theme Text & Icon Readability Overrides */
body.dark-theme .apple-rail-item .apple-rail-item-icon,
body.dark-theme .apple-rail-item-icon svg,
body.dark-theme .apple-rail-item-icon .material-symbols-rounded {
  color: #ffffff !important;
  fill: #ffffff !important;
}

@media (min-width: 769px) {
  .map-floating-filter-bar {
    gap: 0;
    min-height: 58px;
    padding: 5px;
    border: 1px solid rgba(204, 215, 224, .9);
    border-radius: 15px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 26px rgba(28, 52, 73, .12);
    pointer-events: auto;
  }
  .desktop-map-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 280px;
    min-width: 180px;
    height: 48px;
    padding: 0 16px;
    color: #66788a;
  }
  .desktop-map-search .material-symbols-rounded { font-size: 21px; }
  .desktop-map-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
    color: #25384a;
    font: 500 15px var(--font-firago);
  }
  .desktop-map-search input:focus,
  .desktop-map-search input:focus-visible { border: 0 !important; outline: none !important; box-shadow: none !important; }
  .desktop-map-search:focus-within .material-symbols-rounded { color: var(--primary, #0284c7); }
  .desktop-map-search input::placeholder { color: #718096; }
  .desktop-map-filter-tab {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 12px;
    border: 0;
    border-left: 1px solid #dce4ea;
    background: transparent;
    color: #32485b;
    font: 600 13px var(--font-firago);
    cursor: pointer;
    white-space: nowrap;
  }
  .desktop-map-filter-tab span { margin-left: 8px; font-size: 18px; }
  .desktop-map-accessibility-tab,
  .desktop-map-category-tab,
  .desktop-map-location-tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
  .desktop-map-location-tab > .material-symbols-rounded { margin: 0; font-size: 21px; line-height: 1; }
  .desktop-map-location-menu {
    display: none;
    position: absolute;
    top: calc(100% + 7px);
    right: 150px;
    width: min(280px, calc(100vw - 32px));
    padding: 17px 18px 13px;
    border: 1px solid #dce4ea;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(28, 52, 73, .16);
    color: #32485b;
  }
  .map-floating-filter-bar.location-menu-open .desktop-map-location-menu { display: block; }
  .desktop-map-location-heading, .desktop-map-location-scale { display: flex; align-items: center; justify-content: space-between; }
  .desktop-map-location-heading { margin-bottom: 15px; font: 600 13px var(--font-firago); }
  .desktop-map-location-heading output { color: var(--primary, #0284c7); }
  .desktop-map-location-menu input[type="range"] { display: block; width: 100%; margin: 0; accent-color: var(--primary, #0284c7); cursor: pointer; }
  .desktop-map-location-scale { margin-top: 8px; color: #718096; font: 500 11px var(--font-firago); }
  .desktop-map-location-off { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 15px; padding: 9px; border: 0; border-radius: 9px; background: #edf5f9; color: #32485b; font: 600 12px var(--font-firago); cursor: pointer; }
  .desktop-map-location-off:hover { background: #e0eef6; color: var(--primary, #0284c7); }
  .desktop-map-location-off .material-symbols-rounded { font-size: 18px; line-height: 1; }
  .desktop-map-accessibility-icons,
  .desktop-map-category-icons { display: inline-flex; height: 24px; align-items: center; gap: 5px; margin-left: 0 !important; line-height: 1; }
  .desktop-map-accessibility-icons .material-symbols-rounded,
  .desktop-map-category-icons .material-symbols-rounded { display: block; margin-left: 0; font-size: 19px; line-height: 1; }
  .desktop-map-filter-chevron { display: block; width: 16px; height: 16px; flex: none; transition: transform .18s ease; }
  .desktop-map-filter-tab[aria-expanded="true"] .desktop-map-filter-chevron { transform: rotate(180deg); }
  .desktop-map-filter-tab:hover,
  .desktop-map-filter-tab[aria-expanded="true"] { color: var(--primary, #0284c7); background: rgba(2, 132, 199, .06); border-radius: 9px; }
  .map-floating-filter-bar .map-chips-divider { display: none; }
  .map-floating-filter-bar .map-filter-chips-track {
    display: none;
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    width: min(410px, 100%);
    max-height: min(60vh, 430px);
    overflow-y: auto;
    overflow-x: hidden;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 7px;
    padding: 13px;
    border: 1px solid #dce4ea;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(28, 52, 73, .16);
    cursor: default;
  }
  .map-floating-filter-bar.filter-menu-features .map-filter-chips-track,
  .map-floating-filter-bar.filter-menu-categories .map-filter-chips-track { display: flex; }
  .map-floating-filter-bar.filter-menu-features .cat-chip,
  .map-floating-filter-bar.filter-menu-categories .feature-chip,
  .map-floating-filter-bar .map-chips-sub-divider { display: none; }
  .map-floating-filter-bar .map-filter-chip { box-shadow: none; }
  .desktop-left-column #drawer-view-places #mobile-search-target { display: none !important; }
  .desktop-left-column #drawer-view-places #search-volunteer-flex-row { display: none !important; }
  .desktop-left-column #drawer-view-places .search-filter-section { display: none !important; }
  .desktop-left-column #drawer-view-places .places-list { padding-top: 8px !important; }
  body.dark-theme .map-floating-filter-bar,
  body.dark-theme .map-floating-filter-bar .map-filter-chips-track {
    background: rgba(28, 34, 41, .97);
    border-color: #3a4651;
  }
  body.dark-theme .desktop-map-search input,
  body.dark-theme .desktop-map-filter-tab { color: #edf3f7; }
  body.dark-theme .desktop-map-filter-tab { border-left-color: #3a4651; }
  body.dark-theme .desktop-map-location-menu { background: #1c2229; border-color: #3a4651; color: #edf3f7; }
}

@media (max-width: 768px) {
  .desktop-map-search,
  .desktop-map-filter-tab { display: none !important; }
  .desktop-map-location-menu { display: none !important; }
}
@media (min-width: 769px) and (max-width: 1500px) {
  .map-floating-filter-bar { flex-wrap: nowrap; }
  .map-floating-filter-bar .desktop-map-search {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
  }
  .map-floating-filter-bar .desktop-map-filter-tab { padding: 0 9px; }
  .map-floating-filter-bar .desktop-map-filter-tab:first-of-type { border-left: 0; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .map-floating-filter-bar .desktop-map-search { padding: 0 10px; }
  .map-floating-filter-bar .desktop-map-accessibility-icons,
  .map-floating-filter-bar .desktop-map-category-icons { gap: 2px; }
}
@media (min-width: 769px) and (max-width: 950px) {
  .map-floating-filter-bar .desktop-map-accessibility-icons .material-symbols-rounded:nth-child(n+3) { display: none; }
  .map-floating-filter-bar .desktop-map-category-icons .material-symbols-rounded:nth-child(n+2) { display: none; }
}
.desktop-city-filter { position: relative; flex: 0 1 128px; min-width: 98px; height: 40px; }
.desktop-map-city-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-width: 0; height: 40px; gap: 6px; border-left: 1px solid #dce4ea; }
.desktop-map-city-button > .material-symbols-rounded { margin-left: 0; font-size: 19px; flex: none; }
.desktop-map-city-button .city-button-label, .mobile-city-button .city-button-label { flex: 0 1 auto; min-width: 0; margin-left: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 13px var(--font-firago); }
.desktop-map-city-button .desktop-map-filter-chevron { flex: none; margin-left: 2px; }
.desktop-map-city-button[aria-expanded="true"] { color: var(--primary, #0284c7); background: #f0f8fd; }
.mobile-city-filter { display: none; }
.city-filter-menu[hidden], .city-filter-option[hidden], .city-filter-empty[hidden] { display: none !important; }
.city-filter-menu { position: absolute; top: calc(100% + 12px); left: 0; z-index: 1200; width: 272px; padding: 14px; box-sizing: border-box; border: 1px solid #e2eaf0; border-radius: 16px; background: #fff; box-shadow: 0 14px 40px rgba(30, 52, 71, .16); color: #26394a; }
.city-filter-heading { margin: 0 2px 11px; font: 700 13px var(--font-firago); }
.city-filter-search { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 10px; border: 1px solid #dce7ee; border-radius: 10px; background: #f8fafc; }
.city-filter-search > .material-symbols-rounded { font-size: 19px; color: #8394a2; }
.city-filter-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; font: 500 13px var(--font-firago); }
.city-filter-options { max-height: 268px; margin-top: 8px; overflow-y: auto; overscroll-behavior: contain; }
.city-filter-option { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 36px; padding: 7px 10px; border: 0; border-radius: 9px; background: transparent; color: inherit; text-align: left; font: 500 13px var(--font-firago); cursor: pointer; }
.city-filter-option:hover, .city-filter-option:focus-visible { background: #f0f7fb; outline: 0; }
.city-filter-option[aria-pressed="true"] { background: #eaf6fd; color: #007fba; font-weight: 700; }
.city-filter-option[aria-pressed="true"]::after { content: '✓'; font-size: 15px; }
.city-filter-empty { padding: 14px 8px 4px; color: #8292a0; font: 500 12px var(--font-firago); }
body.dark-theme .desktop-map-city-button { border-left-color: #3a4651; }
body.dark-theme .desktop-map-city-button[aria-expanded="true"] { background: #183748; color: #80d0f2; }
body.dark-theme .city-filter-menu { background: #202a33; border-color: #3a4651; color: #edf3f7; }
body.dark-theme .city-filter-search { background: #182129; border-color: #3a4651; }
body.dark-theme .city-filter-option:hover, body.dark-theme .city-filter-option:focus-visible { background: #2c3c49; }
body.dark-theme .city-filter-option[aria-pressed="true"] { background: #17425a; color: #a7e2fb; }
@media (max-width: 768px) {
  .desktop-city-filter { display: none !important; }
  .mobile-city-filter { position: relative; display: block; width: 100%; margin-bottom: 12px; }
  .mobile-city-button { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #e0e9ef; border-radius: 11px; background: #f8fafb; color: #32485b; text-align: left; cursor: pointer; }
  .mobile-city-button > .material-symbols-rounded { font-size: 19px; }
  .mobile-city-button .city-chevron { margin-left: auto; transition: transform .18s ease; }
  .mobile-city-button[aria-expanded="true"] .city-chevron { transform: rotate(180deg); }
  .mobile-city-filter .city-filter-menu { position: static; width: 100%; margin-top: 8px; box-shadow: 0 8px 24px rgba(30, 52, 71, .1); }
  body.dark-theme .mobile-city-button { background: #1c2229; border-color: #3a4651; color: #edf3f7; }
}
body.dark-theme .apple-rail-top {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark-theme .apple-rail-beta-badge {
  color: #e5e5ea !important;
  background: rgba(255, 255, 255, 0.12) !important;
}
body.dark-theme .apple-rail-toggle-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f5f5f7 !important;
}
body.dark-theme .apple-rail-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

/* About Card in Rail - High Contrast Apple Style */
body.dark-theme .apple-rail-about-card {
  background: #1c1c1e !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark-theme .apple-rail-about-title {
  color: #ffffff !important;
  font-weight: 700 !important;
}
body.dark-theme .apple-rail-about-desc {
  color: #d1d1d6 !important;
  line-height: 1.5 !important;
}
body.dark-theme .apple-rail-about-btn {
  background: #0071e3 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}
body.dark-theme .apple-rail-about-btn:hover {
  background: #0077ed !important;
  color: #ffffff !important;
}

/* Floating Filter Chips - Apple Deep Dark */
body.dark-theme .map-chip-all-filters-btn,
body.dark-theme .map-filter-chip {
  background: rgba(28, 28, 30, 0.94) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}
body.dark-theme .map-chip-all-filters-btn:hover,
body.dark-theme .map-filter-chip:hover {
  background: #2c2c2e !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}
body.dark-theme .map-filter-chip.feature-chip.active {
  background: #16a34a !important;
  border-color: #22c55e !important;
  color: #ffffff !important;
}
body.dark-theme .map-filter-chip.cat-chip.active {
  background: #0284c7 !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
}
body.dark-theme .map-chip-icon,
body.dark-theme .map-filter-chip .material-symbols-rounded {
  color: #ffffff !important;
}

/* Place cards and drawer typography readability */
body.dark-theme .desktop-left-column {
  background: rgba(18, 18, 20, 0.95) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark-theme .place-card {
  background: #1c1c1e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
body.dark-theme .place-card:hover {
  background: #242426 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
body.dark-theme .place-card.active {
  background: #2c2c2e !important;
  border-color: #0a84ff !important;
}
body.dark-theme .place-title {
  color: #ffffff !important;
  font-weight: 700 !important;
}
body.dark-theme .place-address {
  color: #d1d1d6 !important;
}
body.dark-theme .rating-score-text {
  color: #ffffff !important;
  font-weight: 700 !important;
}
body.dark-theme .rating-reviews-count {
  color: #a1a1a6 !important;
}
body.dark-theme .feature-badge-item,
body.dark-theme .place-feature-tag {
  background: #2c2c2e !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
body.dark-theme .feature-badge-item .material-symbols-rounded,
body.dark-theme .place-feature-tag .material-symbols-rounded {
  color: #ffffff !important;
}
body.dark-theme .drawer-header {
  background: #161618 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body.dark-theme .drawer-header-title {
  color: #ffffff !important;
  font-weight: 700 !important;
}
body.dark-theme .search-input {
  background: #1c1c1e !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
body.dark-theme .search-input::placeholder {
  color: #8e8e93 !important;
}

/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* Elevated Place Cards Without Borders                 */
/* ---------------------------------------------------- */
.place-card {
  background: #ffffff !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 8px 12px !important;
  margin-bottom: 8px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.place-card-cover { width: calc(100% + 24px); height: 136px; flex: 0 0 auto; margin: -8px -12px 7px; overflow: hidden; background: #edf2f6; }
.place-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  #places-list .place-card-cover { width: calc(100% + 28px); height: 144px; margin: -12px -14px 8px; }
}

.place-verified-row { margin: 1px 0; }
.place-location-hours { display: flex; align-items: center; gap: 8px; min-width: 0; }
.place-location-hours .place-address { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; overflow: hidden; }
.place-location-hours .place-address svg { flex-shrink: 0; }
.place-location-hours .place-address span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-location-hours .place-hours { flex-shrink: 0; padding-left: 8px; border-left: 1px solid #dbe3eb; color: #64748b; font-size: .71rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.dark-theme .place-location-hours .place-hours { border-left-color: #475569; color: #cbd5e1; }

.place-card:hover {
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  transform: none !important;
}

.place-card.active {
  background: rgba(0, 113, 227, 0.04) !important;
  box-shadow: 0 0 0 2px #0071e3, 0 6px 20px rgba(0, 113, 227, 0.18) !important;
}

/* Dark Theme Elevated Separation Without Borders */
body.dark-theme .place-card {
  background: #25252a !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.52), 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

body.dark-theme .place-card:hover {
  background: #25252a !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.52), 0 1px 3px rgba(0, 0, 0, 0.3) !important;
  transform: none !important;
}

body.dark-theme .place-card.active {
  background: #2e2e36 !important;
  box-shadow: 0 0 0 2px #0a84ff, 0 8px 24px rgba(10, 132, 255, 0.28) !important;
}

body.dark-theme .place-card .place-actions {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}



/* ---------------------------------------------------- */
/* Strict Hover & Single Row Constraints                */
/* ---------------------------------------------------- */
.place-card:hover,
body.dark-theme .place-card:hover {
  transform: none !important;
}

.place-features-strip::-webkit-scrollbar {
  display: none !important;
  height: 0 !important;
}

.place-rating-section {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

body.dark-theme .btn-action-rate {
  background: #2c2c32 !important;
  color: #f5f5f7 !important;
}
body.dark-theme .btn-action-rate:hover {
  background: #36363e !important;
  color: #ffffff !important;
}
body.dark-theme .rating-score-text {
  color: #ffffff !important;
}

/* ---------------------------------------------------- */
/* Visual Hierarchy: Neutral Utilities & Emerald Hero   */
/* ---------------------------------------------------- */

/* 1. "გაიგე მეტი" - Refined Neutral Glass */
.apple-rail-about-btn {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: none !important;
}
.apple-rail-about-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  transform: none !important;
}
body.dark-theme .apple-rail-about-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f5f5f7 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}
body.dark-theme .apple-rail-about-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

/* 2. "შესვლა" - Secondary Utility Button */
.apple-rail-auth-btn {
  background: #f1f5f9 !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}
.apple-rail-auth-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  transform: none !important;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08) !important;
}
.apple-rail-auth-btn svg,
.apple-rail-auth-btn .material-symbols-rounded {
  color: #475569 !important;
}

body.dark-theme .apple-rail-auth-btn {
  background: #1c1c1e !important;
  color: #f5f5f7 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}
body.dark-theme .apple-rail-auth-btn:hover {
  background: #252528 !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: none !important;
}
body.dark-theme .apple-rail-auth-btn svg,
body.dark-theme .apple-rail-auth-btn .material-symbols-rounded {
  color: #ffffff !important;
}

/* 3. "მოითხოვე მეგზური" - Solid Clean Oceanic Sky CTA (#0284c7, hover #0369a1) */
.btn-action-companion {
  background: #0284c7 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28) !important;
}
.btn-action-companion:hover {
  background: #0369a1 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.38) !important;
}

body.dark-theme .btn-action-companion {
  background: #0284c7 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35) !important;
}
body.dark-theme .btn-action-companion:hover {
  background: #0369a1 !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.45) !important;
}


/* ==========================================================================
   TOP FLOATING MAP FILTER CHIPS: VIBRANT GREEN ACTIVE STATE
   ========================================================================== */
.map-filter-chip.active,
.map-filter-chip.feature-chip.active,
.map-filter-chip.cat-chip.active {
  background: #16a34a !important;
  color: #ffffff !important;
  border-color: #15803d !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35) !important;
}
.map-filter-chip.active .map-chip-icon,
.map-filter-chip.active .map-chip-icon .material-symbols-rounded,
.map-filter-chip.active .map-chip-label,
.map-filter-chip.active span {
  color: #ffffff !important;
  fill: #ffffff !important;
}
.map-filter-chip.active .map-chip-close {
  display: inline-block !important;
  color: #ffffff !important;
}

body.dark-theme .map-filter-chip.active,
body.dark-theme .map-filter-chip.feature-chip.active,
body.dark-theme .map-filter-chip.cat-chip.active {
  background: #22c55e !important;
  color: #ffffff !important;
  border-color: #4ade80 !important;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4) !important;
}
body.dark-theme .map-filter-chip.active .map-chip-icon,
body.dark-theme .map-filter-chip.active .map-chip-icon .material-symbols-rounded,
body.dark-theme .map-filter-chip.active .map-chip-label,
body.dark-theme .map-filter-chip.active span {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.feature-filter-btn.active {
  background-color: rgba(22, 163, 74, 0.14) !important;
  border-color: #16a34a !important;
  color: #16a34a !important;
  font-weight: 600 !important;
}
body.dark-theme .feature-filter-btn.active {
  background-color: rgba(34, 197, 94, 0.22) !important;
  color: #4ade80 !important;
  border-color: #22c55e !important;
}


/* ==========================================================================
   ACCESSIBLE SKIP LINK & MAP TAB TRAP PREVENTION (WCAG 2.4.1)
   ========================================================================== */
.skip-to-content-btn {
  position: fixed !important;
  top: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-220%) !important;
  background: #026999 !important;
  color: #ffffff !important;
  padding: 12px 26px !important;
  border-radius: 9999px !important;
  font-family: var(--font-firago) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  z-index: 9999999 !important;
  box-shadow: 0 10px 35px rgba(2, 105, 153, 0.45) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: 3px solid #ffffff !important;
  outline-offset: 2px !important;
}

.skip-to-content-btn:focus,
.skip-to-content-btn:focus-visible {
  transform: translateX(-50%) translateY(0) !important;
}

#map {
  outline: none !important;
}

#map .leaflet-container {
  outline: none !important;
}


/* Screen Reader Optimization: Ignore Icons & Decorative Glyph Ligatures */
.material-symbols-rounded,
.material-symbols-outlined,
.apple-rail-item-icon,
.auth-menu-icon,
.mobile-nav-icon,
.mobile-nav-fab-icon,
.dock-hub-item-icon-box {
  speak: none !important;
}


/* ==========================================================================
   AI ASSISTANT TYPING & SUGGESTED VENUE CARDS
   ========================================================================== */
.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 2px;
}
.typing-dots span {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: typingBounce 1.3s infinite ease-in-out;
}
.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.ai-suggested-place-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 9px 12px;
  margin-top: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.ai-suggested-place-card:hover {
  border-color: #0284c7;
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.14);
}
.ai-suggested-place-thumb {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.ai-suggested-place-info {
  flex: 1;
  min-width: 0;
}
.ai-suggested-place-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-firago);
}
.ai-suggested-place-address {
  font-size: 0.7rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
  font-family: var(--font-firago);
}
.ai-suggested-place-badges {
  display: flex;
  gap: 4px;
  margin-top: 3px;
  flex-wrap: wrap;
}
.ai-suggested-badge {
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
}
.ai-suggested-place-arrow {
  color: #94a3b8;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}
.ai-suggested-place-card:hover .ai-suggested-place-arrow {
  color: #0284c7;
  transform: translate(2px, -2px);
}
body.dark-theme .ai-suggested-place-card {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
body.dark-theme .ai-suggested-place-card:hover {
  background: #3f3f46;
  border-color: #38bdf8;
}
body.dark-theme .ai-suggested-place-title {
  color: #f8fafc;
}
body.dark-theme .ai-suggested-place-address {
  color: #a1a1aa;
}
body.dark-theme .ai-suggested-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}


  /* ==========================================================================
     SMART WHEELCHAIR NAVIGATOR (SIDEBAR DRAWER)
     ========================================================================== */
  .drawer-nav-mode-selector {
    display: flex;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 14px;
    margin-bottom: 12px;
  }
  body.dark-theme .drawer-nav-mode-selector {
    background: #1c1c1e;
  }
  .drawer-nav-mode-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-family: var(--font-firago);
    font-size: 0.73rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .drawer-nav-mode-btn .material-symbols-rounded {
    font-size: 17px;
  }
  .drawer-nav-mode-btn.active {
    background: #ffffff;
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  body.dark-theme .drawer-nav-mode-btn.active {
    background: #2c2c2e;
    color: #38bdf8;
  }

  .drawer-nav-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 12px;
    position: relative;
  }
  body.dark-theme .drawer-nav-card {
    background: #1c1c1e;
    border-color: rgba(255, 255, 255, 0.08);
  }
  .drawer-nav-stops-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
  }
  .drawer-nav-stop-row {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
  }
  .drawer-nav-stop-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
  }
  .drawer-nav-stop-dot.origin {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  }
  .drawer-nav-stop-dot.waypoint {
    background: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
  }
  .drawer-nav-stop-dot.dest {
    background: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  }

  .drawer-nav-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2px 8px;
    transition: all 0.18s ease;
  }
  .drawer-nav-input-wrap:focus-within {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
  }
  body.dark-theme .drawer-nav-input-wrap {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
  }
  body.dark-theme .drawer-nav-input-wrap:focus-within {
    background: #27272a;
  }
  .drawer-nav-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 7px 4px;
    font-family: var(--font-firago);
    font-size: 0.82rem;
    color: var(--heading, #0f172a);
    outline: none;
  }
  body.dark-theme .drawer-nav-input {
    color: #f1f5f9;
  }
  .drawer-nav-btn-icon, .drawer-nav-btn-clear {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.15s ease;
  }
  .drawer-nav-btn-clear {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1;
    margin-left: 2px;
  }
  .drawer-nav-btn-clear:hover, .drawer-nav-btn-icon:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .drawer-nav-swap-row {
    position: relative;
    height: 16px;
    display: flex;
    align-items: center;
    margin-left: 12px;
  }
  .drawer-nav-connector-line {
    width: 2px;
    height: 100%;
    background: #cbd5e1;
    margin-left: -1px;
  }
  body.dark-theme .drawer-nav-connector-line {
    background: #475569;
  }
  .drawer-nav-swap-btn {
    position: absolute;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all 0.18s ease;
    z-index: 2;
  }
  .drawer-nav-swap-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: rotate(180deg);
  }
  body.dark-theme .drawer-nav-swap-btn {
    background: #27272a;
    border-color: #52525b;
    color: #cbd5e1;
  }

  .drawer-nav-add-stop-wrap {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
  }
  .drawer-nav-add-stop-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    font-family: var(--font-firago);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.18s ease;
  }
  .drawer-nav-add-stop-btn:hover {
    background: rgba(2, 132, 199, 0.08);
  }

  /* Autocomplete Dropdown */
  .drawer-nav-autocomplete {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    max-height: 230px;
    overflow-y: auto;
    margin-bottom: 12px;
    padding: 6px;
  }
  body.dark-theme .drawer-nav-autocomplete {
    background: #1c1c1e;
    border-color: rgba(255, 255, 255, 0.1);
  }
  .drawer-nav-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
  }
  .drawer-nav-autocomplete-item:hover {
    background: #f1f5f9;
  }
  body.dark-theme .drawer-nav-autocomplete-item:hover {
    background: #27272a;
  }
  .drawer-nav-autocomplete-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
  }
  body.dark-theme .drawer-nav-autocomplete-icon {
    background: #27272a;
    border-color: #3f3f46;
  }
  .drawer-nav-autocomplete-title {
    font-family: var(--font-firago);
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
  }
  body.dark-theme .drawer-nav-autocomplete-title {
    color: #f1f5f9;
  }
  .drawer-nav-autocomplete-subtitle {
    font-family: var(--font-firago);
    font-size: 0.72rem;
    color: #64748b;
  }

  /* Result Card & Badges */
  .drawer-nav-result-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  }
  body.dark-theme .drawer-nav-result-card {
    background: #1c1c1e;
    border-color: rgba(255, 255, 255, 0.08);
  }
  .drawer-nav-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }
  .drawer-nav-stat-time {
    font-family: var(--font-firago);
    font-size: 1.35rem;
    font-weight: 700;
    color: #0284c7;
  }
  .drawer-nav-stat-dist {
    font-family: var(--font-firago);
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
  }
  .drawer-nav-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-family: var(--font-firago);
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.18s ease;
  }
  .drawer-nav-clear-btn:hover {
    background: #fee2e2;
    border-color: #ef4444;
    color: #ef4444;
  }
  body.dark-theme .drawer-nav-clear-btn {
    background: #27272a;
    border-color: #3f3f46;
    color: #cbd5e1;
  }

  .drawer-nav-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
  }
  .drawer-nav-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 8px;
    font-family: var(--font-firago);
    font-size: 0.72rem;
    font-weight: 600;
  }
  .drawer-nav-badge.green {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
  }
  .drawer-nav-badge.yellow {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
  }
  .drawer-nav-badge.blue {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
  }

  .drawer-nav-steps-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-firago);
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
  }
  body.dark-theme .drawer-nav-steps-heading {
    color: #f1f5f9;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
  .drawer-nav-steps-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 4px;
  }
  .drawer-nav-step-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.15s ease;
  }
  body.dark-theme .drawer-nav-step-item {
    background: rgba(255, 255, 255, 0.03);
  }
  .drawer-nav-step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0284c7;
    color: white;
    font-size: 0.68rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .drawer-nav-step-text {
    font-family: var(--font-firago);
    font-size: 0.78rem;
    color: #1e293b;
    line-height: 1.4;
  }
  body.dark-theme .drawer-nav-step-text {
    color: #e2e8f0;
  }
  .drawer-nav-step-dist {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 2px;
  }

  .drawer-nav-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 16px;
    font-family: var(--font-firago);
    font-size: 0.8rem;
    color: #0284c7;
    font-weight: 600;
    margin-bottom: 12px;
  }
  .drawer-nav-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(2, 132, 199, 0.2);
    border-top-color: #0284c7;
    border-radius: 50%;
    animation: navSpin 0.7s infinite linear;
  }
  @keyframes navSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }


  @keyframes userGpsPulse {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(1.9); opacity: 0; }
  }
  .smart-nav-live-user-dot {
    cursor: pointer;
  }
  

  /* Share & Save Buttons in Navigator */
  .drawer-nav-actions-group {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .drawer-nav-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 10px;
    font-family: var(--font-firago);
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
  }
  .drawer-nav-action-btn.share {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.25);
  }
  .drawer-nav-action-btn.share:hover {
    background: #16a34a;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.25);
  }
  .drawer-nav-action-btn.bookmark {
    background: #ffffff;
    color: #0284c7;
    border: 1px solid #cbd5e1;
  }
  .drawer-nav-action-btn.bookmark:hover {
    background: rgba(2, 132, 199, 0.08);
    border-color: #0284c7;
    transform: translateY(-1px);
  }
  .drawer-nav-action-btn.bookmark.saved {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
  }
  body.dark-theme .drawer-nav-action-btn.bookmark {
    background: #27272a;
    border-color: #3f3f46;
    color: #38bdf8;
  }

  /* History & Saved Section in Drawer */
  .drawer-nav-history-wrapper {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .drawer-nav-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-firago);
    font-size: 0.77rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
  }
  body.dark-theme .drawer-nav-section-title {
    color: #94a3b8;
  }
  .drawer-nav-history-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .drawer-nav-history-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.18s ease;
  }
  .drawer-nav-history-item:hover {
    border-color: var(--primary);
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
  }
  body.dark-theme .drawer-nav-history-item {
    background: #1c1c1e;
    border-color: rgba(255, 255, 255, 0.08);
  }
  body.dark-theme .drawer-nav-history-item:hover {
    background: #27272a;
    border-color: var(--primary);
  }
  .drawer-nav-history-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
  }
  body.dark-theme .drawer-nav-history-icon {
    background: #27272a;
  }
  .drawer-nav-history-text {
    flex: 1;
    min-width: 0;
    font-family: var(--font-firago);
    font-size: 0.77rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.dark-theme .drawer-nav-history-text {
    color: #f1f5f9;
  }
  .drawer-nav-history-del {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: color 0.15s ease;
  }
  .drawer-nav-history-del:hover {
    color: #ef4444;
  }

  /* Share Modal Links */
  .drawer-nav-share-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.18s ease;
  }
  .drawer-nav-share-link:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  }
  .drawer-nav-share-link.whatsapp {
    background: #f0fdf4;
    border-color: rgba(34, 197, 94, 0.3);
    color: #166534;
  }
  .drawer-nav-share-link.whatsapp:hover {
    background: #dcfce7;
    border-color: #22c55e;
  }
  body.dark-theme .drawer-nav-share-link {
    background: #1c1c1e;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
  }
  
