/* ==========================================================================
   Apex TAC v3.0 — Componentes Reutilizables (Tarjetas, Barras Duales, Modales)
   ========================================================================== */

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #04111d;
}

.btn-primary:hover {
  background: #7dd3fc;
}

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

.btn-danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.42);
  color: #fca5a5;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
}

/* Insignias y píldoras de estado */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.status-pill.is-offline {
  border-color: var(--zone-transit-border);
  color: var(--zone-transit);
  background: var(--zone-transit-bg);
}

.tier-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
}

.tier-s { color: var(--tier-s); border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.1); }
.tier-a { color: var(--tier-a); border-color: rgba(56, 189, 248, 0.45); background: rgba(56, 189, 248, 0.1); }
.tier-b { color: var(--tier-b); border-color: rgba(148, 163, 184, 0.35); background: rgba(148, 163, 184, 0.08); }

/* Fila única de filtros clicables */
.filter-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

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

.filter-chip {
  flex: 0 0 auto;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.filter-chip.is-active {
  background: var(--accent-tint);
  border-color: var(--accent);
  color: var(--text-primary);
}

.filter-chip.chip-trap.is-active { background: var(--zone-trap-bg); border-color: var(--zone-trap); color: #fecaca; }
.filter-chip.chip-transit.is-active { background: var(--zone-transit-bg); border-color: var(--zone-transit); color: #fde68a; }
.filter-chip.chip-safe.is-active { background: var(--zone-safe-bg); border-color: var(--zone-safe); color: #a7f3d0; }

/* Tarjetas Nivel 1 teñidas por Semáforo Dual (6–8% opacidad + barra lateral) */
.jet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3) var(--space-3) 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.12s ease, border-color 0.15s ease;
}

.jet-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--zone-locked);
}

.jet-card.zone-safe { background: linear-gradient(135deg, var(--zone-safe-bg), var(--bg-surface) 75%); border-color: var(--zone-safe-border); }
.jet-card.zone-safe::before { background: var(--zone-safe); }

.jet-card.zone-transit { background: linear-gradient(135deg, var(--zone-transit-bg), var(--bg-surface) 75%); border-color: var(--zone-transit-border); }
.jet-card.zone-transit::before { background: var(--zone-transit); }

.jet-card.zone-trap { background: linear-gradient(135deg, var(--zone-trap-bg), var(--bg-surface) 75%); border-color: var(--zone-trap-border); }
.jet-card.zone-trap::before { background: var(--zone-trap); }

.jet-card.zone-mastery { background: linear-gradient(135deg, var(--zone-mastery-bg), var(--bg-surface) 75%); border-color: var(--zone-mastery-border); }
.jet-card.zone-mastery::before { background: var(--zone-mastery); }

.jet-card.zone-locked { background: var(--zone-locked-bg); border-style: dashed; border-color: var(--zone-locked-border); }

.jet-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
}

.jet-silhouette {
  width: 42px;
  height: 28px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.jet-name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.jet-meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.zone-label {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.zone-safe .zone-label { color: var(--zone-safe); background: rgba(16, 185, 129, 0.14); }
.zone-transit .zone-label { color: var(--zone-transit); background: rgba(245, 158, 11, 0.14); }
.zone-trap .zone-label { color: var(--zone-trap); background: rgba(239, 68, 68, 0.16); }
.zone-mastery .zone-label { color: var(--zone-mastery); background: rgba(168, 85, 247, 0.16); }
.zone-locked .zone-label { color: var(--text-muted); background: rgba(100, 116, 139, 0.14); }

/* Barra visual dual con línea de corte (.gauge-threshold) */
.dual-gauge {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.gauge-track {
  position: relative;
  height: 9px;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.15);
  overflow: visible;
}

.gauge-fill-expected {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.34);
}

.gauge-fill-actual {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

.zone-safe .gauge-fill-actual { background: var(--zone-safe); }
.zone-transit .gauge-fill-actual { background: var(--zone-transit); }
.zone-trap .gauge-fill-actual { background: var(--zone-trap); }
.zone-mastery .gauge-fill-actual { background: var(--zone-mastery); }

.gauge-threshold {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: #f8fafc;
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(248, 250, 252, 0.65);
  pointer-events: none;
}

/* Modal / Bottom Sheet unificado */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-sheet);
  background: var(--bg-overlay);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.sheet-panel {
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--space-4) var(--space-4) calc(var(--space-5) + var(--safe-bottom));
  box-shadow: var(--shadow-sheet);
}

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--border-strong);
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.sheet-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

