/* Header/nav concepts (preview). Loaded last; every rule is scoped to html[data-navc]. */
html[data-navc]{--nc-glass:rgba(255,255,255,.74);--nc-line:rgba(60,60,67,.16);--nc-hover:rgba(120,120,128,.14);--nc-act:rgba(0,122,255,.13);--nc-actc:#0A66E0;--nc-text:rgba(0,0,0,.86);--nc-sub:rgba(60,60,67,.62);--nc-shadow:0 10px 30px rgba(20,20,40,.12),0 1px 0 rgba(255,255,255,.6) inset}
html[data-navc][data-theme="dark"]{--nc-glass:rgba(26,26,30,.72);--nc-line:rgba(255,255,255,.13);--nc-hover:rgba(255,255,255,.09);--nc-act:rgba(10,132,255,.24);--nc-actc:#5AAEFF;--nc-text:#fff;--nc-sub:rgba(235,235,245,.6);--nc-shadow:0 14px 36px rgba(0,0,0,.5),0 1px 0 rgba(255,255,255,.07) inset}
/* shared header reset: glass lives on ::before so fixed children are not trapped by backdrop-filter */
html[data-theme][data-navc] main.shell>nav.wb-header{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;width:auto!important;margin:0!important;padding:0!important;z-index:9999!important}
html[data-theme][data-navc] main.shell>nav.wb-header::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--nc-glass);border:1px solid var(--nc-line);box-shadow:var(--nc-shadow);-webkit-backdrop-filter:blur(26px) saturate(1.7);backdrop-filter:blur(26px) saturate(1.7);border-radius:inherit;pointer-events:none}
html[data-theme][data-navc] .wb-header .wb-header-controls{display:flex!important}
html[data-theme][data-navc] .wb-header nav.page-switch{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;-webkit-mask-image:none!important;mask-image:none!important}
html[data-theme][data-navc] .wb-header nav.page-switch a{font-size:0!important;color:var(--nc-text)!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:999px!important;text-decoration:none!important;position:relative;opacity:1!important}
html[data-theme][data-navc] .wb-header nav.page-switch a::before{opacity:.78!important;flex:none}
html[data-theme][data-navc] .wb-header nav.page-switch a::after{content:attr(data-l);font:600 13px/1 var(--mac-font,system-ui,sans-serif);letter-spacing:-.005em;white-space:nowrap}
html[data-theme][data-navc] .wb-header nav.page-switch a:hover{background:var(--nc-hover)!important}
html[data-theme][data-navc] .wb-header nav.page-switch a.active{background:var(--nc-act)!important;color:var(--nc-actc)!important}
html[data-theme][data-navc] .wb-header nav.page-switch a.active::before{opacity:1!important}
html[data-theme][data-navc] .wb-header .theme-toggle,html[data-theme][data-navc] .wb-header .wb-profile-btn,html[data-theme][data-navc] .wb-header .wb-logout button{background:transparent!important;color:var(--nc-text)!important;border:0!important;box-shadow:none!important;border-radius:12px!important}
html[data-theme][data-navc] .wb-header .theme-toggle:hover,html[data-theme][data-navc] .wb-header .wb-profile-btn:hover,html[data-theme][data-navc] .wb-header .wb-logout button:hover{background:var(--nc-hover)!important}
html[data-theme][data-navc] .wb-brand{color:var(--nc-text)!important}
html[data-theme][data-navc] .wb-profile-menu{background:var(--nc-glass)!important;border:1px solid var(--nc-line)!important;-webkit-backdrop-filter:blur(26px) saturate(1.7);backdrop-filter:blur(26px) saturate(1.7);border-radius:14px!important;box-shadow:var(--nc-shadow)!important;z-index:10001}
html[data-theme][data-navc] .wb-profile-menu a{color:var(--nc-text)!important}
html[data-navc] .navc-collapse,html[data-navc] .navc-burger,html[data-navc] .navc-k{display:none}
html[data-theme][data-navc] #wbViewSwap{z-index:9990!important}

