@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500&display=swap');


/* ═══════════════════════════════════════════════════════
   RELIEF CONNECT — Master Stylesheet
   Import order matters: tokens → base → components → layout → animations → utilities
   ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   RELIEF CONNECT v3 — Design Tokens
   Tactical Command Center Aesthetic
   Font: Syne (display) + DM Sans (body)
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   DARK THEME (DEFAULT)
   ═══════════════════════════════════════════════════════ */
:root,
[data-theme="dark"] {
  /* Primary — Amber/Ember: warmth in the dark */
  --primary-50:  #fff8ed;
  --primary-100: #ffefd0;
  --primary-200: #ffd99a;
  --primary-300: #ffbc5e;
  --primary-400: #ff9e2c;
  --primary-500: #f97316;
  --primary-600: #e55a08;
  --primary-700: #bc430a;
  --primary-800: #943611;
  --primary-900: #782d12;

  /* Accent — Cyan: operational data feeds */
  --accent-50:  #ecfeff;
  --accent-100: #cffafe;
  --accent-200: #a5f3fc;
  --accent-300: #67e8f9;
  --accent-400: #22d3ee;
  --accent-500: #06b6d4;
  --accent-600: #0891b2;
  --accent-700: #0e7490;
  --accent-800: #155e75;
  --accent-900: #164e63;

  /* Danger — Crimson: SOS, alerts */
  --danger-50:  #fff1f1;
  --danger-100: #ffe1e1;
  --danger-200: #ffc7c7;
  --danger-300: #ff9f9f;
  --danger-400: #fc6363;
  --danger-500: #ef3030;
  --danger-600: #dc1414;
  --danger-700: #b91010;

  /* Success */
  --success-50:  #f0fdf4;
  --success-100: #dcfce7;
  --success-200: #bbf7d0;
  --success-300: #86efac;
  --success-400: #4ade80;
  --success-500: #22c55e;
  --success-600: #16a34a;

  /* Warning */
  --warning-400: #fbbf24;
  --warning-500: #f59e0b;
  --warning-600: #d97706;

  /* Info */
  --info-400: #60a5fa;
  --info-500: #3b82f6;
  --info-600: #2563eb;

  /* ── Surfaces ── */
  --bg-base:      #080b11;
  --bg-primary:   #0c101a;
  --bg-secondary: #111623;
  --bg-tertiary:  #181e2d;
  --bg-elevated:  #1e2636;
  --bg-card:      rgba(17, 22, 35, 0.8);
  --bg-overlay:   rgba(8, 11, 17, 0.75);
  --bg-hover:     rgba(255, 255, 255, 0.04);
  --bg-active:    rgba(255, 255, 255, 0.08);
  --bg-subtle:    rgba(255, 255, 255, 0.03);

  /* ── Glass ── */
  --glass-bg:        rgba(17, 22, 35, 0.7);
  --glass-bg-hover:  rgba(22, 30, 48, 0.8);
  --glass-bg-active: rgba(28, 38, 60, 0.88);
  --glass-bg-solid:  rgba(14, 19, 31, 0.96);
  --glass-border:        rgba(255, 255, 255, 0.07);
  --glass-border-hover:  rgba(255, 255, 255, 0.13);
  --glass-border-active: rgba(255, 255, 255, 0.2);
  --glass-blur:    20px;
  --glass-blur-lg: 36px;

  /* ── Borders ── */
  --border-subtle:  rgba(255, 255, 255, 0.04);
  --border-default: rgba(255, 255, 255, 0.08);
  --border-strong:  rgba(255, 255, 255, 0.14);
  --border-focus:   var(--primary-500);

  /* ── Text ── */
  --text-primary:   #eef1f7;
  --text-secondary: #8e98b0;
  --text-tertiary:  #5a6580;
  --text-muted:     #404a5f;
  --text-inverse:   #080b11;
  --text-on-primary: #ffffff;
  --text-on-danger:  #ffffff;
   --message-mine-bg: #cf5a11;
   --message-mine-text: #fff8f2;
   --message-mine-meta: rgba(255, 245, 236, 0.84);
   --message-theirs-bg: #171f2e;
   --message-theirs-text: #eef1f7;
   --message-theirs-meta: #93a0bb;
   --message-theirs-border: rgba(255, 255, 255, 0.07);
   --message-failed-bg: #4d2020;
   --message-failed-text: #ffe8e8;
   --message-failed-border: rgba(252, 99, 99, 0.28);
   --message-status-sending: rgba(255, 232, 210, 0.95);
   --message-status-sent: rgba(255, 246, 239, 0.9);
   --message-status-failed: #ffd1d1;

  /* ── Shadows ── */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 36px rgba(0,0,0,0.5), 0 4px 14px rgba(0,0,0,0.35);
  --shadow-xl: 0 16px 56px rgba(0,0,0,0.55), 0 8px 28px rgba(0,0,0,0.4);
  --shadow-2xl: 0 28px 72px rgba(0,0,0,0.6);
  --shadow-inner: inset 0 2px 6px rgba(0,0,0,0.4);
  --shadow-glow-primary: 0 0 28px rgba(249, 115, 22, 0.22), 0 0 8px rgba(249, 115, 22, 0.12);
  --shadow-glow-accent:  0 0 28px rgba(6, 182, 212, 0.22), 0 0 8px rgba(6, 182, 212, 0.1);
  --shadow-glow-danger:  0 0 32px rgba(239, 48, 48, 0.28), 0 0 10px rgba(239, 48, 48, 0.14);
  --shadow-glow-success: 0 0 28px rgba(34, 197, 94, 0.22), 0 0 8px rgba(34, 197, 94, 0.1);

  /* ── Gradients ── */
  --gradient-primary: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  --gradient-accent:  linear-gradient(135deg, var(--accent-400), var(--accent-700));
  --gradient-danger:  linear-gradient(135deg, var(--danger-500), var(--danger-700));
  --gradient-success: linear-gradient(135deg, var(--success-400), var(--success-600));
  --gradient-warning: linear-gradient(135deg, var(--warning-500), var(--warning-600));
  --gradient-aurora:  linear-gradient(135deg, var(--primary-400) 0%, var(--danger-500) 40%, var(--primary-600) 100%);
  --gradient-glass:   linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);

  /* ── Header ── */
  --header-bg: rgba(12, 16, 26, 0.94);

  /* ── Aurora bg blobs ── */
  --aurora-1: rgba(249, 115, 22, 0.07);
  --aurora-2: rgba(6, 182, 212, 0.05);
  --aurora-3: rgba(239, 48, 48, 0.05);
}

/* ═══════════════════════════════════════════════════════
   LIGHT THEME
   ═══════════════════════════════════════════════════════ */
[data-theme="light"] {
  --bg-base:      #f5f6fa;
  --bg-primary:   #ffffff;
  --bg-secondary: #eff1f8;
  --bg-tertiary:  #e4e7f0;
  --bg-elevated:  #ffffff;
  --bg-card:      rgba(255, 255, 255, 0.9);
  --bg-overlay:   rgba(15, 23, 42, 0.4);
  --bg-hover:     rgba(0, 0, 0, 0.03);
  --bg-active:    rgba(0, 0, 0, 0.06);
  --bg-subtle:    rgba(0, 0, 0, 0.02);

  --glass-bg:        rgba(255, 255, 255, 0.78);
  --glass-bg-hover:  rgba(255, 255, 255, 0.88);
  --glass-bg-active: rgba(255, 255, 255, 0.95);
  --glass-bg-solid:  rgba(255, 255, 255, 0.97);
  --glass-border:        rgba(0, 0, 0, 0.07);
  --glass-border-hover:  rgba(0, 0, 0, 0.12);
  --glass-border-active: rgba(0, 0, 0, 0.18);

  --border-subtle:  rgba(0, 0, 0, 0.05);
  --border-default: rgba(0, 0, 0, 0.09);
  --border-strong:  rgba(0, 0, 0, 0.16);

  --text-primary:   #0f1521;
  --text-secondary: #4a5568;
  --text-tertiary:  #6b7a94;
  --text-muted:     #9aa5bc;
   --message-mine-bg: #c74f0d;
   --message-mine-text: #fffaf5;
   --message-mine-meta: rgba(255, 247, 240, 0.94);
   --message-theirs-bg: #f3f6fb;
   --message-theirs-text: #152033;
   --message-theirs-meta: #61708b;
   --message-theirs-border: rgba(15, 21, 33, 0.08);
   --message-failed-bg: #fff3f3;
   --message-failed-text: #7a1f1f;
   --message-failed-border: rgba(220, 20, 20, 0.18);
   --message-status-sending: rgba(255, 247, 240, 0.94);
   --message-status-sent: rgba(255, 250, 245, 0.98);
   --message-status-failed: #b42318;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 36px rgba(0,0,0,0.11), 0 4px 14px rgba(0,0,0,0.07);
  --shadow-xl: 0 16px 56px rgba(0,0,0,0.13), 0 8px 28px rgba(0,0,0,0.08);
  --shadow-2xl: 0 28px 72px rgba(0,0,0,0.15);
  --shadow-inner: inset 0 2px 6px rgba(0,0,0,0.06);
  --shadow-glow-primary: 0 0 28px rgba(249, 115, 22, 0.1);
  --shadow-glow-accent:  0 0 28px rgba(6, 182, 212, 0.1);
  --shadow-glow-danger:  0 0 32px rgba(239, 48, 48, 0.1);
  --shadow-glow-success: 0 0 28px rgba(34, 197, 94, 0.1);

  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.3) 100%);

  --header-bg: rgba(255, 255, 255, 0.92);

  --aurora-1: rgba(249, 115, 22, 0.04);
  --aurora-2: rgba(6, 182, 212, 0.03);
  --aurora-3: rgba(239, 48, 48, 0.03);
}

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════ */
:root {
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans:    'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  --text-2xs: 0.625rem;   /* 10px */
  --text-xs:  0.75rem;    /* 12px */
  --text-sm:  0.8125rem;  /* 13px */
  --text-base:0.875rem;   /* 14px */
  --text-md:  0.9375rem;  /* 15px */
  --text-lg:  1rem;       /* 16px */
  --text-xl:  1.125rem;   /* 18px */
  --text-2xl: 1.25rem;    /* 20px */
  --text-3xl: 1.5rem;     /* 24px */
  --text-4xl: 1.875rem;   /* 30px */
  --text-5xl: 2.25rem;    /* 36px */

  --leading-none:    1;
  --leading-tight:   1.2;
  --leading-snug:    1.35;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  --tracking-tight:  -0.025em;
  --tracking-normal: 0;
  --tracking-wide:   0.03em;
  --tracking-wider:  0.06em;
  --tracking-widest: 0.1em;
}

/* ═══════════════════════════════════════════════════════
   SPACING (4px base)
   ═══════════════════════════════════════════════════════ */
:root {
  --sp-0:   0;
  --sp-0-5: 0.125rem;
  --sp-1:   0.25rem;
  --sp-1-5: 0.375rem;
  --sp-2:   0.5rem;
  --sp-2-5: 0.625rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;

  /* legacy aliases used in pages */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
}

/* ═══════════════════════════════════════════════════════
   LAYOUT TOKENS
   ═══════════════════════════════════════════════════════ */
:root {
  --radius-xs:   3px;
  --radius-sm:   5px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  22px;
  --radius-full: 9999px;

  --sidebar-width:    60px;
  --sidebar-expanded: 224px;
  --filter-height:    52px;
  --panel-width:      400px;
  --mobile-nav-height:60px;

  --transition-fast:   140ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   240ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   380ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 480ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-bounce: 580ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --z-base:           1;
  --z-dropdown:       100;
  --z-sticky:         200;
  --z-sidebar:        300;
  --z-panel:          400;
  --z-modal-backdrop: 500;
  --z-modal:          600;
  --z-popover:        700;
  --z-toast:          800;
  --z-tooltip:        900;
  --z-max:            9999;
}
/* ═══════════════════════════════════════════════════════
   RELIEF CONNECT v3 — Base Styles
   Reset, typography, global behaviors
   ═══════════════════════════════════════════════════════ */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-base);
  overflow: hidden;
  min-height: 100dvh;
}

/* Subtle aurora glow on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 55% at 15% 25%, var(--aurora-1), transparent),
    radial-gradient(ellipse 65% 45% at 82% 18%, var(--aurora-2), transparent),
    radial-gradient(ellipse 55% 55% at 58% 75%, var(--aurora-3), transparent);
  opacity: 0.65;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

h1 { font-size: var(--text-4xl); font-weight: 800; }
h2 { font-size: var(--text-3xl); font-weight: 700; }
h3 { font-size: var(--text-2xl); font-weight: 700; }
h4 { font-size: var(--text-xl);  font-weight: 600; }
h5 { font-size: var(--text-lg);  font-weight: 600; }
h6 { font-size: var(--text-base);font-weight: 600; }

p {
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

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

a:hover {
  color: var(--primary-300);
}

strong, b { font-weight: 600; }
small { font-size: var(--text-xs); }
code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* ─── Lists ─── */
ul, ol { list-style: none; }

/* ─── Media ─── */
img, video, svg {
  display: block;
  max-width: 100%;
}

/* ─── Buttons & Inputs (baseline) ─── */
button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ─── Selection ─── */
::selection {
  background: var(--primary-500);
  color: var(--text-on-primary);
}

/* ─── Scrollbar (WebKit) ─── */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
}

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

* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

/* ─── Focus ─── */
:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── App Root ─── */
#root {
  width: 100%;
  height: 100dvh;
  position: relative;
}
/* ═══════════════════════════════════════════════════════
   RELIEF CONNECT v3 — Component Styles
   Glass Cards, Buttons, Forms, Badges, Avatars, Modals
   Tactical Command Center aesthetic
   ═══════════════════════════════════════════════════════ */

/* ─── Glass Card ─── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-lg);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-xl);
}

.glass-card-sm {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.glass-card-sm:hover {
  border-color: var(--glass-border-hover);
}

/* Accent top-border variant */
.glass-card-accent {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-top: 2px solid var(--primary-500);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-lg), 0 -2px 20px rgba(249, 115, 22, 0.06);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  padding: var(--sp-2-5) var(--sp-5);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  user-select: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: var(--tracking-wide);
  will-change: transform;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn svg {
  transition: transform 0.22s ease, filter 0.22s ease;
}

