/* ============================================================
   TIER 6B FEATURES CSS — First Out App
   Features: Air Quality Index, Weekend Engineering Works,
             Neurodiverse Mode, Lift & Escalator Status

   Integration:
     1. Add <link rel="stylesheet" href="/tier6b-features.css"> to <head>
     2. Add <script src="/tier6b-features.js" defer></script> before </body>
     3. The JS will inject HTML as needed — no manual HTML insertion required.
     4. CSS variables from the main app (--bg, --accent, etc.) are used.
   ============================================================ */


/* ============================================================
   5. AIR QUALITY INDEX
   PM2.5 exposure data per station/line. Colour-coded severity.
   Comparison bars vs WHO and street level.
   ============================================================ */

.aq-card {
  margin: 12px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  animation: aqFadeIn 0.3s ease-out;
}

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

.aq-good {
  border-color: rgba(54, 179, 126, 0.3);
  background: linear-gradient(135deg, rgba(54, 179, 126, 0.06) 0%, rgba(54, 179, 126, 0.02) 100%);
}

.aq-moderate {
  border-color: rgba(255, 171, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 171, 0, 0.06) 0%, rgba(255, 171, 0, 0.02) 100%);
}

.aq-poor {
  border-color: rgba(255, 86, 48, 0.25);
  background: linear-gradient(135deg, rgba(255, 86, 48, 0.06) 0%, rgba(255, 86, 48, 0.02) 100%);
}

.aq-very-poor {
  border-color: rgba(155, 89, 182, 0.3);
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.06) 0%, rgba(155, 89, 182, 0.02) 100%);
}

.aq-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}

.aq-header:active {
  background: var(--bg-card-hover);
}

.aq-icon-wrap {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.aq-lung-icon {
  color: var(--text-secondary);
}

.aq-good .aq-lung-icon { color: var(--green); }
.aq-moderate .aq-lung-icon { color: var(--amber); }
.aq-poor .aq-lung-icon { color: var(--red); }
.aq-very-poor .aq-lung-icon { color: #9B59B6; }

/* Animated particles around lung icon */
.aq-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.aq-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-secondary);
  opacity: 0;
}

.aq-poor .aq-particle,
.aq-very-poor .aq-particle {
  animation: aqParticleFloat 2.5s ease-in-out infinite;
}

.aq-particle.p1 { top: 20%; left: 10%; animation-delay: 0s; }
.aq-particle.p2 { top: 60%; left: 80%; animation-delay: 0.8s; }
.aq-particle.p3 { top: 40%; left: 50%; animation-delay: 1.6s; }

.aq-poor .aq-particle { background: var(--red); }
.aq-very-poor .aq-particle { background: #9B59B6; }

@keyframes aqParticleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  30% { opacity: 0.8; }
  70% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-12px) scale(1.2); }
}

.aq-header-content {
  flex: 1;
  min-width: 0;
}