/* ============ 1. SIDEBAR ============ */
html[data-navc="side"]{--navc-w:252px}
html[data-navc="side"].navc-collapsed{--navc-w:84px}
@media (min-width:900px){
 html[data-theme][data-navc="side"] main.shell{width:min(1180px,calc(100vw - var(--navc-w) - 40px))!important;margin-left:calc(var(--navc-w) + 20px)!important;margin-right:20px!important;transition:margin .2s,width .2s}
 html[data-theme][data-navc="side"] main.shell>nav.wb-header{position:fixed!important;top:12px!important;left:12px!important;bottom:12px!important;right:auto!important;width:calc(var(--navc-w) - 12px)!important;height:auto!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:8px!important;padding:16px 10px 10px!important;border-radius:24px!important;transition:width .2s}
 html[data-theme][data-navc="side"] main.shell>nav.wb-header>a.wb-brand{display:block!important;padding:4px 44px 10px 10px!important;margin:0!important;font:700 13px/1.3 var(--mac-font,system-ui)!important;letter-spacing:.01em!important;overflow:hidden!important;white-space:normal!important}
 html[data-theme][data-navc="side"] .wb-header .wb-header-controls{flex:1!important;min-height:0;display:grid!important;grid-template-columns:auto auto auto 1fr;grid-template-rows:minmax(0,1fr) auto;gap:6px!important;align-items:end}
 html[data-theme][data-navc="side"] .wb-header nav.page-switch{grid-area:auto!important;grid-column:1/-1!important;grid-row:1!important;display:flex!important;flex-direction:column!important;gap:2px!important;overflow-y:auto!important;overflow-x:hidden!important;align-self:start;width:100%!important;max-height:100%}
 html[data-theme][data-navc="side"] .wb-header nav.page-switch a{flex:none!important;width:100%!important;min-width:0!important;min-height:44px!important;flex-direction:row!important;justify-content:flex-start!important;gap:12px!important;padding:0 14px!important}
 html[data-theme][data-navc="side"] .wb-header nav.page-switch a::before{width:20px!important;height:20px!important}
 html[data-theme][data-navc="side"] .wb-header .theme-toggle,html[data-theme][data-navc="side"] .wb-header .wb-profile,html[data-theme][data-navc="side"] .wb-header .wb-logout{grid-area:auto!important;grid-row:2!important}
 html[data-theme][data-navc="side"] .wb-header .theme-toggle,html[data-theme][data-navc="side"] .wb-header .wb-profile-btn,html[data-theme][data-navc="side"] .wb-header .wb-logout button{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
 html[data-theme][data-navc="side"] .wb-profile-menu{left:0!important;right:auto!important;bottom:calc(100% + 8px)!important;top:auto!important;min-width:180px}
 html[data-navc="side"] .navc-collapse{display:grid;place-items:center;position:absolute;top:12px;right:10px;width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:var(--nc-sub);cursor:pointer}
 html[data-navc="side"] .navc-collapse:hover{background:var(--nc-hover);color:var(--nc-text)}
 html[data-theme][data-navc="side"].navc-collapsed main.shell>nav.wb-header>a.wb-brand{font-size:0!important;padding:8px 0 14px!important;text-align:center}
 html[data-theme][data-navc="side"].navc-collapsed main.shell>nav.wb-header>a.wb-brand::before{content:"L";font:800 20px/1 var(--mac-font,system-ui);color:var(--nc-text)}
 html[data-theme][data-navc="side"].navc-collapsed main.shell>nav.wb-header>a.wb-brand *{display:none!important}
 html[data-theme][data-navc="side"].navc-collapsed .navc-collapse{top:auto;bottom:12px;right:auto;left:50%;transform:translateX(-50%);display:none}
 html[data-theme][data-navc="side"].navc-collapsed main.shell>nav.wb-header{padding-top:54px!important}
 html[data-theme][data-navc="side"].navc-collapsed .navc-collapse{display:grid;top:10px;left:50%;transform:translateX(-50%);bottom:auto}
 html[data-theme][data-navc="side"].navc-collapsed main.shell>nav.wb-header>a.wb-brand{display:none!important}
 html[data-theme][data-navc="side"].navc-collapsed .wb-header nav.page-switch a{justify-content:center!important;padding:0!important}
 html[data-theme][data-navc="side"].navc-collapsed .wb-header nav.page-switch a::after{display:none}
 html[data-theme][data-navc="side"].navc-collapsed .wb-header .wb-header-controls{grid-template-columns:1fr;justify-items:center}
 html[data-theme][data-navc="side"].navc-collapsed .wb-header .theme-toggle,html[data-theme][data-navc="side"].navc-collapsed .wb-header .wb-profile,html[data-theme][data-navc="side"].navc-collapsed .wb-header .wb-logout{grid-column:1!important;grid-row:auto!important}
 html[data-theme][data-navc="side"].navc-collapsed .wb-header nav.page-switch{grid-row:1!important}
 html[data-theme][data-navc="side"].navc-collapsed .wb-header .wb-header-controls{grid-template-rows:minmax(0,1fr) auto auto auto}
 html[data-theme][data-navc="side"] #wbViewSwap{top:0!important;bottom:0!important;left:0!important;right:0!important}
 html[data-theme][data-navc="side"] #wbViewSwap iframe{position:absolute!important;top:12px;left:calc(var(--navc-w) + 12px);width:calc(100% - var(--navc-w) - 24px)!important;height:calc(100% - 24px)!important;border-radius:22px;border:1px solid var(--nc-line)!important;transition:left .2s}
 html[data-theme][data-navc="side"] #wbss-bar,html[data-theme][data-navc="side"] #wb-freshness{left:calc(50% + var(--navc-w)/2)!important}
}
@media (max-width:899px){
 html[data-theme][data-navc="side"] main.shell{padding-top:66px!important;width:calc(100vw - 24px)!important;margin-left:12px!important;margin-right:12px!important}
 html[data-theme][data-navc="side"] main.shell>nav.wb-header{position:fixed!important;top:8px!important;left:8px!important;right:8px!important;height:52px!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between;padding:0 6px 0 16px!important;border-radius:18px!important}
 html[data-theme][data-navc="side"] main.shell>nav.wb-header>a.wb-brand{grid-area:auto!important;flex:1;min-width:0;font:700 13px/1 var(--mac-font,system-ui)!important}
 html[data-navc="side"] .navc-burger{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:12px;background:transparent;color:var(--nc-text);cursor:pointer;order:5}
 html[data-theme][data-navc="side"] .wb-header .wb-header-controls{position:fixed!important;top:68px;left:8px;width:min(310px,calc(100vw - 16px));max-height:calc(100dvh - 84px);flex-direction:column!important;align-items:stretch;gap:4px!important;padding:12px!important;border-radius:22px;transform:translateX(calc(-100% - 16px));transition:transform .22s cubic-bezier(.22,1,.36,1);overflow-y:auto;z-index:2}
 html[data-theme][data-navc="side"] .wb-header .wb-header-controls::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--nc-glass);border:1px solid var(--nc-line);box-shadow:var(--nc-shadow);-webkit-backdrop-filter:blur(26px) saturate(1.7);backdrop-filter:blur(26px) saturate(1.7)}
 html[data-theme][data-navc="side"].navc-open .wb-header .wb-header-controls{transform:none}
 html[data-theme][data-navc="side"] .wb-header nav.page-switch{grid-area:auto!important;display:flex!important;flex-direction:column!important;overflow:visible!important;gap:2px!important;width:100%!important}
 html[data-theme][data-navc="side"] .wb-header nav.page-switch a{flex:none!important;width:100%!important;min-height:48px!important;flex-direction:row!important;justify-content:flex-start!important;gap:14px!important;padding:0 14px!important}
 html[data-theme][data-navc="side"] .wb-header nav.page-switch a::before{width:20px!important;height:20px!important}
 html[data-theme][data-navc="side"] .wb-header .wb-header-controls>.theme-toggle,html[data-theme][data-navc="side"] .wb-header .wb-header-controls>.wb-profile,html[data-theme][data-navc="side"] .wb-header .wb-header-controls>.wb-logout{display:flex!important;align-self:flex-start}
 html[data-theme][data-navc="side"] .wb-header .wb-header-controls{flex-wrap:nowrap!important}
 html[data-theme][data-navc="side"] #wbViewSwap{top:0!important;left:0!important;right:0!important;bottom:0!important}
 html[data-theme][data-navc="side"] #wbViewSwap iframe{position:absolute!important;top:68px;left:0;width:100%!important;height:calc(100% - 68px)!important}
}