@media (min-width: 680px) {
  .sheet-backdrop {
    align-items: center;
    padding: var(--space-4);
  }

  .sheet-panel {
    border-radius: var(--radius-lg);
    padding-bottom: var(--space-5);
  }

  .sheet-handle {
    display: none;
  }
}

/* Banner Freemium suave y Toasts */
.free-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
  font-size: 0.82rem;
}

.pro-lock-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.72);
  border: 1px dashed var(--border-strong);
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.toast-stack {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 14px);
  transform: translateX(-50%);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(92vw, 420px);
  pointer-events: none;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.toast.is-ok { border-color: var(--zone-safe); }
.toast.is-err { border-color: var(--zone-trap); }

/* ==========================================================================
   Checkpoint 2C-2 — Bottom Sheet Unificado, Mejoras 2.0 y Soft Paywall
   ========================================================================== */

.is-clickable {
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.is-clickable:active {
  transform: scale(0.99);
}

.detail-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.detail-hero.zone-safe    { background: var(--zone-safe-bg);    border-color: var(--zone-safe-border); }
.detail-hero.zone-transit { background: var(--zone-transit-bg); border-color: var(--zone-transit-border); }
.detail-hero.zone-trap    { background: var(--zone-trap-bg);    border-color: var(--zone-trap-border); }
.detail-hero.zone-mastery { background: var(--zone-mastery-bg); border-color: var(--zone-mastery-border); }
.detail-hero.zone-locked  { background: var(--zone-locked-bg);  border-color: var(--zone-locked-border); }

.detail-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.detail-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.detail-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.detail-context-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.detail-ctx-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.detail-ctx-field .advisor-select {
  width: 100%;
}

.detail-mods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.mod-slot-card {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mod-slot-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

/* Árbol Visual Mejoras 2.0 (Colores propios por sistema) */
.upgrades-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

.upgrade-sector {
  --sys-color: var(--accent);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--sys-color);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.upgrade-sector.sys-fuselage     { --sys-color: var(--sys-airframe); }
.upgrade-sector.sys-engines      { --sys-color: var(--sys-engines); }
.upgrade-sector.sys-avionics     { --sys-color: var(--sys-avionics); }
.upgrade-sector.sys-cannons      { --sys-color: var(--sys-cannon); }
.upgrade-sector.sys-missiles_ir  { --sys-color: var(--sys-missiles-short); }
.upgrade-sector.sys-missiles_sec { --sys-color: var(--sys-missiles-long); }
.upgrade-sector.is-na            { opacity: 0.6; }

.upgrade-sector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: 0.88rem;
}

.upgrade-tree {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.upgrade-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
}

.upgrade-lvl {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.upgrade-node {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
  border-radius: 6px;
  color: var(--text-muted);
  opacity: 0.35;
}

.upgrade-node.is-picked {
  opacity: 1;
  font-weight: 700;
  color: #090d14;
  background: var(--sys-color);
}

.upgrade-legend {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.upgrade-note {
  margin: 0;
  font-size: 0.78rem;
}

/* Habilidades, Rasgos, Táctica y Counter */
.detail-kv-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-kv {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

.detail-kv span {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.detail-prose {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.48;
  color: var(--text-primary);
}

.detail-counter-box {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--zone-trap-bg);
  border: 1px solid var(--zone-trap-border);
}

/* Soft Paywall Freemium */
.paywall-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.paywall-blurred {
  filter: blur(5px);
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
  padding: var(--space-2);
}

.paywall-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: rgba(9, 13, 20, 0.72);
}

@media (max-width: 480px) {
  .detail-mods-grid,
  .detail-context-bar {
    grid-template-columns: 1fr;
  }
}

/* Línea explicativa "Por qué funciona" en Mods Nv. 16 / 20 */
.mod-why-box {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md, 10px);
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mod-why-box .view-sub {
  margin: 0;
  line-height: 1.45;
  color: var(--text-primary, #e2e8f0);
}

/* === CP 2E: Tour Guiado v3.0 (Paleta 70/30) === */
.v3-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--bg-overlay, rgba(8, 12, 20, 0.72));
  backdrop-filter: blur(4px);
}

.v3-tour-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sheet);
}

