/* Unified EduNizam navy / electric-blue / frosted-glass visual layer. CSS only. */
:root{color-scheme:dark;--en-text:#eff8ff;--en-muted:#c0d8ec;--en-edge:rgba(91,190,255,.5)}
html{background:#020817!important}
body:not(.page-app):not(.auth-page):not(.page-home){color:var(--en-text)!important;background:radial-gradient(ellipse at 12% 4%,rgba(0,135,255,.27),transparent 36rem),radial-gradient(ellipse at 92% 28%,rgba(0,190,255,.16),transparent 34rem),linear-gradient(145deg,#020817,#061d40 52%,#020b1d)!important;background-attachment:fixed!important}
body:not(.page-app):not(.auth-page):not(.page-home) :is(header,.topbar,.public-nav,.navbar,.site-header,nav){color:var(--en-text)!important;background:rgba(3,19,43,.9)!important;border:1px solid var(--en-edge)!important;border-radius:18px!important;box-shadow:0 10px 32px #0006,0 0 24px #0084ff24!important;backdrop-filter:blur(20px) saturate(150%)!important}
body:not(.page-app):not(.auth-page):not(.page-home) :is(main,.shell,.container,.page-wrap,.content,.hero,.hero-grid,.public-main,.section,.section-wrap){color:var(--en-text)!important;background:transparent!important}
body:not(.page-app):not(.auth-page):not(.page-home) :is(.card,.panel,.feature-card,.resource-card,.app,.callout,.payment-box,.school-picker,.form-card,.content-card,.guide-card,.info-card,.section-card,.result,.result-card,.resource,.tile){color:var(--en-text)!important;background:linear-gradient(145deg,rgba(12,58,105,.86),rgba(3,19,44,.92))!important;border:1px solid var(--en-edge)!important;border-radius:18px!important;box-shadow:0 14px 36px #0004,0 0 22px #0082ff22,inset 0 1px #ffffff1a!important;backdrop-filter:blur(18px) saturate(145%)!important}
body:not(.page-app):not(.auth-page):not(.page-home) :is(h1,h2,h3,h4,h5,strong,b,.title,.brand,.kicker,.eyebrow,.section-title){color:#f2f9ff!important;-webkit-text-fill-color:#f2f9ff!important}
body:not(.page-app):not(.auth-page):not(.page-home) a{color:#8ed8ff}
body:not(.page-app):not(.auth-page):not(.page-home) :is(button,.btn,.button,.primary,.public-cta,[type=submit]){color:#fff!important;background:linear-gradient(115deg,#087fe8,#0755b3 58%,#08a8ef)!important;border:1px solid #74d3ffb8!important;border-radius:12px!important;box-shadow:0 6px 20px #0077eb3d,inset 0 1px #ffffff29!important}
body:not(.page-app):not(.auth-page):not(.page-home) :is(.secondary,.secondary-link,.public-cta-secondary){color:#eff8ff!important;background:#2a70af47!important;border:1px solid #70c5ff85!important}
body:not(.page-app):not(.auth-page):not(.page-home) :is(input,select,textarea){color:#f1f9ff!important;background:#021027d1!important;border:1px solid #5ebeff9e!important;border-radius:11px!important}
body:not(.page-app):not(.auth-page):not(.page-home) :is(input,select,textarea)::placeholder{color:#9dbbd6!important}
body:not(.page-app):not(.auth-page):not(.page-home) :is(img,video,iframe){max-width:100%}
body:not(.page-app):not(.auth-page):not(.page-home) :is(.public-footer,footer){color:#c5ddf2!important;background:#020e22ba!important;border-top:1px solid var(--en-edge)!important}
body:not(.page-app):not(.auth-page):not(.page-home) :focus-visible{outline:3px solid #42c7ff!important;outline-offset:3px!important}
@media(max-width:760px){body:not(.page-app):not(.auth-page):not(.page-home){background-attachment:scroll!important}body:not(.page-app):not(.auth-page):not(.page-home) :is(.shell,.container,.page-wrap){width:min(calc(100% - 22px),100%)!important}body:not(.page-app):not(.auth-page):not(.page-home) :is(.card,.panel,.feature-card,.resource-card){border-radius:16px!important}body:not(.page-app):not(.auth-page):not(.page-home) :is(.public-nav,.topbar,.navbar){padding:10px!important}body:not(.page-app):not(.auth-page):not(.page-home) :is(.public-links,.top-actions,.nav-links){display:flex!important;flex-wrap:wrap!important}}
@media(prefers-reduced-motion:no-preference){body.en-appearance-ready:not(.page-app):not(.auth-page):not(.page-home) :is(.card,.panel,.feature-card){transition:transform .2s ease,box-shadow .2s ease}body.en-appearance-ready:not(.page-app):not(.auth-page):not(.page-home) :is(.card,.panel,.hero-card,.public-card,.feature-card):hover{box-shadow:0 18px 42px #0005,0 0 26px #0099ff33!important}}

/* Core-screen finish: deliberately scoped so the three primary routes receive the same navy/electric-blue glass identity. */
body.page-home,body.auth-page,body.page-app{color:#eff8ff!important;background:radial-gradient(ellipse at 12% 4%,rgba(0,135,255,.30),transparent 36rem),radial-gradient(ellipse at 92% 28%,rgba(0,190,255,.18),transparent 34rem),linear-gradient(145deg,#020817,#061d40 52%,#020b1d)!important;background-attachment:fixed!important}
body.page-home :is(.public-nav,.quick-access-card,.experience-strip,.public-card,.feature-card,.section-card,.feedback-card,.public-footer),body.auth-page .card,body.auth-page .role,body.auth-page .role-guidance,body.auth-page .school-picker,body.auth-page .school-search-result,body.app-page :is(.sidebar,.topbar,.app-topbar,.dashboard-card,.metric-card,.panel,.card,.content-card,.workspace-card,.nav-group){color:#eff8ff!important;background:linear-gradient(145deg,rgba(12,58,105,.88),rgba(3,19,44,.94))!important;border:1px solid rgba(91,190,255,.48)!important;box-shadow:0 14px 36px #0005,0 0 24px #0082ff28,inset 0 1px #ffffff1b!important;backdrop-filter:blur(20px) saturate(150%)!important;border-radius:18px!important}
body.page-home :is(h1,h2,h3,h4,p,.public-kicker,.public-proof,.hero-text-link,.brand-name,.brand-copy small),body.auth-page :is(h1,h2,h3,h4,p,label,.subtitle,.eyebrow,.role strong,.role small,.help,.brand-copy),body.app-page :is(h1,h2,h3,h4,h5,p,label,.sidebar-institute,.sidebar-wordmark,.nav-item,.nav-group summary,.topbar *){color:#eff8ff!important;-webkit-text-fill-color:#eff8ff}
body.page-home .hero-gold,body.page-home .brand-gold{color:#7bd5ff!important;-webkit-text-fill-color:#7bd5ff!important}
body.page-home :is(a,.public-cta,.quick-actions a),body.auth-page :is(button,.primary,.tab.active),body.app-page :is(button,.btn,.nav-item.active,[role=button]){color:#fff!important}
body.page-home :is(.public-cta,.quick-main),body.auth-page :is(.primary,.tab.active),body.app-page :is(.btn-primary,.primary,.nav-item.active){background:linear-gradient(115deg,#087fe8,#0755b3 58%,#08a8ef)!important;border:1px solid #74d3ffb8!important;box-shadow:0 6px 22px #0077eb4a,inset 0 1px #ffffff2b!important}
body.auth-page .story{background-image:linear-gradient(145deg,rgba(2,8,23,.78),rgba(3,35,75,.62)),url("https://images.pexels.com/photos/36159720/pexels-photo-36159720.jpeg?auto=compress&cs=tinysrgb&w=1400")!important}
body.auth-page .story h1,body.auth-page .brand-title .nizam,body.auth-page .brand-copy>span,body.auth-page .eyebrow{color:#8ed8ff!important;-webkit-text-fill-color:#8ed8ff!important}
body.auth-page .main{background:transparent!important}
body.auth-page .card{border-radius:24px!important}
body.auth-page :is(input,select,textarea){color:#eff8ff!important;background:#021027!important;border:1px solid #5ebeff9e!important}
body.auth-page :is(input,select,textarea)::placeholder{color:#9dbbd6!important}
body.auth-page .role{background:linear-gradient(145deg,rgba(10,48,88,.94),rgba(3,19,44,.96))!important}
body.auth-page .role-guidance{color:#d7eaff!important}
body.app-page .app-shell{background:transparent!important}
body.app-page :is(.sidebar,.topbar,.app-topbar){background:rgba(3,19,43,.94)!important}
body.app-page :is(.metric-card,.dashboard-card,.panel,.card,.content-card){background:linear-gradient(145deg,rgba(12,58,105,.88),rgba(3,19,44,.96))!important}
body.app-page :is(input,select,textarea){color:#eff8ff!important;background:#021027!important;border-color:#5ebeff9e!important}
@media(max-width:820px){body.auth-page .card{background:linear-gradient(145deg,rgba(12,48,86,.97),rgba(3,19,44,.98))!important}body.page-home .public-nav{background:rgba(3,19,43,.96)!important}body.app-page .sidebar{background:rgba(3,19,43,.98)!important}}



/* FINAL VISUAL COHESION PASS — shared surfaces across public, learning, auth and workspace routes.
   Deliberately presentation-only: no layout structure, navigation, data or interactions changed. */
:root{
  --en-night:#020b1d;
  --en-deep:#061b3b;
  --en-blue:#087fe8;
  --en-electric:#37c5ff;
  --en-ice:#eaf6ff;
  --en-copy:#c5dcef;
  --en-glass:linear-gradient(145deg,rgba(13,62,112,.78),rgba(3,19,45,.88));
  --en-glass-strong:linear-gradient(145deg,rgba(10,48,91,.94),rgba(2,13,32,.96));
  --en-stroke:rgba(111,202,255,.42);
  --en-halo:0 0 26px rgba(0,145,255,.17);
  --en-depth:0 18px 44px rgba(0,5,22,.34),inset 0 1px rgba(255,255,255,.12);
}
html{background:var(--en-night)!important}
body.page-home,body.auth-page,body.page-app,body.learning-sky,body.premium-public-page{
  color:var(--en-ice)!important;
  background:
    radial-gradient(ellipse at 10% 0%,rgba(0,151,255,.25),transparent 34rem),
    radial-gradient(ellipse at 94% 18%,rgba(0,104,255,.18),transparent 38rem),
    linear-gradient(145deg,#020817 0%,#06234a 52%,#020b1d 100%)!important;
  background-attachment:fixed!important;
}
body.page-home :is(.public-nav,.public-hero,.premium-public-hero,.hero-copy,.quick-access-card,.experience-strip,.role-showcase,.value-section,.learning-band,.public-card,.feature-card,.resource-card,.home-section-card,.feedback-card),
body.premium-public-page :is(.public-nav,.public-hero,.public-card,.feature-card,.resource-card,.home-section-card,.prose,.public-note,.public-section),
body.learning-sky :is(.topbar,.hero-card,.quick-card,.card,.stat,.section-head,.tabs,.resource-card,.panel),
body.auth-page :is(.card,.role,.role-guidance,.school-picker,.school-search-result),
body.page-app :is(.sidebar,.topbar,.campus-hero,.campus-visual,.card,.panel,.section-head,.modal-content,.workspace-card,.content-card){
  color:var(--en-ice)!important;
  border:1px solid var(--en-stroke)!important;
  background:var(--en-glass)!important;
  box-shadow:var(--en-depth),var(--en-halo)!important;
  -webkit-backdrop-filter:blur(20px) saturate(145%)!important;
  backdrop-filter:blur(20px) saturate(145%)!important;
}
body.page-home :is(h1,h2,h3,h4,.public-kicker,.hero-gold,.brand-name),
body.premium-public-page :is(h1,h2,h3,h4,.public-kicker),
body.learning-sky :is(h1,h2,h3,h4,.kicker,.section-head),
body.auth-page :is(h1,h2,h3,h4,.eyebrow,.brand-title),
body.page-app :is(h1,h2,h3,h4,.academic-kicker,.topbar-title){
  color:#f3faff!important;-webkit-text-fill-color:#f3faff!important;
  text-shadow:0 0 18px rgba(93,194,255,.16)!important;
}
body.page-home :is(p,li,small,.hero-copy,.public-proof),
body.premium-public-page :is(p,li,small),
body.learning-sky :is(p,li,small,.muted),
body.auth-page :is(p,small,.subtitle,.help,.role-guidance),
body.page-app :is(p,small,.muted,.academic-pill,.campus-label){
  color:var(--en-copy)!important;
}
body.page-home :is(.public-cta,.quick-main,.nav-primary,.btn-primary),
body.premium-public-page :is(.public-cta,.nav-primary,.btn-primary),
body.auth-page :is(.primary,.tab.active),
body.learning-sky :is(.primary,.btn-primary),
body.page-app :is(.btn-primary,.primary,.campus-hero-actions .primary){
  color:#fff!important;
  background:linear-gradient(115deg,#087fe8 0%,#0755b5 58%,#08a9ef 100%)!important;
  border:1px solid rgba(150,224,255,.78)!important;
  box-shadow:0 8px 24px rgba(0,111,230,.3),inset 0 1px rgba(255,255,255,.22)!important;
}
body.page-home :is(a,.public-links a),
body.premium-public-page :is(a,.public-links a),
body.learning-sky a,
body.page-app a:not(.nav-item){text-underline-offset:3px}
body.page-app .sidebar{background:linear-gradient(180deg,rgba(3,20,48,.98),rgba(2,11,29,.98))!important}
body.page-app .sidebar :is(.nav-group,details.nav-group){background:rgba(16,70,121,.26)!important;border-color:rgba(119,200,255,.22)!important}
body.page-app .sidebar .nav-item:is(:hover,:focus-visible,.active),
body.page-app .sidebar .nav-group[open]>summary{
  color:#fff!important;background:linear-gradient(110deg,rgba(0,143,255,.48),rgba(15,76,148,.56))!important;
  border-color:rgba(115,213,255,.68)!important;box-shadow:0 0 18px rgba(0,144,255,.2)!important;
}
body.page-home :is(.public-nav,.home-nav,.site-header,header),
body.premium-public-page :is(.public-nav,.site-header,header){
  border-color:var(--en-stroke)!important;background:rgba(2,15,36,.84)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.24),var(--en-halo)!important;
  -webkit-backdrop-filter:blur(20px) saturate(150%)!important;backdrop-filter:blur(20px) saturate(150%)!important;
}
body.auth-page :is(input,select,textarea),
body.learning-sky :is(input,select,textarea),
body.page-app :is(input,select,textarea){
  color:#f0f8ff!important;background:rgba(2,17,40,.88)!important;
  border:1px solid rgba(91,190,255,.62)!important;border-radius:12px!important;
}
body.auth-page :is(input,select,textarea)::placeholder,
body.learning-sky :is(input,select,textarea)::placeholder,
body.page-app :is(input,select,textarea)::placeholder{color:#a7c5df!important}
:is(body.page-home,body.auth-page,body.page-app,body.learning-sky,body.premium-public-page) :is(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:3px solid var(--en-electric)!important;outline-offset:3px!important;
}
@media(max-width:760px){
  body.page-home,body.auth-page,body.page-app,body.learning-sky,body.premium-public-page{background-attachment:scroll!important}
  body.page-home :is(.public-card,.feature-card,.resource-card,.home-section-card),
  body.premium-public-page :is(.public-card,.feature-card,.resource-card,.home-section-card),
  body.learning-sky :is(.card,.panel,.resource-card),
  body.page-app :is(.card,.panel,.campus-hero){border-radius:16px!important}
}
@media(prefers-reduced-motion:reduce){
  body.page-home *,body.auth-page *,body.page-app *,body.learning-sky *,body.premium-public-page *{
    scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;
  }
}
