/* Shared TC / AI / CS navigation. The base Nuvex component rules live in
   nuvex-reference.css; only SpaceWitness colors and native-dialog integration
   belong here. Keep menu labels, destinations and disclosure behavior intact. */
body.sw-site {
    --sw-font-navigation: -apple-system, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
html body.sw-site .sw-site-header .sw-primary-menu > li > a { font-weight: 700; }
html body.sw-site .sw-site-header .header-trending {
    background: linear-gradient(180deg,#0f0f14 0%,#14131b 100%);
}
html body.sw-site .sw-site-header .header-trending__label { color: var(--sw-cyan); }
html body.sw-site .sw-site-header .header-trending__list a:is(:hover,:focus-visible) { color: var(--sw-cyan); }

/* TC's dark 430px drawer, gray search field, section dividers and round close. */
html body.sw-site #menu-dialog .main-menu {
    min-height: 0;
    scrollbar-width: auto;
}
html body.sw-site #menu-dialog .main-menu::-webkit-scrollbar { width: 8px; }
html body.sw-site #menu-dialog .main-menu::-webkit-scrollbar-track { background: #060606; }
html body.sw-site #menu-dialog .main-menu::-webkit-scrollbar-thumb { border-radius: 4px; background: #293338; }
html body.sw-site #menu-dialog[open] .main-menu {
    background: linear-gradient(180deg,#050505 0%,#101021 100%);
}
html body.sw-site #menu-dialog .menu-close {
    margin: 0;
    background: #fff;
    color: #060606;
    border-color: #fff;
}
html body.sw-site #menu-dialog .menu-close:is(:hover,:focus-visible) { color: var(--sw-deep); }
html body.sw-site #menu-dialog .main-menu_block .title > a:is(:hover,:focus-visible) { color: #f3efef; }
html body.sw-site #menu-dialog .main-menu_block .title > a[href$="/live/"]::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: #e23c44;
    vertical-align: middle;
}
html body.sw-site #menu-dialog .main-menu_block li :is(a,.link-button) {
    padding-right: var(--menu-inline-end);
    overflow-wrap: anywhere;
}
html body.sw-site #menu-dialog .connect-links li a { padding: 0; }
html body.sw-site #menu-dialog .menu-search-submit .sw-icon { width: 26px; height: 26px; }
html body.sw-site #menu-dialog .company-details .link-button { font-weight: 400; opacity: .88; }
html body.sw-site #menu-dialog .company-details .link-button:is(:hover,:focus-visible) { color: #fff; opacity: 1; }
html body.sw-site #menu-dialog .company-details li :is(a,.link-button),
html body.sw-site #menu-dialog .main-menu > footer a {
    text-decoration: none;
    text-underline-offset: 4px;
}
html body.sw-site #menu-dialog .company-details li :is(a,.link-button):is(:hover,:focus-visible),
html body.sw-site #menu-dialog .main-menu > footer a:is(:hover,:focus-visible) { text-decoration: underline; }
html body.sw-site :is(.sw-site-header,#menu-dialog) :is(a,button,input):focus-visible {
    outline: 2px solid var(--sw-cyan);
    outline-offset: 3px;
}
@media (max-width:767.98px) {
    html body.sw-site #menu-dialog .company-details .link-button { font-size: 19px; }
}
@media (prefers-reduced-motion:reduce) {
    html body.sw-site #menu-dialog *,
    html body.sw-site .sw-site-header a,
    html body.sw-site .sw-site-header a::after,
    html body.sw-site .sw-site-header .nav-burger { transition: none; }
}
