/* Match the homepage brand position without changing page controllers. */
.nf-brand-header.nf-brand-header{max-width:none;margin:0;background:#fff;border-bottom:1px solid #dce4e9;padding-left:max(24px,calc((100vw - 1120px)/2));padding-right:max(24px,calc((100vw - 1120px)/2))}
.pilot-banner,.prototype-bar{background:#eef1f4;color:#61707e;text-align:center;font:11px/1.5 Arial,Helvetica,sans-serif;padding:6px 16px;letter-spacing:0}
.prototype-bar strong{font-size:11px;letter-spacing:.7px;margin-right:5px}
@media(max-width:600px){.nf-brand-header.nf-brand-header{padding-left:16px;padding-right:16px}.pilot-banner,.prototype-bar{padding:6px 16px}}
html[data-theme="dark"] .nf-brand-header.nf-brand-header{background:#172b3a;border-color:#3e5363}
html[data-theme="dark"] .pilot-banner,html[data-theme="dark"] .prototype-bar{background:#203443;color:#c6d4df}
.prototype-bar strong{display:inline}.nf-brand-header>a:not(.logo){font-size:13px}
@media(max-width:600px){.nf-brand-header>a:not(.logo){font-size:12px}}
.nf-brand-header.nf-brand-header{max-width:976px;margin:auto;padding-left:24px;padding-right:24px}
@media(max-width:600px){.nf-brand-header.nf-brand-header{padding-left:16px;padding-right:16px}}

/* Same compact brand row on every standalone mobile screen. */
@media(max-width:650px){
 .nf-brand-header.nf-brand-header{min-height:54px;padding-top:2px;padding-bottom:2px}
}

/* Shared outer frame: align the brand with each route's content, not a
   disconnected 976px box. Wide design tools retain their working space. */
html[data-nf-page]{--nf-shell-width:976px;--nf-shell-gutter:24px}
html[data-nf-page="account"]{--nf-shell-width:760px}
html:is([data-nf-page="interests"],[data-nf-page="opportunities"],[data-nf-page="negotiations"],[data-nf-page="compare"]){--nf-shell-width:980px}
html[data-nf-page="fitlet"]{--nf-shell-width:1000px;--nf-shell-gutter:18px}
html[data-nf-page="projects"]{--nf-shell-width:1250px;--nf-shell-gutter:22px}
html[data-nf-page="vitrine"]{--nf-shell-width:640px}
html[data-nf-page="pilot"]{--nf-shell-width:1068px}
html[data-nf-page] .nf-brand-header.nf-brand-header{width:100%;max-width:none;margin:0;padding-inline:max(var(--nf-shell-gutter),calc((100% - var(--nf-shell-width))/2 + var(--nf-shell-gutter)));min-height:73px;flex-wrap:wrap}
html[data-nf-page] .nf-brand-header .logo{flex-shrink:0}
html[data-nf-page] main>footer{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;line-height:1.5;overflow-wrap:anywhere}
html[data-nf-page] main>footer a{display:inline-flex;align-items:center;min-height:44px}
html[data-nf-page] main>footer p{flex-basis:100%;margin:0}
@media(max-width:700px){html[data-nf-page="projects"]{--nf-shell-gutter:14px}}
@media(max-width:650px){html[data-nf-page] .nf-brand-header.nf-brand-header{min-height:54px;padding-top:2px;padding-bottom:2px}}
@media(max-width:600px){html[data-nf-page]{--nf-shell-gutter:16px}html:is([data-nf-page="projects"],[data-nf-page="fitlet"]){--nf-shell-gutter:14px}}
html[data-nf-page] .nf-brand-header>a:not(.logo){color:inherit;text-decoration:none}
html[data-nf-page] .nf-brand-header>a:not(.logo):hover{text-decoration:underline}
@media(max-width:600px){html[data-nf-page="vitrine"]{--nf-shell-gutter:24px}}
@media(max-width:420px){html[data-nf-page="vitrine"]{--nf-shell-gutter:20px}}
html[data-nf-page="compare"]{--nf-shell-gutter:20px}
html[data-nf-page="pilot"]{--nf-shell-width:1024px;--nf-shell-gutter:22px}
@media(max-width:600px){html:is([data-nf-page="compare"],[data-nf-page="pilot"]){--nf-shell-gutter:16px}}
