/* Open Library Publications — Red Unified Clean — 2026-08-28 v4
 * Safe hotfix after v23 template regression.
 * Unified one-row site header + icon-free clean search/filter + white journal actions.
 */
:root{--olu-red-950:#7f1119;--olu-red-900:#94151e;--olu-red-800:#ac1822;--olu-red-700:#c81f2a;--olu-red-600:#dd2b36;--olu-red-50:#fff7f8;--olu-line:#ecd7da;--olu-ink:#151923;}
html body .openlib_site_header--unified{border:0!important;background:transparent!important;box-shadow:0 7px 22px rgba(88,13,20,.10)!important;}
html body .openlib_site_header__utility--unified,html[data-openlib-color-mode="dark"] body .openlib_site_header__utility--unified{padding:0!important;border:0!important;background:linear-gradient(105deg,#8a111a 0%,#bf1d28 55%,#df3440 100%)!important;}
html body .openlib_site_header__utility_inner--unified{display:flex!important;align-items:center!important;gap:22px!important;min-height:68px!important;width:min(var(--olc-shell,1240px),calc(100% - 64px))!important;margin:0 auto!important;}
html body .openlib_site_brand_inline{flex:0 1 auto!important;min-width:0!important;margin:0!important;color:#fff!important;font-size:18px!important;font-weight:850!important;line-height:1.2!important;letter-spacing:-.025em!important;text-decoration:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body .openlib_site_brand_inline:hover,html body .openlib_site_brand_inline:focus{color:#fff!important;text-decoration:none!important;}
html body .openlib_site_nav_menu--inline{flex:1 1 auto!important;min-width:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
html body .openlib_site_nav_menu--inline .pkp_navigation_primary{display:flex!important;align-items:center!important;gap:4px!important;margin:0!important;padding:0!important;}
html body .openlib_site_nav_menu--inline .pkp_navigation_primary>li>a{padding:8px 10px!important;color:rgba(255,255,255,.92)!important;font-size:12.5px!important;font-weight:750!important;}
html body .openlib_site_header--unified .openlib_site_header__right{flex:0 0 auto!important;margin-left:auto!important;}
html body .openlib_site_header--unified .openlib_account_cluster--guest,html[data-openlib-color-mode="dark"] body .openlib_site_header--unified .openlib_account_cluster--guest{display:inline-grid!important;grid-template-columns:38px auto auto!important;align-items:center!important;gap:4px!important;min-height:44px!important;padding:4px!important;border:1px solid rgba(255,255,255,.75)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 20px rgba(88,10,17,.16)!important;overflow:hidden!important;}
html body .openlib_site_header--unified .openlib_account_cluster--guest>*+*:before{display:none!important;content:none!important;}
html body .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_color_mode_toggle,html body .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_auth_switch__item{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;height:36px!important;min-height:36px!important;margin:0!important;border:0!important;border-radius:10px!important;line-height:1!important;box-shadow:none!important;}
html body .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_color_mode_toggle{width:38px!important;min-width:38px!important;padding:0!important;background:#fff4f5!important;color:var(--olu-red-900)!important;font-size:14px!important;}
html body .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_color_mode_toggle .fa{position:static!important;display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;line-height:1!important;}
html body .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_auth_switch__item{min-width:72px!important;padding:0 16px!important;background:#fff!important;color:#8c1821!important;font-size:13px!important;font-weight:800!important;}
html body .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_auth_switch__item span{line-height:1!important;}
html body .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_auth_switch__item--register,html body .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_auth_switch__item.is-active,html body.pkp_page_login .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_auth_switch__item--login,html body.pkp_page_user.pkp_op_register .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_auth_switch__item--register{background:linear-gradient(135deg,#b71924,#db2934)!important;color:#fff!important;box-shadow:none!important;}
html body.pkp_page_login .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_auth_switch__item--register,html body.pkp_page_user.pkp_op_register .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_auth_switch__item--login{background:#fff!important;color:#8c1821!important;}
html body.openlib-site-index .openlib_discovery__query>.fa,html body.openlib-site-index .openlib_journal_filter>.fa{display:none!important;}
html body.openlib-site-index .openlib_discovery__query input[type="search"]{padding:0 18px!important;}
html body.openlib-site-index .openlib_journal_filter input{padding:0 16px!important;}
html body.openlib-site-index .openlib_discovery__form>button .fa{display:none!important;}
html body.openlib-site-index .openlib_discovery__form>button{gap:0!important;}
html body.openlib-site-index .openlib_journal_footer{background:#fff!important;border-top:1px dashed #dfafb4!important;}
html body.openlib-site-index .openlib_journal_actions a,html body.openlib-site-index .openlib_journal_actions .home a,html body.openlib-site-index .openlib_journal_actions .current a{border:1px solid #e5aab0!important;border-radius:11px!important;background:#fff!important;color:#971721!important;box-shadow:none!important;}
html body.openlib-site-index .openlib_journal_actions a:hover,html body.openlib-site-index .openlib_journal_actions a:focus{border-color:#cf2b35!important;background:#fff7f8!important;color:#86131c!important;transform:none!important;}
html[data-openlib-color-mode="dark"] body .openlib_site_header--unified .openlib_account_cluster--guest{background:#fff!important;}
html[data-openlib-color-mode="dark"] body .openlib_site_header--unified .openlib_auth_switch__item,html[data-openlib-color-mode="dark"] body .openlib_site_header--unified .openlib_color_mode_toggle{color:#8c1821!important;}
@media(max-width:900px){html body .openlib_site_header__utility_inner--unified{width:calc(100% - 32px)!important;gap:12px!important;}html body .openlib_site_nav_menu--inline{display:none!important;}html body .openlib_site_brand_inline{font-size:16px!important;}}
@media(max-width:600px){html body .openlib_site_header__utility_inner--unified{min-height:62px!important;width:calc(100% - 24px)!important;}html body .openlib_site_brand_inline{max-width:46vw!important;font-size:14px!important;}html body .openlib_site_header--unified .openlib_account_cluster--guest{grid-template-columns:34px auto auto!important;gap:3px!important;padding:3px!important;}html body .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_color_mode_toggle{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;}html body .openlib_site_header--unified .openlib_account_cluster--guest>.openlib_auth_switch__item{min-width:0!important;height:34px!important;min-height:34px!important;padding:0 10px!important;font-size:12px!important;}}