.btn:hover:not(:disabled) svg {
  transform: translateY(-1px) scale(1.06);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.btn:active:not(:disabled) {
  transform: translateY(1px) scale(0.985);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-on-primary);
  box-shadow: var(--shadow-sm), var(--shadow-glow-primary);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), 0 0 36px rgba(249, 115, 22, 0.35);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(1px) scale(0.985);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--text-on-primary);
  box-shadow: var(--shadow-sm), var(--shadow-glow-accent);
}

.btn-accent:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), 0 0 36px rgba(6, 182, 212, 0.35);
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-1px);
}

.btn-ghost,
.btn-ghost.btn-sm {
  color: var(--text-secondary);
  background: transparent;
  border: none;
}

.btn-ghost:hover:not(:disabled) {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-danger {
  background: var(--gradient-danger);
  color: var(--text-on-danger);
  box-shadow: var(--shadow-sm), var(--shadow-glow-danger);
}

.btn-danger:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), 0 0 36px rgba(239, 48, 48, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn svg {
    transition: none;
  }

  .btn:hover:not(:disabled) svg,
  .btn:active:not(:disabled) {
    transform: none;
    filter: none;
  }
}

.btn-sos {
  background: var(--gradient-danger);
  color: white;
  font-weight: 700;
  box-shadow: var(--shadow-sm), var(--shadow-glow-danger);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--text-base);
  letter-spacing: var(--tracking-wide);
}

.btn-sos:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), 0 0 40px rgba(239, 48, 48, 0.5);
}

.btn-offering {
  background: var(--gradient-success);
  color: white;
  font-weight: 700;
  box-shadow: var(--shadow-sm), var(--shadow-glow-success);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--text-base);
  letter-spacing: var(--tracking-wide);
}

.btn-offering:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), 0 0 32px rgba(34, 197, 94, 0.35);
}

/* Sizes */
.btn-sm {
  font-size: var(--text-xs);
  padding: var(--sp-1-5) var(--sp-3);
  border-radius: var(--radius-md);
  gap: var(--sp-1);
}

.btn-lg {
  font-size: var(--text-lg);
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-xl);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ─── Forms ─── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1-5);
  flex: 1;
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.form-input,
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: var(--text-base);
  font-family: inherit;
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.form-input:hover,
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: var(--glass-border-hover);
}

.form-input:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
  outline: none;
  background: var(--glass-bg-hover);
}

.form-input::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* Input with icon (auth forms) */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: var(--sp-3);
  display: flex;
  align-items: center;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
}

.input-with-icon .form-input {
  padding-left: var(--sp-10);
}

.input-with-icon .input-action {
  position: absolute;
  right: var(--sp-2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  border: none;
}

.input-with-icon .input-action:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

/* ─── Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-2xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  line-height: var(--leading-snug);
  white-space: nowrap;
}

.badge-primary {
  background: rgba(249, 115, 22, 0.14);
  color: var(--primary-400);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.badge-accent {
  background: rgba(6, 182, 212, 0.14);
  color: var(--accent-400);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.badge-danger {
  background: rgba(239, 48, 48, 0.14);
  color: var(--danger-400);
  border: 1px solid rgba(239, 48, 48, 0.25);
}

.badge-success {
  background: rgba(34, 197, 94, 0.14);
  color: var(--success-400);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.14);
  color: var(--warning-400);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-info {
  background: rgba(59, 130, 246, 0.14);
  color: var(--info-400);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-neutral {
  background: var(--bg-hover);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

/* ─── Avatars ─── */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
  background: var(--gradient-primary);
  color: var(--text-on-primary);
  overflow: hidden;
}

.avatar-xs { width: 24px; height: 24px; font-size: var(--text-2xs); }
.avatar-sm { width: 32px; height: 32px; font-size: var(--text-xs); }
.avatar-md { width: 40px; height: 40px; font-size: var(--text-sm); }
.avatar-lg { width: 64px; height: 64px; font-size: var(--text-xl); }
.avatar-xl { width: 80px; height: 80px; font-size: var(--text-2xl); }

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal-backdrop);
  padding: var(--sp-4);
}

.modal {
  position: relative;
  background: var(--glass-bg-solid);
  backdrop-filter: blur(var(--glass-blur-lg));
  -webkit-backdrop-filter: blur(var(--glass-blur-lg));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-2xl);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-sm { width: 100%; max-width: 420px; }
.modal-md { width: 100%; max-width: 520px; }
.modal-lg { width: 100%; max-width: 680px; }

.modal-close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  border: none;
}

.modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* ─── Auth Modal ─── */
.auth-modal {
  text-align: center;
}

.auth-modal-header {
  margin-bottom: var(--sp-6);
}

.auth-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  color: white;
  box-shadow: var(--shadow-glow-primary);
}

.auth-modal-header h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--sp-1);
}

.auth-subtitle {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  text-align: left;
}

.auth-error {
  padding: var(--sp-3);
  background: rgba(239, 48, 48, 0.1);
  border: 1px solid rgba(239, 48, 48, 0.22);
  border-radius: var(--radius-md);
  color: var(--danger-400);
  font-size: var(--text-sm);
  text-align: center;
}

.auth-footer {
  margin-top: var(--sp-5);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
}

/* Google Sign-In Button Container */
.google-signin-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  margin-bottom: var(--sp-2);
}

.google-signin-btn > div,
.google-signin-btn [role="button"] {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 400px !important;
  min-width: 0 !important;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: var(--sp-2) 0 var(--sp-4);
  color: var(--text-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-default);
}

.link-btn {
  color: var(--primary-400);
  font-weight: 600;
  font-size: inherit;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

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

/* ─── Welcome Modal ─── */
.welcome-modal {
  text-align: center;
  padding: var(--sp-2) 0;
}

.welcome-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-glow-primary);
  animation: float 3s ease-in-out infinite;
}

.welcome-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-2);
}

.welcome-description {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--sp-6);
  line-height: var(--leading-relaxed);
}

.welcome-instructions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  text-align: left;
}

.welcome-instruction-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-hover);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.welcome-instruction-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.welcome-instruction-icon.text-danger {
  background: rgba(239, 48, 48, 0.1);
}

.welcome-instruction-icon.text-success {
  background: rgba(34, 197, 94, 0.1);
}

.welcome-actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
}

.welcome-footer {
  margin-top: var(--sp-4);
}

/* ─── Spinner ─── */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-default);
  border-top-color: var(--primary-500);
  border-radius: var(--radius-full);
  animation: spin 0.6s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

.spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

/* ─── Empty State ─── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-12) var(--sp-6);
  text-align: center;
  color: var(--text-tertiary);
  gap: var(--sp-3);
}

.empty-state__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: var(--bg-hover);
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}

.empty-state__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-secondary);
}

.empty-state__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 280px;
}

.empty-state svg {
  opacity: 0.4;
}

/* ─── Mini Tag ─── */
.mini-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-0-5) var(--sp-2);
  background: var(--bg-hover);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: var(--tracking-wide);
}

/* ─── Skeleton ─── */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-hover) 25%,
    var(--bg-active) 50%,
    var(--bg-hover) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

/* ─── Tooltip ─── */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  padding: var(--sp-1-5) var(--sp-3);
  background: var(--glass-bg-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: var(--z-tooltip);
  box-shadow: var(--shadow-md);
}

.tooltip:hover::after {
  opacity: 1;
}

/* ─── Text color utilities ─── */
.text-danger  { color: var(--danger-500); }
.text-success { color: var(--success-500); }
.text-accent  { color: var(--accent-500); }
.text-primary-color { color: var(--primary-500); }
.text-warning { color: var(--warning-500); }

/* ─── Section headings ─── */
.section-label {
  font-family: var(--font-display);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Divider ─── */
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--sp-4) 0;
}

/* ─── Data stat chip ─── */
.stat-chip {
  display: flex;
  align-items: baseline;
  gap: var(--sp-1);
}

.stat-chip__value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1;
}

.stat-chip__label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ─── Emergency warning banner ─── */
.emergency-banner {
  background: linear-gradient(135deg, rgba(220,38,38,0.92), rgba(185,28,28,0.95));
  border: 1px solid rgba(239,48,48,0.4);
  border-radius: var(--radius-lg);
  padding: var(--sp-3) var(--sp-4);
  margin: var(--sp-2) var(--sp-3);
}

.emergency-banner__title {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  font-size: var(--text-sm);
  margin-bottom: var(--sp-2);
}

.emergency-banner__numbers {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.emergency-banner__link {
  color: rgba(255,255,255,0.9) !important;
  font-size: var(--text-xs);
  font-weight: 500;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.emergency-banner__link:hover {
  color: white !important;
}

/* ─── Pending Bar (batch-write HUD) ─── */
.pending-bar {
  position: fixed;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: var(--sp-3);

  /* Use glass surface so it looks right on both dark and light themes */
  background: var(--glass-bg-solid);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-xl);
  padding: var(--sp-2) var(--sp-4);
  box-shadow: var(--shadow-lg);

  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: 500;

  min-width: 340px;
  max-width: 520px;

  /* Slide in from below */
  animation: pending-bar-in 0.22s ease-out;
}

@keyframes pending-bar-in {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.pending-bar__icon {
  flex-shrink: 0;
  color: var(--primary-400);
}

.pending-bar__spinner {
  width: 16px;
  height: 16px;
  border-width: 2px;
  flex-shrink: 0;
}

.pending-bar__text {
  flex: 1;
  white-space: nowrap;
}

.pending-bar__text strong {
  color: var(--primary-400);
}

.pending-bar__countdown {
  opacity: 0.7;
  font-size: var(--text-xs);
}

/* Ghost pill button inside pending bar */
.pending-bar__btn {
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  transition: opacity 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.pending-bar__btn:hover { opacity: 0.85; }

.pending-bar__btn--ghost {
  background: var(--bg-active);
  color: var(--text-primary);
}

/* "Ghi ngay" — filled primary button */
.pending-bar__btn--primary {
  background: var(--primary-500);
  color: var(--text-on-primary);
}

[data-theme="light"] .pending-bar__btn--primary {
  background: var(--primary-600);
}

/* Icon-only cancel button */
.pending-bar__btn--icon {
  padding: 4px 6px;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════
   MESSAGING PANEL
   ═══════════════════════════════════════════ */

.messaging-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.messaging-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border-primary);
  flex-shrink: 0;
}

.messaging-header-info {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 1;
  min-width: 0;
}

.messaging-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin: 0;
}

.messaging-partner-name {
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Search */
.messaging-search {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  margin: var(--sp-2) var(--sp-3) 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
}

.messaging-search-input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.messaging-search-results {
  max-height: 240px;
  overflow-y: auto;
  padding: var(--sp-2) var(--sp-3);
}

/* Avatar */
.messaging-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
  flex-shrink: 0;
  overflow: hidden;
}

.messaging-avatar-sm {
  width: 28px;
  height: 28px;
  font-size: var(--text-xs);
}

.messaging-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* User search item */
.messaging-user-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: background 0.15s;
}

.messaging-user-item:hover {
  background: var(--bg-hover);
}

.messaging-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.messaging-user-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.messaging-user-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Conversation list */
.messaging-conversation-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-2) 0;
}

.messaging-conv-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: background 0.15s;
}

.messaging-conv-item:hover {
  background: var(--bg-hover);
}

.messaging-conv-item.unread {
  background: color-mix(in srgb, var(--primary-500) 6%, var(--bg-primary));
}

.messaging-conv-content {
  flex: 1;
  min-width: 0;
}

.messaging-conv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}

.messaging-conv-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.messaging-conv-time {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  flex-shrink: 0;
}

.messaging-conv-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-top: 2px;
}

.messaging-conv-preview {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.messaging-conv-preview--empty {
  font-style: italic;
  color: var(--text-muted);
  opacity: 0.7;
}

.messaging-unread-badge {
  background: var(--primary-500);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  flex-shrink: 0;
}

/* Messages area */
.messaging-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.messaging-bubble {
  max-width: 80%;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-lg);
  word-break: break-word;
  border: 1px solid var(--message-theirs-border);
  box-shadow: var(--shadow-xs);
}

.messaging-bubble.mine {
  align-self: flex-end;
  background: var(--message-mine-bg);
  color: var(--message-mine-text);
  border-color: transparent;
  border-bottom-right-radius: var(--radius-xs);
}

.messaging-bubble.theirs {
  align-self: flex-start;
  background: var(--message-theirs-bg);
  color: var(--message-theirs-text);
  border-bottom-left-radius: var(--radius-xs);
}

.messaging-bubble.mine.sending {
  opacity: 0.9;
}

.messaging-bubble.mine.failed {
  background: var(--message-failed-bg);
  color: var(--message-failed-text);
  border-color: var(--message-failed-border);
}

.messaging-bubble-text {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: inherit;
}

.messaging-bubble-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-1-5);
}

.messaging-bubble.theirs .messaging-bubble-meta {
  justify-content: flex-start;
}

.messaging-bubble-status {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.messaging-bubble-status.sending {
  color: var(--message-status-sending);
}

.messaging-bubble-status.sent {
  color: var(--message-status-sent);
}

.messaging-bubble-status.failed {
  color: var(--message-status-failed);
}

.messaging-bubble-time {
  font-size: 10px;
  color: var(--message-theirs-meta);
  white-space: nowrap;
}

.messaging-bubble.mine .messaging-bubble-time {
  color: var(--message-mine-meta);
}

.messaging-bubble.mine.failed .messaging-bubble-time {
  color: color-mix(in srgb, var(--message-failed-text) 78%, transparent);
}

.messaging-bubble.mine .messaging-bubble-meta {
  text-align: right;
}

.messaging-load-more {
  align-self: center;
  border: none;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  cursor: pointer;
  margin-bottom: var(--sp-2);
}

.messaging-load-more:hover {
  background: var(--bg-hover);
}

/* Input bar */
.messaging-input-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-top: 1px solid var(--border-primary);
  flex-shrink: 0;
}

.messaging-input {
  flex: 1;
  border: 1px solid var(--border-primary);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text-primary);
  outline: none;
}

.messaging-input:focus {
  border-color: var(--primary-400);
}

.messaging-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--primary-500);
  color: white;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.messaging-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.messaging-send-btn:not(:disabled):hover {
  opacity: 0.9;
}

/* Retention notice */
.messaging-retention {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  padding: var(--sp-1) var(--sp-3) var(--sp-2);
  margin: 0;
}

/* Empty state */
.messaging-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-8) var(--sp-4);
  color: var(--text-muted);
}

.messaging-empty p {
  margin: 0;
  font-size: var(--text-sm);
}

.messaging-empty-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  padding: var(--sp-3);
  margin: 0;
}

.messaging-loading {
  display: flex;
  justify-content: center;
  padding: var(--sp-4);
}

