.nav-mock-exams{white-space:nowrap}.nav-mock-exams small{font-size:8px;color:#991e10;font-weight:800}.local-mock-module{max-width:1240px;margin:40px auto 55px;padding:32px;border:1px solid #e4e7ec;border-top:3px solid #171717;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.local-mock-module p,.local-account-exams p{margin:0 0 9px;font-size:10px;letter-spacing:1.5px;font-weight:700;color:#1e4f91}.local-mock-module h2{margin:0 0 12px;font-size:29px;color:#171717}.local-mock-module span,.local-account-exams span{font-size:13px;line-height:1.8;color:#626262}.local-mock-module>a,.local-account-exams>a{padding:13px 23px;background:#171717;color:#fff;font-size:12px;font-weight:650;white-space:nowrap;text-decoration:none;display:inline-block}.local-account-exams{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;border-top:1px solid #e4e7ec;border-bottom:1px solid #e4e7ec;margin:25px 0}.local-account-exams h3{margin:0 0 8px;font-size:19px}.local-mock-module>a:hover,.local-account-exams>a:hover{background:#1e4f91}@media(max-width:1320px){.local-mock-module{margin:32px}}@media(max-width:640px){.local-mock-module{margin:24px 18px;display:block;padding:24px}.local-mock-module h2{font-size:24px}.local-mock-module>a{margin-top:20px}.local-account-exams{align-items:stretch;flex-direction:column}.local-account-exams>a{text-align:center}.nav-mock-exams small{font-size:7px}}

.nav-mock-exams{position:relative;overflow:visible!important}.nav-mock-exams .mock-beta-tag{position:absolute;top:-5px;right:-10px;line-height:1;font-size:7px;letter-spacing:.04em;font-weight:800;color:#991e10;pointer-events:none}@media(max-width:640px){.nav-mock-exams .mock-beta-tag{top:-3px;right:-8px;font-size:6px}}

html[lang="en"] .nav-mock-exams{margin-right:6px}

/* Keep the original navigation layout; the hint does not occupy layout space. */
.site-header .nav.nav-has-overflow{justify-content:flex-start}
.site-header>.nav-scroll-hint{position:absolute;right:clamp(20px,4vw,72px);bottom:10px;font-size:9px;line-height:11px;font-weight:500;color:#777;letter-spacing:0;white-space:nowrap;pointer-events:none}
.site-header>.nav-scroll-hint[hidden]{display:none!important}
html[lang="en"] .site-header>.nav-scroll-hint{right:clamp(20px,3.2vw,60px)}
@media(max-width:680px){.site-header>.nav-scroll-hint,html[lang="en"] .site-header>.nav-scroll-hint{right:14px;bottom:2px;font-size:6.5px;line-height:8px}}

@media(min-width:1281px){html:not([lang="en"]) .site-header{column-gap:70px}}

/* Match the official mobile header's soft edges on every navigation width. */
.site-header .nav.nav-has-overflow{--nav-edge-fade:clamp(24px,2.5vw,36px)}
.site-header .nav.nav-has-overflow.nav-scroll-start:not(.nav-scroll-end){-webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(100% - var(--nav-edge-fade)),transparent 100%);mask-image:linear-gradient(to right,#000 0,#000 calc(100% - var(--nav-edge-fade)),transparent 100%)}
.site-header .nav.nav-has-overflow.nav-scroll-middle{-webkit-mask-image:linear-gradient(to right,transparent,#000 var(--nav-edge-fade),#000 calc(100% - var(--nav-edge-fade)),transparent);mask-image:linear-gradient(to right,transparent,#000 var(--nav-edge-fade),#000 calc(100% - var(--nav-edge-fade)),transparent)}
.site-header .nav.nav-has-overflow.nav-scroll-end:not(.nav-scroll-start){-webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--nav-edge-fade),#000 100%);mask-image:linear-gradient(to right,transparent 0,#000 var(--nav-edge-fade),#000 100%)}

/* Preserve badge headroom while separating mobile links from the scroll hint. */
@media(max-width:680px){
  .site-header .nav,
  html[lang="en"] .site-header .nav{padding-top:6px;padding-bottom:11px;margin-top:-8px}

  /* Keep EN's original flex width, text position and touch target. */
  .site-header .nav .language-toggle[lang="en"]{position:relative;border-color:transparent!important}
  .site-header .nav .language-toggle[lang="en"]::after{content:"";position:absolute;top:1px;bottom:1px;left:-1px;right:-1px;border:1px solid #cfcfcf;pointer-events:none}
}

/* Match visible desktop labels and the language button's outer edge. */
@media(min-width:681px){
  .site-header .nav,
  html[lang="en"] .site-header .nav{padding-top:6px;margin-top:-6px}
  .site-header .nav .nav-account{min-width:0;flex-shrink:0}
  html[lang="en"] .site-header .nav .nav-mock-exams{margin-right:0}
}

/* Keep iOS keyboard compatibility scoped to editable website form controls. */
@media(max-width:680px) {
  html.ios-input-compat .payment-form input:not([readonly]):not([type=checkbox]):not([type=radio]),
  html.ios-input-compat .contact-form input, html.ios-input-compat .contact-form textarea,
  html.ios-input-compat .account-page input, html.ios-input-compat #detector-text,
  html.ios-input-compat #pae-redeem-code { font-size:var(--mobile-field-text, 16px)!important; }
}

/* Country tabs scroll horizontally only; vertical gestures continue on the page. */
.partner-tabs { overflow-y: hidden; overscroll-behavior-y: auto; align-items: center; }
.partner-tabs button::after { bottom: 0; }
/* One footer arrow geometry and baseline on the homepage and every tool page. */
.footer-community-copy a .footer-link-arrow { display:inline-block; width:1em; height:1em; vertical-align:-.08em; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
@media(max-width:680px), (pointer:coarse) {
  html, body { touch-action:pan-x pan-y; }
}
@media(max-width:680px) {
  .payment-form input::placeholder, .payment-form textarea::placeholder,
  .contact-form input::placeholder, .contact-form textarea::placeholder { font-size:12px!important; font-weight:700; opacity:1; }
}

/* Choosing another course must remain available from a membership checkout. */
.payment-form.pae-membership-checkout select[name="serviceType"] { pointer-events:auto; background:#fff; }

/* A single amount field surface and a full-height currency divider. */
#payment .amount-input { grid-template-columns:44px minmax(0,1fr); }
#payment .amount-input b { align-self:stretch; display:flex; align-items:center; justify-content:center; margin:0; padding:0; }
#payment .amount-input input { min-width:0; background:transparent; }
#payment .pae-membership-checkout .amount-input { background:#f0efec; }
@media(max-width:680px) {
  #payment input[name="serviceSubject"][readonly],
  #payment input[name="amount"][readonly],
  #payment .amount-input b { font-size:12px!important; }
}
