/* Dashboard FE2026 — cores do GEC (DESIGN.md), fontes do sistema (nada externo). */
:root {
  --ink: #0E2A3B; --ink-2: #4A6172; --ground: #FFFFFF; --tile: #E8F5F9;
  --rule: #C4D6DE; --action: #FFC629; --action-hover: #FFD65E; --logo: #5CC4D8;
  --azul: #0B5E8E; --verde: #287A45; --vinho: #C23A62; --laranja: #B24A18;
  --fundo: #F4F8FA;
  --raio: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--fundo); line-height: 1.45;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--azul); }
h1 { font-size: 1.6rem; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 1.05rem; margin: 0 0 .75rem; }
h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin: 1.25rem 0 .4rem; }
code { background: var(--tile); padding: 0 .3em; border-radius: 4px; }

/* Identidade: navy do GEC + amarelo do cartaz da XI Feira (6 Out 2026) */
.topo { background: var(--ink); color: #fff; border-bottom: 4px solid var(--action); }
.topo-in { max-width: 1280px; margin: 0 auto; padding: .7rem 16px; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; }
.marca { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; }
.marca img { display: block; flex: none; }
.marca b { color: var(--action); }
.marca small { font-weight: 400; color: var(--logo); margin-left: .4rem; font-size: .9rem; }
@media (max-width: 520px) { .marca small { display: block; margin-left: 0; font-size: .8rem; } }
.topo nav { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: center; font-size: .92rem; }
.topo nav a { color: #fff; text-decoration: none; border-bottom: 2px solid transparent; }
.topo nav a:hover { border-color: var(--action); }
.quem { color: #C9D8E0; }
/* Secções do cabeçalho como botões de cor própria; o ecrã actual fica preenchido (6 Out 2026) */
.topo nav a.nav-sec { font-weight: 700; padding: .4rem .95rem; border-radius: 999px; border: 2px solid; }
.topo nav a.amarelo { color: var(--action); border-color: var(--action); }
.topo nav a.azul { color: var(--logo); border-color: var(--logo); }
.topo nav a.branco { color: #fff; border-color: #C9D8E0; }
.topo nav a.amarelo:hover, .topo nav a.amarelo[aria-current=page] { background: var(--action); color: var(--ink); }
.topo nav a.azul:hover, .topo nav a.azul[aria-current=page] { background: var(--logo); color: var(--ink); }
.topo nav a.branco:hover { background: #fff; color: var(--ink); border-color: #fff; }

main { flex: 1; width: 100%; margin: 0 auto; padding: 1.5rem 16px 3rem; }
main.largo { max-width: 1280px; }
main.estreito { max-width: 640px; }
.rodape { font-size: .78rem; color: var(--ink-2); background: var(--ground); padding: 1.25rem 16px 1.5rem; border-top: 1px solid var(--rule); }
.rodape-in { max-width: 1280px; margin: 0 auto; text-align: center; }
.rodape p { margin: .5rem 0 0; }
.logos { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: center; margin-bottom: .75rem; }
.logos img { display: block; }
.logos .gec { display: flex; align-items: center; gap: .55rem; text-align: left; color: #3C3C3B; font-weight: 700; font-size: .82rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .01em; }
.rodape .credito { font-size: .74rem; color: var(--ink-2); }
.credito b { font-weight: 700; color: var(--ink); }
.credito b span { font-weight: 400; color: #1F8DA6; }
.credito a { color: inherit; text-decoration: underline; text-decoration-color: #1F8DA6; text-underline-offset: 2px; }
.credito a:hover b, .credito a:focus-visible b { color: #1F8DA6; }
.aviso-pagina .banner { display: block; width: 100%; height: auto; border-radius: 6px; margin-bottom: 1.25rem; }

.cabeca { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cabeca .suave { flex-basis: 100%; margin: 0; }
.migalhas { font-size: .9rem; margin: 0 0 .75rem; }
.suave { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ajuda { font-size: .85rem; color: var(--ink-2); margin: .25rem 0 .75rem; }

.resumo { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.resumo li { background: var(--ground); border: 1px solid var(--rule); border-left-width: 4px; border-radius: var(--raio); padding: .35rem .75rem; font-size: .9rem; }
.resumo b { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.resumo .pendente { border-left-color: var(--action); }
.resumo .marcado { border-left-color: var(--verde); }
.resumo .espera { border-left-color: var(--azul); }
.resumo .anulado { border-left-color: var(--rule); }

.filtros { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; margin: 0 0 1rem; }
.filtros label { display: flex; flex-direction: column; font-size: .8rem; color: var(--ink-2); gap: .2rem; }
.filtros .cresce { flex: 1 1 14rem; }
.filtros .caixa-check { flex-direction: row; align-items: center; gap: .4rem; font-size: .9rem; color: var(--ink); padding-bottom: .5rem; }
.limpar { font-size: .9rem; padding-bottom: .55rem; }
select, input[type=search], textarea {
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--ground);
  border: 1px solid var(--rule); border-radius: 6px; padding: .45rem .55rem; min-height: 2.4rem; max-width: 100%;
}
textarea { width: 100%; resize: vertical; }
select:focus, input:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--logo); outline-offset: 1px; }
button, .botao-sec {
  font: inherit; font-size: .92rem; font-weight: 600; border-radius: 6px; padding: .5rem .95rem; cursor: pointer;
  border: 1px solid var(--ink); background: var(--ground); color: var(--ink); text-decoration: none; display: inline-block; min-height: 2.4rem;
}
button:hover, .botao-sec:hover { background: var(--tile); }
button.principal { background: var(--action); border-color: var(--action); color: var(--ink); padding: .6rem 1.4rem; }
button.principal:hover { background: var(--action-hover); }

.tabela-rola { overflow-x: auto; background: var(--ground); border: 1px solid var(--rule); border-radius: var(--raio); }
table.lista { width: 100%; border-collapse: collapse; font-size: .92rem; }
.lista th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); font-weight: 600; padding: .6rem .75rem; border-bottom: 1px solid var(--rule); background: var(--tile); position: sticky; top: 0; }
.lista td { padding: .6rem .75rem; border-bottom: 1px solid #E3ECF0; vertical-align: top; }
.lista tbody tr:hover { background: #FAFCFD; }
.lista.compacta { font-size: .9rem; }
.agenda .hora { font-weight: 700; width: 5rem; }
.agenda tr.livre td { background: #FBFDFE; }

.estado { display: inline-block; font-size: .8rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.estado.grande { font-size: .95rem; padding: .3rem .8rem; }
.estado.pendente { background: #FFF4D1; color: #6B4E00; border-color: #F2D98A; }
.estado.marcado { background: #E3F2E8; color: #1D5C33; border-color: #B7DBC3; }
.estado.espera { background: #E1EEF6; color: #0B4A70; border-color: #B5D2E4; }
.estado.anulado { background: #EEF1F3; color: var(--ink-2); border-color: var(--rule); text-decoration: line-through; }
.flag { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--laranja); background: #FBEDE6; border-radius: 4px; padding: .05rem .4rem; margin: .15rem .25rem 0 0; }

.caixa { background: var(--ground); border: 1px solid var(--rule); border-radius: var(--raio); padding: 1.1rem 1.25rem; margin: 1.25rem 0 0; }
.caixa.destaque { border-top: 4px solid var(--action); }
.colunas { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.colunas .caixa { margin: 0; }
@media (max-width: 860px) { .colunas { grid-template-columns: minmax(0, 1fr); } }
dl { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .35rem .75rem; margin: 0; }
dt { color: var(--ink-2); font-size: .85rem; }
dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { dl { grid-template-columns: minmax(0, 1fr); } dt { margin-top: .4rem; } }

.form-validar { display: flex; flex-direction: column; gap: .85rem; }
.form-validar > label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .9rem; }
.estados { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.estados legend { font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.estados label { display: flex; align-items: center; gap: .4rem; border: 1px solid var(--rule); border-radius: 6px; padding: .45rem .8rem; cursor: pointer; }
.estados label:has(input:checked) { border-color: var(--ink); background: var(--tile); font-weight: 600; }
.form-validar button { align-self: flex-start; }

.ok, .erro { padding: .7rem 1rem; border-radius: var(--raio); margin: 0 0 1rem; }
.ok { background: #E3F2E8; color: #1D5C33; }
.erro { background: #FBE7EC; color: #8A1F3F; font-weight: 600; }
.vazio { background: var(--ground); border: 1px dashed var(--rule); border-radius: var(--raio); padding: 2rem; text-align: center; color: var(--ink-2); }
.aviso-pagina { background: var(--ground); border: 1px solid var(--rule); border-radius: var(--raio); padding: 2rem; margin-top: 2rem; }
.aviso-pagina p { color: var(--ink-2); margin-bottom: 0; }

.agendas { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .75rem; }
.agendas a { font-size: .85rem; text-decoration: none; border: 1px solid var(--rule); border-radius: 999px; padding: .25rem .7rem; background: var(--ground); }
.agendas a:hover { border-color: var(--azul); }
.agendas a[aria-current=page] { background: var(--ink); color: #fff; border-color: var(--ink); }
.espera-lista { margin: 0; padding-left: 1.4rem; }
.espera-lista li { padding: .25rem 0; }

/* Horários de tolerância: passam da hora de fim (29 Set 2026) */
.nota-tol { display: inline-block; font-size: .72rem; font-weight: 700; color: #7A3E00; background: #FFE3C2; border-radius: 4px; padding: 0 .35rem; }
.agenda tr.tolerancia td { background: #FFF4E6; }
.agenda tr.tolerancia .hora { border-left: 4px solid #E08A2E; }
.estado.marcado.tolerancia { background: #FFE3C2; color: #7A3E00; border-color: #F0B97A; }
option.tolerancia { background: #FFF4E6; color: #7A3E00; }
.aviso-tol { border-left: 4px solid #E08A2E; padding-left: .6rem; color: #7A3E00; }

.faixa-demo { margin: 0; padding: .45rem 16px; text-align: center; font-weight: 700; font-size: .9rem; background: #C23A62; color: #fff; }

.lista td.obs { max-width: 18rem; font-size: .85rem; color: var(--ink-2); overflow-wrap: anywhere; }
.accoes { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 0 0 1rem; }
.lista .dir { text-align: right; }
/* Listagem de validadas e anuladas por entidade (30 Set 2026) */
.grupo-com h2 { margin-bottom: .2rem; }
.grupo-com > p { margin: 0 0 .75rem; }
.grupo-com td { vertical-align: top; }
.lista td.obs-completa { font-size: .85rem; white-space: pre-line; overflow-wrap: anywhere; min-width: 12rem; }
@media print {
  .topo, .rodape, .nao-imprimir, .faixa-demo { display: none; }
  body, :root { background: #fff; }
  .tabela-rola, .caixa { border: 0; }
  .grupo-com { padding: 0; margin-top: 1.2rem; break-inside: avoid-page; }
  .grupo-com tr { break-inside: avoid; }
}
/* Detalhe só de leitura (perfil entidade) e seguimento pelas empresas (6 Out 2026) */
dd.obs-completa { white-space: pre-line; }
.lista.seguimento td { vertical-align: top; }
.lista.seguimento select { min-width: 5.5rem; }
.lista.seguimento input[type=text] { font: inherit; font-size: .95rem; border: 1px solid var(--rule); border-radius: 6px;
  padding: .45rem .55rem; min-height: 2.4rem; width: 8.5rem; }
.lista.seguimento textarea { min-width: 14rem; }
.lista.seguimento .ajuda { display: block; margin: .2rem 0 0; font-size: .75rem; }
.form-seguimento > button { margin-top: .5rem; }
.lista tfoot th { border-top: 2px solid var(--rule); background: var(--tile); }

/* Check-in na receção, para tablet (7 Out 2026) */
.rececao-barra { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: end;
  justify-content: space-between; background: var(--fundo); padding: .6rem 0; margin-bottom: .5rem; }
.rececao-procura { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; font-size: .9rem; flex: 1 1 18rem; }
.rececao-procura input { font: inherit; font-size: 1.05rem; padding: .6rem .75rem; border: 1px solid var(--rule); border-radius: 6px; width: 100%; }
.rececao-lista { display: flex; flex-direction: column; gap: .6rem; }
.pessoa { display: grid; grid-template-columns: minmax(12rem, 1fr) auto minmax(0, 2.4fr) auto; gap: .6rem 1rem; align-items: center;
  background: var(--ground); border: 1px solid var(--rule); border-left: 6px solid var(--rule); border-radius: var(--raio); padding: .7rem .9rem; }
.pessoa[hidden] { display: none; }
.pessoa.presente { border-left-color: var(--verde); background: #F3FAF5; }
.pessoa.faltou { border-left-color: var(--vinho); }
.flag.faltou { color: #8A1F3F; background: #FBE7EC; }
/* Fecho do dia (13 Out 2026) */
.rececao-accoes { display: flex; flex-wrap: wrap; gap: .5rem; }
.botao-sec.fechar-dia { border-color: var(--vinho); color: #8A1F3F; }
.fecho-feito { background: var(--tile); border-left: 4px solid var(--logo); border-radius: var(--raio); padding: .6rem 1rem; margin: 0 0 1rem; }
.fecho-confirmar { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.fecho-confirmar .toque { white-space: normal; }
.lista-faltas { columns: 2 18rem; margin: .5rem 0 0; padding-left: 1.2rem; }
/* Seguimento: o que a receção registou (13 Out 2026) */
.feira-feita, .feira-faltou, .feira-nao-feita { display: inline-block; font-size: .72rem; font-weight: 600; border-radius: 4px; padding: .05rem .4rem; margin-top: .2rem; white-space: nowrap; }
.feira-feita { color: #1D5C33; background: #E3F2E8; }
.feira-faltou { color: #8A1F3F; background: #FBE7EC; }
.feira-nao-feita { color: var(--ink-2); background: var(--tile); }
/* Acompanhamento da empresa (20 Out 2026): um registo por candidato (tbody), com as observações
   numa linha própria a toda a largura; registos alternados e separados por uma linha. */
.lista.por-empresa .col-ent { width: 6.5rem; white-space: normal; }
.lista.por-empresa .col-ent [class^="feira-"] { white-space: normal; }
.lista.por-empresa .registo td { border-bottom: 0; }
.lista.por-empresa .registo + .registo { border-top: 1px solid var(--rule); }
.lista.por-empresa .registo:nth-of-type(even) { background: var(--fundo); }
.lista.por-empresa .registo:focus-within { background: var(--tile); }
.lista.por-empresa tbody tr:hover { background: none; }
.lista.por-empresa .registo > tr:first-child > td { padding-bottom: .35rem; }
.lista.por-empresa .linha-obs > td { padding-top: .2rem; padding-bottom: .9rem; }
.obs-cabeca { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; margin-bottom: .3rem; }
.obs-cabeca label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); font-weight: 600; }
.lista.seguimento .obs-cabeca .ajuda { display: inline; margin: 0; }
.lista.por-empresa .linha-obs textarea { min-width: 0; min-height: 3.4rem; max-height: 20rem; field-sizing: content;
  line-height: 1.5; background: var(--ground); }
/* Em ecrãs estreitos a tabela rola: as observações ficam dentro da parte visível (margens + «Entrevista»). */
.lista.por-empresa .linha-obs > td > * { max-width: calc(100vw - 11rem); }
.seguimento .hora-ent.extra { color: var(--azul); background: #E6EEF8; border-radius: .25rem; padding: 0 .35rem; font-weight: 700; font-size: .8rem; }
.pessoa.por-gravar { border-left-color: var(--action); }
.pessoa.erro-gravar { border-left-color: var(--vinho); }
.pessoa-id { display: flex; gap: .6rem; align-items: baseline; }
.pessoa-cands { display: flex; flex-direction: column; gap: .4rem; }
.cand { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; padding: .35rem .5rem; border-radius: 6px; background: var(--fundo); }
.cand.feita { background: #E3F2E8; }
.cand .prevista { flex: 1 1 11rem; font-weight: 600; }
.cand .hora-ent { font-weight: 700; font-variant-numeric: tabular-nums; margin-left: .3rem; }
.cand .hora-ent.espera { color: var(--azul); font-weight: 600; }
.cand .hora-ent.extra { color: var(--azul); background: #E6EEF8; border-radius: .25rem; padding: 0 .35rem; font-weight: 700; }
.cand .hora-ent.pv { color: #B24A18; background: #FBEDE6; border-radius: .25rem; padding: 0 .35rem; font-weight: 700; }
.cand .campo { display: flex; flex-direction: column; font-size: .75rem; color: var(--ink-2); gap: .15rem; }
.cand select, .cand input[type=time] { font: inherit; font-size: .95rem; min-height: 2.5rem; padding: .3rem .4rem; border: 1px solid var(--rule); border-radius: 6px; background: #fff; }
.cand select { max-width: 14rem; }
.toque { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .3rem .8rem; border: 1px solid var(--rule);
  border-radius: 999px; background: #fff; font-weight: 600; cursor: pointer; white-space: nowrap; }
.toque input { width: 1.4rem; height: 1.4rem; margin: 0; }
.toque:has(input:checked) { background: var(--verde); border-color: var(--verde); color: #fff; }
.presenca { font-size: 1.05rem; }
.pessoa-extra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: end; padding-top: .4rem; border-top: 1px dashed var(--rule); }
.pessoa-extra .campo { display: flex; flex-direction: column; font-size: .75rem; color: var(--ink-2); gap: .15rem; }
.pessoa-extra select, .pessoa-extra input[type=time] { font: inherit; font-size: .95rem; min-height: 2.5rem; padding: .3rem .4rem; border: 1px solid var(--rule); border-radius: 6px; background: #fff; }
.pessoa-gravar { display: flex; flex-direction: column; gap: .25rem; align-items: flex-end; font-size: .8rem; min-width: 7rem; }
@media (max-width: 1000px) {
  .pessoa { grid-template-columns: minmax(0, 1fr) auto; }
  .pessoa-cands, .pessoa-gravar { grid-column: 1 / -1; }
  .pessoa-gravar { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Avaliação do evento pelas empresas (13 Out 2026) */
.form-avaliacao { display: flex; flex-direction: column; gap: 1rem; }
.form-avaliacao .caixa { margin: 0; }
.form-avaliacao button { align-self: flex-start; }
.grupo-av h2 { font-size: 1.05rem; margin: 0 0 .6rem; }
.escala-legenda { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0; font-size: .85rem; color: var(--ink-2); }
.pergunta-av { border: 0; margin: 0; padding: .6rem 0; border-top: 1px solid #E3ECF0; }
.pergunta-av:first-of-type { border-top: 0; }
.pergunta-av legend { float: left; width: 100%; font-weight: 600; margin-bottom: .45rem; }
.notas-av { clear: both; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
.notas-av label { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .45rem .3rem; border: 1px solid var(--rule);
  border-radius: 6px; cursor: pointer; text-align: center; background: var(--ground); }
.notas-av input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.notas-av span { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.notas-av small { font-size: .72rem; color: var(--ink-2); line-height: 1.2; }
.notas-av label:has(input:checked) { background: var(--verde); border-color: var(--verde); color: #fff; }
.notas-av label:has(input:checked) small { color: #fff; }
.notas-av label:has(input:focus-visible) { outline: 3px solid var(--logo); outline-offset: 1px; }
.texto-av { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .9rem; margin-top: .75rem; }
.texto-av:first-of-type { margin-top: 0; }
.texto-av input { font: inherit; font-size: .95rem; border: 1px solid var(--rule); border-radius: 6px; padding: .45rem .55rem; min-height: 2.4rem; }
.lista .grupo-linha td { background: var(--tile); font-size: .82rem; }
.comentarios-av h3 { margin: 0 0 .5rem; font-size: 1rem; }
.comentarios-av dl { grid-template-columns: 12rem minmax(0, 1fr); }
@media (max-width: 520px) { .notas-av small { font-size: .65rem; } .comentarios-av dl { grid-template-columns: minmax(0, 1fr); } }
.tabela-rola + h2, .ajuda + h2, .accoes + h2 { margin-top: 1.75rem; }
/* Nota inferior a 3: pede o motivo (13 Out 2026) */
.obs-av { display: none; flex-direction: column; gap: .3rem; margin-top: .55rem; padding: .6rem .7rem; border-radius: 6px;
  background: #FBE7EC; color: #8A1F3F; font-weight: 600; font-size: .88rem; }
.pergunta-av:has(input[value="1"]:checked, input[value="2"]:checked) .obs-av { display: flex; }
.obs-av textarea { font-weight: 400; }
.nota-baixa { display: inline-block; min-width: 1.4rem; text-align: center; font-weight: 700; color: #8A1F3F; background: #FBE7EC; border-radius: 4px; padding: 0 .3rem; }
/* Várias respostas por empresa (13 Out 2026) */
.botao-principal { font: inherit; font-size: .95rem; font-weight: 700; border-radius: 6px; padding: .6rem 1.4rem; display: inline-block;
  background: var(--action); border: 1px solid var(--action); color: var(--ink); text-decoration: none; }
.botao-principal:hover { background: var(--action-hover); }
.respostas-av { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.respostas-av .caixa { margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; }
/* Candidato sem inscrição na receção (13 Out 2026) */
.rececao-novo { background: var(--ground); border: 1px solid var(--rule); border-left: 4px solid var(--action); border-radius: var(--raio); padding: .6rem 1rem; margin: 0 0 .75rem; }
.rececao-novo summary { font-weight: 700; cursor: pointer; min-height: 2.4rem; display: flex; align-items: center; }
.rececao-novo form { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: end; margin-top: .4rem; }
.rececao-novo .campo { display: flex; flex-direction: column; font-size: .75rem; color: var(--ink-2); gap: .15rem; }
.rececao-novo input, .rececao-novo select { font: inherit; font-size: .95rem; min-height: 2.5rem; padding: .3rem .5rem; border: 1px solid var(--rule); border-radius: 6px; background: #fff; }
.rececao-novo input[name=nome] { min-width: 16rem; }
.rececao-novo .ajuda { margin: .5rem 0 0; }
.lista a[href*="/rececao/fecho/email/"] { white-space: nowrap; }
.cabeca + .ok + .resumo, .cabeca + .resumo, .resumo + h2 { margin-bottom: 1rem; }

/* Análise do dia na receção e relatório (14 Out 2026): gráficos em SVG */
.rececao-analise { background: var(--ground); border: 1px solid var(--rule); border-radius: var(--raio); padding: .5rem .9rem .9rem; margin-bottom: 1rem; }
.rececao-analise summary { cursor: pointer; font-weight: 700; padding: .35rem 0; }
.graficos { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(300px, 2fr); gap: 1rem 1.5rem; align-items: start; }
.kpis { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.kpis li { flex: 1 1 8rem; background: var(--fundo); border: 1px solid var(--rule); border-left: 4px solid var(--ink-2); border-radius: var(--raio); padding: .4rem .7rem; display: flex; flex-direction: column; }
.kpis b { font-size: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpis span { font-size: .8rem; color: var(--ink-2); }
.kpis .k-verde { border-left-color: var(--verde); }
.kpis .k-vinho { border-left-color: var(--vinho); }
.kpis .k-azul { border-left-color: var(--azul); }
.grafico { margin: 0; }
.grafico figcaption { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-weight: 700; margin-bottom: .4rem; }
.g-anel svg { display: block; width: 100%; max-width: 190px; margin: 0 auto .5rem; }
.g-barras svg { display: block; width: 100%; height: auto; }
.legenda { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-size: .85rem; }
.legenda i { display: inline-block; width: .8em; height: .8em; border-radius: 2px; margin-right: .35em; vertical-align: -.05em; }
.c-verde { background: #287A45; } .c-azul { background: #0B5E8E; } .c-laranja { background: #B24A18; } .c-vinho { background: #C23A62; }
@media (max-width: 720px) { .graficos { grid-template-columns: 1fr; } }
/* Avaliação da organização pelos parceiros (19 Out 2026): escala 1–5 e N/A */
.notas-av.cinco { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.notas-av .na-av { background: var(--tile); }
.notas-av .na-av:has(input:checked) { background: var(--ink-2); border-color: var(--ink-2); }
.desc-av { clear: both; margin: 0 0 .5rem; font-size: .85rem; font-weight: 400; color: var(--ink-2); }
.texto-av .desc-av { margin: 0; }
.texto-livre { margin: 0; white-space: pre-line; }
.aviso-av { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between;
  background: var(--tile); border: 1px solid var(--rule); border-radius: var(--raio); padding: .6rem 1rem; }
@media (max-width: 520px) { .notas-av.cinco { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Notas 1 e 2 na avaliação da organização: convite a explicar, opcional (19 Out 2026) */
.obs-av.obs-opcional { background: #FFF6DC; color: var(--ink); font-weight: 500; }
/* O nome e «Sair» quebram de linha juntos (19 Out 2026: com dois botões de avaliação, «Sair» ficava sozinho) */
.topo nav .sessao { display: inline-flex; flex-wrap: wrap; gap: .4rem 1.1rem; align-items: center; }
/* Bloco acrescentado depois de a pessoa ter respondido (19 Out 2026) */
.novo-av { display: inline-block; margin-left: .4rem; padding: .05rem .5rem; border-radius: 999px; background: var(--action);
  color: var(--ink); font-size: .72rem; font-weight: 700; vertical-align: middle; }
