:root {
  --bg: #eef2f6;
  --panel: rgba(255, 255, 255, 0.95);
  --panel-solid: #ffffff;
  --surface: #f8fafc;
  --border: #d8e0ea;
  --text: #0f172a;
  --muted: #475569;
  --primary: #b91c1c;
  --primary-soft: #fef2f2;
  --blr: #1d4ed8;
  --blr-soft: #eff6ff;
  --ac: #0284c7;
  --ac-soft: #e0f2fe;
  --emerald: #059669;
  --emerald-soft: #ecfdf5;
  --amber: #d97706;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Noto Sans Kannada", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

#map {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
}

#map.picking-location {
  cursor: crosshair;
}

/* Top Bar */
.top-bar {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 9px;
  border-radius: 8px;
  letter-spacing: 0.4px;
}

.brand h1 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.brand h1 span {
  color: var(--primary);
}

.live-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.22);
  animation: pulse 1.5s infinite;
}

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

.top-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.btn-group {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2px;
  gap: 2px;
}

.chip-btn, .accent-btn, .alert-nav-btn, .mini-btn, .landmark-pill, .tab-btn, .icon-btn, .mini-banner-btn, .chip-close-btn, .swap-btn, .link-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: 0.16s ease;
}

.chip-btn {
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
}

.chip-btn:hover {
  color: var(--text);
}

.chip-btn.active {
  background: var(--text);
  color: #ffffff;
}

.chip-btn.border-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.accent-btn {
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 10px;
}

.accent-btn:hover {
  background: #991b1b;
}

.accent-btn.active-follow {
  background: var(--emerald);
}

.alert-nav-btn {
  background: #d97706;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 10px;
}

.alert-nav-btn:hover {
  background: #b45309;
}

.alert-nav-btn.armed {
  background: var(--emerald);
}

.accent-btn.full, .alert-nav-btn.full {
  width: 100%;
}

/* Landmark Bar */
.landmark-bar {
  position: fixed;
  top: 76px;
  left: 374px;
  right: 14px;
  z-index: 15;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.landmark-pill {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1);
}

.landmark-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.landmark-pill.blr {
  background: var(--blr-soft);
  border-color: #bfdbfe;
  color: var(--blr);
}

.landmark-pill.blr:hover {
  background: var(--blr);
  color: #ffffff;
}

.landmark-pill.accent {
  background: var(--primary-soft);
  border-color: #fecaca;
  color: var(--primary);
}

/* Floating Status & Alert Banners */
.selected-route-banner {
  position: fixed;
  top: 118px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 21;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #ffffff;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.active-alert-chip {
  position: fixed;
  top: 118px;
  right: 14px;
  z-index: 21;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #34d399;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 1.2s infinite;
}

.chip-close-btn {
  background: rgba(6, 95, 70, 0.12);
  color: #065f46;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.pass-alert-banner {
  position: fixed;
  top: 162px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fffbeb;
  border: 2px solid #d97706;
  color: #78350f;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(180, 83, 9, 0.28);
  min-width: 320px;
  max-width: 92vw;
}

.pass-alert-content strong {
  display: block;
  font-size: 13px;
  color: #92400e;
}

.pass-alert-content span {
  font-size: 12px;
  font-weight: 600;
}

.pass-alert-actions {
  display: flex;
  gap: 6px;
}

.mini-banner-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
}

.mini-banner-btn.primary {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
}

/* Left Side Drawer */
.drawer {
  position: fixed;
  top: 76px;
  left: 12px;
  bottom: 14px;
  width: 350px;
  z-index: 18;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.drawer-handle {
  display: none;
}

.drawer-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.tab-btn {
  padding: 11px 4px;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  border-bottom: 2.5px solid transparent;
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #ffffff;
}

.tab-panel {
  display: none;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  padding: 10px;
  gap: 9px;
}

.tab-panel.active {
  display: flex;
}

.search-wrap input, .stop-selector select, .fare-field select, .inline-form input, .inline-form select, .full-input {
  width: 100%;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-family: inherit;
  outline: none;
}

.search-wrap input:focus, .stop-selector select:focus, .fare-field select:focus, .inline-form input:focus, .full-input:focus {
  border-color: var(--primary);
}

.route-pills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  max-height: 82px;
  overflow-y: auto;
}

.route-pill {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  cursor: pointer;
}

.route-pill.active {
  color: #ffffff;
  border-color: transparent;
}

.list-scroll {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: 2px;
}

.list-scroll::-webkit-scrollbar {
  width: 5px;
}

.list-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
}

/* Bus Cards */
.bus-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  transition: 0.14s ease;
}

.bus-card:hover, .bus-card.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.bus-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  gap: 6px;
}

.route-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  color: #ffffff;
  margin-right: 5px;
}

.ac-pill {
  display: inline-block;
  padding: 1.5px 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  background: var(--ac-soft);
  color: var(--ac);
  border: 1px solid #7dd3fc;
  margin-right: 5px;
}

.free-pill {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  background: var(--emerald-soft);
  color: var(--emerald);
  border: 1px solid #6ee7b7;
}

.new-pill {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  margin-right: 4px;
}

.ac-pill.hidden {
  display: none;
}

.bus-reg {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.speed-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
  white-space: nowrap;
}

.speed-pill.stopped {
  color: var(--amber);
}

.bus-card-sub {
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* Route Overview Cards */
.route-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.route-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
  gap: 8px;
}

.route-card-title {
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
  color: var(--text);
}