.aq-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.aq-level {
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.aq-level-green { color: var(--green); }
.aq-level-amber { color: var(--amber); }
.aq-level-red { color: var(--red); }
.aq-level-purple { color: #9B59B6; }

.aq-pm25-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.aq-badge-green { background: rgba(54, 179, 126, 0.15); color: var(--green); }
.aq-badge-amber { background: rgba(255, 171, 0, 0.15); color: var(--amber); }
.aq-badge-red { background: rgba(255, 86, 48, 0.12); color: var(--red); }
.aq-badge-purple { background: rgba(155, 89, 182, 0.15); color: #9B59B6; }

.aq-unit {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
}

.aq-chevron {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.aq-card.expanded .aq-chevron {
  transform: rotate(180deg);
}

.aq-body {
  display: none;
  padding: 0 16px 16px;
}

.aq-card.expanded .aq-body {
  display: block;
}

/* Comparison bars */
.aq-comparison {
  margin-bottom: 12px;
}

.aq-comp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.aq-comp-row:last-child {
  margin-bottom: 0;
}

.aq-comp-label {
  font-size: 11px;
  color: var(--text-secondary);
  width: 80px;
  flex-shrink: 0;
}

.aq-comp-bar-wrap {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.aq-comp-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease-out;
}

.aq-bar-green { background: var(--green); }
.aq-bar-amber { background: var(--amber); }
.aq-bar-red { background: var(--red); }
.aq-bar-purple { background: #9B59B6; }

.aq-comp-val {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

.aq-multiples {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.aq-multiple-sep {
  opacity: 0.4;
}

.aq-note {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.aq-clean-route {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(54, 179, 126, 0.08);
  border-left: 3px solid var(--green);
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
}

.aq-clean-route strong {
  color: var(--green);
}

.aq-health-tip {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 86, 48, 0.08);
  border-left: 3px solid var(--red);
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 500;
}

.aq-tip-icon {
  margin-right: 4px;
}

/* Air quality badge on exit lines */
.aq-line-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
  white-space: nowrap;
}


/* ============================================================
   6. WEEKEND ENGINEERING WORKS
   Home screen card (Thu-Sun) with disruption alerts.
   Colour-coded severity: yellow, orange, red.
   ============================================================ */

.ew-card {
  margin: 12px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  animation: ewFadeIn 0.3s ease-out;
}

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

.ew-clear {
  border-color: rgba(54, 179, 126, 0.2);
}

.ew-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}

.ew-header:active {
  background: var(--bg-card-hover);
}

.ew-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.ew-header-content {
  flex: 1;
  min-width: 0;
}

.ew-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.ew-status {
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.ew-status-green { color: var(--green); }
.ew-status-amber { color: var(--amber); }
.ew-status-red { color: var(--red); }

.ew-chevron {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.ew-card.expanded .ew-chevron {
  transform: rotate(180deg);
}

.ew-body {
  display: none;
  padding: 0 16px 16px;
}

.ew-card.expanded .ew-body {
  display: block;
}

/* Individual disruption item */
.ew-disruption {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border-left: 3px solid var(--border);
}

.ew-disruption:last-child {
  margin-bottom: 0;
}

.ew-sev-yellow {
  background: rgba(255, 171, 0, 0.06);
  border-left-color: var(--amber);
}

.ew-sev-orange {
  background: rgba(255, 130, 0, 0.06);
  border-left-color: #FF8200;
}

.ew-sev-red {
  background: rgba(255, 86, 48, 0.06);
  border-left-color: var(--red);
}

.ew-disruption-line {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  text-transform: capitalize;
}

.ew-disruption-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ew-disruption-dates {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.ew-bus-info {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(76, 154, 255, 0.08);
  font-size: 11px;
  color: var(--text);
  line-height: 1.4;
}

.ew-bus-icon {
  margin-right: 4px;
}

/* Impact on saved routes */
.ew-impact-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.ew-impact-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 8px;
}

.ew-impact-item {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
  border-left: 3px solid var(--amber);
  background: rgba(255, 171, 0, 0.06);
}


/* ============================================================
   7. NEURODIVERSE / ANXIETY-FRIENDLY MODE
   Sensory profiles, trigger warnings, breathing exercise.
   Toggle on home screen, profile on result screen.
   ============================================================ */

/* Toggle card on home screen */
.nd-toggle-card {
  margin: 12px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  animation: ndFadeIn 0.3s ease-out;
}

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

.nd-toggle-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
}

.nd-toggle-icon {
  font-size: 22px;
  flex-shrink: 0;
  color: var(--accent);
}

.nd-toggle-content {
  flex: 1;
  min-width: 0;
}

.nd-toggle-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.nd-toggle-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Toggle switch */
.nd-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.nd-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.nd-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  transition: background 0.3s;
}

.nd-switch-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--text);
  border-radius: 50%;
  transition: transform 0.3s;
}

.nd-switch input:checked + .nd-switch-slider {
  background: var(--accent);
}

.nd-switch input:checked + .nd-switch-slider::before {
  transform: translateX(22px);
}

/* Trigger preferences panel */
.nd-toggle-prefs {
  padding: 0 16px 16px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.nd-prefs-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.nd-prefs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.nd-pref-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', var(--font), sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.15s;
}

.nd-pref-pill:active {
  transform: scale(0.96);
}

.nd-pref-pill.active {
  background: rgba(76, 154, 255, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.nd-prefs-hint {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Sensory profile on result screen */
.nd-profile {
  margin: 12px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  animation: ndFadeIn 0.3s ease-out;
}

.nd-calm {
  border-color: rgba(54, 179, 126, 0.3);
  background: linear-gradient(135deg, rgba(54, 179, 126, 0.06) 0%, rgba(54, 179, 126, 0.02) 100%);
}

.nd-moderate {
  border-color: rgba(255, 171, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 171, 0, 0.06) 0%, rgba(255, 171, 0, 0.02) 100%);
}

.nd-intense {
  border-color: rgba(255, 86, 48, 0.25);
  background: linear-gradient(135deg, rgba(255, 86, 48, 0.06) 0%, rgba(255, 86, 48, 0.02) 100%);
}

.nd-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}

.nd-header:active {
  background: var(--bg-card-hover);
}

.nd-icon {
  font-size: 22px;
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
}

.nd-header-content {
  flex: 1;
  min-width: 0;
}

.nd-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.nd-overall {
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.nd-overall-calm { color: var(--green); }
.nd-overall-moderate { color: var(--amber); }
.nd-overall-intense { color: var(--red); }

.nd-trigger-count {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(255, 86, 48, 0.12);
  color: var(--red);
  flex-shrink: 0;
}

.nd-chevron {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nd-profile.expanded .nd-chevron {
  transform: rotate(180deg);
}

.nd-body {
  display: none;
  padding: 0 16px 16px;
}

.nd-profile.expanded .nd-body {
  display: block;
}

/* Sensory meters */
.nd-meters {
  margin-bottom: 12px;
}

.nd-meter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.nd-meter-row:last-child {
  margin-bottom: 0;
}

.nd-meter-label {
  font-size: 12px;
  color: var(--text-secondary);
  width: 90px;
  flex-shrink: 0;
}

.nd-meter-bar-wrap {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.nd-meter-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--amber) 50%, var(--red) 100%);
  transition: width 0.6s ease-out;
}

.nd-meter-bar.nd-bar-inv {
  background: linear-gradient(90deg, var(--red) 0%, var(--amber) 50%, var(--green) 100%);
}

.nd-meter-val {
  font-size: 11px;
  color: var(--text);
  font-weight: 600;
  width: 90px;
  text-align: right;
  flex-shrink: 0;
}

.nd-meter-text {
  flex: 1;
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
}

/* Info row */
.nd-info-row {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.nd-info-label {
  font-weight: 700;
  color: var(--text);
}

/* Triggers */
.nd-triggers {
  margin-bottom: 10px;
}

.nd-triggers-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.nd-trigger-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.nd-trigger-item.nd-trigger-match {
  background: rgba(255, 86, 48, 0.06);
  border-color: rgba(255, 86, 48, 0.2);
}

.nd-trigger-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.nd-trigger-info {
  flex: 1;
  min-width: 0;
}

.nd-trigger-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.nd-trigger-match .nd-trigger-name {
  color: var(--red);
}

.nd-trigger-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.nd-no-triggers {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(54, 179, 126, 0.06);
  border: 1px solid rgba(54, 179, 126, 0.15);
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 10px;
}

/* Emergency help panel */
.nd-emergency {
  margin-top: 10px;
}

.nd-emergency-btn {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 86, 48, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 86, 48, 0.08);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', var(--font), sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.15s;
}

.nd-emergency-btn:active {
  background: rgba(255, 86, 48, 0.15);
  transform: scale(0.98);
}

.nd-emergency-panel {
  display: none;
  margin-top: 10px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.nd-emergency-panel.visible {
  display: block;
  animation: ndFadeIn 0.2s ease-out;
}

.nd-emergency-item {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.nd-emergency-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.nd-emergency-item strong {
  color: var(--accent);
}

/* Breathing exercise */
.nd-breathing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(76, 154, 255, 0.06);
}

.nd-breath-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  animation: ndBreathe 8s ease-in-out infinite;
}

@keyframes ndBreathe {
  0% { transform: scale(0.6); opacity: 0.5; }
  25% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1); opacity: 1; }
  75% { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(0.6); opacity: 0.5; }
}

.nd-breath-text {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}


/* ============================================================
   8. LIFT & ESCALATOR STATUS
   Live status of lifts and escalators per station. Step-free
   indicators. Green/amber/red asset status.
   ============================================================ */

.le-card {
  margin: 12px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  animation: leFadeIn 0.3s ease-out;
}

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

.le-card.le-critical {
  border-color: rgba(255, 86, 48, 0.35);
  animation: lePulse 1.5s ease-in-out infinite;
}

@keyframes lePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 86, 48, 0); }
  50% { box-shadow: 0 0 0 4px rgba(255, 86, 48, 0.15); }
}

