/* Identidade institucional: azul-marinho do Governo do Acre + dourado dos brasões. */
:root {
  --fundo: #eef1f5;
  --superficie: #ffffff;
  --superficie-2: #f6f8fb;
  --texto: #14213a;
  --texto-suave: #586579;
  --borda: #d7dde6;
  --marca: #0c2340;
  --marca-2: #163a66;
  --marca-texto: #ffffff;
  --ouro: #c9a23a;
  --ouro-claro: #f3e3ad;
  --acento: #163a66;
  --link: #1d4f91;
  --ok: #146c35;
  --ok-fundo: #e2f3e8;
  --alerta: #8a5a00;
  --alerta-fundo: #fff3d4;
  --erro: #a61b1b;
  --erro-fundo: #fbe7e7;
  --raio: 12px;
  --sombra: 0 1px 2px rgba(12, 35, 64, .06), 0 4px 14px rgba(12, 35, 64, .07);
  --titulo: #0c2340;
  --ouro-texto: #8a6a12;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fundo: #0b1220; --superficie: #121b2c; --superficie-2: #172236; --texto: #e7ecf4; --texto-suave: #9fabbe; --borda: #26324a;
    --marca: #08182e; --marca-2: #12305a; --acento: #6f9be0; --link: #8db4f0; --ouro: #d8b552; --ouro-claro: #3a3016;
    --ok: #5fcb87; --ok-fundo: #12301e; --alerta: #e5b84f; --alerta-fundo: #332708; --erro: #ff8a80; --erro-fundo: #3a1512;
    --sombra: 0 1px 2px rgba(0,0,0,.4); --titulo: #e7ecf4; --ouro-texto: #d8b552; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fundo: #0b1220; --superficie: #121b2c; --superficie-2: #172236; --texto: #e7ecf4; --texto-suave: #9fabbe; --borda: #26324a;
  --marca: #08182e; --marca-2: #12305a; --acento: #6f9be0; --link: #8db4f0; --ouro: #d8b552; --ouro-claro: #3a3016;
  --ok: #5fcb87; --ok-fundo: #12301e; --alerta: #e5b84f; --alerta-fundo: #332708; --erro: #ff8a80; --erro-fundo: #3a1512;
  --sombra: 0 1px 2px rgba(0,0,0,.4); --titulo: #e7ecf4; --ouro-texto: #d8b552; color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: var(--fundo); color: var(--texto); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--link); }

/* ---------- Topo institucional ---------- */
header.topo { position: sticky; top: 0; z-index: 20; background: linear-gradient(180deg, var(--marca-2), var(--marca)); color: var(--marca-texto);
  padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top)); display: flex; align-items: center; gap: 12px;
  border-bottom: 3px solid var(--ouro); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
