/* Refino do login e do sistema (02/11/2026). Carregado por último em index.html. Só aparência: espaços na grade de 4px, sem gradientes de cor, hierarquia por tamanho e não por peso 800,
   ícones de linha no lugar de emoji, textos mínimos de 12px no login. O verde (#74e2b1) e o logo da marca continuam. */

/* Login: cartão liso com linha fina, no lugar de gradiente e sombra grande */
#login-screen .login-card { width: min(100%, 440px); padding: 40px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: none; }
#login-screen .login-card h1, #setup-screen .login-card h1 { font: 600 28px/1.2 Manrope, sans-serif; letter-spacing: -.02em; }
.login-description { font-size: 15px; line-height: 1.6; margin: 12px 0 28px; }
.login-form { gap: 8px; }
.login-form label { font-size: 13px; font-weight: 500; margin-top: 8px; color: #cfe3d6; }
.login-form input { border-radius: 10px; padding: 12px 14px; }
.login-form input:focus-visible, .login-form .button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
#login-button { margin-top: 12px; }
#reset-password-button { justify-self: center; width: auto; height: auto; min-height: 0; margin-top: 4px; padding: 8px 12px; border: 0; background: none; color: #a5b9ad; font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
#reset-password-button:hover { color: var(--mint); background: none; }
.security-note { font-size: 12px; margin: 24px 0 0; }
.login-links, .login-links a, .login-footer { font-size: 12px; }

/* Login no desktop: formulário e mascote lado a lado; no celular o mascote some e o cartão fica sozinho */
.login-mascote { display: none; }
@media (min-width: 960px) {
  #login-screen { grid-template-columns: minmax(0, 440px) 240px; justify-content: center; align-content: center; column-gap: 72px; row-gap: 0; }
  #login-screen .login-card { grid-column: 1; grid-row: 1; }
  #login-screen .login-mascote { grid-column: 2; grid-row: 1; display: grid; place-items: center; position: relative; align-self: center; }
  #login-screen .login-mascote img { width: 208px; height: auto; }
  #login-screen .login-mascote .ponto-online { position: absolute; right: 24px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(116, 226, 177, .16); }
  #login-screen .login-links, #login-screen .login-footer { grid-column: 1 / -1; margin-top: 24px; }
  #login-screen .login-footer { margin-top: 8px; }
}

/* Sistema: rótulos em minúsculas, cartão ativo liso, títulos sem peso 800 */
.sidebar-label { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
button.stat-card.active { background: #17382b; }
button.stat-card.stat-card-highlight.active { background: #2a2418; }
.brand strong { font-weight: 600; letter-spacing: -.02em; }
.stat-card strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.panel-heading h2, .detail-header h2, .empty-detail h2, .topbar h1 { font-weight: 600; letter-spacing: -.01em; }
.app-screen .hot-filter svg { display: block; width: 16px; height: 16px; }
.app-screen .list-tools .hot-filter::before { content: none; }
.rail-toggle { z-index: 2; }
@media (max-width: 480px) { #login-screen .login-card, #setup-screen .login-card { padding: 32px 24px; } #login-screen .login-card h1, #setup-screen .login-card h1 { font-size: 24px; } }
.app-screen .list-tools .lists-filter-row { width: 112px; }
.app-screen .list-tools .lists-filter-row select { font-size: 12px; }

/* Movimento: uma curva só; hover muda cor ou superfície, nunca levanta o elemento; apertar é um recuo de 2%; sem loops decorativos */
:root { --ease: cubic-bezier(.22, 1, .36, 1); }
.cx-cartao:hover, button.stat-card:hover, body.modo-config .config-pane button.button-primary:hover:not(:disabled),
#team-dialog .team-submit:hover:not(:disabled), #invite-dialog .button-primary:hover:not(:disabled) { transform: none; box-shadow: none; }
.app-screen .button, .app-screen .pill-button, .login-form .button, button.stat-card, .cx-cartao { transition: color .15s var(--ease), background-color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease); }
.app-screen .button:active:not(:disabled), .login-form .button:active:not(:disabled), button.stat-card:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) { .app-screen *, .login-screen * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Menu lateral: linhas de 36, texto de 14, rótulo de seção a 24 de cima e 8 de baixo */
body:not(.rail-colapsada) .sidebar nav a, body:not(.rail-colapsada) .sidebar nav button { min-height: 36px; font-size: 14px; font-weight: 500; }
.sidebar .sidebar-label { margin: 24px 10px 8px; }
body:not(.rail-colapsada) .app-screen .sidebar .secoes .button { height: 36px; min-height: 36px; font-size: 14px; font-weight: 500; }

/* Menu de Configurações: ícones de linha (lucide, traço 1,5) na cor do texto, grupos em minúsculas, busca com canto de 10 e item ativo em degrau de superfície */
body.modo-config .config-menu .config-item { display: flex; align-items: center; gap: 12px; min-height: 36px; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #cfe3d7; transition: color .15s var(--ease), background-color .15s var(--ease); }
body.modo-config .config-menu .config-item::before { content: ""; flex: none; width: 18px; height: 18px; background-color: currentColor; opacity: .7; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
body.modo-config .config-menu .config-item[data-icone=""]::before { display: none; }
body.modo-config .config-menu .config-item:hover { background: rgba(255, 255, 255, .04); color: #eaf4ef; }
body.modo-config .config-menu .config-item:hover::before, body.modo-config .config-menu .config-item.ativo::before { opacity: 1; }
body.modo-config .config-menu .config-item.ativo { background: rgba(116, 226, 177, .1); color: var(--mint, #74e2b1); font-weight: 500; box-shadow: inset 0 0 0 1px rgba(116, 226, 177, .22); }
body.modo-config .config-menu .config-item-perigo, body.modo-config .config-menu .config-item-perigo:hover { color: #ff9b9b; }
body.modo-config .config-menu .config-grupo h3 { margin: 24px 12px 8px; font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 500; color: #8ba596; }
body.modo-config .config-menu .config-grupo:first-of-type h3 { margin-top: 20px; }
body.modo-config .config-menu .config-busca input { border-radius: 10px; padding: 10px 14px; font-size: 14px; }
body.modo-config .config-menu .config-grupo + .config-grupo { border-top: 1px solid rgba(255, 255, 255, .06); margin-top: 8px; }
body.modo-config .config-menu .config-item[data-icone="plug"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d%3D%27M12%2022v-5M9%208V2M15%208V2M18%208v5a4%204%200%200%201-4%204h-4a4%204%200%200%201-4-4V8Z%27%2F%3E%3C/svg%3E"); }
body.modo-config .config-menu .config-item[data-icone="users"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d%3D%27M16%2021v-2a4%204%200%200%200-4-4H6a4%204%200%200%200-4%204v2%27%2F%3E%3Ccircle%20cx%3D%279%27%20cy%3D%277%27%20r%3D%274%27%2F%3E%3Cpath%20d%3D%27M22%2021v-2a4%204%200%200%200-3-3.87M16%203.13a4%204%200%200%201%200%207.75%27%2F%3E%3C/svg%3E"); }
body.modo-config .config-menu .config-item[data-icone="store"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d%3D%27m2%207%204.41-4.41A2%202%200%200%201%207.83%202h8.34a2%202%200%200%201%201.42.59L22%207M4%2012v8a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2v-8M15%2022v-4a2%202%200%200%200-2-2h-2a2%202%200%200%200-2%202v4M2%207h20M22%207v3a2%202%200%200%201-2%202%202.7%202.7%200%200%201-2-.9%202.7%202.7%200%200%201-4%200%202.7%202.7%200%200%201-4%200%202.7%202.7%200%200%201-4%200%202.7%202.7%200%200%201-2%20.9%202%202%200%200%201-2-2V7%27%2F%3E%3C/svg%3E"); }
body.modo-config .config-menu .config-item[data-icone="radar"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d%3D%27M19.07%204.93A10%2010%200%200%200%206.99%203.34M4%206h.01M2.29%209.62A10%2010%200%201%200%2021.31%208.35M16.24%207.76A6%206%200%201%200%208.23%2016.67M12%2018h.01M17.99%2011.66A6%206%200%200%201%2015.77%2016.67%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%272%27%2F%3E%3Cpath%20d%3D%27m13.41%2010.59%205.66-5.66%27%2F%3E%3C/svg%3E"); }
body.modo-config .config-menu .config-item[data-icone="predio"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d%3D%27M6%2022V4a2%202%200%200%201%202-2h8a2%202%200%200%201%202%202v18ZM6%2012H4a2%202%200%200%200-2%202v6a2%202%200%200%200%202%202h2M18%209h2a2%202%200%200%201%202%202v9a2%202%200%200%201-2%202h-2M10%206h4M10%2010h4M10%2014h4M10%2018h4%27%2F%3E%3C/svg%3E"); }
body.modo-config .config-menu .config-item[data-icone="convidar"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d%3D%27M16%2021v-2a4%204%200%200%200-4-4H6a4%204%200%200%200-4%204v2%27%2F%3E%3Ccircle%20cx%3D%279%27%20cy%3D%277%27%20r%3D%274%27%2F%3E%3Cpath%20d%3D%27M19%208v6M22%2011h-6%27%2F%3E%3C/svg%3E"); }
body.modo-config .config-menu .config-item[data-icone="historico"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d%3D%27M3%2012a9%209%200%201%200%209-9%209.75%209.75%200%200%200-6.74%202.74L3%208M3%203v5h5M12%207v5l4%202%27%2F%3E%3C/svg%3E"); }
body.modo-config .config-menu .config-item[data-icone="auditoria"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d%3D%27M20%2013c0%205-3.5%207.5-7.66%208.95a1%201%200%200%201-.67-.01C7.5%2020.5%204%2018%204%2013V6a1%201%200%200%201%201-1c2%200%204.5-1.2%206.24-2.72a1.17%201.17%200%200%201%201.52%200C14.51%203.81%2017%205%2019%205a1%201%200%200%201%201%201zM9%2012l2%202%204-4%27%2F%3E%3C/svg%3E"); }
body.modo-config .config-menu .config-item[data-icone="cartao"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect%20x%3D%272%27%20y%3D%275%27%20width%3D%2720%27%20height%3D%2714%27%20rx%3D%272%27%2F%3E%3Cpath%20d%3D%27M2%2010h20%27%2F%3E%3C/svg%3E"); }
body.modo-config .config-menu .config-item[data-icone="suporte"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%274%27%2F%3E%3Cpath%20d%3D%27m4.93%204.93%204.24%204.24M14.83%209.17l4.24-4.24M14.83%2014.83l4.24%204.24M9.17%2014.83l-4.24%204.24%27%2F%3E%3C/svg%3E"); }
body.modo-config .config-menu .config-item[data-icone="sair"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath%20d%3D%27M9%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h4M16%2017l5-5-5-5M21%2012H9%27%2F%3E%3C/svg%3E"); }
