.app-version{font:11px/1.3 system-ui;color:#a9bdcb;white-space:nowrap;flex-shrink:0}main>.app-version{display:block;text-align:right;margin-top:12px;color:var(--muted,#647887)}
.version-notice{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;background:#fff0c2;color:#382700;padding:10px 18px;font:13px/1.5 system-ui;border-bottom:1px solid #c6a857}.version-notice button{background:#fff8e3;color:#382700;border:1px solid #91773c;padding:6px 12px;width:auto;margin:0;cursor:pointer}.version-notice[hidden]{display:none}
.scope-menu{position:relative;margin-left:auto;flex-shrink:0;font:12px/1.5 system-ui;z-index:30}.scope-menu>summary{display:flex;gap:8px;align-items:center;cursor:pointer;list-style:none;padding:8px 12px;border:1px solid #5b7284;border-radius:4px;color:#eef6fc;background:#263c4c;max-width:340px}.scope-menu>summary::-webkit-details-marker{display:none}.scope-menu>summary:after{content:'\25be';margin-left:5px}.scope-menu>summary>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scope-icon{font-size:19px;color:#a8dfbf}.scope-tree{position:absolute;right:0;top:calc(100% + 6px);min-width:280px;max-width:min(420px,90vw);max-height:65vh;overflow:auto;background:#fff;color:#273c4a;border:1px solid #bdccd6;border-radius:6px;box-shadow:0 8px 26px #0005;padding:8px}.scope-tree a{display:block!important;padding:8px 12px!important;color:#266f99!important;white-space:normal;align-self:auto!important}.scope-tree a:hover,.scope-tree a[aria-current=page]{background:#e5eff5;text-decoration:none}.scope-org{border-top:1px solid #d6e0e7;margin-top:5px;padding-top:4px}.scope-org>summary{font-weight:650;padding:9px 10px;cursor:pointer}.scope-org>a{margin-left:16px}.scope-tree>p{padding:8px 12px}.main-nav:has(.scope-menu){gap:10px}.main-nav:has(.scope-menu) .nav-description{display:none}.main-nav:has(.scope-menu) .nav-button{margin-left:0}
:root:not([data-theme=light]) .scope-tree{background:#1a2935;color:#dbe7f0;border-color:#476172}:root:not([data-theme=light]) .scope-tree a{color:#8acdf5!important}:root:not([data-theme=light]) .scope-tree a:hover,:root:not([data-theme=light]) .scope-tree a[aria-current=page]{background:#29465b}:root:not([data-theme=light]) .scope-org{border-color:#3b5365}:root:not([data-theme=light]) .version-notice{background:#493f23;color:#f7e2a2;border-color:#85723e}:root:not([data-theme=light]) .version-notice button{background:#62552f;color:#fff0c3;border-color:#aa9457}
@media(max-width:850px){.scope-menu>summary{max-width:200px}.main-nav:has(.scope-menu){flex-wrap:wrap;height:auto;min-height:40px;padding-block:4px}.scope-menu{margin-left:auto}.scope-tree{position:absolute;min-width:260px}.app-version{font-size:10px}}@media(max-width:500px){.scope-menu>summary{max-width:180px}.scope-tree{max-width:85vw}header:has(.scope-menu){flex-wrap:wrap;height:auto;padding-block:8px}}

.device-search{position:relative;flex:1 1 180px;min-width:140px;max-width:300px;z-index:40}.device-search input{width:100%;height:31px;padding:6px 10px;font:12px system-ui;background:#f6f9fc;color:#233a4a;border:1px solid #849aab;border-radius:5px}.device-search-results{position:absolute;top:calc(100% + 5px);left:0;width:max(100%,360px);max-width:90vw;max-height:440px;overflow:auto;background:#fff;color:#263b4b;border:1px solid #bccdda;border-radius:6px;box-shadow:0 9px 28px #0005;padding:5px}.device-search-results[hidden]{display:none}.device-search-result{display:flex;gap:10px;align-items:center;padding:10px;border-radius:4px;color:inherit!important;text-decoration:none!important}.device-search-result:hover,.device-search-result[aria-selected=true]{background:#e1eef8}.device-search-text{display:block;min-width:0}.device-search-text strong{display:block;font:600 12px/1.5 system-ui}.device-search-text small{display:block;font:11px/1.5 system-ui;color:#63798a;overflow-wrap:anywhere}.device-search-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;background:#8394a0}.device-search-dot.is-online{background:#32bd73}.device-search-dot.is-offline{background:#ef5268}.device-search-empty{padding:10px;margin:0;font:12px system-ui;color:#63798a}
:root:not([data-theme=light]) .device-search input{background:#101e29;color:#e0edf6;border-color:#516b7e}:root:not([data-theme=light]) .device-search-results{background:#1b2a36;color:#dce9f3;border-color:#4a6477}:root:not([data-theme=light]) .device-search-result:hover,:root:not([data-theme=light]) .device-search-result[aria-selected=true]{background:#2c4d65}:root:not([data-theme=light]) .device-search-text small,:root:not([data-theme=light]) .device-search-empty{color:#abc1d1}
@media(max-width:1050px){header:has(.device-search),.compact-header header:has(.device-search){height:auto;flex-wrap:wrap;padding-block:6px}.device-search{order:5;max-width:none;flex-basis:100%}.device-search-results{width:100%;max-width:100%}}

.chip.recovering{background:#fff0c7;color:#886512}.device-search-dot.is-recovering{background:#e0af3e}.receiver-recovery{margin:12px 0;padding:10px 14px;border:1px solid #c4a25a;border-radius:5px;background:#fff3d0;color:#725311;font:12px/1.5 system-ui}:root:not([data-theme=light]) .chip.recovering,:root:not([data-theme=light]) .receiver-recovery{background:#453b23;color:#f5d98e;border-color:#84713e}

/* Workspace header: device context left, search centered, account controls right. */
header,.compact-header header{justify-content:flex-start}.receiver-head,.compact-header .receiver-head{margin-left:auto;flex:0 0 auto;gap:12px;white-space:nowrap}.receiver-head #auth-user{max-width:260px;overflow:hidden;text-overflow:ellipsis}.receiver-head .theme-toggle{order:3}.receiver-head #sign-out{order:2}.receiver-head #auth-user{order:1}.compact-header .compact-device{flex:0 1 180px}.device-search{margin-left:auto;max-width:380px}
.main-nav,.compact-header .main-nav,.main-nav:has(.scope-menu){height:auto;min-height:44px;align-items:center;gap:10px;padding-top:4px;padding-bottom:4px}.main-nav a,.compact-header .main-nav a{align-self:stretch;padding:8px 12px;align-items:center}.main-nav .scope-menu{align-self:center;margin-left:auto;max-width:min(380px,50vw)}.scope-menu>summary{min-height:32px;max-width:100%;padding:5px 10px;box-sizing:border-box}.scope-tree{top:calc(100% + 7px)}
.footer-tools{display:inline-flex;align-items:center;gap:14px;white-space:nowrap;margin-left:auto}.server-details-link{border:0;background:none!important;color:var(--accent,#2376a1)!important;padding:0;font-size:11px}.server-details-link:hover{text-decoration:underline}
#receiver-settings{width:min(580px,94vw);max-height:85vh;overflow:auto;border:1px solid var(--line,#cad4df);border-radius:9px;padding:22px;color:inherit;background:#fff}#receiver-settings:not([open]){display:none}#receiver-settings[open]{display:block}#receiver-settings::backdrop{background:#07121db3}.server-details-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.server-details-list{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;font-size:12px;margin:22px 0}.server-details-list dt{color:var(--muted,#6b7c8b)}.server-details-list dd{margin:0;overflow-wrap:anywhere}.server-offline-setting{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px;border-top:1px solid var(--line);padding-top:16px}.server-layout-setting{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:16px;font-size:12px}:root:not([data-theme=light]) #receiver-settings{background:#1a2935;color:#dbe7f0}.receiver-recovery.is-error{background:#4b2830;color:#ffd0d7;border-color:#96616c}
@media(max-width:1050px){header:has(.device-search),.compact-header header:has(.device-search){gap:10px}.device-search{margin-left:0}.receiver-head,.compact-header .receiver-head{margin-left:auto}.receiver-head #auth-user{max-width:200px}}
@media(max-width:600px){.compact-header .compact-device{display:none}.receiver-head #auth-user{max-width:160px;font-size:10px}.main-nav .scope-menu{max-width:100%;margin-left:auto}.main-nav,.compact-header .main-nav{flex-wrap:wrap}.scope-menu>summary{max-width:260px}footer{flex-wrap:wrap}.footer-tools{margin-left:0}.server-details-list{grid-template-columns:110px minmax(0,1fr)}}

.scope-server-details{display:block;width:100%;text-align:left;border:0;border-top:1px solid var(--line,#d6e0e7);background:none;margin-top:8px;padding:10px 12px;font-size:12px}
