/* Judith Informa — estilo
   Base neutra quente (creme da Judith) + um único destaque: o vermelho do batom dela.
   O amarelo aparece só em detalhes (o "hoje"). */

@font-face {
  font-family: "Geist";
  src: url("/vendor/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("/vendor/geist-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/vendor/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}

:root {
  --fundo: #f7f4ee;
  --fundo-2: #efebe3;
  --superficie: #ffffff;
  --superficie-2: #faf8f4;
  --borda: #e6e0d5;
  --borda-forte: #d6cec0;
  --texto: #1d1b18;
  --texto-2: #4a453e;
  --suave: #7a7368;
  --destaque: #c2372c;
  --destaque-hover: #a92e24;
  --destaque-suave: #f8e4e1;
  --destaque-texto: #ffffff;
  --amarelo: #f0bf2b;
  --amarelo-suave: #fbf0cc;
  --azul: #2c4a86;
  --verde: #2f7d57;
  --perigo: #b42318;
  --sombra-cor: 60 45 25;
  --sombra-1: 0 1px 2px rgb(var(--sombra-cor) / .06), 0 1px 1px rgb(var(--sombra-cor) / .04);
  --sombra-2: 0 12px 32px -12px rgb(var(--sombra-cor) / .18), 0 2px 6px rgb(var(--sombra-cor) / .05);
  --sombra-3: 0 30px 60px -20px rgb(var(--sombra-cor) / .35), 0 8px 20px -8px rgb(var(--sombra-cor) / .15);
  --raio: 14px;
  --raio-g: 20px;
  --raio-p: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --barra-lateral: 252px;
  --altura-nav: 64px;
  --seguro-baixo: env(safe-area-inset-bottom, 0px);
  --seguro-topo: env(safe-area-inset-top, 0px);

  --cat-pessoal: #4b67a8;
  --cat-familia: #c24a6d;
  --cat-empresa: #1f7f7a;
  --cat-impostos: #b7791f;
  --cat-saude: #3d8b4e;
  --cat-dayz: #6b7a2e;
  --cat-outros: #7a7368;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-tema="claro"]) {
    --fundo: #141311;
    --fundo-2: #1b1a17;
    --superficie: #1d1c19;
    --superficie-2: #23211e;
    --borda: #2f2c27;
    --borda-forte: #3d3933;
    --texto: #f2eee7;
    --texto-2: #cfc8bc;
    --suave: #9a9387;
    --destaque: #e2584c;
    --destaque-hover: #ec6b60;
    --destaque-suave: #3a1f1c;
    --amarelo: #e8b923;
    --amarelo-suave: #3a321a;
    --azul: #8fa9e0;
    --verde: #6cc596;
    --perigo: #f2756a;
    --sombra-cor: 0 0 0;
    --sombra-1: 0 1px 2px rgb(0 0 0 / .4);
    --sombra-2: 0 12px 32px -12px rgb(0 0 0 / .6), 0 2px 6px rgb(0 0 0 / .3);
    --sombra-3: 0 30px 60px -20px rgb(0 0 0 / .7);
    --cat-pessoal: #7f9be0;
    --cat-familia: #e47b9a;
    --cat-empresa: #4fb8b1;
    --cat-impostos: #e0a54a;
    --cat-saude: #6fc282;
    --cat-dayz: #a9b85c;
    --cat-outros: #a39c90;
    color-scheme: dark;
  }
}
:root[data-tema="escuro"] {
  --fundo: #141311; --fundo-2: #1b1a17; --superficie: #1d1c19; --superficie-2: #23211e;
  --borda: #2f2c27; --borda-forte: #3d3933; --texto: #f2eee7; --texto-2: #cfc8bc; --suave: #9a9387;
  --destaque: #e2584c; --destaque-hover: #ec6b60; --destaque-suave: #3a1f1c;
  --amarelo: #e8b923; --amarelo-suave: #3a321a; --azul: #8fa9e0; --verde: #6cc596; --perigo: #f2756a;
  --sombra-cor: 0 0 0;
  --sombra-1: 0 1px 2px rgb(0 0 0 / .4);
  --sombra-2: 0 12px 32px -12px rgb(0 0 0 / .6), 0 2px 6px rgb(0 0 0 / .3);
  --sombra-3: 0 30px 60px -20px rgb(0 0 0 / .7);
  --cat-pessoal: #7f9be0; --cat-familia: #e47b9a; --cat-empresa: #4fb8b1; --cat-impostos: #e0a54a;
  --cat-saude: #6fc282; --cat-dayz: #a9b85c; --cat-outros: #a39c90;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh;
  background: var(--fundo); color: var(--texto);
  font: 400 15px/1.5 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.mono, .num { font-family: "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ic { width: 18px; height: 18px; flex: none; stroke-width: 1.75; }
.ic-sm { width: 15px; height: 15px; }
.ic-lg { width: 22px; height: 22px; }
.oculto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--destaque); outline-offset: 2px; border-radius: 8px; }

