:root{--azul:#00009f;--verm:#f9255a;--cinza:#f2f3f7;--borda:#d5d8e2;--ok:#1b7f3b;--erro:#b3261e;--txt:#1b1d29}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--txt);background:var(--cinza);padding-bottom:env(safe-area-inset-bottom)}
.topo{background:var(--azul);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;position:sticky;top:0}
.topo h1{font-size:18px;margin:0}
.selo{font-size:12px;padding:4px 10px;border-radius:12px;background:#fff;color:var(--azul);font-weight:600}
.selo.offline{background:#ffd9e2;color:#8a0f35}
main{padding:12px;max-width:720px;margin:0 auto}
.cartao{background:#fff;border:1px solid var(--borda);border-radius:12px;padding:14px;margin-bottom:12px}
.cartao h2{font-size:16px;margin:0 0 10px}
.lista{margin:0;display:grid;grid-template-columns:1fr auto;gap:6px 12px;font-size:14px}
.lista dt{color:#555}.lista dd{margin:0;font-weight:600;text-align:right}
.acoes{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
button{font:inherit;font-weight:600;border:0;border-radius:10px;padding:12px 16px;background:var(--azul);color:#fff;min-height:44px}
button.sec{background:#fff;color:var(--azul);border:2px solid var(--azul)}
button:disabled{opacity:.5}
.teste{list-style:none;padding:0;margin:10px 0 0;font-size:14px}
.teste li{padding:6px 0;border-top:1px solid var(--borda)}
.teste .ok{color:var(--ok);font-weight:700}.teste .falha{color:var(--erro);font-weight:700}
.nota{font-size:13px;color:#555;margin:0 0 10px}
.tabela-rolavel{overflow-x:auto}
table{border-collapse:collapse;width:100%;font-size:14px}
th,td{border-bottom:1px solid var(--borda);padding:8px 6px;text-align:center}
th:first-child,td:first-child{text-align:left}
th{background:var(--cinza);font-size:12px}
