/* Biblical Greek Study Suite 3.90.0 — source-aware wayfinding, compact mobile
   study navigation and isolated theme-resistant research actions. */
.bgs-root .bgs-v390-bridge{box-sizing:border-box;min-width:0;max-width:100%;margin:12px 0 18px;padding:15px 17px;border:1px solid #cedce7;border-radius:13px;background:#f6f9fd;color:#203f56;box-shadow:0 2px 10px rgba(21,56,83,.045)}
.bgs-root .bgs-v390-bridge *{box-sizing:border-box}
.bgs-root .bgs-v390-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.bgs-root .bgs-v390-heading>div{display:grid;gap:3px;min-width:0}
.bgs-root .bgs-v390-eyebrow{font:750 .68rem/1.4 system-ui,sans-serif!important;letter-spacing:.075em;color:#39617e}
.bgs-root .bgs-v390-heading strong{font:720 1.05rem/1.35 system-ui,sans-serif!important;color:#163e5a!important}
.bgs-root .bgs-v390-heading small{font:500 .78rem/1.4 system-ui,sans-serif;color:#4a667e}
.bgs-root .bgs-v390-badge{font:650 .7rem/1.35 system-ui,sans-serif;border:1px solid #aabfd1;border-radius:30px;padding:5px 9px;color:#35566c;background:#fff}
.bgs-root .bgs-v390-links{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.bgs-root .bgs-v390-links button[data-passage-handoff]{all:unset!important;box-sizing:border-box!important;display:inline-flex!important;position:static!important;align-items:center!important;justify-content:center!important;flex:0 1 auto!important;min-height:44px!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;margin:0!important;padding:8px 13px!important;border:1px solid #a1bed3!important;border-radius:9px!important;background:#fff!important;color:#183e5a!important;box-shadow:none!important;text-align:center!important;text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere!important;font:650 .82rem/1.35 system-ui,sans-serif!important;cursor:pointer!important;transition:background-color .15s ease,border-color .15s ease}
.bgs-root .bgs-v390-links button[data-passage-handoff]:hover{background:#e8f1fb!important;border-color:#447fa9!important}
.bgs-root .bgs-v390-links button[data-passage-handoff]:focus-visible{outline:3px solid #1670ab!important;outline-offset:3px!important}
.bgs-root .bgs-v390-caveat{margin:11px 0 0!important;color:#51687b!important;font:450 .76rem/1.6 system-ui,sans-serif!important;max-width:94ch}
/* Narrow-screen navigation: one scrollable row instead of tall wraps of chips. */
@media(max-width:700px){
 .bgs-root .bgs-brandrow{gap:8px!important}
 .bgs-root .bgs-subtitle{font-size:.82rem!important;line-height:1.5!important}
 .bgs-root .bgs-study-destinations{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%!important;min-width:0!important;gap:6px!important;padding:3px 0 6px!important;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 .bgs-root .bgs-study-destinations button[data-nav]{flex:0 0 auto!important;white-space:nowrap!important;min-height:40px!important;font-size:.8rem!important}
 .bgs-root .bgs-v390-bridge{padding:12px 11px;margin:10px 0 14px}
 .bgs-root .bgs-v390-bridge .bgs-v390-badge{display:none}
 .bgs-root .bgs-v390-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .bgs-root .bgs-v390-links button[data-passage-handoff]{width:100%!important;min-height:45px!important;padding:9px 7px!important;font-size:.77rem!important}
}
@media(max-width:350px){.bgs-root .bgs-v390-links{grid-template-columns:minmax(0,1fr)}.bgs-root .bgs-v390-links button[data-passage-handoff]{min-height:44px!important}}
/* WCAG contrast for the independent-source strip in the suite dark theme. */
.bgs-root.bgs-dark .bgs-v390-bridge,.bgs-root .bgs-app.bgs-dark .bgs-v390-bridge{background:#1e3448!important;color:#f0f6fe!important;border-color:#6b8499!important}
.bgs-root.bgs-dark .bgs-v390-eyebrow,.bgs-root .bgs-app.bgs-dark .bgs-v390-eyebrow{color:#c3def8!important}
.bgs-root.bgs-dark .bgs-v390-heading strong,.bgs-root .bgs-app.bgs-dark .bgs-v390-heading strong{color:#fff!important}
.bgs-root.bgs-dark .bgs-v390-heading small,.bgs-root.bgs-dark .bgs-v390-caveat,.bgs-root .bgs-app.bgs-dark .bgs-v390-heading small,.bgs-root .bgs-app.bgs-dark .bgs-v390-caveat{color:#d0e3f3!important}
.bgs-root.bgs-dark .bgs-v390-badge,.bgs-root .bgs-app.bgs-dark .bgs-v390-badge{background:#263f55;color:#f1f6ff;border-color:#8caabd}
.bgs-root.bgs-dark .bgs-v390-links button[data-passage-handoff],.bgs-root .bgs-app.bgs-dark .bgs-v390-links button[data-passage-handoff]{background:#25485e!important;color:#fff!important;border-color:#8daec6!important}
.bgs-root.bgs-dark .bgs-v390-links button[data-passage-handoff]:hover,.bgs-root .bgs-app.bgs-dark .bgs-v390-links button[data-passage-handoff]:hover{background:#34617c!important}
@media(prefers-reduced-motion:reduce){.bgs-root .bgs-v390-links button[data-passage-handoff]{transition:none!important}}
@media(forced-colors:active){.bgs-root .bgs-v390-bridge{border-color:CanvasText!important;forced-color-adjust:auto}.bgs-root .bgs-v390-links button[data-passage-handoff]{border-color:ButtonText!important;background:ButtonFace!important;color:ButtonText!important}}
/* v3.90: navigation is a navigation surface, not a row of oversized WP theme
   calls-to-action. Keep each tool label, focus state, and active indicator. */
.bgs-root .bgs-nav button[data-nav],.bgs-root .bgs-nav button.bgs-tool-toggle,
.bgs-root .bgs-study-destinations button[data-nav]{all:unset!important;box-sizing:border-box!important;position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;flex:0 0 auto!important;width:auto!important;max-width:100%!important;height:auto!important;min-height:42px!important;min-width:0!important;margin:0!important;padding:7px 12px!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:#304f69!important;box-shadow:none!important;white-space:nowrap!important;text-decoration:none!important;text-align:center!important;font:650 .83rem/1.35 system-ui,sans-serif!important;cursor:pointer!important}
.bgs-root .bgs-nav button[data-nav]:hover,.bgs-root .bgs-nav button.bgs-tool-toggle:hover,.bgs-root .bgs-study-destinations button[data-nav]:hover{background:#e7f0fa!important;border-color:#b0cee3!important}
.bgs-root .bgs-nav button.is-active,.bgs-root .bgs-study-destinations button.is-active{background:#e2efff!important;border-color:#9dbee0!important;color:#133f69!important}
.bgs-root .bgs-nav button[data-nav]:focus-visible,.bgs-root .bgs-nav button.bgs-tool-toggle:focus-visible,.bgs-root .bgs-study-destinations button[data-nav]:focus-visible{outline:3px solid #207ab3!important;outline-offset:2px!important}
.bgs-root .bgs-study-destinations button[data-nav]{background:#eff4f9!important;border-color:#cfdeea!important}
@media(max-width:700px){.bgs-root .bgs-nav button[data-nav],.bgs-root .bgs-nav button.bgs-tool-toggle,.bgs-root .bgs-study-destinations button[data-nav]{min-height:44px!important;padding:7px 10px!important;font-size:.8rem!important}}
.bgs-root.bgs-dark .bgs-nav button[data-nav],.bgs-root.bgs-dark .bgs-nav button.bgs-tool-toggle,.bgs-root.bgs-dark .bgs-study-destinations button[data-nav],.bgs-root .bgs-app.bgs-dark .bgs-nav button[data-nav],.bgs-root .bgs-app.bgs-dark .bgs-nav button.bgs-tool-toggle,.bgs-root .bgs-app.bgs-dark .bgs-study-destinations button[data-nav]{background:#254159!important;color:#f2f8ff!important;border-color:#57738d!important}
.bgs-root.bgs-dark .bgs-nav button.is-active,.bgs-root.bgs-dark .bgs-study-destinations button.is-active,.bgs-root .bgs-app.bgs-dark .bgs-nav button.is-active,.bgs-root .bgs-app.bgs-dark .bgs-study-destinations button.is-active{background:#33658b!important;border-color:#a2c4df!important;color:#fff!important}