.messaging-notice {
  font-size: var(--text-xs);
  color: var(--warning-600);
  text-align: center;
  padding: var(--sp-2) var(--sp-3);
  margin: 0;
}

/* Sidebar unread badge */
.sidebar-msg-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--danger-500);
  color: white;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ─── Typing Indicator ─── */
.messaging-typing-indicator {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  color: var(--text-muted);
  font-size: var(--text-xs);
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.messaging-typing-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.messaging-typing-dots > span {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--text-muted);
  animation: typingDot 1.4s ease-in-out infinite;
}

.messaging-typing-dots > span:nth-child(2) {
  animation-delay: 0.2s;
}

.messaging-typing-dots > span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1.1); }
}

.messaging-typing-text {
  font-style: italic;
}
/* ═══════════════════════════════════════════════════════
   RELIEF CONNECT v3 — Layout Styles
   Map Shell, Sidebar, Filter Bar, Panels, Chat, Social, Profile
   ═══════════════════════════════════════════════════════ */

/* ─── Page Shell (for non-map pages) ─── */
.page-shell {
  padding: var(--sp-6) var(--sp-6) var(--sp-8);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-shell-wide {
  padding: var(--sp-6) var(--sp-6) var(--sp-8);
  margin: 0 auto;
  width: 100%;
}

.page-header {
  margin-bottom: var(--sp-8);
}

.page-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--sp-2);
}

.page-subtitle {
  font-size: var(--text-base);
  color: var(--text-tertiary);
  line-height: var(--leading-relaxed);
}

.dashboard-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--sp-6);
}

.landing-stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-6);
}

.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
}

.landing-pillars-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-10);
}

@media (max-width: 768px) {
  .page-shell,
  .page-shell-wide {
    padding: var(--sp-4) var(--sp-4) var(--sp-6);
  }

  .page-title {
    font-size: var(--text-3xl);
  }

  .dashboard-page-layout,
  .landing-features-grid,
  .landing-pillars-grid {
    grid-template-columns: 1fr;
  }

  .landing-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-4);
  }
}

@media (max-width: 480px) {
  .landing-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Map Shell ─── */
.map-shell {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0; /* keep the map behind sidebar / filter-bar / panels */
}

.map-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Ensure Leaflet controls stay inside map stacking context */
.map-container .leaflet-container {
  z-index: 0;
}

.map-container .leaflet-gl-layer,
.map-container .maplibregl-map,
.map-container .maplibregl-canvas {
  width: 100%;
  height: 100%;
}

.map-container .leaflet-control-attribution {
  max-width: min(75vw, 620px);
  color: #374151;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .map-container .leaflet-control-attribution {
  color: #d1d5db;
  background: rgba(17, 24, 39, 0.88);
}

.vietnam-territory-marker-wrap {
  border: 0;
  background: transparent;
}

.vietnam-territory-marker {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 190px;
  min-height: 44px;
  padding: 6px 10px 6px 7px;
  color: #7f1d1d;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(220, 38, 38, 0.5);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.28);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(8px);
}

.vietnam-territory-marker:hover,
.vietnam-territory-marker:focus-visible {
  border-color: #dc2626;
  box-shadow: 0 5px 18px rgba(220, 38, 38, 0.34);
  outline: none;
  transform: translateY(-1px);
}

.vietnam-territory-marker__emblem {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #facc15;
  background: #dc2626;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.vietnam-territory-marker__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.15;
}

.vietnam-territory-marker__text strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vietnam-territory-marker__text small {
  margin-top: 2px;
  color: #b91c1c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

[data-theme="dark"] .vietnam-territory-marker {
  color: #fef3c7;
  background: rgba(69, 10, 10, 0.93);
  border-color: rgba(250, 204, 21, 0.72);
}

[data-theme="dark"] .vietnam-territory-marker__text small {
  color: #fde68a;
}

.vietnam-territory-popup {
  display: flex;
  min-width: 210px;
  flex-direction: column;
  gap: 4px;
  font-family: Inter, sans-serif;
}

.vietnam-territory-popup strong {
  color: #991b1b;
  font-size: 14px;
}

.vietnam-territory-popup span {
  color: #4b5563;
  font-size: 12px;
}

.vietnam-territory-popup em {
  color: #dc2626;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.map-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  color: var(--text-secondary);
  background: var(--bg-primary);
  text-align: center;
  padding: var(--sp-8);
}

.map-fallback h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.map-fallback p {
  font-size: var(--text-sm);
  max-width: 360px;
  line-height: var(--leading-relaxed);
}

/* ═══════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100%;
  background: var(--glass-bg-solid);
  backdrop-filter: blur(var(--glass-blur-lg));
  -webkit-backdrop-filter: blur(var(--glass-blur-lg));
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  z-index: var(--z-sidebar);
  transition: width var(--transition-slow);
  overflow: hidden;
}

.sidebar-expanded {
  width: var(--sidebar-expanded);
}

/* Brand */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  height: 64px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  font-family: inherit;
}

.sidebar-toggle:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--glass-border);
}

.sidebar-brand-text {
  display: inline-block;
  font-weight: 700;
  font-size: var(--text-md);
  color: transparent;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--text-primary), var(--primary-400), var(--accent-400), var(--text-primary));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: sidebar-brand-shift 7s linear infinite, fadeIn 200ms ease;
}

/* Nav items */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-3) var(--sp-2);
  overflow-y: auto;
  overflow-x: hidden;
  /* Allow this section to shrink so the bottom section always stays visible,
     but use min-height:0 to enable flex-based scrolling instead of icon shrinkage */
  min-height: 0;
  flex: 1 1 0;
  /* Thin, unobtrusive scrollbar for nav overflow */
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--text-muted) 30%, transparent) transparent;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

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

.sidebar-nav::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--text-muted) 30%, transparent);
  border-radius: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--text-muted) 50%, transparent);
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--sp-3);
  width: 100%;
  /* Force a fixed height so items NEVER compress regardless of container size */
  min-height: 36px;
  height: 36px;
  padding: 0 var(--sp-3);
  border-radius: var(--radius-lg);
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  cursor: pointer;
  background: none;
  font-family: inherit;
  text-decoration: none;
  /* Prevent nav items from being compressed when sidebar overflows */
  flex: 0 0 36px;
  box-sizing: border-box;
}

/* Ensure icons never shrink when sidebar collapses */
.sidebar-nav-item > svg {
  flex-shrink: 0;
  min-width: 20px;
  min-height: 20px;
  width: 20px !important;
  height: 20px !important;
  transition: transform 0.22s ease, color 0.22s ease, filter 0.22s ease;
}

.sidebar-nav-item:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.sidebar-nav-item:hover > svg,
.sidebar-toggle:hover > svg,
.sidebar-bottom .sidebar-nav-item:hover > svg {
  transform: translateY(-1px) scale(1.08) rotate(-4deg);
  filter: drop-shadow(0 4px 10px rgba(249, 115, 22, 0.16));
}

.sidebar-nav-item.active {
  color: var(--primary-400);
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.15);
}

.sidebar-nav-item.active > svg {
  animation: sidebar-icon-pulse 2.6s ease-in-out infinite;
}

.sidebar-nav-item.active::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--primary-500);
  border-radius: var(--radius-full);
}

.sidebar-nav-danger:hover {
  color: var(--danger-400);
  background: rgba(239, 48, 48, 0.06);
}

.sidebar-nav-primary:hover {
  color: var(--primary-400);
  background: rgba(249, 115, 22, 0.06);
}

.sidebar-nav-label {
  flex: 1;
  text-align: left;
  animation: fadeIn 200ms ease;
}

.sidebar-nav-indicator {
  opacity: 0.7;
  margin-left: auto;
}

.sidebar-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--sp-2) var(--sp-2);
  flex-shrink: 0;
  /* Prevent divider from disappearing in tight spaces */
  min-height: 1px;
}

.sidebar-spacer {
  /* No longer needed — sidebar-nav now uses flex:1 to fill remaining space.
     Keep element in DOM for backwards compatibility but remove flex growth. */
  flex: 0 0 0;
}

/* Bottom section (Admin, Verify, Guide) */
.sidebar-bottom {
  padding: var(--sp-2) var(--sp-2) var(--sp-3);
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.sidebar-bottom .sidebar-nav-item {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.sidebar-bottom .sidebar-nav-item:hover {
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════
   FILTER BAR
   ═══════════════════════════════════════════════════════ */
.filter-bar {
  position: fixed;
  top: var(--sp-3);
  right: var(--sp-3);
  left: auto;
  height: var(--filter-height);
  background: color-mix(in srgb, var(--glass-bg) 92%, transparent);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--glass-border) 60%, transparent);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0 var(--sp-2) 0 var(--sp-3);
  z-index: var(--z-sticky);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.06);
  transition: all var(--transition-slow);
  min-width: 360px;
  max-width: 520px;
  /* Allow search results dropdown to overflow */
  overflow: visible;
}

.filter-bar-expanded {
  left: calc(var(--sidebar-width) + var(--sp-3));
  max-width: none;
}

.sidebar-is-expanded .filter-bar-expanded {
  left: calc(var(--sidebar-expanded) + var(--sp-3));
}

.filter-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.filter-expand-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.filter-expand-active {
  color: var(--primary-400);
  background: color-mix(in srgb, var(--primary-500) 12%, transparent);
}

.sidebar-is-expanded .panel-container {
  left: var(--sidebar-expanded);
}

.filter-search {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 1;
  min-width: 140px;
  position: relative;
}

/* ── Search results dropdown ── */
.filter-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  right: -12px;
  min-width: 320px;
  max-height: 360px;
  overflow-y: auto;
  background: var(--glass-bg-solid);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.08);
  z-index: 100;
  padding: var(--sp-1);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: fadeIn 150ms ease;
}

.filter-search-results-empty {
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}

.filter-search-result {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-lg);
  cursor: pointer;
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  color: var(--text-primary);
  transition: background 0.12s ease;
  width: 100%;
}

.filter-search-result:hover {
  background: var(--bg-hover);
}

.filter-search-result-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.filter-search-result-type {
  display: inline-block;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.filter-search-result-title {
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.filter-search-result-address {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.filter-search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-family: inherit;
  outline: none;
  min-width: 0;
}

.filter-search-input::placeholder {
  color: var(--text-muted);
}

.filter-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  border: none;
}

.filter-search-clear:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.filter-chips {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 0 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  padding-right: var(--sp-2);
  border-right: 1px solid var(--border-default);
  margin-right: var(--sp-1);
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1-5);
  padding: var(--sp-1-5) var(--sp-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 1.5px solid var(--border-default);
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
}

.filter-chip:hover {
  border-color: var(--chip-color, var(--glass-border-hover));
  color: var(--text-primary);
  background: var(--bg-hover);
}

.filter-chip-active {
  border-color: var(--chip-color, var(--primary-500));
  background: color-mix(in srgb, var(--chip-color, var(--primary-500)) 12%, transparent);
  color: var(--text-primary);
  box-shadow: 0 0 12px color-mix(in srgb, var(--chip-color, var(--primary-500)) 20%, transparent);
}

.filter-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.filter-chip-label {
  letter-spacing: var(--tracking-wide);
}

/* ═══════════════════════════════════════════════════════
   SIDE PANELS
   ═══════════════════════════════════════════════════════ */
.panel-container {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  width: var(--panel-width);
  height: 100%;
  z-index: var(--z-panel);
  transition: left var(--transition-slow);
}

.panel-wrapper {
  width: 100%;
  height: 100%;
  background: var(--glass-bg-solid);
  backdrop-filter: blur(var(--glass-blur-lg));
  -webkit-backdrop-filter: blur(var(--glass-blur-lg));
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.panel-close-btn {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  border: none;
  z-index: 2;
}

.panel-close-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.panel-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.panel-lazy-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  height: 100%;
  color: var(--text-tertiary);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) calc(var(--sp-5) + 32px) var(--sp-4) var(--sp-5);
  flex-shrink: 0;
  border-bottom: 1px solid var(--border-subtle);
}

.panel-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════
   LIST PANEL
   ═══════════════════════════════════════════════════════ */
/* ── Panel shared utility classes ── */
.panel-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.panel-tab-row {
  display: flex;
  gap: 0.25rem;
  padding: 0 1rem;
  margin-bottom: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.panel-tab-row::-webkit-scrollbar { display: none; }

.sponsor-panel-tab-row {
  gap: 0.75rem;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.sponsor-panel-tab-row::-webkit-scrollbar {
  display: block;
  height: 8px;
}

.sponsor-panel-tab-row::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--primary-500) 40%, transparent);
  border-radius: 999px;
}

.sponsor-panel-tab-btn {
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
  padding-inline: 0.95rem;
}

.sponsor-panel-filters {
  display: flex;
  gap: 0.75rem;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.sponsor-panel-select {
  flex: 0 0 min(200px, calc(50% - 0.375rem));
  min-width: 160px;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.8rem;
}

.list-item-actions {
  display: flex;
  gap: 0.5rem;
  padding-left: 2.75rem;
  flex-wrap: wrap;
}

.list-item-indent {
  padding-left: 2.75rem;
}

.panel-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.person-in-need-panel {
  overflow-y: auto;
}

.person-in-need-section {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 0.75rem;
}

.person-in-need-panel .panel-list {
  max-height: clamp(220px, 34vh, 320px);
  scrollbar-width: thin;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.list-item:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
}

.list-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.list-item-content {
  flex: 1;
  min-width: 0;
}

.list-item-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
  line-height: var(--leading-snug);
}

.list-item-subtitle {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-bottom: var(--sp-1-5);
}

.list-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}

.list-item-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.list-item-time {
  font-size: var(--text-2xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.list-item-arrow {
  color: var(--text-muted);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.list-item:hover .list-item-arrow {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════
   PING DETAIL PANEL
   ═══════════════════════════════════════════════════════ */
.ping-detail-panel {
  position: fixed;
  bottom: calc(var(--sp-6) + 60px);
  right: var(--sp-6);
  width: min(380px, calc(100vw - 32px));
  z-index: var(--z-panel);
  background: var(--glass-bg-solid);
  backdrop-filter: blur(var(--glass-blur-lg));
  -webkit-backdrop-filter: blur(var(--glass-blur-lg));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: var(--sp-3);
  box-shadow: var(--shadow-xl);
  max-height: calc(100vh - 144px);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.ping-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-2);
}

.ping-detail-type {
  display: flex;
  align-items: center;
  gap: var(--sp-1-5);
  flex-wrap: wrap;
  min-width: 0;
}

.ping-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: var(--text-2xs);
  font-weight: 600;
  white-space: nowrap;
}

.ping-type-badge.text-danger {
  background: rgba(239, 48, 48, 0.12);
  color: var(--danger-400);
}

.ping-type-badge.text-success {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success-400);
}

.ping-type-badge.text-accent {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-400);
}

