.services-compact .service-grid article{position:relative}
.services-compact .service-grid article>div{min-width:0;width:100%}
.services-compact .service-grid article a{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px;width:100%;min-height:38px;line-height:1.4}
.services-compact .service-grid article a b{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;min-height:36px!important;max-height:36px!important;margin:0!important;padding:0!important;border:1px solid currentColor!important;border-radius:50%!important;background:transparent!important;overflow:hidden!important;box-sizing:border-box!important}
.services-compact .service-grid article a .card-arrow:before{content:"";display:block;width:8px;height:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translate(-1px,-1px)}
.hero-slides .hero-slide:first-child:not(.active){display:none!important}.hero-slides .hero-slide.active{display:flex!important}
.public-hero{position:relative!important;overflow:hidden!important}.public-hero .hero-dots{position:absolute!important;right:auto!important;left:50%!important;bottom:16px!important;transform:translateX(-50%)!important;z-index:12!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;margin:0!important;padding:0!important}.public-hero .hero-dots button{position:static!important;display:block!important;flex:0 0 12px!important;width:12px!important;height:12px!important;min-width:12px!important;min-height:12px!important;margin:0!important;padding:0!important;border:2px solid #fff!important;border-radius:50%!important;background:#ffffff88!important;box-shadow:0 2px 7px #0005!important}.public-hero .hero-dots button.active{width:30px!important;flex-basis:30px!important;border-radius:10px!important;background:#fff!important}
@media(max-width:900px){.services-compact .service-grid article a b{flex-basis:34px!important;width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;min-height:34px!important;max-height:34px!important}}

.accessibility-toggle.active{outline:3px solid color-mix(in srgb,var(--accent) 35%,white);outline-offset:3px}
.accessibility-panel{font-size:18px!important;gap:18px!important;width:min(390px,calc(100vw - 28px))!important;padding:25px!important;max-height:calc(100vh - 78px);overflow:auto;border:2px solid #d9e5e8;border-radius:18px!important}
.access-title{display:flex;align-items:center;gap:12px;padding-left:35px}.access-title>i{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:var(--accent);color:#fff;font-size:1.45rem}.access-title span{display:grid}.access-title b{font-size:1.2rem}.access-title small{font-size:.78rem;color:#607580}.accessibility-panel fieldset{border:0;padding:0;margin:0;min-width:0}.accessibility-panel legend{font-weight:800;margin-bottom:9px}.font-actions{display:grid!important;grid-template-columns:repeat(5,1fr);gap:7px!important}.font-actions button{height:65px!important;min-width:0;padding:6px 2px!important;display:grid;place-items:center;gap:0;border-width:2px!important}.font-actions button b{line-height:1;font-size:1.25rem}.font-actions button small{font-size:.62rem}.font-actions button.active{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 20%,transparent)}
.color-actions{display:grid!important;grid-template-columns:repeat(4,1fr);gap:9px!important}.accessibility-panel .color-actions button{position:relative;width:auto!important;height:72px!important;border-radius:12px!important;padding:7px!important;display:grid;place-items:center;gap:3px;background:#f7f9fa!important}.color-actions button span{display:block;width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--choice-brand),var(--choice-accent))}.color-actions button:nth-child(1){--choice-brand:#102e4f;--choice-accent:#05898b}.color-actions button:nth-child(2){--choice-brand:#16423c;--choice-accent:#2f8f83}.color-actions button:nth-child(3){--choice-brand:#503624;--choice-accent:#c46b24}.color-actions button:nth-child(4){--choice-brand:#293241;--choice-accent:#5c6f82}.color-actions button small{color:#354d5b;font-weight:700}.accessibility-panel .color-actions button.active{border-color:var(--accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 20%,transparent)}.accessibility-panel .color-actions button.active span:after{content:"\2713";display:grid;place-items:center;height:100%;color:#fff;font-weight:900;text-shadow:0 1px 3px #000}
.contrast-action,.access-reset{min-height:52px!important;font-size:1rem!important;font-family:inherit!important}.access-reset{color:var(--brand)!important;font-weight:800}.accessibility-close{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#eef3f5!important;font-size:1.05rem}
.visitor-theme .portal-link,.visitor-theme .section-more,.visitor-theme .hero-slide .primary-action,.visitor-theme .public-search-dialog form button{background:var(--accent)!important}.visitor-theme .public-header nav a.active,.visitor-theme .public-header nav a:hover,.visitor-theme .latest-section header a,.visitor-theme .contact-section i{color:var(--accent)!important}.visitor-theme .public-header nav a.active:after{background:var(--accent)!important}.visitor-theme .announcement-strip{background:var(--theme-surface)!important;color:var(--brand)!important}.visitor-theme .service-grid article{border-color:color-mix(in srgb,var(--accent) 28%,white)!important}.visitor-theme .service-grid article a{color:var(--accent)!important}.visitor-theme .service-icon{background:color-mix(in srgb,var(--accent) 16%,white)!important;color:var(--brand)!important}.visitor-theme .public-footer{background:var(--brand)!important}
.high-contrast{filter:none!important;background:#000!important;color:#fff!important}
.high-contrast .public-header,.high-contrast .accessibility-panel,.high-contrast .service-grid article,.high-contrast .content-card,.high-contrast .announcement-strip,.high-contrast .public-footer{background:#000!important;color:#fff!important;border-color:#fff!important}
.high-contrast .public-header a,.high-contrast .service-grid article p,.high-contrast .service-grid article a,.high-contrast .accessibility-panel label{color:#fff!important}
.high-contrast .accessibility-panel button{border-color:#fff!important;color:#fff!important;background:#161616!important}
.high-contrast .contrast-action span{background:#ffd400!important}
.access-large-font{overflow-x:hidden}.access-large-font .public-header nav{display:none}.access-large-font .public-menu{display:block}.access-large-font .public-header nav.open{display:flex;position:absolute;top:100%;right:14px;left:14px;height:auto;padding:18px;flex-direction:column;gap:5px;background:#fff;border:1px solid #dbe5e6;border-radius:14px;box-shadow:0 12px 35px #0002}.access-large-font .public-header nav.open a{height:auto;padding:8px}.access-large-font .service-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}.access-large-font .latest-columns{grid-template-columns:1fr}
@media(max-width:520px){.accessibility-panel{left:14px!important;top:72px!important;padding:20px!important}.font-actions{grid-template-columns:repeat(3,1fr)}.color-actions{grid-template-columns:repeat(2,1fr)!important}}
.learning-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:28px}.learning-categories a{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:4px 10px;padding:14px;border:2px solid #dce7ea;border-radius:14px;background:#fff;color:var(--brand)}.learning-categories a>i{grid-row:1/3;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 14%,white);color:var(--accent)}.learning-categories a span{font-weight:800}.learning-categories a small{color:#617682}.learning-categories a.active{border-color:var(--accent);box-shadow:0 6px 20px color-mix(in srgb,var(--accent) 16%,transparent)}
.header-accessibility{display:grid!important;place-items:center;background:color-mix(in srgb,var(--accent) 18%,white)!important;color:#12304a!important;border:2px solid color-mix(in srgb,var(--accent) 45%,white)!important}.header-accessibility>i{display:block!important;font-size:1.2rem!important;line-height:1!important;color:inherit!important}.header-accessibility:hover,.header-accessibility.active{background:color-mix(in srgb,var(--accent) 34%,white)!important;color:#102e4f!important;border-color:var(--accent)!important}.high-contrast .header-accessibility,.high-contrast .header-accessibility:hover{background:#ffd400!important;color:#000!important;border-color:#fff!important}.portal-link{background:linear-gradient(135deg,var(--brand),var(--accent))!important}.color-actions button:first-child span{background:linear-gradient(135deg,var(--choice-brand),var(--choice-accent))!important}
body .theory-tests-landing,body .test-catalog,body .exam-instructions,body .exam-shell,body .result-page{--test-navy:var(--brand);--test-teal:var(--accent)}
.high-contrast .theory-tests-landing,.high-contrast .test-catalog,.high-contrast .exam-instructions,.high-contrast .exam-shell,.high-contrast .result-page,.high-contrast .theory-cover,.high-contrast .tests-hero{background:#000!important;color:#fff!important}
.high-contrast .vehicle-category-card,.high-contrast .category-exams,.high-contrast .exam-set-card,.high-contrast .test-category,.high-contrast .test-sets,.high-contrast .set-card,.high-contrast .instruction-card,.high-contrast .instruction-list article,.high-contrast .question-stage,.high-contrast .exam-sidebar,.high-contrast .answer-option,.high-contrast .answers-review,.high-contrast .answers-review>article,.high-contrast .submit-dialog,.high-contrast .whatsapp-result-dialog,.high-contrast .result-stats article,.high-contrast .result-hero{background:#111!important;color:#fff!important;border-color:#fff!important}
.high-contrast .theory-tests-landing h1,.high-contrast .theory-tests-landing h2,.high-contrast .theory-tests-landing strong,.high-contrast .theory-tests-landing small,.high-contrast .test-catalog h1,.high-contrast .test-catalog h2,.high-contrast .test-catalog h3,.high-contrast .exam-instructions h1,.high-contrast .exam-shell h1,.high-contrast .exam-shell h2,.high-contrast .result-page h1,.high-contrast .result-page h2,.high-contrast .result-page p,.high-contrast .result-page small{color:#fff!important}
.high-contrast .exam-toolbar,.high-contrast .category-action,.high-contrast .set-main-action,.high-contrast .open-set-action,.high-contrast .exam-navigation .next{background:#ffd400!important;color:#000!important;border-color:#ffd400!important}.high-contrast .answer-option.selected,.high-contrast .question-map button.current{outline-color:#ffd400!important;border-color:#ffd400!important}.high-contrast .answer-option:hover{background:#222!important}.high-contrast .question-kind,.high-contrast .eyebrow{color:#ffd400!important;background:#222!important}
