/* NUMERISH — Products mega directory / enterprise responsive r1 (2026-11-19) */
.ns-products-navitem>.ns-products-mega{
 --prd-surface:#fff;--prd-ink:#13283f;--prd-muted:#5e7187;--prd-stroke:#e0e7ef;
 --prd-soft:#f7f9fc;--prd-magenta:#d60059;--prd-pale:#fff1f7;
 position:absolute;width:min(1320px,calc(100vw - 36px));max-height:calc(100dvh - 142px);
 overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;
 scrollbar-color:#bccddd transparent;border:1px solid var(--prd-stroke);
 border-radius:21px;background:var(--prd-surface);color:var(--prd-ink);
 box-shadow:0 32px 85px rgba(6,25,46,.2)
}
.ns-products-mega *{box-sizing:border-box}
.ns-products-layout{display:grid;grid-template-columns:minmax(238px,268px) minmax(0,1fr)}
.ns-products-sidebar{display:flex;flex-direction:column;gap:14px;min-width:0;padding:25px 20px 20px;
 background:radial-gradient(circle at 9% 0%,#ffe5f0 0,transparent 38%),linear-gradient(155deg,#fff8fb 0%,#f5f8fe 75%);
 border-right:1px solid var(--prd-stroke)}
.ns-products-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;
 border-radius:99px;border:1px solid #ffd2e3;background:#fff;color:#c90052;
 font-size:9px;font-weight:900;letter-spacing:.11em;line-height:1.25}
.ns-products-eyebrow span{font-size:12px}
.ns-products-intro h3{margin:15px 0 9px;font-size:clamp(24px,2.12vw,29px);line-height:1.14;
 letter-spacing:-.037em;color:var(--prd-ink);font-weight:900}
.ns-products-intro h3 em{color:var(--prd-magenta);font-style:normal}
.ns-products-intro p{margin:0;color:var(--prd-muted);font-size:11.7px;line-height:1.62}
.ns-products-tabs{display:grid;gap:6px;margin-top:4px}
.ns-products-tab{display:flex;align-items:center;gap:9px;min-width:0;min-height:53px;
 padding:9px 11px;border:1px solid var(--prd-stroke);border-radius:12px;
 background:#fff;color:#20384c;text-align:left;font:inherit;cursor:pointer;
 transition:background .16s,border-color .16s,box-shadow .16s}