.ping-type-badge.text-primary {
  background: rgba(249, 115, 22, 0.12);
  color: var(--primary-400);
}

.ping-status-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  text-transform: capitalize;
}

.ping-status-active {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success-400);
}

.ping-status-resolved {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-400);
}

.ping-status-expired {
  background: var(--bg-hover);
  color: var(--text-muted);
}

/* ─── Reporter row (compact) ─── */
.ping-detail-reporter {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  min-width: 0;
}

.ping-detail-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(249, 115, 22, 0.15));
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  overflow: hidden;
}

.ping-detail-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ping-detail-reporter-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ping-detail-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-tertiary);
  text-align: left;
}

.ping-detail-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ─── Incident message (inline) ─── */
.ping-detail-incident {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: var(--sp-2);
  border-radius: 10px;
  background: color-mix(in srgb, var(--danger-500) 6%, var(--bg-primary));
  border-left: 2px solid var(--danger-400);
}

.ping-detail-incident-icon {
  color: var(--danger-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.ping-detail-incident-text {
  font-size: var(--text-xs);
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ─── Info row (location + time) ─── */
.ping-detail-info-row {
  display: flex;
  align-items: center;
  gap: var(--sp-1-5);
  flex-wrap: wrap;
}

.ping-detail-info-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-secondary);
  min-width: 0;
}

.ping-detail-info-item svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.ping-detail-info-item--link {
  color: var(--primary-600);
  text-decoration: none;
  transition: color 0.15s ease;
}

.ping-detail-info-item--link:hover {
  color: var(--primary-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ping-detail-info-item--link svg {
  color: currentColor;
}

.ping-detail-info-item--link span {
  max-width: min(44vw, 240px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ping-detail-info-sep {
  color: var(--text-muted);
  font-size: 11px;
}

/* ─── Contact grid (flat) ─── */
.ping-contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1-5);
}

.ping-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg-secondary) 80%, transparent);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: var(--text-xs);
  text-decoration: none;
  transition: border-color 0.15s ease;
  min-width: 0;
}

.ping-contact-item:hover {
  border-color: var(--primary-400);
}

.ping-contact-item svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.ping-contact-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ─── Image ─── */
.ping-detail-image-wrapper {
  width: 100%;
  max-height: 240px;
  overflow-y: auto;
  border-radius: 10px;
  overscroll-behavior: contain;
}

.ping-detail-image {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.ping-detail-image-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4);
  border-radius: 10px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ─── Items list (flat) ─── */
.ping-items-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}

/* ─── CTA section ─── */
.ping-detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.ping-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: var(--sp-2) var(--sp-3);
  border-radius: 10px;
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  text-decoration: none;
  flex: 1;
  min-width: 120px;
}

.ping-cta-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ping-cta-btn--directions {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}

.ping-cta-btn--directions:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
}

.ping-cta-btn--contact {
  background: transparent;
  color: var(--primary-400);
  border: 1px solid color-mix(in srgb, var(--primary-400) 40%, transparent);
}

.ping-cta-btn--contact:hover {
  background: color-mix(in srgb, var(--primary-400) 8%, transparent);
  border-color: var(--primary-400);
}

/* ─── Admin ─── */
.ping-detail-admin {
  display: flex;
  justify-content: flex-end;
  padding-top: var(--sp-1);
}

/* ─── Route Info ─── */
.ping-route-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1-5);
  padding: var(--sp-2);
  border-radius: 10px;
  background: var(--bg-hover);
}

.ping-route-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
}

.ping-route-label {
  color: var(--text-secondary);
}

.ping-route-value {
  font-weight: 600;
  color: var(--text-primary);
}

.ping-route-grid {
  display: flex;
  gap: var(--sp-1);
  margin-top: var(--sp-1);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.ping-route-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 0 0 min(240px, calc(100% - 4px));
  min-width: 200px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 11px;
  color: var(--text-secondary);
  text-align: left;
  scroll-snap-align: start;
}

.ping-route-card:hover {
  background: var(--bg-hover);
}

.ping-route-card--active {
  border-color: var(--primary-400);
  background: rgba(var(--primary-rgb, 59, 130, 246), 0.08);
  color: var(--text-primary);
}

.ping-route-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.ping-route-card-label {
  font-weight: 600;
  white-space: nowrap;
}

.ping-route-card-stats {
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: 0;
  max-width: 100%;
}

.ping-route-clear {
  align-self: flex-end;
  font-size: 11px !important;
  margin-top: var(--sp-1);
}

.ping-route-error {
  background: rgba(239, 48, 48, 0.1);
  color: var(--danger-400);
  border-radius: 8px;
  padding: var(--sp-2);
  font-size: var(--text-xs);
}

/* ═══════════════════════════════════════════════════════
   SOCIAL PANEL
   ═══════════════════════════════════════════════════════ */
.social-compose {
  margin: var(--sp-3) var(--sp-3) 0;
}

.social-compose-input-wrap {
  margin-bottom: var(--sp-2);
}

.social-compose-input {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-family: inherit;
  resize: none;
  outline: none;
  line-height: var(--leading-relaxed);
}

.social-compose-input::placeholder {
  color: var(--text-muted);
}

.social-compose-preview {
  position: relative;
  margin-top: var(--sp-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 160px;
}

.social-compose-preview img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.social-compose-preview-remove {
  position: absolute;
  top: var(--sp-1);
  right: var(--sp-1);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.social-compose-preview-remove:hover {
  background: rgba(239, 48, 48, 0.8);
}

.social-compose-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--sp-2);
}

.social-compose-tools {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.social-category-select {
  min-height: 32px;
  padding: 0 var(--sp-3);
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--bg-hover), var(--bg-secondary));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: var(--text-xs);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.social-category-select:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.social-category-select option {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

/* Posts */
.social-posts {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.social-post {
  transition: border-color var(--transition-base);
}

.social-post:hover {
  border-color: var(--glass-border-hover);
}

.social-post-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.social-user-trigger {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: 1;
  min-width: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.social-user-trigger:focus-visible,
.social-comment-user-trigger:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-500) 75%, white);
  outline-offset: 3px;
  border-radius: 14px;
}

.social-post-author {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.social-post-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.social-post-time {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.social-user-trigger:hover .social-post-name,
.social-comment-user-trigger:hover strong {
  color: var(--primary-500);
}

.social-post-more {
  flex-shrink: 0;
}

.social-post-content {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-3);
}

.social-post-image-button {
  display: inline-flex;
  margin-top: 0.5rem;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}

.social-post-image {
  display: block;
  max-width: min(100%, 250px);
  max-height: 250px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.social-image-modal {
  width: min(92vw, 840px);
}

.social-image-preview {
  display: block;
  width: 100%;
  max-height: min(78vh, 720px);
  object-fit: contain;
  border-radius: 18px;
}

.social-post-actions {
  display: flex;
  gap: var(--sp-1);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--sp-2);
}

.social-action-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-1-5);
  padding: var(--sp-1-5) var(--sp-3);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-tertiary);
  transition: all var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.social-action-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.social-action-liked {
  color: var(--danger-400) !important;
}

.social-comment-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
}

.social-comment-row--reply {
  margin-left: 2rem;
  padding-left: var(--sp-2);
  border-left: 2px solid var(--border-subtle);
}

.social-replying-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  margin-bottom: var(--sp-2);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: var(--text-xs);
}

.social-replying-pill button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.social-replying-pill button:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.social-comment-user-trigger {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  flex: 1;
  min-width: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.social-comment-body {
  flex: 1;
  min-width: 0;
}

.social-comment-meta {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.social-comment-meta span {
  opacity: 0.6;
}

.social-comment-content {
  margin: 2px 0 0;
}

.social-comment-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
  margin-left: 32px;
}

.social-comment-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.social-comment-actions .btn-ghost:hover {
  opacity: 1;
}

.user-preview-modal {
  width: min(720px, 100%);
  max-height: 88vh;
  overflow: auto;
  border-radius: 24px;
  padding: var(--sp-5);
  /* Override glass-card semi-transparency so the profile panel is fully opaque */
  background: var(--glass-bg-solid);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.user-preview-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.user-preview-modal__identity {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-width: 0;
}

.user-preview-modal__avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-lg);
  font-weight: 700;
}

.user-preview-modal__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.user-preview-modal__identity h4 {
  margin: 0 0 4px;
  font-size: var(--text-xl);
}

.user-preview-modal__identity p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.user-preview-modal__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.user-preview-modal__actions {
  display: flex;
  justify-content: flex-start;
}

.user-preview-link,
.admin-contact-link {
  color: var(--primary-500);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.user-preview-link:hover,
.admin-contact-link:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════
   CHAT PANEL
   ═══════════════════════════════════════════════════════ */
.chat-panel {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
}

/* ── Header ── */
.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  padding-right: calc(var(--sp-5) + 32px);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.chat-panel-header-left {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.chat-panel-logo {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  border-radius: var(--radius-lg);
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.chat-panel-logo-pulse {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary-400);
  opacity: 0;
  animation: chat-logo-pulse 3s ease-in-out infinite;
}

@keyframes chat-logo-pulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.08); }
}

.chat-panel-header-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.chat-panel-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.chat-panel-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  color: var(--success-400);
  font-weight: 500;
}

.chat-panel-status-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--success-400);
  box-shadow: 0 0 6px var(--success-400);
}

.chat-panel-new-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-panel-new-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-default);
}

/* ── Messages area ── */
.chat-panel-messages {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--sp-4) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  scroll-behavior: smooth;
}

.chat-panel-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-panel-messages::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 2px;
}

/* ── Empty state ── */
.chat-panel-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  gap: var(--sp-3);
  flex: 1;
}

.chat-panel-empty-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  color: var(--text-muted);
}

.chat-panel-empty p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  max-width: 260px;
  margin: 0;
}

/* ── Message wrapper ── */
.chat-panel-msg-wrapper {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}

/* ── Emergency alert ── */
.chat-panel-emergency {
  background: linear-gradient(135deg, var(--danger-600), var(--danger-700));
  color: white;
  padding: var(--sp-3);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-2);
  font-size: var(--text-xs);
}

.chat-panel-emergency-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  font-size: var(--text-sm);
}

.chat-panel-emergency-body span {
  opacity: 0.9;
  display: block;
  margin-bottom: var(--sp-1);
}

.chat-panel-emergency-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-panel-emergency-links a {
  color: white;
  text-decoration: underline;
  opacity: 0.9;
}

.chat-panel-emergency-links a:hover {
  opacity: 1;
}

/* ── Single message row ── */
.chat-panel-msg {
  display: flex;
  gap: var(--sp-2);
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  animation: chat-msg-in 0.2s ease-out;
}

@keyframes chat-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-panel-msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 80%;
}

.chat-panel-msg--assistant {
  align-self: flex-start;
}

/* ── Avatar ── */
.chat-panel-msg-avatar {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  margin-top: 2px;
}

.chat-panel-msg-avatar--assistant {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: white;
}

.chat-panel-msg-avatar--user {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
}

.chat-panel-msg-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
}

/* ── Bubble ── */
.chat-panel-msg-bubble {
  max-width: min(100%, 320px);
  min-width: 0;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.chat-panel-msg-bubble--assistant {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top-left-radius: var(--radius-xs);
  color: var(--text-secondary);
}

.chat-panel-msg-bubble--user {
  max-width: 100%;
  background: var(--message-mine-bg);
  color: var(--message-mine-text);
  border: 1px solid transparent;
  border-color: transparent;
  border-bottom-right-radius: var(--radius-xs);
  box-shadow: var(--shadow-xs);
  line-height: 1.4;
}

.chat-panel-msg-text {
  max-width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.chat-panel-msg-text p {
  margin: 0 0 8px 0;
  white-space: pre-wrap;
}

.chat-panel-msg-text p:last-child {
  margin-bottom: 0;
}

.chat-panel-msg-text strong {
  font-weight: 600;
}

.chat-panel-msg-text em {
  font-style: italic;
}

.chat-panel-msg-text u {
  text-decoration: underline;
}

.chat-panel-msg-text ul, .chat-panel-msg-text ol {
  margin: 0 0 8px 0;
  padding-left: 20px;
}

.chat-panel-msg-text ul {
  list-style-type: disc;
}

.chat-panel-msg-text ul ul {
  list-style-type: circle;
  margin-bottom: 0;
}

.chat-panel-msg-text ul ul ul {
  list-style-type: square;
}

.chat-panel-msg-text ol {
  list-style-type: decimal;
}

.chat-panel-msg-text ol ol {
  list-style-type: lower-alpha;
  margin-bottom: 0;
}

.chat-panel-msg-text ol ol ol {
  list-style-type: lower-roman;
}

.chat-panel-msg-text li {
  margin-bottom: 4px;
}

.chat-panel-msg-text li p {
  margin: 0 !important; /* overrides paragraph margins in list items */
}

.chat-panel-msg-text li:last-child {
  margin-bottom: 0;
}

.chat-panel-msg-text a {
  color: #3b82f6;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.chat-panel-msg-bubble--user .chat-panel-msg-text,
.chat-panel-msg-bubble--user .chat-panel-msg-text p,
.chat-panel-msg-bubble--user .chat-panel-msg-text li,
.chat-panel-msg-bubble--user .chat-panel-msg-text strong,
.chat-panel-msg-bubble--user .chat-panel-msg-text em {
  color: var(--message-mine-text);
}

.chat-panel-msg-bubble--user .chat-panel-msg-text a {
  color: var(--message-mine-text);
  text-decoration-color: color-mix(in srgb, var(--message-mine-text) 72%, transparent);
}

.chat-panel-msg-text pre,
.chat-panel-msg-text code,
.chat-panel-msg-text table {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
}

.chat-panel-msg-text img {
  max-width: 100%;
  height: auto;
}

.chat-panel-msg-text h1,
.chat-panel-msg-text h2,
.chat-panel-msg-text h3,
.chat-panel-msg-text h4,
.chat-panel-msg-text h5,
.chat-panel-msg-text h6 {
  margin: 12px 0 8px 0;
  font-weight: 600;
}

.chat-panel-msg-text h1:first-child,
.chat-panel-msg-text h2:first-child,
.chat-panel-msg-text h3:first-child,
.chat-panel-msg-text h4:first-child,
.chat-panel-msg-text h5:first-child,
.chat-panel-msg-text h6:first-child {
  margin-top: 0;
}

.chat-panel-msg-time {
  display: block;
  font-size: 10px;
  opacity: 0.45;
  margin-top: 3px;
  text-align: right;
}

.chat-panel-msg-bubble--user .chat-panel-msg-time {
  color: var(--message-mine-meta);
  opacity: 1;
  margin-top: var(--sp-1-5);
  white-space: nowrap;
}

/* ── Typing animation ── */
.chat-panel-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--sp-3) var(--sp-4);
  min-width: 52px;
}

.chat-panel-typing-dot {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--text-muted);
  animation: chat-typing-bounce 1.4s ease-in-out infinite;
}

