/* ================================================================
   engineering.css — Engineering Explorer Mode UI
   ================================================================ */

.eng-panel {
  display: none;
  position: fixed;
  top: 45px; right: 0; bottom: 0;
  width: 320px;
  background: rgba(10,10,14,0.92);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255,255,255,0.06);
  z-index: 500;
  overflow-y: auto;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.eng-panel.visible { display: flex; }

.eng-panel__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.eng-panel__title {
  font: 800 15px var(--font-display); color: #fff; margin: 0;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.eng-panel__close {
  background: none; border: none; color: #555; font-size: 20px; cursor: pointer;
}
.eng-panel__close:hover { color: #fff; }

/* ── System buttons ───────────────────────────────────────────── */
.eng-panel__systems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 12px 14px;
}

.eng-sys-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  color: #888;
  font: 500 11px var(--font-display);
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
}
.eng-sys-btn:hover {
  border-color: var(--sys-color, rgba(255,255,255,0.15));
  color: #ccc;
  background: rgba(255,255,255,0.04);
}
.eng-sys-btn.active {
  border-color: var(--sys-color, #ffffff);
  color: #fff;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 12px rgba(255,255,255,0.1);
}
.eng-sys-btn__icon { font-size: 14px; }
.eng-sys-btn__label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Info panel ───────────────────────────────────────────────── */
.eng-panel__info {
  padding: 0 14px 20px;
  flex: 1;
}

.eng-info__header {
  padding: 12px 0 10px;
  border-left: 3px solid #ffffff;
  padding-left: 12px;
  margin-bottom: 14px;
}
.eng-info__name {
  font: 700 13px var(--font-display); color: #fff;
}

.eng-info__subtitle {
  font: 600 10px var(--font-display); color: #666;
  text-transform: uppercase; letter-spacing: 1px;
  margin: 16px 0 8px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── Spec rows ────────────────────────────────────────────────── */
.eng-info__specs {
  display: flex; flex-direction: column; gap: 1px;
}
.eng-spec-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.eng-spec-key {
  font: 400 10px var(--font-body); color: #666;
  text-transform: uppercase; letter-spacing: 0.3px;
}
.eng-spec-val {
  font: 500 11px var(--font-mono); color: #bbb;
  text-align: right;
}

/* ── Component list ───────────────────────────────────────────── */
.eng-comp {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.eng-comp__name {
  font: 600 11px var(--font-display); color: #ccc;
}
.eng-comp__desc {
  font: 400 10px var(--font-body); color: #555; margin-top: 2px;
}
