
/* Warm paper, mineral grey, charcoal and restrained logo gold. */
:root{color-scheme:light;--bg:#f8f9fa;--panel:#fff;--line:#dfe2e6;--text:#1b1f25;--ink:#1b1f25;--muted:#555d68;--gold:#916b29;--teal:#2d6b56;--radius:12px;--ge-grey:#f1f3f5;--nav:#17191d;--blue:#8b6b34;--cyan:#8b6b34;--brand-primary:#8b6b34;--shadow:0 5px 20px #17191d06}
html body{background:var(--bg)!important;color:var(--text)!important;line-height:1.75}
html body :is(h1,h2,h3,h4,h5,h6){letter-spacing:0!important;line-height:1.45!important;color:var(--ink)!important;text-shadow:none!important}
html body :is(button,input,select,textarea){font-size:14px;line-height:1.6}
html body :is(button,.button,.btn){border-radius:8px;box-shadow:none}
html body :is(a,button,input,select,textarea):focus-visible{outline:2px solid #916b29;outline-offset:4px}
html body :is(.muted,.prose,.sub){color:var(--muted)!important}
html body #app :is(p,li,.muted,.prose,.service-description,.service-description p,.service-description li){font-size:16px!important;line-height:1.9!important;color:var(--muted)!important;font-weight:400!important}
html body #app .service-description :is(strong,h3,h4){color:var(--ink)!important}
html body #app :is(h2,.section-heading h2){font-size:clamp(26px,2.4vw,36px)!important;font-weight:700!important}
html body #app h3{font-size:20px!important}
html body #app :is(.actions button,.actions .button,.tabs button){font-size:14px!important;line-height:1.6!important}
html body :is(.eyebrow,.course-kicker,.comp-kicker){color:#876329!important;font-size:11px!important;letter-spacing:1.7px;font-weight:600}
html body .top{background:#fff!important;color:var(--ink)!important;border-bottom:1px solid var(--line);box-shadow:none!important}
html body .top .identity span{color:#17191d!important}html body .top .identity small{color:#687380!important}
html body .top .identity img{width:54px!important;height:54px!important;flex-basis:54px!important}
html body .top #public-nav a{color:#343b45!important;font-size:13px!important;font-weight:600!important}
html body .top #public-nav a:hover{color:#896329!important}
html body .top #public-nav>a:is([data-page=login],[data-page=dashboard]),html body .top #portal-language-switch{background:#f5f2ea!important;color:#5b4523!important;border:1px solid #e6dac1!important;box-shadow:none!important}
html body .top .menu-toggle{background:#f2f3ef!important;color:#363b32!important;border:1px solid var(--line)!important}
html body .activity-header-tools>.activity-bell{background:#fff!important;color:#6a5530!important;border-color:#d8c9a7!important}
html body .activity-bell-count{border-color:#fff}
html body :is(button,.button){background:#fff;color:#343b45;border-color:#d9dcd3;transition:background .18s,border-color .18s}
html body :is(button,.button):hover{background:#f4f3ee;border-color:#bda16a}
html body :is(button.primary,.button.primary,.course-dialog-body .primary,.comp-dialog .primary){background:#c7a35a!important;color:#292719!important;border:1px solid #c7a35a!important;box-shadow:none!important}
html body :is(button.primary,.button.primary):hover{background:#b9944e!important}
html body :is(input,select,textarea){background-color:#fff!important;color:#30342c!important;border-color:#d6dad0!important;color-scheme:light!important}
html body :is(input,textarea)::placeholder{color:#858a7e!important;opacity:1}
html body select:not([multiple]):not([size]),html body :is(#modalBg,#page-calendar,#page-content) select:not([multiple]):not([size]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m2 3 5 5 5-5' fill='none' stroke='%23616a5a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important}
/* Public home */
html body #app .hero{max-width:1440px;margin:auto;min-height:610px;padding:72px 56px;grid-template-columns:1.15fr 1fr;gap:90px;background:#fff;overflow:visible}
html body #app .hero:before,html body #app .hero:after{display:none!important}
html body #app .hero h1{font-size:clamp(34px,3.6vw,55px)!important;line-height:1.4!important;max-width:650px;margin:20px 0 24px;letter-spacing:0!important}
html body #app .hero p{max-width:540px;font-size:17px!important}
html body #app .hero .actions{margin-top:28px!important;margin-bottom:20px!important}
html body #app .hero .actions :is(button,.button){padding:12px 23px}
html body #app .hero p:last-child{font-size:12px!important;color:#7c7f73!important}
html body #app .hero-visual{min-height:0;padding:0;align-items:center;justify-content:stretch}
.market-overview{width:100%;background:#17191d;color:#f6f7fa;border-radius:4px;padding:28px 32px;box-shadow:14px 14px 0 #eceff2;border-top:3px solid #c7a35a}
.market-overview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font:600 10px/1.5 Arial,sans-serif;letter-spacing:1.5px;color:#d8c28e}
.market-overview-head>span:last-child{font-size:8px;color:#a4aa9d}
.market-overview-title{padding:36px 0 28px}.market-overview-rule{display:block;width:38px;border-top:2px solid #c7a35a;margin-bottom:18px}
html body #app .market-overview h2{font-size:36px!important;line-height:1.5!important;color:#f6f7fa!important;margin:0 0 12px}
html body #app .market-overview p{color:#b7beb0!important;font-size:14px!important;margin:0}
.market-overview-row{display:flex;align-items:center;gap:16px;padding:20px 0;border-top:1px solid #4a4e43}
.market-overview-number{font:12px Arial,sans-serif;color:#c7a35a;align-self:start;margin-top:4px}
.market-overview-row>div{display:grid;gap:5px;flex:1}.market-overview-row b{font:600 14px/1.5 Arial,sans-serif;letter-spacing:.9px;color:#f7f5ed}
.market-overview-row>div>span{font-size:13px;color:#aeb6a7}.market-overview-row>span:last-child{color:#d2b574;font-size:20px}
.market-overview-foot{border-top:1px solid #4a4e43;padding-top:20px;margin-top:2px;color:#a4ad9d;font:9px/1.7 Arial,sans-serif;letter-spacing:1.4px}
html body #app>section:not(.hero){background:#fff}
html body #app>section.soft{background:#f2f4f6;border-block:1px solid #dfe3e7}
html body #app>section.home-cta{background:#f4f2ec;border-block:1px solid #e4dac4}
html body .wrap{padding-block:64px}html body .section-heading{margin-bottom:30px}
html body :is(.card,.table-wrap,.seo-card,.seo-related,.learning-card,.course-panel,.comp-card,.comp-panel,.comp-stats>div){background:#fff!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:12px;box-shadow:none!important}
html body .card:hover{transform:none;border-color:#c9b893!important;box-shadow:0 7px 22px #38362806!important}
html body :is(.card .icon,.card .price){color:#8c6828}
html body :is(.tag,.course-pill){background:#f1ecdf!important;color:#76602e!important;border-color:#e2d7bf!important}
html body .tabs button.active,html body .side button.active{background:#f4f2ec!important;color:#6f5527!important;border-color:#d9c599!important;box-shadow:inset -3px 0 #b28e49!important}
html body .side{background:#f4f5f7!important;border-color:#dfe2d8!important}
html body .side button{color:#4e5662!important;border-color:transparent}html body .side button:hover{background:#e9edf1!important;color:#252a33!important}
html body .side hr{border-color:#d9ddd1}
html body .client-welcome{background:#eceee7!important;border-color:#d7dccf!important;color:#303944!important}
html body :is(.empty,.empty-note){background:#f4f6f8!important;color:#6b7380!important;border-color:#dce1d5!important}
html body :is(th,thead){background:#f0f2ec!important;color:#59614f!important;border-color:#dce0d6!important}
html body td{border-color:#e2e5dd!important;color:#3e4637}
html body :is(.notice,.notice-main,.payment-guide,.payment-card,.promo-box){background:#f6f7fa;color:#4c5343;border-color:#dedfce}
/* Charcoal footer */
html body #footer,html body #footer .site-footer,html body footer{background:#17191d!important;background-image:none!important;border-top:3px solid #bea060;color:#ccd2dc}
html body #footer .site-footer>.wrap{padding:52px clamp(24px,5vw,90px) 0}
html body #footer .footer-grid{grid-template-columns:1.25fr 1fr .8fr;gap:60px;padding-bottom:40px}
html body #footer :is(h3,strong){font-size:14px!important;color:#e5d3a9!important}
html body #footer p,html body #footer .footer-bottom{font-size:13px!important;line-height:1.9;color:#aab2bf!important}
html body #footer a{font-size:13px!important;color:#d1d6df!important;line-height:1.9;margin-block:8px}
html body #footer a:hover{color:#ead2a0!important}html body #footer .footer-social{gap:10px}
html body #footer .footer-social a{background:transparent!important;border:1px solid #555b4d!important;color:#d0b77e!important;border-radius:6px;padding:9px}
html body #footer .footer-social svg{width:18px;height:18px}
html body #footer .footer-bottom{border-color:#4a5042!important;padding-block:22px}

/* Learning, competitions, partners and shared overlays */
html body :is(.course-filters,.comp-filters){background:#eeefe9!important;border-color:#dce0d4!important;border-radius:12px}
html body :is(.course-filters label,.comp-filters label,.course-dialog-body label){color:#56606e!important}
html body :is(.course-copy,.course-muted,.course-clamp,.course-outline p,.course-students small){color:#56606e!important}
html body .course-card-facts :is(span,strong){color:#6e592d!important}
html body .course-card-facts .course-price-free{background:#f2ead8!important;border-color:#d7c397!important;box-shadow:none!important}
html body .course-price-free span{color:#775823!important;text-shadow:none!important}
html body :is(.learning-card-placeholder,.learning-hero-mark){background:#e8ebdf!important;color:#778166!important;border-color:#d4dccc!important}
html body .course-curriculum button{background:#f4f5f0!important;color:#3d4932!important;border-color:#d6ddca!important}
html body .course-curriculum button.active{background:#f4ecdb!important;border-color:#b89c60!important}
html body .course-curriculum button small{color:#718065!important}
html body .course-students>div,html body .course-outline>div{border-color:#e0e4d9}
html body .course-panel summary{color:#775d2c}
html body :is(.course-message,.comp-message){background:#edf3e9!important;color:#416238!important;border-color:#cfddc6!important}
html body :is(.course-message.bad,.comp-message.bad){background:#faf0ef!important;color:#a0433c!important;border-color:#e9c5c0!important}
html body :is(.comp-pill,.comp-prize){background:#efe8d7;color:#765b28;border-color:#e1d2af}
html body :is(.comp-card-art,.comp-detail-art){background-color:#313c2c}
html body :is(.comp-card-art,.comp-detail-art) h2{color:white!important}
html body:not(.admin-theme) :is(.course-dialog,.comp-dialog,.activity-dialog,#modal){background:#fff!important;color:#242a33!important;border-color:#d8ddce!important}
html body :is(.course-dialog,.comp-dialog)>header{background:#f4f6f8;border-color:#dce1d1}
html body :is(.course-dialog,.comp-dialog) :is(label,p,small){color:#56616f}
html body :is(.course-dialog-body button,.comp-dialog button){background:#f4f4ee;color:#444d39;border-color:#d9dece}
html body .activity-event{color:#343d2a;border-color:#dce2d1}
html body .activity-event.unread{background:#f6f0e0;border-color:#c8ac6d}
html body .activity-event p{color:#646f56}html body .activity-event small{color:#818a77}
html body .activity-toast{background:#fff!important;color:#30392a!important;border-color:#d9cbab!important;box-shadow:0 8px 30px #17191d20}
html body .activity-toast p{color:#68745c!important}
html body .partners-scene{background:#fafaf7!important}
html body .partners-scene:before{opacity:.05!important;filter:grayscale(1)}
html body .partners-scene:after{background:linear-gradient(180deg,#ffffffc0,#f7f7f3ed)!important}
html body .partner-featured{background:#ece9de!important;color:#30362a!important;border-color:#d8cba8!important}
html body :is(.partner-card,.contact-card,.contact-link,.contact-form,.faq-item,.seo-related){background:#fff!important;color:#323c29!important;border-color:#dfe3d5!important}
html body :is(.partner-featured,.partner-card) p{color:#5d6950!important}
html body .seo-related a{color:#526140;border-color:#dfe5d5}
html body .market-price-strip{background:#fff!important;border-color:#d9e0d1!important;box-shadow:none!important;border-radius:8px!important}
html body .market-ticker-heading strong{color:#5f4d27!important;font-size:16px}
html body :is(.market-ticker-heading span,.market-ticker-note,.market-ticker-loading){color:#758268!important}
@media(max-width:1000px){html body #app .hero{gap:35px;padding-inline:32px}.market-overview{padding:24px}.market-overview-title{padding-block:26px}}
@media(max-width:800px){html body #app .hero{grid-template-columns:1fr;min-height:0;padding:42px 24px 46px;gap:34px}html body #app .hero h1{font-size:35px!important}html body #app .hero p{font-size:15px!important}.market-overview{max-width:560px;margin:auto;padding:25px;box-shadow:8px 8px 0 #edece4}html body #app .market-overview h2{font-size:30px!important}.market-overview-title{padding-block:24px}.market-overview-row{padding-block:16px}html body .wrap{padding-block:38px}html body #footer .footer-grid{grid-template-columns:1fr 1fr;gap:30px}html body #footer .footer-grid>div:first-child{grid-column:1/-1}html body .top #public-nav.open{background:#fff!important;border:1px solid #e3e7db}}
@media(max-width:480px){html body #app .hero h1{font-size:32px!important}html body #app p,html body #app li{font-size:15px!important}html body .top .identity img{width:44px!important;height:44px!important;flex-basis:44px!important}html body #footer .site-footer>.wrap{padding:36px 24px 0}html body #footer .footer-grid{grid-template-columns:1fr;gap:26px}html body #footer .footer-grid>div:first-child{grid-column:auto}html body :is(input,select,textarea){font-size:16px!important}.market-overview-head{letter-spacing:1px}.market-overview-head>span:last-child{font-size:7px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Replace the former scroll-reveal fades with immediately readable content. */
html body .reveal{opacity:1!important;transform:none!important;transition:none!important}
html body #app .hero .market-overview p{color:#bdc5b4!important;font-size:14px!important}

html body #app .contact-intro h1{font-size:clamp(32px,3.7vw,48px)!important}
html body :is(.contact-platform small,.contact-assurance small){color:#596574!important}
html body .contact-platform{background:#f6f7f9;border-color:#dce2d1;border-radius:9px}
html body .contact-platform b{color:#3c472f}
html body .contact-platform .contact-icon{background:#ececdf;color:#8c6d33}
html body .contact-assurance{color:#716035;border-color:#e1e4d6}
html body .contact-consent a{color:#85632c!important}
html body .contact-form-panel{animation:none!important}
html body .partner-form-shell{background:#fff!important;border-color:#dfdfd1;box-shadow:none}
html body .partners-grid .partner-card{background:#fff!important}
html body .partner-featured-brand{background:#f5f2e7!important;box-shadow:none;border-color:#dcd0ae}

html body #app>section.home-story{background:#f1f3f5;border-block:1px solid #e8dfce}

/* Revised institutional direction: neutral monochrome, real photography, stronger type. */
html body{font-synthesis:none;text-rendering:optimizeLegibility}
html body #app,html body .seo-shell{font-family:'Global Edge Display','IBM Plex Sans Arabic',Arial,sans-serif!important}
html body #app :is(h1,h2,h3,h4,h5,h6,p,li,a,label,span,strong,b,button,input,select,textarea),html body .seo-shell :is(h1,h2,h3,h4,p,li,a,span,strong,b){font-family:'Global Edge Display','IBM Plex Sans Arabic',Arial,sans-serif!important}
html body #app :is(p,li,.prose,.muted,.service-description,.service-description p,.service-description li){font-size:18px!important;line-height:1.95!important;font-weight:500!important;color:#515966!important}
html body #app :is(h2,.section-heading h2){font-size:clamp(29px,2.6vw,39px)!important;line-height:1.55!important;font-weight:750!important}
html body #app h3{font-size:23px!important;line-height:1.6!important;font-weight:700!important}
html body #app :is(.actions button,.actions .button,.tabs button){font-size:16px!important;font-weight:650!important}
html body .top #public-nav a{font-family:'Global Edge Display',Arial,sans-serif!important;font-size:14px!important;font-weight:650!important}
html body #app .hero{max-width:none;margin:0;min-height:650px;padding:0;grid-template-columns:1.04fr 1fr;gap:0;background:#fff;border-bottom:1px solid #dfe3e8;overflow:hidden}
html body #app .hero>div:first-child{padding:74px clamp(32px,5.2vw,100px) 62px;align-self:center;min-width:0}
html body #app .hero h1{font-size:clamp(40px,3.45vw,64px)!important;line-height:1.48!important;font-weight:800!important;max-width:720px;margin:18px 0 22px;color:#171a20!important}
html body #app .hero p{font-size:19px!important;font-weight:500!important;color:#515966!important;max-width:670px;line-height:1.9!important}
html body #app .hero p:last-child{font-size:14px!important;font-weight:600!important;color:#666f7d!important}
html body #app .hero .actions{gap:14px!important;margin-top:30px!important}
html body #app .hero .actions :is(button,.button){font-size:16px!important;padding:14px 28px;min-height:54px;border-radius:5px}
html body #app .hero .eyebrow{font-size:11px!important;letter-spacing:2px;font-weight:700}
html body #app .hero-photograph{position:relative;margin:0;padding:0;display:block;min-height:650px;height:100%;overflow:hidden;isolation:isolate;background:#252b35}
.hero-photograph>img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 50%}
.hero-photograph>figcaption{position:absolute;inset-inline:0;bottom:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:20px 26px;background:#111821e8;color:#fff;font:11px/1.6 Arial,sans-serif;z-index:1}
.hero-photograph>figcaption>span{letter-spacing:1.7px;font-size:10px}
.hero-photograph>figcaption a{font:10px/1.6 Arial,sans-serif!important;color:#e3e7ec;text-decoration:underline;text-underline-offset:3px}
html body #app>section.soft{background:#f2f4f6;border-block-color:#e1e5e9}
html body #app>section.home-story{background:#fff;border-block:1px solid #e1e5e9}
html body #app>section.home-story .wrap{display:grid;grid-template-columns:1fr;max-width:1370px;padding-block:58px}
html body #app>section.home-story .section-heading{border-inline-start:3px solid #b78c3e;padding-inline-start:24px;margin:0}
html body #app .card{border-radius:8px}
html body #app .card .price{font-size:34px;font-weight:750}
html body #footer,html body #footer .site-footer{background:#17191d!important;border-top:2px solid #b28a42}
html body #footer .site-footer>.wrap{max-width:1440px;margin:auto;padding:42px 44px 0}
html body #footer .footer-grid{grid-template-columns:1.15fr 1fr 1fr;gap:70px;padding-bottom:30px}
html body #footer :is(h3,strong){font-family:'Global Edge Display',Arial,sans-serif!important;font-size:17px!important;font-weight:700!important;color:#e4c88e!important}
html body #footer a{font-family:'Global Edge Display',Arial,sans-serif!important;font-size:15px!important;font-weight:500;line-height:1.8;color:#d1d5dd!important;margin-block:7px}
html body #footer p{font-family:'Global Edge Display',Arial,sans-serif!important;font-size:15px!important;line-height:1.9;color:#aeb6c3!important;font-weight:500}
html body #footer .footer-bottom{font-size:13px!important;color:#9aa5b5!important;border-color:#3a3e46!important;padding-block:20px}
html body #footer .footer-grid>div:first-child>img{width:124px!important}
html body #footer .footer-social a{border-color:#4b5059!important;background:transparent!important;color:#d3b373!important}
html body #footer .footer-social svg{width:19px;height:19px}
/* Article surfaces are independent of #app: fix them explicitly. */
html body .seo-shell{max-width:1300px;padding-inline:32px}
html body .seo-top{background:#f1f3f6!important;border:1px solid #dde3e9!important;border-inline-start:4px solid #b48a3c!important;border-radius:0!important;padding:38px 42px;color:#1a2029!important}
html body .seo-top h1{font-size:clamp(31px,3.2vw,47px)!important;line-height:1.55!important;font-weight:750!important;color:#1c2430!important;margin:12px 0 16px}
html body .seo-top p{font-size:19px!important;font-weight:500;color:#515e70!important;line-height:1.95}
html body .seo-meta{font-size:14px!important;font-weight:600!important;color:#6c5a36!important}
html body .seo-list .empty{font-family:'Global Edge Display',Arial,sans-serif!important;font-size:18px!important;font-weight:500;color:#566172!important;background:#fff!important;border:1px dashed #cbd3dd!important;padding:30px}
html body .seo-card{background:#fff!important;border-color:#dce2e9!important;color:#1d2735!important;box-shadow:none!important;border-radius:8px}
html body .seo-card h2{font-size:24px!important;line-height:1.65!important;font-weight:700;color:#182333!important}
html body .seo-card p,html body .seo-card a{font-size:17px!important;color:#536176!important;line-height:1.9}
html body .seo-article{max-width:950px;color:#293342}
html body .seo-article h1{font-size:clamp(34px,3.5vw,52px)!important;line-height:1.55!important;color:#192230!important;font-weight:800}
html body .seo-article .article-content{font-family:'Global Edge Display',Arial,sans-serif!important;font-size:20px!important;line-height:2!important;font-weight:500;color:#384658!important}
html body .seo-article .article-content :is(p,li,span,strong,em,div){font-family:'Global Edge Display',Arial,sans-serif!important;color:inherit;font-size:inherit;line-height:inherit}
html body .seo-article :is(h2,h3,h4,h5,h6){color:#1a2636!important;font-weight:750;line-height:1.65!important}
html body .seo-article blockquote{background:#f1f4f8!important;color:#4c5b70!important;border-color:#b28b43!important}
html body .seo-back{font-size:16px!important;font-weight:650;color:#7c5d26!important}
html body .seo-image-caption{font-size:14px!important;color:#657286!important}
html body footer.seo-footer{max-width:none;background:#17191d!important;color:#c3cbd8!important;border-top:2px solid #b18a43;font-size:15px!important;padding:28px max(24px,calc((100vw - 1240px)/2));margin:50px 0 0}
html body .seo-related{background:#f2f4f7!important;border-color:#dfe5ed!important}
html body .seo-related h2{font-size:20px!important;color:#1e2c40!important}
html body .seo-related a{font-size:16px!important;color:#56657b!important}
@media(max-width:1100px){html body #app .hero>div:first-child{padding-inline:34px}html body #app .hero h1{font-size:44px!important}html body #app .hero-photograph{min-height:590px}}
@media(max-width:800px){html body #app .hero{grid-template-columns:1fr;gap:0;padding:0;min-height:0}html body #app .hero>div:first-child{padding:44px 26px 38px}html body #app .hero h1{font-size:40px!important}html body #app .hero p{font-size:18px!important}html body #app .hero-photograph{min-height:370px;height:370px}.hero-photograph>img{object-position:center 44%}.hero-photograph>figcaption{padding:14px 20px}html body #app :is(p,li){font-size:17px!important}html body #footer .footer-grid{grid-template-columns:1fr 1fr;gap:30px}html body #footer .footer-grid>div:first-child{grid-column:1/-1}html body #footer .site-footer>.wrap{padding:36px 26px 0}html body .seo-shell{padding-inline:22px}html body .seo-top{padding:28px 24px}html body .seo-top h1{font-size:33px!important}}
@media(max-width:480px){html body #app .hero h1{font-size:36px!important}html body #app .hero .actions :is(button,.button){font-size:15px!important;padding-inline:18px}html body #app .hero-photograph{height:300px;min-height:300px}.hero-photograph>figcaption>span{font-size:8px}.hero-photograph>figcaption a{font-size:9px!important}html body #footer .footer-grid{grid-template-columns:1fr;gap:28px}html body .seo-top h1{font-size:29px!important}html body .seo-top p{font-size:17px!important}html body .seo-article .article-content{font-size:18px!important}}

html body #app .hero{max-width:1920px;margin-inline:auto}

html body .seo-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:24px}
html body .seo-list>.empty{grid-column:1/-1;text-align:center;padding:56px 24px!important}
.hero-photograph>figcaption>a:first-of-type{margin-inline-start:auto}

/* Keep service calls to action on a shared baseline within each grid row. */
html body .grid:has(>.service-card){align-items:stretch}
html body #app .service-card{display:flex;flex-direction:column;min-width:0}
html body #app .service-card>.tag{align-self:flex-start}
html body #app .service-card-actions{display:flex;align-items:center;justify-content:flex-start;margin-block-start:auto!important;padding-block-start:20px;gap:10px}
html body #app .service-card-actions>:is(button,.button){margin:0!important}

/* Editorial banners: actual subjects on the left, readable Arabic copy on the right. */
html body #app :is(.comp-intro,.partners-intro){background-color:#191b20!important;background-repeat:no-repeat!important;background-size:cover!important;background-position:center!important;border:1px solid #34383e!important;border-radius:12px!important;padding:64px 48px!important;min-height:330px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;overflow:hidden;margin-bottom:32px;box-sizing:border-box}
html body #app .comp-intro{background-image:linear-gradient(90deg,transparent 25%,#12151b18 50%,#12151b55 100%),url('/competition-awards-banner.png')!important}
html body #app .partners-intro{background-image:linear-gradient(90deg,transparent 18%,#12151b18 48%,#12151b66 100%),url('/partners-handshake-banner.png')!important}
html body #app :is(.comp-intro,.partners-intro) :is(h1,h2){color:#fff!important;font-size:clamp(30px,3.4vw,46px)!important;font-weight:750!important;margin:16px 0!important;max-width:58%;text-shadow:0 2px 12px #0003!important}
html body #app :is(.comp-intro,.partners-intro) :is(p,.muted){color:#d9dfe8!important;font-size:17px!important;max-width:55%;line-height:1.9!important}
html body #app :is(.comp-intro,.partners-intro) :is(.eyebrow,.comp-kicker){color:#dec28a!important;font-size:11px!important;letter-spacing:1.6px}
html body #app .partners-intro{max-width:1260px;margin:32px auto}
html[dir=ltr] body #app :is(.comp-intro,.partners-intro){align-items:flex-end;text-align:right}
html body #app :is(.comp-filters,.course-filters){background:#f1f3f5!important;border-color:#dce1e7!important}
@media(max-width:700px){html body #app :is(.comp-intro,.partners-intro){padding:200px 24px 28px!important;min-height:390px;background-size:auto 270px!important;background-position:left top!important;background-color:#191b20!important}html body #app :is(.comp-intro,.partners-intro) :is(h1,h2,p,.muted){max-width:100%}html body #app :is(.comp-intro,.partners-intro) h1{font-size:30px!important}html body #app .partners-intro{margin:20px 16px}}

/* Public contrast pairs, separate from administration. */
html body:not(.admin-theme) :is(.comp-step,.comp-prize-summary,.comp-no-active,.comp-summary>div,.comp-winner-grid>article,.comp-winner-grid>div,.course-outline,.course-students,.payment-guide,.payment-card,.promo-box){background:#f1f3f5!important;background-image:none!important;color:#303b49!important;border-color:#d4dce5!important}
html body:not(.admin-theme) :is(.comp-step,.comp-prize-summary,.comp-no-active,.comp-summary>div,.comp-winner-grid>article,.comp-winner-grid>div,.course-outline,.course-students) :is(p,span,strong,small,label,li){color:#374658!important}
html body:not(.admin-theme) :is(.comp-dialog-heading,.comp-editor-footer,.course-dialog>header,.activity-dialog>header){background:#f0f2f5!important;color:#222e3e!important;border-color:#d5dde6!important}
html body:not(.admin-theme) :is(.comp-dialog,.course-dialog,.activity-dialog,#modal) :is(h1,h2,h3,h4,strong,b){color:#1d2938!important}
html body:not(.admin-theme) :is(.comp-dialog,.course-dialog,.activity-dialog,#modal) :is(p,label,small,li){color:#4b5b70!important}
html body:not(.admin-theme) :is(.comp-card-art,.comp-detail-art){color:#f3f5f9!important}
html body:not(.admin-theme) #app :is(.comp-card-art,.comp-detail-art) :is(h1,h2,h3,p,span,small,strong){color:#f3f5f9!important}
html body:not(.admin-theme) :is(.comp-card-art,.comp-detail-art) .comp-pill{background:#182431e8!important;color:#f1d8a7!important;border-color:#927c51!important}
html body:not(.admin-theme) :is(.comp-prizes>span,.comp-prize-summary){background:#f3eddf!important;color:#684d20!important;border-color:#d6c6a5!important}
html body:not(.admin-theme) .comp-countdown{background:#e7efeb!important;color:#275447!important;border-color:#b7cec2!important}
html body:not(.admin-theme) :is(.course-watermark){color:#f0f3f7!important;background:#121d2ac9!important}
html body:not(.admin-theme) :is(.comp-notice,.course-message,.comp-message){background:#e8f1eb!important;color:#275b40!important;border-color:#b7d1c0!important}
html body:not(.admin-theme) :is(.comp-notice.bad,.course-message.bad,.comp-message.bad){background:#f8e9eb!important;color:#8a303f!important;border-color:#dfb4be!important}
html body:not(.admin-theme) :is(.course-kicker,.comp-kicker,.eyebrow){color:#775522!important}

html body:not(.admin-theme) .contact-platform :is(.platform-arrow,.platform-icon){color:#765622!important}
html body:not(.admin-theme) .market-ticker-heading span{color:#536173!important}
html body:not(.admin-theme) .market-price-strip .tradingview-widget-copyright a{color:#405d7b!important}

/* Account content has explicit colour pairs, including populated notification cards. */
html body:not(.admin-theme) #app .message{background:#eef1f5!important;background-image:none!important;color:#253246!important;border:1px solid #d5dde7!important;border-inline-start:3px solid #a7864a!important;border-radius:10px!important;padding:20px 22px;margin:14px 0}
html body:not(.admin-theme) #app .message :is(b,strong,h2,h3,h4){color:#253246!important;font-weight:750!important}
html body:not(.admin-theme) #app .message :is(p,small,span,.muted,.prose){color:#4d5c70!important}
html body:not(.admin-theme) #app .message.support{background:#eaf0ec!important;border-color:#c4d6c9!important}
html body #notice{background:#253143!important;color:#f0f3f8!important;border:1px solid #6b7b92!important;box-shadow:0 8px 26px #14203326!important;font-size:14px!important;font-weight:650;line-height:1.8;max-width:min(520px,calc(100vw - 32px));box-sizing:border-box}
html body #notice :is(p,b,strong,span,a){color:#f0f3f8!important}
html body:not(.admin-theme) #app .client-shell .side{background:#edf0f4!important;border:1px solid #d5dde7!important;border-radius:12px;padding:16px}
html body:not(.admin-theme) #app .client-shell .side button{background:transparent!important;border-color:transparent!important;color:#435166!important;font-weight:650!important}
html body:not(.admin-theme) #app .client-shell .side button:hover{background:#e1e6ed!important;color:#243247!important}
html body:not(.admin-theme) #app .client-shell .side button.active{background:#e9dfca!important;color:#5c431b!important;border-color:#c7b58d!important;box-shadow:inset -3px 0 #ac894a!important}
html body:not(.admin-theme) #app .client-shell .profile{border-bottom:1px solid #d1dae4;padding-bottom:14px;margin-bottom:12px}
html body:not(.admin-theme) #app .client-shell .profile :is(b,bdi){color:#263449!important;font-weight:750!important}
html body:not(.admin-theme) #app .client-shell .side p{color:#526175!important}
html body:not(.admin-theme) #app .agent-hero{background:#edf0f4!important;background-image:none!important;border-color:#cdd7e3!important;box-shadow:none!important}
html body:not(.admin-theme) #app .agent-hero :is(h2,p,small,span){color:#35465e!important}
html body:not(.admin-theme) #app .agent-code{background:#e2e7ef!important;border-color:#bdcad9!important}
html body:not(.admin-theme) #app .agent-code b{color:#6d5023!important}
html body:not(.admin-theme) #app .message .actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:760px){html body:not(.admin-theme) #app .client-shell .side{padding:10px;gap:8px}html body:not(.admin-theme) #app .message{padding:17px}}

html body:not(.admin-theme) #app :is(label,legend){color:#46566c!important;font-weight:600!important}
html body .activity-bell-count{background:#ad3b4d!important;color:#fff!important}

html body .top .identity img{width:66px!important;height:66px!important;flex-basis:66px!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;filter:none!important;box-shadow:none!important}
html body #footer .footer-grid>div:first-child>img{width:126px!important;height:126px!important;object-fit:contain!important;background:transparent!important;filter:none!important}
html body #app .client-welcome>img{background:transparent!important;border:0!important;padding:0!important;object-fit:contain!important;filter:none!important}
@media(max-width:600px){html body .top .identity img{width:52px!important;height:52px!important;flex-basis:52px!important}}

html body #activity-toast-stack{top:90px;width:min(340px,calc(100vw - 32px));gap:8px}
html body .activity-toast{background:#253143!important;background-image:none!important;color:#edf2f8!important;border:1px solid #64748a!important;border-inline-start:3px solid #c5a05e!important;padding:13px 16px!important;border-radius:10px!important;box-shadow:0 8px 24px #101b2b26!important}
html body .activity-toast :is(strong,p,small,span){color:#edf2f8!important;font-size:13px!important;line-height:1.8!important}
html body .activity-toast button{background:#34445b!important;color:#eef3fa!important;border-color:#697c97!important;font-size:12px!important;padding:6px 12px!important}
html body .activity-toast .activity-toast-close{background:transparent!important;color:#d4dce8!important;border:0!important;font-size:22px!important;padding:0 6px!important}

/* Shared workflow surfaces use theme tokens, including forms outside #app. */
html body{--surface-subtle:#eef1f5;--surface-border:#cdd7e3;--surface-number:#dce4ed;--surface-error:#923c48}
html body:not(.admin-theme) :is(.consultation-order,.consultation-timeline){background:var(--surface-subtle)!important;background-image:none!important;color:#27374b!important;border-color:var(--surface-border)!important}
html body:not(.admin-theme) :is(.consultation-order,.consultation-timeline) :is(h2,h3,h4,strong,b,.consultation-price){color:#24344a!important;font-weight:750!important}
html body:not(.admin-theme) :is(.consultation-order,.consultation-timeline) :is(p,label,small,.muted){color:#475a72!important}
html body:not(.admin-theme) :is(.consultation-order,.consultation-timeline) :is(input,select,textarea){background:#fff!important;color:#26364b!important;border-color:#bdcad9!important;color-scheme:light!important}
html body:not(.admin-theme) :is(.article-toolbar,.article-actions,.data-search,.payment-steps li,.payment-option,.payment-method,.transfer-details,.promo-panel,.social-panel,.social-comments,.comment-item){background:#eef1f5!important;color:#2e4057!important;border-color:#ccd7e3!important;background-image:none!important}
html body:not(.admin-theme) :is(.social-panel,.social-comments,.comment-item,.transfer-details) :is(p,small,label,b,strong,h3){color:#354b63!important}
html body:not(.admin-theme) #close-modal{background:#e5eaf0!important;color:#3c4e65!important;border:1px solid #becbdb!important}
html body:not(.admin-theme) #app .partner-hero-badge{background:#253143!important;color:#edf2f8!important}
html body:not(.admin-theme) #app .partner-hero-badge :is(span,b){color:#edf2f8!important}

html body:not(.admin-theme) :is(input,textarea)::placeholder{color:#657287!important;opacity:1!important}

html body:not(.admin-theme) :is(input,textarea)::placeholder{color:#536278!important;opacity:1!important}
html body:not(.admin-theme) :is(.empty,.empty-note){color:#566478!important}
html body:not(.admin-theme) #app .agent-metrics :is(span,small){color:#526178!important}
html body:not(.admin-theme) #app .agent-metrics strong{color:#6e5023!important}
html body #competition-announcement,html body .offer-strip{background:#eae3d5!important;background-image:none!important;color:#44381f!important;border-color:#c8b58f!important}
html body #competition-announcement :is(span,b,strong,p,small){color:#44381f!important}
html body #competition-announcement :is(button,a){background:#fff!important;color:#584222!important;border-color:#bba77f!important}

html body:not(.admin-theme) :is(.learning-card-placeholder,.learning-hero-mark){background:#e7edf4!important;color:#42556f!important;border-color:#cad5e3!important}
html body:not(.admin-theme) :is(.learning-card-placeholder,.learning-hero-mark) :is(span,small){color:#42556f!important}
html body:not(.admin-theme) :is(.course-back,.comp-back){color:#6c4e23!important;font-weight:650!important}
html body:not(.admin-theme) .comp-card-body :is(p,span,small,dt,dd){color:#465b73!important}
html body:not(.admin-theme) .comp-dates :is(span,b){color:#405671!important}
html body:not(.admin-theme) .comp-countdown :is(b,span){color:#244e43!important}
html body:not(.admin-theme) .comp-summary b{color:#6d5023!important}
html body:not(.admin-theme) :is(.comp-panel,.comp-requirements) :is(dt,dd,small){color:#465b73!important}
html body:not(.admin-theme) .comp-step-number{background:#dfe8e4!important;color:#345647!important}

/* Every public native dialog has a complete palette, even when created dynamically. */
html body:not(.admin-theme) dialog{background:#fff!important;background-image:none!important;color:#293b52!important;border-color:#c7d3e1!important;color-scheme:light}
html body:not(.admin-theme) dialog :is(h1,h2,h3,h4,strong,b){color:#26384f!important}
html body:not(.admin-theme) dialog :is(label,legend,p,small,dt,dd){color:#475c75!important}
html body:not(.admin-theme) .message{background:#eef1f5!important;background-image:none!important;color:#2b3e55!important;border:1px solid #d0dbe7!important}
html body:not(.admin-theme) .message :is(h2,h3,h4,b,strong){color:#293c55!important}
html body:not(.admin-theme) .message :is(p,small,span){color:#4b5f78!important}
html body:not(.admin-theme) .message.support{background:#e8efea!important;border-color:#bfd0c4!important}
html body:not(.admin-theme) dialog :is(.comp-close,.course-close,#social-close,[aria-label="إغلاق"]){background:#e5eaf1!important;color:#3a4f6a!important;border-color:#bccada!important}
html body:not(.admin-theme) :is(.contact-error,#social-error,.error,[role=alert]){color:#8c3546!important}

/* Public light buttons retain readable text through pointer and keyboard states. */
html body:not(.admin-theme) :is(button,.button):not(.primary):is(:hover,:focus-visible,:active){background:#f4f3ee!important;color:#111111!important;border-color:#bda16a}
html body:not(.admin-theme) #app .partner-hero .actions .button:not(.primary):is(:hover,:focus-visible,:active){color:#111111!important;background:#f4f3ee!important}
