/* StockView smart navigation v1 */
@layer stockviewReadability {
#sv-ref-header.sv-smart-header{--sv-menu-bg:#fff;--sv-menu-fg:#17212f;--sv-menu-muted:#64748b;--sv-menu-line:#e5e7eb;--sv-menu-hover:#f1f5f9;z-index:1200!important}
html[data-sv-theme="dark"] #sv-ref-header.sv-smart-header{--sv-menu-bg:#202020;--sv-menu-fg:#f1f5f9;--sv-menu-muted:#b8bec8;--sv-menu-line:#414141;--sv-menu-hover:#303030}
#sv-ref-header.sv-smart-header .sv-ref-bar{display:grid!important;grid-template-columns:auto minmax(160px,1fr) auto auto!important;align-items:center!important;gap:14px!important;width:100%!important;max-width:none!important;padding:8px 18px!important;box-sizing:border-box!important}
#sv-ref-header.sv-smart-header .sv-ref-brand{min-width:0!important;max-width:160px!important}
#sv-ref-header.sv-smart-header .sv-ref-brand img{display:block!important;width:auto!important;max-width:100%!important;max-height:36px!important;object-fit:contain!important}
#sv-ref-header.sv-smart-header .sv-ref-center{min-width:0!important;max-width:360px!important;width:100%!important;display:flex!important;align-items:center!important;gap:9px!important}
#sv-ref-header.sv-smart-header .sv-ref-search{min-width:0!important;flex:1 1 auto!important;width:auto!important;max-width:none!important}
#sv-ref-header.sv-smart-header .sv-ref-search input{min-width:0!important;width:100%!important}
#sv-ref-header.sv-smart-header .sv-ref-ticker{flex:0 0 auto!important;margin:0!important}
#sv-ref-header.sv-smart-header .sv-smart-nav{display:flex!important;align-items:center!important;gap:3px!important;white-space:nowrap!important}
#sv-ref-header.sv-smart-header .sv-smart-nav>a,
#sv-ref-header.sv-smart-header .sv-smart-dropdown>summary{display:flex!important;align-items:center!important;gap:6px!important;min-height:38px!important;padding:6px 9px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--sv-menu-fg)!important;font-size:16px!important;line-height:1.4!important;text-decoration:none!important;box-sizing:border-box!important;cursor:pointer!important;list-style:none!important}
#sv-ref-header.sv-smart-header summary::-webkit-details-marker{display:none!important}
#sv-ref-header.sv-smart-header .sv-smart-nav>a:hover,
#sv-ref-header.sv-smart-header .sv-smart-dropdown>summary:hover,
#sv-ref-header.sv-smart-header .sv-smart-dropdown[open]>summary{background:var(--sv-menu-hover)!important}
#sv-ref-header.sv-smart-header .sv-smart-nav>a[aria-current="page"]{background:var(--sv-menu-hover)!important;font-weight:650!important}
#sv-ref-header.sv-smart-header .sv-smart-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;margin:0!important;min-width:0!important}
#sv-ref-header.sv-smart-header .sv-smart-actions>.sv-theme-toggle,
#sv-ref-header.sv-smart-header .sv-smart-actions .sv-smart-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:38px!important;min-width:36px!important;padding:0!important;flex:0 0 36px!important;color:var(--sv-menu-fg)!important;border:0!important;background:transparent!important;border-radius:9px!important;text-decoration:none!important;position:relative!important;box-sizing:border-box!important}
#sv-ref-header.sv-smart-header .material-symbols-outlined{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:22px!important;min-width:22px!important;height:24px!important;font-family:'Material Symbols Outlined'!important;font-size:22px!important;line-height:1!important;font-weight:400!important;font-style:normal!important;white-space:nowrap!important;overflow:hidden!important;flex:0 0 22px!important;font-feature-settings:'liga'!important}
#sv-ref-header.sv-smart-header .sv-smart-chevron{width:16px!important;min-width:16px!important;font-size:18px!important;flex-basis:16px!important;margin-left:auto!important}
#sv-ref-header.sv-smart-header .sv-smart-dropdown{position:relative!important}
#sv-ref-header.sv-smart-header .sv-smart-panel{position:absolute!important;top:calc(100% + 10px)!important;right:0!important;z-index:1300!important;width:284px!important;max-width:calc(100vw - 24px)!important;max-height:min(75vh,640px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:9px!important;margin:0!important;border:1px solid var(--sv-menu-line)!important;border-radius:14px!important;background:var(--sv-menu-bg)!important;color:var(--sv-menu-fg)!important;box-shadow:0 16px 45px #0002!important;box-sizing:border-box!important;text-align:left!important;white-space:normal!important}
#sv-ref-header.sv-smart-header .sv-smart-dropdown:not([open])>.sv-smart-panel{display:none!important}
#sv-ref-header.sv-smart-header .sv-smart-dropdown[open]>.sv-smart-panel{display:block!important}
#sv-ref-header.sv-smart-header .sv-smart-panel a,
#sv-ref-header.sv-smart-header .sv-smart-panel form>button,
#sv-ref-header.sv-smart-header .sv-smart-submenu>summary{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:42px!important;padding:9px 11px!important;margin:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--sv-menu-fg)!important;font:inherit!important;font-size:16px!important;line-height:1.45!important;text-decoration:none!important;box-sizing:border-box!important;cursor:pointer!important;list-style:none!important}
#sv-ref-header.sv-smart-header .sv-smart-panel a:hover,
#sv-ref-header.sv-smart-header .sv-smart-panel button:hover,
#sv-ref-header.sv-smart-header .sv-smart-submenu>summary:hover{background:var(--sv-menu-hover)!important}
#sv-ref-header.sv-smart-header .sv-smart-heading{font-size:10px!important;letter-spacing:.09em!important;text-transform:uppercase!important;font-weight:650!important;color:var(--sv-menu-muted)!important;padding:13px 11px 5px!important;margin:0!important}
#sv-ref-header.sv-smart-header .sv-smart-identity{padding:12px 11px!important;border-bottom:1px solid var(--sv-menu-line)!important;margin-bottom:5px!important}
#sv-ref-header.sv-smart-header .sv-smart-identity strong{display:block!important;font-size:16px!important;overflow-wrap:anywhere!important}
#sv-ref-header.sv-smart-header .sv-smart-identity>span{display:block!important;font-size:12px!important;color:var(--sv-menu-muted)!important;margin-top:3px!important}
#sv-ref-header.sv-smart-header .sv-smart-submenu>div{padding-left:10px!important}
#sv-ref-header.sv-smart-header .sv-smart-panel .sv-smart-logout{color:#e53955!important}
#sv-ref-header.sv-smart-header .sv-smart-panel form{border-top:1px solid var(--sv-menu-line)!important;margin:8px 0 0!important;padding-top:5px!important}
#sv-ref-header.sv-smart-header .sv-smart-language{display:flex!important;align-items:center!important;gap:7px!important;border-top:1px solid var(--sv-menu-line)!important;margin-top:7px!important;padding:8px 10px!important}
#sv-ref-header.sv-smart-header .sv-smart-language>a{width:auto!important;min-height:30px!important;padding:4px 7px!important;font-size:13px!important}
#sv-ref-header.sv-smart-header .sv-smart-count{position:absolute!important;top:0!important;right:-4px!important;min-width:16px!important;padding:1px 3px!important;border-radius:12px!important;font:10px/14px Arial,sans-serif!important;background:#e53955!important;color:#fff!important}
#sv-ref-header.sv-smart-header .sv-smart-count:empty{display:none!important}
#sv-ref-header.sv-smart-header .sv-smart-mobile{display:none!important}
#sv-ref-header.sv-smart-header .sv-smart-community{font-weight:650!important}
#sv-ref-header.sv-smart-header :is(a,button,summary):focus-visible{outline:2px solid #3983f5!important;outline-offset:2px!important}
@media(max-width:1199px){
 #sv-ref-header.sv-smart-header .sv-smart-nav{display:none!important}
 #sv-ref-header.sv-smart-header .sv-ref-bar{grid-template-columns:minmax(0,1fr) auto!important;gap:8px 10px!important;padding:8px 12px!important}
 #sv-ref-header.sv-smart-header .sv-ref-brand{max-width:160px!important;grid-column:1!important;grid-row:1!important}
 #sv-ref-header.sv-smart-header .sv-ref-brand img{max-height:32px!important}
 #sv-ref-header.sv-smart-header .sv-smart-actions{grid-column:2!important;grid-row:1!important}
 #sv-ref-header.sv-smart-header .sv-ref-center{grid-column:1/-1!important;grid-row:2!important;max-width:none!important;gap:8px!important}
 #sv-ref-header.sv-smart-header .sv-ref-search{order:0!important}
 #sv-ref-header.sv-smart-header .sv-ref-ticker{order:1!important}
 #sv-ref-header.sv-smart-header .sv-smart-mobile{display:block!important}
 #sv-ref-header.sv-smart-header .sv-smart-panel{position:fixed!important;top:var(--sv-smart-top,110px)!important;right:12px!important;max-height:calc(100vh - var(--sv-smart-top,110px) - 12px)!important}
 #sv-ref-header.sv-smart-header .sv-smart-mobile>.sv-smart-panel{right:0!important;bottom:0!important;width:min(360px,100vw)!important;max-width:100vw!important;max-height:none!important;border-radius:14px 0 0 0!important;padding:14px!important}
}
@media(max-width:360px){
 #sv-ref-header.sv-smart-header .sv-ref-bar{padding:8px!important;gap:8px 5px!important}
 #sv-ref-header.sv-smart-header .sv-ref-brand{max-width:132px!important}
 #sv-ref-header.sv-smart-header .sv-smart-actions{gap:2px!important}
 #sv-ref-header.sv-smart-header .sv-smart-actions>.sv-theme-toggle,
 #sv-ref-header.sv-smart-header .sv-smart-actions .sv-smart-icon{width:32px!important;min-width:32px!important;flex-basis:32px!important}
}
}

