/* Open Library Publications — dark/light geometry parity — 2026-09-08 v1
 * Keep portal vertical geometry identical when switching color mode.
 * Baseline stable-red-layout sets 34px in light and 36px in dark; the 2px
 * difference makes the content visibly jump downward when dark mode is enabled.
 */
html[data-openlib-color-mode="dark"] body.openlib-site-index .openlib_search_panel--primary,
html[data-openlib-color-mode="dark"] body.openlib-site-index.openlib-search-is-fixed .openlib_search_panel--primary {
  margin-bottom: 34px !important;
}
