/* SPDX-License-Identifier: GPL-2.0-or-later. Site theme; upstream editor behaviour is unchanged. */
html,body { color-scheme:light; background:#e2eaf4; color:#142f4b; }
body,table td,select,button,input { font-family:'Segoe UI',system-ui,sans-serif; }
.gwt-MenuBar-horizontal { background:#edf5ff; border:0; border-bottom:1px solid #cbdcef; }
td.gwt-MenuItem { color:#3d5770; font-weight:500; padding:5px 11px; font-size:12px!important; }
td.gwt-MenuItem.open,.hasSubmenu.open,.menuItem:hover,.hasSubmenu:hover { background:#dbeaff; color:#184483; }
@media(hover:hover) { td.gwt-MenuItem:hover { background:#dbeaff; color:#184483; } }
.menuDropdown,.elmContextMenu,.scrollValuePopup { color:#142f4b; background:#fff; border:1px solid #b6cde7; border-radius:6px; box-shadow:0 8px 24px #163b6426; padding:5px 0; }
.menuItem { padding:6px 10px; font-size:12px; }
.menuSeparator { background:#d9e5f3; }
.shortcutHint,.menuSubhead { color:#537597; }
.verticalPanel { color:#435b76; background:#f1f7ff; border-left:1px solid #cbdcef; }
.topButton,.topButton-red,.chbut { color:#142f4b; background:#fff; border:1px solid #7895b4; border-radius:6px; padding:6px 9px; box-shadow:none; }
.topButton-red { color:#fff; background:#2057a6; border-color:#2057a6; }
.topButton:hover,.chbut:hover { background:#dbeaff; }
.topButton-red:hover { background:#184483; }
.command-palette,.circuitDialog { color:#142f4b; background:#f8fbff; border:1px solid #b6cde7; border-radius:9px; box-shadow:0 8px 24px #163b6426; }
.command-palette-input { color:#142f4b; background:#fff; border-bottom-color:#cbdcef; }
.command-palette-item-selected { background:#2057a6; }
.toast { background:#142e4a; border-radius:7px; }

/* Keep adjustable component sliders mounted; only the duplicate host controls are hidden. */
#painel>div:has(>button.topButton),#painel>#LoadFileElement { display:none; }
.verticalPanel { box-sizing:border-box; padding:14px 12px 18px; }
.verticalPanel::before { content:'LIVE CONTROLS'; display:block; padding:0 0 6px; color:#2057a6; font:600 9px/1.5 ui-monospace,monospace; letter-spacing:.07em; }
.verticalPanel .topSpace { padding:0; color:#435b76; font-size:11px; margin-top:14px; }
.verticalPanel canvas { filter:grayscale(1); }
.verticalPanel>iframe { display:none; }
#painel>.topSpace:has(+div+iframe),#painel>.topSpace:has(+div+iframe)+div { display:none; }

.verticalPanel .topSpace.disabled { color:#708296; }
.power-help { margin:7px 0 0; color:#537597; font:10px/1.6 'Segoe UI',system-ui,sans-serif; overflow-wrap:break-word; }