/* ============ 2. SINGLE TOP BAR ============ */
html[data-theme][data-navc="bar"] main.shell{padding-top:0!important}
html[data-theme][data-navc="bar"] main.shell>nav.wb-header{position:sticky!important;top:8px!important;height:54px!important;width:100%!important;margin:8px 0 0!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;padding:0 8px 0 18px!important;border-radius:18px!important}
html[data-theme][data-navc="bar"] main.shell>nav.wb-header>a.wb-brand{grid-area:auto!important;flex:none!important;font:700 13.5px/1 var(--mac-font,system-ui)!important;letter-spacing:.01em!important;padding:0!important;margin:0 6px 0 0!important;white-space:nowrap!important}
html[data-theme][data-navc="bar"] .wb-header .wb-header-controls{flex:1!important;min-width:0;flex-wrap:nowrap!important;align-items:center!important;gap:4px!important;justify-content:flex-end}
html[data-theme][data-navc="bar"] .wb-header nav.page-switch{grid-area:auto!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:2px!important;overflow-x:auto!important;overflow-y:hidden!important;justify-self:auto!important;scrollbar-width:none}
html[data-theme][data-navc="bar"] .wb-header nav.page-switch::-webkit-scrollbar{display:none}
html[data-theme][data-navc="bar"] .wb-header nav.page-switch a{flex:0 0 auto!important;min-width:0!important;min-height:34px!important;height:34px!important;padding:0 10px!important;display:flex!important;flex-direction:row!important;align-items:center!important}
html[data-theme][data-navc="bar"] .wb-header nav.page-switch a::before{display:none!important}
html[data-theme][data-navc="bar"] .wb-header nav.page-switch a::after{font-size:13px;font-weight:600}
html[data-theme][data-navc="bar"] .wb-header nav.page-switch a:not(.active)::after{color:var(--nc-sub)}
html[data-theme][data-navc="bar"] .wb-header nav.page-switch a:not(.active):hover::after{color:var(--nc-text)}
html[data-theme][data-navc="bar"] .wb-header .theme-toggle,html[data-theme][data-navc="bar"] .wb-header .wb-profile,html[data-theme][data-navc="bar"] .wb-header .wb-logout{grid-area:auto!important}
html[data-theme][data-navc="bar"] .wb-header .theme-toggle,html[data-theme][data-navc="bar"] .wb-header .wb-profile-btn,html[data-theme][data-navc="bar"] .wb-header .wb-logout button{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
html[data-theme][data-navc="bar"] .wb-header .wb-profile,html[data-theme][data-navc="bar"] .wb-header .wb-logout,html[data-theme][data-navc="bar"] .wb-header .theme-toggle{flex:none}
html[data-theme][data-navc="bar"] .wb-header .wb-header-controls::after{content:none}
html[data-theme][data-navc="bar"] #wbViewSwap{top:0!important;left:0!important;right:0!important;bottom:0!important}
html[data-theme][data-navc="bar"] #wbViewSwap iframe{position:absolute!important;top:70px;left:8px;width:calc(100% - 16px)!important;height:calc(100% - 78px)!important;border-radius:20px;border:1px solid var(--nc-line)!important}
@media (max-width:640px){
 html[data-theme][data-navc="bar"] main.shell>nav.wb-header{top:6px!important;margin-top:6px!important;height:50px!important;gap:6px!important;padding:0 4px 0 12px!important;border-radius:16px!important}
 html[data-theme][data-navc="bar"] main.shell>nav.wb-header>a.wb-brand{font-size:0!important;margin:0!important}
 html[data-theme][data-navc="bar"] main.shell>nav.wb-header>a.wb-brand::before{content:"L";font:800 19px/1 var(--mac-font,system-ui);color:var(--nc-text)}
 html[data-theme][data-navc="bar"] main.shell>nav.wb-header>a.wb-brand *{display:none!important}
 html[data-theme][data-navc="bar"] .wb-header nav.page-switch a{padding:0 10px!important}
 html[data-theme][data-navc="bar"] .wb-header .theme-toggle,html[data-theme][data-navc="bar"] .wb-header .wb-profile-btn,html[data-theme][data-navc="bar"] .wb-header .wb-logout button{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
 html[data-theme][data-navc="bar"] #wbViewSwap iframe{top:62px;left:0;width:100%!important;height:calc(100% - 62px)!important;border-radius:0;border:0!important}
 html[data-theme][data-navc="bar"] .wb-header nav.page-switch{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent)!important;mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent)!important}
}

