:root {
  /* Tema "Frutiger Aero": céu claro, verde vivo, vidro e brilho. */
  color-scheme: light;
  --bg: #e9f7fb;
  --surface: rgba(255, 255, 255, .42);
  --surface-solida: #ffffff;
  --surface-2: rgba(223, 244, 236, .55);
  --border: rgba(120, 190, 170, .45);
  --text: #12352c;
  --text-2: #3f6359;
  --muted: #6f8f86;
  --accent: #2fb24c;
  --accent-strong: #1a8a35;
  --accent-soft: #d6f5dc;
  --aqua: #2bb3e0;
  --bar: #2fb24c;
  --bar-muted: #a6e3b3;
  --grid: rgba(120, 190, 170, .25);
  --good: #1a8a35;
  --critical: #d64545;
  --shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 8px 24px rgba(30, 110, 120, .12), 0 1px 3px rgba(30, 110, 120, .1);
  --radius: 20px;
  --brilho-verde: linear-gradient(180deg, #7fe08f 0%, #3cc257 48%, #22a33f 52%, #2fb24c 100%);
  --brilho-aqua: linear-gradient(180deg, #8fe3ff 0%, #3fc0ea 48%, #1aa3d6 52%, #2bb3e0 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 "Nunito", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.side {
  background: var(--surface); border-right: 1px solid var(--border);
  padding: 20px 14px; display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 0; height: 100vh;
}
.brand { font-weight: 700; font-size: 17px; padding: 4px 10px 18px; letter-spacing: -.01em; }
.brand span { color: var(--accent); }
.nav a {
  display: block; padding: 9px 12px; border-radius: 8px; color: var(--text-2);
  text-decoration: none; font-weight: 500;
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.ativo { background: var(--accent-soft); color: var(--accent-strong); }
.side .rodape { margin-top: auto; padding: 10px; font-size: 13px; color: var(--muted); }
.side .rodape strong { display: block; color: var(--text-2); font-weight: 600; }
.main { padding: 28px 32px 60px; max-width: 1120px; width: 100%; }

.topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.topo h1 { font-size: 24px; margin: 0; letter-spacing: -.02em; }

@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .side {
    position: sticky; top: 0; height: auto; z-index: 5; flex-direction: row; align-items: center;
    border-right: 0; border-bottom: 1px solid var(--border); padding: 10px 16px; overflow-x: auto;
  }
  .brand { padding: 0 10px 0 0; font-size: 15px; white-space: nowrap; }
  .nav { display: flex; gap: 2px; }
  .nav a { padding: 7px 10px; white-space: nowrap; }
  .side .rodape { margin: 0 0 0 auto; padding: 0; }
  .side .rodape strong { display: none; }
  .main { padding: 20px 16px 60px; }
}

/* ---------- componentes ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
}
.card h2 { font-size: 15px; margin: 0 0 14px; font-weight: 600; }
.grid-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 960px) { .grid-tiles { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }

.tile .rotulo { font-size: 13px; color: var(--text-2); }
.tile .valor { font-size: 26px; font-weight: 650; letter-spacing: -.02em; margin-top: 4px; }
.tile .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.delta-sobe { color: var(--critical); }
.delta-desce { color: var(--good); }

.btn {
  border: 1px solid var(--border); background: var(--surface); padding: 8px 14px; border-radius: 8px;
  cursor: pointer; font-weight: 500; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn.primario { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primario:hover { filter: brightness(1.07); }
.btn.perigo { color: var(--critical); }
.btn.pequeno { padding: 4px 10px; font-size: 13px; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-icone { border: 0; background: none; cursor: pointer; padding: 6px 8px; border-radius: 6px; color: var(--text-2); }
.btn-icone:hover { background: var(--surface-2); color: var(--text); }

label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 5px; font-weight: 500; }
input, select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
input[type="color"] { padding: 2px; height: 38px; width: 56px; }
.campo { margin-bottom: 14px; }
.linha { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.erro { color: var(--critical); font-size: 13.5px; min-height: 20px; margin-top: 4px; }

.seletor-mes { display: flex; align-items: center; gap: 6px; }
.seletor-mes .mes { min-width: 150px; text-align: center; font-weight: 600; }

/* ---------- login ---------- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login { width: 100%; max-width: 380px; }
.login h1 { font-size: 22px; margin: 0 0 4px; }
.login p.sub { color: var(--text-2); margin: 0 0 20px; font-size: 14px; }
.login .btn { width: 100%; padding: 10px; }
.login .troca { text-align: center; margin-top: 14px; font-size: 14px; }
.link { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; }

/* ---------- gráficos ---------- */
.barras-h { display: flex; flex-direction: column; gap: 10px; }
.barra-h { display: grid; grid-template-columns: 130px 1fr 100px; align-items: center; gap: 10px; font-size: 13.5px; position: relative; }
.barra-h .nome { display: flex; align-items: center; gap: 7px; color: var(--text-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.barra-h .trilho { height: 10px; position: relative; }
.barra-h .preenchido { height: 100%; background: var(--bar); border-radius: 0 4px 4px 0; min-width: 2px; }
.barra-h .val { text-align: right; color: var(--text); }
.barra-h:hover .preenchido { background: var(--accent-strong); }
.ponto { width: 9px; height: 9px; border-radius: 50%; flex: none; }

.colunas { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding-top: 8px; border-bottom: 1px solid var(--grid); position: relative; }
.coluna { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; cursor: default; }
.coluna .b { width: 100%; max-width: 44px; background: var(--bar-muted); border-radius: 4px 4px 0 0; min-height: 2px; }
.coluna.atual .b { background: var(--bar); }
.coluna:hover .b { background: var(--accent-strong); }
.eixo-x { display: flex; gap: 10px; margin-top: 6px; }
.eixo-x span { flex: 1; text-align: center; font-size: 12px; color: var(--muted); text-transform: capitalize; }
.eixo-x span.atual { color: var(--text); font-weight: 600; }

.tooltip {
  position: fixed; pointer-events: none; z-index: 50; background: var(--text); color: var(--surface);
  padding: 6px 9px; border-radius: 6px; font-size: 12.5px; white-space: nowrap; opacity: 0; transition: opacity .1s;
}
.tooltip.vis { opacity: 1; }
.vazio { color: var(--muted); font-size: 14px; padding: 18px 0; text-align: center; }

/* ---------- tabela ---------- */
.filtros { display: grid; grid-template-columns: 150px 150px 190px 1fr; gap: 10px; margin-bottom: 14px; align-items: end; }
@media (max-width: 760px) { .filtros { grid-template-columns: 1fr 1fr; } }
.tabela-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 600; font-size: 12.5px; color: var(--text-2); padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 10px; border-bottom: 1px solid var(--grid); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.valor, th.valor { text-align: right; white-space: nowrap; }
td.acoes { text-align: right; white-space: nowrap; width: 1%; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.origem { font-size: 11.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 99px; padding: 1px 7px; }
.resumo-filtro { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-2); margin-bottom: 10px; }
.resumo-filtro strong { color: var(--text); }

/* ---------- modal ---------- */
.fundo-modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); display: grid; place-items: center; padding: 16px; z-index: 40; }
.modal { width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; }
.modal h2 { font-size: 18px; margin-bottom: 18px; }
.modal .botoes { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }

#toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--text); color: var(--surface); padding: 9px 16px; border-radius: 8px; font-size: 14px;
  transition: all .2s; pointer-events: none; z-index: 60;
}
#toast.vis { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- telegram ---------- */
.telegram p { margin: 0 0 12px; }
.telegram .sub-texto { color: var(--text-2); font-size: 14px; }
.telegram code { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; font-size: 13px; }
.vinculo { margin-top: 4px; }
.vinculo img { display: block; background: #fff; padding: 8px; border-radius: 10px; margin: 4px 0 14px; }
.vinculo ol { margin: 0 0 14px; padding-left: 20px; }
.vinculo li { margin-bottom: 4px; }
.comando { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.comando code { font-size: 14px; padding: 6px 10px; word-break: break-all; }
.aguardando { font-style: italic; }

/* ---------- anexos ---------- */
.anexos { list-style: none; margin: 0 0 8px; padding: 0; }
.anexos li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--grid); font-size: 14px; }
.anexos li a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.anexos .sub-texto { color: var(--muted); font-size: 12.5px; }
.anexo-chip { background: none; cursor: pointer; }
.anexo-chip:hover { border-color: var(--accent); color: var(--accent); }
input[type="file"] { padding: 7px; font-size: 13.5px; }

/* ---------- perguntar (IA) ---------- */
.chat { display: flex; flex-direction: column; height: calc(100vh - 150px); min-height: 420px; max-width: 760px; padding: 0; }
.mensagens { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; line-height: 1.5; font-size: 14.5px; }
.msg.eu { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg.ia { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg.pensando { color: var(--muted); font-style: italic; }
.sugestoes { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; }
.caixa { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); align-items: flex-end; }
.caixa textarea { resize: none; min-height: 40px; max-height: 140px; }
@media (max-width: 760px) { .chat { height: calc(100vh - 130px); } }

/* atalhos da IA */
.pergunte { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; margin-bottom: 18px; }
.pergunte-icone { font-size: 18px; }
.pergunte input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--text); outline: none; padding: 6px 0; }
.fab-ia {
  position: fixed; right: 22px; bottom: 22px; z-index: 20; display: flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.fab-ia:hover { filter: brightness(1.07); }
@media (max-width: 760px) { .fab-ia { right: 16px; bottom: 16px; padding: 14px; } .fab-ia span { display: none; } }

/* comprovantes */
.ler-comprovante {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer;
  border: 1.5px dashed var(--accent); background: var(--accent-soft); color: var(--text); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 14px; font: inherit; font-size: 14px;
}
.ler-comprovante:hover { filter: brightness(1.03); }
.ler-comprovante.lendo { opacity: .75; cursor: progress; }
.ler-comprovante.lido { border-style: solid; }
.chips-meses { display: flex; gap: 6px; flex-wrap: wrap; margin: -8px 0 16px; }
.chip-mes { border: 1px solid var(--border); background: var(--surface); color: var(--text-2); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; text-transform: capitalize; }
.chip-mes span { color: var(--muted); margin-left: 4px; }
.chip-mes.ativo { background: var(--accent-soft); color: var(--accent-strong); border-color: transparent; }
.resumo-comp { margin: 0 0 6px; }
h2.dia { font-size: 14px; font-weight: 600; color: var(--text-2); margin: 22px 0 10px; }
.grade-comprovantes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.comprovante { padding: 0; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .1s; }
.comprovante:hover { transform: translateY(-2px); }
.comprovante .mini { height: 150px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.comprovante .mini img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.comprovante .mini-icone { font-size: 38px; flex-direction: column; gap: 2px; }
.comprovante .mini-icone span { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .05em; }
.comprovante .info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
.comprovante .linha-1 { display: flex; justify-content: space-between; gap: 8px; }
.comprovante .linha-1 strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.comprovante .ponto { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
@media (max-width: 760px) { .grade-comprovantes { grid-template-columns: 1fr 1fr; } .comprovante .mini { height: 120px; } }
.comprovante .sub-texto, .resumo-comp { color: var(--muted); font-size: 13px; }


/* =========================================================
   Frutiger Aero: fundo de céu, vidro, botões com brilho
   ========================================================= */
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 88%, rgba(255, 255, 255, .75) 0 38px, rgba(255, 255, 255, .25) 39px, transparent 41px),
    radial-gradient(circle at 7% 76%, rgba(255, 255, 255, .6) 0 16px, transparent 17px),
    radial-gradient(circle at 93% 12%, rgba(255, 255, 255, .6) 0 60px, rgba(255, 255, 255, .25) 61px, transparent 63px),
    radial-gradient(circle at 85% 27%, rgba(255, 255, 255, .5) 0 22px, transparent 23px),
    radial-gradient(circle at 48% 8%, rgba(255, 255, 255, .45) 0 12px, transparent 13px),
    radial-gradient(circle at 62% 92%, rgba(255, 255, 255, .5) 0 28px, transparent 29px),
    radial-gradient(ellipse 60% 35% at 20% 35%, rgba(43, 179, 224, .35), transparent 70%),
    radial-gradient(ellipse 55% 40% at 80% 60%, rgba(60, 200, 110, .35), transparent 70%),
    radial-gradient(ellipse 90% 45% at 50% 112%, rgba(90, 210, 100, .6), transparent 70%),
    linear-gradient(180deg, #a9e2ff 0%, #d8f3ff 35%, #eafff0 70%, #c8f0c8 100%);
  background-attachment: fixed;
}
h1 { color: #0f5a3a; text-shadow: 0 1px 0 rgba(255, 255, 255, .9); font-weight: 800; }

/* vidro */
.card, .side {
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: var(--shadow);
}
.card { border-radius: var(--radius); position: relative; }
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 46%; border-radius: var(--radius) var(--radius) 50% 50% / var(--radius) var(--radius) 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0)); pointer-events: none;
}
.card > * { position: relative; }
.comprovante::before { display: none; }