.ns-products-tab:hover{border-color:#e9a0bf;background:#fff8fb}
.ns-products-tab.is-active{border-color:#f0a8c9;background:#ffeaf3;box-shadow:inset 3px 0 0 #e10062,0 4px 12px rgba(170,0,80,.07)}
.ns-products-tab-number{display:grid;place-items:center;flex:0 0 27px;height:27px;
 border-radius:9px;background:#eef3f8;color:#5c748b;font-size:10px;font-weight:900}
.ns-products-tab.is-active .ns-products-tab-number{background:#dc0059;color:#fff}
.ns-products-tab-label{display:grid;gap:3px;flex:1;min-width:0}
.ns-products-tab-label strong{font-size:11.5px;font-weight:850;line-height:1.24;color:var(--prd-ink)}
.ns-products-tab-label small{font-size:9.7px;line-height:1.25;color:var(--prd-muted);font-weight:500}
.ns-products-tab-arrow{margin-left:auto;font-size:14px;font-weight:900;color:#8896a5}
.ns-products-tab.is-active .ns-products-tab-arrow{color:#d10058}
.ns-products-mega .ns-products-sidebar-link{display:flex!important;justify-content:space-between;align-items:center;
 gap:10px;margin-top:2px;min-height:39px;padding:9px 11px!important;border-radius:10px;
 border:1px solid #dce5ed;background:#102b43;color:#fff!important;
 font-size:11px;line-height:1.3;font-weight:850;text-decoration:none}
.ns-products-mega .ns-products-sidebar-link:hover{background:#c90054;border-color:#c90054}
.ns-products-foundation{margin-top:auto;padding-top:14px;border-top:1px solid #e8dfe6}
.ns-products-foundation>span{font-size:9px;letter-spacing:.09em;font-weight:900;color:#72859a}
.ns-products-foundation>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.ns-products-foundation b{display:inline-flex;padding:6px 7px;border-radius:8px;border:1px solid #e2e7ee;
 background:#fff;font-size:9px;font-weight:800;color:#50687e}
.ns-products-main{padding:22px 25px 17px;min-width:0;display:flex;flex-direction:column}
.ns-products-top{display:flex;align-items:center;justify-content:space-between;gap:14px;
 padding-bottom:13px;border-bottom:1px solid var(--prd-stroke)}
.ns-products-overline{display:block;color:#c60056;font-size:9.2px;font-weight:900;
 letter-spacing:.13em;line-height:1.3}
.ns-products-top h3{margin:6px 0 0;color:var(--prd-ink);font-size:21px;line-height:1.24;
 font-weight:850;letter-spacing:-.026em}
.ns-products-search{display:inline-flex;align-items:center;justify-content:center;gap:9px;
 min-height:37px;padding:9px 12px;border:1px solid #d1dfe9;border-radius:10px;
 color:#244663;background:#f7fafc;font:850 11.1px 'Asap',system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.ns-products-search:hover{background:#fff2f7;border-color:#efa5c5;color:#c50058}
.ns-products-search svg{width:16px;height:16px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}
.ns-products-panel[hidden]{display:none!important}
.ns-products-panel{min-width:0}
.ns-products-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;margin:16px 0 12px}
.ns-products-panel-heading h4{margin:5px 0;color:var(--prd-ink);font-size:18px;
 line-height:1.25;font-weight:850;letter-spacing:-.022em;text-transform:none}
.ns-products-panel-heading p{margin:0;color:var(--prd-muted);font-size:11.2px;line-height:1.45}
.ns-products-counter{flex:0 0 auto;white-space:nowrap;margin-top:2px;padding:6px 9px;
 border-radius:99px;background:var(--prd-soft);border:1px solid var(--prd-stroke);
 color:var(--prd-muted);font-size:9.4px;font-weight:850}
.ns-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.ns-products-mega .ns-products-card{display:flex!important;align-items:flex-start;gap:9px;min-width:0;
 min-height:84px;padding:12px!important;border:1px solid var(--prd-stroke);border-radius:12px;
 background:var(--prd-surface);color:var(--prd-ink)!important;text-decoration:none;
 transition:border-color .16s,background .16s,box-shadow .16s,transform .16s}
.ns-products-mega .ns-products-card:hover,.ns-products-mega .ns-products-card:focus-visible{
 background:var(--prd-pale);border-color:#ef90b9;box-shadow:0 6px 18px rgba(15,35,55,.08);transform:translateY(-1px)}
.ns-products-card-mark{display:grid;place-items:center;flex:0 0 35px;height:35px;
 border-radius:10px;background:#f0f4ff;border:1px solid #e0e7f9;color:#44659b;
 font-size:9.6px;font-weight:950;letter-spacing:-.04em}
.ns-products-panel[data-ns-products-panel="finance"] .ns-products-card-mark{background:#f4efff;border-color:#eae0fb;color:#7752a8}
.ns-products-panel[data-ns-products-panel="industry"] .ns-products-card-mark{background:#eaf8fb;border-color:#d9ebef;color:#247e91}
.ns-products-panel[data-ns-products-panel="intelligence"] .ns-products-card-mark{background:#edf7f3;border-color:#d6ebe3;color:#2a856a}
.ns-products-panel[data-ns-products-panel="sovereign"] .ns-products-card-mark{background:#fff0f6;border-color:#ffdbe8;color:#bd0056}
.ns-products-card-copy{display:grid;gap:5px;flex:1;min-width:0}
.ns-products-card-copy strong{color:var(--prd-ink);font-size:12px;line-height:1.3;font-weight:850;overflow-wrap:anywhere}
.ns-products-card-copy small{font-size:10.3px;line-height:1.39;color:var(--prd-muted);font-weight:500}
.ns-products-card-arrow{font-size:15px;font-weight:900;color:#d5005b;margin-left:auto;align-self:flex-start}
.ns-products-bridge{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;
 margin-top:12px;padding:12px 15px;border:1px solid #dce5ef;border-radius:12px;
 background:linear-gradient(110deg,#f1f7fd,#f9fbfe)}
.ns-products-bridge>div{display:grid;gap:4px;min-width:0}
.ns-products-bridge>div>span{font-size:8.8px;font-weight:900;letter-spacing:.12em;color:#57758d}
.ns-products-bridge strong{font-size:12px;font-weight:850;line-height:1.26;color:var(--prd-ink)}
.ns-products-bridge small{font-size:10.3px;line-height:1.4;color:var(--prd-muted)}
.ns-products-mega .ns-products-bridge>a{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;
 max-width:190px;padding:10px 12px!important;border-radius:9px;border:1px solid #c8d7e5;
 background:#fff;color:#244860!important;font-size:10.7px;font-weight:850;text-align:center;line-height:1.3}
.ns-products-mega .ns-products-bridge>a:hover{border-color:#e38caf;color:#c90058!important;background:#fff7fa}
.ns-products-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
 margin-top:14px;padding-top:13px;border-top:1px solid var(--prd-stroke)}
.ns-products-footer>span{color:var(--prd-muted);font-size:10.7px;line-height:1.35}
.ns-products-footer>div{display:flex;gap:7px;flex-wrap:wrap}
.ns-products-mega .ns-products-all,.ns-products-mega .ns-products-adviser{display:inline-flex!important;
 align-items:center;justify-content:center;gap:9px;min-height:35px;padding:9px 12px!important;
 border:1px solid var(--prd-stroke);border-radius:9px;background:var(--prd-surface);
 color:var(--prd-ink)!important;font-size:10.5px;font-weight:850;line-height:1.3}
.ns-products-mega .ns-products-all:hover{background:var(--prd-soft)}
.ns-products-mega .ns-products-adviser{background:#cc0056;border-color:#cc0056;color:#fff!important}
.ns-products-mega .ns-products-adviser:hover{background:#a80047;border-color:#a80047}
.ns-products-mega :is(a,button):focus-visible{outline:3px solid #ff78b1!important;outline-offset:2px}
html[data-theme="dark"] .ns-products-navitem>.ns-products-mega{
 --prd-surface:#0b1929;--prd-ink:#f4f7fb;--prd-muted:#aabfd3;--prd-stroke:#2a4057;
 --prd-soft:#14273b;--prd-magenta:#ff79af;--prd-pale:#2d1a2d;
 box-shadow:0 33px 90px rgba(0,0,0,.47)}
html[data-theme="dark"] .ns-products-sidebar{
 background:radial-gradient(circle at 5% 0%,rgba(255,0,102,.17),transparent 40%),linear-gradient(165deg,#1d1b30,#10243a);border-color:#2a4057}
html[data-theme="dark"] .ns-products-eyebrow{background:#361b35;color:#ff9ac6;border-color:#6a3957}
html[data-theme="dark"] .ns-products-tab{background:#13283e;border-color:#2b4159;color:#f4f8fc}
html[data-theme="dark"] .ns-products-tab:hover{background:#1d3049;border-color:#855472}
html[data-theme="dark"] .ns-products-tab.is-active{background:#351b33;border-color:#965070;box-shadow:inset 3px 0 0 #ff79af}
html[data-theme="dark"] .ns-products-tab-number{background:#20344a;color:#d2e0ee}
html[data-theme="dark"] .ns-products-tab.is-active .ns-products-tab-number{background:#cc0056;color:#fff}
html[data-theme="dark"] .ns-products-foundation{border-color:#3b4258}
html[data-theme="dark"] .ns-products-foundation b{background:#1a2b40;color:#d1e0ef;border-color:#354b60}
html[data-theme="dark"] .ns-products-search{background:#162c41;border-color:#425c73;color:#e3f0fa}
html[data-theme="dark"] .ns-products-mega .ns-products-card:hover{background:#2b1c30;border-color:#b34b7c}
html[data-theme="dark"] .ns-products-mega .ns-products-card-mark{background:#1e344a;border-color:#34516b;color:#d9eafa}
html[data-theme="dark"] .ns-products-bridge{background:linear-gradient(110deg,#132c42,#142639);border-color:#2e495e}
html[data-theme="dark"] .ns-products-bridge>div>span{color:#aac7d9}
html[data-theme="dark"] .ns-products-mega .ns-products-bridge>a{background:#1a3044;border-color:#4a637a;color:#e8f3fb!important}
html[data-theme="dark"] .ns-products-mega .ns-products-adviser{background:#d00058;border-color:#d00058;color:#fff!important}
html[dir="rtl"] .ns-products-sidebar{border-right:0;border-left:1px solid var(--prd-stroke)}
html[dir="rtl"] .ns-products-tab.is-active{box-shadow:inset -3px 0 0 #e10062}
@media(max-width:1190px) and (min-width:901px){
 .ns-products-layout{grid-template-columns:235px minmax(0,1fr)}
 .ns-products-sidebar{padding:20px 16px 18px}
 .ns-products-main{padding:18px 18px 15px}
 .ns-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ns-products-mega .ns-products-card{min-height:76px}
}
@media(max-width:900px){
 .ns-products-navitem>.ns-products-mega{position:static!important;width:100%!important;max-height:none!important;
  overflow:visible!important;transform:none!important;margin:0 0 8px!important;border-radius:14px;box-shadow:none!important}
 .ns-products-layout{grid-template-columns:1fr}
 .ns-products-sidebar{padding:17px 16px 14px;gap:12px;border-right:0;border-bottom:1px solid var(--prd-stroke)}
 .ns-products-intro h3{font-size:22px;margin:9px 0 6px}
 .ns-products-intro p{font-size:11.6px}
 .ns-products-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .ns-products-tab{min-height:54px;gap:7px;padding:8px}
 .ns-products-tab-number{flex-basis:24px;height:24px}
 .ns-products-tab-label small{display:none}
 .ns-products-tab-label strong{font-size:11px}
 .ns-products-foundation{display:none}
 .ns-products-mega .ns-products-sidebar-link{align-self:flex-start;min-height:34px;padding:8px 10px!important}
 .ns-products-main{padding:16px}
 .ns-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ns-products-mega .ns-products-card{min-height:86px}
}
@media(max-width:600px){
 .ns-products-sidebar{padding:14px}
 .ns-products-intro h3{font-size:21px}
 .ns-products-main{padding:13px}
 .ns-products-top h3{font-size:18px}
 .ns-products-top{align-items:flex-start;flex-direction:column;gap:10px}
 .ns-products-search{min-height:34px}
 .ns-products-tabs{gap:6px}
 .ns-products-tab{min-height:47px;padding:7px 6px}
 .ns-products-tab-label strong{font-size:10.6px}
 .ns-products-tab-arrow{display:none}
 .ns-products-panel-heading{margin:13px 0 10px}
 .ns-products-panel-heading h4{font-size:16.5px}
 .ns-products-panel-heading p{font-size:10.8px}
 .ns-products-counter{display:none}
 .ns-products-grid{grid-template-columns:minmax(0,1fr);gap:7px}
 .ns-products-mega .ns-products-card{min-height:71px;padding:10px!important}
 .ns-products-bridge{grid-template-columns:minmax(0,1fr);gap:10px}
 .ns-products-mega .ns-products-bridge>a{width:100%;max-width:none}
 .ns-products-footer{align-items:stretch;flex-direction:column}
 .ns-products-footer>div{display:grid;grid-template-columns:minmax(0,1fr)}
 .ns-products-mega .ns-products-footer a{width:100%}
}
@media(max-width:900px){
 body:has(.ns-products-navitem.ns-mobile-open) .ns-workflow-side-cta,
 body:has(.ns-products-navitem.ns-mobile-open) .ns-support,
 body:has(.ns-products-navitem.ns-mobile-open) .ns-guide360-launch{
  visibility:hidden!important;opacity:0!important;pointer-events:none!important}
}
@media(prefers-reduced-motion:reduce){.ns-products-mega :is(a,button){transition:none!important;transform:none!important}}

/* R2: shorter navigation rail and balanced government panel. */
@media(min-width:901px){
 .ns-products-foundation{display:none}
 .ns-products-sidebar{gap:11px}
 .ns-products-tab{min-height:49px;padding:8px 10px}
}
.ns-products-govjourney{margin-top:10px;padding:12px 13px;border:1px solid var(--prd-stroke);border-radius:12px;background:var(--prd-soft)}
.ns-products-govjourney-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.ns-products-govjourney-head>span{font-size:9.2px;font-weight:900;letter-spacing:.1em;color:var(--prd-ink)}
.ns-products-govjourney-head>small{font-size:9.4px;font-weight:650;color:var(--prd-muted)}
.ns-products-govjourney-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ns-products-govjourney-steps>div{display:flex;align-items:flex-start;gap:8px;min-width:0;padding:9px;border:1px solid var(--prd-stroke);border-radius:9px;background:var(--prd-surface)}
.ns-products-govjourney-steps b{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:8px;background:#fbe6f0;color:#be0052;font-size:9.5px;font-weight:900}
.ns-products-govjourney-steps>div span{display:grid;gap:3px;min-width:0}
.ns-products-govjourney-steps strong{font-size:10.6px;line-height:1.28;color:var(--prd-ink)}
.ns-products-govjourney-steps small{font-size:9.5px;line-height:1.36;color:var(--prd-muted)}
html[data-theme="dark"] .ns-products-govjourney-steps b{background:#492137;color:#ff99c4}
@media(max-width:600px){.ns-products-govjourney-steps{grid-template-columns:minmax(0,1fr)}}
