*{box-sizing:border-box}body{margin:0;background:#f2f5f7;color:#152e49;font:16px/1.45 system-ui,sans-serif}header{background:#082957;color:white;display:flex;align-items:center;gap:.8rem;padding:1rem max(1rem,calc((100% - 730px)/2));white-space:nowrap}header img{width:34px;height:34px}header small{margin-left:auto;color:#bce7ed}main{max-width:760px;margin:2.5rem auto;padding:0 16px}h1{font-size:clamp(1.6rem,5vw,2.3rem);line-height:1.2}button,input{font:inherit}button{background:#075da4;color:white;border:0;border-radius:8px;padding:.65rem 1rem;cursor:pointer}button:disabled{opacity:.55}label,input{display:block}input:not([type=checkbox]){padding:.5rem;border:1px solid #92a4b1;border-radius:6px}form input{margin:.5rem 0 1rem;width:min(100%,26rem)}[hidden]{display:none!important}.card{position:relative;width:100%;aspect-ratio:85/55;background:white;border-radius:3%;overflow:hidden}.base{width:100%;height:100%;display:block}.qr{position:absolute;left:70.15%;top:35.6%;width:23.8%;aspect-ratio:1;background:white;display:grid;place-items:center}.qr>img:first-child{width:100%;height:100%;image-rendering:pixelated}.qr .mark{position:absolute;width:13%;height:13%;border-radius:50%;outline:2px solid white}
.motion {
  position:absolute; left:3.55%; top:41.6%; width:22.85%; height:43.7%;
  pointer-events:none; overflow:visible;
}
.motion rect {fill:none; stroke-width:6; stroke-linecap:round;}
.motion .trilha {stroke:#005bab;}
.motion .faixa {stroke:#baff18; stroke-dasharray:38 62;}
.motion .ponta {stroke:white; stroke-dasharray:4 96;}
.motion .faixa, .motion .ponta {animation:contornar-foto 1.65s linear infinite;}
@keyframes contornar-foto {from {stroke-dashoffset:100;} to {stroke-dashoffset:0;}}
@media (prefers-reduced-motion:reduce) {
  .motion .faixa, .motion .ponta {animation-duration:4s;}
}
.controls,.last{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin:1rem 0}.controls input[type=checkbox]{display:inline}.last{min-height:3rem;background:white;padding:.6rem .8rem;border-radius:8px}.last img{width:42px;height:48px;object-fit:cover}video{width:100%;max-height:34vh;object-fit:contain;background:#102131}.controls strong{margin-left:auto}#message{font-size:.94rem}.card+p{color:#507080}@media print{@page{size:85mm 55mm;margin:0}html,body,main,.card{margin:0;padding:0;width:85mm;height:55mm;max-width:none}body *{visibility:hidden}.card,.card *{visibility:visible}.card{position:absolute;inset:0}.motion,header,button,#message,h1,.card+p{display:none!important}}
