/* Eyes Up · side menu (Tab, Nov 9 2026). web2/h2/sidebar.css. Remove the <link> (or touch /opt/camapp/CUSTOM_OFF) to roll back. */
:root{--sbw:236px}
html.sb-c{--sbw:70px}
.sb{position:fixed;top:0;bottom:0;left:0;width:var(--sbw);z-index:72;display:flex;flex-direction:column;background:rgba(10,13,19,.94);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-right:1px solid var(--line,#1f2935);padding:calc(env(safe-area-inset-top) + 10px) 10px calc(env(safe-area-inset-bottom) + 10px);overflow:hidden;transition:width .22s cubic-bezier(.2,.8,.2,1),transform .26s cubic-bezier(.2,.8,.2,1);color:var(--txt,#eef3f8)}
.sb-head{display:flex;align-items:center;gap:10px;padding:2px 4px 12px;min-height:44px}
.sb-head img{width:38px;height:38px;border-radius:50%;flex:0 0 auto;display:block;box-shadow:0 0 0 1px rgba(201,164,92,.35),0 4px 14px -4px rgba(0,0,0,.7)}
html.sb-c .sb-head img{width:36px;height:36px}
.sb-brand{display:flex;flex-direction:column;line-height:1.1;flex:1;min-width:0}
.sb-brand b{font-size:16px;letter-spacing:-.02em}.sb-brand small{font-size:10.5px;color:var(--mut,#8796a8);letter-spacing:.08em;text-transform:uppercase;font-weight:600}
.sb-col,.sb-x{background:transparent;border:1px solid var(--line,#1f2935);color:var(--mut,#8796a8);border-radius:9px;width:30px;height:30px;font-size:15px;cursor:pointer;flex:0 0 auto}
.sb-col:hover,.sb-x:hover{color:var(--txt,#fff);border-color:var(--line2,#2a3746)}
.sb-x{display:none}
.sb-list{flex:1;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:2px;margin:0 -4px;padding:0 4px;scrollbar-width:thin}
.sb-gl{font-size:10.5px;text-transform:uppercase;letter-spacing:.09em;color:var(--mut2,#5f6d7e);font-weight:700;padding:6px 10px 4px}
.sb-sep{height:1px;background:var(--line,#1f2935);margin:6px 6px}
.sb-it{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:42px;padding:8px 10px;border-radius:11px;border:0;background:transparent;color:var(--txt,#dfe7ef);font:inherit;font-size:14.5px;text-align:left;cursor:pointer;white-space:nowrap}
.sb-it .ic{width:24px;text-align:center;font-size:18px;flex:0 0 auto;filter:saturate(.9)}
.sb-it .lb{flex:1;overflow:hidden;text-overflow:ellipsis}
.sb-it:hover{background:rgba(255,255,255,.05)}
.sb-it.on{background:linear-gradient(135deg,rgba(76,194,255,.18),rgba(124,108,255,.16));box-shadow:inset 0 0 0 1px rgba(76,194,255,.28)}
.sb-it.on::before{content:"";position:absolute;left:-4px;top:9px;bottom:9px;width:3px;border-radius:3px;background:var(--grad,#4cc2ff)}
.sb-it .bd{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--bad,#ff5a6a);color:#fff;font-size:11.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.sb-it .bd.am{background:var(--warn,#ffb340);color:#1a1205}.sb-it .bd.nw{background:var(--acc2,#7c6cff)}
.sb-it .bd.hidden{display:none}
.sb-it .pn{font-size:11px;opacity:.55}
.sb-foot{border-top:1px solid var(--line,#1f2935);padding-top:8px;margin-top:6px}
.sb-who{font-size:12px;color:var(--mut,#8796a8);padding:6px 10px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-back{display:none}
.sb-burger{display:none}
/* collapsed (desktop) */
html.sb-c .sb .lb,html.sb-c .sb .sb-brand,html.sb-c .sb .sb-gl,html.sb-c .sb .pn,html.sb-c .sb .sb-who{display:none}
html.sb-c .sb-head{flex-direction:column;gap:8px}
html.sb-c .sb-it{justify-content:center;padding:8px 0}
html.sb-c .sb-it .bd{position:absolute;top:2px;right:2px;min-width:16px;height:16px;font-size:10px;padding:0 4px}
html.sb-c .sb-it .bd.nw{font-size:0;min-width:9px;width:9px;height:9px;padding:0}
/* desktop / tablet: push the app right of the sidebar, full-screen pages too */
@media(min-width:760px){
 html.sb-on body{padding-left:var(--sbw);transition:padding-left .22s}
 html.sb-on .h2-page,html.sb-on .mv,html.sb-on .mvv,html.sb-on .wed,html.sb-on .trk,html.sb-on .uz,html.sb-on .ngo,html.sb-on .viewer,html.sb-on .act-sheet{left:var(--sbw)!important}
 html.sb-on #h2NavM,html.sb-on #nav{display:none!important} /* Tab Nov 10: one menu only - the sidebar already has every tab (Ami 12:04 AM "two menus, duplicate"); old: display:flex */
 .sb{z-index:9100}
}
/* phone: drawer */
@media(max-width:759px){
 .sb{width:min(84vw,310px);transform:translateX(-104%);z-index:9800;box-shadow:20px 0 60px -20px rgba(0,0,0,.8);background:rgba(10,13,19,.985)}
 .sb.open{transform:none}
 html.sb-c{--sbw:236px}
 html.sb-c .sb .lb,html.sb-c .sb .sb-brand,html.sb-c .sb .sb-gl,html.sb-c .sb .pn,html.sb-c .sb .sb-who{display:revert}
 html.sb-c .sb-head{flex-direction:row}html.sb-c .sb-it{justify-content:flex-start;padding:8px 10px}
 html.sb-c .sb-it .bd{position:static}
 .sb-col{display:none}.sb-x{display:block}
 .sb-it{min-height:46px;font-size:15.5px}
 .sb-back{display:block;position:fixed;inset:0;z-index:9790;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .25s}
 .sb-back.open{opacity:1;pointer-events:auto}
 html.sb-on .sb-burger{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:38px;height:38px;flex:0 0 auto;position:relative}
 html.sb-on header .sb-burger{background:rgba(255,255,255,.06)!important;color:var(--txt,#eef3f8)!important;border:1px solid var(--line2,#2a3746)!important;border-radius:12px!important;box-shadow:none!important}
 .sb-burger span{display:block;width:18px;height:2px;border-radius:2px;background:currentColor}
 .sb-burger.dot::after{content:"";position:absolute;top:6px;right:5px;width:8px;height:8px;border-radius:50%;background:var(--bad,#ff5a6a);border:2px solid #0b0f14}
 html.sb-lock,html.sb-lock body{overflow:hidden}
}
.sb-ask{position:fixed;inset:0;z-index:9850;background:rgba(3,5,8,.6);display:flex;align-items:flex-start;justify-content:center;padding:calc(env(safe-area-inset-top) + 70px) 14px 14px}
.sb-askf{width:min(520px,100%);background:var(--panel,#10151d);border:1px solid var(--line2,#2a3746);border-radius:18px;padding:16px;display:grid;gap:12px;box-shadow:0 30px 80px -20px rgba(0,0,0,.8)}
.sb-askf input{font:inherit;font-size:16px;padding:12px 14px;border-radius:12px;border:1px solid var(--line2,#2a3746);background:var(--bg2,#0b0f15);color:var(--txt,#fff)}
.sb-askb{display:flex;justify-content:flex-end;gap:8px}