/* StockView menu alignment and wide search v1 */
@layer stockviewReadability {
html body #sv-ref-header.sv-smart-header .sv-smart-panel,
html body #sv-ref-header.sv-smart-header .sv-smart-panel a,
html body #sv-ref-header.sv-smart-header .sv-smart-panel form>button,
html body #sv-ref-header.sv-smart-header .sv-smart-submenu>summary{
    text-align:left!important;
    justify-content:flex-start!important;
}

html body #sv-ref-header.sv-smart-header .sv-smart-panel a>.material-symbols-outlined,
html body #sv-ref-header.sv-smart-header .sv-smart-panel button>.material-symbols-outlined,
html body #sv-ref-header.sv-smart-header .sv-smart-submenu>summary>.material-symbols-outlined:not(.sv-smart-chevron){
    margin:0!important;
}

html body #sv-ref-header.sv-smart-header .sv-ref-center{
    width:100%!important;
    max-width:820px!important;
    justify-self:center!important;
    justify-content:center!important;
    margin:0 auto!important;
    gap:12px!important;
}

html body #sv-ref-header.sv-smart-header .sv-ref-search{
    flex:1 1 0%!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
}

html body #sv-ref-header.sv-smart-header .sv-ref-search input{
    text-align:left!important;
}

@media(min-width:1200px){
    html body #sv-ref-header.sv-smart-header .sv-smart-nav .sv-smart-dropdown>.sv-smart-panel{
        left:0!important;
        right:auto!important;
    }
}

