/* Authenticated customer and tracking surfaces: neutral primary actions. Shared marketing tokens remain unchanged. */
:root{--nl-btn-primary-bg:#17191B;--nl-btn-primary-fg:#fff;--nl-btn-primary-bg-hover:#000;--nl-btn-primary-bg-active:#303236;--nl-btn-primary-bg-disabled:#17191B;--nl-btn-primary-shadow:none;--nl-btn-primary-radius:12px}
@media(prefers-color-scheme:dark){:root{--nl-btn-primary-bg:#f6f4ef;--nl-btn-primary-fg:#17191B;--nl-btn-primary-bg-hover:#fff;--nl-btn-primary-bg-active:#dedede;--nl-btn-primary-bg-disabled:#f6f4ef;--nl-btn-primary-focus:3px solid #f6f4ef}}

html body :is(.btn:not(.ghost):not(.light):not(.linkbtn):not(.sec):not([data-cta=nav]),.hx-btn,.ub-go,.ub-sched,.nltp .go,.rt-b,.cta,.boxcta,.nl-btn-primary){background:var(--nl-btn-primary-bg)!important;color:var(--nl-btn-primary-fg)!important;border:0!important;border-radius:var(--nl-btn-primary-radius)!important;min-height:var(--nl-btn-primary-height)!important;padding:var(--nl-btn-primary-pad)!important;box-shadow:var(--nl-btn-primary-shadow)!important;font-size:var(--nl-btn-primary-size)!important;font-weight:var(--nl-btn-primary-weight)!important;white-space:nowrap!important;text-decoration:none!important}
html body :is(.btn:not(.ghost):not(.light):not(.linkbtn):not(.sec):not([data-cta=nav]),.hx-btn,.ub-go,.ub-sched,.nltp .go,.rt-b,.cta,.boxcta,.nl-btn-primary):hover{background:var(--nl-btn-primary-bg-hover)!important;color:var(--nl-btn-primary-fg)!important}
html body :is(.btn:not(.ghost):not(.light):not(.linkbtn):not(.sec):not([data-cta=nav]),.hx-btn,.ub-go,.ub-sched,.nltp .go,.rt-b,.cta,.boxcta,.nl-btn-primary):active{background:var(--nl-btn-primary-bg-active)!important;color:var(--nl-btn-primary-fg)!important}
html body :is(.btn:not(.ghost):not(.light):not(.linkbtn):not(.sec):not([data-cta=nav]),.hx-btn,.ub-go,.ub-sched,.nltp .go,.rt-b,.cta,.boxcta,.nl-btn-primary):focus-visible{outline:var(--nl-btn-primary-focus)!important;outline-offset:var(--nl-btn-primary-focus-offset)!important}
html body :is(.btn:not(.ghost):not(.light):not(.linkbtn):not(.sec):not([data-cta=nav]),.hx-btn,.ub-go,.ub-sched,.nltp .go,.rt-b,.cta,.boxcta,.nl-btn-primary):is(:disabled,[aria-busy=true]){background:var(--nl-btn-primary-bg-disabled)!important;color:var(--nl-btn-primary-fg)!important;opacity:var(--nl-btn-primary-disabled-opacity)!important;box-shadow:none!important;cursor:wait!important}
/* Upgrade buttons are pinned black by ID rules in portal.css (html body #id ...!important); the ID is repeated to outrank them. */
html body :is(#homeUpgradeBtn#homeUpgradeBtn#homeUpgradeBtn,#upl#upl#upl,#confirmUpgradeBtn#confirmUpgradeBtn#confirmUpgradeBtn,#switchPlan#switchPlan#switchPlan){background:var(--nl-btn-primary-bg)!important;color:var(--nl-btn-primary-fg)!important;border:0!important;border-radius:var(--nl-btn-primary-radius)!important;min-height:var(--nl-btn-primary-height)!important;padding:var(--nl-btn-primary-pad)!important;box-shadow:var(--nl-btn-primary-shadow)!important;font-size:var(--nl-btn-primary-size)!important;font-weight:var(--nl-btn-primary-weight)!important;white-space:nowrap!important;text-decoration:none!important}
html body :is(#homeUpgradeBtn#homeUpgradeBtn#homeUpgradeBtn,#upl#upl#upl,#confirmUpgradeBtn#confirmUpgradeBtn#confirmUpgradeBtn,#switchPlan#switchPlan#switchPlan):hover{background:var(--nl-btn-primary-bg-hover)!important;color:var(--nl-btn-primary-fg)!important}
html body :is(#homeUpgradeBtn#homeUpgradeBtn#homeUpgradeBtn,#upl#upl#upl,#confirmUpgradeBtn#confirmUpgradeBtn#confirmUpgradeBtn,#switchPlan#switchPlan#switchPlan):active{background:var(--nl-btn-primary-bg-active)!important;color:var(--nl-btn-primary-fg)!important}
html body :is(#homeUpgradeBtn#homeUpgradeBtn#homeUpgradeBtn,#upl#upl#upl,#confirmUpgradeBtn#confirmUpgradeBtn#confirmUpgradeBtn,#switchPlan#switchPlan#switchPlan):focus-visible{outline:var(--nl-btn-primary-focus)!important;outline-offset:var(--nl-btn-primary-focus-offset)!important}
html body :is(#homeUpgradeBtn#homeUpgradeBtn#homeUpgradeBtn,#upl#upl#upl,#confirmUpgradeBtn#confirmUpgradeBtn#confirmUpgradeBtn,#switchPlan#switchPlan#switchPlan):is(:disabled,[aria-busy=true]){background:var(--nl-btn-primary-bg-disabled)!important;color:var(--nl-btn-primary-fg)!important;opacity:var(--nl-btn-primary-disabled-opacity)!important;box-shadow:none!important;cursor:wait!important}
/* Compact variant (token sheet: 52px, 0 20px, 17px) where the old layout had small row/bar actions: row actions (.btn.sm, incl. the
   /status header CTA) and the black hero, where the primary sits beside 48px+ outline buttons. Labels never drop below 17px. */
html body :is(.btn.sm:not(.ghost):not(.light):not(.linkbtn):not(.sec):not([data-cta=nav]),.cg-hero .btn:not(.ghost):not(.light):not(.linkbtn):not(.sec):not([data-cta=nav]),.nl-btn-compact){min-height:var(--nl-btn-compact-height)!important;padding:var(--nl-btn-compact-pad)!important;font-size:var(--nl-btn-compact-size)!important}
html body .cg-hero :is(.btn:not(.ghost):not(.light):not(.linkbtn):not(.sec):not([data-cta=nav]),.nl-btn-primary){box-shadow:none!important}
/* Keep focus visible on dark surfaces. */
html body :is(.cg-hero,.nl-dark) :is(.btn:not(.ghost):not(.light):not(.linkbtn):not(.sec):not([data-cta=nav]),.nl-btn-primary):focus-visible{outline:var(--nl-btn-primary-focus-on-dark)!important}
/* Two-up rows that are too narrow for an 18px one-line label (Plan > Billing: "View past receipts") wrap instead of overflowing. */
html body .bill-acts :is(.btn:not(.ghost):not(.light):not(.linkbtn):not(.sec):not([data-cta=nav])){white-space:normal!important;line-height:1.15;text-align:center}
/* The /status header nav CTA ([data-cta=nav], 12px in a tight header) stays as it was: orange never goes behind small text. */

html body .nl-dark :is(.btn:not(.ghost):not(.light):not(.linkbtn):not(.sec),.nl-btn-primary){--nl-btn-primary-bg:#f6f4ef;--nl-btn-primary-fg:#17191B;--nl-btn-primary-bg-hover:#fff;--nl-btn-primary-bg-active:#dedede;--nl-btn-primary-bg-disabled:#f6f4ef}