/* ============ 3. ISLAND + JUMP PALETTE ============ */
html[data-theme][data-navc="island"] main.shell{padding-top:82px!important}
html[data-theme][data-navc="island"] main.shell>nav.wb-header{position:fixed!important;top:12px!important;left:50%!important;transform:translateX(-50%);right:auto!important;width:max-content!important;max-width:calc(100vw - 16px)!important;height:58px!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;padding:0 8px 0 10px!important;border-radius:999px!important}
html[data-theme][data-navc="island"] main.shell>nav.wb-header>a.wb-brand{grid-area:auto!important;flex:none!important;width:40px;height:40px;display:grid!important;place-items:center;margin:0 2px 0 0!important;padding:0!important;font-size:0!important;border-radius:50%;background:var(--nc-act)}
html[data-theme][data-navc="island"] main.shell>nav.wb-header>a.wb-brand::before{content:"L";font:800 18px/1 var(--mac-font,system-ui);color:var(--nc-actc)}
html[data-theme][data-navc="island"] main.shell>nav.wb-header>a.wb-brand *{display:none!important}
html[data-theme][data-navc="island"] .wb-header .wb-header-controls{flex:1 1 auto!important;min-width:0;flex-wrap:nowrap!important;align-items:center!important;gap:4px!important}
html[data-theme][data-navc="island"] .wb-header nav.page-switch{grid-area:auto!important;flex:0 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:2px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;padding:0 4px!important}
html[data-theme][data-navc="island"] .wb-header nav.page-switch::-webkit-scrollbar{display:none}
html[data-theme][data-navc="island"] .wb-header nav.page-switch a{flex:0 0 auto!important;min-width:0!important;width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:0!important;transition:width .22s cubic-bezier(.22,1,.36,1),background .15s}
html[data-theme][data-navc="island"] .wb-header nav.page-switch a::before{width:20px!important;height:20px!important}
html[data-theme][data-navc="island"] .wb-header nav.page-switch a::after{display:none}
html[data-theme][data-navc="island"] .wb-header nav.page-switch a.active{width:auto!important;padding:0 16px 0 13px!important;gap:8px!important}
html[data-theme][data-navc="island"] .wb-header nav.page-switch a.active::after{display:inline}
html[data-theme][data-navc="island"] .wb-header nav.page-switch a[data-l]:hover::after{display:none}
html[data-theme][data-navc="island"] .wb-header .theme-toggle,html[data-theme][data-navc="island"] .wb-header .wb-profile,html[data-theme][data-navc="island"] .wb-header .wb-logout{grid-area:auto!important;flex:none}
html[data-theme][data-navc="island"] .wb-header .theme-toggle,html[data-theme][data-navc="island"] .wb-header .wb-profile-btn,html[data-theme][data-navc="island"] .wb-header .wb-logout button{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:50%!important}
html[data-navc="island"] .navc-k{display:flex;flex:none;align-items:center;gap:8px;height:40px;padding:0 10px 0 12px;margin:0 2px 0 4px;border:1px solid var(--nc-line);border-radius:999px;background:var(--nc-hover);color:var(--nc-sub);font:600 13px/1 var(--mac-font,system-ui);cursor:pointer}
html[data-navc="island"] .navc-k:hover{color:var(--nc-text)}
html[data-navc="island"] .navc-k kbd{font:600 11px/1 var(--mac-font,system-ui);padding:3px 6px;border-radius:6px;background:var(--nc-hover);color:var(--nc-sub);border:0}
html[data-theme][data-navc="island"] .wb-profile-menu{right:0!important;left:auto!important;top:calc(100% + 14px)!important}
html[data-theme][data-navc="island"] #wbViewSwap{top:0!important;left:0!important;right:0!important;bottom:0!important}
html[data-theme][data-navc="island"] #wbViewSwap iframe{position:absolute!important;top:82px;left:8px;width:calc(100% - 16px)!important;height:calc(100% - 90px)!important;border-radius:22px;border:1px solid var(--nc-line)!important}
@media (max-width:640px){
 html[data-theme][data-navc="island"] main.shell{padding-top:76px!important}
 html[data-theme][data-navc="island"] main.shell>nav.wb-header{top:8px!important;height:54px!important;width:calc(100vw - 16px)!important;padding:0 6px 0 7px!important;gap:3px!important}
 html[data-theme][data-navc="island"] .wb-header .wb-header-controls{flex:1 1 0!important}
 html[data-theme][data-navc="island"] .wb-header nav.page-switch{flex:1 1 0!important;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 20px),transparent)!important;mask-image:linear-gradient(90deg,#000 calc(100% - 20px),transparent)!important}
 html[data-theme][data-navc="island"] .wb-header nav.page-switch a{width:40px!important;height:40px!important;min-height:40px!important}
 html[data-navc="island"] .navc-kt,html[data-navc="island"] .navc-k kbd{display:none}
 html[data-navc="island"] .navc-k{width:38px;height:38px;padding:0;justify-content:center;margin:0}
 html[data-theme][data-navc="island"] .wb-header .wb-logout{display:none!important}
 html[data-theme][data-navc="island"] .wb-header .theme-toggle,html[data-theme][data-navc="island"] .wb-header .wb-profile-btn{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
 html[data-theme][data-navc="island"] #wbViewSwap iframe{top:72px;left:0;width:100%!important;height:calc(100% - 72px)!important;border-radius:0;border:0!important}
}
html[data-navc] .navc-pal{position:fixed;inset:0;z-index:10050;background:rgba(0,0,0,.36);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;justify-content:center;align-items:flex-start;padding:max(12vh,72px) 12px 12px}
html[data-navc] .navc-pal-box{width:min(560px,100%);background:var(--nc-glass);border:1px solid var(--nc-line);border-radius:20px;box-shadow:var(--nc-shadow);-webkit-backdrop-filter:blur(30px) saturate(1.8);backdrop-filter:blur(30px) saturate(1.8);overflow:hidden;color:var(--nc-text);font-family:var(--mac-font,system-ui)}
html[data-navc] .navc-pal-in{display:flex;align-items:center;gap:12px;padding:0 16px;height:56px;border-bottom:1px solid var(--nc-line);color:var(--nc-sub)}
html[data-navc] .navc-pal-in input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--nc-text);font:500 16px/1 var(--mac-font,system-ui)}
html[data-navc] .navc-pal-in kbd{font:600 11px/1 var(--mac-font,system-ui);padding:4px 7px;border-radius:6px;background:var(--nc-hover);color:var(--nc-sub)}
html[data-navc] .navc-pal-list{list-style:none;margin:0;padding:8px;max-height:min(52vh,380px);overflow:auto}
html[data-navc] .navc-pal-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 12px;height:44px;border-radius:12px;font-size:14.5px;font-weight:600;cursor:pointer}
html[data-navc] .navc-pal-list li em{font-style:normal;font-weight:500;font-size:12px;color:var(--nc-sub)}
html[data-navc] .navc-pal-list li.on{background:var(--nc-act);color:var(--nc-actc)}
html[data-navc] .navc-pal-list li.none{color:var(--nc-sub);cursor:default}

