:root {
  --bg-dark: #0b0f17;
  --bg-card: #131b26;
  --bg-card-hover: #192333;
  --border-color: #243247;
  --uits-red: #c8102e;
  --uits-red-glow: rgba(200, 16, 46, 0.4);
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.35);
  --red: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.45);
  --amber: #f59e0b;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --mono-font: 'JetBrains Mono', monospace;
  --sans-font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--sans-font);
  line-height: 1.5;
  padding-bottom: 2rem;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, #16202e 0%, #101722 100%);
  border-bottom: 2px solid var(--border-color);
  padding: 1rem 1.8rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.uits-badge {
  background: linear-gradient(135deg, var(--uits-red) 0%, #8e0b1f 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
  box-shadow: 0 0 15px var(--uits-red-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.title-group h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #fff;
}

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

.meta-pills {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #1c2738;
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.pill-label {
  color: var(--text-muted);
}

.pill-val {
  color: #fff;
  font-weight: 600;
}

.live-pill {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Dashboard Layout */
.dashboard-grid {
  max-width: 1400px;
  margin: 1.5rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Alert Banner */
.alert-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  background: #151d2a;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.alert-banner.state-green {
  border-color: var(--green);
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.14) 0%, rgba(21, 29, 42, 0.95) 100%);
  box-shadow: 0 0 25px var(--green-glow);
}

.alert-banner.state-red {
  border-color: var(--red);
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.18) 0%, rgba(21, 29, 42, 0.95) 100%);
  box-shadow: 0 0 30px var(--red-glow);
  animation: alarmBorder 1.2s infinite alternate;
}

