html.ue126-active {font-size:calc(100% * var(--ue126-size,1));}
html.ue126-active :is(main,dialog,header,nav) :is(p,li,label,button,input,select,textarea,a,td,th){letter-spacing:var(--ue126-spacing,0px);line-height:var(--ue126-line,1.5);}
html.ue126-dyslexia :is(main,dialog,header,nav) :is(p,li,label,button,input,select,textarea,a,h1,h2,h3,td,th){font-family:Verdana,Arial,sans-serif!important;}
html.ue126-large :is(button,a[role=button],input,select){min-height:48px!important;}
html.ue126-motion *,html.ue126-motion *::before,html.ue126-motion *::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important;}
html.ue126-calm body{background-image:none!important;}
html.ue126-calm :is(main,dialog) *{box-shadow:none!important;text-shadow:none!important;}
html.ue126-focus :is(main,dialog) :is(p,li){max-width:75ch;}
html.ue126-focus :is(main,dialog) :is(h1,h2,h3){scroll-margin-top:2rem;}
html.ue126-contrast :is(main,dialog,header,nav){background:#080808!important;color:#fff!important;}
html.ue126-contrast :is(main,dialog,header,nav) :is(p,li,label,h1,h2,h3,td,th,span){color:#fff!important;}
html.ue126-contrast :is(button,input,select,textarea){background:#111!important;color:#fff!important;border-color:#fff!important;}
html.ue126-soft :is(main,dialog){background:#23382e!important;color:#eee4d1!important;}
html.ue126-active :focus-visible{outline:3px solid #eac66e!important;outline-offset:3px;}
html.ue126-active body{filter:brightness(var(--ue126-brightness,1));}
#ue126-dialog{width:min(620px,92vw);max-height:85vh;overflow:auto;background:#142b22;color:#f4e6c9;border:1px solid #a58a55;border-radius:12px;padding:18px;box-sizing:border-box;}
#ue126-dialog label{display:block;margin:12px 0;}#ue126-dialog input[type=range]{width:100%;}#ue126-dialog input[type=checkbox]{margin-right:10px;} .ue126-button{background:#24543f;color:#f4e6c9;border:1px solid #a58a55;border-radius:9px;padding:10px;margin:4px;min-height:44px;}

/* Stage 12.6.1: use the same secondary button styling and action row as existing navigation. */
header .public-actions:has(#ue126-global),header .header-actions:has(#ue126-global){display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;}
header #ue126-global{white-space:nowrap;}
@media (min-width:1100px){header:has(#ue126-global) .brand{flex-shrink:1;min-width:0;}header .public-actions:has(#ue126-global){flex:0 1 auto;justify-content:flex-end;}header .public-actions:has(#ue126-global) > button{white-space:nowrap;}}
