.motion-toggle, .motion-reset { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 1px solid currentColor; border-radius: 22px; background: transparent; color: inherit; font: inherit; font-size: 13px; line-height: 1.4; white-space: nowrap; cursor: pointer; }
.motion-toggle:hover, .motion-reset:hover { background: rgba(128,169,205,.16); }
.motion-toggle:focus-visible, .motion-reset:focus-visible { outline: 3px solid #b68542; outline-offset: 4px; }
.primary-nav:has(.motion-toggle) { gap: clamp(12px, 1.7vw, 26px); }
.primary-nav .motion-toggle, .top-links .motion-toggle { color: #dce7f3; flex: none; }
.motion-settings { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.motion-reset { padding-inline: 0; border: 0; text-decoration: underline; text-underline-offset: 4px; }
.motion-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; max-width: 520px; margin: 20px 0 24px; font-size: 14px; line-height: 1.65; color: inherit; }
.motion-notice > span { opacity: .8; }
.motion-notice .motion-toggle { font-size: 14px; }
html[data-site-motion="reduced"] .entry-screen { display: none !important; }
html[data-site-motion="reduced"].entry-active { overflow: auto; }
@media (max-width: 900px) {
  .primary-nav.is-open { max-height: calc(100svh - 82px); overflow-y: auto; }
  .primary-nav .motion-toggle { align-self: start; margin-top: 6px; }
}
@media (max-width: 680px) {
  .motion-notice { max-width: 100%; }
  .footer-actions .motion-settings { width: 100%; }
  .top-links .motion-toggle { padding-inline: 9px; font-size: 12px; }
}
