/* One type scale per menu role. Existing widths, heights and card geometry stay intact. */
:root{--tb-menu-main:16px;--tb-menu-sub:14px;--tb-menu-filter:13px;--tb-menu-weight:700}
button,select,input,textarea{font-family:inherit}
button,select{text-align:center}
body .top .nav>span{display:inline-flex;align-items:center;justify-content:center;text-align:center;font-size:var(--tb-menu-main)!important;font-weight:var(--tb-menu-weight)!important;white-space:nowrap}
body #contextSubnav.context-subnav .tab{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;font-size:var(--tb-menu-sub)!important;font-weight:var(--tb-menu-weight)!important;line-height:1.3!important}
body .section :is(.tabs,.weekday-pills,.guest-quick,.v45-pillset,.v340-community-tabs,.v112-tabs,.market-filter-tabs) button,
body .section :is(.v45-pill,.tab){font-size:var(--tb-menu-filter)!important;font-weight:var(--tb-menu-weight)!important;text-align:center!important}
body .section :is(.weekday-pills,.guest-quick,.v45-pillset) button{display:inline-flex!important;align-items:center!important;justify-content:center!important}
body #market #marketV218Home .market-v311-entry-actions :is(button,a){font-size:13px!important;font-weight:700!important;text-align:center!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
body #market .market-v311-shortcut :is(b,small){display:block;text-align:center!important}
body #market .market-v311-shortcut b{font-size:14px!important;font-weight:700!important}
body #market .market-v311-shortcut small{font-size:11px!important}
body #opsNav button{font-size:14px!important;font-weight:700!important;align-items:center!important}
body :is(.ops-module-links,.v112-toolbar,.v112-tabs) :is(button,a){font-size:13px!important;font-weight:700!important;text-align:center!important}
@media(max-width:900px){
 :root{--tb-menu-main:10px;--tb-menu-sub:10px;--tb-menu-filter:11px}
 body #v380MobileNav button{font-size:var(--tb-menu-main)!important;font-weight:700!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:nowrap!important}
 body #contextSubnav.context-subnav:has(.tab:nth-child(6)) .tab{font-size:9px!important}
 body #contextSubnav.context-subnav:has(.tab:nth-child(8)) .tab{font-size:8px!important}
 body #market #marketV218Home .market-v311-entry-actions :is(button,a){font-size:12px!important}
 body #market .market-v311-shortcut b{font-size:12px!important}
 body #market .market-v311-shortcut small{font-size:10px!important}
 body #opsNav button{font-size:12px!important}
}
@media(max-width:390px){body #v380MobileNav button{font-size:9px!important}}
@media(max-width:900px){
 body #contextSubnav.context-subnav .tab[data-mobile-label]::after{font-family:inherit!important;font-size:var(--tb-menu-sub)!important;font-weight:700!important;line-height:1.3!important;text-align:center!important}
 body #contextSubnav.context-subnav:has(.tab:nth-child(6)) .tab[data-mobile-label]::after{font-size:9px!important}
 body #contextSubnav.context-subnav:has(.tab:nth-child(8)) .tab[data-mobile-label]::after{font-size:8px!important}
}
/* v128: keep only the mobile label; original text remains accessible. */
@media(max-width:900px){
 html body #contextSubnav.context-subnav .tab[data-mobile-label]{font-size:0!important;overflow:hidden!important}
 html body #contextSubnav.context-subnav .tab[data-mobile-label]::after{display:block!important;white-space:nowrap!important;font-size:10px!important;line-height:1.35!important}
 html body #contextSubnav.context-subnav:has(.tab:nth-child(6)) .tab[data-mobile-label]::after{font-size:9px!important}
 html body #contextSubnav.context-subnav:has(.tab:nth-child(8)) .tab[data-mobile-label]::after{font-size:8px!important}
}
@media(max-width:700px){
 html body :is(#board,#exchange,#v19GuestClone,#v19ExchangeClone) .guest-search-card .guest-filter-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html body :is(#board,#exchange,#v19GuestClone,#v19ExchangeClone) .guest-search-card .guest-filter-grid>.field{min-width:0!important;grid-column:auto!important;margin:0!important}
 html body :is(#board,#exchange,#v19GuestClone,#v19ExchangeClone) .guest-search-card .guest-filter-grid>.field:first-child{grid-column:1/-1!important}
 html body :is(#board,#exchange,#v19GuestClone,#v19ExchangeClone) .guest-search-card .field :is(input:not([type=checkbox]),select){width:100%!important;min-width:0!important;height:42px!important;font-size:13px!important;box-sizing:border-box!important}
 html body :is(#board,#exchange,#v19GuestClone,#v19ExchangeClone) .guest-search-card :is(.guest-quick-section,.v45-extra-filter-row){display:block!important;width:100%!important;grid-column:1/-1!important;margin:12px 0 0!important}
 html body :is(#board,#exchange,#v19GuestClone,#v19ExchangeClone) .guest-search-card :is(label,.guest-quick-label,.v45-label){display:block!important;font-size:11px!important;line-height:1.4!important;margin-bottom:5px!important;width:auto!important}
 html body :is(#board,#exchange,#v19GuestClone,#v19ExchangeClone) .guest-search-card :is(.weekday-pills,.guest-quick,.v45-pillset){display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;gap:4px!important;width:100%!important;margin:5px 0 0!important;min-width:0!important;flex-wrap:nowrap!important}
 html body :is(#board,#exchange,#v19GuestClone,#v19ExchangeClone) .guest-search-card :is(.weekday-pills,.guest-quick,.v45-pillset)>button{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;padding:6px 2px!important;margin:0!important;min-height:32px!important;height:auto!important;font-size:10px!important;white-space:nowrap!important;letter-spacing:-.03em!important;box-sizing:border-box!important}
 html body :is(#board,#exchange,#v19GuestClone,#v19ExchangeClone) .guest-search-card :is(.guest-time-quick,.exchange-time-quick)>button{flex-direction:column!important;gap:1px!important}
 html body :is(#board,#exchange,#v19GuestClone,#v19ExchangeClone) .guest-search-card .guest-quick button small{font-size:8px!important;line-height:1.1!important;margin:0!important}
}
@media(max-width:900px){html body #contextSubnav.context-subnav:has(.tab:nth-child(1)) .tab[data-mobile-label]{font-size:0!important}}
