/* Painel, detalhe da ideia, publicação por rede, pipeline e entrada. */

/* ------------------------------------------------- painel (tela 1) */

.ver-todas { color: var(--rose); font-size: 13.5px; font-weight: 580; text-decoration: none; }

.grade-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-mini {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--sombra); padding: 14px;
  transition: transform .1s;
}
.cat-mini:active { transform: scale(.98); }
.cat-mini .bolha { width: 36px; height: 36px; margin-bottom: 9px; }
.cat-mini b { display: block; font-size: 13.5px; font-weight: 580; line-height: 1.3; }
.cat-mini small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }

.grade-resumo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile {
  display: block; text-align: center; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--sombra); padding: 16px 10px;
  transition: transform .1s;
}
.tile:active { transform: scale(.98); }
.tile b {
  display: block; font-size: 26px; font-weight: 620; letter-spacing: -1px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
}
.tile span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.tile.largo { margin-top: 10px; }
.tile.largo b { font-size: 30px; }

/* ---------------------------------------- selos de status da ideia */

.selo.s-rascunho  { background: var(--sunk);        color: var(--muted); }
.selo.s-planejada { background: #E6EDF6;            color: #3E6494; }
.selo.s-producao  { background: #FBEEDF;            color: #A9702C; }
.selo.s-agendada  { background: var(--rose-fraco);  color: var(--rose); }
.selo.s-postada   { background: var(--done-fraco);  color: var(--done); }

.agendada-em {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 9px;
  font-size: 12px; color: var(--muted);
}

@media (prefers-color-scheme: dark) {
  .selo.s-planejada { background: #22303F; color: #9DBEE2; }
  .selo.s-producao  { background: #3A2E1E; color: #E0B37A; }
}

/* ------------------------------------------------- prioridade (radio) */

.radios { display: flex; gap: 16px; flex-wrap: wrap; }
.radio {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 14px; cursor: pointer; padding: 4px 0;
}
.radio i {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line); position: relative;
}
.radio.on { color: var(--ink); font-weight: 560; }
.radio.on i { border-color: var(--rose); }
.radio.on i::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: 50%; background: var(--rose);
}

/* ------------------------------------------- detalhe da ideia (tela 4) */

.botao-editar {
  flex: none; border: 1px solid var(--line); border-radius: 11px;
  background: var(--surface); color: var(--rose);
  padding: 8px 15px; font: inherit; font-size: 13px; font-weight: 580;
  cursor: pointer;
}

.ficha {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--raio); box-shadow: var(--sombra); overflow: hidden;
}
.linha-detalhe { padding: 13px 16px; border-bottom: 1px solid var(--line); }
.linha-detalhe:last-child { border-bottom: 0; }
.linha-detalhe .rot {
  display: block; font-size: 11.5px; font-weight: 580; color: var(--muted);
  margin-bottom: 3px;
}
.linha-detalhe .val { display: block; font-size: 14.5px; line-height: 1.5; }
.linha-detalhe .val.forte { font-weight: 580; }
.linha-detalhe .val.prio-alta { color: var(--rose); }

/* ------------------------------------------ publicação por rede (tela 5) */

.lista-redes {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--raio); box-shadow: var(--sombra); overflow: hidden;
}
.rede-linha {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.rede-linha:last-child { border-bottom: 0; }
.rede-linha.vazia { opacity: .5; }
.rede-linha .nome { flex: 1; font-size: 14.5px; font-weight: 520; }
.rede-linha .quando {
  font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums;
  min-width: 46px; text-align: right;
}
.rede-linha.c-ig     > svg { color: #C13584; }
.rede-linha.c-fb     > svg { color: #1877F2; }
.rede-linha.c-tiktok > svg { color: var(--ink); }
.rede-linha.c-yt     > svg { color: #FF0000; }

.sub-folha { margin: -8px 0 18px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.editor-rede {
  border: 1px solid var(--line); border-radius: 15px;
  padding: 13px 14px; margin-bottom: 9px;
}
.editor-rede .cab { display: flex; align-items: center; gap: 11px; }
.editor-rede .cab .nome { flex: 1; font-size: 14.5px; font-weight: 540; }
.editor-rede.c-ig     .cab > svg { color: #C13584; }
.editor-rede.c-fb     .cab > svg { color: #1877F2; }
.editor-rede.c-tiktok .cab > svg { color: var(--ink); }
.editor-rede.c-yt     .cab > svg { color: #FF0000; }

.alterna {
  width: 44px; height: 26px; border-radius: 999px; border: 0; flex: none;
  background: var(--line); cursor: pointer; position: relative;
  transition: background .22s;
}
.alterna::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.22); transition: transform .22s;
}
.alterna.on { background: var(--rose); }
.alterna.on::after { transform: translateX(18px); }

.editor-rede .detalhes { display: flex; gap: 8px; margin-top: 11px; }
.editor-rede .detalhes .entrada { margin-top: 0; font-size: 14px; padding: 10px 12px; }

/* ------------------------------------------------- pipeline (tela 6) */

.quadro {
  display: flex; gap: 11px; overflow-x: auto; padding: 0 18px 6px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.coluna { flex: 0 0 74%; max-width: 260px; scroll-snap-align: start; }
.coluna > header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  padding: 9px 13px; background: var(--sunk); border-radius: 12px;
}
.coluna > header span { flex: 1; font-size: 13px; font-weight: 600; }
.coluna > header i {
  font-style: normal; font-size: 11.5px; font-weight: 620;
  background: var(--surface); color: var(--muted);
  padding: 2px 8px; border-radius: 999px;
}

.cartao-pipe {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--sombra);
  padding: 13px 14px; margin-bottom: 9px;
}
.cartao-pipe b { display: block; font-size: 13.5px; font-weight: 560; line-height: 1.35; }
.cartao-pipe span {
  display: block; margin-top: 6px; font-size: 12px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.coluna-vazia { color: var(--muted); font-size: 12.5px; padding: 10px 4px; }

/* --------------------------------------------------------- entrada */

.tela-entrar {
  min-height: 100dvh; display: flex; align-items: center; justify-content: center;
  padding: 30px 22px;
}
.caixa-entrar { width: 100%; max-width: 360px; text-align: center; }
.marca-icone {
  width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 24px;
  background: var(--rose-fraco); color: var(--rose);
  display: grid; place-content: center;
}
.marca-icone svg { width: 40px; height: 40px; }
.caixa-entrar h1 { margin: 0; font-size: 27px; }
.caixa-entrar .sub { margin: 6px 0 24px; color: var(--muted); font-size: 14px; }
.caixa-entrar form { text-align: left; }
.caixa-entrar .rotulo-campo:first-child { margin-top: 0; }
.erro-entrar {
  margin: 14px 0 0; padding: 10px 13px; border-radius: 11px;
  background: var(--rose-fraco); color: var(--rose);
  font-size: 13px; text-align: center;
}
.lembrete {
  margin: 20px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5;
}
