/* TDNSC v27: prominent free-MCQ first step and uncluttered account placement. */
header.header .header-inner{position:relative!important}
header.header .tdnsc-nav-row{display:block!important;max-width:100%!important;align-self:stretch!important;width:100%!important;margin-top:0!important}
header.header .tdnsc-nav-row nav.main-nav{display:flex!important;justify-content:center!important;width:100%!important;overflow-x:auto!important;scrollbar-width:none!important}
header.header .tdnsc-nav-row nav.main-nav::-webkit-scrollbar{display:none}
header.header .v27-header-auth{position:absolute!important;top:22px!important;right:clamp(16px,2.5vw,30px)!important;display:flex!important;align-items:center!important;gap:8px!important;margin:0!important}
header.header .v27-header-auth>a{border-radius:999px!important;min-height:38px!important;padding:9px 15px!important;font-size:.8rem!important;text-decoration:none!important;font-weight:790!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:none!important;white-space:nowrap}
header.header .v27-header-auth>.tdnsc-guest-link:not(.tdnsc-signup){border:1px solid #9bc9ef!important;background:#fff!important;color:#1262ab!important}
header.header .v27-header-auth>.tdnsc-signup,header.header .v27-header-auth>.tdnsc-signed-link{background:#087eff!important;border:1px solid #087eff!important;color:#fff!important}
header.header .v27-header-auth a[hidden],.v27-mobile-signed[hidden]{display:none!important}
.v27-mobile-account,.v27-mobile-signed{display:none!important}
/* The two starting actions read as intentional, balanced cards, not a floating text link. */
#home .v21-hero .welcome-actions.v27-hero-actions{display:grid!important;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr)!important;align-items:stretch!important;gap:12px!important;width:100%!important;max-width:625px!important;margin:3px 0 0!important}
#home .v27-hero-actions a.v27-cta{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;min-height:76px!important;padding:13px 14px!important;border-radius:17px!important;text-decoration:none!important;box-shadow:none!important;transition:transform .16s ease,box-shadow .16s ease!important}
#home .v27-hero-actions .v27-mcq-cta{background:linear-gradient(115deg,#0568e9 0%,#087eff 64%,#259fff 100%)!important;border:1px solid #0075ed!important;color:white!important;box-shadow:0 6px 14px #087eff24!important}
#home .v27-hero-actions .v27-exam-cta{background:#fff!important;border:1.5px solid #91c8f8!important;color:#095baf!important}
#home .v27-hero-actions .v27-cta:hover{transform:translateY(-2px)!important;box-shadow:0 10px 22px #087eff21!important}
#home .v27-hero-actions .v27-cta:focus-visible{outline:3px solid #063b92!important;outline-offset:3px!important}
#home .v27-hero-actions .v27-cta-symbol{flex:0 0 42px!important;width:42px!important;height:42px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:#ffffff2c!important;color:#fff!important;border:1px solid #ffffff63!important}
#home .v27-hero-actions .v27-exam-icon{flex:0 0 35px!important;width:35px!important;height:35px!important;display:grid!important;place-items:center!important;font-size:1.6rem!important;font-weight:900!important;color:#087eff!important}
#home .v27-hero-actions .v27-cta-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;min-width:0!important;flex:1!important;line-height:1.25!important}
#home .v27-hero-actions .v27-cta-copy strong{font-size:clamp(.95rem,1.35vw,1.05rem)!important;font-weight:870!important;letter-spacing:-.025em!important;color:inherit!important}
#home .v27-hero-actions .v27-cta-copy small{color:inherit!important;font-size:.74rem!important;opacity:.9!important;line-height:1.25!important;font-weight:600!important}
#home .v27-hero-actions .v27-cta-arrow{font-size:1.4rem!important;flex:0 0 24px!important;line-height:1!important;text-align:center!important}
@media (max-width:1120px){
  header.header .v27-header-auth{top:14px!important;right:10px!important}
  header.header .v27-header-auth>a{padding:8px 10px!important;font-size:.71rem!important}
  #home .v21-hero .welcome-actions.v27-hero-actions{grid-template-columns:1fr!important;max-width:430px!important}
}
@media (max-width:700px){
  header.header .v27-header-auth{display:none!important}
  header.header .tdnsc-nav-row{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;width:100%!important;max-width:100%!important;padding:0 9px 0 14px!important}
  header.header .tdnsc-nav-row nav.main-nav{flex:1 1 auto!important;min-width:0!important;max-width:calc(100% - 100px)!important;justify-content:flex-start!important;overflow-x:auto!important;gap:16px!important}
  .v27-mobile-account{position:relative!important;flex:0 0 auto!important;display:block!important;z-index:90!important}
  .v27-mobile-account[hidden]{display:none!important}
  .v27-mobile-account>summary{list-style:none!important;display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:40px!important;border-radius:12px!important;padding:8px 10px!important;background:#fff!important;border:1px solid #c6dff6!important;color:#0859aa!important;font-size:.76rem!important;font-weight:850!important;cursor:pointer!important;white-space:nowrap!important}
  .v27-mobile-account>summary::-webkit-details-marker{display:none}
  .v27-mobile-account>summary svg{width:18px;height:18px}
  .v27-mobile-account>.v27-account-choices,.v27-mobile-account>.v21-mobile-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;position:absolute!important;right:0!important;top:calc(100% + 7px)!important;width:175px!important;padding:10px!important;background:#fff!important;border:1px solid #c3e2fc!important;border-radius:15px!important;box-shadow:0 15px 28px #082c5d28!important;z-index:91!important}
  .v27-mobile-account>.v27-account-choices>a,.v27-mobile-account>.v21-mobile-actions>a{display:block!important;text-align:center!important;text-decoration:none!important;min-height:43px!important;padding:11px!important;font-size:.83rem!important;border-radius:11px!important;font-weight:790!important;color:#0861ae!important;background:#fff!important;border:1px solid #b5d8f4!important}
  .v27-mobile-account>.v27-account-choices .tdnsc-signup,.v27-mobile-account>.v21-mobile-actions .v21-signup{background:#087eff!important;color:#fff!important;border-color:#087eff!important}
  .v27-mobile-signed:not([hidden]){display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:9px!important;border:1px solid #087eff!important;border-radius:12px!important;background:#087eff!important;color:#fff!important;text-decoration:none!important;font-size:.75rem!important;font-weight:800!important}
  #home .v21-hero .welcome-actions.v27-hero-actions{max-width:100%!important;grid-template-columns:1fr!important;gap:10px!important}
  #home .v27-hero-actions a.v27-cta{min-height:72px!important}
}
/* Match secondary-page navigation on mobile: menu left, compact account dropdown right. */
.v21-brand-row{position:relative!important}
.v21-brand-row .v27-v21-auth{position:absolute!important;right:clamp(12px,3vw,30px)!important;top:clamp(23px,3vw,40px)!important;display:flex!important;align-items:center!important;gap:8px!important}
.v27-v21-auth>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;border:1px solid #9bc9ef!important;border-radius:999px!important;padding:9px 13px!important;font-size:.8rem!important;text-decoration:none!important;font-weight:800!important;color:#075eaf!important;background:#fff!important}
.v27-v21-auth>.v21-signup,.v27-v21-auth>.v22-my-revision{background:#087eff!important;color:#fff!important;border-color:#087eff!important}
.v27-v21-auth a[hidden]{display:none!important}
@media (max-width:920px){
 .v21-brand-row .v27-v21-auth{display:none!important}
 .v21-header .v21-mobile-nav{display:flex!important;justify-content:space-between!important;gap:12px!important;align-items:center!important}
 .v21-header .v27-mobile-account>summary{display:inline-flex!important}
 .v21-header .v27-mobile-account>.v21-mobile-actions{display:flex!important}
 .v21-header .v27-mobile-account>.v21-mobile-actions a[hidden]{display:none!important}
}
@media (max-width:480px){
  #home .v27-hero-actions .v27-cta-copy strong{font-size:1rem!important}
  #home .v27-hero-actions .v27-mcq-cta .v27-cta-copy strong{font-size:1.06rem!important}
  #home .v27-hero-actions a.v27-cta{padding:12px!important}
  .v21-brand-row .v27-v21-auth{display:none!important}
}
@media(prefers-reduced-motion:reduce){#home .v27-hero-actions .v27-cta{transition:none!important}}
/* Prevent the lighter exam-prep action breaking awkwardly on large screens. */
@media(min-width:1121px){
 #home .v27-hero-actions .v27-exam-cta{gap:7px!important;padding:13px 11px!important}
 #home .v27-hero-actions .v27-exam-cta .v27-exam-icon{flex-basis:22px!important;width:22px!important;height:30px!important;font-size:1.33rem!important}
 #home .v27-hero-actions .v27-exam-cta .v27-cta-arrow{flex-basis:18px!important;font-size:1.18rem!important}
 #home .v27-hero-actions .v27-exam-cta .v27-cta-copy strong{white-space:nowrap!important;font-size:.93rem!important}
 #home .v27-hero-actions .v27-exam-cta .v27-cta-copy small{white-space:nowrap!important;font-size:.68rem!important}
}
