/* Menu lateral no padrão shadcn/ui (Sidebar), segue o tema claro/escuro, cores da Hostr. Só aparência. */
.shell-sidebar{--sb-bg:#0A1322;--sb-fg:#F1F5F9;--sb-mut:#8B9BB4;--sb-lbl:#64748B;--sb-acc:rgba(255,255,255,.06);--sb-acc2:rgba(255,255,255,.09);--sb-line:rgba(255,255,255,.08);--sb-card:#0F1A2C;
  background:var(--sb-bg);border-right:1px solid var(--sb-line);font-family:'Geist','Inter',system-ui,sans-serif}
[data-theme="light"] .shell-sidebar{--sb-bg:#FFFFFF;--sb-fg:#0F172A;--sb-mut:#475569;--sb-lbl:#94A3B8;--sb-acc:#F1F5F9;--sb-acc2:#E9EEF5;--sb-line:#E2E8F0;--sb-card:#F8FAFC}
[data-theme="light"] .shell-brand img{content:url(logo-lateral.png)}

/* Cabeçalho */
.shell-brand{padding:18px 20px 14px}
.shell-brand img{width:80px}
.shell-brand span{font-size:12.5px;font-weight:500;color:var(--sb-mut);border-left-color:var(--sb-line)}

/* Troca de ambiente: Tabs */
.shell-workspaces{margin:0 12px 12px;padding:3px;gap:0;background:var(--sb-acc);border:0;border-radius:10px}
.shell-workspaces button{min-height:30px;border-radius:7px;border:1px solid transparent;font:500 13px 'Geist','Inter',system-ui;color:var(--sb-mut);transition:background .15s,color .15s}
.shell-workspaces button:hover{color:var(--sb-fg)}
.shell-workspaces button[aria-pressed=true]{background:var(--sb-bg);color:var(--sb-fg);border-color:var(--sb-line);box-shadow:0 1px 2px rgba(15,23,42,.08)}

/* Grupo e itens (SidebarMenuButton) */
#secs-bar{gap:2px;padding:4px 12px 16px}
#secs-bar::before{content:'Menu';display:block;padding:6px 8px 6px;font:500 12px 'Geist','Inter',system-ui;color:var(--sb-lbl)}
#secs-bar .sec{min-height:34px;gap:10px;padding:7px 8px;border-radius:8px;font:400 14px 'Geist','Inter',system-ui;color:var(--sb-mut);transition:background .15s,color .15s}
#secs-bar .sec .shell-icon{width:16px;height:16px;stroke-width:2;color:inherit}
#secs-bar .sec:hover{background:var(--sb-acc);color:var(--sb-fg)}
#secs-bar .sec.on{background:var(--sb-acc2);color:var(--sb-fg);font-weight:500}
#secs-bar .sec.on .shell-icon{color:#F56044}
#secs-bar .sec[data-n]:not([data-n=""])::after{margin-left:auto;height:20px;min-width:20px;padding:0 6px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;line-height:1;border:0;border-radius:6px;background:#F56044;color:#fff;font:600 11.5px 'Geist','Inter',system-ui;font-variant-numeric:tabular-nums;letter-spacing:0}

/* Submenu (SidebarMenuSub) */
.sec-subs{margin:2px 0 6px 16px;padding-left:10px;gap:1px;border-left:1px solid var(--sb-line)}
.sec-subs .sec-sub{min-height:30px;padding:6px 8px;border-radius:7px;font:400 13.5px 'Geist','Inter',system-ui;color:var(--sb-mut);transition:background .15s,color .15s}
.sec-subs .sec-sub:hover{background:var(--sb-acc);color:var(--sb-fg)}
.sec-subs .sec-sub.on{background:var(--sb-acc2);color:var(--sb-fg);font-weight:500;box-shadow:none}

/* Rodapé (card do ambiente) */
.shell-foot{margin:8px 12px 12px;padding:10px 12px;border:1px solid var(--sb-line);border-radius:10px;background:var(--sb-card);font-size:12px;line-height:1.5;color:var(--sb-mut)}
.shell-foot strong{font-size:13px;font-weight:600;color:var(--sb-fg)}
.shell-close{color:var(--sb-mut)}

/* Movimento: só a abertura suave do submenu */
.sec-subs{animation:sb-fd .2s ease both}
@keyframes sb-fd{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.sec-subs{animation:none}}
/* Tema claro: topo do menu na mesma faixa azul do cabeçalho, com a mesma linha embaixo */
[data-theme="light"] .shell-brand{background:var(--hdr-bg,#0B1930);height:var(--shell-header,72px);box-sizing:border-box;padding-top:0;padding-bottom:0;margin-bottom:14px;border-bottom:1px solid rgba(255,255,255,.06)}
[data-theme="light"] .shell-brand img{content:url(logo-lateral-white.png)}
[data-theme="light"] .shell-brand span{color:#B4C3D5;border-left-color:rgba(255,255,255,.18)}
[data-theme="light"] .shell-brand{margin-right:-1px;position:relative;z-index:1}
