/* HOME embeds older tab rules in the body. Scope this layout to its tablist. */
#nsh-top-test #nst-tabs[role="tablist"] {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    gap: 4px;
    align-items: stretch;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    border: 0;
    padding: 4px 0 8px;
}

#nsh-top-test #nst-tabs button[role="tab"] {
    box-sizing: border-box;
    flex: none;
    min-height: 44px;
    padding: 6px clamp(7px, .65vw, 11px);
    position: relative;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #283c2b;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}

#nsh-top-test #nst-tabs button[role="tab"][aria-selected="true"] {
    color: #226332;
    font-weight: 700;
}

#nsh-top-test #nst-tabs button[role="tab"][aria-selected="true"]::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 7px;
    right: 7px;
    width: auto;
    height: 3px;
    background: #226332;
}

#nsh-top-test #nst-tabs button[role="tab"]:focus-visible {
    outline: 2px solid #122f19;
    outline-offset: 1px;
}

#nsh-top-test:has(#nst-tab-pr[aria-selected="true"]) .nst-pr {
    display: none;
}
