@media screen {
  html { font-size: calc(100% * var(--text-scale, 1)); scroll-padding-bottom: 110px; }
  body { padding-bottom: 88px; }
  .accessibility-open {
    position: fixed; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 85;
    display: flex; align-items: center; gap: 9px; min-height: 48px; max-width: calc(100% - 32px);
    padding: 11px 16px; border: 1px solid #ad3c16; border-radius: 30px;
    background: #fffdf9; color: #702e12; box-shadow: 0 3px 14px #26262020;
    font: 600 .875rem/1.25 var(--sans);
  }
  .accessibility-open:hover { background: #fae9dd; color: #702e12; }
  .accessibility-open svg { width: 23px; height: 23px; }
  .accessibility-dialog {
    position: fixed; inset: 0; width: min(440px,calc(100% - 24px)); max-width: none;
    max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto;
    margin: auto; padding: 24px; border: 1px solid #817c72; border-top: 4px solid #ad3c16;
    border-radius: 10px; background: #fffdf9; color: #262620;
  }
  .accessibility-dialog::backdrop { background: #26262080; }
  .accessibility-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
  .accessibility-heading h2 { font: 600 1.25rem/1.35 var(--sans); overflow-wrap: anywhere; min-width: 0; }
  .accessibility-close { flex-shrink: 0; margin-top: -8px; margin-right: -8px; }
  .accessibility-dialog p { font: 400 .875rem/1.6 var(--sans); margin-top: 14px; }
  .accessibility-size-label { display: block; margin-top: 22px; font-size: 1rem; font-weight: 600; }
  .accessibility-dialog select { display: block; width: 100%; margin-top: 8px; min-height: 48px; padding: 10px; font-size: 1rem; border: 1px solid #817c72; background: white; border-radius: 4px; }
  .accessibility-setting { display: flex; flex-direction: column; align-items: start; gap: 4px; width: 100%; min-height: 48px; margin-top: 14px; padding: 14px; text-align: left; border: 1px solid #817c72; border-radius: 4px; font-size: 1rem; line-height: 1.4; }
  .accessibility-setting[aria-pressed="true"] { border: 2px solid #ad3c16; padding: 13px; background: #fae9dd; }
  .setting-state { font-size: .8125rem; }
  .accessibility-reset { display: block; width: 100%; min-height: 48px; margin-top: 20px; padding: 12px; background: #262620; color: white; border-radius: 4px; font-size: 1rem; line-height: 1.4; }
  .accessibility-reset:hover { background: #702e12; }
  .accessibility-status { min-height: 1.5em; }
  /* Layouts open up with larger type; images retain their original colours. */
  .text-enlarged .site-header .masthead-note, .text-enlarged .site-header .nav-rule { display: none; }
  .text-enlarged .site-header .menu-toggle { display: inline-flex; }
  .text-enlarged .site-header .masthead > .wordmark { font-size: 30px; }
  .text-enlarged .site-header .wordmark .spark { width: 17px; height: 17px; }
  .text-enlarged .site-header .header-tools { grid-column: 3; }
  .text-enlarged .hero-grid, .text-enlarged .spotlight-grid, .text-enlarged .crossing-section,
  .text-enlarged .discover-section, .text-enlarged .category-feature, .text-enlarged .footer-grid,
  .text-enlarged .profile-header, .text-enlarged .collaborate-grid, .text-enlarged .publisher { grid-template-columns: minmax(0,1fr); }
  .text-enlarged .three-grid, .text-enlarged .latest-grid, .text-enlarged .archive-grid,
  .text-enlarged .creators-grid, .text-enlarged .discover-links { grid-template-columns: repeat(auto-fit,minmax(min(100%,20rem),1fr)); }
  .text-enlarged .hero-side, .text-enlarged .crossing-side { padding-left: 0; border-left: 0; }
  .text-enlarged .section-head, .text-enlarged .edition-line, .text-enlarged .lead-bottom,
  .text-enlarged .search-field { flex-wrap: wrap; }
  .text-enlarged .search-field input { flex-basis: 50%; }
  .text-enlarged .newsletter, .text-enlarged .filter-controls { grid-template-columns: minmax(0,1fr); }
  .text-enlarged .newsletter-action, .text-enlarged .publisher-links, .text-enlarged .footer-brand p { grid-column: 1; grid-row: auto; }
  .text-enlarged .footer-brand { display: block; }
  .text-enlarged .footer-brand .wordmark { font-size: 40px; }
  .text-enlarged .lead-read, .text-enlarged .button { white-space: normal; }
  .text-enlarged main, .text-enlarged .newsletter, .text-enlarged .site-footer { overflow-wrap: anywhere; }
  .links-underlined a:not(.image-link):not(.wordmark) { text-decoration: underline; text-underline-offset: .15em; }
  .high-contrast body, .high-contrast body * {
    color: #111 !important; background-color: #fff !important; border-color: #111 !important;
    box-shadow: none !important; text-shadow: none !important;
  }
  .high-contrast a:not(.image-link):not(.wordmark) { text-decoration: underline !important; }
  .high-contrast button, .high-contrast .button { background-color: #111 !important; color: #fff !important; }
  .high-contrast button *, .high-contrast .button * { color: #fff !important; background-color: transparent !important; }
  .high-contrast button:disabled { opacity: 1; border: 1px dashed #111; }
  .high-contrast button[aria-pressed="true"] { outline: 2px solid #111; outline-offset: 3px; }
  .high-contrast :focus-visible { outline: 3px solid #111 !important; outline-offset: 5px; }
  @media (max-width: 760px) {
    .accessibility-open { left: 12px; bottom: max(12px,env(safe-area-inset-bottom)); padding: 10px 13px; }
    .accessibility-dialog { padding: 20px; }
    .text-enlarged .latest-story, .text-enlarged .compact-card, .text-enlarged .related-section .story-card,
    .text-enlarged .about-stories .story-card, .text-enlarged .mobile-menu { grid-template-columns: minmax(0,1fr); }
    .text-enlarged .latest-image img { height: auto; max-height: 240px; aspect-ratio: 1.5; }
    .text-enlarged .article-reading { display: block; }
  }
}
@media print { .accessibility-open, .accessibility-dialog { display: none !important; } }
