:root { --pda11y-font-scale: 1; }

html[data-pda11y-font] body.pd-site { zoom: var(--pda11y-font-scale); }

html.pda11y-spacing body.pd-site main :where(p,li,label,a) { line-height: 1.9 !important; letter-spacing: .025em !important; }
html.pda11y-links body.pd-site main a:not(.pd-logo),
html.pda11y-links body.pd-site .pd-footer a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: .2em; }
html.pda11y-grayscale body.pd-site { filter: grayscale(1); }
html.pda11y-motion,
html.pda11y-motion * { scroll-behavior: auto !important; }
html.pda11y-motion *,
html.pda11y-motion *::before,
html.pda11y-motion *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
html.pda11y-contrast body.pd-site,
html.pda11y-contrast body.pd-site main,
html.pda11y-contrast body.pd-site main section { background: #fff !important; color: #000 !important; }
html.pda11y-contrast body.pd-site main :where(h1,h2,h3,h4,h5,h6,p,span,a,strong,label,small,figcaption) { color: #000 !important; }
html.pda11y-contrast body.pd-site .pd-header,
html.pda11y-contrast body.pd-site .pd-footer { background: #000 !important; color: #fff !important; }
html.pda11y-contrast body.pd-site :where(.pd-header,.pd-footer) :where(a,h1,h2,h3,p,span,button) { color: #fff !important; }
html.pda11y-contrast body.pd-site :where(a,button,input,textarea):focus-visible { outline-color: #ffdf00 !important; }

.pda11y-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.pd-footer .pd-footer-bottom .pda11y-open { position: static; z-index: auto; display: inline-grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; padding: 0; margin: -7px 1.25rem -7px 0; border: 1px solid #fff !important; border-radius: 50%; background: #050505 !important; color: #fff !important; box-shadow: none; font: 19px/1 Arial,sans-serif; cursor: pointer; }
.pda11y-icon { display: block; width: 21px; height: 21px; color: inherit; }
.pd-footer .pd-footer-bottom .pda11y-open:hover,
.pd-footer .pd-footer-bottom .pda11y-open:focus-visible { background: #fff !important; color: #050505 !important; outline: 3px solid #fff !important; outline-offset: 3px; }
.pda11y-open:focus-visible,
.pda11y-dialog button:focus-visible,
.pda11y-dialog input:focus-visible { outline: 3px solid #00b1cb; outline-offset: 3px; }
.pda11y-dialog { width: min(560px, calc(100vw - 32px)); max-height: min(760px, calc(100dvh - 32px)); padding: 0; border: 0; background: #fff; color: #050505; box-shadow: 0 20px 70px rgba(0,0,0,.35); }
.pda11y-dialog::backdrop { background: rgba(0,0,0,.72); }
.pda11y-panel { padding: clamp(22px, 4vw, 38px); font: 16px/1.5 "Plus Jakarta Sans", Arial, sans-serif; }
.pda11y-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 2px solid #050505; }
.pda11y-header h2 { margin: 0; color: #050505; font: 700 clamp(24px,4vw,34px)/1.1 "Plus Jakarta Sans", Arial, sans-serif; letter-spacing: -.03em; text-transform: none; }
.pda11y-close { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #050505; background: #fff; color: #050505; font: 30px/1 Arial,sans-serif; cursor: pointer; }
.pda11y-intro { margin: 20px 0; color: #333; }
.pda11y-dialog fieldset { margin: 0 0 12px; padding: 18px; border: 1px solid #aaa; }
.pda11y-dialog legend { padding: 0 6px; font-weight: 700; }
.pda11y-size { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 12px; }
.pda11y-size button { min-width: 48px; min-height: 48px; border: 1px solid #050505; background: #fff; color: #050505; font: 700 18px/1 Arial,sans-serif; cursor: pointer; }
.pda11y-size output { text-align: center; font-weight: 700; }
.pda11y-option { display: flex; align-items: flex-start; gap: 14px; padding: 15px 4px; border-bottom: 1px solid #ccc; cursor: pointer; }
.pda11y-option input { width: 24px; height: 24px; flex: 0 0 24px; margin: 1px 0 0; accent-color: #050505; }
.pda11y-option span { display: grid; gap: 2px; }
.pda11y-option small { color: #444; }
.pda11y-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 24px; }
.pda11y-actions button { min-height: 46px; padding: 10px 16px; border: 1px solid #050505; background: #fff; color: #050505; font: 700 14px/1.2 "Plus Jakarta Sans",Arial,sans-serif; cursor: pointer; }
.pda11y-actions .pda11y-done { background: #050505; color: #fff; }

@media (max-width: 600px) {
  .pda11y-actions { flex-direction: column-reverse; }
  .pda11y-actions button { width: 100%; }
  .pda11y-open { width: 32px; height: 32px; margin: -7px 1rem -7px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pda11y-dialog, .pda11y-dialog * { transition: none !important; animation: none !important; }
}
