/* BN614 - research-based readability (NN/g: let users enlarge text; older users need bigger targets; iOS zooms fields under 16px).
   Deliberately narrow: no colours, borders or padding are changed, and the top bar, menus and register keypad are left alone. */
html[data-bn-text="lg"] .bn-main > :not(header):not(.bn-topbar):not(.pw-bar){zoom:1.12}
html[data-bn-text="xl"] .bn-main > :not(header):not(.bn-topbar):not(.pw-bar){zoom:1.25}
@media screen and (max-width:900px){
  .bn-main :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){font-size:max(16px,1em)}
  .bn-main > :not(header):not(.bn-topbar) :is(button,.bn-btn,a.bn-btn,[role=button],input[type=submit],input[type=button],select):not(.pad *):not(.bn-icon-btn){min-height:44px}
  .bn-main > :not(header):not(.bn-topbar) :is(input[type=checkbox],input[type=radio]){min-width:22px;min-height:22px}
}
.bn614-ts{position:relative;margin-right:8px}
.bn614-ts > button{display:inline-flex;align-items:center;gap:6px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:999px;padding:7px 12px;font:600 13px/1 -apple-system,system-ui,Arial,sans-serif;cursor:pointer;white-space:nowrap}
.bn614-ts > button b{font-size:15px}
.bn614-menu{position:absolute;right:0;top:calc(100% + 6px);background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 12px 30px rgba(15,23,42,.15);padding:6px;min-width:200px;z-index:9600}
.bn614-menu button{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:none;padding:11px 10px;border-radius:8px;font:15px -apple-system,system-ui,Arial,sans-serif;color:#0f172a;cursor:pointer;min-height:44px}
.bn614-menu button:hover{background:#f1f5f9}.bn614-menu button.on{font-weight:700;color:#166534}
@media (max-width:600px){ .bn614-ts{display:none!important} } /* BN620: phone top bar has no room; use Text size in search */
.bn614-sheet{position:fixed;inset:0;z-index:9950;background:rgba(15,23,42,.45);display:flex;align-items:center;justify-content:center;padding:16px}.bn614-sheet[hidden]{display:none}
.bn614-sheet > div{background:#fff;border-radius:16px;padding:10px;width:min(320px,100%);box-shadow:0 20px 50px rgba(15,23,42,.3)}
.bn614-sheet h2{font:700 17px -apple-system,system-ui,Arial,sans-serif;margin:8px 10px 6px;color:#0f172a}
/* BN632: empty menu section headings (already marked by the menu filter) are hidden; the top bar search shrinks instead of overflowing */
.bn-menu-label.bn-label-empty{display:none!important}
.bn-top-actions{min-width:0}
.bn-top-actions .bn-smart-search{min-width:150px;flex:1 1 220px}
.bn-top-actions .bn-smart-search input{min-width:0;width:100%}