html[data-theme][data-navc="island"] .wb-header nav.page-switch{order:1!important}
html[data-navc="island"] .navc-k{order:2!important}
html[data-theme][data-navc="island"] .wb-header .theme-toggle{order:3!important}
html[data-theme][data-navc="island"] .wb-header .wb-profile{order:4!important}
html[data-theme][data-navc="island"] .wb-header .wb-logout{order:5!important}
html[data-theme][data-navc="bar"] .wb-header nav.page-switch{order:1!important}
html[data-theme][data-navc="bar"] .wb-header .theme-toggle{order:3!important}
html[data-theme][data-navc="bar"] .wb-header .wb-profile{order:4!important}
html[data-theme][data-navc="bar"] .wb-header .wb-logout{order:5!important}

@media (max-width:640px){
 html[data-theme][data-navc="island"] main.shell>nav.wb-header>a.wb-brand{display:none!important}
 html[data-theme][data-navc="island"] .wb-header .theme-toggle{display:none!important}
 html[data-theme][data-navc="island"] main.shell>nav.wb-header{justify-content:center;padding:0 8px!important;gap:2px!important}
 html[data-theme][data-navc="island"] .wb-header nav.page-switch{gap:0!important;padding:0!important}
 html[data-theme][data-navc="island"] .wb-header nav.page-switch a,html[data-theme][data-navc="island"] .wb-header nav.page-switch a.active{width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;gap:0!important}
 html[data-theme][data-navc="island"] .wb-header nav.page-switch a.active::after{display:none}
 html[data-theme][data-navc="island"] .wb-header nav.page-switch{-webkit-mask-image:none!important;mask-image:none!important}
 html[data-navc="island"] .navc-k{margin-left:4px}
}

