/* Profile shell is present in every HTML entry so it also survives WeWeb SPA navigation. */
#nfn-profile-header, #nfn-profile-footer { display: none; box-sizing: border-box; font-family: Inter, Arial, sans-serif; }
body:has(#app .website-wrapper[ww-page-id="3b147525-e1fa-4c80-9c56-c74efd67708c"]) #nfn-profile-header,
body:has(#app .website-wrapper[ww-page-id="3b147525-e1fa-4c80-9c56-c74efd67708c"]) #nfn-profile-footer { display: block; }
#nfn-profile-header *, #nfn-profile-footer * { box-sizing: border-box; }
#nfn-profile-header { position: relative; z-index: 12; background: #f7f5ef; border-bottom: 1px solid #e4e8df; color: #193d35; }
.nfn-profile-wrap { width: min(100% - 48px, 1240px); margin-inline: auto; }
.nfn-profile-header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nfn-profile-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: inherit; text-decoration: none; font-size: 19px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.nfn-profile-mark { width: 37px; height: 37px; display: inline-grid; place-items: center; background: #193d35; color: white; border-radius: 12px; }
.nfn-profile-mark svg { display: block; width: 21px; height: 21px; fill: currentColor; }
.nfn-profile-nav { display: flex; align-items: center; gap: 28px; }
.nfn-profile-nav a, .nfn-profile-nav button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: #193d35; font: 650 15px Inter, Arial, sans-serif; background: none; border: 0; text-decoration: none; cursor: pointer; }
.nfn-profile-nav a:hover, .nfn-profile-nav button:hover, .nfn-profile-nav a[aria-current="page"] { color: #a9471f; }
.nfn-profile-mobile { display: none; position: relative; }
.nfn-profile-mobile summary { display: flex; align-items: center; justify-content: center; min-width: 72px; min-height: 44px; border: 1px solid #d9e1d8; border-radius: 12px; font-size: 14px; font-weight: 750; cursor: pointer; list-style: none; }
.nfn-profile-mobile summary::-webkit-details-marker { display: none; }
.nfn-profile-mobile-panel { position: absolute; right: 0; top: 52px; z-index: 30; width: min(270px, 80vw); display: grid; gap: 4px; padding: 10px; background: white; border: 1px solid #d9e1d8; border-radius: 16px; box-shadow: 0 16px 30px rgba(25,61,53,.16); }
.nfn-profile-mobile-panel a, .nfn-profile-mobile-panel button { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: #193d35; background: none; border: 0; border-radius: 9px; font: 650 15px Inter, Arial, sans-serif; text-decoration: none; text-align: left; cursor: pointer; }
.nfn-profile-mobile-panel a:hover, .nfn-profile-mobile-panel button:hover { background: #e8efe8; }
#nfn-profile-header :is(a, button, summary):focus-visible, #nfn-profile-footer a:focus-visible { outline: 3px solid #245e50; outline-offset: 4px; }
#nfn-profile-footer { background: #16372f; color: white; padding: 64px 0 28px; }
.nfn-profile-footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 48px; }
#nfn-profile-footer .nfn-profile-mark { background: white; color: #193d35; }
.nfn-profile-footer-links { display: flex; flex-wrap: wrap; gap: 18px 26px; max-width: 620px; }
.nfn-profile-footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: white; text-decoration: none; font-size: 15px; font-weight: 650; }
.nfn-profile-footer-links a:hover { text-decoration: underline; }
.nfn-profile-footer-bottom { border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; }
.nfn-profile-footer-bottom p { margin: 0; color: #d5e5db; font-size: 14px; }
/* The original WeWeb logout button keeps its auth workflow; the menu invokes it. */
body:has(#app .website-wrapper[ww-page-id="3b147525-e1fa-4c80-9c56-c74efd67708c"]) button[data-ww-uid="8e61985d-78b9-4ee0-84e7-28036d698324"] { display: none !important; }
/* The long legacy privacy paragraph now has a concise destination in the footer. */
body:has(#app .website-wrapper[ww-page-id="3b147525-e1fa-4c80-9c56-c74efd67708c"]) [data-ww-uid="5ca016d4-7d00-43e1-86fd-ad8d787fa342"] { display: none !important; }
body:has(#app .website-wrapper[ww-page-id="3b147525-e1fa-4c80-9c56-c74efd67708c"]) .ww-section:has(> .section-base > form.ww-form-container) { min-height: calc(100dvh - 88px) !important; }
@media (max-width: 700px) {
  .nfn-profile-wrap { width: min(100% - 36px, 1240px); }
  .nfn-profile-header-inner { min-height: 72px; }
  .nfn-profile-brand { font-size: 17px; }
  .nfn-profile-nav { display: none; }
  .nfn-profile-mobile { display: block; }
  .nfn-profile-footer-main { display: block; }
  .nfn-profile-footer-links { margin-top: 28px; }
  body:has(#app .website-wrapper[ww-page-id="3b147525-e1fa-4c80-9c56-c74efd67708c"]) .ww-section:has(> .section-base > form.ww-form-container) { min-height: calc(100dvh - 72px) !important; }
}
