@import url('/design-system.css?v=unified12-1');
:root{--navy:#102c49;--ink:#182c41;--muted:#586b7e;--gold:#c59a49;--line:#dbe4ed;--paper:#fff;--bg:#f2f6fa;--blue:#155eae}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}a{color:var(--blue)}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;line-height:1.2}h2{font-size:1.4rem;line-height:1.3}h3{font-size:1.05rem;line-height:1.4}small,.small{font-size:.875rem}.muted{color:var(--muted)}.topbar{background:var(--navy);color:white;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 30px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:white}.brandmark{height:44px;width:44px;border:1px solid var(--gold);display:grid;place-items:center;color:#eccb86;font-family:Georgia,serif;font-size:30px}.brand strong{display:block;letter-spacing:3px;color:#eccb86}.brand small{display:block}.topbar a:last-child{color:white;font-size:.9rem}.topstatus{font-size:.875rem;color:#d5e1ee}.app{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 82px)}.sidebar{background:white;border-right:1px solid var(--line);padding:24px 16px}.sidebar .caption{padding:0 12px;color:var(--muted);font-size:.75rem;letter-spacing:2px;margin-bottom:14px}.navbtn{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:12px;margin-bottom:5px;text-align:left;border-radius:8px;color:var(--ink)}.navbtn.active{background:var(--navy);color:white}.sidebar .note{border-top:1px solid var(--line);margin-top:30px;padding:20px 12px;color:var(--muted);font-size:.875rem}.main{padding:30px;max-width:1500px;width:100%;min-width:0}.eyebrow{color:#846026;font-size:.8rem;text-transform:uppercase;letter-spacing:2px;font-weight:600}.headrow{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap}.badge{font-size:.75rem;padding:5px 9px;border-radius:5px;background:#e8eef6;color:#304e6d;display:inline-block}.draft{background:#fff1d5;color:#75521a}.notice{padding:12px 16px;background:#fff8e8;border:1px solid #e9d6ad;border-radius:8px;font-size:.875rem;color:#634d2b;margin:20px 0}.toolbar{display:flex;gap:12px;margin:22px 0 16px;flex-wrap:wrap}.field{border:1px solid #bdccd9;border-radius:8px;padding:11px 14px;color:var(--ink);background:white;min-width:0;max-width:100%}.toolbar input{flex:1;min-width:200px}.toolbar select{max-width:300px}.count{font-size:.875rem;color:var(--muted);margin-bottom:15px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.course{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.course-top{padding:18px 20px;border-bottom:1px solid var(--line);background:#f7fafc}.course-top .code{color:#a07833;font-family:Georgia,serif;font-size:1.25rem;float:right}.course h3{margin:10px 0 0;min-height:3em}.course-body{padding:18px 20px;display:flex;flex-direction:column;flex:1}.course-body p{font-size:.875rem;color:var(--muted)}.meta{display:flex;gap:8px;flex-wrap:wrap;font-size:.875rem;color:var(--muted);margin-top:auto}.course-bottom{padding:16px 20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.price{font-size:.875rem;font-weight:600}.btn{background:white;color:var(--ink);border:1px solid #b7c7d7;padding:9px 14px;border-radius:7px;font-size:.875rem;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.primary{background:var(--navy);color:white;border-color:var(--navy)}.ghost{border:0;background:transparent;padding:0}.wide{width:100%}.breadcrumbs{display:flex;gap:8px;align-items:center;font-size:.875rem;margin-bottom:20px;flex-wrap:wrap}.columns{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:18px;min-width:0}.overview{border-top:4px solid var(--gold)}.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.fact{padding:12px;background:#f4f7fa;border-radius:8px;font-size:.875rem}.fact strong{display:block;margin-top:3px;color:var(--ink)}.module{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.module:last-child{border-bottom:0}.module strong{display:block}.module .number{font-size:.875rem;letter-spacing:1px;color:#9a752f}.module small{color:var(--muted)}.module .btn{flex-shrink:0}.purchase .price-big{font-size:1.45rem;margin:14px 0}.purchase ul{padding-left:20px;font-size:.875rem;color:var(--muted)}.languagebar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.languagebuttons{display:flex;gap:6px;flex-wrap:wrap}.lang{border:1px solid #bbcad8;background:white;color:var(--ink);padding:8px 13px;border-radius:7px;font-size:.875rem}.lang.active{background:var(--navy);color:white}.player{background:#0b1826;border-radius:10px;overflow:hidden;position:relative;color:white}.player video{display:block;width:100%;aspect-ratio:16/9;background:#0b1826}.watermark{position:absolute;top:14px;left:18px;z-index:2;pointer-events:none;background:#102c49e6;padding:7px 12px;border:1px solid #c59a49;color:#eccb86;letter-spacing:3px;font-weight:600;font-size:.875rem}.video-empty{position:absolute;inset:60px 20px 35px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;pointer-events:none}.video-empty strong{font-size:1.2rem}.video-empty p{color:#b9cadd;font-size:.875rem;max-width:440px}.player-footer{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;background:#12283d;font-size:.875rem;flex-wrap:wrap}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.tab{border:1px solid #c1d0dc;background:white;color:var(--ink);padding:9px 16px;border-radius:7px}.tab.active{background:var(--navy);color:white}.theory p{line-height:1.8}.example{background:#f1f5f9;padding:18px;border-radius:9px;white-space:pre-wrap;font:15px/1.6 ui-monospace,monospace;overflow-wrap:anywhere}.timeline{list-style:none;padding:0;margin:0}.timeline li{display:flex;gap:20px;padding:13px 0;border-bottom:1px solid var(--line)}.time{color:#8b6528;font-variant-numeric:tabular-nums;min-width:90px}.flow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#f5f8fb;padding:24px;border-radius:10px;margin:20px 0}.node{border:2px dashed #8396a9;padding:18px;min-width:120px;text-align:center;border-radius:10px;flex:1}.node strong{display:block;font-size:1.3rem}.node small{color:var(--muted)}.tutor{border-top:4px solid var(--gold)}.tutor-message{padding:14px;background:#f2f6fa;border-radius:8px;font-size:.875rem;margin:15px 0;white-space:pre-wrap;overflow-wrap:anywhere}.quick{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}.quick button{font-size:.8rem}.question{display:flex;gap:8px}.question input{width:100%;min-width:0}.sticky{position:sticky;top:20px}.skeleton-info{padding:18px;background:#f2f6fa;border-radius:8px;font-size:.875rem}.answer{margin-top:12px}.empty{padding:30px;text-align:center;background:white;border:1px solid var(--line);border-radius:10px}.integration-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.integration-list .panel{margin:0}.integration-list h3{margin-bottom:8px}.integration-list p{font-size:.875rem}.footer{padding:25px 0;font-size:.8rem;color:var(--muted)}dialog{width:min(540px,calc(100% - 32px));border:1px solid var(--line);border-radius:12px;padding:26px;color:var(--ink);box-shadow:0 20px 70px #102c4929}dialog::backdrop{background:#102c4980}.dialog-head{display:flex;justify-content:space-between;gap:10px}.hidden,[hidden]{display:none!important}:focus-visible{outline:3px solid #c59a49;outline-offset:3px}@media(min-width:1600px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.columns{grid-template-columns:1fr}.sticky{position:static}.app{grid-template-columns:190px 1fr}.main{padding:24px}}@media(max-width:700px){.topbar{padding:16px}.topstatus{display:none}.app{display:block}.sidebar{display:flex;gap:8px;flex-wrap:wrap;padding:12px;border-bottom:1px solid var(--line)}.sidebar .caption,.sidebar .note{display:none}.navbtn{width:auto;margin:0;padding:9px 12px;font-size:.875rem}.main{padding:18px}.grid{grid-template-columns:1fr}.facts{grid-template-columns:1fr}.module{align-items:flex-start;flex-wrap:wrap}.module .btn{width:100%}.integration-list{grid-template-columns:1fr}.panel{padding:18px}h1{font-size:1.6rem}.toolbar{flex-direction:column}.toolbar select{max-width:100%}.video-empty strong{font-size:1rem}.video-empty p{font-size:.8rem}.player video{aspect-ratio:4/3}.languagebar{align-items:flex-start}.question{flex-wrap:wrap}.question button{width:100%}}@media(prefers-reduced-motion:no-preference){.btn:hover,.course:hover{transition:box-shadow .15s}.course:hover{box-shadow:0 5px 20px #102c4912}}
progress{width:100%;height:12px;accent-color:#155eae}textarea.field{resize:vertical;line-height:1.6}.facts{margin-bottom:22px}.course .meta{flex-wrap:wrap}.panel label{font-weight:600}

.player-expand{position:absolute;right:12px;top:12px;z-index:5;background:#fff;color:#102c49;box-shadow:0 2px 10px #0006;font-size:14px;padding:8px 12px}.player:fullscreen,.player.expanded{background:#000;display:flex;flex-direction:column;justify-content:center;border-radius:0}.player:fullscreen{width:100vw;height:100vh}.player.expanded{position:fixed;inset:0;z-index:1000;margin:0}.player:fullscreen video,.player.expanded video{width:100%;height:calc(100% - 48px);aspect-ratio:auto;object-fit:contain}.player:fullscreen .player-footer,.player.expanded .player-footer{color:#fff;background:#102c49;flex-shrink:0}.player:fullscreen .watermark,.player.expanded .watermark{display:none}

.player.expanded{width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;overflow:hidden}.player.expanded video{min-height:0;flex:1}.player.expanded .player-expand{position:absolute;top:16px;right:16px;z-index:1002}.player.expanded .player-footer{min-height:48px}
/* Unified student interface. Functional player/fullscreen rules above are retained. */
:root{--navy:var(--c-navy);--ink:var(--c-ink);--muted:var(--c-slate);--gold:var(--c-gold);--line:rgb(97 113 138 / .18);--paper:var(--c-white);--bg:var(--c-cloud);--blue:var(--c-blue)}body{font:15px/1.65 var(--font);background:var(--c-cloud);color:var(--c-ink)}h1,h2,h3{font-family:var(--font);color:var(--c-navy);letter-spacing:-.025em}h1{font-size:clamp(28px,3vw,40px)}h2{font-size:23px}h3{font-size:17px}.topbar{min-height:82px;padding:18px 30px;background:var(--c-white);color:var(--c-navy);border-bottom:1px solid var(--line);gap:24px}.brand{color:var(--c-navy);min-width:0}.brandmark{height:44px;width:42px;border:0;border-radius:13px;background:var(--c-blue);color:var(--c-white);box-shadow:0 6px 16px rgb(52 89 230 / .16);font-size:27px}.brand strong{color:var(--c-navy);font-size:18px;letter-spacing:.12em}.brand small{color:var(--c-slate);font-size:10px}.topbar a:last-child{font-size:12px;color:var(--c-slate);border:1px solid var(--line);padding:9px 14px;border-radius:10px;text-decoration:none}.topstatus{font-size:12px;color:var(--c-slate)}.top-links{display:flex;gap:10px;align-items:center}.top-links a{color:var(--c-blue);font-size:12px;font-weight:600;text-decoration:none;padding:9px 14px}.app{grid-template-columns:240px minmax(0,1fr);min-height:calc(100svh - 82px)}.sidebar{background:var(--c-navy);color:var(--c-white);border:0;padding:30px 16px}.sidebar .caption{color:rgb(255 255 255 / .6);font-size:9px;letter-spacing:.16em;margin-bottom:24px}.navbtn{min-height:46px;padding:12px 14px;border-radius:12px;font-size:13px;margin-bottom:8px;color:rgb(255 255 255 / .7)}.navbtn:hover{background:rgb(255 255 255 / .08);color:var(--c-white)}.navbtn.active{background:var(--c-blue);color:var(--c-white);box-shadow:0 8px 24px rgb(52 89 230 / .15)}.sidebar .note{border-color:rgb(255 255 255 / .15);color:rgb(255 255 255 / .65);font-size:11px}.sidebar .note strong{color:var(--c-white)}.main{padding:38px clamp(24px,3vw,48px);max-width:1680px}.eyebrow{font-size:10px;letter-spacing:.16em;color:var(--c-teal);font-weight:750}.headrow{display:flex;align-items:center;gap:18px;margin-bottom:20px}.headrow h1{margin:10px 0}.headrow p{margin:0;font-size:14px}.catalogue-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,var(--c-navy),var(--c-blue));border-radius:24px;padding:34px 36px;margin-bottom:24px;box-shadow:0 15px 35px rgb(52 89 230 / .12)}.catalogue-hero:after{content:'';position:absolute;right:-40px;top:-160px;width:330px;height:330px;border:1px solid rgb(255 255 255 / .16);border-radius:50%;box-shadow:0 0 0 32px rgb(255 255 255 / .03),0 0 0 64px rgb(255 255 255 / .02);z-index:-1}.catalogue-hero h1{color:var(--c-white)}.catalogue-hero .eyebrow,.catalogue-hero p{color:rgb(255 255 255 / .8)}.catalogue-hero .badge{background:rgb(255 255 255 / .12);color:var(--c-white);border:1px solid rgb(255 255 255 / .2)}.badge{font-size:10px;font-weight:650;border-radius:999px;padding:6px 10px;background:rgb(52 89 230 / .07);color:var(--c-blue)}.draft{background:rgb(184 134 50 / .08);color:var(--c-gold)}.notice{border:1px solid rgb(184 134 50 / .18);border-radius:13px;background:rgb(184 134 50 / .045);color:var(--c-ink);font-size:12px;padding:14px 18px;line-height:1.7;margin:20px 0}.notice summary{cursor:pointer;font-weight:650;color:var(--c-gold)}.notice p{margin:12px 0 0}.toolbar{gap:14px;margin:24px 0 16px}.field{min-height:48px;padding:12px 15px;border-radius:12px;border-color:var(--line);background:var(--c-white);color:var(--c-ink);font-size:14px}.field:focus{border-color:var(--c-blue);box-shadow:0 0 0 3px rgb(52 89 230 / .08)}.count{font-size:12px;margin-bottom:18px;color:var(--c-slate)}.grid{gap:22px;align-items:stretch}.course{--accent:var(--c-blue);border:1px solid var(--line);border-radius:20px;background:var(--c-white);box-shadow:0 6px 22px rgb(20 33 61 / .04);transition:transform .22s,box-shadow .22s;border-top:3px solid var(--accent)}.course:nth-child(6n+2){--accent:var(--c-teal)}.course:nth-child(6n+3){--accent:var(--c-violet)}.course:nth-child(6n+4){--accent:var(--c-coral)}.course:nth-child(6n+5){--accent:var(--c-rose)}.course:nth-child(6n){--accent:var(--c-sage)}.course-top{padding:22px;min-height:138px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 8%,white),var(--c-white));border-bottom:1px solid var(--line)}.course-top .eyebrow{color:var(--accent);font-size:9px;line-height:1.5;max-width:80%}.course-top .code{float:right;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:color-mix(in srgb,var(--accent) 10%,white);color:var(--accent);font-family:var(--font);font-size:12px;font-weight:700}.course h3{margin:18px 0 0;font-family:var(--font);font-size:17px;line-height:1.4;min-height:2.8em;clear:both}.course-body{padding:22px;gap:16px}.course-body p{font-size:12px;line-height:1.8;color:var(--c-slate)}.meta{font-size:11px;color:var(--c-slate);gap:6px;line-height:1.9}.course-bottom{padding:17px 22px;min-height:82px;align-items:center;border-top:1px solid var(--line);background:var(--c-white);flex-wrap:wrap}.price{font-size:12px;color:var(--c-navy);font-weight:700}.btn{min-height:42px;padding:10px 15px;border-radius:10px;border-color:var(--line);background:var(--c-white);color:var(--c-ink);font-size:12px;font-weight:600;line-height:1.4;transition:transform .18s,box-shadow .18s}.btn.primary{background:var(--c-blue);color:var(--c-white);border-color:var(--c-blue);box-shadow:0 4px 12px rgb(52 89 230 / .12)}.btn:hover{box-shadow:0 6px 16px rgb(20 33 61 / .09)}.ghost{min-height:0;padding:0;box-shadow:none}.columns{grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.panel{padding:26px;border:1px solid var(--line);border-radius:20px;background:var(--c-white);box-shadow:var(--shadow);margin-bottom:22px}.panel h2{font-size:23px}.overview,.tutor{border-top:3px solid var(--c-teal)}.facts{gap:12px}.fact{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--c-cloud);font-size:12px;color:var(--c-slate)}.fact strong{margin-top:6px;color:var(--c-navy)}.module{padding:20px 0;gap:20px;border-color:var(--line)}.module strong{font-size:14px}.module small{font-size:12px}.module .number{color:var(--c-teal);font-size:10px;font-weight:700;letter-spacing:.12em}.purchase .price-big{font-size:27px;font-weight:750;color:var(--c-blue)}.purchase p,.purchase ul{font-size:12px;color:var(--c-slate);line-height:1.8}.languagebar{gap:16px}.lang,.tab{min-height:40px;padding:9px 15px;border-radius:10px;border-color:var(--line);font-size:12px;background:var(--c-white);color:var(--c-ink)}.lang.active{background:var(--c-teal);border-color:var(--c-teal);color:var(--c-white)}.tab.active{background:var(--c-blue);border-color:var(--c-blue);color:var(--c-white)}.player{border-radius:18px;background:var(--c-navy);box-shadow:var(--shadow)}.player video{background:var(--c-navy)}.player-footer{background:var(--c-navy);font-size:12px}.watermark{background:var(--c-navy);border-color:rgb(255 255 255 / .2);color:var(--c-white);font-size:11px;border-radius:8px;letter-spacing:.1em}.player-expand{color:var(--c-navy);background:var(--c-white);z-index:5}.player:fullscreen,.player.expanded{border-radius:0}.tabs{gap:8px;margin:24px 0}.theory p{font-size:14px;line-height:1.85}.example{background:var(--c-cloud);border:1px solid var(--line);border-radius:12px;font-size:13px}.time{color:var(--c-teal);font-size:12px}.flow,.node{border-radius:13px}.flow{background:var(--c-cloud)}.node{border-color:var(--c-teal)}.tutor-message{background:var(--c-cloud);border-radius:12px;padding:18px;font-size:13px}.question{gap:10px}.empty{border-color:var(--line);border-radius:16px}.integration-list{gap:20px}.integration-list p{font-size:13px}.footer{border-top:1px solid var(--line);margin-top:30px;padding:24px 0;color:var(--c-slate);font-size:11px}dialog{padding:28px;border:1px solid var(--line);border-radius:22px;box-shadow:0 24px 70px rgb(20 33 61 / .2)}dialog::backdrop{background:rgb(20 33 61 / .55);backdrop-filter:blur(5px)}.dialog-head{align-items:start;gap:18px}.study-plan{padding:22px;border:1px solid rgb(8 127 140 / .18);background:rgb(8 127 140 / .035);border-radius:15px;margin:24px 0;font-size:13px}.study-plan>strong{color:var(--c-teal)}.study-plan p{margin:12px 0;color:var(--c-slate)}.study-steps{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.study-steps span{padding:8px 11px;background:var(--c-white);border:1px solid var(--line);border-radius:8px;font-size:11px}.course-ai-frame{width:100%;height:850px;border:1px solid var(--line);border-radius:16px;background:var(--c-cloud)}.all-course-ai-frame{width:100%;height:1100px;border:0;border-radius:18px}.practice-card{padding:22px;margin:20px 0;border:1px solid var(--line);border-radius:14px;background:var(--c-cloud)}.practice-card summary{cursor:pointer;font-weight:650;color:var(--c-blue)}.practice-card details{margin-top:16px}.lesson-diagram{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:24px 0}.lesson-diagram-step{border:1px solid rgb(114 85 199 / .24);padding:20px;border-radius:14px;background:rgb(114 85 199 / .04)}.lesson-diagram-step span{display:block;font-size:12px;color:var(--c-slate);margin-bottom:8px}.lesson-diagram-step strong{color:var(--c-violet)}.learning-path{list-style:none;padding:0;display:grid;gap:12px}.learning-path li{display:grid;gap:6px;background:var(--c-cloud);border-left:3px solid var(--c-teal);padding:16px;border-radius:0 12px 12px 0}.learning-path small{color:var(--c-slate)}progress{accent-color:var(--c-teal)}.checkout-page main{max-width:1040px;margin:0 auto;padding:44px 24px}.checkout-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;align-items:start}.steps{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.steps span{background:var(--c-white);border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:11px;color:var(--c-slate)}.checkout-page .price-big{font-size:32px;font-weight:750;color:var(--c-blue)}.checkout-page li{font-size:13px;margin:10px 0}.checkout-page #status{white-space:pre-wrap;font-size:13px}.checkout-page #pay{margin:18px 0}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.course:hover{transform:translateY(-5px);box-shadow:0 18px 35px rgb(20 33 61 / .1)}.btn.primary:hover{transform:translateY(-1px)}}
@media(max-width:1150px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.columns{grid-template-columns:minmax(0,1fr)}.sticky{position:static}.main{padding:28px}.facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.topbar{padding:16px 18px;flex-wrap:wrap;gap:14px}.topstatus{display:none}.top-links{gap:4px}.top-links a{font-size:11px;padding:8px 10px}.topbar a:last-child{font-size:11px;padding:8px 10px}.app{display:block}.sidebar{display:flex;gap:7px;padding:12px;overflow:auto;flex-wrap:nowrap;border:0}.sidebar .caption,.sidebar .note{display:none}.navbtn{width:auto;flex:0 0 auto;min-height:42px;margin:0;padding:10px 12px;font-size:12px}.main{padding:26px 18px}.catalogue-hero{padding:26px 24px;border-radius:20px}.headrow{gap:12px}.catalogue-hero .badge{font-size:9px}.grid{grid-template-columns:minmax(0,1fr);gap:20px}.course-top{min-height:115px;padding:22px}.course h3{min-height:0}.course-body{padding:22px}.course-bottom{padding:18px 22px}.toolbar{flex-direction:column}.toolbar input,.toolbar select{width:100%;max-width:none;min-width:0}.facts{grid-template-columns:minmax(0,1fr)}.panel{padding:22px}.module{flex-wrap:wrap}.module .btn{width:auto}.integration-list{grid-template-columns:minmax(0,1fr)}.question{flex-wrap:wrap}.question button{width:100%}.player video{aspect-ratio:16/9}.video-empty{inset:52px 16px 15px}.video-empty p{font-size:11px}.video-empty strong{font-size:13px}.watermark{top:12px;left:12px;padding:6px 8px;font-size:9px}.player-expand{padding:7px 10px;font-size:11px;min-height:34px}.checkout-grid{grid-template-columns:minmax(0,1fr)}.checkout-page main{padding:28px 18px}.all-course-ai-frame{height:1250px}}


/* NIZAMMS 12-colour learning palette — light workspace, no black slabs. */
:root{
 color-scheme:light;
 --c-navy:#14213d;
 --c-ink:#26344d;
 --c-slate:#61718a;
 --c-cloud:#f5f7fc;
 --c-white:#ffffff;
 --c-blue:#3459e6;
 --c-teal:#087f8c;
 --c-violet:#7255c7;
 --c-gold:#b88632;
 --c-coral:#bf624c;
 --c-rose:#b64d76;
 --c-sage:#4e7c63;
 --navy:var(--c-navy);--ink:var(--c-ink);--muted:var(--c-slate);
 --gold:var(--c-gold);--line:rgb(97 113 138 / .18);
 --paper:var(--c-white);--bg:var(--c-cloud);--blue:var(--c-blue);
}
html,body{background:var(--c-cloud);color:var(--c-ink)}
body{background:linear-gradient(180deg,#f8faff 0%,#f1f5fb 100%);color:var(--c-ink)}
h1,h2,h3{color:var(--c-navy)}
.topbar{background:rgba(255,255,255,.94);color:var(--c-navy);border-bottom:1px solid var(--line);box-shadow:0 4px 22px rgb(20 33 61 / .05)}
.brand,.brand strong{color:var(--c-navy)}
.brandmark{background:linear-gradient(140deg,var(--c-blue),var(--c-violet));color:white;border:0;border-radius:13px;box-shadow:0 8px 20px rgb(52 89 230 / .22)}
.brand small,.topstatus{color:var(--c-slate)}
.top-links a{color:var(--c-blue)!important}
.top-links a:last-child{border:1px solid var(--line);border-radius:10px;background:white}
.app{background:transparent}
.sidebar{background:linear-gradient(180deg,#172747 0%,#213b63 100%);color:#fff;border-right:0;box-shadow:8px 0 28px rgb(20 33 61 / .06)}
.sidebar .caption{color:#b9c9e4}
.navbtn{color:#e3eafa}
.navbtn:hover{background:rgb(255 255 255 / .1);color:#fff}
.navbtn.active{background:linear-gradient(100deg,var(--c-blue),#5477f2);color:#fff;box-shadow:0 8px 20px rgb(52 89 230 / .24)}
.sidebar .note{border-color:rgb(255 255 255 / .18);color:#c5d1e5}
.sidebar .note strong{color:#fff}
.main{background:transparent}
.eyebrow{color:var(--c-teal)}
.headrow p,.muted{color:var(--c-slate)}
.catalogue-hero{background:linear-gradient(115deg,#203b68 0%,var(--c-blue) 64%,var(--c-violet) 100%);box-shadow:0 16px 38px rgb(52 89 230 / .16)}
.catalogue-hero h1{color:#fff}
.catalogue-hero .eyebrow,.catalogue-hero p{color:#edf2ff}
.course{background:#fff;border-color:var(--line);box-shadow:0 8px 26px rgb(20 33 61 / .055)}
.course-top{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 9%,white),#fff);border-color:var(--line)}
.course-body,.course-bottom{background:#fff}
.course h3,.panel h2,.panel h3{color:var(--c-navy)}
.panel{background:#fff;border:1px solid var(--line);box-shadow:0 10px 30px rgb(20 33 61 / .055)}
.fact,.example,.flow,.tutor-message,.skeleton-info{background:#f5f7fc;color:var(--c-ink);border-color:var(--line)}
.fact strong{color:var(--c-navy)}
.notice{background:#fff8e9;border-color:rgb(184 134 50 / .3);color:#654b1c}
.badge{background:rgb(52 89 230 / .09);color:var(--c-blue)}
.draft{background:rgb(184 134 50 / .14);color:#805719}
.field{background:#fff;color:var(--c-ink);border-color:#d5deeb}
.field::placeholder{color:#8793a8}
.btn{background:#fff;color:var(--c-ink);border-color:#d3ddec}
.btn.primary,.primary{background:var(--c-blue);color:#fff;border-color:var(--c-blue)}
.lang.active{background:var(--c-teal);border-color:var(--c-teal);color:#fff}
.tab.active{background:var(--c-violet);border-color:var(--c-violet);color:#fff}
.overview{border-top-color:var(--c-teal)}
.tutor{border-top-color:var(--c-violet)}
.purchase{border-top:3px solid var(--c-gold)}
.player{background:#172747}
.player video{background:#172747}
.player-footer{background:#203b68;color:#fff}
.watermark{background:rgb(20 33 61 / .9);color:#fff;border-color:rgb(255 255 255 / .28)}
.time,.module .number{color:var(--c-teal)}
.flow{border:1px solid rgb(8 127 140 / .16)}
.node{background:#fff;border-color:var(--c-teal);color:var(--c-ink)}
.node strong{color:var(--c-violet)}
.empty{background:#fff;border-color:var(--line);color:var(--c-slate)}
.integration-list .panel:nth-child(6n+1){border-top:3px solid var(--c-blue)}
.integration-list .panel:nth-child(6n+2){border-top:3px solid var(--c-teal)}
.integration-list .panel:nth-child(6n+3){border-top:3px solid var(--c-violet)}
.integration-list .panel:nth-child(6n+4){border-top:3px solid var(--c-coral)}
.integration-list .panel:nth-child(6n+5){border-top:3px solid var(--c-rose)}
.integration-list .panel:nth-child(6n){border-top:3px solid var(--c-sage)}
.study-plan{background:rgb(8 127 140 / .045);border-color:rgb(8 127 140 / .2)}
.study-plan>strong{color:var(--c-teal)}
.practice-card{background:#fff;border-color:var(--line)}
.practice-card summary{color:var(--c-blue)}
.lesson-diagram-step{background:rgb(114 85 199 / .055);border-color:rgb(114 85 199 / .22)}
.lesson-diagram-step strong{color:var(--c-violet)}
.learning-path li{background:#fff;border-left-color:var(--c-teal);box-shadow:0 3px 12px rgb(20 33 61 / .04)}
progress{accent-color:var(--c-blue)}
:focus-visible{outline:3px solid var(--c-violet);outline-offset:3px}
dialog{background:#fff;color:var(--c-ink);border-color:var(--line)}
dialog h2,dialog h3{color:var(--c-navy)}
dialog::backdrop{background:rgb(20 33 61 / .42);backdrop-filter:blur(4px)}
@media(max-width:700px){.sidebar{background:linear-gradient(100deg,#172747,#213b63)}.navbtn.active{background:var(--c-blue)}.topbar{background:#fff}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* NIZAMMS FULL PREMIUM — midnight blue, rich surfaces, 12 coordinated accents */
:root{
 color-scheme:dark;
 --c-navy:#0b1428;--c-ink:#edf2ff;--c-slate:#a6b4ce;--c-cloud:#0d1629;--c-white:#17233b;
 --c-blue:#6c8cff;--c-teal:#45d4c5;--c-violet:#b09aff;--c-gold:#f0c879;
 --c-coral:#ff987f;--c-rose:#f39ac5;--c-sage:#8ddbb1;
 --navy:var(--c-navy);--ink:var(--c-ink);--muted:var(--c-slate);--gold:var(--c-gold);
 --line:rgb(173 191 226 / .15);--paper:var(--c-white);--bg:var(--c-cloud);--blue:var(--c-blue);
 --shadow:0 24px 65px rgb(0 0 0 / .22);
}
html,body{background:#0d1629;color:var(--c-ink)}
body{background:radial-gradient(ellipse at 10% -10%,rgb(108 140 255 / .16),transparent 34%),radial-gradient(ellipse at 95% 10%,rgb(176 154 255 / .12),transparent 30%),linear-gradient(180deg,#0d1629 0%,#101a30 55%,#0d1629 100%);color:var(--c-ink)}
h1,h2,h3{color:#f5f7ff}
p,.muted,.course-body p,.purchase p,.purchase ul,.integration-list p{color:var(--c-slate)}
.topbar{position:sticky;top:0;z-index:50;background:rgb(13 22 41 / .84);backdrop-filter:blur(22px);border-bottom:1px solid var(--line);box-shadow:0 10px 36px rgb(0 0 0 / .14);color:var(--c-ink)}
.brand,.brand strong{color:#f5f7ff}.brand small,.topstatus{color:#a6b4ce}
.brandmark{background:linear-gradient(135deg,#6c8cff,#b09aff);color:white;border:1px solid rgb(255 255 255 / .18);border-radius:14px;box-shadow:0 0 28px rgb(108 140 255 / .25)}
.top-links a{color:#a9bbff!important}.top-links a:last-child{background:rgb(255 255 255 / .04);border:1px solid var(--line);border-radius:12px;color:#edf2ff!important}
.sidebar{background:linear-gradient(180deg,#121f38 0%,#111b30 60%,#151d36 100%);border-right:1px solid var(--line);box-shadow:12px 0 35px rgb(0 0 0 / .12)}
.sidebar .caption{color:#8ea1c3}.navbtn{color:#bac7df;border:1px solid transparent;transition:background .2s,border-color .2s,transform .2s}
.navbtn:hover{background:rgb(255 255 255 / .055);border-color:var(--line);color:#fff;transform:translateX(2px)}
.navbtn.active{background:linear-gradient(105deg,rgb(108 140 255 / .24),rgb(176 154 255 / .13));border:1px solid rgb(108 140 255 / .32);color:#fff;box-shadow:inset 3px 0 #6c8cff,0 8px 24px rgb(0 0 0 / .12)}
.sidebar .note{border-color:var(--line);color:#a6b4ce}.sidebar .note strong{color:var(--c-teal)}
.main{color:var(--c-ink)}
.eyebrow{color:var(--c-teal);letter-spacing:.18em}
.headrow p{color:#bdc8df}
.catalogue-hero{background:radial-gradient(ellipse at 86% 12%,rgb(176 154 255 / .26),transparent 35%),radial-gradient(ellipse at 70% 100%,rgb(69 212 197 / .12),transparent 34%),linear-gradient(120deg,#192b4b,#202c50 56%,#292344);border:1px solid rgb(173 191 226 / .16);border-radius:26px;box-shadow:0 24px 60px rgb(0 0 0 / .2);padding:36px}
.catalogue-hero:after{border-color:rgb(255 255 255 / .13);box-shadow:0 0 0 32px rgb(255 255 255 / .025),0 0 0 64px rgb(255 255 255 / .018)}
.catalogue-hero h1{color:#fff}.catalogue-hero .eyebrow{color:#76e5dc}.catalogue-hero p{color:#c5d0e6}
.course{background:linear-gradient(150deg,rgb(25 37 61 / .98),rgb(19 29 49 / .98));border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:20px;box-shadow:0 14px 35px rgb(0 0 0 / .12);overflow:hidden}
.course:nth-child(6n+1){--accent:var(--c-blue)}.course:nth-child(6n+2){--accent:var(--c-teal)}.course:nth-child(6n+3){--accent:var(--c-violet)}.course:nth-child(6n+4){--accent:var(--c-coral)}.course:nth-child(6n+5){--accent:var(--c-rose)}.course:nth-child(6n){--accent:var(--c-sage)}
.course-top{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 12%,#19253d),#172139);border-bottom:1px solid var(--line)}
.course-top .eyebrow{color:var(--accent)}.course-top .code{background:color-mix(in srgb,var(--accent) 15%,#172139);color:var(--accent);border:1px solid color-mix(in srgb,var(--accent) 24%,transparent);border-radius:12px}
.course h3{color:#f5f7ff}.course-body p{color:#a6b4ce}.meta{color:#a6b4ce}.course-bottom{background:rgb(10 17 31 / .26);border-top:1px solid var(--line)}.price{color:#f3f6ff}
.panel{background:linear-gradient(145deg,rgb(24 36 59 / .96),rgb(18 28 47 / .96));border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);color:var(--c-ink)}
.panel h2,.panel h3{color:#f5f7ff}.overview{border-top:3px solid var(--c-teal)}.tutor{border-top:3px solid var(--c-violet)}.purchase{border-top:3px solid var(--c-gold)}
.fact,.example,.flow,.tutor-message,.skeleton-info{background:rgb(9 16 30 / .46);color:#dce5f7;border:1px solid var(--line);border-radius:13px}
.fact strong{color:#f5f7ff}
.badge{background:rgb(108 140 255 / .13);color:#b7c7ff;border:1px solid rgb(108 140 255 / .18);border-radius:999px}.draft{background:rgb(240 200 121 / .13);color:var(--c-gold)}
.notice{background:rgb(240 200 121 / .07);border:1px solid rgb(240 200 121 / .2);border-radius:14px;color:#e9d7ad}.notice summary{color:var(--c-gold)}
.field{background:#0d172b;color:#f1f5ff;border:1px solid rgb(173 191 226 / .2);border-radius:12px}.field::placeholder{color:#7889a8}.field:focus{border-color:var(--c-blue);box-shadow:0 0 0 3px rgb(108 140 255 / .12)}
.btn{background:#1b2943;color:#e8eeff;border:1px solid rgb(173 191 226 / .2);border-radius:11px}.btn.primary,.primary{background:linear-gradient(110deg,#5c7ef3,#8068e8);color:white;border-color:transparent;box-shadow:0 8px 24px rgb(108 140 255 / .2)}.btn:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgb(0 0 0 / .2)}
.lang,.tab{background:#182640;color:#dbe5fa;border-color:var(--line);border-radius:11px}.lang.active{background:var(--c-teal);border-color:var(--c-teal);color:#071923}.tab.active{background:var(--c-violet);border-color:var(--c-violet);color:#160f2b}
.player{background:#080f1e;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.player video{background:#080f1e}.player-footer{background:#172743;color:#eaf0ff;border-top:1px solid var(--line)}.watermark{background:rgb(11 20 40 / .9);color:#eaf0ff;border:1px solid rgb(173 191 226 / .25);border-radius:9px}
.time,.module .number{color:var(--c-teal)}.module{border-color:var(--line)}.module strong{color:#f2f5ff}.module small{color:#a6b4ce}
.flow{background:rgb(9 16 30 / .3)}.node{background:#17243d;color:#eaf0ff;border-color:var(--c-teal)}.node strong{color:var(--c-violet)}.empty{background:#17243b;border-color:var(--line);color:#a6b4ce}
.integration-list .panel:nth-child(6n+1){border-top:3px solid var(--c-blue)}.integration-list .panel:nth-child(6n+2){border-top:3px solid var(--c-teal)}.integration-list .panel:nth-child(6n+3){border-top:3px solid var(--c-violet)}.integration-list .panel:nth-child(6n+4){border-top:3px solid var(--c-coral)}.integration-list .panel:nth-child(6n+5){border-top:3px solid var(--c-rose)}.integration-list .panel:nth-child(6n){border-top:3px solid var(--c-sage)}
.study-plan{background:rgb(69 212 197 / .06);border-color:rgb(69 212 197 / .2);border-radius:15px}.study-plan>strong{color:var(--c-teal)}.study-steps span{background:#17243b;border-color:var(--line);color:#dce5f7}
.practice-card{background:#17243b;border-color:var(--line)}.practice-card summary{color:#a9bbff}
.lesson-diagram-step{background:rgb(176 154 255 / .08);border-color:rgb(176 154 255 / .25)}.lesson-diagram-step strong{color:var(--c-violet)}
.learning-path li{background:#17243b;border-left-color:var(--c-teal);box-shadow:0 5px 18px rgb(0 0 0 / .12)}.learning-path small{color:#a6b4ce}
progress{accent-color:var(--c-teal)}
.footer{border-color:var(--line);color:#8495b4}
dialog{background:#17243b;color:#edf2ff;border-color:var(--line)}dialog h2,dialog h3{color:#fff}dialog::backdrop{background:rgb(3 8 18 / .75);backdrop-filter:blur(8px)}
:focus-visible{outline:3px solid var(--c-teal);outline-offset:3px}
@media(max-width:700px){.topbar{background:rgb(13 22 41 / .94);padding:14px}.sidebar{background:linear-gradient(100deg,#121f38,#192846);border-bottom:1px solid var(--line)}.catalogue-hero{padding:24px;border-radius:20px}.main{padding:20px}.course-top{min-height:unset}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* User preference: primary actions are WHITE, not electric blue. */
.btn.primary,.primary,.primary-link,.primary-submit{
 background:#ffffff!important;
 background-image:none!important;
 color:#14213d!important;
 border:1px solid rgb(255 255 255 / .92)!important;
 box-shadow:0 8px 24px rgb(0 0 0 / .18),inset 0 1px 0 rgb(255 255 255 / .8)!important;
 font-weight:700;
}
.btn.primary:hover,.primary:hover,.primary-link:hover,.primary-submit:hover{
 background:#eef3ff!important;color:#101a30!important;
 box-shadow:0 10px 28px rgb(0 0 0 / .22)!important;
 transform:translateY(-1px);
}
.btn.primary:focus-visible,.primary:focus-visible,.primary-link:focus-visible,.primary-submit:focus-visible{
 outline:3px solid #b09aff;outline-offset:3px;
}


/* REFERENCE-MATCHED PREMIUM WORKSPACE — clean white UI with 12 coordinated colours */
:root{
 color-scheme:light;
 --c-navy:#17233d;--c-ink:#263248;--c-slate:#788397;--c-cloud:#f3f5f9;--c-white:#ffffff;
 --c-blue:#3267f6;--c-teal:#20a995;--c-violet:#8b5cf6;--c-gold:#e4ad42;
 --c-coral:#f27b64;--c-rose:#df4777;--c-sage:#4b9c78;--c-cyan:#42b9d4;
 --navy:var(--c-navy);--ink:var(--c-ink);--muted:var(--c-slate);--gold:var(--c-gold);
 --line:#e8ebf1;--paper:#fff;--bg:#f3f5f9;--blue:var(--c-blue);
 --shadow:0 10px 32px rgb(28 42 68 / .065);
}
html,body{background:#f3f5f9!important;color:#263248!important}
body{background:radial-gradient(ellipse at 10% 0%,rgb(50 103 246 / .035),transparent 30%),linear-gradient(180deg,#f7f8fb,#f1f3f7)!important;color:#263248}
h1,h2,h3,h4{color:#202c43}
p,.muted,.course-body p,.purchase p,.purchase ul,.integration-list p{color:#788397}
a{color:#3267f6}
.topbar{position:sticky;top:0;z-index:50;background:rgb(255 255 255 / .91)!important;backdrop-filter:blur(20px);border-bottom:1px solid #e8ebf1;box-shadow:0 4px 20px rgb(25 42 70 / .035);color:#263248}
.brand,.brand strong{color:#17233d}.brand small,.topstatus{color:#788397}
.brandmark{background:#fff;color:#17233d;border:1px solid #e8ebf1;border-radius:13px;box-shadow:0 4px 12px rgb(28 42 68 / .06)}
.top-links a{color:#3267f6!important}.top-links a:last-child{background:#fff;border:1px solid #e6eaf1;border-radius:12px;color:#263248!important;box-shadow:0 3px 10px rgb(28 42 68 / .035)}
.sidebar{background:#fff!important;color:#263248;border-right:1px solid #e8ebf1;box-shadow:5px 0 22px rgb(28 42 68 / .025)}
.sidebar .caption{color:#9099aa}.navbtn{color:#657187;border:1px solid transparent;border-radius:11px;transition:all .2s}
.navbtn:hover{background:#f4f6fb;border-color:#edf0f5;color:#263248;transform:translateX(1px)}
.navbtn.active{background:#f0f4ff;border:1px solid #e0e8ff;color:#2858d9;box-shadow:inset 3px 0 #3267f6}
.sidebar .note{border-color:#e8ebf1;color:#788397}.sidebar .note strong{color:#20a995}
.main{background:transparent;color:#263248}
.eyebrow{color:#3267f6;letter-spacing:.15em}
.headrow p{color:#788397}
.catalogue-hero{background:linear-gradient(120deg,#fff 0%,#fff 68%,#f6f8ff 100%)!important;border:1px solid #e8ebf1;border-radius:22px;box-shadow:0 12px 34px rgb(28 42 68 / .045);padding:34px}
.catalogue-hero h1{color:#17233d}.catalogue-hero .eyebrow{color:#3267f6}.catalogue-hero p{color:#788397}
.course,.panel,.integration-list .panel{background:#fff!important;color:#263248;border:1px solid #e8ebf1;border-radius:18px;box-shadow:0 8px 26px rgb(28 42 68 / .045);overflow:hidden}
.course{border-top:3px solid var(--accent,#3267f6)}
.course:nth-child(12n+1){--accent:#3267f6}.course:nth-child(12n+2){--accent:#20a995}.course:nth-child(12n+3){--accent:#8b5cf6}.course:nth-child(12n+4){--accent:#e4ad42}.course:nth-child(12n+5){--accent:#f27b64}.course:nth-child(12n+6){--accent:#df4777}.course:nth-child(12n+7){--accent:#4b9c78}.course:nth-child(12n+8){--accent:#42b9d4}.course:nth-child(12n+9){--accent:#4c7aaf}.course:nth-child(12n+10){--accent:#9b8b67}.course:nth-child(12n+11){--accent:#6978a8}.course:nth-child(12n){--accent:#a16bb5}
.course-top{background:linear-gradient(135deg,color-mix(in srgb,var(--accent,#3267f6) 7%,#fff),#fff)!important;border-bottom:1px solid #eef0f5}
.course-top .eyebrow{color:var(--accent,#3267f6)}.course-top .code{background:color-mix(in srgb,var(--accent,#3267f6) 9%,#fff);color:var(--accent,#3267f6);border:1px solid color-mix(in srgb,var(--accent,#3267f6) 17%,#fff);border-radius:10px}
.course h3,.panel h2,.panel h3{color:#202c43}.course-body p{color:#788397}.meta{color:#788397}.course-bottom{background:#fbfcfe;border-top:1px solid #edf0f5}.price{color:#202c43}
.panel h2,.panel h3{color:#202c43}
.panel:nth-child(12n+1){--card-accent:#3267f6}.panel:nth-child(12n+2){--card-accent:#20a995}.panel:nth-child(12n+3){--card-accent:#8b5cf6}.panel:nth-child(12n+4){--card-accent:#e4ad42}.panel:nth-child(12n+5){--card-accent:#f27b64}.panel:nth-child(12n+6){--card-accent:#df4777}.panel:nth-child(12n+7){--card-accent:#4b9c78}.panel:nth-child(12n+8){--card-accent:#42b9d4}.panel:nth-child(12n+9){--card-accent:#4c7aaf}.panel:nth-child(12n+10){--card-accent:#9b8b67}.panel:nth-child(12n+11){--card-accent:#6978a8}.panel:nth-child(12n){--card-accent:#a16bb5}
.integration-list .panel{border-top:3px solid var(--card-accent,#3267f6)}
.overview{border-top:3px solid #20a995}.tutor{border-top:3px solid #8b5cf6}.purchase{border-top:3px solid #e4ad42}
.fact,.example,.flow,.tutor-message,.skeleton-info{background:#f7f8fb!important;color:#344158;border:1px solid #e9edf3;border-radius:12px}
.fact strong{color:#202c43}
.badge{background:#eff3ff;color:#3267f6;border:1px solid #e0e8ff;border-radius:999px}.draft{background:#fff6e3;color:#966b17;border:1px solid #f5e6bf}
.notice{background:#fff9ec;border:1px solid #f3e4be;border-radius:13px;color:#735a28}.notice summary{color:#966b17}
.field{background:#fff!important;color:#263248;border:1px solid #dfe4ed;border-radius:11px}.field::placeholder{color:#a0a8b7}.field:focus{border-color:#8da8ff;box-shadow:0 0 0 3px rgb(50 103 246 / .09)}
.btn{background:#fff;color:#263248;border:1px solid #e0e5ed;border-radius:10px;box-shadow:0 2px 6px rgb(28 42 68 / .025)}
/* Primary actions stay white as requested; dark text keeps them readable on the light workspace. */
.btn.primary,.primary,.primary-link,.primary-submit{background:#fff!important;background-image:none!important;color:#17233d!important;border:1px solid #dfe4ed!important;box-shadow:0 4px 12px rgb(28 42 68 / .07)!important;font-weight:700}
.btn.primary:hover,.primary:hover,.primary-link:hover,.primary-submit:hover{background:#f6f8fc!important;color:#17233d!important;box-shadow:0 8px 18px rgb(28 42 68 / .09)!important;transform:translateY(-1px)}
.btn:focus-visible,.primary:focus-visible,.primary-link:focus-visible,.primary-submit:focus-visible{outline:3px solid #8b5cf6;outline-offset:3px}
.lang,.tab{background:#fff;color:#657187;border-color:#e2e7ef;border-radius:10px}.lang.active{background:#e7f8f4;border-color:#bce9df;color:#137d6d}.tab.active{background:#f0eaff;border-color:#dfd2ff;color:#6941c6}
.player{background:#fff;border:1px solid #e8ebf1;border-radius:16px;box-shadow:0 8px 26px rgb(28 42 68 / .05)}.player video{background:#eef1f6}.player-footer{background:#fff;color:#344158;border-top:1px solid #e8ebf1}.watermark{background:rgb(255 255 255 / .92);color:#263248;border:1px solid #e8ebf1;border-radius:9px}
.time,.module .number{color:#20a995}.module{border-color:#e8ebf1}.module strong{color:#202c43}.module small{color:#788397}
.flow{background:#f8f9fc}.node{background:#fff;color:#263248;border-color:#20a995}.node strong{color:#8b5cf6}.empty{background:#fff;border-color:#e8ebf1;color:#788397}
.study-plan{background:#f0faf7;border-color:#c9eee4;border-radius:14px}.study-plan>strong{color:#168b79}.study-steps span{background:#fff;border-color:#e8ebf1;color:#344158}
.practice-card{background:#fff;border-color:#e8ebf1}.practice-card summary{color:#3267f6}
.lesson-diagram-step{background:#f7f3ff;border-color:#e5d9ff}.lesson-diagram-step strong{color:#7852cf}
.learning-path li{background:#fff;border-left-color:#20a995;box-shadow:0 3px 12px rgb(28 42 68 / .035)}.learning-path small{color:#788397}
progress{accent-color:#20a995}
.footer{border-color:#e8ebf1;color:#8791a3}
dialog{background:#fff;color:#263248;border-color:#e8ebf1;box-shadow:0 24px 80px rgb(28 42 68 / .18)}dialog h2,dialog h3{color:#202c43}dialog::backdrop{background:rgb(23 35 61 / .28);backdrop-filter:blur(5px)}
:focus-visible{outline:3px solid #8b5cf6;outline-offset:3px}
@media(max-width:700px){.topbar{background:rgb(255 255 255 / .96)!important;padding:14px}.sidebar{background:#fff!important;border-bottom:1px solid #e8ebf1}.catalogue-hero{padding:24px;border-radius:18px}.main{padding:20px}.course-top{min-height:unset}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* MODERN SAAS REFINEMENT — premium white workspace, bento rhythm, 12-colour accents */
:root{--saas-radius:18px;--saas-shadow:0 8px 28px rgb(28 42 68 / .055),0 1px 2px rgb(28 42 68 / .035);--saas-shadow-hover:0 18px 42px rgb(28 42 68 / .10),0 3px 8px rgb(28 42 68 / .04);--saas-blue:#3267f6;--saas-teal:#20a995;--saas-violet:#8b5cf6;--saas-gold:#e4ad42;--saas-coral:#f27b64;--saas-rose:#df4777;--saas-green:#4b9c78;--saas-cyan:#42b9d4;--saas-sky:#4c7aaf;--saas-olive:#9b8b67;--saas-indigo:#6978a8;--saas-plum:#a16bb5}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.012em;-webkit-font-smoothing:antialiased}
.topbar{min-height:76px;padding:14px clamp(18px,3vw,42px);gap:22px}.brand{gap:12px}.brand strong{font-size:18px;letter-spacing:.09em;font-weight:800}.brand small{font-size:11px;letter-spacing:.015em}.brandmark{display:grid;place-items:center;width:46px;height:46px;font-size:24px;font-weight:700}.topstatus{font-size:13px;font-weight:500}.top-links{gap:10px}.top-links a{padding:10px 14px;border-radius:11px;text-decoration:none;font-weight:650;font-size:13px;transition:all .2s}.top-links a:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgb(28 42 68 / .07)}
.app{min-height:calc(100vh - 76px)}.sidebar{padding:26px 18px;gap:9px}.sidebar .caption{font-size:10px;font-weight:800;letter-spacing:.16em;padding:0 12px 12px}.navbtn{display:flex;align-items:center;width:100%;min-height:44px;padding:12px 14px;text-align:left;font-size:13px;font-weight:600;gap:10px}.sidebar .note{margin:22px 8px 0;padding:18px 12px;border-top:1px solid #e8ebf1;font-size:12px;line-height:1.75}
.main{max-width:1600px;margin-inline:auto;padding:clamp(24px,3vw,48px);width:100%}.headrow{gap:24px;margin-bottom:24px}h1{font-size:clamp(30px,3.2vw,46px);line-height:1.12;letter-spacing:-.045em;font-weight:780}h2{font-size:clamp(21px,2vw,28px);line-height:1.2;letter-spacing:-.035em;font-weight:740}h3{font-size:16px;line-height:1.35;letter-spacing:-.02em;font-weight:700}p{line-height:1.7}
.catalogue-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:24px;margin-bottom:28px}.catalogue-hero:before{content:"";position:absolute;z-index:-1;width:260px;height:260px;right:-90px;top:-150px;border-radius:50%;background:radial-gradient(circle,rgb(50 103 246 / .08),transparent 68%)}.catalogue-hero:after{content:"";position:absolute;z-index:-1;width:170px;height:170px;right:12%;bottom:-135px;border-radius:50%;background:radial-gradient(circle,rgb(139 92 246 / .07),transparent 70%)}.eyebrow{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.17em;margin-bottom:12px}
.course,.panel{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.course:hover,.panel:hover{transform:translateY(-3px);box-shadow:var(--saas-shadow-hover)}.course{border-radius:var(--saas-radius);display:flex;flex-direction:column;min-width:0}.course-top{padding:20px 20px 16px}.course-body{padding:18px 20px;flex:1}.course-bottom{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.course h3{margin:0 0 8px}.course p{font-size:13px;line-height:1.65}.panel{padding:clamp(18px,2vw,26px);border-radius:var(--saas-radius)}.panel h2,.panel h3{margin-top:0}
.btn,.field,.lang,.tab{font:inherit;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}.btn{min-height:40px;padding:10px 15px;font-size:12px;font-weight:700;cursor:pointer}.btn:hover{transform:translateY(-1px);box-shadow:0 6px 15px rgb(28 42 68 / .07)}.btn.primary,.primary,.primary-link,.primary-submit{background:#fff!important;color:#17233d!important;border-color:#dfe4ed!important;box-shadow:0 4px 12px rgb(28 42 68 / .07)!important}.btn.primary:hover,.primary:hover,.primary-link:hover,.primary-submit:hover{background:#f6f8fc!important}.field{min-height:42px;padding:11px 13px;font-size:13px}.badge{padding:5px 9px;font-size:10px;font-weight:750;letter-spacing:.01em}.notice{padding:15px 17px;line-height:1.65}.fact,.example,.flow,.tutor-message,.skeleton-info{padding:14px 16px;line-height:1.65}.grid,.course-grid,.courses-grid,.integration-list{gap:18px}.integration-list .panel{padding:22px}.footer{padding:24px 0;font-size:12px}:focus-visible{outline:3px solid rgb(139 92 246 / .75);outline-offset:3px}
@media(min-width:1100px){.sidebar{position:sticky;top:76px;height:calc(100vh - 76px);align-self:start;overflow-y:auto}.main{min-width:0}}@media(max-width:900px){.topstatus{display:none}.main{padding:24px}.sidebar{padding:16px}.navbtn{min-height:40px}}@media(max-width:700px){.topbar{min-height:64px;padding:12px 16px;gap:12px}.brandmark{width:40px;height:40px}.brand strong{font-size:15px}.brand small{font-size:10px}.top-links a{font-size:11px;padding:9px}.main{padding:18px}.catalogue-hero{padding:23px;margin-bottom:20px}.course-grid,.courses-grid,.integration-list{gap:12px}.course-top,.course-body{padding:16px}.course-bottom{padding:12px 16px}.panel{padding:18px}}@media(hover:none){.course:hover,.panel:hover{transform:none;box-shadow:var(--saas-shadow)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}


/* Header removed at user request: let learning workspace start at page top. */
@media(min-width:1100px){.sidebar{top:0;height:100vh}}


/* Student portal modules — premium SaaS module workspace */
.student-sidebar{gap:5px!important;padding:20px 14px!important}
.student-sidebar .caption{padding:8px 12px 7px!important;color:#8793a8!important;font-size:10px!important;letter-spacing:.14em!important}
.student-sidebar .student-caption{margin-top:14px}
.student-sidebar .navbtn{display:flex;align-items:center;gap:11px;min-height:42px;padding:10px 12px;border-radius:11px;font-size:13px;font-weight:620}
.student-sidebar .navbtn span:nth-child(1){flex:1}
.student-sidebar .navbtn.active{background:#f0f4ff;border:1px solid #e0e8ff;color:#2858d9;box-shadow:inset 3px 0 #3267f6}
.student-sidebar .nav-tag{font-size:9px;font-weight:800;letter-spacing:.06em;background:#eee8ff;color:#7650c9;border-radius:6px;padding:3px 6px}
.student-module-view{width:100%;max-width:1500px;margin:0 auto;padding:clamp(22px,3vw,44px)}
.student-module-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px;padding:28px 30px;border:1px solid #e8ebf1;border-radius:22px;background:linear-gradient(120deg,#fff 0%,#fff 65%,#f3f5ff 100%);box-shadow:0 12px 32px rgb(28 42 68 / .04)}
.student-module-heading h1{margin:0 0 8px}.student-module-heading p{margin:0;color:#788397;max-width:640px}
.student-module-icon{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border-radius:20px;background:color-mix(in srgb,var(--module-accent) 10%,white);border:1px solid color-mix(in srgb,var(--module-accent) 22%,white);color:var(--module-accent);font-size:27px;font-weight:750}
.student-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px}
.student-stat{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:10px;min-height:140px;padding:23px;border:1px solid #e8ebf1;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgb(28 42 68 / .035)}
.student-stat:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--module-accent)}
.student-stat span{font-size:12px;color:#788397;font-weight:650}.student-stat strong{font-size:clamp(18px,2vw,24px);line-height:1.3;color:#202c43;letter-spacing:-.025em}.student-stat small{font-size:12px;line-height:1.6;color:#8791a3}
.student-panel{padding:24px;border:1px solid #e8ebf1;border-radius:20px;background:#fff;box-shadow:0 8px 28px rgb(28 42 68 / .045);margin-bottom:20px}
.student-panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.student-panel-top h2{margin:0}
.student-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:color-mix(in srgb,var(--module-accent) 9%,white);border:1px solid color-mix(in srgb,var(--module-accent) 17%,white);color:var(--module-accent);font-size:11px;font-weight:750;white-space:nowrap}
.student-empty{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:230px;padding:28px 20px;border:1px dashed #dfe4ed;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfcfe)}
.student-empty h2{font-size:18px;margin:14px 0 5px}.student-empty p{max-width:520px;margin:0 0 17px;color:#788397;font-size:13px;line-height:1.75}
.empty-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#f0f4ff;color:#3267f6;font-size:20px}
.student-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.student-resource-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:20px;border:1px solid #e8ebf1;border-top:3px solid var(--module-accent);border-radius:18px;background:#fff;box-shadow:0 8px 26px rgb(28 42 68 / .04);transition:transform .2s,box-shadow .2s}
.student-resource-card:hover,.student-support-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgb(28 42 68 / .08)}
.resource-top{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px;margin-bottom:16px}.resource-number{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--module-accent) 10%,white);color:var(--module-accent);font-size:13px;font-weight:800}
.student-resource-card h2{font-size:17px;line-height:1.4;margin:0 0 8px}.student-resource-card p{font-size:12px;line-height:1.7;color:#788397;flex:1}.resource-meta{font-size:11px;color:#8791a3;margin:8px 0 16px}.student-resource-card .btn{width:100%;text-align:center;text-decoration:none}
.student-support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}.student-support-card{padding:24px;border:1px solid #e8ebf1;border-top:3px solid var(--module-accent);border-radius:18px;background:#fff;box-shadow:0 8px 26px rgb(28 42 68 / .04);transition:transform .2s,box-shadow .2s}.support-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:color-mix(in srgb,var(--module-accent) 10%,white);color:var(--module-accent);font-size:20px}.student-support-card h2{margin:16px 0 8px;font-size:19px}.student-support-card p{min-height:48px;color:#788397;font-size:13px;line-height:1.7}.student-inline-link{margin-top:18px}.student-inline-link a{font-weight:700;color:#3267f6;text-decoration:none}.student-profile-status{padding:18px;background:#f7f8fb;border:1px solid #e8ebf1;border-radius:13px;color:#788397;font-size:13px;line-height:1.7}.student-action-row{display:flex;gap:10px;margin-top:18px}
@media(max-width:1050px){.student-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.student-module-view{padding:18px}.student-module-heading{padding:21px;border-radius:17px;gap:12px}.student-module-icon{flex-basis:48px;width:48px;height:48px;border-radius:15px}.student-summary-grid,.student-support-grid,.student-resource-grid{grid-template-columns:1fr;gap:12px}.student-stat,.student-panel,.student-support-card{padding:18px}.student-sidebar .navbtn{min-height:40px}.student-panel-top{align-items:flex-start;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.student-resource-card,.student-support-card{transition:none!important}}

/* Dashboard module */
.student-dashboard-welcome{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:clamp(24px,3vw,38px);margin-bottom:20px;border:1px solid #e8ebf1;border-radius:22px;background:linear-gradient(115deg,#fff 0%,#fff 62%,#f0f4ff 100%);box-shadow:0 10px 30px rgb(28 42 68 / .04)}
.student-dashboard-welcome h2{max-width:680px;margin:0 0 10px;font-size:clamp(24px,3vw,34px);letter-spacing:-.04em;color:#17233d}
.student-dashboard-welcome p{max-width:610px;margin:0 0 20px;color:#788397;font-size:14px;line-height:1.75}
.student-welcome-mark{display:grid;place-items:center;flex:0 0 88px;width:88px;height:88px;border-radius:26px;background:#fff;border:1px solid #e4e9f3;color:#17233d;font-family:Georgia,serif;font-size:48px;box-shadow:0 12px 32px rgb(28 42 68 / .08)}
.student-dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:30px}
.student-dashboard-section{margin-top:8px}.student-section-title{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:16px}.student-section-title h2{margin:0;color:#202c43;font-size:23px;letter-spacing:-.03em}.student-section-note{font-size:12px;color:#8791a3}
.student-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.student-quick-card{display:flex;align-items:center;gap:13px;min-width:0;text-align:left;padding:17px;border:1px solid #e8ebf1;border-radius:16px;background:#fff;box-shadow:0 6px 20px rgb(28 42 68 / .035);cursor:pointer;transition:transform .2s,box-shadow .2s,border-color .2s}
.student-quick-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--module-accent) 35%,#e8ebf1);box-shadow:0 12px 28px rgb(28 42 68 / .075)}
.quick-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:color-mix(in srgb,var(--module-accent) 10%,white);color:var(--module-accent);font-size:20px;font-weight:750}
.quick-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.quick-copy strong{color:#202c43;font-size:13px;line-height:1.4}.quick-copy small{color:#8791a3;font-size:11px;line-height:1.5}.quick-arrow{color:#a0a8b7;font-size:16px}
@media(max-width:1050px){.student-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.student-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.student-dashboard-welcome{padding:22px;align-items:flex-start}.student-welcome-mark{flex-basis:54px;width:54px;height:54px;border-radius:17px;font-size:31px}.student-dashboard-stats,.student-quick-grid{grid-template-columns:1fr;gap:11px}.student-section-title{align-items:flex-start;flex-direction:column}.student-quick-card{padding:14px}}


/* FULL-SATURATION PREMIUM SAAS THEME — layered colour, polished motion, accessible controls */
:root{
 --vivid-blue:#3267f6;--vivid-violet:#8b5cf6;--vivid-cyan:#06b6d4;--vivid-teal:#14b8a6;
 --vivid-pink:#ec4899;--vivid-coral:#f97360;--vivid-amber:#f59e0b;--vivid-green:#22c55e;
 --vivid-indigo:#6366f1;--vivid-sky:#0ea5e9;--vivid-rose:#f43f5e;--vivid-purple:#a855f7;
 --ink:#17233d;--muted:#69778f;--line:#e6eaf2;--surface:#fff;--canvas:#f5f7fc;
 --lift:0 12px 32px rgb(30 46 80 / .07);--lift-hover:0 22px 48px rgb(30 46 80 / .14);
}
body{background:radial-gradient(ellipse at 5% 0%,rgb(50 103 246 / .07),transparent 30%),radial-gradient(ellipse at 94% 10%,rgb(168 85 247 / .06),transparent 25%),var(--canvas);color:var(--ink)}
.app{background:transparent}
.sidebar{background:rgb(255 255 255 / .88);backdrop-filter:blur(18px);border-right:1px solid rgb(225 231 242 / .9)}
.student-sidebar .navbtn{position:relative;isolation:isolate;overflow:hidden;border:1px solid transparent;transition:background .22s,border-color .22s,transform .22s,color .22s,box-shadow .22s}
.student-sidebar .navbtn:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,rgb(50 103 246 / .11),rgb(139 92 246 / .08));opacity:0;transition:opacity .22s}
.student-sidebar .navbtn:hover{transform:translateX(3px);color:#2858d9;border-color:#e5eaff}
.student-sidebar .navbtn:hover:before,.student-sidebar .navbtn.active:before{opacity:1}
.student-sidebar .navbtn.active{background:linear-gradient(100deg,#eef3ff,#f6f1ff);border-color:#dce5ff;box-shadow:inset 3px 0 var(--vivid-blue),0 4px 12px rgb(50 103 246 / .07)}
.main{animation:workspace-enter .55s cubic-bezier(.2,.7,.2,1) both}
.headrow,.catalogue-hero{border-radius:24px}
.catalogue-hero{padding:clamp(24px,3vw,38px);border:1px solid rgb(223 230 244 / .95);background:linear-gradient(115deg,#fff 0%,#fff 54%,#eff4ff 100%);box-shadow:var(--lift)}
.catalogue-hero:before{width:340px;height:340px;right:-80px;top:-210px;background:radial-gradient(circle,rgb(50 103 246 / .18),transparent 68%);animation:glow-drift 9s ease-in-out infinite alternate}
.catalogue-hero:after{width:250px;height:250px;right:12%;bottom:-210px;background:radial-gradient(circle,rgb(139 92 246 / .13),transparent 70%);animation:glow-drift 11s ease-in-out infinite alternate-reverse}
.eyebrow{color:var(--vivid-blue)}
h1{color:#17233d;text-wrap:balance}
h2,h3{color:#202c43}
.course,.panel,.student-panel,.student-stat,.student-resource-card,.student-support-card,.student-quick-card{position:relative;isolation:isolate;overflow:hidden;border-color:#e4e9f3;box-shadow:0 8px 24px rgb(30 46 80 / .045);transition:transform .26s cubic-bezier(.2,.7,.2,1),box-shadow .26s,border-color .26s}
.course:after,.panel:after,.student-panel:after,.student-resource-card:after,.student-support-card:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(135deg,rgb(50 103 246 / .025),transparent 42%,rgb(168 85 247 / .025));opacity:0;transition:opacity .25s}
.course:hover,.panel:hover,.student-panel:hover,.student-stat:hover,.student-resource-card:hover,.student-support-card:hover,.student-quick-card:hover{transform:translateY(-4px);box-shadow:var(--lift-hover);border-color:#d6def4}
.course:hover:after,.panel:hover:after,.student-panel:hover:after,.student-resource-card:hover:after,.student-support-card:hover:after{opacity:1}
.course{border-radius:20px;background:#fff;animation:card-enter .5s both;animation-delay:calc(var(--card-index,0)*45ms)}
.course:nth-child(12n+1){--course-accent:var(--vivid-blue)}.course:nth-child(12n+2){--course-accent:var(--vivid-teal)}.course:nth-child(12n+3){--course-accent:var(--vivid-violet)}.course:nth-child(12n+4){--course-accent:var(--vivid-amber)}.course:nth-child(12n+5){--course-accent:var(--vivid-coral)}.course:nth-child(12n+6){--course-accent:var(--vivid-pink)}.course:nth-child(12n+7){--course-accent:var(--vivid-green)}.course:nth-child(12n+8){--course-accent:var(--vivid-cyan)}.course:nth-child(12n+9){--course-accent:var(--vivid-sky)}.course:nth-child(12n+10){--course-accent:var(--vivid-indigo)}.course:nth-child(12n+11){--course-accent:var(--vivid-rose)}.course:nth-child(12n){--course-accent:var(--vivid-purple)}
.course-top{border-top:3px solid var(--course-accent,var(--vivid-blue));background:linear-gradient(135deg,color-mix(in srgb,var(--course-accent,var(--vivid-blue)) 7%,white),white 65%)}
.course .code,.student-resource-card .resource-number{background:color-mix(in srgb,var(--course-accent,var(--vivid-blue)) 13%,white);color:var(--course-accent,var(--vivid-blue));border:1px solid color-mix(in srgb,var(--course-accent,var(--vivid-blue)) 19%,white)}
.course .badge,.badge{border-radius:999px}
.btn{border-radius:12px;transition:transform .2s,box-shadow .2s,background .2s,border-color .2s}
.btn:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgb(50 103 246 / .13)}
.btn.primary,.primary,.primary-link,.primary-submit{background:#fff!important;color:#17233d!important;border:1px solid #dce3ef!important;box-shadow:0 4px 12px rgb(28 42 68 / .06)!important}
.field{border-radius:12px;border-color:#dfe5f0;background:#fff;transition:border-color .2s,box-shadow .2s}
.field:focus{border-color:var(--vivid-blue);box-shadow:0 0 0 4px rgb(50 103 246 / .11);outline:0}
.student-module-heading{background:linear-gradient(115deg,#fff 0%,#fff 52%,#f0f4ff 100%);box-shadow:var(--lift);animation:card-enter .5s both}
.student-module-icon{box-shadow:0 10px 24px color-mix(in srgb,var(--module-accent) 15%,transparent)}
.student-stat:before{height:4px;background:linear-gradient(90deg,var(--module-accent),color-mix(in srgb,var(--module-accent) 42%,white))}
.student-quick-card{background:linear-gradient(135deg,#fff,#fcfcff)}
.student-quick-card:nth-child(12n+1){--module-accent:var(--vivid-blue)}.student-quick-card:nth-child(12n+2){--module-accent:var(--vivid-violet)}.student-quick-card:nth-child(12n+3){--module-accent:var(--vivid-teal)}.student-quick-card:nth-child(12n+4){--module-accent:var(--vivid-amber)}.student-quick-card:nth-child(12n+5){--module-accent:var(--vivid-coral)}.student-quick-card:nth-child(12n+6){--module-accent:var(--vivid-pink)}.student-quick-card:nth-child(12n+7){--module-accent:var(--vivid-green)}.student-quick-card:nth-child(12n+8){--module-accent:var(--vivid-cyan)}.student-quick-card:nth-child(12n+9){--module-accent:var(--vivid-sky)}.student-quick-card:nth-child(12n+10){--module-accent:var(--vivid-indigo)}.student-quick-card:nth-child(12n+11){--module-accent:var(--vivid-rose)}.student-quick-card:nth-child(12n){--module-accent:var(--vivid-purple)}
.student-quick-card .quick-icon{background:linear-gradient(145deg,color-mix(in srgb,var(--module-accent) 17%,white),color-mix(in srgb,var(--module-accent) 7%,white));box-shadow:inset 0 1px white}
.student-dashboard-welcome{background:linear-gradient(115deg,#fff 0%,#fff 48%,#eaf1ff 100%);box-shadow:var(--lift);animation:card-enter .55s both}
.student-welcome-mark{background:linear-gradient(145deg,#fff,#f2f5ff);border-color:#dfe6f5;animation:mark-float 5s ease-in-out infinite}
.student-empty{background:linear-gradient(180deg,#fff,#f8faff)}
@keyframes workspace-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes card-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes glow-drift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(-18px,14px,0) scale(1.08)}}
@keyframes mark-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@media(max-width:700px){.student-sidebar .navbtn:hover{transform:none}.course:hover,.panel:hover,.student-panel:hover,.student-stat:hover,.student-resource-card:hover,.student-support-card:hover,.student-quick-card:hover{transform:translateY(-1px)}}
@media(prefers-reduced-motion:reduce){.main,.course,.student-module-heading,.student-dashboard-welcome,.student-welcome-mark,.catalogue-hero:before,.catalogue-hero:after{animation:none!important}.course,.panel,.student-panel,.student-stat,.student-resource-card,.student-support-card,.student-quick-card,.student-sidebar .navbtn,.btn{transition:none!important;transform:none!important}}


/* STUDENT EXPERIENCE POLISH — dashboard and learning modules only; course catalogue styles untouched */
.student-sidebar{background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);box-shadow:8px 0 28px rgb(28 42 68 / .025)}
.student-sidebar .caption{font-size:10px;letter-spacing:.16em;color:#8a95aa;padding-top:12px!important}
.student-sidebar .navbtn{min-height:44px;font-size:13px;letter-spacing:-.01em}
.student-sidebar .navbtn>span:first-of-type{font-weight:620}
.student-sidebar .navbtn:focus-visible,.student-quick-card:focus-visible,.student-resource-card a:focus-visible{outline:3px solid rgb(139 92 246 / .65);outline-offset:3px}
.student-sidebar .navbtn.active{color:#234fd1;background:linear-gradient(105deg,#eaf0ff 0%,#f4efff 100%);border-color:#dbe4ff;box-shadow:inset 3px 0 #3267f6,0 5px 16px rgb(50 103 246 / .07)}
.student-sidebar .nav-tag{background:linear-gradient(135deg,#ede9fe,#dbeafe);color:#6d42c1;border:1px solid #e2dcff}
.student-module-view{animation:student-view-enter .42s cubic-bezier(.2,.7,.2,1) both}
.student-module-heading{position:relative;overflow:hidden;min-height:170px;border-radius:24px;border-color:#e2e8f4;background:linear-gradient(112deg,#fff 0%,#fff 58%,#edf2ff 100%);box-shadow:0 14px 38px rgb(27 43 77 / .055)}
.student-module-heading:after{content:"";position:absolute;right:90px;top:-110px;width:230px;height:230px;border-radius:50%;border:1px solid rgb(50 103 246 / .10);box-shadow:0 0 0 28px rgb(50 103 246 / .025),0 0 0 56px rgb(139 92 246 / .025);pointer-events:none}
.student-module-heading>div,.student-module-icon{position:relative;z-index:1}
.student-module-heading h1{font-size:clamp(30px,3vw,42px);line-height:1.1;letter-spacing:-.05em}
.student-module-heading .eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px}
.student-module-heading .eyebrow:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#3267f6;box-shadow:0 0 0 4px rgb(50 103 246 / .11)}
.student-module-icon{border-radius:22px;box-shadow:0 12px 28px color-mix(in srgb,var(--module-accent) 13%,transparent);animation:student-icon-float 5s ease-in-out infinite}
.student-panel,.student-stat,.student-support-card,.student-resource-card{border-radius:20px;border-color:#e5eaf3}
.student-panel-top{margin-bottom:22px}
.student-panel-top h2{font-size:20px;letter-spacing:-.035em}
.student-stat{padding:24px;background:linear-gradient(145deg,#fff 0%,#fff 72%,color-mix(in srgb,var(--module-accent) 5%,white) 100%)}
.student-stat span{display:flex;align-items:center;gap:8px;font-weight:700;color:#69778f}
.student-stat span:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--module-accent)}
.student-stat strong{font-size:clamp(18px,1.8vw,23px);line-height:1.3}
.student-chip{padding:7px 11px;box-shadow:inset 0 1px rgb(255 255 255 / .9)}
.student-empty{min-height:250px;border-style:solid;border-color:#e7ebf4;background:radial-gradient(ellipse at 50% 0%,#f2f5ff 0%,transparent 68%),linear-gradient(180deg,#fff,#fcfcff)}
.student-empty .empty-mark{background:linear-gradient(145deg,#eaf0ff,#f0eaff);box-shadow:0 7px 18px rgb(50 103 246 / .08)}
.student-empty h2{font-size:20px;letter-spacing:-.03em}
.student-empty p{max-width:560px}
.student-profile-status{background:linear-gradient(120deg,#f7f9fd,#f4f6fb);border-color:#e6ebf3;border-radius:15px}
.student-support-card{background:linear-gradient(145deg,#fff 0%,#fff 78%,color-mix(in srgb,var(--module-accent) 5%,white) 100%)}
.student-support-card .support-icon{border-radius:15px;box-shadow:inset 0 1px rgb(255 255 255 / .8),0 5px 14px color-mix(in srgb,var(--module-accent) 10%,transparent)}
.student-support-card .btn,.student-action-row .btn,.student-empty .btn{min-height:43px;border-radius:12px}
.student-resource-card{padding:22px}
.student-resource-card h2{letter-spacing:-.03em}
.student-resource-card .btn{margin-top:5px}
.student-dashboard-welcome{border-radius:24px;border-color:#dfe7f6;background:radial-gradient(ellipse at 100% 0%,rgb(50 103 246 / .11),transparent 40%),linear-gradient(112deg,#fff 0%,#fff 56%,#eef2ff 100%);box-shadow:0 16px 40px rgb(27 43 77 / .065)}
.student-dashboard-welcome .eyebrow{display:inline-flex;align-items:center;gap:8px}
.student-dashboard-welcome .eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#20a995;box-shadow:0 0 0 4px rgb(32 169 149 / .12)}
.student-dashboard-welcome .btn{min-height:44px;border-radius:13px}
.student-welcome-mark{border-radius:27px;background:linear-gradient(145deg,#fff,#edf2ff);box-shadow:0 16px 34px rgb(50 103 246 / .11),inset 0 1px #fff}
.student-dashboard-stats .student-stat{min-height:154px}
.student-section-title{padding:0 2px}
.student-section-title .eyebrow{margin-bottom:7px}
.student-quick-card{min-height:91px;border-radius:17px;padding:17px;background:#fff}
.student-quick-card .quick-icon{border-radius:14px;transition:transform .22s cubic-bezier(.2,.7,.2,1),box-shadow .22s}
.student-quick-card:hover .quick-icon{transform:scale(1.07) rotate(-3deg);box-shadow:0 7px 16px color-mix(in srgb,var(--module-accent) 14%,transparent)}
.student-quick-card .quick-copy strong{font-size:13px}
.student-quick-card .quick-arrow{transition:transform .2s,color .2s}
.student-quick-card:hover .quick-arrow{transform:translate(2px,-2px);color:var(--module-accent)}
.student-module-view .btn:active,.student-quick-card:active{transform:scale(.985)}
@keyframes student-view-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes student-icon-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(max-width:700px){
 .student-module-heading{min-height:145px;padding:21px;border-radius:19px}
 .student-module-heading:after{right:-70px;top:-90px}
 .student-module-heading h1{font-size:30px}
 .student-module-icon{border-radius:16px}
 .student-dashboard-welcome{border-radius:19px}
 .student-stat{min-height:125px;padding:19px}
 .student-quick-card{min-height:78px}
}
@media(prefers-reduced-motion:reduce){
 .student-module-view,.student-module-icon{animation:none!important}
 .student-quick-card .quick-icon,.student-quick-card .quick-arrow{transition:none!important}
}


/* SINGLE ACTIVE NAV ITEM — ensure selection is exclusive across all modules */
.student-sidebar .navbtn{background:transparent;box-shadow:none}
.student-sidebar .navbtn:hover{background:#f5f7ff}
.student-sidebar .navbtn.active{background:linear-gradient(105deg,#eaf0ff 0%,#f4efff 100%);border:1px solid #dbe4ff;color:#234fd1;box-shadow:inset 3px 0 #3267f6,0 5px 16px rgb(50 103 246 / .07)}
.student-sidebar .navbtn:not(.active):not(:hover){background:transparent;box-shadow:none;border-color:transparent}


/* NIZAMMS institutional identity at the top of the student sidebar */
.student-sidebar{padding-top:18px}
.student-sidebar-brand{display:flex;align-items:center;gap:12px;margin:0 2px 28px;padding:2px 6px 22px;border-bottom:1px solid #e9edf5;color:#17233d}
.student-sidebar-brandmark{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:1px solid #dce5ff;border-radius:15px;background:linear-gradient(145deg,#fff 0%,#edf2ff 100%);box-shadow:0 7px 18px rgb(50 103 246 / .10);font-family:Georgia,'Times New Roman',serif;font-size:31px;line-height:1;color:#3267f6}
.student-sidebar-brandcopy{display:flex;flex-direction:column;gap:5px;min-width:0}
.student-sidebar-brandcopy strong{font-size:18px;line-height:1.1;letter-spacing:.11em;font-weight:850;color:#17233d}
.student-sidebar-brandcopy span{font-size:10px;line-height:1.45;letter-spacing:.015em;color:#7c89a1;font-weight:550}
.student-sidebar .caption{margin-top:0}
@media(max-width:700px){.student-sidebar-brand{gap:10px;margin-bottom:22px;padding-bottom:18px}.student-sidebar-brandmark{flex-basis:42px;width:42px;height:42px;font-size:28px}.student-sidebar-brandcopy strong{font-size:16px}.student-sidebar-brandcopy span{font-size:9px}}

/* Stripe payment history cards — scoped to Fees & Payments */
.student-payment-history{display:grid;gap:12px}
.student-payment-row{display:flex;align-items:center;gap:18px;padding:18px;border:1px solid #e6eaf2;border-radius:16px;background:#fff}
.student-payment-details{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.student-payment-details strong{font-size:14px;color:#202c43}
.student-payment-details span{font-size:11px;color:#788397}
.student-payment-details .student-payment-status{display:inline-flex;align-self:flex-start;padding:5px 9px;border-radius:999px;background:#eff3ff;color:#3267f6;font-weight:750;text-transform:capitalize}
.student-payment-amount{font-size:16px;color:#17233d;white-space:nowrap}
@media(max-width:650px){.student-payment-row{align-items:flex-start;flex-wrap:wrap;padding:15px}.student-payment-amount{font-size:14px}.student-payment-row .btn{margin-left:auto}}


/* ─────────────────────────────────────────────────────────────
   NIZAMMS PREMIUM STUDENT WORKSPACE
   UI-only refresh. Course catalogue markup, prices, and behaviour
   intentionally remain unchanged.
   ───────────────────────────────────────────────────────────── */
:root{
  --student-ink:#182441;
  --student-muted:#697795;
  --student-line:#e4e9f4;
  --student-blue:#4967f5;
  --student-violet:#8057ef;
  --student-canvas:#f4f6fc;
  --student-shadow:0 12px 32px rgb(29 42 86 / .055);
  --student-shadow-hover:0 22px 48px rgb(29 42 86 / .11);
}
html:has(.student-sidebar){background:var(--student-canvas)}
body:has(.student-sidebar){
  background:
    radial-gradient(ellipse at 88% 0%,rgb(73 103 245 / .075),transparent 32rem),
    radial-gradient(ellipse at 48% 44%,rgb(128 87 239 / .035),transparent 38rem),
    linear-gradient(180deg,#f8f9fe 0%,#f2f5fb 100%);
  color:var(--student-ink);
}
.app:has(.student-sidebar){grid-template-columns:258px minmax(0,1fr);min-height:100svh}
.app:has(.student-sidebar) .main{
  max-width:1740px;
  padding:clamp(26px,3.2vw,52px);
  min-height:100svh;
}
.student-sidebar{
  position:sticky;
  top:0;
  height:100svh;
  min-height:100svh;
  align-self:start;
  overflow-x:hidden;
  overflow-y:auto;
  padding:22px 15px 28px!important;
  gap:5px!important;
  color:#e7ecff;
  background:
    radial-gradient(ellipse at 20% 0%,rgb(88 108 255 / .18),transparent 22rem),
    linear-gradient(180deg,#111b35 0%,#111a31 55%,#151d39 100%)!important;
  border-right:1px solid rgb(194 205 255 / .10);
  box-shadow:14px 0 42px rgb(22 32 66 / .08);
  scrollbar-width:thin;
  scrollbar-color:rgb(174 189 239 / .24) transparent;
}
.student-sidebar-brand{
  gap:12px;
  margin:0 3px 28px;
  padding:4px 7px 23px;
  border-bottom:1px solid rgb(210 220 255 / .12);
  color:#f7f8ff;
}
.student-sidebar-brandmark{
  flex-basis:46px;
  width:46px;
  height:46px;
  border:1px solid rgb(255 255 255 / .20);
  border-radius:15px;
  color:white;
  background:linear-gradient(145deg,#6685ff 0%,#4d66ed 48%,#8658ea 100%);
  box-shadow:0 10px 25px rgb(70 94 245 / .28),inset 0 1px rgb(255 255 255 / .25);
  font-family:Georgia,'Times New Roman',serif;
  font-size:31px;
}
.student-sidebar-brandcopy strong{color:#f8f9ff;font-size:18px;letter-spacing:.13em}
.student-sidebar-brandcopy span{color:#aeb9d9;font-size:10px;line-height:1.5}
.student-sidebar .caption{
  padding:9px 12px 8px!important;
  color:#8f9dc0!important;
  font-size:9px!important;
  font-weight:800;
  letter-spacing:.18em!important;
}
.student-sidebar .student-caption{margin-top:18px}
.student-sidebar .navbtn{
  position:relative;
  min-height:45px;
  margin:0 0 3px;
  padding:11px 12px;
  gap:12px;
  border:1px solid transparent;
  border-radius:13px;
  color:#bcc6e1;
  background:transparent;
  font-size:12.5px;
  font-weight:580;
  letter-spacing:-.005em;
  transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.student-sidebar .navbtn>span:first-of-type{flex:1;font-weight:620}
.student-sidebar .navbtn:hover{
  color:#fff;
  background:rgb(255 255 255 / .065);
  border-color:rgb(202 214 255 / .10);
  transform:translateX(2px);
}
.student-sidebar .navbtn.active{
  color:#fff;
  background:linear-gradient(105deg,#4264ee 0%,#5969f5 56%,#7855e9 100%);
  border-color:rgb(255 255 255 / .16);
  box-shadow:0 9px 22px rgb(69 92 232 / .22),inset 0 1px rgb(255 255 255 / .16);
}
.student-sidebar .navbtn.active:before{display:none}
.student-sidebar .nav-tag{
  padding:3px 7px;
  color:#dcd5ff;
  background:rgb(255 255 255 / .12);
  border:1px solid rgb(255 255 255 / .16);
  border-radius:7px;
  font-size:9px;
  letter-spacing:.07em;
}
.student-sidebar .navbtn:focus-visible{outline:3px solid #a5b4fc;outline-offset:2px}
.student-sidebar::-webkit-scrollbar{width:6px}
.student-sidebar::-webkit-scrollbar-thumb{background:rgb(174 189 239 / .24);border-radius:20px}
.app:has(.student-sidebar) .footer{
  margin-top:38px;
  border-top:1px solid rgb(120 139 181 / .18);
  color:#8290ad;
}

/* Dashboard welcome: premium ink-blue hero with quiet ambient light. */
.student-dashboard-welcome{
  isolation:isolate;
  position:relative;
  min-height:236px;
  padding:clamp(28px,3.4vw,44px);
  margin:0 0 22px;
  gap:30px;
  align-items:center;
  border:1px solid rgb(255 255 255 / .12);
  border-radius:28px;
  color:#f8faff;
  background:
    radial-gradient(ellipse at 92% 0%,rgb(128 87 239 / .45),transparent 45%),
    radial-gradient(ellipse at 72% 110%,rgb(47 91 231 / .33),transparent 45%),
    linear-gradient(118deg,#121d38 0%,#182b54 54%,#263c78 100%);
  box-shadow:0 24px 54px rgb(23 38 78 / .16),inset 0 1px rgb(255 255 255 / .12);
}
.student-dashboard-welcome:before{
  content:"";
  position:absolute;
  z-index:-1;
  right:clamp(95px,12vw,190px);
  top:-155px;
  width:330px;
  height:330px;
  border:1px solid rgb(228 234 255 / .13);
  border-radius:50%;
  box-shadow:0 0 0 32px rgb(228 234 255 / .035),0 0 0 68px rgb(228 234 255 / .025);
  pointer-events:none;
}
.student-dashboard-welcome:after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:auto 0 0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgb(255 255 255 / .22),transparent);
  pointer-events:none;
}
.student-dashboard-welcome .eyebrow{
  color:#aebcff;
  font-size:10px;
  font-weight:850;
  letter-spacing:.19em;
  margin-bottom:16px;
}
.student-dashboard-welcome .eyebrow:before{
  background:#64e1cc;
  box-shadow:0 0 0 4px rgb(100 225 204 / .12),0 0 16px rgb(100 225 204 / .45);
}
.student-dashboard-welcome h2{
  max-width:700px;
  margin:0 0 12px;
  color:#fff;
  font-size:clamp(29px,3.4vw,43px);
  line-height:1.08;
  letter-spacing:-.052em;
  font-weight:780;
}
.student-dashboard-welcome p{
  max-width:620px;
  color:#c4cee7;
  font-size:14px;
  line-height:1.8;
  margin:0 0 24px;
}
.student-dashboard-welcome .btn,
.student-dashboard-welcome .btn.primary{
  min-height:47px;
  padding:12px 18px;
  border-radius:13px;
  border:1px solid rgb(255 255 255 / .24)!important;
  color:#fff!important;
  background:linear-gradient(105deg,#4e71ff,#8060ef)!important;
  box-shadow:0 9px 23px rgb(3 9 27 / .22),inset 0 1px rgb(255 255 255 / .22)!important;
  font-size:12px;
  font-weight:750;
}
.student-dashboard-welcome .btn:hover{
  transform:translateY(-2px);
  box-shadow:0 13px 28px rgb(3 9 27 / .28),inset 0 1px rgb(255 255 255 / .22)!important;
}
.student-welcome-mark{
  position:relative;
  flex:0 0 104px;
  width:104px;
  height:104px;
  margin-right:clamp(0px,2vw,24px);
  border:1px solid rgb(255 255 255 / .25);
  border-radius:31px;
  color:#fff;
  background:linear-gradient(145deg,rgb(255 255 255 / .17),rgb(255 255 255 / .055));
  box-shadow:0 18px 40px rgb(3 9 27 / .18),inset 0 1px rgb(255 255 255 / .22);
  backdrop-filter:blur(12px);
  font-size:58px;
}
.student-welcome-mark:after{
  content:"";
  position:absolute;
  inset:-9px;
  border:1px solid rgb(255 255 255 / .12);
  border-radius:37px;
  pointer-events:none;
}

/* Stats and quick actions: calmer cards, clearer hierarchy and stronger spacing. */
.student-dashboard-stats{
  gap:17px;
  margin:0 0 38px;
}
.student-dashboard-stats .student-stat{
  min-height:152px;
  padding:25px 24px 22px;
  gap:12px;
  border:1px solid #e3e8f4;
  border-radius:21px;
  background:linear-gradient(145deg,#fff 0%,#fff 72%,#f6f7ff 100%);
  box-shadow:0 9px 25px rgb(35 51 96 / .045);
}
.student-dashboard-stats .student-stat:before{
  left:23px;
  right:auto;
  top:22px;
  width:31px;
  height:4px;
  border-radius:8px;
}
.student-dashboard-stats .student-stat span{margin-top:12px;color:#697795;font-size:11px;letter-spacing:.02em}
.student-dashboard-stats .student-stat strong{color:#202b48;font-size:clamp(17px,1.55vw,21px);font-weight:760;letter-spacing:-.03em}
.student-dashboard-stats .student-stat small{color:#8590aa;font-size:11.5px;line-height:1.6}
.student-section-title{margin-bottom:19px;align-items:end}
.student-section-title .eyebrow{color:#6578df;font-size:9px;letter-spacing:.2em;margin-bottom:8px}
.student-section-title h2{color:#1b2745;font-size:25px;letter-spacing:-.045em;font-weight:780}
.student-section-note{color:#7e8aa4;font-size:12px}
.student-quick-grid{gap:15px}
.student-quick-card{
  position:relative;
  min-height:98px;
  padding:19px;
  gap:14px;
  border:1px solid #e5eaf4;
  border-radius:19px;
  background:linear-gradient(145deg,#fff 0%,#fff 72%,#f8f9ff 100%);
  box-shadow:0 7px 20px rgb(35 51 96 / .035);
  text-decoration:none;
}
.student-quick-card:after{
  content:"";
  position:absolute;
  left:0;
  top:22px;
  bottom:22px;
  width:3px;
  border-radius:0 4px 4px 0;
  background:var(--module-accent);
  opacity:.72;
  transition:opacity .18s,height .18s,top .18s;
}
.student-quick-card:hover{
  border-color:color-mix(in srgb,var(--module-accent) 25%,#e5eaf4);
  box-shadow:0 16px 34px rgb(35 51 96 / .085);
  transform:translateY(-3px);
}
.student-quick-card:hover:after{top:15px;bottom:15px;opacity:1}
.student-quick-card .quick-icon{
  flex-basis:45px;
  width:45px;
  height:45px;
  border:1px solid color-mix(in srgb,var(--module-accent) 17%,white);
  border-radius:15px;
  font-size:20px;
  box-shadow:inset 0 1px white;
}
.student-quick-card .quick-copy{gap:4px}
.student-quick-card .quick-copy strong{color:#202b48;font-size:12.5px;font-weight:760}
.student-quick-card .quick-copy small{color:#818da6;font-size:10.5px;line-height:1.55}
.student-quick-card .quick-arrow{color:#a3acc0;font-size:15px}
.student-quick-card:hover .quick-arrow{color:var(--module-accent)}

/* Shared learning modules keep the same content and controls, with refined surfaces. */
.student-module-view{padding:clamp(24px,3.2vw,46px)}
.student-module-heading{
  position:relative;
  isolation:isolate;
  padding:clamp(25px,3vw,36px);
  min-height:166px;
  gap:25px;
  border:1px solid #e3e8f4;
  border-radius:25px;
  background:
    radial-gradient(ellipse at 100% 0%,rgb(83 111 245 / .12),transparent 35%),
    linear-gradient(120deg,#fff 0%,#fff 60%,#f2f3ff 100%);
  box-shadow:0 14px 34px rgb(35 51 96 / .055);
}
.student-module-heading:after{
  right:85px;
  top:-120px;
  border-color:rgb(73 103 245 / .11);
  box-shadow:0 0 0 32px rgb(73 103 245 / .025),0 0 0 66px rgb(128 87 239 / .023);
}
.student-module-heading h1{font-size:clamp(30px,3.2vw,43px);letter-spacing:-.055em;font-weight:790}
.student-module-heading p{font-size:13px;line-height:1.8;color:#74819d}
.student-module-icon{
  flex-basis:68px;
  width:68px;
  height:68px;
  border-radius:21px;
  font-size:27px;
  box-shadow:0 12px 26px color-mix(in srgb,var(--module-accent) 16%,transparent),inset 0 1px white;
}
.student-module-view .student-panel,
.student-module-view .student-stat,
.student-module-view .student-resource-card,
.student-module-view .student-support-card,
.student-module-view .student-empty{
  border-color:#e4e9f3;
  box-shadow:0 9px 25px rgb(35 51 96 / .04);
}
.student-module-view .student-panel,
.student-module-view .student-resource-card,
.student-module-view .student-support-card{border-radius:20px;background:linear-gradient(150deg,#fff,#fdfdff)}
.student-module-view .student-panel-top h2,
.student-module-view .student-resource-card h2,
.student-module-view .student-support-card h2{color:#1c2846;letter-spacing:-.035em}
.student-module-view .student-stat{border-radius:19px}
.student-module-view .student-empty{
  border-style:solid;
  border-radius:20px;
  background:radial-gradient(ellipse at 50% 0%,rgb(73 103 245 / .065),transparent 60%),#fff;
}
.student-module-view .btn.primary,
.student-module-view .btn.primary:hover{
  background:linear-gradient(105deg,#4968f5,#7758ed)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 7px 17px rgb(73 103 245 / .18)!important;
}
.student-module-view .btn.primary:hover{transform:translateY(-1px)}
.student-module-view .field:focus,
.student-module-view input:focus-visible,
.student-module-view select:focus-visible{
  border-color:#7185fa;
  box-shadow:0 0 0 4px rgb(73 103 245 / .12);
}

/* Responsive layout: keep the same navigation and controls usable on phones. */
@media(max-width:1100px){
  .app:has(.student-sidebar){grid-template-columns:226px minmax(0,1fr)}
  .app:has(.student-sidebar) .main{padding:28px 24px}
  .student-dashboard-welcome{min-height:220px}
  .student-dashboard-stats{gap:13px}
  .student-quick-grid{gap:12px}
}
@media(max-width:700px){
  .app:has(.student-sidebar){display:block}
  .app:has(.student-sidebar) .main{min-height:calc(100svh - 90px);padding:19px 16px 32px}
  .student-sidebar{
    position:relative;
    top:auto;
    height:auto;
    min-height:0;
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:7px!important;
    padding:12px 13px!important;
    overflow-x:auto;
    overflow-y:hidden;
    border-right:0;
    border-bottom:1px solid rgb(194 205 255 / .12);
    box-shadow:0 7px 20px rgb(22 32 66 / .08);
  }
  .student-sidebar-brand{
    flex:0 0 205px;
    margin:0 8px 0 0;
    padding:0 12px 0 0;
    border-bottom:0;
    border-right:1px solid rgb(210 220 255 / .14);
  }
  .student-sidebar .caption{display:none}
  .student-sidebar .navbtn{
    flex:0 0 auto;
    width:auto;
    min-height:40px;
    margin:0;
    padding:9px 12px;
    white-space:nowrap;
    font-size:11px;
  }
  .student-dashboard-welcome{padding:25px 22px;min-height:0;border-radius:22px;gap:16px}
  .student-dashboard-welcome h2{font-size:clamp(28px,7vw,36px)}
  .student-dashboard-welcome p{font-size:12.5px;line-height:1.75;margin-bottom:19px}
  .student-welcome-mark{flex-basis:58px;width:58px;height:58px;margin:0;border-radius:18px;font-size:33px}
  .student-welcome-mark:after{inset:-5px;border-radius:22px}
  .student-dashboard-stats,.student-quick-grid{grid-template-columns:1fr;gap:11px}
  .student-dashboard-stats{margin-bottom:29px}
  .student-dashboard-stats .student-stat{min-height:126px;padding:20px}
  .student-dashboard-stats .student-stat:before{left:20px;top:18px}
  .student-dashboard-stats .student-stat span{margin-top:7px}
  .student-section-title{align-items:flex-start;gap:6px}
  .student-section-title h2{font-size:23px}
  .student-quick-card{min-height:82px;padding:15px 16px}
  .student-module-view{padding:18px 15px 28px}
  .student-module-heading{min-height:135px;padding:22px 20px;border-radius:20px}
  .student-module-heading h1{font-size:29px}
  .student-module-icon{flex-basis:49px;width:49px;height:49px;border-radius:15px;font-size:20px}
}
@media(prefers-reduced-motion:reduce){
  .student-sidebar .navbtn,
  .student-dashboard-welcome .btn,
  .student-quick-card,
  .student-quick-card:after{transition:none!important}
}


/* =============================================================
   NIZAMMS LUXURY DESIGN SYSTEM · V3
   Presentation-only overrides for the student workspace and
   checkout surfaces. No course content or behaviour is changed.
   ============================================================= */
:root{
  --lux-ink:#172441;
  --lux-muted:#71809b;
  --lux-line:#e4e9f4;
  --lux-blue:#4e68f4;
  --lux-violet:#7c5ce8;
  --lux-teal:#6ce0d0;
  --lux-gold:#eacb88;
  --lux-canvas:#f4f6fc;
  --lux-card-shadow:0 12px 32px rgb(23 36 72 / .055);
  --lux-card-shadow-hover:0 24px 50px rgb(23 36 72 / .12);
}
html:has(.student-sidebar){background:var(--lux-canvas);scroll-behavior:smooth}
body:has(.student-sidebar){
  color:var(--lux-ink);
  background:
    radial-gradient(ellipse at 94% -4%,rgb(94 113 247 / .095),transparent 34rem),
    radial-gradient(ellipse at 52% 48%,rgb(123 91 232 / .045),transparent 40rem),
    linear-gradient(180deg,#f9faff 0%,#f2f5fb 100%)!important;
  font-feature-settings:"ss01" on,"cv11" on;
}
.app:has(.student-sidebar){
  grid-template-columns:270px minmax(0,1fr);
  min-height:100svh;
  background:transparent;
}
.app:has(.student-sidebar) .main{
  min-width:0;
  max-width:1760px;
  min-height:100svh;
  padding:clamp(28px,3.3vw,54px);
}

/* Deep ink navigation with one clear active state. */
.student-sidebar{
  position:sticky;
  top:0;
  z-index:20;
  align-self:start;
  height:100svh;
  min-height:100svh;
  overflow-x:hidden;
  overflow-y:auto;
  padding:22px 16px 30px!important;
  gap:5px!important;
  color:#e8edff!important;
  background:
    radial-gradient(ellipse at 12% -3%,rgb(91 117 255 / .20),transparent 23rem),
    radial-gradient(ellipse at 100% 68%,rgb(100 72 183 / .12),transparent 22rem),
    linear-gradient(180deg,#101a32 0%,#111b34 52%,#141e3a 100%)!important;
  border-right:1px solid rgb(173 190 232 / .13)!important;
  box-shadow:14px 0 44px rgb(21 33 67 / .075)!important;
  scrollbar-width:thin;
  scrollbar-color:rgb(166 183 229 / .25) transparent;
}
.student-sidebar-brand{
  display:flex;
  align-items:center;
  gap:13px;
  margin:0 2px 25px!important;
  padding:4px 7px 22px!important;
  border:0!important;
  border-bottom:1px solid rgb(208 219 250 / .13)!important;
  color:#f8faff!important;
}
.student-sidebar-brandmark{
  flex:0 0 48px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid rgb(255 255 255 / .23)!important;
  border-radius:16px!important;
  color:#fff!important;
  background:linear-gradient(145deg,#7d91ff 0%,#526af3 48%,#8e65ef 100%)!important;
  box-shadow:0 12px 28px rgb(66 86 228 / .30),inset 0 1px rgb(255 255 255 / .35)!important;
  font:700 32px/1 Georgia,"Times New Roman",serif!important;
}
.student-sidebar-brandcopy{display:flex;flex-direction:column;gap:5px;min-width:0}
.student-sidebar-brandcopy strong{color:#fbfcff!important;font-size:18px!important;font-weight:850!important;line-height:1.1;letter-spacing:.13em!important}
.student-sidebar-brandcopy span{color:#acbadb!important;font-size:10px!important;line-height:1.55;letter-spacing:.02em}
.student-sidebar .caption{
  margin:3px 0 4px!important;
  padding:10px 12px 8px!important;
  color:#8292b8!important;
  font-size:9px!important;
  line-height:1.4;
  font-weight:850!important;
  letter-spacing:.20em!important;
}
.student-sidebar .student-caption{margin-top:20px!important}
.student-sidebar .navbtn{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:46px;
  width:100%;
  margin:0 0 3px!important;
  padding:11px 13px!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
  color:#b7c3df!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:12.5px!important;
  font-weight:590;
  line-height:1.35;
  letter-spacing:-.005em;
  transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.student-sidebar .navbtn:before{display:none!important}
.student-sidebar .navbtn>span:first-of-type{flex:1;font-weight:650}
.student-sidebar .navbtn:hover{
  color:#fff!important;
  background:rgb(255 255 255 / .065)!important;
  border-color:rgb(205 217 255 / .10)!important;
  box-shadow:inset 0 1px rgb(255 255 255 / .035)!important;
  transform:translateX(2px);
}
.student-sidebar .navbtn.active{
  color:#fff!important;
  border-color:rgb(255 255 255 / .19)!important;
  background:linear-gradient(105deg,#405fe9 0%,#5268ed 53%,#7957e9 100%)!important;
  box-shadow:0 10px 24px rgb(64 82 226 / .24),inset 0 1px rgb(255 255 255 / .20)!important;
}
.student-sidebar .nav-tag{
  padding:4px 7px!important;
  color:#ece8ff!important;
  background:rgb(255 255 255 / .12)!important;
  border:1px solid rgb(255 255 255 / .18)!important;
  border-radius:8px!important;
  font-size:9px!important;
}
.student-sidebar .navbtn:focus-visible{outline:3px solid #aab8ff!important;outline-offset:2px}
.student-sidebar::-webkit-scrollbar{width:6px}
.student-sidebar::-webkit-scrollbar-thumb{background:rgb(166 183 229 / .25);border-radius:20px}
.app:has(.student-sidebar) .footer{
  margin-top:36px;
  border-top:1px solid rgb(166 183 229 / .16);
  color:#8593b2;
}

/* Premium welcome hero: intentional contrast, quiet ornament, clear CTA. */
.student-dashboard-welcome{
  isolation:isolate;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:clamp(20px,3vw,42px);
  min-height:248px;
  margin:0 0 24px;
  padding:clamp(30px,3.6vw,48px);
  overflow:hidden;
  border:1px solid rgb(255 255 255 / .14)!important;
  border-radius:29px!important;
  color:#f8faff!important;
  background:
    radial-gradient(ellipse at 88% 8%,rgb(133 95 247 / .39),transparent 38%),
    radial-gradient(ellipse at 70% 114%,rgb(60 105 244 / .33),transparent 42%),
    linear-gradient(120deg,#111c35 0%,#17284c 52%,#263c75 100%)!important;
  box-shadow:0 25px 58px rgb(20 34 75 / .17),inset 0 1px rgb(255 255 255 / .13)!important;
}
.student-dashboard-welcome:before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-190px;
  right:clamp(80px,12vw,200px);
  width:390px;
  height:390px;
  border:1px solid rgb(234 239 255 / .14);
  border-radius:50%;
  box-shadow:0 0 0 36px rgb(234 239 255 / .035),0 0 0 76px rgb(234 239 255 / .023),0 0 0 120px rgb(234 239 255 / .015);
  pointer-events:none;
}
.student-dashboard-welcome:after{
  content:"";
  position:absolute;
  z-index:-1;
  left:8%;
  right:8%;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgb(255 255 255 / .23),transparent);
  pointer-events:none;
}
.student-dashboard-welcome .eyebrow{
  color:#b6c3ff!important;
  font-size:10px;
  font-weight:850;
  letter-spacing:.22em;
  margin-bottom:17px;
}
.student-dashboard-welcome .eyebrow:before{
  background:var(--lux-teal)!important;
  box-shadow:0 0 0 4px rgb(108 224 208 / .12),0 0 18px rgb(108 224 208 / .48);
}
.student-dashboard-welcome h2{
  max-width:720px;
  margin:0 0 13px;
  color:#fff!important;
  font-size:clamp(30px,3.4vw,46px);
  line-height:1.08;
  letter-spacing:-.055em;
  font-weight:790;
  text-wrap:balance;
}
.student-dashboard-welcome p{
  max-width:620px;
  margin:0 0 25px;
  color:#c6d0e7!important;
  font-size:14px;
  line-height:1.8;
}
.student-dashboard-welcome .btn,
.student-dashboard-welcome .btn.primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 19px;
  border:1px solid rgb(255 255 255 / .24)!important;
  border-radius:13px!important;
  color:#fff!important;
  background:linear-gradient(105deg,#4d70ff,#805fe9)!important;
  box-shadow:0 11px 25px rgb(3 9 27 / .23),inset 0 1px rgb(255 255 255 / .23)!important;
  font-size:12px;
  font-weight:780;
  text-decoration:none;
}
.student-dashboard-welcome .btn:hover{transform:translateY(-2px);box-shadow:0 15px 30px rgb(3 9 27 / .29),inset 0 1px rgb(255 255 255 / .24)!important}
.student-welcome-mark{
  position:relative;
  flex:0 0 112px;
  width:112px;
  height:112px;
  margin:0 clamp(0px,2vw,22px) 0 0;
  display:grid;
  place-items:center;
  border:1px solid rgb(255 255 255 / .27)!important;
  border-radius:32px!important;
  color:#fff!important;
  background:linear-gradient(145deg,rgb(255 255 255 / .20),rgb(255 255 255 / .055))!important;
  box-shadow:0 22px 44px rgb(3 9 27 / .22),inset 0 1px rgb(255 255 255 / .25)!important;
  backdrop-filter:blur(15px);
  font:500 62px/1 Georgia,"Times New Roman",serif!important;
  animation:lux-mark-float 6s ease-in-out infinite;
}
.student-welcome-mark:after{
  content:"";
  position:absolute;
  inset:-9px;
  border:1px solid rgb(255 255 255 / .13);
  border-radius:39px;
  pointer-events:none;
}

/* Calm luxury statistic cards and compact, tactile module shortcuts. */
.student-dashboard-stats{gap:18px!important;margin:0 0 40px!important}
.student-dashboard-stats .student-stat{
  min-width:0;
  min-height:154px;
  padding:27px 25px 23px!important;
  gap:11px;
  border:1px solid #e2e8f4!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,#fff 0%,#fff 68%,#f5f6ff 100%)!important;
  box-shadow:0 10px 27px rgb(31 47 87 / .045)!important;
}
.student-dashboard-stats .student-stat:before{
  left:24px;
  right:auto;
  top:22px;
  width:34px;
  height:4px;
  border-radius:10px;
  background:linear-gradient(90deg,var(--lux-blue),var(--lux-violet))!important;
}
.student-dashboard-stats .student-stat span{margin-top:13px;color:#75819a;font-size:11px;font-weight:700;letter-spacing:.02em}
.student-dashboard-stats .student-stat strong{color:#1d2a48;font-size:clamp(17px,1.55vw,22px);font-weight:780;letter-spacing:-.035em;line-height:1.3}
.student-dashboard-stats .student-stat small{color:#8792a8;font-size:11.5px;line-height:1.65}
.student-dashboard-section{margin-top:10px}
.student-section-title{margin:0 0 20px;align-items:end}
.student-section-title .eyebrow{color:#6f78d9!important;font-size:9px;letter-spacing:.22em;margin-bottom:9px}
.student-section-title h2{margin:0;color:#1c2947!important;font-size:26px;font-weight:790;letter-spacing:-.045em}
.student-section-note{color:#7f8ba4;font-size:12px}
.student-quick-grid{gap:15px!important}
.student-quick-card{
  position:relative;
  min-width:0;
  min-height:100px;
  padding:19px 20px!important;
  gap:14px;
  overflow:hidden;
  border:1px solid #e3e9f4!important;
  border-radius:20px!important;
  background:linear-gradient(140deg,#fff 0%,#fff 70%,#f8f9ff 100%)!important;
  box-shadow:0 8px 22px rgb(31 47 87 / .035)!important;
  text-decoration:none;
}
.student-quick-card:after{
  content:"";
  position:absolute;
  top:20px;
  bottom:20px;
  left:0;
  width:3px;
  border-radius:0 6px 6px 0;
  background:linear-gradient(180deg,var(--lux-blue),var(--lux-violet));
  opacity:.82;
  transition:top .2s,bottom .2s,opacity .2s;
}
.student-quick-card:hover{
  border-color:#d5ddf4!important;
  box-shadow:0 17px 36px rgb(31 47 87 / .085)!important;
  transform:translateY(-3px);
}
.student-quick-card:hover:after{top:14px;bottom:14px;opacity:1}
.student-quick-card .quick-icon{
  flex:0 0 46px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid color-mix(in srgb,var(--lux-blue) 15%,white)!important;
  border-radius:15px!important;
  color:#5268e8!important;
  background:linear-gradient(145deg,#f1f4ff,#f8f6ff)!important;
  box-shadow:inset 0 1px #fff!important;
  font-size:20px;
}
.student-quick-card .quick-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.student-quick-card .quick-copy strong{color:#202d4b!important;font-size:12.5px;font-weight:780;line-height:1.45}
.student-quick-card .quick-copy small{color:#808ca4!important;font-size:10.5px;line-height:1.6}
.student-quick-card .quick-arrow{color:#9ca8bd;font-size:15px;transition:transform .18s,color .18s}
.student-quick-card:hover .quick-arrow{color:#596ce9;transform:translate(2px,-2px)}

/* Shared modules: refined headers, white space, and approachable empty states. */
.student-module-view{width:100%;max-width:1500px;margin:0 auto;padding:clamp(24px,3.4vw,48px)!important}
.student-module-heading{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:174px;
  margin-bottom:30px!important;
  padding:clamp(28px,3.3vw,40px)!important;
  border:1px solid #e3e8f4!important;
  border-radius:26px!important;
  background:
    radial-gradient(ellipse at 100% 0%,rgb(88 105 240 / .12),transparent 38%),
    linear-gradient(120deg,#fff 0%,#fff 61%,#f1f3ff 100%)!important;
  box-shadow:0 15px 37px rgb(31 47 87 / .055)!important;
}
.student-module-heading:after{
  content:"";
  position:absolute;
  z-index:-1;
  top:-125px;
  right:70px;
  width:250px;
  height:250px;
  border:1px solid rgb(80 105 231 / .12);
  border-radius:50%;
  box-shadow:0 0 0 32px rgb(80 105 231 / .026),0 0 0 66px rgb(124 92 232 / .023);
  pointer-events:none;
}
.student-module-heading .eyebrow{color:#6777de!important;letter-spacing:.2em;font-size:9px}
.student-module-heading h1{margin:0 0 10px;color:#172441!important;font-size:clamp(31px,3.2vw,44px);font-weight:800;letter-spacing:-.06em;line-height:1.08;text-wrap:balance}
.student-module-heading p{max-width:660px;margin:0;color:#78859e!important;font-size:13px;line-height:1.8}
.student-module-icon{
  position:relative;
  z-index:1;
  flex:0 0 70px;
  width:70px;
  height:70px;
  border:1px solid color-mix(in srgb,var(--lux-blue) 15%,white)!important;
  border-radius:22px!important;
  color:#5368e9!important;
  background:linear-gradient(145deg,#fff,#eef2ff)!important;
  box-shadow:0 14px 27px rgb(65 86 181 / .12),inset 0 1px #fff!important;
  font-size:28px;
}
.student-summary-grid{gap:18px!important;margin-bottom:24px!important}
.student-module-view .student-stat,
.student-module-view .student-panel,
.student-module-view .student-resource-card,
.student-module-view .student-support-card,
.student-module-view .student-empty{
  border-color:#e2e8f3!important;
  box-shadow:0 10px 28px rgb(31 47 87 / .045)!important;
}
.student-module-view .student-stat,
.student-module-view .student-panel,
.student-module-view .student-resource-card,
.student-module-view .student-support-card{
  border-radius:21px!important;
  background:linear-gradient(150deg,#fff 0%,#fff 72%,#fafaff 100%)!important;
}
.student-module-view .student-panel{padding:clamp(21px,2.4vw,30px)!important}
.student-module-view .student-panel-top{margin-bottom:22px}
.student-module-view .student-panel-top h2,
.student-module-view .student-resource-card h2,
.student-module-view .student-support-card h2{color:#1c2947!important;letter-spacing:-.04em;font-weight:780}
.student-module-view .student-chip{border-radius:9px;color:#5368e9;background:#f2f4ff;border-color:#e1e6ff;font-size:10px;letter-spacing:.015em}
.student-module-view .student-empty{
  min-height:250px;
  border-style:solid!important;
  border-radius:20px!important;
  background:radial-gradient(ellipse at 50% 0%,rgb(78 104 244 / .055),transparent 58%),#fff!important;
}
.student-module-view .empty-mark{border:1px solid #e1e7ff;border-radius:16px;background:linear-gradient(145deg,#f1f4ff,#f9f6ff);color:#6473eb}
.student-module-view .student-empty h2{color:#202d4b;font-size:19px;font-weight:780}
.student-module-view .student-empty p{color:#7c89a1;line-height:1.8}
.student-module-view .student-resource-grid,
.student-module-view .student-support-grid{gap:16px}
.student-module-view .student-resource-card,
.student-module-view .student-support-card{padding:23px!important}
.student-module-view .student-resource-card h2,
.student-module-view .student-support-card h2{font-size:17px}
.student-module-view .student-resource-card p,
.student-module-view .student-support-card p{color:#78859d;line-height:1.75}
.student-module-view .student-resource-card .btn,
.student-module-view .student-support-card .btn,
.student-module-view .student-empty .btn,
.student-module-view .btn.primary{
  min-height:43px;
  border-radius:12px!important;
  color:#fff!important;
  background:linear-gradient(105deg,#4d6cf1,#7859e9)!important;
  border:1px solid transparent!important;
  box-shadow:0 8px 18px rgb(78 101 235 / .17)!important;
  font-weight:750;
}
.student-module-view .btn.primary:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgb(78 101 235 / .23)!important}
.student-module-view input:focus-visible,
.student-module-view select:focus-visible,
.student-module-view textarea:focus-visible{outline:0;border-color:#8192ff;box-shadow:0 0 0 4px rgb(78 104 244 / .12)}
.student-module-view .student-profile-status{color:#6f7e99;background:#f8f9ff;border-color:#e4e9f4;border-radius:14px}
.student-module-view .student-inline-link a{color:#4c66e7}

/* Checkout page: refined, editorial layout with a high-contrast order summary. */
body.checkout-page{
  min-height:100vh;
  color:#1c2946;
  background:
    radial-gradient(ellipse at 94% 0%,rgb(96 112 246 / .10),transparent 35rem),
    radial-gradient(ellipse at 8% 35%,rgb(124 92 232 / .045),transparent 34rem),
    linear-gradient(180deg,#f8f9fe 0%,#f1f4fa 100%)!important;
}
.checkout-page .topbar{
  position:sticky;
  top:0;
  min-height:76px;
  padding:13px clamp(18px,4vw,54px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgb(15 25 48 / .96)!important;
  border-bottom:1px solid rgb(255 255 255 / .13)!important;
  box-shadow:0 8px 28px rgb(13 23 47 / .13)!important;
  backdrop-filter:blur(18px);
}
.checkout-page .topbar .brand{
  color:#fbfcff!important;
  font-size:17px;
  font-weight:850;
  letter-spacing:.13em;
  text-decoration:none;
}
.checkout-page .topbar>a:last-child{
  color:#e7ecff!important;
  border:1px solid rgb(255 255 255 / .18)!important;
  border-radius:12px!important;
  background:rgb(255 255 255 / .075)!important;
  padding:10px 14px!important;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}
.checkout-page .topbar>a:last-child:hover{background:rgb(255 255 255 / .13)!important}
.checkout-page main{max-width:1240px;margin:0 auto;padding:clamp(32px,4.5vw,62px) clamp(18px,3.4vw,40px) 76px}
.checkout-page main>.eyebrow{margin-bottom:12px;color:#6677e4!important;font-size:10px;font-weight:850;letter-spacing:.22em}
.checkout-page main>h1{max-width:800px;margin:0;color:#162341!important;font-size:clamp(35px,4.3vw,54px);font-weight:820;letter-spacing:-.065em;line-height:1.04;text-wrap:balance}
.checkout-page .steps{gap:10px;margin:27px 0 29px}
.checkout-page .steps span{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:10px 14px;
  color:#677691!important;
  border:1px solid #e1e7f3!important;
  border-radius:12px!important;
  background:rgb(255 255 255 / .78)!important;
  box-shadow:0 4px 12px rgb(26 43 84 / .025);
  font-size:11px;
  font-weight:650;
}
.checkout-page .checkout-grid{gap:25px;align-items:stretch}
.checkout-page .checkout-grid>.panel{
  min-width:0;
  padding:clamp(24px,3vw,36px)!important;
  margin:0;
  border:1px solid #e1e7f3!important;
  border-radius:25px!important;
  background:linear-gradient(150deg,#fff 0%,#fff 76%,#f9faff 100%)!important;
  box-shadow:0 15px 38px rgb(25 42 82 / .055)!important;
}
.checkout-page .checkout-grid>.panel:first-child h2{
  margin:0 0 13px;
  color:#1a2746!important;
  font-size:clamp(24px,2.5vw,30px);
  font-weight:800;
  letter-spacing:-.045em;
}
.checkout-page .checkout-grid>.panel:first-child>p:first-of-type{color:#7a87a0;font-size:14px}
.checkout-page .checkout-grid>.panel:first-child ul{padding-left:22px;margin:24px 0}
.checkout-page .checkout-grid>.panel:first-child li{padding-left:3px;margin:13px 0;color:#43516e;font-size:13px;line-height:1.7}
.checkout-page .checkout-grid>.panel:first-child li::marker{color:#6879e9}
.checkout-page .checkout-grid>.panel:first-child a{color:#4865e8;font-weight:750;text-underline-offset:4px}
.checkout-page .checkout-grid>.panel:last-child{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border:1px solid rgb(255 255 255 / .13)!important;
  background:
    radial-gradient(ellipse at 100% 0%,rgb(126 91 237 / .34),transparent 45%),
    radial-gradient(ellipse at 70% 100%,rgb(63 101 235 / .24),transparent 46%),
    linear-gradient(145deg,#121d36 0%,#17284d 62%,#213768 100%)!important;
  box-shadow:0 24px 52px rgb(20 33 71 / .17),inset 0 1px rgb(255 255 255 / .07)!important;
}
.checkout-page .checkout-grid>.panel:last-child:after{
  content:"";
  position:absolute;
  z-index:-1;
  top:-125px;
  right:-85px;
  width:270px;
  height:270px;
  border:1px solid rgb(255 255 255 / .12);
  border-radius:50%;
  box-shadow:0 0 0 32px rgb(255 255 255 / .025),0 0 0 66px rgb(255 255 255 / .018);
  pointer-events:none;
}
.checkout-page .checkout-grid>.panel:last-child .eyebrow{color:#aabaff!important;font-size:10px;letter-spacing:.21em}
.checkout-page .checkout-grid>.panel:last-child .price-big{
  position:relative;
  margin:17px 0 15px;
  color:#fff!important;
  font-size:clamp(34px,3.4vw,43px)!important;
  font-weight:820!important;
  letter-spacing:-.055em;
  line-height:1.1;
}
.checkout-page .checkout-grid>.panel:last-child p{color:#c1cce5!important;font-size:13px;line-height:1.85}
.checkout-page .checkout-grid>.panel:last-child #status{
  margin:18px 0;
  padding:14px 15px;
  border:1px solid rgb(255 255 255 / .10);
  border-radius:13px;
  color:#cbd5ed!important;
  background:rgb(255 255 255 / .055);
}
.checkout-page .checkout-grid>.panel:last-child #test-mode-banner{
  padding:12px 14px;
  border:1px solid rgb(234 203 136 / .3);
  border-radius:12px;
  color:#f3dfb5!important;
  background:rgb(234 203 136 / .10);
}
.checkout-page .checkout-grid>.panel:last-child .btn,
.checkout-page .checkout-grid>.panel:last-child .btn.primary,
.checkout-page .checkout-grid>.panel:last-child #pay,
.checkout-page .checkout-grid>.panel:last-child #sign-in,
.checkout-page .checkout-grid>.panel:last-child #open-course{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:49px;
  margin:14px 0 10px;
  padding:13px 17px;
  border:1px solid rgb(255 255 255 / .22)!important;
  border-radius:13px!important;
  color:#fff!important;
  background:linear-gradient(105deg,#4d6ff5,#7859e8)!important;
  box-shadow:0 11px 23px rgb(3 10 30 / .21),inset 0 1px rgb(255 255 255 / .18)!important;
  font-size:12px;
  font-weight:780;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
}
.checkout-page .checkout-grid>.panel:last-child #pay:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none!important}
.checkout-page .checkout-grid>.panel:last-child .btn:hover,
.checkout-page .checkout-grid>.panel:last-child #pay:not(:disabled):hover{filter:brightness(1.06);transform:translateY(-1px)}
.checkout-page .checkout-grid>.panel:last-child .small.muted:last-child{color:#aebbd8!important;font-size:11px;line-height:1.8;margin-top:16px}
.checkout-page #syllabus{display:inline-block;margin-top:8px}
@keyframes lux-mark-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media(max-width:1100px){
  .app:has(.student-sidebar){grid-template-columns:238px minmax(0,1fr)}
  .app:has(.student-sidebar) .main{padding:30px 25px}
}
@media(max-width:900px){
  .checkout-page .checkout-grid{grid-template-columns:minmax(0,1fr)}
  .checkout-page .checkout-grid>.panel:last-child{order:-1}
}
@media(max-width:700px){
  .app:has(.student-sidebar){display:block}
  .app:has(.student-sidebar) .main{padding:22px 16px 34px}
  .student-sidebar{
    position:relative;
    top:auto;
    height:auto;
    min-height:0;
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:7px!important;
    padding:12px 13px!important;
    overflow-x:auto;
    overflow-y:hidden;
    border-right:0!important;
    border-bottom:1px solid rgb(208 219 250 / .13)!important;
    box-shadow:0 8px 22px rgb(21 33 67 / .08)!important;
  }
  .student-sidebar-brand{
    flex:0 0 205px;
    margin:0 8px 0 0!important;
    padding:0 12px 0 0!important;
    border:0!important;
    border-right:1px solid rgb(208 219 250 / .15)!important;
  }
  .student-sidebar-brandmark{flex-basis:42px;width:42px;height:42px;font-size:28px!important}
  .student-sidebar-brandcopy strong{font-size:16px!important}
  .student-sidebar-brandcopy span{font-size:9px!important}
  .student-sidebar .caption{display:none}
  .student-sidebar .navbtn{flex:0 0 auto;width:auto;min-height:40px;margin:0!important;padding:9px 12px!important;white-space:nowrap;font-size:11px!important}
  .student-dashboard-welcome{min-height:0;padding:27px 22px!important;border-radius:22px!important;gap:16px}
  .student-dashboard-welcome h2{font-size:clamp(28px,7vw,36px)}
  .student-dashboard-welcome p{font-size:12.5px;line-height:1.8;margin-bottom:20px}
  .student-welcome-mark{flex-basis:58px;width:58px;height:58px;margin:0;border-radius:18px!important;font-size:33px!important}
  .student-welcome-mark:after{inset:-5px;border-radius:23px}
  .student-dashboard-stats,.student-quick-grid{grid-template-columns:1fr;gap:12px!important}
  .student-dashboard-stats{margin-bottom:30px!important}
  .student-dashboard-stats .student-stat{min-height:126px;padding:21px!important}
  .student-dashboard-stats .student-stat:before{left:21px;top:18px}
  .student-dashboard-stats .student-stat span{margin-top:8px}
  .student-section-title{align-items:flex-start;flex-direction:column;gap:7px}
  .student-section-title h2{font-size:23px}
  .student-quick-card{min-height:84px;padding:15px 16px!important}
  .student-module-view{padding:20px 16px 30px!important}
  .student-module-heading{min-height:140px;padding:22px 20px!important;border-radius:21px!important}
  .student-module-heading h1{font-size:30px}
  .student-module-icon{flex-basis:50px;width:50px;height:50px;border-radius:16px!important;font-size:21px}
  .checkout-page .topbar{min-height:64px;padding:12px 16px}
  .checkout-page .topbar .brand{font-size:15px}
  .checkout-page main{padding:30px 16px 46px}
  .checkout-page main>h1{font-size:37px}
  .checkout-page .steps{gap:7px;margin:22px 0}
  .checkout-page .steps span{min-height:38px;font-size:10px;padding:9px 10px}
  .checkout-page .checkout-grid{gap:15px}
  .checkout-page .checkout-grid>.panel{padding:22px!important;border-radius:20px!important}
}
@media(prefers-reduced-motion:reduce){
  .student-sidebar .navbtn,.student-dashboard-welcome .btn,.student-quick-card,.student-quick-card:after,.student-welcome-mark{transition:none!important;animation:none!important}
}

/* Student profile integration */
.student-profile-form{margin-top:1.25rem}
.student-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.student-profile-grid label{display:flex;flex-direction:column;gap:.45rem;color:var(--text,#172033);font-size:.88rem;font-weight:600;min-width:0}
.student-profile-grid input,.student-profile-grid select,.student-profile-grid textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--line,#dce2ec);border-radius:.75rem;background:var(--surface,#fff);color:inherit;padding:.8rem .9rem;font:inherit;font-weight:400}
.student-profile-grid input:focus,.student-profile-grid select:focus,.student-profile-grid textarea:focus{outline:2px solid var(--primary,#3267f6);outline-offset:1px}
.student-profile-grid input:disabled{background:var(--muted-surface,#f5f7fa);color:var(--muted,#657084)}
.student-profile-grid .profile-address{grid-column:1/-1}
.student-profile-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1.25rem}
#profile-save-status{font-size:.9rem}
@media(max-width:640px){.student-profile-grid{grid-template-columns:minmax(0,1fr)}.student-profile-grid .profile-address{grid-column:auto}.student-profile-actions .btn{width:100%}}

/* Private student documents */
.student-document-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
.student-document-form label{display:flex;flex-direction:column;gap:.45rem;font-size:.88rem;font-weight:600;min-width:0}
.student-document-form input,.student-document-form select{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--line,#dce2ec);border-radius:.75rem;background:var(--surface,#fff);color:inherit;padding:.8rem .9rem;font:inherit;font-weight:400}
.student-document-form input[type=file]{font-size:.8rem}
.student-document-form button,.student-document-form #document-upload-status{grid-column:1/-1}
.student-document-form #document-upload-status{margin:0;font-size:.9rem}
.student-documents-list{display:grid;gap:.75rem}
.student-document-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;border:1px solid var(--line,#e2e8f0);border-radius:1rem;padding:1rem;background:var(--surface,#fff)}
.student-document-details{display:grid;gap:.3rem;min-width:0}
.student-document-details strong{overflow-wrap:anywhere}
.student-document-details span{font-size:.86rem;color:var(--muted,#64748b)}
.student-document-status{display:inline-flex;width:max-content;border-radius:999px;padding:.2rem .6rem;background:var(--muted-surface,#f1f5f9);text-transform:capitalize}
.student-document-note{flex-basis:100%;margin:0;font-size:.9rem;color:var(--muted,#64748b)}
@media(max-width:640px){.student-document-form{grid-template-columns:minmax(0,1fr)}.student-document-form button,.student-document-form #document-upload-status{grid-column:auto}.student-document-row .btn{width:100%;text-align:center}}

/* Student institute records */
.student-records-list{display:grid;gap:.85rem}
.student-record-card{display:grid;gap:.8rem;border:1px solid var(--line,#e2e8f0);border-radius:1rem;padding:1rem;background:var(--surface,#fff);min-width:0}
.student-record-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.student-record-heading strong{font-size:1rem;overflow-wrap:anywhere}
.student-record-status{display:inline-flex;width:max-content;border-radius:999px;padding:.25rem .65rem;background:var(--muted-surface,#f1f5f9);color:var(--muted,#475569);font-size:.78rem;text-transform:capitalize}
.student-record-meta{margin:0;color:var(--muted,#64748b);font-size:.9rem;line-height:1.6;overflow-wrap:anywhere}
.student-record-empty{margin:0;padding:1.2rem;border:1px dashed var(--line,#cbd5e1);border-radius:1rem;color:var(--muted,#64748b);line-height:1.6}
.student-assignment-submit{display:grid;gap:.75rem}
.student-assignment-submit textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--line,#dce2ec);border-radius:.75rem;background:var(--surface,#fff);color:inherit;padding:.8rem .9rem;font:inherit;resize:vertical}
.student-assignment-controls{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.student-assignment-controls span{font-size:.85rem;color:var(--muted,#64748b)}
@media(max-width:640px){.student-assignment-controls{align-items:stretch;flex-direction:column}.student-assignment-controls .btn{width:100%}}