/* ---------- carregando ---------- */
.carregando-tela { min-height: 100dvh; display: grid; place-items: center; }
.carregando-avatar { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 4px var(--amarelo), var(--sombra-2); animation: respira 1.6s var(--ease) infinite; }
@keyframes respira { 50% { transform: scale(.94); opacity: .8; } }

/* ---------- login ---------- */
.login {
  min-height: 100dvh; display: grid; grid-template-columns: 1.1fr 1fr;
}
.login-arte {
  position: relative; overflow: hidden; background: #fbedd2;  /* mesma cor do fundo da arte */
  display: grid; place-items: center; padding: 48px;
}
.login-arte::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f6cf4b, #ecb21c 70%);
  opacity: .9;
}
.login-arte::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(30 25 15 / .09) 1px, transparent 1.2px);
  background-size: 7px 7px;
}
.login-arte img { position: relative; z-index: 1; width: min(82%, 540px); animation: flutua 7s ease-in-out infinite; }
.login-arte::before { display: none; }  /* a arte já tem o círculo amarelo; o nome JUDITH vai até as bordas */
@keyframes flutua { 50% { transform: translateY(-8px) rotate(-.6deg); } }
.login-painel { display: flex; flex-direction: column; justify-content: center; padding: 56px clamp(24px, 6vw, 88px); gap: 28px; }
.login-marca { display: flex; align-items: center; gap: 12px; }
.login-marca img { width: 44px; height: 44px; border-radius: 12px; }
.login-marca b { font-size: 17px; letter-spacing: -.02em; }
.login-marca span { display: block; color: var(--suave); font-size: 13px; }
.login h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -.035em; margin: 0; font-weight: 650; max-width: 14ch; }
.login h1 em { font-style: normal; color: var(--destaque); }
.login p { margin: 0; color: var(--texto-2); max-width: 44ch; }
.login-acoes { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-height: 48px; }
.login-erro { color: var(--perigo); font-size: 14px; display: flex; gap: 8px; align-items: center; }
.login-rodape { color: var(--suave); font-size: 12.5px; display: flex; align-items: center; gap: 8px; }

/* ---------- moldura do app ---------- */
.app { display: grid; grid-template-columns: var(--barra-lateral) minmax(0, 1fr); min-height: 100dvh; }
.lateral {
  position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column;
  padding: 18px 14px; gap: 6px; border-right: 1px solid var(--borda); background: var(--fundo);
}
.lateral-marca { display: flex; align-items: center; gap: 11px; padding: 6px 8px 18px; }
.avatar-judith { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--fundo), 0 0 0 3.5px var(--amarelo); flex: none; }
.lateral-marca b { display: block; font-size: 15px; letter-spacing: -.02em; line-height: 1.15; }
.lateral-marca span { font-size: 12px; color: var(--suave); }
.busca-botao {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; margin-bottom: 10px;
  border: 1px solid var(--borda); background: var(--superficie); color: var(--suave);
  border-radius: 11px; box-shadow: var(--sombra-1); text-align: left; transition: border-color .2s;
}
.busca-botao:hover { border-color: var(--borda-forte); }
.busca-botao kbd { margin-left: auto; font: 500 11px "Geist Mono", monospace; padding: 2px 6px; border-radius: 6px; background: var(--fundo-2); color: var(--suave); }
.nav-item {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px;
  color: var(--texto-2); text-decoration: none; font-weight: 500; transition: background .2s, color .2s;
}
.nav-item:hover { background: var(--fundo-2); color: var(--texto); }
.nav-item[aria-current="page"] { background: var(--superficie); color: var(--texto); box-shadow: var(--sombra-1), inset 0 0 0 1px var(--borda); }
.nav-item[aria-current="page"] .ic { color: var(--destaque); }
.nav-item .contador { margin-left: auto; font: 500 11.5px "Geist Mono", monospace; color: var(--destaque); background: var(--destaque-suave); padding: 1px 7px; border-radius: 99px; }
.lateral-baixo { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.lateral-novo { margin: 4px 0 12px; }

.principal { min-width: 0; padding: 28px clamp(16px, 3.4vw, 44px) 64px; }
.conteudo { max-width: 1180px; margin: 0 auto; }
.topo-movel { display: none; }
.nav-baixo, .fab { display: none; }

/* tablet: barra lateral só de ícones */
@media (min-width: 768px) and (max-width: 1099px) {
  .app { --barra-lateral: 78px; }
  .lateral { padding: 16px 12px; align-items: center; }
  .lateral-marca { padding: 4px 0 14px; }
  .lateral-marca div, .lateral .nav-item span, .lateral .nav-item .contador, .lateral .busca-botao span, .lateral .busca-botao kbd, .lateral-novo span { display: none; }
  .lateral .nav-item, .lateral .busca-botao, .lateral-novo { justify-content: center; width: 50px; height: 46px; padding: 0; }
  .nav-item .contador-ponto { display: block; }
}
.contador-ponto { display: none; position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--destaque); box-shadow: 0 0 0 2px var(--fundo); }

