@font-face{font-family:NCInter;src:url('fonts/inter-latin.woff') format('woff');font-weight:100 900;font-style:normal;font-display:swap}
/* NeuroChess Family / v2.28.0 — completely scoped to .nc-family */
.nc-family{--ncf-navy:#123a63;--ncf-deep:#092846;--ncf-teal:#139e8a;--ncf-blue:#4ea3e6;--ncf-bg:#f5f8fc;--ncf-txt:#14283b;--ncf-sub:#6e8090;--ncf-stroke:#e5edf3;--ncf-shadow:0 20px 55px rgba(20,54,82,.055);color:var(--ncf-txt);font-family:NCInter,Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:1.55;isolation:isolate;max-width:1440px;margin:0 auto;box-sizing:border-box}
.nc-family *, .nc-family *:before,.nc-family *:after{box-sizing:border-box}
.nc-family h1,.nc-family h2,.nc-family h3,.nc-family p,.nc-family ul{margin:0;padding:0}
.nc-family h1,.nc-family h2,.nc-family h3{font-family:NCInter,Inter,system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:-.04em;line-height:1.19}
.nc-family button,.nc-family select,.nc-family a{font:inherit}
.nc-family button{cursor:pointer}
.nc-family a:focus-visible,.nc-family button:focus-visible,.nc-family select:focus-visible{outline:3px solid #45aee7;outline-offset:3px}
.nc-family .ncf-root{background:var(--ncf-bg);border:1px solid #e6edf3;border-radius:25px;box-shadow:0 30px 95px rgba(20,52,77,.08);overflow:hidden;min-width:0}
.nc-family .ncf-top{height:89px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(21px,4.4vw,62px);background:#fff;border-bottom:1px solid var(--ncf-stroke)}
.nc-family .ncf-brand{display:flex;align-items:center;gap:12px}
.nc-family .ncf-brand-icon{background:#123a63;color:white;width:44px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:30px;line-height:1}
.nc-family .ncf-brand strong{display:block;font-size:20px;font-weight:850;letter-spacing:-.045em;color:#123a63;line-height:1.08}
.nc-family .ncf-brand small{display:block;letter-spacing:.3em;font-weight:800;color:#139e8a;font-size:9px;margin-top:6px}
.nc-family .ncf-top-meta{display:flex;align-items:center;gap:22px}
.nc-family .ncf-private{font-size:12px;color:#78909f;font-weight:600}
.nc-family .ncf-private span{font-size:9px;color:#139e8a;margin-right:4px}
.nc-family .ncf-small-avatar{width:34px;height:34px;border:1px solid #e4ecef;border-radius:50%;display:grid;place-items:center;color:#167d83;background:#f1fafa}
.nc-family .ncf-content{padding:34px clamp(20px,4.4vw,62px) 50px}
.nc-family .ncf-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:32px}
.nc-family .ncf-eyebrow,.nc-family .ncf-kicker{font-size:10px;line-height:1.4;font-weight:850;letter-spacing:.19em;color:#159e8b}
.nc-family .ncf-eyebrow .ncf-dot{display:inline-block;width:7px;height:7px;background:#139e8a;border-radius:50%;vertical-align:middle;margin-right:6px;box-shadow:0 0 0 4px #d9f2ed}
.nc-family .ncf-heading h1{font-size:clamp(30px,3.2vw,45px);margin:10px 0 11px;color:#153755;font-weight:830}
.nc-family .ncf-heading h1 em{font-style:normal;color:#139e8a}
.nc-family .ncf-heading>div>p:last-child{font-size:14px;color:#6b7f90}
.nc-family .ncf-student-switch{min-width:208px;background:#fff;border:1px solid #e2ebf1;border-radius:14px;padding:12px 15px;box-shadow:0 7px 23px rgba(7,40,69,.04)}
.nc-family .ncf-student-switch label{display:block;font-size:9px;letter-spacing:.15em;color:#97a6b4;font-weight:850;margin-bottom:2px}
.nc-family .ncf-student-switch select{display:block;width:100%;font-weight:800;color:#183753;background:transparent;border:0;outline-offset:4px;min-height:30px;min-width:0}
.nc-family .ncf-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:39px clamp(25px,3.7vw,51px);background:linear-gradient(116deg,#102f52 0%,#123c60 55%,#15596d 100%);border-radius:22px;color:white;overflow:hidden;min-height:279px}
.nc-family .ncf-hero-glow{position:absolute;right:-12%;top:-77%;width:58%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(82,198,200,.15),transparent 70%);pointer-events:none}
.nc-family .ncf-hero-chess{position:absolute;font-size:360px;font-family:Georgia,serif;color:rgba(255,255,255,.028);right:12%;bottom:-195px;pointer-events:none;user-select:none}
.nc-family .ncf-hero-copy{position:relative;z-index:2;max-width:550px}
.nc-family .ncf-hero-pill{display:inline-flex;gap:8px;align-items:center;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);border-radius:20px;padding:6px 12px;color:#c8e8eb;font-size:9px;font-weight:850;letter-spacing:.13em}
.nc-family .ncf-hello{color:#a2c1d0;font-size:14px;margin:17px 0 5px;font-weight:600}
.nc-family .ncf-hero h2{font-size:clamp(26px,2.55vw,38px);color:#fff;font-weight:850;max-width:540px;margin-bottom:12px}
.nc-family .ncf-hero h2+p{font-size:13px;line-height:1.65;color:#bfdae4;max-width:470px}
.nc-family .ncf-hero-foot{display:flex;align-items:center;gap:14px;margin-top:25px;color:#61c7b9;font-size:11px;font-weight:850;letter-spacing:.14em}
.nc-family .ncf-hero-foot>span:nth-child(even){color:#a8cbcf}
.nc-family .ncf-progress-wrap{position:relative;z-index:2;min-width:174px;display:flex;flex-direction:column;align-items:center;gap:13px}
.nc-family .ncf-progress-ring{width:160px;height:160px;border-radius:50%;padding:12px;background:conic-gradient(#4fd1b7 var(--ncf-progress),rgba(255,255,255,.18) 0);box-shadow:0 0 0 1px rgba(255,255,255,.1)}
.nc-family .ncf-ring-inner{height:100%;width:100%;background:#143f5c;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.nc-family .ncf-ring-inner strong{font-size:44px;color:#fff;font-weight:840;line-height:1;letter-spacing:-.065em}
.nc-family .ncf-ring-inner strong small{font-size:20px;margin-left:2px;font-weight:700;color:#71d6c5}
.nc-family .ncf-ring-inner>span{color:#a9c9d7;font-size:11px;margin-top:8px}
.nc-family .ncf-progress-label{font-weight:750;color:#d5e9ed;font-size:12px}
.nc-family .ncf-section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:36px 0 17px}
.nc-family .ncf-section-heading h2{margin-top:7px;font-size:24px;color:#173954}
.nc-family .ncf-data-label{font-weight:750;font-size:10px;color:#a0afbc;letter-spacing:.14em;white-space:nowrap}
.nc-family .ncf-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.nc-family .ncf-stat,.nc-family .ncf-panel{background:#fff;border-radius:19px;border:1px solid #e6edf4;box-shadow:var(--ncf-shadow);min-width:0}
.nc-family .ncf-stat{padding:21px 20px 23px;min-height:204px}
.nc-family .ncf-stat-head{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:16px}
.nc-family .ncf-stat-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;font-size:22px;font-weight:650}
.nc-family .ncf-stat-icon.teal{background:#e4f8f2;color:#128d7b}
.nc-family .ncf-stat-icon.blue{background:#eaf3ff;color:#3588ca}
.nc-family .ncf-stat-icon.amber{background:#fff4dd;color:#c48920}
.nc-family .ncf-stat-icon.violet{background:#eeeaff;color:#716ac7}
.nc-family .ncf-stat-hint{letter-spacing:.12em;font-size:9px;font-weight:800;color:#abb8c3;white-space:nowrap}
.nc-family .ncf-stat>strong{display:block;font-size:34px;line-height:1.05;font-weight:870;color:#143a56;letter-spacing:-.06em;margin-bottom:9px}
.nc-family .ncf-stat>strong span{font-size:18px;color:#93a7b5;letter-spacing:-.01em}
.nc-family .ncf-stat h3{font-size:13px;letter-spacing:0;color:#254256;font-weight:800}
.nc-family .ncf-stat p{font-size:11px;margin-top:5px;color:#8a9ca9;line-height:1.5}
.nc-family .ncf-main-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(275px,1fr);gap:17px;margin-top:19px;align-items:start}
.nc-family .ncf-journey{padding:27px 30px}
.nc-family .ncf-card-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:25px}
.nc-family .ncf-card-title h2{font-size:23px;margin-top:6px;color:#163753}
.nc-family .ncf-tag{font-size:9px;letter-spacing:.12em;font-weight:850;color:#168e7f;background:#e6f8f2;border-radius:8px;padding:7px 10px;white-space:nowrap}
.nc-family .ncf-modules{display:flex;flex-direction:column;gap:22px}
.nc-family .ncf-module{display:flex;align-items:flex-start;gap:14px}
.nc-family .ncf-module-index{border:1px solid #e4ecee;background:#f4f8f9;flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-size:12px;color:#49727a;font-weight:850}
.nc-family .ncf-module-body{flex:1;min-width:0}
.nc-family .ncf-module-title{display:flex;align-items:start;justify-content:space-between;gap:12px;margin:0 0 9px}
.nc-family .ncf-module-title strong{display:block;font-size:14px;letter-spacing:-.01em;color:#234359}
.nc-family .ncf-module-title small{display:block;color:#92a0aa;font-size:11px;margin-top:1px}
.nc-family .ncf-module-title>span{font-weight:830;font-size:12px;color:#618291;white-space:nowrap}
.nc-family .ncf-bar{height:7px;border-radius:20px;background:#edf3f5;overflow:hidden}
.nc-family .ncf-bar>span{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#159b88,#52cfc0)}
.nc-family .ncf-footnote{font-size:11px;color:#96a4ad;margin-top:27px;padding-top:16px;border-top:1px solid #eff2f5;line-height:1.55}
.nc-family .ncf-side{display:flex;flex-direction:column;gap:17px}
.nc-family .ncf-next{padding:26px;background:linear-gradient(148deg,#fff 5%,#f1fbf9 110%);border-color:#dceeea}
.nc-family .ncf-kicker-icon{width:38px;height:38px;border-radius:12px;background:#daf6ec;color:#0b9782;display:grid;place-items:center;font-size:23px;margin-bottom:18px}
.nc-family .ncf-next h2{font-size:22px;color:#163e55;margin:10px 0}
.nc-family .ncf-next>p:not(.ncf-eyebrow){font-size:13px;line-height:1.7;color:#6a8790}
.nc-family .ncf-next-tip{display:block;font-size:12px;color:#25847d;font-weight:730;margin-top:18px;padding-top:15px;border-top:1px solid #d9efec}
.nc-family .ncf-recent{padding:25px 26px}
.nc-family .ncf-recent h2{font-size:21px;color:#163b55;margin:6px 0 18px}
.nc-family .ncf-recent ul{list-style:none;display:flex;flex-direction:column;gap:17px}
.nc-family .ncf-recent li{display:flex;gap:12px;align-items:start}
.nc-family .ncf-recent-dot{height:10px;width:10px;border-radius:50%;background:#7eb2e3;margin-top:6px;flex:none;box-shadow:0 0 0 4px #ecf4fb}
.nc-family .ncf-recent-dot.done{background:#36b19b;box-shadow:0 0 0 4px #e6f7f1}
.nc-family .ncf-recent li strong{display:block;font-size:12px;font-weight:750;line-height:1.4;color:#2a4a5c}
.nc-family .ncf-recent li small{display:block;color:#97a6ae;font-size:11px;margin-top:3px}
.nc-family .ncf-no-activity{font-size:13px;color:#8297a6}
.nc-family .ncf-footer-note{display:flex;gap:13px;align-items:start;border:1px solid #dcece9;border-radius:15px;padding:20px 22px;margin-top:20px;background:#eff9f6}
.nc-family .ncf-footer-icon{width:33px;height:33px;border-radius:9px;background:#dbefe8;display:grid;place-items:center;color:#138b7e;font-size:17px;flex:none}
.nc-family .ncf-footer-note strong{font-size:13px;color:#1e5d5a;letter-spacing:-.02em}
.nc-family .ncf-footer-note p{font-size:12px;color:#5b817c;margin-top:3px;line-height:1.6}
.nc-family .ncf-footer{background:#fff;border-top:1px solid var(--ncf-stroke);padding:22px clamp(21px,4.4vw,62px);display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;color:#9aaab5;font-size:10px;letter-spacing:.1em;font-weight:800}
.nc-family .ncf-footer b{color:#139e8a}
.nc-family .ncf-empty-card{background:#fff;border:1px solid #e6edf4;border-radius:22px;text-align:center;margin:40px auto;max-width:620px;padding:60px 35px;box-shadow:var(--ncf-shadow)}
.nc-family .ncf-empty-card h2{font-size:31px;color:#163e5c;margin:10px 0 12px}
.nc-family .ncf-empty-card p:not(.ncf-kicker){max-width:410px;margin:0 auto 18px;color:#718a99;font-size:14px}
.nc-family .ncf-symbol{display:block;color:#159b88;font-size:62px;line-height:1;margin-bottom:17px}
.nc-family .ncf-button,.nc-family .ncf-button-ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:45px;padding:10px 21px;border-radius:11px;background:#139e8a;border:1px solid #139e8a;color:#fff!important;font-weight:750;font-size:13px;text-decoration:none!important;transition:filter .15s ease}
.nc-family .ncf-button:hover{filter:brightness(.91)}
.nc-family .ncf-button-ghost{background:white;border-color:#dbe6ea;color:#426a75!important}
.nc-family .ncf-notice,.nc-family .ncf-note{font-size:12px!important}
.nc-family .ncf-invitations{margin:22px auto;max-width:680px;background:#fff;border:1px solid #e2ebee;border-radius:16px;padding:22px}
.nc-family .ncf-invitations h2{font-size:18px;color:#20445a;margin-bottom:7px}
.nc-family .ncf-invitations>p{font-size:12px;color:#67818f;margin:0 0 15px}
.nc-family .ncf-invite{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #edf2f4;padding-top:16px}
.nc-family .ncf-invite>span{flex:1;min-width:190px;font-size:12px;color:#426b74}
.nc-family .ncf-invite form{margin:0}
.nc-family .ncf-skeleton{background:linear-gradient(120deg,#123a63,#126271);border-radius:18px;padding:60px 25px;display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;color:white}
.nc-family .ncf-skeleton-mark{font-size:50px;color:#7de1d4;line-height:1}
.nc-family .ncf-skeleton strong{font-size:20px}
.nc-family .ncf-skeleton small{color:#badbdc}
.nc-family .ncf-error{margin:25px auto;padding:25px;border:1px solid #e8cfd1;border-radius:14px;background:#fff9f9;color:#873d42;font-size:14px}
.nc-family .ncf-retry{background:#123a63;border:0;color:#fff;padding:9px 18px;border-radius:9px;font-weight:700;margin-top:14px}
@media(max-width:1050px){.nc-family .ncf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.nc-family .ncf-stat{min-height:172px}.nc-family .ncf-main-grid{grid-template-columns:minmax(0,1.2fr) minmax(250px,1fr)}}
@media(max-width:720px){.nc-family .ncf-root{border-radius:17px}.nc-family .ncf-top{height:73px}.nc-family .ncf-top-meta{gap:10px}.nc-family .ncf-private{font-size:10px}.nc-family .ncf-small-avatar{display:none}.nc-family .ncf-content{padding:26px 18px 32px}.nc-family .ncf-heading{display:block;margin-bottom:22px}.nc-family .ncf-heading h1{font-size:32px}.nc-family .ncf-heading>div>p:last-child{font-size:12px;line-height:1.6}.nc-family .ncf-student-switch{margin-top:17px;max-width:none}.nc-family .ncf-hero{display:flex;flex-direction:column;align-items:start;padding:29px 23px 24px;gap:22px}.nc-family .ncf-hero h2{font-size:29px}.nc-family .ncf-hero-copy{max-width:none}.nc-family .ncf-progress-wrap{flex-direction:row;min-width:0;width:100%;gap:16px;border-top:1px solid rgba(255,255,255,.15);padding-top:19px}.nc-family .ncf-progress-ring{width:98px;height:98px;padding:8px;flex:none}.nc-family .ncf-ring-inner strong{font-size:29px}.nc-family .ncf-ring-inner strong small{font-size:14px}.nc-family .ncf-ring-inner>span{font-size:9px}.nc-family .ncf-progress-label{font-size:14px}.nc-family .ncf-section-heading{margin-top:30px}.nc-family .ncf-section-heading h2{font-size:22px}.nc-family .ncf-data-label{display:none}.nc-family .ncf-main-grid{grid-template-columns:1fr}.nc-family .ncf-journey{padding:25px 20px}.nc-family .ncf-next,.nc-family .ncf-recent{padding:24px}.nc-family .ncf-hero-chess{right:-20%;font-size:300px;bottom:-160px}}
@media(max-width:400px){.nc-family .ncf-brand-icon{width:38px;height:38px;font-size:27px}.nc-family .ncf-brand strong{font-size:18px}.nc-family .ncf-private{font-size:9px}.nc-family .ncf-heading h1{font-size:29px}.nc-family .ncf-hero h2{font-size:25px}.nc-family .ncf-hero-pill{font-size:8px}.nc-family .ncf-stats{gap:9px}.nc-family .ncf-stat{padding:15px 12px 17px;min-height:176px}.nc-family .ncf-stat>strong{font-size:29px}.nc-family .ncf-stat-head{gap:4px}.nc-family .ncf-stat-icon{height:31px;width:31px;font-size:18px}.nc-family .ncf-stat-hint{font-size:8px}.nc-family .ncf-stat h3{font-size:12px}.nc-family .ncf-stat p{font-size:10px}.nc-family .ncf-journey{padding:23px 17px}.nc-family .ncf-card-title h2{font-size:20px}.nc-family .ncf-module-title strong{font-size:13px}.nc-family .ncf-footer{padding:20px}}
@media(prefers-reduced-motion:reduce){.nc-family *{transition:none!important;animation:none!important}}

.nc-family .ncf-all-lessons{margin-top:27px;border-top:1px solid #e9eff3;padding-top:15px}
.nc-family .ncf-all-lessons summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:800;color:#197b78;padding:8px 2px}
.nc-family .ncf-all-lessons summary::-webkit-details-marker{display:none}
.nc-family .ncf-all-lessons[open] summary span{transform:rotate(180deg)}
.nc-family .ncf-all-lessons ol{list-style:none;margin:9px 0 0;padding:0;border-top:1px solid #edf2f5}
.nc-family .ncf-all-lessons li{display:flex;gap:10px;align-items:center;padding:11px 2px;border-bottom:1px solid #eff3f5;font-size:12px}
.nc-family .ncf-lesson-num{font-size:10px;font-weight:850;color:#7795a1;min-width:26px}
.nc-family .ncf-lesson-name{flex:1;color:#3c5766;font-weight:600}
.nc-family .ncf-lesson-status{font-weight:800;white-space:nowrap;font-size:10px;color:#8798a2}
.nc-family .ncf-lesson-complete{color:#148f7c}
.nc-family .ncf-lesson-active{color:#307ac5}

/* v2.28.1: single-account course ownership (no second email required). */
.nc-family .ncf-account-label{display:block;font-size:9px;letter-spacing:.15em;color:#97a6b4;font-weight:850;margin-bottom:3px}
.nc-family .ncf-account-name{display:block;font-size:13px;font-weight:800;color:#183753;overflow-wrap:anywhere}
.nc-family .ncf-account-help{display:block;font-size:11px;color:#6e9294;margin-top:3px}
