/* EduNizam shared blue-glass palette — applied to all routes using brand-refresh.css. */
:root{
  --en-site-blue-950:#08233f;
  --en-site-blue-900:#0d355c;
  --en-site-blue-800:#145184;
  --en-site-blue-700:#1769aa;
  --en-site-blue-600:#2385d1;
  --en-site-sky-400:#69bdf4;
  --en-site-sky-200:#b9e2ff;
  --en-site-glass-line:rgba(55,139,202,.26);
  --en-site-glass-shadow:0 12px 32px rgba(17,75,119,.10),inset 0 1px 0 rgba(255,255,255,.82);
}
body:not(.page-app):not(.page-home){
  color:#17324d!important;
  background:radial-gradient(ellipse at 8% 0%,rgba(93,180,239,.16),transparent 34rem),radial-gradient(ellipse at 96% 12%,rgba(35,133,209,.10),transparent 38rem),linear-gradient(145deg,#f7fbff 0%,#edf6fd 54%,#f8fbff 100%)!important;
  background-attachment:fixed!important;
}
body:not(.page-app):not(.page-home) :is(h1,h2,h3,h4,h5,h6,.section-title,.page-title){color:#0d355c!important}
body:not(.page-app):not(.page-home) :is(p,li,label,small,.muted,.text-muted){color:#49657d}
body:not(.page-app):not(.page-home) :is(header,nav,.topbar,.public-nav,.navbar,.site-header,.hero-card,.public-hero,.hero-copy,.quick-card,.public-card,.feature-card,.resource-card,.home-section-card,.card,.panel,.section-card,.content-card,.form-card,.auth-card,.login-card,.admission-card,.modal-content){
  border-color:var(--en-site-glass-line)!important;
}
body:not(.page-app):not(.page-home) :is(.public-nav,.navbar,.site-header,.topbar,.hero-card,.public-hero,.hero-copy,.quick-card,.public-card,.feature-card,.resource-card,.home-section-card,.card,.panel,.section-card,.content-card,.form-card,.auth-card,.login-card,.admission-card,.modal-content){
  background:linear-gradient(145deg,rgba(255,255,255,.90),rgba(231,243,253,.78))!important;
  box-shadow:var(--en-site-glass-shadow)!important;
  -webkit-backdrop-filter:blur(16px) saturate(125%)!important;
  backdrop-filter:blur(16px) saturate(125%)!important;
}
body:not(.page-app):not(.page-home) :is(.public-brand,.brand,.logo,.public-links a,a:not([class*="btn"]):not([class*="button"])){color:#1769aa}
body:not(.page-app):not(.page-home) :is(.public-cta,.btn-primary,.button-primary,.primary,button.primary,[type="submit"],.nav-primary){
  color:#fff!important;
  background:linear-gradient(120deg,#145f9c,#2385d1 58%,#69bdf4)!important;
  border-color:rgba(255,255,255,.66)!important;
  box-shadow:0 8px 22px rgba(23,105,170,.22),inset 0 1px 0 rgba(255,255,255,.22)!important;
}
body:not(.page-app):not(.page-home) :is(.public-cta-secondary,.btn:not(.primary):not(.btn-primary),.button:not(.primary):not(.button-primary),.secondary-link,.tab){
  border-color:rgba(35,133,209,.24)!important;color:#145f9c!important;background:rgba(255,255,255,.78)!important;
}
body:not(.page-app):not(.page-home) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  color:#173b59!important;background:rgba(255,255,255,.94)!important;border-color:rgba(35,133,209,.36)!important;
}
body:not(.page-app):not(.page-home) :is(input,select,textarea):focus{
  border-color:#2385d1!important;outline:0!important;box-shadow:0 0 0 4px rgba(105,189,244,.22)!important;
}
body:not(.page-app):not(.page-home) :is(table,thead,tbody,tr,th,td){border-color:rgba(35,113,174,.18)!important}
body:not(.page-app):not(.page-home) :is(th,thead){color:#123f63!important;background:rgba(220,239,253,.78)!important}
body:not(.page-app):not(.page-home) :is(.badge,.pill,.tag,.status-chip){border-color:rgba(35,133,209,.22)!important}
body:not(.page-app):not(.page-home) :is(a,button,input,select,textarea):focus-visible{outline:3px solid rgba(35,133,209,.55)!important;outline-offset:2px!important}
body.page-app{--en-site-glass-line:rgba(115,192,246,.34)}
body.page-app .view.active :is(.card,.panel,.dashboard-panel,.request-panel,.section-head,.modal-content){border-color:rgba(115,192,246,.34)!important}
@media(prefers-reduced-motion:reduce){body:not(.page-app):not(.page-home) *{scroll-behavior:auto!important;transition-duration:0s!important}}


/* Phase 46 — homepage blue-glass finish.
   Loaded after the page-specific theme so green/teal legacy controls cannot win. */
body.gold-home.page-home .public-nav,
body.gold-home.page-home .quick-access-card,
body.gold-home.page-home .experience-strip,
body.gold-home.page-home .public-card,
body.gold-home.page-home .role-demo,
body.gold-home.page-home .learning-band,
body.gold-home.page-home .edu-feedback-form{
  background:linear-gradient(145deg,rgba(238,247,255,.94),rgba(210,231,250,.88))!important;
  border:1px solid rgba(77,157,218,.38)!important;
  box-shadow:0 14px 34px rgba(5,49,94,.14),inset 0 1px 0 rgba(255,255,255,.9)!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
}
body.gold-home.page-home .public-nav :is(a,.brand-name,small){color:#103b63!important}
body.gold-home.page-home .public-nav .nav-primary,
body.gold-home.page-home .hero-actions .public-cta:not(.public-cta-secondary),
body.gold-home.page-home .quick-actions .quick-main,
body.gold-home.page-home .learning-links .public-cta,
body.gold-home.page-home #edu-feedback-submit{
  color:#fff!important;
  background:linear-gradient(120deg,#087fe0,#0753b5)!important;
  border:1px solid rgba(157,218,255,.82)!important;
  box-shadow:0 8px 22px rgba(4,73,145,.22),inset 0 1px 0 rgba(255,255,255,.24)!important;
}
body.gold-home.page-home .hero-actions .public-cta-secondary,
body.gold-home.page-home .quick-actions a:not(.quick-main),
body.gold-home.page-home .quick-actions button{
  color:#104b79!important;
  background:rgba(242,249,255,.88)!important;
  border:1px solid rgba(83,159,216,.42)!important;
}
body.gold-home.page-home .public-proof span,
body.gold-home.page-home .quick-dot,
body.gold-home.page-home .feature-icon{
  border-color:rgba(68,148,210,.38)!important;
}


/* Phase 47 — keep homepage on its own dark blue glass system.
   The generic public-page light panels were overriding the homepage's approved
   dark glass layer and restoring green/mint controls in the rendered screenshot. */
body.gold-home.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,.resource-card,.role-demo,.role-preview,.preview-window,.edu-feedback-form){
  color:#f3f8ff!important;
  background:linear-gradient(145deg,rgba(18,83,151,.88),rgba(5,30,75,.90))!important;
  border:1px solid rgba(151,211,255,.52)!important;
  box-shadow:0 16px 40px rgba(0,9,35,.30),inset 0 1px 0 rgba(255,255,255,.20)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
}
body.gold-home.page-home .public-nav :is(a,small,.brand-name,.brand-copy),
body.gold-home.page-home .public-section :is(h1,h2,h3,h4,p,small,strong,span),
body.gold-home.page-home .quick-access-card :is(h2,h3,p,strong,small,span),
body.gold-home.page-home .experience-strip :is(strong,small),
body.gold-home.page-home .public-footer :is(a,span,small,strong){
  color:#f3f8ff!important;
  -webkit-text-fill-color:#f3f8ff!important;
}
body.gold-home.page-home :is(.public-links .nav-primary,.hero-actions .public-cta:not(.public-cta-secondary),.quick-actions .quick-main,#edu-feedback-submit,.learning-links .public-cta){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:linear-gradient(120deg,#087fe0,#0753b5)!important;
  border:1px solid rgba(164,224,255,.78)!important;
  box-shadow:0 8px 22px rgba(4,73,145,.30),inset 0 1px 0 rgba(255,255,255,.24)!important;
}
body.gold-home.page-home :is(.public-links a:not(.nav-primary),.hero-actions .public-cta-secondary,.quick-actions a:not(.quick-main),.quick-actions button,.role-tab){
  color:#eff7ff!important;
  -webkit-text-fill-color:#eff7ff!important;
  background:rgba(71,145,210,.22)!important;
  border:1px solid rgba(164,224,255,.48)!important;
}
body.gold-home.page-home .public-nav .brand-gold,
body.gold-home.page-home .hero-gold{color:#8bdcff!important;-webkit-text-fill-color:#8bdcff!important}


/* Phase 48 — restore readable homepage typography and a wrapped mobile nav. */
body.gold-home.page-home .hero-copy h1{
  color:#f4f9ff!important;
  -webkit-text-fill-color:#f4f9ff!important;
  text-shadow:0 2px 12px rgba(0,14,45,.42)!important;
}
body.gold-home.page-home .hero-copy h1 .hero-gold{
  color:#8bdcff!important;
  -webkit-text-fill-color:#8bdcff!important;
}
body.gold-home.page-home .hero-copy>p{
  color:#eaf5ff!important;
  -webkit-text-fill-color:#eaf5ff!important;
  text-shadow:0 1px 5px rgba(0,14,45,.38)!important;
}
body.gold-home.page-home .hero-copy .public-kicker{
  color:#eff8ff!important;
  -webkit-text-fill-color:#eff8ff!important;
}
@media(max-width:720px){
  body.gold-home.page-home header.public-nav{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:12px!important;
    padding:14px!important;
    overflow:visible!important;
  }
  body.gold-home.page-home header.public-nav .public-brand{
    min-width:0!important;
  }
  body.gold-home.page-home header.public-nav nav.public-links{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  body.gold-home.page-home header.public-nav nav.public-links a{
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:42px!important;
    padding:8px 7px!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    font-size:13px!important;
  }
}


/* Phase 49 — compact homepage navigation on narrow phones.
   Keep the brand and a wrapping flex link strip in one compact header;
   avoid the tall stacked two-column menu on 320–430px screens. */
@media(max-width:720px){
  body.gold-home.page-home header.public-nav{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    flex-wrap:nowrap!important;
    gap:7px!important;
    padding:9px 10px!important;
    min-height:0!important;
    height:auto!important;
  }
  body.gold-home.page-home header.public-nav .public-brand{
    flex:0 0 104px!important;
    width:104px!important;
    min-width:0!important;
    gap:6px!important;
  }
  body.gold-home.page-home header.public-nav .public-mark{
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
  }
  body.gold-home.page-home header.public-nav .brand-copy{
    min-width:0!important;
  }
  body.gold-home.page-home header.public-nav .brand-name{
    font-size:16px!important;
    line-height:1!important;
  }
  body.gold-home.page-home header.public-nav .brand-copy small{
    display:none!important;
  }
  body.gold-home.page-home header.public-nav nav.public-links{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:5px!important;
    width:auto!important;
    min-width:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  body.gold-home.page-home header.public-nav nav.public-links a{
    display:flex!important;
    flex:0 1 auto!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:29px!important;
    padding:5px 7px!important;
    border-radius:9px!important;
    font-size:10px!important;
    line-height:1.1!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
}
@media(max-width:360px){
  body.gold-home.page-home header.public-nav .public-brand{
    flex-basis:88px!important;
    width:88px!important;
  }
  body.gold-home.page-home header.public-nav nav.public-links{
    gap:4px!important;
  }
  body.gold-home.page-home header.public-nav nav.public-links a{
    min-height:26px!important;
    padding:4px 5px!important;
    font-size:9px!important;
  }
}


/* Phase 50 — compact mobile public navigation as a horizontal flex strip.
   Keep the brand narrow and let the six links wrap into short rows beside it. */
@media(max-width:720px){
  body.gold-home.page-home header.public-nav{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:5px!important;
    padding:7px 8px!important;
    min-height:0!important;
    height:auto!important;
  }
  body.gold-home.page-home header.public-nav .public-brand{
    flex:0 0 76px!important;
    width:76px!important;
    min-width:0!important;
    min-height:28px!important;
    gap:4px!important;
  }
  body.gold-home.page-home header.public-nav .public-mark{
    width:25px!important;
    height:25px!important;
    flex:0 0 25px!important;
  }
  body.gold-home.page-home header.public-nav .brand-name{
    font-size:13px!important;
    line-height:1!important;
  }
  body.gold-home.page-home header.public-nav .brand-copy small{
    display:none!important;
  }
  body.gold-home.page-home header.public-nav nav.public-links{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:3px!important;
    width:auto!important;
    min-width:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  body.gold-home.page-home header.public-nav nav.public-links a{
    display:flex!important;
    flex:0 1 auto!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:24px!important;
    padding:3px 4px!important;
    border-radius:7px!important;
    font-size:9px!important;
    line-height:1.05!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
}


/* Phase 6 — unify public homepage sections with the approved blue-glass identity.
   The legacy photo-glass layer was still painting green foliage behind feature
   tiles and content sections, making the homepage look unrelated to the app.
   Keep the hero photography, but use calm blue glass for the actual UI surfaces. */
body.gold-home.page-home .experience-strip,
body.gold-home.page-home :is(.role-showcase,.value-section,.learning-band,.public-section),
body.gold-home.page-home .public-footer{
  color:#f1f7ff!important;
  background:linear-gradient(145deg,rgba(14,67,125,.94),rgba(4,27,66,.94))!important;
  background-image:linear-gradient(145deg,rgba(14,67,125,.94),rgba(4,27,66,.94))!important;
  border:1px solid rgba(151,211,255,.42)!important;
  box-shadow:0 16px 40px rgba(0,9,35,.28),inset 0 1px 0 rgba(255,255,255,.16)!important;
  -webkit-backdrop-filter:blur(20px) saturate(140%)!important;
  backdrop-filter:blur(20px) saturate(140%)!important;
}
body.gold-home.page-home .experience-strip article,
body.gold-home.page-home .experience-strip article:nth-child(n),
body.gold-home.page-home .public-section .public-grid>.public-card,
body.gold-home.page-home .learning-band .resource-card,
body.gold-home.page-home .role-showcase .role-demo,
body.gold-home.page-home .role-showcase .role-preview,
body.gold-home.page-home .value-section .public-card{
  color:#f3f8ff!important;
  background:linear-gradient(145deg,rgba(68,143,205,.30),rgba(5,35,82,.66))!important;
  background-image:linear-gradient(145deg,rgba(68,143,205,.30),rgba(5,35,82,.66))!important;
  border:1px solid rgba(164,224,255,.42)!important;
  box-shadow:0 10px 26px rgba(0,9,35,.22),inset 0 1px 0 rgba(255,255,255,.16)!important;
}
body.gold-home.page-home .experience-strip article>div{
  background:transparent!important;
}
body.gold-home.page-home :is(.experience-strip,.role-showcase,.value-section,.learning-band,.public-section,.public-footer)
 :is(h1,h2,h3,h4,p,small,strong,span,li,a){
  color:#eff7ff!important;
  -webkit-text-fill-color:#eff7ff!important;
}
body.gold-home.page-home :is(.experience-strip,.role-showcase,.value-section,.learning-band,.public-section,.public-footer)
 :is(.hero-gold,.eyebrow,.public-kicker){
  color:#8bdcff!important;
  -webkit-text-fill-color:#8bdcff!important;
}
body.gold-home.page-home .experience-strip .feature-icon{
  background:linear-gradient(145deg,#dff2ff,#8fcfff)!important;
  border:1px solid rgba(255,255,255,.72)!important;
  box-shadow:0 5px 14px rgba(0,15,45,.24)!important;
}
@media(max-width:720px){
  body.gold-home.page-home :is(.experience-strip,.role-showcase,.value-section,.learning-band,.public-section){
    border-radius:18px!important;
  }
  body.gold-home.page-home .experience-strip article{
    min-width:0!important;
    min-height:96px!important;
  }
}
