/*
 * Typing on a phone (html.kb-open, lib/viewport.js): nothing floats but the focused field, its own results and toasts.
 * data-kb="hide": a fixed bar with no place in the page flow steps aside.
 * data-kb="dock": a sticky bar drops into the page flow and keeps its slot.
 * Both float again once the keyboard closes. Loaded by app.js and admin.js; tests/js/keyboard_policy.test.mjs
 * fails for any new fixed or sticky selector not sorted into this contract.
 */
.kb-open [data-kb="hide"] { display: none !important; }
.kb-open [data-kb="dock"] { position: static !important; }
/* The app bar is docked: anchors and a revealed field land at the very top. */
html.kb-open { scroll-padding-top: var(--space-3); }