/* celular */
@media (max-width: 767px) {
  .app { display: block; }
  .lateral { display: none; }
  .principal { padding: 4px 16px calc(var(--altura-nav) + var(--seguro-baixo) + 88px); }
  .topo-movel {
    display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 20;
    padding: calc(10px + var(--seguro-topo)) 16px 10px; margin: 0 -16px 6px;
    background: color-mix(in srgb, var(--fundo) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s;
  }
  .topo-movel.rolado { border-bottom-color: var(--borda); }
  .topo-movel .avatar-judith { width: 34px; height: 34px; }
  .topo-movel b { font-size: 16px; letter-spacing: -.02em; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-baixo {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 6px 6px calc(6px + var(--seguro-baixo));
    background: color-mix(in srgb, var(--superficie) 90%, transparent);
    backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
    border-top: 1px solid var(--borda);
  }
  .nav-baixo a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 52px; border-radius: 12px; color: var(--suave); text-decoration: none; font-size: 11px; font-weight: 500;
    -webkit-tap-highlight-color: transparent; transition: color .2s;
  }
  .nav-baixo a .ic { width: 22px; height: 22px; transition: transform .35s var(--ease); }
  .nav-baixo a[aria-current="page"] { color: var(--texto); }
  .nav-baixo a[aria-current="page"] .ic { color: var(--destaque); transform: translateY(-1px); }
  .nav-baixo a[aria-current="page"]::before { content: ""; position: absolute; top: 4px; width: 36px; height: 30px; border-radius: 10px; background: var(--destaque-suave); z-index: -1; }
  .nav-baixo .contador-ponto { display: block; top: 8px; right: calc(50% - 16px); }
  .fab {
    display: grid; place-items: center; position: fixed; z-index: 31; right: 18px;
    bottom: calc(var(--altura-nav) + var(--seguro-baixo) + 18px);
    width: 56px; height: 56px; border-radius: 18px; border: 0;
    background: var(--destaque); color: var(--destaque-texto); box-shadow: var(--sombra-3);
    transition: transform .25s var(--ease);
  }
  .fab:active { transform: scale(.94); }
  .principal .busca-botao kbd, .so-pc { display: none; }
  .principal .cabecalho { display: none; }
  .agenda-barra h2.titulo-lista { display: none; }
  .filtros { margin-top: 6px; }
  .fab .ic { width: 24px; height: 24px; }
}

/* ---------- elementos comuns ---------- */
.cabecalho { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 22px; flex-wrap: wrap; }
.cabecalho h1 { margin: 0; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.03em; font-weight: 650; line-height: 1.1; }
.cabecalho .sub { color: var(--suave); margin-top: 4px; font-size: 14px; }
.cabecalho-acoes { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 15px; border-radius: 11px; border: 1px solid var(--borda);
  background: var(--superficie); color: var(--texto); font-weight: 550; font-size: 14px; white-space: nowrap;
  box-shadow: var(--sombra-1); transition: transform .15s var(--ease), background .2s, border-color .2s, box-shadow .2s;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.botao:hover { border-color: var(--borda-forte); }
.botao:active { transform: translateY(1px) scale(.985); }
.botao.primario { background: var(--destaque); border-color: transparent; color: var(--destaque-texto); box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, var(--sombra-1); }
.botao.primario:hover { background: var(--destaque-hover); }
.botao.fantasma { background: transparent; border-color: transparent; box-shadow: none; color: var(--texto-2); }
.botao.fantasma:hover { background: var(--fundo-2); }
.botao.perigo { color: var(--perigo); }
.botao.icone { width: 40px; padding: 0; }
.botao.pequeno { min-height: 32px; padding: 0 11px; font-size: 13px; border-radius: 9px; }
.botao.pequeno.icone { width: 32px; }
.botao[disabled] { opacity: .5; pointer-events: none; }
@media (max-width: 767px) { .botao { min-height: 44px; } .botao.icone { width: 44px; } }

.segmentos { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--fundo-2); border: 1px solid var(--borda); position: relative; }
.segmentos button {
  position: relative; z-index: 1; border: 0; background: transparent; padding: 7px 13px; border-radius: 9px;
  font-size: 13.5px; font-weight: 550; color: var(--suave); transition: color .2s;
}
.segmentos button[aria-pressed="true"] { color: var(--texto); background: var(--superficie); box-shadow: var(--sombra-1); }

.campo-busca { position: relative; flex: 1; min-width: 0; }
.campo-busca .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--suave); pointer-events: none; }
.campo-busca input[type=search] { width: 100%; padding-left: 38px; }

input[type=text], input[type=search], input[type=email], input[type=tel], input[type=date], input[type=time], input[type=number], select, textarea {
  width: 100%; border: 1px solid var(--borda); background: var(--superficie); border-radius: 11px; padding: 10px 12px;
  outline: none; transition: border-color .2s, box-shadow .2s; min-height: 42px; font-size: 15px;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--destaque); box-shadow: 0 0 0 3px color-mix(in srgb, var(--destaque) 16%, transparent); }
