/* ============================================================
   ENERGY FLUENCY — tab switcher
   Layered on top of energy-primer.css; reuses the .ep-* shell
   and its --ep-* design tokens. Only the parts unique to the
   Fluency reader (the notes / case / exercise tabs) live here.
   ============================================================ */

.ef-tabs {
  display: flex;
  gap: 6px;
  margin: 28px 0 22px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--ep-rule);
}

.ef-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  margin-bottom: -1px;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  font-family: var(--ep-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ep-ink-dim);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.ef-tab:hover {
  color: var(--ep-ink);
  background: var(--ep-tint);
}

.ef-tab.is-active {
  color: var(--ep-accent);
  border-bottom-color: var(--ep-accent);
  background: transparent;
}

.ef-tab-glyph {
  font-size: 13px;
  line-height: 1;
  color: var(--ep-ink-mute);
}

.ef-tab.is-active .ef-tab-glyph { color: var(--ep-accent); }

@media (max-width: 720px) {
  .ef-tabs { flex-wrap: wrap; gap: 4px; }
  .ef-tab { padding: 9px 12px; font-size: 11.5px; }
  .ef-tab span:not(.ef-tab-glyph) { white-space: nowrap; }
}