.v3-tour-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.v3-tour-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--accent-tint);
  color: var(--accent);
}

.v3-tour-skip {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
}

.v3-tour-body {
  text-align: center;
  padding: 6px 4px 18px;
}

.v3-tour-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.v3-tour-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.v3-tour-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.v3-tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.v3-tour-dots {
  display: flex;
  gap: 6px;
}

.v3-tour-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: width 0.2s ease, background 0.2s ease;
}

.v3-tour-dot.is-active {
  width: 20px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

.v3-tour-next {
  background: var(--accent);
  color: #04111d;
  border: none;
  border-radius: var(--radius-md);
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

/* === CP 2F: Panel Admin v3.0 (Grilla 2 Columnas + Consola Compacta) === */
.v3-admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--bg-overlay, rgba(8, 12, 20, 0.78));
  backdrop-filter: blur(4px);
}

.v3-admin-modal {
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sheet);
}

.v3-admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.v3-admin-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.v3-admin-sub {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.v3-admin-status {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: var(--accent-tint);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
}

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

.v3-admin-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.v3-admin-sec-title {
  margin: 0 0 2px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.v3-admin-kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  padding: 3px 0;
  border-bottom: 1px dashed var(--border-subtle);
}

.v3-admin-kv:last-child {
  border-bottom: none;
}

.v3-admin-kv span {
  color: var(--text-secondary);
}

.v3-admin-kv strong {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-primary);
  text-align: right;
}

.v3-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v3-admin-logs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.v3-admin-logs {
  max-height: 150px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-input, rgba(9, 13, 20, 0.65));
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.v3-admin-log-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 1.35;
}

.v3-admin-log-ts {
  color: var(--text-muted);
}

.v3-admin-log-mod {
  color: var(--zone-transit);
  font-weight: 700;
}

.v3-admin-log-msg {
  color: var(--text-primary);
  word-break: break-word;
}

.v3-admin-empty {
  margin: 0;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
}

@media (max-width: 580px) {
  .v3-admin-grid {
    grid-template-columns: 1fr;
  }
}

/* === CP 2H: Co-Piloto Adaptativo por Nivel Real (70/30 Ultra-Limpio) === */
.detail-stats-sub {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.stage-strip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.24);
  background: rgba(56, 189, 248, 0.06);
  font-size: 0.8rem;
}

.stage-strip.is-warn {
  border-color: var(--zone-transit-border);
  background: var(--zone-transit-bg);
}

.stage-strip-main {
  font-weight: 600;
  color: var(--text-primary);
}

.stage-strip-warn {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--zone-transit);
}

.mod-slot-card.is-slot-active {
  border-color: rgba(56, 189, 248, 0.45);
}

.is-slot-future {
  opacity: 0.62;
  border-style: dashed;
}

.roadmap-accordion {
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
  background: rgba(15, 23, 42, 0.42);
  padding: 10px 12px;
}

.roadmap-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  user-select: none;
}

.roadmap-summary::-webkit-details-marker {
  display: none;
}

.roadmap-summary::after {
  content: '▾';
  font-size: 0.9rem;
  transition: transform 0.16s ease;
}

.roadmap-accordion[open] .roadmap-summary::after {
  transform: rotate(180deg);
}

.roadmap-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
}