/* Signature navigation and footer — scoped, direction-aware, no billing changes. */
body.nw-unified #header.nw-marketing-header .nw-marketing-bar{direction:inherit;align-items:center}
body.nw-unified #header.nw-marketing-header .nw-marketing-links{direction:inherit;align-items:center;column-gap:clamp(12px,1.3vw,24px);row-gap:8px}
#header.nw-marketing-header .nw-marketing-links>details{flex:0 0 auto}
#header.nw-marketing-header .nw-marketing-links>details>summary{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:7px;white-space:nowrap;text-align:start}
#header.nw-marketing-header .nw-marketing-links>details>summary::after{content:'';display:block;width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-block-start:-4px;flex:none}
#header.nw-marketing-header .nw-marketing-links>details[open]>summary::after{transform:rotate(225deg);margin-block-start:3px}
#header.nw-marketing-header .nw-marketing-links>details[open]>summary{color:#a43a48}
#header.nw-marketing-header .nw-marketing-links>details>.nc-mega{direction:inherit;text-align:start;gap:8px;padding:12px;top:calc(100% + 6px);max-height:min(70vh,560px);overflow:auto;overscroll-behavior:contain;min-width:0;max-width:calc(100vw - 24px);translate:var(--nw-menu-shift,0px) 0}
#header.nw-marketing-header .nw-marketing-links>details:not(.nc-native-menu)>.nc-mega{width:min(510px,calc(100vw - 24px));grid-template-columns:repeat(2,minmax(0,1fr))}
#header.nw-marketing-header .nw-marketing-links .nc-mega>a{white-space:normal;overflow-wrap:anywhere;text-align:start;line-height:1.55}
#header.nw-marketing-header .nw-marketing-links .nc-mega>a.nc-menu-main{background:#18314f;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:10px 13px}
body.nw-unified #header.nw-marketing-header .nw-marketing-links .nc-native-menu>.nw-portal-panel{display:block;position:absolute;width:min(480px,calc(100vw - 24px));padding:16px;min-width:0;inset-inline-start:auto;inset-inline-end:0;max-height:min(70vh,560px);overflow:auto}
body.nw-unified #header.nw-marketing-header .nw-portal-panel .nw-portal-links{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:12px;align-items:start;width:100%}
#header.nw-marketing-header .nw-portal-group{min-width:0;background:#fff;text-align:start}
#header.nw-marketing-header .nw-portal-group h3{font-size:12px;font-weight:800;color:#536980;margin:0 0 9px;padding:4px 8px 8px;border-bottom:1px solid #e4eaf1;line-height:1.5}
body.nw-unified #header.nw-marketing-header .nw-portal-group .navbar-nav{display:flex;flex-direction:column;align-items:stretch;gap:3px;width:100%;padding:0;margin:0;list-style:none;text-align:start}
body.nw-unified #header.nw-marketing-header .nw-portal-group .navbar-nav>li{display:block;width:100%;max-width:none;min-width:0;margin:0;padding:0;list-style:none}
body.nw-unified #header.nw-marketing-header .nw-portal-group .navbar-nav>li>a{display:block;font-size:13px;line-height:1.6;padding:8px 10px;min-height:36px;border-radius:8px;background:#f5f7fa;color:#18314f;text-align:start;white-space:normal;overflow-wrap:anywhere}
body.nw-unified #header.nw-marketing-header .nw-portal-group .navbar-nav>li>a:hover,body.nw-unified #header.nw-marketing-header .nw-portal-group .navbar-nav>li>a:focus-visible{background:#e7eff8;color:#18314f}
body.nw-unified #header.nw-marketing-header .nw-portal-group .dropdown-menu{position:static!important;float:none!important;transform:none!important;min-width:0;width:100%;max-width:100%;padding:5px;margin:4px 0;border:0;border-radius:8px;box-shadow:none;background:#edf2f8;text-align:start}
body.nw-unified #header.nw-marketing-header .nw-portal-group .dropdown-menu:not(.show){display:none}
body.nw-unified #header.nw-marketing-header .nw-portal-group .dropdown-menu li.dropdown-item{padding:0!important;white-space:normal;max-width:100%;min-width:0}
body.nw-unified #header.nw-marketing-header .nw-portal-group .dropdown-menu a.dropdown-item{font-size:12px;padding:8px!important;white-space:normal;overflow-wrap:anywhere;text-align:start;background:transparent}
body.nw-unified #header.nw-marketing-header .nw-portal-group .dropdown-menu a.dropdown-item:hover{background:#dfe9f5}
#header.nw-marketing-header .nw-marketing-links summary:focus-visible{outline:2px solid #4e7db8;outline-offset:3px;border-radius:4px}
/* New footer: compact identity/contact row, flexible link groups, configurable legal strip. */
body.nw-unified footer#footer.nw-unified-footer{background:#fff!important;color:#18314f!important;padding:0!important;border-top:3px solid #4e7db8;text-align:start;direction:inherit;margin:0;width:100%}
body.nw-unified footer#footer[dir=rtl]{direction:rtl;text-align:right}body.nw-unified footer#footer[dir=ltr]{direction:ltr;text-align:left}
body.nw-unified #footer .nw-footer-intro{max-width:1320px;margin-inline:auto;padding:30px clamp(18px,3vw,40px) 24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:center;text-align:start}
body.nw-unified #footer .nw-footer-identity{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
body.nw-unified #footer .nw-footer-brand{display:inline-flex;align-items:center;background:transparent;padding:0}
body.nw-unified #footer .nw-footer-brand img{width:148px;height:auto;max-height:52px;object-fit:contain}
body.nw-unified #footer .nw-footer-identity p{font-size:14px;color:#52647b;line-height:1.85;margin:0;max-width:56ch;text-align:start}
body.nw-unified #footer .nw-footer-contact{justify-self:end;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px 14px;background:#f2f6fa;border:1px solid #e0e8f1;border-radius:14px;padding:16px 20px;min-width:0;width:min(100%,480px)}
body.nw-unified #footer .nw-footer-contact-title{flex-basis:100%;font-size:17px;font-weight:800;color:#18314f;text-align:start;line-height:1.5}
body.nw-unified #footer .nw-footer-email{color:#3d5f86;font-size:13px;line-height:1.7;overflow-wrap:anywhere;max-width:100%;text-decoration:none}
body.nw-unified #footer .nw-footer-support{background:#18314f;border-radius:8px;color:#fff!important;font-size:13px;font-weight:700;text-decoration:none;padding:9px 14px;min-height:38px;display:inline-flex;align-items:center;gap:8px}
body.nw-unified #footer .nw-footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));gap:22px 32px;max-width:1320px;margin:0 auto;padding:24px clamp(18px,3vw,40px) 32px;border-top:1px solid #e3e8ef;direction:inherit;text-align:start;align-items:start}
body.nw-unified #footer .nw-footer-grid>div{min-width:0;align-items:flex-start;display:flex;flex-direction:column;gap:8px;text-align:start}
body.nw-unified #footer .nw-footer-grid h3{font-size:15px;font-weight:800;line-height:1.6;color:#18314f;margin:0 0 6px;text-align:start;position:relative;padding-block-end:7px}
body.nw-unified #footer .nw-footer-grid h3::after{content:'';position:absolute;inset-inline-start:0;bottom:0;width:24px;height:2px;background:#f56b6f;border-radius:2px}
body.nw-unified #footer .nw-footer-grid a{font-size:14px;line-height:1.65;color:#52647b;text-align:start;text-decoration:none;overflow-wrap:anywhere;max-width:100%}
body.nw-unified #footer .nw-footer-grid a:hover,body.nw-unified #footer .nw-footer-email:hover{color:#18314f;text-decoration:underline;text-underline-offset:3px}
body.nw-unified #footer .nw-footer-bottom{width:100%;max-width:none;margin:0;padding:0;border:0;background:var(--ns-footer,#18314f);color:var(--ns-footer-ink,#fff);text-align:start}
body.nw-unified #footer .nw-footer-bottom-inner{max-width:1320px;margin:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;min-height:58px;padding:12px clamp(18px,3vw,40px);font-size:12px;line-height:1.8;text-align:start}
body.nw-unified #footer .nw-footer-bottom-inner>a,body.nw-unified #footer .nw-footer-bottom-inner>button{color:var(--ns-footer-ink,#fff);font-size:12px}body.nw-unified #footer .nw-footer-bottom-inner>button{border:1px solid currentColor;border-radius:7px;background:transparent;padding:6px 10px;min-height:34px}
@media(max-width:1100px){
 body.nw-unified #header.nw-marketing-header .nw-marketing-links{align-items:stretch;gap:0}
 body.nw-unified #header.nw-marketing-header .nw-marketing-links>details>.nc-mega,body.nw-unified #header.nw-marketing-header .nw-marketing-links .nc-native-menu>.nw-portal-panel{position:static!important;width:100%;max-width:none;max-height:none;translate:none;min-width:0;padding:10px;overflow:visible;box-shadow:none}
 body.nw-unified #header.nw-marketing-header .nw-marketing-links>details:not(.nc-native-menu)>.nc-mega{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){body.nw-unified #footer .nw-footer-intro{grid-template-columns:1fr;padding-block:23px 20px;gap:18px}body.nw-unified #footer .nw-footer-contact{justify-self:start;width:100%;padding:13px}body.nw-unified #footer .nw-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 15px;padding-block:20px 25px}body.nw-unified #footer .nw-footer-bottom-inner{justify-content:flex-start;gap:8px 14px}}
@media(max-width:480px){body.nw-unified #header.nw-marketing-header .nw-marketing-links>details:not(.nc-native-menu)>.nc-mega,body.nw-unified #header.nw-marketing-header .nw-portal-panel .nw-portal-links{grid-template-columns:1fr}body.nw-unified #footer .nw-footer-grid a{font-size:13px}body.nw-unified #footer .nw-footer-grid h3{font-size:14px}}
body.nw-unified #footer .nw-footer-bottom{display:block}
body.nw-unified #footer .nw-footer-bottom-inner{width:100%}
@media(max-width:1100px){body.nw-unified #header.nw-marketing-header .nw-marketing-bar .nw-marketing-links{flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;width:100%;grid-column:1/-1;grid-row:2}body.nw-unified #header.nw-marketing-header .nw-marketing-bar .nw-marketing-links>details{width:100%;max-width:100%;flex:none;min-width:0}body.nw-unified #header.nw-marketing-header .nw-marketing-bar .nw-marketing-links>a{width:100%}}
/* Stack semantic groups; let each group use its full width rather than leaving an empty account column. */
body.nw-unified #header.nw-marketing-header .nw-portal-panel .nw-portal-links{grid-template-columns:1fr;gap:14px}
body.nw-unified #header.nw-marketing-header .nw-portal-group .navbar-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
body.nw-unified #header.nw-marketing-header .nw-portal-group:last-child .navbar-nav>li:only-child{grid-column:1/-1}
body.nw-unified #header.nw-marketing-header .nw-portal-group .navbar-nav>li:has(>.dropdown-menu.show){grid-column:1/-1}
@media(max-width:480px){body.nw-unified #header.nw-marketing-header .nw-portal-group .navbar-nav{grid-template-columns:1fr}}

/* Signature dark footer — logical layout, no row reversal. */
body.nw-unified footer#footer.nw-unified-footer{background:#152a43!important;color:#fff!important;border-top:3px solid #4e7db8}
body.nw-unified #footer .nw-footer-intro,body.nw-unified #footer .nw-footer-grid,body.nw-unified #footer .nw-footer-bottom-inner{direction:inherit;text-align:start}
body.nw-unified #footer .nw-footer-identity,body.nw-unified #footer .nw-footer-grid>div{align-items:flex-start;text-align:start}
body.nw-unified #footer .nw-footer-brand{background:#fff;border-radius:8px;padding:8px 12px;max-width:100%;box-sizing:border-box}
body.nw-unified #footer .nw-footer-brand img{max-width:100%}
body.nw-unified #footer .nw-footer-identity p{color:#c5d3e2}
body.nw-unified #footer .nw-footer-contact{background:#203951;border:1px solid #3c526a;color:#fff;box-sizing:border-box}
body.nw-unified #footer .nw-footer-contact-title,body.nw-unified #footer .nw-footer-grid h3{color:#fff}
body.nw-unified #footer .nw-footer-email,body.nw-unified #footer .nw-footer-grid a{color:#c5d3e2}
body.nw-unified #footer .nw-footer-grid a:hover,body.nw-unified #footer .nw-footer-email:hover{color:#fff}
body.nw-unified #footer .nw-footer-grid a:focus-visible,body.nw-unified #footer .nw-footer-email:focus-visible,body.nw-unified #footer .nw-footer-support:focus-visible{outline:2px solid #f56b6f;outline-offset:3px}
body.nw-unified #footer .nw-footer-support{background:#f56b6f;color:#152a43!important}
body.nw-unified #footer .nw-footer-grid{border-top-color:#3c526a}
body.nw-unified #footer .nw-footer-bottom{background:#102238;color:#c5d3e2;border-top:1px solid #3c526a}
body.nw-unified #footer .nw-footer-bottom-inner>a,body.nw-unified #footer .nw-footer-bottom-inner>button{color:#e4edf6}
body.nw-unified #header.nw-marketing-header[dir=rtl],body.nw-unified footer#footer[dir=rtl]{direction:rtl;text-align:right}
body.nw-unified #header.nw-marketing-header[dir=ltr],body.nw-unified footer#footer[dir=ltr]{direction:ltr;text-align:left}
body.nw-unified #footer[dir=rtl] .nw-footer-grid>div,body.nw-unified #footer[dir=rtl] .nw-footer-grid a,body.nw-unified #footer[dir=rtl] .nw-footer-grid h3,body.nw-unified #footer[dir=rtl] .nw-footer-contact-title,body.nw-unified #footer[dir=rtl] .nw-footer-identity p{text-align:right}
body.nw-unified #footer[dir=ltr] .nw-footer-grid>div,body.nw-unified #footer[dir=ltr] .nw-footer-grid a,body.nw-unified #footer[dir=ltr] .nw-footer-grid h3,body.nw-unified #footer[dir=ltr] .nw-footer-contact-title,body.nw-unified #footer[dir=ltr] .nw-footer-identity p{text-align:left}
body.nw-unified #footer .nw-footer-email bdi{direction:ltr;unicode-bidi:isolate;display:inline-block}
@media(max-width:650px){body.nw-unified #footer .nw-footer-contact{justify-self:stretch;width:100%}body.nw-unified #footer .nw-footer-bottom-inner{justify-content:flex-start}}

/* RC6 compact single-column menus; native customer portal is unaffected. */
#header.nw-marketing-header .nw-marketing-links>details:not(.nc-native-menu)>.nc-mega:not(:has(>a:nth-of-type(3))){grid-template-columns:minmax(0,1fr)}
@media(min-width:1101px){#header.nw-marketing-header .nw-marketing-links>details:not(.nc-native-menu)>.nc-mega:not(:has(>a:nth-of-type(3))){width:min(270px,calc(100vw - 24px))}}
