/* Tiago Daniel — app de gestão.
   Identidade: laranja #FF6D29, castanho #453027, quase-preto #161316, cinza #BABABA, branco.
   Letra: Neue Montreal se estiver instalada; caso contrário Inter Tight (gratuita e parecida). */
/* Letra: Inter Tight (grátis), guardada na própria app. Tem o mesmo ar apertado e neutro da Neue Montreal.
   Para usar a Neue Montreal a sério: compra a licença web, põe os ficheiros .woff2 na pasta fonts/
   e tira os comentários do bloco a seguir. */
@font-face {
  font-family: "Inter Tight";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Inter Tight";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-tight-latin-wght-normal.woff2") format("woff2-variations");
  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: "Neue Montreal"; font-weight: 400; src: url("fonts/NeueMontreal-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Neue Montreal"; font-weight: 500; src: url("fonts/NeueMontreal-Medium.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Neue Montreal"; font-weight: 500; src: url("fonts/NeueMontreal-SemiBold.woff2") format("woff2"); font-display: swap; }
*/

:root {
  --fundo: #161316;
  --cartao: #221c1d;
  --cartao-2: #2c2425;
  --campo: #1c1718;
  --linha: rgb(255 255 255 / 0.08);
  --texto: #ffffff;
  --texto-2: #bababa;
  --texto-3: #8c8587;
  --laranja: #ff6d29;
  --laranja-claro: #ff9a5c;
  --castanho: #453027;
  --ouro: #d9b26f;
  --verde: #5ed39a;
  --erro: #ff5a4f;
  --gradiente: linear-gradient(135deg, #ff9a5c 0%, #ff6d29 45%, #d6471c 100%);

  --est-por_gravar: #bababa;
  --est-gravado: #f5b14c;
  --est-em_edicao: #6fa8ff;
  --est-em_revisao: #b58cff;
  --est-entregue: #5ed39a;
  --ag-pessoal: #4fc3b5;
  --ag-profissional: #ff6d29;
  --ag-nacoes_media: #d9b26f;

  --raio: 20px;
  --raio-m: 14px;
  --fonte: "Neue Montreal", "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
  accent-color: var(--laranja);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--fundo); }
body {
  margin: 0; min-height: 100dvh; letter-spacing: -0.01em;
  color: var(--texto); font-family: var(--fonte); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(120% 55% at 50% -12%, rgb(255 109 41 / 0.32) 0%, rgb(69 48 39 / 0.55) 35%, transparent 70%),
    var(--fundo);
  background-attachment: fixed;
}
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--laranja); outline-offset: 2px; }
svg { width: 20px; height: 20px; flex: none; }

