/* Line 18588 (ai.features.netshow_header_four_menus): the four-menu header, the language picker and the one clean footer
   grid of app.netshow.ai and netshow.ai. Loaded only while the key is on (partials/netshow-top-menu, partials/netshow-footer);
   the base bar is netshow-stage.css. Google-path tokens (--ns-*), light and dark. */

/* Header: the four menus fit on one line from 900 px up (netshow-stage.css folds under 1180 px for the old 13 rows). */
@media (min-width: 900px) and (max-width: 1180px) {
    .ns-tm[data-ns-four-menus]:not([data-ns-tm-fold]) { gap: 14px; padding: 0 16px; }
    .ns-tm[data-ns-four-menus]:not([data-ns-tm-fold]) .ns-tm-toggle { display: none; }
    .ns-tm[data-ns-four-menus]:not([data-ns-tm-fold]) .ns-tm-nav { display: block; position: static; max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none; }
    .ns-tm[data-ns-four-menus]:not([data-ns-tm-fold]) .ns-tm-list { flex-direction: row; align-items: center; gap: 2px; }
    .ns-tm[data-ns-four-menus]:not([data-ns-tm-fold]) .ns-tm-item > a,
    .ns-tm[data-ns-four-menus]:not([data-ns-tm-fold]) .ns-tm-group summary { width: auto; justify-content: flex-start; min-height: 44px; font-size: 15px; }
    .ns-tm[data-ns-four-menus]:not([data-ns-tm-fold]) .ns-tm-drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; padding: 6px; background: var(--ns-surface); border: 1px solid var(--ns-border-strong); border-radius: 12px; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .8); }
    .ns-tm[data-ns-four-menus]:not([data-ns-tm-fold]) .ns-tm-cta { margin-left: 0; }
}
@media (min-width: 900px) {
    .ns-tm[data-ns-four-menus]:not([data-ns-tm-fold]) .ns-four-signin { margin-left: auto; }
    .ns-tm[data-ns-four-menus]:not([data-ns-tm-fold]) .ns-four-wide { columns: 2; column-gap: 4px; min-width: 460px; }
    .ns-tm[data-ns-four-menus]:not([data-ns-tm-fold]) .ns-four-wide > li { break-inside: avoid; }
    .ns-tm[data-ns-four-menus]:not([data-ns-tm-fold]) .ns-four-lang .ns-tm-drop { left: auto; right: 0; }
}
.ns-tm[data-ns-four-menus] .ns-tm-group summary { user-select: none; }
.ns-tm[data-ns-four-menus] .ns-four-signin > a { color: var(--ns-text) !important; }
.ns-four-globe { flex: none; }
.ns-four-lang summary { gap: 6px; }
.ns-four-lang-drop { width: min(380px, calc(100vw - 24px)); max-height: min(70vh, 520px); overflow-y: auto; }
.ns-four-lang-hd { margin: 4px 8px 8px; color: var(--ns-text-2); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ns-four-lang-drop ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ns-four-lang-drop button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ns-text); font: inherit; font-weight: 600; font-size: 15px; text-align: start; cursor: pointer; }
.ns-four-lang-drop button:hover, .ns-four-lang-drop button:focus-visible { background: var(--ns-elevated); color: var(--ns-gold-light, var(--ns-text)); }
.ns-four-lang-drop button[aria-pressed="true"] { background: var(--ns-elevated); font-weight: 800; }
.ns-four-lang-drop button[aria-pressed="true"]::after { content: '✓'; margin-left: auto; color: var(--ns-gold); }
.ns-tm[data-ns-four-menus] :focus-visible { outline: 3px solid var(--ns-focus, #1a73e8); outline-offset: 2px; }
/* In the phone menu (and a folded bar) the picker reads "Language EN" with the caret at the end like the other rows. */
.ns-four-lang-word { display: none; }
@media (max-width: 899px) {
    .ns-four-lang-drop { width: auto; max-height: none; overflow: visible; }
    .ns-tm[data-ns-four-menus] .ns-four-lang summary { justify-content: flex-start; }
    .ns-tm[data-ns-four-menus] .ns-four-lang .ns-tm-caret { margin-left: auto; }
    .ns-tm[data-ns-four-menus] .ns-four-lang-word { display: inline; }
}
.ns-tm[data-ns-tm-fold] .ns-four-lang summary { justify-content: flex-start; }
.ns-tm[data-ns-tm-fold] .ns-four-lang .ns-tm-caret { margin-left: auto; }
.ns-tm[data-ns-tm-fold] .ns-four-lang-word { display: inline; }
.ns-four-said { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Google's website translator (the factory sites' path): only our picker drives it, so its own bar and tips stay hidden. */
.goog-te-banner-frame, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
html.translated-ltr body, html.translated-rtl body { top: 0 !important; }
#google_translate_element { position: fixed; left: -9999px; top: 0; width: 200px; height: 40px; overflow: hidden; z-index: -1; }

/* Footer: one clean grid, the "Talk to a person" row, the legal line. Its own dark Google palette, the same values as the
   one footer (netshow-footer.css), so it reads the same in the split shell, layouts.landing and layouts.app. */
.ns-four-foot, .landing-footer:has(.ns-four-foot), .ns-foot:has(.ns-four-foot) {
    --ns-bg: #202124;
    --ns-text: #e8eaed;
    --ns-text-2: #bdc1c6;
    --ns-border: #5f6368;
    --ns-border-strong: #80868b;
    --ns-surface: #303134;
    --ns-elevated: #3c4043;
    background: var(--ns-bg);
}
.landing-footer:has(.ns-four-foot), .ns-foot:has(.ns-four-foot) { padding: 0; gap: 0; }
.landing-footer:has(.ns-four-foot) .landing-shell { width: 100%; }
.ns-four-foot { max-width: 1200px; margin: 0 auto; padding: 40px 20px 28px; color: var(--ns-text); font-family: Roboto, 'Segoe UI', system-ui, sans-serif; line-height: 1.5; text-align: start; }
.ns-four-foot *, .ns-four-foot *::before, .ns-four-foot *::after { box-sizing: border-box; }
.ns-four-foot li { margin: 0; }
.ns-four-foot a { color: var(--ns-text-2); text-decoration: none; }
.ns-four-foot a:hover { color: var(--ns-text); text-decoration: underline; text-underline-offset: 3px; }
.ns-four-foot a:focus-visible, .ns-four-foot select:focus-visible { outline: 3px solid var(--ns-focus, #1a73e8); outline-offset: 2px; border-radius: 4px; }
.ns-four-foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.ns-four-foot__col h2 { margin: 0 0 10px; font-size: 14px; font-weight: 800; letter-spacing: .02em; color: var(--ns-text); }
.ns-four-foot__col ul { list-style: none; margin: 0; padding: 0; }
.ns-four-foot__col li a { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; }
.ns-four-foot__talk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--ns-border); border-bottom: 1px solid var(--ns-border); font-size: 14px; }
.ns-four-foot__talk strong { font-size: 14px; font-weight: 800; }
.ns-four-foot__talk a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ns-text); font-weight: 700; }
.ns-four-foot__hours { color: var(--ns-text-2); }
.ns-four-foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 16px; font-size: 13px; color: var(--ns-text-2); }
.ns-four-foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.ns-four-foot__legal a { display: inline-flex; align-items: center; min-height: 36px; }
.ns-four-foot__end { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ns-four-foot__social { display: flex; gap: 4px; }
.ns-four-foot__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; }
.ns-four-foot__social a:hover { background: var(--ns-elevated); text-decoration: none; }
.ns-four-foot__lang { display: inline-flex; align-items: center; gap: 8px; }
.ns-four-foot__lang select { min-height: 40px; padding: 6px 10px; border: 1px solid var(--ns-border-strong, var(--ns-border)); border-radius: 10px; background: var(--ns-surface, transparent); color: var(--ns-text); font: inherit; font-size: 14px; }
@media (max-width: 899px) {
    .ns-four-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
    .ns-four-foot { padding: 32px 16px 24px; }
    .ns-four-foot__grid { gap: 22px 16px; }
    .ns-four-foot__bottom { flex-direction: column; align-items: flex-start; }
}
