/* Global DorSuite appearance and accessibility. Always loaded after /theme.css. */
html{font-size:100%}
html[data-text-size="87.5"]{font-size:87.5%}html[data-text-size="112.5"]{font-size:112.5%}
html[data-text-size="125"]{font-size:125%}html[data-text-size="150"]{font-size:150%}
html[data-text-size="175"]{font-size:175%}html[data-text-size="200"]{font-size:200%}
html[data-reading="true"] body{font-family:OpenDyslexic,Verdana,"Trebuchet MS",Arial,sans-serif}
html[data-spacing="wide"] :is(p,h1,h2,h3,label,button,a,small,li){letter-spacing:.095em;word-spacing:.14em;line-height:1.6}
html[data-motion="reduce"] *,html[data-motion="reduce"] *::before,html[data-motion="reduce"] *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
html[data-contrast="yellow"]{color-scheme:dark;--ds-bg:#000;--ds-panel:#000;--ds-panel-alt:#171717;--ds-border:#ffe600;--ds-text:#fff;--ds-muted:#eee;--ds-blue:#ffe600;--ds-green:#ffe600;--ds-focus:#ffe600;--ds-shadow:none}
html[data-contrast="white"]{color-scheme:dark;--ds-bg:#000;--ds-panel:#000;--ds-panel-alt:#161616;--ds-border:#fff;--ds-text:#fff;--ds-muted:#eee;--ds-blue:#fff;--ds-green:#fff;--ds-focus:#fff;--ds-shadow:none}
html[data-contrast="black"]{color-scheme:light;--ds-bg:#fff;--ds-panel:#fff;--ds-panel-alt:#efefef;--ds-border:#000;--ds-text:#000;--ds-muted:#111;--ds-blue:#000;--ds-green:#000;--ds-focus:#000;--ds-shadow:none}
html[data-contrast="yellow"] .ds-button:not(.ds-button-outline),html[data-contrast="white"] .ds-button:not(.ds-button-outline){color:#000}
html[data-contrast="black"] .ds-button:not(.ds-button-outline){color:#fff}
html[data-contrast]:not([data-contrast="none"]) .ds-brand-base{background:transparent;border-radius:0;padding:0}
.ds-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.ds-display-dialog{width:min(630px,calc(100% - 1.5rem));max-width:none;max-height:calc(100dvh - 20px);overflow:auto;padding:clamp(1rem,3vw,1.6rem);border:1px solid var(--ds-border);border-radius:18px;background:var(--ds-panel);color:var(--ds-text);box-shadow:0 20px 80px #0005}
.ds-display-dialog::backdrop{background:#061c2cb0}.ds-display-top{display:flex;justify-content:space-between;align-items:center;gap:.8rem}
.ds-display-top h2{font-size:1.4rem;margin:0}.ds-display-top button{min-width:44px;min-height:44px;border:1px solid var(--ds-border);border-radius:10px;background:var(--ds-panel-alt);color:var(--ds-text)}
.ds-display-dialog p{font-size:.9375rem;line-height:1.5;color:var(--ds-muted)}
.ds-display-dialog fieldset{border:1px solid var(--ds-border);border-radius:12px;padding:.7rem 1rem;margin:.8rem 0;min-width:0}
.ds-display-dialog legend{font-weight:700;font-size:.9rem;padding:0 .3rem}
.ds-display-options{display:flex;flex-wrap:wrap;gap:.2rem 1rem}.ds-display-checks{flex-direction:column;align-items:stretch}
.ds-display-dialog label{display:flex;align-items:center;gap:.55rem;min-height:44px;cursor:pointer;font-size:.9375rem}
.ds-display-dialog input{width:1.2em;height:1.2em;accent-color:var(--ds-blue)}
.ds-display-size{display:flex;gap:.7rem;align-items:center}.ds-display-size button{min-width:44px;min-height:44px;border-radius:9px;background:var(--ds-panel-alt);border:1px solid var(--ds-border);color:var(--ds-text)}
.ds-display-size output{font-weight:800;min-width:80px;text-align:center}
.ds-display-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.7rem;margin-top:1rem}.ds-display-actions button{min-height:44px}

html[data-motion="reduce"] *,html[data-motion="reduce"] *::before,html[data-motion="reduce"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
html[data-contrast="yellow"] .regie-tabs .tab.active,html[data-contrast="white"] .regie-tabs .tab.active,html[data-contrast="yellow"] .regie-recipient-select.active,html[data-contrast="white"] .regie-recipient-select.active{color:#000}
html[data-contrast="black"] .regie-tabs .tab.active,html[data-contrast="black"] .regie-recipient-select.active{color:#fff}

