/* Barra lateral recolhível (app/menu.js) — prévia aprovada em 30/09/2026. Só no computador: no celular vale a barra de baixo. */
.tzs-wrap { display: none; }
@media (min-width: 761px) {
  .app { grid-template-columns: var(--tzs-w, 84px) minmax(0, 1fr); }
  .app > .side { display: none !important; }
  .tzs-wrap { display: block; position: relative; z-index: 45; }
}
.tzs { position: fixed; top: 0; left: 0; bottom: 0; width: 84px; display: flex; flex-direction: column; padding: 14px 10px; background: var(--surface); border-right: 1px solid var(--line); overflow: hidden; transition: width .18s ease, box-shadow .18s ease; }
.tzs.open { width: 238px; }
.tzs-brand { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px; font-size: 18px; font-weight: 800; white-space: nowrap; color: var(--ink); }
.tzs-mark { width: 32px; height: 32px; border-radius: var(--tz-r-md); background: var(--blue); color: #fff; display: grid; place-items: center; flex: 0 0 auto; font-size: 16px; }
.tzs-name { flex: 1; opacity: 0; transition: opacity .12s; }
.tzs.open .tzs-name, .tzs.open .tzs-lb, .tzs.open .tzs-chev, .tzs.open .tzs-pin { opacity: 1; }
.tzs-pin { border: 0; background: transparent; font-size: 15px; cursor: pointer; opacity: 0; color: var(--muted); padding: 4px; border-radius: 6px; }
.tzs-pin.on { color: var(--blue); background: var(--blue2); }
.tzs-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; margin: 10px -4px 0; padding: 0 4px; scrollbar-width: thin; }
.tzs-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: var(--tz-r-md); background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; white-space: nowrap; }
.tzs-item:hover { background: var(--blue2); color: var(--ink); }
.tzs-item:focus-visible, .tzs-pin:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.tzs-item.on { background: var(--blue2); color: var(--blue); font-weight: 700; }
.tzs:not(.open) .tzs-item.inside { background: var(--blue2); color: var(--blue); }
.tzs-ic { width: 22px; flex: 0 0 auto; text-align: center; font-size: 17px; }
.tzs-lb { flex: 1; min-width: 0; opacity: 0; transition: opacity .1s; overflow: hidden; text-overflow: ellipsis; }
.tzs-chev { font-size: 12px; color: var(--muted); opacity: 0; transition: transform .15s, opacity .1s; }
.tzs-group.expanded > .tzs-item .tzs-chev { transform: rotate(90deg); }
.tzs-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ec6d65; color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }
.tzs:not(.open) .tzs-badge { position: absolute; top: 3px; right: 5px; min-width: 15px; height: 15px; font-size: 9px; padding: 0 3px; }
.tzs-sub { display: none; margin: 2px 0 4px 21px; padding-left: 10px; border-left: 2px solid var(--line); }
.tzs-group.expanded > .tzs-sub { display: block; }
.tzs:not(.open) .tzs-sub { display: none !important; }
.tzs-sub .tzs-item { height: 34px; font-size: 13px; }
.tzs-sub .tzs-lb { opacity: 1; }
.tzs-sep { height: 1px; background: var(--line); margin: 8px 4px; }
.tzs-foot { border-top: 1px solid var(--tz-outline-divider); padding-top: 8px; margin-top: 6px; }
.tzs-update { color: #b45309; background: #fff4dc; margin-bottom: 6px; }
.tzs-update:hover { background: #ffedc2; color: #92400e; }
.tzs-update[hidden] { display: none; }
.tzs-me { display: flex; align-items: center; gap: 10px; padding: 8px 6px 0; white-space: nowrap; cursor: pointer; color: var(--ink); }
.tzs-av { width: 34px; height: 34px; border-radius: 50%; background: #5579df; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: 0 0 auto; position: relative; }
.tzs-av::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; border: 2px solid var(--surface); }
.tzs-me .tzs-lb b { font-size: 13px; display: block; }
.tzs-me .tzs-lb small { color: var(--muted); font-size: 11px; }
/* Aviso de nova versão (aparece também no celular, acima da barra de baixo) */
.tzs-update-banner { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 1600; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #fcd34d; border-radius: 12px; background: #fff8e1; color: #92400e; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px #0f172a33; }
.tzs-update-banner button { padding: 6px 12px; border: 0; border-radius: 8px; background: #d97706; color: #fff; font-weight: 700; cursor: pointer; }
.tzs-update-banner small { display: block; font-weight: 500; font-size: 12px; opacity: .85; }
/* O que mudou (ao passar o mouse em "Nova versão disponível") */
.tzs-notes { position: fixed; z-index: 1700; width: 320px; max-height: 60vh; overflow: auto; padding: 12px; border: 1px solid var(--tz-outline-divider, #e2e8f0); border-radius: 12px; background: var(--surface, #fff); color: var(--ink, #0f172a); box-shadow: 0 10px 30px #0f172a33; font-size: 13px; }
.tzs-notes > b { display: block; margin-bottom: 8px; font-size: 13px; }
.tzs-note { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; border-top: 1px solid var(--tz-outline-divider, #e2e8f0); }
.tzs-note:first-of-type { border-top: 0; }
.tzs-note strong { display: block; font-weight: 600; }
.tzs-note small { display: block; color: var(--muted, #64748b); font-size: 12px; margin-top: 2px; }
.tzs-note-tag { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #e0ecff; color: #0b4fcc; }
.tzs-note-tag.correcao { background: #fff1d6; color: #92400e; }
.tzs-note-tag.novo { background: #dcfce7; color: #166534; }
@media (min-width: 761px) { .tzs-update-banner { display: none; } }
@media (max-width: 760px) { .tzs-update-banner { bottom: 76px; width: calc(100vw - 24px); justify-content: space-between; } }
.tzs-ic svg { display: block; margin: 0 auto; }

/* Barra fechada com o nome embaixo do ícone (23/10/2026): só ícones, quem chegava agora não sabia o que era cada um. */
.tzs-rl { display: none; }
.tzs:not(.open) { padding-left: 6px; padding-right: 6px; }
.tzs:not(.open) .tzs-scroll > .tzs-item, .tzs:not(.open) .tzs-group > .tzs-item { flex-direction: column; justify-content: center; gap: 3px; height: 54px; padding: 0 2px; }
.tzs:not(.open) .tzs-scroll .tzs-lb, .tzs:not(.open) .tzs-scroll .tzs-chev { display: none; }
.tzs:not(.open) .tzs-rl { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 500; line-height: 1.1; }
.tzs:not(.open) .tzs-item.on .tzs-rl, .tzs:not(.open) .tzs-item.inside .tzs-rl { font-weight: 600; }
.tzs:not(.open) .tzs-scroll .tzs-badge { top: 4px; right: 12px; }
.tzs:not(.open) .tzs-brand { justify-content: center; padding: 0; }
.tzs:not(.open) .tzs-name, .tzs:not(.open) .tzs-pin { display: none; }
.tzs:not(.open) .tzs-me { justify-content: center; padding-left: 0; padding-right: 0; }
.tzs:not(.open) .tzs-me .tzs-lb { display: none; }
.tzs:not(.open) .tzs-update { justify-content: center; padding: 0; }
.tzs:not(.open) .tzs-update .tzs-lb { display: none; }