@keyframes alarmBorder {
  from { border-color: #ef4444; }
  to { border-color: #ff8080; box-shadow: 0 0 40px var(--red-glow); }
}

.status-indicator-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.status-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  background: #1c283a;
  color: var(--text-dim);
  border: 2px solid var(--border-color);
}

.state-green .status-icon {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 15px var(--green-glow);
}

.state-red .status-icon {
  background: rgba(239, 68, 68, 0.25);
  color: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 20px var(--red-glow);
  animation: pulse-icon 1s infinite alternate;
}

@keyframes pulse-icon {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

.status-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.state-green .status-title { color: #4ade80; }
.state-red .status-title { color: #f87171; }

.status-reason {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.banner-metrics {
  display: flex;
  gap: 2rem;
}

.banner-stat {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.b-lbl {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.b-val {
  font-family: var(--mono-font);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.highlight-val {
  color: var(--cyan);
}

.highlight-danger {
  color: #f87171;
}

/* Collision Modal Overlay */
.collision-overlay {
  position: fixed;
  top: 90px;
  right: 25px;
  z-index: 200;
  animation: bounceIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.collision-overlay.hidden {
  display: none;
}

@keyframes bounceIn {
  0% { transform: scale(0.6) translateY(-30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.collision-modal {
  background: linear-gradient(135deg, #2b1116 0%, #17090b 100%);
  border: 2px solid var(--red);
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.5);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: 480px;
}

.collision-emoji {
  font-size: 2.8rem;
  animation: shakeEmoji 0.6s infinite;
}

@keyframes shakeEmoji {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg) scale(1.1); }
  75% { transform: rotate(10deg) scale(1.1); }
}

.collision-text h3 {
  color: #fca5a5;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.collision-text p {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.collision-tag {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* Cards */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.8rem;
}

.card-header h2, .card-header h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.badge {
  background: #1c283a;
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-outline {
  border-color: var(--blue);
  color: #93c5fd;
}

.badge-accent {
  background: rgba(200, 16, 46, 0.15);
  border-color: var(--uits-red);
  color: #fca5a5;
}

/* Road Visualizer Canvas */
.canvas-container {
  position: relative;
  width: 100%;
  background: #090e15;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

#roadCanvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: crosshair;
}

.canvas-tooltip {
  position: absolute;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--cyan);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: var(--mono-font);
  color: #fff;
  pointer-events: none;
  display: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.canvas-legend {
  display: flex;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.rickshaw-dot { background-color: #f59e0b; border: 2px solid #ef4444; }
.pedestrian-dot { background-color: #38bdf8; border: 2px solid #fff; }
.tree-dot { background-color: #15803d; border: 2px solid #22c55e; }
.sensor-dot { background-color: var(--cyan); border: 2px solid #fff; }

/* On-Screen Driving D-Pad */
.dpad-container {
  position: absolute;
  bottom: 16px;
  right: 18px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
  padding: 0.6rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  z-index: 20;
}

.dpad-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0.35rem;
  letter-spacing: 0.5px;
}

.dpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 32px);
  grid-template-rows: repeat(3, 32px);
  gap: 4px;
}

.dpad-btn {
  background: #1e293b;
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.dpad-btn:hover, .dpad-btn:active {
  background: var(--uits-red);
  border-color: #fff;
  transform: scale(0.95);
}

.dpad-bell {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
}

/* Action Bar */
.action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  background: #0e1622;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.playback-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: var(--sans-font);
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--uits-red) 0%, #990f23 100%);
  color: #fff;
  box-shadow: 0 2px 10px var(--uits-red-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e01334 0%, #a81026 100%);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #1e293b;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: #27354a;
}

.btn-bell {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  color: #fff;
  border: 1px solid #f59e0b;
}
.btn-bell:hover {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.speed-toggle-group {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.5rem;
}

.control-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-right: 0.2rem;
}

.btn-chip {
  background: #172130;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  font-family: var(--mono-font);
}

.btn-chip.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.preset-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-preset {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-green {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.4);
}
.btn-green:hover { background: rgba(34, 197, 94, 0.3); }

.btn-red {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}
.btn-red:hover { background: rgba(239, 68, 68, 0.3); }

.btn-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
}
.btn-amber:hover { background: rgba(245, 158, 11, 0.3); }

.btn-danger-action {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
  color: #fff;
  border: 1px solid #f87171;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}
.btn-danger-action:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
}

/* Scrubber Panel */
.scrubber-panel {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.slider-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.slider-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-main);
}

.phase-tag {
  background: #1c283a;
  color: #93c5fd;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid var(--border-color);
}

.custom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #1e2a3a;
  border-radius: 4px;
  outline: none;
  transition: background 0.2s;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--uits-red);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 8px var(--uits-red-glow);
}

.manual-position-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  background: #0f1723;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.slider-col label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.slider-col label span {
  font-family: var(--mono-font);
  color: #fff;
  font-weight: 700;
}

.keyboard-guide {
  background: #101926;
  border: 1px dashed var(--border-color);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.keyboard-guide strong {
  color: #fff;
}

/* Bottom Details Grid */
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

@media (max-width: 1024px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
}

/* Station Cards Grid */
.station-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.station-card {
  background: #0e1520;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.station-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

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

.sc-id {
  font-family: var(--mono-font);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.sc-lock {
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 600;
}

.sc-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.sc-coord {
  font-family: var(--mono-font);
  font-size: 0.74rem;
  color: var(--text-dim);
}

.sc-distance-wrap {
  margin-top: 0.3rem;
  background: #151e2c;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sc-dist-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sc-dist-val {
  font-family: var(--mono-font);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.sc-bar-bg {
  width: 100%;
  height: 5px;
  background: #1a2536;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.2rem;
}

.sc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 100%);
  width: 50%;
  transition: width 0.2s ease;
}

/* Math Card */
.math-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.equation-box {
  background: #090e15;
  border: 1px solid #1e2b3d;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
}

.eq-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eq-formula {
  font-family: var(--mono-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: #38bdf8;
  margin: 0.4rem 0;
  text-align: center;
}

.eq-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--mono-font);
}

.math-comparison-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.6rem;
  background: #0d1522;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.m-key {
  color: var(--text-muted);
}

.mono {
  font-family: var(--mono-font);
}

/* Dynamics Card */
.dynamics-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.2rem;
  align-items: center;
}

.compass-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.compass-dial {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid #233147;
  background: radial-gradient(circle, #151d2a 0%, #0c121b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
}

.compass-needle {
  position: absolute;
  width: 4px;
  height: 48px;
  background: linear-gradient(180deg, var(--uits-red) 50%, #94a3b8 50%);
  border-radius: 2px;
  transform-origin: center center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(200, 16, 46, 0.5);
}

.compass-needle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
}

.compass-mark {
  position: absolute;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dim);
}

.compass-mark.n { top: 4px; color: var(--uits-red); }
.compass-mark.s { bottom: 4px; }
.compass-mark.e { right: 6px; }
.compass-mark.w { left: 6px; }

.big-degree {
  font-family: var(--mono-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.compass-cardinal {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.5px;
}

.kinematics-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.k-item {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0.7rem;
  background: #0d1522;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.k-lbl { color: var(--text-muted); }
.k-val { font-family: var(--mono-font); font-weight: 600; color: #fff; }

/* Log Stream */
.log-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.db-indicator {
  font-size: 0.72rem;
  font-weight: 600;
  color: #4ade80;
}

.log-stream {
  height: 240px;
  overflow-y: auto;
  background: #090e15;
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  font-family: var(--mono-font);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.log-entry {
  display: flex;
  gap: 0.6rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 0.25rem;
}

.log-time { color: var(--text-dim); }
.log-green { color: #4ade80; }
.log-red { color: #f87171; font-weight: 700; }
.log-cyan { color: #38bdf8; }
.log-collision { color: #f43f5e; font-weight: 700; background: rgba(244, 63, 94, 0.12); padding: 2px 4px; border-radius: 4px; }

.btn-text {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
}
.btn-text:hover { color: #fff; }

/* Footer */
.app-footer {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding: 1.2rem 1.8rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 0.8rem;
}

.app-footer strong {
  color: var(--text-muted);
}
