:root { color-scheme: dark; --side-bar-width: 232px !important; --header-height: 72px !important; }
html,body { margin:0; background:#101217; color:#eaedf5; font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
* { box-sizing:border-box; }
#dashy>header,.switch-view-buttons { display:none!important; }
#dashy { padding-top:72px; }
.pw-toolbar { position:fixed; inset:0 0 auto; height:72px; z-index:100; display:flex; align-items:center; gap:18px; padding:0 24px; background:#15181f; border-bottom:1px solid #2b303b; }
.pw-brand { border:0; background:transparent; color:#f6f7fc; font:600 17px inherit; font-size:17px; font-weight:650; cursor:pointer; white-space:nowrap; }
.pw-brand span { color:#a99cff; margin-right:10px; }
.pw-search-wrap { position:relative; margin-left:auto; width:min(330px,30vw); }
.pw-search { width:100%; background:#20242d; color:#e9edf8; border:1px solid #333947; border-radius:9px; padding:11px 14px; font-size:13px; outline:none; }
.pw-search:focus { border-color:#a99cff; }
.pw-search::placeholder { color:#8e97aa; }
.pw-results { position:absolute; top:48px; left:0; right:0; background:#20242d; padding:6px; border:1px solid #3b4252; border-radius:10px; box-shadow:0 18px 45px #0008; }
.pw-results:empty { display:none; }
.pw-results button { width:100%; text-align:left; padding:12px; background:none; border:0; color:#ecedf5; border-radius:6px; cursor:pointer; }
.pw-results button:hover,.pw-results button:focus { background:#33334c; }
.pw-current { color:#a8b0c1; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:180px; }
.pw-open { color:#cbc2ff; text-decoration:none; font-size:13px; border:1px solid #414052; border-radius:8px; padding:10px 13px; white-space:nowrap; }
.pw-open[hidden] { display:none; }
.pw-menu { display:none; background:#252a35; color:white; border:1px solid #3c4455; border-radius:7px; padding:8px 11px; cursor:pointer; }
nav.side-bar { top:72px!important; height:calc(100dvh - 72px)!important; width:232px!important; padding:22px 12px; background:#15181f!important; border-right:1px solid #2b303b; z-index:80; }
.side-bar-item-container .side-bar-item { padding:14px 12px!important; }
.side-bar-item p.small-title { transform:none!important; font-family:inherit!important; font-size:13px!important; padding:0!important; margin:0!important; text-align:left!important; line-height:1.65; }
.side-bar-item-container p.small-title { color:#9aa3b6; font-size:12px!important; font-weight:600; letter-spacing:.05em; }
.side-bar-item.text-only { padding:12px!important; border-radius:8px!important; cursor:pointer; }
.side-bar-item.text-only:hover { background:#242937!important; }
.sub-side-bar { margin:0 0 12px!important; background:transparent!important; }
.sub-side-bar .side-bar-item p { color:#dbe1ed; }
.sub-side-bar .side-bar-item.pw-active { background:#302a46!important; box-shadow:inset 3px 0 #b6a2ff!important; }
.sub-side-bar .side-bar-item.pw-active p { color:#d8ceff!important; }
.web-content iframe { position:fixed!important; top:72px!important; left:232px!important; width:calc(100% - 232px)!important; height:calc(100dvh - 72px)!important; background:#101217!important; border:0!important; }
.pw-shade { display:none; }
.side-bar .slide-leave-active { display:none!important; }
.side-bar .slide-enter-active,.side-bar .slide-enter-from,.side-bar .slide-enter-to { transition:none!important; transform:none!important; }
.side-bar .side-bar-item.text-only p.small-title { transform:none!important; font-size:13px!important; }
:focus-visible { outline:2px solid #b6a2ff!important; outline-offset:3px; }
@media(max-width:800px) {
  .pw-toolbar { padding:0 12px; gap:10px; height:64px; }
  #dashy { padding-top:64px; }
  .pw-menu { display:block; }
  .pw-brand { font-size:15px; }
  .pw-brand span,.pw-current { display:none; }
  .pw-search-wrap { flex:1; width:auto; min-width:60px; }
  .pw-search { padding:10px; }
  .pw-open { padding:9px; font-size:12px; }
  nav.side-bar { top:64px!important; height:calc(100dvh - 64px)!important; transform:translateX(-100%); transition:transform .16s; }
  body.pw-menu-open nav.side-bar { transform:none; }
  .web-content iframe { top:64px!important; left:0!important; width:100%!important; height:calc(100dvh - 64px)!important; }
  body.pw-menu-open .pw-shade { display:block; position:fixed; inset:64px 0 0; background:#0008; z-index:70; border:0; }
}