.le-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}

.le-header:active {
  background: var(--bg-card-hover);
}

.le-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.le-header-content {
  flex: 1;
  min-width: 0;
}

.le-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.le-status {
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.le-status-loading { color: var(--text-secondary); }
.le-status-green { color: var(--green); }
.le-status-amber { color: var(--amber); }
.le-status-red { color: var(--red); }

.le-chevron {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.le-card.expanded .le-chevron {
  transform: rotate(180deg);
}

.le-body {
  display: none;
  padding: 0 16px 16px;
}

.le-card.expanded .le-body {
  display: block;
}

.le-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 8px;
  margin-top: 10px;
}

.le-section-title:first-child {
  margin-top: 0;
}

/* Individual asset row */
.le-asset {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.le-asset-ok {
  border-color: rgba(54, 179, 126, 0.15);
}

.le-asset-broken {
  border-color: rgba(255, 86, 48, 0.25);
  background: rgba(255, 86, 48, 0.06);
}

.le-asset-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.le-asset-info {
  flex: 1;
  min-width: 0;
}

.le-asset-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.le-asset-detail {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.le-asset-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.le-sfr-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(76, 154, 255, 0.12);
  color: var(--accent);
}

.le-asset-indicator {
  font-size: 16px;
  flex-shrink: 0;
  color: var(--green);
}

.le-asset-broken .le-asset-indicator {
  color: var(--red);
}

/* Alternative route suggestion */
.le-alternative {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 86, 48, 0.08);
  border-left: 3px solid var(--red);
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 500;
}

.le-alt-icon {
  margin-right: 4px;
}

/* Exit badges for step-free / stairs info */
.le-exit-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
}

.le-exit-sf {
  background: rgba(76, 154, 255, 0.12);
  color: var(--accent);
}

.le-exit-stairs {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}
