.skip-link {position:fixed;top:8px;left:8px;z-index:10000;transform:translateY(-200%);padding:12px 18px;border:2px solid #fff;border-radius:6px;background:#164b8b;color:#fff;font:600 16px/1.4 var(--font-ui);text-decoration:underline}
.skip-link:focus {transform:none;outline:3px solid #e4b239;outline-offset:2px}
html[data-theme] body a.skip-link {color:#fff;background:#164b8b}
#main-content:focus {outline:none}
html[data-theme="light"] body .auth-recovery-warning,
html[data-theme="light"] body .auth-recovery-warning :is(strong,p) {color:#a51d2d}
html[data-theme="dark"] body .auth-recovery-warning,
html[data-theme="dark"] body .auth-recovery-warning :is(strong,p) {color:#ff9da8}
@media screen {
  html[data-theme="light"] body :is(
    .section-heading p,.test-section-head p,.test-section-head>span,.test-passage-number,
    .test-passage-meta,.test-passage-meta span,.test-pagination span,.test-pagination a,
    .test-start-row>span,.test-configuration .test-guest-note,.test-footer p,.test-page>p,
    .exam-muted,.exam-section-title>span,
    .res-section-heading p,.res-category-label,.res-section-number,.res-mini-icon,
    .res-card-top>span:last-child,.res-guide-card p,.res-muted,.res-empty,
    .res-exam-links strong,.res-download p,.res-format,.res-formula-grid p,
    .res-glossary dd,.res-article-action p,.res-article-aside p,
    .pricing-card header p,.pricing-price small,.pricing-card-action small,.pricing-card-note,
    .pricing-section-heading p,.pricing-section-heading .pricing-eyebrow,
    .pricing-group th,.pricing-comparison .pricing-mobile-label,
    .pricing-not-launched,.pricing-planned,.pricing-benefit-number,.pricing-benefits p,
    .pricing-trust p,.auth-footer>span
  ) {color:var(--ui-muted)}
  html[data-theme="light"] body .test-hero .test-step-number {color:#fff!important;background:#1c6e3d}
  html[data-theme="light"] body .pricing-free-first>span {color:#256044}
}

@media screen {
  html[data-theme="light"] body :is(.res-faqs details p,.pricing-faqs details p,.pricing-comparison thead small,.curriculum-item small) {color:var(--ui-muted)}
}

@media screen {
  html[data-theme="dark"] body :is(.contact-page .contact-errors,.contact-page .errorlist,.lesson-intro #intro-error) {color:#ff9da8}
  @media(max-width:600px) {
    html[data-theme] body .contact-field :is(input,select,textarea) {font-size:16px}
  }
}

@media screen and (max-width:600px) {
  html[data-theme] body .practice-submenu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:6px;overflow:visible}
  html[data-theme] body .practice-submenu-link{min-width:0;min-height:44px;padding:9px 6px;overflow-wrap:anywhere}
  html[data-theme] body .practice-submenu-link::before{display:none}
  html[data-theme] body .practice-submenu-link.active{background:var(--ui-surface);color:var(--ui-accent);border-radius:6px}
  html[data-theme] body .practice-submenu-link.active::after{background:var(--ui-accent)}
}
