:root{--nut-bg:rgba(255,255,255,.96);--nut-text:#173643;--nut-border:rgba(31,139,145,.28);--nut-active:#0f8e91;--nut-active-text:#fff;--nut-shadow:0 12px 34px rgba(10,45,57,.18)}
html[data-theme="dark"]{--nut-bg:rgba(8,28,38,.97);--nut-text:#eefcff;--nut-border:rgba(99,224,226,.3);--nut-active:#35c3c5;--nut-active-text:#062129;--nut-shadow:0 16px 38px rgba(0,0,0,.42)}
.nefesh-universal-toolbar{position:fixed;right:16px;top:12px;z-index:2147483000;display:flex;align-items:center;gap:8px;padding:9px;border:1px solid var(--nut-border);border-radius:16px;background:var(--nut-bg);color:var(--nut-text);box-shadow:var(--nut-shadow);backdrop-filter:blur(14px);font:600 14px/1.1 system-ui,-apple-system,"Segoe UI",sans-serif}
.nefesh-universal-toolbar a,.nefesh-universal-toolbar button{min-height:38px;border:1px solid var(--nut-border);border-radius:10px;background:transparent;color:var(--nut-text);padding:8px 11px;text-decoration:none;cursor:pointer;font:inherit;display:inline-flex;align-items:center;justify-content:center}
.nefesh-universal-toolbar a:hover,.nefesh-universal-toolbar button:hover,.nefesh-universal-toolbar a:focus-visible,.nefesh-universal-toolbar button:focus-visible{outline:2px solid var(--nut-active);outline-offset:2px}
.nefesh-universal-toolbar button.active{background:var(--nut-active);border-color:var(--nut-active);color:var(--nut-active-text)}
.nut-group{display:flex;gap:4px}.nut-separator{width:1px;height:28px;background:var(--nut-border)}.nut-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
html[data-theme="dark"],html[data-theme="dark"] body{background:#071923!important;color:#ecfbff!important}
html[data-theme="dark"] body :where(main,section,article,aside,header,footer,nav,div,form){border-color:rgba(133,220,224,.2)}
html[data-theme="dark"] body :where(.card,.panel,.portal-panel,.self-card,.institution-card,.center-card,.auth-card,.recovery-card,.game-card,.library-card,.metric-card){background-color:#0d2633!important;color:#ecfbff!important}
html[data-theme="dark"] body :where(h1,h2,h3,h4,h5,h6,p,span,label,small,strong,b,li,td,th,a){color:inherit}
html[data-theme="dark"] body :where(input,select,textarea){background:#0a202b!important;color:#f3fdff!important;border-color:rgba(133,220,224,.34)!important}
html[data-theme="dark"] body :where(input,textarea)::placeholder{color:#a9c6cf!important;opacity:1}
html[data-theme="dark"] body :where(button){color:inherit}
html[data-text-size="small"]{font-size:85%!important}html[data-text-size="normal"]{font-size:100%!important}html[data-text-size="large"]{font-size:130%!important}
@media(max-width:760px){.nefesh-universal-toolbar{left:8px;right:8px;top:8px;justify-content:center;flex-wrap:wrap}.nefesh-universal-toolbar a,.nefesh-universal-toolbar button{min-height:42px}.nut-separator{display:none}}
@media(prefers-reduced-motion:reduce){.nefesh-universal-toolbar *{scroll-behavior:auto!important;transition:none!important}}