input::placeholder, textarea::placeholder { color: var(--suave); opacity: .8; }
@media (max-width: 767px) { input, select, textarea { font-size: 16px !important; } }

.etiqueta { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 550; padding: 2px 9px; border-radius: 99px; background: var(--fundo-2); color: var(--texto-2); border: 1px solid var(--borda); white-space: nowrap; }
.etiqueta.cat { background: color-mix(in srgb, var(--cor) 13%, transparent); color: color-mix(in srgb, var(--cor) 80%, var(--texto)); border-color: color-mix(in srgb, var(--cor) 22%, transparent); }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--cor, var(--suave)); flex: none; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--borda); background: var(--superficie); border-radius: 99px; padding: 5px 12px; font-size: 13px; font-weight: 500; color: var(--texto-2); transition: all .2s; }
.chip[aria-pressed="true"] { background: var(--texto); color: var(--fundo); border-color: var(--texto); }

.painel { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio-g); box-shadow: var(--sombra-1); }
.secao { margin-bottom: 28px; }
.secao-titulo { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--suave); text-transform: uppercase; letter-spacing: .06em; }
.secao-titulo .num { margin-left: auto; text-transform: none; letter-spacing: 0; }
.secao-titulo.alerta { color: var(--perigo); }

/* entrada em cascata */
.cascata > * { animation: sobe .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes sobe { from { opacity: 0; transform: translateY(8px); } }
.vista { animation: aparece .35s var(--ease) both; }
@keyframes aparece { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- Hoje ---------- */
.saudacao { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; margin: 4px 0 22px; }
.saudacao h1 { margin: 0; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.035em; font-weight: 650; line-height: 1.08; }
.saudacao .data { color: var(--suave); margin-top: 6px; font-size: 14.5px; }
.balao {
  display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 14px 10px 10px; width: fit-content; max-width: 100%;
  background: var(--superficie); border: 1px solid var(--borda); border-radius: 16px 16px 16px 6px; box-shadow: var(--sombra-1);
}
.balao img { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.balao p { margin: 0; font-size: 14px; color: var(--texto-2); }
.balao b { color: var(--texto); }
.hoje-grade { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 1099px) { .hoje-grade { grid-template-columns: minmax(0, 1fr); } }
.resumo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 26px; }
.resumo-item { padding: 14px 16px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--borda); box-shadow: var(--sombra-1); text-align: left; transition: transform .2s var(--ease), border-color .2s; }
.resumo-item:hover { transform: translateY(-2px); border-color: var(--borda-forte); }
.resumo-item .num { font-size: 26px; font-weight: 600; letter-spacing: -.04em; display: block; line-height: 1.1; }
.resumo-item span { font-size: 12.5px; color: var(--suave); }
.resumo-item.alerta .num { color: var(--perigo); }
@media (max-width: 767px) { .resumo { grid-template-columns: repeat(2, minmax(0, 1fr)); } .saudacao { grid-template-columns: minmax(0, 1fr); } }

/* lista de compromissos */
.lista { display: flex; flex-direction: column; background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio-g); box-shadow: var(--sombra-1); overflow: hidden; }
.linha-ev {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 13px 16px; border: 0; background: transparent; text-align: left; width: 100%;
  border-top: 1px solid var(--borda); transition: background .15s; position: relative;
}
.linha-ev:first-child { border-top: 0; }
.linha-ev:hover { background: var(--superficie-2); }
.linha-ev::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--cor); }
.linha-ev .quando { width: 58px; text-align: left; }
.linha-ev .quando b { display: block; font: 600 14px "Geist Mono", monospace; letter-spacing: -.02em; }
.linha-ev .quando small { display: block; font-size: 11.5px; color: var(--suave); }
.linha-ev .titulo { font-weight: 550; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
.linha-ev .meta { display: flex; gap: 10px; align-items: center; color: var(--suave); font-size: 12.5px; margin-top: 3px; flex-wrap: wrap; }
.linha-ev .meta span { display: inline-flex; gap: 4px; align-items: center; min-width: 0; }
.linha-ev.feito .titulo { text-decoration: line-through; color: var(--suave); }
.linha-ev.atrasado .quando b { color: var(--perigo); }
.marcar {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--borda-forte); background: transparent;
  display: grid; place-items: center; color: transparent; transition: all .2s var(--ease); flex: none;
}
.marcar:hover { border-color: var(--verde); color: var(--verde); }
.marcar.ok { background: var(--verde); border-color: var(--verde); color: #fff; }
.marcar .ic { width: 14px; height: 14px; stroke-width: 2.5; }
.lembrete-ativo { color: var(--destaque) !important; font-weight: 600; }
.lembrete-ativo .ic { animation: balanca 1.2s ease-in-out infinite; transform-origin: top center; }
@keyframes balanca { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(12deg); } 75% { transform: rotate(-12deg); } }