.chat-panel-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-panel-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes chat-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ── Input area ── */
.chat-panel-input-area {
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.chat-panel-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  padding: var(--sp-3);
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  border: none;
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-panel-login-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.chat-panel-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-2);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--sp-1) var(--sp-1) var(--sp-1) var(--sp-4);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.chat-panel-input-wrap:focus-within {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.1);
}

.chat-panel-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-family: inherit;
  resize: none;
  outline: none;
  padding: var(--sp-2) 0;
  min-height: unset;
  max-height: 100px;
  line-height: 1.4;
}

.chat-panel-input::placeholder {
  color: var(--text-muted);
}

.chat-panel-send-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: var(--radius-full);
  color: white;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  box-shadow: 0 1px 4px rgba(249, 115, 22, 0.25);
}

.chat-panel-send-btn:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35);
}

.chat-panel-send-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

/* ── Chat image elements ── */
.chat-panel-msg-image {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-2);
  max-height: 200px;
  object-fit: cover;
  cursor: pointer;
}

.chat-panel-msg-image-expired {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-3);
  background: var(--bg-tertiary);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: var(--text-xs);
  margin-bottom: var(--sp-2);
}

.chat-panel-image-preview {
  position: relative;
  display: inline-block;
  margin-bottom: var(--sp-2);
}

.chat-panel-image-preview img {
  max-height: 80px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.chat-panel-image-preview-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--danger-500);
  color: white;
  border: 2px solid var(--bg-primary);
  border-radius: var(--radius-full);
  cursor: pointer;
  padding: 0;
}

.chat-panel-image-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--sp-1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  align-self: center;
}

.chat-panel-image-btn:hover:not(:disabled) {
  color: var(--primary-500);
  background: var(--bg-hover);
}

.chat-panel-image-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════
   PROFILE PANEL
   ═══════════════════════════════════════════════════════ */
.profile-panel {
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: var(--sp-6);
}

.profile-panel .panel-list,
.profile-panel .panel-content > *:not(.panel-header) {
  padding: var(--sp-4);
}

.profile-card {
  margin: var(--sp-4);
}

.profile-avatar-section {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.profile-avatar-section .avatar {
  box-shadow: var(--shadow-glow-primary);
}

.profile-avatar-clickable {
  position: relative;
  cursor: pointer;
}

.profile-avatar-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.profile-avatar-clickable:hover .profile-avatar-overlay {
  opacity: 1;
}

.profile-name-section {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--sp-1);
}

.profile-username {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-5);
}

.profile-info-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.profile-info-item:hover {
  background: var(--bg-hover);
}

.profile-info-item > svg {
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.profile-info-item > div {
  display: flex;
  flex-direction: column;
}

.profile-info-label {
  font-size: var(--text-2xs);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--sp-0-5);
}

.profile-info-value {
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.profile-info-link {
  color: var(--accent-500);
  text-decoration: none;
  word-break: break-all;
}
.profile-info-link:hover {
  text-decoration: underline;
}

.profile-info-item .input {
  margin-top: var(--sp-1);
  width: 100%;
}

.profile-actions {
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border-subtle);
}

/* ─── Profile Edit ─── */
.profile-edit-name {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  width: 100%;
}

.profile-edit-actions {
  display: flex;
  gap: var(--sp-2);
}

/* ─── Verification Section ─── */
.verification-section {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
}

.verification-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  color: var(--text-primary);
}

.verification-header h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin: 0;
}

.verification-status {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
}

.verification-success {
  background: color-mix(in srgb, var(--success-500) 10%, transparent);
  color: var(--success-500);
}

.verification-pending {
  background: color-mix(in srgb, var(--warning-500) 10%, transparent);
  color: var(--warning-500);
}

.verification-rejected {
  background: color-mix(in srgb, var(--danger-500) 10%, transparent);
  color: var(--danger-500);
}

.verification-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.verification-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

.verification-roles {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.verification-role-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  font-family: inherit;
  color: var(--text-primary);
}

.verification-role-card:hover {
  border-color: var(--primary-400);
  background: var(--bg-hover);
}

.verification-role-selected {
  border-color: var(--primary-500);
  background: color-mix(in srgb, var(--primary-500) 8%, var(--bg-secondary));
  box-shadow: 0 0 0 1px var(--primary-500);
}

.verification-role-name {
  font-size: var(--text-sm);
  font-weight: 600;
  flex: 1;
}

.verification-role-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: none;
}

.verification-role-card:hover .verification-role-desc,
.verification-role-selected .verification-role-desc {
  display: inline;
}

.verification-reason {
  width: 100%;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--text-sm);
  resize: vertical;
  min-height: 48px;
  transition: border-color var(--transition-fast);
}

.verification-reason:focus {
  outline: none;
  border-color: var(--primary-500);
}

.verification-reason::placeholder {
  color: var(--text-muted);
}

/* Verification Image Upload */
.verification-images {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.verification-images-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.verification-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}

.verification-image-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.verification-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.verification-image-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background var(--transition-fast);
}

.verification-image-remove:hover {
  background: var(--danger-500);
}

.verification-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4);
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  width: 100%;
}

.verification-upload-area:hover {
  border-color: var(--primary-400);
  background: color-mix(in srgb, var(--primary-500) 5%, transparent);
}

/* ═══════════════════════════════════════════════════════
   MAP MARKERS
   ═══════════════════════════════════════════════════════ */
.map-marker {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid white;
  box-shadow: var(--shadow-md);
  font-family: inherit;
  position: relative;
}

.map-marker:hover {
  transform: scale(1.2);
  z-index: 10;
}

.map-marker-selected {
  transform: scale(1.3);
  z-index: 20;
}

.marker-need-help {
  background: var(--danger-500);
  border-color: var(--danger-300);
}

.marker-offering {
  background: var(--success-500);
  border-color: var(--success-300);
}

.marker-received {
  background: var(--accent-500);
  border-color: var(--accent-300);
}

.marker-support-point {
  background: var(--primary-500);
  border-color: var(--primary-300);
}

.map-marker-pulse {
  animation: sosBlink 1.2s ease-in-out infinite;
}

.map-marker-attention {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--danger-500);
  color: white;
  border: 2px solid white;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
  animation: markerAttentionBlink 0.9s ease-in-out infinite;
  pointer-events: none;
}

/* ─── Marker cluster styling ─── */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: var(--glass-bg-solid) !important;
  border: 2px solid var(--glass-border) !important;
  border-radius: var(--radius-full) !important;
  backdrop-filter: blur(var(--glass-blur-sm));
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background: var(--primary-500) !important;
  color: white !important;
  border-radius: var(--radius-full) !important;
  font-family: var(--font-family) !important;
  font-weight: 700 !important;
  font-size: var(--text-sm) !important;
}

.marker-cluster-medium div {
  background: var(--primary-600) !important;
}

.marker-cluster-large div {
  background: var(--danger-500) !important;
}

/* ═══════════════════════════════════════════════════════
   SOS CREATION FLOW — v3 Optimized Design
   ═══════════════════════════════════════════════════════ */

/* ─── Floating SOS Button ─── */
.sos-float-container {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: var(--z-sticky);
}

.sos-float-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  border-radius: var(--radius-full);
  padding: var(--sp-3) var(--sp-6) !important;
  font-size: var(--text-base) !important;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(239, 48, 48, 0.3);
  transition: all var(--transition-normal);
}

.sos-float-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(239, 48, 48, 0.45);
}

.animate-pulse-slow {
  animation: sosBlink 2s ease-in-out infinite;
}

.animate-slide-up {
  animation: slideUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── SOS Panel (v3 Optimized) ─── */
.sos-panel--v2 {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: min(400px, calc(100vw - 28px));
  z-index: 1001;
  border-radius: 16px;
  background: var(--glass-bg-solid, var(--bg-primary));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 88vh;
}

/* Drag handle — hidden on desktop */
.sos-drag-handle {
  display: none;
}

.sos-drag-pill {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--text-muted, #6b7280);
  opacity: 0.4;
}

/* ─── Header ─── */
.sos-panel--v2 .sos-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.sos-panel--v2 .sos-panel-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary, #fff);
}

/* ─── Body (scrollable) ─── */
.sos-panel--v2 .sos-panel-body {
  padding: 0 16px 8px;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── Intro + Location Combined ─── */
.sos-intro-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--danger-500) 8%, var(--bg-secondary));
  border: 1px solid color-mix(in srgb, var(--danger-500) 16%, transparent);
  color: var(--text-secondary, #94a3b8);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}

/* ─── Live Location Bar ─── */
.sos-location-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  background: var(--bg-secondary, rgba(255,255,255,0.05));
  border: 1px solid var(--glass-border, rgba(255,255,255,0.1));
  cursor: pointer;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: var(--text-secondary, #94a3b8);
  transition: all 0.2s ease;
}

.sos-location-bar:hover {
  background: var(--bg-tertiary, rgba(255,255,255,0.08));
  border-color: var(--primary-400, #fb923c);
}

.sos-location-icon {
  color: var(--danger-500, #ef4444);
  flex-shrink: 0;
}

.sos-location-text {
  flex: 1;
  text-align: left;
  font-size: 11px;
}

.sos-location-gps {
  color: var(--text-muted, #6b7280);
  flex-shrink: 0;
  opacity: 0.5;
}

/* ─── Section Label ─── */
.sos-section-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary, #fff);
  letter-spacing: 0.3px;
}

.sos-section-help {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-muted, #6b7280);
  font-weight: 500;
}

/* ─── Tags Grid (Compact 3-4 Column) ─── */
.sos-tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
  gap: 8px;
  margin-bottom: 0;
}

.sos-tag-btn {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--glass-border, rgba(255,255,255,0.12));
  background: var(--bg-secondary, rgba(255,255,255,0.04));
  color: var(--text-secondary, #94a3b8);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.sos-tag-btn:hover {
  background: var(--bg-tertiary, rgba(255,255,255,0.08));
  transform: translateY(-1px);
}

.sos-tag-btn--active {
  font-weight: 700;
  border-width: 2px;
  transform: scale(1.02);
}

/* ─── Contact Card ─── */
.sos-contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-secondary) 88%, transparent);
  border: 1px solid var(--glass-border, rgba(255,255,255,0.08));
}

.sos-contact-card-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sos-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sos-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sos-field-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary, #cbd5e1);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.sos-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1.5px solid var(--glass-border, rgba(255,255,255,0.12));
  background: var(--bg-secondary, rgba(255,255,255,0.04));
  transition: all 0.2s ease;
}

