@import url('https://fonts.googleapis.com/css2?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&family=Space+Mono:wght@400;700&display=swap');

:root {
  --primary: #6C5CE7;
  --primary-light: #A29BFE;
  --secondary: #DFE6E9;
  --accent: #FFEAA7;
  --accent-glow: rgba(14, 165, 233, 0.15);
  --available: #2D3436;
  --available-bg: rgba(34, 197, 94, 0.08);
  --available-border: rgba(34, 197, 94, 0.3);
  --taken: #ef4444;
  --taken-bg: rgba(239, 68, 68, 0.08);
  --taken-border: rgba(239, 68, 68, 0.3);
  --reserved: #f59e0b;
  --reserved-bg: rgba(245, 158, 11, 0.08);
  --reserved-border: rgba(245, 158, 11, 0.3);
  --bg: #0f172a;
  --bg-surface: #1e293b;
  --bg-card: #263348;
  --bg-hover: #334155;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;
  --border: #334155;
  --border-light: #475569;
  --shadow: rgba(0, 0, 0, 0.3);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
}

::selection {
  background: var(--accent);
  color: white;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 1rem;
}

.loading-icon {
  font-size: 3rem;
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.loading-shimmer {
  width: 200px;
  height: 4px;
  background: var(--bg-surface);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loading-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  to { left: 100%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

/* ===== APP LAYOUT ===== */
.app {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  animation: fadeIn 0.4s ease;
}

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

/* ===== HEADER ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.title {
  font-family: 'Space Mono', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.stats-bar {
  display: flex;
  gap: 0.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  min-width: 64px;
}

.stat-available {
  background: var(--available-bg);
  border: 1px solid var(--available-border);
}

.stat-taken {
  background: var(--taken-bg);
  border: 1px solid var(--taken-border);
}

.stat-reserved {
  background: var(--reserved-bg);
  border: 1px solid var(--reserved-border);
}

.stat-number {
  font-family: 'Space Mono', monospace;
  font-size: 1.3rem;
  font-weight: 700;
}

.stat-available .stat-number { color: var(--available); }
.stat-taken .stat-number { color: var(--taken); }
.stat-reserved .stat-number { color: var(--reserved); }

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ===== LEGEND & FILTERS ===== */
.legend-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.capacity-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 180px;
}

.capacity-bar {
  flex: 1;
  max-width: 200px;
  height: 8px;
  background: var(--bg-surface);
  border-radius: 4px;
  overflow: hidden;
}

.capacity-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--available), #34d399);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.capacity-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 500;
}

.filter-buttons {
  display: flex;
  gap: 0.35rem;
}

.filter-btn {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  border-radius: 20px;
  font-size: 0.78rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

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

.filter-active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: white !important;
}

.filter-available.filter-active {
  background: var(--available) !important;
  border-color: var(--available) !important;
}

.filter-taken.filter-active {
  background: var(--taken) !important;
  border-color: var(--taken) !important;
}

.filter-reserved.filter-active {
  background: var(--reserved) !important;
  border-color: var(--reserved) !important;
}

/* ===== GRID CONTAINER ===== */
.grid-container {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px var(--shadow), 0 0 60px rgba(14, 165, 233, 0.03);
}

.lot-label {
  text-align: center;
  padding: 0.5rem 0;
}

.lot-road {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lane-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
  margin: 0.3rem 0;
}

.lane-line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--reserved) 0px,
    var(--reserved) 12px,
    transparent 12px,
    transparent 20px
  );
  opacity: 0.5;
}

.lane-text {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  font-weight: 600;
}

/* ===== PARKING GRID ===== */
.parking-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  padding: 0.5rem 0;
}

@keyframes spotAppear {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.spot {
  aspect-ratio: 1;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
  animation: spotAppear 0.35s ease both;
  border: 2px solid transparent;
  gap: 2px;
  min-height: 60px;
}

.spot:hover {
  transform: scale(1.06);
  z-index: 2;
}

.spot-available {
  background: var(--bg-card);
  border-color: var(--available-border);
}

.spot-available:hover {
  border-color: var(--available);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.2);
}

.spot-taken {
  background: var(--taken-bg);
  border-color: var(--taken-border);
}

.spot-taken:hover {
  border-color: var(--taken);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.2);
}

.spot-reserved {
  background: var(--reserved-bg);
  border-color: var(--reserved-border);
}

