/* "Okay, but…" — a skeptical reader's margin notes (add-on, injected by okay-but.js).
   Absolutely positioned beside headings: zero layout space, nothing shifts. */
.ob { position: absolute; left: 0; top: 0; z-index: 6; width: max-content; }
.ob-note {
  display: inline-flex; align-items: center; gap: 3px; white-space: nowrap;
  background: none; border: 0; padding: 2px 0; margin: 0; cursor: pointer;
  font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive; font-weight: 500;
  font-size: 1.1rem; line-height: 1; letter-spacing: 0; text-transform: none;
  color: var(--accent, #e16f7c); opacity: .8;
  transform: rotate(-2deg); transition: opacity 160ms ease, transform 160ms ease;
}
.ob-note svg { flex: none; width: 16px; height: 12px; }
.ob-n {
  font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 0.6rem; letter-spacing: 0.06em; color: var(--text-dim, #a3a8ba); margin-left: 3px;
}
.ob-note:focus-visible { outline: 2px solid var(--accent, #e16f7c); outline-offset: 3px; border-radius: 2px; }
.ob-card {
  display: none; position: absolute; left: 0; top: 100%; text-align: left;
  width: min(20rem, calc(100vw - 24px)); white-space: normal;
  background: var(--card-2, #262a36); color: var(--text, #d7d9e0);
  border: 1px solid var(--card-border, rgba(255,255,255,.1)); border-left: 3px solid var(--accent, #e16f7c);
  border-radius: 0; padding: 11px 13px 9px;
  font-weight: 400; letter-spacing: 0; text-transform: none;
}
.ob-full, .ob-a { margin: 0; font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive; font-weight: 500; line-height: 1.15; }
.ob-full { font-size: 1rem; color: var(--accent, #e16f7c); margin-bottom: 5px; }
.ob-a { font-size: 1.15rem; color: var(--cream, #f3efd9); }
.ob-a .ob-check { color: var(--accent, #e16f7c); }
.ob-links { margin: 7px 0 0; display: flex; flex-direction: column; gap: 3px; font-family: inherit; font-size: 0.82rem; line-height: 1.35; }
.ob-links a { color: var(--accent, #e16f7c); text-decoration: underline; text-underline-offset: 3px; }
.ob.is-open { z-index: 20; }
.ob.is-open .ob-card { display: block; }
.ob.is-open .ob-note { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .ob:hover, .ob:focus-within { z-index: 20; }
  .ob:hover .ob-card, .ob:focus-within .ob-card { display: block; }
  .ob:hover .ob-note { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .ob-note { transition: none; transform: none; } }