.sos-input-wrap:focus-within {
  border-color: var(--primary-400, #fb923c);
  background: var(--bg-secondary, rgba(255,255,255,0.06));
}

.sos-input-wrap--error {
  border-color: var(--danger-500, #ef4444);
  background: rgba(239, 48, 48, 0.05);
}

.sos-input-icon {
  color: var(--text-muted, #6b7280);
  flex-shrink: 0;
  opacity: 0.7;
}

.sos-input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-primary, #fff);
  font-size: 14px;
  outline: none;
  min-width: 0;
}

.sos-input::placeholder {
  color: var(--text-muted, #6b7280);
  opacity: 0.6;
}

.sos-required {
  color: var(--danger-500, #ef4444);
  font-weight: 700;
}

/* ─── Details Section ─── */
.sos-details-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ─── Textarea ─── */
.sos-textarea {
  width: 100%;
  min-height: 60px;
  max-height: 120px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1.5px solid var(--glass-border, rgba(255,255,255,0.12));
  background: var(--bg-secondary, rgba(255,255,255,0.04));
  color: var(--text-primary, #fff);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: all 0.2s ease;
  outline: none;
}

.sos-textarea::placeholder {
  color: var(--text-muted, #6b7280);
  opacity: 0.6;
}

.sos-textarea:focus {
  border-color: var(--primary-400, #fb923c);
  background: var(--bg-secondary, rgba(255,255,255,0.06));
}

.sos-textarea--error {
  border-color: var(--danger-500, #ef4444) !important;
  background: rgba(239, 48, 48, 0.05);
}

/* ─── Error / Char Count ─── */
.sos-error-text {
  font-size: 12px;
  color: var(--danger-400, #f87171);
  margin: 4px 0 0;
  font-weight: 500;
}

.sos-char-count {
  text-align: right;
  font-size: 11px;
  color: var(--text-muted, #6b7280);
  margin-top: 2px;
  opacity: 0.7;
}

/* ─── Media Section ─── */
.sos-media-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-secondary) 88%, transparent);
  border: 1px solid var(--glass-border, rgba(255,255,255,0.08));
}

.sos-media-section-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* ─── Image Picker ─── */
.sos-image-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1.5px dashed color-mix(in srgb, var(--primary-400) 32%, transparent);
  background: color-mix(in srgb, var(--primary-400) 6%, var(--bg-primary));
  color: var(--text-primary, #fff);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.sos-image-picker:hover {
  border-color: var(--primary-400, #fb923c);
  background: color-mix(in srgb, var(--primary-400) 10%, var(--bg-primary));
}

.sos-image-picker-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sos-image-picker-copy strong {
  font-size: 13px;
  font-weight: 600;
}

.sos-image-picker-copy span {
  font-size: 11px;
  color: var(--text-muted, #6b7280);
  opacity: 0.8;
}

.sos-image-picker--secondary {
  padding: 9px 11px;
  border-style: solid;
  font-size: 12px;
}

/* ─── Image Preview ─── */
.sos-image-preview-card {
  width: 100%;
  overflow: hidden;
  border-radius: 11px;
  border: 1px solid var(--glass-border, rgba(255,255,255,0.08));
}

.sos-image-preview-card img {
  width: 100%;
  display: block;
  max-height: 220px;
  object-fit: contain;
  background: var(--bg-secondary);
}

/* ─── Image Actions ─── */
.sos-image-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sos-image-remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

/* ─── General Details ─── */
.sos-general-details {
  margin-top: 4px;
}

/* ─── SOS Draft Pin Marker ─── */
.sos-draft-pin {
  filter: drop-shadow(0 2px 6px rgba(239, 48, 48, 0.5));
  animation: sosDraftBounce 1s ease-in-out infinite;
}

@keyframes sosDraftBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ─── Sticky Footer ─── */
.sos-panel-footer--sticky {
  position: sticky;
  bottom: 0;
  padding: 10px 16px 14px;
  background: var(--glass-bg-solid, var(--bg-primary));
  border-top: 1px solid var(--glass-border, rgba(255,255,255,0.08));
}

/* ─── Submit Button ─── */
.sos-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 50px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 16px rgba(239, 48, 48, 0.2);
}

.sos-submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(239, 48, 48, 0.3);
}

.sos-submit-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.sos-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ─── Success Content ─── */
.sos-success-content {
  text-align: center;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sos-success-content h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.sos-success-content p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════
   SOS PANEL — MOBILE (< 768px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .sos-panel--v2 {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-radius: 24px 24px 0 0;
    max-height: 82vh;
  }

  .sos-drag-handle {
    display: flex;
    justify-content: center;
    padding: 10px 0 4px;
  }

  .sos-panel-footer--sticky {
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .sos-float-container {
    bottom: calc(var(--mobile-nav-height, 56px) + var(--sp-3));
    right: var(--sp-3);
  }

  .sos-tags-grid {
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
  }

  .sos-tag-btn {
    min-height: 40px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .sos-contact-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .sos-panel--v2 .sos-panel-body {
    padding: 0 14px 6px;
    gap: 10px;
  }

  .sos-panel--v2 .sos-panel-header {
    padding: 12px 14px;
  }

  .sos-input-wrap {
    min-height: 40px;
    padding: 0 9px;
  }

  .sos-textarea {
    min-height: 56px;
    font-size: 16px;
    padding: 9px 11px;
  }

  .sos-image-picker {
    padding: 10px 11px;
  }

  .sos-image-actions {
    gap: 6px;
  }

  .ping-detail-meta-grid,
  .ping-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
   MOBILE NAV / MOBILE TOP BAR  (hidden on desktop)
   ═══════════════════════════════════════════════════════ */
.mobile-nav {
  display: none;
}

.mobile-topbar {
  display: none;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --sidebar-width: 0px;
    --panel-width: 100%;
    --filter-height: 48px;
    --mobile-topbar-height: 104px; /* search(44) + gap(8) + chips(32) + padding(20) */
  }

  .sidebar {
    display: none;
  }

  /* Hide desktop filter bar — replaced by MobileTopBar */
  .filter-bar {
    display: none !important;
  }

  .sos-float-container {
    display: block;
    bottom: calc(var(--mobile-nav-height, 60px) + var(--sp-3));
    right: var(--sp-3);
  }

  .sos-float-btn {
    min-width: 58px;
    height: 44px;
    justify-content: center;
    padding: 0 var(--sp-4) !important;
    font-size: var(--text-sm) !important;
    letter-spacing: 0.06em;
  }

  .sos-float-btn svg {
    display: none;
  }

  .sos-float-btn span {
    font-size: 0;
  }

  .sos-float-btn span::after {
    content: 'SOS';
    font-size: var(--text-sm);
    text-transform: uppercase;
  }

  /* ─── PANELS ─── */
  .panel-container {
    left: 0;
    top: var(--mobile-topbar-height);
    bottom: var(--mobile-nav-height);
    width: 100%;
    height: auto;
  }

  .panel-wrapper {
    border-right: none;
    border-top: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  }

  /* ─── PANEL UTILITY OVERRIDES (mobile) ─── */
  .panel-stat-grid {
    grid-template-columns: 1fr;
  }

  .list-item-actions,
  .list-item-indent {
    padding-left: 0;
  }

  .ping-detail-panel {
    left: var(--sp-3);
    right: var(--sp-3);
    bottom: calc(var(--mobile-nav-height) + var(--sp-3));
    width: auto;
    max-height: calc(100vh - 136px);
  }

  /* ─── MOBILE TOP BAR ─── */
  .mobile-topbar {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: var(--sp-2) var(--sp-3) var(--sp-1);
  }

  .mobile-topbar__search-row {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
  }

  .mobile-topbar__search-wrap {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
  }

  .mobile-topbar__notifications {
    flex: 0 0 auto;
  }

  .mobile-topbar__notifications .notif-bell-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: var(--radius-full) !important;
    background: var(--glass-bg-solid) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  }

  .mobile-topbar__notifications [role="menu"] {
    right: 0 !important;
    width: min(360px, calc(100vw - var(--sp-6))) !important;
  }

  .mobile-topbar__search {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    height: 44px;
    padding: 0 var(--sp-3);
    border-radius: var(--radius-full);
    background: var(--glass-bg-solid);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  }

  .mobile-topbar__search-icon {
    flex-shrink: 0;
    color: var(--text-muted);
  }

  .mobile-topbar__search-input {
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    outline: none;
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-family: inherit;
  }

  .mobile-topbar__search-input::placeholder {
    color: var(--text-muted);
  }

  .mobile-topbar__clear {
    display: flex;
    align-items: center;
    padding: var(--sp-1);
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-full);
  }

  .mobile-topbar__results {
    position: absolute;
    top: calc(100% + var(--sp-1));
    left: 0;
    right: 0;
    background: var(--glass-bg-solid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
    z-index: calc(var(--z-sticky) + 1);
    overflow: hidden;
    max-height: 280px;
    overflow-y: auto;
  }

  .mobile-topbar__results-empty {
    padding: var(--sp-3) var(--sp-4);
    color: var(--text-muted);
    font-size: var(--text-sm);
    text-align: center;
  }

  .mobile-topbar__result-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    padding: var(--sp-2) var(--sp-4);
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
    transition: background var(--transition-fast);
  }

  .mobile-topbar__result-item:last-child {
    border-bottom: none;
  }

  .mobile-topbar__result-item:active {
    background: var(--surface-raised);
  }

  .mobile-topbar__result-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .mobile-topbar__result-addr {
    font-size: var(--text-2xs);
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  /* Count chips */
  .mobile-topbar__chips {
    display: flex;
    gap: var(--sp-2);
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .mobile-topbar__chips::-webkit-scrollbar {
    display: none;
  }

  .mobile-topbar__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    border: 1.5px solid transparent;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
    background: var(--chip-bg);
    color: var(--chip-active);
    border-color: var(--chip-active);
    opacity: 0.65;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .mobile-topbar__chip--active {
    opacity: 1;
    background: var(--chip-active);
    color: #fff;
    transform: none;
  }

  .mobile-topbar__chip-count {
    font-weight: 700;
  }

  /* ─── MOBILE NAV (enhanced) ─── */
  .mobile-nav {
    display: flex;
    align-items: stretch;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-height);
    background: var(--glass-bg-solid);
    backdrop-filter: blur(var(--glass-blur-lg));
    -webkit-backdrop-filter: blur(var(--glass-blur-lg));
    border-top: 1px solid var(--glass-border);
    z-index: var(--z-sidebar);
  }

  .mobile-nav-items {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    height: 100%;
    padding: 0 var(--sp-1);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 2px;
  }

  .mobile-nav-items::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav-icon-wrap {
    position: relative;
    display: inline-flex;
  }

  .mobile-nav-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    background: var(--danger, #ef4444);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 0 0 auto;
    min-width: 64px;
    padding: var(--sp-1) var(--sp-2);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    transition: color var(--transition-fast);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    letter-spacing: 0.01em;
    text-decoration: none;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .mobile-nav-item.active {
    color: var(--primary-400);
  }

  .mobile-nav-item.active svg {
    color: var(--primary-400);
  }

  .mobile-nav-item--sos {
    color: var(--danger, #ef4444);
    font-weight: 700;
  }

  .mobile-nav-item--sos svg {
    color: var(--danger, #ef4444);
  }

  .mobile-nav-item--danger {
    color: var(--danger, #ef4444);
  }

  .mobile-nav-item--primary {
    color: var(--primary-400);
  }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (769-1024px)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --panel-width: 340px;
  }

  .filter-search {
    min-width: 120px;
  }

  .ping-detail-panel {
    width: 340px;
  }
}

/* ═══════════════════════════════════════════════════════
   ADMIN PAGE — Sidebar + Table Layout
   ═══════════════════════════════════════════════════════ */

.admin-page {
  display: flex;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg-base);
  color: var(--text-primary);
}

/* ─── Admin Sidebar ─── */
.admin-sidebar {
  width: 240px;
  min-height: 100vh;
  height: 100vh;
  background: var(--bg-elevated);
  border-right: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  padding: var(--sp-4);
  gap: var(--sp-2);
  position: sticky;
  top: 0;
  overflow: hidden;
}

.admin-sidebar::-webkit-scrollbar {
  width: 4px;
}

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

.admin-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
}

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

.admin-sidebar__header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-2);
  margin-bottom: var(--sp-4);
}

.admin-sidebar__brand {
  font-size: var(--text-lg);
  font-weight: 700;
  color: transparent;
  background: linear-gradient(120deg, var(--text-primary), var(--primary-400), var(--accent-400), var(--text-primary));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: sidebar-brand-shift 8s linear infinite;
}

.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
  padding-right: var(--sp-1);
}

.admin-sidebar__nav::-webkit-scrollbar {
  width: 4px;
}

.admin-sidebar__nav::-webkit-scrollbar-track {
  background: transparent;
}

.admin-sidebar__nav::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
}

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

.admin-nav-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-2) var(--sp-3);
  border: none;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.admin-nav-btn svg {
  transition: transform 0.22s ease, filter 0.22s ease;
}

.admin-nav-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.admin-nav-btn:hover svg {
  transform: translateY(-1px) scale(1.08);
  filter: drop-shadow(0 4px 10px rgba(249, 115, 22, 0.12));
}

.admin-nav-btn--active {
  background: var(--primary-50, rgba(249, 115, 22, 0.1));
  color: var(--primary-500);
  font-weight: 600;
}

.admin-nav-btn--back {
  margin-top: auto;
  color: var(--text-muted);
}

/* ─── Admin Main ─── */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100dvh;
  overflow: hidden;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--border-default);
  background: var(--bg-elevated);
}

.admin-header h1 {
  font-size: var(--text-xl);
  font-weight: 700;
}

.admin-header__right {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-width: 0;
}

.admin-header__user {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  white-space: nowrap;
}

.admin-mobile-tab-picker {
  display: none;
  position: relative;
}

.admin-mobile-tab-picker__trigger,
.admin-mobile-tab-picker__item {
  font-family: inherit;
}

.admin-content {
  padding: var(--sp-6);
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.admin-content::-webkit-scrollbar {
  width: 6px;
}

.admin-content::-webkit-scrollbar-track {
  background: transparent;
}

.admin-content::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
}

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

/* ─── Admin Stats Grid ─── */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-4);
}

.admin-stats-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.9fr);
  gap: var(--sp-4);
  align-items: start;
  margin-top: var(--sp-4);
}

.admin-stat-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
}

.admin-stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-stat-card__info {
  display: flex;
  flex-direction: column;
}

.admin-stat-card__value {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
}

.admin-stat-card__label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* ─── Admin Filters ─── */
.admin-filters {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.admin-filters::-webkit-scrollbar {
  height: 4px;
}

.admin-filters::-webkit-scrollbar-track {
  background: transparent;
}

.admin-filters::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
}

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

.admin-search {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-3);
  flex: 1;
  max-width: 320px;
  color: var(--text-muted);
}

.admin-search input {
  border: none;
  background: transparent;
  outline: none;
  color: var(--text-primary);
  font-size: var(--text-sm);
  width: 100%;
}

.admin-select {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-3);
  color: var(--text-primary);
  font-size: var(--text-sm);
  cursor: pointer;
  outline: none;
}

.admin-select--sm {
  padding: var(--sp-1) var(--sp-2);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}

.admin-geo-picker {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.admin-geo-picker__selectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}

.admin-geo-picker__selectors label {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  min-width: 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.admin-geo-picker__map {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary-500) 8%, transparent), transparent),
    var(--bg-subtle);
}

.admin-geo-picker__map--interactive {
  cursor: crosshair;
}

.admin-geo-picker__map .leaflet-control-attribution {
  max-width: min(76%, 680px);
  color: #4b5563;
  font-size: 9px;
}

.admin-geo-picker__status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-2);
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.admin-geo-picker__status span,
.admin-geo-picker__status a,
.admin-geo-picker__error,
.admin-supply-coordinate strong {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}

.admin-geo-picker__status a {
  color: var(--primary-500);
}

.admin-geo-picker__spin {
  animation: spin 0.9s linear infinite;
}

.admin-geo-picker__error {
  color: var(--danger-500);
  font-size: var(--text-sm);
}

.admin-geo-picker__advanced {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.admin-geo-picker__advanced summary {
  cursor: pointer;
}

.admin-geo-picker__advanced textarea {
  width: 100%;
  margin-top: var(--sp-2);
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: var(--text-xs);
}

.admin-supply-fields {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(240px, 1.4fr);
  gap: var(--sp-3);
}

.admin-supply-coordinate {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  min-width: 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.admin-supply-coordinate strong {
  min-height: 42px;
  padding: 0 var(--sp-3);
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  color: var(--text-primary);
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .admin-geo-picker__selectors,
  .admin-supply-fields {
    grid-template-columns: 1fr;
  }

  .admin-geo-picker__map {
    height: 260px;
  }
}

.admin-api-key-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: var(--sp-3);
  margin: 0 0 var(--sp-4);
}

.admin-api-key-summary__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 56px;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}

.admin-api-key-summary__item span {
  color: var(--text-secondary);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.admin-api-key-summary__item strong {
  color: var(--text-primary);
  font-size: var(--text-2xl);
  line-height: 1;
}

.admin-api-key-summary__item--success strong { color: var(--success-500); }
.admin-api-key-summary__item--warning strong { color: var(--warning-500); }
.admin-api-key-summary__item--danger strong { color: var(--danger-500); }

.admin-api-key-notice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}

