/*
Author: Nabi Bux
Designation: Web Manager, PASTIC National Center
Project: National Scientists Directory
Date Created: 29 July 2026
*/

:root{--green:#0b5148;--green-dark:#073a35;--teal:#2e7d78;--navy:#172b3a;--gold:#c38a28;--paper:#f6f4ef;--line:#d9e0dc;--muted:#5b6867;--success:#176b4c;--danger:#a43f3f;--shadow:0 12px 30px rgba(15,43,48,.08)}
*{box-sizing:border-box}html{font-size:16px}body{margin:0;background:var(--paper);color:#263838;font-family:Arial,Helvetica,sans-serif;line-height:1.55}.portal-container{width:min(1180px,calc(100% - 36px));margin:0 auto}.gov-strip{background:var(--navy);color:#eaf2f0;font-size:0.87rem}.gov-strip-inner{display:flex;justify-content:space-between;gap:1rem;padding:.45rem 0}.gov-strip a,.portal-footer a{color:inherit}.brand-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0}.portal-header{background:white;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:.75rem;color:var(--navy);text-decoration:none}.brand img{width:58px;height:58px;object-fit:contain}.brand span{display:flex;flex-direction:column;font-size:1.2rem;letter-spacing:.01em}.brand small{font-size:0.87rem;font-weight:normal;color:var(--muted)}.portal-nav{display:flex;align-items:center;gap:1.15rem}.portal-nav>a{color:var(--navy);text-decoration:none;font-weight:600}.portal-nav>a:hover{color:var(--green)}.nav-actions{display:flex;align-items:center;gap:.55rem}.nav-toggle{display:none;background:none;border:1px solid var(--line);font-size:1.35rem;padding:.4rem .65rem;color:var(--green)}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.6rem 1rem;border:1px solid transparent;text-decoration:none;font-weight:700;cursor:pointer;font-size:1.01rem}.button-primary{background:var(--green);color:white}.button-primary:hover{background:var(--green-dark);color:white}.button-outline{background:white;border-color:var(--green);color:var(--green)}.button-outline:hover{background:#eef6f2;color:var(--green-dark)}.portal-main{min-height:calc(100vh - 360px);padding:2rem 0 4rem}.signed-in-banner{display:flex;justify-content:space-between;gap:1rem;background:#e8f1ed;border-left:4px solid var(--teal);padding:.65rem 1rem;margin-bottom:1rem;font-size:0.99rem}.role-label{color:var(--green);font-weight:700}.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:2.5rem;align-items:center;padding:3.6rem 0}.eyebrow{color:var(--green);font-size:0.87rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.hero h1{color:var(--navy);font-size:clamp(2.1rem,5vw,4.2rem);line-height:1.08;margin:.5rem 0 1rem;max-width:720px}.hero p{color:var(--muted);font-size:1.1rem;max-width:650px}.hero-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.5rem}.hero-panel{background:var(--green);color:white;padding:2rem;box-shadow:var(--shadow);border-top:5px solid var(--gold)}.hero-panel h2{margin-top:0;font-size:1.4rem}.hero-panel ul{margin:1rem 0 0;padding-left:1.1rem}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin:2.5rem 0 1rem}.section-heading h2,.page-header h1{color:var(--navy);margin:0}.section-heading a{color:var(--green);font-weight:700}.program-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.program-card,.panel,.form-card{background:white;border:1px solid var(--line);box-shadow:var(--shadow)}.program-card{display:flex;flex-direction:column;padding:1.25rem}.program-card h3{color:var(--navy);line-height:1.25;margin:.35rem 0 .55rem}.program-card p{color:var(--muted);margin-top:0}.program-meta{display:flex;flex-wrap:wrap;gap:.45rem;font-size:0.91rem;color:var(--green);margin-top:auto;padding-top:.75rem}.program-meta span{background:#edf5f1;padding:.25rem .45rem}.card-link{color:var(--green);font-weight:700;text-decoration:none;margin-top:1rem}.page-header{padding:1rem 0 1.25rem;border-bottom:1px solid var(--line);margin-bottom:1.5rem}.page-header p{color:var(--muted);max-width:760px}.panel{padding:1.4rem;margin-bottom:1.25rem}.panel h2,.panel h3{color:var(--navy);margin-top:0}.detail-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:1.25rem}.detail-sidebar{position:sticky;top:1rem;align-self:start}.detail-list{display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem;margin:0}.detail-list dt{font-size:0.87rem;text-transform:uppercase;color:var(--muted);letter-spacing:.04em}.detail-list dd{margin:0;font-weight:700;color:var(--navy)}.form-card{max-width:720px;padding:1.5rem;margin:1rem auto}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.field{display:flex;flex-direction:column;gap:.3rem}.field.full{grid-column:1/-1}.field label{font-weight:700;color:var(--navy)}.field input,.field select,.field textarea{width:100%;border:1px solid #bccbc6;padding:.7rem .75rem;font:inherit;background:#fff;color:#263838}.field input:focus,.field select:focus,.field textarea:focus{outline:3px solid rgba(46,125,120,.2);border-color:var(--teal)}.help{font-size:0.91rem;color:var(--muted)}.form-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.25rem}.alert{padding:.8rem 1rem;border-left:4px solid;margin:1rem 0}.alert-success{background:#e8f4ed;color:#174d37;border-color:var(--success)}.alert-error{background:#fbebeb;color:#6f2626;border-color:var(--danger)}.alert-warning{background:#fff5dd;color:#624b15;border-color:var(--gold)}.validation{color:var(--danger);font-size:0.95rem}.table-wrap{overflow:auto}.portal-table{width:100%;border-collapse:collapse;background:white}.portal-table th,.portal-table td{text-align:left;padding:.75rem;border-bottom:1px solid var(--line);vertical-align:top}.portal-table th{background:#edf3f0;color:var(--navy);font-size:0.92rem}.status-badge{display:inline-block;padding:.25rem .5rem;background:#edf5f1;color:var(--green);font-size:0.87rem;font-weight:700}.empty-state{text-align:center;color:var(--muted);padding:2rem 1rem}.steps{display:flex;gap:.3rem;margin:1rem 0}.step{flex:1;height:5px;background:#dce5e1}.step.is-active,.step.is-done{background:var(--green)}.portal-footer{background:var(--navy);color:#e7efed;padding:2.5rem 0 1rem}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:2rem}.portal-footer h2,.portal-footer h3{color:white;margin-top:0}.portal-footer p{color:#c4d2ce}.footer-bottom{border-top:1px solid rgba(255,255,255,.18);margin-top:1.5rem;padding-top:1rem;color:#b8c8c4;font-size:0.92rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.portal-nav{gap:.7rem}.program-grid{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.detail-sidebar{position:static}}
@media(max-width:700px){.gov-strip-inner{display:block;padding:.45rem 0}.gov-strip-inner span{display:block}.brand-row{align-items:flex-start}.nav-toggle{display:block}.portal-nav{display:none;position:absolute;left:18px;right:18px;top:115px;z-index:5;background:white;padding:1rem;border:1px solid var(--line);box-shadow:var(--shadow);align-items:stretch;flex-direction:column}.portal-nav.is-open{display:flex}.nav-actions{flex-direction:column;align-items:stretch}.button{width:100%}.program-grid,.form-grid,.footer-grid{grid-template-columns:1fr}.hero{padding:2rem 0}.hero h1{font-size:2.4rem}.section-heading{align-items:start;flex-direction:column}.portal-main{padding-top:1.25rem}.portal-container{width:min(100% - 24px,1180px)}.signed-in-banner{display:block}.role-label{display:block;margin-top:.2rem}}

/* Home refresh: institutional, editorial and application-focused. */
:root{--ink:#132b3a;--pine:#075848;--mint:#dcefe8;--gold:#c99b3f;--warm:#fbfaf7;--line-soft:#dce6e1}
html,body{overflow-x:hidden}
body{background:var(--warm);font-family:"Segoe UI","Aptos","Helvetica Neue",Arial,sans-serif;color:var(--ink)}
h1,h2,h3,.brand span strong{font-family:"Aptos Display","Segoe UI","Helvetica Neue",Arial,sans-serif;letter-spacing:-.035em}
.portal-header{position:relative;z-index:10;background:rgba(255,255,255,.97);box-shadow:0 1px 0 rgba(19,43,58,.06)}
.gov-strip{background:var(--pine);font-size:0.81rem;letter-spacing:.02em}.gov-strip-inner{padding:.38rem 0}.gov-strip a{text-decoration:none}.brand-row{padding:1.05rem 0}.brand img{width:52px;height:52px}.brand span{font-size:1.05rem}.brand span strong{font-size:1.35rem;line-height:1;color:var(--pine)}.brand small{font-size:0.79rem;letter-spacing:.06em;text-transform:uppercase;margin-top:.28rem}.portal-nav{gap:1.35rem}.portal-nav>a{font-size:0.97rem;letter-spacing:.01em}.portal-nav>a:hover{color:#bc8e30}.nav-actions .button{min-height:38px;padding:.5rem .9rem;font-size:0.92rem}
.portal-main{padding:2rem 0 5rem;background:linear-gradient(180deg,#fbfaf7 0%,#f7faf7 55%,#f2f7f3 100%)}
.home-hero{position:relative;isolation:isolate;min-height:570px;overflow:hidden;background:#ecf2ed;box-shadow:0 18px 45px rgba(16,53,49,.13)}.hero-slides{height:570px}.hero-slide{position:relative;display:none;height:100%;overflow:hidden}.hero-slide.is-active{display:block;animation:heroFade .65s ease both}.hero-slide-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.hero-slide-wash{position:absolute;inset:0;background:linear-gradient(90deg,rgba(251,250,247,.99) 0%,rgba(251,250,247,.94) 32%,rgba(251,250,247,.73) 46%,rgba(251,250,247,.15) 69%,rgba(251,250,247,0) 100%)}.hero-slide-content{position:relative;z-index:2;width:min(570px,56%);padding:5rem 2rem 6rem 4.25rem}.hero-kicker{display:flex;align-items:center;gap:.55rem;color:var(--pine);font-size:0.79rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.hero-kicker-mark{display:inline-block;width:26px;height:3px;background:var(--gold)}.hero-slide h1{font-size:clamp(2.65rem,4.8vw,4.8rem);line-height:.99;color:var(--ink);margin:1.1rem 0 1.25rem;max-width:540px}.hero-slide h1 span{color:#14856e;display:block}.hero-slide p{font-size:1.05rem;line-height:1.65;max-width:480px;color:#52656a;margin:0}.hero-slide .hero-actions{margin-top:1.7rem;gap:.65rem}.button-arrow{gap:.8rem}.button-arrow span{font-size:1.35rem;line-height:0}.button-light{background:rgba(255,255,255,.84);border-color:#c8d6d0;color:var(--ink)}.button-light:hover{background:white;color:var(--pine);border-color:var(--pine)}.hero-proof{display:flex;flex-wrap:wrap;gap:1.1rem;margin-top:1.55rem;color:#486065;font-size:0.89rem;font-weight:600}.hero-proof span{display:inline-flex;align-items:center;gap:.38rem}.hero-proof i{display:inline-grid;place-items:center;width:19px;height:19px;border:1.5px solid #159378;border-radius:50%;font-style:normal;color:#159378;font-size:0.79rem}.hero-caption{position:absolute;right:2.2rem;bottom:4.15rem;z-index:3;display:flex;flex-direction:column;align-items:flex-end;color:white;text-align:right;text-shadow:0 1px 10px rgba(0,0,0,.24)}.hero-caption small{color:#e5c573;letter-spacing:.16em;font-weight:800;font-size:0.77rem}.hero-caption strong{font-size:0.99rem}.hero-caption span{font-size:0.81rem;opacity:.92}.hero-controls{position:absolute;left:4.25rem;bottom:1.1rem;z-index:4;display:flex;align-items:center;gap:.75rem}.hero-control{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(19,43,58,.2);background:rgba(255,255,255,.82);color:var(--pine);font-size:1rem;cursor:pointer}.hero-control:hover{background:var(--pine);color:white}.hero-dots{display:flex;align-items:center;gap:.38rem}.hero-dot{width:30px;height:4px;border:0;background:rgba(19,43,58,.22);padding:0;cursor:pointer}.hero-dot.is-active{background:var(--pine)}
.home-trust-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line-soft);border:1px solid var(--line-soft);margin:1.25rem 0 4.4rem}.trust-item{display:flex;gap:.85rem;align-items:flex-start;background:#fff;padding:1.2rem 1.3rem}.trust-icon{display:grid;place-items:center;min-width:35px;height:35px;border:1px solid #aaccc0;color:var(--pine);font-size:0.76rem;font-weight:800;letter-spacing:.05em}.trust-item strong{display:block;color:var(--ink);font-size:0.96rem}.trust-item div span{display:block;color:#748387;font-size:0.87rem;line-height:1.45;margin-top:.22rem}.home-section{margin:0 0 4.5rem}.section-heading-modern{margin:0 0 1.5rem;align-items:end}.section-heading-modern h2{font-size:clamp(2rem,3.4vw,3.05rem);margin:.35rem 0 .45rem;color:var(--ink)}.section-heading-modern p{margin:0;color:#718083;max-width:580px}.section-link{color:var(--pine);font-size:0.95rem;font-weight:800;text-decoration:none;white-space:nowrap}.section-link span{font-size:1.1rem;margin-left:.35rem}.program-grid-modern{gap:1rem}.program-card-modern{position:relative;border:1px solid var(--line-soft);box-shadow:0 12px 25px rgba(15,57,51,.055);padding:1.4rem 1.35rem 1.25rem;min-height:285px}.program-card-modern:hover{transform:translateY(-3px);box-shadow:0 18px 35px rgba(15,57,51,.11);border-color:#a6cec0}.program-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.1rem}.program-index{font-size:0.75rem;font-weight:800;letter-spacing:.08em;color:#789087}.program-status{padding:.22rem .5rem;background:#e8f5ee;color:#217455;font-size:0.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.program-card-modern h3{font-size:1.35rem;margin:.4rem 0 .6rem}.program-card-modern p{font-size:0.99rem;line-height:1.55}.program-card-modern .program-meta{gap:.6rem;border-top:1px solid #edf1ef;margin-top:1rem;padding-top:.8rem;font-size:0.83rem;color:#6e7f7e}.program-card-modern .program-meta span{background:none;padding:0}.program-card-modern .program-meta b{display:block;color:var(--ink);font-size:0.76rem;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.1rem}.program-card-modern .card-link{font-size:0.93rem}.card-link span{font-size:1.08rem;margin-left:.25rem}.home-section-soft{background:#eaf3ef;padding:3rem 3rem 3.2rem;margin-left:-3rem;margin-right:-3rem}.experience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.experience-card{display:flex;gap:1rem;background:rgba(255,255,255,.83);border:1px solid rgba(153,191,178,.52);padding:1.35rem}.experience-number{color:#198770;font-size:0.82rem;font-weight:900;letter-spacing:.08em}.experience-card h3{margin:0 0 .4rem;color:var(--ink);font-size:1.12rem}.experience-card p{margin:0;color:#657878;font-size:0.94rem;line-height:1.55}.home-cta{display:flex;justify-content:space-between;align-items:center;gap:2rem;padding:2.2rem 2.4rem;background:var(--ink);color:white}.home-cta .eyebrow{color:#c9a04a}.home-cta h2{font-size:clamp(1.75rem,3vw,2.55rem);margin:.35rem 0 .35rem}.home-cta p{margin:0;color:#c8d6d2}.home-cta .button-outline{background:transparent;border-color:#adc8bf;color:white}.home-cta .button-outline:hover{background:white;color:var(--ink)}
@keyframes heroFade{from{opacity:.15;transform:scale(1.01)}to{opacity:1;transform:scale(1)}}
@media(max-width:900px){.hero-slide-content{width:64%;padding-left:2.5rem}.hero-slide h1{font-size:3.2rem}.hero-caption{right:1.25rem}.hero-controls{left:2.5rem}.home-section-soft{margin-left:-1rem;margin-right:-1rem;padding-left:1rem;padding-right:1rem}}
@media(max-width:700px){.home-hero,.hero-slides{min-height:650px;height:650px}.hero-slide-image{object-position:62% center}.hero-slide-wash{background:linear-gradient(90deg,rgba(251,250,247,.98) 0%,rgba(251,250,247,.88) 54%,rgba(251,250,247,.22) 100%)}.hero-slide-content{width:100%;padding:2.75rem 1.35rem 5.5rem}.hero-slide h1{font-size:2.75rem;max-width:440px}.hero-slide p{font-size:1.06rem;max-width:400px}.hero-proof{display:grid;gap:.45rem}.hero-caption{right:1.2rem;bottom:4.3rem}.hero-caption strong,.hero-caption span{display:none}.hero-controls{left:1.35rem;bottom:1rem}.home-trust-strip{grid-template-columns:1fr;margin-bottom:3rem}.trust-item{padding:1rem}.section-heading-modern{align-items:flex-start}.section-link{margin-top:.4rem}.program-grid-modern{grid-template-columns:1fr}.home-section-soft{padding-top:2.2rem;padding-bottom:2.2rem}.experience-grid{grid-template-columns:1fr}.home-cta{align-items:flex-start;flex-direction:column;padding:1.7rem 1.35rem}.home-cta .hero-actions{width:100%}}
@media(prefers-reduced-motion:reduce){.hero-slide.is-active{animation:none}.program-card-modern{transition:none}}
.hero-slide-wash{background:linear-gradient(90deg,rgba(251,250,247,.98) 0%,rgba(251,250,247,.9) 27%,rgba(251,250,247,.46) 46%,rgba(251,250,247,.07) 69%,rgba(251,250,247,0) 100%)}
@media(max-width:700px){.hero-slide-wash{background:linear-gradient(180deg,rgba(251,250,247,.98) 0%,rgba(251,250,247,.92) 57%,rgba(251,250,247,.22) 100%)}}

/* CM IT-inspired visual hierarchy, adapted for PASTIC branding. */
:root{--ref-navy:#182f70;--ref-blue:#3157a4;--ref-purple:#5d236f;--ref-magenta:#a52b70;--ref-pale:#f4f5fb}
body{font-size:16px;line-height:1.55;color:#27354b}
.portal-header{box-shadow:0 2px 14px rgba(24,47,112,.08)}
.brand-row{padding:1rem 0}
.brand span strong{font-size:1.28rem;color:var(--ref-navy);letter-spacing:-.02em}
.brand small{color:#65728b;font-size:0.77rem;font-weight:700;letter-spacing:.08em}
.portal-nav{gap:1.15rem}
.portal-nav>a{color:#23355c;font-size:0.95rem;font-weight:700}
.portal-nav>a:hover{color:var(--ref-magenta)}
.button{border-radius:8px;min-height:44px;padding:.66rem 1.12rem;font-size:0.99rem;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.button:hover{transform:translateY(-1px)}
.button-primary{background:linear-gradient(135deg,#137d68 0%,#075848 100%);box-shadow:0 8px 18px rgba(7,88,72,.16)}
.button-primary:hover{background:linear-gradient(135deg,#075848 0%,#053b35 100%);box-shadow:0 10px 22px rgba(7,88,72,.22)}
.button-outline{border-color:#b7c4db;color:var(--ref-navy)}
.button-outline:hover{background:#f4f6fc;border-color:var(--ref-blue);color:var(--ref-navy)}
.nav-apply{gap:.45rem;white-space:nowrap}
.nav-apply span{font-size:1.1rem;line-height:0}
.portal-main{background:linear-gradient(180deg,#fbfaf7 0%,#f7f8fc 53%,#f3f8f5 100%)}
.home-hero{border-radius:18px;border-top:4px solid transparent;background-image:linear-gradient(#ecf2ed,#ecf2ed),linear-gradient(100deg,var(--ref-navy),var(--ref-purple),var(--ref-magenta));background-origin:border-box;background-clip:padding-box,border-box;box-shadow:0 20px 50px rgba(24,47,112,.14)}
.home-hero:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--ref-navy),var(--ref-purple),var(--ref-magenta));z-index:5}
.hero-slide-content{padding-top:5.25rem}
.hero-kicker{color:var(--ref-navy);font-size:0.81rem}
.hero-kicker-mark{background:var(--ref-magenta)}
.hero-slide h1{font-size:clamp(2.9rem,4.6vw,4.65rem);line-height:1.01;letter-spacing:-.055em;color:#17233f;max-width:650px}
.hero-slide h1 span{color:var(--ref-navy)}
.hero-slide p{font-size:1.08rem;line-height:1.65;color:#536279}
.hero-slide .button-primary{background:linear-gradient(135deg,var(--ref-navy),var(--ref-purple));box-shadow:0 10px 22px rgba(24,47,112,.2)}
.hero-slide .button-primary:hover{background:linear-gradient(135deg,#112557,var(--ref-magenta))}
.hero-proof i{border-color:var(--ref-blue);color:var(--ref-blue)}
.hero-control{border-radius:7px;border-color:#bbc6dd;color:var(--ref-navy)}
.hero-control:hover{background:var(--ref-navy)}
.hero-dot.is-active{background:var(--ref-magenta)}
.home-trust-strip{border-radius:16px;overflow:hidden;box-shadow:0 12px 28px rgba(24,47,112,.07);margin-top:1.5rem}
.trust-item{padding:1.35rem 1.45rem}
.trust-icon{border-radius:9px;border-color:#b5c4e2;color:var(--ref-navy);background:#f5f7fc}
.trust-item strong{font-size:1.01rem;color:#203566}
.trust-item div span{font-size:0.89rem;color:#69768e}
.section-heading-modern h2{font-size:clamp(2.1rem,3.35vw,3.1rem);color:var(--ref-navy);letter-spacing:-.055em}
.section-heading-modern p{font-size:1rem;color:#69768e}
.eyebrow{color:var(--ref-magenta);font-size:0.79rem;letter-spacing:.15em}
.section-link{color:var(--ref-navy)}
.section-link:hover{color:var(--ref-magenta)}
.program-card-modern{border-radius:16px;background:#fff;box-shadow:0 12px 28px rgba(24,47,112,.07);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.program-card-modern:nth-child(3n+1){border-top:4px solid var(--ref-navy)}
.program-card-modern:nth-child(3n+2){border-top:4px solid var(--ref-magenta)}
.program-card-modern:nth-child(3n){border-top:4px solid #198770}
.program-card-modern h3{font-size:1.38rem;color:#202f55}
.program-card-modern p{font-size:1.03rem;color:#66758d}
.program-status{border-radius:999px;background:#eef6f2;color:#16715e}
.card-link{color:var(--ref-navy)}
.card-link:hover{color:var(--ref-magenta)}
.home-section-soft{border-radius:24px;background:linear-gradient(135deg,#eef2fb 0%,#f8f1f8 56%,#edf7f3 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.experience-card{border-radius:15px;padding:1.45rem;background:rgba(255,255,255,.88);border-color:#d9dced;box-shadow:0 8px 20px rgba(24,47,112,.045)}
.experience-number{color:var(--ref-magenta)}
.experience-card h3{font-size:1.18rem;color:#213662}
.experience-card p{font-size:0.99rem;color:#65748c}
.home-cta{border-radius:22px;background:linear-gradient(110deg,#162f70 0%,#4e236d 58%,#9e2a6d 100%);box-shadow:0 18px 38px rgba(66,34,104,.2)}
.home-cta .eyebrow{color:#f3ca72}
.home-cta h2{font-size:clamp(1.9rem,3.1vw,2.7rem);letter-spacing:-.045em}
.home-cta p{font-size:1rem;color:#e0e5f0}
.home-cta .button-primary{background:#fff;color:var(--ref-navy);box-shadow:none}
.home-cta .button-primary:hover{background:#f5e8f2;color:var(--ref-purple)}
.home-cta .button-outline{border-color:rgba(255,255,255,.58);color:#fff}
.home-cta .button-outline:hover{background:#fff;color:var(--ref-navy)}
.portal-footer{background:#142b61}
.portal-footer h2,.portal-footer h3{letter-spacing:-.02em}
@media(max-width:900px){.hero-slide-content{padding-top:4rem}.hero-slide h1{font-size:3.35rem}}
@media(max-width:700px){.brand span strong{font-size:1.15rem}.hero-slide-content{padding-top:2.75rem}.hero-slide h1{font-size:2.55rem;line-height:.99;margin-top:.9rem;margin-bottom:1rem}.hero-slide p{font-size:1.02rem;line-height:1.48}.hero-slide .hero-actions{margin-top:1.05rem}.hero-proof{margin-top:.95rem;gap:.28rem;font-size:0.81rem}.hero-controls{bottom:.7rem}.hero-slide-wash{background:linear-gradient(180deg,rgba(251,250,247,.98) 0%,rgba(251,250,247,.94) 49%,rgba(251,250,247,.5) 72%,rgba(251,250,247,.12) 100%)}.home-trust-strip{border-radius:14px}.section-heading-modern h2{font-size:2.2rem}.home-cta{border-radius:18px}}

/* Supplied prototype design system: Poppins, navy navigation, compact cards and clear public-service hierarchy. */
:root{--proto-navy:#14225c;--proto-navy-2:#16265e;--proto-ink:#1a1f36;--proto-muted:#6e7488;--proto-line:#e6e8ef;--proto-pink:#a3195b;--proto-pink-pale:#fbeef5;--proto-blue-pale:#eef1fa;--proto-bg:#f8f9fc}
html{font-size:16px;background:var(--proto-bg)}
body{background:var(--proto-bg);color:var(--proto-ink);font-family:'Poppins','Segoe UI',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:'Poppins','Segoe UI',system-ui,sans-serif}
h1,h2,h3,.brand span strong{font-family:'Poppins','Segoe UI',system-ui,sans-serif;letter-spacing:-.025em}
a{color:var(--proto-navy-2)}
a:hover{color:#0e1a45}
.portal-container{width:min(1240px,calc(100% - 64px))}
.portal-header{background:#fff;border-bottom:1px solid var(--proto-line);box-shadow:none}
.gov-strip{background:var(--proto-navy);color:#c3cdeb;height:36px;font-size:13.5px;letter-spacing:.04em}
.gov-strip-inner{height:36px;padding:0;align-items:center}
.gov-strip-label{text-transform:uppercase;font-weight:600;color:#9aa6d2}
.gov-strip a{color:#c3cdeb;text-decoration:none}.gov-strip b{color:#9aa6d2;font-weight:400;margin:0 .18rem}
.brand-row{padding:14px 0;min-height:76px}
.brand{gap:12px}.brand img{width:42px;height:42px;border-radius:7px;object-fit:contain}.brand span{gap:2px}.brand span strong{font-size:19px;font-weight:700;color:var(--proto-navy);letter-spacing:-.01em}.brand small{font-size:13px;letter-spacing:.07em;text-transform:uppercase;color:var(--proto-muted);font-weight:600;margin-top:0}
.nav-toggle{border-color:#c8cddd;color:var(--proto-navy);border-radius:7px}
.portal-nav-shell{position:relative;background:#fff;border-bottom:1px solid var(--proto-line)}
.portal-nav-shell .portal-nav{display:flex;align-items:stretch;gap:2px;flex-wrap:wrap;min-height:48px}
.portal-nav-shell .portal-nav>a.nav-tab{display:flex;align-items:center;border:0;border-bottom:3px solid transparent;background:#fff;color:var(--proto-ink);font-size:13.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;text-decoration:none;padding:15px 14px 12px}
.portal-nav-shell .portal-nav>a.nav-tab:hover{background:#f8f9fc;color:var(--proto-navy);border-bottom-color:var(--proto-pink);text-decoration:none}
.portal-nav-shell .nav-actions{margin-left:auto;align-items:center;gap:10px;padding:7px 0}
.portal-nav-shell .nav-actions .button{min-height:34px;padding:8px 16px;border-radius:999px;font-size:14.5px;box-shadow:none}
.portal-nav-shell .button-outline{border-color:#c8cddd;background:#fff;color:#24325f}.portal-nav-shell .button-outline:hover{background:#f8f9fc;border-color:#aeb8d0;color:var(--proto-navy)}
.portal-nav-shell .button-primary{border-color:var(--proto-navy-2);background:var(--proto-navy-2);color:#fff}.portal-nav-shell .button-primary:hover{background:#0e1a45}
.breadcrumb-bar{background:#eff1f7;border-bottom:1px solid var(--proto-line)}.breadcrumb-inner{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0;font-size:13.5px;color:var(--proto-muted)}.breadcrumb-inner b{color:#a7aec4;font-weight:400}.breadcrumb-inner strong{font-weight:600;color:var(--proto-ink)}
.portal-main{min-height:calc(100vh - 300px);padding:26px 0 72px;background:var(--proto-bg)}
.signed-in-banner{background:#eef1fa;border-left-color:#2f53c8;border-radius:7px;color:#4658a0;padding:10px 14px;font-size:14px;margin-bottom:18px}
.role-label{color:var(--proto-navy-2)}
.button{border-radius:999px;min-height:42px;padding:11px 20px;font-size:15px;font-weight:600;box-shadow:none;transition:background .18s ease,border-color .18s ease,transform .18s ease}.button:hover{transform:none}
.button-primary{background:var(--proto-navy-2);border-color:var(--proto-navy-2);color:#fff}.button-primary:hover{background:#0e1a45;border-color:#0e1a45;color:#fff}.button-outline{border-color:#c8cddd;background:#fff;color:#24325f}.button-outline:hover{background:#f8f9fc;border-color:#aeb8d0;color:var(--proto-navy)}
.home-prototype-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:28px;align-items:start;margin-bottom:28px}
.home-hero{min-height:510px;border:1px solid var(--proto-line);border-top:3px solid var(--proto-navy);border-radius:10px;background:#fff;box-shadow:none;overflow:hidden}
.hero-slides{height:510px}.hero-slide-content{width:min(600px,76%);padding:3.25rem 1.5rem 5rem 2rem}.hero-slide-wash{background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.94) 40%,rgba(255,255,255,.48) 66%,rgba(255,255,255,.06) 100%)}
.hero-kicker{color:var(--proto-pink);font-size:13.5px;letter-spacing:.05em}.hero-kicker-mark{background:var(--proto-pink);width:24px;height:2px}
.hero-slide h1{font-size:clamp(2.05rem,3.5vw,3rem);line-height:1.1;letter-spacing:-.03em;color:var(--proto-navy);margin:1rem 0 .75rem;max-width:19ch}.hero-slide h1 span{color:var(--proto-navy);display:inline}.hero-slide p{font-size:15px;line-height:1.65;color:#545b75;max-width:60ch}.hero-slide .hero-actions{margin-top:1.2rem}.hero-slide .button-primary{background:var(--proto-navy-2);box-shadow:none}.hero-slide .button-primary:hover{background:#0e1a45}.button-light{background:#fff;border-color:#c8cddd;color:#24325f}.button-light:hover{background:#f8f9fc;border-color:#aeb8d0;color:var(--proto-navy)}
.hero-proof{gap:1rem;margin-top:1.15rem;color:#545b75;font-size:13.5px}.hero-proof i{width:18px;height:18px;border-color:#2f53c8;color:#2f53c8}.hero-caption{right:1.1rem;bottom:3.5rem}.hero-caption small{color:#e6b9cf;font-size:12.5px}.hero-caption strong{font-size:14px}.hero-caption span{font-size:12.5px}.hero-controls{left:2rem;bottom:1rem}.hero-control{width:34px;height:34px;border-radius:7px;border-color:#c8cddd;background:#fff;color:var(--proto-navy)}.hero-control:hover{background:var(--proto-navy-2);color:#fff}.hero-dot{width:28px;height:3px;background:#c8cddd}.hero-dot.is-active{background:var(--proto-pink)}
.home-availability{background:#fff;border:1px solid var(--proto-line);border-radius:10px;overflow:hidden}.availability-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid var(--proto-line)}.availability-header h2{margin:0;font-size:14.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--proto-ink)}.availability-header span{font-size:13px;color:var(--proto-muted)}.availability-row{display:flex;flex-direction:column;gap:7px;padding:13px 16px;border-bottom:1px solid #eef0f5}.availability-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.availability-title strong{font-size:15px;line-height:1.35;color:var(--proto-ink)}.availability-status{flex:none;background:var(--proto-pink-pale);color:#7a1244;font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:4px 10px;border-radius:999px}.availability-row small,.availability-row em{font-size:13.5px;line-height:1.5;color:var(--proto-muted);font-style:normal}.availability-meter{height:5px;background:#eef0f5;border-radius:10px;overflow:hidden}.availability-meter span{display:block;height:5px;background:var(--proto-pink)}.availability-row:nth-child(3) .availability-meter span{background:#2f53c8}.availability-row:nth-child(4) .availability-meter span{background:#137d68}.availability-link{display:block;padding:12px 16px;font-size:14.5px;font-weight:600;text-decoration:none}.availability-link span{font-size:1rem;margin-left:4px}
.home-trust-strip{grid-column:1/-1;margin:0;border:1px solid var(--proto-line);border-radius:10px;box-shadow:none;background:var(--proto-line);gap:1px}.trust-item{padding:14px 16px}.trust-icon{min-width:32px;height:32px;border-radius:7px;background:var(--proto-blue-pale);border-color:#d5dcf0;color:var(--proto-navy-2);font-size:12.5px}.trust-item strong{font-size:14px;color:var(--proto-ink)}.trust-item div span{font-size:13.5px;color:var(--proto-muted)}
.home-section{margin:0 0 28px}.section-heading{margin:0 0 14px}.section-heading-modern{align-items:end}.section-heading-modern h2{font-size:22px;line-height:1.25;letter-spacing:-.015em;color:var(--proto-navy);margin:0 0 4px}.section-heading-modern p{font-size:15px;color:var(--proto-muted);margin:0}.eyebrow{color:var(--proto-pink);font-size:13px;letter-spacing:.05em}.section-link{font-size:14.5px;color:var(--proto-navy-2)}
.program-grid-modern{grid-template-columns:1fr;gap:12px}.program-card-modern{min-height:0;border:1px solid var(--proto-line);border-top:0!important;border-radius:10px;box-shadow:none;padding:16px 18px}.program-card-modern:hover{transform:none;box-shadow:0 5px 15px rgba(20,34,92,.06);border-color:#c8cddd}.program-card-top{margin-bottom:6px}.program-index{font-size:13px;color:#8a91a8}.program-status{font-size:13px;background:var(--proto-pink-pale);color:#7a1244;border-radius:999px}.program-card-modern .eyebrow{display:none}.program-card-modern h3{font-size:16px;color:var(--proto-ink);margin:0 0 5px;letter-spacing:0}.program-card-modern p{font-size:14.5px;color:var(--proto-muted);margin:0 0 10px}.program-card-modern .program-meta{font-size:14.5px;color:#4a5169;border-top:0;margin:0;padding:0;gap:20px}.program-card-modern .program-meta b{display:inline;color:#6e7488;font-size:inherit;text-transform:none;letter-spacing:0;margin:0}.program-card-modern .card-link{font-size:14.5px;color:var(--proto-navy-2);margin-top:10px}
.home-section-soft{background:#fff;border:1px solid var(--proto-line);border-radius:10px;padding:18px 0 0;margin-left:0;margin-right:0;box-shadow:none}.home-section-soft .section-heading-modern{padding:0 18px}.experience-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--proto-line);border:1px solid var(--proto-line)}.experience-card{border:0;border-radius:0;background:#fff;box-shadow:none;padding:18px}.experience-number{color:#2f53c8;font-size:13px}.experience-card h3{font-size:15.5px;color:var(--proto-ink);margin:0 0 5px;letter-spacing:0}.experience-card p{font-size:14.5px;color:#4a5169}.home-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.prototype-panel{background:#fff;border:1px solid var(--proto-line);border-radius:10px;overflow:hidden}.prototype-panel-heading{padding:13px 18px;border-bottom:1px solid var(--proto-line)}.prototype-panel-heading h2{margin:0;font-size:14.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--proto-ink)}.prototype-panel-body{padding:6px 18px 14px}.eligibility-row{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #f1f3f7}.eligibility-row span{color:#2f53c8;font-weight:700}.eligibility-row p{margin:0;font-size:14.5px;line-height:1.55;color:#4a5169}.prototype-note{font-size:14px;color:var(--proto-muted);margin:12px 0 0;line-height:1.6}.date-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #f1f3f7;font-size:14.5px;color:#4a5169}.date-row strong{font-weight:600;color:var(--proto-ink);text-align:right}.dates-callout{margin:14px -18px -14px;padding:14px 18px;background:var(--proto-pink-pale);border-top:1px solid #f0cfe0;font-size:14px;color:#7a1244;line-height:1.6}.home-cta{border-radius:10px;background:var(--proto-navy);box-shadow:none;padding:20px 22px}.home-cta .eyebrow{color:#9aa6d2}.home-cta h2{font-size:22px;letter-spacing:-.01em}.home-cta p{font-size:15px;color:#c3cdeb}.home-cta .button-primary{background:#fff;color:var(--proto-navy-2)}.home-cta .button-outline{border-color:#6d78a3;color:#fff}.home-cta .button-outline:hover{background:#fff;color:var(--proto-navy)}
.portal-footer{background:var(--proto-navy);padding:28px 0 12px}.portal-footer h2,.portal-footer h3{font-size:15.5px;letter-spacing:0}.portal-footer p{font-size:14px;color:#c3cdeb}.footer-bottom{font-size:13px;color:#9aa6d2}
@media(max-width:900px){.portal-container{width:min(100% - 40px,1240px)}.home-prototype-grid{grid-template-columns:1fr}.home-availability{grid-column:auto}.hero-slide-content{width:70%;padding-left:2rem}.hero-slide h1{font-size:2.45rem}.home-detail-grid{grid-template-columns:1fr}}
@media(max-width:700px){.portal-container{width:calc(100% - 24px)}.gov-strip{height:auto;min-height:36px}.gov-strip-inner{height:auto;min-height:36px;display:flex;flex-wrap:wrap;padding:6px 0;gap:2px 12px;font-size:12.5px}.gov-strip-label{width:100%}.brand-row{padding:12px 0}.brand img{width:40px;height:40px}.brand span strong{font-size:17px}.brand small{font-size:12px}.portal-nav-shell{min-height:0}.portal-nav-shell .portal-nav{display:none;position:absolute;top:100%;left:12px;right:12px;width:auto;z-index:30;flex-direction:column;align-items:stretch;padding:8px 10px;background:#fff;border:1px solid var(--proto-line);box-shadow:0 12px 24px rgba(20,34,92,.12)}.portal-nav-shell .portal-nav.is-open{display:flex}.portal-nav-shell .portal-nav>a.nav-tab{padding:11px 12px;border-bottom:1px solid #f1f3f7;border-left:3px solid transparent}.portal-nav-shell .portal-nav>a.nav-tab:hover{border-left-color:var(--proto-pink);border-bottom-color:#f1f3f7}.portal-nav-shell .nav-actions{margin-left:0;flex-direction:column;align-items:stretch;padding:8px 0 2px}.portal-nav-shell .nav-actions .button{width:100%;justify-content:center}.breadcrumb-inner{padding:7px 0;font-size:13px}.portal-main{padding-top:18px}.home-prototype-grid{gap:14px}.home-hero,.hero-slides{min-height:620px;height:620px}.hero-slide-content{width:100%;padding:2.4rem 1.35rem 5rem}.hero-slide h1{font-size:2.35rem;max-width:15ch}.hero-slide p{font-size:14.5px}.hero-slide-wash{background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.94) 48%,rgba(255,255,255,.56) 75%,rgba(255,255,255,.12) 100%)}.hero-caption{right:1rem;bottom:3.6rem}.hero-controls{left:1.35rem}.home-availability{border-radius:9px}.home-trust-strip{grid-template-columns:1fr}.trust-item{padding:12px 14px}.section-heading-modern{align-items:flex-start}.section-heading-modern h2{font-size:20px}.program-card-modern{padding:14px}.program-card-modern .program-meta{display:grid;gap:6px}.experience-grid{grid-template-columns:1fr}.home-section-soft{padding-top:16px}.home-detail-grid{gap:12px}.home-cta{align-items:flex-start;flex-direction:column;padding:18px}.home-cta .hero-actions{width:100%}.home-cta .button{width:100%}}

/* Shared prototype treatment for public, student, staff and administrator screens. */
.role-nav-links{display:flex;align-items:center;gap:2px}.role-nav-link{color:var(--proto-navy-2);font-size:13.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;padding:8px 8px;border-bottom:2px solid transparent}.role-nav-link:hover{color:var(--proto-pink);border-bottom-color:var(--proto-pink);text-decoration:none}
.page-header{padding:0 0 20px;border-bottom:1px solid var(--proto-line);margin:0 0 20px}.page-header h1{font-size:28px;line-height:1.2;font-weight:700;color:var(--proto-navy);letter-spacing:-.015em;margin:0 0 5px}.page-header p{font-size:15px;line-height:1.65;color:var(--proto-muted);max-width:760px;margin:0}
.program-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.program-card{background:#fff;border:1px solid var(--proto-line);border-radius:10px;box-shadow:none;padding:16px 18px;transition:border-color .18s ease,box-shadow .18s ease}.program-card:hover{border-color:#c8cddd;box-shadow:0 5px 15px rgba(20,34,92,.06)}.program-card h3{font-size:22px;line-height:1.2;color:var(--proto-navy);margin:5px 0 6px}.program-card p{font-size:14.5px;line-height:1.6;color:#4a5169}.program-card .eyebrow{font-size:13px}.program-card .card-link{font-size:14.5px;color:var(--proto-navy-2)}
.panel,.form-card{background:#fff;border:1px solid var(--proto-line);border-radius:10px;box-shadow:none;padding:18px;margin-bottom:14px}.panel h2,.panel h3,.form-card h2,.form-card h3{color:var(--proto-ink);letter-spacing:-.01em}.panel h2,.form-card h2{font-size:16px;margin:0 0 12px}.panel h3,.form-card h3{font-size:15.5px;margin:18px 0 6px}.panel p{font-size:14.5px;line-height:1.65;color:#4a5169}.detail-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:22px}.detail-sidebar{top:18px}.detail-list{gap:0 18px}.detail-list dt{font-size:13px;color:#8a91a8;letter-spacing:.06em}.detail-list dd{font-size:14.5px;color:var(--proto-ink);padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #f1f3f7}.form-grid{gap:18px 20px}.field{gap:6px}.field label{font-size:14px;font-weight:600;color:var(--proto-ink)}.field input,.field select,.field textarea,.field .form-control{width:100%;border:1px solid #c8cddd;border-radius:8px;padding:9px 10px;background:#fff;color:var(--proto-ink);font-size:14.5px;line-height:1.45}.field textarea{min-height:90px}.field input:focus,.field select:focus,.field textarea:focus,.field .form-control:focus{outline:2px solid rgba(163,25,91,.18);outline-offset:1px;border-color:var(--proto-pink)}.field input[type=file]{padding:7px}.field input[type=checkbox]{width:auto}.help{font-size:13.5px;color:var(--proto-muted);line-height:1.5}.form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.validation{font-size:13.5px;color:#b42318}.alert{border-radius:10px;padding:14px 16px;margin:0 0 16px;font-size:14.5px}.alert-success{background:#ecf8f1;border-color:#8bd0ac;color:#176b4c}.alert-error{background:#feeceb;border-color:#f7cfcc;color:#8a1c13}.alert-warning{background:#fff7e6;border-color:#f3d18c;color:#7a4c00}
.table-wrap{border:1px solid var(--proto-line);border-radius:10px;background:#fff}.portal-table{font-size:14.5px}.portal-table th,.portal-table td{padding:10px 14px;border-bottom:1px solid #eef0f5}.portal-table th{background:#f8f9fc;color:#8a91a8;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.portal-table td{color:#4a5169}.portal-table tr:last-child td{border-bottom:0}.portal-table tr:hover td{background:#fbfcff}.status-badge{padding:4px 10px;border-radius:999px;background:var(--proto-pink-pale);color:#7a1244;font-size:13px;font-weight:700;letter-spacing:.04em}.empty-state{text-align:center;background:#fff;color:var(--proto-muted);padding:26px 18px;font-size:14.5px}
.steps{gap:0;margin:16px 0}.step{height:4px;background:#eef0f5}.step.is-active,.step.is-done{background:#2f53c8}.step.is-active:first-child{background:var(--proto-pink)}
.portal-footer{margin-top:0}.portal-footer a{color:#c3cdeb}.portal-footer a:hover{color:#fff}
@media(max-width:900px){.program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}.detail-sidebar{position:static}.role-nav-links{flex-wrap:wrap}}
@media(max-width:700px){.page-header h1{font-size:24px}.page-header{padding-bottom:16px;margin-bottom:16px}.program-grid{grid-template-columns:1fr}.program-card h3{font-size:20px}.panel,.form-card{padding:14px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.form-actions{gap:8px}.form-actions .button{width:auto}.role-nav-links{display:flex;flex-direction:column;align-items:stretch;gap:0}.role-nav-link{padding:10px 12px;border-bottom:1px solid #f1f3f7}.detail-list{grid-template-columns:1fr}.portal-table{min-width:620px}}

/* Hybrid institutional presentation: Template 2 public shell, Template 1 student actions, Templates 3/4 operational dashboards. */
:root{--pastic-blue:#07559a;--pastic-deep:#062d60;--pastic-green:#07845a;--pastic-teal:#06a7a0;--pastic-gold:#d99b2b;--pastic-purple:#7064c8;--pastic-surface:#f5f9fd;--pastic-shadow:0 10px 28px rgba(6,45,96,.08)}
body{background:var(--pastic-surface)}
.gov-strip{background:linear-gradient(90deg,var(--pastic-deep),#0a4d86);color:#d8e8f7;height:36px}
.gov-strip-label{color:#fff;letter-spacing:.02em;text-transform:none}
.gov-strip a{color:#e1eef9}
.brand-row{min-height:86px;padding:15px 0;background:#fff}
.brand{gap:13px}.brand img{width:56px;height:56px;border-radius:0}.brand span{gap:1px}.brand span strong{font-size:20px;color:var(--pastic-deep);letter-spacing:-.03em}.brand small{font-size:13px;letter-spacing:.02em;text-transform:none;color:#4f6982}.brand span em{font-size:13px;line-height:1.3;color:var(--pastic-green);font-style:normal;font-weight:700}
.portal-nav-shell{background:#fff;border-bottom:1px solid #dbe8f2;box-shadow:0 3px 12px rgba(6,45,96,.04)}
.portal-nav-shell .portal-nav{min-height:48px}.portal-nav-shell .portal-nav>a.nav-tab{color:#223d58;font-size:14px;letter-spacing:.02em;text-transform:none;padding:15px 16px 12px}.portal-nav-shell .portal-nav>a.nav-tab:hover{background:#f4f9fd;color:var(--pastic-blue);border-bottom-color:var(--pastic-teal)}
.portal-nav-shell .button-primary{background:var(--pastic-green);border-color:var(--pastic-green)}.portal-nav-shell .button-primary:hover{background:#056b49;border-color:#056b49}.portal-nav-shell .button-outline{border-color:#a9c4db;color:var(--pastic-deep)}
.breadcrumb-bar{background:#eef5fa;border-bottom-color:#dbe8f2}.breadcrumb-inner{color:#587088}.breadcrumb-inner strong{color:var(--pastic-deep)}
.portal-main{background:var(--pastic-surface);padding:30px 0 76px}
.button{border-radius:7px}.button-primary{background:var(--pastic-blue);border-color:var(--pastic-blue)}.button-primary:hover{background:var(--pastic-deep);border-color:var(--pastic-deep)}.button-outline{border-color:#a9c4db;color:var(--pastic-deep)}.button-outline:hover{background:#eef6fc;border-color:var(--pastic-blue);color:var(--pastic-blue)}
.home-prototype-grid{display:block;margin-bottom:24px}
.home-hero{min-height:490px;border:0;border-radius:18px;background:#fff;box-shadow:var(--pastic-shadow);overflow:hidden}
.hero-slides{height:490px}.hero-slide-content{width:min(580px,53%);padding:4rem 2rem 5rem 3rem;z-index:4}.hero-slide-image{z-index:0}.hero-slide-wash{z-index:1;background:linear-gradient(90deg,rgba(255,255,255,.93) 0%,rgba(255,255,255,.84) 34%,rgba(255,255,255,.38) 57%,rgba(255,255,255,.05) 78%,transparent 100%)}
.hero-kicker{color:var(--pastic-green);font-size:14.5px;font-weight:700;letter-spacing:.02em}.hero-kicker-mark{background:var(--pastic-green);width:30px;height:3px}.hero-slide h1{font-size:clamp(2.5rem,4.4vw,4rem);line-height:1.04;color:var(--pastic-deep);max-width:15ch;margin:1rem 0 .8rem}.hero-slide h1 span{color:var(--pastic-blue)}.hero-slide p{font-size:16px;line-height:1.65;color:#415d75;max-width:58ch}.hero-slide .button-primary{background:var(--pastic-blue);box-shadow:0 8px 18px rgba(7,85,154,.18)}.hero-slide .button-light{border-color:#9fbdd6;color:var(--pastic-deep)}.hero-proof{color:#496982}.hero-proof i{border-color:var(--pastic-green);color:var(--pastic-green)}.hero-caption{right:1.5rem;bottom:3.5rem}.hero-caption small{color:var(--pastic-green)}.hero-controls{left:auto;right:1.2rem;bottom:1.05rem}.hero-control{border-radius:7px;color:var(--pastic-blue);border-color:#a9c4db}.hero-control:hover{background:var(--pastic-blue)}.hero-dot.is-active{background:var(--pastic-green)}
.home-availability{margin-top:20px;border:1px solid #dbe8f2;border-radius:14px;box-shadow:var(--pastic-shadow);background:#fff}.availability-header{padding:18px 22px;border-bottom:1px solid #e7f0f6}.availability-header h2{font-size:19px;letter-spacing:-.02em;text-transform:none;color:var(--pastic-deep);margin-top:3px}.availability-count{font-size:14px;color:var(--pastic-green);font-weight:700;white-space:nowrap}.public-benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.public-benefit{display:flex;gap:12px;padding:20px 18px;border-right:1px solid #e7f0f6}.public-benefit:last-child{border-right:0}.public-benefit-icon{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:50%;background:#e8f7f1;color:var(--pastic-green);font-size:17px}.public-benefit strong{display:block;font-size:14.5px;line-height:1.35;color:var(--pastic-deep)}.public-benefit small{display:block;margin-top:6px;color:#60798e;font-size:13.5px;line-height:1.5}.availability-link{color:var(--pastic-blue);font-size:14.5px;border-top:1px solid #e7f0f6}.availability-link span{color:var(--pastic-green)}
.home-trust-strip{background:#fff;border:1px solid #dbe8f2;border-radius:12px;box-shadow:var(--pastic-shadow)}.trust-icon{background:#edf5fb;border-color:#cfe0ee;color:var(--pastic-blue)}.trust-item strong{color:var(--pastic-deep)}.trust-item div span{color:#60798e}
.section-heading-modern h2{color:var(--pastic-deep)}.eyebrow{color:var(--pastic-green)}.section-link,.program-card-modern .card-link{color:var(--pastic-blue)}.program-card-modern{border-radius:13px;box-shadow:0 4px 16px rgba(6,45,96,.04)}.program-status{background:#e8f7f1;color:#08704e}.home-section-soft{border-color:#dbe8f2;box-shadow:var(--pastic-shadow)}.experience-number{color:var(--pastic-blue)}.prototype-panel{border-color:#dbe8f2;box-shadow:var(--pastic-shadow)}.dates-callout{background:#edf8f7;border-top-color:#c7eae7;color:#08704e}.home-cta{background:linear-gradient(100deg,var(--pastic-deep),var(--pastic-blue));border-radius:14px}.home-cta .eyebrow{color:#a9e4d1}
.portal-footer{background:var(--pastic-deep)}

/* Role dashboards */
.dashboard-welcome-card{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.65fr);gap:24px;align-items:center;padding:28px 30px;border-radius:16px;background:linear-gradient(110deg,var(--pastic-deep),var(--pastic-blue));box-shadow:var(--pastic-shadow);color:#fff;margin-bottom:18px}.dashboard-welcome-card .eyebrow{color:#a9e4d1}.dashboard-welcome-card h1{margin:5px 0 8px;color:#fff;font-size:30px;line-height:1.1}.dashboard-welcome-card p{margin:0;color:#d8e8f7;font-size:15.5px;line-height:1.65;max-width:700px}.dashboard-cycle{padding:16px 18px;border:1px solid rgba(255,255,255,.25);border-radius:12px;background:rgba(255,255,255,.1)}.dashboard-cycle span{display:block;color:#bcd4e8;font-size:13px;text-transform:uppercase;letter-spacing:.06em}.dashboard-cycle strong{display:block;margin:5px 0 11px;color:#fff;font-size:15px}.dashboard-cycle a{color:#b8f0dd;font-size:14px;font-weight:700;text-decoration:none}.dashboard-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.dashboard-stat-grid.staff-stat-grid,.dashboard-stat-grid.admin-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-stat{display:flex;align-items:center;gap:13px;padding:17px 16px;border:1px solid #dbe8f2;border-radius:13px;background:#fff;box-shadow:0 4px 16px rgba(6,45,96,.04)}.dashboard-stat small{display:block;color:#668097;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.dashboard-stat strong{display:block;color:var(--pastic-deep);font-size:25px;line-height:1.1;margin:3px 0}.dashboard-stat div span{display:block;color:#6c8296;font-size:13px;line-height:1.35}.dashboard-icon,.dashboard-action-icon{display:grid;place-items:center;flex:none;border-radius:12px}.dashboard-icon{width:44px;height:44px;font-size:19px}.dashboard-action-icon{width:44px;height:44px;font-size:19px;margin-bottom:11px}.icon-blue{background:#eaf2ff;color:#1f69d0}.icon-green{background:#e8f7f1;color:var(--pastic-green)}.icon-gold{background:#fff5df;color:#c68208}.icon-purple{background:#f1efff;color:var(--pastic-purple)}.icon-teal{background:#e5f8f7;color:#058b87}.icon-navy{background:#e7eef9;color:var(--pastic-deep)}.dashboard-main-grid,.admin-dashboard-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.7fr);gap:18px;align-items:start}.dashboard-action-panel,.dashboard-timeline-panel,.dashboard-side-note{padding:20px;border:1px solid #dbe8f2;border-radius:14px;background:#fff;box-shadow:var(--pastic-shadow)}.dashboard-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:16px}.dashboard-section-heading h2{margin:3px 0 0;color:var(--pastic-deep);font-size:20px}.dashboard-section-heading>a{color:var(--pastic-blue);font-size:14px;font-weight:700;text-decoration:none}.dashboard-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dashboard-action-card{display:block;padding:15px;border:1px solid #e1ebf3;border-radius:12px;background:#fff;color:var(--pastic-deep);text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.dashboard-action-card:hover{transform:translateY(-2px);border-color:#a7c6df;box-shadow:0 9px 18px rgba(6,45,96,.08);text-decoration:none}.dashboard-action-card strong{display:block;font-size:15.5px}.dashboard-action-card small{display:block;min-height:38px;margin:5px 0 10px;color:#647d92;font-size:13.5px;line-height:1.45}.dashboard-action-card>b{font-size:13.5px;color:var(--pastic-blue)}.dashboard-timeline-panel .table-wrap{overflow:auto}.dashboard-side-note{background:linear-gradient(155deg,#edf8f7,#fff)}.dashboard-side-note h2{margin:4px 0 8px;color:var(--pastic-deep);font-size:20px}.dashboard-side-note p{color:#557087;font-size:14.5px;line-height:1.7}.dashboard-side-note .button{margin-top:8px;width:100%;text-align:center}.staff-welcome,.admin-welcome{margin-bottom:16px}.workflow-track{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:14px 20px;margin-bottom:18px;border:1px solid #dbe8f2;border-radius:13px;background:#fff;box-shadow:0 4px 16px rgba(6,45,96,.04)}.workflow-step{display:grid;justify-items:center;gap:3px;min-width:74px;text-align:center}.workflow-step b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:2px solid #b9cde0;color:#6f879b;font-size:14px;background:#fff}.workflow-step.is-complete b{border-color:var(--pastic-green);background:var(--pastic-green);color:#fff}.workflow-step strong{font-size:13px;color:var(--pastic-deep)}.workflow-step small{font-size:12px;color:#6c8296}.workflow-line{height:1px;flex:1;background:#cddce8}.admin-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-note{background:linear-gradient(155deg,#fff6e5,#fff)}
.portal-table th{color:#53718a;background:#f4f8fb}.status-badge{background:#e8f7f1;color:#08704e}.panel,.form-card{border-color:#dbe8f2}.field input:focus,.field select:focus,.field textarea:focus,.field .form-control:focus{outline-color:rgba(7,85,154,.18);border-color:var(--pastic-blue)}
@media(max-width:1000px){.public-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-benefit:nth-child(2){border-right:0}.public-benefit:nth-child(-n+2){border-bottom:1px solid #e7f0f6}.dashboard-stat-grid.staff-stat-grid,.dashboard-stat-grid.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main-grid,.admin-dashboard-layout{grid-template-columns:1fr}.dashboard-side-note{order:-1}.workflow-track{overflow-x:auto;justify-content:flex-start}.workflow-line{min-width:22px;flex:none}}
@media(max-width:700px){.brand img{width:48px;height:48px}.brand span strong{font-size:17px}.brand small,.brand span em{font-size:12px}.home-hero,.hero-slides{min-height:570px;height:570px}.hero-slide-content{width:100%;padding:2.5rem 1.4rem 5rem}.hero-slide h1{font-size:2.45rem}.home-availability{margin-top:14px}.availability-header{align-items:flex-start;flex-direction:column;gap:4px}.public-benefit-grid{grid-template-columns:1fr}.public-benefit{border-right:0!important;border-bottom:1px solid #e7f0f6}.public-benefit:last-child{border-bottom:0}.dashboard-welcome-card{grid-template-columns:1fr;padding:22px 18px}.dashboard-welcome-card h1{font-size:25px}.dashboard-stat-grid,.dashboard-stat-grid.staff-stat-grid,.dashboard-stat-grid.admin-stat-grid{grid-template-columns:1fr}.dashboard-main-grid,.admin-dashboard-layout{grid-template-columns:1fr}.dashboard-action-grid,.admin-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-action-card{padding:12px}.dashboard-action-card small{min-height:0}.workflow-track{padding:12px;justify-content:flex-start}.workflow-step{min-width:66px}.workflow-line{min-width:16px}.dashboard-section-heading{align-items:flex-start;flex-direction:column;gap:5px}}

/* Keep carousel controls clear of the primary action at every breakpoint. */
.hero-controls{left:auto;right:1.2rem}
@media(max-width:700px){.hero-controls{left:auto;right:1rem}}

/* Template 2 system direction: institutional blue, teal accents, and a clean public-service presentation. */
body{font-family:'Poppins',Arial,Helvetica,sans-serif;background:#f7fbfe;color:#29445e}
.portal-main{background:#f7fbfe}
.gov-strip{background:#06396e;color:#e4f0fb}
.portal-nav-shell{background:#fff;border-bottom:1px solid #d9e7f1;box-shadow:0 3px 12px rgba(6,57,110,.05)}
.portal-nav-shell .portal-nav>a.nav-tab{color:#243f58}
.portal-nav-shell .portal-nav>a.nav-tab:hover{background:#f4fbfc;color:#07559a;border-bottom-color:#06a7a0}
.portal-nav-shell .button-primary{background:#07559a;border-color:#07559a}
.portal-nav-shell .button-primary:hover{background:#06396e;border-color:#06396e}
.portal-nav-shell .button-outline{border-color:#9ebed8;color:#07559a}
.portal-nav-shell .button-outline:hover{background:#eff8fb;border-color:#07559a;color:#06396e}
.brand span strong{color:#07559a}
.brand span em{color:#07845a}
.breadcrumb-bar{background:#eef6fb;border-bottom-color:#dbe8f2}
.home-hero{border:0;border-radius:16px;background:#fff;box-shadow:0 12px 30px rgba(6,57,110,.1)}
.home-hero:before{height:4px;background:linear-gradient(90deg,#07559a 0%,#06a7a0 100%)}
.hero-kicker{color:#07845a;letter-spacing:.04em}
.hero-kicker-mark{background:#06a7a0}
.hero-slide h1{color:#06396e;letter-spacing:-.045em}
.hero-slide h1 span{color:#07559a}
.hero-slide p{color:#4d6980}
.hero-slide .button-primary{background:#07559a;box-shadow:0 8px 18px rgba(7,85,154,.18)}
.hero-slide .button-primary:hover{background:#06396e}
.button-light{background:#fff;border-color:#9ebed8;color:#07559a}
.button-light:hover{background:#eff8fb;border-color:#06a7a0;color:#06396e}
.hero-proof{color:#4d6980}
.hero-proof i{border-color:#07845a;color:#07845a}
.hero-caption small{color:#b6e6df}
.hero-controls .hero-control{color:#07559a;border-color:#a9c4db}
.hero-controls .hero-control:hover{background:#07559a;color:#fff}
.hero-dot.is-active{background:#06a7a0}
.home-availability{border-color:#d9e7f1;box-shadow:0 10px 26px rgba(6,57,110,.07)}
.availability-header h2{color:#06396e}
.availability-count{color:#07845a}
.public-benefit-icon{background:#e6f7f5;color:#07845a}
.availability-link{color:#07559a}
.availability-link span{color:#06a7a0}
.home-trust-strip{border:0;border-radius:0;background:linear-gradient(90deg,#06396e,#07559a);box-shadow:none}
.trust-item{background:transparent;color:#fff}
.trust-icon{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3);color:#fff}
.trust-item strong{color:#fff}
.trust-item div span{color:#cfe2f1}
.section-heading-modern h2{color:#06396e}
.eyebrow{color:#07845a}
.section-link,.program-card-modern .card-link{color:#07559a}
.program-card-modern{border-color:#d9e7f1;border-top:3px solid #06a7a0!important;box-shadow:0 5px 18px rgba(6,57,110,.05)}
.program-card-modern:nth-child(3n+2),.program-card-modern:nth-child(3n+3){border-top-color:#07559a!important}
.program-status{background:#e6f7f0;color:#08704e}
.home-section-soft{background:#eef7fb;border-color:#d9e7f1;box-shadow:none}
.experience-number{color:#07559a}
.prototype-panel{border-color:#d9e7f1;box-shadow:0 6px 20px rgba(6,57,110,.05)}
.dates-callout{background:#e6f7f5;border-top-color:#bde8e4;color:#08704e}
.home-cta{background:linear-gradient(100deg,#06396e,#07559a);border-radius:14px;box-shadow:0 12px 28px rgba(6,57,110,.14)}
.home-cta .button-primary{background:#fff;color:#07559a}
.home-cta .button-outline{border-color:#8fc9d2;color:#fff}
.portal-footer{background:linear-gradient(115deg,#06396e,#07559a)}
.role-nav-link{color:#07559a}
.role-nav-link:hover{color:#07845a;border-bottom-color:#06a7a0}
.status-badge{background:#e6f7f0;color:#08704e}
.dashboard-welcome-card{background:linear-gradient(110deg,#06396e,#07559a)}
.dashboard-side-note{background:linear-gradient(155deg,#e6f7f5,#fff)}
.icon-purple{background:#e5f8f7;color:#058b87}
.admin-note{background:linear-gradient(155deg,#eef7fb,#fff)}

/* Student dashboard reference layout: match the supplied government-professional prototype. */
.student-dashboard-page{background:#fff;color:#1b3049}
.student-dashboard-page .portal-container{width:min(100% - 28px,1450px)}
.student-dashboard-page .gov-strip{display:none}
.student-dashboard-page .portal-header{background:#fff;border-bottom:1px solid #e4edf4}
.student-dashboard-page .brand-row{min-height:106px;padding:16px 0}
.student-dashboard-page .brand{gap:14px}
.student-dashboard-page .brand img{width:70px;height:70px}
.student-dashboard-page .brand span strong{font-size:28px;line-height:1.1;color:#123d73;letter-spacing:-.035em}
.student-dashboard-page .brand small{font-size:14px;color:#24517d;letter-spacing:0;text-transform:none;margin-top:3px}
.student-dashboard-page .brand span em{font-size:14.5px;color:#08784d;letter-spacing:0;margin-top:2px}
.student-dashboard-page .portal-nav-shell{position:absolute;top:0;left:0;right:0;z-index:20;background:transparent;border:0;box-shadow:none;pointer-events:none}
.student-dashboard-page .portal-nav-shell .portal-container{height:106px;justify-content:flex-end;pointer-events:auto}
.student-dashboard-page .portal-nav-shell .portal-nav{gap:0;min-height:0}
.student-dashboard-page .portal-nav-shell .portal-nav>a.nav-tab{padding:42px 16px 35px;color:#101b2b;font-size:15px;font-weight:500;border-bottom:3px solid transparent;white-space:nowrap}
.student-dashboard-page .portal-nav-shell .portal-nav>a.nav-tab:hover{background:transparent;color:#0b4b91;border-bottom-color:#0b4b91}
.student-dashboard-page .nav-caret{font-size:17px;margin-left:3px}
.student-dashboard-page .portal-nav-shell .nav-actions{gap:14px;margin-left:16px}
.student-dashboard-page .portal-nav-shell .nav-actions .button{min-height:44px;padding:10px 22px;border-radius:8px;font-size:15.5px}
.student-dashboard-page .portal-nav-shell .button-outline{border:1px solid #0b4b91;background:#fff;color:#123d73}
.student-dashboard-page .portal-nav-shell .button-primary{background:#08794d;border-color:#08794d;color:#fff}
.student-dashboard-page .portal-nav-shell .button-primary:hover{background:#05633e;border-color:#05633e}
.student-dashboard-page .portal-nav-shell .role-nav-links{display:none}
.student-dashboard-page .portal-nav-shell .nav-actions .button-outline{white-space:nowrap}
.nav-apply-static{display:none}
.student-dashboard-page .portal-nav-shell .nav-apply-static{display:inline-flex;margin-left:16px;min-height:44px;padding:10px 22px;border-radius:8px;font-size:15.5px;white-space:nowrap}
.student-dashboard-page .breadcrumb-bar,.student-dashboard-page .signed-in-banner{display:none}
.student-dashboard-page .portal-main{padding:0 0 28px;background:#fff}
.student-dashboard-page .portal-footer{background:#063b74;padding:0}
.student-dashboard-page .footer-grid{display:none}
.student-dashboard-page .footer-bottom{max-width:1450px;margin:0 auto;padding:17px 0;border-top:0;color:#fff;display:flex;justify-content:space-between;gap:20px;font-size:14.5px}
.reference-footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;max-width:1450px;margin:0 auto;padding:19px 0;border-bottom:1px solid rgba(255,255,255,.2)}
.reference-footer-grid>div{display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:0 24px;border-right:1px solid rgba(255,255,255,.2);color:#fff}
.reference-footer-grid>div:first-child{padding-left:0}.reference-footer-grid>div:last-child{border-right:0}
.footer-value-icon{grid-row:1 / span 2;display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.42);border-radius:50%;font-size:18px;color:#fff}
.reference-footer-grid strong{font-size:15.5px;line-height:1.25}.reference-footer-grid small{font-size:13px;color:#d5e4f1}
.student-reference-page{width:100%;padding-top:0}
.student-reference-hero{position:relative;display:grid;grid-template-columns:47% 53%;min-height:290px;overflow:hidden;background:#eef6fb;border-bottom:1px solid #dceaf3}
.student-reference-hero-copy{position:relative;z-index:2;padding:34px 0 20px;max-width:650px}
.reference-kicker{margin-bottom:10px;color:#08784d;font-size:16px;font-weight:700;letter-spacing:.01em}
.reference-kicker span{padding:0 4px;color:#1b8d69}
.student-reference-hero h1{margin:0 0 10px;color:#123d73;font-size:44px;line-height:1.08;letter-spacing:-.045em}
.student-reference-hero-copy>p{max-width:610px;margin:0;color:#233f5c;font-size:16px;line-height:1.55}
.student-reference-hero-art{position:relative;min-height:290px;overflow:hidden}
.student-reference-hero-art:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#eef6fb 0%,rgba(238,246,251,.8) 7%,rgba(238,246,251,0) 38%)}
.student-reference-hero-art img{width:100%;height:100%;object-fit:cover;object-position:center 56%;filter:saturate(.9)}
.reference-benefits{position:absolute;left:0;right:-500px;bottom:0;z-index:3;display:grid;grid-template-columns:repeat(4,190px);gap:25px}
.reference-benefits article{display:grid;grid-template-columns:42px 1fr;column-gap:10px;align-items:center;min-height:78px}
.reference-benefit-icon{grid-row:1 / span 2;display:grid;place-items:center;width:42px;height:42px;border:1px solid #c9d9e7;border-radius:50%;background:#fff;color:#08784d;font-size:21px}
.reference-benefits strong{font-size:14.5px;line-height:1.28;color:#14243a}.reference-benefits small{font-size:13px;line-height:1.35;color:#53687d}
.student-reference-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(360px,1fr);gap:18px;margin-top:18px;align-items:start}
.student-reference-main{min-width:0}
.student-welcome-strip{display:grid;grid-template-columns:58px minmax(230px,1fr) auto;gap:16px;align-items:center;min-height:72px;padding:11px 18px;border-radius:9px;background:linear-gradient(105deg,#073d77,#075898);color:#fff;box-shadow:0 4px 12px rgba(7,61,119,.12)}
.student-avatar{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#e8f1fa;color:#13538f;font-size:28px;border:3px solid #fff}
.student-welcome-copy h2{margin:0;color:#fff;font-size:16px;line-height:1.25}.student-welcome-copy h2 span{font-size:15.5px}.student-welcome-copy p{margin:4px 0 0;color:#d9e8f5;font-size:13px}.student-welcome-copy p b{padding:0 5px;color:#78cbb1}
.student-welcome-meta{display:flex;align-items:stretch;gap:24px}.student-welcome-meta>div{padding-left:18px;border-left:1px solid rgba(255,255,255,.28)}.student-welcome-meta small{display:block;color:#c7dced;font-size:12.5px}.student-welcome-meta strong{display:block;margin-top:4px;color:#fff;font-size:14px;white-space:nowrap}
.reference-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.reference-action-card{display:grid;grid-template-columns:78px 1fr;gap:14px;min-height:135px;padding:17px 16px;border:1px solid #e0e8f0;border-radius:10px;background:#fff;box-shadow:0 3px 11px rgba(30,60,90,.05);text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.reference-action-card:hover{transform:translateY(-2px);border-color:#a9c6dd;box-shadow:0 8px 18px rgba(30,60,90,.1);text-decoration:none}
.reference-action-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:12px;font-size:35px}.reference-action-card .icon-blue{background:#e8f1ff;color:#145aa4}.reference-action-card .icon-green{background:#daf0d5;color:#2d9e49}.reference-action-card .icon-gold{background:#fff0cc;color:#c98200}.reference-action-card .icon-purple{background:#eee2fa;color:#6540a7}.reference-action-card .icon-teal{background:#d7f1ed;color:#07878b}.reference-action-card .icon-navy{background:#e4edfb;color:#1b4d8f}
.reference-action-card h3{margin:2px 0 5px;color:#152a45;font-size:15px;line-height:1.2}.reference-action-card p{min-height:42px;margin:0;color:#52687d;font-size:13.5px;line-height:1.4}.reference-action-card b{display:block;margin-top:8px;color:#0c4b92;font-size:13.5px}.reference-action-card b span{float:right;font-size:18px;line-height:.7}
.reference-certificate-card{display:grid;grid-template-columns:78px 1fr auto;gap:14px;align-items:center;margin-top:12px;padding:15px 18px;border:1px solid #e0e8f0;border-radius:10px;background:#fff;box-shadow:0 3px 11px rgba(30,60,90,.05)}
.reference-certificate-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:12px;background:#dff1da;color:#168644;font-size:34px}.reference-certificate-card h3{margin:0 0 5px;color:#152a45;font-size:15px}.reference-certificate-card p{margin:0;color:#52687d;font-size:13.5px}.reference-certificate-card .button{border-color:#3c9475;color:#08784d;border-radius:6px;white-space:nowrap;font-size:14px}.reference-certificate-card .button:hover{background:#e8f6ef;color:#05633e}
.student-lifecycle-card{padding:17px 18px 15px;border:1px solid #e0e8f0;border-radius:10px;background:#fff;box-shadow:0 3px 11px rgba(30,60,90,.05)}
.student-lifecycle-heading{display:flex;align-items:center;gap:12px;padding-bottom:13px;border-bottom:1px solid #edf1f5}.student-lifecycle-heading>i{color:#07845a;font-size:21px}.student-lifecycle-heading h2{margin:0;color:#101b2b;font-size:16px}
.student-timeline{position:relative;padding:12px 0 0}.student-timeline:before{content:"";position:absolute;left:12px;top:27px;bottom:29px;width:2px;background:#dfe6eb}.student-timeline-item{position:relative;display:grid;grid-template-columns:27px 1fr;gap:12px;min-height:54px;padding-bottom:7px}.student-timeline-marker{position:relative;z-index:1;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#9ba5af;color:#fff;font-size:13px;font-weight:700;border:2px solid #fff}.student-timeline-item.is-complete .student-timeline-marker{background:#08784d}.student-timeline-item.is-current .student-timeline-marker{background:#1267c5;box-shadow:0 0 0 2px #c9e0fa}.student-timeline-content{padding-top:1px}.student-timeline-title{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.student-timeline-title strong{color:#263a50;font-size:14px}.student-timeline-item.is-complete .student-timeline-title strong{color:#08784d}.student-timeline-item.is-current .student-timeline-title strong{color:#1267c5}.student-timeline-title time{color:#748598;font-size:12.5px;white-space:nowrap}.student-timeline-content p{margin:3px 0 0;color:#6b7d8e;font-size:13px;line-height:1.35}.student-timeline-empty{margin:3px 0 0 39px;color:#6b7d8e;font-size:13px}
@media(max-width:1200px){.student-dashboard-page .portal-nav-shell .portal-nav>a.nav-tab{padding-left:9px;padding-right:9px;font-size:14px}.student-dashboard-page .brand span strong{font-size:23px}.reference-benefits{grid-template-columns:repeat(4,160px);gap:14px}.student-reference-hero h1{font-size:38px}}
@media(max-width:950px){.student-dashboard-page .portal-nav-shell{position:static;background:#fff;border-bottom:1px solid #e4edf4;pointer-events:auto}.student-dashboard-page .portal-nav-shell .portal-container{height:auto;justify-content:flex-start}.student-dashboard-page .portal-nav-shell .portal-nav{display:none;position:absolute;top:106px;left:14px;right:14px;z-index:30;flex-direction:column;align-items:stretch;padding:8px;background:#fff;border:1px solid #d9e7f1;box-shadow:0 10px 24px rgba(6,57,110,.14)}.student-dashboard-page .portal-nav-shell .portal-nav.is-open{display:flex}.student-dashboard-page .portal-nav-shell .portal-nav>a.nav-tab{padding:11px 13px;border-bottom:1px solid #edf2f6}.student-dashboard-page .nav-toggle{display:block}.student-dashboard-page .brand-row{min-height:84px}.student-dashboard-page .portal-nav-shell .portal-container{min-height:0}.student-reference-hero{grid-template-columns:1fr;min-height:430px}.student-reference-hero-copy{padding:30px 0 150px}.student-reference-hero-art{position:absolute;inset:0 0 0 42%;opacity:.65}.reference-benefits{right:0;bottom:18px;left:0;grid-template-columns:repeat(4,1fr);gap:8px}.student-reference-layout{grid-template-columns:1fr}.student-lifecycle-card{order:-1}}
@media(max-width:700px){.student-dashboard-page .brand img{width:54px;height:54px}.student-dashboard-page .brand span strong{font-size:18px}.student-dashboard-page .brand small{font-size:12px}.student-dashboard-page .brand span em{font-size:12.5px}.student-reference-hero-copy{padding:25px 0 175px}.student-reference-hero h1{font-size:32px}.student-reference-hero-copy>p{font-size:14.5px}.reference-benefits{grid-template-columns:repeat(2,1fr);gap:8px}.reference-benefits article{min-height:60px}.reference-benefit-icon{width:34px;height:34px;font-size:16px}.reference-benefits strong{font-size:13px}.reference-benefits small{font-size:12px}.student-welcome-strip{grid-template-columns:45px 1fr;gap:10px;padding:12px}.student-avatar{width:42px;height:42px;font-size:21px}.student-welcome-copy h2{font-size:15.5px}.student-welcome-meta{grid-column:1/-1;gap:15px;padding-top:8px;border-top:1px solid rgba(255,255,255,.22)}.student-welcome-meta>div{padding-left:10px}.reference-action-grid{grid-template-columns:1fr}.reference-action-card{min-height:0}.reference-certificate-card{grid-template-columns:54px 1fr}.reference-certificate-icon{width:50px;height:50px;font-size:24px}.reference-certificate-card .button{grid-column:2;justify-self:start}.reference-footer-grid{grid-template-columns:1fr 1fr;gap:16px;padding:18px 0}.reference-footer-grid>div{padding:0;border:0}.student-dashboard-page .footer-bottom{display:block;font-size:12.5px}.student-dashboard-page .footer-bottom span{display:block;margin-top:5px}}

/* Public homepage based on the supplied PASTIC landing-page reference. */
.home-page .portal-container{width:min(1200px,calc(100% - 32px))}
.home-page .gov-strip{height:35px;background:#06396e}
.home-page .gov-strip-inner{height:35px;padding:0;align-items:center;font-size:14px}
.home-page .brand-row{min-height:88px;padding:12px 0}
.home-page .brand img{width:58px;height:58px}
.home-page .brand span strong{font-size:22px;color:#123d73}
.home-page .brand small{font-size:13px;color:#28557d}
.home-page .brand span em{font-size:13px;color:#08784d}
.home-page .portal-nav-shell{position:absolute;top:35px;left:0;right:0;z-index:20;background:transparent;border:0;box-shadow:none;pointer-events:none}
.home-page .portal-nav-shell .portal-container{height:88px;justify-content:flex-end;pointer-events:auto}
.home-page .portal-nav-shell .portal-nav{gap:0;min-height:0}
.home-page .portal-nav-shell .portal-nav>a.nav-tab{padding:35px 13px 30px;color:#152a45;font-size:14px;font-weight:500;white-space:nowrap;border-bottom:3px solid transparent}
.home-page .portal-nav-shell .portal-nav>a.nav-tab:hover{background:transparent;color:#07559a;border-bottom-color:#07559a}
.home-page .portal-nav-shell .nav-actions{gap:10px;margin-left:10px}
.home-page .portal-nav-shell .nav-actions .button{min-height:40px;padding:9px 18px;border-radius:7px;font-size:14.5px}
.home-page .portal-nav-shell .button-outline{border-color:#9ebed8;color:#123d73;background:#fff}
.home-page .portal-nav-shell .button-primary{background:#07559a;border-color:#07559a}
.home-page .breadcrumb-bar{display:none}
.home-page .portal-main{padding:0 0 48px;background:#fff}
.home-page .portal-footer{background:#06396e;padding:0}
.home-page .reference-footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;max-width:1200px;margin:0 auto;padding:19px 0;border-bottom:1px solid rgba(255,255,255,.2)}
.home-page .reference-footer-grid>div{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:0 18px;border-right:1px solid rgba(255,255,255,.2);color:#fff}
.home-page .reference-footer-grid>div:first-child{padding-left:0}.home-page .reference-footer-grid>div:last-child{border-right:0}
.home-page .reference-footer-grid strong{font-size:14px;line-height:1.25}.home-page .reference-footer-grid small{font-size:12.5px;color:#d5e4f1}
.home-page .footer-value-icon{grid-row:1 / span 2;display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.42);border-radius:50%;font-size:16px;color:#fff}
.home-page .footer-bottom{max-width:1200px;margin:0 auto;padding:13px 0;border-top:0;color:#fff;display:flex;justify-content:space-between;font-size:13px}
.reference-home-page{color:#203b56}
.reference-home-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:30px;min-height:350px;padding:34px 48px 22px;overflow:hidden;background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.82) 26%,rgba(255,255,255,.35) 44%,rgba(255,255,255,0) 60%,rgba(255,255,255,0) 100%),url('assets/BUILDINGS.png') right center / cover no-repeat;border-bottom:1px solid #dceaf3}
.reference-home-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(120deg,rgba(255,255,255,.5) 25%,transparent 25%),linear-gradient(300deg,rgba(255,255,255,.3) 25%,transparent 25%);background-size:32px 32px;opacity:.2}
.reference-home-hero-copy,.reference-home-slot-card{position:relative;z-index:1}
.reference-home-hero-copy{max-width:690px}
.reference-home-tagline{margin:0 0 10px;color:#08784d;font-size:16px;font-weight:700;letter-spacing:.01em}
.reference-home-hero h1{max-width:460px;margin:0 0 12px;color:#123d73;font-size:clamp(3rem,4.5vw,3.6rem);line-height:1.02;letter-spacing:-.055em}
.reference-home-lead{max-width:590px;margin:0;color:#243f5d;font-size:15px;line-height:1.55}
.reference-home-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.reference-home-actions .button{min-height:42px;border-radius:7px;padding:10px 22px}.reference-home-actions .button-light{border-color:#9ebed8;color:#123d73;background:#fff}
.reference-home-proof{display:flex;align-items:center;gap:10px;margin-top:20px;color:#49677f;font-size:13px}.reference-home-avatars{display:flex}.reference-home-avatars i{display:grid;place-items:center;width:25px;height:25px;margin-left:-5px;border:2px solid #fff;border-radius:50%;background:#1b65a8;color:#fff;font-size:12px;font-style:normal}.reference-home-avatars i:first-child{margin-left:0;background:#08784d}.reference-home-avatars i:last-child{background:#0aa5a3}
.reference-home-slot-card{align-self:center;justify-self:end;width:270px;padding:20px;border:1px solid #d7e5ef;border-radius:12px;background:rgba(255,255,255,.95);box-shadow:0 8px 22px rgba(6,57,110,.1)}
.reference-slot-label{color:#07559a;font-size:14px;font-weight:700}.reference-slot-label i{margin-right:6px;color:#06a7a0}.reference-slot-number{margin:15px 0 5px;color:#08784d;font-size:42px;font-weight:800;line-height:1}.reference-slot-number span{color:#5a7389;font-size:16px;font-weight:500}.reference-slot-bar{height:7px;overflow:hidden;margin:12px 0;background:#dce8f0;border-radius:8px}.reference-slot-bar span{display:block;height:100%;background:#07845a;border-radius:8px}.reference-slot-intake{margin:10px 0 15px;color:#536e84;font-size:13px}.reference-home-slot-card .button{width:100%;min-height:38px;border-radius:6px;padding:8px 12px;font-size:14px}.reference-home-slot-card small{display:block;margin-top:11px;color:#71869a;font-size:12.5px;line-height:1.4}
.reference-home-trust{display:grid;grid-template-columns:repeat(4,1fr);margin:0 auto;background:linear-gradient(90deg,#06396e,#07559a);color:#fff}.reference-home-trust article{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;min-height:70px;padding:12px 18px;border-right:1px solid rgba(255,255,255,.2)}.reference-home-trust article:last-child{border-right:0}.reference-home-trust article>span{grid-row:1 / span 2;display:grid;place-items:center;width:31px;height:31px;border:1px solid rgba(255,255,255,.45);border-radius:50%;color:#bce9dd}.reference-home-trust strong{font-size:13px;line-height:1.2}.reference-home-trust small{font-size:12.5px;color:#c9deed;line-height:1.2}
.reference-home-section{padding:46px 0 0}.reference-section-heading{margin-bottom:24px}.reference-section-kicker{margin:0 0 6px;color:#07845a;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.reference-section-heading h2,.reference-home-section>h2{max-width:760px;margin:0;color:#123d73;font-size:25px;line-height:1.2;letter-spacing:-.035em}.reference-section-heading>div>p:last-child,.reference-section-sub{max-width:700px;margin:8px 0 0;color:#5d7388;font-size:14.5px;line-height:1.55}.reference-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.reference-why-card{min-height:260px;padding:20px;border:1px solid #dce8f1;border-radius:10px;background:#fff;box-shadow:0 4px 15px rgba(6,57,110,.05)}.reference-card-icon{display:grid;place-items:center;width:40px;height:40px;margin-bottom:12px;border-radius:50%;font-size:18px}.reference-card-icon.icon-green{background:#e5f6ee;color:#07845a}.reference-card-icon.icon-blue{background:#e7f0fd;color:#07559a}.reference-card-icon.icon-gold{background:#fff2d9;color:#bb7b00}.reference-card-icon.icon-teal{background:#e1f7f6;color:#078b88}.reference-why-card h3{margin:0 0 10px;color:#18324e;font-size:15px}.reference-why-card ul{margin:0;padding:0;list-style:none}.reference-why-card li{position:relative;margin:7px 0;padding-left:15px;color:#5d7183;font-size:13.5px;line-height:1.35}.reference-why-card li:before{content:"✓";position:absolute;left:0;color:#07845a;font-weight:700}.reference-why-card>a{display:inline-block;margin-top:12px;color:#07559a;font-size:13px;font-weight:700;text-decoration:none}.reference-duration-list{display:grid;gap:10px;margin:15px 0}.reference-duration-list span{display:block;padding:12px 14px;border:1px solid #b9dee2;border-radius:6px;background:#eefafa;color:#087d7c;font-size:15.5px;font-weight:700}.reference-why-card>p{margin:0;color:#718597;font-size:13px;line-height:1.5}
.reference-home-impact{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:36px;padding:18px;background:#eef7fb;border:1px solid #dceaf3;border-radius:8px}.reference-home-impact article{display:grid;grid-template-columns:35px 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;padding:0 17px;border-right:1px solid #cddfe9}.reference-home-impact article:last-child{border-right:0}.reference-home-impact article>span{grid-row:1 / span 2;display:grid;place-items:center;width:32px;height:32px;color:#078b88;font-size:18px}.reference-home-impact strong{color:#07559a;font-size:16px}.reference-home-impact small{color:#5e7488;font-size:12.5px}
.reference-route-section{margin-top:44px;padding:38px 32px 34px;border:1px solid #dce8f1;border-radius:10px;background:#f4f8fc}.reference-route-section>h2{margin:0;color:#123d73;font-size:28px}.reference-route-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin-top:28px}.reference-route-grid article{position:relative;text-align:center;padding:0 12px}.reference-route-grid article:not(:last-child):after{content:"";position:absolute;top:20px;right:-4px;width:calc(100% - 42px);height:1px;background:#b9cfdf}.reference-route-grid article>span{position:relative;z-index:1;display:grid;place-items:center;width:40px;height:40px;margin:0 auto 10px;border:2px solid #07559a;border-radius:50%;background:#fff;color:#07559a;font-size:15.5px;font-weight:700}.reference-route-grid article>i{display:block;margin-bottom:7px;color:#07845a;font-size:20px}.reference-route-grid h3{margin:0;color:#18324e;font-size:14.5px}.reference-route-grid p{margin:5px auto 0;color:#62788b;font-size:13px;line-height:1.4}
.reference-programmes-section{position:relative}.reference-heading-link{float:right;margin-top:-35px;color:#07559a;font-size:14px;font-weight:700;text-decoration:none}.reference-program-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.reference-program-card{padding:18px;border:1px solid #dce8f1;border-top:3px solid #06a7a0;border-radius:9px;background:#fff;box-shadow:0 4px 15px rgba(6,57,110,.05)}.reference-program-card:nth-child(3n+2){border-top-color:#07559a}.reference-program-top{display:flex;justify-content:space-between;gap:10px;color:#758a9c;font-size:12.5px}.reference-program-top b{padding:3px 8px;border-radius:20px;background:#e5f6ee;color:#08784d;font-size:12.5px}.reference-program-card h3{margin:14px 0 6px;color:#18324e;font-size:16px}.reference-program-card p{min-height:42px;margin:0;color:#607589;font-size:13.5px;line-height:1.45}.reference-program-card>div:last-of-type{display:flex;gap:16px;margin-top:13px;padding-top:10px;border-top:1px solid #edf2f6;color:#5c7388;font-size:12.5px}.reference-program-card>div:last-of-type strong{display:block;color:#8a9aaa;font-size:12px;text-transform:uppercase}.reference-program-card>a{display:block;margin-top:15px;color:#07559a;font-size:13px;font-weight:700;text-decoration:none}.reference-empty-state{margin-top:14px;padding:26px;text-align:center;border:1px dashed #bdd0df;border-radius:9px;background:#f8fbfd;color:#6b8092;font-size:14px}
.reference-home-verify{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:44px;padding:25px 28px;border:1px solid #cce7e2;border-radius:10px;background:linear-gradient(100deg,#eef9f7,#f8fcfb)}.reference-home-verify h2{margin:0;color:#123d73;font-size:24px}.reference-home-verify p:last-child{margin:7px 0 0;color:#5e7487;font-size:14px}.reference-home-verify .button{border-radius:7px;white-space:nowrap}
@media(max-width:1000px){.home-page .portal-nav-shell .portal-nav>a.nav-tab{padding-left:8px;padding-right:8px;font-size:13px}.home-page .brand span strong{font-size:19px}.reference-home-hero{grid-template-columns:1fr .65fr;padding-left:30px;padding-right:30px}.reference-home-hero h1{font-size:40px}.reference-home-trust,.reference-why-grid{grid-template-columns:repeat(2,1fr)}.reference-home-trust article:nth-child(2){border-right:0}.reference-home-trust article:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.2)}.reference-why-card{min-height:230px}.reference-home-impact{grid-template-columns:repeat(2,1fr);gap:14px}.reference-home-impact article:nth-child(2){border-right:0}.reference-home-impact article:nth-child(-n+2){padding-bottom:12px;border-bottom:1px solid #cddfe9}.reference-route-grid{grid-template-columns:repeat(3,1fr);gap:24px}.reference-route-grid article:nth-child(3):after{display:none}.reference-program-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.home-page .gov-strip-inner{font-size:12.5px}.home-page .brand-row{min-height:78px}.home-page .brand img{width:48px;height:48px}.home-page .brand span strong{font-size:17px}.home-page .brand small{font-size:12px}.home-page .brand span em{font-size:12px}.home-page .portal-nav-shell{position:static;background:#fff;border-bottom:1px solid #e4edf4;pointer-events:auto}.home-page .portal-nav-shell .portal-container{height:auto;justify-content:flex-start}.home-page .portal-nav-shell .portal-nav{display:none;position:absolute;top:113px;left:12px;right:12px;z-index:30;flex-direction:column;align-items:stretch;padding:8px;background:#fff;border:1px solid #d9e7f1;box-shadow:0 10px 24px rgba(6,57,110,.14)}.home-page .portal-nav-shell .portal-nav.is-open{display:flex}.home-page .portal-nav-shell .portal-nav>a.nav-tab{padding:11px 12px;border-bottom:1px solid #edf2f6}.home-page .portal-main{padding-bottom:24px}.reference-home-hero{grid-template-columns:1fr;min-height:560px;padding:28px 20px 18px;background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.88) 46%,rgba(255,255,255,.35) 100%),url('assets/BUILDINGS.png') center bottom / cover no-repeat}.reference-home-hero h1{font-size:34px}.reference-home-lead{font-size:14.5px}.reference-home-slot-card{align-self:end;justify-self:stretch;width:auto;margin:0 0 10px;padding:15px}.reference-slot-number{font-size:32px}.reference-home-proof{font-size:12.5px}.reference-home-trust{grid-template-columns:1fr 1fr}.reference-home-trust article{min-height:68px;padding:11px 10px}.reference-home-trust article:nth-child(odd){border-right:1px solid rgba(255,255,255,.2)}.reference-home-trust article:nth-child(2){border-right:0}.reference-home-section{padding-top:30px}.reference-section-heading h2,.reference-home-section>h2,.reference-route-section>h2{font-size:23px}.reference-why-grid{grid-template-columns:1fr}.reference-why-card{min-height:0}.reference-home-impact{grid-template-columns:1fr 1fr;padding:12px 8px}.reference-home-impact article{padding:8px 7px!important;border-right:1px solid #cddfe9!important;border-bottom:1px solid #cddfe9!important}.reference-home-impact article:nth-child(2n){border-right:0!important}.reference-home-impact article:nth-last-child(-n+2){border-bottom:0!important}.reference-route-section{margin-top:30px;padding:24px 14px}.reference-route-grid{grid-template-columns:1fr;gap:17px}.reference-route-grid article:not(:last-child):after{top:auto;bottom:-10px;right:50%;width:1px;height:18px}.reference-program-grid{grid-template-columns:1fr}.reference-heading-link{float:none;display:inline-block;margin-top:10px}.reference-home-verify{align-items:flex-start;flex-direction:column;margin-top:30px;padding:20px}.reference-home-verify h2{font-size:20px}.home-page .reference-footer-grid{grid-template-columns:1fr 1fr;gap:14px;padding:17px 0}.home-page .reference-footer-grid>div{padding:0;border:0}.home-page .footer-bottom{display:block;font-size:12.5px}.home-page .footer-bottom span{display:block;margin-top:5px}}

/* Use dependable text symbols for the new reference cards when the legacy icon font is unavailable. */
.reference-home-page .reference-slot-label i,.reference-home-page .reference-home-trust i,.reference-home-page .reference-card-icon i,.reference-home-page .reference-home-impact i,.reference-home-page .reference-route-grid article>i{font-family:"Segoe UI Symbol","Segoe UI Emoji",Arial,sans-serif;font-style:normal}
.reference-home-page .reference-slot-label i{font-size:0}.reference-home-page .reference-slot-label i:before{content:"📅";font-size:15.5px}
.reference-home-page .reference-home-trust article:nth-child(1)>span i,.reference-home-page .reference-home-trust article:nth-child(2)>span i,.reference-home-page .reference-home-trust article:nth-child(3)>span i,.reference-home-page .reference-home-trust article:nth-child(4)>span i{font-size:0}.reference-home-page .reference-home-trust article:nth-child(1)>span i:before{content:"🏛";font-size:15px}.reference-home-page .reference-home-trust article:nth-child(2)>span i:before{content:"🏅";font-size:15px}.reference-home-page .reference-home-trust article:nth-child(3)>span i:before{content:"👥";font-size:15px}.reference-home-page .reference-home-trust article:nth-child(4)>span i:before{content:"🛡";font-size:15px}
.reference-home-page .reference-why-card .reference-card-icon i{font-size:0}.reference-home-page .reference-why-card:nth-child(1) .reference-card-icon i:before{content:"🔬";font-size:18px}.reference-home-page .reference-why-card:nth-child(2) .reference-card-icon i:before{content:"📅";font-size:18px}.reference-home-page .reference-why-card:nth-child(3) .reference-card-icon i:before{content:"📄";font-size:18px}.reference-home-page .reference-why-card:nth-child(4) .reference-card-icon i:before{content:"🎓";font-size:18px}
.reference-home-page .reference-home-impact article>span i{font-size:0}.reference-home-page .reference-home-impact article:nth-child(1)>span i:before{content:"📅";font-size:17px}.reference-home-page .reference-home-impact article:nth-child(2)>span i:before{content:"📄";font-size:17px}.reference-home-page .reference-home-impact article:nth-child(3)>span i:before{content:"📈";font-size:17px}.reference-home-page .reference-home-impact article:nth-child(4)>span i:before{content:"🏅";font-size:17px}
.reference-home-page .reference-route-grid article>i{font-size:0}.reference-home-page .reference-route-grid article:nth-child(1)>i:before{content:"👤";font-size:20px}.reference-home-page .reference-route-grid article:nth-child(2)>i:before{content:"📝";font-size:20px}.reference-home-page .reference-route-grid article:nth-child(3)>i:before{content:"☁";font-size:20px}.reference-home-page .reference-route-grid article:nth-child(4)>i:before{content:"🔎";font-size:20px}.reference-home-page .reference-route-grid article:nth-child(5)>i:before{content:"✉";font-size:20px}
.brand-copy-government{display:none!important}
.home-page .brand-copy-portal{display:none!important}
.home-page .brand-copy-government{display:flex!important}
.home-page .brand-copy-government strong{font-size:14.5px!important;line-height:1.2!important;color:#1c2c42!important;letter-spacing:0!important}
.home-page .brand-copy-government small{font-size:14px!important;line-height:1.25!important;color:#1c2c42!important;letter-spacing:0!important;text-transform:none!important}
.home-page .brand-copy-government em{font-size:14.5px!important;line-height:1.25!important;color:#08784d!important;letter-spacing:0!important}
.student-dashboard-page .brand-copy-portal{display:flex!important}
.student-dashboard-page .brand-copy-government{display:none!important}
.home-page .reference-home-hero{width:100vw;margin-left:calc(50% - 50vw);padding-left:max(32px,calc((100vw - 1160px)/2));padding-right:max(32px,calc((100vw - 1160px)/2));border-radius:0}
@media(max-width:700px){.home-page .reference-home-hero{width:100vw;margin-left:calc(50% - 50vw);padding-left:20px;padding-right:20px}}

/* =====================================================================
   PASTIC 2025 THEME LAYER  (appended — last definition wins)
   Navy #0b3d91 · Deep #072a66 · Green #0d9f4f · Surface #f4f7fc · Inter
   Applies the uploaded reference theme site-wide across every page.
   ===================================================================== */
:root{
  /* legacy green/teal system */
  --green:#0d9f4f;--green-dark:#0b8542;--teal:#0d9f4f;--navy:#0b3d91;--gold:#c9a227;
  --paper:#f4f7fc;--line:#e3eaf3;--muted:#5c6b7a;--success:#0d9f4f;--danger:#c0392b;
  --shadow:0 2px 12px rgba(11,61,145,.07);
  /* pine/warm system */
  --ink:#1a2332;--pine:#0d9f4f;--mint:#e8f7ef;--warm:#f4f7fc;--line-soft:#e3eaf3;
  /* reference system */
  --ref-navy:#0b3d91;--ref-blue:#1a56b0;--ref-purple:#7064c8;--ref-magenta:#a52b70;--ref-pale:#f4f7fc;
  /* prototype system */
  --proto-navy:#0b3d91;--proto-navy-2:#072a66;--proto-ink:#1a2332;--proto-muted:#5c6b7a;
  --proto-line:#e3eaf3;--proto-pink:#0d9f4f;--proto-pink-pale:#e8f7ef;--proto-blue-pale:#e8f0fb;--proto-bg:#f4f7fc;
  /* pastic system */
  --pastic-blue:#0b3d91;--pastic-deep:#072a66;--pastic-green:#0d9f4f;--pastic-teal:#1a56b0;
  --pastic-gold:#c9a227;--pastic-purple:#7064c8;--pastic-surface:#f4f7fc;--pastic-shadow:0 2px 12px rgba(11,61,145,.07);
  /* canonical tokens */
  --primary:#0b3d91;--primary-dark:#072a66;--primary-light:#1a56b0;
  --brand-green:#0d9f4f;--brand-green-dark:#0b8542;--surface:#f4f7fc;--border:#e3eaf3;--radius:12px;
}

/* ---- Typography & surface ---- */
body{font-family:'Inter',system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;background:#f4f7fc!important;color:#1a2332}
h1,h2,h3,h4,h5,h6,.page-header h1,.reference-kicker{font-family:'Inter',system-ui,sans-serif}
.portal-main{background:#f4f7fc!important}
.reference-kicker,.tagline,.hero-left .tagline{color:#0d9f4f!important}

/* ---- Buttons ---- */
.button,.btn{border-radius:8px;font-weight:600;transition:.2s}
.button-primary,.nav-apply,.nav-apply-static,.btn-primary{background:#0d9f4f!important;border:1.5px solid #0d9f4f!important;color:#fff!important;box-shadow:none!important}
.button-primary:hover,.nav-apply:hover,.nav-apply-static:hover,.btn-primary:hover{background:#0b8542!important;border-color:#0b8542!important;color:#fff!important;box-shadow:0 4px 12px rgba(13,159,79,.3)!important}
.button-outline,.btn-outline{background:transparent!important;border:1.5px solid #0b3d91!important;color:#0b3d91!important}
.button-outline:hover,.btn-outline:hover{background:#0b3d91!important;color:#fff!important}

/* ---- Header / nav / breadcrumb ---- */
.portal-header{background:#fff!important;border-bottom:1px solid #e3eaf3!important;box-shadow:0 2px 14px rgba(11,61,145,.06)!important}
.gov-strip{background:#072a66!important;color:#fff!important}
.gov-strip a{color:#dbe6f7!important}
.brand-copy strong,.brand-copy-portal strong{color:#0b3d91!important}
.nav-tab:hover{color:#0b3d91!important;border-bottom-color:#0d9f4f!important}
.nav-tab.is-active,.nav-tab.active,.nav-tab[aria-current="page"]{color:#0b3d91!important;border-bottom-color:#0b3d91!important}
.role-nav-link:hover{color:#0b3d91!important}
.breadcrumb-bar{background:#eef3fb!important;border-bottom:1px solid #e3eaf3!important}
.breadcrumb-inner strong{color:#0b3d91!important}
.signed-in-banner{border-radius:12px;background:#e8f0fb!important;border:1px solid #d3e0f3!important}
.signed-in-banner .role-label{display:inline-flex;align-items:center;background:#0d9f4f!important;color:#fff!important;border-radius:999px;padding:.22rem .8rem;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;line-height:1.4;white-space:nowrap}

/* ---- Cards, panels, forms, tables ---- */
.form-card,.panel,.card,.reference-panel,.data-card,.stat-card,.summary-card{border-radius:12px!important;border-color:#e3eaf3!important}
.form-card,.panel{box-shadow:0 2px 12px rgba(11,61,145,.07)}
.field input,.field select,.field textarea,input.form-control,select.form-control,textarea.form-control{border-radius:8px;border-color:#d7e0ee}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#0b3d91;box-shadow:0 0 0 3px rgba(11,61,145,.12);outline:none}
table thead th,.data-table thead th{background:#eef3fb!important;color:#0b3d91!important}
.page-header h1{color:#0b3d91!important}

/* ---- Student dashboard: welcome banner ---- */
.student-welcome-strip{background:linear-gradient(135deg,#0b3d91 0%,#1a56b0 100%)!important;border-radius:12px!important;box-shadow:0 4px 12px rgba(11,61,145,.14)!important}

/* ---- Student dashboard: action cards ---- */
.reference-action-card{border-radius:12px!important;border:1px solid #e3eaf3!important;box-shadow:0 2px 12px rgba(11,61,145,.06)!important}
.reference-action-card:hover{border-color:#c5d5ec!important;box-shadow:0 8px 18px rgba(11,61,145,.1)!important;transform:translateY(-2px)}
.reference-action-card b,.reference-action-card .go-link,.reference-action-card h3{color:#0b3d91!important}
.reference-action-card p{color:#5c6b7a!important}
.reference-action-icon{border-radius:12px!important}
.reference-action-icon.icon-blue{background:#e8f0fb!important;color:#1a56b0!important}
.reference-action-icon.icon-green{background:#e6f5f0!important;color:#0d9f4f!important}
.reference-action-icon.icon-gold{background:#fef3e6!important;color:#d99b2b!important}
.reference-action-icon.icon-purple{background:#f0eaf8!important;color:#7064c8!important}
.reference-action-icon.icon-teal{background:#e8f7ef!important;color:#0d9f4f!important}
.reference-action-icon.icon-navy{background:#ebeaf8!important;color:#0b3d91!important}

/* ---- Student dashboard: certificate bar ---- */
.reference-certificate-card{border-radius:12px!important;border:1px solid #e3eaf3!important}
.reference-certificate-icon{background:#e8f7ef!important;color:#0d9f4f!important;border-radius:12px!important}
.reference-certificate-card h3{color:#0b3d91!important}
.reference-certificate-card .button-outline{border-color:#0d9f4f!important;color:#0d9f4f!important}
.reference-certificate-card .button-outline:hover{background:#0d9f4f!important;color:#fff!important}

/* ---- Student dashboard: status timeline ---- */
.student-lifecycle-card{border-radius:12px!important;border:1px solid #e3eaf3!important}
.student-lifecycle-heading h2{color:#0b3d91!important}
.student-timeline-item.is-complete .student-timeline-marker{background:#0d9f4f!important;color:#fff!important;border:2px solid #0d9f4f!important}
.student-timeline-item.is-current .student-timeline-marker{background:#e8f0fb!important;color:#0b3d91!important;border:2px solid #0b3d91!important;box-shadow:0 0 0 2px rgba(11,61,145,.18)!important}
.student-timeline-item.is-pending .student-timeline-marker{background:#f0f3f7!important;color:#9aa8b8!important;border:2px solid #d0d8e0!important}

/* ---- Student dashboard: hero band ---- */
.student-reference-hero{background:linear-gradient(180deg,#eef4fb 0%,#f8fafc 100%)!important;border-radius:16px}
.student-reference-hero h1{color:#072a66!important}
.reference-benefit-icon{background:#e8f0fa!important;color:#0d9f4f!important}

/* ---- Footer ---- */
.portal-footer{background:#072a66!important;color:#a8c0e0!important}
.portal-footer strong{color:#d0e0f5!important}
.footer-value-icon{background:rgba(255,255,255,.1)!important;color:#d0e0f5!important}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12)!important}

/* ---- Homepage (Default.aspx) consistency with 2025 theme ---- */
.reference-home-hero h1{color:#072a66!important}
.reference-home-slot-card{border-radius:12px!important;border-color:#e3eaf3!important}
.reference-home-slot-card .button{border-radius:8px!important}
.reference-card-icon.icon-blue{background:#e8f0fb!important;color:#1a56b0!important}
.reference-card-icon.icon-green{background:#e6f5f0!important;color:#0d9f4f!important}
.reference-card-icon.icon-gold{background:#fef3e6!important;color:#d99b2b!important}
.reference-card-icon.icon-teal{background:#e8f7ef!important;color:#0d9f4f!important}
.reference-program-card{border-radius:12px!important;border-top:3px solid #0d9f4f!important}
.reference-program-card:nth-child(3n+2){border-top-color:#0b3d91!important}
.reference-program-card h3,.reference-why-card h3{color:#0b3d91!important}
.reference-why-card{border-radius:12px!important}
.reference-why-card li:before{color:#0d9f4f!important}

/* =====================================================================
   POLISH LAYER  ·  CAPTCHA widget · 4-column footer · charm refinements
   ===================================================================== */

/* ---- CAPTCHA widget ---- */
.captcha-field{display:block}
.captcha-field>label{display:block;margin-bottom:6px}
.captcha-field .captcha-box{display:flex;align-items:center;gap:8px;margin:0;width:100%}
.captcha-field .captcha-img{width:132px;height:42px;flex:0 0 auto}
.captcha-field .captcha-refresh{width:38px;height:38px;flex:0 0 auto}
.captcha-img{border:1px solid #d7e0ee;border-radius:8px;display:block;box-shadow:0 2px 8px rgba(11,61,145,.08)}
.captcha-refresh{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;border:1px solid #d7e0ee;background:#f4f7fc;color:#0b3d91;cursor:pointer;font-size:16px;transition:.15s}
.captcha-refresh:hover{background:#0b3d91;color:#fff;border-color:#0b3d91}
.captcha-input{letter-spacing:.12em;font-weight:600;margin:0}
.captcha-field .captcha-input,.captcha-field input.captcha-input{flex:1 1 0;width:auto;min-width:0;max-width:none;margin:0}

/* ---- Footer (4-column) ---- */
.portal-footer{background:#0b2e63!important;color:#a8c0e0!important;padding:0!important}
.footer-columns{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.7fr;gap:34px;padding:46px 0 30px}
.footer-col h3{color:#fff!important;font-size:15px;font-weight:700;margin:0 0 16px;letter-spacing:.01em}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col li{margin:0 0 11px}
.footer-col a{color:#b9cbe6;font-size:14px;transition:.15s}
.footer-col a:hover{color:#fff;text-decoration:none}
.footer-brand{display:flex;align-items:center;gap:11px;margin-bottom:15px}
.footer-brand img{width:44px;height:44px;border-radius:50%;background:#fff;padding:3px;object-fit:contain}
.footer-brand strong{color:#fff;font-size:16px;font-weight:700}
.footer-brand-col>p{color:#9fb6d6;font-size:13.5px;line-height:1.65;margin:0 0 18px;max-width:330px}
.footer-social{display:flex;gap:10px}
.footer-social a{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:rgba(255,255,255,.1);color:#dbe6f7;font-size:15px}
.footer-social a:hover{background:#0d9f4f;color:#fff}
.footer-help-col .footer-contact{display:flex;gap:11px;align-items:flex-start;margin:0 0 13px;color:#c3d3ea;font-size:13.5px}
.footer-contact i{color:#0d9f4f;margin-top:3px;width:16px;text-align:center;flex-shrink:0}
.footer-contact span{display:flex;flex-direction:column;line-height:1.45}
.footer-contact a{color:#dbe6f7}
.footer-contact small{color:#8ea6c8;font-size:11.5px}
.footer-subscribe-block{margin-top:18px}
.footer-subscribe-block h4{color:#fff;font-size:14px;font-weight:700;margin:0 0 9px}
.footer-subscribe{display:flex;gap:8px}
.footer-subscribe-input{flex:1;min-width:0;padding:10px 12px;border-radius:8px;border:1px solid #35507d;background:#fff;color:#1a2332;font-size:13px}
.footer-subscribe-input:focus{outline:none;border-color:#0d9f4f;box-shadow:0 0 0 3px rgba(13,159,79,.2)}
.footer-subscribe-btn{white-space:nowrap;padding:10px 18px!important}
.footer-bottom{display:flex!important;justify-content:space-between;align-items:center;gap:16px;padding:16px 0!important;border-top:1px solid rgba(255,255,255,.12)!important;font-size:13px;color:#9fb6d6}
.footer-bottom-links{display:flex;gap:24px}
.footer-bottom-links a{color:#b9cbe6}
.footer-bottom-links a:hover{color:#fff}

/* ---- Page & component charm ---- */
.page-header{position:relative;padding-left:16px}
.page-header:before{content:"";position:absolute;left:0;top:4px;bottom:12px;width:4px;border-radius:4px;background:linear-gradient(#0d9f4f,#0b3d91)}
.page-header .eyebrow{color:#0d9f4f}
.alert{border-radius:10px}
.dashboard-welcome-card .eyebrow{color:#b9f2d6!important}
.workflow-step.is-complete b{background:#0d9f4f!important;border-color:#0d9f4f!important;color:#fff!important}
.workflow-step.is-current b{background:#0b3d91!important;border-color:#0b3d91!important;color:#fff!important}
.dashboard-action-card b{color:#0b3d91}
.dashboard-icon.icon-blue{background:#e8f0fb;color:#1a56b0}
.dashboard-icon.icon-green{background:#e6f5f0;color:#0d9f4f}
.dashboard-icon.icon-gold{background:#fef3e6;color:#d99b2b}
.dashboard-icon.icon-purple{background:#f0eaf8;color:#7064c8}
.dashboard-action-icon.icon-blue{background:#e8f0fb;color:#1a56b0}
.dashboard-action-icon.icon-green{background:#e6f5f0;color:#0d9f4f}
.dashboard-action-icon.icon-gold{background:#fef3e6;color:#d99b2b}
.dashboard-action-icon.icon-purple{background:#f0eaf8;color:#7064c8}
.dashboard-action-icon.icon-navy{background:#ebeaf8;color:#0b3d91}
.dashboard-action-icon.icon-teal{background:#e8f7ef;color:#0d9f4f}

@media(max-width:860px){.footer-columns{grid-template-columns:1fr 1fr;gap:28px}.footer-bottom{flex-direction:column;text-align:center}}
@media(max-width:520px){.footer-columns{grid-template-columns:1fr}}

/* Hide public/visitor nav tabs once a user is signed in (any role) */
.is-authenticated .nav-tab-public{display:none!important}

/* =====================================================================
   Unify header/nav layout: make inner pages match the home page
   (nav inline to the right of the logo). Desktop only; home untouched.
   ===================================================================== */
@media(min-width:981px){
  .portal-page:not(.home-page) .gov-strip{min-height:35px}
  .portal-page:not(.home-page) .gov-strip-inner{min-height:35px}
  .portal-page:not(.home-page) .portal-header{position:relative;z-index:10}
  .portal-page:not(.home-page) .brand-row{min-height:88px;padding:12px 0;align-items:center}
  .portal-page:not(.home-page) .portal-nav-shell{position:absolute;top:35px;left:0;right:0;z-index:20;background:transparent;border:0;box-shadow:none;pointer-events:none}
  .portal-page:not(.home-page) .portal-nav-shell .portal-container{height:88px;display:flex;align-items:center;justify-content:flex-end;pointer-events:auto}
  .portal-page:not(.home-page) .portal-nav-shell .portal-nav{gap:0;min-height:0;flex-wrap:nowrap;align-items:center}
  .portal-page:not(.home-page) .portal-nav-shell .portal-nav>a.nav-tab,
  .portal-page:not(.home-page) .portal-nav-shell .role-nav-link{display:flex;align-items:center;padding:33px 11px 30px;color:#152a45;font-size:14px;font-weight:500;letter-spacing:0;text-transform:none;white-space:nowrap;border:0;border-bottom:3px solid transparent;background:transparent;text-decoration:none}
  .portal-page:not(.home-page) .portal-nav-shell .portal-nav>a.nav-tab:hover,
  .portal-page:not(.home-page) .portal-nav-shell .role-nav-link:hover{background:transparent;color:#0b3d91;border-bottom-color:#0b3d91;text-decoration:none}
  .portal-page:not(.home-page) .portal-nav-shell .role-nav-links{display:flex;align-items:center;gap:0}
  .portal-page:not(.home-page) .portal-nav-shell .nav-actions{display:flex;align-items:center;gap:10px;margin-left:12px}
  .portal-page:not(.home-page) .portal-nav-shell .nav-actions .button{min-height:40px;padding:9px 18px;border-radius:7px;font-size:14px}
  /* breadcrumb sits just under the taller header now */
  .portal-page:not(.home-page) .breadcrumb-bar{position:relative;z-index:5}
}

/* Inner-page brand: trim the long description line so the nav has room
   (was crowding the header). Home page keeps its own brand treatment. */
.portal-page:not(.home-page) .brand-copy-portal small{display:none}
.portal-page:not(.home-page) .brand-copy-portal strong{font-size:19px;line-height:1.15;color:#123d73}
.portal-page:not(.home-page) .brand-copy-portal em{font-size:12.5px;line-height:1.2;color:#08784d}
.portal-page:not(.home-page) .brand img{width:52px;height:52px}
@media(min-width:981px){
  .portal-page:not(.home-page) .brand{max-width:360px}
}

/* Home page: use the same trimmed brand as inner pages
   (drop "Government of Pakistan / Ministry of Science & Technology"). */
.home-page .brand-copy-government{display:none!important}
.home-page .brand-copy-portal{display:flex!important}
.home-page .brand-copy-portal small{display:none!important}
.home-page .brand-copy-portal strong{font-size:19px!important;line-height:1.15!important;color:#123d73!important;letter-spacing:0!important}
.home-page .brand-copy-portal em{font-size:12.5px!important;line-height:1.2!important;color:#08784d!important;letter-spacing:0!important;text-transform:none!important}

/* Make nav read as a menu, not body text: semibold everywhere */
.portal-nav-shell .portal-nav>a.nav-tab,
.portal-nav-shell .role-nav-link{font-weight:600!important;letter-spacing:.005em}

/* ============================================================
   AUTH SPLIT LAYOUT — Login & Register (two-panel)
   ============================================================ */
.auth-split{display:grid;grid-template-columns:1.02fr 1fr;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;overflow:hidden;max-width:1000px;margin:1.5rem auto}
.auth-aside{position:relative;background:linear-gradient(160deg,#1a56b0 0%,#0a2547 100%);color:#fff;padding:2.75rem 2.5rem;display:flex;flex-direction:column;overflow:hidden}
.auth-aside::after{content:"";position:absolute;right:-140px;bottom:-140px;width:340px;height:340px;border:1px solid rgba(255,255,255,.08);border-radius:50%}
.auth-aside-brand{display:flex;align-items:center;gap:.75rem;padding-bottom:1.25rem;border-bottom:1px solid rgba(255,255,255,.16);position:relative;z-index:1}
.auth-aside-brand img{height:44px;width:auto;background:#fff;padding:5px;border-radius:8px}
.auth-aside-brand b{display:block;font-size:.98rem;font-weight:700;line-height:1.15}
.auth-aside-brand span{display:block;margin-top:4px;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.65)}
.auth-aside-eyebrow{margin-top:2rem;font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#9ec3ee;position:relative;z-index:1}
.auth-aside h2{margin:.75rem 0 0;font-size:1.9rem;line-height:1.2;font-weight:800;letter-spacing:-.01em;max-width:15ch;position:relative;z-index:1}
.auth-aside p{margin:.9rem 0 0;font-size:.98rem;line-height:1.65;color:rgba(255,255,255,.82);max-width:46ch;position:relative;z-index:1}
.auth-steps{margin-top:auto;padding-top:1.5rem;position:relative;z-index:1}
.auth-step{display:grid;grid-template-columns:30px 1fr;gap:.8rem;padding:.6rem 0;border-top:1px solid rgba(255,255,255,.14)}
.auth-step:last-child{border-bottom:1px solid rgba(255,255,255,.14)}
.auth-step i{font-style:normal;font-size:1.3rem;font-weight:800;color:rgba(255,255,255,.5)}
.auth-step b{display:block;font-size:.86rem;font-weight:700}
.auth-step span{display:block;margin-top:2px;font-size:.8rem;line-height:1.5;color:rgba(255,255,255,.7)}
.auth-form-side{padding:2.5rem 2.25rem}
.auth-form-side .page-header{padding:0 0 1.25rem;border-bottom:0;margin-bottom:1.25rem}
.auth-form-side .page-header .eyebrow{color:#0d9f4f}
.auth-form-side .form-card{max-width:none;margin:0;padding:0;border:0;box-shadow:none;background:transparent}
.auth-split .button-outline{background:#fff;border-color:#0d9f4f;color:#0d9f4f}
@media(max-width:860px){
  .auth-split{grid-template-columns:1fr;max-width:560px}
  .auth-aside{padding:2rem 1.75rem}
  .auth-aside h2{font-size:1.55rem}
  .auth-steps{display:none}
  .auth-form-side{padding:1.75rem 1.5rem}
}

/* ============================================================
   AUDIT & SECURITY CENTER
   ============================================================ */
.audit-cards{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:0 0 18px}
.audit-card{background:#fff;border:1px solid var(--proto-line);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.audit-card-label{font-size:12px;color:var(--proto-muted);font-weight:600}
.audit-card strong{font-size:26px;line-height:1;color:var(--proto-navy)}
.audit-card-warn strong{color:#b8860b}
.audit-card-critical strong{color:#c0392b}

.audit-alerts{background:#fff5f5;border:1px solid #f3d0d0;border-radius:10px;padding:14px 16px;margin-bottom:18px}
.audit-alerts-title{font-size:15px;margin:0 0 10px;color:#a4342b}
.audit-alert{display:flex;align-items:flex-start;gap:12px;padding:8px 0;border-top:1px solid #f3dede}
.audit-alert:first-of-type{border-top:0}
.audit-alert b{display:block;font-size:13.5px}
.audit-alert span span{display:block;font-size:12.5px;color:var(--proto-muted)}

.audit-tabs{display:flex;gap:6px;border-bottom:2px solid var(--proto-navy);margin-bottom:0}
.audit-tab{appearance:none;background:#eef1fa;border:1px solid var(--proto-line);border-bottom:0;border-radius:8px 8px 0 0;padding:10px 18px;font-size:13.5px;font-weight:600;color:var(--proto-navy);text-decoration:none;cursor:pointer}
.audit-tab.is-active{background:var(--proto-navy);color:#fff;border-color:var(--proto-navy)}

.audit-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:16px}
.filter-field{display:flex;flex-direction:column;gap:5px}
.filter-field label{font-size:11.5px;font-weight:600;color:var(--proto-muted);text-transform:uppercase;letter-spacing:.04em}
.filter-field input,.filter-field select{padding:9px 10px;border:1px solid var(--proto-line);border-radius:7px;font-size:13.5px;min-width:130px}
.filter-grow{flex:1;min-width:200px}
.filter-grow input{width:100%}
.filter-actions{display:flex;gap:8px;margin-left:auto}

.audit-table td{vertical-align:top;font-size:13px}
.audit-table small{color:var(--proto-muted)}
.audit-view{background:none;border:0;color:var(--proto-navy);font-weight:600;cursor:pointer;text-decoration:underline;padding:0;font-size:13px}

.sev{display:inline-block;padding:2px 9px;border-radius:999px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#fff}
.sev-info{background:#3157a4}
.sev-low{background:#5b87a8}
.sev-medium{background:#c8880f}
.sev-high{background:#e2691a}
.sev-critical{background:#c0392b}

.audit-paging{display:flex;align-items:center;gap:14px;margin-top:14px;justify-content:flex-end;font-size:13px;color:var(--proto-muted)}

.audit-timeline{list-style:none;margin:0;padding:0}
.audit-timeline li{position:relative;padding:0 0 14px 18px;border-left:2px solid var(--proto-line)}
.audit-timeline li:before{content:"";position:absolute;left:-6px;top:2px;width:10px;height:10px;border-radius:50%;background:var(--proto-navy)}
.audit-timeline-time{display:block;font-size:11.5px;color:var(--proto-muted)}
.audit-timeline b{display:block;font-size:13px;margin-top:2px}

.audit-modal{display:none;position:fixed;inset:0;background:rgba(16,32,43,.55);z-index:1000;align-items:center;justify-content:center;padding:24px}
.audit-modal.is-open{display:flex}
.audit-modal-box{background:#fff;border-radius:12px;max-width:640px;width:100%;max-height:85vh;overflow:auto;padding:26px 28px;position:relative}
.audit-modal-box h3{margin:0 0 16px;color:var(--proto-navy)}
.audit-modal-close{position:absolute;top:14px;right:16px;background:none;border:0;font-size:24px;line-height:1;cursor:pointer;color:var(--proto-muted)}
.audit-detail{display:grid;grid-template-columns:130px 1fr;gap:8px 14px;margin:0}
.audit-detail dt{font-weight:600;color:var(--proto-muted);font-size:12.5px}
.audit-detail dd{margin:0;font-size:13px;word-break:break-word}
.audit-detail pre{white-space:pre-wrap;word-break:break-word;background:#f4f7fc;border:1px solid var(--proto-line);border-radius:7px;padding:8px 10px;margin:0;font-size:12px}

@media(max-width:1000px){.audit-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.audit-cards{grid-template-columns:repeat(2,1fr)}.filter-actions{margin-left:0;width:100%}.audit-detail{grid-template-columns:1fr}}

/* E-mail log: result badge + message preview */
.sev-sent{background:#0d9f4f}
.mail-body-title{margin:18px 0 8px;font-size:14px;color:var(--proto-navy)}
.mail-body-frame{width:100%;height:320px;border:1px solid var(--proto-line);border-radius:8px;background:#fff}
.card-link-danger{color:#c0392b}
.card-link-danger:hover{color:#8a1c13;text-decoration:underline}

/* ============================================================
   PORTAL MODAL — confirmations (application submitted, etc.)
   ============================================================ */
.portal-modal{display:none;position:fixed;inset:0;z-index:1200;background:rgba(16,32,43,.55);backdrop-filter:blur(2px);align-items:center;justify-content:center;padding:24px}
.portal-modal.is-open{display:flex;animation:portalFade .18s ease-out}
.portal-modal-box{background:#fff;border-radius:16px;max-width:520px;width:100%;padding:34px 34px 28px;text-align:center;box-shadow:0 26px 60px rgba(9,30,56,.28);animation:portalPop .22s cubic-bezier(.2,.9,.3,1.2)}
.portal-modal-icon{width:66px;height:66px;margin:0 auto 18px;border-radius:50%;background:#e8f7ef;color:#0d9f4f;display:grid;place-items:center;font-size:30px}
.portal-modal-box h2{margin:0 0 8px;font-size:1.5rem;color:var(--proto-navy)}
.portal-modal-lead{margin:0 0 18px;color:var(--proto-muted);font-size:14.5px;line-height:1.6}
.portal-modal-ref{background:#f4f7fc;border:1px dashed #c8d6ea;border-radius:10px;padding:12px 14px;margin-bottom:18px}
.portal-modal-ref span{display:block;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--proto-muted);font-weight:600}
.portal-modal-ref strong{display:block;margin-top:4px;font-size:16px;color:var(--proto-navy);letter-spacing:.02em}
.portal-modal-steps{list-style:none;margin:0 0 22px;padding:0;text-align:left}
.portal-modal-steps li{position:relative;padding:7px 0 7px 26px;font-size:13.5px;color:#3e4c56;line-height:1.55}
.portal-modal-steps li:before{content:"✓";position:absolute;left:0;top:7px;color:#0d9f4f;font-weight:700}
.portal-modal-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
@keyframes portalFade{from{opacity:0}to{opacity:1}}
@keyframes portalPop{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:520px){.portal-modal-box{padding:26px 20px 22px}.portal-modal-actions .button{width:100%}}
.doc-scope{font-size:.72em;font-weight:600;color:var(--proto-muted);letter-spacing:.01em}

/* ============================================================
   Signed-in header: keep the role menu clear of the brand.
   The admin menu carries the most items, so the row is allowed to
   compress and scroll horizontally instead of overlapping the logo.
   ============================================================ */
@media(min-width:981px){
  .portal-page:not(.home-page) .portal-nav-shell .portal-container{padding-left:325px}
  .portal-page:not(.home-page) .portal-nav-shell .portal-nav{max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
  .portal-page:not(.home-page) .portal-nav-shell .portal-nav::-webkit-scrollbar{display:none}
  .portal-page:not(.home-page) .portal-nav-shell .role-nav-link{padding-left:8px;padding-right:8px;font-size:13.5px}
  .portal-page:not(.home-page) .portal-nav-shell .nav-actions{margin-left:8px;flex:0 0 auto}
}
@media(min-width:981px) and (max-width:1400px){
  .portal-page:not(.home-page) .portal-nav-shell .role-nav-link{padding-left:6px;padding-right:6px;font-size:12.75px}
  .portal-page:not(.home-page) .brand-copy-portal small,
  .portal-page:not(.home-page) .brand-copy-government small{display:none}
  .portal-page:not(.home-page) .portal-nav-shell .portal-container{padding-left:290px}
}
.badge-unassigned{background:#fff3cd!important;color:#7a4c00!important;border:1px solid #f3d18c}

/* Profile completeness bar */
.completeness-panel{margin-bottom:1rem}
.completeness-bar{height:12px;border-radius:999px;background:#e6ecf5;overflow:hidden;margin:6px 0 10px}
.completeness-fill{display:block;height:100%;background:#0b3d91;border-radius:999px;transition:width .35s ease}
.completeness-fill.is-complete{background:#0d9f4f}
.completeness-text{margin:0;font-size:14px;color:var(--proto-ink)}

/* Unpaid programme notice */
.unpaid-notice{margin:14px 0 18px;padding:11px 14px;background:#fff7e6;border:1px solid #f3d18c;border-radius:8px;font-size:14px;color:#6b4a06;max-width:52ch}
.unpaid-notice-dark{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.28);color:#fff;max-width:46ch;font-size:13px}

/* ADMIN OPTIONS ------------------------------------------------------------ */
.option-group{margin:1.6rem 0 .6rem;padding-bottom:.4rem;border-bottom:1px solid var(--line-soft,#dce6e1);font-size:1.05rem;letter-spacing:.04em;text-transform:uppercase;color:#5b6867}
.option-group:first-of-type{margin-top:.4rem}
.option-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,.9fr);gap:1.25rem;align-items:start;padding:.95rem 0;border-bottom:1px solid #eef2f0}
.option-row:last-of-type{border-bottom:0}
.option-label label{display:block;font-weight:700;color:var(--navy,#172b3a)}
.option-label .help{margin:.25rem 0 .3rem;max-width:62ch}
.option-code{display:inline-block;font-family:Consolas,"Courier New",monospace;font-size:0.78rem;color:#7d8b89;background:#f2f5f4;padding:.12rem .4rem}
.option-input{display:flex;flex-direction:column;gap:.3rem}
.option-value{width:100%;border:1px solid #bccbc6;padding:.6rem .7rem;font:inherit;background:#fff;color:#263838}
.option-value:focus{outline:3px solid rgba(46,125,120,.2);border-color:var(--teal,#2e7d78)}
.option-readonly{display:block;font-weight:700;color:var(--navy,#172b3a);word-break:break-word}
.option-note{font-size:0.82rem;color:#7d8b89}
@media(max-width:700px){.option-row{grid-template-columns:1fr;gap:.5rem}}

/* REQUIRED FIELD MARKER ---------------------------------------------------- */
.req{color:var(--danger,#a43f3f);font-weight:700;margin-left:.15rem}

/* ==========================================================================
   Simple role dashboards (Student, Staff): next step, to-do list, links.
   ========================================================================== */
.dash{display:flex;flex-direction:column;gap:18px;margin:8px 0 28px}
.dash-head h1{font-size:1.6rem;margin:0 0 4px;color:#06396e}
.dash-head p{margin:0;color:#5b6867;font-size:1rem}
.dash-card{background:#fff;border:1px solid #d9e0dc;border-radius:12px;padding:20px 22px}
.dash-card>h2{font-size:1.1rem;margin:0 0 14px;color:#06396e}
.dash-hint{margin:-6px 0 14px;color:#5b6867;font-size:.92rem}
.dash-empty{margin:0;color:#5b6867}
.dash-empty .fa{color:#0d9f4f;margin-right:6px}
.dash-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}

/* Next step */
.dash-next{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:22px 24px;border-radius:14px;border:2px solid #0d9f4f;background:#effaf4}
.dash-next--wait{border-color:#7aa7d6;background:#f1f6fc}
.dash-next--done{border-color:#c38a28;background:#fdf8ee}
.dash-next--stop{border-color:#b9c3cc;background:#f5f7f8}
.dash-next-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;font-size:1.5rem;color:#fff;background:#0d9f4f}
.dash-next--wait .dash-next-icon{background:#2f6db0}
.dash-next--done .dash-next-icon{background:#c38a28}
.dash-next--stop .dash-next-icon{background:#6b7a86}
.dash-next-body small{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;font-weight:600;color:#5b6867}
.dash-next-body h2{margin:2px 0 6px;font-size:1.35rem;color:#0f2b3a}
.dash-next-body p{margin:0;color:#2c3a40}
.dash-next-body ul{margin:8px 0 0;padding-left:20px;color:#2c3a40}
.dash-next-body li{margin:2px 0}
.dash-next-action{white-space:nowrap;font-size:1rem;padding:12px 20px}

/* Application facts */
.dash-facts{margin:0;display:grid;gap:10px}
.dash-facts>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:10px;padding-bottom:10px;border-bottom:1px solid #eef1ef}
.dash-facts>div:last-child{border-bottom:0;padding-bottom:0}
.dash-facts dt{color:#5b6867;font-size:.9rem}
.dash-facts dd{margin:0;font-weight:600;color:#0f2b3a;overflow-wrap:anywhere}
.dash-badge{display:inline-block;padding:2px 10px;border-radius:999px;background:#e6f7f0;color:#08704e;font-size:.85rem}

/* Quick links */
.dash-links{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.dash-links a{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:14px 16px;background:#fff;border:1px solid #d9e0dc;border-radius:10px;color:#0f2b3a;text-decoration:none;font-weight:600}
.dash-links a:hover,.dash-links a:focus-visible{border-color:#0d9f4f;background:#f6fcf9}
.dash-links .fa{font-size:1.2rem;color:#06396e}
.dash-links small{font-weight:400;color:#5b6867;font-size:.8rem}

/* Staff to-do */
.dash-todo{border:1px solid #d9e0dc;border-radius:10px;padding:14px 16px;margin-bottom:12px}
.dash-todo:last-child{margin-bottom:0}
.dash-todo-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center}
.dash-todo-head h3{margin:0;font-size:1.05rem;color:#0f2b3a}
.dash-todo-head p{margin:2px 0 0;color:#5b6867;font-size:.9rem}
.dash-count{min-width:42px;height:42px;padding:0 8px;border-radius:21px;display:grid;place-items:center;background:#06396e;color:#fff;font-weight:700;font-size:1.15rem}
.dash-todo-items{list-style:none;margin:12px 0 0;padding:0}
.dash-todo-items li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-top:1px solid #eef1ef}
.dash-todo-items li>span{overflow-wrap:anywhere}
.dash-todo-items .button{white-space:nowrap;padding:7px 14px}
.dash-more a{font-weight:600;color:#06396e}
.dash-waiting{margin:0;padding:12px 16px;border-radius:10px;background:#f1f6fc;color:#2c3a40}
.dash-waiting .fa{color:#2f6db0;margin-right:4px}

/* Staff interns table */
.dash-table-wrap{overflow-x:auto}
.dash-table{width:100%;border-collapse:collapse;font-size:.95rem}
.dash-table th{text-align:left;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:#5b6867;padding:8px 10px;border-bottom:2px solid #d9e0dc;white-space:nowrap}
.dash-table td{padding:10px;border-bottom:1px solid #eef1ef;vertical-align:middle}
.dash-table td small{display:block;color:#5b6867}
.dash-actions{white-space:nowrap;text-align:right}
.dash-actions .button{padding:6px 12px;margin-left:6px}

@media (max-width:820px){
  .dash-grid{grid-template-columns:1fr}
  .dash-next{grid-template-columns:auto minmax(0,1fr)}
  .dash-next-action{grid-column:1 / -1;justify-self:stretch;text-align:center}
  .dash-todo-head{grid-template-columns:auto minmax(0,1fr)}
  .dash-todo-head .button{grid-column:1 / -1;justify-self:start}
  .dash-todo-items li{flex-direction:column;align-items:flex-start}
  .dash-facts>div{grid-template-columns:1fr;gap:2px}
}

/* ==========================================================================
   Home page (Default.aspx) - classic redesign. Everything is scoped to .hm.
   ========================================================================== */
.hm{color:#14304f;font-family:'Poppins',system-ui,sans-serif;background:#f4f7fb;overflow-x:hidden;margin-bottom:-28px}
.hm-wrap{max-width:1240px;margin:0 auto;padding:0 32px;box-sizing:border-box}
.hm svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.hm-kicker{margin:0;font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#0b7a3e}
.hm-kicker-light{color:#5fd394}

/* Hero */
.hm-hero{position:relative;min-height:560px;padding:0 0 120px;background:#f7f9fc}
.hm-hero-img{position:absolute;top:0;right:0;width:64%;height:100%;object-fit:cover;object-position:60% 55%}
.hm-hero-fade{position:absolute;inset:0;background:linear-gradient(90deg,#f7f9fc 0%,#f7f9fc 36%,rgba(247,249,252,.75) 46%,rgba(247,249,252,0) 64%),linear-gradient(0deg,#f4f7fb 0%,rgba(244,247,251,0) 26%)}
.hm-hero-copy{position:relative;display:flex;flex-direction:column;gap:20px;padding-top:56px}
.hm-hero-copy>*{max-width:600px}
.hm-tagline{margin:0;font-size:19px;font-weight:600;color:#0b7a3e}
.hm .hm-hero h1{margin:0;font-size:72px;line-height:1.03;font-weight:800;letter-spacing:-.02em;color:#0b2c55}
.hm-lead{margin:0;font-size:19px;line-height:1.6;color:#34475e}
.hm-actions{display:flex;gap:14px;flex-wrap:wrap}
.hm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 28px;border-radius:8px;font-weight:600;font-size:17px;text-decoration:none!important;box-sizing:border-box}
.hm-btn-green{background:#0b7a3e;color:#fff!important;box-shadow:0 8px 20px rgba(11,122,62,.25)}
.hm-btn-green:hover{background:#08642f}
.hm-btn-outline{background:#fff;color:#0b2c55!important;border:1.5px solid #c3cfdd}
.hm-btn-outline:hover{border-color:#0b2c55}
.hm-unpaid{margin:0;padding:12px 16px;border-radius:10px;background:#fff8ea;border:1px solid #f0dfb8;color:#6b4a0f;font-size:14px;line-height:1.55}

/* Trust cards */
.hm-trust{position:relative;z-index:2;margin-top:-86px}
.hm-trust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.hm-trust-card{display:flex;gap:16px;align-items:flex-start;padding:24px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 16px 36px rgba(10,42,82,.12)}
.hm-trust-card strong{display:block;font-size:17px;color:#0b2c55}
.hm-trust-card small{display:block;margin-top:4px;font-size:14px;line-height:1.55;color:#55657a}
.hm-ring{display:grid;place-items:center;flex-shrink:0;width:50px;height:50px;border-radius:50%;border:2px solid #0b2c55;color:#0b2c55}

/* Why intern */
.hm-why{padding:72px 0 80px}
.hm-why-grid{display:grid;grid-template-columns:minmax(0,.95fr) repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.hm-why-intro{display:flex;flex-direction:column;gap:14px;padding-right:8px}
.hm .hm-why-intro h2{margin:0;font-size:31px;line-height:1.2;font-weight:700;color:#0b2c55}
.hm-why-intro p{margin:0;font-size:16px;line-height:1.7;color:#34475e}
.hm-why-intro .hm-kicker{color:#0b7a3e;font-size:14px}
.hm-who{padding-top:12px;border-top:1px solid #dfe6ee;font-size:15px!important}
.hm-card{display:flex;flex-direction:column;gap:14px;padding:26px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 8px 22px rgba(10,42,82,.06)}
.hm-card-head{display:flex;align-items:center;gap:12px}
.hm .hm-card h3{margin:0;font-size:19px;color:#0b2c55}
.hm-dot{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:50%}
.hm-dot svg{width:20px;height:20px}
.hm-dot-green{background:#e3f4ea;color:#0b7a3e}
.hm-dot-blue{background:#e7eef8;color:#0b2c55}
.hm-dot-gold{background:#fbf0dc;color:#9a6a14}
.hm-checks{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px;font-size:15px;color:#34475e}
.hm-checks li{position:relative;padding-left:24px;line-height:1.45}
.hm-checks li:before{content:"\2713";position:absolute;left:0;top:0;color:#0b7a3e;font-weight:700}
.hm-weeks{display:flex;flex-direction:column;gap:12px}
.hm-weeks span{padding:14px 18px;border-radius:8px;background:#e3f4ea;border:1px solid #b9e2c9;font-size:20px;font-weight:600;color:#0b5e30}
.hm-card-note{margin:0;font-size:14px;line-height:1.6;color:#55657a}
.hm-link{font-weight:600;color:#0b2c55;text-decoration:none}
.hm-link:hover{color:#0b7a3e}

/* Dark route band */
.hm-band{position:relative;overflow:hidden;background:#061a36;color:#fff;padding:72px 0 84px}
.hm-band-glow{position:absolute;inset:0;background:radial-gradient(800px 380px at 70% 0%,rgba(42,169,160,.22),rgba(42,169,160,0) 70%),radial-gradient(600px 300px at 10% 100%,rgba(30,90,180,.25),rgba(30,90,180,0) 70%),radial-gradient(rgba(140,220,230,.16) 1px,transparent 1.3px) 0 0/26px 26px}
.hm-band-grid{position:relative;display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:48px}
.hm-route{display:flex;flex-direction:column;gap:12px}
.hm .hm-band h2{margin:0;font-size:36px;line-height:1.15;font-weight:700;color:#fff}
.hm-band-sub{margin:0 0 28px;font-size:17px;line-height:1.6;color:#c3d2e6;max-width:640px}
.hm-steps{position:relative;margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.hm-steps:before{content:"";position:absolute;left:10%;right:10%;top:26px;border-top:2px dashed rgba(95,211,200,.55)}
.hm-steps li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.hm-steps svg{color:#5fd394;width:26px;height:26px;stroke-width:2}
.hm-steps strong{font-size:17px;color:#fff}
.hm-steps small{font-size:14px;line-height:1.55;color:#c3d2e6}
.hm-num{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#061a36;border:2px solid #5fd3c8;box-shadow:0 0 22px rgba(95,211,200,.6);font-size:20px;font-weight:700;color:#fff}
.hm-side{display:flex;flex-direction:column;gap:14px;border-left:1px solid rgba(255,255,255,.18);padding-left:40px}
.hm .hm-side h2{font-size:24px}
.hm .hm-side h3{margin:0;font-size:20px;color:#fff}
.hm-side p{margin:0;font-size:15px;line-height:1.6;color:#c3d2e6}
.hm-open-count strong{font-size:22px;color:#5fd394}
.hm-prog{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border-radius:10px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);color:#fff!important;text-decoration:none!important}
.hm-prog:hover{background:rgba(255,255,255,.12)}
.hm-prog-top{display:flex;justify-content:space-between;gap:10px}
.hm-prog-top strong{font-size:16px}
.hm-prog-top b{flex-shrink:0;align-self:flex-start;padding:2px 10px;border-radius:999px;background:#0b7a3e;font-size:12px;font-weight:600}
.hm-prog small{font-size:14px;color:#c3d2e6}
.hm-prog-empty{font-size:15px;line-height:1.6;color:#c3d2e6!important}
.hm-band-link{font-weight:600;color:#9ee6bf!important;text-decoration:none!important}
.hm-band-link:hover{color:#fff!important}
.hm-side-rule{height:1px;background:rgba(255,255,255,.15);margin:6px 0}

@media (max-width:1100px){
.hm-why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hm-band-grid{grid-template-columns:1fr}
.hm-side{border-left:0;padding-left:0;border-top:1px solid rgba(255,255,255,.18);padding-top:32px}
}
@media (max-width:900px){
.hm-hero{min-height:0;padding-bottom:110px}
.hm-hero-img{position:relative;width:100%;height:300px}
.hm-hero-fade{display:none}
.hm-hero-copy{padding-top:28px}
.hm-steps{grid-template-columns:1fr 1fr}
.hm-steps:before{display:none}
}
@media (max-width:640px){
.hm-wrap{padding:0 18px}
.hm .hm-hero h1{font-size:44px}
.hm-why-grid{grid-template-columns:1fr}
.hm-steps{grid-template-columns:1fr}
}

/* Home page: break out of the master page's .portal-container so the hero
   photo and the dark band run edge to edge; inner .hm-wrap keeps content centred. */
body:has(.hm){overflow-x:hidden}
.portal-main:has(.hm){padding-top:0;padding-bottom:0}
.hm{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);margin-bottom:0}
.hm-wrap{max-width:1280px}
.hm .hm-why-intro h2{font-size:27px}

/* ==========================================================================
   Sign-in page (Public/Login.aspx). Scoped to .lg; full width like the home page.
   ========================================================================== */
.portal-main:has(.lg){padding-top:0;padding-bottom:0}
body:has(.lg){overflow-x:hidden}
.lg{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding:48px 0 72px;font-family:'Poppins',system-ui,sans-serif;color:#14304f;background:radial-gradient(900px 420px at 90% 0%,#e3eefb 0%,rgba(227,238,251,0) 60%),radial-gradient(700px 380px at 0% 100%,#e5f5ec 0%,rgba(229,245,236,0) 65%),#f4f7fb}
.lg-wrap{max-width:1120px;margin:0 auto;padding:0 32px;box-sizing:border-box}
.lg-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 30px 70px rgba(10,42,82,.14);padding:0}
.lg svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lg-kicker{margin:0;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#9ee6bf}
.lg-kicker-green{color:#0b7a3e}

/* Visual side */
.lg-visual{position:relative;min-height:620px;color:#fff;display:flex;align-items:flex-end}
.lg-visual-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 50%}
.lg-visual-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,26,54,.25) 0%,rgba(6,26,54,.72) 45%,rgba(6,26,54,.95) 100%)}
.lg-visual-copy{position:relative;display:flex;flex-direction:column;gap:16px;padding:40px}
.lg .lg-visual h2{margin:0;font-size:32px;line-height:1.2;font-weight:700;color:#fff}
.lg-points{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:15px;color:#e3ecf7}
.lg-points li{display:flex;gap:10px;align-items:flex-start;line-height:1.45}
.lg-points span{display:grid;place-items:center;flex-shrink:0;width:22px;height:22px;border-radius:50%;background:#0b7a3e;color:#fff;font-size:12px;font-weight:700}
.lg-unpaid{margin:4px 0 0;padding:12px 14px;border-radius:10px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);font-size:14px;line-height:1.5;color:#f1f5fa}

/* Form side */
.lg-card{display:flex;flex-direction:column;gap:18px;padding:44px 48px}
.lg .lg-card h1{margin:-6px 0 0;font-size:34px;line-height:1.15;font-weight:700;color:#0b2c55}
.lg-sub{margin:-8px 0 4px;font-size:15px;line-height:1.6;color:#55657a}
.lg-field{display:flex;flex-direction:column;gap:8px}
.lg-field>label{font-size:14px;font-weight:600;color:#14304f}
.lg-field input[type=email],.lg-field input[type=password],.lg-field input[type=text]{width:100%;min-height:50px;padding:0 16px;border:1.5px solid #cfd9e5;border-radius:10px;background:#fff;font:inherit;font-size:16px;color:#14304f;box-sizing:border-box}
.lg-field input:focus{outline:none;border-color:#0b7a3e;box-shadow:0 0 0 4px rgba(11,122,62,.15)}
.lg-password{position:relative}
.lg-password input{padding-right:84px!important}
.lg-show{position:absolute;right:6px;top:50%;transform:translateY(-50%);min-height:38px;padding:0 14px;border:0;border-radius:8px;background:#eef3f9;color:#0b2c55;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.lg-show:hover{background:#e1eaf4}
.lg-captcha{display:flex;align-items:center;gap:10px}
.lg-captcha img{display:block;border-radius:10px;border:1.5px solid #cfd9e5;background:#fff}
.lg-refresh{display:grid;place-items:center;width:46px;height:46px;border:1.5px solid #cfd9e5;border-radius:10px;background:#fff;color:#0b2c55;cursor:pointer}
.lg-refresh:hover{border-color:#0b2c55}
.lg-hint{font-size:13px;color:#55657a}
.lg-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;border-radius:10px;font:inherit;font-size:17px;font-weight:600;text-decoration:none!important;cursor:pointer;box-sizing:border-box}
.lg-btn-green{border:0;background:#0b7a3e;color:#fff!important;box-shadow:0 10px 22px rgba(11,122,62,.25)}
.lg-btn-green:hover{background:#08642f}
.lg-btn-outline{border:1.5px solid #c3cfdd;background:#fff;color:#0b2c55!important}
.lg-btn-outline:hover{border-color:#0b2c55}
.lg-divider{display:flex;align-items:center;gap:12px;font-size:14px;color:#55657a}
.lg-divider:before,.lg-divider:after{content:"";flex:1;height:1px;background:#e2e8f0}
.lg-help{margin:0;font-size:14px;color:#55657a;text-align:center}
.lg-help a{color:#0b2c55;font-weight:600}
.lg .alert{margin:0;border-radius:10px}

@media (max-width:900px){
.lg{padding:24px 0 48px}
.lg-grid{grid-template-columns:1fr}
.lg-visual{min-height:0}
.lg-visual-copy{padding:28px}
.lg .lg-visual h2{font-size:24px}
.lg-points{display:none}
}
@media (max-width:640px){
.lg-wrap{padding:0 14px}
.lg-card{padding:28px 22px}
.lg .lg-card h1{font-size:28px}
}
/* Sign-in card: side gap comes from width, not padding (the card and its wrapper are one element). */
.lg .lg-grid{width:calc(100% - 64px);max-width:1120px;padding:0}
@media (max-width:640px){.lg .lg-grid{width:calc(100% - 28px);padding:0}}
/* Sign-in left panel: content from top to bottom instead of only at the foot of the photo. */
.lg .lg-visual{align-items:stretch}
.lg .lg-visual-shade{background:linear-gradient(180deg,rgba(6,26,54,.88) 0%,rgba(6,26,54,.78) 40%,rgba(6,26,54,.92) 100%)}
.lg .lg-visual-copy{justify-content:space-between;gap:24px;width:100%;box-sizing:border-box;padding:36px 40px}
.lg-brand{display:flex;align-items:center;gap:12px}
.lg-brand-logo{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:12px;background:#fff}
.lg-brand-logo img{width:38px;height:38px;object-fit:contain}
.lg-brand strong{display:block;font-size:16px;color:#fff}
.lg-brand small{display:block;font-size:12.5px;color:#b9c9de}
.lg-intro{display:flex;flex-direction:column;gap:10px}
.lg-intro p{margin:0;font-size:15px;line-height:1.65;color:#d5e0ee}
.lg-steps-box{display:flex;flex-direction:column;gap:14px}
.lg-steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:0}
.lg-steps li{position:relative;display:flex;gap:14px;padding:0 0 16px}
.lg-steps li:last-child{padding-bottom:0}
.lg-steps li:before{content:"";position:absolute;left:15px;top:32px;bottom:2px;width:2px;background:rgba(95,211,148,.35)}
.lg-steps li:last-child:before{display:none}
.lg-steps li>span{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#0b7a3e;border:2px solid #5fd394;color:#fff;font-size:14px;font-weight:700;box-sizing:border-box}
.lg-steps strong{display:block;font-size:15px;color:#fff;line-height:1.3}
.lg-steps small{display:block;margin-top:2px;font-size:13.5px;line-height:1.5;color:#c3d2e6}
@media (max-width:900px){
.lg .lg-visual-copy{padding:26px 24px;gap:18px}
.lg-steps-box{display:none}
.lg-intro p{font-size:14px}
}
/* Create-account page: reuses the sign-in (.lg) layout, plus two-column rows. */
.lg-form{display:flex;flex-direction:column;gap:16px}
.lg-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lg-hint-tight{margin-top:-8px}
@media (max-width:640px){.lg-row{grid-template-columns:1fr}}
/* Create-account side panel: documents checklist. */
.lg-docs{display:flex;flex-direction:column;gap:12px}
.lg-docs ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}
.lg-docs li{position:relative;padding-left:22px;font-size:14px;line-height:1.4;color:#e3ecf7}
.lg-docs li:before{content:"\2713";position:absolute;left:0;top:0;color:#5fd394;font-weight:700}
.lg-docs small{font-size:13px;color:#b9c9de}
@media (max-width:900px){.lg-docs{display:none}}
/* Security check on one line: picture, refresh button, input. The input wraps below on very narrow screens. */
.lg .lg-captcha{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.lg .lg-captcha img{flex-shrink:0;height:54px;width:172px;box-sizing:border-box}
.lg .lg-captcha .lg-refresh{flex-shrink:0;width:54px;height:54px}
.lg .lg-field .lg-captcha input[type=text]{flex:1 1 140px;width:auto;min-width:0;min-height:54px}
/* Phones: smaller picture so picture, refresh and input still share one line. */
@media (max-width:640px){
.lg .lg-captcha{flex-wrap:nowrap;gap:8px}
.lg .lg-captcha img{width:132px;height:44px}
.lg .lg-captcha .lg-refresh{width:44px;height:44px}
.lg .lg-field .lg-captcha input[type=text]{flex:1 1 0;min-height:44px;padding:0 12px}
}
/* Never let a field's natural width widen the card past the screen. */
@media (max-width:900px){.lg .lg-grid{grid-template-columns:minmax(0,1fr)}}
.lg .lg-field .lg-captcha input[type=text]{width:0}

/* ==========================================================================
   Internships list (Public/Programs.aspx, .pg) and programme details
   (Public/ProgramDetails.aspx, .pd). Navy #0b2c55, green #0b7a3e, gold #c38a28.
   ========================================================================== */
.pg,.pd{max-width:1120px;margin:0 auto;padding:36px 0 64px;font-family:'Poppins',system-ui,sans-serif;color:#14304f}
.pg a:focus-visible,.pd a:focus-visible,.pd select:focus-visible,.pd input:focus-visible{outline:3px solid #c38a28;outline-offset:2px}

/* List */
.pg-head{max-width:700px;margin-bottom:28px}
.pg .pg-head h1{margin:0 0 8px;font-size:40px;line-height:1.15;font-weight:700;color:#0b2c55}
.pg-head p{margin:0;font-size:17px;line-height:1.6;color:#55657a}
.pg-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.pg-row{display:grid;grid-template-columns:104px minmax(0,1fr) minmax(0,auto) auto;gap:28px;align-items:center;padding:20px 22px;background:#fff;border:1px solid #dfe6ee;border-radius:14px}
.pg-row:hover{border-color:#9fb3cc}
.pg-date{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:14px 8px;border-radius:12px;background:#0b2c55;color:#fff;text-align:center}
.pg-date-day{font-size:38px;line-height:1;font-weight:700}
.pg-date-month{font-size:14px;font-weight:600}
.pg-date small{font-size:12px;color:#b9c9de}
.pg-body{min-width:0}
.pg .pg-body h2{margin:0 0 6px;font-size:21px;line-height:1.3;font-weight:600}
.pg-body h2 a{color:#0b2c55;text-decoration:none}
.pg-body h2 a:hover{color:#0b7a3e;text-decoration:underline}
.pg-body p{margin:0;font-size:15px;line-height:1.6;color:#45566b}
.pg-depts{margin:10px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.pg-depts li{padding:4px 10px;border-radius:999px;background:#eef3f9;color:#0b2c55;font-size:13px}
.pg-facts{margin:0;display:grid;grid-template-columns:repeat(3,auto);gap:4px 26px}
.pg-facts dt{font-size:13px;color:#55657a}
.pg-facts dd{margin:0;font-size:16px;font-weight:600;color:#0b2c55;white-space:nowrap}
.pg-facts small{display:block;font-size:12.5px;font-weight:600;color:#9a3412}
.pg-facts .is-soon dd{color:#9a3412}
.pg-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:10px;background:#0b7a3e;color:#fff!important;font-weight:600;text-decoration:none!important;white-space:nowrap}
.pg-btn:hover{background:#08642f}
.pg-btn-quiet{background:#fff;color:#0b2c55!important;border:1.5px solid #c3cfdd}
.pg-btn-quiet:hover{background:#f4f7fb;border-color:#0b2c55}
.pg-empty{padding:36px;border-radius:14px;background:#fff;border:1px solid #dfe6ee}
.pg .pg-empty h2{margin:0 0 8px;font-size:24px;color:#0b2c55}
.pg-empty p{margin:0 0 20px;color:#45566b;line-height:1.6;max-width:620px}
.pg-empty-actions{display:flex;flex-wrap:wrap;gap:10px}
.pg-note{margin-top:28px;padding:16px 20px;border-radius:12px;background:#fff8ea;border:1px solid #f0dfb8;color:#5c3f0c;font-size:15px;line-height:1.6}
.pg-note p{margin:0}

/* Details */
.pd-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:22px;font-weight:600;color:#0b2c55;text-decoration:none}
.pd-back:hover{color:#0b7a3e}
.pd-back svg,.pd svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.pd-head{max-width:760px;margin-bottom:26px}
.pd-chip{display:inline-block;margin-bottom:12px;padding:5px 12px;border-radius:999px;background:#eef1f5;color:#45566b;font-size:14px;font-weight:600}
.pd-chip-open{background:#e3f4ea;color:#0b5e30}
.pd .pd-head h1{margin:0 0 10px;font-size:40px;line-height:1.15;font-weight:700;color:#0b2c55}
.pd-head p{margin:0;font-size:18px;line-height:1.6;color:#45566b}

.pd-timeline{margin-bottom:36px;padding:26px 28px 22px;border-radius:16px;background:#fff;border:1px solid #dfe6ee}
.pd .pd-timeline h2{margin:0 0 30px;font-size:24px;font-weight:700;color:#0b2c55}
.pd-scale{position:relative;height:46px;margin:0 6px;border-radius:8px;background:repeating-linear-gradient(90deg,#f1f4f8 0 1px,transparent 1px 10%)}
.pd-scale:before{content:"";position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;background:#dbe3ec}
.pd-bar{position:absolute;height:14px;border-radius:7px;min-width:8px}
.pd-bar-apply{top:4px;background:#0b7a3e}
.pd-bar-intern{bottom:4px;background:#0b2c55}
.pd-today{position:absolute;top:-10px;bottom:-6px;width:3px;margin-left:-1px;border-radius:2px;background:#c38a28}
.pd-today b{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);margin-bottom:4px;padding:2px 8px;border-radius:6px;background:#c38a28;color:#fff;font-size:12px;font-weight:600;white-space:nowrap}
.pd-legend{display:flex;flex-wrap:wrap;gap:12px 36px;margin:18px 0 0;padding:0;list-style:none}
.pd-legend li{display:flex;align-items:baseline;gap:10px;font-size:15px}
.pd-legend li:before{content:"";flex-shrink:0;width:14px;height:14px;border-radius:4px;align-self:center}
.pd-legend-apply:before{background:#0b7a3e}
.pd-legend-intern:before{background:#0b2c55}
.pd-legend strong{color:#0b2c55}
.pd-legend span{color:#45566b}

.pd-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:48px;align-items:start}
.pd-section{padding:26px 0;border-top:1px solid #dfe6ee}
.pd-section:first-child{border-top:0;padding-top:0}
.pd .pd-section h2{margin:0 0 10px;font-size:22px;font-weight:700;color:#0b2c55}
.pd-section p{margin:0;font-size:16px;line-height:1.75;color:#34475e;max-width:68ch}
.pd-section .pd-lead{margin-bottom:14px;color:#55657a;font-size:15px}
.pd-divisions,.pd-docs{margin:0;padding:0;list-style:none;border:1px solid #dfe6ee;border-radius:12px;background:#fff;overflow:hidden}
.pd-divisions li,.pd-docs li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;border-top:1px solid #edf1f5}
.pd-divisions li:first-child,.pd-docs li:first-child{border-top:0}
.pd-divisions strong{color:#0b2c55;font-weight:600}
.pd-divisions span,.pd-doc-meta{font-size:14px;color:#55657a;text-align:right}
.pd-doc-name{display:flex;align-items:center;gap:12px;color:#14304f;font-weight:500}
.pd-doc-name:before{content:"";flex-shrink:0;width:10px;height:10px;border-radius:50%;border:2px solid #0b7a3e}
.pd-docs .is-required .pd-doc-name:before{background:#0b7a3e}

.pd-side{position:sticky;top:24px}
.pd-apply{padding:26px;border-radius:16px;background:#fff;border:1px solid #dfe6ee;box-shadow:0 18px 40px rgba(10,42,82,.08)}
.pd .pd-apply h2{margin:0 0 16px;font-size:20px;font-weight:700;color:#0b2c55}
.pd-facts{margin:0 0 20px;display:flex;flex-direction:column}
.pd-facts>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid #edf1f5}
.pd-facts>div:first-child{border-top:0}
.pd-facts dt{font-size:14px;color:#55657a}
.pd-facts dd{margin:0;font-size:14.5px;font-weight:600;color:#0b2c55;text-align:right}
.pd-apply-form{display:flex;flex-direction:column;gap:10px}
.pd-apply-form label{font-size:14px;font-weight:600;color:#14304f}
.pd-apply-form select{min-height:48px;padding:0 12px;border:1.5px solid #cfd9e5;border-radius:10px;background:#fff;font:inherit;font-size:15px;color:#14304f}
.pd-apply-form p{margin:0;font-size:15px;line-height:1.6;color:#34475e}
.pd-apply-form small{font-size:13px;color:#55657a}
.pd-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;border:0;border-radius:10px;background:#0b7a3e;color:#fff!important;font:inherit;font-size:16px;font-weight:600;text-decoration:none!important;cursor:pointer;box-sizing:border-box}
.pd-btn:hover{background:#08642f}
.pd-btn-quiet{background:#fff;color:#0b2c55!important;border:1.5px solid #c3cfdd}
.pd-btn-quiet:hover{background:#f4f7fb;border-color:#0b2c55}
.pd-full{padding:14px 16px;border-radius:10px;background:#fdf1ee;border:1px solid #f1c8bd;color:#8a2f1d;font-size:15px;line-height:1.55}
.pd-unpaid{margin:18px 0 0;padding-top:14px;border-top:1px solid #edf1f5;font-size:13.5px;line-height:1.55;color:#6b4a0f}

@media (max-width:980px){
.pg-row{grid-template-columns:96px minmax(0,1fr);gap:18px 20px}
.pg-facts{grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr))}
.pg-row .pg-btn{grid-column:1 / -1}
.pd-grid{grid-template-columns:1fr;gap:32px}
.pd-side{position:static;order:-1}
}
@media (max-width:640px){
.pg,.pd{padding:22px 0 44px}
.pg .pg-head h1,.pd .pd-head h1{font-size:30px}
.pg-row{grid-template-columns:1fr;padding:18px}
.pg-date{flex-direction:row;align-items:baseline;justify-content:flex-start;gap:8px;padding:10px 14px}
.pg-date-day{font-size:24px}
.pg-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.pd-timeline{padding:22px 18px 18px}
.pd .pd-timeline h2{font-size:20px}
.pd-divisions li,.pd-docs li{flex-direction:column;align-items:flex-start;gap:4px}
.pd-divisions span,.pd-doc-meta{text-align:left;padding-left:22px}
.pd-divisions span{padding-left:0}
}
/* Room for the "Today" tag above the calendar bar. */
.pd .pd-timeline h2{margin-bottom:46px}

/* ==========================================================================
   Public content pages (.cp): About, Process, FAQ, Help, Contact, Privacy,
   Terms, Research divisions, Resources, Sitemap, Verify email.
   ========================================================================== */
.cp{max-width:1120px;margin:0 auto;padding:36px 0 72px;font-family:'Poppins',system-ui,sans-serif;color:#14304f}
.cp a{color:#0b2c55;font-weight:600}
.cp a:hover{color:#0b7a3e}
.cp a:focus-visible,.cp summary:focus-visible{outline:3px solid #c38a28;outline-offset:2px;border-radius:4px}
.cp svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.cp-head{padding-bottom:28px;margin-bottom:36px;border-bottom:1px solid #dfe6ee}
.cp .cp-head h1{margin:0 0 10px;font-size:40px;line-height:1.15;font-weight:700;color:#0b2c55}
.cp-lead{margin:0;max-width:62ch;font-size:18px;line-height:1.6;color:#45566b}
.cp-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:56px;align-items:start}
.cp-layout-toc{grid-template-columns:240px minmax(0,1fr)}
.cp-prose{max-width:70ch}
.cp-prose p,.cp-prose li{font-size:16px;line-height:1.75;color:#34475e}
.cp-prose p{margin:0 0 16px}
.cp .cp-prose h2{margin:40px 0 10px;font-size:24px;line-height:1.3;font-weight:700;color:#0b2c55;scroll-margin-top:24px}
.cp .cp-prose h2:first-child{margin-top:0}
.cp .cp-prose h3{margin:28px 0 8px;font-size:19px;color:#0b2c55}
.cp-prose ul,.cp-prose ol{margin:0 0 16px;padding-left:22px}
.cp-prose li{margin:4px 0}
.cp-aside{position:sticky;top:24px;padding:24px;border-radius:14px;background:#fff;border:1px solid #dfe6ee}
.cp .cp-aside h2{margin:0 0 14px;font-size:19px;color:#0b2c55}
.cp-facts{margin:0}
.cp-facts>div{padding:10px 0;border-top:1px solid #edf1f5}
.cp-facts>div:first-child{border-top:0;padding-top:0}
.cp-facts dt{font-size:13.5px;color:#55657a}
.cp-facts dd{margin:2px 0 0;font-size:15px;font-weight:600;color:#0b2c55}
.cp-note{margin:28px 0 0;padding:16px 20px;border-radius:12px;background:#fff8ea;border:1px solid #f0dfb8;color:#5c3f0c;font-size:15px;line-height:1.6}
.cp-note p{margin:0}
.cp-section{margin-top:56px}
.cp .cp-section>h2{margin:0 0 20px;font-size:26px;font-weight:700;color:#0b2c55}

/* Three plain columns separated by a top rule */
.cp-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:0;padding:0;list-style:none}
.cp-cols li{padding-top:18px;border-top:3px solid #0b2c55}
.cp .cp-cols h3{margin:0 0 6px;font-size:18px;color:#0b2c55}
.cp-cols p{margin:0;font-size:15px;line-height:1.65;color:#45566b}

/* Process timeline (a real sequence) */
.cp-steps{margin:0;padding:0;list-style:none;max-width:780px;counter-reset:step}
.cp-steps>li{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);gap:20px;padding-bottom:30px}
.cp-steps>li:before{counter-increment:step;content:counter(step);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#0b2c55;color:#fff;font-size:17px;font-weight:700;position:relative;z-index:1}
.cp-steps>li:after{content:"";position:absolute;left:21px;top:46px;bottom:0;width:2px;background:#cdd8e5}
.cp-steps>li:last-child{padding-bottom:0}
.cp-steps>li:last-child:after{display:none}
.cp .cp-steps h2{margin:8px 0 6px;font-size:20px;color:#0b2c55}
.cp-steps p{margin:0 0 8px;font-size:16px;line-height:1.7;color:#34475e}
.cp-steps .cp-where{font-size:14.5px;color:#55657a}

/* FAQ */
.cp-faq-group{margin-bottom:40px}
.cp .cp-faq-group>h2{margin:0 0 6px;font-size:22px;color:#0b2c55}
.cp-faq details{border-bottom:1px solid #dfe6ee}
.cp-faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 2px;font-size:17px;font-weight:600;color:#14304f;cursor:pointer;list-style:none}
.cp-faq summary::-webkit-details-marker{display:none}
.cp-faq summary:after{content:"+";flex-shrink:0;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eef3f9;color:#0b2c55;font-size:20px;font-weight:500;line-height:1}
.cp-faq details[open] summary:after{content:"\2212";background:#0b2c55;color:#fff}
.cp-faq details p{margin:0 0 20px;max-width:68ch;font-size:16px;line-height:1.75;color:#34475e}

/* Link rows (resources, help topics) */
.cp-links{margin:0;padding:0;list-style:none;border:1px solid #dfe6ee;border-radius:14px;background:#fff;overflow:hidden}
.cp-links li+li{border-top:1px solid #edf1f5}
.cp-links a{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px 22px;text-decoration:none;font-weight:400}
.cp-links a:hover{background:#f6f9fc}
.cp-links strong{display:block;font-size:17px;color:#0b2c55}
.cp-links span{display:block;margin-top:2px;font-size:15px;line-height:1.55;color:#45566b}
.cp-links svg{color:#0b7a3e}

/* Research areas */
.cp-areas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px;margin:0;padding:0;list-style:none}
.cp-areas li{padding:22px 0;border-top:1px solid #dfe6ee}
.cp .cp-areas h2{margin:0 0 6px;font-size:19px;color:#0b2c55}
.cp-areas p{margin:0;font-size:15.5px;line-height:1.7;color:#45566b}

/* Contact methods */
.cp-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0 0 8px;padding:0;list-style:none}
.cp-methods li{padding:24px;border-radius:14px;background:#fff;border:1px solid #dfe6ee}
.cp-methods .cp-method-icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:14px;border-radius:12px;background:#e3f4ea;color:#0b7a3e}
.cp .cp-methods h2{margin:0 0 6px;font-size:18px;color:#0b2c55}
.cp-methods p{margin:0;font-size:16px;line-height:1.6;color:#34475e}
.cp-methods a{font-size:17px}

/* Table of contents (legal pages) */
.cp-toc{position:sticky;top:24px}
.cp .cp-toc h2{margin:0 0 10px;font-size:14px;font-weight:600;color:#55657a}
.cp-toc ol{margin:0;padding:0;list-style:none;border-left:2px solid #dfe6ee}
.cp-toc a{display:block;padding:6px 0 6px 14px;margin-left:-2px;border-left:2px solid transparent;font-size:14.5px;font-weight:500;color:#34475e;text-decoration:none}
.cp-toc a:hover{border-left-color:#0b7a3e;color:#0b2c55}

/* Sitemap */
.cp-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px}
.cp .cp-map h2{margin:0 0 12px;padding-bottom:10px;border-bottom:3px solid #0b2c55;font-size:18px;color:#0b2c55}
.cp-map ul{margin:0;padding:0;list-style:none}
.cp-map li{padding:10px 0;border-bottom:1px solid #edf1f5}
.cp-map a{text-decoration:none}
.cp-map small{display:block;margin-top:2px;font-size:13.5px;line-height:1.5;color:#55657a}

/* Verify email status */
.cp-status{max-width:560px;margin:24px auto 0;padding:40px 36px;border-radius:18px;background:#fff;border:1px solid #dfe6ee;text-align:center;box-shadow:0 20px 50px rgba(10,42,82,.08)}
.cp-status-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;border-radius:50%}
.cp-status-icon svg{width:30px;height:30px;stroke-width:2.4}
.cp-status.is-ok .cp-status-icon{background:#e3f4ea;color:#0b7a3e}
.cp-status.is-bad .cp-status-icon{background:#fdf1ee;color:#a23a24}
.cp .cp-status h1{margin:0 0 10px;font-size:30px;color:#0b2c55}
.cp-status p{margin:0 auto 24px;max-width:44ch;font-size:16.5px;line-height:1.65;color:#45566b}
.cp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 26px;border-radius:10px;background:#0b7a3e;color:#fff!important;font-weight:600;text-decoration:none!important}
.cp-btn:hover{background:#08642f}
.cp-btn-quiet{background:#fff;color:#0b2c55!important;border:1.5px solid #c3cfdd}
.cp-btn-quiet:hover{background:#f4f7fb;border-color:#0b2c55}
.cp-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}

/* Certificate verification result (inside the .lg layout) */
.lg-cert{margin-top:4px;border-radius:14px;overflow:hidden;border:1.5px solid #0b7a3e}
.lg-cert-head{display:flex;align-items:center;gap:12px;padding:14px 18px;background:#0b7a3e;color:#fff;font-size:17px;font-weight:700}
.lg-cert-head svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.lg-cert.is-revoked{border-color:#a23a24}
.lg-cert.is-revoked .lg-cert-head{background:#a23a24}
.lg-cert dl{margin:0;padding:6px 18px 12px}
.lg-cert dl>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-top:1px solid #edf1f5}
.lg-cert dl>div:first-child{border-top:0}
.lg-cert dt{font-size:14px;color:#55657a}
.lg-cert dd{margin:0;font-size:14.5px;font-weight:600;color:#0b2c55;text-align:right}

@media (max-width:980px){
.cp-layout,.cp-layout-toc{grid-template-columns:1fr;gap:32px}
.cp-aside,.cp-toc{position:static}
.cp-map{grid-template-columns:repeat(2,minmax(0,1fr))}
.cp-methods{grid-template-columns:1fr}
}
@media (max-width:640px){
.cp{padding:22px 0 48px}
.cp .cp-head h1{font-size:30px}
.cp-lead{font-size:16.5px}
.cp-cols,.cp-areas,.cp-map{grid-template-columns:1fr}
.cp-steps>li{grid-template-columns:40px minmax(0,1fr);gap:14px}
.cp-steps>li:before{width:38px;height:38px;font-size:15px}
.cp-steps>li:after{left:18px;top:40px}
.cp-status{padding:30px 22px}
.lg-cert dl>div{flex-direction:column;gap:2px}
.lg-cert dd{text-align:left}
}
/* Contact page: Web Manager block next to the visit address. */
.cp .cp-methods-2{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
.cp-contact-role{margin:0 0 14px!important;font-size:15px!important;color:#55657a!important}
.cp-contact-lines{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.cp-contact-lines li{display:flex;align-items:center;gap:10px}
.cp-contact-lines svg{width:18px;height:18px;color:#0b7a3e}
.cp-contact-lines a{font-size:17px}
@media (max-width:980px){.cp .cp-methods-2{grid-template-columns:1fr}}

/* Contact lines sit inside a .cp-methods card: do not inherit the card box. */
.cp .cp-methods .cp-contact-lines li{padding:0;border:0;border-radius:0;background:none}


/* ==========================================================================
   Header menu, all public pages (home and inner): current-page marker and
   no overlap between the logo text and the menu on laptop widths.
   ========================================================================== */
.portal-nav-shell .portal-nav>a.nav-tab.is-current{color:#0b2c55!important;border-bottom-color:#0b7a3e!important}
.portal-nav-shell .portal-nav>a.nav-tab:focus-visible{outline:3px solid #c38a28;outline-offset:-3px}
.nav-caret{display:none!important}

@media (min-width:1181px) and (max-width:1320px){
  .portal-page .portal-nav-shell .portal-nav>a.nav-tab{padding-left:9px!important;padding-right:9px!important;font-size:13.5px!important}
  .portal-page .brand-copy-portal strong{font-size:17px!important}
  .portal-page .portal-nav-shell .nav-actions{margin-left:8px!important}
  .portal-page .portal-nav-shell .nav-actions .button{padding-left:14px!important;padding-right:14px!important}
}
@media (min-width:951px) and (max-width:1180px){
  .portal-page .brand-copy{display:none!important}
  .portal-page .brand{max-width:64px!important}
  .portal-page .portal-nav-shell .portal-container{padding-left:72px!important}
  .portal-page .portal-nav-shell .portal-nav>a.nav-tab{padding-left:8px!important;padding-right:8px!important;font-size:13.5px!important}
  .portal-page .portal-nav-shell .nav-actions{margin-left:6px!important;gap:8px!important}
  .portal-page .portal-nav-shell .nav-actions .button{padding-left:13px!important;padding-right:13px!important;font-size:13.5px!important}
}

/* Keep header buttons the same shape at every width. */
.portal-page .portal-nav-shell .nav-actions .button{border-radius:8px!important}


/* ===== Admin > Staff and Change password (st-, pw-) ===== */
.st-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;flex-wrap:wrap;margin-bottom:.75rem}.st-head h2{margin:0}
.st-table td{vertical-align:top}.st-sub{display:block;color:#6b7a90;font-size:13px;margin-top:2px}
.st-row-blocked td{background:#fbf8f8}.st-row-blocked td strong{color:#7a8597}
.st-badge{display:inline-block;margin:0 4px 4px 0;padding:3px 9px;border-radius:999px;font-size:12.5px;font-weight:700;white-space:nowrap}
.st-badge-active{background:#e8f7f1;color:#08704e}.st-badge-blocked{background:#fdecea;color:#a12a1f}.st-badge-warn{background:#fff4dc;color:#7a5a12}.st-badge-muted{background:#eef2f8;color:#4a5a78}
.st-actions{white-space:nowrap}.st-actions .card-link{display:inline-block;margin:0 12px 4px 0;font-size:14px}
.st-temp{background:#f0f6ff;border:1px solid #c9dbf4;border-left:5px solid var(--pastic-blue,#0b3d91);border-radius:10px;padding:18px 22px;margin:0 0 1.25rem}
.st-temp h2{margin:0 0 6px;font-size:18px;color:var(--pastic-deep,#072a66)}.st-temp p{margin:0 0 8px}
.st-temp-code{display:inline-block;font:700 24px/1.2 Consolas,"Courier New",monospace;letter-spacing:.08em;background:#fff;border:1px dashed #9bb7e0;border-radius:8px;padding:10px 16px;margin:4px 0 10px;color:#0d2346;user-select:all}
.st-block{border-left:5px solid #c0392b}.st-block h2{margin-bottom:.4rem}.st-block .field{max-width:560px;margin-top:.75rem}
.button.st-danger{background:#c0392b;border-color:#c0392b}.button.st-danger:hover{background:#962d22;border-color:#962d22}
.st-form{max-width:none;margin:0}.st-form h2{margin-top:0;color:var(--pastic-deep,#072a66)}.st-form input[disabled]{background:#f1f4f8;color:#6b7a90}
.pw-card{max-width:520px;margin:1.5rem auto}.pw-card h1{margin:0 0 .75rem;font-size:26px;color:var(--pastic-deep,#072a66)}.pw-grid{grid-template-columns:1fr}
@media (max-width:640px){.st-temp-code{font-size:19px;letter-spacing:.04em}.st-actions{white-space:normal}}

/* Signed-in pages: the role menu has up to 13 links, more than fit beside the
   logo, so it gets its own row under the brand instead of overlapping it. */
@media(min-width:981px){
  .portal-page.is-authenticated:not(.home-page):not(.student-dashboard-page) .portal-nav-shell{position:relative;top:auto;z-index:9;background:#fff;border-top:1px solid #e3eaf3;border-bottom:1px solid #e3eaf3;pointer-events:auto}
  .portal-page.is-authenticated:not(.home-page):not(.student-dashboard-page) .portal-nav-shell .portal-container{height:auto;min-height:50px;padding-left:0!important;justify-content:flex-start}
  .portal-page.is-authenticated:not(.home-page):not(.student-dashboard-page) .portal-nav-shell .nav-actions{flex:1;margin-left:0;gap:6px}
  .portal-page.is-authenticated:not(.home-page):not(.student-dashboard-page) .portal-nav-shell .role-nav-links{flex:1;flex-wrap:wrap;margin-left:-10px}
  .portal-page.is-authenticated:not(.home-page):not(.student-dashboard-page) .portal-nav-shell .role-nav-link{padding:14px 10px 12px;font-size:14px}
  .portal-page.is-authenticated:not(.home-page):not(.student-dashboard-page) .portal-nav-shell .nav-actions .button{min-height:36px;padding:7px 16px}
  .portal-page.is-authenticated:not(.home-page):not(.student-dashboard-page) .portal-nav-shell .nav-change-password{color:#4f6982;white-space:nowrap}
}
/* Staff table: keep the actions visible without sideways scrolling */
.st-table th{white-space:normal}.st-table td:nth-child(4){white-space:nowrap;font-size:13.5px}
.st-actions .card-link{display:block;margin:0 0 6px}

@media(min-width:951px) and (max-width:1180px){
  .portal-page.is-authenticated:not(.home-page):not(.student-dashboard-page) .brand{max-width:none!important}
  .portal-page.is-authenticated:not(.home-page):not(.student-dashboard-page) .brand-copy-portal{display:flex!important}
}
@media(max-width:1300px){.student-dashboard-page .nav-change-password{display:none}}
.st-table td:nth-child(1),.st-table td:nth-child(2){overflow-wrap:anywhere}
.st-table th:nth-child(5),.st-table td:nth-child(5){text-align:center}
@media(max-width:700px){
  .st-table,.st-table tbody,.st-table tr,.st-table td{display:block;width:100%}
  .st-table thead{display:none}
  .st-table tr{border-bottom:1px solid #e3eaf3;padding:10px 0}
  .st-table td{border:0!important;padding:4px 12px!important;text-align:left!important}
  .st-table td:nth-child(4)::before{content:"Last sign-in: ";color:#6b7a90}
  .st-table td:nth-child(5)::before{content:"Open applications: ";color:#6b7a90}
  .st-table td:nth-child(4) .st-sub{display:inline;margin-left:6px}
  .st-actions .card-link{display:inline-block;margin:4px 16px 0 0}
}

/* Forgot password link (sign-in) and admin reset-by-email box */
.lg-forgot{display:inline-block;margin-top:6px;font-size:14px;font-weight:600;color:#0b5aa2;text-decoration:none}
.lg-forgot:hover{text-decoration:underline}
.st-reset h2{margin-bottom:.35rem}
.st-reset-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:.75rem}
.st-reset-row .field{flex:1 1 320px;max-width:480px}
.st-reset-row .button{min-height:44px}