@media(max-width:1199px){
    html body #sv-ref-header.sv-smart-header .sv-ref-center{
        max-width:none!important;
        justify-self:stretch!important;
        margin:0!important;
        gap:8px!important;
    }
}
}


/* StockView mobile menu height fix v1 */
@layer stockviewReadability {
@media(max-width:1199px){
    html body #sv-ref-header.sv-smart-header .sv-smart-dropdown>.sv-smart-panel{
        height:auto!important;
        min-height:0!important;
        bottom:auto!important;
        max-height:calc(100vh - var(--sv-smart-top,110px) - 12px)!important;
        max-height:calc(100dvh - var(--sv-smart-top,110px) - 12px)!important;
        overflow-y:auto!important;
        overflow-x:hidden!important;
    }

    html body #sv-ref-header.sv-smart-header .sv-smart-mobile>.sv-smart-panel{
        display:block!important;
        top:var(--sv-smart-top,110px)!important;
        right:0!important;
        bottom:auto!important;
        height:calc(100vh - var(--sv-smart-top,110px))!important;
        height:calc(100dvh - var(--sv-smart-top,110px))!important;
        max-height:calc(100vh - var(--sv-smart-top,110px))!important;
        max-height:calc(100dvh - var(--sv-smart-top,110px))!important;
        width:min(360px,100vw)!important;
        box-sizing:border-box!important;
        padding-bottom:max(18px,env(safe-area-inset-bottom))!important;
    }

    html body #sv-ref-header.sv-smart-header .sv-smart-mobile:not([open])>.sv-smart-panel{
        display:none!important;
    }
}
}

/* StockView mobile menu tabs v1 */
@layer stockviewReadability {
 html body #sv-ref-header.sv-smart-header .sv-smart-mobile[open]>.sv-mobile-tabs-drawer{
  display:flex!important;
  flex-direction:column!important;
  padding:0!important;
  overflow:hidden!important;
 }

 html body #sv-ref-header.sv-smart-header .sv-mobile-tabs{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
  padding:12px!important;
  flex:0 0 auto!important;
  background:var(--sv-menu-bg)!important;
  border-bottom:1px solid var(--sv-menu-line)!important;
 }

 html body #sv-ref-header.sv-smart-header .sv-mobile-tabs>button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:100%!important;
  min-height:42px!important;
  padding:8px!important;
  margin:0!important;
  border:0!important;
  border-radius:9px!important;
  font:inherit!important;
  font-size:14px!important;
  font-weight:600!important;
  background:var(--sv-menu-hover)!important;
  color:var(--sv-menu-fg)!important;
  cursor:pointer!important;
 }

 html body #sv-ref-header.sv-smart-header .sv-mobile-tabs>button[aria-selected="true"]{
  background:var(--sv-menu-fg)!important;
  color:var(--sv-menu-bg)!important;
 }

 html body #sv-ref-header.sv-smart-header .sv-mobile-tab-panel{
  display:block!important;
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  padding:8px 9px max(18px,env(safe-area-inset-bottom))!important;
  box-sizing:border-box!important;
 }

 html body #sv-ref-header.sv-smart-header .sv-mobile-tab-panel[hidden]{
  display:none!important;
 }
}