.admin-api-key-notice strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.admin-api-key-notice p {
  margin: 0;
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.admin-api-key-notice span {
  display: inline-block;
  margin: 6px var(--sp-3) 0 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

.admin-api-key-notice--success {
  border-color: color-mix(in srgb, var(--success-500) 35%, var(--border-default));
  background: color-mix(in srgb, var(--success-500) 8%, var(--bg-elevated));
}

.admin-api-key-notice--warning {
  border-color: color-mix(in srgb, var(--warning-500) 35%, var(--border-default));
  background: color-mix(in srgb, var(--warning-500) 8%, var(--bg-elevated));
}

.admin-api-key-notice--danger {
  border-color: color-mix(in srgb, var(--danger-500) 35%, var(--border-default));
  background: color-mix(in srgb, var(--danger-500) 8%, var(--bg-elevated));
}

.admin-api-provider-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  white-space: nowrap;
}

.admin-api-model-cell {
  max-width: 220px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  overflow-wrap: anywhere;
}

.admin-api-health {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 800;
  white-space: nowrap;
}

.admin-api-health--success {
  background: color-mix(in srgb, var(--success-500) 10%, transparent);
}

.admin-api-health--warning {
  background: color-mix(in srgb, var(--warning-500) 12%, transparent);
}

.admin-api-health--danger {
  background: color-mix(in srgb, var(--danger-500) 10%, transparent);
}

.admin-api-health--neutral {
  background: var(--bg-subtle);
}

.admin-api-error-detail {
  max-width: 340px;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-snug);
  overflow-wrap: anywhere;
}

/* ─── Admin Table ─── */
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.admin-table-wrap::-webkit-scrollbar {
  height: 6px;
}

.admin-table-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.admin-table-wrap::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
}

.admin-table-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.admin-table thead {
  background: var(--bg-subtle);
}

.admin-table th {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  white-space: nowrap;
  border-bottom: 1px solid var(--border-default);
}

.admin-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border-subtle, var(--border-default));
  vertical-align: middle;
}

.admin-table tbody tr:hover {
  background: var(--bg-subtle);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

/* Admin table cell variants */
.admin-td-content {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-td-content--wrap {
  max-width: 460px;
  white-space: normal;
  line-height: var(--leading-relaxed);
}

.admin-post-review-preview {
  margin-top: var(--sp-3);
  padding: var(--sp-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.admin-post-review-preview p {
  margin: var(--sp-2) 0 0;
  line-height: var(--leading-relaxed);
}

.admin-post-approval-trigger {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  min-width: 260px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-post-approval-trigger:hover .admin-post-approval-title {
  color: var(--primary-400);
}

.admin-post-approval-thumb {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--primary-500) 10%, var(--bg-secondary));
  color: var(--primary-400);
  box-shadow: var(--shadow-xs);
}

.admin-post-approval-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-post-approval-title {
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  transition: color var(--transition-fast);
}

.admin-post-approval-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  font-weight: 600;
}

.admin-post-approval-meta svg {
  flex-shrink: 0;
}

.admin-post-approval-image-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.modal-overlay:has(.admin-post-preview-modal) {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}

.admin-post-preview-modal {
  width: min(760px, calc(100vw - var(--sp-6)));
  max-width: min(760px, calc(100vw - var(--sp-6)));
  max-height: min(86dvh, 760px);
  overflow-y: auto;
}

.admin-post-preview {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-right: var(--sp-2);
}

.admin-post-preview__header {
  padding-right: var(--sp-8);
}

.admin-post-preview__header h2 {
  margin: var(--sp-2) 0 2px;
  color: var(--text-primary);
  font-size: var(--text-xl);
}

.admin-post-preview__header p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.admin-post-preview__image {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-md);
}

.admin-post-preview__image img {
  width: 100%;
  max-height: min(52vh, 460px);
  object-fit: contain;
  display: block;
  background: color-mix(in srgb, var(--bg-primary) 82%, #000 18%);
}

.admin-post-preview__no-image {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.admin-post-preview__content {
  padding: var(--sp-4);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-primary) 74%, transparent);
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  white-space: pre-wrap;
}

.admin-post-preview__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.admin-td-reason {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-td-date {
  white-space: nowrap;
  color: var(--text-tertiary);
  font-size: var(--text-xs);
}

/* ─── Admin User Cell ─── */
.admin-user-cell {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.admin-user-trigger {
  width: 100%;
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-user-trigger:hover .admin-user-name {
  color: var(--primary-400);
}

.admin-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  overflow: hidden;
  flex-shrink: 0;
}

.admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-user-name {
  font-weight: 600;
  white-space: nowrap;
}

.admin-user-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ─── Admin Badges ─── */
.admin-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

.admin-badge--info {
  background: rgba(59, 130, 246, 0.12);
  color: var(--info-500);
}

.admin-badge--pending {
  background: rgba(249, 115, 22, 0.12);
  color: var(--primary-500);
}

.admin-badge--approved {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success-500);
}

.admin-badge--rejected {
  background: rgba(239, 48, 48, 0.12);
  color: var(--danger-500);
}

.admin-badge--none {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.admin-badge--action {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-400);
}

/* ─── Admin Action Buttons ─── */
.admin-action-btns {
  display: flex;
  gap: var(--sp-1);
  align-items: center;
}

.admin-action-btns--compact {
  flex-wrap: nowrap;
}

.admin-action-btns .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  overflow: visible;
  min-width: 28px;
  min-height: 28px;
  padding: var(--sp-1);
}

.admin-action-btns .btn svg {
  flex-shrink: 0;
}

.btn-sm {
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  border-radius: var(--radius-lg);
}

.btn-danger-text {
  color: var(--danger-500);
}

.btn-danger-text:hover {
  background: rgba(239, 48, 48, 0.08);
}

.admin-expand-row td {
  background: color-mix(in srgb, var(--bg-subtle) 72%, transparent);
}

.admin-verification-detail {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
}

.admin-verification-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}

.admin-verification-detail__grid--history {
  margin-bottom: var(--sp-3);
}

.admin-verification-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--sp-3);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-primary) 74%, transparent);
}

.admin-verification-card--wide {
  grid-column: 1 / -1;
}

.admin-verification-card__label {
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.admin-verification-card strong,
.admin-verification-card p {
  margin: 0;
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
}

.admin-verification-media-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.admin-verification-media-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-secondary);
}

.admin-verification-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--sp-2);
}

.admin-verification-gallery__item {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  aspect-ratio: 1 / 1;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-verification-gallery__item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary-400) 48%, transparent);
  box-shadow: var(--shadow-md);
}

.admin-verification-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-verification-empty-media {
  padding: var(--sp-3);
  border-radius: 14px;
  border: 1px dashed var(--border-default);
  color: var(--text-muted);
  font-size: var(--text-sm);
  background: color-mix(in srgb, var(--bg-primary) 82%, transparent);
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  padding: var(--sp-4);
}

.admin-user-modal {
  width: min(880px, 100%);
  max-height: 88vh;
  overflow: auto;
  border-radius: 24px;
  padding: var(--sp-5);
}

.admin-user-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.admin-user-modal__header h4 {
  margin: 0 0 4px;
  font-size: var(--text-xl);
}

.admin-user-modal__header p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.admin-user-modal__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.admin-user-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}

.admin-user-stats-row {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.admin-user-stat-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-width: 140px;
  padding: var(--sp-2-5) var(--sp-3);
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-primary) 74%, transparent);
}

.admin-user-stat-pill span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.admin-user-stat-pill strong {
  font-size: var(--text-sm);
}

.admin-user-profile-actions {
  display: flex;
  justify-content: flex-start;
  gap: var(--sp-2);
}

.admin-user-history {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.admin-user-history__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.admin-user-history__header h5 {
  margin: 0 0 4px;
  font-size: var(--text-lg);
}

.admin-user-history__header p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.admin-history-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.admin-history-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-secondary) 76%, transparent);
}

.admin-history-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.admin-history-item__head > div {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.admin-history-item__head strong {
  font-size: var(--text-base);
}

.admin-history-item__head > span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.admin-history-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.admin-history-item__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.admin-empty--inline {
  border: 1px dashed var(--border-default);
  border-radius: 16px;
  padding: var(--sp-4);
  background: color-mix(in srgb, var(--bg-primary) 84%, transparent);
}

@keyframes sidebar-brand-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

@keyframes sidebar-icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (max-width: 767px) {
  .admin-verification-detail__grid,
  .admin-user-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-user-modal {
    padding: var(--sp-4);
  }

  .admin-action-btns--compact {
    flex-wrap: wrap;
  }
}

/* ─── Admin Pagination ─── */
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.admin-pagination::-webkit-scrollbar {
  height: 4px;
}

.admin-pagination::-webkit-scrollbar-track {
  background: transparent;
}

.admin-pagination::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
}

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

.admin-page-info {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* ─── Admin Empty State ─── */
.admin-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-12) var(--sp-6);
  color: var(--text-muted);
  text-align: center;
}

/* ─── Admin Loading ─── */
.admin-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-12);
}

/* ═══════════════════════════════════════════════════════
   GUIDE PANEL
   ═══════════════════════════════════════════════════════ */
.guide-panel {
  overflow-y: auto;
}

/* Bookmark-style tabs — horizontal scroll only */
.guide-tabs {
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0 var(--sp-4);
  border-bottom: 2px solid var(--border-subtle);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--text-muted) 25%, transparent) transparent;
  flex-shrink: 0;
  /* Enable horizontal touch scrolling */
  -webkit-overflow-scrolling: touch;
}

.guide-tabs::-webkit-scrollbar {
  height: 3px;
}

.guide-tabs::-webkit-scrollbar-track {
  background: transparent;
}

.guide-tabs::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--text-muted) 25%, transparent);
  border-radius: 3px;
}

.guide-tabs::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--text-muted) 45%, transparent);
}

.guide-tab {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 500;
  font-family: inherit;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.guide-tab:hover {
  color: var(--text-secondary);
  background: color-mix(in srgb, var(--primary-500) 5%, transparent);
}

.guide-tab--active {
  color: var(--primary-400);
  border-bottom-color: var(--primary-400);
  font-weight: 600;
}

.guide-panel-content {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.guide-section {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border-subtle);
}

.guide-section:last-of-type {
  border-bottom: none;
}

.guide-section-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.guide-section-icon {
  color: var(--primary-400);
  flex-shrink: 0;
}

.guide-section-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.guide-section-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.guide-roles {
  padding-top: var(--sp-2);
}

.guide-roles-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin: 0 0 var(--sp-3) 0;
}

.guide-roles-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.guide-role-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.guide-role-icon {
  flex-shrink: 0;
}

.guide-role-icon--need {
  color: var(--danger-400);
}

.guide-role-icon--volunteer {
  color: var(--success-400);
}

.guide-role-icon--sponsor {
  color: var(--primary-400);
}

.guide-role-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.guide-role-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: none;
}

.guide-role-card:hover .guide-role-desc {
  display: inline;
}

.guide-status {
  padding-top: var(--sp-2);
}

.guide-status-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin: 0 0 var(--sp-3) 0;
}

.guide-status-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.guide-status-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.guide-status-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.guide-status-dot--active {
  background: var(--success-500);
}

.guide-status-dot--resolved {
  background: var(--accent-500);
}

.guide-status-dot--expired {
  background: var(--text-muted);
}

/* Guide role info (always visible desc) */
.guide-role-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.guide-role-desc-always {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Emergency hotlines */
.guide-emergency {
  padding-top: var(--sp-2);
}

.guide-emergency-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.guide-emergency-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
}

.guide-emergency-item--police {
  background: color-mix(in srgb, var(--accent-500) 10%, transparent);
  color: var(--accent-500);
}

.guide-emergency-item--fire {
  background: color-mix(in srgb, var(--danger-500) 10%, transparent);
  color: var(--danger-500);
}

.guide-emergency-item--medical {
  background: color-mix(in srgb, var(--success-500) 10%, transparent);
  color: var(--success-500);
}

/* ─── Responsive Admin ─── */
@media (max-width: 768px) {
  .admin-page {
    flex-direction: column;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .admin-sidebar {
    width: 100%;
    min-height: auto;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-2) var(--sp-2);
    position: sticky;
    top: 0;
    z-index: 10;
    gap: 0;
    overflow: visible;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-default);
    border-right: none;
  }

  .admin-sidebar__header {
    margin-bottom: 0;
    padding: var(--sp-1) var(--sp-2);
    width: 100%;
    justify-content: flex-start;
    gap: var(--sp-2);
  }

  .admin-sidebar__nav {
    display: none;
  }

  .admin-nav-btn {
    padding: 5px 10px;
    font-size: 11px;
    flex: 0 0 auto;
    gap: 5px;
    white-space: nowrap;
    border-radius: var(--radius-full);
  }

  .admin-nav-btn svg {
    width: 14px;
    height: 14px;
  }

  .admin-nav-btn--back {
    margin-top: 0;
    width: auto;
  }

  .admin-main {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    overflow: hidden;
  }

  .admin-content {
    padding: var(--sp-3);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-stats-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-header {
    padding: var(--sp-3);
    gap: var(--sp-2);
  }

  .admin-header h1 {
    font-size: var(--text-base);
    flex: 0 0 auto;
  }

  .admin-header__right {
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
  }

  .admin-header__user {
    display: none;
  }

  .admin-mobile-tab-picker {
    display: block;
    min-width: 0;
  }

  .admin-mobile-tab-picker__trigger {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    max-width: min(58vw, 260px);
    min-height: 38px;
    padding: 0 var(--sp-3);
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-secondary));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
  }

  .admin-mobile-tab-picker__trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-mobile-tab-picker__menu {
    position: absolute;
    top: calc(100% + var(--sp-2));
    right: 0;
    width: min(300px, calc(100vw - var(--sp-6)));
    max-height: min(70vh, 440px);
    overflow-y: auto;
    padding: var(--sp-2);
    background: var(--glass-bg-solid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 30;
  }

  .admin-mobile-tab-picker__item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    width: 100%;
    min-height: 40px;
    padding: 0 var(--sp-3);
    color: var(--text-secondary);
    background: transparent;
    border: 0;
    border-radius: var(--radius-lg);
    text-align: left;
  }

  .admin-mobile-tab-picker__item.active {
    color: var(--primary-500);
    background: color-mix(in srgb, var(--primary-500) 12%, transparent);
    font-weight: 700;
  }

  .admin-content {
    padding: var(--sp-2);
  }

  .admin-filters {
    gap: var(--sp-2);
  }

  .admin-select {
    max-width: 100%;
  }

  .admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-api-key-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-2);
  }

  .admin-api-key-summary__item {
    min-height: 48px;
    padding: var(--sp-2) var(--sp-3);
  }

  .admin-api-key-notice {
    align-items: stretch;
  }

  .admin-post-preview-modal {
    width: min(94vw, 760px);
    max-height: 82dvh;
  }

  .admin-post-preview__image img {
    max-height: 34dvh;
  }

  .admin-post-preview__actions {
    justify-content: stretch;
  }

  .admin-post-preview__actions .btn {
    flex: 1 1 140px;
  }

  /* Admin modal — full-screen on mobile */
  .admin-user-modal {
    width: 95vw !important;
    max-width: none !important;
    max-height: 85vh;
    overflow-y: auto;
  }
}


