/* 🎨 Menu lateral no padrão do Claude: limpo, neutro e compacto (ícones simples, sem cores, sem sombras) */
.sb { width: 288px; background: #f5f4f0; border-right: 1px solid #e8e6e0; padding: 10px 8px 10px; }
.app.collapsed .sb { margin-left: -288px; }

/* topo: marca + ícones */
.sb-top { padding: 2px 6px 12px 10px; min-height: 40px; }
.brand { gap: 8px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: #1d1d1b; }
.brand-logo { height: 22px; max-width: 28px; filter: none; }
.sb-icons { gap: 0; }
.sb-icons .ic { width: 32px; height: 32px; border-radius: 8px; color: #73716b; }
.sb-icons .ic svg { width: 18px; height: 18px; stroke-width: 1.6; }
.sb-icons .ic:hover { background: rgba(0, 0, 0, .05); color: #1d1d1b; }
.sb-search { padding: 0 2px 8px; }
.sb-search input { border-radius: 8px; padding: 7px 10px; font-size: 14px; border-color: #e3e1db; }

/* itens do menu */
.sb > .new-chat { position: relative; gap: 10px; min-height: 36px; padding: 6px 10px; margin: 0 0 1px; background: transparent; border-radius: 8px;
  font-size: 14px; font-weight: 400; line-height: 1.3; color: #1d1d1b; box-shadow: none; transition: background .12s ease; }
.sb > .new-chat > svg { flex: none; width: 18px; height: 18px; padding: 0; border-radius: 0; background: none !important; color: #55534e; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sb > .new-chat:hover { background: rgba(0, 0, 0, .045); }
.sb > .new-chat:hover > svg { color: #1d1d1b; }
.sb > .new-chat.sel, .sb > .new-chat[aria-current="true"] { background: rgba(0, 0, 0, .075); box-shadow: none; font-weight: 500; }
.sb > .new-chat.sel::before { content: none; }
.sb > .new-chat.sel > svg { color: #1d1d1b; }
/* tira as cores próprias de cada aba (Iluminati, Loterias, Rifas) só dentro do menu */
.sb > .new-chat.il-open.sel, .sb > .new-chat.lp-open.sel, .sb > .new-chat.rf-open.sel { background: rgba(0, 0, 0, .075); color: #1d1d1b; }
.sb > .new-chat.il-open > svg, .sb > #open-lotpub > svg, .sb > #open-rifas > svg,
.sb > #open-lotpub:hover > svg, .sb > #open-rifas:hover > svg { background: none; color: #55534e; }

/* "Bate-papos" (como "Recentes" no Claude) */
.sb-label-row { padding-right: 2px; }
.sb-label { padding: 18px 10px 6px; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #8a8882; }
.sb-trash { margin-top: 12px; width: 28px; height: 28px; border-radius: 8px; }
.sb-trash svg { width: 16px; height: 16px; }

/* lista de conversas */
.conv-list { padding-right: 0; }
.conv { min-height: 32px; padding: 0 2px 0 10px; border-radius: 8px; font-size: 14px; color: #1d1d1b; }
.conv .t { padding: 6px 0; }
.conv .more { width: 26px; height: 26px; border-radius: 6px; }
.conv .more svg { width: 16px; height: 16px; }
.conv:hover { background: rgba(0, 0, 0, .045); }
.conv.sel { background: rgba(0, 0, 0, .075); }
.conv-empty { padding: 4px 10px; font-size: 13px; color: #8a8882; }

/* cartão "Guarde seus bate-papos": discreto, sem gradientes */
.guest-hint { margin: 10px 2px 4px; padding: 14px 14px 12px; border-radius: 12px; border: 1px solid #e3e1db; background: #fff; box-shadow: none; display: flex; flex-direction: column; gap: 4px; }
.guest-hint .gh-ico { display: none; }
.guest-hint b { font-size: 14px; font-weight: 600; color: #1d1d1b; }
.guest-hint span { font-size: 13px; line-height: 1.45; color: #73716b; }
.guest-hint .gh-btn { margin-top: 8px; padding: 8px 12px; border: 0; border-radius: 8px; background: #1d1d1b; color: #fff; font-size: 13.5px; font-weight: 500; box-shadow: none; }
.guest-hint .gh-btn:hover { background: #3a3936; filter: none; transform: none; }
.guest-hint .gh-plan { margin-top: 2px; padding: 8px 12px; border: 1px solid #e3e1db; border-radius: 8px; background: transparent; color: #1d1d1b; font-size: 13.5px; font-weight: 500; }
.guest-hint .gh-plan:hover { background: rgba(0, 0, 0, .04); filter: none; transform: none; }

/* rodapé: Entrar / Criar conta */
.sb-bottom { padding-top: 8px; border-top: 1px solid #e8e6e0; }
.auth-btns { padding: 2px; gap: 6px; }
.auth-btns button { padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; border: 1px solid #dcdad3; background: #fff; color: #1d1d1b; box-shadow: none; transition: background .12s; }
.auth-btns button:hover { background: #f0efeb; transform: none; box-shadow: none; }
.auth-btns .primary { background: #1d1d1b; border-color: #1d1d1b; color: #fff; box-shadow: none; }
.auth-btns .primary:hover { background: #3a3936; }
.me { border-radius: 8px; padding: 6px 8px; }
.me:hover { background: rgba(0, 0, 0, .045); }
.avatar { width: 28px; height: 28px; font-size: 13px; background: #1d1d1b; }

/* telas baixas: cartão ainda mais compacto */
@media (max-height: 800px) { .guest-hint span { display: none; } .guest-hint .gh-btn { margin-top: 4px; } }
/* celular */
@media (max-width: 820px) {
  .sb { width: min(86vw, 300px); margin-left: calc(-1 * min(86vw, 300px)); padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .app.collapsed .sb { margin-left: calc(-1 * min(86vw, 300px)); }
  .app.open .sb { margin-left: 0; }
  .sb > .new-chat { min-height: 40px; font-size: 15px; }
  .conv { min-height: 38px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .sb > .new-chat, .auth-btns button { transition: none; } }
