/*
Theme Name: Notes Factory Pro v39 No Login Demo
Theme URI: https://example.com/notes-factory-pro
Author: OpenAI
Description: Responsive creator marketplace theme for selling PDF notes. Includes creator dashboard, note CRUD, admin review, profiles, earnings, withdrawals, secure downloads, and optional WooCommerce checkout integration.
Version: 39.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: notes-factory
*/

:root{
  --nf-navy:#062b50;
  --nf-navy-2:#0a3b68;
  --nf-blue:#087bf0;
  --nf-blue-2:#0f8cff;
  --nf-bg:#f4f8fc;
  --nf-card:#ffffff;
  --nf-text:#0c2f50;
  --nf-muted:#6d8194;
  --nf-border:#dce8f2;
  --nf-success:#16b981;
  --nf-warning:#f59e0b;
  --nf-danger:#ef4444;
  --nf-shadow:0 12px 30px rgba(6,43,80,.09);
  --nf-radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:var(--nf-bg);color:var(--nf-text);line-height:1.55}
a{color:var(--nf-blue);text-decoration:none}
a:hover{opacity:.9}
img{max-width:100%;height:auto}
button,input,textarea,select{font:inherit}

.nf-site{min-height:100vh}
.nf-shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}
.nf-sidebar{background:linear-gradient(180deg,#062b50 0%,#031f39 100%);color:#fff;padding:24px 16px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:18px}
.nf-brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:20px;letter-spacing:.2px}
.nf-logo-mark{width:42px;height:42px;border:2px solid rgba(255,255,255,.9);border-radius:10px;display:grid;place-items:center;font-size:21px;background:rgba(255,255,255,.04)}
.nf-nav{display:flex;flex-direction:column;gap:7px}
.nf-nav a{display:flex;align-items:center;gap:11px;color:#dcecff;padding:11px 12px;border-radius:11px;font-weight:600}
.nf-nav a:hover,.nf-nav a.is-active{background:var(--nf-blue);color:#fff}
.nf-sidebar-promo{margin-top:auto;padding:18px;border-radius:18px;background:linear-gradient(155deg,rgba(11,126,242,.22),rgba(52,211,153,.14));border:1px solid rgba(255,255,255,.12)}
.nf-main{min-width:0}
.nf-topbar{height:72px;background:var(--nf-navy);display:flex;align-items:center;padding:0 26px;gap:20px;position:sticky;top:0;z-index:20}
.nf-search{flex:1;max-width:620px;position:relative}
.nf-search input{width:100%;height:42px;border:none;border-radius:24px;background:#0b477a;color:#fff;padding:0 18px 0 42px;outline:none}
.nf-search input::placeholder{color:#b9d0e5}
.nf-search:before{content:'⌕';position:absolute;left:17px;top:8px;color:#d5e8f8;font-size:20px}
.nf-top-actions{margin-left:auto;display:flex;align-items:center;gap:12px;color:#fff}
.nf-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#e5eef7}
.nf-content{padding:24px;max-width:1480px;margin:auto}

.nf-card{background:var(--nf-card);border:1px solid var(--nf-border);border-radius:var(--nf-radius);box-shadow:var(--nf-shadow)}
.nf-card-pad{padding:20px}
.nf-grid{display:grid;gap:18px}
.nf-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.nf-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.nf-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}

.nf-hero{display:grid;grid-template-columns:1.35fr .65fr;gap:18px;align-items:stretch;margin-bottom:20px}
.nf-profile-head{display:flex;gap:18px;align-items:center;padding:22px}
.nf-profile-photo{width:82px;height:82px;border-radius:50%;object-fit:cover;border:4px solid #edf5ff}
.nf-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#e7f7ff;color:#0474cf}
.nf-badge.success{background:#e6fff4;color:#047857}
.nf-badge.warning{background:#fff6df;color:#b45309}
.nf-stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--nf-border)}
.nf-stat{padding:14px;text-align:center;border-right:1px solid var(--nf-border)}
.nf-stat:last-child{border-right:none}
.nf-stat b{display:block;font-size:20px}
.nf-stat span{font-size:12px;color:var(--nf-muted)}
.nf-promo-card{padding:24px;background:linear-gradient(135deg,#f2fff9,#fff9e8);display:flex;align-items:center;justify-content:space-between;min-height:100%}

.nf-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.nf-tab{border:1px solid var(--nf-border);background:#fff;border-radius:12px;padding:10px 14px;font-weight:700;color:var(--nf-text)}
.nf-tab.active{background:var(--nf-blue);color:#fff;border-color:var(--nf-blue)}

.nf-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px}
.nf-section-title h2,.nf-section-title h3{margin:0}
.nf-muted{color:var(--nf-muted)}
.nf-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;border-radius:12px;background:var(--nf-blue);color:#fff;padding:11px 16px;font-weight:800;cursor:pointer;box-shadow:0 7px 16px rgba(8,123,240,.18)}
.nf-btn:hover{color:#fff;transform:translateY(-1px)}
.nf-btn.secondary{background:#edf5ff;color:#0872cf;box-shadow:none}
.nf-btn.ghost{background:#fff;color:var(--nf-text);border:1px solid var(--nf-border);box-shadow:none}
.nf-btn.danger{background:var(--nf-danger)}
.nf-btn.small{padding:7px 10px;border-radius:9px;font-size:13px}

.nf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.nf-field{display:flex;flex-direction:column;gap:6px}
.nf-field.full{grid-column:1/-1}
.nf-field label{font-weight:700;font-size:13px}
.nf-field input,.nf-field textarea,.nf-field select{border:1px solid var(--nf-border);background:#fff;color:var(--nf-text);border-radius:11px;padding:11px 12px;outline:none}
.nf-field input:focus,.nf-field textarea:focus,.nf-field select:focus{border-color:#8cc8ff;box-shadow:0 0 0 3px #e6f3ff}
.nf-field textarea{min-height:110px;resize:vertical}
.nf-help{font-size:12px;color:var(--nf-muted)}

.nf-stepper{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}
.nf-step{padding:11px 13px;border:1px solid var(--nf-border);border-radius:12px;text-align:center;font-weight:800;background:#fff}
.nf-step.active{background:#eaf5ff;border-color:#a8d8ff;color:#056dcb}

.nf-upload-zone{border:2px dashed #c9dcec;border-radius:16px;padding:32px 18px;text-align:center;background:#fbfdff}
.nf-note-list{display:flex;flex-direction:column;gap:10px}
.nf-note-row{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--nf-border);border-radius:14px;background:#fff}
.nf-note-thumb{width:60px;height:74px;object-fit:cover;border-radius:9px;background:#eaf3fb}
.nf-note-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}

.nf-kpi{padding:18px;border-radius:16px;border:1px solid var(--nf-border);background:#fff}
.nf-kpi .value{font-size:25px;font-weight:900;margin-top:5px}
.nf-kpi .label{font-size:12px;color:var(--nf-muted)}
.nf-kpi.blue{background:#f0f8ff}.nf-kpi.green{background:#effcf6}.nf-kpi.yellow{background:#fff9ea}.nf-kpi.pink{background:#fff3fa}

.nf-table-wrap{overflow:auto;border:1px solid var(--nf-border);border-radius:14px}
.nf-table{width:100%;border-collapse:collapse;background:#fff;min-width:720px}
.nf-table th,.nf-table td{padding:12px 14px;border-bottom:1px solid var(--nf-border);text-align:left;vertical-align:middle}
.nf-table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--nf-muted);background:#f8fbfe}

.nf-notice{padding:12px 14px;border-radius:12px;margin:12px 0;border:1px solid}
.nf-notice.success{background:#effcf6;border-color:#b7efd4;color:#047857}
.nf-notice.error{background:#fff1f2;border-color:#fecdd3;color:#b91c1c}
.nf-notice.info{background:#eff7ff;border-color:#bfdbfe;color:#1d4ed8}

.nf-topic-hero{padding:22px;background:linear-gradient(120deg,#eaf6ff,#fff);margin-bottom:18px}
.nf-cover-wide{height:145px;border-radius:16px;background:linear-gradient(135deg,#7ec8ff,#d7f0ff 55%,#ffe7ad);position:relative;overflow:hidden}
.nf-cover-wide:after{content:'✦';position:absolute;right:40px;top:16px;font-size:80px;color:rgba(255,255,255,.65)}

.nf-market-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.nf-market-card{overflow:hidden}
.nf-market-card img{width:100%;height:175px;object-fit:cover;background:#e8f1f8}
.nf-market-card .body{padding:14px}
.nf-price{font-size:20px;font-weight:900}

.nf-bottom-nav{display:none}
.nf-mobile-menu-toggle{display:none}
.nf-empty{padding:30px;text-align:center;color:var(--nf-muted)}

@media(max-width:1100px){
 .nf-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nf-market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .nf-hero{grid-template-columns:1fr}
}
@media(max-width:820px){
 body{padding-bottom:68px}
 .nf-shell{display:block}
 .nf-sidebar{display:none}
 .nf-topbar{height:64px;padding:0 14px}
 .nf-search{display:none}
 .nf-mobile-menu-toggle{display:inline-flex}
 .nf-content{padding:14px}
 .nf-grid-2,.nf-grid-3,.nf-grid-4,.nf-form-grid,.nf-market-grid{grid-template-columns:1fr}
 .nf-profile-head{align-items:flex-start;padding:16px}
 .nf-profile-photo{width:66px;height:66px}
 .nf-stats{grid-template-columns:repeat(4,1fr)}
 .nf-stat{padding:10px 4px}.nf-stat b{font-size:17px}.nf-stat span{font-size:10px}
 .nf-note-row{grid-template-columns:48px minmax(0,1fr)}
 .nf-note-thumb{width:48px;height:60px}
 .nf-note-actions{grid-column:1/-1;justify-content:flex-start}
 .nf-stepper{grid-template-columns:1fr}
 .nf-bottom-nav{position:fixed;bottom:0;left:0;right:0;height:62px;background:#062b50;display:grid;grid-template-columns:repeat(4,1fr);z-index:100;border-top:1px solid rgba(255,255,255,.12)}
 .nf-bottom-nav a{color:#d4e7f7;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:11px;gap:2px}.nf-bottom-nav a.active{color:#20a1ff}
}

/* v2 dashboard-style home */
.nf-bell{font-size:22px;position:relative}.nf-bell i{position:absolute;width:7px;height:7px;background:#ff3b4d;border-radius:50%;right:0;top:0}
.nf-user-chip{display:flex;align-items:center;gap:9px;color:#fff}.nf-user-chip span{display:flex;flex-direction:column;line-height:1.15}.nf-user-chip small{font-size:10px;color:#c9dced;font-weight:500;margin-top:3px}.nf-rupee{width:38px;height:38px;border-radius:50%;background:#087bf0;color:white;display:grid;place-items:center;font-weight:900;font-size:20px}
.nf-promo-books{font-size:42px;margin-bottom:8px}.nf-sidebar-promo p{font-size:12px;color:#bdd8ef;margin-bottom:0}
.nf-exam-banner{padding:18px 22px;display:grid;grid-template-columns:115px minmax(0,1fr) 360px;align-items:center;gap:20px;margin-bottom:14px;background:linear-gradient(105deg,#eff8ff,#fff 62%,#f3fbff)}
.nf-exam-avatar{width:100px;height:100px;border-radius:50%;display:grid;place-items:center;font-size:46px;background:linear-gradient(145deg,#c5e8ff,#eef8ff);border:8px solid #eef7fd}.nf-pill-soft{display:inline-block;padding:4px 10px;border-radius:20px;background:#dff3ff;color:#0a72c5;font-size:11px;font-weight:800}.nf-exam-copy h1{margin:3px 0 0;font-size:28px}.nf-exam-copy p{margin:0;color:#5e7a91}.nf-exam-meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:8px;font-size:12px}.nf-active-dot{color:#0d9f68;font-weight:800}.nf-progress-box{border-radius:16px;background:#f5fbff;padding:16px;display:flex;gap:14px;align-items:center;border:1px solid #dbeefc}.nf-progress-box small{display:block;color:#6e8497}.nf-progress-ring{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:18px;border:7px solid #0b83f6;background:#fff}.nf-progress{height:7px;background:#d8eaf7;border-radius:10px;margin-top:10px;overflow:hidden;min-width:180px}.nf-progress i{display:block;height:100%;background:#188af3;border-radius:10px}
.nf-workspace-card{overflow:hidden}.nf-workspace-title{display:flex;align-items:center;gap:14px;padding:16px 20px;border-bottom:1px solid var(--nf-border)}.nf-topic-icon{width:48px;height:48px;border-radius:12px;background:#0b83f6;color:#fff;display:grid;place-items:center;font-size:24px}.nf-workspace-title h2{margin:0;font-size:24px}.nf-workspace-title p{margin:0;color:#6f8497;font-size:12px}.nf-demand{margin-left:auto;text-align:right;color:#ef4d3f;font-weight:800;font-size:12px}.nf-demand small{display:block;color:#6d8194;font-weight:500;margin-top:3px}.nf-stepper-home{padding:0 20px}.nf-home-builder{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr);gap:14px;padding:0 20px 16px}.nf-builder-main{display:flex;flex-direction:column;gap:12px}.nf-builder-side{display:flex;flex-direction:column;gap:10px}.nf-demo-upload{padding:24px}.nf-demo-upload>*{display:block;margin:4px auto}.nf-cloud{font-size:34px;color:#0a82ef}.nf-form-preview{border:1px solid var(--nf-border);border-radius:14px;padding:14px;position:relative}.nf-form-preview h3{display:inline-block;margin:0 0 12px 4px}.nf-form-preview label{display:block;font-size:12px;font-weight:800;margin:8px 0 5px}.nf-num{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#0b83f6;color:#fff;font-weight:900}.nf-fake-input,.nf-fake-textarea,.nf-preview-row span{border:1px solid #dce8f2;background:#fff;border-radius:8px;padding:9px;color:#567087;font-size:12px}.nf-fake-textarea{min-height:66px}.nf-preview-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.nf-cover-preview{display:flex;gap:12px;align-items:center}.nf-cover-preview img{width:92px;height:116px;object-fit:cover;border-radius:9px}.nf-cover-preview>div{display:flex;gap:7px;flex-wrap:wrap}.nf-cover-preview small{width:100%;color:#7a90a3}.nf-info-card{border-radius:13px;padding:14px;border:1px solid}.nf-info-card h3{font-size:14px;margin:0 0 7px}.nf-info-card p,.nf-info-card li,.nf-info-card small{font-size:11px;color:#4f6c84}.nf-info-card ul{margin:5px 0 0;padding-left:18px}.nf-info-card.blue{background:#eff8ff;border-color:#cfe8fb}.nf-info-card.violet{background:#f7f1ff;border-color:#e5d5ff}.nf-info-card.cyan{background:#effcfc;border-color:#c9eeee}.nf-info-card.rose{background:#fff2f4;border-color:#ffd3da}.nf-info-card.amber{background:#fff9e8;border-color:#f7e6b2}.nf-price-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.nf-price-options span{background:#fff;border:1px solid #e4eaf0;border-radius:8px;padding:9px 6px;font-size:10px}.nf-price-options .selected{border-color:#70b6f0;background:#f2f9ff}.nf-builder-footer{padding:14px 20px;border-top:1px solid var(--nf-border);display:flex;align-items:center;justify-content:space-between;gap:12px}.nf-zero{display:flex;align-items:center;gap:8px;color:#0c8a64}.nf-zero small{display:block;color:#6d8194}.nf-home-section{margin-top:24px}.nf-home-section>.nf-section-title{padding:0 2px}
.nf-filterbar{display:grid;grid-template-columns:minmax(200px,1fr) 180px 180px auto;gap:10px;margin-bottom:16px}.nf-filterbar input,.nf-filterbar select{border:1px solid var(--nf-border);border-radius:11px;padding:10px 12px;background:#fff}.nf-card-img{position:relative}.nf-free-tag{position:absolute;top:10px;right:10px;background:#12a875;color:#fff;font-weight:900;font-size:10px;padding:5px 8px;border-radius:8px}.nf-market-meta{display:flex;align-items:center;justify-content:space-between;color:#6e8497;font-size:11px}.nf-market-card h3{margin:8px 0;font-size:16px}.nf-market-bottom{display:flex;justify-content:space-between;align-items:end;gap:10px}.nf-market-bottom small{color:#75899b}.nf-market-card{transition:.2s}.nf-market-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(6,43,80,.13)}
.nf-zone-head{padding:24px;display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(120deg,#eef8ff,#fff)}.nf-zone-head h1{margin:7px 0 2px}.nf-zone-head p{margin:0;color:#667f94}.nf-zone-grid{margin-top:18px}.nf-zone-card{padding:20px;display:flex;flex-direction:column;gap:7px;color:var(--nf-text)}.nf-zone-card b{font-size:17px}.nf-zone-card span{color:#6d8194;font-size:13px}
.nf-charcount{align-self:flex-end;color:#91a2b2;font-size:10px}
@media(max-width:1050px){.nf-exam-banner{grid-template-columns:80px 1fr}.nf-progress-box{grid-column:1/-1}.nf-home-builder{grid-template-columns:1fr}.nf-builder-side{display:grid;grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.nf-top-actions .nf-user-chip span,.nf-top-actions .nf-bell{display:none}.nf-exam-banner{grid-template-columns:64px 1fr;padding:14px}.nf-exam-avatar{width:58px;height:58px;font-size:28px;border-width:4px}.nf-exam-copy h1{font-size:20px}.nf-exam-meta{font-size:10px;gap:8px}.nf-progress-box{padding:12px}.nf-workspace-title{padding:13px}.nf-workspace-title h2{font-size:18px}.nf-demand{font-size:10px}.nf-stepper-home{grid-template-columns:repeat(3,1fr);padding:0 10px;gap:5px}.nf-stepper-home .nf-step{font-size:10px;padding:8px 4px}.nf-home-builder{padding:0 10px 12px}.nf-builder-side{display:flex}.nf-builder-footer{align-items:stretch;flex-direction:column}.nf-builder-footer>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:7px}.nf-preview-row{grid-template-columns:1fr}.nf-price-options{grid-template-columns:1fr 1fr 1fr}.nf-filterbar{grid-template-columns:1fr 1fr}.nf-filterbar input{grid-column:1/-1}.nf-filterbar button{grid-column:1/-1}.nf-zone-head{align-items:flex-start;flex-direction:column}}
.nf-note-detail-head{padding:22px;display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px}.nf-note-detail-head h1{margin:8px 0 3px}.nf-note-detail-head p{margin:0;color:#6d8194}.nf-detail-stats{display:flex;gap:10px}.nf-detail-stats span{min-width:90px;background:#f2f8fd;border:1px solid #e1ebf3;border-radius:12px;padding:10px 12px;font-weight:900}.nf-detail-stats small{display:block;color:#7d91a4;font-size:10px;font-weight:500}.nf-detail-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr)}.nf-detail-cover{width:100%;max-height:560px;object-fit:contain;border-radius:15px;background:#edf4f9}.nf-buy-card{height:max-content;position:sticky;top:95px}.nf-big-price{font-size:40px;margin:10px 0}.nf-full{width:100%;margin-bottom:10px}.nf-zero-box{margin-top:12px;padding:12px;border-radius:12px;background:#effcf6}
@media(max-width:820px){.nf-note-detail-head{align-items:flex-start;flex-direction:column}.nf-detail-grid{grid-template-columns:1fr}.nf-buy-card{position:static}}

/* v4 full-page designs */
.nf-page-hero{padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(120deg,#eef8ff 0%,#fff 58%,#f4fbff 100%);margin-bottom:18px}.nf-page-hero h1{margin:7px 0 4px;font-size:30px}.nf-page-hero p{margin:0;color:#678097}.nf-page-kpis{margin-bottom:18px}.nf-section-space{margin-top:18px}.nf-wallet-badge,.nf-support-hero{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:#0b83f6;color:#fff;font-size:30px;font-weight:900;box-shadow:0 12px 28px rgba(11,131,246,.22)}
.nf-demo-empty{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;background:#f7fbfe;border:1px dashed #bcd7eb;border-radius:14px;padding:18px;margin-top:12px}.nf-demo-empty-icon{font-size:34px}.nf-demo-empty h3{margin:0 0 4px}.nf-demo-empty p{margin:0;color:#6f8497}
.nf-profile-banner{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(110deg,#fff,#f5fbff)}.nf-profile-identity{display:flex;align-items:center;gap:18px}.nf-profile-photo.xl{width:96px;height:96px;border:6px solid #e9f5fe}.nf-profile-identity h1{margin:6px 0 4px;font-size:28px}.nf-profile-identity p{margin:0;color:#657d91}.nf-inline-badges{display:flex;gap:7px;flex-wrap:wrap}.nf-profile-stats{display:grid;grid-template-columns:repeat(4,85px);text-align:center}.nf-profile-stats>div{border-left:1px solid var(--nf-border);padding:7px}.nf-profile-stats b{display:block;font-size:22px}.nf-profile-stats span{font-size:11px;color:#6d8397}.nf-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.nf-tabs span{padding:10px 16px;border-radius:11px;background:#f0f5f9;color:#567085;font-weight:700;font-size:12px}.nf-tabs .active{background:#0b83f6;color:#fff}.nf-profile-layout{grid-template-columns:minmax(260px,.78fr) minmax(300px,1fr) minmax(300px,1fr);align-items:start}.nf-profile-stack{display:flex;flex-direction:column;gap:18px}.nf-cover-strip{height:138px;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#4da3d8,#d4edf8);position:relative;margin-bottom:18px}.nf-cover-scene{position:absolute;inset:0;display:grid;place-items:center;font-size:64px}.nf-cover-strip img{position:absolute;left:18px;bottom:-4px;width:76px;height:76px;border-radius:50%;border:5px solid white;object-fit:cover}.nf-cover-strip span{position:absolute;right:12px;bottom:12px;background:#082f53;color:#fff;border-radius:18px;padding:7px 10px;font-size:10px}.nf-account-list{display:flex;flex-direction:column}.nf-account-list>div{display:flex;justify-content:space-between;gap:16px;padding:14px 2px;border-bottom:1px solid #edf2f6}.nf-account-list span{color:#6d8295}.nf-account-list b{text-align:right}.nf-activity{display:flex;flex-direction:column}.nf-activity>div{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #edf2f6}.nf-activity i{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#edf8ff;color:#0b83f6;font-style:normal;font-weight:900}.nf-activity span{display:flex;flex-direction:column}.nf-activity small{color:#8497a8;margin-top:3px}.nf-activity strong{color:#0c9d6d}
.nf-earn-grid{grid-template-columns:minmax(0,1.55fr) minmax(280px,.55fr);align-items:start}.nf-sales-table{display:flex;flex-direction:column}.nf-sales-table>div{display:grid;grid-template-columns:1.7fr .65fr .75fr .4fr;gap:12px;align-items:center;padding:13px 5px;border-bottom:1px solid #edf2f6}.nf-sales-table .head{font-size:11px;text-transform:uppercase;color:#7a8fa1;font-weight:800;background:#f7fafc;border-radius:9px}.nf-sales-table span{font-size:12px}.nf-sales-table span:first-child{display:flex;flex-direction:column}.nf-sales-table small{color:#8395a5;margin-top:3px}.nf-sales-table strong{text-align:right;color:#0b9669}.nf-balance-panel{border-radius:16px;background:linear-gradient(135deg,#0b83f6,#0758b8);color:#fff;padding:20px;margin:10px 0 18px}.nf-balance-panel small,.nf-balance-panel span{display:block;opacity:.8}.nf-balance-panel b{display:block;font-size:36px;margin:4px 0}
.nf-support-card{padding:22px}.nf-support-card>span{width:46px;height:46px;border-radius:13px;background:#eaf6ff;color:#087de8;display:grid;place-items:center;font-size:22px;font-weight:900}.nf-support-card h3{margin:14px 0 6px}.nf-support-card p{color:#6b8194;min-height:42px}.nf-support-card a{font-weight:800;color:#087de8}.nf-help-grid{grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);align-items:start}.nf-help-grid details{border-bottom:1px solid #e8eef3;padding:14px 0}.nf-help-grid summary{cursor:pointer;font-weight:800}.nf-help-grid details p{color:#687f93;line-height:1.6}.nf-checklist{display:flex;flex-direction:column;gap:10px;margin:12px 0 18px}.nf-checklist span{padding:10px 12px;background:#f1fbf7;border:1px solid #d0efdf;border-radius:10px;color:#187655;font-weight:700;font-size:12px}
@media(max-width:1200px){.nf-profile-layout{grid-template-columns:1fr 1fr}.nf-profile-layout>section:first-child{grid-row:span 2}.nf-profile-stats{grid-template-columns:repeat(4,70px)}}
@media(max-width:820px){.nf-page-hero,.nf-profile-banner{align-items:flex-start;flex-direction:column}.nf-page-hero h1{font-size:24px}.nf-profile-identity{align-items:flex-start}.nf-profile-stats{width:100%;grid-template-columns:repeat(4,1fr)}.nf-profile-layout,.nf-earn-grid,.nf-help-grid{grid-template-columns:1fr}.nf-profile-layout>section:first-child{grid-row:auto}.nf-sales-table>div{grid-template-columns:1.5fr .75fr .5fr}.nf-sales-table>div span:nth-child(3){display:none}.nf-demo-empty{grid-template-columns:auto 1fr}.nf-demo-empty .nf-btn{grid-column:1/-1}.nf-wallet-badge,.nf-support-hero{display:none}}


/* v6 flexible academic taxonomy UI */
.nf-optional{font-weight:500;color:var(--nf-muted);font-size:12px}
.nf-flexible-note{display:flex;flex-direction:column;gap:4px;padding:13px 15px;border:1px solid #bfe3ff;border-radius:12px;background:#f1f9ff;color:#145887}
.nf-flexible-note b{color:#075ea8}
.nf-filterbar{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(150px,1fr)) auto;gap:10px;margin:16px 0 20px}
.nf-filterbar input,.nf-filterbar select{min-width:0;border:1px solid var(--nf-border);border-radius:11px;padding:10px 12px;background:#fff;color:var(--nf-text)}
@media(max-width:1000px){.nf-filterbar{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.nf-filterbar{grid-template-columns:1fr}}

/* === v7 exact reference home === */
body.home{background:#05284a}
body.home .nf-content{max-width:none;padding:10px 12px 18px;background:#f4f8fb;min-height:calc(100vh - 64px)}
body.home .nf-sidebar{padding:14px 12px 20px;background:#05284a;border-right:1px solid rgba(255,255,255,.08)}
body.home .nf-sidebar-promo{display:none!important}
body.home .nf-shell{grid-template-columns:138px minmax(0,1fr)}
.nf-brand-image{display:block;width:116px;padding:2px 4px 8px}.nf-brand-image img{width:100%;height:auto;display:block}
body.home .nf-nav{gap:2px}.nf-nav a{font-size:12px;padding:10px 10px;border-radius:5px;font-weight:600}.nf-nav a span{display:inline-block;width:18px;text-align:center;font-size:15px}.nf-nav a.is-active{background:#087cf0}
body.home .nf-topbar{height:64px;padding:0 28px 0 94px;background:#05284a}.nf-search{max-width:356px}.nf-search input{height:34px;border-radius:18px;background:#0b4778;font-size:11px;padding-left:38px}.nf-search:before{font-size:17px;top:5px}.nf-top-actions{gap:13px}.nf-user-chip{display:flex;align-items:center;gap:8px;color:white}.nf-user-chip span:nth-child(2){display:flex;flex-direction:column;line-height:1.12}.nf-user-chip b{font-size:10px;color:#fff}.nf-user-chip small{font-size:8px;color:#d7e8f6}.nf-user-chip em{font-style:normal;font-size:10px;color:#cce0ef}.nf-avatar-letter{display:grid;place-items:center;background:#1087f8!important;color:#fff;font-weight:800;font-size:17px}.nf-bell{font-size:22px;position:relative}.nf-bell i{position:absolute;width:7px;height:7px;border-radius:50%;background:#ff3b4f;right:-2px;top:1px}.nf-rupee{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#0b83f6;border:2px solid #2f9eff;color:#fff;font-weight:900;box-shadow:0 0 0 4px rgba(12,131,246,.12)}
.nf-mobile-logo{display:none}
.nf-home-reference{font-size:12px;color:#0b3458}.nf-back-topics{display:inline-block;color:#173f60;font-size:11px;font-weight:700;margin:0 0 7px 5px}
.nf-ref-exam-card{display:grid;grid-template-columns:92px minmax(0,1fr) 245px;align-items:center;gap:14px;background:linear-gradient(90deg,#eef9ff,#fff);border:1px solid #d8e9f5;border-radius:10px;padding:12px 18px;margin-bottom:8px;min-height:117px;box-shadow:0 2px 7px rgba(5,45,81,.06)}
.nf-ref-temple{width:76px;height:76px;border-radius:50%;overflow:hidden;background:#e3f4ff}.nf-ref-temple img{width:100%;height:100%;object-fit:cover}.nf-ref-region{display:inline-block;background:#d9f0ff;color:#0873c8;border-radius:12px;padding:2px 8px;font-size:9px;font-weight:800}.nf-ref-exam-copy h1{margin:2px 0 0;font-size:22px;line-height:1.1;color:#113f67}.nf-ref-exam-copy p{margin:2px 0 6px;color:#517290;font-size:11px}.nf-ref-meta{display:flex;flex-wrap:wrap;gap:13px;font-size:9px;color:#173e60}.nf-ref-meta .active{color:#049d62;font-weight:800}.nf-ref-progress-card{display:grid;grid-template-columns:62px 1fr;align-items:center;gap:12px;background:#f8fcff;border:1px solid #d9eaf6;border-radius:11px;padding:12px 15px}.nf-ref-ring{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#087cf0 0 50%,#dcecf7 50% 100%);position:relative}.nf-ref-ring:before{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}.nf-ref-ring span{position:relative;font-size:16px;font-weight:900}.nf-ref-progress-copy b{display:block;font-size:11px}.nf-ref-progress-copy span{display:block;font-size:9px;color:#668198;margin:1px 0 7px}.nf-ref-bar{height:6px;border-radius:999px;background:#d7eaf7;overflow:hidden}.nf-ref-bar i{display:block;height:100%;width:50%;background:#0a83f5;border-radius:999px}
.nf-ref-workspace{background:#fff;border:1px solid #d7e6f1;border-radius:10px;box-shadow:0 2px 8px rgba(5,45,81,.06);overflow:hidden}.nf-ref-topic-head{display:flex;align-items:center;justify-content:space-between;padding:11px 15px;border-bottom:1px solid #dce8f1}.nf-ref-topic-left{display:flex;align-items:center;gap:12px}.nf-ref-topic-icon{width:42px;height:42px;border-radius:9px;background:#087cf0;color:#fff;display:grid;place-items:center;font-size:19px}.nf-ref-topic-left h2{margin:0;font-size:18px;color:#0a3153}.nf-ref-topic-left p{margin:1px 0 0;color:#6e879c;font-size:9px}.nf-ref-demand{text-align:right;display:flex;flex-direction:column}.nf-ref-demand b{color:#f04f38;font-size:10px}.nf-ref-demand span{font-size:8px;color:#6f8598;margin-top:3px}
.nf-ref-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:9px 15px 0}.nf-ref-steps button{height:34px;border:1px solid #d6e4ef;border-radius:16px;background:#fff;color:#173b5b;font-size:10px;font-weight:800}.nf-ref-steps button.active{background:#0b83f6;color:#fff;border-color:#0b83f6}
.nf-ref-columns{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(320px,.95fr);gap:12px;padding:10px 15px}.nf-ref-leftcol,.nf-ref-rightcol{display:flex;flex-direction:column;gap:8px}.nf-ref-block{border:1px solid #d8e7f2;border-radius:9px;padding:10px;background:#fff}.nf-ref-block-title{display:flex;align-items:flex-start;gap:8px;margin-bottom:7px}.nf-ref-block-title>div{display:flex;flex-direction:column}.nf-ref-block-title b{font-size:10px;color:#123c60}.nf-ref-block-title small{font-size:8px;color:#7890a4}.nf-ref-stepnum{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#087cf0;color:#fff;font-size:11px;font-weight:900;flex:0 0 auto}.nf-ref-drop{min-height:112px;border:1px dashed #9dc6e6;border-radius:7px;background:#fcfeff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;text-align:center;cursor:pointer}.nf-ref-drop .nf-ref-cloud{color:#0b83f6;font-size:24px}.nf-ref-drop b{font-size:10px}.nf-ref-drop em{font-size:9px;font-style:normal}.nf-ref-bluebtn{display:inline-flex;align-items:center;justify-content:center;border-radius:15px;background:#0b83f6;color:#fff;padding:6px 18px;font-weight:800;font-size:9px}.nf-ref-bluebtn.small{padding:6px 14px}.nf-ref-drop small{font-size:8px;color:#6f879b}.nf-ref-details-block label,.nf-ref-selects label{display:block;font-size:8px;font-weight:800;margin:5px 0 2px}.nf-ref-field,.nf-ref-textarea,.nf-ref-selects span{border:1px solid #d7e5f0;border-radius:5px;background:#fff;color:#304f69}.nf-ref-field{height:25px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;font-size:8px}.nf-ref-field span,.nf-ref-textarea span{color:#94a7b7;font-size:7px}.nf-ref-textarea{min-height:62px;padding:7px 8px;font-size:8px;line-height:1.5;position:relative}.nf-ref-textarea span{position:absolute;right:6px;bottom:4px}.nf-ref-selects{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.nf-ref-selects span{height:26px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;font-size:8px}.nf-ref-cover-row{display:flex;align-items:center;gap:12px}.nf-ref-cover-row img{width:77px;height:82px;object-fit:cover;border-radius:4px}.nf-ref-cover-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.nf-ref-softbtn{border:1px solid #cfe2f0;border-radius:15px;padding:5px 10px;color:#397092;font-size:8px;font-weight:700;background:#f9fcfe}.nf-ref-cover-actions small{width:100%;font-size:7px;color:#7e93a5}.nf-ref-zero{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;border:1px solid #ccefdc;background:#f0fff8;border-radius:8px;padding:8px 10px;color:#0a6b4b}.nf-ref-zero>span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#12a879;color:white}.nf-ref-zero b{font-size:9px}.nf-ref-zero small{display:block;font-size:7px;color:#5f8778}.nf-ref-zero em{font-style:normal;font-size:8px;color:#358264;transform:rotate(-7deg)}
.nf-ref-sidecard{border:1px solid;border-radius:9px;padding:9px 11px}.nf-ref-sidecard h3{margin:0 0 5px;font-size:9px;color:#143e60}.nf-ref-sidecard h3 small{font-size:7px}.nf-ref-sidecard p,.nf-ref-sidecard li,.nf-ref-sidecard label{font-size:7.7px;line-height:1.45;color:#45657e}.nf-ref-sidecard p{margin:0 0 5px}.nf-ref-sidecard ul{margin:0 0 4px;padding-left:15px}.nf-ref-sidecard b{font-size:8px}.nf-ref-sidecard.blue{background:#eef8ff;border-color:#cde7f9}.nf-ref-sidecard.violet{background:#f7f0ff;border-color:#e3cffb}.nf-ref-sidecard.cyan{background:#effdff;border-color:#c6edf1}.nf-ref-sidecard.rose{background:#fff3f6;border-color:#f7d3dc}.nf-ref-sidecard.amber{background:#fff9e8;border-color:#f4e4ad}.nf-ref-sidecard.cyan em{font-style:normal;font-size:7px;margin-left:6px;color:#72889b}.nf-ref-pricegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.nf-ref-pricegrid>span{border:1px solid #e1e8ee;border-radius:6px;background:#fff;padding:5px;font-size:7px;font-weight:800}.nf-ref-pricegrid small{display:block;font-size:6px;font-weight:500;color:#8a9dad;margin-top:2px}.nf-ref-pricegrid .selected{border-color:#63aef2;background:#f7fbff}.nf-ref-price-note{margin-top:5px;padding:5px 7px;background:#fff3c9;border-radius:5px;font-size:6.5px;color:#9b6910}.nf-ref-sidecard.amber label{display:block;margin:3px 0}
.nf-ref-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 15px 12px}.nf-ref-actions a{min-width:145px;text-align:center;border-radius:5px;padding:8px 13px;font-size:9px;font-weight:800}.nf-ref-actions .preview{background:#067de9;color:#fff}.nf-ref-actions .continue{background:#0b83f6;color:#fff}
body.home .nf-bottom-nav{display:none}
@media (max-width:900px){body.home .nf-shell{grid-template-columns:1fr}body.home .nf-sidebar{display:none}body.home .nf-topbar{height:62px;padding:0 12px}.nf-mobile-logo{display:block;width:110px}.nf-mobile-logo img{width:100%;display:block}.nf-search{display:none}.nf-ref-exam-card{grid-template-columns:55px 1fr;padding:10px}.nf-ref-temple{width:48px;height:48px}.nf-ref-progress-card{grid-column:1/-1}.nf-ref-columns{grid-template-columns:1fr}.nf-ref-topic-head{align-items:flex-start}.nf-ref-topic-left h2{font-size:15px}.nf-ref-demand{font-size:8px}.nf-ref-steps{gap:4px;padding:8px 8px 0}.nf-ref-steps button{font-size:8px;padding:0 3px}.nf-ref-columns{padding:8px}.nf-ref-actions{padding:0 8px 10px}.nf-ref-actions a{flex:1;min-width:0}.nf-ref-rightcol .nf-ref-sidecard{padding:9px}.nf-ref-selects{grid-template-columns:1fr 1fr 1fr}.nf-ref-zero{grid-template-columns:28px 1fr}.nf-ref-zero em{display:none}body.home .nf-bottom-nav{display:grid}}
@media (max-width:560px){body.home .nf-content{padding:6px;background:#fff}.nf-home-reference{font-size:11px}.nf-back-topics{display:none}.nf-ref-exam-card{border-radius:0;margin:0 -6px 5px;border-left:0;border-right:0}.nf-ref-exam-copy h1{font-size:17px}.nf-ref-exam-copy p{font-size:9px}.nf-ref-meta{display:none}.nf-ref-progress-card{padding:8px 10px}.nf-ref-workspace{border-radius:0;margin:0 -6px;border-left:0;border-right:0}.nf-ref-topic-head{padding:9px 8px}.nf-ref-topic-icon{display:none}.nf-ref-topic-left h2{font-size:14px}.nf-ref-topic-left p{font-size:8px}.nf-ref-demand span{font-size:6.5px}.nf-ref-steps button{height:30px;border-radius:14px;font-size:7px}.nf-ref-cover-row img{width:64px;height:70px}.nf-ref-sidecard.blue,.nf-ref-sidecard.violet,.nf-ref-sidecard.cyan,.nf-ref-sidecard.rose,.nf-ref-sidecard.amber{background:#fff;border-color:#dce8f1}.nf-ref-sidecard{padding:8px}.nf-ref-sidecard p,.nf-ref-sidecard ul,.nf-ref-sidecard>label,.nf-ref-sidecard>.nf-ref-pricegrid,.nf-ref-sidecard>.nf-ref-price-note,.nf-ref-sidecard>.nf-ref-bluebtn,.nf-ref-sidecard>em{display:none}.nf-ref-sidecard h3{margin:0}.nf-ref-rightcol{gap:4px}.nf-ref-actions{position:sticky;bottom:57px;background:#fff;padding-top:6px}.nf-ref-actions .preview{display:none}.nf-ref-actions a{padding:9px}.nf-ref-zero{display:none}}


/* ===== v8 home page refinement overrides ===== */
body.home .nf-content{max-width:1500px;padding:20px 22px 28px}
body.home .nf-home-reference{font-size:14px;color:#12395d}
body.home .nf-back-topics{font-size:14px;margin:0 0 10px 8px;color:#163e61}
body.home .nf-ref-exam-card{grid-template-columns:120px minmax(0,1fr) 360px;gap:22px;padding:22px 28px;margin-bottom:14px;min-height:160px;border-radius:18px;box-shadow:0 8px 24px rgba(5,45,81,.07)}
body.home .nf-ref-temple{width:104px;height:104px;background:#e7f5ff}
body.home .nf-ref-region{padding:5px 14px;border-radius:999px;font-size:13px;line-height:1;font-weight:800}
body.home .nf-ref-exam-copy h1{margin:8px 0 4px;font-size:52px;line-height:1.02;letter-spacing:-.5px;color:#123e67}
body.home .nf-ref-exam-copy p{margin:0 0 12px;font-size:20px;line-height:1.35;color:#567491}
body.home .nf-ref-meta{gap:22px;font-size:15px;line-height:1.2;align-items:center}
body.home .nf-ref-meta .active{display:inline-flex;align-items:center;gap:6px;color:#0ca160;font-weight:800}
body.home .nf-ref-progress-card{grid-template-columns:94px 1fr;gap:18px;padding:18px 22px;border-radius:18px;background:#fbfdff}
body.home .nf-ref-ring{width:78px;height:78px}
body.home .nf-ref-ring:before{inset:10px}
body.home .nf-ref-ring span{font-size:31px;line-height:1}
body.home .nf-ref-progress-copy b{font-size:18px;color:#113e67}
body.home .nf-ref-progress-copy span{font-size:14px;margin:4px 0 12px}
body.home .nf-ref-bar{height:10px}

body.home .nf-ref-workspace{border-radius:18px;box-shadow:0 8px 24px rgba(5,45,81,.07)}
body.home .nf-ref-topic-head{padding:18px 22px;border-bottom:1px solid #d8e7f2}
body.home .nf-ref-topic-left{gap:16px}
body.home .nf-ref-topic-icon{width:56px;height:56px;border-radius:14px;font-size:24px}
body.home .nf-ref-topic-left h2{font-size:34px;line-height:1.1;margin:0 0 6px;color:#0e3357}
body.home .nf-ref-topic-left p{font-size:18px;line-height:1.2;margin:0;color:#6a8095}
body.home .nf-ref-demand b{font-size:16px;line-height:1.2;color:#f35c3d}
body.home .nf-ref-demand span{font-size:14px;line-height:1.2;margin-top:6px}

body.home .nf-ref-steps{gap:18px;padding:18px 22px 0}
body.home .nf-ref-steps button{height:62px;border-radius:24px;font-size:17px;font-weight:800;border-color:#d6e4ee;background:#fff;color:#153c5f}
body.home .nf-ref-steps button.active{background:#1481f0;border-color:#1481f0;color:#fff;box-shadow:0 10px 20px rgba(20,129,240,.18)}

body.home .nf-ref-columns{grid-template-columns:minmax(0,1.72fr) minmax(360px,.95fr);gap:18px;padding:16px 22px 18px}
body.home .nf-ref-leftcol,body.home .nf-ref-rightcol{gap:14px}
body.home .nf-ref-block{padding:18px;border-radius:16px}
body.home .nf-ref-block-title{gap:12px;margin-bottom:12px}
body.home .nf-ref-stepnum{width:30px;height:30px;font-size:16px}
body.home .nf-ref-block-title b{font-size:22px;line-height:1.2;color:#123e62}
body.home .nf-ref-block-title small{font-size:14px;line-height:1.35;color:#7890a4}
body.home .nf-ref-drop{min-height:205px;border-radius:14px;gap:8px;border-width:2px}
body.home .nf-ref-drop .nf-ref-cloud{font-size:42px}
body.home .nf-ref-drop b{font-size:24px;line-height:1.25;color:#123d61}
body.home .nf-ref-drop em{font-size:20px;color:#48657c}
body.home .nf-ref-bluebtn{padding:12px 28px;border-radius:18px;font-size:17px}
body.home .nf-ref-bluebtn.small{padding:11px 18px;font-size:16px}
body.home .nf-ref-drop small{font-size:14px;line-height:1.35}

body.home .nf-ref-details-block label,body.home .nf-ref-selects label{font-size:15px;margin:10px 0 6px;color:#173b5d}
body.home .nf-ref-field,body.home .nf-ref-textarea,body.home .nf-ref-selects span{border-radius:10px;border-color:#d7e5f0}
body.home .nf-ref-field{height:48px;padding:0 14px;font-size:15px}
body.home .nf-ref-field span,body.home .nf-ref-textarea span{font-size:12px}
body.home .nf-ref-textarea{min-height:126px;padding:12px 14px 26px;font-size:15px}
body.home .nf-ref-selects{gap:12px;margin-top:6px}
body.home .nf-ref-selects span{height:50px;padding:0 14px;font-size:15px}
body.home .nf-ref-cover-row{gap:16px}
body.home .nf-ref-cover-row img{width:120px;height:142px;border-radius:8px}
body.home .nf-ref-cover-actions{gap:10px}
body.home .nf-ref-softbtn{padding:10px 16px;border-radius:18px;font-size:14px}
body.home .nf-ref-cover-actions small{font-size:13px}
body.home .nf-ref-zero{grid-template-columns:42px 1fr auto;gap:12px;padding:12px 14px;border-radius:14px}
body.home .nf-ref-zero>span{width:36px;height:36px}
body.home .nf-ref-zero b{font-size:16px}
body.home .nf-ref-zero small{font-size:12px;line-height:1.4}
body.home .nf-ref-zero em{font-size:13px}

body.home .nf-ref-sidecard{padding:16px 18px;border-radius:16px}
body.home .nf-ref-sidecard h3{margin:0 0 10px;font-size:19px;line-height:1.25;color:#123d61}
body.home .nf-ref-sidecard h3 small{font-size:14px}
body.home .nf-ref-sidecard p,body.home .nf-ref-sidecard li,body.home .nf-ref-sidecard label{font-size:14px;line-height:1.55;color:#45657e}
body.home .nf-ref-sidecard ul{margin:0 0 8px;padding-left:18px}
body.home .nf-ref-sidecard b{font-size:14px}
body.home .nf-ref-pricegrid{gap:8px}
body.home .nf-ref-pricegrid>span{padding:10px 10px 8px;border-radius:10px;font-size:13px}
body.home .nf-ref-pricegrid small{font-size:11px;margin-top:5px;line-height:1.3}
body.home .nf-ref-price-note{margin-top:10px;padding:9px 10px;border-radius:8px;font-size:12px;line-height:1.4}
body.home .nf-ref-sidecard.cyan em{font-size:12px;margin-left:10px}
body.home .nf-ref-sidecard.amber label{margin:7px 0}

body.home .nf-ref-actions{gap:12px;padding:0 22px 20px}
body.home .nf-ref-actions a{min-width:205px;border-radius:10px;padding:13px 18px;font-size:16px}

@media (max-width:1200px){
 body.home .nf-ref-exam-card{grid-template-columns:96px minmax(0,1fr);padding:18px 20px}
 body.home .nf-ref-progress-card{grid-column:1/-1;max-width:420px;justify-self:end}
 body.home .nf-ref-exam-copy h1{font-size:42px}
 body.home .nf-ref-topic-left h2{font-size:28px}
 body.home .nf-ref-columns{grid-template-columns:1fr}
}
@media (max-width:900px){
 body.home .nf-ref-topic-left h2{font-size:24px}
 body.home .nf-ref-topic-left p{font-size:15px}
 body.home .nf-ref-demand b{font-size:14px}
 body.home .nf-ref-demand span{font-size:12px}
 body.home .nf-ref-steps{gap:8px;padding:12px 12px 0}
 body.home .nf-ref-steps button{height:50px;font-size:14px;border-radius:18px}
 body.home .nf-ref-columns{padding:12px}
 body.home .nf-ref-block-title b{font-size:18px}
 body.home .nf-ref-drop b{font-size:20px}
}
@media (max-width:560px){
 body.home .nf-content{padding:6px;background:#fff}
 body.home .nf-home-reference{font-size:12px}
 body.home .nf-ref-exam-card{grid-template-columns:62px 1fr;padding:12px 10px;border-radius:0}
 body.home .nf-ref-temple{width:54px;height:54px}
 body.home .nf-ref-region{font-size:11px;padding:4px 12px}
 body.home .nf-ref-exam-copy h1{font-size:20px;margin:4px 0 2px}
 body.home .nf-ref-exam-copy p{font-size:11px;margin:0 0 4px}
 body.home .nf-ref-progress-card{padding:10px 12px;border-radius:12px;grid-template-columns:64px 1fr}
 body.home .nf-ref-ring{width:56px;height:56px}
 body.home .nf-ref-ring span{font-size:22px}
 body.home .nf-ref-progress-copy b{font-size:16px}
 body.home .nf-ref-progress-copy span{font-size:12px;margin:2px 0 8px}
 body.home .nf-ref-workspace{border-radius:0}
 body.home .nf-ref-topic-head{padding:14px 10px 12px}
 body.home .nf-ref-topic-left h2{font-size:19px;margin-bottom:4px}
 body.home .nf-ref-topic-left p{font-size:12px}
 body.home .nf-ref-demand b{font-size:13px}
 body.home .nf-ref-demand span{font-size:10px}
 body.home .nf-ref-steps button{height:36px;border-radius:14px;font-size:9px}
 body.home .nf-ref-columns{padding:10px;gap:10px}
 body.home .nf-ref-block{padding:12px;border-radius:12px}
 body.home .nf-ref-stepnum{width:24px;height:24px;font-size:13px}
 body.home .nf-ref-block-title b{font-size:17px}
 body.home .nf-ref-block-title small{font-size:11px}
 body.home .nf-ref-drop{min-height:145px}
 body.home .nf-ref-drop b{font-size:15px}
 body.home .nf-ref-drop em{font-size:12px}
 body.home .nf-ref-bluebtn{font-size:12px;padding:9px 16px}
 body.home .nf-ref-drop small{font-size:10px}
 body.home .nf-ref-details-block label,body.home .nf-ref-selects label{font-size:12px}
 body.home .nf-ref-field{height:40px;font-size:12px}
 body.home .nf-ref-textarea{min-height:100px;font-size:12px}
 body.home .nf-ref-selects span{height:42px;font-size:12px}
 body.home .nf-ref-cover-row img{width:82px;height:92px}
 body.home .nf-ref-softbtn{font-size:11px;padding:8px 10px}
 body.home .nf-ref-sidecard h3{font-size:14px}
 body.home .nf-ref-sidecard p,body.home .nf-ref-sidecard li,body.home .nf-ref-sidecard label{font-size:12px}
 body.home .nf-ref-sidecard>.nf-ref-pricegrid,.nf-ref-sidecard>.nf-ref-price-note,.nf-ref-sidecard>.nf-ref-bluebtn,.nf-ref-sidecard>em{display:none}
 body.home .nf-ref-actions{padding:4px 10px 10px}
 body.home .nf-ref-actions a{font-size:13px;padding:10px 12px;min-width:0}
}


/* ===== v9 exact-home + cache fix overrides ===== */
body.home .nf-ref-meta-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
body.home .nf-ref-meta{display:flex;flex-wrap:wrap;gap:22px;font-size:15px;line-height:1.25;align-items:center}
body.home .nf-ref-active-row .active{display:inline-flex;align-items:center;gap:6px;color:#0ca160;font-size:15px;font-weight:800}
body.home .nf-ref-steps{grid-template-columns:1.08fr 1fr 1.08fr}
body.home .nf-ref-steps button{letter-spacing:0}
body.home .nf-ref-sidecard.rose .nf-ref-pricegrid{grid-template-columns:repeat(3,1fr)}
body.home .nf-ref-sidecard.rose .nf-ref-pricegrid>span{display:flex;flex-direction:column;justify-content:center;min-height:74px}
body.home .nf-ref-sidecard.cyan .nf-ref-bluebtn.small{display:inline-flex;margin-top:4px}
body.home .nf-ref-sidecard.blue b, body.home .nf-ref-sidecard.violet b{display:inline-block;margin-top:6px}
body.home .nf-ref-sidecard.blue{min-height:155px}
body.home .nf-ref-sidecard.violet{min-height:185px}
body.home .nf-ref-sidecard.cyan{min-height:144px}
body.home .nf-ref-sidecard.rose{min-height:170px}
body.home .nf-ref-sidecard.amber{min-height:206px}
body.home .nf-ref-actions{justify-content:flex-end}
@media (max-width:900px){
  body.home .nf-ref-meta{font-size:13px;gap:14px}
  body.home .nf-ref-active-row .active{font-size:13px}
  body.home .nf-ref-steps{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:560px){
  body.home .nf-ref-meta-wrap{gap:4px}
  body.home .nf-ref-meta{display:none}
  body.home .nf-ref-active-row .active{font-size:11px}
}


/* ===== v10 reference layout fix =====
   Desktop: step navigation occupies only the left content column.
   "About This Topic" starts directly beside Review & Publish, matching reference.
*/
body.home .nf-ref-columns{
  grid-template-columns:minmax(0,1.35fr) minmax(360px,.82fr);
  align-items:start;
  gap:14px;
  padding-top:14px;
}
body.home .nf-ref-leftcol,
body.home .nf-ref-rightcol{
  min-width:0;
}
body.home .nf-ref-steps-inline{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  padding:0;
  margin:0 0 2px;
}
body.home .nf-ref-steps-inline button{
  width:100%;
  height:48px;
  min-width:0;
  border-radius:22px;
  font-size:15px;
  padding:0 10px;
  white-space:nowrap;
}
body.home .nf-ref-rightcol{
  padding-top:0;
}
body.home .nf-ref-rightcol .nf-ref-sidecard:first-child{
  margin-top:0;
}

/* Keep the form visually closer to the reference proportions. */
body.home .nf-ref-block{
  padding:14px 16px;
}
body.home .nf-ref-drop{
  min-height:150px;
}
body.home .nf-ref-sidecard{
  padding:13px 15px;
}
body.home .nf-ref-sidecard h3{
  font-size:16px;
  margin-bottom:7px;
}
body.home .nf-ref-sidecard p,
body.home .nf-ref-sidecard li,
body.home .nf-ref-sidecard label{
  font-size:12.5px;
}

/* Tablet/mobile returns to the stacked reference behavior. */
@media (max-width:900px){
  body.home .nf-ref-columns{
    grid-template-columns:1fr;
    gap:10px;
  }
  body.home .nf-ref-steps-inline{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
  }
  body.home .nf-ref-steps-inline button{
    height:38px;
    font-size:10px;
    padding:0 4px;
  }
}


/* ===== v11 profile reference design ===== */
.nf-p11{color:#0d3559}.nf-p11-top{position:relative;padding:20px 24px 0;overflow:hidden;background:linear-gradient(90deg,#f7fbff 0,#fff 72%,#fffaf0 100%)}
.nf-p11-person{display:flex;align-items:center;gap:18px;min-height:94px}.nf-p11-avatar-wrap{position:relative;width:84px;height:84px}.nf-p11-avatar{width:84px;height:84px;border-radius:50%;object-fit:cover;border:5px solid #eaf4fc}.nf-p11-camera{position:absolute;right:-2px;bottom:2px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#0a84f6;color:#fff;font-size:13px;border:3px solid #fff;cursor:pointer}.nf-p11-camera.small{width:25px;height:25px;right:-5px;bottom:-2px;font-size:11px}
.nf-p11-name-row{display:flex;align-items:center;gap:10px}.nf-p11-name-row h1{margin:0;font-size:24px}.nf-p11-role{background:#0b83f6;color:#fff;border-radius:16px;padding:5px 11px;font-size:11px;font-weight:800}.nf-p11-mini-links{display:flex;gap:10px;margin-top:7px;font-size:12px;color:#244a68}.nf-p11-mini-links i{font-style:normal;color:#8fa5b6}
.nf-p11-top-right{position:absolute;right:24px;top:20px;display:flex;align-items:flex-start;gap:18px}.nf-p11-verified{background:#e7fff4;color:#079668;padding:11px 18px;border-radius:9px;font-size:12px;font-weight:800}.nf-p11-opportunity{display:flex;gap:10px;align-items:flex-start;background:linear-gradient(135deg,#fff7e8,#fff);padding:10px 14px;border-radius:10px;min-width:220px}.nf-p11-opportunity>span{font-size:24px}.nf-p11-opportunity b{font-size:13px;line-height:1.3}.nf-p11-opportunity em{font-style:normal;font-size:36px;margin-left:auto}
.nf-p11-stats{margin-left:102px;width:430px;display:grid;grid-template-columns:repeat(4,1fr);margin-top:-5px}.nf-p11-stats div{text-align:center;padding:10px 12px;border-right:1px solid #dce8f2}.nf-p11-stats div:last-child{border-right:0}.nf-p11-stats b{display:block;font-size:19px}.nf-p11-stats span{font-size:10px;color:#71879b}
.nf-p11-tabs{display:flex;gap:10px;margin:12px 0 14px}.nf-p11-tabs button{border:0;background:#f2f7fb;color:#375c79;border-radius:10px;padding:12px 20px;font-weight:700;cursor:pointer}.nf-p11-tabs button.active{background:#0c83f7;color:#fff}
.nf-p11-grid{display:grid;grid-template-columns:1.08fr .92fr .94fr;gap:14px}.nf-p11-panel{padding:15px;border-radius:14px;box-shadow:none}.nf-p11-panel h2{font-size:15px;margin:0 0 12px}.nf-p11-cover{height:126px;border-radius:9px;background-size:cover;background-position:center;position:relative;margin-bottom:18px}.nf-p11-cover:after{content:"";position:absolute;inset:0;border-radius:9px;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.18))}.nf-p11-cover-avatar{position:absolute;left:16px;bottom:-18px;width:64px;height:64px;z-index:2}.nf-p11-cover-avatar img{width:64px;height:64px;border-radius:50%;object-fit:cover;border:4px solid #fff}.nf-p11-change-cover{position:absolute;right:10px;bottom:8px;z-index:3;background:#0d1722;color:#fff;border-radius:16px;padding:6px 11px;font-size:10px;cursor:pointer}.nf-p11-label{display:block;font-size:11px;font-weight:800;margin:12px 0 5px}.nf-p11-label small{font-weight:500;color:#8196a7}.nf-p11-input-row{display:flex;align-items:center;border:1px solid #d9e6f0;border-radius:8px;padding:0 10px}.nf-p11-input-row input{border:0!important;background:transparent!important;height:38px!important;padding:0!important;width:100%;outline:none}.nf-p11-input-row span{color:#0a83f6}.nf-p11-textarea-wrap{position:relative}.nf-p11-textarea-wrap textarea{width:100%;min-height:78px;border:1px solid #d9e6f0;border-radius:8px;padding:9px 10px;resize:vertical}.nf-p11-textarea-wrap small{position:absolute;right:8px;bottom:6px;color:#8296a6;font-size:9px}.nf-p11-social-title{font-size:11px;margin:13px 0 5px}.nf-p11-social-title small{font-weight:500;color:#8094a6}.nf-p11-social-row{display:grid;grid-template-columns:24px 1fr 44%;align-items:center;gap:7px;border-top:1px solid #edf2f6;padding:9px 0;font-size:10px}.nf-p11-social-row .icon{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:10px}.nf-p11-social-row.tg .icon{background:#25a7e8}.nf-p11-social-row.yt .icon{background:#ff2b55}.nf-p11-social-row.ig .icon{background:linear-gradient(135deg,#f7a126,#d832a8,#7657ff)}.nf-p11-social-row input{border:0;background:transparent;text-align:right;color:#1781d7;min-width:0;width:100%;font-size:10px;outline:none}
.nf-p11-midcol,.nf-p11-rightcol{display:flex;flex-direction:column;gap:14px}.nf-p11-account-edit>div{display:grid;grid-template-columns:30px 1fr auto;gap:8px;align-items:center;padding:11px 0;border-bottom:1px solid #edf2f6}.nf-p11-account-edit>div:last-child{border-bottom:0}.nf-p11-account-edit .ico{width:26px;height:26px;border-radius:7px;background:#eff7ff;color:#0a83f6;display:grid;place-items:center}.nf-p11-account-edit small{display:block;color:#6f879b;font-size:9px}.nf-p11-account-edit input{border:0;background:transparent;padding:0;width:100%;font-size:10px;color:#1a3f5e;outline:none}.nf-p11-account-edit b{font-size:10px}.nf-p11-account-edit em{font-style:normal;color:#2187d8;font-size:9px}.nf-p11-quick a{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #edf2f6;color:#183f60}.nf-p11-quick a:last-child{border:0}.nf-p11-quick a>span{width:28px;height:28px;border-radius:8px;background:#eef6ff;color:#0b83f6;display:grid;place-items:center;font-weight:800}.nf-p11-quick b{font-size:10px;display:block}.nf-p11-quick small{font-size:8px;color:#8094a6}
.nf-p11-panel-head{display:flex;align-items:center;justify-content:space-between}.nf-p11-panel-head span{font-size:9px;border:1px solid #d9e6ef;padding:5px 8px;border-radius:12px;color:#6f8495}.nf-p11-kpis{display:grid;grid-template-columns:1fr 1fr;gap:9px}.nf-p11-kpis>div{border-radius:9px;padding:11px;display:grid;grid-template-columns:26px 1fr;align-items:center;column-gap:7px}.nf-p11-kpis>div span{grid-row:1/3;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#fff}.nf-p11-kpis b{font-size:15px}.nf-p11-kpis small{font-size:8px;color:#71879a}.nf-p11-kpis .blue{background:#f0f8ff;color:#1683dd}.nf-p11-kpis .green{background:#effdf7;color:#0d9c70}.nf-p11-kpis .violet{background:#f6f0ff;color:#7953d8}.nf-p11-kpis .gold{background:#fff8e9;color:#d28a00}.nf-p11-activity>div{display:grid;grid-template-columns:30px 1fr auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #edf2f6}.nf-p11-activity>div:last-child{border:0}.nf-p11-activity>div>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center}.nf-p11-activity .pink{background:#fff0fb}.nf-p11-activity .green{background:#ebfff5}.nf-p11-activity .violet{background:#f3edff}.nf-p11-activity p{margin:0}.nf-p11-activity b{font-size:9px;display:block}.nf-p11-activity small{font-size:8px;color:#8195a6}.nf-p11-activity strong{font-size:9px;color:#1682d2}.nf-p11-zero{display:flex;gap:10px;align-items:center;background:#eafff4;color:#087c5c;padding:12px;border-radius:10px;font-size:13px}.nf-p11-zero b{display:block;font-size:10px}.nf-p11-zero small{display:block;font-size:8px;color:#5d8b7c}.nf-p11-savebar{display:flex;justify-content:flex-end;padding:14px 0}.nf-p11-savebar button{background:#0b83f6;color:#fff;border:0;border-radius:10px;padding:11px 18px;font-weight:800;cursor:pointer}
@media(max-width:1100px){.nf-p11-grid{grid-template-columns:1fr 1fr}.nf-p11-rightcol{grid-column:1/-1}.nf-p11-top-right{position:static;margin:10px 0;justify-content:flex-end}.nf-p11-stats{margin-left:0;width:100%}}
@media(max-width:700px){.nf-p11-top{padding:14px}.nf-p11-person{align-items:flex-start}.nf-p11-name-row{align-items:flex-start;flex-direction:column;gap:5px}.nf-p11-name-row h1{font-size:18px}.nf-p11-top-right{display:none}.nf-p11-stats{grid-template-columns:repeat(4,1fr);margin-top:8px}.nf-p11-stats div{padding:8px 4px}.nf-p11-stats b{font-size:14px}.nf-p11-tabs{overflow:auto;gap:5px}.nf-p11-tabs button{white-space:nowrap;padding:9px 12px;font-size:11px}.nf-p11-grid{grid-template-columns:1fr}.nf-p11-rightcol{grid-column:auto}.nf-p11-cover{height:130px}.nf-p11-social-row{grid-template-columns:24px 1fr 48%}.nf-p11-savebar{position:sticky;bottom:58px;background:#fff;padding:8px;z-index:10}.nf-p11-savebar button{width:100%}}


/* ===== v12 profile fixes ===== */
.nf-p11-panel h2{font-size:18px}
.nf-p11-label{font-size:13px;margin:14px 0 7px}
.nf-p11-label small{font-size:11px}
.nf-p11-input-row input{height:44px!important;font-size:16px}
.nf-p11-textarea-wrap textarea{font-size:14px;line-height:1.5;min-height:92px}
.nf-p11-social-title{font-size:13px}
.nf-p11-social-row{font-size:12px;padding:11px 0}
.nf-p11-social-row input{font-size:12px}
.nf-p11-account-edit small{font-size:11px}
.nf-p11-account-edit input{font-size:13px}
.nf-p11-account-edit b{font-size:13px}
.nf-p11-account-edit em{font-size:11px}
.nf-p11-quick b{font-size:12px}
.nf-p11-quick small{font-size:10px}
.nf-p11-panel-head span{font-size:11px}
.nf-p11-kpis b{font-size:17px}
.nf-p11-kpis small{font-size:10px}
.nf-p11-activity b{font-size:11px}
.nf-p11-activity small{font-size:10px}
.nf-p11-activity strong{font-size:11px}
.nf-p11-zero b{font-size:12px}
.nf-p11-zero small{font-size:10px}
.nf-p11-change-cover{font-size:12px;padding:8px 13px}
.nf-p11-cover{height:158px}
.nf-p11-cover-avatar{left:18px;bottom:-22px;width:74px;height:74px}
.nf-p11-cover-avatar img{width:74px;height:74px}
.nf-p11-camera.small{width:28px;height:28px;right:-5px;bottom:-2px;font-size:12px}

@media(max-width:700px){
  .nf-p11-panel h2{font-size:17px}
  .nf-p11-input-row input{font-size:15px}
  .nf-p11-cover{height:145px}
}


/* ===== v13 profile typography + account icons ===== */
.nf-p11-profile{font-size:14px}
.nf-p11-panel h2{font-size:20px;line-height:1.2}
.nf-p11-label{font-size:14px}
.nf-p11-label small{font-size:12px}
.nf-p11-input-row input{font-size:17px!important;height:48px!important}
.nf-p11-textarea-wrap textarea{font-size:15px;line-height:1.55}
.nf-p11-social-title{font-size:14px}
.nf-p11-social-row{font-size:13px}
.nf-p11-social-row input{font-size:13px}
.nf-p11-account-edit>div{grid-template-columns:36px 1fr auto;gap:10px;padding:13px 0}
.nf-p11-account-edit .ico{width:32px;height:32px;border-radius:9px}
.nf-p11-account-edit .nf-svg-ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nf-p11-account-edit small{font-size:12px}
.nf-p11-account-edit input{font-size:14px}
.nf-p11-account-edit b{font-size:14px}
.nf-p11-account-edit em,.nf-p13-show{font-size:12px}
.nf-p13-show{border:0;background:transparent;color:#2187d8;padding:4px 2px;cursor:pointer;font-weight:700}
.nf-p11-quick b{font-size:13px}.nf-p11-quick small{font-size:11px}
.nf-p11-panel-head span{font-size:12px}
.nf-p11-kpis b{font-size:18px}.nf-p11-kpis small{font-size:11px}
.nf-p11-activity b{font-size:12px}.nf-p11-activity small{font-size:11px}.nf-p11-activity strong{font-size:12px}
.nf-p11-zero b{font-size:13px}.nf-p11-zero small{font-size:11px}
@media(max-width:700px){.nf-p11-panel h2{font-size:18px}.nf-p11-account-edit input{font-size:13px}.nf-p11-account-edit small{font-size:11px}}


/* ===== v14 navbar + sidebar match ===== */
.nf-shell{
  grid-template-columns:172px minmax(0,1fr);
}
.nf-sidebar{
  background:#062b50;
  padding:14px 10px 18px;
  gap:14px;
  border-right:1px solid rgba(255,255,255,.06);
}
.nf-brand-image{
  display:block;
  width:128px;
  margin:2px 4px 6px;
  overflow:hidden;
}
.nf-brand-image img{
  display:block;
  width:100%;
  height:auto;
  border-radius:2px;
}
.nf-nav{
  gap:9px;
  margin-top:2px;
}
.nf-nav a{
  min-height:40px;
  padding:10px 12px;
  gap:10px;
  border-radius:10px;
  font-size:13px;
  font-weight:600;
  color:#eef6ff;
}
.nf-nav a span{
  width:14px;
  text-align:center;
  font-size:14px;
  opacity:.98;
}
.nf-nav a:hover,
.nf-nav a.is-active{
  background:#1a87f5;
  color:#fff;
}
.nf-main{
  background:#f3f8fc;
}
.nf-topbar{
  height:82px;
  background:#062b50;
  padding:0 34px 0 22px;
  gap:18px;
  box-shadow:none;
}
.nf-search{
  max-width:446px;
}
.nf-search input{
  height:42px;
  border-radius:22px;
  background:#114f84;
  font-size:15px;
  padding:0 18px 0 42px;
  color:#fff;
}
.nf-search input::placeholder{
  color:#d6e7f6;
}
.nf-search:before{
  left:15px;
  top:8px;
  font-size:19px;
  color:#d6e7f6;
}
.nf-top-actions{
  gap:16px;
}
.nf-bell{
  color:#fff;
  font-size:22px;
  position:relative;
  line-height:1;
}
.nf-bell i{
  position:absolute;
  width:8px;
  height:8px;
  border-radius:50%;
  right:-3px;
  top:-1px;
  background:#ff4d5d;
}
.nf-user-chip{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
}
.nf-user-chip span:nth-child(2){
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.nf-user-chip b{
  font-size:13px;
  color:#fff;
  font-weight:700;
}
.nf-user-chip small{
  font-size:11px;
  color:#d3e3f1;
}
.nf-user-chip em{
  color:#d3e3f1;
  font-style:normal;
  font-size:11px;
}
.nf-avatar,
.nf-avatar-letter{
  width:46px;
  height:46px;
  border-radius:50%;
}
.nf-avatar-letter{
  display:grid;
  place-items:center;
  background:#1b88f6!important;
  color:#fff;
  font-size:23px;
  font-weight:800;
}
.nf-rupee{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#1687f6;
  border:2px solid #2fa0ff;
  color:#fff;
  font-size:20px;
  font-weight:900;
  box-shadow:0 0 0 4px rgba(22,135,246,.16);
}
.nf-content{
  padding:16px 18px 22px;
  max-width:none;
}

/* Responsive alignment similar to the reference */
@media (max-width:980px){
  .nf-shell{grid-template-columns:1fr}
  .nf-sidebar{display:none}
  .nf-topbar{
    height:68px;
    padding:0 12px;
  }
  .nf-mobile-logo{
    display:block;
    width:122px;
  }
  .nf-mobile-logo img{
    width:100%;
    display:block;
  }
  .nf-search{
    display:none;
  }
}


/* ===== v15 navbar exact fix =====
   Fixes the two marked areas:
   1) full logo visible at left like the reference
   2) top-right avatar/name/rupee group sized and spaced closer to the reference
*/
.nf-shell{
  grid-template-columns:150px minmax(0,1fr);
}
.nf-sidebar{
  padding:12px 10px 18px;
}
.nf-brand-image{
  width:138px;
  margin:0 0 8px 8px;
  overflow:visible;
}
.nf-brand-image img{
  width:100%;
  height:auto;
  display:block;
}
.nf-nav{
  gap:8px;
  margin-top:4px;
}
.nf-nav a{
  min-height:38px;
  padding:10px 12px;
  font-size:12px;
}
.nf-nav a span{
  width:14px;
  font-size:13px;
}
.nf-topbar{
  height:60px;
  padding:0 18px 0 18px;
  gap:16px;
}
.nf-search{
  max-width:510px;
}
.nf-search input{
  height:38px;
  border-radius:19px;
  font-size:12px;
  padding:0 16px 0 40px;
}
.nf-search:before{
  top:6px;
  left:15px;
  font-size:18px;
}
.nf-top-actions{
  gap:10px;
}
.nf-bell{
  font-size:20px;
}
.nf-bell i{
  width:7px;
  height:7px;
  right:-3px;
  top:0px;
}
.nf-user-chip{
  gap:8px;
}
.nf-avatar,
.nf-avatar-letter{
  width:34px;
  height:34px;
}
.nf-avatar-letter{
  font-size:18px;
}
.nf-user-chip b{
  font-size:10px;
  line-height:1.15;
}
.nf-user-chip small{
  font-size:8px;
  line-height:1.15;
}
.nf-user-chip em{
  font-size:9px;
}
.nf-rupee{
  width:34px;
  height:34px;
  font-size:17px;
  box-shadow:0 0 0 3px rgba(22,135,246,.16);
}
.nf-content{
  padding-top:14px;
}

@media (max-width:980px){
  .nf-topbar{
    height:62px;
    padding:0 12px;
  }
  .nf-mobile-logo{
    width:120px;
  }
}


/* ===== v16 home field + upload refinements =====
   Fixes marked items:
   - cleaner Language / Total Pages / Content Type fields like the reference
   - upload support text positioned tighter under the button
   - upload box height reduced closer to the reference
*/
body.home .nf-ref-drop{
  min-height:132px;
  padding:14px 14px 10px;
  gap:4px;
}
body.home .nf-ref-drop .nf-ref-cloud{
  font-size:30px;
  line-height:1;
}
body.home .nf-ref-drop b{
  font-size:14px;
  line-height:1.22;
}
body.home .nf-ref-drop em{
  font-size:12px;
  line-height:1.1;
}
body.home .nf-ref-bluebtn{
  min-width:148px;
  padding:8px 18px;
  font-size:12px;
  border-radius:16px;
  margin-top:2px;
}
body.home .nf-ref-drop small{
  display:block;
  margin-top:5px;
  font-size:10px;
  line-height:1.2;
  color:#6e8598;
}

/* Field row closer to reference */
body.home .nf-ref-selects{
  gap:14px;
  margin-top:4px;
}
body.home .nf-ref-selects > div{
  position:relative;
}
body.home .nf-ref-selects span{
  height:40px;
  border-radius:8px;
  padding:0 34px 0 14px;
  font-size:12px;
  color:#45627b;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  position:relative;
}
body.home .nf-ref-selects > div::after{
  content:"⌄";
  position:absolute;
  right:14px;
  bottom:10px;
  color:#6d8598;
  font-size:14px;
  line-height:1;
  pointer-events:none;
}
body.home .nf-ref-selects label{
  font-size:12px;
  margin:8px 0 5px;
}

/* Keep desktop reference layout, but smaller controls */
@media (min-width:901px){
  body.home .nf-ref-block-title b{font-size:18px}
  body.home .nf-ref-block-title small{font-size:12px}
  body.home .nf-ref-field{height:42px;font-size:12px}
  body.home .nf-ref-textarea{min-height:108px;font-size:12px}
}

/* Mobile */
@media (max-width:900px){
  body.home .nf-ref-drop{
    min-height:128px;
    padding:12px 10px 10px;
  }
  body.home .nf-ref-selects{
    grid-template-columns:repeat(3,1fr);
    gap:8px;
  }
  body.home .nf-ref-selects span{
    height:36px;
    font-size:11px;
    padding:0 24px 0 10px;
  }
  body.home .nf-ref-selects > div::after{
    right:9px;
    bottom:9px;
    font-size:12px;
  }
}


/* ===== v17: REAL WORKING DROPDOWNS + REFERENCE SPACING ===== */

/* The old fake span controls are replaced by native selects. */
body.home .nf-ref-selects > div::after{
  display:none !important;
  content:none !important;
}

body.home .nf-ref-selects select{
  display:block !important;
  width:100% !important;
  height:36px !important;
  min-height:36px !important;
  margin:0 !important;
  padding:0 30px 0 10px !important;
  border:1px solid #d4e2ed !important;
  border-radius:6px !important;
  background-color:#fff !important;
  color:#385b76 !important;
  font-size:11px !important;
  line-height:34px !important;
  font-weight:500 !important;
  outline:none !important;
  box-shadow:none !important;
  cursor:pointer !important;
  -webkit-appearance:auto !important;
  appearance:auto !important;
}

body.home .nf-ref-selects select:focus{
  border-color:#77b8ee !important;
  box-shadow:0 0 0 2px rgba(15,131,246,.08) !important;
}

body.home .nf-ref-selects label{
  display:block !important;
  margin:7px 0 4px !important;
  font-size:10px !important;
  line-height:1.15 !important;
  color:#183c5c !important;
  font-weight:800 !important;
}

/* Match the reference upload box more closely. */
body.home .nf-ref-drop{
  min-height:118px !important;
  padding:10px 12px 7px !important;
  gap:2px !important;
}
body.home .nf-ref-drop .nf-ref-cloud{
  font-size:25px !important;
  margin-bottom:1px !important;
}
body.home .nf-ref-drop b{
  font-size:11px !important;
  line-height:1.2 !important;
}
body.home .nf-ref-drop em{
  font-size:10px !important;
  margin:0 !important;
}
body.home .nf-ref-drop .nf-ref-bluebtn{
  min-width:125px !important;
  padding:6px 14px !important;
  margin:1px 0 0 !important;
  border-radius:14px !important;
  font-size:10px !important;
}
body.home .nf-ref-drop small{
  margin-top:4px !important;
  font-size:8px !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
}

/* Notes detail controls closer to reference scale. */
body.home .nf-ref-details-block{
  padding:12px 14px !important;
}
body.home .nf-ref-details-block > label{
  font-size:10px !important;
  margin:6px 0 3px !important;
}
body.home .nf-ref-field{
  height:30px !important;
  padding:0 9px !important;
  font-size:9px !important;
  border-radius:5px !important;
}
body.home .nf-ref-textarea{
  min-height:72px !important;
  padding:7px 9px 16px !important;
  font-size:9px !important;
  line-height:1.45 !important;
  border-radius:5px !important;
}
body.home .nf-ref-selects{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:8px !important;
  margin-top:2px !important;
}

/* Avoid text wrapping in the reference desktop layout. */
@media (min-width:901px){
  body.home .nf-ref-selects select{
    white-space:nowrap !important;
  }
}

@media (max-width:560px){
  body.home .nf-ref-selects{
    gap:6px !important;
  }
  body.home .nf-ref-selects select{
    height:34px !important;
    min-height:34px !important;
    padding-left:7px !important;
    padding-right:20px !important;
    font-size:10px !important;
  }
  body.home .nf-ref-drop small{
    white-space:normal !important;
  }
}


/* ===== v18 upload support line outside drop box ===== */
body.home .nf-ref-drop{
  margin-bottom:0 !important;
}
body.home .nf-ref-drop small{
  display:none !important;
}
body.home .nf-ref-drop-meta{
  text-align:left;
  font-size:8px;
  line-height:1.2;
  color:#6e8598;
  margin:6px 0 0 14px;
}
@media (min-width:901px){
  body.home .nf-ref-drop-meta{
    margin-left:16px;
  }
}
@media (max-width:560px){
  body.home .nf-ref-drop-meta{
    font-size:8px;
    margin:5px 0 0 8px;
  }
}


/* ===== v19: slightly larger Upload Your Notes typography ===== */
body.home .nf-ref-upload-block .nf-ref-block-title b{
  font-size:20px !important;
}
body.home .nf-ref-upload-block .nf-ref-block-title small{
  font-size:13px !important;
}
body.home .nf-ref-upload-block .nf-ref-stepnum{
  width:32px !important;
  height:32px !important;
  font-size:16px !important;
}
body.home .nf-ref-drop .nf-ref-cloud{
  font-size:30px !important;
}
body.home .nf-ref-drop b{
  font-size:13px !important;
}
body.home .nf-ref-drop em{
  font-size:11px !important;
}
body.home .nf-ref-drop .nf-ref-bluebtn{
  font-size:11px !important;
  padding:7px 16px !important;
}
body.home .nf-ref-drop-meta{
  font-size:9.5px !important;
  line-height:1.3 !important;
}

@media (max-width:560px){
  body.home .nf-ref-upload-block .nf-ref-block-title b{
    font-size:17px !important;
  }
  body.home .nf-ref-upload-block .nf-ref-block-title small{
    font-size:11px !important;
  }
  body.home .nf-ref-drop b{
    font-size:12px !important;
  }
  body.home .nf-ref-drop-meta{
    font-size:8.5px !important;
  }
}


/* ===== v20 mobile reference layout ===== */
.nf-ref-mobile-progress{
  display:none;
}

@media (max-width:700px){
  /* Mobile should open like the reference: topic row first, progress row below it. */
  body.home .nf-back-topics{
    display:none !important;
  }
  body.home .nf-ref-exam-card{
    display:none !important;
  }
  body.home .nf-content{
    padding:8px 8px 78px !important;
    background:#f5f9fd !important;
  }
  body.home .nf-home-reference{
    font-size:12px;
  }
  body.home .nf-ref-workspace{
    margin:0 !important;
    border-radius:0 !important;
    border-left:0 !important;
    border-right:0 !important;
    box-shadow:none !important;
    overflow:visible !important;
  }
  body.home .nf-ref-topic-head{
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:8px !important;
    padding:12px 10px 8px !important;
    background:#fff !important;
    border-bottom:0 !important;
  }
  body.home .nf-ref-topic-left{
    align-items:flex-start !important;
    gap:8px !important;
  }
  body.home .nf-ref-topic-icon{
    display:none !important;
  }
  body.home .nf-ref-topic-left h2{
    margin:0 0 4px !important;
    font-size:18px !important;
    line-height:1.12 !important;
    color:#123b61 !important;
  }
  body.home .nf-ref-topic-left p{
    margin:0 !important;
    font-size:11px !important;
    line-height:1.25 !important;
    color:#6a8095 !important;
  }
  body.home .nf-ref-demand{
    min-width:108px !important;
    text-align:right !important;
    align-items:flex-end !important;
    justify-content:flex-start !important;
    gap:2px !important;
    padding-top:2px !important;
  }
  body.home .nf-ref-demand b{
    font-size:12px !important;
    line-height:1.15 !important;
    color:#f35d3e !important;
    white-space:nowrap !important;
  }
  body.home .nf-ref-demand span{
    font-size:10px !important;
    line-height:1.15 !important;
    color:#7a8fa3 !important;
    white-space:nowrap !important;
  }

  body.home .nf-ref-mobile-progress{
    display:grid !important;
    grid-template-columns:74px 1fr !important;
    align-items:center !important;
    gap:12px !important;
    margin:0 10px 8px !important;
    padding:12px 14px !important;
    background:#f7fbff !important;
    border:1px solid #d8e7f2 !important;
    border-radius:14px !important;
  }
  body.home .nf-ref-mobile-progress .nf-ref-ring{
    width:62px !important;
    height:62px !important;
  }
  body.home .nf-ref-mobile-progress .nf-ref-ring:before{
    inset:8px !important;
  }
  body.home .nf-ref-mobile-progress .nf-ref-ring span{
    font-size:17px !important;
  }
  body.home .nf-ref-mobile-progress .nf-ref-progress-copy b{
    display:block !important;
    font-size:16px !important;
    line-height:1.1 !important;
    color:#123d65 !important;
  }
  body.home .nf-ref-mobile-progress .nf-ref-progress-copy span{
    display:block !important;
    margin:3px 0 9px !important;
    font-size:11px !important;
    color:#6e8398 !important;
  }
  body.home .nf-ref-mobile-progress .nf-ref-bar{
    height:8px !important;
  }

  body.home .nf-ref-columns{
    display:block !important;
    padding:0 10px 10px !important;
  }
  body.home .nf-ref-leftcol,
  body.home .nf-ref-rightcol{
    display:block !important;
  }
  body.home .nf-ref-steps-inline{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:6px !important;
    margin:0 0 8px !important;
  }
  body.home .nf-ref-steps-inline button{
    height:32px !important;
    border-radius:16px !important;
    font-size:10px !important;
    padding:0 4px !important;
    white-space:nowrap !important;
  }

  body.home .nf-ref-block{
    padding:12px !important;
    border-radius:12px !important;
    margin-bottom:8px !important;
  }
  body.home .nf-ref-block-title{
    margin-bottom:10px !important;
  }
  body.home .nf-ref-block-title b{
    font-size:16px !important;
  }
  body.home .nf-ref-block-title small{
    font-size:11px !important;
  }
  body.home .nf-ref-stepnum{
    width:28px !important;
    height:28px !important;
    font-size:14px !important;
  }

  body.home .nf-ref-upload-block .nf-ref-drop{
    min-height:132px !important;
    border-radius:12px !important;
    padding:12px 10px 8px !important;
  }
  body.home .nf-ref-upload-block .nf-ref-drop .nf-ref-cloud{
    font-size:25px !important;
  }
  body.home .nf-ref-upload-block .nf-ref-drop b{
    font-size:11px !important;
  }
  body.home .nf-ref-upload-block .nf-ref-drop em{
    font-size:10px !important;
  }
  body.home .nf-ref-upload-block .nf-ref-drop .nf-ref-bluebtn{
    font-size:10px !important;
    padding:7px 14px !important;
    min-width:122px !important;
    border-radius:14px !important;
  }
  body.home .nf-ref-drop-meta{
    margin:5px 0 0 4px !important;
    font-size:8px !important;
  }

  body.home .nf-ref-details-block > label{
    font-size:11px !important;
  }
  body.home .nf-ref-field{
    height:38px !important;
    font-size:11px !important;
  }
  body.home .nf-ref-textarea{
    min-height:84px !important;
    font-size:11px !important;
  }
  body.home .nf-ref-selects{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
  }
  body.home .nf-ref-selects label{
    font-size:10px !important;
  }
  body.home .nf-ref-selects select{
    height:36px !important;
    min-height:36px !important;
    font-size:11px !important;
  }
  body.home .nf-ref-cover-row{
    gap:10px !important;
    align-items:flex-start !important;
  }
  body.home .nf-ref-cover-row img{
    width:82px !important;
    height:98px !important;
  }
  body.home .nf-ref-cover-actions{
    gap:8px !important;
  }
  body.home .nf-ref-softbtn{
    font-size:11px !important;
    padding:8px 12px !important;
  }
  body.home .nf-ref-cover-actions small{
    font-size:10px !important;
  }
  body.home .nf-ref-zero{
    display:none !important;
  }

  /* Right column behaves like accordion headers only, matching the compact mobile reference. */
  body.home .nf-ref-rightcol{
    margin-top:4px !important;
  }
  body.home .nf-ref-sidecard{
    padding:10px 12px !important;
    border-radius:12px !important;
    margin-bottom:8px !important;
    background:#fff !important;
    border:1px solid #dce8f1 !important;
  }
  body.home .nf-ref-sidecard h3{
    margin:0 !important;
    font-size:14px !important;
    line-height:1.25 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }
  body.home .nf-ref-sidecard h3::after{
    content:"⌄";
    font-size:12px;
    color:#6d8598;
  }
  body.home .nf-ref-sidecard p,
  body.home .nf-ref-sidecard ul,
  body.home .nf-ref-sidecard label,
  body.home .nf-ref-sidecard .nf-ref-pricegrid,
  body.home .nf-ref-sidecard .nf-ref-price-note,
  body.home .nf-ref-sidecard .nf-ref-bluebtn,
  body.home .nf-ref-sidecard em,
  body.home .nf-ref-sidecard b{
    display:none !important;
  }

  body.home .nf-ref-actions{
    position:sticky !important;
    bottom:58px !important;
    background:#fff !important;
    padding:4px 10px 8px !important;
    margin:0 -8px !important;
  }
  body.home .nf-ref-actions .preview{
    display:none !important;
  }
  body.home .nf-ref-actions .continue{
    width:100% !important;
    min-width:0 !important;
    justify-content:center !important;
    font-size:15px !important;
    padding:12px 16px !important;
    border-radius:10px !important;
  }

  /* Mobile top bar closer to reference phone screen */
  .nf-topbar{
    height:66px !important;
    padding:0 10px !important;
  }
  .nf-mobile-logo{
    width:118px !important;
  }
  .nf-top-actions{
    gap:8px !important;
  }
  .nf-bell{
    font-size:18px !important;
  }
  .nf-user-chip{
    gap:6px !important;
  }
  .nf-user-chip b{
    font-size:10px !important;
  }
  .nf-user-chip small{
    font-size:8px !important;
  }
  .nf-user-chip em{
    font-size:9px !important;
  }
  .nf-avatar,.nf-avatar-letter{
    width:32px !important;
    height:32px !important;
  }
  .nf-avatar-letter{
    font-size:17px !important;
  }
  .nf-rupee{
    width:34px !important;
    height:34px !important;
    font-size:16px !important;
  }
}


/* ===== v21: compact mobile accordion cards ===== */
@media (max-width:700px){

  /* Remove desktop fixed/min heights that were leaving large empty boxes. */
  body.home .nf-ref-rightcol .nf-ref-sidecard,
  body.home .nf-ref-rightcol .nf-ref-sidecard.blue,
  body.home .nf-ref-rightcol .nf-ref-sidecard.violet,
  body.home .nf-ref-rightcol .nf-ref-sidecard.cyan,
  body.home .nf-ref-rightcol .nf-ref-sidecard.rose,
  body.home .nf-ref-rightcol .nf-ref-sidecard.amber{
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
    padding:9px 11px !important;
    margin:0 0 6px !important;
    border-radius:9px !important;
    overflow:hidden !important;
    background:#fff !important;
    border:1px solid #d9e7f1 !important;
  }

  body.home .nf-ref-rightcol{
    display:block !important;
    gap:0 !important;
    margin-top:4px !important;
  }

  /* One-line compact accordion header, like the phone reference. */
  body.home .nf-ref-rightcol .nf-ref-sidecard h3{
    margin:0 !important;
    padding:0 !important;
    min-height:22px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:4px !important;
    font-size:13px !important;
    line-height:22px !important;
    white-space:nowrap !important;
    color:#123b60 !important;
  }

  body.home .nf-ref-rightcol .nf-ref-sidecard h3 small{
    display:inline !important;
    margin:0 !important;
    padding:0 !important;
    font-size:11px !important;
    line-height:22px !important;
    color:#123b60 !important;
    font-weight:700 !important;
  }

  body.home .nf-ref-rightcol .nf-ref-sidecard h3::after{
    content:"⌄" !important;
    display:block !important;
    margin-left:auto !important;
    padding-left:8px !important;
    color:#71889c !important;
    font-size:11px !important;
    line-height:1 !important;
  }

  /* Keep all collapsed card content fully hidden without preserving height. */
  body.home .nf-ref-rightcol .nf-ref-sidecard > p,
  body.home .nf-ref-rightcol .nf-ref-sidecard > ul,
  body.home .nf-ref-rightcol .nf-ref-sidecard > label,
  body.home .nf-ref-rightcol .nf-ref-sidecard > b,
  body.home .nf-ref-rightcol .nf-ref-sidecard > em,
  body.home .nf-ref-rightcol .nf-ref-sidecard > .nf-ref-pricegrid,
  body.home .nf-ref-rightcol .nf-ref-sidecard > .nf-ref-price-note,
  body.home .nf-ref-rightcol .nf-ref-sidecard > .nf-ref-bluebtn{
    display:none !important;
    margin:0 !important;
    padding:0 !important;
    height:0 !important;
    min-height:0 !important;
  }

  /* Slightly tighter transition from Cover Image into the accordion stack. */
  body.home .nf-ref-cover-block{
    margin-bottom:6px !important;
  }
}


/* ===== v22: mobile accordions actually work + reference colors ===== */
@media (max-width:700px){

  /* Restore the reference pastel colors instead of forcing every card white. */
  body.home .nf-ref-rightcol .nf-ref-sidecard.blue{
    background:#eef8ff !important;
    border-color:#cde7f9 !important;
  }
  body.home .nf-ref-rightcol .nf-ref-sidecard.violet{
    background:#f7f0ff !important;
    border-color:#e3cffb !important;
  }
  body.home .nf-ref-rightcol .nf-ref-sidecard.cyan{
    background:#effdff !important;
    border-color:#c6edf1 !important;
  }
  body.home .nf-ref-rightcol .nf-ref-sidecard.rose{
    background:#fff3f6 !important;
    border-color:#f7d3dc !important;
  }
  body.home .nf-ref-rightcol .nf-ref-sidecard.amber{
    background:#fff9e8 !important;
    border-color:#f4e4ad !important;
  }

  body.home .nf-mobile-accordion{
    transition:all .18s ease;
  }

  body.home .nf-mobile-accordion h3{
    cursor:pointer !important;
    user-select:none !important;
  }

  body.home .nf-mobile-accordion h3::after{
    content:"⌄" !important;
    transition:transform .18s ease;
  }

  body.home .nf-mobile-accordion.is-open h3::after{
    transform:rotate(180deg);
  }

  /* Collapsed content */
  body.home .nf-mobile-accordion:not(.is-open) > p,
  body.home .nf-mobile-accordion:not(.is-open) > ul,
  body.home .nf-mobile-accordion:not(.is-open) > label,
  body.home .nf-mobile-accordion:not(.is-open) > b,
  body.home .nf-mobile-accordion:not(.is-open) > em,
  body.home .nf-mobile-accordion:not(.is-open) > .nf-ref-pricegrid,
  body.home .nf-mobile-accordion:not(.is-open) > .nf-ref-price-note,
  body.home .nf-mobile-accordion:not(.is-open) > .nf-ref-bluebtn{
    display:none !important;
  }

  /* Open content */
  body.home .nf-mobile-accordion.is-open{
    padding:11px 12px 12px !important;
  }

  body.home .nf-mobile-accordion.is-open > p{
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    margin:8px 0 6px !important;
    padding:0 !important;
    font-size:11px !important;
    line-height:1.45 !important;
    color:#45657e !important;
  }

  body.home .nf-mobile-accordion.is-open > ul{
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    margin:8px 0 6px !important;
    padding-left:18px !important;
    font-size:11px !important;
    line-height:1.45 !important;
    color:#45657e !important;
  }

  body.home .nf-mobile-accordion.is-open > label{
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    margin:7px 0 !important;
    padding:0 !important;
    font-size:10.5px !important;
    line-height:1.45 !important;
    color:#45657e !important;
  }

  body.home .nf-mobile-accordion.is-open > b{
    display:inline-block !important;
    height:auto !important;
    margin-top:4px !important;
    font-size:11px !important;
  }

  body.home .nf-mobile-accordion.is-open > em{
    display:inline-block !important;
    height:auto !important;
    margin:8px 0 0 7px !important;
    font-size:10px !important;
    color:#72889b !important;
  }

  body.home .nf-mobile-accordion.is-open > .nf-ref-bluebtn{
    display:inline-flex !important;
    height:auto !important;
    margin-top:8px !important;
    padding:8px 14px !important;
    font-size:11px !important;
  }

  body.home .nf-mobile-accordion.is-open > .nf-ref-pricegrid{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:6px !important;
    height:auto !important;
    margin-top:8px !important;
    padding:0 !important;
  }

  body.home .nf-mobile-accordion.is-open > .nf-ref-pricegrid > span{
    padding:7px 6px !important;
    min-height:58px !important;
    font-size:10px !important;
  }

  body.home .nf-mobile-accordion.is-open > .nf-ref-pricegrid small{
    font-size:8.5px !important;
  }

  body.home .nf-mobile-accordion.is-open > .nf-ref-price-note{
    display:block !important;
    height:auto !important;
    margin-top:7px !important;
    padding:7px 8px !important;
    font-size:9px !important;
  }
}


/* ===== v23: mobile top-right icons match reference better ===== */

/* Bell icon drawn in CSS so it looks closer to the white outline bell. */
.nf-bell{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  font-size:0 !important;
  line-height:1;
  color:transparent !important;
}
.nf-bell::before{
  content:"";
  display:block;
  width:18px;
  height:18px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M15 17h5l-1.4-1.4A2 2 0 0 1 18 14.2V11a6 6 0 1 0-12 0v3.2a2 2 0 0 1-.6 1.4L4 17h5'/>\
<path d='M10 20a2 2 0 0 0 4 0'/>\
</svg>");
}
.nf-bell i{
  position:absolute;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#ff495b;
  right:-1px;
  top:-1px;
  box-shadow:0 0 0 2px #062b50;
}

/* General tighter top-right block */
.nf-top-actions{
  align-items:center;
}

/* Mobile exact intent: show only bell + rupee like the phone reference. */
@media (max-width:700px){
  .nf-topbar{
    height:66px !important;
    padding:0 12px !important;
    justify-content:space-between !important;
  }
  .nf-mobile-logo{
    width:118px !important;
    display:block !important;
  }
  .nf-top-actions{
    margin-left:auto !important;
    gap:10px !important;
    display:flex !important;
    align-items:center !important;
  }
  .nf-user-chip{
    display:none !important;
  }
  .nf-bell{
    display:inline-flex !important;
    width:21px !important;
    height:21px !important;
    opacity:1 !important;
    visibility:visible !important;
  }
  .nf-bell::before{
    width:17px !important;
    height:17px !important;
  }
  .nf-bell i{
    width:7px !important;
    height:7px !important;
    right:-1px !important;
    top:-1px !important;
    box-shadow:0 0 0 2px #062b50 !important;
  }
  .nf-rupee{
    width:34px !important;
    height:34px !important;
    border-radius:50% !important;
    display:grid !important;
    place-items:center !important;
    background:#1588f7 !important;
    border:2px solid #43a7ff !important;
    color:#fff !important;
    font-size:16px !important;
    font-weight:900 !important;
    box-shadow:0 0 0 3px rgba(21,136,247,.16) !important;
  }
}

/* Also hide the profile chip on small tablets to avoid the 'Bheru Singh' text block. */
@media (max-width:900px){
  .nf-user-chip{
    display:none !important;
  }
  .nf-bell{
    display:inline-flex !important;
  }
}


/* ===== v24: profile page mobile responsive closer to reference ===== */
@media (max-width:700px){
  body.page-template-page-creator-profile .nf-content{
    padding:10px 10px 74px !important;
    background:#f5f9fd !important;
  }

  body.page-template-page-creator-profile .nf-p11{
    font-size:12px;
  }

  /* Top summary card */
  body.page-template-page-creator-profile .nf-p11-top{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    grid-template-areas:
      "person verified"
      "stats stats" !important;
    gap:8px 10px !important;
    padding:14px 12px 10px !important;
    border-radius:16px !important;
    background:#fff !important;
  }

  body.page-template-page-creator-profile .nf-p11-person{
    grid-area:person !important;
    min-height:0 !important;
    gap:10px !important;
    align-items:flex-start !important;
  }

  body.page-template-page-creator-profile .nf-p11-avatar-wrap{
    width:58px !important;
    height:58px !important;
    flex:0 0 58px !important;
  }

  body.page-template-page-creator-profile .nf-p11-avatar{
    width:58px !important;
    height:58px !important;
    border-width:4px !important;
  }

  body.page-template-page-creator-profile .nf-p11-camera{
    width:20px !important;
    height:20px !important;
    font-size:10px !important;
    border-width:2px !important;
    right:-2px !important;
    bottom:1px !important;
  }

  body.page-template-page-creator-profile .nf-p11-headcopy{
    min-width:0 !important;
  }

  body.page-template-page-creator-profile .nf-p11-name-row{
    display:block !important;
  }

  body.page-template-page-creator-profile .nf-p11-name-row h1{
    margin:0 0 5px !important;
    font-size:18px !important;
    line-height:1.15 !important;
  }

  body.page-template-page-creator-profile .nf-p11-role{
    display:inline-block !important;
    font-size:10px !important;
    padding:5px 10px !important;
    border-radius:16px !important;
  }

  body.page-template-page-creator-profile .nf-p11-mini-links{
    margin-top:6px !important;
    gap:8px !important;
    font-size:10px !important;
    flex-wrap:wrap !important;
  }

  body.page-template-page-creator-profile .nf-p11-top-right{
    grid-area:verified !important;
    position:static !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:flex-end !important;
    margin:0 !important;
    gap:0 !important;
  }

  body.page-template-page-creator-profile .nf-p11-opportunity{
    display:none !important;
  }

  body.page-template-page-creator-profile .nf-p11-verified{
    padding:7px 10px !important;
    border-radius:8px !important;
    font-size:10px !important;
    white-space:nowrap !important;
  }

  body.page-template-page-creator-profile .nf-p11-stats{
    grid-area:stats !important;
    margin:2px 0 0 !important;
    width:100% !important;
    grid-template-columns:repeat(4,1fr) !important;
  }

  body.page-template-page-creator-profile .nf-p11-stats div{
    padding:8px 4px !important;
  }

  body.page-template-page-creator-profile .nf-p11-stats b{
    font-size:16px !important;
    line-height:1.1 !important;
  }

  body.page-template-page-creator-profile .nf-p11-stats span{
    font-size:10px !important;
    line-height:1.2 !important;
  }

  /* Tabs closer to reference */
  body.page-template-page-creator-profile .nf-p11-tabs{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:6px !important;
    margin:10px 0 12px !important;
    overflow:visible !important;
  }

  body.page-template-page-creator-profile .nf-p11-tabs button{
    white-space:nowrap !important;
    padding:9px 6px !important;
    font-size:11px !important;
    border-radius:10px !important;
    text-align:center !important;
  }

  body.page-template-page-creator-profile .nf-p11-tabs button:last-child{
    display:none !important; /* hide KYC on mobile like reference crop */
  }

  /* Single column panels */
  body.page-template-page-creator-profile .nf-p11-grid{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  body.page-template-page-creator-profile .nf-p11-panel{
    padding:12px !important;
    border-radius:14px !important;
  }

  body.page-template-page-creator-profile .nf-p11-panel h2{
    font-size:16px !important;
    margin:0 0 10px !important;
  }

  body.page-template-page-creator-profile .nf-p11-cover{
    height:112px !important;
    border-radius:10px !important;
    margin-bottom:16px !important;
  }

  body.page-template-page-creator-profile .nf-p11-cover-avatar{
    left:12px !important;
    bottom:-16px !important;
    width:56px !important;
    height:56px !important;
  }

  body.page-template-page-creator-profile .nf-p11-cover-avatar img{
    width:56px !important;
    height:56px !important;
    border-width:4px !important;
  }

  body.page-template-page-creator-profile .nf-p11-camera.small{
    width:22px !important;
    height:22px !important;
    right:-3px !important;
    bottom:-1px !important;
    font-size:10px !important;
  }

  body.page-template-page-creator-profile .nf-p11-change-cover{
    right:10px !important;
    bottom:8px !important;
    padding:7px 12px !important;
    font-size:10px !important;
    border-radius:16px !important;
  }

  body.page-template-page-creator-profile .nf-p11-label{
    font-size:12px !important;
    margin:10px 0 6px !important;
  }

  body.page-template-page-creator-profile .nf-p11-label small{
    font-size:10px !important;
  }

  body.page-template-page-creator-profile .nf-p11-input-row input{
    height:42px !important;
    font-size:14px !important;
  }

  body.page-template-page-creator-profile .nf-p11-textarea-wrap textarea{
    min-height:72px !important;
    font-size:13px !important;
    line-height:1.45 !important;
  }

  body.page-template-page-creator-profile .nf-p11-social-title{
    font-size:12px !important;
  }

  body.page-template-page-creator-profile .nf-p11-social-row{
    grid-template-columns:22px 1fr 43% !important;
    gap:6px !important;
    padding:10px 0 !important;
    font-size:11px !important;
  }

  body.page-template-page-creator-profile .nf-p11-social-row input{
    font-size:11px !important;
  }

  /* Make save button not float in middle of the mobile screen */
  body.page-template-page-creator-profile .nf-p11-savebar{
    position:static !important;
    bottom:auto !important;
    background:transparent !important;
    padding:10px 0 0 !important;
    margin-top:6px !important;
  }

  body.page-template-page-creator-profile .nf-p11-savebar button{
    width:100% !important;
    padding:13px 16px !important;
    font-size:15px !important;
    border-radius:10px !important;
  }

  /* Optional: keep supporting columns lower on the page compact */
  body.page-template-page-creator-profile .nf-p11-midcol,
  body.page-template-page-creator-profile .nf-p11-rightcol{
    gap:10px !important;
  }

  body.page-template-page-creator-profile .nf-p11-account-edit > div{
    grid-template-columns:32px 1fr auto !important;
    gap:8px !important;
    padding:10px 0 !important;
  }

  body.page-template-page-creator-profile .nf-p11-account-edit .ico{
    width:28px !important;
    height:28px !important;
  }

  body.page-template-page-creator-profile .nf-p11-account-edit small{
    font-size:10px !important;
  }

  body.page-template-page-creator-profile .nf-p11-account-edit input,
  body.page-template-page-creator-profile .nf-p11-account-edit b{
    font-size:12px !important;
  }

  body.page-template-page-creator-profile .nf-p11-account-edit em,
  body.page-template-page-creator-profile .nf-p13-show{
    font-size:10px !important;
  }
}


/* ===== v25: force verified creator visible + save button at end on mobile ===== */
@media (max-width:700px){

  /* Some installs may not have the expected page body class, so enforce with generic selectors. */
  .nf-p11-top{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    grid-template-areas:
      "person verified"
      "stats stats" !important;
    gap:8px 10px !important;
    padding:14px 12px 10px !important;
  }

  .nf-p11-person{
    grid-area:person !important;
  }

  .nf-p11-top-right{
    grid-area:verified !important;
    display:flex !important;
    position:static !important;
    visibility:visible !important;
    opacity:1 !important;
    align-items:flex-start !important;
    justify-content:flex-end !important;
    margin:0 !important;
    gap:0 !important;
  }

  .nf-p11-top-right .nf-p11-verified{
    display:inline-block !important;
    visibility:visible !important;
    opacity:1 !important;
    padding:7px 10px !important;
    border-radius:8px !important;
    font-size:10px !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    background:#e7fff4 !important;
    color:#079668 !important;
  }

  .nf-p11-top-right .nf-p11-opportunity{
    display:none !important;
  }

  .nf-p11-stats{
    grid-area:stats !important;
    width:100% !important;
    margin:2px 0 0 !important;
  }

  /* Force the save bar to appear at the natural end of the page, not fixed/sticky. */
  .nf-p11-savebar{
    position:static !important;
    position:relative !important;
    bottom:auto !important;
    left:auto !important;
    right:auto !important;
    z-index:auto !important;
    background:transparent !important;
    padding:10px 0 0 !important;
    margin-top:8px !important;
    box-shadow:none !important;
  }

  .nf-p11-savebar button{
    width:100% !important;
    display:block !important;
  }
}


/* ===== v26: move Social Links to the end on mobile ===== */
.nf-p11-mobile-social-slot{
  display:none;
}

@media (max-width:700px){
  .nf-p11-mobile-social-slot.is-active{
    display:block !important;
    grid-column:1 / -1 !important;
    order:99 !important;
    padding:12px !important;
    border-radius:14px !important;
    background:#fff !important;
    margin-top:0 !important;
  }

  .nf-p11-mobile-social-slot .nf-p11-social-title{
    margin:0 0 6px !important;
    font-size:14px !important;
  }

  .nf-p11-mobile-social-slot .nf-p11-social-row{
    grid-template-columns:24px 1fr 43% !important;
    gap:7px !important;
    padding:11px 0 !important;
    font-size:12px !important;
  }

  .nf-p11-mobile-social-slot .nf-p11-social-row input{
    font-size:12px !important;
  }
}


/* ===== v27: desktop profile top area closer to reference ===== */
@media (min-width:701px){
  .nf-p11-top{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-areas:
      "person right"
      "stats right" !important;
    align-items:start !important;
    gap:8px 18px !important;
    padding:18px 20px 0 !important;
    background:linear-gradient(90deg,#f7fbff 0,#fff 72%,#fffaf0 100%) !important;
  }

  .nf-p11-person{
    grid-area:person !important;
    min-height:0 !important;
    gap:14px !important;
    align-items:center !important;
  }

  .nf-p11-avatar-wrap{
    width:72px !important;
    height:72px !important;
    flex:0 0 72px !important;
  }

  .nf-p11-avatar{
    width:72px !important;
    height:72px !important;
    border-width:4px !important;
    object-fit:cover !important;
  }

  .nf-p11-camera{
    width:25px !important;
    height:25px !important;
    font-size:11px !important;
    right:-2px !important;
    bottom:2px !important;
  }

  .nf-p11-headcopy{
    min-width:0 !important;
  }

  .nf-p11-name-row{
    gap:10px !important;
    align-items:center !important;
    margin-bottom:4px !important;
  }

  .nf-p11-name-row h1{
    margin:0 !important;
    font-size:18px !important;
    line-height:1.15 !important;
  }

  .nf-p11-role{
    font-size:11px !important;
    padding:6px 12px !important;
    border-radius:16px !important;
  }

  .nf-p11-mini-links{
    margin-top:2px !important;
    gap:10px !important;
    font-size:11px !important;
  }

  .nf-p11-top-right{
    grid-area:right !important;
    position:static !important;
    justify-self:end !important;
    display:flex !important;
    align-items:flex-start !important;
    gap:18px !important;
    margin:0 !important;
    padding-top:4px !important;
  }

  .nf-p11-verified{
    padding:10px 16px !important;
    font-size:12px !important;
    border-radius:9px !important;
    white-space:nowrap !important;
  }

  .nf-p11-opportunity{
    min-width:210px !important;
    max-width:230px !important;
    padding:10px 14px !important;
    gap:10px !important;
  }

  .nf-p11-opportunity > span{
    font-size:20px !important;
    line-height:1 !important;
  }

  .nf-p11-opportunity b{
    font-size:13px !important;
    line-height:1.35 !important;
  }

  .nf-p11-opportunity em{
    font-size:30px !important;
    line-height:1 !important;
  }

  .nf-p11-stats{
    grid-area:stats !important;
    margin:2px 0 0 86px !important;
    width:auto !important;
    max-width:470px !important;
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }

  .nf-p11-stats div{
    padding:10px 8px !important;
    text-align:center !important;
    border-right:1px solid #dce8f2 !important;
  }

  .nf-p11-stats b{
    font-size:18px !important;
    line-height:1.1 !important;
    margin-bottom:8px !important;
  }

  .nf-p11-stats span{
    font-size:10px !important;
    line-height:1.25 !important;
    color:#72889d !important;
  }
}

/* keep middle desktop widths sane on smaller laptops */
@media (min-width:701px) and (max-width:1180px){
  .nf-p11-top{
    grid-template-columns:minmax(0,1fr) 260px !important;
  }
  .nf-p11-opportunity{
    min-width:180px !important;
    max-width:200px !important;
  }
  .nf-p11-stats{
    max-width:420px !important;
  }
}


/* ===== v28: desktop profile top exact-match refinement ===== */
@media (min-width:701px){
  .nf-p11-top{
    display:grid !important;
    grid-template-columns: 590px minmax(300px, 1fr) !important;
    grid-template-areas:
      "person right"
      "stats right" !important;
    gap:10px 24px !important;
    padding:22px 24px 0 !important;
    align-items:start !important;
    min-height:188px !important;
  }

  .nf-p11-person{
    grid-area:person !important;
    gap:16px !important;
    align-items:center !important;
    min-height:84px !important;
  }

  .nf-p11-avatar-wrap{
    width:82px !important;
    height:82px !important;
    flex:0 0 82px !important;
  }

  .nf-p11-avatar{
    width:82px !important;
    height:82px !important;
    border-width:4px !important;
    object-fit:cover !important;
  }

  .nf-p11-camera{
    width:26px !important;
    height:26px !important;
    font-size:11px !important;
    right:-3px !important;
    bottom:2px !important;
  }

  .nf-p11-name-row{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    margin-bottom:6px !important;
  }

  .nf-p11-name-row h1{
    font-size:19px !important;
    line-height:1.12 !important;
    margin:0 !important;
  }

  .nf-p11-role{
    font-size:11px !important;
    padding:6px 13px !important;
    border-radius:18px !important;
  }

  .nf-p11-mini-links{
    margin-top:2px !important;
    gap:11px !important;
    font-size:11px !important;
  }

  .nf-p11-top-right{
    grid-area:right !important;
    position:static !important;
    justify-self:end !important;
    display:flex !important;
    align-items:flex-start !important;
    gap:20px !important;
    padding-top:2px !important;
    margin:0 !important;
  }

  .nf-p11-verified{
    padding:11px 18px !important;
    font-size:12px !important;
    line-height:1.2 !important;
    border-radius:10px !important;
    white-space:nowrap !important;
  }

  .nf-p11-opportunity{
    min-width:255px !important;
    max-width:255px !important;
    padding:14px 16px !important;
    border-radius:12px !important;
    gap:10px !important;
    align-items:flex-start !important;
  }

  .nf-p11-opportunity > span{
    font-size:22px !important;
    line-height:1 !important;
  }

  .nf-p11-opportunity b{
    font-size:12px !important;
    line-height:1.45 !important;
    font-weight:800 !important;
  }

  .nf-p11-opportunity em{
    font-size:34px !important;
    line-height:1 !important;
    margin-left:auto !important;
  }

  .nf-p11-stats{
    grid-area:stats !important;
    display:grid !important;
    grid-template-columns:repeat(4, 1fr) !important;
    width:500px !important;
    max-width:500px !important;
    margin:0 0 0 98px !important;
    align-self:start !important;
  }

  .nf-p11-stats div{
    padding:8px 10px 14px !important;
    border-right:1px solid #dce8f2 !important;
    text-align:center !important;
  }

  .nf-p11-stats div:last-child{
    border-right:0 !important;
  }

  .nf-p11-stats b{
    display:block !important;
    font-size:18px !important;
    line-height:1.1 !important;
    margin-bottom:12px !important;
    font-weight:800 !important;
  }

  .nf-p11-stats span{
    display:block !important;
    font-size:10px !important;
    line-height:1.15 !important;
    color:#6e8599 !important;
  }
}

@media (min-width:701px) and (max-width:1180px){
  .nf-p11-top{
    grid-template-columns: 520px minmax(250px, 1fr) !important;
  }
  .nf-p11-stats{
    width:455px !important;
    max-width:455px !important;
    margin-left:88px !important;
  }
  .nf-p11-opportunity{
    min-width:220px !important;
    max-width:220px !important;
  }
}


/* ===== v29: profile top alignment + bigger avatar ===== */
@media (min-width:701px){
  .nf-p11-person{
    gap:18px !important;
    min-height:98px !important;
    align-items:center !important;
  }

  .nf-p11-avatar-wrap{
    width:90px !important;
    height:90px !important;
    flex:0 0 90px !important;
  }

  .nf-p11-avatar{
    width:90px !important;
    height:90px !important;
    border-width:5px !important;
    border-color:#eaf3fb !important;
    object-fit:cover !important;
    object-position:center center !important;
  }

  .nf-p11-camera{
    width:27px !important;
    height:27px !important;
    right:-2px !important;
    bottom:3px !important;
    font-size:11px !important;
  }

  .nf-p11-headcopy{
    padding-top:2px !important;
  }

  .nf-p11-stats{
    width:470px !important;
    max-width:470px !important;
    margin:0 0 0 110px !important;
    display:grid !important;
    grid-template-columns:repeat(4,1fr) !important;
    align-items:start !important;
  }

  .nf-p11-stats div{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:12px !important;
    padding:10px 8px 12px !important;
    text-align:center !important;
    min-height:86px !important;
  }

  .nf-p11-stats b{
    margin:0 !important;
    font-size:18px !important;
    line-height:1 !important;
    font-weight:800 !important;
    text-align:center !important;
  }

  .nf-p11-stats span{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    font-size:10px !important;
    line-height:1.2 !important;
    text-align:center !important;
    color:#6f8699 !important;
  }
}

@media (min-width:701px) and (max-width:1180px){
  .nf-p11-avatar-wrap{
    width:84px !important;
    height:84px !important;
    flex:0 0 84px !important;
  }
  .nf-p11-avatar{
    width:84px !important;
    height:84px !important;
  }
  .nf-p11-stats{
    width:445px !important;
    max-width:445px !important;
    margin-left:96px !important;
  }
}


/* ===== v30: force the desktop profile top to match the reference more closely ===== */
@media (min-width: 701px){
  .nf-p11 .nf-p11-top{
    display:grid !important;
    grid-template-columns: 585px 1fr !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "person right"
      "stats  right" !important;
    align-items:start !important;
    gap: 2px 26px !important;
    padding: 22px 24px 14px !important;
    min-height: 185px !important;
  }

  .nf-p11 .nf-p11-person{
    grid-area: person !important;
    display:flex !important;
    align-items:center !important;
    gap: 18px !important;
    min-height: 94px !important;
    margin: 0 !important;
  }

  .nf-p11 .nf-p11-avatar-wrap{
    width: 96px !important;
    height: 96px !important;
    flex: 0 0 96px !important;
  }

  .nf-p11 .nf-p11-avatar{
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border: 5px solid #eaf4fc !important;
    display:block !important;
  }

  .nf-p11 .nf-p11-camera{
    width: 27px !important;
    height: 27px !important;
    right: -2px !important;
    bottom: 3px !important;
    font-size: 11px !important;
    border: 3px solid #fff !important;
  }

  .nf-p11 .nf-p11-headcopy{
    min-width:0 !important;
    padding-top: 0 !important;
  }

  .nf-p11 .nf-p11-name-row{
    display:flex !important;
    align-items:center !important;
    gap: 12px !important;
    margin: 0 0 7px !important;
  }

  .nf-p11 .nf-p11-name-row h1{
    font-size: 20px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  .nf-p11 .nf-p11-role{
    font-size: 11px !important;
    padding: 6px 14px !important;
    border-radius: 18px !important;
  }

  .nf-p11 .nf-p11-mini-links{
    display:flex !important;
    align-items:center !important;
    gap: 12px !important;
    font-size: 11px !important;
    margin-top: 0 !important;
  }

  .nf-p11 .nf-p11-top-right{
    grid-area: right !important;
    position: static !important;
    justify-self: end !important;
    align-self: start !important;
    display:flex !important;
    align-items:flex-start !important;
    gap: 20px !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
  }

  .nf-p11 .nf-p11-verified{
    padding: 11px 18px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .nf-p11 .nf-p11-opportunity{
    min-width: 250px !important;
    max-width: 250px !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    display:flex !important;
    gap: 10px !important;
  }

  .nf-p11 .nf-p11-opportunity > span{
    font-size: 22px !important;
    line-height: 1 !important;
  }

  .nf-p11 .nf-p11-opportunity b{
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
  }

  .nf-p11 .nf-p11-opportunity em{
    font-size: 34px !important;
    line-height: 1 !important;
    margin-left: auto !important;
  }

  .nf-p11 .nf-p11-stats{
    grid-area: stats !important;
    display:grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    width: 500px !important;
    max-width: 500px !important;
    margin: -8px 0 0 114px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
  }

  .nf-p11 .nf-p11-stats div{
    display:flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    padding: 12px 8px 10px !important;
    min-height: 74px !important;
    gap: 10px !important;
    border-right: 1px solid #dce8f2 !important;
  }

  .nf-p11 .nf-p11-stats div:last-child{
    border-right: 0 !important;
  }

  .nf-p11 .nf-p11-stats b{
    display:block !important;
    width:100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-align: center !important;
  }

  .nf-p11 .nf-p11-stats span{
    display:block !important;
    width:100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    color:#72889d !important;
    text-align:center !important;
  }
}

@media (min-width: 701px) and (max-width: 1180px){
  .nf-p11 .nf-p11-top{
    grid-template-columns: 520px 1fr !important;
  }
  .nf-p11 .nf-p11-avatar-wrap{
    width:88px !important;
    height:88px !important;
    flex-basis:88px !important;
  }
  .nf-p11 .nf-p11-avatar{
    width:88px !important;
    height:88px !important;
  }
  .nf-p11 .nf-p11-stats{
    width:460px !important;
    max-width:460px !important;
    margin-left:102px !important;
  }
  .nf-p11 .nf-p11-opportunity{
    min-width:220px !important;
    max-width:220px !important;
  }
}


/* ===== v31: desktop top summary alignment correction ===== */
@media (min-width:701px){
  .nf-p11 .nf-p11-top{
    position:relative !important;
    display:block !important;
    min-height:156px !important;
    padding:18px 24px 12px !important;
    overflow:hidden !important;
  }

  .nf-p11 .nf-p11-person{
    display:flex !important;
    align-items:flex-start !important;
    gap:16px !important;
    min-height:0 !important;
    width:560px !important;
    margin:0 !important;
  }

  .nf-p11 .nf-p11-avatar-wrap{
    width:94px !important;
    height:94px !important;
    flex:0 0 94px !important;
  }
  .nf-p11 .nf-p11-avatar{
    width:94px !important;
    height:94px !important;
    border:5px solid #eaf4fc !important;
    object-fit:cover !important;
    object-position:center !important;
  }
  .nf-p11 .nf-p11-camera{
    width:27px !important;
    height:27px !important;
    right:-2px !important;
    bottom:3px !important;
    font-size:11px !important;
  }

  .nf-p11 .nf-p11-headcopy{
    padding-top:12px !important;
  }
  .nf-p11 .nf-p11-name-row{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    margin:0 0 6px !important;
  }
  .nf-p11 .nf-p11-name-row h1{
    margin:0 !important;
    font-size:20px !important;
    line-height:1.1 !important;
  }
  .nf-p11 .nf-p11-role{
    padding:6px 13px !important;
    border-radius:16px !important;
    font-size:11px !important;
  }
  .nf-p11 .nf-p11-mini-links{
    margin-top:0 !important;
    gap:10px !important;
    font-size:11px !important;
  }

  /* Put the statistics on the same compact band as the reference, not far below. */
  .nf-p11 .nf-p11-stats{
    position:absolute !important;
    left:124px !important;
    top:83px !important;
    width:500px !important;
    max-width:none !important;
    margin:0 !important;
    display:grid !important;
    grid-template-columns:repeat(4,1fr) !important;
  }
  .nf-p11 .nf-p11-stats div{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;
    height:58px !important;
    min-height:58px !important;
    padding:0 8px !important;
    border-right:1px solid #dce8f2 !important;
    text-align:center !important;
  }
  .nf-p11 .nf-p11-stats div:last-child{border-right:0 !important;}
  .nf-p11 .nf-p11-stats b{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    font-size:17px !important;
    line-height:1 !important;
    font-weight:800 !important;
    text-align:center !important;
  }
  .nf-p11 .nf-p11-stats span{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    font-size:9px !important;
    line-height:1.15 !important;
    color:#72889d !important;
    text-align:center !important;
    white-space:nowrap !important;
  }

  .nf-p11 .nf-p11-top-right{
    position:absolute !important;
    top:18px !important;
    right:24px !important;
    display:flex !important;
    align-items:flex-start !important;
    gap:18px !important;
    margin:0 !important;
  }
  .nf-p11 .nf-p11-verified{
    padding:10px 16px !important;
    font-size:12px !important;
  }
  .nf-p11 .nf-p11-opportunity{
    min-width:245px !important;
    max-width:245px !important;
    padding:12px 14px !important;
  }
}

@media (min-width:701px) and (max-width:1180px){
  .nf-p11 .nf-p11-stats{
    left:112px !important;
    width:455px !important;
  }
  .nf-p11 .nf-p11-avatar-wrap{width:88px !important;height:88px !important;flex-basis:88px !important;}
  .nf-p11 .nf-p11-avatar{width:88px !important;height:88px !important;}
}


/* ===== v32: increase profile top image by ~10% ===== */
@media (min-width:701px){
  .nf-p11 .nf-p11-avatar-wrap{
    width:92px !important;
    height:92px !important;
    flex:0 0 92px !important;
  }
  .nf-p11 .nf-p11-avatar{
    width:92px !important;
    height:92px !important;
    border-width:5px !important;
    object-fit:cover !important;
    object-position:center center !important;
  }
  .nf-p11 .nf-p11-camera{
    right:-2px !important;
    bottom:3px !important;
    width:28px !important;
    height:28px !important;
  }
  .nf-p11 .nf-p11-person{
    gap:19px !important;
    min-height:98px !important;
  }
  .nf-p11 .nf-p11-stats{
    margin-left:110px !important;
  }
}


/* ===== v33: move desktop stats closer to profile image ===== */
@media (min-width:701px){
  .nf-p11 .nf-p11-stats{
    left:96px !important;
    top:82px !important;
    width:470px !important;
    margin:0 !important;
  }
  .nf-p11 .nf-p11-stats div{
    gap:4px !important;
    padding:0 10px !important;
  }
}

@media (min-width:701px) and (max-width:1180px){
  .nf-p11 .nf-p11-stats{
    left:88px !important;
    width:430px !important;
  }
}


/* ===== v34: bring stats much closer and enlarge profile image slightly ===== */
@media (min-width:701px){
  .nf-p11 .nf-p11-top{
    min-height: 168px !important;
    padding: 16px 24px 10px !important;
  }

  .nf-p11 .nf-p11-avatar-wrap{
    width: 100px !important;
    height: 100px !important;
    flex: 0 0 100px !important;
  }

  .nf-p11 .nf-p11-avatar{
    width: 100px !important;
    height: 100px !important;
    border: 5px solid #eaf4fc !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .nf-p11 .nf-p11-camera{
    width: 29px !important;
    height: 29px !important;
    right: -1px !important;
    bottom: 5px !important;
  }

  .nf-p11 .nf-p11-person{
    width: 500px !important;
    gap: 16px !important;
  }

  .nf-p11 .nf-p11-headcopy{
    padding-top: 6px !important;
  }

  .nf-p11 .nf-p11-name-row{
    margin: 0 0 5px !important;
    gap: 12px !important;
  }

  .nf-p11 .nf-p11-mini-links{
    margin-top: 0 !important;
  }

  .nf-p11 .nf-p11-stats{
    left: 86px !important;
    top: 92px !important;
    width: 395px !important;
    max-width: 395px !important;
    margin: 0 !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  }

  .nf-p11 .nf-p11-stats div{
    height: 52px !important;
    min-height: 52px !important;
    gap: 2px !important;
    padding: 0 6px !important;
  }

  .nf-p11 .nf-p11-stats b{
    font-size: 17px !important;
    line-height: 1 !important;
  }

  .nf-p11 .nf-p11-stats span{
    font-size: 9px !important;
    line-height: 1.1 !important;
  }
}

@media (min-width:701px) and (max-width:1180px){
  .nf-p11 .nf-p11-avatar-wrap{
    width: 92px !important;
    height: 92px !important;
    flex-basis: 92px !important;
  }

  .nf-p11 .nf-p11-avatar{
    width: 92px !important;
    height: 92px !important;
  }

  .nf-p11 .nf-p11-stats{
    left: 78px !important;
    top: 90px !important;
    width: 360px !important;
    max-width: 360px !important;
  }
}


/* ===== v35: desktop profile top closer to provided reference ===== */
@media (min-width:701px){
  .nf-p11{
    color:#103b67 !important;
  }

  .nf-p11 .nf-p11-top{
    background:linear-gradient(90deg,#f7fbff 0%,#ffffff 74%,#fff9ee 100%) !important;
    border-radius:16px !important;
    padding:14px 18px 12px !important;
    min-height:164px !important;
  }

  .nf-p11 .nf-p11-person{
    width:500px !important;
    min-height:86px !important;
    gap:14px !important;
    align-items:flex-start !important;
  }

  .nf-p11 .nf-p11-avatar-wrap{
    width:96px !important;
    height:96px !important;
    flex:0 0 96px !important;
    margin-top:2px !important;
  }

  .nf-p11 .nf-p11-avatar{
    width:96px !important;
    height:96px !important;
    border-radius:50% !important;
    border:5px solid #eaf4fc !important;
    object-fit:cover !important;
    object-position:center center !important;
  }

  .nf-p11 .nf-p11-camera{
    width:27px !important;
    height:27px !important;
    right:-2px !important;
    bottom:2px !important;
    font-size:12px !important;
  }

  .nf-p11 .nf-p11-headcopy{
    padding-top:7px !important;
  }

  .nf-p11 .nf-p11-name-row{
    gap:12px !important;
    margin:0 0 8px !important;
  }

  .nf-p11 .nf-p11-name-row h1{
    font-size:24px !important;
    font-weight:800 !important;
    line-height:1.05 !important;
    margin:0 !important;
  }

  .nf-p11 .nf-p11-role{
    padding:6px 16px !important;
    border-radius:20px !important;
    font-size:11px !important;
    font-weight:800 !important;
  }

  .nf-p11 .nf-p11-mini-links{
    gap:14px !important;
    font-size:11px !important;
    color:#35526d !important;
    margin-top:0 !important;
  }

  .nf-p11 .nf-p11-top-right{
    right:20px !important;
    top:20px !important;
    gap:16px !important;
  }

  .nf-p11 .nf-p11-verified{
    background:#e9fff3 !important;
    color:#0a9a67 !important;
    border-radius:12px !important;
    padding:13px 22px !important;
    font-size:13px !important;
    font-weight:800 !important;
    box-shadow:none !important;
  }

  .nf-p11 .nf-p11-opportunity{
    min-width:260px !important;
    max-width:260px !important;
    border-radius:12px !important;
    padding:14px 16px !important;
    gap:12px !important;
    background:linear-gradient(135deg,#fff8ea,#fffef9) !important;
  }

  .nf-p11 .nf-p11-opportunity > span{
    font-size:24px !important;
    line-height:1 !important;
  }

  .nf-p11 .nf-p11-opportunity b{
    font-size:12px !important;
    line-height:1.55 !important;
    font-weight:800 !important;
    color:#14385f !important;
  }

  .nf-p11 .nf-p11-opportunity em{
    font-size:36px !important;
    line-height:1 !important;
    margin-left:auto !important;
  }

  .nf-p11 .nf-p11-stats{
    left:106px !important;
    top:88px !important;
    width:470px !important;
    max-width:470px !important;
    margin:0 !important;
    display:grid !important;
    grid-template-columns:repeat(4,1fr) !important;
  }

  .nf-p11 .nf-p11-stats div{
    min-height:58px !important;
    height:58px !important;
    padding:0 10px !important;
    gap:5px !important;
    justify-content:flex-start !important;
    align-items:center !important;
    border-right:1px solid #dfe8f2 !important;
  }

  .nf-p11 .nf-p11-stats b{
    font-size:18px !important;
    font-weight:800 !important;
    line-height:1 !important;
    color:#123a67 !important;
  }

  .nf-p11 .nf-p11-stats span{
    font-size:10px !important;
    line-height:1.15 !important;
    color:#7a90a5 !important;
  }

  .nf-p11 .nf-p11-tabs{
    display:flex !important;
    gap:12px !important;
    margin:14px 0 16px !important;
  }

  .nf-p11 .nf-p11-tabs button{
    background:#f2f8ff !important;
    color:#476785 !important;
    border-radius:12px !important;
    padding:11px 20px !important;
    font-size:14px !important;
    font-weight:700 !important;
    box-shadow:none !important;
  }

  .nf-p11 .nf-p11-tabs button.active{
    background:#1383f3 !important;
    color:#ffffff !important;
  }
}


/* ===== v37: center B perfectly inside navbar avatar circle ===== */
.nf-user-chip .nf-avatar-letter{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  line-height:1 !important;
  padding:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

.nf-user-chip .nf-avatar-letter::before,
.nf-user-chip .nf-avatar-letter::after{
  content:none !important;
}
