.central-ui-controls { display:inline-flex; align-items:center; gap:.55rem; flex-wrap:wrap; color:var(--fdx-ink,#172c30); }
.central-ui-controls .central-ui-language { position:relative; display:inline-flex; align-items:center; margin:0; gap:0; color:inherit; }
.central-ui-controls .central-ui-language > svg { position:absolute; inset-inline-start:.6rem; width:1.05rem; height:1.05rem; pointer-events:none; }
.central-ui-controls .central-ui-language > svg.central-ui-chevron { inset-inline-start:auto; inset-inline-end:.55rem; width:.85rem; height:.85rem; }
.central-ui-controls select { appearance:none; width:auto; max-width:13rem; min-height:2.25rem; margin:0; padding:.4rem 2rem; border:1px solid #d6dfde; border-radius:.35rem; background:#fff; color:#172c30; font:inherit; font-size:.85rem; cursor:pointer; }
.central-ui-controls .central-ui-themes { display:inline-flex; align-items:center; gap:.15rem; padding:.15rem; border:1px solid #d6dfde; border-radius:.4rem; background:#fff; }
.central-ui-controls button { display:inline-flex; align-items:center; justify-content:center; width:2rem; min-width:2rem; min-height:2rem; margin:0; padding:.35rem; border:1px solid transparent; border-radius:.3rem; background:transparent; color:#4d6467; cursor:pointer; }
.central-ui-controls button > svg { width:1.1rem; height:1.1rem; flex:none; pointer-events:none; }
.central-ui-controls button:hover { background:#ecf3f1; color:#172c30; }
.central-ui-controls button[aria-pressed=true] { background:#e0f4e9; color:#087c68; }
.central-ui-controls :is(button,select):focus-visible { outline:2px solid #087c68; outline-offset:3px; }
.central-ui-visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.dark .central-ui-controls { color:#ecf5f3; }
.dark .central-ui-controls :is(select,.central-ui-themes) { background:#1d2c30; color:#ecf5f3; border-color:#35474a; }
.dark .central-ui-controls button { color:#b5c8c7; }
.dark .central-ui-controls button:hover { background:#26383a; color:#ecf5f3; }
.dark .central-ui-controls button[aria-pressed=true] { background:#28473f; color:#64ccae; }
.dark .central-ui-controls :is(button,select):focus-visible { outline-color:#64ccae; }
/* These two existing standalone layouts keep their dimensions and dark palette. */
body.central-ui-page { background:#0c1424; color:#e5edf9; }
.central-ui-page > .central-ui-controls { display:flex; justify-content:flex-end; max-width:1180px; margin:0 auto; padding:14px 22px 0; }
html:not(.dark) body.central-ui-page { background:#f3f6f5; color:#172c30; }
html:not(.dark) .central-ui-page a { color:#087c68; }
html:not(.dark) .central-ui-page :is(.notice,.decisions form) { background:#fff; border-color:#d6dfde; }
html:not(.dark) .central-ui-page :is(.muted,dt) { color:#4d6467; }
html:not(.dark) .central-ui-page :is(input,select,textarea) { background:#fff; color:#172c30; border-color:#d6dfde; }
html:not(.dark) .central-ui-page button:not([data-central-ui-theme]) { background:#096858; color:#fff; border-color:#096858; }
html:not(.dark) .central-ui-page :is(th,td,.history li) { border-color:#d6dfde; }
html:not(.dark) .central-ui-page :is(.state,.overdue) { color:#805214; }
.central-ui-page :is(th,td) { text-align:start; }
[dir=rtl] .licensing .registry-scroll table { text-align:start; }
[dir=rtl] .licensing .registry-scroll td:last-child { text-align:end; }
[dir=rtl] .licensing article > section { border-left:0; border-inline-start:3px solid var(--fdx-line); padding-left:0; padding-inline-start:.85rem; }
[dir=rtl] .fi-body:has(.licensing) .fi-sidebar-item-btn[aria-current] { box-shadow:inset -3px 0 #57d6ab; }
@media (max-width:640px) { .central-ui-controls { gap:.35rem; } .central-ui-controls select { max-width:10rem; } .central-ui-page > .central-ui-controls { padding:12px 14px 0; } }
