*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;line-height:1.5;color:#1d2330;background:#f4f5f7}
header{background:#1d2330;color:#fff;padding:10px 16px;display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
header strong{margin-right:auto}
header a{color:#fff;text-decoration:none;padding:4px 0}
header a.ativo{border-bottom:2px solid #7fb3ff}
header form{margin:0}
header button{background:transparent;color:#fff;border:1px solid #fff;padding:4px 10px}
main{max-width:760px;margin:0 auto;padding:16px}
h1{font-size:1.4rem;margin:8px 0 16px}
h2{font-size:1.1rem;margin:24px 0 8px}
section{background:#fff;border-radius:8px;padding:16px;margin-bottom:16px;box-shadow:0 1px 2px rgba(0,0,0,.08)}
label{display:block;margin:8px 0 4px;font-weight:600}
input[type=text],input[type=password],input[type=tel],input[type=number],input[type=file]{width:100%;padding:10px;font-size:1rem;border:1px solid #c5cad3;border-radius:6px;background:#fff}
button{font-size:1rem;padding:10px 16px;border-radius:6px;border:0;background:#2563eb;color:#fff;cursor:pointer;margin-top:12px}
button.perigo{background:#b91c1c}
button.secundario{background:#4b5563}
.aviso{padding:12px;border-radius:6px;margin-bottom:16px}
.aviso.ok{background:#dcfce7;color:#14532d}
.aviso.erro{background:#fee2e2;color:#7f1d1d}
.estado{font-size:1.2rem;font-weight:700}
.codigo{font-size:2rem;letter-spacing:.2em;font-family:ui-monospace,monospace}
.qr{display:block;width:100%;max-width:300px;height:auto;background:#fff;padding:8px}
table{width:100%;border-collapse:collapse;font-size:.95rem}
th,td{text-align:left;padding:8px 6px;border-bottom:1px solid #e5e7eb;vertical-align:top}
.tabela{overflow-x:auto}
.pequeno{font-size:.85rem;color:#4b5563}
.linha{display:flex;flex-wrap:wrap;gap:8px}
.linha form{margin:0}