.num { font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: -0.03em; }
b { font-weight: 600; }
.grande { font-size: 1.9rem; line-height: 1; }
.enorme { font-size: clamp(3.4rem, 17vw, 4.6rem); line-height: 0.95; margin: 6px 0 2px; letter-spacing: -0.06em; font-weight: 500; }
.grande small, .enorme small { font-size: 0.45em; color: var(--texto-2); font-weight: 500; letter-spacing: 0; }
.forte { font-weight: 500; }
.pequeno { font-size: 0.82rem; color: var(--texto-2); margin: 2px 0 0; }
.pre { white-space: pre-wrap; }
.linha-entre { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.vazio-texto { color: var(--texto-3); margin: 6px 0; }
.a-carregar { color: var(--texto-3); }

/* Entrada */
.entrada {
  position: relative; z-index: 1;
  min-height: 100dvh; max-width: 440px; margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 26px calc(18vh + env(safe-area-inset-bottom, 0px));
}
/* TD Hub. */
.entrada-marca { margin: 0; font-size: clamp(3.6rem, 19vw, 5.4rem); font-weight: 700; line-height: 0.9; letter-spacing: -0.06em; white-space: nowrap; }
.marca-td { color: #fff; }
.marca-hub { color: var(--laranja); }
.marca-ponto { color: #ff9a66; }
.entrada-sub { color: rgb(255 255 255 / 0.88); margin: 14px 0 40px; font-size: clamp(1.35rem, 6.6vw, 1.75rem); line-height: 1.18; letter-spacing: -0.035em; font-weight: 400; }
body.fora {
  background:
    radial-gradient(90% 60% at 112% -8%, rgb(255 109 41 / 0.55) 0%, rgb(120 52 20 / 0.32) 35%, transparent 68%),
    radial-gradient(120% 70% at 50% 120%, rgb(255 109 41 / 0.16) 0%, transparent 60%),
    #0a0808;
  background-attachment: fixed;
}
body.fora .entrada .campo > span { color: rgb(255 255 255 / 0.9); }
body.fora .entrada input { min-height: 56px; border-radius: 16px; background: rgb(255 255 255 / 0.035); border-color: rgb(255 255 255 / 0.13); }
body.fora .entrada input::placeholder { color: rgb(255 255 255 / 0.42); }
body.fora .entrada .btn.primario { min-height: 56px; font-size: 1.05rem; margin-top: 10px; }
/* Os dois arcos laranja no fundo (medidos a partir do desenho; no computador não crescem além do tamanho de telemóvel) */
.entrada-arcos { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; --u: min(1vw, 4.6px); }
.entrada-arcos > div { position: absolute; top: 0; bottom: 0; left: 50%; width: calc(var(--u) * 100); transform: translateX(-50%); }
.entrada-arcos span { position: absolute; border-radius: 50%; border: 1.5px solid rgb(255 122 60 / 0.9);
  background: radial-gradient(closest-side, #0b0807 86%, rgb(255 109 41 / 0.10) 96%, rgb(255 109 41 / 0.24));
  box-shadow: 0 0 46px rgb(255 109 41 / 0.30), inset 0 0 70px rgb(255 109 41 / 0.14); }
.entrada-arcos span:nth-child(1) { width: calc(var(--u) * 400); height: calc(var(--u) * 400); left: calc(var(--u) * -53.4); top: calc(100% - var(--u) * 64.8); }
.entrada-arcos span:nth-child(2) { width: calc(var(--u) * 215); height: calc(var(--u) * 215); left: calc(var(--u) * -80.4); top: calc(100% - var(--u) * 34.1); }
.mensagem-titulo { font-size: 1.3rem; margin: 28px 0 0; }
.erro-texto { color: var(--erro); margin: 0; min-height: 1.3em; font-size: 0.9rem; }

/* Estrutura */
.topo { position: sticky; top: 0; z-index: 5; padding-top: env(safe-area-inset-top, 0px); background: linear-gradient(var(--fundo) 30%, transparent); }
.topo-linha { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 18px; }
.topo h1 { flex: 1; margin: 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.03em; }
.vista { max-width: 720px; margin: 0 auto; padding: 4px 18px calc(110px + env(safe-area-inset-bottom, 0px)); }
body.um-separador .vista { padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }

.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--castanho); color: #ffd9c4; font-weight: 500; font-size: 0.82rem;
  box-shadow: inset 0 0 0 1.5px rgb(255 109 41 / 0.55);
}
.avatar.grande { width: 46px; height: 46px; font-size: 0.95rem; }

.btn-circulo {
  display: inline-grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--linha); background: var(--cartao); color: var(--texto); font-size: 1.15rem;
}
.btn-circulo.laranja { background: var(--laranja); border-color: var(--laranja); color: #1a0c06; }

/* Barra de navegação flutuante */
.separadores {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 6;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex; gap: 8px; padding: 8px;
  border-radius: 999px; border: 1px solid var(--linha);
  background: rgb(34 28 29 / 0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.45);
}
.separadores button {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: var(--cartao-2); color: var(--texto-2); cursor: pointer;
}
.separadores button[aria-current="page"] { background: var(--laranja); color: #1a0c06; }
.separadores svg { width: 22px; height: 22px; }

/* Cartões */
.cartao {
  display: block; width: 100%; text-align: left;
  background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 16px; color: var(--texto);
}
button.cartao { cursor: pointer; }
.destaque {
  background: var(--gradiente); border: 0; color: #fff; padding: 20px;
  box-shadow: 0 18px 40px rgb(255 109 41 / 0.22);
}
.destaque.ouro { background: linear-gradient(135deg, #3b2c22 0%, #453027 40%, #6b4b2c 100%); box-shadow: none; }
.destaque-nota { color: rgb(255 255 255 / 0.82); margin: 0 0 14px; font-size: 0.95rem; }
.estados-linha { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 16px; font-size: 0.85rem; color: rgb(255 255 255 / 0.85); }
.estados-linha b { margin-right: 4px; color: #fff; }

.selo {
  display: inline-flex; align-items: center; flex: none;
  padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 500;
  background: rgb(255 255 255 / 0.12); color: var(--texto);
}
.selo.claro { background: rgb(255 255 255 / 0.22); }
.selo.ouro { background: rgb(217 178 111 / 0.18); color: var(--ouro); }
.selo.verde { background: rgb(94 211 154 / 0.15); color: var(--verde); }

.saudacao { margin: 6px 0 16px; }
.saudacao h2 { margin: 4px 0 0; font-size: clamp(2.3rem, 12vw, 3rem); font-weight: 400; letter-spacing: -0.05em; line-height: 0.98; }
.saudacao-sub { margin: 10px 0 0; color: var(--texto-2); font-size: 0.98rem; letter-spacing: -0.01em; max-width: 30ch; }

.secao { margin-top: 26px; }
.secao-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.secao-topo h3 { margin: 0; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.link { border: 0; background: none; color: var(--texto-2); font-size: 0.85rem; cursor: pointer; padding: 6px 0; }

.par-numeros { display: flex; gap: 22px; margin-top: 12px; }
.par-numeros > span { display: flex; flex-direction: column; gap: 4px; }
.projeto .par-numeros .grande { color: var(--ouro); }

.lista-cartoes, .lista-simples, .eventos { list-style: none; margin: 0; padding: 0; }
.lista-cartoes { display: flex; flex-direction: column; gap: 10px; }
.lista-simples li { padding: 12px 0; border-bottom: 1px solid var(--linha); }
.lista-simples li:last-child { border-bottom: 0; }
.inativos { opacity: 0.55; }

.cliente { display: flex; gap: 14px; align-items: flex-start; }
.trabalho { display: flex; gap: 14px; align-items: flex-start; }
.cliente-info { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.progresso { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.progresso .num { font-size: 0.85rem; color: var(--texto-2); }

.trilho { display: block; flex: 1; height: 6px; border-radius: 999px; overflow: hidden; background: rgb(255 255 255 / 0.08); }
.trilho > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #d6471c, #ff6d29 60%, #ffb15c); }
.trilho > span.cheio { background: var(--verde); }
.trilho.grosso { height: 10px; margin: 12px 0 6px; }
.meta-barra { display: grid; grid-template-columns: 52px 1fr 44px; align-items: center; gap: 10px; margin-top: 8px; }
.meta-barra .pequeno { margin: 0; }
.meta-barra .num { text-align: right; font-size: 0.9rem; }
.resumo-trab { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }

.linhas { margin: 8px 0 0; }
.linhas div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linha); }
.linhas div:last-child { border-bottom: 0; }
.linhas dt { color: var(--texto-2); }
.linhas dd { margin: 0; }

/* Filtros */
.barra-ferramentas { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.barra-ferramentas .segmentado { flex: 1; margin: 0; }
.busca {
  flex: 1; min-width: 0; min-height: 46px; padding: 10px 18px; font-size: 16px;
  background: var(--cartao); border: 1px solid var(--linha); border-radius: 999px; color: var(--texto);
}
.busca::placeholder { color: var(--texto-3); }
.segmentado { display: flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 999px; background: var(--cartao); border: 1px solid var(--linha); }
.segmentado button { flex: 1; min-height: 38px; padding: 6px 10px; border: 0; border-radius: 999px; background: none; color: var(--texto-2); font-size: 0.86rem; font-weight: 500; cursor: pointer; white-space: nowrap; }
.segmentado button[aria-pressed="true"] { background: var(--cartao-2); color: var(--texto); box-shadow: inset 0 0 0 1px rgb(255 109 41 / 0.6); }
.fichas { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.fichas::-webkit-scrollbar { display: none; }
.ficha {
  flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 36px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--linha);
  background: var(--cartao); color: var(--texto-2); font-size: 0.85rem; font-weight: 500; cursor: pointer;
}
.ficha[aria-pressed="true"] { background: var(--laranja); border-color: var(--laranja); color: #1a0c06; }
.ficha.com-cor::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cor); }
.ficha.com-cor[aria-pressed="true"]::before { background: #1a0c06; }

.ag-pessoal { --cor: var(--ag-pessoal); }
.ag-profissional { --cor: var(--ag-profissional); }
.ag-nacoes_media { --cor: var(--ag-nacoes_media); }
.est-por_gravar { --cor-est: var(--est-por_gravar); }
.est-gravado { --cor-est: var(--est-gravado); }
.est-em_edicao { --cor-est: var(--est-em_edicao); }
.est-em_revisao { --cor-est: var(--est-em_revisao); }
.est-entregue { --cor-est: var(--est-entregue); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 10px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--linha); background: var(--cartao-2); color: var(--texto);
  font-weight: 500; font-size: 0.92rem;
}
.btn svg { width: 18px; height: 18px; }
.btn.primario { background: var(--laranja); border-color: var(--laranja); color: #1a0c06; }
.btn.escuro { background: #161316; border-color: #161316; color: #fff; }
.btn.perigo { background: none; color: var(--erro); border-color: rgb(255 90 79 / 0.4); }
.btn.largo { width: 100%; }
.btn.compacto { min-height: 38px; padding: 6px 14px; font-size: 0.85rem; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-pilula {
  display: inline-flex; align-items: center; min-height: 34px; padding: 5px 12px;
  border-radius: 999px; border: 1px solid var(--linha); background: var(--cartao-2);
  color: var(--texto); font-size: 0.8rem; font-weight: 500; text-decoration: none; cursor: pointer;
}
.btn-pilula.laranja { background: rgb(255 109 41 / 0.15); border-color: rgb(255 109 41 / 0.45); color: var(--laranja-claro); }
.btn-pilula:disabled { opacity: 0.5; }

/* Agenda */
.semana-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mes { border: 0; background: none; font-weight: 500; font-size: 1rem; cursor: pointer; padding: 8px; }
.tira-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 14px; }
.dia-chip {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 0 8px; border-radius: 16px; border: 1px solid transparent;
  background: none; color: var(--texto-2); font-size: 0.78rem; cursor: pointer;
}
.dia-chip b { font-size: 1.15rem; color: var(--texto); }
.dia-chip.hoje { color: var(--laranja); }
.dia-chip.hoje b { color: var(--laranja); }
.dia-chip[aria-pressed="true"] { background: var(--laranja); color: #1a0c06; box-shadow: 0 8px 20px rgb(255 109 41 / 0.3); }
.dia-chip[aria-pressed="true"] b { color: #1a0c06; }
.ponto { width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-top: 2px; }
.ponto.sem { visibility: hidden; }

.eventos { display: flex; flex-direction: column; gap: 10px; }
.evento {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: var(--raio); border: 1px solid var(--linha);
  background: var(--cartao); color: var(--texto); position: relative; overflow: hidden;
}
.evento::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--cor); }
.evento-hora { display: flex; flex-direction: column; min-width: 44px; font-size: 0.95rem; }
.evento-hora small { color: var(--texto-3); font-size: 0.78rem; font-weight: 500; }
.evento-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.evento-tipo { flex: none; font-size: 0.7rem; font-weight: 500; color: var(--cor); }

/* Produção */
.grupo-titulo { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; font-size: 0.95rem; font-weight: 500; }
.grupo-titulo:first-child { margin-top: 2px; }
.contagem { color: var(--texto-3); }
.entrega { padding: 0; overflow: hidden; }
.entrega-corpo { width: 100%; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 8px; text-align: left; background: none; border: 0; cursor: pointer; }
.entrega-quem { font-size: 0.82rem; color: var(--texto-2); }
.entrega-rodape { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 4px 16px 14px; }
.entrega-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.estado { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 500; color: var(--cor-est); white-space: nowrap; }
.estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cor-est); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cor-est) 22%, transparent); }

/* Formulários */
.form { display: flex; flex-direction: column; gap: 14px; }
.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 0.8rem; font-weight: 500; color: var(--texto-2); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font-size: 16px; font-weight: 400; color: var(--texto);
  background: var(--campo); border: 1px solid var(--linha); border-radius: var(--raio-m);
}
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: rgb(255 109 41 / 0.7); outline: none; }
.campo textarea { resize: vertical; }
.grelha-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grelha-3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
@media (max-width: 400px) {
  .grelha-3 { grid-template-columns: 1fr 1fr; }
  .grelha-3 > .campo:first-child { grid-column: 1 / -1; }
}
.caixa { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.caixa input { width: 20px; height: 20px; }
.acoes { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.acoes .perigo { margin-right: auto; }
.acoes.esquerda { justify-content: flex-start; margin-top: 12px; }
.topo-margem { margin-top: 16px; }
.sub-bloco { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--linha); }
.sub-bloco h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 500; }
.sessao { padding: 14px 0; border-bottom: 1px solid var(--linha); }
.packs { margin-top: 20px; }
.packs summary { cursor: pointer; font-weight: 500; }
.pack { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--linha); }
.pack h4 { margin: 0; }

.detalhe { margin: 0 0 16px; }
.detalhe div { padding: 10px 0; border-bottom: 1px solid var(--linha); }
.detalhe dt { font-size: 0.78rem; color: var(--texto-3); }
.detalhe dd { margin: 2px 0 0; }
.vazio { padding: 32px 0; color: var(--texto-2); }

/* Modal (folha de baixo no telemóvel) */
#modal {
  width: min(560px, 100%); max-width: 100%; max-height: 92dvh;
  margin: auto auto 0; padding: 0; border: 1px solid var(--linha); border-bottom: 0; border-radius: 26px 26px 0 0;
  background: #1d1819; color: var(--texto); overflow: auto;
}
@media (min-width: 640px) { #modal { margin: auto; border-radius: 26px; border-bottom: 1px solid var(--linha); } }
#modal::backdrop { background: rgb(8 6 7 / 0.65); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-topo {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; background: #1d1819; border-bottom: 1px solid var(--linha);
}
.modal-topo h2 { margin: 0; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; }
.modal-topo .btn-circulo { width: 36px; height: 36px; font-size: 0.95rem; }
.modal-corpo { padding: 18px 18px calc(24px + env(safe-area-inset-bottom, 0px)); }

/* Avisos */
.aviso {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 30;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  max-width: 90vw; padding: 12px 18px; border-radius: 999px;
  background: #fff; color: #161316; font-size: 0.9rem; font-weight: 500;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.4);
}
.aviso.erro { background: var(--erro); color: #fff; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Marcações de clientes */
.separadores button { position: relative; }
.badge {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: #fff; color: #161316; font-style: normal; font-size: 0.7rem; font-weight: 600;
  box-shadow: 0 0 0 2px #221c1d;
}
.selo.ambar { background: rgb(245 177 76 / 0.16); color: #f5b14c; }
.pedido { display: flex; flex-direction: column; gap: 4px; }
.pedido-quando { margin: 2px 0 0; font-size: 1.05rem; }
.pedido .pequeno { margin: 0; }
.pack .nome-pack { margin: 14px 0 0; font-weight: 500; color: #fff; }
.pack .enorme { margin: 4px 0 0; }
.pack .enorme small { color: rgb(255 255 255 / 0.7); }
.pack .trilho { background: rgb(0 0 0 / 0.25); }
.pack .trilho > span { background: #fff; }
.pack .espaco-cima { margin: 14px 0; }
.destaque.pack + .destaque.pack { margin-top: 12px; }
.entrega-corpo.sem-botao { cursor: default; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 6px; }
.centro { text-align: center; }
.passos { display: flex; align-items: center; gap: 14px; }
.passos .num { font-size: 1.6rem; min-width: 28px; text-align: center; color: var(--texto); }
.passos .pequeno { margin-left: 4px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot {
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 6px;
  border-radius: var(--raio-m); border: 1px solid var(--linha); background: var(--campo); color: var(--texto); cursor: pointer;
}
.slot b { font-size: 1.05rem; }
.slot small { color: var(--texto-3); font-size: 0.72rem; font-weight: 500; }
.slot[aria-pressed="true"] { background: var(--laranja); border-color: var(--laranja); color: #1a0c06; }
.slot[aria-pressed="true"] small { color: #1a0c06; }
.dias-semana { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dia-caixa { display: block; cursor: pointer; }
.dia-caixa input { position: absolute; opacity: 0; pointer-events: none; }
.dia-caixa span {
  display: grid; place-items: center; min-height: 40px; border-radius: 999px; border: 1px solid var(--linha);
  background: var(--campo); color: var(--texto-2); font-size: 0.8rem; font-weight: 500;
}
.dia-caixa input:checked + span { background: var(--laranja); border-color: var(--laranja); color: #1a0c06; }
.dia-caixa input:focus-visible + span { outline: 2px solid var(--laranja); outline-offset: 2px; }

/* Estúdio, localização, prazos e pontos */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-size: 0.72rem; font-weight: 500; padding: 2px 9px; border-radius: 999px; background: rgb(255 255 255 / 0.1); }
.tag.ambar { background: rgb(245 177 76 / 0.16); color: #f5b14c; }
.tag.verde { background: rgb(94 211 154 / 0.15); color: var(--verde); }
.selo.vermelho { background: rgb(255 90 79 / 0.2); color: #ffd6d2; }
.alerta { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--raio-m); font-size: 0.88rem; }
.alerta.ambar { background: rgb(245 177 76 / 0.12); color: #f5b14c; border: 1px solid rgb(245 177 76 / 0.28); }
.cartao.estudio { border-color: rgb(245 177 76 / 0.3); }
.so-estudio { display: flex; flex-direction: column; gap: 10px; }
.destaque-alerta { margin: 0 0 14px; padding: 8px 12px; border-radius: 12px; background: rgb(0 0 0 / 0.28); font-size: 0.88rem; font-weight: 500; }
.prazo-chip { display: inline-flex; align-items: center; align-self: flex-start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 500; background: rgb(255 255 255 / 0.08); color: var(--texto-2); white-space: nowrap; }
.prazo-chip.atraso { background: rgb(255 90 79 / 0.16); color: var(--erro); }
.prazo-chip.hoje, .prazo-chip.breve { background: rgb(245 177 76 / 0.16); color: #f5b14c; }
.linha-prazo { display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.linha-prazo .prazo-chip { margin-top: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: var(--raio); background: var(--cartao); border: 1px solid var(--linha); }
.tile b { font-size: 1.8rem; line-height: 1; letter-spacing: -0.04em; font-weight: 500; }
.tile span { font-size: 0.78rem; color: var(--texto-2); }
.tile.vermelho { border-color: rgb(255 90 79 / 0.4); } .tile.vermelho b { color: var(--erro); }
.tile.ambar { border-color: rgb(245 177 76 / 0.4); } .tile.ambar b { color: #f5b14c; }
.ranking { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.linha-ranking { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.posicao { width: 22px; font-size: 1.1rem; color: var(--texto-3); }
.pontos { font-size: 1.7rem; letter-spacing: -0.04em; font-weight: 500; }
.pontos small { font-size: 0.7rem; color: var(--texto-2); margin-left: 3px; font-weight: 400; }
.pontos.neg { color: var(--erro); }
.separadores.compacta { gap: 6px; padding: 7px; }
.separadores.compacta button { width: 46px; height: 46px; }
.separadores.compacta svg { width: 20px; height: 20px; }

/* Gráficos, painéis e renovações */
.graf { width: 100%; height: auto; display: block; }
.graf-txt { fill: var(--texto-2); font-size: 11px; font-family: inherit; }
.graf-val { fill: var(--texto); font-size: 12px; font-weight: 500; font-family: inherit; }
.graf-meta { stroke: var(--ouro); stroke-width: 1.5; stroke-dasharray: 4 4; }
.graf-centro { fill: var(--texto); font-size: 20px; font-weight: 500; font-family: inherit; letter-spacing: -0.04em; }
.graf-donut { width: 128px; height: 128px; flex: none; }
.graf-anel { width: 96px; height: 96px; flex: none; }
.linha-donut { display: flex; align-items: center; gap: 18px; }
.legenda-graf { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.linha-donut .legenda-graf { margin: 0; }
.legenda-graf li { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; }
.legenda-graf i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legenda-graf span { flex: 1; color: var(--texto-2); }
.barras-h { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.barras-h li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.barra-h { grid-column: 1 / -1; grid-row: 2; height: 8px; border-radius: 999px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.barra-h i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #d6471c, #ff6d29 60%, #ffb15c); }
.neg { color: var(--erro); font-style: normal; }
.trilho > span.neg { background: var(--erro); }
.linha-anel { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.linha-anel .graf-anel { width: 72px; height: 72px; }
.linha-anel .graf-centro { font-size: 17px; }
.duplo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.anel-bloco { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tiles.dois { grid-template-columns: 1fr 1fr; }
.tiles.dois .tile b { font-size: 1.3rem; letter-spacing: -0.03em; }
.destaque-alerta.claro { background: rgb(245 177 76 / 0.12); color: #f5b14c; margin: 12px 0 0; }
.contactos { gap: 8px; }
.contactos .btn-pilula svg { width: 15px; height: 15px; margin-right: 6px; }
.btn-pilula svg { width: 15px; height: 15px; margin-right: 6px; }

/* Brokers e anúncios */
.segmentado.s4 button { font-size: 0.78rem; padding: 6px 3px; }
.pedido-botao { display: flex; flex-direction: column; gap: 4px; width: 100%; text-align: left; cursor: pointer; }
.linha-avatar { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cartao .meta-barra { margin-top: 10px; }
.cartao .tags { margin-top: 12px; }
.cartao .tags .prazo-chip { margin-top: 0; }

.tiles.moeda .tile b { font-size: 1.3rem; letter-spacing: -0.03em; }

/* Aprovação, ajustes e guiões */
.tag.vermelho { background: rgb(255 90 79 / 0.16); color: var(--erro); }
.ajuste { padding: 8px 0; border-bottom: 1px solid var(--linha); display: flex; flex-direction: column; gap: 2px; }
.ajuste:last-child { border-bottom: 0; }
.ajuste small { color: var(--texto-3); font-size: 0.74rem; }
.ajuste.feito { opacity: 0.6; }
.link-inline { color: var(--laranja-claro); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.guiao { padding: 12px 14px; margin-top: 10px; }
.guiao summary { cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.guiao-texto { margin: 10px 0 0; font-size: 0.95rem; line-height: 1.5; color: var(--texto); }
.video-opcao { align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--linha); }
.video-opcao span { display: flex; flex-direction: column; font-weight: 500; }
.video-opcao small { color: var(--texto-2); font-weight: 400; font-size: 0.78rem; }
.lista-aprovar { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.aprovar-linha { width: 100%; display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 12px 14px; border: 0; border-radius: 14px; background: rgb(0 0 0 / 0.28); color: #fff; cursor: pointer; }
.aprovar-linha .pequeno { color: rgb(255 255 255 / 0.8); }
.nota-gravar { margin: 10px 2px 0; }
a.btn { text-decoration: none; }

/* Pedidos de gravação dos consultores */
.opcao-dia { display: flex; flex-direction: column; gap: 6px; }
.opcao-dia input, .opcao-dia select {
  width: 100%; min-height: 48px; padding: 12px 14px; font-size: 16px; color: var(--texto);
  background: var(--campo); border: 1px solid var(--linha); border-radius: var(--raio-m);
}
.topo-secao { margin-top: 0; margin-bottom: 18px; }
.cartao .tags .tag { background: rgb(255 255 255 / 0.1); }

/* Editores freelancer e avaliação mensal */
.filtro-editor { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 0.82rem; color: var(--texto-2); font-weight: 500; }
.filtro-editor select { flex: 1; min-height: 42px; padding: 8px 12px; font-size: 16px; color: var(--texto); background: var(--cartao); border: 1px solid var(--linha); border-radius: 999px; }
.cartao.avaliar { margin-bottom: 14px; border-color: rgb(245 177 76 / 0.35); display: flex; flex-direction: column; gap: 6px; }
.nota-avaliacao { margin: 0 2px 14px; }
.nota-linha { display: flex; align-items: center; gap: 14px; }
.nota-linha input[type=range] { flex: 1; height: 44px; accent-color: var(--laranja); }
.nota-valor { width: 30px; text-align: right; font-size: 1.6rem; letter-spacing: -0.04em; }
.nota-geral { display: flex; align-items: center; justify-content: space-between; }
.nota-geral .grande { font-size: 2rem; }

/* O meu trabalho */
.bolinha { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.linha-anel-meta { display: flex; align-items: center; gap: 16px; }
.linha-anel-meta .graf-anel { width: 84px; height: 84px; }
.linha-anel-meta p { margin: 0; }

/* Conflitos de agenda */
.alerta.vermelho { background: rgb(255 90 79 / 0.12); color: var(--erro); border: 1px solid rgb(255 90 79 / 0.3); }
.aviso-conflito { margin: 14px 0 6px; padding: 14px; border-radius: var(--raio); background: rgb(255 90 79 / 0.1); border: 1px solid rgb(255 90 79 / 0.35); }
.aviso-conflito p { margin: 0 0 8px; }
.aviso-conflito ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.aviso-conflito li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.aviso-conflito li small { color: var(--texto-2); flex: 1 1 100%; order: 3; }

/* Marcação de gravações de clientes e horários ocupados */
.slot.ocupado { opacity: 0.38; cursor: not-allowed; background: transparent; border-style: dashed; }
.slot.ocupado small { letter-spacing: 0.02em; }
.so-cliente-grav { margin: 6px 0 12px; padding: 14px; border-radius: var(--raio); background: rgb(255 109 41 / 0.07); border: 1px solid rgb(255 109 41 / 0.28); }
.so-cliente-grav h3 { margin: 0 0 4px; font-size: 1rem; }

/* Movimento: pequenos detalhes que dão vida (desligados se o telemóvel pedir menos movimento) */
@media (prefers-reduced-motion: no-preference) {
  .cartao, .tile, .btn, .btn-pilula, .evento, .slot, .ficha { position: relative; transition: transform 0.22s cubic-bezier(.2,.8,.2,1), box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease; }
  .cartao::after, .tile::after, .evento::after, .btn::after, .btn-pilula::after, .slot::after, .ficha::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / 0.12), transparent 70%);
    transition: opacity 0.25s ease;
  }
  .com-brilho::after { opacity: 1; }
  .btn.primario.com-brilho::after, .slot[aria-pressed='true'].com-brilho::after { background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / 0.28), transparent 70%); }
  @media (hover: hover) {
    .cartao:hover, .tile:hover, .evento:hover { transform: translateY(-2px); border-color: rgb(255 255 255 / 0.2); box-shadow: 0 10px 26px rgb(0 0 0 / 0.35); }
    .btn:hover, .btn-pilula:hover, .slot:hover:not(.ocupado), .ficha:hover { transform: translateY(-1px); }
  }
  .cartao:active, .tile:active, .evento:active { transform: scale(0.985); }
  .btn:active, .btn-pilula:active, .slot:active:not(.ocupado), .ficha:active { transform: scale(0.96); }
  .separadores button { transition: transform 0.25s cubic-bezier(.3,1.6,.5,1), background-color 0.2s ease; }
  .separadores button:active { transform: scale(0.88); }
  .separadores button[aria-current='page'] { animation: salto 0.45s cubic-bezier(.3,1.6,.5,1); }
  @keyframes salto { 0% { transform: scale(0.82); } 100% { transform: scale(1); } }
  .entra { animation: entra 0.5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 45ms); }
  @keyframes entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .letra { display: inline-block; transition: transform 0.35s cubic-bezier(.3,1.5,.5,1); will-change: transform; }
}

/* Notificações */
.sino { position: relative; }
.sino .badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--laranja); color: #1a0d05; font-size: 0.7rem; font-weight: 700; font-style: normal; display: inline-flex; align-items: center; justify-content: center; }
.sino .badge[hidden] { display: none; }
.notifs { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.notif { width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 12px 14px; border-radius: var(--raio); background: var(--cartao); border: 1px solid var(--linha); color: var(--texto); cursor: pointer; }
.notif.nova { border-color: rgb(255 109 41 / 0.45); background: rgb(255 109 41 / 0.07); }
.notif-ponto { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; flex: none; background: transparent; }
.notif.nova .notif-ponto { background: var(--laranja); }
.notif-corpo { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notif-hora { font-size: 0.74rem; color: var(--texto-3); }

/* Agenda de edições */
.edicao-dia { display: flex; align-items: flex-start; gap: 12px; }
.edicao-ordem { width: 26px; height: 26px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgb(255 109 41 / 0.16); color: var(--laranja); font-size: 0.85rem; font-weight: 600; margin-top: 2px; }
.edicao-corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; text-align: left; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.edicao-setas { display: flex; flex-direction: column; gap: 6px; }
.btn-circulo.mini { width: 34px; height: 34px; font-size: 0.95rem; }
.btn-circulo.mini:disabled { opacity: 0.3; }
.conta-dia { font-style: normal; font-size: 0.7rem; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--laranja); color: #1a0d05; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.dia-chip[aria-pressed='true'] .conta-dia { background: #1a0d05; color: var(--laranja); }
.resumo-dia { margin: -4px 0 12px; }
.sem-data { margin-top: 18px; }
.sem-data .lista-cartoes { margin-top: 12px; }

/* Captações */
.captacoes-vazio { text-align: center; }

/* Pedir novo pack ou serviço */
.opcoes-pedido { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 14px; }
.opcao-pedido { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--raio); background: var(--cartao); border: 1px solid var(--linha); cursor: pointer; }
.opcao-pedido input { margin-top: 4px; accent-color: var(--laranja); }
.opcao-pedido span { display: flex; flex-direction: column; gap: 2px; }
.opcao-pedido small { color: var(--texto-2); font-size: 0.82rem; line-height: 1.3; }
.opcao-pedido:has(input:checked) { border-color: var(--laranja); background: rgb(255 109 41 / 0.08); }
.opcao-pedido.desativada { opacity: 0.55; cursor: not-allowed; }
/* Link geral do Drive */
.drive-geral { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; margin: 0 0 14px; border-color: rgb(255 109 41 / 0.45); background: rgb(255 109 41 / 0.07); }

/* Introdução dos brokers */
.intro-app summary { font-weight: 600; cursor: pointer; }
.lista-intro { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.lista-intro li { display: flex; flex-direction: column; gap: 2px; color: var(--texto-2); font-size: 0.9rem; line-height: 1.35; }
.lista-intro b { color: var(--texto); font-weight: 600; }

/* Resumo da semana, carga, avisos por email e relatório */
button.tile { text-align: left; font: inherit; color: inherit; cursor: pointer; }
.resumo-semana summary { font-weight: 600; }
.lista-mini { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lista-mini li { display: flex; flex-direction: column; gap: 1px; }
.carga-linha { display: flex; flex-direction: column; gap: 8px; }
.barra-carga { display: block; height: 8px; border-radius: 999px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.barra-carga i { display: block; height: 100%; border-radius: 999px; background: #5fd08d; }
.barra-carga i.cheia { background: #ffb347; }
.barra-carga i.acima { background: #ff6b6b; }
.avisos-email { margin-bottom: 12px; }
.bloco { display: block; }
.relatorio-papel { background: #fff; color: #161616; border-radius: 14px; padding: 22px 20px; font-size: 0.9rem; margin: 10px 0 14px; }
.relatorio-papel h1 { font-size: 1.7rem; margin: 2px 0 0; letter-spacing: -0.03em; }
.relatorio-papel h2 { font-size: 1.05rem; margin: 2px 0 14px; font-weight: 500; color: #555; }
.relatorio-papel h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #ff6d29; margin: 18px 0 6px; }
.relatorio-papel .rel-sub { margin: 0; color: #777; font-size: 0.8rem; }
.relatorio-papel table { width: 100%; border-collapse: collapse; }
.relatorio-papel td { padding: 6px 4px; border-bottom: 1px solid #eee; vertical-align: top; }
.relatorio-papel td.num { text-align: right; font-weight: 700; white-space: nowrap; }
.relatorio-papel td.nota { color: #777; font-size: 0.78rem; }
.relatorio-papel footer { margin-top: 18px; color: #777; font-size: 0.75rem; }
#relatorio-print { display: none; }
@media print {
  @page { size: A4; margin: 16mm; }
  body.a-imprimir > *:not(#relatorio-print) { display: none !important; }
  body.a-imprimir { background: #fff !important; }
  body.a-imprimir #relatorio-print { display: block !important; }
  body.a-imprimir .relatorio-papel { border-radius: 0; padding: 0; margin: 0; font-size: 11pt; }
}

/* Recrutadoras e agências */
.agencia { display: flex; flex-direction: column; gap: 8px; }
.horarios { margin: 4px 0 8px; }
.chips-horario { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pequena-nota small { font-size: 0.5em; color: var(--texto-2); }

/* Caixas de texto soltas dentro de cartões (por exemplo, as ideias das recrutadoras) */
.cartao textarea:not([class]), .cartao input[type=url]:not([class]) {
  width: 100%; min-height: 48px; padding: 12px 14px; font-size: 16px; color: var(--texto);
  background: var(--campo); border: 1px solid var(--linha); border-radius: var(--raio-m);
}

/* Ver como outra pessoa (Tiago) */
.faixa-ver-como {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px; background: #f2b84b; color: #1b1203; font-size: 0.85rem;
}
.faixa-ver-como b { font-weight: 700; }
.faixa-ver-como button { flex: none; padding: 7px 12px; border: 0; border-radius: 999px; background: #1b1203; color: #fff; font-weight: 600; font-size: 0.8rem; cursor: pointer; }
body.em-ver-como .topo { top: calc(46px + env(safe-area-inset-top, 0px)); padding-top: 0; }

/* O texto das notificações respeita as mudanças de linha (resumos com várias linhas) */
.notif-corpo .pequeno { white-space: pre-line; }

/* Avisos no ecrã do telemóvel (no sino) */
.push-bloco { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 14px; padding: 12px 14px; border: 1px solid var(--linha); border-radius: var(--raio-m); }
.push-bloco .btn { align-self: flex-start; }

/* Botão "+" para criar edições e gravações */
.fab {
  position: fixed; right: 16px; z-index: 7;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--laranja); color: #1a0c06;
  box-shadow: 0 10px 26px rgb(0 0 0 / 0.45);
}
.fab svg { width: 26px; height: 26px; }
.em-ver-como .fab { display: none; }

.destaque-proposta { border: 1px solid var(--laranja); margin-top: 8px; }

/* Distribuição de edições, outubro 2026 */
.ed-filtros {display:grid;grid-template-columns:2fr 1fr 1.4fr 1fr 1.2fr;gap:12px;margin:20px 0}
.ed-carga {display:flex;gap:8px;flex-wrap:wrap;margin:16px 0;max-height:180px;overflow:auto}
.ed-tabela-wrap {overflow-x:auto;border:1px solid var(--linha,#3a3330);border-radius:12px}
.ed-tabela {width:100%;border-collapse:collapse;text-align:left;font-size:14px}
.ed-tabela th,.ed-tabela td {padding:14px 12px;border-bottom:1px solid var(--linha,#3a3330);vertical-align:top}
.ed-tabela th {font-weight:500;white-space:nowrap}
.ed-tabela small {display:block;margin-top:5px;opacity:.75}
.ed-tabela td:first-child {min-width:230px}
.ed-tabela td:last-child {min-width:180px}
.ed-tabela a {display:block;margin-top:8px}
@media(max-width:850px){.ed-filtros {grid-template-columns:1fr 1fr}.ed-filtros .campo:first-child {grid-column:1/-1}}

/* Edições no telemóvel: ações sempre visíveis, sem deslocação horizontal. */
.ed-titulo {display:block;border:0;padding:0;background:none;color:inherit;font:inherit;font-weight:600;text-align:left;cursor:pointer}
.ed-titulo:hover,.ed-titulo:focus-visible {text-decoration:underline}
.ed-botoes {display:flex;flex-wrap:wrap;gap:8px}
.feedback-video-acoes {flex-wrap:wrap;margin-top:12px}
@media(max-width:700px){
 .ed-tabela-wrap {overflow:visible;border:0}
 .ed-tabela,.ed-tabela tbody {display:block;width:100%}
 .ed-tabela thead {display:none}
 .ed-tabela tr {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--linha,#3a3330);border-radius:14px;margin-bottom:14px;padding:14px;gap:12px}
 .ed-tabela td {display:block;min-width:0!important;border:0;padding:0;overflow-wrap:anywhere}
 .ed-tabela td::before {content:attr(data-coluna);display:block;font-size:.75rem;color:var(--texto-2);margin-bottom:4px}
 .ed-tabela td:first-child,.ed-tabela td:last-child {grid-column:1/-1}
 .ed-tabela td:first-child::before,.ed-tabela td:last-child::before {display:none}
 .ed-tabela td.ed-botoes {display:flex;border-top:1px solid var(--linha,#3a3330);padding-top:12px}
 .ed-botoes .btn-pilula {min-height:44px;flex:1;justify-content:center;text-align:center;white-space:normal}
 .ed-carga {max-height:145px}
 .feedback-video-acoes .btn {width:100%}
}

/* O olho: edições por editor */
.tag.ouro { background: rgb(217 178 111 / 0.18); color: var(--ouro); }
.tags:empty { display: none; }
.segmentado.rolar { overflow-x: auto; scrollbar-width: none; }
.segmentado.rolar::-webkit-scrollbar { display: none; }
.segmentado.rolar button { flex: none; padding: 6px 12px; }

/* Hoje: tarefas do dia */
.tarefa-nova { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; }
.tarefa-nova .busca { flex: 1; }
.tarefa-tipo { min-height: 46px; padding: 8px 10px; font-size: 16px; color: var(--texto); background: var(--cartao); border: 1px solid var(--linha); border-radius: 999px; }
.tarefas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tarefa { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--raio-m); background: var(--cartao); border: 1px solid var(--linha); }
.tarefa.feita { opacity: 0.55; }
.tarefa.feita .tarefa-corpo .forte { text-decoration: line-through; }
.tarefa.evento-dia { border-left: 3px solid var(--laranja); }
.tarefa-check { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.35); background: none; color: #1a0c06; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.tarefa.feita .tarefa-check { background: var(--verde); border-color: var(--verde); }
.tarefa-corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.tarefa-corpo.sem-botao { cursor: default; }
.tarefa-hora { flex: none; min-width: 42px; color: var(--laranja-claro); font-size: 0.9rem; }
.tarefa-estrela { flex: none; width: 36px; height: 36px; border: 0; background: none; color: var(--texto-3); font-size: 1.3rem; cursor: pointer; }
.tarefa-estrela.on { color: var(--ouro); }
.tarefa-acoes { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; padding-left: 40px; }

/* Evolução: gráficos de linhas, etapas e custos */
.graf-grelha { stroke: rgb(255 255 255 / 0.07); stroke-width: 1; }
.legenda-linhas { list-style: none; margin: 6px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.8rem; color: var(--texto-2); }
.legenda-linhas li { display: flex; align-items: center; gap: 6px; }
.legenda-linhas i { width: 14px; height: 3px; border-radius: 2px; background: var(--c); }
.legenda-linhas i.tracejado { background: repeating-linear-gradient(90deg, var(--c) 0 4px, transparent 4px 7px); }
.meta-mes { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.meta-mes .linhas { width: 100%; }
.barra-etapas { display: flex; height: 12px; border-radius: 999px; overflow: hidden; gap: 2px; margin: 8px 0 4px; background: rgb(255 255 255 / 0.06); }
.barra-etapas span { min-width: 4px; }
.sub-titulo { margin: 14px 0 4px; font-size: 0.9rem; color: var(--texto-2); font-weight: 500; }
.lista-simples li.apagado { opacity: 0.5; }
@media (max-width: 380px) { .visao-geral .duplo { grid-template-columns: 1fr; } }

/* Plano do dia */
.plano { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.plano-pausa { background: transparent; border-style: dashed; }
.plano-pausa .tarefa-hora { color: var(--texto-3); }
.plano-bloco { border: 1px solid rgb(255 109 41 / 0.35); border-radius: var(--raio-m); padding: 10px; background: rgb(255 109 41 / 0.05); }
.plano-bloco.fixo { border-color: var(--linha); background: none; }
.plano-topo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 4px 8px; }
.plano-topo .pequeno { flex-basis: 100%; }
.plano-bloco .tarefa { padding: 10px 12px; }
.tarefa-hora.pequena { min-width: 38px; font-size: 0.8rem; color: var(--texto-2); }
.aviso-plano { margin: 8px 0; padding: 10px 12px; border-radius: var(--raio-m); background: rgb(245 177 76 / 0.12); color: #f5b14c; font-size: 0.88rem; }
.input-curto { width: 72px; min-height: 38px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--linha); background: var(--cartao); color: var(--texto); font-size: 16px; text-align: right; }
.videos-ano .enorme { margin: 6px 0 2px; }
.notas-0-10 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 6px 0 4px; }
.nota-btn { min-height: 46px; border-radius: 12px; border: 1px solid var(--linha); background: var(--cartao); color: var(--texto); font-size: 1.05rem; font-weight: 500; cursor: pointer; font-variant-numeric: tabular-nums; }
.nota-btn[aria-pressed="true"] { background: var(--laranja); border-color: var(--laranja); color: #1a0c06; }
.capt-video { border: 1px solid var(--linha); margin: 0 0 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }

/* Dívidas e pagamentos */
.div-area { display: flex; flex-direction: column; gap: 12px; }
.div-area > .tiles { margin-top: 0; }
.div-topo { display: flex; flex-direction: column; gap: 4px; }
.div-grande { border: 0; background: none; padding: 0; color: var(--texto); font: inherit; font-size: 2.3rem; line-height: 1.05; letter-spacing: -0.04em; text-align: left; cursor: pointer; }
.div-tile { text-align: left; cursor: pointer; color: var(--texto); font: inherit; }
.div-extra { font-size: 0.72rem; color: var(--texto-3); }
.div-porconf { display: inline-block; font-size: 0.78rem; font-weight: 500; color: #f5b14c; border: 1px dashed rgb(245 177 76 / 0.6); border-radius: 999px; padding: 1px 8px; }
.div-falta { display: flex; flex-direction: column; gap: 4px; border-color: rgb(255 90 79 / 0.5); background: rgb(255 90 79 / 0.08); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.div-rever { display: flex; flex-direction: column; gap: 6px; border-color: rgb(245 177 76 / 0.5); background: rgb(245 177 76 / 0.07); color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.div-nota { color: var(--texto-3); }
.div-item { display: flex; flex-direction: column; gap: 6px; }
.div-item.vencida { border-color: rgb(255 90 79 / 0.45); }
.div-item.paga { opacity: 0.75; }
.div-valor { margin: 0; font-size: 1rem; }
.div-valor b { font-size: 1.25rem; font-weight: 500; }
.div-datas { display: flex; flex-wrap: wrap; gap: 6px; }
.div-data { font-size: 0.76rem; font-weight: 500; padding: 3px 10px; border-radius: 8px; }
.div-data.oficial { background: rgb(255 255 255 / 0.1); color: var(--texto); border: 1px solid rgb(255 255 255 / 0.25); }
.div-data.planeada { color: var(--laranja-claro); border: 1px dashed rgb(255 109 41 / 0.6); }
.div-data.semprazo { color: var(--texto-3); border: 1px dashed var(--linha); }
.div-legenda { display: flex; gap: 8px; flex-wrap: wrap; }
.div-alerta { margin: 0; font-size: 0.85rem; font-weight: 500; color: var(--erro); }
.div-alerta.ambar { color: #f5b14c; }
.div-revnota { color: #f5b14c; }
.div-obs { white-space: pre-line; }
.div-somatorio { margin: 2px 0; }
.div-tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 8px 0; }
.div-tres > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.div-tres small { font-size: 0.72rem; color: var(--texto-3); }
.div-prest-mini { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--linha); }
.div-prest-mini button { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr; gap: 8px; width: 100%; padding: 9px 0; border: 0; border-bottom: 1px solid var(--linha); background: none; color: var(--texto-2); font: inherit; font-size: 0.82rem; text-align: left; cursor: pointer; }
.div-prest-mini button span:last-child { text-align: right; }
.div-prest-mini .ok { color: var(--verde); }
.div-prest-mini .mau { color: var(--erro); }
.div-tabela { overflow-x: auto; }
.div-proj { list-style: none; margin: 0; padding: 0; min-width: 340px; }
.div-ev { display: grid; grid-template-columns: 62px minmax(0, 1fr) 84px 84px; gap: 8px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--linha); font-size: 0.84rem; }
.div-ev.cab { font-size: 0.72rem; color: var(--texto-3); }
.div-ev .div-ev-v, .div-ev .div-ev-s, .div-ev.cab span:nth-child(n+3) { text-align: right; }
.div-ev.entra .div-ev-v { color: var(--verde); }
.div-ev.falta { background: rgb(255 90 79 / 0.08); }
.div-ev.falta .div-ev-s { color: var(--erro); font-weight: 600; }
.div-ev-data { color: var(--texto-2); }
.div-anulado { opacity: 0.55; text-decoration: line-through; }
.div-menu { margin-top: 12px; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--texto-2); }
.check input { width: 20px; height: 20px; flex: none; }
.div-mes-sub { font-size: 0.9rem; color: var(--texto-2); letter-spacing: 0; }
.div-prev { text-transform: capitalize; }
.div-meses { list-style: none; margin: 0; padding: 0; min-width: 340px; }
.div-mes > button, .div-mes.cab { display: grid; grid-template-columns: 70px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: baseline; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--linha); background: none; color: var(--texto); font: inherit; font-size: 0.86rem; text-align: right; cursor: pointer; }
.div-mes.cab { font-size: 0.72rem; color: var(--texto-3); cursor: default; }
.div-mes > button > :first-child, .div-mes.cab > :first-child { text-align: left; }
.div-mes-nome { text-transform: capitalize; color: var(--texto-2); }
.div-mes-nome small { color: var(--texto-3); text-transform: none; }
.div-mes.atual > button { background: rgb(255 109 41 / 0.07); }
.div-mes.falta > button { background: rgb(255 90 79 / 0.08); }
.div-mes .ok { color: var(--verde); }

/* Arranque, carregamento e respostas às ações */
.arranque { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.arranque-logo { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 18px 50px rgb(255 109 41 / 0.35); animation: respirar 1.6s ease-in-out infinite; }
.arranque-frase { margin: 0; color: var(--texto-2); font-size: 0.95rem; letter-spacing: -0.01em; animation: aparecer 0.6s ease 0.2s both; }
@keyframes respirar { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.94); opacity: 0.82; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.carregar { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.esq-cartao { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; border-radius: var(--raio); background: var(--cartao); border: 1px solid var(--linha); }
.esq-cartao i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgb(255 255 255 / 0.05) 0%, rgb(255 255 255 / 0.11) 50%, rgb(255 255 255 / 0.05) 100%); background-size: 200% 100%; animation: brilho 1.3s linear infinite; }
.esq-cartao i:first-child { width: 55%; height: 16px; }
.esq-cartao i.curto { width: 35%; }
.carregar-frase { margin: 14px 0 0; text-align: center; color: var(--texto-3); font-size: 0.9rem; animation: aparecer 0.5s ease both; }
@keyframes brilho { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.btn.a-processar, .btn-circulo.a-processar { position: relative; color: transparent !important; pointer-events: none; }
.btn.a-processar::after, .btn-circulo.a-processar::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-color: rgb(255 255 255 / 0.85) rgb(255 255 255 / 0.85) rgb(255 255 255 / 0.85) transparent;
  animation: rodar 0.7s linear infinite;
}
.btn.primario.a-processar::after, .btn-circulo.laranja.a-processar::after { border-color: #1a0c06 #1a0c06 #1a0c06 transparent; }
@keyframes rodar { to { transform: rotate(360deg); } }

.aviso { display: flex; align-items: center; gap: 10px; width: max-content; animation: subir 0.28s cubic-bezier(.2,.8,.2,1); }
.aviso-visto { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--verde); position: relative; }
.aviso-visto::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #0d2a1c; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.aviso-acao { margin-left: 4px; padding: 4px 10px; border: 0; border-radius: 999px; background: #161316; color: #fff; font: inherit; font-size: 0.82rem; font-weight: 500; cursor: pointer; }
@keyframes subir { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

.vazio-acao { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border-radius: var(--raio); border: 1px dashed rgb(255 255 255 / 0.14); }
.vazio-acao .acoes { margin-top: 10px; }
.dia-fechado { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; margin-bottom: 6px; border-radius: var(--raio); background: linear-gradient(135deg, rgb(94 211 154 / 0.14), rgb(94 211 154 / 0.04)); border: 1px solid rgb(94 211 154 / 0.35); animation: aparecer 0.45s ease both; }
.dia-fechado-visto { width: 34px; height: 34px; border-radius: 50%; background: var(--verde); position: relative; margin-bottom: 6px; }
.dia-fechado-visto::after { content: ""; position: absolute; left: 12px; top: 7px; width: 8px; height: 15px; border: solid #0d2a1c; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.tarefa.a-fechar { opacity: 0.45; transition: opacity 0.2s ease; }

/* Nome por baixo do ícone de cada aba */
.separadores button { width: 62px; height: 56px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.separadores svg { width: 20px; height: 20px; }
.tab-rot { font-size: 0.6rem; font-weight: 500; line-height: 1; letter-spacing: -0.01em; padding: 0 2px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.separadores { border-radius: 26px; }
.separadores.compacta { gap: 5px; padding: 6px; }
.separadores.compacta button { width: 48px; height: 52px; border-radius: 15px; }
.separadores.compacta svg { width: 19px; height: 19px; }
.separadores.compacta .tab-rot { font-size: 0.52rem; padding: 0 1px; }
@media (prefers-reduced-motion: reduce) { .arranque-logo, .esq-cartao i, .btn.a-processar::after { animation: none !important; } }

/* Ecrãs de espera por perfil (index.html) */
.arr { position: relative; min-height: 100vh; min-height: 100dvh; padding: calc(env(safe-area-inset-top, 0px) + 24px) max(28px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 40px) max(28px, env(safe-area-inset-left, 0px)); overflow: hidden; color: #f4efe9; animation: aparecer 0.35s ease both; }

/* 1 · Visor de câmara (consultores, recrutadoras, brokers, clientes) */
.arr-visor { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; background: radial-gradient(120% 60% at 50% 0%, #2a1a14 0%, transparent 55%); }
.arr-v-quadro { position: relative; width: min(100%, 340px); aspect-ratio: 286 / 290; }
.arr-v-quadro > i { position: absolute; width: 34px; height: 34px; border: 0 solid rgb(255 255 255 / 0.75); }
.arr-v-quadro > i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; }
.arr-v-quadro > i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.arr-v-quadro > i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.arr-v-quadro > i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.arr-v-quadro { animation: focar 1.2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes focar { from { transform: scale(1.08); opacity: 0.4; } to { transform: none; opacity: 1; } }
.arr-v-rec { position: absolute; left: 18px; top: 16px; display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; }
.arr-v-rec b { width: 9px; height: 9px; border-radius: 50%; background: #ff4a2e; box-shadow: 0 0 12px #ff4a2e; animation: piscar 1s steps(1) infinite; }
@keyframes piscar { 50% { opacity: 0; } }
.arr-v-tc { position: absolute; right: 18px; top: 15px; font-size: 12px; letter-spacing: 0.08em; color: rgb(255 255 255 / 0.7); font-variant-numeric: tabular-nums; }
.arr-v-marca { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 78px; font-weight: 700; letter-spacing: -0.05em; }
.arr-v-marca span, .arr-t-marca span { color: #ff6d29; }
.arr-v-mira { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; transform: translate(-50%, 62px); }
.arr-v-mira::before, .arr-v-mira::after { content: ""; position: absolute; background: rgb(255 255 255 / 0.35); }
.arr-v-mira::before { left: 6px; top: 0; width: 2px; height: 14px; }
.arr-v-mira::after { top: 6px; left: 0; width: 14px; height: 2px; }
.arr-v-dados { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.1em; color: rgb(255 255 255 / 0.5); }
.arr-v-frase { margin: 40px 0 0; text-align: center; font-size: 17px; color: #d8d0c8; letter-spacing: -0.01em; }
.arr-v-sub { margin: 12px 0 0; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(255 255 255 / 0.4); }

/* 2 · Linha de montagem (editores, gestor de projetos, videógrafo) */
.arr-timeline { display: flex; flex-direction: column; justify-content: center; gap: 56px; }
.arr-timeline::before { content: ""; position: absolute; left: -80px; right: -80px; top: -120px; height: 420px; background: radial-gradient(closest-side, rgb(255 109 41 / 0.26), transparent); pointer-events: none; }
.arr-t-cab { position: relative; }
.arr-t-marca { margin: 0; font-size: 64px; font-weight: 700; line-height: 0.95; letter-spacing: -0.055em; }
.arr-t-tag { margin: 10px 0 0 2px; font-size: 15px; color: rgb(255 255 255 / 0.55); }
.arr-t-tl { position: relative; }
.arr-t-regua { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 9.5px; letter-spacing: 0.06em; color: rgb(255 255 255 / 0.35); font-variant-numeric: tabular-nums; }
.arr-t-pista { display: flex; gap: 3px; height: 30px; margin-bottom: 5px; }
.arr-t-pista i { display: block; height: 100%; border-radius: 5px; transform-origin: left; animation: clipe 0.5s cubic-bezier(.2,.8,.2,1) both; }
.arr-t-pista i:nth-child(2) { animation-delay: 0.08s; } .arr-t-pista i:nth-child(3) { animation-delay: 0.16s; } .arr-t-pista i:nth-child(4) { animation-delay: 0.24s; } .arr-t-pista i:nth-child(5) { animation-delay: 0.32s; }
@keyframes clipe { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
.arr-t-pista.v i { background: linear-gradient(180deg, #ff8a4c, #e85a1a); }
.arr-t-pista.a i { height: 18px; align-self: center; background: rgb(94 211 154 / 0.55); }
.arr-t-pista.g i { height: 14px; align-self: center; background: rgb(255 255 255 / 0.18); }
.arr-t-agulha { position: absolute; top: -12px; bottom: -6px; left: 0; width: 2px; background: #fff; box-shadow: 0 0 10px rgb(255 255 255 / 0.8); animation: agulha 2.4s cubic-bezier(.45,.05,.55,.95) infinite; }
.arr-t-agulha::before { content: ""; position: absolute; top: -6px; left: -5px; width: 12px; height: 10px; background: #fff; clip-path: polygon(0 0, 100% 0, 50% 100%); }
@keyframes agulha { 0% { left: 0; } 85%, 100% { left: calc(100% - 2px); } }
.arr-t-frase { margin: 0; font-size: 17px; color: #e6dfd8; letter-spacing: -0.01em; }
.arr-t-est { margin: 8px 0 0; font-size: 12px; color: rgb(255 255 255 / 0.4); }

/* 3 · Manifesto (Tiago) */
.arr-manifesto { display: flex; flex-direction: column; background: linear-gradient(180deg, #1b1210 0%, transparent 40%); }
.arr-m-topo { display: flex; align-items: center; gap: 10px; margin-top: 48px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(255 255 255 / 0.55); }
.arr-m-topo img { width: 30px; height: 30px; border-radius: 9px; }
.arr-m-frase { margin: auto 0 0; font-size: clamp(46px, 14.5vw, 64px); font-weight: 600; line-height: 0.98; letter-spacing: -0.05em; }
.arr-m-frase .s { color: rgb(255 255 255 / 0.28); }
.arr-m-frase em { font-style: normal; color: #ff6d29; }
.arr-m-frase { animation: aparecer 0.6s ease 0.1s both; }
.arr-m-fundo { margin-top: auto; padding-top: 56px; }
.arr-linha { height: 3px; border-radius: 2px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.arr-linha i { display: block; width: 100%; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #ff6d29, #ffb07a); transform-origin: left; animation: encher 1.6s cubic-bezier(.3,.6,.2,1) infinite; }
@keyframes encher { 0% { transform: scaleX(0); } 70% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.arr-m-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 12px; color: rgb(255 255 255 / 0.45); }
.arr-m-meta span:last-child { text-transform: capitalize; }
.arr-m-assin { margin: 40px 0 0; font-size: 12px; color: rgb(255 255 255 / 0.35); }
@media (prefers-reduced-motion: reduce) { .arr *, .arr { animation: none !important; } }

/* Notificações com link, por aprovar e relatórios */
.notif-msg { white-space: pre-line; }
.notifs li { display: flex; flex-direction: column; }
.notif-link { align-self: flex-start; margin: 6px 0 0 14px; }
.aprovar-grupo { display: flex; flex-direction: column; gap: 6px; }
.aprovar-videos { margin: 4px 0; }
.campo-copiar { width: 100%; font: inherit; color: var(--texto); background: var(--cartao); border: 1px solid var(--linha); border-radius: 12px; padding: 10px; }
.relatorio-linha { display: flex; flex-direction: column; gap: 4px; width: 100%; text-align: left; font: inherit; color: var(--texto); cursor: pointer; }
.rel-texto { white-space: pre-line; margin: 0 0 6px; color: var(--texto-2); line-height: 1.5; }
.pagamentos-cli { display: flex; flex-direction: column; gap: 6px; }
.pagamentos-cli.com-falta { border-color: rgb(245 177 76 / 0.45); }
.pag-dir { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }

/* Alterações pedidas, visíveis nos cartões */
.ajuste-cartao { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; padding: 8px 10px; border-left: 3px solid var(--erro); background: rgb(255 90 79 / 0.1); border-radius: 8px; font-size: 0.86rem; text-align: left; }
.ajuste-cartao b { font-weight: 600; }
.ajuste-cartao .pre { white-space: pre-wrap; }

/* Olho: sinal de quem já entrou na app */
.login-sinal { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.8rem; color: var(--texto-2, #9a9a9a); }
.login-sinal i { width: 8px; height: 8px; border-radius: 50%; background: #6b6b6b; flex: none; }
.login-sinal.sim i { background: #34c759; box-shadow: 0 0 0 3px rgb(52 199 89 / 0.18); }
.login-sinal.nao i { background: transparent; border: 1.5px solid #8a8a8a; }

/* Cronogramas de publicação */
.pub-lista { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pub-linha { display: grid; grid-template-columns: 58px 1fr; gap: 6px 12px; align-items: start; padding: 12px; border-radius: 14px; background: var(--cartao); border: 1px solid var(--linha); }
.pub-linha.hoje { border-color: rgb(217 178 111 / 0.55); }
.pub-linha.feito { opacity: 0.62; }
.pub-dia { display: flex; flex-direction: column; line-height: 1.2; }
.pub-dia b { font-size: 0.95rem; }
.pub-dia small { color: var(--texto-2); font-size: 0.8rem; margin-top: 2px; }
.pub-corpo { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pub-acoes { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.destaque .pub-lista { margin: 10px 0 0; }
.mes-nav { margin-bottom: 12px; }
.mes-nav h3 { margin: 0; }
.txt-erro { color: var(--erro); }
.segmentado { overflow-x: auto; scrollbar-width: none; }
.segmentado::-webkit-scrollbar { display: none; }
.cal-atalho { width: 100%; text-align: left; margin: 12px 0 4px; gap: 12px; display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; }
.cal-atalho svg { flex: none; width: 22px; height: 22px; }
.ficha.registada { border-style: dashed; border-color: var(--laranja); color: var(--laranja); }

/* Leads do site */
.consent-linha { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.consent-linha input { width: 18px; height: 18px; accent-color: #FF6D29; }
select.selo { font: inherit; border: 0; cursor: pointer; }
