/* V1.4.44.230 — additive OAGB-only design/accessibility parity.
   Source raster, approved master logo and all prior hub assets remain untouched. */
body.wariatric-oagb-hub-active #oagbHub{--oagb-v230-ink:#153d45;--oagb-v230-accent:#0c847b;--oagb-v230-border:#d4e8e2;color:var(--oagb-v230-ink);font-family:var(--w-font-family)}
body.wariatric-oagb-hub-active #oagbHub .slh-card{border-color:var(--oagb-v230-border);border-radius:18px}
body.wariatric-oagb-hub-active #oagbHub .oagb-hero-chips span,
body.wariatric-oagb-hub-active #oagbHub .oagb-badges span,
body.wariatric-oagb-hub-active #oagbHub .oagb-kicker,
body.wariatric-oagb-hub-active #oagbHub .oagb-truth-grid span,
body.wariatric-oagb-hub-active #oagbHub .oagb-count{font-size:var(--w-text-small);line-height:1.55!important}
body.wariatric-oagb-hub-active #oagbHub .oagb-key a,
body.wariatric-oagb-hub-active #oagbHub .oagb-truth-grid p,
body.wariatric-oagb-hub-active #oagbHub .oagb-truth-grid a,
body.wariatric-oagb-hub-active #oagbHub .oagb-menu-grid p,
body.wariatric-oagb-hub-active #oagbHub .oagb-menu-grid small,
body.wariatric-oagb-hub-active #oagbHub .oagb-topic header p,
body.wariatric-oagb-hub-active #oagbHub .oagb-topic>ul,
body.wariatric-oagb-hub-active #oagbHub .oagb-detail p,
body.wariatric-oagb-hub-active #oagbHub .oagb-faq summary,
body.wariatric-oagb-hub-active #oagbHub .oagb-faq p,
body.wariatric-oagb-hub-active #oagbHub .oagb-source-grid p,
body.wariatric-oagb-hub-active #oagbHub .oagb-safety p{font-size:var(--w-text-body);line-height:1.85!important}
body.wariatric-oagb-hub-active #oagbHub .oagb-phases strong,
body.wariatric-oagb-hub-active #oagbHub .oagb-phases small,
body.wariatric-oagb-hub-active #oagbHub .oagb-source-grid span,
body.wariatric-oagb-hub-active #oagbHub .oagb-source-grid strong,
body.wariatric-oagb-hub-active #oagbHub .oagb-detail h3,
body.wariatric-oagb-hub-active #oagbHub .oagb-safety span,
body.wariatric-oagb-hub-active #oagbHub .oagb-compare-grid strong,
body.wariatric-oagb-hub-active #oagbHub .oagb-compare-grid p{font-size:var(--w-text-h3);line-height:1.65!important}
body.wariatric-oagb-hub-active #oagbHub .oagb-detail-toggle{font-size:var(--w-text-small);min-height:40px;padding:8px 12px!important;white-space:nowrap}
body.wariatric-oagb-hub-active #oagbHub .oagb-source-grid a{background:#fff}
body.wariatric-oagb-hub-active #oagbHub .oagb-compare-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
body.wariatric-oagb-hub-active #oagbHub .oagb-compare-grid article{padding:10px!important;min-width:0}
body.wariatric-oagb-hub-active #oagbHub .oagb-v230-compare-link,
body.wariatric-oagb-hub-active #oagbHub .oagb-v230-compare-current{display:block;position:relative;color:inherit;text-decoration:none;min-height:100%;outline-offset:3px}
body.wariatric-oagb-hub-active #oagbHub .oagb-compare-grid img{width:100%!important;height:128px!important;object-fit:contain!important;max-width:100%!important}
body.wariatric-oagb-hub-active #oagbHub .oagb-v230-visit{display:block;margin-top:8px;color:#08766c;font-size:var(--w-text-small);font-weight:var(--w-weight-bold);text-align:center}
body.wariatric-oagb-hub-active #oagbHub .oagb-v230-compare-link:focus-visible{outline:3px solid #0d8d82}
body.wariatric-oagb-hub-active #oagbHub .oagb-v230-compare-link:hover img{filter:drop-shadow(0 5px 8px rgba(0,90,80,.09))}
body.wariatric-oagb-hub-active #oagbHub .oagb-topic{scroll-margin-top:24px}
body.wariatric-oagb-hub-active #oagbHub .oagb-detail-toggle:focus-visible,
body.wariatric-oagb-hub-active #oagbHub .oagb-faq summary:focus-visible,
body.wariatric-oagb-hub-active .oagb-v230-zoom-btn:focus-visible{outline:3px solid #0a8f80!important;outline-offset:3px!important}
body.wariatric-oagb-hub-active #oagbHub .oagb-topic-grid{align-items:start}
body.wariatric-oagb-hub-active #oagbHub .oagb-phases article{align-content:start}
body.wariatric-oagb-hub-active #oagbHub .oagb-phases article b{font-size:var(--w-text-body)}
body.wariatric-oagb-hub-active #oagbTopologyModal[aria-hidden="true"]{pointer-events:none}
body.wariatric-oagb-hub-active .oagb-topology-modal .oagb-path-grid h3{font-size:var(--w-text-h3);line-height:1.5!important}
body.wariatric-oagb-hub-active .oagb-topology-modal .oagb-path-grid p{font-size:var(--w-text-body);line-height:1.7!important}
body.wariatric-oagb-hub-active .oagb-v230-zoom{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:6px 10px;border:1px solid #d5e7e2;border-radius:12px;background:#fff;grid-column:2;grid-row:1;align-self:start;justify-self:center;z-index:3}
body.wariatric-oagb-hub-active .oagb-v230-zoom-btn{min-width:36px;min-height:36px;border:1px solid #bfe0d7;border-radius:9px;background:#eaf7f3;color:#135f5a;font-size:var(--w-text-body);cursor:pointer}
body.wariatric-oagb-hub-active .oagb-v230-zoom-level{font-size:var(--w-text-small);min-width:50px;text-align:center;font-weight:var(--w-weight-bold);color:#214e50}
body.wariatric-oagb-hub-active .oagb-topology-modal .oagb-topology-layout{grid-template-rows:auto minmax(0,1fr)!important}
body.wariatric-oagb-hub-active .oagb-topology-modal .oagb-topology-main{grid-column:2!important;grid-row:2!important;overflow:auto!important;display:block!important;scrollbar-width:thin}
body.wariatric-oagb-hub-active .oagb-topology-modal .oagb-path-grid{grid-column:1!important;grid-row:1 / 3!important}
body.wariatric-oagb-hub-active .oagb-topology-modal .oagb-topology-main img[data-oagb-final]{display:block!important;width:calc(100% * var(--oagb-v230-zoom,1))!important;max-width:none!important;max-height:none!important;height:auto!important;aspect-ratio:3/2!important;object-fit:contain!important;transform:none!important;margin:0 auto!important}
@media(max-width:1100px){body.wariatric-oagb-hub-active #oagbHub .oagb-compare-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){
 body.wariatric-oagb-hub-active .oagb-topology-modal .oagb-topology-layout{display:flex!important;flex-direction:column!important;overflow:auto!important}
 body.wariatric-oagb-hub-active .oagb-topology-modal .oagb-v230-zoom{flex:0 0 auto;align-self:center;order:0}
 body.wariatric-oagb-hub-active .oagb-topology-modal .oagb-topology-main{flex:0 0 auto;height:auto!important;min-height:260px!important;max-height:60dvh!important;order:1}
 body.wariatric-oagb-hub-active .oagb-topology-modal .oagb-path-grid{flex:0 0 auto;order:2;max-height:none!important}
}
@media(max-width:620px){
 body.wariatric-oagb-hub-active #oagbHub .oagb-compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.wariatric-oagb-hub-active #oagbHub .oagb-compare-grid img{height:100px!important}
 body.wariatric-oagb-hub-active #oagbHub .oagb-hero{display:flex!important;flex-direction:column!important}
 body.wariatric-oagb-hub-active #oagbHub .oagb-anatomy{order:0!important}
 body.wariatric-oagb-hub-active #oagbHub .slh-hero-copy{order:1!important}
 body.wariatric-oagb-hub-active #oagbHub .oagb-key{order:2!important}
 body.wariatric-oagb-hub-active #oagbHub .oagb-topic header{display:block!important}
 body.wariatric-oagb-hub-active #oagbHub .oagb-topic header>div{gap:9px}
 body.wariatric-oagb-hub-active #oagbHub .oagb-safety span{white-space:normal}
}
@media(prefers-reduced-motion:reduce){body.wariatric-oagb-hub-active #oagbHub *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* V230 modal visibility gate: aria-hidden must also be visually hidden.
   Avoid ghost imagery from framework modal display overrides. */
body.wariatric-oagb-hub-active #oagbTopologyModal:not(.open){display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
body.wariatric-oagb-hub-active #oagbTopologyModal.open{display:flex!important;visibility:visible!important;opacity:1!important;position:fixed!important;inset:0!important;z-index:11000!important;background:rgba(12,39,46,.76)!important}
