/* ArtDots: console (admin). Complementa paginas.css. */

.pagina-console { max-width: 62rem; }

.portao { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.portao .btn { margin-top: 1rem; }

/* segmented toggle across the seven views: scrolls sideways on a phone
   instead of wrapping, so it stays a single row */
.console-seg { overflow-x: auto; overflow-y: hidden; flex-wrap: nowrap; margin-bottom: 1.2rem; -webkit-overflow-scrolling: touch; }
.console-seg .seg-btn { flex: 0 0 auto; padding-left: .9rem; padding-right: .9rem; }

.console-view.hidden { display: none; }

/* cards de totais */
.numeros-console { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.numeros-console .delta { color: var(--ok); font-weight: 600; }

.badge {
  display: inline-block;
  padding: .1rem .5rem;
  border-radius: 999px;
  background: var(--fill);
  font-size: .75rem;
  vertical-align: .15em;
}

/* 30-day bar chart, plain CSS */
.grafico {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 120px;
  padding: .6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.grafico .dia { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; position: relative; }
.grafico .dia .b { border-radius: 2px 2px 0 0; min-height: 2px; }
.grafico .dia .b.azul { background: var(--primary); }
.grafico .dia .b.verde { background: var(--tile-green); }
.grafico .dia .b.cinza { background: #d0d0d0; }
.grafico .dia .rot {
  position: absolute; bottom: -1.15rem; left: 0; right: 0;
  text-align: center; font-size: .6rem; color: var(--muted); white-space: nowrap;
}
.grafico { margin-bottom: 1.4rem; }
.legenda { font-size: .8rem; color: var(--muted); margin: 0; }
.legenda .pt { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 .25rem 0 .6rem; vertical-align: -.05em; }
.legenda .pt.azul { background: var(--primary); }
.legenda .pt.verde { background: var(--tile-green); }
.legenda .pt.cinza { background: #d0d0d0; }

/* tabelas */
.rolagem { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: .84rem; }
th, td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); position: sticky; top: 0; background: var(--card); }
tr:last-child td { border-bottom: none; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
.pill { display: inline-block; padding: .08rem .5rem; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.pill.ok { background: #d9f2e3; color: #1e7a48; }
.pill.neutra { background: var(--fill); color: #555; }
.pill.cinza { background: #ececec; color: var(--muted); }

/* origens: barras horizontais */
.origens { display: flex; flex-direction: column; gap: .45rem; }
.origens .linha { display: grid; grid-template-columns: 11rem 1fr 2.2rem; align-items: center; gap: .6rem; font-size: .85rem; }
.origens .trilho { height: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.origens .barra { height: 100%; background: var(--primary); border-radius: 999px; }
.origens .valor { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }

/* achados recentes */
.recentes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.recentes li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .8rem; font-size: .87rem; }
.recentes .quando { color: var(--muted); font-size: .76rem; }
.recentes .coment { color: #555; font-style: italic; }

/* ArtDots: fila de disputas, fotos recentes */
.fotos-recentes { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 4px; }
.fotos-recentes a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--fill); }
.fotos-recentes img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recentes .acoes { margin-top: .4rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.recentes .acoes button { font-size: .78rem; padding: .3rem .6rem; }

/* filter rows: search box, selects, above a table or a chip list */
.filtros-console { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.filtros-console input[type="text"],
.filtros-console select {
  min-height: 44px;
  padding: .4rem .7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .88rem;
}
.filtros-console input[type="text"] { flex: 1 1 14rem; }

/* pagination: Prev / page N / Next, buttons tall enough for a thumb */
.paginacao { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: .8rem 0; }
.paginacao .btn { min-height: 40px; }
.paginacao span { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* row actions inside a table cell: stack on a narrow screen, buttons stay tappable */
/* ações da linha num menu "..." (uma linha de altura; os botões empilhados
   deixavam a linha com quatro alturas) */
.acoes-tab { white-space: normal; position: relative; }
.menu-acoes { position: relative; display: inline-block; }
.menu-acoes summary { list-style: none; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; }
.menu-acoes summary::-webkit-details-marker { display: none; }
.menu-acoes summary svg { width: 18px; height: 18px; }
.menu-acoes[open] summary { border-color: var(--primary); color: var(--primary-ink, var(--primary)); }
.menu-acoes-lista { position: absolute; right: 0; top: 40px; z-index: 5; min-width: 180px; display: flex; flex-direction: column; gap: .3rem; padding: .45rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.menu-acoes-lista .btn { min-height: 40px; justify-content: flex-start; text-align: left; white-space: nowrap; }

/* tags / blocked words: chip list with an inline delete */
.chips-console { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.chip-console {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .3rem .4rem .3rem .7rem; font-size: .82rem;
}
.chip-console i { font-style: normal; color: var(--muted); font-size: .7rem; }
.chip-del {
  width: 22px; height: 22px; min-height: 0; line-height: 1; border-radius: 50%;
  border: none; background: var(--fill); color: var(--muted); cursor: pointer; font-size: .95rem;
}
.chip-del:hover { background: var(--hover); color: var(--ink); }

/* map of the last 50 finds */
.console-mapa { height: 320px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

/* latest photos: square thumbs with a small remove button in the corner */
.foto-item { position: relative; }
.foto-item .btn-remover-foto {
  position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; min-height: 0;
  border-radius: 50%; border: none; background: rgba(0, 0, 0, .55); color: #fff;
  font-size: 1rem; line-height: 1; cursor: pointer;
}

/* event log: type + JSON meta column, wraps instead of forcing a wide scroll */
.meta-col { white-space: normal; word-break: break-word; font-family: monospace; font-size: .76rem; color: var(--muted); }

/* health checks: a stoplight list, amber (never red, per brand rule) */
.saude-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.saude-lista li {
  display: flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .8rem; font-size: .87rem;
}
.saude-pill { flex: 0 0 auto; padding: .12rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.saude-ok .saude-pill { background: #d9f2e3; color: #1e7a48; }
.saude-warn .saude-pill { background: #fbe8cf; color: #8a5a1c; }
.saude-texto { flex: 1; }
.saude-n { flex: 0 0 auto; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 700; }

@media (max-width: 640px) {
  .rolagem table { font-size: .8rem; }
}

/* Fase V (039): capa e destaque na tabela de galerias; listas da Saúde */
.gal-capa-mini img { display: block; width: 64px; height: 36px; object-fit: cover; border-radius: 4px; background: var(--fill); }
.gal-destaque-form { display: flex; align-items: center; gap: .35rem; flex-wrap: nowrap; }
.gal-destaque-form input { font: inherit; font-size: .8rem; padding: .3rem .45rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.gal-destaque-nota { width: 12rem; }
/* round 11, Fase M (065): o resumo mensal da galeria, agora */
.gal-resumo { min-width: 14rem; }
.gal-resumo-estado { display: block; margin-top: .3rem; font-size: .75rem; line-height: 1.35; color: var(--muted); }
.gal-resumo-estado:empty { display: none; }
.saude-listas { margin-top: 1.6rem; }
.saude-itens { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; }
.saude-itens li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .75rem; }
.saude-vazio { color: var(--muted); font-size: .88rem; }
.saude-preenchido, .saude-motivo { margin-left: .4rem; color: var(--muted); font-size: .8rem; }
.saude-apagar-artista[disabled] { opacity: .5; cursor: not-allowed; }

/* Fase L (053): a limpeza semanal na Saúde */
.saude-limpeza { margin-top: 1.6rem; }
.saude-limpeza p { margin: .35rem 0; font-size: .9rem; }
.limpeza-fotos { margin: .4rem 0 .6rem; font-size: .85rem; }
.limpeza-fotos summary { cursor: pointer; color: var(--muted); }
.limpeza-fotos .saude-itens { margin-top: .4rem; }
.limpeza-fotos code { word-break: break-all; font-size: .78rem; }
.limpeza-acoes { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.limpeza-acoes button[disabled] { opacity: .5; cursor: wait; }

/* ---------------------------------------------------------------
   Fase K (D10, D11): /metrics e /backlog. Mesma anatomia das páginas do
   RaceLog+ (título, navegação de admin, seções em cartão com cabeçalho e
   nota), nas cores do ArtDots: branco, azul primário, verde só para "feito",
   âmbar para "fazendo", nunca vermelho. Tokens de styles.css (tema escuro junto).
   --------------------------------------------------------------- */
.pagina-k { max-width: 64rem; }
.portao-t { margin: 0 0 .4rem; font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.k-titulo { margin: 0; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.k-sub { margin: .2rem 0 1rem; color: var(--muted); font-size: .92rem; }
.k-nav { margin: 0 0 1.4rem; overflow-x: auto; flex-wrap: nowrap; }
.k-nav .seg-btn { flex: 0 0 auto; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1rem; }

.k-sec { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.k-sec + .k-sec { margin-top: 1.2rem; }
.k-sec-cab { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem .8rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.k-sec-cab h2 { margin: 0; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.k-sec-nota { font-size: .74rem; color: var(--muted); }
.k-sec > .rolagem, .k-sec > .k-aq, .k-sec > .k-vazio, .k-sec > .k-h3, .k-sec > .grafico { margin-left: 1rem; margin-right: 1rem; }
.k-sec > .rolagem { margin-bottom: 1rem; }
.k-h3 { margin: 1rem 0 .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.k-vazio { color: var(--muted); font-size: .88rem; margin: .8rem 0; }
.k-rodape { margin: 1rem 0 0; font-size: .78rem; color: var(--muted); text-align: right; }
.pagina-k .rolagem, .pagina-k th { background: var(--card); }

/* cartões de número */
.k-cartao { display: flex; flex-direction: column; gap: .2rem; padding: .85rem 1rem; min-width: 0; }
.k-rot { font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.k-n { font-size: 1.7rem; font-weight: 800; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.k-cartao-sub { font-size: .76rem; color: var(--muted); }
.k-cartoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); border-bottom: 1px solid var(--line); }
.k-cartoes .k-cartao + .k-cartao { border-left: 1px solid var(--line); }
.k-cartoes-2 { grid-template-columns: 1fr 1fr; border-bottom: 0; }

/* funil: passos com seta; no telefone, duas colunas sem seta */
.k-funil { display: flex; align-items: stretch; flex-wrap: wrap; }
.k-passo { flex: 1 1 8.5rem; min-width: 0; }
.k-passo .k-n { color: var(--primary-ink); }
.k-seta { display: flex; align-items: center; color: var(--line); font-size: 1.4rem; }
@media (max-width: 760px) {
  .k-funil { display: grid; grid-template-columns: 1fr 1fr; }
  .k-seta { display: none; }
  .k-passo { border-top: 1px solid var(--line); }
  .k-passo:nth-of-type(-n+2) { border-top: 0; }
  .k-passo:nth-of-type(2n) { border-left: 1px solid var(--line); }
  .k-cartoes .k-cartao + .k-cartao { border-left: 0; }
  .k-cartoes { grid-template-columns: 1fr 1fr; }
  .k-cartoes .k-cartao { border-top: 1px solid var(--line); }
  .k-cartoes .k-cartao:nth-child(-n+2) { border-top: 0; }
  .k-cartoes .k-cartao:nth-child(2n) { border-left: 1px solid var(--line); }
}

/* tráfego: o gráfico de barras do console e duas listas lado a lado */
.k-grafico { background: var(--card); margin-bottom: 1.6rem; }
.k-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.4rem; padding: 0 1rem .6rem; }
@media (max-width: 640px) { .k-duas { grid-template-columns: 1fr; } }
.k-lista { list-style: none; margin: 0; padding: 0; }
.k-lista li { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.k-lista li:last-child { border-bottom: 0; }
.k-lista-rot { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-lista-n { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }

/* aquisição: barras horizontais */
.k-aq { display: flex; flex-direction: column; gap: .5rem; padding: .9rem 0; }
.k-aq-linha { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr auto; align-items: center; gap: .7rem; font-size: .86rem; }
.k-aq-trilho { height: 10px; background: var(--fill); border-radius: 999px; overflow: hidden; }
.k-aq-barra { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
.k-aq-n { white-space: nowrap; font-variant-numeric: tabular-nums; }
.k-aq-n span { color: var(--muted); font-size: .76rem; margin-left: .3rem; }
@media (max-width: 640px) {
  .k-aq-linha { grid-template-columns: 1fr auto; }
  .k-aq-trilho { grid-column: 1 / -1; grid-row: 2; }
}

/* backlog */
.bk-form { display: flex; flex-direction: column; gap: .55rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.bk-form .k-h3 { margin: 0; }
.bk-form input, .bk-form textarea, .bk-form select, .bk-controles select {
  font: inherit; font-size: .92rem; min-height: 44px; padding: .5rem .7rem; border: 1px solid var(--line);
  border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; box-sizing: border-box;
}
.bk-form textarea { resize: vertical; min-height: 64px; }
.bk-form-linha { display: grid; grid-template-columns: 2fr 1.3fr 1fr; gap: .5rem; }
.bk-form-linha label, .bk-controles label { display: flex; flex-direction: column; gap: .2rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.bk-form-acoes { display: flex; justify-content: flex-end; gap: .5rem; }
.bk-form-acoes .btn { min-height: 44px; }
@media (max-width: 520px) { .bk-form-linha { grid-template-columns: 1fr 1fr; } .bk-form-linha label:first-child { grid-column: 1 / -1; } }
/* Fase Q (round 5, D1): o erro do backlog é a nota neutra (.erro do styles.css) */
.bk-erro { margin: .6rem 1rem 0; }
.bk-controles { padding: .8rem 1rem 0; margin: 0; align-items: flex-end; }
.bk-controles label { flex: 1 1 11rem; }
.bk-controles .btn { min-height: 44px; }
.bk-visoes { display: flex; gap: .4rem; overflow-x: auto; padding: .8rem 1rem; border-bottom: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.bk-visao { flex: none; min-height: 36px; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.bk-visao.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.bk-lista .k-vazio { padding: 0 1rem; }
.bk-item { padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.bk-item:last-child { border-bottom: 0; }
.bk-item.bk-editando { padding: 0; }
.bk-topo { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .45rem; }
.bk-titulo { margin: 0 .25rem 0 0; font-size: 1rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.bk-item-dropped .bk-titulo { color: var(--muted); text-decoration: line-through; }
.bk-detalhe { margin: .35rem 0 0; font-size: .9rem; line-height: 1.5; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.bk-meta { margin: .35rem 0 0; font-size: .78rem; color: var(--muted); }
.bk-selo { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 4px; white-space: nowrap; background: var(--fill); color: var(--muted); }
.bk-area { background: rgba(55, 59, 255, .12); color: var(--primary-ink); }
.bk-prio-1 { background: var(--primary); color: #fff; }
.bk-st-planned { background: rgba(55, 59, 255, .12); color: var(--primary-ink); }
.bk-st-doing { background: #fbe8cf; color: #8a5a1c; }
.bk-st-done { background: #d9f2e3; color: #1e7a48; }
.bk-acoes { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.bk-status { display: flex; flex-wrap: wrap; gap: .3rem; }
.bk-st-btn { min-height: 36px; padding: 0 .65rem; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.bk-st-btn.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bk-st-btn:disabled { opacity: .5; }
.bk-acoes > .btn { min-height: 36px; }
.bk-form-linha label input, .bk-form-linha label select, .bk-controles label select { font-weight: 400; text-transform: none; letter-spacing: normal; }
/* Fase S do round 6 (D3): o +1 à esquerda de cada item, "yours" e a sugestão do membro */
.bk-linha { display: flex; align-items: flex-start; gap: .75rem; }
.bk-corpo { flex: 1 1 auto; min-width: 0; }
.bk-voto {
  flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .05rem;
  width: 48px; min-height: 52px; padding: .3rem 0; border-radius: 10px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font: inherit; line-height: 1.1; cursor: pointer;
}
.bk-voto .bk-voto-mais { font-size: .72rem; font-weight: 700; color: var(--primary-ink); }
.bk-voto .bk-voto-n { font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.bk-voto.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.bk-voto.on .bk-voto-mais { color: #fff; }
.bk-voto:disabled { opacity: .6; cursor: default; }
.bk-voto:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.bk-voto-fixo { cursor: default; background: var(--fill); border-color: transparent; color: var(--muted); }
.bk-voto-fixo .bk-voto-mais { color: var(--muted); }
.bk-minha { background: var(--ink); color: var(--paper); }
.bk-item-minha { background: var(--fill); }
.bk-sugerir .bk-form-acoes { align-items: center; justify-content: space-between; }
.bk-dica { margin: 0; font-size: .78rem; color: var(--muted); }
.pagina-k th.num { text-align: right; }
.pagina-k td a { color: var(--primary-ink); font-weight: 600; text-decoration: none; }
@media (max-width: 520px) {
  .bk-status { gap: .25rem; }
  .bk-st-btn { padding: 0 .5rem; font-size: .74rem; }
}

/* Fase V (049): os achados de uma peça (Content > Pieces), com "Move to #___" */
.link-console {
  border: none; background: none; padding: .2rem .35rem; min-width: 32px; min-height: 32px;
  color: var(--primary-ink); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.link-console[aria-expanded="true"] { text-decoration: none; }
.con-achados-linha > td { background: var(--fill); white-space: normal; }
.con-achados h3 { margin: 0 0 .5rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.con-achados-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.con-achados-lista li {
  display: flex; align-items: center; flex-wrap: wrap; gap: .6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .45rem .6rem;
}
.con-achados-lista .foto-item a { display: block; width: 48px; height: 48px; border-radius: 6px; overflow: hidden; background: var(--fill); }
.con-achados-lista .foto-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.con-achado-info { flex: 1 1 10rem; min-width: 0; }
.con-achado-info .quando { color: var(--muted); font-size: .76rem; }
.con-mover { display: flex; align-items: center; gap: .4rem; }
.con-mover label { display: flex; align-items: center; gap: .25rem; font-size: .8rem; color: var(--muted); }
.con-mover input { width: 4.5rem; min-height: 36px; padding: .3rem .45rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.con-mover .btn { min-height: 36px; }

/* Fase I do round 7 (057): a tabela de convites por membro e o presente.
   Fundo das tabelas por token (--card): claro igual, escuro legível. */
#conv-membros td.conv-disp b { font-size: .95rem; }
.conv-nunca { color: var(--muted); }
.conv-presente { display: flex; align-items: center; gap: .35rem; flex-wrap: nowrap; }
.conv-presente input {
  font: inherit; font-size: .82rem; min-height: 36px; padding: .3rem .45rem;
  border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink);
}
.conv-presente .conv-n { width: 4rem; text-align: right; font-variant-numeric: tabular-nums; }
.conv-presente .conv-nota { width: 10rem; }
.conv-presente .btn { min-height: 36px; }
.conv-estado { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.conv-dica { margin: .6rem 0 0; font-size: .8rem; color: var(--muted); max-width: 46rem; }
/* console em tema escuro: cartões de número e campos de filtro pelo token
   (claro fica igual: --card é #fff); o texto dos cartões não justifica */
.pagina-console .numeros li { background: var(--card); text-align: left; hyphens: manual; -webkit-hyphens: manual; }
.pagina-console .numeros span { line-height: 1.3; }
.filtros-console input[type="text"], .filtros-console select { background: var(--card); }
.pagina-console .conv-dica { text-align: left; line-height: 1.45; }
/* no telefone a tabela rola de lado: o apelido fica preso à esquerda, para
   saber de quem é o presente */
#conv-membros th:first-child, #conv-membros td:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); }
#conv-membros th:first-child { z-index: 2; }