/* ═══════════════════════════════════════════════════════════
   DONATE PAGE
   ═══════════════════════════════════════════════════════════ */

.donate-page {
  min-height: 100vh;
  background: var(--bg-base);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
.donate-header {
  background: linear-gradient(135deg, var(--color-primary, #e53e3e) 0%, #c53030 100%);
  color: #fff;
  padding: var(--sp-3) var(--sp-5) var(--sp-3);
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.donate-back-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  padding: var(--sp-1);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-sm);
  transition: color 0.15s;
  flex-shrink: 0;
}
.donate-back-btn:hover { color: #fff; }

.donate-header-title {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.donate-header-title h1 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0;
}
.donate-heart-icon { color: #fed7d7; animation: heartbeat 1.6s ease-in-out infinite; }
@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  14%      { transform: scale(1.2); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.15); }
  70%      { transform: scale(1); }
}

.donate-header-subtitle {
  font-size: var(--text-xs);
  opacity: 0.8;
  margin: 0;
  width: 100%;
  max-width: 480px;
}

/* ── Body ── */
.donate-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}

/* ── Sections ── */
.donate-section {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.donate-section-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin: 0 0 var(--sp-2);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--color-primary, #e53e3e);
}

/* ── History ── */
.donate-loading {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-muted);
  font-size: var(--text-sm);
}
.donate-empty {
  color: var(--text-muted);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--sp-4) 0;
}

.donate-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  max-height: 420px;
  overflow-y: auto;
}

.donate-history-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: background 0.15s;
}
.donate-history-item:hover { background: var(--bg-hover); }

.donate-history-left {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  min-width: 0;
}

.donate-history-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-primary, #e53e3e) 12%, transparent);
  color: var(--color-primary, #e53e3e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.donate-history-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donate-history-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.donate-history-name {
  font-weight: 600;
  font-size: var(--text-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.donate-history-phone {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: monospace;
}
.donate-history-msg {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-style: italic;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.donate-history-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.donate-history-amount {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary, #e53e3e);
}
.donate-history-time {
  font-size: var(--text-2xs);
  color: var(--text-muted);
}

/* ── Form ── */
.donate-auth-notice {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--color-warning-bg, #fffbeb);
  border: 1px solid var(--color-warning, #f6ad55);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-primary);
}
.donate-login-link {
  background: none;
  border: none;
  color: var(--color-primary, #e53e3e);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.donate-user-hint {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

.donate-presets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}

.donate-preset-btn {
  background: var(--bg-surface);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  color: var(--text-primary);
  transition: border-color 0.15s, background 0.15s;
}
.donate-preset-btn:hover { border-color: var(--color-primary, #e53e3e); background: var(--bg-hover); }
.donate-preset-btn.active {
  border-color: var(--color-primary, #e53e3e);
  background: color-mix(in srgb, var(--color-primary, #e53e3e) 10%, transparent);
  color: var(--color-primary, #e53e3e);
}

.donate-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  display: block;
  margin-bottom: var(--sp-1);
}

.donate-input {
  width: 100%;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: var(--text-sm);
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.donate-input:focus { outline: none; border-color: var(--color-primary, #e53e3e); }

.donate-amount-preview {
  font-size: var(--text-xs);
  color: var(--color-primary, #e53e3e);
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

.donate-textarea {
  width: 100%;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: var(--text-sm);
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.donate-textarea:focus { outline: none; border-color: var(--color-primary, #e53e3e); }

.donate-char-count {
  display: block;
  text-align: right;
  font-size: var(--text-2xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.donate-error {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  color: var(--color-danger, #e53e3e);
  font-size: var(--text-sm);
  padding: var(--sp-2) var(--sp-3);
  background: color-mix(in srgb, var(--color-danger, #e53e3e) 8%, transparent);
  border-radius: var(--radius-md);
}

.donate-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  padding: var(--sp-3);
  background: var(--color-primary, #e53e3e);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
}
.donate-submit-btn:hover:not(:disabled) { opacity: 0.88; }
.donate-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.donate-cancel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--sp-2) var(--sp-3);
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  cursor: pointer;
  margin-top: var(--sp-2);
  transition: background 0.15s;
}
.donate-cancel-btn:hover { background: var(--bg-hover); }

/* ── QR Modal ── */
.donate-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}

.donate-modal {
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  width: 100%;
  max-width: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  box-shadow: var(--shadow-xl);
}

.donate-modal-close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: var(--sp-1);
  border-radius: var(--radius-sm);
}
.donate-modal-close:hover { color: var(--text-primary); background: var(--bg-hover); }

.donate-modal-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0;
  text-align: center;
}
.donate-modal-amount {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary, #e53e3e);
  margin: 0;
}

.donate-qr-wrap {
  background: #fff;
  padding: var(--sp-2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.donate-modal-pending {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.donate-checkout-link {
  font-size: var(--text-sm);
  color: var(--color-primary, #e53e3e);
  text-decoration: none;
  font-weight: 500;
}
.donate-checkout-link:hover { text-decoration: underline; }

.donate-modal-success,
.donate-modal-cancelled {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
  padding: var(--sp-4) 0;
}
.donate-modal-success h3,
.donate-modal-cancelled h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0;
}
.donate-success-icon { color: #38a169; }
.donate-cancelled-icon { color: var(--color-danger, #e53e3e); }
.donate-success-amount {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary, #e53e3e);
  margin: 0;
}

/* ── MobileNav donate button ── */
.mobile-nav-item--donate {
  color: var(--color-primary, #e53e3e) !important;
}
.mobile-nav-item--donate svg { color: var(--color-primary, #e53e3e); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .donate-body {
    grid-template-columns: 1fr;
    padding: var(--sp-4);
    gap: var(--sp-4);
  }
  .donate-header {
    padding: var(--sp-2) var(--sp-4);
  }
  .donate-header-title h1 {
    font-size: var(--text-base);
  }
  .donate-header-subtitle {
    font-size: 10px;
  }
  .donate-history-list {
    max-height: 320px;
  }
  .donate-modal {
    padding: var(--sp-5);
  }
}
/* ═══════════════════════════════════════════════════════
   RELIEF CONNECT v3 — Animations
   Keyframes, entrance/exit, micro-interactions
   ═══════════════════════════════════════════════════════ */

/* ─── Keyframes ─── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes pingPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

@keyframes sosBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(239, 48, 48, 0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 20px rgba(239, 48, 48, 0.9); }
}

@keyframes markerAttentionBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.18); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes ripple {
  0% { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(4); opacity: 0; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 500px; }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ─── Animation Utilities ─── */
.animate-fade-in { animation: fadeIn 300ms ease-out both; }
.animate-fade-in-up { animation: fadeInUp 400ms ease-out both; }
.animate-fade-in-down { animation: fadeInDown 400ms ease-out both; }
.animate-slide-in-left { animation: slideInLeft 400ms ease-out both; }
.animate-slide-in-right { animation: slideInRight 400ms ease-out both; }
.animate-slide-in-up { animation: slideInUp 400ms ease-out both; }
.animate-scale-in { animation: scaleIn 300ms ease-out both; }
.animate-bounce-in { animation: bounceIn 500ms ease-out both; }
.animate-spin { animation: spin 0.8s linear infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-shake { animation: shake 0.5s ease-in-out; }

/* ─── Staggered Children ─── */
.stagger-children > * {
  opacity: 0;
  animation: fadeInUp 400ms ease-out forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0ms; }
.stagger-children > *:nth-child(2) { animation-delay: 60ms; }
.stagger-children > *:nth-child(3) { animation-delay: 120ms; }
.stagger-children > *:nth-child(4) { animation-delay: 180ms; }
.stagger-children > *:nth-child(5) { animation-delay: 240ms; }
.stagger-children > *:nth-child(6) { animation-delay: 300ms; }
.stagger-children > *:nth-child(7) { animation-delay: 360ms; }
.stagger-children > *:nth-child(8) { animation-delay: 420ms; }

/* ─── Hover Effects ─── */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hover-glow {
  transition: box-shadow var(--transition-base);
}

.hover-glow:hover {
  box-shadow: var(--shadow-glow-primary);
}

.hover-scale {
  transition: transform var(--transition-base);
}

.hover-scale:hover {
  transform: scale(1.02);
}

/* ─── Transition Groups ─── */
.transition-all {
  transition: all var(--transition-base);
}

.transition-colors {
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.transition-transform {
  transition: transform var(--transition-base);
}

.transition-opacity {
  transition: opacity var(--transition-base);
}

/* ─── V3: Aurora & Scan-line ─── */
@keyframes auroraMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(5%, 3%) scale(1.05); }
  66%       { transform: translate(-4%, 6%) scale(0.97); }
}

@keyframes scanLine {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100vh); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glitch {
  0%, 100% { clip-path: inset(0 0 98% 0); transform: translate(0); }
  10%       { clip-path: inset(12% 0 76% 0); transform: translate(-3px, 1px); }
  30%       { clip-path: inset(54% 0 30% 0); transform: translate(3px, -1px); }
  60%       { clip-path: inset(80% 0 6% 0);  transform: translate(-2px, 0); }
  80%       { clip-path: inset(36% 0 60% 0); transform: translate(2px, 1px); }
}

.animate-aurora { animation: auroraMove 18s ease-in-out infinite; }
.animate-gradient { animation: gradientShift 8s ease infinite; background-size: 200% 200%; }
/* ═══════════════════════════════════════════════════════
   RELIEF CONNECT v2 — Utilities
   Tailwind-inspired utility classes
   ═══════════════════════════════════════════════════════ */

/* ─── Display ─── */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

/* ─── Flex ─── */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.flex-none { flex: none; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }

/* ─── Gap ─── */
.gap-0 { gap: 0; }
.gap-1 { gap: var(--sp-1); }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

/* ─── Padding ─── */
.p-0 { padding: 0; }
.p-1 { padding: var(--sp-1); }
.p-2 { padding: var(--sp-2); }
.p-3 { padding: var(--sp-3); }
.p-4 { padding: var(--sp-4); }
.p-5 { padding: var(--sp-5); }
.p-6 { padding: var(--sp-6); }
.p-8 { padding: var(--sp-8); }
.px-2 { padding-left: var(--sp-2); padding-right: var(--sp-2); }
.px-3 { padding-left: var(--sp-3); padding-right: var(--sp-3); }
.px-4 { padding-left: var(--sp-4); padding-right: var(--sp-4); }
.px-6 { padding-left: var(--sp-6); padding-right: var(--sp-6); }
.py-2 { padding-top: var(--sp-2); padding-bottom: var(--sp-2); }
.py-3 { padding-top: var(--sp-3); padding-bottom: var(--sp-3); }
.py-4 { padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
.py-6 { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }

/* ─── Margin ─── */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-1 { margin-bottom: var(--sp-1); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

/* ─── Text ─── */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-2xs { font-size: var(--text-2xs); }
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-md { font-size: var(--text-md); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-muted { color: var(--text-muted); }
.text-danger { color: var(--danger-500); }
.text-success { color: var(--success-500); }
.text-warning { color: var(--warning-500); }
.text-accent { color: var(--accent-400); }

.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.tracking-wide { letter-spacing: var(--tracking-wide); }
.tracking-wider { letter-spacing: var(--tracking-wider); }

/* ─── Size ─── */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-w-0 { min-width: 0; }
.min-h-0 { min-height: 0; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }

/* ─── Overflow ─── */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* ─── Position ─── */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }

/* ─── Border ─── */
.rounded { border-radius: var(--radius-md); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }
.border { border: 1px solid var(--border-default); }
.border-0 { border: none; }

/* ─── Misc ─── */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* ─── Screen Reader ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

/* ─── Grid helpers ─── */
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.maplibregl-canvas{left:0;position:absolute;top:0}.maplibregl-map:fullscreen{height:100%;width:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.maplibregl-ctrl-top-left{left:0;top:0}.maplibregl-ctrl-top-right{right:0;top:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (forced-colors:active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.maplibregl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;padding:0;width:29px}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (forced-colors:active){.maplibregl-ctrl-icon{background-color:transparent}.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}@media (hover:hover){.maplibregl-ctrl button:not(:disabled):hover{background-color:rgba(0,0,0,.05)}}.maplibregl-ctrl button:not(:disabled):active{background-color:rgba(0,0,0,.05)}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-globe .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%23333' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-globe-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%2333b5e5' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%23333' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%2333b5e5' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23aaa' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:maplibregl-spin 2s linear infinite}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}}@keyframes maplibregl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors:active){a.maplibregl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:hsla(0,0%,100%,.5);margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;color:#000;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{background-color:hsla(0,0%,100%,.5);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:rgba(0,0,0,.05)}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{right:0;top:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{left:0;top:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors:active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23fff' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.maplibregl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{background-color:hsla(0,0%,100%,.75);border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.maplibregl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.maplibregl-popup-anchor-left .maplibregl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.maplibregl-popup-anchor-right .maplibregl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}[dir=rtl] .maplibregl-popup-anchor-left{flex-direction:row-reverse}[dir=rtl] .maplibregl-popup-anchor-right{flex-direction:row}[dir=rtl] .maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-start}[dir=rtl] .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-start}.maplibregl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.maplibregl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.maplibregl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:15px 10px;pointer-events:auto;position:relative}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{left:0;position:absolute;top:0;transition:opacity .2s;will-change:transform}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.maplibregl-user-location-dot:before{animation:maplibregl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.maplibregl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px rgba(0,0,0,.35);box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}@media (prefers-reduced-motion:reduce){.maplibregl-user-location-dot:before{animation:none}}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}.maplibregl-cooperative-gesture-screen{align-items:center;background:rgba(0,0,0,.4);color:#fff;display:flex;font-size:1.4em;inset:0;justify-content:center;line-height:1.2;opacity:0;padding:1rem;pointer-events:none;position:absolute;transition:opacity 1s ease 1s;z-index:99999}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity .05s}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover:none),(pointer:coarse){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{height:100%!important;left:0!important;position:fixed!important;top:0!important;width:100%!important;z-index:99999}