/* Domain-scoped display preference and media center. Light mode deliberately
   preserves the established site palette; dark mode retains original logo art. */
html[data-site="alsaeed"]{--am-bg:#f7f6f0;--am-card:#fff;--am-text:#173e4d;--am-muted:#536b73;--am-border:#cedbd5;--am-accent:#a45118;--am-soft:#edf2e9}
html[data-site="alsaeed"][data-ae-theme="dark"]{color-scheme:dark;--am-bg:#101d25;--am-card:#192c36;--am-text:#e8f2f1;--am-muted:#b7cbc9;--am-border:#3e5963;--am-accent:#ffc182;--am-soft:#233d46;--paper:#101d25;--white:#192c36;--cream:#192c36;--line:#3e5963;--line2:#56717b;--txt:#e8f2f1;--dim:#b7cbc9;--dim2:#b7cbc9;--orange3:#493021;--ok:#87e4b3;--ok-s:#183c32;--warn:#ffd093;--warn-s:#493821;--bad:#ffadb6;--bad-s:#4d2832}
html[data-site="alsaeed"][data-ae-theme="light"]{color-scheme:light}
html[data-site="alsaeed"] .ae-display-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
html[data-site="alsaeed"] :is(.ae-display-controls,.ae-media-entry,.ae-media-dialog) button{font:inherit;cursor:pointer;min-height:44px;border:1px solid var(--am-border);border-radius:10px;background:var(--am-card);color:var(--am-text);padding:9px 14px;line-height:1.5}
html[data-site="alsaeed"] .ae-display-controls button{font-size:.75rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px}
html[data-site="alsaeed"] .ae-display-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
html[data-site="alsaeed"] :is(.ae-display-controls,.ae-media-entry,.ae-media-dialog) :is(button,a):focus-visible{outline:3px solid #e99a4f;outline-offset:3px}
html[data-site="alsaeed"] .ae-media-entry{margin:32px auto 54px;border:1px solid var(--am-border);background:var(--am-card);color:var(--am-text);border-radius:18px;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:24px}
html[data-site="alsaeed"] .ae-media-entry h2{color:var(--am-text)!important;margin:5px 0;font-size:1.65rem}
html[data-site="alsaeed"] .ae-media-entry p{color:var(--am-muted);font-size:.92rem}
html[data-site="alsaeed"] .ae-media-entry>button{flex:none;background:#174e59;color:#fff;border-color:#174e59}
html[data-site="alsaeed"] .ae-media-eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.02em;color:var(--am-accent)}
html[data-site="alsaeed"] .ae-media-dialog{position:fixed;inset:0;margin:auto;width:min(1060px,calc(100% - 28px));max-width:none;max-height:90dvh;padding:0;border:1px solid var(--am-border);border-radius:22px;background:var(--am-bg);color:var(--am-text);box-shadow:0 30px 100px #0006;overflow:auto;overscroll-behavior:contain;text-align:start}
html[data-site="alsaeed"] .ae-media-dialog::backdrop{background:#061922bd;backdrop-filter:blur(7px)}
html[data-site="alsaeed"] .ae-media-head{padding:24px 28px;display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--am-card);border-bottom:1px solid var(--am-border)}
html[data-site="alsaeed"] .ae-media-head h2{font-size:1.65rem;color:var(--am-text);line-height:1.5;margin:4px 0 0}
html[data-site="alsaeed"] .ae-media-head>div:last-child{display:flex;gap:8px;flex-wrap:wrap}
html[data-site="alsaeed"] .ae-media-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:18px 28px 0}
html[data-site="alsaeed"] .ae-media-tabs button[aria-pressed="true"]{background:#174e59;color:#fff;border-color:#174e59}
html[data-site="alsaeed"] .ae-media-body{padding:24px 28px 30px}
html[data-site="alsaeed"] .ae-media-folders{display:flex;gap:8px;flex-wrap:wrap}
html[data-site="alsaeed"] .ae-media-folders button{font-size:.82rem}
html[data-site="alsaeed"] .ae-media-folders bdi{display:inline-grid;place-items:center;min-width:23px;margin-inline-start:6px;border-radius:6px;background:var(--am-soft)}
html[data-site="alsaeed"] .ae-media-folders button[aria-pressed="true"]{border-color:var(--am-accent);color:var(--am-accent);box-shadow:inset 0 -2px var(--am-accent)}
html[data-site="alsaeed"] .ae-media-note{font-size:.84rem;color:var(--am-muted);margin:16px 0}
html[data-site="alsaeed"] .ae-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
html[data-site="alsaeed"] .ae-media-grid .ae-media-photo{padding:0;text-align:start;overflow:hidden;border-radius:12px;display:block;transition:transform .2s}
html[data-site="alsaeed"] .ae-media-photo:hover{transform:translateY(-3px)}
html[data-site="alsaeed"] .ae-media-photo img{width:100%;aspect-ratio:16/10;object-fit:contain;display:block;background:var(--am-soft)}
html[data-site="alsaeed"] .ae-media-photo>span{display:block;padding:14px;font-weight:600;font-size:.9rem}
html[data-site="alsaeed"] .ae-media-photo small{display:block;color:var(--am-muted);font-weight:400;margin-top:5px;font-size:.74rem}
html[data-site="alsaeed"] .ae-media-full img{display:block;width:100%;max-height:59dvh;object-fit:contain;margin:18px auto 10px;border-radius:12px;background:var(--am-soft)}
html[data-site="alsaeed"] .ae-media-full figcaption{color:var(--am-muted);text-align:center}
html[data-site="alsaeed"] .ae-media-video video{display:block;width:100%;max-height:57dvh;background:#07131a;border-radius:14px;margin-bottom:18px}
html[data-site="alsaeed"] .ae-media-video h3,html[data-site="alsaeed"] .ae-media-links h3{color:var(--am-text);font-size:1.2rem;margin:8px 0}
html[data-site="alsaeed"] .ae-media-video p,html[data-site="alsaeed"] .ae-media-links p{color:var(--am-muted);margin:8px 0 18px}
html[data-site="alsaeed"] .ae-media-dialog a{display:inline-flex;align-items:center;min-height:44px;color:var(--am-accent);text-decoration:underline;text-underline-offset:5px;font-weight:600;padding:4px}
html[data-site="alsaeed"] .ae-media-links{display:grid;grid-template-columns:1fr 1fr;gap:20px}
html[data-site="alsaeed"] .ae-media-links article{background:var(--am-card);padding:24px;border:1px solid var(--am-border);border-radius:14px}
html[data-site="alsaeed"] .ae-media-links article>div{display:flex;flex-wrap:wrap;gap:16px}
/* Home and public-page surfaces, including compact staircase and disclosures. */
html[data-site="alsaeed"][data-ae-theme="dark"] body{background:var(--am-bg);color:var(--am-text)}
html[data-site="alsaeed"][data-ae-theme="dark"] .ae-home{--ae-ink:#e8f2f1;--ae-ink-2:#b7cbc9;--ae-line:#3e5963;--ae-bg:#101d25;--ae-card:#192c36;--ae-navy-2:#a8d7e6;background:var(--am-bg);color:var(--am-text)}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(#hdr,.ae-home-compact,.ae-ascent,.ae-identity,.ae-discovery,.ae-trust,.ae-services,.ae-paths,.ae-certs,.ae-stage-details,.ae-identity-panels,.ae-discovery-dialog,.ae-discovery-dialog-head,.ae-workspace-nav,.lang-m,.sa-nav-panel,.sa-mega-panel){background:var(--am-card)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.ae-stage-button,.ae-identity-tabs button,.ae-discovery-card,.ae-course,.ae-pillar,.ae-sys,.ae-cert-card,.ae-vm-card,.ae-chip,.ae-chips i,.ae-identity-panels li,.ae-stage-photo,.ae-stage-icon,.ae-identity-tabs button>span,.ae-workspace-actions a,.ae-workspace-actions button,.ae-btn-ghost){background:var(--am-soft)!important;color:var(--am-text)!important;border-color:var(--am-border)!important;box-shadow:none}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.ae-stage-button[aria-selected="true"],.ae-identity-tabs button[aria-selected="true"]){border-color:#ffc182!important;box-shadow:inset 0 -3px #ffc182}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app :is(.ae-short-head h2,.ae-stage-details h3,.ae-identity-panels h3,.ae-discovery-label,.ae-stage-button b,.ae-discovery-dialog h2,.ae-discovery-dialog h3){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.ae-short-head p,.ae-stage-details p,.ae-stage-button small,.ae-stage-top i,.ae-identity-panels p,.ae-workspace-nav p,.ae-discovery-card p,.ae-discovery-dialog p){color:var(--am-muted)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.ae-text-link,.ae-stage-links>button,.ae-more){color:#a8d7e6!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #hdr :is(a,button,.lg-t b,.lg-t span){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #hdr #hdrAct :is(#logout,#btnReg){color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.ae-brand-mark,.ae-logo-plate){background:#fff!important;border-radius:9px;padding:4px}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.ae-footer,.ftr){background:#0a1720!important;color:#e8f2f1!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.ae-footer,.ftr) :is(p,a,span,small,b,h3,h4){color:#c8dcda!important}
/* Existing platform components: leave visual media and their overlays intact. */
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.sec,.auth-form-panel,.card,.lib-c,.crs-c,.pkg-c,.panel,.modal,.modal-box,.dash-card,.dash-main,.dash-side,.auth-layout,.ae-workspace-nav){background:var(--am-card)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.sec,.card,.panel,.modal,.modal-box,.dash-main,.dash-side,.auth-form-panel,.lib-b,.pkg-c,.crs-c) :is(h1,h2,h3,h4,h5,label){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(input,textarea,select){background:#142832!important;color:var(--am-text)!important;border-color:#56717b!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(input,textarea)::placeholder{color:#afc4c8!important;opacity:1}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(table,th,td){border-color:var(--am-border)}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.btn.gh,.btn.s,.tg){background:var(--am-soft);color:var(--am-text);border-color:var(--am-border)}
@media(max-width:760px){html[data-site="alsaeed"] .ae-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-site="alsaeed"] .ae-media-entry{margin:24px 16px 36px;padding:22px;flex-direction:column;align-items:stretch}html[data-site="alsaeed"] .ae-media-entry>button{white-space:normal}html[data-site="alsaeed"] .ae-media-head{padding:18px;align-items:flex-start;flex-direction:column}html[data-site="alsaeed"] .ae-media-tabs{padding:16px 18px 0}html[data-site="alsaeed"] .ae-media-body{padding:18px}html[data-site="alsaeed"] .ae-media-links{grid-template-columns:1fr}html[data-site="alsaeed"] .ae-display-controls button{font-size:.7rem;padding:6px 8px}html[data-site="alsaeed"] .ae-display-controls{gap:4px}html[data-site="alsaeed"] .ae-media-dialog{max-height:94dvh;border-radius:16px}}
@media(max-width:420px){html[data-site="alsaeed"] .ae-media-grid{grid-template-columns:1fr}html[data-site="alsaeed"] .ae-media-folders button{flex:1 1 auto}html[data-site="alsaeed"] .ae-media-head h2{font-size:1.4rem}}
@media(prefers-reduced-motion:reduce){html[data-site="alsaeed"] .ae-media-photo{transition:none}}
/* Override the public refinement's intentionally fixed light header colors. */
html[data-site="alsaeed"][data-ae-theme="dark"] body #hdr.hdr,html[data-site="alsaeed"][data-ae-theme="dark"] body #hdr.hdr.scrolled{background:#192c36!important;border-color:#3e5963!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #hdr :is(#langBtn,#burger){background:#233d46!important;color:#e8f2f1!important;border-color:#56717b!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #hdr #nav>a,html[data-site="alsaeed"][data-ae-theme="dark"] body #hdr #nav>details>summary{color:#e8f2f1!important;background:transparent!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #hdr #nav>a:hover,html[data-site="alsaeed"][data-ae-theme="dark"] body #hdr #nav>details>summary:hover,html[data-site="alsaeed"][data-ae-theme="dark"] body #hdr #nav>a.on,html[data-site="alsaeed"][data-ae-theme="dark"] body #hdr #nav>a[aria-current="page"]{background:#233d46!important;color:#fff!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.mdl,.auth-dialog,.auth-form-panel,.dashboard-disclosure,.readiness-explain,.empty,.learner-course-card,.my-certificate-card,.sa-nav-dropdown,.sa-nav-group>div){background:var(--am-card)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.mdl,.auth-form-panel,.dashboard-shell,.dashboard-disclosure) :is(h1,h2,h3,h4,h5,label,summary){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body :is(.mdl,.auth-form-panel,.dashboard-shell) :is(.muted,.dim,.hint){color:var(--am-muted)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body .btn.o{color:#b9e2ea!important;border-color:#56717b!important;background:#233d46!important}
@media(max-width:1180px){html[data-site="alsaeed"] body #hdr .hdr-in{flex-wrap:wrap}html[data-site="alsaeed"] body #hdr #hdrAct{flex-wrap:wrap;gap:6px}html[data-site="alsaeed"] .ae-display-controls{justify-content:flex-end}}
@media(max-width:600px){html[data-site="alsaeed"] .ae-display-controls{flex-basis:100%;justify-content:stretch}html[data-site="alsaeed"] .ae-display-controls button{flex:1}html[data-site="alsaeed"] body #hdr #hdrAct{min-width:0}}
/* Match the existing journey selectors, including #app and selected states.
   These explicit component overrides must win over its fixed light !important rules. */
html[data-site="alsaeed"][data-ae-theme="dark"] body #app :is(.ae-stage-button,.ae-identity-tabs button,.ae-discovery-card,.ae-discovery-dialog-head button){background:var(--am-card)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app .ae-stage-button[aria-selected="true"],html[data-site="alsaeed"][data-ae-theme="dark"] body #app .ae-identity-tabs button[aria-selected="true"]{background:#294550!important;color:#fff!important;border-color:#ffc182!important;box-shadow:inset 0 -3px #ffc182}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app .ae-stage-button>small{color:var(--am-muted)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app :is(.ae-stage-details,.ae-identity-panels,.ae-discovery-dialog-head,.ae-discovery-dialog-body){background:var(--am-card)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app :is(.ae-stage-icon,.ae-stage-photo,.ae-identity-panels figure,.ae-identity-tabs button>span){background:var(--am-soft)!important;color:#b9e2ea!important;border-color:var(--am-border)!important}
/* The base public-page treatment deliberately uses pale paper; swap only those
   named surfaces, leaving photographs, video, certificates and diagrams unchanged. */
html[data-site="alsaeed"][data-ae-theme="dark"] body #app .pg-hero:not(.v38-package-hero){background:#152e3b!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app .pg-hero:not(.v38-package-hero)::after{background-image:linear-gradient(#c1e3e30a 1px,transparent 1px),linear-gradient(90deg,#c1e3e30a 1px,transparent 1px)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app .pg-hero:not(.v38-package-hero) :is(h1,h2){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app .pg-hero:not(.v38-package-hero) :is(p,.crumb,.crumb a,.crumb button){color:var(--am-muted)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app .pg-hero:not(.v38-package-hero) .eyebrow{color:var(--am-accent)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app :is(.ae-page-art,.ae-service-art,.ae-education-identity,.public-course-art,.ae-course-instructor .instructor-profile){background:var(--am-soft)!important;color:var(--am-text)!important;border-color:var(--am-border)!important;box-shadow:none}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app :is(.cons-c,.sys-c,.lib-c,.acad-c,.stage-c,.public-course-card,.ae-bento .ae-tile.has-img){background:var(--am-card)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app :is(.cons-c,.sys-c,.lib-c,.acad-c,.stage-c,.public-course-card,.ae-bento .ae-tile.has-img) :is(h2,h3,h4){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app :is(.cons-c,.sys-c,.lib-c,.acad-c,.stage-c,.public-course-card,.ae-bento .ae-tile.has-img) p{color:var(--am-muted)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body[data-page="consulting"] #app .cons-top{background:var(--am-soft)!important;color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body[data-page="consulting"] #app .cons-top :is(h3,p,.mini){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body[data-page="course"] #app .course-hero-v8{background:#152e3b!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body[data-page="course"] #app .course-hero-v8 :is(h1,h2,h3){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body[data-page="course"] #app .course-hero-v8 :is(p,.crumb,.crumb a,.course-media-foot span){color:var(--am-muted)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body[data-page="course"] #app :is(.course-tabs-v8,.course-detail-tabs,.course-detail-section,.course-topic-card,.package-option-card){background:var(--am-card)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body[data-page="course"] #app :is(.course-tabs-v8,.course-detail-tabs) :is(a,button){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body[data-page="course"] #app :is(.course-tabs-v8,.course-detail-tabs) :is(.on,[aria-selected="true"],[aria-current="true"]){background:var(--am-soft)!important;color:#ffc182!important;border-color:#ffc182!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body[data-page="course"] #app :is(.course-detail-section,.course-topic-card,.package-option-card) :is(h2,h3,h4){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body[data-page="course"] #app :is(.course-detail-section,.course-topic-card,.package-option-card) p{color:var(--am-muted)!important}
/* Account dialog has its own palette and lives outside #app. */
html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-tabs{background:var(--am-soft)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-tabs button{background:transparent!important;color:var(--am-muted)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-tabs button.on,html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-tabs button[aria-selected="true"]{background:#365764!important;color:#fff!important;box-shadow:inset 0 -2px #ffc182}
html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-brand .lg-t b{color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-brand .lg-t span{color:var(--am-muted)!important}
/* Footer selectors mirror the journey footer specificity rather than relying
   on inherited colors. Preserve the multicolor vector logo on a white plate. */
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer{background:#0a1720!important;color:#c8dcda!important;border-color:#3e5963!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-col>a,
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-legal>a,
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-brand p,
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-bottom{color:#c8dcda!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-col h4,
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .lg-t b{color:#edf7f5!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .lg-t span,
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-contact a span,
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-contact a bdi,
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-bottom :is(span,bdi){color:#c8dcda!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-social>a{background:#203b47!important;color:#edf7f5!important;border-color:#56717b!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-social>a:hover{background:#365764!important;color:#fff!important;border-color:#ffc182!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-brand .ae-brand-mark{background:#fff!important;border:1px solid #cad7d5!important;border-radius:9px;padding:4px}
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-bottom{border-top-color:#3e5963!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-cta{background:#163744!important;color:#edf7f5!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body footer.ftr .ae-footer .ae-f-cta :is(b,span){color:#edf7f5!important}
/* Existing navigation module: .ae-workspace-nav, not a second banner. */
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #ae-workspace-nav.ae-workspace-nav{background:var(--am-card)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #ae-workspace-nav.ae-workspace-nav strong{color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #ae-workspace-nav.ae-workspace-nav p{color:var(--am-muted)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #ae-workspace-nav .ae-workspace-actions :is(a,button){background:var(--am-soft)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #ae-workspace-nav .ae-workspace-actions [data-ae-action="home"]{background:#365764!important;color:#fff!important;border-color:#779ca5!important}
/* Shared platform contextual navigation, verified from the cached platform module. */
html[data-site="alsaeed"][data-ae-theme="dark"] body #app>nav.sa-context-nav{background:var(--am-card)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app>nav.sa-context-nav .sa-context-label{color:var(--am-muted)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app>nav.sa-context-nav .sa-context-label strong{color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app>nav.sa-context-nav .sa-context-links a{background:var(--am-soft)!important;color:#c8e4e8!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app>nav.sa-context-nav .sa-context-links a[aria-current="page"]{background:#365764!important;color:#fff!important;box-shadow:inset 0 -2px #ffc182}
html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-form-panel :is(.auth-intro,.auth-method-note,.auth-hint,.social-or,.social-login-status,.auth-switch){color:#c5d7da!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-form-panel .auth-eyebrow{color:#ffc182!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-form-panel .auth-switch :is(a,button){color:#b9e2ea!important;text-decoration:underline;text-underline-offset:4px}
html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-tabs button.on,html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-tabs button[aria-selected="true"]{background:#f4c38f!important;color:#233640!important;box-shadow:inset 0 -3px #d68a3d}
/* Keep a touch-accessible exit visible while browsing long albums. */
html[data-site="alsaeed"] body:has(#ae-media-dialog[open]){overflow:hidden}
html[data-site="alsaeed"] .ae-media-head{position:sticky;top:0;z-index:4}
html[data-site="alsaeed"] .ae-media-video video{aspect-ratio:16/9;object-fit:contain}
@media(max-width:600px){html[data-site="alsaeed"] .ae-media-head{padding:12px 16px;gap:8px}html[data-site="alsaeed"] .ae-media-head h2{font-size:1.2rem;margin:0}html[data-site="alsaeed"] .ae-media-head .ae-media-eyebrow{font-size:.7rem}html[data-site="alsaeed"] .ae-media-head>div:last-child{align-self:stretch;justify-content:space-between}}
html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-tabs button[aria-pressed="true"]{background:#f4c38f!important;color:#233640!important;box-shadow:inset 0 -3px #d68a3d}
html[data-site="alsaeed"][data-ae-theme="dark"] body .auth-dialog .auth-form-panel label.f>span{color:#e8f2f1!important}
/* Public catalog: override the catalog/renewal styles at their actual mount.
   Do not recolor artwork, provider marks, images or generated course covers. */
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount .public-catalog-tools{background:var(--am-card)!important;color:var(--am-text)!important;border-color:var(--am-border)!important;box-shadow:none!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount :is(.public-catalog-intro h2,.public-course-heading h2,.public-course-card h3,.public-result-card h3){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount :is(.public-catalog-intro p,.public-course-heading>p,.public-result-card>p){color:var(--am-muted)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount .eyebrow{color:var(--am-accent)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogForm :is(label,legend){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogForm :is(input:not([type="radio"]),select,option){background:#142832!important;color:#e8f2f1!important;border-color:#62808a!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogForm input::placeholder{color:#b7cbc9!important;opacity:1}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogForm :is(input,select):focus-visible{outline:3px solid #ffc182!important;outline-offset:2px;border-color:#ffc182!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogForm .public-search-field>span{color:#b7cbc9!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogForm .sa-format-options span{background:var(--am-soft)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogForm .sa-format-options input:checked+span{background:#f4c38f!important;color:#233640!important;border-color:#f4c38f!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogForm .sa-format-options input:focus-visible+span{outline:3px solid #ffc182!important;outline-offset:3px}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount :is(#publicBrowseFields,#publicShowPackages,#publicToggleFilters,#publicClearFilters){background:var(--am-soft)!important;color:#c8e4e8!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount .public-catalog-actions{border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount :is(#publicResultCount,#publicCourseCount){color:var(--am-muted)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount .public-course-tracks button{background:var(--am-card)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount .public-course-tracks button>span{background:#365764!important;color:#fff!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount .public-course-tracks button:is([aria-pressed="true"],[aria-checked="true"],.on){background:#f4c38f!important;color:#233640!important;border-color:#f4c38f!important;box-shadow:inset 0 -2px #d68a3d!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount :is(.public-course-card,.public-result-card){background:var(--am-card)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount :is(.public-course-facts,.public-card-facts){background:var(--am-soft)!important;color:var(--am-text)!important;border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount :is(.public-course-facts dt,.public-card-facts dt,.public-course-offer>span,.public-course-prices>span,.public-course-top>span:last-child){color:var(--am-muted)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount :is(.public-course-facts dd,.public-card-facts dd,.public-course-prices>strong){color:var(--am-text)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount .public-course-top>span:first-child{background:#493021!important;color:#ffc182!important;border-color:#8e653c!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount :is(.public-course-top,.public-course-offer,.sa-catalog-identity){border-color:var(--am-border)!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount .ia-course-details-link{color:#b9e2ea!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app #publicCatalogMount .public-course-details{background:#365764!important;color:#fff!important;border-color:#779ca5!important}
