/* Shared GRA / Artemis360 lockup. Light panels use the original colored mark. */
.gra-brand{--gra-logo-width:100px;--gra-logo-image:url('/images/gra-test-prep-logo.png');--gra-logo-background:#fff;--gra-logo-position:absolute;--gra-logo-top:-40%;--gra-logo-height:auto;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:12px;flex-shrink:0;max-width:100%;color:inherit;background:none;-webkit-text-fill-color:currentColor;text-decoration:none;line-height:1.2;text-transform:none;letter-spacing:normal}
.gra-brand .gra-brand-image{display:block;position:relative;width:var(--gra-logo-width);max-width:100%;aspect-ratio:1.75;overflow:hidden;border-radius:4px;background:var(--gra-logo-background);flex:none}
.gra-brand .gra-brand-image img{content:var(--gra-logo-image);display:block;position:var(--gra-logo-position);width:100%;max-width:none;height:var(--gra-logo-height);left:0;top:var(--gra-logo-top);object-fit:contain;margin:0;padding:0;border:0;box-shadow:none}
.gra-brand .gra-brand-powered{display:flex;flex-direction:column;justify-content:center;gap:1px;padding-left:12px;border-left:1px solid #11a7c0;font-family:Arial,sans-serif;font-size:10px;font-weight:400;line-height:1.2;text-align:left;white-space:nowrap;letter-spacing:0;text-transform:none;color:var(--gra-powered-color,var(--text,#19344f));-webkit-text-fill-color:currentColor}
.gra-brand-powered strong{font-family:Outfit,Arial,sans-serif;font-size:19px;font-weight:500;letter-spacing:-.03em}
.gra-brand--compact{--gra-logo-width:72px;gap:9px}
.gra-brand--compact .gra-brand-powered{font-size:8px;padding-left:9px}
.gra-brand--compact .gra-brand-powered strong{font-size:15px}
.gra-brand--sidebar{--gra-logo-width:95px;gap:11px}
.gra-brand--sidebar .gra-brand-powered{font-size:9px;padding-left:11px}
.gra-brand--sidebar .gra-brand-powered strong{font-size:18px}
.gra-brand--auth{--gra-logo-width:120px;margin:0 auto 1rem;display:flex;width:max-content;color:var(--text,#19344f)}
.auth-logo:has(.gra-brand),.nav-logo:has(.gra-brand){background:none!important;-webkit-text-fill-color:currentColor!important;text-transform:none;letter-spacing:normal}
.learner-sidebar-brand:has(.gra-brand),.lesson-brand:has(.gra-brand){justify-content:center}
.landing-nav:has(.gra-brand){min-height:75px;padding-top:.35rem!important;padding-bottom:.35rem!important;box-sizing:border-box}
.landing-footer:has(.gra-brand){align-items:center;gap:1rem;flex-wrap:wrap}
/* These surfaces stay navy even in light mode. Theme-dependent navs are handled separately. */
.learner-dashboard-sidebar .gra-brand,.lesson-sidebar .gra-brand,.exam-brand .gra-brand,.preview-exam-brand .gra-brand,
body:not(.light-mode) .landing-nav .gra-brand,body:not(.light-mode) .learner-course-context-nav .gra-brand,
body:not(.light-mode) #modal-overlay .gra-brand{--gra-logo-image:url('/images/gra-test-prep-white.svg');--gra-logo-background:transparent;--gra-logo-position:static;--gra-logo-top:auto;--gra-logo-height:100%;--gra-powered-color:#fff;color:#fff}
.cert-paper-logo .gra-brand{--gra-powered-color:#19344f}
.cert-paper-logo:has(.gra-brand){text-align:center;color:#19344f}
@media(max-width:600px){.exam-brand:has(.gra-brand),.preview-exam-brand:has(.gra-brand){gap:.4rem;white-space:normal}.exam-brand .gra-brand,.preview-exam-brand .gra-brand{--gra-logo-width:60px;gap:7px}.exam-brand .gra-brand-powered,.preview-exam-brand .gra-brand-powered{font-size:7px;padding-left:7px}.exam-brand .gra-brand-powered strong,.preview-exam-brand .gra-brand-powered strong{font-size:12px}.gra-brand--auth{--gra-logo-width:100px}.gra-brand--auth .gra-brand-powered strong{font-size:17px}}
@media print{.cert-paper-logo .gra-brand{--gra-logo-image:url('/images/gra-test-prep-logo.png');--gra-logo-background:#fff;--gra-logo-position:absolute;--gra-logo-top:-40%;--gra-logo-height:auto;--gra-powered-color:#19344f}}