/* menu lateral */
.side { border-radius: 0 24px 24px 0; border-left: 0; margin: 12px 0; height: calc(100vh - 24px); top: 12px; }
.brand { color: #0f5a3a; font-weight: 800; }
.brand span { color: var(--accent); }
.nav a { border-radius: 14px; font-weight: 600; }
.nav a:hover { background: rgba(255, 255, 255, .7); }
.nav a.ativo { background: var(--brilho-verde); color: #fff; text-shadow: 0 1px 1px rgba(0, 80, 20, .35); box-shadow: 0 2px 8px rgba(40, 160, 70, .35), inset 0 1px 0 rgba(255, 255, 255, .6); }
@media (max-width: 760px) { .side { border-radius: 0 0 22px 22px; margin: 0; height: auto; top: 0; } }

/* botões */
.btn { border-radius: 999px; padding: 8px 18px; background: linear-gradient(180deg, #ffffff, #e8f6f0); border-color: rgba(120, 190, 170, .6); box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(30, 110, 120, .12); font-weight: 600; }
.btn:hover { background: linear-gradient(180deg, #ffffff, #d9f2e6); }
.btn.primario, .fab-ia {
  background: var(--brilho-verde); border: 1px solid #1f9a3b; color: #fff; text-shadow: 0 1px 1px rgba(0, 80, 20, .4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 3px 10px rgba(40, 160, 70, .35);
}
.btn.primario:hover, .fab-ia:hover { filter: brightness(1.06) saturate(1.1); }
.btn.pequeno { padding: 5px 13px; }
.btn-icone { border-radius: 999px; }
.fab-ia { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 24px rgba(40, 160, 70, .45); }

/* campos */
input, select, textarea { border-radius: 14px; background: rgba(255, 255, 255, .9); border-color: rgba(120, 190, 170, .55); box-shadow: inset 0 1px 2px rgba(30, 110, 120, .08); }
input:focus, select:focus, textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(43, 179, 224, .2); }
.pergunte input { box-shadow: none; background: transparent; }
.pergunte { border-radius: 999px; }
.pergunte::before { border-radius: 999px; }

/* números em destaque */
.tile .valor { color: #0f5a3a; font-weight: 800; }

/* gráficos com brilho */
.barra-h .trilho { background: rgba(255, 255, 255, .6); border-radius: 999px; }
.barra-h .preenchido { border-radius: 999px; background: var(--brilho-verde); }
.coluna .b { border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #c9f0d1, #a6e3b3); }
.coluna.atual .b { background: var(--brilho-verde); }
.barra-h:hover .preenchido, .coluna:hover .b { background: var(--brilho-aqua); }

/* tabela, chips, modal, avisos */
.origem, .chip-mes { border-radius: 999px; background: rgba(255, 255, 255, .7); }
.chip-mes.ativo { background: var(--brilho-verde); color: #fff; }
.chip-mes.ativo span { color: rgba(255, 255, 255, .85); }
tr:hover td { background: rgba(255, 255, 255, .45); }
.fundo-modal { background: rgba(20, 80, 90, .25); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal { background: rgba(255, 255, 255, .9); }
.tooltip, #toast { background: #0f5a3a; color: #fff; border-radius: 12px; }
.ler-comprovante { border-radius: 16px; border-color: var(--accent); background: rgba(214, 245, 220, .8); }
.msg { border-radius: 18px; }
.msg.eu { background: var(--brilho-verde); text-shadow: 0 1px 1px rgba(0, 80, 20, .3); }
.msg.ia { background: rgba(255, 255, 255, .85); border: 1px solid rgba(120, 190, 170, .35); }
.vinculo img { border-radius: 16px; }
.telegram code { background: rgba(255, 255, 255, .8); border-radius: 8px; }
.comprovante .mini { background: rgba(223, 244, 236, .8); }

/* importar */
.importar .sub-texto { color: var(--text-2); font-size: 14px; margin: 0 0 12px; }
.colunas-modelo { font-size: 13.5px; margin-bottom: 10px; }
.colunas-modelo td { padding: 5px 8px; }
.colunas-modelo .sub-texto { font-size: 12px; margin: 0; color: var(--muted); }
.soltar {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  border: 2px dashed rgba(47, 178, 76, .55); border-radius: 18px; padding: 34px 16px; text-align: center;
  background: rgba(255, 255, 255, .35); color: var(--text-2); font-size: 14px; margin: 0; transition: background .15s;
}
.soltar:hover, .soltar.sobre { background: rgba(214, 245, 220, .7); border-color: var(--accent); }
.soltar input { display: none; }
.soltar-icone { font-size: 30px; }
.resumo-imp { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; font-size: 14px; color: var(--text-2); }
.resumo-imp b { color: var(--text); font-size: 16px; }
.txt-erro, .txt-erro b { color: var(--critical); }
.previa-tabela { max-height: 420px; overflow: auto; border-radius: 12px; }
.previa-tabela thead th { position: sticky; top: 0; background: rgba(240, 252, 245, .95); }
.st { font-size: 12.5px; white-space: nowrap; font-weight: 600; }
.st-ok { color: var(--good); }
.st-rep { color: var(--muted); }
.st-erro { color: var(--critical); }
tr.lin-rep td { opacity: .6; }
tr.lin-erro td { background: rgba(214, 69, 69, .06); }
.botoes-imp { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
a.btn { text-decoration: none; display: inline-block; }

/* escopo eu / grupo */
.topo-acoes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.escopo { display: flex; align-items: center; gap: 8px; }
.escopo select { width: auto; padding: 6px 10px; border-radius: 999px; font-size: 13.5px; }
.segmento { display: inline-flex; background: rgba(255, 255, 255, .55); border: 1px solid rgba(120, 190, 170, .5); border-radius: 999px; padding: 3px; }
.segmento button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--text-2); }
.segmento button.ativo { background: var(--brilho-verde); color: #fff; text-shadow: 0 1px 1px rgba(0, 80, 20, .35); box-shadow: 0 2px 6px rgba(40, 160, 70, .3); }
.pessoa { font-size: 12.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: rgba(43, 179, 224, .15); color: #0e6d8f; }
.pessoa.eu { background: rgba(47, 178, 76, .15); color: var(--accent-strong); }

/* meu grupo */
.grupo-vazio { max-width: 620px; text-align: center; padding: 34px 28px; }
.grupo-icone { font-size: 46px; }
.grupo-vazio .sub-texto, .grupo-rodape .sub-texto, #form-membro ~ * .sub-texto { color: var(--text-2); }
.sub-texto { color: var(--text-2); }
.linha-form { display: flex; gap: 8px; }
.grupo-vazio .linha-form { max-width: 420px; margin: 18px auto 0; }
.membros { display: flex; flex-direction: column; gap: 8px; }
.membro { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .7); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--brilho-aqua); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 2px 6px rgba(30, 140, 190, .3); flex: none; }
.membro-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.membro-info .sub-texto { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.membro-total { text-align: right; font-weight: 700; display: flex; flex-direction: column; }
.membro-total .sub-texto { font-size: 11.5px; font-weight: 400; }
.grupo-rodape { margin-top: 14px; display: flex; justify-content: flex-end; }
.credenciais { margin-top: 16px; padding: 14px; border-radius: 16px; background: rgba(214, 245, 220, .7); border: 1px solid rgba(47, 178, 76, .4); }
.credenciais pre { white-space: pre-wrap; background: rgba(255, 255, 255, .8); padding: 10px 12px; border-radius: 12px; font-size: 13px; margin: 8px 0; }
