/* One public action system. Links keep their hrefs and semantics; existing card layouts stay intact. */
body.ov-shared-nav-active{--ov-action-blue:#2563eb;--ov-action-ink:#172033;--ov-action-line:#d8e0e9}

/* A logo or an image-only preview stays an image link. Plain text links become neutral buttons. */
body.ov-shared-nav-active :is(main,#content,.site-content,.ov-adjacent-profiles,.ovn-header,.ovn-footer) :is(a.button,a.button--primary,a.button--secondary,a.wp-block-button__link,a[role="button"],a[role="tab"],a.ovh-text-link,.ov-page-hero__meta>a,a.ovu-btn,a.ov-core-button,a.ov-profile-visit,a.ov-profile-profile-link,a.ov-profile-cta-button,a.ovt-link-button,a.ovt-button,a.ovr-btn,a.ovr-button,a.ovl-button,a.ov-share__button,a.ovla-download,a.ov-journal-card__read,a.ov-read-profile,a.ov-home-journal-feed__all,a.ov-home-pulse__submit,a.ovn-footer-social,a.ovn-submit,a.ovn-account,a.page-numbers,.ovn-desktop a,.ovn-mobile nav a,.ovn-footer-links a,.ovn-footer-legal a,.ov-adjacent-profiles>a,.ovl-pager>a,.ovr-adjacent>a,.ov-journal-adjacent>a,.ovr-pagination a,.ov-pagination a,.pagination a,.ovl-sources a,.ovl-on-page a,.ovl-sidebar a.ovl-button,.ov-guide-sources a,.ov-data-sources a,.ov-official-profiles a,.ovt-breadcrumb a,.ovr-breadcrumb a,.ov-breadcrumbs a,.hp-breadcrumbs a,nav[aria-label="Breadcrumb"] a,nav[aria-label="breadcrumb"] a,.ov-project-view a,.ov-profile-breadcrumbs a,.ovl-breadcrumb a,.ov-article-breadcrumbs a,.ovt-link-actions a,.ovl-actions a,.ovu-actions a,.ovr-actions a,.ovh-quick a,.ov-results-filter a,.ov-search-category-links a,.ov-journal-topics a) {
 display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;box-sizing:border-box;min-height:46px;min-width:0;max-width:100%;gap:6px;margin:4px 6px 4px 0;padding:10px 16px;border:1px solid var(--ov-action-line)!important;border-radius:10px;background:#fff!important;background-image:none!important;color:var(--ov-action-ink)!important;-webkit-text-fill-color:currentColor!important;font-family:inherit;font-size:14px;font-weight:600;line-height:1.45;text-align:center;text-decoration:none!important;white-space:normal;overflow-wrap:anywhere;box-shadow:none;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease
}
body.ov-shared-nav-active :is(main,#content,.site-content,.ovn-header,.ovn-footer) :is(button,input[type="submit"],input[type="button"]):not(:where(.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close)){
 box-sizing:border-box;min-height:46px;max-width:100%;padding:10px 16px;border:1px solid var(--ov-action-line)!important;border-radius:10px;background:#fff!important;background-image:none!important;color:var(--ov-action-ink)!important;-webkit-text-fill-color:currentColor!important;font-family:inherit;font-size:14px;font-weight:600;line-height:1.45;white-space:normal;overflow-wrap:anywhere;box-shadow:none;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease
}
/* Component actions use the same neutral state, even when an older module hard-coded blue. */
body.ov-shared-nav-active :is(main,#content,.site-content,.ovn-header,.ovn-footer) :is(.ov-share__button,.ovt-button,.ovt-link-button,.ovla-download,.ovr-btn,.ovr-button,.ovl-button,.ovn-footer-social){
 box-sizing:border-box;min-height:46px;max-width:100%;border:1px solid var(--ov-action-line)!important;border-radius:10px;background:#fff!important;background-image:none!important;color:var(--ov-action-ink)!important;text-decoration:none!important;white-space:normal;overflow-wrap:anywhere;box-shadow:none
}
/* Preserve selected navigation. Disabled controls remain recognisably unavailable. */
body.ov-shared-nav-active :is(main,#content,.site-content,.ovn-header,.ovn-footer) :is(a[aria-current="page"],.ov-project-view a[aria-current="page"]){background:var(--ov-action-ink)!important;border-color:var(--ov-action-ink)!important;color:#fff!important}
body.ov-shared-nav-active :is(main,#content,.site-content,.ovn-header,.ovn-footer) :is(button,input):disabled{opacity:.55;cursor:not-allowed}

/* The same filled blue state covers links, card links, next/previous and enabled buttons. */
body.ov-shared-nav-active :is(main,#content,.site-content,.ov-adjacent-profiles,.ovn-header,.ovn-footer) :is(a.button,a.button--primary,a.button--secondary,a.wp-block-button__link,a[role="button"],a[role="tab"],a.ovh-text-link,.ov-page-hero__meta>a,a.ovu-btn,a.ov-core-button,a.ov-profile-visit,a.ov-profile-profile-link,a.ov-profile-cta-button,a.ovt-link-button,a.ovt-button,a.ovr-btn,a.ovr-button,a.ovl-button,a.ov-share__button,a.ovla-download,a.ov-journal-card__read,a.ov-read-profile,a.ov-home-journal-feed__all,a.ov-home-pulse__submit,a.ovn-footer-social,a.ovn-submit,a.ovn-account,a.page-numbers,.ovn-desktop a,.ovn-mobile nav a,.ovn-footer-links a,.ovn-footer-legal a,.ov-adjacent-profiles>a,.ovl-pager>a,.ovr-adjacent>a,.ov-journal-adjacent>a,.ovr-pagination a,.ov-pagination a,.pagination a,.ovl-sources a,.ovl-on-page a,.ovl-sidebar a.ovl-button,.ov-guide-sources a,.ov-data-sources a,.ov-official-profiles a,.ovt-breadcrumb a,.ovr-breadcrumb a,.ov-breadcrumbs a,.hp-breadcrumbs a,nav[aria-label="Breadcrumb"] a,nav[aria-label="breadcrumb"] a,.ov-project-view a,.ov-profile-breadcrumbs a,.ovl-breadcrumb a,.ov-article-breadcrumbs a,.ovt-link-actions a,.ovl-actions a,.ovu-actions a,.ovr-actions a,.ovh-quick a,.ov-results-filter a,.ov-search-category-links a,.ov-journal-topics a,button,input[type="submit"],input[type="button"]):not(:disabled):not([aria-disabled="true"]):is(:hover,:focus-visible) {
 background-color:var(--ov-action-blue)!important;background-image:none!important;border-color:var(--ov-action-blue)!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;text-decoration:none!important;box-shadow:0 5px 16px rgba(37,99,235,.16)!important;transform:none!important
}
body.ov-shared-nav-active :is(main,#content,.site-content,.ov-adjacent-profiles,.ovn-header,.ovn-footer) :is(a.button,a.button--primary,a.button--secondary,a.wp-block-button__link,a[role="button"],a[role="tab"],a.ovh-text-link,.ov-page-hero__meta>a,a.ovu-btn,a.ov-core-button,a.ov-profile-visit,a.ov-profile-profile-link,a.ov-profile-cta-button,a.ovt-link-button,a.ovt-button,a.ovr-btn,a.ovr-button,a.ovl-button,a.ov-share__button,a.ovla-download,a.ov-journal-card__read,a.ov-read-profile,a.ov-home-journal-feed__all,a.ov-home-pulse__submit,a.ovn-footer-social,a.ovn-submit,a.ovn-account,a.page-numbers,.ovn-desktop a,.ovn-mobile nav a,.ovn-footer-links a,.ovn-footer-legal a,.ov-adjacent-profiles>a,.ovl-pager>a,.ovr-adjacent>a,.ov-journal-adjacent>a,.ovr-pagination a,.ov-pagination a,.pagination a,.ovl-sources a,.ovl-on-page a,.ovl-sidebar a.ovl-button,.ov-guide-sources a,.ov-data-sources a,.ov-official-profiles a,.ovt-breadcrumb a,.ovr-breadcrumb a,.ov-breadcrumbs a,.hp-breadcrumbs a,nav[aria-label="Breadcrumb"] a,nav[aria-label="breadcrumb"] a,.ov-project-view a,.ov-profile-breadcrumbs a,.ovl-breadcrumb a,.ov-article-breadcrumbs a,.ovt-link-actions a,.ovl-actions a,.ovu-actions a,.ovr-actions a,.ovh-quick a,.ov-results-filter a,.ov-search-category-links a,.ov-journal-topics a):is(:hover,:focus-visible) :is(span,strong,small,b,em,time) {color:#fff!important}
body.ov-shared-nav-active :is(main,#content,.site-content,.ov-adjacent-profiles,.ovn-header,.ovn-footer) :is(a[href],button,input[type="submit"],input[type="button"]):focus-visible{outline:3px solid #93c5fd!important;outline-offset:3px}
/* Letter logos keep contrast when the surrounding card becomes blue. */


/* Pagination and adjacency retain their titles and equal grid columns, with a button surface. */
body.ov-shared-nav-active :is(#content,main,.site-content,.ov-adjacent-profiles) :is(.ovr-adjacent,.ovl-pager,.ov-journal-adjacent)>a,
body.ov-shared-nav-active .ov-adjacent-profiles>a{
 display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;margin:0;padding:14px 18px!important;min-height:64px;max-width:100%;border:1px solid var(--ov-action-line)!important;border-top-width:1px!important;border-radius:10px;background:#fff!important;color:var(--ov-action-ink)!important;text-align:left;text-decoration:none!important;overflow-wrap:anywhere
}
body.ov-shared-nav-active :is(#content,main,.site-content,.ov-adjacent-profiles) :is(.ovr-adjacent,.ovl-pager,.ov-journal-adjacent)>a :is(span,strong),
body.ov-shared-nav-active .ov-adjacent-profiles>a :is(span,strong){color:inherit!important}
/* Outside-main profile pagination needs the same state as the in-main components. */
body.ov-shared-nav-active .ov-adjacent-profiles>a:is(:hover,:focus-visible){background:#2563eb!important;border-color:#2563eb!important;color:#fff!important;transform:none!important}
body.ov-shared-nav-active .ov-adjacent-profiles>a:is(:hover,:focus-visible) :is(span,strong){color:#fff!important}

/* Link groups wrap independently of labels and never create horizontal page overflow. */
body.ov-shared-nav-active :is(.ovt-context,.ov-core-content,.ov-editorial-profile__footer-actions,.ov-evidence-level,.ov-data-sources,.ov-guide-sources) a{max-width:100%;overflow-wrap:anywhere}
body.ov-shared-nav-active .ovt-context ul{list-style:none;padding-left:0;display:flex;flex-wrap:wrap;gap:10px}
body.ov-shared-nav-active .ovt-context li{margin:0;min-width:0;max-width:100%}
body.ov-shared-nav-active .ovt-context li>a{height:100%;margin:0}
body.ov-shared-nav-active :is(.ovl-sources,.ovl-on-page,.ovl-sidebar,.ovl-pager,.ovr-adjacent,.ov-journal-adjacent) a{margin:0}
body.ov-shared-nav-active .ovl-sidebar a.ovl-button{justify-content:flex-start;text-align:left;padding:10px 12px;font-size:13px}
body.ov-shared-nav-active .ovl-breadcrumb a{min-height:44px;padding:8px 13px;font-size:13px}
body.ov-shared-nav-active :is(.ovn-desktop,.ovn-mobile nav,.ovn-footer-links,.ovn-footer-legal) a{margin:0}
body.ov-shared-nav-active .ovn-footer-links,body.ov-shared-nav-active .ovn-footer-legal{gap:8px}
body.ov-shared-nav-active .ovn-footer-legal a{font-size:12px;padding:8px 11px;min-height:44px}
body.ov-shared-nav-active .ovn-footer-socials .ovn-footer-social{margin:0;min-height:46px}
body.ov-shared-nav-active .ovn-header nav a{padding:9px 12px;font-size:13px}
@media(max-width:620px){
 body.ov-shared-nav-active :is(.ovr-adjacent,.ovl-pager,.ov-journal-adjacent){grid-template-columns:minmax(0,1fr)}
 body.ov-shared-nav-active .ovt-context ul{display:grid;grid-template-columns:minmax(0,1fr)}
 body.ov-shared-nav-active .ovt-context li>a{width:100%;text-align:left;justify-content:flex-start}
 body.ov-shared-nav-active .ov-adjacent-profiles>a{flex-basis:100%}
 body.ov-shared-nav-active .ovn-footer-links,body.ov-shared-nav-active .ovn-footer-legal{justify-content:flex-start}
}
@media(prefers-reduced-motion:reduce){body.ov-shared-nav-active :is(main,#content,.site-content,.ov-adjacent-profiles,.ovn-header,.ovn-footer) :is(a,button,input){transition:none!important;transform:none!important}}

/* A card's decorative button cue belongs to the same hover surface as its parent. */


/* 0.3.19: preserve structural links, text fill and single-line social labels. */
body.ov-shared-nav-active :is(main,#content,.site-content) .ov-result-card__link{
 display:block!important;position:absolute!important;inset:0!important;z-index:1!important;
 margin:0!important;padding:0!important;min-height:0!important;border:0!important;
 background:transparent!important;box-shadow:none!important
}
body.ov-shared-nav-active :is(main,#content,.site-content) .ov-listing-card__main{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 justify-content:flex-start!important;text-align:left!important;box-sizing:border-box;
 height:100%;width:100%;margin:0!important;padding:24px!important;gap:18px;
 border:0!important;border-radius:inherit;background:transparent;color:#172033!important
}
body.ov-shared-nav-active :is(main,#content,.site-content) .ov-listing-card__logo span{
 color:#172033!important;-webkit-text-fill-color:currentColor!important
}



body.ov-shared-nav-active :is(main,#content,.site-content) .ov-listing-profile-cta>a.ov-profile-cta-button{
 -webkit-text-fill-color:currentColor!important
}
body.ov-shared-nav-active :is(main,#content,.site-content) .ovl-sidebar .ovl-route-scroll a.ovl-button{
 justify-content:flex-start!important;text-align:left!important;padding:10px 12px!important;font-size:13px!important;line-height:1.4!important
}
body.ov-shared-nav-active :is(.ovn-header,.ovn-footer) .ovn-footer-socials{
 width:348px;max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr))
}
body.ov-shared-nav-active :is(.ovn-header,.ovn-footer) .ovn-footer-socials a.ovn-footer-social{
 padding:0 8px!important;font-size:12px!important;gap:7px!important;height:46px!important;
 white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important
}
body.ov-shared-nav-active .ovn-footer-socials a.ovn-footer-social span{
 white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important
}
/* Paint the result container below its transparent hit area, keeping its content visible. */




/* 0.3.20 — shared blue panels with explicit contrast for nested links and badges. */




/* A child action is outlined on its blue panel; no white button hides a white label. */


/* Topic pills stay readable without a white-on-white surface. */

/* Heading links are editorial titles, not separate inset buttons. */

/* Higher-specificity older Home rules otherwise retain a pale section surface. */



/* Footer: identity and social links share the top row; information precedes legal links. */
body.ov-shared-nav-active .ovn-footer-main{display:block;padding-bottom:22px}
body.ov-shared-nav-active .ovn-footer-masthead{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px}
body.ov-shared-nav-active .ovn-footer-masthead .ovn-footer-socials{margin:0;flex:0 1 348px}
body.ov-shared-nav-active .ovn-footer-identity p{max-width:none}
body.ov-shared-nav-active .ovn-footer-links{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:0;padding:16px 0;border-top:1px solid #d8e0e9}
body.ov-shared-nav-active .ovn-footer-meta{align-items:center}
@media(max-width:620px){
 body.ov-shared-nav-active .ovn-footer-links{justify-content:flex-start}
 body.ov-shared-nav-active .ovn-footer-meta{align-items:flex-start}
 body.ov-shared-nav-active .ovn-footer-masthead .ovn-footer-socials{flex-basis:100%;width:348px;max-width:100%}
}

/* 0.3.21 — workspace controls and the route card's single-link button cue. */




/* Keep entered text on its light field; the panel state never changes user data. */
body.ov-shared-nav-active :is(main,#content,.site-content) .ovt-workbench :is(textarea,input[type=text],select){color:#172033!important;-webkit-text-fill-color:currentColor!important}



/* 0.3.22 — mobile navigation and recipe prose must not inherit desktop action sizing. */
@media(max-width:960px){
 body.ov-shared-nav-active .ovn-header .ovn-actions{display:none!important}
 body.ov-shared-nav-active .ovn-header .ovn-desktop{display:none!important}
 body.ov-shared-nav-active .ovn-header .ovn-mobile{display:block!important;flex:0 0 auto}
 body.ov-shared-nav-active .ovn-header .ovn-bar{min-width:0}
 body.ov-shared-nav-active .ovn-header .ovn-mobile nav{
  max-height:calc(100vh - 88px);max-height:calc(100dvh - 88px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box
 }
 body.ov-shared-nav-active .ovn-header .ovn-mobile nav a{
  display:flex!important;width:100%;min-width:0;margin:0!important;white-space:normal;word-break:normal;overflow-wrap:break-word
 }
}
/* Long literal examples in prose wrap visually; script source keeps exact whitespace and local scrolling. */
body.ov-shared-nav-active :is(main,#content,.site-content) .ovr-shell,
body.ov-shared-nav-active :is(main,#content,.site-content) .ovr-article{min-width:0;box-sizing:border-box}
body.ov-shared-nav-active :is(main,#content,.site-content) .ovr-article :is(p,li){
 min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal
}
body.ov-shared-nav-active :is(main,#content,.site-content) .ovr-article pre{
 box-sizing:border-box;min-width:0;max-width:100%;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal;overflow-x:auto;
 background:#f5f7fb!important;color:#172033!important;padding:18px;border-radius:10px;font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace
}
body.ov-shared-nav-active :is(main,#content,.site-content) .ovr-article pre>code{
 display:block;min-width:0;max-width:100%;padding:0;background:transparent!important;color:#172033!important;-webkit-text-fill-color:currentColor!important;
 white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal;font:inherit
}
body.ov-shared-nav-active :is(main,#content,.site-content) .ovr-builder pre{
 min-width:0;max-width:100%;overflow-x:auto!important;white-space:pre!important
}
@media(max-width:680px){
 body.ov-shared-nav-active :is(main,#content,.site-content) .ovr-article{padding:18px}
 body.ov-shared-nav-active :is(main,#content,.site-content) .ovr-article pre{padding:14px;font-size:12px}
}

/* 0.3.23 — mobile menu at the right edge; compact information/legal actions. */
@media(max-width:960px){
 body.ov-shared-nav-active .ovn-header .ovn-mobile{margin-left:auto!important}
 body.ov-shared-nav-active .ovn-header .ovn-mobile summary{justify-content:flex-end}
}
body.ov-shared-nav-active .ovn-footer :is(.ovn-footer-links,.ovn-footer-legal){gap:6px}
body.ov-shared-nav-active :is(.ovn-header,.ovn-footer) :is(.ovn-footer-links,.ovn-footer-legal) a{
 min-height:32px!important;height:auto!important;padding:6px 10px!important;margin:0!important;
 font-size:12px!important;font-weight:500!important;line-height:1.35!important;border-radius:8px!important;
 white-space:normal;word-break:normal;overflow-wrap:break-word
}
body.ov-shared-nav-active .ovn-footer-links{padding:12px 0}
@media(max-width:620px){
 body.ov-shared-nav-active :is(.ovn-header,.ovn-footer) :is(.ovn-footer-links,.ovn-footer-legal) a{
  min-height:36px!important;padding:7px 9px!important;font-size:11.5px!important
 }
}