@media (max-width:640px){
 html[data-theme][data-navc="island"] .wb-header .wb-profile{display:none!important}
}
@media (max-width:899px){
 html[data-theme][data-navc="side"] .wb-header .wb-header-controls{left:8px!important;right:auto!important;width:min(310px,calc(100vw - 16px))!important;max-width:calc(100vw - 16px)!important;display:grid!important;grid-template-columns:auto auto auto 1fr!important;grid-template-rows:auto auto!important;gap:6px!important;align-items:center}
 html[data-theme][data-navc="side"] .wb-header .wb-header-controls>nav.page-switch{grid-column:1/-1!important;grid-row:1!important}
 html[data-theme][data-navc="side"] .wb-header .wb-header-controls>.theme-toggle,html[data-theme][data-navc="side"] .wb-header .wb-header-controls>.wb-profile,html[data-theme][data-navc="side"] .wb-header .wb-header-controls>.wb-logout{grid-row:2!important;grid-area:auto;justify-self:start}
 html[data-theme][data-navc="side"] .wb-header .wb-header-controls>.theme-toggle{grid-column:1!important}
 html[data-theme][data-navc="side"] .wb-header .wb-header-controls>.wb-profile{grid-column:2!important}
 html[data-theme][data-navc="side"] .wb-header .wb-header-controls>.wb-logout{grid-column:3!important}
 html[data-theme][data-navc="side"] .wb-profile-menu{left:0!important;right:auto!important;top:auto!important;bottom:calc(100% + 8px)!important}
}
