/* Late affordances: read-aloud state, the generic disabled .btn look, the
   sidebar footer meta line, clickable fair cards and inline links. Loads after
   the feature sheets because .btn:disabled must beat their :disabled rules. */

/* ---------- Read aloud ---------- */
/* Speech is invisible, so the button itself has to say it is running. */
.read-aloud-btn.speaking {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* No Web Speech API means the button is disabled — it needs to look it. */
.read-aloud-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* The generic case: nothing anywhere gave a disabled .btn a dead look. */
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Feedback link in the sidebar footer. Colour comes from .app-version (same
   muted footer type as the version line); this only adds the link affordance. */
/* The footer is a narrow rail. Version and feedback share one line, both at
   the same 11px the rest of the footer uses — the link is an <a>, so the
   `.sidebar-footer small` rule never reached it and it rendered at body size,
   twice the height of everything around it. */
.footer-meta {
  display: flex;
  align-items: baseline;
  gap: var(--sp-1);
  font-size: var(--fs-2xs);
  line-height: var(--lh);
}
.footer-dot { opacity: 0.45; }
.feedback-link {
  font-size: var(--fs-2xs);
  line-height: var(--lh);
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}
.feedback-link:hover { text-decoration: underline; opacity: 0.85; }

/* Career-fair cards open their own page, so the whole card is the target and
   needs the affordance the "Fair page" button used to give it. Matches
   .today-card:hover; the controls inside stop the click from bubbling. */
.fair-card { cursor: pointer; }
.fair-card:hover { background: var(--surface-2); border-color: var(--text-muted); }

/* Inline link inside body copy (employer page's "more roles online" note).
   The app's links are mostly buttons; this is the rare one that sits in a
   sentence and has to read as a link without a button's box. */
.link-inline { color: var(--accent); text-decoration: none; }
.link-inline:hover { text-decoration: underline; }