/* cartões laterais */
.cartao { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio-g); padding: 16px; box-shadow: var(--sombra-1); }
.cartao + .cartao { margin-top: 14px; }
.cartao h3 { margin: 0 0 10px; font-size: 13px; color: var(--suave); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mini-item { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--borda); background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; text-align: left; }
.mini-item:first-of-type { border-top: 0; }
.mini-item .ic { color: var(--suave); margin-top: 2px; }
.mini-item b { font-weight: 550; font-size: 14px; display: block; line-height: 1.35; }
.mini-item small { color: var(--suave); font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.mini-item > div { min-width: 0; }

/* vazio */
.vazio { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px; border: 1px dashed var(--borda-forte); border-radius: var(--raio-g); background: var(--superficie-2); }
.vazio img { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 0 3px var(--fundo), 0 0 0 4.5px var(--amarelo); }
.vazio b { display: block; font-size: 15.5px; letter-spacing: -.01em; }
.vazio p { margin: 4px 0 12px; color: var(--suave); font-size: 14px; }
.vazio.compacto { padding: 14px 16px; grid-template-columns: minmax(0, 1fr); color: var(--suave); font-size: 14px; }

/* ---------- Agenda ---------- */
.agenda-barra { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.agenda-barra h2 { margin: 0 6px; font-size: 20px; letter-spacing: -.025em; font-weight: 620; min-width: 0; }
.agenda-barra h2 span { color: var(--suave); font-weight: 450; }
.agenda-barra .esp { flex: 1; }
@media (max-width: 767px) {
  .agenda-barra .segmentos { order: 5; width: 100%; }
  .agenda-barra .segmentos button { flex: 1; }
  .agenda-barra h2 { font-size: 18px; flex: 1; }
}

.mes { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio-g); overflow: hidden; box-shadow: var(--sombra-1); }
.mes-cab { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--borda); }
.mes-cab div { padding: 10px 10px; font-size: 12px; font-weight: 600; color: var(--suave); text-transform: uppercase; letter-spacing: .05em; }
.mes-grade { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: minmax(116px, auto); }
.dia {
  border-right: 1px solid var(--borda); border-bottom: 1px solid var(--borda); padding: 6px; min-width: 0;
  display: flex; flex-direction: column; gap: 3px; background: transparent; text-align: left; border-top: 0; border-left: 0;
  transition: background .15s; cursor: pointer;
}
.dia:nth-child(7n) { border-right: 0; }
.dia:hover { background: var(--superficie-2); }
.dia.fora { background: var(--fundo-2); }
.dia.fora .dia-num { color: var(--suave); opacity: .6; }
.dia-num { font: 550 12.5px "Geist Mono", monospace; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 2px; }
.dia.hoje .dia-num { background: var(--amarelo); color: #1d1b18; font-weight: 700; }
.ev-chip {
  display: flex; align-items: center; gap: 5px; font-size: 12px; padding: 3px 6px; border-radius: 6px; min-width: 0;
  background: color-mix(in srgb, var(--cor) 12%, transparent); color: var(--texto); border: 0; text-align: left; width: 100%;
  transition: transform .15s var(--ease);
}
.ev-chip:hover { transform: translateX(1px); background: color-mix(in srgb, var(--cor) 20%, transparent); }
.ev-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-chip .h { font: 500 11px "Geist Mono", monospace; color: var(--suave); flex: none; }
.ev-chip.feito span { text-decoration: line-through; opacity: .6; }
.ev-chip.dia-inteiro { background: var(--cor); color: #fff; }
.ev-chip.dia-inteiro .ponto { display: none; }
.mais { font-size: 11.5px; color: var(--suave); padding-left: 6px; }
@media (max-width: 767px) {
  .mes-grade { grid-auto-rows: minmax(54px, auto); }
  .dia { padding: 4px 2px; align-items: center; }
  .dia .ev-chip, .dia .mais { display: none; }
  .dia-pontos { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; }
  .mes-cab div { padding: 8px 0; text-align: center; font-size: 11px; }
}
@media (min-width: 768px) { .dia-pontos { display: none; } }
.dia.selecionado { background: var(--destaque-suave); }

/* semana / dia (grade de horas) */
.grade-horas { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio-g); overflow: hidden; box-shadow: var(--sombra-1); }
.gh-cab, .gh-inteiro { overflow-y: hidden; scrollbar-gutter: stable; }
.gh-cab { display: grid; border-bottom: 1px solid var(--borda); }
.gh-cab .gh-dia { padding: 10px 8px; text-align: center; border-left: 1px solid var(--borda); background: none; border-top: 0; border-right: 0; border-bottom: 0; }
.gh-cab .gh-dia small { display: block; font-size: 11.5px; color: var(--suave); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.gh-cab .gh-dia b { font: 600 18px "Geist Mono", monospace; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-top: 2px; }
.gh-cab .gh-dia.hoje b { background: var(--amarelo); color: #1d1b18; }
.gh-inteiro { display: grid; border-bottom: 1px solid var(--borda); min-height: 8px; }
.gh-inteiro > div { border-left: 1px solid var(--borda); padding: 4px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gh-inteiro .rot { font-size: 11px; color: var(--suave); border-left: 0; justify-content: center; text-align: right; padding-right: 8px; }
.gh-corpo { position: relative; overflow-y: auto; max-height: min(68dvh, 760px); scrollbar-gutter: stable; scrollbar-width: thin; }
.gh-linhas { display: grid; position: relative; }
.gh-hora { height: 52px; font: 500 11px "Geist Mono", monospace; color: var(--suave); text-align: right; padding-right: 8px; transform: translateY(-7px); }
.gh-col { position: relative; border-left: 1px solid var(--borda); background-image: linear-gradient(var(--borda) 1px, transparent 1px); background-size: 100% 52px; }
.gh-ev {
  position: absolute; left: 3px; right: 3px; border-radius: 8px; padding: 4px 7px; overflow: hidden; text-align: left;
  background: color-mix(in srgb, var(--cor) 16%, var(--superficie)); border: 0; border-left: 3px solid var(--cor);
  font-size: 12px; line-height: 1.3; color: var(--texto); transition: box-shadow .2s, transform .2s var(--ease);
}
.gh-ev:hover { box-shadow: var(--sombra-2); transform: translateY(-1px); z-index: 2; }
.gh-ev b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-ev small { font: 500 11px "Geist Mono", monospace; color: var(--suave); }
.agora-linha { position: absolute; left: 0; right: 0; height: 2px; background: var(--destaque); z-index: 3; pointer-events: none; }
.agora-linha::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--destaque); }

/* lista (agenda) */
.dia-grupo { margin-bottom: 18px; }
.dia-grupo-cab { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px 4px; }
.dia-grupo-cab b { font-size: 15px; letter-spacing: -.01em; }
.dia-grupo-cab span { font-size: 13px; color: var(--suave); }
.dia-grupo-cab.hoje b::after { content: "Hoje"; margin-left: 8px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--amarelo); color: #1d1b18; vertical-align: 2px; }

/* ---------- Notas / Detalhes ---------- */
.filtros { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.filtros .campo-busca { min-width: 220px; }
.mosaico { columns: 3 280px; column-gap: 14px; }
.nota {
  break-inside: avoid; margin-bottom: 14px; width: 100%; display: block; text-align: left;
  background: var(--superficie); border: 1px solid var(--borda); border-radius: 18px; padding: 16px 16px 14px;
  box-shadow: var(--sombra-1); transition: transform .25s var(--ease), box-shadow .25s, border-color .2s; position: relative;
}
.nota:hover { transform: translateY(-2px); box-shadow: var(--sombra-2); border-color: var(--borda-forte); }
.nota h4 { margin: 0 0 6px; font-size: 15.5px; letter-spacing: -.015em; line-height: 1.3; padding-right: 26px; }
.nota p { margin: 0 0 10px; color: var(--texto-2); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.nota .rodape { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nota .rodape time { margin-left: auto; font-size: 11.5px; color: var(--suave); }
.nota .pino { position: absolute; top: 14px; right: 14px; color: var(--destaque); }
.nota.detalhe { border-left: 4px solid var(--amarelo); }
.nota.detalhe h4 { display: flex; gap: 8px; align-items: flex-start; }
mark { background: var(--amarelo-suave); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- Contatos ---------- */
.contatos-grade { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1099px) { .contatos-grade { grid-template-columns: minmax(0, 1fr); } .contato-painel { display: none; } }
.letra { font: 600 12px "Geist Mono", monospace; color: var(--suave); padding: 10px 16px 4px; background: var(--superficie-2); border-top: 1px solid var(--borda); }
.letra:first-child { border-top: 0; }
.linha-contato { display: flex; gap: 12px; align-items: center; padding: 11px 16px; width: 100%; border: 0; background: transparent; text-align: left; border-top: 1px solid var(--borda); transition: background .15s; }
.linha-contato:hover, .linha-contato[aria-current="true"] { background: var(--superficie-2); }
.iniciais { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 650; font-size: 14px; flex: none; color: var(--cor); background: color-mix(in srgb, var(--cor) 14%, transparent); letter-spacing: -.02em; }
.iniciais.g { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; }
.linha-contato b { display: block; font-weight: 550; }
.linha-contato small { color: var(--suave); font-size: 12.5px; }
.linha-contato > div { min-width: 0; flex: 1; }
.linha-contato b, .linha-contato small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.contato-painel { position: sticky; top: 24px; padding: 24px; }

/* ficha (detalhe de evento / contato) */
.ficha-topo { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.ficha-topo h2 { margin: 0; font-size: 20px; letter-spacing: -.025em; line-height: 1.2; }
.ficha-topo p { margin: 3px 0 0; color: var(--suave); font-size: 14px; }
.acoes-rapidas { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; margin-bottom: 18px; }
.acao-rapida { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; background: var(--fundo-2); border: 1px solid var(--borda); text-decoration: none; font-size: 12.5px; font-weight: 550; color: var(--texto); transition: transform .15s var(--ease), background .2s; }
.acao-rapida .ic { color: var(--destaque); }
.acao-rapida:hover { background: var(--superficie-2); }
.acao-rapida:active { transform: scale(.97); }
.dados { display: flex; flex-direction: column; }
.dado { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--borda); }
.dado:first-child { border-top: 0; }
.dado > .ic { color: var(--suave); margin-top: 2px; }
.dado small { display: block; font-size: 12px; color: var(--suave); }
.dado .valor { overflow-wrap: anywhere; white-space: pre-wrap; }
.checklist { display: flex; flex-direction: column; gap: 2px; }
.check { display: flex; gap: 10px; align-items: center; padding: 6px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--verde); flex: none; margin: 0; min-height: 0; }
.check.ok span { text-decoration: line-through; color: var(--suave); }
.pilula-status { display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; }
.pilula-status.pendente { background: var(--amarelo-suave); color: color-mix(in srgb, var(--amarelo) 55%, var(--texto)); }
.pilula-status.feito { background: color-mix(in srgb, var(--verde) 14%, transparent); color: var(--verde); }
.pilula-status.agendar { background: var(--destaque-suave); color: var(--destaque); }

/* ---------- Modal / folha ---------- */
.fundo-modal { position: fixed; inset: 0; z-index: 60; background: rgb(20 16 10 / .38); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fundoEntra .25s ease both; }
.fundo-modal.saindo { animation: fundoSai .2s ease both; }
@keyframes fundoEntra { from { opacity: 0; } }
@keyframes fundoSai { to { opacity: 0; } }
.folha {
  position: fixed; z-index: 61; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(600px, calc(100vw - 32px)); max-height: min(88dvh, 860px); display: flex; flex-direction: column;
  background: var(--superficie); border: 1px solid var(--borda); border-radius: 22px; box-shadow: var(--sombra-3);
  animation: folhaEntra .35s var(--ease) both;
}
.folha.larga { width: min(680px, calc(100vw - 32px)); }
.folha.saindo { animation: folhaSai .2s ease both; }
@keyframes folhaEntra { from { opacity: 0; transform: translate(-50%, -48%) scale(.97); } }
@keyframes folhaSai { to { opacity: 0; transform: translate(-50%, -49%) scale(.98); } }
.folha-cab { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px 22px; border-bottom: 1px solid var(--borda); }
.folha-cab h2 { margin: 0; font-size: 17px; letter-spacing: -.02em; flex: 1; min-width: 0; }
.folha-corpo { padding: 18px 22px; overflow-y: auto; overscroll-behavior: contain; }
.folha-pe { display: flex; gap: 8px; padding: 12px 18px calc(12px + var(--seguro-baixo)); border-top: 1px solid var(--borda); justify-content: flex-end; flex-wrap: wrap; }
.folha-pe .esq { margin-right: auto; }
.alca { display: none; }
@media (max-width: 767px) {
  .folha, .folha.larga {
    left: 0; right: 0; top: auto; bottom: 0; width: 100%; transform: none; max-height: 94dvh;
    border-radius: 22px 22px 0 0; border-bottom: 0; animation: folhaSobe .4s var(--ease) both;
  }
  .folha.saindo { animation: folhaDesce .25s ease both; }
  @keyframes folhaSobe { from { transform: translateY(100%); } }
  @keyframes folhaDesce { to { transform: translateY(100%); } }
  .alca { display: block; width: 40px; height: 5px; border-radius: 99px; background: var(--borda-forte); margin: 8px auto 0; }
  .folha-cab { padding: 8px 12px 10px 18px; }
  .folha-corpo { padding: 16px 18px; }
  .folha-pe .botao { flex: 1; }
  .folha-pe .esq { flex: 0 0 auto; }
}

/* formulário */
.form { display: flex; flex-direction: column; gap: 16px; }
.grupo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.grupo > label, .grupo > .rotulo { font-size: 13px; font-weight: 600; color: var(--texto-2); }
.grupo .ajuda { font-size: 12.5px; color: var(--suave); }
.grupo .erro { font-size: 12.5px; color: var(--perigo); }
.linha2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .linha2 { grid-template-columns: minmax(0, 1fr); } }
.titulo-grande { font-size: 18px !important; font-weight: 600; letter-spacing: -.015em; }
.alternar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--borda); border-radius: 12px; background: var(--superficie-2); cursor: pointer; }
.alternar span { font-weight: 550; font-size: 14px; }
.alternar small { display: block; color: var(--suave); font-size: 12.5px; font-weight: 400; }
.chave { appearance: none; width: 44px; height: 26px; border-radius: 99px; background: var(--borda-forte); position: relative; transition: background .25s; flex: none; margin: 0; cursor: pointer; min-height: 0; border: 0; padding: 0; }
.chave::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .3s var(--ease); }
.chave:checked { background: var(--verde); }
.chave:checked::after { transform: translateX(18px); }
.cores { display: flex; gap: 8px; flex-wrap: wrap; }
.cor-opcao { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 9px; border-radius: 99px; border: 1px solid var(--borda); background: var(--superficie); font-size: 13px; font-weight: 550; cursor: pointer; transition: all .2s; }
.cor-opcao input { display: none; }
.cor-opcao:has(input:checked) { border-color: var(--cor); background: color-mix(in srgb, var(--cor) 12%, transparent); box-shadow: inset 0 0 0 1px var(--cor); }
.lista-editavel { display: flex; flex-direction: column; gap: 6px; }
.lista-editavel .item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.lista-editavel .item.fone { grid-template-columns: minmax(0, 110px) minmax(0, 1fr) auto; }
.lista-editavel input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--verde); min-height: 0; margin: 0 4px; }

