/* see CLAUDE_notes.md */

:root {
    /* Layer the full-page surface sits on. New full-page surfaces SHOULD use
       `z-index: var(--fadb-fp-z, 900);` instead of a bare 900 so this token
       stays the single source of truth. */
    --fadb-fp-z: 900;

    /* PubRefsPop docked width — kept in sync with DOCK_W in fullpage.js and with
       #pub-refs-pop.prp--pinned { width } in PubRefsPop.css. */
    --fadb-fp-dock-w: 460px;
}

/* ── PubRefsPop must stay usable ON TOP of a full-page surface ─────────── */
body.fadb-fp-active #pub-refs-pop.prp--pinned   { z-index: 950; }
body.fadb-fp-active #pub-refs-pop.prp--floating { z-index: 960; }

/* The docked panel starts under the site header by default (--prp-top). In full
   page the header is covered by the surface, so pin the panel to the top. */
body.fadb-fp-active #pub-refs-pop.prp--pinned { top: 0; }

/* NOTE: the docked-space reservation (shrinking the surface's right inset by
   --fadb-fp-dock-w while body.prp-docked) is applied INLINE by fullpage.js,
   because each page's `inset:0` id selector would win over a class rule here. */