.spot-reserved:hover {
  border-color: var(--reserved);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.spot-dimmed {
  opacity: 0.2;
  pointer-events: none;
}

.spot-id {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.spot-taken .spot-id { color: var(--taken); }
.spot-reserved .spot-id { color: var(--reserved); }
.spot-available .spot-id { color: var(--available); opacity: 0.7; }

.spot-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.spot-time {
  font-size: 0.55rem;
  color: var(--text-dim);
  position: absolute;
  bottom: 3px;
  white-space: nowrap;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
  animation: overlayIn 0.2s ease;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 48px var(--shadow);
  animation: modalSlide 0.3s ease;
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.badge {
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
}

.badge-available {
  background: var(--available-bg);
  color: var(--available);
  border: 1px solid var(--available-border);
}

.badge-taken {
  background: var(--taken-bg);
  color: var(--taken);
  border: 1px solid var(--taken-border);
}

.badge-reserved {
  background: var(--reserved-bg);
  color: var(--reserved);
  border: 1px solid var(--reserved-border);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

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

.modal-title {
  font-family: 'Space Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.status-text-available { color: var(--available); }
.status-text-taken { color: var(--taken); }
.status-text-reserved { color: var(--reserved); }

/* ===== STATUS BUTTONS ===== */
.status-options {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.status-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.status-btn:hover {
  border-color: var(--border-light);
  background: var(--bg-hover);
}

.status-btn-icon {
  font-size: 1.3rem;
}

.status-btn-available.active {
  border-color: var(--available);
  background: var(--available-bg);
  color: var(--available);
}

.status-btn-taken.active {
  border-color: var(--taken);
  background: var(--taken-bg);
  color: var(--taken);
}

.status-btn-reserved.active {
  border-color: var(--reserved);
  background: var(--reserved-bg);
  color: var(--reserved);
}

/* ===== NOTE FIELD ===== */
.note-field {
  margin-bottom: 1.5rem;
}

.note-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.note-input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.note-input::placeholder {
  color: var(--text-dim);
}

.note-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ===== ACTION BUTTONS ===== */
.modal-actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 44px;
}

.btn-cancel {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-cancel:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.btn-save {
  background: var(--accent);
  color: white;
}

.btn-save:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-save:active {
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-bar {
    width: 100%;
    justify-content: space-between;
  }

  .parking-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
  }

  .spot {
    min-height: 44px;
    border-radius: var(--radius-sm);
  }

  .spot-id {
    font-size: 0.6rem;
  }

  .spot-icon {
    font-size: 0.85rem;
  }

  .spot-time {
    display: none;
  }

  .legend-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-buttons {
    justify-content: center;
  }

  .capacity-indicator {
    justify-content: center;
  }

  .status-options {
    flex-direction: column;
  }

  .status-btn {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .parking-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .app {
    padding: 0 0.5rem 1.5rem;
  }
}

/* ===== FOCUS STYLES ===== */
.spot:focus-visible,
.filter-btn:focus-visible,
.status-btn:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
```

<!-- WALKTHROUGH_SCRIPT:
[
  {"step": 1, "narration": "Welcome to ParkTrack — your personal parking lot tracker. You can see the entire lot at a glance with color-coded spots.", "view": "default", "highlight_selector": ".grid-container", "wait_for": "tap_to_continue"},
  {"step": 2, "narration": "The header shows live counts — how many spots are open, taken, or reserved.", "view": "default", "highlight_selector": ".stats-bar", "wait_for": "tap_to_continue"},
  {"step": 3, "narration": "The capacity bar shows what percentage of spots are still available.", "view": "default", "highlight_selector": ".capacity-indicator", "wait_for": "tap_to_continue"},
  {"step": 4, "narration": "Use the filter buttons to show only open, taken, or reserved spots.", "view": "default", "highlight_selector": ".filter-buttons", "wait_for": "user_interaction"},
  {"step": 5, "narration": "Tap any spot on the grid to change its status. Let's try one!", "view": "default", "highlight_selector": ".spot", "wait_for": "user_interaction"},
  {"step": 6, "narration": "In the detail panel, choose Available, Taken, or Reserved. You can also add a note like the car color or expected departure time.", "view": "default", "highlight_selector": ".status-options", "wait_for": "user_interaction"},
  {"step": 7, "narration": "Hit save and the grid updates instantly. All your data syncs across your devices automatically. Happy parking!", "view": "default", "highlight_selector": ".btn-save", "wait_for": "tap_to_continue"}
]
-->

.grid-location-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0 0.75rem;
}

.grid-location-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.presence-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.25rem 0 0.9rem;
}

.presence-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.presence-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
  flex-shrink: 0;
}

.presence-count {
  font-weight: 600;
}

.presence-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.presence-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.presence-chip-more {
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .presence-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .presence-list {
    justify-content: flex-start;
  }
}

.modal-meta {
  margin-top: -0.6rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.modal-meta strong {
  color: var(--text);
  font-weight: 600;
}

.spot-updated-by {
  display: block;
  font-size: 0.58rem;
  color: var(--text-dim);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.availability-charts {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 24px var(--shadow);
}

.charts-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.charts-title {
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.charts-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.chart-mode-toggle {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.chart-mode-btn {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chart-mode-btn:hover {
  background: var(--bg-hover);
  color: var(--text);
  border-color: var(--border-light);
}

.chart-mode-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.hour-chart-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.65rem;
}

.hour-chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 0.6rem 0.65rem;
  min-height: 152px;
  display: flex;
  flex-direction: column;
}

.hour-chart-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.hour-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-family: 'Space Mono', monospace;
}

.hour-value {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
}

.hour-chart-track {
  flex: 1;
  min-height: 76px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
  padding: 0.2rem;
}

.hour-chart-fill {
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), var(--available));
  min-height: 4px;
  transition: height 0.35s ease;
}

.hour-chart-meta {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  margin-top: 0.55rem;
}

.hour-meta {
  font-size: 0.58rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.18rem 0.35rem;
}

.hour-meta.available { color: var(--available); }
.hour-meta.taken { color: var(--taken); }
.hour-meta.reserved { color: var(--reserved); }

@media (max-width: 900px) {
  .hour-chart-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hour-chart-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hour-chart-card {
    min-height: 136px;
  }
}

@media (max-width: 380px) {
  .hour-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.notification-permissions-panel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
  margin-bottom: 0.9rem;
}

.notification-permissions-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.notification-permissions-copy strong {
  font-size: 0.9rem;
}

.notification-permissions-copy span,
.notification-permissions-status {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.notification-permissions-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.notify-toggle {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.notify-toggle:hover {
  background: var(--bg-hover);
  color: var(--text);
  border-color: var(--border-light);
}

.notify-toggle.active {
  background: var(--available);
  color: white;
  border-color: var(--available);
}

.notify-radius-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.notify-radius-control input[type='range'] {
  width: 160px;
}

@media (max-width: 640px) {
  .notification-permissions-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .notify-radius-control {
    width: 100%;
  }

  .notify-radius-control input[type='range'] {
    width: 100%;
  }
}