header.topo .marca { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
header.topo .marca img { width: 38px; height: 44px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
header.topo .marca img.escudo { width: 36px; height: 42px; margin-left: -4px; }
header.topo .marca .nome { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
header.topo .marca strong { font-size: 1.02rem; letter-spacing: .02em; }
header.topo .marca small { font-size: .7rem; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
header.topo h1 { font-size: 1.02rem; margin: 0; font-weight: 700; }
header.topo .espaco { flex: 1; }
header.topo a, header.topo button { color: var(--marca-texto); }
header.topo a:not(.marca) { font-size: .88rem; text-decoration: none; padding: 6px 10px; border-radius: 8px; }
header.topo a:not(.marca):hover { background: rgba(255,255,255,.1); }

main { max-width: 760px; margin: 0 auto; padding: 16px; }
main.largo { max-width: 1100px; }
.painel { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 18px; margin-bottom: 16px; box-shadow: var(--sombra); }
h2 { font-size: 1.12rem; margin: 0 0 12px; color: var(--titulo); }
.titulo-secao { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--texto-suave); margin: 22px 0 10px; }
.titulo-secao::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--ouro); }
label { display: block; font-size: .85rem; color: var(--texto-suave); margin: 10px 0 4px; font-weight: 600; }
input, select, textarea { width: 100%; padding: 11px 12px; font: inherit; color: var(--texto); background: var(--superficie); border: 1px solid var(--borda); border-radius: 10px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--acento); outline-offset: 0; border-color: transparent; }
button, .botao { font: inherit; font-weight: 600; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--borda); background: var(--superficie); color: var(--texto); cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .botao:hover { border-color: var(--acento); }
button.primario, .botao.primario { background: var(--marca-2); border-color: var(--marca-2); color: #fff; }
button.primario:hover { background: var(--marca); }
button.perigo { color: var(--erro); border-color: var(--erro); }
button:disabled { opacity: .55; cursor: default; }
header.topo button { background: transparent; border: 1px solid rgba(255,255,255,.45); padding: 6px 12px; font-size: .88rem; }
.linha { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 12px; }
.mensagem { padding: 10px 12px; border-radius: 8px; margin: 10px 0; font-size: .92rem; }
.mensagem.erro { background: var(--erro-fundo); color: var(--erro); }
.mensagem.ok { background: var(--ok-fundo); color: var(--ok); }
.mensagem.aviso { background: var(--alerta-fundo); color: var(--alerta); }
.selo { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 650; }
.selo.Válida { background: var(--ok-fundo); color: var(--ok); }
.selo.Vencida { background: var(--alerta-fundo); color: var(--alerta); }
.selo.Revogada { background: var(--erro-fundo); color: var(--erro); }
.suave { color: var(--texto-suave); font-size: .88rem; }
.oculto { display: none !important; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--borda); vertical-align: top; }
tr.clicavel { cursor: pointer; }
tr.clicavel:hover { background: var(--fundo); }
.tabela-rolagem { overflow-x: auto; }
nav.abas { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
nav.abas button[aria-selected="true"] { background: var(--marca-2); border-color: var(--marca-2); color: #fff; box-shadow: inset 0 -3px 0 var(--ouro); }

/* ---------- Carteira (frente/verso) ---------- */
.cartao { perspective: 1400px; max-width: 360px; margin: 0 auto; cursor: pointer; }
.cartao-interno { position: relative; aspect-ratio: 117.5 / 190; transition: transform .6s; transform-style: preserve-3d; }
.cartao.virado .cartao-interno { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: calc(var(--u) * 5); overflow: hidden;
  background-color: #e8eaed; background-repeat: no-repeat; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.face.verso { transform: rotateY(180deg); }
.face.sem-arte { border: 1px solid #b8bec7; }
.face .el { position: absolute; white-space: nowrap; overflow: hidden; line-height: 1.15; font-family: Arial, Roboto, "Helvetica Neue", "Liberation Sans", sans-serif; }
.face .el.foto { background: #d5d9df center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: #777; font-size: calc(var(--u) * 3); font-weight: 700; }
.face .el .realce { display: inline-block; max-width: 100%; overflow: hidden; vertical-align: top; white-space: nowrap;
  padding: 0 calc(var(--u) * 1); border-radius: calc(var(--u) * .9); line-height: 1.2; }
.face .el.qr { background: #fff; }
.face .el.qr svg { width: 100%; height: 100%; display: block; }
.face .el.assinatura { background: center / contain no-repeat; }
.face .carimbo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-55deg); font: 800 calc(var(--u) * 14)/1 Arial, sans-serif;
  color: rgba(200,0,0,.65); letter-spacing: .05em; pointer-events: none; }
/* Faixa animada: mostra que a tela está "viva" (dificulta print estático passado como válido). */
.face.frente::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%); background-size: 300% 100%; animation: brilho 4s linear infinite; }
@keyframes brilho { from { background-position: 150% 0; } to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .face.frente::after { animation: none; } .cartao-interno { transition: none; } }
/* Terceira tela: QR code ampliado (mesmo tamanho do cartão) */
.cartao { position: relative; }
.qr-grande { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 16px; background: #fff; color: #0c2340; border-radius: 16px; box-shadow: 0 6px 24px rgba(0,0,0,.25);
  border-top: 6px solid var(--ouro); opacity: 0; transform: scale(.92); pointer-events: none; transition: opacity .3s, transform .3s; }
.cartao.modo-qr .qr-grande { opacity: 1; transform: none; pointer-events: auto; }
.cartao.modo-qr .cartao-interno { opacity: 0; transition: opacity .2s; }
.qr-grande-titulo { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.qr-grande-img { width: 100%; max-width: 330px; aspect-ratio: 1; }
.qr-grande-img svg { width: 100%; height: 100%; display: block; }
.qr-grande-codigo { font: 700 1.05rem/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .06em; text-align: center; }
.qr-grande-dica { font-size: .75rem; color: #586579; text-align: center; }
.relogio { text-align: center; font-variant-numeric: tabular-nums; margin-top: 10px; }

/* ---------- App (modo livre + logado) ---------- */
body.app { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
nav.inferior { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; background: var(--superficie);
  border-top: 1px solid var(--borda); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 12px rgba(12,35,64,.08); }
nav.inferior a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 10px;
  color: var(--texto-suave); text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .01em; }
nav.inferior a svg { width: 23px; height: 23px; }
nav.inferior a[aria-current="page"] { color: var(--acento); }
nav.inferior a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--ouro); }

/* Abertura da tela inicial */
.abertura { position: relative; overflow: hidden; margin: -16px -16px 16px; padding: 22px 18px 20px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #24518a 0%, var(--marca-2) 45%, var(--marca) 100%); border-bottom: 3px solid var(--ouro); }
.abertura::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 28px solid rgba(255,255,255,.05); }
.abertura .emblemas { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 12px; }
.abertura .emblemas img { height: 74px; width: auto; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.abertura .emblemas img.escudo { height: 70px; }
.abertura .governo { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin: 0; }
.abertura h2 { color: #fff; font-size: 1.28rem; line-height: 1.25; margin: 2px 0 6px; }
/* Página inicial: "Instituto de Administração Penitenciária" sempre em uma linha (fonte acompanha a largura da tela) */
.abertura h2:has(+ .ppac) { white-space: nowrap; font-size: min(1.28rem, 4.3vw); }
.abertura h2 + .ppac { color: var(--ouro); font-weight: 800; font-size: 1rem; letter-spacing: .02em; margin: -2px 0 8px; opacity: 1; }
.abertura p { margin: 0; font-size: .9rem; opacity: .9; max-width: 34em; }

.atalhos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.atalhos a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: var(--raio); background: var(--superficie);
  border: 1px solid var(--borda); box-shadow: var(--sombra); color: var(--texto); text-decoration: none; }
@media (min-width: 640px) { .atalhos { grid-template-columns: repeat(4, 1fr); } }
.atalhos a:hover { border-color: var(--ouro); }
.atalhos .icone { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--marca-2); color: #fff; }
.atalhos .icone svg { width: 22px; height: 22px; }
.atalhos .rotulo { display: flex; flex-direction: column; min-width: 0; }
.atalhos a strong { font-size: .88rem; line-height: 1.25; }
.atalhos a span.desc { font-size: .74rem; color: var(--texto-suave); line-height: 1.25; margin-top: 2px; }

.cartao-noticia { display: flex; flex-direction: column; background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio);
  overflow: hidden; color: inherit; text-decoration: none; margin-bottom: 14px; box-shadow: var(--sombra); }
.cartao-noticia:hover { border-color: var(--ouro); }
.cartao-noticia img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--borda); }
.cartao-noticia .corpo { padding: 12px 16px 16px; border-top: 3px solid var(--ouro); }
.cartao-noticia h3 { font-size: 1.02rem; margin: 4px 0 6px; line-height: 1.3; color: var(--titulo); }
.cartao-noticia p { margin: 0; color: var(--texto-suave); font-size: .9rem; }
.cartao-noticia time, .materia time { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ouro-texto); }
.materia h2 { font-size: 1.35rem; line-height: 1.3; margin: 6px 0 12px; }
/* Leitor de QR code */
.botao-camera { width: 100%; padding: 14px; font-size: 1rem; }
.leitor { position: relative; margin-top: 12px; border-radius: var(--raio); overflow: hidden; background: #000; aspect-ratio: 3 / 4; max-height: 70vh; }
.leitor-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.leitor-mira { position: absolute; inset: 18% 14%; border: 3px solid var(--ouro); border-radius: 16px; box-shadow: 0 0 0 9999px rgba(0,0,0,.35); pointer-events: none; }
.leitor-fechar { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.6); color: #fff; border-color: rgba(255,255,255,.5); }
nav.abas a.botao[aria-selected="true"] { background: var(--marca-2); border-color: var(--marca-2); color: #fff; box-shadow: inset 0 -3px 0 var(--ouro); }

/* Segurança */
.abertura.seg { background: radial-gradient(120% 140% at 100% 0%, #2b2f36 0%, #15181d 55%, #0b0c0f 100%); }
.lista-seg { display: grid; gap: 10px; }
.modulo-seg { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--raio); background: var(--superficie);
  border: 1px solid var(--borda); box-shadow: var(--sombra); color: var(--texto); text-decoration: none; }
a.modulo-seg:hover { border-color: var(--ouro); }
.modulo-seg .icone { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #1b1e24; color: #fff; }
.modulo-seg .icone svg { width: 24px; height: 24px; }
.modulo-seg .rotulo { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.modulo-seg .desc { font-size: .8rem; color: var(--texto-suave); }
.modulo-seg.desativado { opacity: .72; }
.etiqueta-impl, .etiqueta-demo { flex: none; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.etiqueta-impl { background: var(--alerta-fundo); color: var(--alerta); }
.etiqueta-demo { background: var(--ouro-claro); color: var(--ouro-texto); }
.faixa-demo { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; font-size: .85rem; font-weight: 700; text-align: center;
  color: #7a4b00; background: repeating-linear-gradient(-45deg, #fff1c2, #fff1c2 10px, #ffe58f 10px, #ffe58f 20px); border: 1px solid #e0b43a; }
.lista-evadidos { display: grid; gap: 10px; }
.evadido { display: flex; gap: 12px; padding: 12px; border-radius: var(--raio); background: var(--superficie); border: 1px solid var(--borda); box-shadow: var(--sombra); }
.evadido .silhueta { flex: none; width: 64px; height: 80px; border-radius: 8px; display: grid; place-items: center; background: var(--superficie-2); color: var(--texto-suave); }
.evadido .silhueta svg { width: 34px; height: 34px; }
.evadido .dados { flex: 1; min-width: 0; }
.evadido strong { font-size: .92rem; }
.evadido dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 6px 0 0; font-size: .82rem; }
.evadido dt { color: var(--texto-suave); }
.evadido dd { margin: 0; }
.rodape-inst { text-align: center; padding: 18px 10px 8px; color: var(--texto-suave); font-size: .78rem; }
/* Assinatura institucional (igual à dos ofícios): fundo branco, siglas em verde com fio amarelo */
.assinatura-inst { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1.8vw, 14px);
  background: #fff; border-radius: 12px; padding: 10px 8px; max-width: 420px; margin: 0 auto; color: #1a8a3c; }
.assinatura-inst .sigla { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.assinatura-inst .sigla strong { font-size: clamp(.95rem, 5vw, 1.45rem); font-weight: 900; letter-spacing: -.01em;
  padding-bottom: 3px; border-bottom: 3px solid #f2c200; }
.assinatura-inst .sigla small { font-size: clamp(.36rem, 1.5vw, .5rem); font-weight: 700; text-transform: uppercase; text-align: center; margin-top: 4px; line-height: 1.2; white-space: nowrap; }
.assinatura-inst img { height: clamp(40px, 13vw, 54px); width: auto; display: block; }
.assinatura-inst .governo { display: flex; flex-direction: column; line-height: .95; }
.assinatura-inst .governo small { font-size: clamp(.55rem, 2.4vw, .72rem); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.assinatura-inst .governo strong { font-size: clamp(1.15rem, 5.8vw, 1.6rem); font-weight: 900; }
.materia > img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--raio); margin-bottom: 12px; }
.conteudo { overflow-wrap: anywhere; }
.conteudo img { max-width: 100%; height: auto; border-radius: 8px; }
.conteudo figure { margin: 12px 0; }
.conteudo figcaption { font-size: .82rem; color: var(--texto-suave); }
.conteudo a { color: var(--acento); }
.conteudo table { display: block; overflow-x: auto; border-collapse: collapse; }
.conteudo td, .conteudo th { border: 1px solid var(--borda); padding: 6px; }
.lista-servicos { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); box-shadow: var(--sombra); overflow: hidden; }
.lista-servicos a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px;
  color: inherit; text-decoration: none; border-top: 1px solid var(--borda); }
.lista-servicos a:first-child { border-top: 0; }
.lista-servicos a:hover { background: var(--superficie-2); }
.lista-servicos .marca { flex: none; color: var(--texto-suave); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.lista-servicos .marca.pdf { color: #a61b1b; border: 1px solid currentColor; border-radius: 6px; padding: 1px 5px; }
.lista-servicos a strong { display: block; font-weight: 650; }
.lista-servicos a span.suave { display: block; }
.voltar { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; color: var(--link); text-decoration: none; font-weight: 700; font-size: .9rem; }
.materia { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 16px 18px; box-shadow: var(--sombra); }
.conteudo { line-height: 1.6; }
.paginacao { display: flex; justify-content: space-between; gap: 8px; margin: 8px 0 16px; }

/* ---------- Verificação ---------- */
.resultado { text-align: center; }
.resultado .status { font-size: 1.6rem; font-weight: 800; letter-spacing: .02em; padding: 14px; border-radius: var(--raio); margin-bottom: 12px; }
.resultado .status.Válida { background: var(--ok-fundo); color: var(--ok); }
.resultado .status.Vencida { background: var(--alerta-fundo); color: var(--alerta); }
.resultado .status.Revogada, .resultado .status.nao-encontrada { background: var(--erro-fundo); color: var(--erro); }
.porte { font-size: 1.25rem; font-weight: 800; padding: 14px; border-radius: var(--raio); margin: 12px 0; border: 3px solid; }
.porte.sim { color: #fff; background: #b42318; border-color: #7a1810; }
.porte.nao { color: var(--texto); background: var(--fundo); border-color: var(--borda); }
.resultado img.foto { width: 140px; height: 180px; object-fit: cover; border-radius: 8px; border: 1px solid var(--borda); }
.resultado dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; text-align: left; max-width: 420px; margin: 14px auto 0; }
.resultado dt { color: var(--texto-suave); font-size: .88rem; }
.resultado dd { margin: 0; font-weight: 600; }

/* Botões da Wallet (Apple / Google): pretos, como pedem as marcas */
.botao-wallet { background: #000; color: #fff; border-color: #000; border-radius: 10px; font-weight: 600; }
.botao-wallet:hover { background: #222; }

.botao-wallet { display: inline-flex; align-items: center; gap: 10px; }
.botao-wallet .icone-wallet { width: 26px; height: 26px; flex: none; }


/* Link da Política de Privacidade no rodapé */
.rodape-inst .links-legais { text-align: center; margin: 10px 0 0; font-size: .85rem; }
.rodape-inst .links-legais a { color: inherit; opacity: .8; }


/* Pedidos de carteira (servidor) */
.pedidos .lista-pedidos { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.pedidos .lista-pedidos li { border: 1px solid rgba(127,127,127,.25); border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; }
.pedidos form label { display: block; margin-top: 10px; }
.pedidos .grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 12px; }
.pedidos textarea, .pedidos select, .pedidos input:not([type=checkbox]) { width: 100%; box-sizing: border-box; }
.previa-foto { display: none; width: 120px; height: 160px; margin-top: 8px; border-radius: 8px; background: #d5d9df center/cover no-repeat; }
.selo.pedido-Pendente { background: #f2c200; color: #1a1a1a; }
.selo.pedido-Concluido { background: #1a8a3c; color: #fff; }
.selo.pedido-Recusado { background: #b3261e; color: #fff; }
.selo.pedido-Cancelado { background: #6b7280; color: #fff; }

.comparacao tr.alterado td { background: rgba(242,194,0,.18); font-weight: 600; }

