/* One outer content edge for every ValixData page. Inner reading measures,
   cards, dialog widths and table scroll areas intentionally remain independent. */
html:root,html[data-theme]{--vd-site-max:1480px;--vd-site-gutter:clamp(16px,2vw,32px);--vd-site-width:min(var(--vd-site-max),calc(100% - 2 * var(--vd-site-gutter)));--vx-shell:var(--vd-site-max);--vd-content-max:var(--vd-site-max);--vx-gutter:var(--vd-site-gutter)}
html body[data-vd-width-layout] #nav .nav-inner,
html body[data-vd-width-layout] #foot .f63-in,
html body[data-vd-width-layout] #foot .foot-inner,
html body[data-vd-width-layout] #foot .foot-areas-inner,
html body[data-vd-width-layout] #foot .foot-bot-inner,
html body[data-vd-width-layout="standard"] > main,
html body[data-vd-width-layout="home"] > main#main,
html body[data-vd-width-layout="home"] #hxTape,
html body[data-vd-width-layout="desk"] .t-app > .t-body,
html body[data-vd-width-layout="desk"] .t-app > #tTape,
html body[data-vd-width-layout="standard"] > aside.container,
html body[data-vd-width-layout="home"] > aside.container,
html body[data-vd-width-layout="standalone"] > :is(header,main,footer){box-sizing:border-box!important;width:var(--vd-site-width)!important;max-width:var(--vd-site-max)!important;min-width:0!important;margin-inline:auto!important;padding-inline:0!important;}
html body[data-vd-width-layout] #nav > header.nav{width:100%!important;max-width:none!important}
html body[data-vd-width-layout="home"] #main > section,
html body[data-vd-width-layout="home"] #main .hx-col,
html body[data-vd-width-layout="home"] #main .vd-container{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;min-width:0!important}
html body[data-vd-width-layout="desk"] .t-app{width:100%!important;max-width:none!important;overflow:visible!important;grid-template-rows:auto auto 1fr!important}
html body[data-vd-width-layout="desk"] .t-body{margin-block:0!important;align-content:start;min-width:0;}
html body[data-vd-width-layout="desk"] .t-main{box-sizing:border-box;min-width:0;max-width:100%;padding-inline:0!important}
html body[data-vd-width-layout="desk"] .t-side{box-sizing:border-box;min-width:0;max-width:100%;padding-inline:0!important}
html body[data-vd-width-layout="desk"] .t-body > .t-foot{grid-column:1/-1;width:100%;max-width:100%;box-sizing:border-box;margin-inline:0;padding-inline:0;min-width:0;}
html body[data-vd-width-layout] #nav .vxm-inner{box-sizing:border-box;max-width:var(--vd-site-max);width:var(--vd-site-width);margin-inline:auto;padding-inline:0}
html body[data-vd-width-layout="home"] #hxTape,html body[data-vd-width-layout="desk"] #tTape{overflow:hidden!important;min-width:0}
html body[data-vd-width-layout="standard"] > main > .wrap,html body[data-vd-width-layout="standard"] > main > .wrap-narrow{width:100%!important;max-width:none!important;padding-inline:0!important}
@media(max-width:767px){html body[data-vd-width-layout] #nav .nav-inner{column-gap:6px!important}html body[data-vd-width-layout="standalone"] .grid{grid-template-columns:minmax(0,1fr)}}
html body[data-vd-width-layout="standard"].t-shell .t-app > .t-body,html body[data-vd-width-layout="standard"].t-shell .t-app > #tTape{box-sizing:border-box!important;width:var(--vd-site-width)!important;max-width:var(--vd-site-max)!important;min-width:0!important;margin-inline:auto!important;padding-inline:0!important}
html body[data-vd-width-layout="standard"].t-shell .t-app{width:100%!important;max-width:none!important;overflow:visible!important}
html body[data-vd-width-layout="standard"].t-shell .t-body-shell{grid-template-columns:minmax(0,1fr)!important}
html body[data-vd-width-layout="standard"].t-shell .t-center{width:100%;min-width:0;padding-inline:0!important;grid-column:1/-1}
html body[data-vd-width-layout="standard"].t-shell .t-center > main{width:100%!important;max-width:none!important;padding-inline:0!important;margin-inline:0!important}
html body[data-vd-width-layout="standard"].t-shell #tTape{overflow:hidden!important}
/* Beat legacy page-specific !important selectors without changing inner cards. */
html body[data-vd-width-layout="standard"].page > main[id]{box-sizing:border-box!important;width:var(--vd-site-width)!important;max-width:var(--vd-site-max)!important;min-width:0!important;margin-inline:auto!important;padding-inline:0!important}
html body[data-vd-width-layout="desk"] .t-table-wrap{position:relative;min-width:0;max-width:100%;overflow-x:auto!important}
/* V18 mobile: keep navigation controls reachable without expanding the page. */
@media(max-width:640px){
 html body[data-vd-width-layout] #nav .nav-inner{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;justify-content:space-between!important}
 html body[data-vd-width-layout] #nav .nav-logo{flex:1 1 0!important;min-width:0!important;max-width:138px!important}
 html body[data-vd-width-layout] #nav .nav-logo .brand-wordmark{width:100%!important;height:auto!important;max-width:138px!important;max-height:28px!important;object-fit:contain}
 html body[data-vd-width-layout] #nav .nav-actions{flex:0 0 auto!important;min-width:0!important;gap:4px!important;margin-left:auto!important}
 html body[data-vd-width-layout] #nav .vx-search-btn{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;justify-content:center!important}
 html body[data-vd-width-layout] #nav .vx-search-btn :is(span,kbd){display:none!important}
 html body[data-vd-width-layout] #nav .nav-status{display:none!important}
 html body[data-vd-width-layout] #nav .nav-cta{display:none!important}
 html body[data-vd-width-layout] #nav .nav-burger{width:44px!important;min-width:44px!important;min-height:44px!important}
 html body[data-vd-width-layout] #nav .nav-links{max-height:calc(100dvh - var(--vx-nav-h));overscroll-behavior:contain}
 html body[data-vd-width-layout] #nav .vxm-inner{width:100%!important;min-width:0!important;grid-template-columns:minmax(0,1fr)!important}
 html body[data-vd-width-layout] #nav .vxm-item,html body[data-vd-width-layout] #nav .vxm-cat{min-height:44px;overflow-wrap:anywhere}
 .vx-personal-ticker :is(button,select,input:not([type=checkbox])){min-height:44px;max-width:100%;font-size:16px}
 .vx-personal-ticker .vpt-settings :is(form,label,.vpt-account){min-width:0;max-width:100%;overflow-wrap:anywhere}
 .vx-personal-ticker .vpt-settings input:not([type=checkbox]){width:100%;box-sizing:border-box}
 .vx-personal-ticker .vpt-head strong{flex-basis:100%}
 .vx-personal-ticker .vpt-list>div{min-width:0}
}
