/* Profile: compact identity, readable modules, and earned personal accents. */
.nf-learner .nf-profile{--nf-accent:#246bad;--nf-accent-soft:#edf5ff;--nf-cover:linear-gradient(120deg,#203e70,#496e9f 60%,#8ba9c1);--nf-profile-surface:#fff;--nf-profile-text:#243347;--nf-profile-muted:#65778a;--nf-profile-border:#e4eaf0;color:var(--nf-profile-text);font-size:14px;line-height:1.55}
.nf-learner .nf-profile-theme-forest{--nf-accent:#227765;--nf-accent-soft:#eaf7f0;--nf-cover:linear-gradient(120deg,#215d5a,#518a77 65%,#a3c3a4)}
.nf-learner .nf-profile-theme-sunset{--nf-accent:#a95330;--nf-accent-soft:#fff2e9;--nf-cover:linear-gradient(120deg,#99533e,#cd8862 65%,#e8b68b)}
.nf-learner .nf-profile-theme-violet{--nf-accent:#7751a3;--nf-accent-soft:#f5eeff;--nf-cover:linear-gradient(120deg,#554776,#8b73ad 65%,#bcafd2)}
.nf-learner .nf-profile-theme-graphite{--nf-accent:#516275;--nf-accent-soft:#edf1f5;--nf-cover:linear-gradient(120deg,#293846,#617181 65%,#a6b5c0)}
.nf-learner .nf-profile-identity{border-radius:10px;background:var(--nf-profile-surface);box-shadow:0 3px 16px #24394b08;overflow:hidden;margin-bottom:18px}
.nf-learner .nf-profile-banner{height:54px;background-image:var(--nf-cover);background-size:cover;background-position:center 45%;position:relative}
.nf-learner .nf-profile-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#17304724,transparent 65%,#ffffff12);pointer-events:none}
.nf-learner .nf-profile-person{display:flex;align-items:flex-start;gap:20px;padding:0 24px 18px;position:relative}
.nf-learner .nf-profile-avatar{width:88px;height:88px;flex:0 0 88px;margin-top:-30px;border:4px solid var(--nf-profile-surface);background:var(--nf-profile-surface);object-fit:cover;position:relative;box-shadow:0 2px 8px #12263e12}
.nf-learner .nf-profile-person-text{flex:1;min-width:0;padding-top:13px}
.nf-learner .nf-profile-name-line{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.nf-learner .nf-profile-name-line h1{font-size:25px;line-height:1.25;font-weight:650;margin:0;color:var(--nf-profile-text);overflow-wrap:anywhere}
.nf-learner .nf-profile-display-name{color:var(--nf-profile-muted);font-size:14px;overflow-wrap:anywhere}
.nf-learner .nf-profile-meta{display:flex;align-items:center;gap:5px 16px;flex-wrap:wrap;color:var(--nf-profile-muted);font-size:12px;margin-top:7px}
.nf-learner .nf-profile-online::before{content:"";display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#209c73}
.nf-learner .nf-profile-tagline{font-size:13px;color:var(--nf-profile-muted);margin-top:10px;line-height:1.5}
.nf-learner .nf-profile-title{display:inline-flex;background:var(--nf-accent-soft);color:var(--nf-accent);border-radius:5px;padding:3px 8px;font-size:12px;margin-top:9px}
.nf-learner .nf-profile-controls{display:flex;align-items:flex-end;flex-direction:column;gap:9px;padding-top:12px;flex-shrink:0}
.nf-learner .nf-profile-actions{display:flex;gap:5px;align-items:center;position:static;color:var(--nf-profile-muted)}
.nf-learner .nf-profile-actions .profile-header__contact-item{display:inline-flex;align-items:center;justify-content:center;position:static;width:30px;height:30px;line-height:1;color:inherit;border:1px solid var(--nf-profile-border);background:transparent;border-radius:5px;margin:0;text-decoration:none}
.nf-learner .nf-profile-actions .profile-header__contact-item:hover{background:var(--nf-accent-soft);color:var(--nf-accent)}
.nf-learner .nf-profile-actions .user-profile-badge{width:auto;padding:4px 7px!important;font-size:11px!important}
.nf-learner .nf-profile-customize{font-size:12px;color:var(--nf-accent)}
.nf-learner .nf-profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:16px 0;border-top:1px solid var(--nf-profile-border)}
.nf-learner .nf-profile-stats>div,.nf-learner .nf-profile-stats>a{display:flex;flex-direction:column;align-items:center;gap:4px;border-right:1px solid var(--nf-profile-border);color:var(--nf-profile-text);text-decoration:none;min-width:0}
.nf-learner .nf-profile-stats>:last-child{border-right:0}
.nf-learner .nf-profile-stats strong{font-size:23px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}
.nf-learner .nf-profile-stats strong small{font-size:13px;font-weight:400;color:var(--nf-profile-muted)}
.nf-learner .nf-profile-stats span{font-size:12px;color:var(--nf-profile-muted);text-align:center;padding:0 4px}
.nf-learner .nf-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:18px;align-items:start}
.nf-learner .nf-profile-main,.nf-learner .nf-profile-aside{display:flex;flex-direction:column;gap:18px;min-width:0}
.nf-learner .nf-profile .section{margin:0;border-radius:8px;background:var(--nf-profile-surface);color:var(--nf-profile-text);box-shadow:0 2px 12px #24394b05;min-width:0}
.nf-learner .nf-profile .nf-profile-showcase{padding:18px;margin:0;background:var(--nf-profile-surface)}
.nf-learner .nf-profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.nf-learner .nf-profile-section-heading h2{font-size:16px;line-height:1.4;font-weight:600;color:var(--nf-profile-text);margin:0}
.nf-learner .nf-profile-section-heading p{font-size:12px;line-height:1.5;color:var(--nf-profile-muted);margin-top:3px}
.nf-learner .nf-profile-section-heading>a,.nf-learner .nf-profile-section-heading>span{font-size:12px;white-space:nowrap}
.nf-learner .nf-profile a:not(.profile-header__contact-item){color:var(--nf-accent)}
.nf-learner .nf-profile-badge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nf-learner .nf-profile-badge{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 12px;background:var(--nf-profile-surface);border:1px solid var(--nf-profile-border);border-radius:7px;text-decoration:none;transition:background .15s,border-color .15s}
.nf-learner .nf-profile-badge:hover{background:var(--nf-accent-soft);border-color:var(--nf-accent);text-decoration:none}
.nf-learner .nf-profile-badge>span:last-child{min-width:0}
.nf-learner .nf-profile-badge strong{display:block;color:var(--nf-profile-text);font-size:14px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
.nf-learner .nf-profile-badge small{display:block;color:var(--nf-profile-muted);font-size:11px;margin-top:3px}
.nf-learner .nf-profile-badge .nf-medal.compact{width:54px;height:54px;flex:0 0 54px;margin:0 4px 5px 0}
.nf-learner .nf-profile .nf-profile-empty{grid-column:1/-1;padding:18px 0;color:var(--nf-profile-muted);font-size:13px}
.nf-learner .nf-profile-bio .profile-content{padding:0;margin:0;min-height:0}
.nf-learner .nf-profile-bio .section__tab-container{padding:0;margin:0;min-height:0}
.nf-learner .nf-profile-bio .section__tab-title{font-size:14px;line-height:1.5;padding:12px 16px;font-weight:500;color:var(--nf-profile-text)}
.nf-learner .nf-profile-bio .section__tab-main{background:var(--nf-profile-surface);border-top:1px solid var(--nf-profile-border)}
.nf-learner .nf-profile-bio .section__body{padding:18px;font-size:14px;line-height:1.65;color:var(--nf-profile-text)}
.nf-learner .nf-profile-bio .typo p{margin-top:0;margin-bottom:12px;font-size:14px;color:inherit}
.nf-learner .nf-profile-bio img,.nf-learner .nf-profile-bio video{max-width:100%;height:auto}
.nf-learner .nf-profile-bio pre{font-size:13px;line-height:1.55;max-width:100%;overflow:auto;background:var(--nf-profile-surface);color:inherit}
.nf-learner .nf-profile-bio .collapsible-content::after{background:linear-gradient(to bottom,transparent,var(--nf-profile-surface))}
.nf-learner .nf-profile-bio .no-media li{overflow-wrap:anywhere}
.nf-learner .nf-profile-bio .section__tab-container.immersive .section__tab-header-wrapper{position:relative;top:auto;left:auto;right:auto;bottom:auto;margin:0;padding:0;height:auto;transform:none;overflow:auto;border-radius:8px 8px 0 0}
.nf-learner .nf-profile-bio .section__tab-header{display:flex;gap:0;width:100%;height:auto;margin:0;padding:0;background:var(--nf-profile-surface);border-bottom:1px solid var(--nf-profile-border);white-space:nowrap}
.nf-learner .nf-profile-bio .section__tab-header-item{position:relative;display:block;float:none;padding:12px 14px;margin:0;color:var(--nf-profile-muted);background:transparent;border:0;font-size:13px;line-height:1.5;font-weight:400;box-shadow:none;cursor:pointer}
.nf-learner .nf-profile-bio .section__tab-header-item.selected{color:var(--nf-accent);background:var(--nf-profile-surface);box-shadow:inset 0 -2px 0 var(--nf-accent);font-weight:500}
.nf-learner .nf-profile-bio .section__tab-main{border-top:0}
.nf-learner .nf-profile-aside>.section{padding:16px}
.nf-learner .nf-profile .nf-profile-learning{margin:0;padding:16px}
.nf-learner .nf-profile-course{display:block;font-weight:500;font-size:14px;margin-bottom:12px;overflow-wrap:anywhere}
.nf-learner .nf-profile-course>span{display:block;font-size:12px;font-weight:400;color:var(--nf-profile-muted);margin-top:3px}
.nf-learner .nf-profile-progress-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--nf-profile-muted);margin-top:10px}
.nf-learner .nf-profile-overview dl{margin:0}
.nf-learner .nf-profile-overview dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--nf-profile-border);min-height:40px}
.nf-learner .nf-profile-overview dl>div:first-child{padding-top:0}
.nf-learner .nf-profile-overview dl>div:last-child{border-bottom:0;padding-bottom:0}
.nf-learner .nf-profile-overview dt{font-size:13px;font-weight:400;color:var(--nf-profile-muted)}
.nf-learner .nf-profile-overview dd{margin:0;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.nf-learner .nf-profile-overview dd small{font-weight:400;font-size:12px;color:var(--nf-profile-muted)}
.nf-learner .nf-profile-footnote{font-size:11px;line-height:1.5;color:var(--nf-profile-muted);margin-top:12px}
.nf-learner .nf-profile-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.nf-learner .nf-profile-day{height:27px;border-radius:4px;background:var(--nf-accent-soft);color:var(--nf-profile-muted);display:grid;place-items:center;font-size:10px;font-variant-numeric:tabular-nums}
.nf-learner .nf-profile-day.active{background:var(--nf-accent);color:#fff;font-weight:600}
.nf-learner .nf-profile-next-top{display:flex;align-items:center;gap:12px}
.nf-learner .nf-profile-next .nf-medal.compact{width:45px;height:45px;margin:0 2px 5px 0}
.nf-learner .nf-profile-next-top strong{font-size:14px;font-weight:500}
.nf-learner .nf-profile-next-top p{font-size:12px;color:var(--nf-profile-muted);margin-top:4px}
.nf-learner .nf-profile-next-rule{font-size:12px;color:var(--nf-profile-muted);line-height:1.6;margin:12px 0 8px}
.nf-learner .nf-profile-next>a{font-size:12px}
.nf-learner .nf-profile-account{background:var(--nf-profile-surface);border-radius:8px;padding:0;overflow:hidden}
.nf-learner .nf-profile-account>summary{cursor:pointer;padding:14px 16px;font-size:13px;color:var(--nf-profile-muted)}
.nf-learner .nf-profile-account .section{border-radius:0;box-shadow:none}
.nf-learner .nf-profile-account .menu__link{font-size:13px;padding-top:10px;padding-bottom:10px}
.nf-growth .nf-medal .nf-badge-art{width:54%;height:54%;position:relative;z-index:1;color:var(--nf-medal)}
.nf-growth .nf-medal.compact .nf-badge-art{width:57%;height:57%}
.nf-growth .nf-medal.has-art .nf-medal-plate{background:linear-gradient(145deg,#fff,var(--nf-soft))}
.nf-growth .nf-preview-slot .nf-badge-art{width:32px;height:32px}
.nf-growth .nf-pin-option .nf-medal.compact{width:30px;height:30px;margin:0 3px 5px 0;flex-shrink:0}
.nf-growth .nf-pin-option{align-items:center}
.nf-growth .nf-wall-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px}
.nf-growth .nf-wall-toolbar .nf-tabs{margin:0}
.nf-growth .nf-wall-category{display:flex;align-items:center;gap:7px;font-size:13px}
.nf-growth .nf-wall-category select,.nf-growth .nf-appearance-select{font:inherit;padding:7px 9px;border:1px solid #dbe3ec;border-radius:5px;background:#fff;color:#243347;width:auto;max-width:100%;margin:0}
.nf-growth .nf-appearance-label{display:block;font-size:13px;margin:14px 0 6px}
.nf-growth .nf-appearance-select{width:100%}
.nf-growth .nf-appearance-help{font-size:12px;color:#65778a;line-height:1.6;margin-top:10px}
.nf-growth .nf-wall-count{font-size:12px;color:#65778a;margin:10px 0 0}
.nf-growth .nf-wall-page-heading{font-size:22px;font-weight:600}
.nf-wall-page .nf-wall{grid-template-columns:repeat(4,minmax(0,1fr))}
.nf-wall-page .nf-badge>summary{padding:12px 8px}
.nf-wall-page .nf-badge>summary>.nf-medal{width:68px;height:68px;margin:6px 6px 14px}
.nf-wall-page .nf-badge h3{font-size:14px;line-height:1.5;font-weight:500}
.nf-wall-page .nf-badge>summary h3{min-height:42px;display:flex;align-items:center;justify-content:center}
.nf-wall-page .nf-badge[hidden]{display:none!important}
@media(max-width:1050px){.nf-learner .nf-profile-layout{grid-template-columns:minmax(0,1fr) 255px;gap:14px}.nf-learner .nf-profile-badge-grid{grid-template-columns:1fr}.nf-wall-page .nf-wall{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.nf-learner .nf-profile-layout{grid-template-columns:1fr;gap:14px}.nf-learner .nf-profile-main,.nf-learner .nf-profile-aside{gap:14px}.nf-learner .nf-profile-badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nf-learner .nf-profile-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.nf-learner .nf-profile-account{grid-column:1/-1}.nf-learner .nf-profile-person{padding:0 16px 16px;gap:14px}.nf-learner .nf-profile-avatar{width:72px;height:72px;flex-basis:72px;margin-top:-24px}.nf-learner .nf-profile-name-line h1{font-size:22px}.nf-learner .nf-profile-controls{max-width:140px}.nf-learner .nf-profile-stats strong{font-size:21px}}
@media(max-width:480px){.nf-learner .nf-profile-person{flex-wrap:wrap;gap:0 12px}.nf-learner .nf-profile-person-text{flex-basis:calc(100% - 90px)}.nf-learner .nf-profile-controls{max-width:none;flex-basis:100%;flex-direction:row;align-items:center;justify-content:space-between;padding-top:12px}.nf-learner .nf-profile-stats{padding:13px 0}.nf-learner .nf-profile-stats strong{font-size:19px}.nf-learner .nf-profile-stats span{font-size:10px}.nf-learner .nf-profile-stats strong small{font-size:11px}.nf-learner .nf-profile-banner{height:60px}.nf-learner .nf-profile-badge-grid{grid-template-columns:1fr}.nf-learner .nf-profile-aside{display:flex;flex-direction:column}.nf-learner .nf-profile-aside>.section,.nf-learner .nf-profile-account{width:100%}.nf-learner .nf-profile-section-heading{margin-bottom:12px}.nf-learner .nf-profile-meta{gap:4px 10px}.nf-learner .nf-profile-bio .section__body{padding:14px}.nf-wall-page .nf-wall{grid-template-columns:repeat(2,minmax(0,1fr))}.nf-growth .nf-wall-toolbar{align-items:stretch}.nf-growth .nf-wall-category{justify-content:space-between;width:100%}.nf-growth .nf-wall-category select{flex:1}.nf-learner .nf-profile .nf-profile-badge .nf-medal{width:44px;height:44px;flex-basis:44px}}
@media(pointer:coarse){.nf-learner .nf-profile-actions .profile-header__contact-item{width:40px;height:40px}.nf-learner .nf-profile-customize,.nf-learner .nf-profile-section-heading>a{min-height:40px;display:inline-flex;align-items:center}}
.theme--dark .nf-learner .nf-profile,.theme--dark .nf-profile{--nf-profile-surface:#202a38;--nf-profile-text:#e6edf5;--nf-profile-muted:#acb9c9;--nf-profile-border:#354255;--nf-accent-soft:#29384b;color-scheme:dark}
.theme--dark .nf-profile-theme-forest{--nf-accent:#74cfaf;--nf-accent-soft:#263d39}.theme--dark .nf-profile-theme-ocean{--nf-accent:#89bdf0}.theme--dark .nf-profile-theme-sunset{--nf-accent:#efb08c;--nf-accent-soft:#42372e}.theme--dark .nf-profile-theme-violet{--nf-accent:#c9aaf1;--nf-accent-soft:#38304a}.theme--dark .nf-profile-theme-graphite{--nf-accent:#b8c6d5}
@media(prefers-reduced-motion:reduce){.nf-profile-badge{transition:none!important}}