/* ---------- busca (Ctrl+K) ---------- */
.paleta { position: fixed; z-index: 70; left: 50%; top: 12vh; transform: translateX(-50%); width: min(640px, calc(100vw - 24px)); background: var(--superficie); border: 1px solid var(--borda); border-radius: 18px; box-shadow: var(--sombra-3); overflow: hidden; animation: paletaEntra .25s var(--ease) both; }
@keyframes paletaEntra { from { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(.98); } }
.paleta-campo { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--borda); }
.paleta-campo input { border: 0; box-shadow: none !important; padding: 0; min-height: 30px; font-size: 16px; background: transparent; }
.paleta-res { max-height: min(56dvh, 480px); overflow-y: auto; padding: 6px; }
.paleta-grupo { font-size: 11.5px; font-weight: 600; color: var(--suave); text-transform: uppercase; letter-spacing: .06em; padding: 10px 10px 4px; }
.paleta-item { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px; border-radius: 10px; border: 0; background: transparent; text-align: left; }
.paleta-item[aria-selected="true"] { background: var(--fundo-2); }
.paleta-item .ic { color: var(--suave); }
.paleta-item b { font-weight: 550; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.paleta-item small { color: var(--suave); font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.paleta-item > div { min-width: 0; flex: 1; }
.paleta-pe { display: flex; gap: 14px; padding: 9px 16px; border-top: 1px solid var(--borda); font-size: 12px; color: var(--suave); }
.paleta-pe kbd { font: 500 11px "Geist Mono", monospace; padding: 1px 5px; border-radius: 5px; background: var(--fundo-2); border: 1px solid var(--borda); }
@media (max-width: 767px) { .paleta { top: calc(8px + var(--seguro-topo)); } .paleta-pe { display: none; } }

/* ---------- avisos (toasts) ---------- */
#avisos { position: fixed; z-index: 90; left: 50%; transform: translateX(-50%); bottom: 24px; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(460px, calc(100vw - 24px)); pointer-events: none; }
@media (max-width: 767px) { #avisos { bottom: calc(var(--altura-nav) + var(--seguro-baixo) + 16px); } }
.aviso { pointer-events: auto; display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 14px; background: var(--texto); color: var(--fundo); box-shadow: var(--sombra-3); font-size: 14px; font-weight: 500; animation: avisoEntra .4s var(--ease) both; width: fit-content; max-width: 100%; }
.aviso.saindo { animation: avisoSai .25s ease both; }
.aviso.lembrete { background: var(--superficie); color: var(--texto); border: 1px solid var(--borda); border-left: 4px solid var(--destaque); width: 100%; align-items: flex-start; }
.aviso.lembrete img { width: 36px; height: 36px; border-radius: 50%; }
.aviso.lembrete small { display: block; color: var(--suave); font-weight: 400; }
.aviso button { margin-left: auto; }
@keyframes avisoEntra { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes avisoSai { to { opacity: 0; transform: translateY(8px); } }

/* ---------- esqueleto ---------- */
.esq-bloco { border-radius: 14px; background: linear-gradient(90deg, var(--fundo-2) 0%, var(--superficie-2) 50%, var(--fundo-2) 100%); background-size: 200% 100%; animation: brilho 1.4s ease-in-out infinite; }
@keyframes brilho { to { background-position: -200% 0; } }

/* ---------- ajustes ---------- */
.ajustes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 899px) { .ajustes { grid-template-columns: minmax(0, 1fr); } }
.ajustes .cartao + .cartao { margin-top: 0; }
.ajustes .cartao h3 { margin-bottom: 4px; }
.ajustes .cartao p { margin: 0 0 14px; color: var(--suave); font-size: 14px; }
.ajustes .acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.perfil { display: flex; gap: 12px; align-items: center; }
.perfil img { width: 44px; height: 44px; border-radius: 50%; }
.offline-faixa { display: flex; gap: 8px; align-items: center; padding: 8px 12px; margin-bottom: 14px; border-radius: 12px; background: var(--amarelo-suave); font-size: 13.5px; color: var(--texto-2); }

/* ---------- login: celular ---------- */
@media (max-width: 860px) {
  .login { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .login-arte { padding: 32px 24px 24px; min-height: 0; }
  .login-arte img { width: min(72vw, 320px); }
  .login-painel { padding: 28px 24px calc(32px + var(--seguro-baixo)); gap: 20px; }
}
