:root{--bn-font-scale:1;--bn-page-bg:#fff;--bn-surface:#fff;--bn-text:#2c2522;--bn-muted:#657381;--bn-line:#dce7e3;--bn-link:#175543}
html[data-bn-text=small]{--bn-font-scale:.9}html[data-bn-text=large]{--bn-font-scale:1.15}html[data-bn-text=xlarge]{--bn-font-scale:1.3}
html{font-size:calc(100% * var(--bn-font-scale));font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
html[data-bn-theme=dark]{--bn-page-bg:#101715;--bn-surface:#18221f;--bn-text:#f4f7f6;--bn-muted:#c3cfcb;--bn-line:#476058;--bn-link:#9de0c8}
html[data-bn-theme=dark] body{background:var(--bn-page-bg)!important;color:var(--bn-text)!important}
html[data-bn-theme=dark] :is(.workspace-header,.portal-login,.task-card,.panel-lite,.form-card,.topbar,.sidebar,.content,.panel,.record,.login,dialog){background:var(--bn-surface)!important;color:var(--bn-text)!important;border-color:var(--bn-line)!important}
html[data-bn-theme=dark] :is(p,small,label,dt,dd,.task-message){color:var(--bn-muted)!important}
html[data-bn-theme=dark] :is(input,textarea,select){background:#0d1412!important;color:#fff!important;border-color:var(--bn-line)!important}
html[data-bn-theme=dark] a{color:var(--bn-link)}
html[data-bn-contrast=on]{--bn-text:#000;--bn-muted:#111;--bn-line:#000;--bn-link:#003cce}
html[data-bn-theme=dark][data-bn-contrast=on]{--bn-text:#fff;--bn-muted:#fff;--bn-line:#fff;--bn-link:#fff500}
html[data-bn-contrast=on] :is(.task-card,.panel-lite,.form-card,.panel,.record,.portal-login){border-width:2px!important}
html[data-bn-contrast=on] :is(a,button,.btn){text-decoration-thickness:2px}
html[data-bn-targets=on] :is(button,.btn,a,input,select,textarea,summary){min-height:52px}
html[data-bn-targets=on] :is(button,.btn){padding:.85rem 1.15rem}
.accessibility-panel{max-width:760px}.accessibility-panel form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.accessibility-panel label{display:grid;gap:6px;font-weight:750}.accessibility-panel .accessibility-check{display:flex;align-items:center;gap:10px}.accessibility-panel .accessibility-check input{width:1.25rem;height:1.25rem}.accessibility-panel p{grid-column:1/-1;margin:0}
@media(max-width:620px){.accessibility-panel form{grid-template-columns:1fr}}
