:root {
  --azul: #141414; --azul2: #1c1c1c; --azul3: #8a6a2f; --ambar: #c9a45c; --ambar2: #e6c77f; --cinza: #e8e6e1; --fundo: #f5f4f1;
  --ouro: linear-gradient(135deg, #f1d793 0%, #d1ab62 50%, #a8823f 100%);
  --texto: #141a26; --suave: #5d6577; --verde: #1f9254; --vermelho: #d12b3a; --laranja: #e07a00;
  --borda: #e1e5ec; --raio: 14px; --sombra: 0 1px 2px rgba(15,27,51,.06), 0 4px 14px rgba(15,27,51,.06);
  --zebra: repeating-linear-gradient(-45deg, #c9a45c 0 14px, #141414 14px 28px);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; background: var(--fundo); color: var(--texto); font-size: 16px; line-height: 1.4; }
.oculto { display: none !important; }
.centro { text-align: center; }
.suave { color: var(--suave); }
.pequeno { font-size: 13px; }
.negrito { font-weight: 600; }
a { color: #7a5a1f; }

header#topo { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; background: var(--azul); color: #fff; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); }
header#topo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--ouro); }
header .marca { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
header .marca img { height: 30px; display: block; }
.marca-sub { font-size: 12px; color: #a9a49a; border-left: 1px solid #3a3a3a; padding-left: 12px; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 640px) { .marca-sub { display: none; } }
header .marca { overflow: hidden; }
#quem { flex-shrink: 0; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#quem { font-size: 13px; background: rgba(255,255,255,.1); padding: 4px 10px; border-radius: 999px; }
button.icone { background: none; border: 0; color: #fff; font-size: 22px; padding: 2px 6px; cursor: pointer; }

nav#menu { background: var(--azul2); display: flex; flex-direction: column; padding: 14px 10px 18px; position: fixed; top: 57px; left: 0; bottom: 0; width: 260px; max-width: 86vw; overflow-y: auto; z-index: 30; box-shadow: 6px 0 24px rgba(0,0,0,.3); }
#menu-fundo { position: fixed; inset: 57px 0 0 0; background: rgba(0,0,0,.4); z-index: 29; }
.btn-menu { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(201,164,92,.55); border-radius: 10px; padding: 5px 12px; font-size: 15px; font-weight: 600; cursor: pointer; min-height: 33px; }
.btn-menu:hover { background: rgba(201,164,92,.18); }
.btn-menu[aria-expanded="true"] { background: rgba(201,164,92,.25); border-color: var(--ambar); }
nav#menu a { color: #cfcac0; text-decoration: none; padding: 10px 12px; display: flex; gap: 12px; align-items: center; border-radius: 10px; font-size: 15px; }
nav#menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
nav#menu a.ativo { background: rgba(201,164,92,.14); color: #fff; box-shadow: inset 3px 0 0 var(--ambar); }
nav#menu a.ativo .ico { color: var(--ambar); }
.menu-txt { flex: 1; }
.menu-grupo { color: #8b857a; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 14px 12px 4px; }
.selo { background: var(--vermelho); color: #fff; border-radius: 999px; font-size: 12px; padding: 1px 8px; font-weight: 700; text-decoration: none; }
.ico { width: 20px; height: 20px; flex: none; vertical-align: -4px; }

main { max-width: 1100px; margin: 0 auto; padding: 16px; padding-bottom: 60px; }
h1 { font-size: 24px; margin: 6px 0 16px; letter-spacing: -.3px; }
h2 { font-size: 18px; margin: 18px 0 10px; }
h3 { font-size: 16px; margin: 12px 0 6px; }

.cartao { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 16px; margin-bottom: 12px; box-shadow: var(--sombra); }
a.cartao { display: block; color: inherit; text-decoration: none; }
a.cartao.linha { display: flex; }
.cartao.destaque { border-left: 5px solid var(--ambar); }
.cartao.alerta { border-left: 5px solid var(--vermelho); }
.cartao.ok { border-left: 5px solid var(--verde); }
.linha { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.entre { justify-content: space-between; }
.grade { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.grade { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.kpi { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 14px; box-shadow: var(--sombra); position: relative; overflow: hidden; color: inherit; text-decoration: none; }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #5b5b5b; }
.grade .kpi:nth-child(1)::before { background: var(--ouro); }
.grade .kpi:nth-child(2)::before { background: #5b5b5b; }
.grade .kpi:nth-child(3)::before { background: var(--verde); }
.grade .kpi:nth-child(4)::before { background: var(--vermelho); }
.kpi .v { font-size: 24px; font-weight: 700; letter-spacing: -.3px; margin: 2px 0; }
.kpi .r { font-size: 13px; color: var(--suave); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 11px; padding: 11px 16px; font-size: 15px; font-weight: 600; cursor: pointer; background: var(--azul); color: #fff; text-decoration: none; text-align: center; transition: transform .05s, filter .15s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn.sec { background: #fff; color: var(--azul); border: 1px solid var(--azul); }
.btn.verde { background: var(--verde); }
.btn.vermelho { background: var(--vermelho); }
.btn.ambar { background: var(--ambar); color: var(--azul); }
.btn.peq { padding: 6px 10px; font-size: 13px; }
.btn.grande { display: flex; width: 100%; padding: 17px; font-size: 17px; margin: 10px 0; border-radius: 13px; }
.btn.grande .ico { width: 24px; height: 24px; }
.btn.ambar { background: var(--ouro); color: #141414; box-shadow: 0 4px 14px rgba(168,130,63,.35); }

form .campo { margin-bottom: 12px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
input, select, textarea { width: 100%; padding: 12px 13px; font-size: 16px; border: 1px solid #cfd5df; border-radius: 11px; background: #fff; color: var(--texto); font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ambar); box-shadow: 0 0 0 3px rgba(201,164,92,.22); }
input[type=checkbox] { width: auto; transform: scale(1.4); margin-right: 8px; }
textarea { min-height: 70px; }
.dupla { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.tripla { display: grid; gap: 10px; grid-template-columns: 1fr 1fr 1fr; }
.ajuda { font-size: 13px; color: var(--suave); margin-top: 3px; }

.foto-campo { border: 2px dashed #cdd4df; border-radius: var(--raio); padding: 14px; text-align: center; background: #f8f9fc; }
.foto-campo.feita { border-style: solid; border-color: var(--verde); }
.foto-campo img { max-width: 100%; max-height: 180px; border-radius: 8px; display: block; margin: 8px auto 0; }
.foto-campo input { display: none; }
.fotos { display: flex; gap: 8px; flex-wrap: wrap; }
.fotos a img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--borda); }
.fotos figure { margin: 0; text-align: center; font-size: 12px; color: var(--suave); }

canvas.assinatura { width: 100%; height: 180px; border: 2px solid var(--borda); border-radius: var(--raio); background: #fff; touch-action: none; }

.tabela { width: 100%; overflow-x: auto; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--borda); text-align: left; vertical-align: top; white-space: nowrap; }
th { background: #f6f7fa; font-size: 12px; color: var(--suave); text-transform: uppercase; letter-spacing: .4px; }
.tabela { box-shadow: var(--sombra); }
tr:hover td { background: #fafbfd; }
td.num, th.num { text-align: right; }
tr.ruim td { background: #fdecee; }
tr:last-child td { border-bottom: 0; }

.etiqueta { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; background: var(--cinza); color: var(--texto); }
.etiqueta.programada { background: #e0e7ff; color: #2a3b8f; }
.etiqueta.deslocamento, .etiqueta.retorno { background: #fff1d6; color: #8a5a00; }
.etiqueta.em_escolta { background: #d8f3e3; color: #19693c; }
.etiqueta.pernoite { background: #e8e1f7; color: #4b2f8f; }
.etiqueta.aguardando_encerramento, .etiqueta.pendente { background: #fff1d6; color: #8a5a00; }
.etiqueta.encerrada, .etiqueta.aprovado, .etiqueta.utilizado { background: #d8f3e3; color: #19693c; }
.etiqueta.reprovado, .etiqueta.recusado, .etiqueta.aberto { background: #fbd9dd; color: #9c1424; }
.etiqueta.explicacao, .etiqueta.respondido { background: #e8e1f7; color: #4b2f8f; }

.linha-tempo { list-style: none; padding: 0; margin: 0; }
.linha-tempo li { border-left: 3px solid var(--ambar); padding: 4px 0 12px 14px; position: relative; }
.linha-tempo li::before { content: ""; position: absolute; left: -8px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--azul); box-shadow: 0 0 0 2px var(--ambar); }

#aviso { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--azul); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 50; max-width: 92vw; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
#aviso.erro { background: var(--vermelho); }
.login { max-width: 380px; margin: 40px auto; }

/* Capa / login */
body.tela-login main { max-width: none; padding: 0; margin: 0; }
.capa { min-height: 100vh; display: grid; grid-template-columns: 1fr; background: var(--fundo); }
.capa-hero { position: relative; min-height: 300px; background: radial-gradient(ellipse at 50% 120%, rgba(201,164,92,.22) 0, transparent 60%), radial-gradient(circle at 15% 0%, #2a2620 0, transparent 50%), linear-gradient(170deg, #1b1a18 0%, #0d0d0d 100%); color: #fff; padding: 46px 24px 74px; overflow: hidden; }
.faixa-zebra { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--zebra); }
.faixa-zebra.baixo { top: auto; bottom: 0; }
.capa-texto { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; text-align: center; }
.capa-logo-img { width: min(300px, 78vw); display: block; margin: 0 auto; filter: drop-shadow(0 6px 24px rgba(0,0,0,.5)); }
.capa-sub { margin: 14px 0 0 !important; color: #b9b3a7 !important; font-size: 15px; }
.capa-lista li { justify-content: flex-start; }
.capa-logo { width: 60px; height: 60px; border-radius: 16px; background: var(--ambar); color: var(--azul); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(245,163,0,.35); margin-bottom: 18px; }
.capa-logo .ico { width: 34px; height: 34px; stroke-width: 2; }
.capa-hero h1 { font-size: 30px; margin: 0 0 6px; letter-spacing: -.5px; }
.capa-hero p { margin: 0; color: #c8d2e6; font-size: 16px; }
.capa-lista { list-style: none; padding: 0; margin: 22px 0 0; display: none; }
.capa-lista li { display: flex; gap: 12px; align-items: center; padding: 9px 0; color: #e7e2d8; }
.capa-lista { text-align: left; display: none; width: max-content; margin: 26px auto 0 !important; }
.capa-lista .ico { color: var(--ambar); width: 22px; height: 22px; }
.capa-form { padding: 0 18px 30px; margin-top: -40px; position: relative; z-index: 2; }
.cartao-login { background: #fff; border-radius: 18px; padding: 24px 22px; box-shadow: 0 10px 40px rgba(15,27,51,.14); max-width: 420px; margin: 0 auto; }
.cartao-login h2 { margin: 0 0 4px; font-size: 22px; }
.cartao-login .suave { margin: 0 0 18px; font-size: 14px; }
.senha-box { position: relative; }
.senha-box input { padding-right: 48px; }
.ver-senha { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--suave); padding: 8px; cursor: pointer; }
.rodape-login { font-size: 12px; color: var(--suave); text-align: center; margin: 14px 0 0; display: flex; gap: 6px; justify-content: center; align-items: center; }
.rodape-login .ico { width: 15px; height: 15px; }
@media (min-width: 900px) {
  .capa { grid-template-columns: 1.1fr 1fr; }
  .capa-hero { display: flex; align-items: center; justify-content: center; padding: 60px 64px; }
  .capa-logo-img { width: 400px; }
    .capa-lista { display: block; }
  .capa-form { margin: 0; display: grid; place-items: center; padding: 40px; }
  .cartao-login { width: 100%; padding: 34px 32px; }
}

/* Viagem atual (motorista) */
.viagem-atual { border-top: 4px solid var(--ambar); }
.etapas { list-style: none; display: flex; padding: 0; margin: 14px 0 6px; }
.etapas li { flex: 1; text-align: center; font-size: 11px; color: var(--suave); position: relative; font-weight: 600; }
.etapas li span { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--cinza); margin: 0 auto 4px; position: relative; z-index: 1; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--borda); }
.etapas li::before { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 3px; background: var(--cinza); }
.etapas li:first-child::before { display: none; }
.etapas li.feita span, .etapas li.feita::before, .etapas li.atual::before { background: var(--verde); }
.etapas li.atual span { background: var(--ambar); box-shadow: 0 0 0 4px rgba(201,164,92,.3); }
.etapas li.atual { color: var(--texto); }

.carregando { display: grid; place-items: center; padding: 60px; }
.carregando span { width: 30px; height: 30px; border: 3px solid var(--cinza); border-top-color: var(--ambar); border-radius: 50%; animation: gira .8s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; margin-bottom: 12px; }
.filtros .campo { margin: 0; min-width: 140px; }

/* Relatório no layout do papel */
.relatorio { background: #fff; padding: 18px; font-size: 13px; color: #000; }
.relatorio h2 { text-align: center; font-style: italic; margin: 0 0 8px; font-size: 18px; }
.relatorio table { border: 1.5px solid #000; margin-bottom: 10px; }
.relatorio th, .relatorio td { border: 1px solid #000; padding: 4px 6px; white-space: normal; background: #fff; color: #000; }
.relatorio .cab td { width: 33%; }
.relatorio img.ass { max-height: 70px; display: block; }
.relatorio td.ass-cel { height: 92px; }
.rel-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 2px solid #c9a45c; padding-bottom: 8px; margin-bottom: 10px; }
.rel-topo img { height: 44px; }
.rel-topo div { text-align: right; font-size: 12px; color: #333; }
.rel-topo b { font-size: 14px; color: #000; letter-spacing: .5px; }
.relatorio tr.total td { background: #f3eee3; }
.rel-rodape { font-size: 11px; color: #444; margin: 6px 0 0; text-align: center; }
.fatura { border-top: 5px solid var(--verde); }
.fatura .tabela { box-shadow: none; }
.so-impressao { display: none; }

@media (min-width: 900px) {
  body.equipe main { max-width: none; padding: 26px 32px; }
}
@media (max-width: 560px) { .tripla { grid-template-columns: 1fr 1fr; } }
@media print {
  header, nav, body.equipe nav#menu, .nao-imprimir, #aviso { display: none !important; }
  body { background: #fff; }
  main, body.equipe main { margin: 0 !important; padding: 0 !important; max-width: none; }
  .so-impressao { display: block; }
  @page { size: A4 landscape; margin: 8mm; }
  .relatorio { padding: 0 2px 0 0; font-size: 11.5px; }
  .relatorio table { width: 100%; box-sizing: border-box; }
  .tabela { overflow: visible; border: 0; box-shadow: none; }
  .relatorio th, .relatorio td { padding: 3px 5px; }
  .relatorio, .relatorio * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}


/* ---- Acessibilidade (revisão das telas do motorista) ---- */
/* Bordas de campos com contraste mínimo 3:1 (WCAG 1.4.11), visíveis no sol */
input, select, textarea { border-color: #8a8f99; }
.foto-campo { border-color: #8a8f99; }
.foto-campo.feita { border-color: var(--verde); }
canvas.assinatura { border-color: #8a8f99; }
/* Alvos de toque de pelo menos 44 × 44 px (WCAG 2.5.5) */
.btn.peq { min-height: 44px; padding: 10px 14px; }
button.icone { min-width: 44px; min-height: 44px; }
.ver-senha { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
/* Foco sempre visível ao navegar por teclado */
:focus-visible { outline: 3px solid #1a5fb4; outline-offset: 2px; }
/* Etapas e textos pequenos maiores para leitura rápida */
.etapas li { font-size: 12px; }
.etapas li span { box-shadow: 0 0 0 1px #8a8f99; }
.etapas li.atual span { background: #8a6a2f; box-shadow: 0 0 0 4px rgba(201,164,92,.35); }
.ajuda { font-size: 14px; }
/* Confirmação do KM em letras grandes */
.confere { margin: 6px 0 0; font-size: 20px; font-weight: 700; color: var(--texto); min-height: 1.2em; }
/* Erro que fica na tela até corrigir */
.erro-form { background: #fdecee; border: 2px solid var(--vermelho); color: #8c1622; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-weight: 600; }
.erro-form:empty { display: none; }

/* Linhas clicáveis nas listas */
tr.clicavel { cursor: pointer; }
tr.clicavel:hover td { background: #f7f2e7; }
td.acoes { white-space: nowrap; }
td.acoes .btn { margin-left: 6px; }

/* Finalizar viagem: discreto, separado das ações normais */
.btn.finalizar { margin-top: 6px; color: var(--vermelho); border-color: var(--vermelho); }

/* Campo que faltou preencher */
.campo-erro { border-color: var(--vermelho) !important; box-shadow: 0 0 0 3px rgba(209,43,58,.2) !important; }

/* Média de consumo */
.selo-media { display: inline-block; border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 13px; background: var(--cinza); white-space: nowrap; }
.selo-media.ok { background: #d8f3e3; color: #19693c; }
.selo-media.atencao { background: #fff1d6; color: #8a5a00; }
.selo-media.ruim { background: #fbd9dd; color: #9c1424; }
.quadro-media { background: #f7f5ef; border: 1px solid var(--borda); border-radius: 10px; padding: 10px 14px; margin: 10px 0; font-size: 14px; }
.quadro-media p { margin: 4px 0; }

.menu-versao { color: #7a756b; font-size: 11px; padding: 14px 12px 4px; }

/* Relatório de abastecimentos */
.filtro-desc { font-size: 14px; margin: 0 0 12px; }
.filtros .btn { align-self: flex-end; }
@media print {
  .relatorio-ab { font-size: 11px; }
  .relatorio-ab .grade { grid-template-columns: repeat(5, 1fr); }
  .relatorio-ab .kpi { box-shadow: none; padding: 8px; }
  .relatorio-ab .kpi .v { font-size: 16px; }
  .relatorio-ab h2 { font-size: 14px; margin: 12px 0 6px; }
  .relatorio-ab th, .relatorio-ab td { padding: 4px 6px; font-size: 11px; }
  .relatorio-ab .tabela { box-shadow: none; border: 1px solid #999; }
  .relatorio-ab .selo-media, .relatorio-ab .etiqueta { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.rel-topo.so-impressao { display: none; }
@media print { .rel-topo.so-impressao { display: flex; } }

/* Programação de carga e seletor de período */
.periodo-barra { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; margin-top: 12px; }
.periodo-campo { width: 380px; max-width: 100%; margin: 0; }
.per-abas { padding-bottom: 2px; }
.periodo { position: relative; display: flex; border: 1px solid var(--borda); border-radius: var(--raio); background: #fff; }
.periodo > button { background: none; border: 0; font: inherit; cursor: pointer; color: inherit; padding: 10px 14px; }
.periodo .per-seta { font-size: 22px; line-height: 1; padding: 6px 14px; color: var(--ouro-escuro, #a07c1c); }
.periodo .per-seta:first-child { border-right: 1px solid var(--borda); }
.periodo .per-seta:nth-child(3) { border-left: 1px solid var(--borda); }
.periodo .per-seta:disabled { opacity: .3; cursor: default; }
.periodo .per-rotulo { flex: 1; font-weight: 700; }
.periodo .per-rotulo { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.periodo .per-chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.per-menu { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: 6px; }
.per-menu > button { display: block; width: 100%; text-align: left; background: none; border: 0; font: inherit; padding: 11px 14px; border-radius: 6px; cursor: pointer; color: inherit; }
.per-menu > button:hover, .per-menu > button.ativo { background: #f3ecd9; }
.per-pers { padding: 8px 10px 4px; border-top: 1px solid var(--borda); margin-top: 4px; }
.peq-txt { font-size: 12px; margin-top: 2px; }
.prog-st { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: #eee; }
.prog-aberta { background: #fff3cd; color: #7a5a00; }
.prog-iniciada { background: #dcf3e3; color: #1d6b37; }
.prog-finalizada { background: #e3e8f2; color: #2c3e66; }

/* Observação da viagem na programação */
.obs-linha td { padding-top: 0 !important; border-top: 0 !important; }
.prog-obs { margin-top: 0; font-size: 12.5px; background: #fff7e0; border-left: 3px solid var(--ambar); border-radius: 6px; padding: 3px 8px; white-space: pre-wrap; color: #4a3a12; }
.btn.obs-tem { background: #fff7e0; color: #6b5014; border: 1px solid var(--ambar); }
dialog.janela { border: none; border-radius: var(--raio); padding: 0; width: min(520px, 94vw); box-shadow: 0 10px 40px rgba(0,0,0,.25); }
dialog.janela::backdrop { background: rgba(0,0,0,.45); }
.janela-corpo { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.janela-corpo h3 { margin: 0; }
.janela-corpo textarea { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--borda); border-radius: 10px; resize: vertical; }
.janela-corpo .botoes { display: flex; justify-content: flex-end; gap: 8px; }
