/* One responsive toolbar for browser tabs and installed PWA windows. */
html.sj-header-managed{scroll-padding-top:calc(var(--sj-header-height,56px) + 12px)}
html.sj-header-managed body .navbar-area.navbar-area{position:fixed!important;inset:0 0 auto 0!important;width:100%!important;max-width:100%!important;z-index:1050!important;transform:none!important;translate:none!important;margin:0!important;box-sizing:border-box!important}
html.sj-header-managed body .navbar-area:has(>#sj-responsive-header#sj-responsive-header#sj-responsive-header){position:fixed!important;inset:0 0 auto 0!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin:0!important;transform:none!important;translate:none!important;z-index:1050!important}
html.sj-header-managed #sj-responsive-header[hidden]{display:none!important}
html.sj-header-compact body .navbar-area>.main-navbar,html.sj-header-compact body .navbar-area>.main-responsive-nav{display:none!important}
html.sj-header-compact .navbar-area:has(>#sj-responsive-header#sj-responsive-header#sj-responsive-header)>.others-option-for-responsive{display:none!important}
html.sj-header-compact #sj-responsive-header#sj-responsive-header#sj-responsive-header{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:6px 8px!important;width:100%!important;min-height:56px!important;max-width:100%!important;padding:calc(7px + env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) 7px max(8px,env(safe-area-inset-left,0px))!important;background:#fff!important;box-shadow:0 1px 5px #18304412!important;box-sizing:border-box!important;position:relative!important;overflow:visible!important;transform:none!important}
html.sj-header-compact #sj-responsive-header .sj-header-brand{display:flex;align-items:center;flex:0 0 76px;min-width:0;order:0}
html.sj-header-compact #sj-responsive-header .sj-header-brand>a{display:flex!important;align-items:center!important;justify-content:flex-start!important;position:static!important;inset:auto!important;margin:0!important;padding:0!important;width:76px!important;height:36px!important;min-height:0!important;transform:none!important;float:none!important}
html.sj-header-compact #sj-responsive-header .sj-header-brand img{width:76px!important;height:34px!important;min-width:0!important;object-fit:contain!important;display:block!important;margin:0!important;transform:none!important}
html.sj-header-compact #sj-responsive-header .sj-header-brand .s3-brand-name{display:none!important}
html.sj-header-compact #sj-responsive-header .sj-header-shortcuts{display:flex;align-items:center;min-width:0;flex:0 1 auto;order:1}
html.sj-header-compact #sj-responsive-header .sj-header-shortcuts[hidden]{display:none!important}
html.sj-header-compact #sj-responsive-header .sj-header-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:5px;margin-left:auto;order:2;min-width:0;max-width:100%;list-style:none}
html.sj-header-compact #sj-responsive-header :is(a,button,.sj-header-brand,.sj-header-actions,.sj-header-shortcuts){transition:none!important}
html.sj-header-compact #sj-responsive-header#sj-responsive-header#sj-responsive-header .sj-admin-header-links{position:static!important;inset:auto!important;transform:none!important;translate:none!important;display:flex!important;gap:5px!important;align-items:center!important;margin:0!important;padding:0!important;width:auto!important;max-width:none!important;white-space:nowrap!important}
html.sj-header-compact #sj-responsive-header .sj-admin-header-links a{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;margin:0!important;padding:5px 7px!important;font-size:11px!important;line-height:1.3!important;white-space:nowrap!important}
html.sj-header-compact #sj-responsive-header[data-shortcut-row=true] .sj-header-shortcuts{order:3;flex:1 0 100%;justify-content:center}
html.sj-header-compact #sj-responsive-header#sj-responsive-header#sj-responsive-header :is(#sj-furigana-toggle#sj-furigana-toggle#sj-furigana-toggle,#sj-settings-trigger#sj-settings-trigger#sj-settings-trigger,#sj-xgt-toggle#sj-xgt-toggle#sj-xgt-toggle){position:static!important;inset:auto!important;transform:none!important;translate:none!important;float:none!important;flex:0 0 auto!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;box-sizing:border-box!important;border-radius:11px!important;box-shadow:none!important}
html.sj-header-compact #sj-responsive-header#sj-responsive-header#sj-responsive-header :is(#sj-furigana-toggle#sj-furigana-toggle#sj-furigana-toggle,#sj-settings-trigger#sj-settings-trigger#sj-settings-trigger) svg{width:18px!important;height:18px!important;flex:0 0 auto!important}
html.sj-header-compact #sj-responsive-header #sj-settings-trigger{background:#fff!important;color:#172f3f!important;border:1px solid #d5e2e8!important}
html.sj-header-compact #sj-responsive-header #sj-settings-trigger>span{display:none!important}
html.sj-header-compact #sj-responsive-header #sj-furigana-toggle{order:0}
html.sj-header-compact #sj-responsive-header #sj-xgt-toggle{order:1}
html.sj-header-compact #sj-responsive-header #sj-settings-trigger{order:2}
html.sj-header-compact #sj-responsive-header .sj-header-actions>li{order:3}
html.sj-header-compact #sj-responsive-header :is(.sj-header-signin,.usermenu){order:4}
html.sj-header-compact #sj-responsive-header .sj-furi-label{display:none!important}
html.sj-header-compact #sj-responsive-header#sj-responsive-header#sj-responsive-header #sj-furigana-toggle#sj-furigana-toggle#sj-furigana-toggle .sj-furi-label{display:none!important}
html.sj-header-compact #sj-responsive-header .sj-header-actions>li{display:flex!important;align-items:center!important;flex:0 0 auto!important;position:relative!important;margin:0!important;padding:0!important;list-style:none!important;min-width:0!important}
html.sj-header-compact #sj-responsive-header .sj-header-actions .usermenu{display:inline-flex!important;align-items:center!important;position:relative!important;inset:auto!important;width:auto!important;min-width:0!important;height:36px!important;min-height:0!important;margin:0!important;padding:0!important;transform:none!important}
html.sj-header-compact #sj-responsive-header .usermenu .usertext{display:none!important}
html.sj-header-compact #sj-responsive-header #user-menu-toggle{display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;width:auto!important;min-width:32px!important;height:36px!important;min-height:0!important;padding:0!important;margin:0!important;transform:none!important}
html.sj-header-compact #sj-responsive-header #user-menu-toggle img{max-width:32px!important;max-height:34px!important;width:auto!important;height:auto!important;object-fit:contain!important}
html.sj-header-compact #sj-responsive-header #user-menu-toggle .userinitials{width:30px!important;height:30px!important;line-height:30px!important}
html.sj-header-compact #sj-responsive-header #nav-notification-popover-container{display:block!important;width:30px!important;height:34px!important;margin:0!important;padding:0!important;position:relative!important}
html.sj-header-compact #sj-responsive-header #nav-notification-popover-container .popover-region-toggle{width:30px!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important}
html.sj-header-compact #sj-responsive-header#sj-responsive-header#sj-responsive-header :is(.sj-header-signin,.sj-public-signin){position:static!important;inset:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:auto!important;height:36px!important;min-height:36px!important;max-height:36px!important;padding:6px 10px!important;margin:0!important;font-size:13px!important;font-weight:750!important;line-height:1.35!important;white-space:nowrap!important;transform:none!important;border-radius:10px!important}
html.sj-header-compact #sj-responsive-header .usermenu .login{height:auto!important;margin:0!important;padding:0!important;line-height:1!important}
html.sj-header-compact #sj-responsive-header .dropdown-menu{left:auto!important;right:0!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - var(--sj-header-height,56px) - 16px);overflow:auto}
html.sj-header-compact #sj-responsive-header #nav-notification-popover-container .popover-region-container{position:fixed!important;top:calc(var(--sj-header-height,56px) + 5px)!important;left:auto!important;right:max(8px,env(safe-area-inset-right,0px))!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - var(--sj-header-height,56px) - 16px)!important;transform:none!important}
@media(min-width:520px){html.sj-header-compact:not(.sj-admin-header) #sj-responsive-header#sj-responsive-header#sj-responsive-header #sj-furigana-toggle#sj-furigana-toggle#sj-furigana-toggle{width:auto!important;min-width:34px!important;max-width:170px!important;padding:0 7px!important;gap:4px!important}html.sj-header-compact:not(.sj-admin-header) #sj-responsive-header#sj-responsive-header#sj-responsive-header #sj-furigana-toggle#sj-furigana-toggle#sj-furigana-toggle .sj-furi-label{display:inline!important;font-size:11px!important}}
@media(max-width:359px){html.sj-header-compact #sj-responsive-header .sj-header-brand{flex-basis:66px}html.sj-header-compact #sj-responsive-header .sj-header-brand>a,html.sj-header-compact #sj-responsive-header .sj-header-brand img{width:66px!important}html.sj-header-compact #sj-responsive-header .sj-header-actions{gap:4px}}
@media print{html.sj-header-managed body .navbar-area{position:static!important}html.sj-header-managed body{padding-top:0!important}}

/* Fixed desktop toolbar: 20% shorter logo/header, independent of Chrome page zoom. */
html.sj-desktop-toolbar{--sj-desktop-toolbar-height:45.6px;--sj-desktop-toolbar-inner-height:44.6px}
html.sj-desktop-toolbar body:not(.notloggedin) .navbar-area:has(>#sj-responsive-header#sj-responsive-header#sj-responsive-header){zoom:var(--sj-toolbar-inverse-zoom,1)!important;height:45.6px!important;min-height:45.6px!important;box-sizing:border-box!important;border-bottom:0!important;box-shadow:0 1px 5px #18304412!important}
html.sj-desktop-toolbar:not(.sj-header-compact) body:not(.notloggedin) .navbar-area:has(>#sj-responsive-header#sj-responsive-header#sj-responsive-header){height:45.6px!important;min-height:45.6px!important;box-sizing:border-box!important}
html.sj-desktop-toolbar:not(.sj-header-compact) body:not(.notloggedin) .navbar-area:has(>#sj-responsive-header#sj-responsive-header#sj-responsive-header) .main-navbar{display:block!important}
html.sj-desktop-toolbar:not(.sj-header-compact) body:not(.notloggedin) .navbar-area:has(>#sj-responsive-header#sj-responsive-header#sj-responsive-header) :is(.main-responsive-nav,.others-option-for-responsive,.navbar-toggler){display:none!important}
html.sj-desktop-toolbar:not(.sj-header-compact) body:not(.notloggedin) .navbar-area:has(>#sj-responsive-header#sj-responsive-header#sj-responsive-header) :is(.main-navbar,.main-navbar>.container-fluid,.main-navbar .navbar){height:44.6px!important;min-height:44.6px!important;box-sizing:border-box!important}
html.sj-desktop-toolbar:not(.sj-header-compact) body:not(.notloggedin) .navbar-area:has(>#sj-responsive-header#sj-responsive-header#sj-responsive-header) .main-navbar .navbar{padding-top:0!important;padding-bottom:0!important;flex-wrap:nowrap!important}
html.sj-desktop-toolbar:not(.sj-header-compact) body:not(.notloggedin) .navbar-area:has(>#sj-responsive-header#sj-responsive-header#sj-responsive-header) :is(.navbar-collapse,.navbar-nav){display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important}
html.sj-desktop-toolbar:not(.sj-header-compact) body:not(.notloggedin) .navbar-area:has(>#sj-responsive-header#sj-responsive-header#sj-responsive-header) .navbar-brand{display:flex!important;height:33.6px!important;min-height:0!important;padding:0!important}
html.sj-desktop-toolbar:not(.sj-header-compact) body:not(.notloggedin) .navbar-area:has(>#sj-responsive-header#sj-responsive-header#sj-responsive-header) .navbar-brand img{width:70.4px!important;min-width:70.4px!important;max-width:70.4px!important;height:32px!important;min-height:0!important;max-height:32px!important;object-fit:contain!important}
html.sj-desktop-toolbar:not(.sj-header-compact) body:not(.notloggedin) .navbar-area:has(>#sj-responsive-header#sj-responsive-header#sj-responsive-header) .sj-admin-header-links .sj-management-menu>summary{height:28px!important;min-height:28px!important;max-height:28px!important}
html.sj-desktop-toolbar.sj-header-compact body:not(.notloggedin) #sj-responsive-header#sj-responsive-header#sj-responsive-header{height:44.8px!important;min-height:44.8px!important;max-height:44.8px!important;padding-top:4px!important;padding-bottom:4px!important;flex-wrap:nowrap!important}
html.sj-desktop-toolbar.sj-header-compact body:not(.notloggedin) #sj-responsive-header#sj-responsive-header#sj-responsive-header .sj-header-brand{flex-basis:60.8px!important}
html.sj-desktop-toolbar.sj-header-compact body:not(.notloggedin) #sj-responsive-header#sj-responsive-header#sj-responsive-header .sj-header-brand>a{width:60.8px!important;height:28.8px!important}
html.sj-desktop-toolbar.sj-header-compact body:not(.notloggedin) #sj-responsive-header#sj-responsive-header#sj-responsive-header .sj-header-brand img{width:60.8px!important;min-width:60.8px!important;max-width:60.8px!important;height:27.2px!important;max-height:27.2px!important}
@media print{html.sj-desktop-toolbar body .navbar-area{zoom:1!important}}