.route-stops {
  margin-top: 9px;
  padding-left: 11px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.route-stop-row {
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

/* Stop Arrival Board */
.stop-selector-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.stop-selector label, .fare-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}

.stop-selector-head label {
  margin-bottom: 0;
}

.link-btn {
  background: transparent;
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
}

.link-btn:hover {
  text-decoration: underline;
}

.arrival-board {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px;
  flex: 1;
  overflow-y: auto;
}

.board-title {
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 800;
  border-bottom: 1px solid var(--border);
  padding-bottom: 7px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.board-row {
  display: grid;
  grid-template-columns: 68px 1fr 56px;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
}

.board-eta {
  text-align: right;
  color: var(--emerald);
  font-weight: 800;
}

/* KSRTC Fare Estimator Tab */
.fare-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
}

.fare-row-wrap {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.fare-row-wrap .fare-field {
  flex: 1;
  min-width: 0;
}

.swap-btn {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

.swap-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.fare-summary {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.fare-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fare-card.ac-tier {
  border-left: 3.5px solid var(--ac);
}

.fare-card.non-ac-tier {
  border-left: 3.5px solid var(--primary);
}

.fare-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.fare-service-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text);
}

.fare-service-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.fare-price-box {
  text-align: right;
  white-space: nowrap;
}

.fare-amount {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.fare-amount.is-free {
  color: var(--emerald);
}

.fare-strike {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-right: 4px;
}

.fare-route-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.fare-route-btn {
  border: none;
  cursor: pointer;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: 6px;
}

.fare-note {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.4;
  padding: 4px 2px;
}

/* 3D Inspector Floating Panel */
.inspector {
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: 312px;
  z-index: 22;
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}

.hidden {
  display: none !important;
}

.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.inspector-title-group {
  display: flex;
  align-items: center;
}

.icon-btn {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 13px;
}

.icon-btn:hover {
  background: #e2e8f0;
}

.turntable-wrap {
  position: relative;
  height: 162px;
  background: linear-gradient(180deg, #dbeafe 0%, #f1f5f9 65%, #e2e8f0 100%);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

#inspectorCanvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#inspectorCanvas:active {
  cursor: grabbing;
}

.turntable-hint {
  position: absolute;
  top: 7px;
  left: 9px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
}

.turntable-controls {
  position: absolute;
  bottom: 7px;
  right: 7px;
  display: flex;
  gap: 5px;
}

.mini-btn {
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 8px;
}

.mini-btn.active {
  color: var(--primary);
  border-color: var(--primary);
}

.inspector-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 10px;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 9px;
}

.metric span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

.metric strong {
  font-size: 11.5px;
  color: var(--text);
}

.inspector-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Map Floating Bus Badges */
.bus-map-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.5);
  cursor: pointer;
  user-select: none;
  transform: translateY(-20px);
  transition: transform 0.14s ease, opacity 0.14s ease;
  white-space: nowrap;
}

.bus-map-badge .badge-ac {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 4px;
}

.bus-map-badge .badge-new {
  background: #22c55e;
  color: #052e16;
  font-size: 8.5px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 4px;
}

.bus-map-badge.is-new {
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.55), 0 4px 12px rgba(15, 23, 42, 0.5);
}

.bus-map-badge:hover, .bus-map-badge.selected {
  transform: translateY(-24px) scale(1.16);
  border-color: #fde047;
  z-index: 12;
}

/* Tumakuru Bus Stop Markers (Bilingual Kannada + English) */
.bus-stop-pin {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.bus-stop-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #1e293b;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 900;
  color: #1e293b;
  flex-shrink: 0;
}

.bus-stop-pin.major .bus-stop-dot {
  width: 16px;
  height: 16px;
  border-color: #b91c1c;
  color: #b91c1c;
}

.bus-stop-pin.route-active .bus-stop-dot {
  width: 18px;
  height: 18px;
  background: #fef08a;
  border-color: #b91c1c;
  transform: scale(1.1);
}

.bus-stop-pin.dimmed {
  opacity: 0.28;
}

.bus-stop-label {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 2px 7px;
  border-radius: 7px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.22);
}

.bus-stop-label .stop-kn {
  display: block;
  font-size: 10.5px;
  color: #991b1b;
  font-weight: 700;
}

.bus-stop-label .stop-en {
  display: block;
  font-size: 10px;
  color: #0f172a;
  font-weight: 700;
}

#map.show-major-stops .bus-stop-pin.major .bus-stop-label,
#map.show-all-stops .bus-stop-pin .bus-stop-label,
.bus-stop-pin.route-active .bus-stop-label,
.bus-stop-pin:hover .bus-stop-label {
  display: inline-block;
}

.bus-stop-pin.stops-hidden {
  display: none !important;
}

/* User Alert Location Pin */
.user-alert-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2563eb;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.3), 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  width: 100%;
  max-width: 470px;
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: var(--shadow);
}

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

.modal-header h2 {
  font-size: 16px;
}

.modal-section h3 {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 6px;
}

.muted {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.45;
}

.muted code {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 4px;
}

.inline-form, .loc-btn-row {
  display: flex;
  gap: 8px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.modal-footer.split {
  justify-content: space-between;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: var(--text);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* Responsive Mobile Layout */
@media (max-width: 820px) {
  .top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .landmark-bar {
    display: none;
  }

  .selected-route-banner {
    top: 126px;
  }

  .active-alert-chip {
    top: 164px;
    right: 8px;
  }

  .drawer {
    top: auto;
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    height: 46vh;
    transition: height 0.25s ease;
  }

  .drawer.collapsed {
    height: 54px;
  }

  .drawer-handle {
    display: flex;
    justify-content: center;
    padding: 7px 0 3px;
    cursor: pointer;
  }

  .drawer-handle span {
    width: 42px;
    height: 4px;
    border-radius: 99px;
    background: #cbd5e1;
  }

  .inspector {
    top: 120px;
    bottom: auto;
    left: 10px;
    right: 10px;
    width: auto;
  }
}
