/* Shared fixed control, also usable by the standalone scoring interface. */
html[data-score-theme]{--score-tool-size:44px;--score-tool-gap:12px;--score-tool-edge:16px}
html[data-score-theme] .score-theme-toggle{position:fixed!important;top:calc(16px + env(safe-area-inset-top))!important;right:calc(16px + env(safe-area-inset-right))!important;left:auto!important;bottom:auto!important;z-index:1040;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;display:flex;align-items:center;justify-content:center;margin:0!important;background:var(--score-ui-surface-raised)!important;color:var(--score-ui-text)!important;border:1px solid var(--score-ui-input-border)!important;border-radius:10px!important;font:22px/1 Arial,sans-serif;cursor:pointer;box-shadow:none!important}
html[data-score-theme] .score-theme-toggle:hover{background:var(--score-ui-selected-bg)!important}
html[data-score-theme] .score-theme-toggle:focus-visible{outline:3px solid var(--score-ui-focus);outline-offset:3px}
@media print{html[data-score-theme] .score-theme-toggle{display:none!important}}
