/* Load last. The header uses one row at every width. All menu links and
   account actions are the original controls, grouped rather than duplicated. */
html[data-site="alsaeed"][data-ae-compact-header="true"]{--hdr:68px;--ae-top:0px}
html[data-site="alsaeed"][data-ae-compact-header="true"] body{padding-top:68px!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr.hdr,
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr.hdr.scrolled{height:68px!important;min-height:68px!important;overflow:visible!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .hdr-in{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;height:68px!important;min-height:68px!important;padding:10px 24px!important;max-width:1440px;box-sizing:border-box;grid-template-columns:none!important;grid-template-rows:none!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #logoLink{display:inline-flex!important;flex:0 1 auto!important;min-width:0!important;max-width:none!important;grid-area:auto!important;margin:0!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #logoLink .lg{display:flex!important;align-items:center;gap:8px;min-width:0}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #logoLink .lg-t{display:block!important;min-width:0}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #logoLink .lg-t b{font-size:1rem!important;white-space:nowrap;line-height:1.4}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #logoLink .lg-t>span{display:none!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-brand-mark{display:grid;place-items:center;background:transparent!important;padding:0!important;border-radius:0;flex:none}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-brand-mark svg{width:32px!important;height:36px!important;flex:none}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #hdrAct{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;flex:0 0 auto!important;gap:8px!important;width:auto!important;min-width:0!important;margin:0!important;margin-inline-start:auto!important;grid-area:auto!important;order:0!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-primary{display:flex;align-items:center;justify-content:center;gap:4px;flex:1 1 auto;min-width:0;padding:0;margin:0;position:static;background:transparent;border:0;box-shadow:none}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-primary[hidden]{display:none!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-primary>a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border-radius:8px;color:var(--am-text,#173c50)!important;background:transparent!important;font-size:.83rem;font-weight:600;line-height:1.4;white-space:nowrap;text-decoration:none}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-primary>a:is(:hover,.on,[aria-current="page"]){background:var(--am-soft,#edf2e9)!important;box-shadow:inset 0 -2px #d89239}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-display-controls{order:0;display:flex!important;flex-wrap:nowrap!important;flex:none!important;width:auto!important;gap:0!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .lang{order:1;flex:none}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-account{order:2;position:relative;flex:none}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr :is([data-ae-theme-toggle],#langBtn,#burger,.ae-compact-account>summary){box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;flex:none!important;min-width:44px!important;min-height:44px!important;height:44px!important;padding:8px!important;margin:0!important;border:1px solid var(--am-border,#cbd9d9)!important;border-radius:10px;background:var(--am-card,#fff)!important;color:var(--am-text,#173c50)!important;font:inherit;line-height:1;cursor:pointer;white-space:nowrap}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #burger{order:1!important;width:44px!important;grid-area:auto!important;font-size:1.35rem!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr [data-ae-theme-toggle]{width:44px!important;max-width:44px!important;color:#a85d05!important;background:#fff6db!important;border-color:#e3ca8c!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr [data-ae-theme-toggle]>span{display:none!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr [data-ae-theme-toggle] svg{width:22px!important;height:22px!important;fill:none;stroke:currentColor;stroke-width:1.7}
html[data-site="alsaeed"][data-ae-theme="dark"][data-ae-compact-header="true"] body #hdr [data-ae-theme-toggle]{color:#ffcf63!important;background:#43371d!important;border-color:#8d7743!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-account>summary{gap:7px;list-style:none}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-account>summary::-webkit-details-marker{display:none}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-account>summary svg{width:21px;height:21px;flex:none}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-account-label{font-size:.78rem;font-weight:700}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-account-panel{position:absolute;inset-inline-end:0;top:calc(100% + 12px);box-sizing:border-box;width:260px;max-width:calc(100vw - 24px);padding:18px;border:1px solid var(--am-border,#cbd9d9);border-radius:14px;background:var(--am-card,#fff);color:var(--am-text,#173c50);box-shadow:0 18px 50px #0b283b26;text-align:start;z-index:450}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-account:not([open])>.ae-compact-account-panel{display:none!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-account-heading{display:block;margin-bottom:12px;font-size:.85rem}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #hdrAct .ae-compact-account .account-entry-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;gap:8px!important;margin:0!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #hdrAct .ae-compact-account .account-entry-actions .btn{display:flex!important;width:100%!important;min-height:44px!important;justify-content:center;white-space:normal;font-size:.86rem!important;padding:10px 12px!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #nav{position:fixed!important;inset:80px 24px auto auto!important;box-sizing:border-box;width:min(760px,calc(100vw - 48px))!important;max-width:none!important;height:auto!important;max-height:calc(100dvh - 96px)!important;overflow:auto!important;overscroll-behavior:contain;display:none!important;flex:none!important;margin:0!important;padding:24px!important;border:1px solid var(--am-border,#cbd9d9)!important;border-radius:18px;background:var(--am-card,#fff)!important;color:var(--am-text,#173c50)!important;box-shadow:0 20px 60px #071f3833;transform:none!important;order:0!important;z-index:420;text-align:start;animation:none!important}
html[data-site="alsaeed"][dir="ltr"][data-ae-compact-header="true"] body #hdr #nav{inset-inline-start:auto!important;inset-inline-end:24px!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #nav.open{display:block!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-nav-body{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:24px;align-items:start}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-nav-body.ae-has-inline-links{grid-template-columns:1fr 1fr}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-has-inline-links [data-ae-nav-group="services"]{display:none}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-nav-group{display:flex;flex-direction:column;min-width:0;gap:4px}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-nav-group>h2{margin:0 0 9px;font-size:.78rem;font-weight:700;color:var(--am-accent,#a45118)!important;line-height:1.7}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #nav .ae-compact-nav-group :is(a,summary){box-sizing:border-box;display:flex;align-items:center;min-height:44px!important;margin:0;padding:10px 12px!important;font-size:.86rem!important;line-height:1.65!important;color:var(--am-text,#173c50)!important;background:transparent!important;border-radius:8px;text-decoration:none;white-space:normal!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #nav .ae-compact-nav-group :is(a,summary):hover,
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #nav .ae-compact-nav-group :is(.on,[aria-current="page"]){background:var(--am-soft,#edf2e9)!important;box-shadow:inset -3px 0 #d89239}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #nav .sa-nav-group{display:block;width:100%}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #nav .sa-nav-panel{position:static!important;inset:auto!important;width:auto!important;min-width:0!important;max-width:none!important;display:block;padding:0 6px!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #nav details:not([open])>.sa-nav-panel{display:none!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #nav .sa-menu-group{display:flex;flex-direction:column;gap:2px;margin-block:6px 12px}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #nav .sa-menu-group>strong{color:var(--am-muted,#536b73)!important;font-size:.7rem;padding:6px 10px}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-tools{margin-top:18px;padding-top:18px;border-top:1px solid var(--am-border,#cbd9d9)}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-tools button{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;padding:10px 14px;border:1px solid var(--am-border,#cbd9d9);border-radius:10px;font:inherit;font-size:.86rem;background:var(--am-soft,#edf2e9);color:var(--am-text,#173c50);cursor:pointer}
html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr :is(a,button,summary):focus-visible{outline:3px solid #c78425!important;outline-offset:3px}
html[data-site="alsaeed"][data-ae-compact-header="true"] .ae-compact-backdrop{position:fixed;inset:68px 0 0;z-index:190;background:#051d2a66;border:0;padding:0;cursor:pointer;width:100%;height:calc(100dvh - 68px)}
html[data-site="alsaeed"][data-ae-compact-header="true"] .ae-compact-backdrop[hidden]{display:none!important}
html[data-site="alsaeed"][data-ae-compact-header="true"] body.ae-compact-menu-open{overflow:hidden}
/* Consistent, uncropped identity frames. Credential identifiers and issuing
   organizations stay in separate containers, with no filters or recoloring. */
html[data-site="alsaeed"] body #app .v42-cert-mark[data-ae-mark-role]{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;flex:none!important;width:132px!important;min-width:0!important;max-width:100%!important;height:82px!important;min-height:82px!important;padding:8px!important;background:#fff!important;border:1px solid #d8e1e5!important;border-radius:9px!important;overflow:hidden;box-shadow:none!important}
html[data-site="alsaeed"] body #app .v42-cert-mark[data-ae-mark-role] img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;filter:none!important;transform:none!important;border-radius:0!important;mix-blend-mode:normal!important}
html[data-site="alsaeed"] body #app .v42-cert-mark[data-ae-mark-role="program"]{border-style:dashed!important}
html[data-site="alsaeed"] body #app .ae-course .ae-mark{box-sizing:border-box!important;width:132px!important;height:82px!important;padding:0!important;inset-inline-end:12px!important;bottom:12px!important;background:#fff!important;border:0!important;border-radius:9px!important}
html[data-site="alsaeed"] body #app .sa-issuer-logo[data-ae-mark-role="issuer"]{display:block!important;box-sizing:border-box!important;width:96px!important;min-width:96px!important;height:58px!important;max-height:58px!important;padding:5px!important;object-fit:contain!important;object-position:center!important;background:#fff!important;filter:none!important;transform:none!important;border-radius:6px!important;flex:none!important;mix-blend-mode:normal!important}
html[data-site="alsaeed"] body #app .sa-issuer-card{display:flex!important;align-items:center;gap:12px;min-height:78px;max-width:100%;box-sizing:border-box;flex-wrap:nowrap}
html[data-site="alsaeed"] body #app .sa-issuer-copy{min-width:0!important;line-height:1.6!important;overflow-wrap:anywhere}
html[data-site="alsaeed"] body #app .sa-issuer-copy>span{font-size:.7rem!important}
html[data-site="alsaeed"] body #app .sa-issuer-copy>b{font-size:.76rem!important}
html[data-site="alsaeed"] body #app .ae-text-credential{font-size:1.25rem;line-height:1.4;color:#142d4e!important;font-weight:800}
/* Give every enlarged mark its own space instead of covering the title. */
html[data-site="alsaeed"] body #app .v38-package-art{height:auto!important;min-height:194px!important;display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:auto 1fr!important;gap:12px!important}
html[data-site="alsaeed"] body #app .v38-package-art>.v42-cert-mark{position:relative!important;inset:auto!important;grid-column:2;grid-row:1;z-index:2}
html[data-site="alsaeed"] body #app .v42-package-art-copy{display:contents!important;padding:0!important}
html[data-site="alsaeed"] body #app .v42-package-art-copy>div{position:relative;z-index:2;min-width:0}
html[data-site="alsaeed"] body #app .v42-package-art-copy>div:first-child{grid-column:1;grid-row:1;flex-direction:column}
html[data-site="alsaeed"] body #app .v42-package-art-copy>div:last-child{grid-column:1/-1;grid-row:2;align-self:end;max-width:100%;width:fit-content}
html[data-site="alsaeed"] body #app .v42-course-cover .course-cover-in{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important;min-height:280px}
html[data-site="alsaeed"] body #app .v42-course-cover .v42-cert-mark{position:relative!important;inset:auto!important;align-self:flex-end!important}
html[data-site="alsaeed"] body #app .v42-course-cover .course-cover-in>div:last-child{max-width:100%!important}
html[data-site="alsaeed"] body #app .ae-identity #ae-identity-title{font-size:clamp(1.15rem,2.2vw,1.7rem);line-height:1.6;max-width:750px}
@media(max-width:760px){
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .hdr-in{padding-inline:12px!important;gap:6px!important}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #hdrAct{gap:5px!important}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-account>summary{width:44px!important}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-account-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #langBtn{width:44px!important;font-size:.77rem!important;font-weight:700}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #langBtn>*{display:none!important}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #langBtn::after{content:attr(data-ae-language-code)}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #logoLink .lg{gap:5px}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #logoLink .lg-t b{font-size:.85rem!important}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #nav{inset:68px 0 0 auto!important;width:min(340px,90vw)!important;max-height:calc(100dvh - 68px)!important;padding:22px 18px!important;border-radius:0!important;border-inline-end:0!important}
 html[data-site="alsaeed"][dir="ltr"][data-ae-compact-header="true"] body #hdr #nav{inset-inline-end:0!important}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-nav-body{grid-template-columns:1fr;gap:20px}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-nav-group{padding-bottom:14px;border-bottom:1px solid var(--am-border,#cbd9d9)}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-nav-group>h2{margin-bottom:3px}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .ae-compact-account-panel{position:fixed;top:74px;inset-inline:12px;width:auto;max-width:none}
}
/* A credential next to a long Arabic title must not squeeze the title into
   a narrow column. Stack this heading only on phones, using a compact plate. */
@media(max-width:600px){
 html[data-site="alsaeed"] body #app h1>.sa-inline-pmp-mark{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;text-align:center!important}
 html[data-site="alsaeed"] body #app h1>.sa-inline-pmp-mark>.v42-cert-mark[data-ae-mark-role]{align-self:center!important;width:112px!important;height:72px!important;min-height:72px!important;padding:6px!important;margin:0!important}
 html[data-site="alsaeed"] body #app h1>.sa-inline-pmp-mark>span:not(.v42-cert-mark){display:block!important;flex:0 1 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;font-size:clamp(1.45rem,6.4vw,1.85rem)!important;line-height:1.55!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}
}
@media(max-width:350px){
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr .hdr-in{padding-inline:8px!important;gap:4px!important}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #hdrAct{gap:4px!important}
 html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr #logoLink .lg-t b{font-size:.75rem!important}
}
@media(prefers-reduced-motion:reduce){html[data-site="alsaeed"][data-ae-compact-header="true"] body #hdr *{animation:none!important;transition:none!important}}
/* Keep course essentials legible alongside the unified credential frames. */
html[data-site="alsaeed"][data-ae-theme="dark"] body #app .cd-facts dt{color:#b6cbd0!important}
html[data-site="alsaeed"][data-ae-theme="dark"] body #app .cd-facts dd{color:#f2f7f8!important}
