/* IGA V63 — final visual/accessibility repair layer
   One visual grammar: deep navy + warm beige + restrained gold/saffron/green.
*/
:root{
 --igaN:#071b49;--igaN2:#0d2b61;--igaB:#f1eadb;--igaB2:#faf7ef;--igaP:#fffdf8;--igaInk:#15233c;--igaMuted:#526276;--igaGold:#c9a24b;--igaSaff:#e97b16;--igaGreen:#147a48;--igaLine:#d8ccb1;--igaLineN:rgba(255,255,255,.18);--igaR:12px;--igaR2:8px;--igaShadow:0 8px 26px rgba(7,27,73,.08);--igaShadow2:0 18px 46px rgba(7,27,73,.14)
}
html{background:var(--igaB2);color:var(--igaInk);overflow-x:hidden}
body{background:var(--igaB2)!important;color:var(--igaInk)!important;min-height:100vh;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body[data-theme="navy"],html[data-iga-theme="navy"]{background:var(--igaN)!important;color:#f8f4ea!important}
body[data-theme="navy"] main,body[data-theme="navy"] .section,body[data-theme="navy"] .section.alt,body[data-theme="navy"] .page-intro,body[data-theme="navy"] .hero,body[data-theme="navy"] .materials-heading,body[data-theme="navy"] .materials-page,body[data-theme="navy"] .quiz-page,body[data-theme="navy"] .iga-v23,body[data-theme="navy"] .iga-shell{background:var(--igaN)!important;color:#f8f4ea!important}
body[data-theme="navy"] p,body[data-theme="navy"] li,body[data-theme="navy"] label,body[data-theme="navy"] td,body[data-theme="navy"] .lead,body[data-theme="navy"] .muted,body[data-theme="navy"] .hero-text,body[data-theme="navy"] .page-intro .lead{color:#dce3ef!important}
body[data-theme="navy"] h1,body[data-theme="navy"] h2,body[data-theme="navy"] h3,body[data-theme="navy"] h4{color:#fff!important}
body[data-theme="navy"] .eyebrow,.eyebrow{color:var(--igaGold)!important}
body[data-theme="navy"] a{color:#f7f3e8}
body[data-theme="navy"] .text-link,body[data-theme="navy"] .exam-card a,body[data-theme="navy"] .resource-card a{color:var(--igaN)!important}
body[data-theme="navy"] .exam-card p,body[data-theme="navy"] .resource-card p,body[data-theme="navy"] .article-card p,body[data-theme="navy"] .video-card p,body[data-theme="navy"] .pyq-card p{color:var(--igaMuted)!important}
body[data-theme="navy"] .exam-card h3,body[data-theme="navy"] .resource-card h3,body[data-theme="navy"] .syllabus-card h3{color:var(--igaN)!important}
/* prevent the old pages' blur/opacity/filter experiments from dimming content */
main,main *{text-shadow:none!important}
body img{filter:none!important;opacity:1!important}
body .section,body .section *,body .feature-box,body .feature-box *,body .exam-card,body .exam-card *,body .resource-card,body .resource-card *,body .syllabus-card,body .syllabus-card *,body .pyq-card,body .pyq-card *,body .article-card,body .article-card *,body .video-card,body .video-card *{opacity:1}
/* Header */
.site-header{position:sticky!important;top:0!important;z-index:5000!important;background:var(--igaN)!important;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.13)!important;box-shadow:0 4px 20px rgba(0,0,0,.13)!important;backdrop-filter:none!important}
.site-header .header-inner{min-height:94px!important;display:flex!important;align-items:center!important;gap:22px!important;padding:9px 0!important}
.site-header .logo{flex:0 0 auto!important}.site-header .logo img{width:270px!important;max-width:30vw!important;max-height:80px!important;object-fit:contain!important;display:block!important}
.site-header nav.iga-primary-nav{display:flex!important;flex:1 1 auto!important;min-width:0!important;align-items:center!important;justify-content:flex-end!important;gap:2px!important;overflow:hidden!important}
.site-header nav.iga-primary-nav a{font-size:13px!important;padding:9px 10px!important;border-radius:7px!important;color:rgba(255,255,255,.82)!important;white-space:nowrap!important}
.site-header nav.iga-primary-nav a:hover,.site-header nav.iga-primary-nav a:focus-visible,.site-header nav.iga-primary-nav a.active,.site-header nav.iga-primary-nav a[aria-current="page"]{background:rgba(255,255,255,.11)!important;color:#fff!important}
.iga-header-tools{display:flex!important;align-items:center!important;gap:7px!important;flex:0 0 auto!important}
.iga-header-search-trigger,.iga-theme-toggle,.iga-accessibility-toggle{height:40px!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:8px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;font-weight:800!important;cursor:pointer!important;padding:0 11px!important}
.iga-header-search-trigger{min-width:90px!important}.iga-header-search-trigger:hover,.iga-theme-toggle:hover,.iga-accessibility-toggle:hover{background:rgba(255,255,255,.15)!important;border-color:rgba(255,255,255,.45)!important}
.iga-accessibility-toggle{min-width:42px!important;font-size:15px!important}
.mobile-menu-toggle{display:none!important}
.iga-mobile-nav{display:none}
/* Search */
.iga-v63-search{position:fixed;inset:0;z-index:10000;background:rgba(3,13,37,.72);padding:9vh 18px 30px;overflow:auto}
.iga-v63-search-panel{width:min(820px,100%);margin:auto;background:var(--igaP);border:1px solid var(--igaLine);border-radius:16px;box-shadow:var(--igaShadow2);overflow:hidden;color:var(--igaInk)}
.iga-v63-search-top{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--igaLine);font-size:11px;font-weight:900;letter-spacing:.16em;color:var(--igaGold)}
.iga-v63-search-top button{border:0;background:transparent;font-size:27px;color:var(--igaInk);cursor:pointer}.iga-v63-search-panel form{display:flex;gap:10px;padding:18px 20px;border-bottom:1px solid var(--igaLine)}
.iga-v63-search-panel input{flex:1;min-width:0;height:54px;border:1px solid #cbbf9f;border-radius:9px;background:#fff;color:#15233c;padding:0 16px;outline:none;font-size:16px}.iga-v63-search-panel input:focus{border-color:var(--igaN);box-shadow:0 0 0 3px rgba(7,27,73,.13)}
.iga-v63-search-panel form button{height:54px;border:0;border-radius:9px;background:var(--igaN);color:#fff;font-weight:900;padding:0 20px;cursor:pointer}.iga-v63-search-results{max-height:52vh;overflow:auto;padding:10px}.iga-v63-search-results a{display:block;padding:14px;border-radius:9px;color:var(--igaInk);text-decoration:none}.iga-v63-search-results a:hover,.iga-v63-search-results a:focus-visible{background:#f3eddf}.iga-v63-search-results strong{display:block;font-size:15px}.iga-v63-search-results span{display:block;margin-top:3px;color:var(--igaMuted);font-size:13px;line-height:1.5}.iga-search-empty{padding:28px 16px;color:var(--igaMuted);text-align:center}.iga-v63-search-hint{padding:13px 20px 17px;font-size:12px;color:var(--igaMuted);border-top:1px solid var(--igaLine)}
/* Accessibility */
.iga-a11y-panel{position:fixed;right:18px;top:102px;z-index:10001;width:min(330px,calc(100vw - 36px));display:none;grid-template-columns:46px 1fr;gap:9px;align-items:center;background:var(--igaP);color:var(--igaInk);border:1px solid var(--igaLine);border-radius:14px;padding:16px;box-shadow:var(--igaShadow2)}
.iga-a11y-panel.open{display:grid}.iga-a11y-head{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;border-bottom:1px solid var(--igaLine);margin-bottom:2px}.iga-a11y-head button{border:0;background:transparent;font-size:22px;cursor:pointer}.iga-a11y-panel>button{height:40px;border:1px solid var(--igaLine);border-radius:8px;background:#f5efe2;color:var(--igaN);font-weight:900;cursor:pointer}.iga-a11y-panel>span{font-size:13px;color:var(--igaMuted)}
/* Theme-aware cards */
body[data-theme="navy"] .iga-card,body[data-theme="navy"] .iga-widget,body[data-theme="navy"] .iga-platform-card,body[data-theme="navy"] .iga-stat,body[data-theme="navy"] .iga-next,body[data-theme="navy"] .feature-box,body[data-theme="navy"] .account-panel,body[data-theme="navy"] .course-card-large{background:var(--igaP)!important;color:var(--igaInk)!important;border-color:var(--igaLine)!important}
body[data-theme="navy"] .iga-card p,body[data-theme="navy"] .iga-widget p,body[data-theme="navy"] .iga-platform-card p,body[data-theme="navy"] .iga-stat span,body[data-theme="navy"] .iga-next p,body[data-theme="navy"] .iga-next span{color:var(--igaMuted)!important}
/* Student surfaces */
.iga-v23{min-height:100vh;background:var(--igaB2)!important}.iga-v23 .iga-shell{width:min(calc(100% - 40px),1180px)!important;margin:auto!important}.iga-v23 .iga-topbar{display:none!important}
.iga-v23 .iga-hero{padding:76px 0 58px!important;background:var(--igaB)!important;border-bottom:1px solid var(--igaLine)!important}.iga-v23 .iga-hero-grid{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)!important;gap:42px!important;align-items:stretch!important}.iga-v23 .iga-hero h1{font-size:clamp(44px,5.5vw,74px)!important;max-width:780px!important;color:var(--igaN)!important}.iga-v23 .iga-hero p{font-size:18px!important;color:var(--igaMuted)!important;max-width:700px!important}.iga-v23 .iga-next{border:1px solid var(--igaLine)!important;border-radius:14px!important;padding:27px!important;background:var(--igaP)!important;box-shadow:var(--igaShadow)!important;display:flex!important;flex-direction:column!important;justify-content:center!important}.iga-v23 .iga-next .action{font-size:28px!important;font-weight:900!important;line-height:1.2!important;color:var(--igaN)!important}.iga-v23 .iga-next .iga-reason{color:var(--igaMuted)!important}.iga-v23 .iga-cta{display:inline-flex!important;background:var(--igaN)!important;color:#fff!important;border-radius:8px!important;padding:11px 16px!important;font-weight:900!important}
.iga-v23 .iga-section{padding:38px 0!important;background:transparent!important}.iga-v23 .iga-stats{display:grid!important;grid-template-columns:repeat(4,1fr)!important;border:1px solid var(--igaLine)!important;border-radius:12px!important;background:var(--igaP)!important;overflow:hidden!important}.iga-v23 .iga-stat{padding:20px!important;border:0!important;border-right:1px solid var(--igaLine)!important;border-radius:0!important;box-shadow:none!important}.iga-v23 .iga-stat:last-child{border-right:0!important}.iga-v23 .iga-stat strong{font-size:30px!important;color:var(--igaN)!important}.iga-v23 .iga-stat span{color:var(--igaMuted)!important}
.iga-v23 .iga-grid{display:grid!important;grid-template-columns:1.35fr .65fr!important;gap:18px!important}.iga-v23 .iga-card{padding:27px!important;border-radius:12px!important;box-shadow:var(--igaShadow)!important}.iga-v23 .iga-card.full{grid-column:1/-1!important}.iga-v23 .iga-card h2{font-size:28px!important;color:var(--igaN)!important}.iga-v23 .iga-card p{color:var(--igaMuted)!important}.iga-v23 .iga-kicker{color:var(--igaGold)!important;font-size:10px!important;letter-spacing:.16em!important;font-weight:900!important}.iga-v23 .iga-meter{height:7px!important;background:#e8dfcd!important;border-radius:999px!important;overflow:hidden!important}.iga-v23 .iga-meter i{display:block!important;height:100%!important;background:var(--igaGold)!important}.iga-v23 .iga-list{display:grid!important;gap:9px!important}.iga-v23 .iga-list a{padding:12px 0!important;border-bottom:1px solid var(--igaLine)!important;color:var(--igaN)!important;font-weight:800!important}.iga-v23 .iga-bottom{display:flex!important;justify-content:space-between!important;gap:20px!important;padding:28px 0 60px!important;color:var(--igaMuted)!important}.iga-v23 .iga-bottom a{color:var(--igaN)!important;font-weight:900!important}
body[data-theme="navy"] .iga-v23 .iga-hero{background:var(--igaN)!important;border-color:var(--igaLineN)!important}.iga-v23 .iga-hero h1{color:var(--igaN)!important}.iga-v23 .iga-hero h1 span{color:var(--igaGold)!important}.iga-v23 .iga-hero p{color:var(--igaMuted)!important}
body[data-theme="navy"] .iga-v23 .iga-card h2,body[data-theme="navy"] .iga-v23 .iga-bottom a{color:var(--igaN)!important}
/* Forms / tables: readable, not washed out */
input,select,textarea{background:#fff!important;color:#15233c!important;border-color:#cbbf9f!important}.iga-high-contrast input,.iga-high-contrast select,.iga-high-contrast textarea{border-width:2px!important}
body[data-theme="navy"] table th{background:#e7dfcf!important;color:var(--igaN)!important}body[data-theme="navy"] table td{background:var(--igaP)!important;color:var(--igaInk)!important}
/* About + PYQ clarity */
body[data-theme="navy"] .legal-copy,body[data-theme="navy"] .iga-credit-card{color:var(--igaInk)!important}.iga-credit-ethics{filter:none!important;opacity:1!important}.iga-credit-ethics *{opacity:1!important;filter:none!important}
.previous-years-questions, .pyq-page, .pyq-list, .pyq-card{filter:none!important;opacity:1!important}
/* Top button */
#iga-v63-top{position:fixed;right:18px;bottom:18px;z-index:6000;width:46px;height:46px;border-radius:50%;border:1px solid var(--igaLine);background:var(--igaN);color:#fff;font-size:21px;font-weight:900;box-shadow:var(--igaShadow2);display:grid;place-items:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s,transform .18s,visibility .18s}#iga-v63-top.iga-visible{opacity:1;visibility:visible;transform:none}
/* social */
.iga-global-footer,.iga-social-dock{background:var(--igaN)!important;color:#fff!important}.iga-global-footer *,.iga-social-dock *{opacity:1!important;filter:none!important}.footer-social a{color:#fff!important}.iga-social-dock{display:flex;justify-content:space-between;gap:28px;align-items:center;padding:26px max(20px,calc((100% - 1220px)/2));border-top:1px solid rgba(255,255,255,.13)}
/* reduced motion works even when old styles specify transitions */
html.iga-reduced-motion *,html.iga-reduced-motion *::before,html.iga-reduced-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.iga-reduced-motion #iga-v63-top{transition:none!important}
html.iga-high-contrast{filter:none!important}html.iga-high-contrast body{--igaMuted:#34465c}html.iga-high-contrast a,html.iga-high-contrast button{outline-color:var(--igaN)}
html.iga-large-text body{font-size:17px!important}html.iga-xl-text body{font-size:18px!important}html.iga-large-text h1{font-size:clamp(50px,6.5vw,86px)!important}html.iga-xl-text h1{font-size:clamp(54px,7vw,92px)!important}
/* language widget */
.iga-language-switcher{left:16px!important;bottom:18px!important;background:var(--igaN)!important;border:1px solid rgba(255,255,255,.22)!important;box-shadow:var(--igaShadow2)!important;z-index:5900!important}.iga-language-switcher button{color:#fff!important}.iga-language-switcher button[aria-pressed="true"]{background:#fff!important;color:var(--igaN)!important}.iga-google-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
@media(max-width:1180px){.site-header .logo img{width:235px!important}.site-header nav.iga-primary-nav a{font-size:12px!important;padding-inline:7px!important}.iga-header-search-trigger{min-width:42px!important}.iga-header-search-trigger span{display:none}}
@media(max-width:900px){.site-header .header-inner{min-height:82px!important}.site-header .logo img{width:230px!important;max-width:48vw!important}.site-header nav.iga-primary-nav{display:none!important}.mobile-menu-toggle{display:inline-flex!important;align-items:center;justify-content:center!important;width:42px;height:42px;border:1px solid rgba(255,255,255,.28)!important;border-radius:8px!important;background:transparent!important;color:#fff!important;font-size:21px!important}.iga-mobile-nav{position:absolute!important;top:100%!important;left:12px!important;right:12px!important;display:none!important;background:var(--igaN)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:0 0 12px 12px!important;padding:8px!important;box-shadow:var(--igaShadow2)!important}.iga-mobile-nav.open{display:grid!important;grid-template-columns:1fr 1fr!important}.iga-mobile-nav a{padding:13px!important;color:#fff!important;border-radius:7px!important}.iga-mobile-nav a:hover{background:rgba(255,255,255,.09)!important}.iga-v23 .iga-hero-grid,.iga-v23 .iga-grid{grid-template-columns:1fr!important}.iga-v23 .iga-stats{grid-template-columns:repeat(2,1fr)!important}.iga-v23 .iga-stat{border-bottom:1px solid var(--igaLine)!important}.iga-social-dock{flex-direction:column;align-items:flex-start}.footer-social{display:flex;flex-wrap:wrap;gap:7px!important}}
@media(max-width:600px){.container,.materials-container{width:min(calc(100% - 28px),1220px)!important}.site-header .header-inner{padding:7px 0!important}.site-header .logo img{width:205px!important;max-width:56vw!important}.iga-header-tools{gap:4px!important}.iga-theme-toggle{font-size:9px!important;padding-inline:8px!important}.iga-accessibility-toggle{display:inline-flex!important;align-items:center;justify-content:center;min-width:38px;min-height:34px}.iga-v63-search{padding:18px 10px}.iga-v63-search-panel{border-radius:12px}.iga-v63-search-panel form{display:grid;grid-template-columns:1fr auto}.iga-v63-search-panel form button{grid-column:1/-1}.iga-v23 .iga-hero{padding:50px 0 42px!important}.iga-v23 .iga-hero h1{font-size:43px!important}.iga-v23 .iga-stats{grid-template-columns:1fr 1fr!important}.iga-v23 .iga-stat{padding:15px!important}.iga-v23 .iga-stat strong{font-size:25px!important}.iga-v23 .iga-card{padding:21px!important}.iga-v23 .iga-bottom{flex-direction:column}.iga-language-switcher{left:8px!important;bottom:8px!important}.iga-language-switcher .iga-lang-label{display:none!important}#iga-v63-top{right:12px;bottom:12px}}
/* My IGA V63 */
.iga-v23 .iga-hero-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:24px}.iga-v23 .iga-quiet-link{color:var(--igaN)!important;font-weight:850!important}.iga-v23 .iga-next .iga-cta{margin-top:20px;align-self:flex-start}.iga-v23 .iga-next small{display:block;margin-top:14px;color:#718096!important;font-size:12px;line-height:1.5}.iga-v23 .iga-section-head{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:24px}.iga-v23 .iga-section-head h2{margin-bottom:0}.iga-v23 .iga-subject-list{display:grid;gap:16px;margin-top:26px}.iga-v23 .iga-subject-row>div:first-child{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px}.iga-v23 .iga-subject-row>div:first-child span{font-weight:900;color:var(--igaN)}.iga-v23 .iga-subject-row small{color:var(--igaMuted);font-size:12px}.iga-v23 .iga-list a{display:grid!important;gap:3px}.iga-v23 .iga-list a span{font-size:12px;color:var(--igaMuted)!important;font-weight:600}.iga-v23 .iga-loop{border:1px solid var(--igaLine);background:var(--igaB);border-radius:14px;padding:30px;display:grid;grid-template-columns:.75fr 1.25fr;gap:34px;align-items:center}.iga-v23 .iga-loop h2{color:var(--igaN)!important}.iga-v23 .iga-loop p{color:var(--igaMuted)!important}.iga-v23 .iga-loop-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.iga-v23 .iga-loop-steps a{padding:18px 14px;border-left:1px solid var(--igaLine);display:grid;gap:5px;color:var(--igaN)!important}.iga-v23 .iga-loop-steps b{font-size:10px;letter-spacing:.15em;color:var(--igaGold)}.iga-v23 .iga-loop-steps strong{font-size:16px}.iga-v23 .iga-loop-steps span{font-size:11px;color:var(--igaMuted)}.iga-v23 .iga-support{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;padding-bottom:72px}.iga-v23 .iga-support h2{color:var(--igaN)!important}.iga-v23 .iga-support-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.iga-v23 .iga-support-actions a{padding:11px 14px;border:1px solid var(--igaLine);border-radius:8px;background:var(--igaP);color:var(--igaN)!important;font-weight:800;font-size:13px}.iga-v23 .iga-support-actions a:hover{border-color:var(--igaN)}body[data-theme="navy"] .iga-v23 .iga-loop{background:#0d2b61!important;border-color:rgba(255,255,255,.17)!important}.iga-v23 .iga-loop h2,body[data-theme="navy"] .iga-v23 .iga-support h2{color:var(--igaN)!important}.iga-v23 .iga-hero-actions .iga-quiet-link{color:var(--igaN)!important}@media(max-width:900px){.iga-v23 .iga-loop{grid-template-columns:1fr}.iga-v23 .iga-loop-steps{grid-template-columns:1fr 1fr}.iga-v23 .iga-support{grid-template-columns:1fr}.iga-v23 .iga-support-actions{justify-content:flex-start}.iga-v23 .iga-section-head{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.iga-v23 .iga-loop-steps{grid-template-columns:1fr}.iga-v23 .iga-loop-steps a{border-left:0;border-top:1px solid var(--igaLine)}}
.iga-share-strip{width:min(calc(100% - 40px),1180px);margin:10px auto 56px;padding:25px 28px;border:1px solid var(--igaLine);border-radius:13px;background:var(--igaB);display:flex;align-items:center;justify-content:space-between;gap:24px}.iga-share-kicker{font-size:10px;letter-spacing:.16em;font-weight:900;color:var(--igaGold)}.iga-share-strip h2{margin:5px 0 5px;color:var(--igaN)!important;font-size:28px}.iga-share-strip p{margin:0;color:var(--igaMuted)!important}.iga-share-actions{display:flex;gap:8px;flex-wrap:wrap}.iga-share-actions button{border:1px solid var(--igaLine);background:var(--igaP);color:var(--igaN);border-radius:8px;padding:10px 14px;font-weight:850;cursor:pointer}.iga-share-actions button:first-child{background:var(--igaN);color:#fff;border-color:var(--igaN)}#iga-share-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:2147483647;background:var(--igaN);color:#fff;border-radius:8px;padding:11px 16px;font-weight:800;box-shadow:var(--igaShadow2)}@media(max-width:700px){.iga-share-strip{width:min(calc(100% - 28px),1180px);display:block;padding:21px;margin-bottom:38px}.iga-share-actions{margin-top:18px}.iga-share-actions button{flex:1}}
.iga-about-intro{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:start;margin-bottom:44px}.iga-about-intro>p{font-size:19px;color:var(--igaMuted);line-height:1.8}.iga-about-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.iga-about-grid article{padding:26px;border:1px solid var(--igaLine);border-radius:11px;background:var(--igaP);box-shadow:var(--igaShadow)}.iga-about-grid article>span,.iga-team-grid span{display:block;color:var(--igaGold);font-size:10px;font-weight:900;letter-spacing:.15em;text-transform:uppercase;margin-bottom:10px}.iga-about-grid h3{color:var(--igaN);margin-bottom:9px}.iga-about-grid p{color:var(--igaMuted);margin:0}.iga-about-story{max-width:980px}.iga-about-story>p:not(.eyebrow){font-size:18px;color:var(--igaMuted);line-height:1.8}.iga-about-principles{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:28px}.iga-about-principles div{padding:17px 18px;border-left:3px solid var(--igaGold);background:var(--igaP);border-radius:7px}.iga-about-principles strong,.iga-about-principles span{display:block}.iga-about-principles span{margin-top:3px;color:var(--igaMuted);font-size:13px}.iga-credit-ethics{background:var(--igaN);color:#fff;border-radius:14px;padding:38px;box-shadow:var(--igaShadow2)}.iga-credit-ethics h2{color:#fff!important;font-family:Georgia,serif;font-size:clamp(34px,4vw,55px);margin-bottom:15px}.iga-credit-ethics>p:not(.eyebrow){color:#dce3ef;max-width:900px;font-size:18px}.iga-credit-ethics blockquote{margin:28px 0;padding:22px 25px;border-left:4px solid var(--igaGold);background:rgba(255,255,255,.06);font-family:Georgia,serif;font-size:24px;line-height:1.45;color:#fff}.iga-team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.iga-team-grid article{padding:25px;border:1px solid var(--igaLine);background:var(--igaP);border-radius:11px}.iga-team-grid strong{display:block;font-size:22px;color:var(--igaN);margin-bottom:6px}.iga-team-grid p{color:var(--igaMuted);margin-top:13px}.iga-about-final{max-width:900px;padding-bottom:35px}.iga-about-final h2{color:var(--igaN)}.iga-about-final>p:not(.eyebrow){font-size:19px;color:var(--igaMuted)}@media(max-width:800px){.iga-about-intro,.iga-about-grid,.iga-about-principles,.iga-team-grid{grid-template-columns:1fr}.iga-credit-ethics{padding:26px}}
.iga-hub-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.iga-hub-grid>a{padding:26px;background:var(--igaP);border:1px solid var(--igaLine);border-radius:11px;box-shadow:var(--igaShadow);color:var(--igaN)!important}.iga-hub-grid span{font-size:10px;font-weight:900;letter-spacing:.15em;color:var(--igaGold)}.iga-hub-grid h3{margin:12px 0 8px;color:var(--igaN)}.iga-hub-grid p{color:var(--igaMuted);font-size:14px}.iga-hub-grid b{display:block;margin-top:20px}.hub-workspace{display:grid;grid-template-columns:.85fr 1.15fr;gap:35px;align-items:center}.hub-workspace h2{color:var(--igaN)}.hub-workspace>div>p:not(.eyebrow){font-size:17px;color:var(--igaMuted);line-height:1.7}.hub-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hub-links a{padding:17px;border:1px solid var(--igaLine);border-radius:9px;background:var(--igaP);color:var(--igaN)!important}.hub-links strong,.hub-links span{display:block}.hub-links span{font-size:12px;color:var(--igaMuted);margin-top:3px}.iga-hub-exams{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.iga-hub-exams a{padding:22px 17px;background:var(--igaB);border:1px solid var(--igaLine);border-radius:9px;color:var(--igaN)!important}.iga-hub-exams strong,.iga-hub-exams span{display:block}.iga-hub-exams span{font-size:12px;color:var(--igaMuted);margin-top:4px}.hub-support{padding:35px;border-radius:13px;background:var(--igaN);color:#fff}.hub-support h2{color:#fff!important;max-width:800px}.hub-support>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.hub-support a{padding:10px 14px;border:1px solid rgba(255,255,255,.25);border-radius:8px;color:#fff!important}@media(max-width:950px){.iga-hub-grid{grid-template-columns:1fr 1fr}.iga-hub-exams{grid-template-columns:repeat(3,1fr)}.hub-workspace{grid-template-columns:1fr}}@media(max-width:600px){.iga-hub-grid,.hub-links,.iga-hub-exams{grid-template-columns:1fr}.hub-support{padding:25px}}


/* IGA V64 — authoritative interaction/accessibility layer. Loaded last on purpose. */
html.iga-high-contrast, html.iga-high-contrast body{background:#fff!important;color:#000!important}
html.iga-high-contrast body *{text-shadow:none!important}
html.iga-high-contrast body p,html.iga-high-contrast body li,html.iga-high-contrast body label,html.iga-high-contrast body td,html.iga-high-contrast body th,html.iga-high-contrast body small,html.iga-high-contrast body span{color:#111!important}
html.iga-high-contrast body h1,html.iga-high-contrast body h2,html.iga-high-contrast body h3,html.iga-high-contrast body h4,html.iga-high-contrast body h5,html.iga-high-contrast body h6{color:#000!important}
html.iga-high-contrast body a{color:#003b8f!important;text-decoration:underline!important;text-decoration-thickness:2px!important}
html.iga-high-contrast body button{background:#000!important;color:#fff!important;border:2px solid #000!important}
html.iga-high-contrast body input,html.iga-high-contrast body select,html.iga-high-contrast body textarea{background:#fff!important;color:#000!important;border:2px solid #000!important}
html.iga-high-contrast .site-header{background:#000!important;color:#fff!important;border-bottom:2px solid #fff!important}
html.iga-high-contrast .site-header nav a,html.iga-high-contrast .site-header .iga-header-tools button{color:#fff!important;background:#000!important;border-color:#fff!important}
html.iga-high-contrast .section,html.iga-high-contrast .page-intro,html.iga-high-contrast .hero,html.iga-high-contrast .materials-heading,html.iga-high-contrast .iga-v23,html.iga-high-contrast .iga-v23 .iga-hero{background:#fff!important;color:#000!important}
html.iga-high-contrast .iga-card,html.iga-high-contrast .iga-platform-card,html.iga-high-contrast .exam-card,html.iga-high-contrast .resource-card,html.iga-high-contrast .syllabus-card,html.iga-high-contrast .article-card,html.iga-high-contrast .video-card,html.iga-high-contrast .pyq-card{background:#fff!important;border:2px solid #000!important;color:#000!important;box-shadow:none!important}
html.iga-high-contrast .iga-a11y-panel,html.iga-high-contrast .iga-v63-search-panel{background:#fff!important;color:#000!important;border:2px solid #000!important}
html.iga-high-contrast .iga-a11y-panel *{color:#000!important}
html.iga-reduced-motion *,html.iga-reduced-motion *::before,html.iga-reduced-motion *::after{animation-duration:0s!important;animation-delay:0s!important;transition-duration:0s!important;transition-delay:0s!important;scroll-behavior:auto!important}
html.iga-reduced-motion{scroll-behavior:auto!important}
.iga-accessibility-toggle{display:inline-flex!important;align-items:center;justify-content:center!important}
.iga-a11y-panel{max-height:calc(100vh - 122px);overflow:auto}
@media(max-width:900px){
 .site-header .header-inner{flex-wrap:nowrap!important;min-height:76px!important;padding:7px 10px!important}
 .site-header .logo img{width:205px!important;max-width:46vw!important}
 .site-header nav.iga-primary-nav{display:none!important}
 .iga-header-tools{margin-left:auto!important}
 .iga-header-search-trigger span{display:none!important}.iga-header-search-trigger{min-width:40px!important;padding:0 9px!important}
 .iga-theme-toggle{min-width:44px!important}.iga-accessibility-toggle{display:inline-flex!important;min-width:42px!important}
 .mobile-menu-toggle{display:inline-flex!important;align-items:center;justify-content:center!important;order:4!important}
 .iga-mobile-nav{position:absolute!important;left:10px!important;right:10px!important;top:100%!important;background:var(--igaN)!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:0 0 12px 12px!important;padding:12px!important;grid-template-columns:1fr 1fr!important;gap:6px!important;box-shadow:var(--igaShadow2)!important}
 .iga-mobile-nav.open{display:grid!important}.iga-mobile-nav a{display:block!important;padding:12px!important;color:#fff!important;border-radius:7px!important}
}
@media(max-width:560px){.site-header .logo img{width:190px!important;max-width:48vw!important}.iga-header-tools{gap:3px!important}.iga-theme-toggle{font-size:9px!important;padding-inline:7px!important}.iga-a11y-panel{right:8px;left:8px;top:84px;width:auto}.iga-v63-search{padding:12px 8px}}
/* V64 teacher + content operations */
.iga-teacher-page{min-height:100vh;background:var(--igaB2)}.iga-teacher-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.iga-teacher-card{background:var(--igaP);border:1px solid var(--igaLine);border-radius:14px;padding:26px;box-shadow:var(--igaShadow)}.iga-teacher-card h2{color:var(--igaN);margin:4px 0 10px}.iga-teacher-card>p:not(.eyebrow){color:var(--igaMuted)}.iga-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:18px 0}.iga-form-grid label,.iga-teacher-card>label{display:grid;gap:6px;font-size:13px;font-weight:800;color:var(--igaN)}.iga-form-grid .full{grid-column:1/-1}.iga-form-grid input,.iga-form-grid select,.iga-form-grid textarea,.iga-teacher-card>label input,.iga-teacher-card>label textarea{width:100%;padding:11px;border:1px solid var(--igaLine);border-radius:8px;background:#fff;color:var(--igaInk);font:inherit}.iga-form-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:15px 0}.iga-form-row input{flex:1;min-width:180px;padding:11px;border:1px solid var(--igaLine);border-radius:8px}.iga-upload-progress{height:9px;background:#e7dfcf;border-radius:999px;overflow:hidden;margin:14px 0 7px}.iga-upload-progress>div{height:100%;width:0;background:var(--igaN);transition:width .12s linear}.iga-teacher-list{display:grid;gap:8px;margin-top:15px;max-height:460px;overflow:auto}.iga-teacher-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:13px;border:1px solid var(--igaLine);border-radius:9px;background:var(--igaB2)}.iga-teacher-row>div{min-width:0}.iga-teacher-row strong,.iga-teacher-row span{display:block}.iga-teacher-row span{font-size:12px;color:var(--igaMuted);margin-top:3px}.iga-teacher-row button,.iga-teacher-row a{border:1px solid var(--igaLine);background:var(--igaP);color:var(--igaN);border-radius:7px;padding:7px 10px;font-weight:800;text-decoration:none;cursor:pointer}.iga-student-resources,.iga-student-polls{display:grid;gap:12px;margin-top:18px}.iga-resource-section{border-top:1px solid var(--igaLine);padding-top:15px}.iga-resource-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.iga-resource-head h3{margin:0;color:var(--igaN)}.iga-resource-head span{font-size:12px;color:var(--igaMuted)}.iga-resource-list{display:grid;gap:7px;margin-top:8px}.iga-resource-item{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--igaLine);border-radius:8px;background:var(--igaP);color:var(--igaN);text-decoration:none}.iga-resource-item span{font-size:12px;color:var(--igaMuted)}.iga-poll-card{border:1px solid var(--igaLine);border-radius:10px;padding:17px;background:var(--igaB2)}.iga-poll-card h3{margin:0 0 12px;color:var(--igaN)}.iga-poll-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.iga-poll-options button{padding:11px;border:1px solid var(--igaLine);background:var(--igaP);color:var(--igaN);border-radius:8px;text-align:left;font-weight:800;cursor:pointer}.iga-poll-options button.selected{background:var(--igaN);color:#fff}.iga-poll-options button small{float:right}.iga-poll-card>p{font-size:12px;color:var(--igaMuted);margin:9px 0 0}@media(max-width:850px){.iga-teacher-grid{grid-template-columns:1fr}}@media(max-width:560px){.iga-form-grid{grid-template-columns:1fr}.iga-form-grid .full{grid-column:auto}.iga-poll-options{grid-template-columns:1fr}.iga-teacher-card{padding:20px}.iga-teacher-row{align-items:flex-start;flex-direction:column}}
.iga-teacher-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:14px 0}.iga-teacher-metrics article{padding:14px;border:1px solid var(--igaLine);background:var(--igaP);border-radius:9px}.iga-teacher-metrics span,.iga-teacher-metrics strong{display:block}.iga-teacher-metrics span{font-size:11px;color:var(--igaMuted)}.iga-teacher-metrics strong{font-size:24px;color:var(--igaN);margin-top:5px}@media(max-width:900px){.iga-teacher-metrics{grid-template-columns:repeat(3,1fr)}}@media(max-width:560px){.iga-teacher-metrics{grid-template-columns:1fr 1fr}}

/* V64.1 accessibility authority — must win over historical layers. */
html.iga-high-contrast body, html.iga-high-contrast body * { text-shadow:none!important; }
html.iga-high-contrast .iga-language-switcher, html.iga-high-contrast .iga-language-switcher * { background:#000!important; color:#fff!important; border-color:#fff!important; }
html.iga-reduced-motion, html.iga-reduced-motion body { scroll-behavior:auto!important; }
html.iga-reduced-motion *, html.iga-reduced-motion *::before, html.iga-reduced-motion *::after { animation:none!important; transition-property:none!important; transition-duration:0s!important; transition-delay:0s!important; scroll-behavior:auto!important; }
@media(max-width:600px){.iga-accessibility-toggle{display:inline-flex!important;min-width:38px!important;min-height:34px!important}.iga-a11y-panel{z-index:10050!important;bottom:72px!important;top:auto!important;max-height:calc(100vh - 92px)!important}}

/* IGA V64.3 — authoritative navy/beige theme + accessibility controls.
   This layer intentionally sits last so historical page styles cannot mute it. */
html, body { min-height:100%; }
body[data-theme="beige"], html[data-iga-theme="beige"] body {
  background:#faf7ef!important; color:#15233c!important;
}
body[data-theme="beige"] main, body[data-theme="beige"] .section, body[data-theme="beige"] .section.alt,
body[data-theme="beige"] .page-intro, body[data-theme="beige"] .hero, body[data-theme="beige"] .materials-heading,
body[data-theme="beige"] .materials-page, body[data-theme="beige"] .iga-v23, body[data-theme="beige"] .iga-shell {
  background:#faf7ef!important; color:#15233c!important;
}
body[data-theme="beige"] .section.alt, body[data-theme="beige"] .hero, body[data-theme="beige"] .page-intro,
body[data-theme="beige"] .materials-heading, body[data-theme="beige"] .iga-v23 .iga-hero { background:#f1eadb!important; }
body[data-theme="beige"] .iga-card, body[data-theme="beige"] .iga-widget, body[data-theme="beige"] .iga-platform-card,
body[data-theme="beige"] .iga-stat, body[data-theme="beige"] .iga-next, body[data-theme="beige"] .feature-box,
body[data-theme="beige"] .account-panel, body[data-theme="beige"] .course-card-large, body[data-theme="beige"] .exam-card,
body[data-theme="beige"] .resource-card, body[data-theme="beige"] .article-card, body[data-theme="beige"] .video-card,
body[data-theme="beige"] .pyq-card, body[data-theme="beige"] .syllabus-card, body[data-theme="beige"] .material-card {
  background:#fffdf8!important; color:#15233c!important; border-color:#d8ccb1!important;
}

body[data-theme="navy"], html[data-iga-theme="navy"] body {
  background:#071b49!important; color:#f8f4ea!important;
}
body[data-theme="navy"] main, body[data-theme="navy"] .section, body[data-theme="navy"] .section.alt,
body[data-theme="navy"] .page-intro, body[data-theme="navy"] .hero, body[data-theme="navy"] .materials-heading,
body[data-theme="navy"] .materials-page, body[data-theme="navy"] .iga-v23, body[data-theme="navy"] .iga-shell,
body[data-theme="navy"] .iga-section { background:#071b49!important; color:#f8f4ea!important; }
body[data-theme="navy"] .section.alt, body[data-theme="navy"] .hero, body[data-theme="navy"] .page-intro,
body[data-theme="navy"] .materials-heading, body[data-theme="navy"] .iga-v23 .iga-hero { background:#0d2b61!important; }
body[data-theme="navy"] p, body[data-theme="navy"] li, body[data-theme="navy"] label,
body[data-theme="navy"] td, body[data-theme="navy"] th, body[data-theme="navy"] .lead,
body[data-theme="navy"] .hero-text, body[data-theme="navy"] .page-intro .lead,
body[data-theme="navy"] .muted { color:#dce3ef!important; }
body[data-theme="navy"] h1, body[data-theme="navy"] h2, body[data-theme="navy"] h3,
body[data-theme="navy"] h4, body[data-theme="navy"] h5, body[data-theme="navy"] h6 { color:#fff!important; }
body[data-theme="navy"] .iga-card, body[data-theme="navy"] .iga-widget, body[data-theme="navy"] .iga-platform-card,
body[data-theme="navy"] .iga-stat, body[data-theme="navy"] .iga-next, body[data-theme="navy"] .feature-box,
body[data-theme="navy"] .account-panel, body[data-theme="navy"] .course-card-large, body[data-theme="navy"] .exam-card,
body[data-theme="navy"] .resource-card, body[data-theme="navy"] .article-card, body[data-theme="navy"] .video-card,
body[data-theme="navy"] .pyq-card, body[data-theme="navy"] .syllabus-card, body[data-theme="navy"] .material-card,
body[data-theme="navy"] .iga-teacher-card, body[data-theme="navy"] .iga-poll-card, body[data-theme="navy"] .iga-resource-item {
  background:#fffdf8!important; color:#15233c!important; border-color:#d8ccb1!important;
}
body[data-theme="navy"] .iga-card p, body[data-theme="navy"] .iga-widget p, body[data-theme="navy"] .iga-platform-card p,
body[data-theme="navy"] .iga-stat span, body[data-theme="navy"] .iga-next p, body[data-theme="navy"] .iga-next span,
body[data-theme="navy"] .exam-card p, body[data-theme="navy"] .resource-card p, body[data-theme="navy"] .article-card p,
body[data-theme="navy"] .video-card p, body[data-theme="navy"] .pyq-card p { color:#526276!important; }
body[data-theme="navy"] .iga-card h2, body[data-theme="navy"] .iga-card h3, body[data-theme="navy"] .iga-card h4,
body[data-theme="navy"] .iga-widget h2, body[data-theme="navy"] .iga-widget h3, body[data-theme="navy"] .iga-platform-card h2,
body[data-theme="navy"] .iga-platform-card h3, body[data-theme="navy"] .exam-card h3, body[data-theme="navy"] .resource-card h3,
body[data-theme="navy"] .article-card h3, body[data-theme="navy"] .video-card h3, body[data-theme="navy"] .pyq-card h3,
body[data-theme="navy"] .syllabus-card h3 { color:#071b49!important; }

/* Search must always be clickable, visible and above page overlays. */
.iga-header-tools { position:relative!important; z-index:10020!important; }
.iga-header-search-trigger { pointer-events:auto!important; opacity:1!important; visibility:visible!important; }
.iga-v63-search { display:none!important; }
.iga-v63-search.open { display:block!important; }
.iga-v63-search-panel { position:relative!important; z-index:10001!important; }
.iga-v63-search input { pointer-events:auto!important; opacity:1!important; }

/* Google Translate should never push the page downward or cover controls. */
.goog-te-banner-frame, .skiptranslate > iframe.goog-te-banner-frame { display:none!important; visibility:hidden!important; }
body { top:0!important; }
#google_translate_element { position:fixed!important; left:-10000px!important; top:0!important; width:1px!important; height:1px!important; overflow:hidden!important; opacity:0!important; pointer-events:none!important; }

/* Accessibility: deliberately obvious, high-contrast and motion-free. */
html.iga-high-contrast, html.iga-high-contrast body { background:#fff!important; color:#000!important; }
html.iga-high-contrast body * { text-shadow:none!important; filter:none!important; }
html.iga-high-contrast body, html.iga-high-contrast body main, html.iga-high-contrast body .section,
html.iga-high-contrast body .section.alt, html.iga-high-contrast body .hero, html.iga-high-contrast body .page-intro,
html.iga-high-contrast body .materials-heading { background:#fff!important; color:#000!important; }
html.iga-high-contrast body h1, html.iga-high-contrast body h2, html.iga-high-contrast body h3,
html.iga-high-contrast body h4, html.iga-high-contrast body h5, html.iga-high-contrast body h6,
html.iga-high-contrast body p, html.iga-high-contrast body li, html.iga-high-contrast body span,
html.iga-high-contrast body label, html.iga-high-contrast body td, html.iga-high-contrast body th { color:#000!important; }
html.iga-high-contrast body a { color:#003b8f!important; text-decoration:underline!important; text-decoration-thickness:2px!important; }
html.iga-high-contrast body button { background:#000!important; color:#fff!important; border:2px solid #000!important; }
html.iga-high-contrast .site-header { background:#000!important; color:#fff!important; border-bottom:2px solid #fff!important; }
html.iga-high-contrast .site-header a, html.iga-high-contrast .site-header button { color:#fff!important; background:#000!important; border-color:#fff!important; }
html.iga-high-contrast .iga-card, html.iga-high-contrast .iga-widget, html.iga-high-contrast .iga-platform-card,
html.iga-high-contrast .iga-stat, html.iga-high-contrast .iga-next, html.iga-high-contrast .exam-card,
html.iga-high-contrast .resource-card, html.iga-high-contrast .article-card, html.iga-high-contrast .video-card,
html.iga-high-contrast .pyq-card, html.iga-high-contrast .syllabus-card, html.iga-high-contrast .material-card,
html.iga-high-contrast .iga-teacher-card, html.iga-high-contrast .iga-poll-card { background:#fff!important; color:#000!important; border:2px solid #000!important; box-shadow:none!important; }
html.iga-high-contrast .iga-v63-search, html.iga-high-contrast .iga-v63-search-panel,
html.iga-high-contrast .iga-a11y-panel { background:#fff!important; color:#000!important; border:2px solid #000!important; }

html.iga-reduced-motion, html.iga-reduced-motion body { scroll-behavior:auto!important; }
html.iga-reduced-motion *, html.iga-reduced-motion *::before, html.iga-reduced-motion *::after {
  animation:none!important; transition:none!important; scroll-behavior:auto!important; transform:none!important;
}
@media (prefers-reduced-motion:reduce) {
  html:not(.iga-motion-override) *, html:not(.iga-motion-override) *::before, html:not(.iga-motion-override) *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

/* Controls remain reachable on every viewport. */
.iga-accessibility-toggle { display:inline-flex!important; align-items:center!important; justify-content:center!important; }
@media(max-width:900px){
 .site-header .header-inner{min-height:82px!important;gap:8px!important;}
 .site-header .logo img{width:220px!important;max-width:52vw!important;}
 .site-header nav.iga-primary-nav{display:none!important;}
 .iga-header-tools{margin-left:auto!important;}
 .iga-header-search-trigger span{display:none!important;}
 .iga-header-search-trigger{min-width:42px!important;padding:0 10px!important;}
 .mobile-menu-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:40px!important;min-width:42px!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:8px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;font-weight:900!important;}
}
@media(max-width:560px){
 .site-header .logo img{width:205px!important;max-width:54vw!important;}
 .iga-theme-toggle{min-width:48px!important;padding:0 7px!important;}
 .iga-accessibility-toggle{min-width:42px!important;}
 .iga-mobile-nav{z-index:10010!important;}
}
.iga-seo-results{display:grid;gap:8px;margin-top:14px}.iga-seo-result{display:block;padding:14px 16px;border:1px solid var(--igaLine);border-radius:9px;background:#fffdf8;color:#15233c!important;text-decoration:none!important}.iga-seo-result:hover,.iga-seo-result:focus-visible{background:#f1eadb!important}.iga-seo-result strong,.iga-seo-result span{display:block}.iga-seo-result span{margin-top:4px;color:#526276;font-size:13px}

/* V67 ABOUT THEME SYNC + LANGUAGE CONTROL REPAIR */
.about-hero,.about-page-grid,.about-home-grid,.about-punchline,.founder-note{transition:none!important}
body[data-theme="beige"] .about-hero,body[data-theme="beige"] .about-page-grid,body[data-theme="beige"] .about-home-grid{background:var(--igaB)!important;color:var(--igaInk)!important}
body[data-theme="beige"] .about-hero h1,body[data-theme="beige"] .about-page-grid h2,body[data-theme="beige"] .about-page-grid h3,body[data-theme="beige"] .about-home-grid h2,body[data-theme="beige"] .about-home-grid h3{color:var(--igaN)!important}
body[data-theme="beige"] .about-hero .lead,body[data-theme="beige"] .about-page-grid p,body[data-theme="beige"] .about-page-grid li,body[data-theme="beige"] .about-home-grid p,body[data-theme="beige"] .about-home-grid li{color:var(--igaMuted)!important}
body[data-theme="beige"] .about-page-grid .feature-box,body[data-theme="beige"] .about-home-grid .feature-box,body[data-theme="beige"] .founder-note{background:var(--igaP)!important;border-color:var(--igaLine)!important;color:var(--igaInk)!important}
body[data-theme="beige"] .about-punchline{border-color:var(--igaLine)!important}
body[data-theme="beige"] .about-punchline span,body[data-theme="beige"] .founder-note blockquote{color:var(--igaN)!important}
body[data-theme="navy"] .about-hero,body[data-theme="navy"] .about-page-grid,body[data-theme="navy"] .about-home-grid,body[data-theme="navy"] .about-punchline{background:var(--igaN)!important;color:#f8f4ea!important;border-color:var(--igaLineN)!important}
body[data-theme="navy"] .about-hero h1,body[data-theme="navy"] .about-page-grid h2,body[data-theme="navy"] .about-page-grid h3,body[data-theme="navy"] .about-home-grid h2,body[data-theme="navy"] .about-home-grid h3{color:#fff!important}
body[data-theme="navy"] .about-hero .lead,body[data-theme="navy"] .about-page-grid p,body[data-theme="navy"] .about-page-grid li,body[data-theme="navy"] .about-home-grid p,body[data-theme="navy"] .about-home-grid li{color:#dce3ef!important}
body[data-theme="navy"] .about-page-grid .feature-box,body[data-theme="navy"] .about-home-grid .feature-box,body[data-theme="navy"] .founder-note{background:var(--igaP)!important;border-color:var(--igaLine)!important;color:var(--igaInk)!important}
body[data-theme="navy"] .about-punchline span,body[data-theme="navy"] .founder-note blockquote{color:var(--igaN)!important}
body[data-theme="navy"] .about-hero .about-hero-word{color:#fff!important;text-decoration-color:var(--igaGold)!important}
body[data-theme="beige"] .about-hero .about-hero-word{color:var(--igaN)!important;text-decoration-color:var(--igaGold)!important}
.iga-language-switcher{z-index:10050!important;display:flex!important;visibility:visible!important;opacity:1!important}

/* V67.1 ACCESSIBILITY FINAL */
.iga-a11y-panel{position:fixed!important;right:18px!important;top:88px!important;z-index:2147483000!important;display:none!important;width:min(360px,calc(100vw - 32px))!important;padding:16px!important;background:#fffdf8!important;color:#071b49!important;border:2px solid #071b49!important;box-shadow:0 18px 50px rgba(7,27,73,.22)!important;border-radius:12px!important}
.iga-a11y-panel.open{display:block!important}
.iga-a11y-option{display:flex!important;width:100%!important;align-items:center!important;gap:12px!important;margin:8px 0!important;padding:12px 14px!important;text-align:left!important;background:#f1eadb!important;color:#071b49!important;border:2px solid #071b49!important;border-radius:8px!important;cursor:pointer!important}
.iga-a11y-option[aria-pressed="true"]{background:#071b49!important;color:#fff!important}
html.iga-high-contrast body .iga-a11y-panel{background:#fff!important;color:#000!important;border-color:#000!important}
html.iga-high-contrast .iga-a11y-option{background:#fff!important;color:#000!important;border-color:#000!important}
html.iga-high-contrast .iga-a11y-option[aria-pressed="true"]{background:#000!important;color:#fff!important}
html.iga-reduced-motion *,html.iga-reduced-motion *::before,html.iga-reduced-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;transform:none!important}

/* IGA V70 FINAL AUTHORITATIVE REPAIR — theme depth, spacing, navigation and back-to-top. */
html,body{word-spacing:normal!important;letter-spacing:normal!important;text-rendering:optimizeLegibility!important;-webkit-font-smoothing:antialiased!important}
main p,main li,main a,main button,main label,main span,main strong,main em{word-break:normal!important;overflow-wrap:normal!important}
main p,main li{line-height:1.65!important}
.site-header,.site-header *{opacity:1!important;filter:none!important}
body[data-theme="beige"]{background:#faf7ef!important;color:#15233c!important}
body[data-theme="beige"] main,body[data-theme="beige"] .section,body[data-theme="beige"] .page-intro{background:#faf7ef!important;color:#15233c!important}
body[data-theme="beige"] h1,body[data-theme="beige"] h2,body[data-theme="beige"] h3,body[data-theme="beige"] h4{color:#071b49!important}
body[data-theme="beige"] p,body[data-theme="beige"] li,body[data-theme="beige"] td,body[data-theme="beige"] label{color:#43546a!important}
body[data-theme="beige"] .feature-box,body[data-theme="beige"] .iga-card,body[data-theme="beige"] .exam-card,body[data-theme="beige"] .resource-card,body[data-theme="beige"] .article-card,body[data-theme="beige"] .video-card,body[data-theme="beige"] .pyq-card,body[data-theme="beige"] .syllabus-card{background:#fffdf8!important;color:#15233c!important;border-color:#d8ccb1!important}
body[data-theme="beige"] .feature-box h2,body[data-theme="beige"] .feature-box h3,body[data-theme="beige"] .iga-card h2,body[data-theme="beige"] .iga-card h3,body[data-theme="beige"] .exam-card h3,body[data-theme="beige"] .resource-card h3,body[data-theme="beige"] .article-card h3,body[data-theme="beige"] .video-card h3,body[data-theme="beige"] .pyq-card h3{color:#071b49!important}
body[data-theme="navy"] main,body[data-theme="navy"] .section,body[data-theme="navy"] .section.alt,body[data-theme="navy"] .page-intro,body[data-theme="navy"] .hero,body[data-theme="navy"] .materials-heading,body[data-theme="navy"] .materials-page,body[data-theme="navy"] .quiz-page,body[data-theme="navy"] .iga-v23,body[data-theme="navy"] .iga-shell{background:#071b49!important;color:#f8f4ea!important}
body[data-theme="navy"] h1,body[data-theme="navy"] h2,body[data-theme="navy"] h3,body[data-theme="navy"] h4{color:#fff!important}
body[data-theme="navy"] p,body[data-theme="navy"] li,body[data-theme="navy"] td,body[data-theme="navy"] label,body[data-theme="navy"] .lead,body[data-theme="navy"] .muted{color:#dce3ef!important}
body[data-theme="navy"] .feature-box,body[data-theme="navy"] .iga-card,body[data-theme="navy"] .exam-card,body[data-theme="navy"] .resource-card,body[data-theme="navy"] .article-card,body[data-theme="navy"] .video-card,body[data-theme="navy"] .pyq-card,body[data-theme="navy"] .syllabus-card,body[data-theme="navy"] .iga-platform-card,body[data-theme="navy"] .iga-widget{background:#0d2b61!important;color:#f8f4ea!important;border-color:rgba(255,255,255,.18)!important;box-shadow:0 10px 30px rgba(0,0,0,.18)!important}
body[data-theme="navy"] .feature-box h2,body[data-theme="navy"] .feature-box h3,body[data-theme="navy"] .iga-card h2,body[data-theme="navy"] .iga-card h3,body[data-theme="navy"] .iga-card h4,body[data-theme="navy"] .exam-card h3,body[data-theme="navy"] .resource-card h3,body[data-theme="navy"] .article-card h3,body[data-theme="navy"] .video-card h3,body[data-theme="navy"] .pyq-card h3,body[data-theme="navy"] .syllabus-card h3{color:#fff!important}
body[data-theme="navy"] .iga-card p,body[data-theme="navy"] .iga-widget p,body[data-theme="navy"] .iga-platform-card p,body[data-theme="navy"] .exam-card p,body[data-theme="navy"] .resource-card p,body[data-theme="navy"] .article-card p,body[data-theme="navy"] .video-card p,body[data-theme="navy"] .pyq-card p{color:#dce3ef!important}
body[data-theme="navy"] a{color:#f4e8c5!important}body[data-theme="navy"] .button.primary-button{color:#fff!important}
/* About is part of the same shell — no legacy white/olive islands. */
.about-hero,.about-hero-inner,.about-mission-grid,.about-vision,.about-page-grid,.about-home-grid{background:inherit!important}
body[data-theme="beige"] .about-hero,body[data-theme="beige"] .about-hero-inner,body[data-theme="beige"] .about-mission-grid,body[data-theme="beige"] .about-vision{background:#f1eadb!important;color:#071b49!important}
body[data-theme="navy"] .about-hero,body[data-theme="navy"] .about-hero-inner,body[data-theme="navy"] .about-mission-grid,body[data-theme="navy"] .about-vision{background:#071b49!important;color:#fff!important}
body[data-theme="beige"] .about-hero h1,body[data-theme="beige"] .about-hero .lead{color:#071b49!important}body[data-theme="navy"] .about-hero h1,body[data-theme="navy"] .about-hero .lead{color:#fff!important}
.about-hero h1{white-space:nowrap!important;overflow:visible!important}.about-hero .about-hero-word{display:inline!important;white-space:nowrap!important;text-decoration-line:underline!important;text-decoration-style:solid!important;text-decoration-thickness:3px!important;text-underline-offset:8px!important;text-decoration-color:#c9a24b!important}
/* Back to top */
.iga-back-to-top{position:fixed!important;right:20px!important;bottom:20px!important;width:48px!important;height:48px!important;z-index:2147483000!important;border:1px solid #c9a24b!important;border-radius:50%!important;background:#071b49!important;color:#fff!important;font-size:22px!important;font-weight:900!important;display:grid!important;place-items:center!important;cursor:pointer!important;opacity:0!important;visibility:hidden!important;transform:translateY(8px)!important;transition:opacity .18s,transform .18s,visibility .18s!important;box-shadow:0 10px 30px rgba(7,27,73,.25)!important}.iga-back-to-top.iga-visible{opacity:1!important;visibility:visible!important;transform:none!important}
html.iga-reduced-motion *,html.iga-reduced-motion *::before,html.iga-reduced-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;transform:none!important}.iga-language-switcher{z-index:2147483001!important}
/* Accessibility must override every theme and every legacy page rule. */
html.iga-high-contrast,html.iga-high-contrast body,html.iga-high-contrast main,html.iga-high-contrast .section,html.iga-high-contrast .page-intro{background:#fff!important;color:#000!important}html.iga-high-contrast h1,html.iga-high-contrast h2,html.iga-high-contrast h3,html.iga-high-contrast h4,html.iga-high-contrast p,html.iga-high-contrast li,html.iga-high-contrast span,html.iga-high-contrast label,html.iga-high-contrast td,html.iga-high-contrast th{color:#000!important}html.iga-high-contrast a{color:#003b8f!important;text-decoration:underline!important}html.iga-high-contrast .feature-box,html.iga-high-contrast .iga-card,html.iga-high-contrast .exam-card,html.iga-high-contrast .resource-card,html.iga-high-contrast .article-card,html.iga-high-contrast .video-card,html.iga-high-contrast .pyq-card{background:#fff!important;color:#000!important;border:2px solid #000!important;box-shadow:none!important}html.iga-high-contrast button{background:#000!important;color:#fff!important;border:2px solid #000!important}
@media(max-width:900px){.about-hero h1{font-size:clamp(25px,6.5vw,52px)!important;white-space:nowrap!important}.iga-back-to-top{right:12px!important;bottom:72px!important}}

/* V72 TRANSLATION PANEL POSITION REPAIR — keep the language handle below page controls and never obscure an open panel. */
.iga-language-switcher{left:16px!important;right:auto!important;bottom:4px!important;top:auto!important;z-index:1200!important;max-width:calc(100vw - 32px)!important}
.iga-language-switcher button{min-height:32px!important}
.iga-a11y-panel{z-index:2147483000!important}
@media(max-width:600px){.iga-language-switcher{left:8px!important;bottom:3px!important;max-width:calc(100vw - 16px)!important}.iga-language-switcher button{padding:6px 8px!important;font-size:10px!important}}

/* IGA V73 — keep Google Translate translation working, but remove Google's hover balloon/highlight UI. */
.goog-te-balloon-frame,
iframe.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight,
.goog-text-highlight:hover {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Do not let translated text acquire Google's hover-selection styling. */
body .goog-text-highlight {
  background-color:transparent!important;
  box-shadow:none!important;
}

/* IGA V74 — Google Translate must remain invisible as a browser toolbar. */
html, body { top:0!important; margin-top:0!important; }
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate:has(iframe.goog-te-banner-frame) {
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  position:absolute!important;
  left:-100000px!important;
  top:-100000px!important;
  pointer-events:none!important;
}


/* IGA V75 — FINAL SEMANTIC CONTRAST REPAIR.
   Never use one text colour for every descendant: text colour must follow the
   actual surface it sits on. This repairs muted/invisible copy on dark pages
   and dark text being washed out on light cards, without changing the palette. */

/* Light editorial cards that can appear while the global theme is navy. */
body[data-theme="navy"] .iga-credit-card,
body[data-theme="navy"] .iga-faculty-card,
body[data-theme="navy"] .iga-values-card,
body[data-theme="navy"] .privacy-card,
body[data-theme="navy"] .account-secure-card,
body[data-theme="navy"] .cert-card,
body[data-theme="navy"] .review-card,
body[data-theme="navy"] .result-card,
body[data-theme="navy"] .quiz-card,
body[data-theme="navy"] .card,
body[data-theme="navy"] .card.full,
body[data-theme="navy"] .card.wide {
  background:#fffdf8!important;
  color:#15233c!important;
}
body[data-theme="navy"] .iga-credit-card p,
body[data-theme="navy"] .iga-credit-card li,
body[data-theme="navy"] .iga-faculty-card p,
body[data-theme="navy"] .iga-faculty-card li,
body[data-theme="navy"] .iga-values-card p,
body[data-theme="navy"] .iga-values-card li,
body[data-theme="navy"] .privacy-card p,
body[data-theme="navy"] .privacy-card li,
body[data-theme="navy"] .account-secure-card p,
body[data-theme="navy"] .account-secure-card li,
body[data-theme="navy"] .cert-card p,
body[data-theme="navy"] .cert-card li,
body[data-theme="navy"] .review-card p,
body[data-theme="navy"] .result-card p,
body[data-theme="navy"] .quiz-card p,
body[data-theme="navy"] .card p,
body[data-theme="navy"] .card li {
  color:#40586d!important;
}
body[data-theme="navy"] .iga-credit-card h1,
body[data-theme="navy"] .iga-credit-card h2,
body[data-theme="navy"] .iga-credit-card h3,
body[data-theme="navy"] .iga-credit-card h4,
body[data-theme="navy"] .iga-faculty-card h1,
body[data-theme="navy"] .iga-faculty-card h2,
body[data-theme="navy"] .iga-faculty-card h3,
body[data-theme="navy"] .iga-faculty-card h4,
body[data-theme="navy"] .iga-values-card h1,
body[data-theme="navy"] .iga-values-card h2,
body[data-theme="navy"] .iga-values-card h3,
body[data-theme="navy"] .iga-values-card h4,
body[data-theme="navy"] .privacy-card h1,
body[data-theme="navy"] .privacy-card h2,
body[data-theme="navy"] .privacy-card h3,
body[data-theme="navy"] .privacy-card h4,
body[data-theme="navy"] .account-secure-card h1,
body[data-theme="navy"] .account-secure-card h2,
body[data-theme="navy"] .account-secure-card h3,
body[data-theme="navy"] .account-secure-card h4,
body[data-theme="navy"] .cert-card h1,
body[data-theme="navy"] .cert-card h2,
body[data-theme="navy"] .cert-card h3,
body[data-theme="navy"] .cert-card h4,
body[data-theme="navy"] .review-card h1,
body[data-theme="navy"] .review-card h2,
body[data-theme="navy"] .review-card h3,
body[data-theme="navy"] .review-card h4,
body[data-theme="navy"] .result-card h1,
body[data-theme="navy"] .result-card h2,
body[data-theme="navy"] .result-card h3,
body[data-theme="navy"] .result-card h4,
body[data-theme="navy"] .quiz-card h1,
body[data-theme="navy"] .quiz-card h2,
body[data-theme="navy"] .quiz-card h3,
body[data-theme="navy"] .quiz-card h4,
body[data-theme="navy"] .card h1,
body[data-theme="navy"] .card h2,
body[data-theme="navy"] .card h3,
body[data-theme="navy"] .card h4 {
  color:#071b49!important;
}

/* Dark feature/panel surfaces: links and secondary actions must not inherit
   the dark navy ink used by the beige theme. */
body[data-theme="navy"] .feature-box .secondary-button,
body[data-theme="navy"] .iga-v23 .iga-support-actions a,
body[data-theme="navy"] .iga-v23 .iga-list a,
body[data-theme="navy"] .iga-v23 .iga-loop-steps a,
body[data-theme="navy"] .iga-v23 .iga-quiet-link {
  color:#f4e8c5!important;
}
body[data-theme="navy"] .feature-box .secondary-button:hover,
body[data-theme="navy"] .feature-box .secondary-button:focus-visible,
body[data-theme="navy"] .iga-v23 .iga-support-actions a:hover,
body[data-theme="navy"] .iga-v23 .iga-list a:hover,
body[data-theme="navy"] .iga-v23 .iga-loop-steps a:hover {
  color:#fff!important;
}
body[data-theme="navy"] .feature-box .secondary-button {
  border-color:rgba(255,255,255,.25)!important;
  background:rgba(255,255,255,.04)!important;
}
body[data-theme="navy"] .feature-box .secondary-button:hover,
body[data-theme="navy"] .feature-box .secondary-button:focus-visible {
  background:rgba(255,255,255,.10)!important;
}

/* Keep common metadata readable on dark surfaces. */
body[data-theme="navy"] .feature-box .eyebrow,
body[data-theme="navy"] .iga-platform-card .eyebrow,
body[data-theme="navy"] .iga-widget .eyebrow,
body[data-theme="navy"] .iga-card .eyebrow {
  color:#e7d9a7!important;
}

/* Strong/inline text inside light cards follows the light-card ink. */
body[data-theme="navy"] .iga-credit-card strong,
body[data-theme="navy"] .iga-faculty-card strong,
body[data-theme="navy"] .iga-values-card strong,
body[data-theme="navy"] .privacy-card strong,
body[data-theme="navy"] .card strong {
  color:#263b4e!important;
}

/* Beige theme: prevent dark-theme remnants from ever muting light surfaces. */
body[data-theme="beige"] .iga-credit-card p,
body[data-theme="beige"] .iga-faculty-card p,
body[data-theme="beige"] .iga-values-card p,
body[data-theme="beige"] .privacy-card p,
body[data-theme="beige"] .card p,
body[data-theme="beige"] .card li {
  color:#40586d!important;
}

/* Google Translate must not introduce an opaque visual layer over IGA. */
.goog-te-menu-frame,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-te-spinner-pos,
body > .skiptranslate {
  pointer-events:none!important;
}


/* IGA V76 — GOOGLE TRANSLATE ISOLATION (FINAL)
   Google Translate is an engine only. Its injected UI must never be visible,
   move the document, sit above IGA content, or intercept pointer/hover input. */
html.translated-ltr, html.translated-rtl { top:0!important; margin-top:0!important; }
body.translated-ltr, body.translated-rtl { top:0!important; margin-top:0!important; }
iframe.skiptranslate,
iframe.goog-te-banner-frame,
iframe.goog-te-balloon-frame,
iframe[class*="goog-te-"],
iframe[src*="translate.google."],
iframe[src*="translate.googleapis."] {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  position:fixed!important;
  left:-100000px!important;
  top:-100000px!important;
  width:0!important;
  height:0!important;
  border:0!important;
}
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-te-spinner-pos,
.goog-te-menu-frame,
.goog-te-gadget,
.goog-te-banner {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
.goog-text-highlight,
.goog-text-highlight:hover {
  background:transparent!important;
  box-shadow:none!important;
  text-shadow:none!important;
  cursor:inherit!important;
}
/* Never let Google translation alter the page's top offset. */
body { position:relative!important; }


/* V77 — FACULTY + FOUNDER SEMANTIC SURFACE REPAIR
   Theme colour belongs to the page canvas. Text colour belongs to the surface
   it is actually rendered on. Founder/faculty cards are editorial paper cards,
   so they must never inherit muted navy-page copy. */
body[data-theme="navy"] .iga-feature,
body[data-theme="navy"] .about-founder-block,
body[data-theme="navy"] .founder-note,
body[data-theme="navy"] .about-page-grid .feature-box,
body[data-theme="navy"] .about-home .feature-box,
body[data-theme="navy"] .about-mission-grid .feature-box,
body[data-theme="navy"] .iga-faculty-card,
body[data-theme="navy"] .notice {
  background:#fffdf8!important;
  color:#15233c!important;
  border-color:#d8cfbd!important;
}
body[data-theme="navy"] .iga-feature h1,
body[data-theme="navy"] .iga-feature h2,
body[data-theme="navy"] .iga-feature h3,
body[data-theme="navy"] .iga-feature h4,
body[data-theme="navy"] .about-founder-block h1,
body[data-theme="navy"] .about-founder-block h2,
body[data-theme="navy"] .about-founder-block h3,
body[data-theme="navy"] .about-founder-block h4,
body[data-theme="navy"] .founder-note h1,
body[data-theme="navy"] .founder-note h2,
body[data-theme="navy"] .founder-note h3,
body[data-theme="navy"] .founder-note h4,
body[data-theme="navy"] .about-page-grid .feature-box h1,
body[data-theme="navy"] .about-page-grid .feature-box h2,
body[data-theme="navy"] .about-page-grid .feature-box h3,
body[data-theme="navy"] .about-page-grid .feature-box h4,
body[data-theme="navy"] .about-home .feature-box h1,
body[data-theme="navy"] .about-home .feature-box h2,
body[data-theme="navy"] .about-home .feature-box h3,
body[data-theme="navy"] .about-home .feature-box h4,
body[data-theme="navy"] .about-mission-grid .feature-box h1,
body[data-theme="navy"] .about-mission-grid .feature-box h2,
body[data-theme="navy"] .about-mission-grid .feature-box h3,
body[data-theme="navy"] .about-mission-grid .feature-box h4,
body[data-theme="navy"] .iga-faculty-card h1,
body[data-theme="navy"] .iga-faculty-card h2,
body[data-theme="navy"] .iga-faculty-card h3,
body[data-theme="navy"] .iga-faculty-card h4 {
  color:#071b49!important;
}
body[data-theme="navy"] .iga-feature p,
body[data-theme="navy"] .iga-feature li,
body[data-theme="navy"] .about-founder-block p,
body[data-theme="navy"] .about-founder-block li,
body[data-theme="navy"] .about-page-grid .feature-box p,
body[data-theme="navy"] .about-page-grid .feature-box li,
body[data-theme="navy"] .about-home .feature-box p,
body[data-theme="navy"] .about-home .feature-box li,
body[data-theme="navy"] .about-mission-grid .feature-box p,
body[data-theme="navy"] .about-mission-grid .feature-box li,
body[data-theme="navy"] .iga-faculty-card p,
body[data-theme="navy"] .iga-faculty-card li,
body[data-theme="navy"] .notice {
  color:#40536a!important;
}
body[data-theme="navy"] .iga-feature strong,
body[data-theme="navy"] .about-founder-block strong,
body[data-theme="navy"] .about-page-grid .feature-box strong,
body[data-theme="navy"] .about-home .feature-box strong,
body[data-theme="navy"] .about-mission-grid .feature-box strong,
body[data-theme="navy"] .iga-faculty-card strong,
body[data-theme="navy"] .notice strong {
  color:#15233c!important;
}
body[data-theme="navy"] .iga-feature .iga-kicker,
body[data-theme="navy"] .about-founder-block .eyebrow,
body[data-theme="navy"] .founder-note .eyebrow,
body[data-theme="navy"] .about-page-grid .feature-box .eyebrow,
body[data-theme="navy"] .about-home .feature-box .eyebrow,
body[data-theme="navy"] .about-mission-grid .feature-box .eyebrow,
body[data-theme="navy"] .iga-faculty-card .eyebrow {
  color:#8a691f!important;
}
body[data-theme="navy"] .iga-feature .primary-button,
body[data-theme="navy"] .about-founder-block .primary-button,
body[data-theme="navy"] .about-page-grid .feature-box .primary-button,
body[data-theme="navy"] .about-home .feature-box .primary-button,
body[data-theme="navy"] .about-mission-grid .feature-box .primary-button {
  color:#fff!important;
  background:#071b49!important;
}
body[data-theme="navy"] .iga-feature .secondary-button,
body[data-theme="navy"] .about-founder-block .secondary-button,
body[data-theme="navy"] .about-page-grid .feature-box .secondary-button,
body[data-theme="navy"] .about-home .feature-box .secondary-button,
body[data-theme="navy"] .about-mission-grid .feature-box .secondary-button {
  color:#071b49!important;
  background:#fffdf8!important;
  border-color:#b9ad96!important;
}
body[data-theme="navy"] .iga-feature a:not(.button),
body[data-theme="navy"] .about-founder-block a:not(.button),
body[data-theme="navy"] .about-page-grid .feature-box a:not(.button),
body[data-theme="navy"] .about-home .feature-box a:not(.button),
body[data-theme="navy"] .about-mission-grid .feature-box a:not(.button),
body[data-theme="navy"] .iga-faculty-card a:not(.button) {
  color:#174f9c!important;
}
/* Founder note is intentionally a light editorial quote surface. */
body[data-theme="navy"] .founder-note blockquote {
  color:#80631d!important;
}
/* Keep the page canvas navy; only the defined editorial surfaces become paper. */
body[data-theme="navy"] .iga-feature-grid,
body[data-theme="navy"] .iga-faculty-grid { background:transparent!important; }

/* V79 — GLOBAL SEMANTIC VISIBILITY REPAIR
   Text contrast is determined by the surface behind the text.  Never use the
   page theme as a blanket text colour. These final rules intentionally sit at
   the end of the cascade so legacy/phase styles cannot mute readable copy. */

/* Dark editorial surfaces */
body .iga-home-navy,
body .iga-next-preview,
body .iga-student-panel,
body .iga-global-footer,
body .iga-social-dock,
body footer.footer {
  background:#071b49!important;
  color:#f7f3e8!important;
  opacity:1!important;
  filter:none!important;
}
body .iga-home-navy p,
body .iga-home-navy li,
body .iga-home-navy span,
body .iga-home-navy small,
body .iga-home-navy label,
body .iga-home-navy .lead,
body .iga-next-preview p,
body .iga-next-preview li,
body .iga-next-preview span,
body .iga-next-preview small,
body .iga-student-panel p,
body .iga-student-panel li,
body .iga-student-panel span,
body .iga-global-footer p,
body .iga-global-footer span,
body .iga-social-dock span,
body footer.footer p,
body footer.footer span {
  color:#dce6f2!important;
  opacity:1!important;
}
body .iga-home-navy h1,
body .iga-home-navy h2,
body .iga-home-navy h3,
body .iga-home-navy h4,
body .iga-home-navy h5,
body .iga-home-navy h6,
body .iga-next-preview h1,
body .iga-next-preview h2,
body .iga-next-preview h3,
body .iga-next-preview h4,
body .iga-next-preview h5,
body .iga-next-preview h6,
body .iga-student-panel h1,
body .iga-student-panel h2,
body .iga-student-panel h3,
body .iga-student-panel h4,
body .iga-student-panel h5,
body .iga-student-panel h6,
body .iga-global-footer strong,
body .iga-global-footer h1,
body .iga-global-footer h2,
body .iga-global-footer h3,
body footer.footer h1,
body footer.footer h2,
body footer.footer h3,
body footer.footer strong {
  color:#fff!important;
  opacity:1!important;
}
body .iga-home-navy .eyebrow,
body .iga-next-preview .iga-next-top,
body .iga-next-preview .iga-next-kicker,
body .iga-student-panel .eyebrow,
body .iga-global-footer .eyebrow,
body footer.footer .eyebrow {
  color:#e7c76b!important;
  opacity:1!important;
}
body .iga-home-navy a,
body .iga-next-preview a,
body .iga-student-panel a,
body .iga-global-footer a,
body .iga-social-dock a,
body footer.footer a {
  color:#fff!important;
  opacity:1!important;
}
body .iga-home-navy a:hover,
body .iga-next-preview a:hover,
body .iga-student-panel a:hover,
body .iga-global-footer a:hover,
body .iga-social-dock a:hover,
body footer.footer a:hover { color:#f4c75e!important; }

/* Dark panels that occur inside the beige canvas */
body .iga-next,
body .next-best-action,
body .iga-dark-panel,
body .dark-panel,
body .navy-panel,
body .section-dark,
body .cta-panel,
body .cta-band {
  color:#f7f3e8!important;
  opacity:1!important;
  filter:none!important;
}
body .iga-next p, body .iga-next span, body .iga-next small,
body .next-best-action p, body .next-best-action span, body .next-best-action small,
body .iga-dark-panel p, body .iga-dark-panel span, body .iga-dark-panel small,
body .dark-panel p, body .dark-panel span, body .dark-panel small,
body .navy-panel p, body .navy-panel span, body .navy-panel small,
body .section-dark p, body .section-dark span, body .section-dark small,
body .cta-panel p, body .cta-panel span, body .cta-panel small,
body .cta-band p, body .cta-band span, body .cta-band small { color:#dce6f2!important; opacity:1!important; }

/* White/paper cards: never inherit white text from a navy ancestor. */
body .iga-credit-card,
body .iga-faculty-card,
body .iga-values-card,
body .privacy-card,
body .account-secure-card,
body .cert-card,
body .review-card,
body .result-card,
body .quiz-card,
body .card,
body .feature-box,
body .iga-platform-card,
body .exam-card,
body .resource-card,
body .article-card,
body .video-card,
body .pyq-card,
body .syllabus-card,
body .material-card {
  opacity:1!important;
  filter:none!important;
}
body[data-theme="beige"] .iga-credit-card,
body[data-theme="beige"] .iga-faculty-card,
body[data-theme="beige"] .iga-values-card,
body[data-theme="beige"] .privacy-card,
body[data-theme="beige"] .account-secure-card,
body[data-theme="beige"] .cert-card,
body[data-theme="beige"] .review-card,
body[data-theme="beige"] .result-card,
body[data-theme="beige"] .quiz-card,
body[data-theme="beige"] .card,
body[data-theme="beige"] .feature-box,
body[data-theme="beige"] .iga-platform-card,
body[data-theme="beige"] .exam-card,
body[data-theme="beige"] .resource-card,
body[data-theme="beige"] .article-card,
body[data-theme="beige"] .video-card,
body[data-theme="beige"] .pyq-card,
body[data-theme="beige"] .syllabus-card,
body[data-theme="beige"] .material-card {
  background:#fffdf8!important;
  color:#15233c!important;
}
body[data-theme="beige"] .iga-credit-card h1,
body[data-theme="beige"] .iga-credit-card h2,
body[data-theme="beige"] .iga-credit-card h3,
body[data-theme="beige"] .iga-credit-card h4,
body[data-theme="beige"] .iga-faculty-card h1,
body[data-theme="beige"] .iga-faculty-card h2,
body[data-theme="beige"] .iga-faculty-card h3,
body[data-theme="beige"] .iga-faculty-card h4,
body[data-theme="beige"] .iga-values-card h1,
body[data-theme="beige"] .iga-values-card h2,
body[data-theme="beige"] .iga-values-card h3,
body[data-theme="beige"] .privacy-card h1,
body[data-theme="beige"] .privacy-card h2,
body[data-theme="beige"] .privacy-card h3,
body[data-theme="beige"] .account-secure-card strong,
body[data-theme="beige"] .cert-card h1,
body[data-theme="beige"] .cert-card h2,
body[data-theme="beige"] .cert-card h3,
body[data-theme="beige"] .review-card h1,
body[data-theme="beige"] .review-card h2,
body[data-theme="beige"] .review-card h3,
body[data-theme="beige"] .result-card h1,
body[data-theme="beige"] .result-card h2,
body[data-theme="beige"] .result-card h3,
body[data-theme="beige"] .quiz-card h1,
body[data-theme="beige"] .quiz-card h2,
body[data-theme="beige"] .quiz-card h3,
body[data-theme="beige"] .card h1,
body[data-theme="beige"] .card h2,
body[data-theme="beige"] .card h3,
body[data-theme="beige"] .feature-box h1,
body[data-theme="beige"] .feature-box h2,
body[data-theme="beige"] .feature-box h3,
body[data-theme="beige"] .exam-card h3,
body[data-theme="beige"] .resource-card h3,
body[data-theme="beige"] .article-card h3,
body[data-theme="beige"] .video-card h3,
body[data-theme="beige"] .pyq-card h3,
body[data-theme="beige"] .syllabus-card h3 {
  color:#071b49!important;
  opacity:1!important;
}
body[data-theme="beige"] .iga-credit-card p,
body[data-theme="beige"] .iga-credit-card li,
body[data-theme="beige"] .iga-credit-card strong,
body[data-theme="beige"] .iga-faculty-card p,
body[data-theme="beige"] .iga-faculty-card li,
body[data-theme="beige"] .iga-faculty-card strong,
body[data-theme="beige"] .iga-values-card p,
body[data-theme="beige"] .iga-values-card li,
body[data-theme="beige"] .privacy-card p,
body[data-theme="beige"] .privacy-card li,
body[data-theme="beige"] .card p,
body[data-theme="beige"] .card li,
body[data-theme="beige"] .feature-box p,
body[data-theme="beige"] .feature-box li,
body[data-theme="beige"] .exam-card p,
body[data-theme="beige"] .resource-card p,
body[data-theme="beige"] .article-card p,
body[data-theme="beige"] .video-card p,
body[data-theme="beige"] .pyq-card p,
body[data-theme="beige"] .syllabus-card p {
  color:#40586d!important;
  opacity:1!important;
}
body[data-theme="beige"] .iga-credit-card a,
body[data-theme="beige"] .faculty-card a,
body[data-theme="beige"] .feature-box a,
body[data-theme="beige"] .exam-card a,
body[data-theme="beige"] .resource-card a,
body[data-theme="beige"] .article-card a,
body[data-theme="beige"] .video-card a,
body[data-theme="beige"] .pyq-card a { color:#174f9c!important; opacity:1!important; }

/* Prevent legacy text-opacity/filter treatments from making readable text look disabled. */
body p, body li, body span, body strong, body em, body small, body label,
body a, body button, body h1, body h2, body h3, body h4, body h5, body h6 {
  text-shadow:none!important;
}
