:root {
  --navy: #14283F; --gold: #C6A15B; --ivory: #F6F2E9; --slate: #667586; --teal: #34766F;
  --erro: #9b2c2c; --ok: #2f6b3a; --aviso: #8a6d1f;
  --font-editorial: "Source Serif 4", Georgia, serif; --font-interface: Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--ivory); color: var(--navy); font-family: var(--font-interface); font-size: 15px; line-height: 1.45; }
.topo { background: var(--navy); color: var(--ivory); display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; gap: 12px; }
.logo { height: 40px; max-width: 60vw; object-fit: contain; }
.topo-direita { display: flex; align-items: center; gap: 12px; }
.projeto { color: var(--gold); font-weight: 600; }
.conteudo { max-width: 1100px; margin: 0 auto; padding: 16px; }
.colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .colunas { grid-template-columns: 1fr; } }
.cartao { background: #fff; border: 1px solid #e6e0d3; border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; }
h1, h2 { font-family: var(--font-editorial); font-weight: 600; margin: 0 0 8px; }
h1 { font-size: 26px; } h2 { font-size: 20px; }
label { display: block; font-weight: 600; margin: 10px 0 4px; }
input[type=text], input[type=password], textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfc6b4; border-radius: 12px; font: inherit; background: #fff; }
textarea { resize: vertical; }
.linha { display: flex; gap: 12px; align-items: end; } .linha label { flex: 1; }
.botao { background: var(--navy); color: var(--ivory); border: 0; border-radius: 12px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; margin-top: 12px; }
.botao:hover { background: #1d3a5b; }
.botao-secundario { background: transparent; color: var(--ivory); border: 1px solid var(--gold); border-radius: 12px; padding: 6px 12px; font: inherit; cursor: pointer; }
.botao-pequeno { background: var(--teal); color: #fff; border: 0; border-radius: 10px; padding: 6px 12px; font: inherit; cursor: pointer; margin-right: 8px; }
.mudo { color: var(--slate); }
.erro { color: var(--erro); font-weight: 600; }
.lista { list-style: none; margin: 0; padding: 0; }
.lista li { padding: 10px 6px; border-bottom: 1px solid #efe9dc; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; }
.lista li:hover { background: #faf7f0; }
.lista .tarefa-curta { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.etiqueta { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #e9e4d8; color: var(--navy); white-space: nowrap; }
.etiqueta.completed { background: #dff1e3; color: var(--ok); }
.etiqueta.completed_with_exceptions { background: #f6e7c2; color: var(--aviso); }
.etiqueta.cancelled, .etiqueta.halted_safety { background: #f3d9d9; color: var(--erro); }
.etiqueta.running, .etiqueta.queued, .etiqueta.planning, .etiqueta.validating { background: #d9e8ff; color: #1f4a8a; }
.etiqueta[class*="paused"] { background: #f6e7c2; color: var(--aviso); }
.detalhe-cabecalho { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tarefa { white-space: pre-wrap; background: #faf7f0; padding: 10px 12px; border-radius: 12px; }
.custos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 12px 0; }
.custo { background: #faf7f0; border-radius: 12px; padding: 8px 10px; }
.custo .rotulo { color: var(--slate); font-size: 12px; } .custo .valor { font-size: 18px; font-weight: 700; font-family: var(--font-editorial); }
.acoes { margin: 10px 0; }
.mensagem { border-left: 4px solid var(--gold); padding: 8px 12px; margin: 8px 0; background: #fffdf7; border-radius: 0 12px 12px 0; }
.mensagem.negada { border-color: var(--erro); }
.mensagem.acolhimento { border-color: var(--teal); }
.artefato { white-space: pre-wrap; background: #fff; border: 1px solid #e6e0d3; border-radius: 12px; padding: 12px; max-height: 60vh; overflow: auto; font-family: var(--font-editorial); }
.eventos { font-size: 13px; color: var(--slate); padding-left: 18px; }
.eventos li b { color: var(--navy); }
.rodape { text-align: center; padding: 16px; font-size: 12px; }
.resumo-projeto { margin-top: 14px; font-size: 13px; color: var(--slate); }
.pergunta textarea { width: 100%; margin-top: 6px; }
.teto input { width: 90px; }
.contestar textarea { width: 100%; margin-top: 6px; }
.opcao { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--slate); font-size: 13px; margin: 8px 0 0; }
.opcao input { width: 16px; height: 16px; }
.aviso-offline { position: sticky; top: 0; z-index: 5; background: var(--aviso); color: #fff; text-align: center; padding: 8px 12px; font-weight: 600; }
.instalar { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; background: var(--navy); color: var(--ivory); padding: 10px 16px; }
.botao-secundario-claro { background: transparent; color: var(--ivory); border: 1px solid var(--ivory); border-radius: 10px; padding: 6px 12px; font: inherit; cursor: pointer; }
.conteudo-com-instalar { padding-bottom: 72px; }
.botao-texto { background: none; border: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
