:root{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:#34495e;background:#fafafa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:#0f0f0f}button:disabled{opacity:.5;cursor:not-allowed}.hidden{display:none!important}.wrap{width:min(100%,1050px);margin:auto;padding:16px 14px 50px}.header{background:#101c31;color:#fff;padding:18px 18px 22px}.head-inner{max-width:1022px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.gift{width:47px;height:47px;border-radius:14px;background:linear-gradient(145deg,#ecb868,#ffdb98);display:grid;place-items:center;color:#122039;font-size:26px;flex-shrink:0}.brand strong{font-size:18px;display:block;letter-spacing:.15px}.brand small{display:block;color:#bfcce3;font-size:11px;margin-top:3px}.brand a{color:#ffe1a3;text-decoration:none}.logoimg{max-width:120px;max-height:52px;object-fit:contain}.toplink{color:#fff;border:1px solid #71819b;background:transparent;padding:9px 12px;border-radius:11px;text-decoration:none;white-space:nowrap;font-size:12px}.card{background:#fff;border:1px solid #e8e8e8;border-radius:18px;padding:18px;margin:14px 0;box-shadow:0 3px 12px #101b3210}.eyebrow{font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:1.4px;color:#8a8a8a}.h1{font-size:clamp(24px,4vw,34px);line-height:1.15;margin:6px 0 11px}.h2{font-size:20px;margin:2px 0 14px}.sub{font-size:14px;color:#6b7785;line-height:1.45}.field{margin:14px 0}.field label,.field-title{display:block;font-weight:750;font-size:14px;margin-bottom:7px}.field input,.field select,.field textarea,.search{width:100%;border:1.5px solid #d4d4d4;border-radius:12px;padding:13px 12px;background:white;outline:none;color:#34495e}.field textarea{min-height:92px;resize:vertical;font-size:12px}.field input:focus,.field select:focus,.field textarea:focus,.search:focus{border-color:#8a8a8a;box-shadow:0 0 0 3px #8a8a8a1a}.note{font-size:12px;color:#66758c;margin-top:6px}.grid2{display:grid;gap:12px}.grid3{display:grid;gap:12px}.btn{border:0;border-radius:12px;background:#0f0f0f;color:white;padding:13px 17px;font-weight:780;min-height:46px}.btn.primary{background:#0f0f0f}.btn.gold{background:#d49c45;color:#1d2130}.btn.soft{background:#efefef;color:#0f0f0f}.btn.outline{background:#fff;color:#0f0f0f;border:1px solid #d4d4d4}.btn.danger{background:#a72934}.btn.sm{padding:8px 10px;min-height:34px;font-size:12px;border-radius:8px}.btn.full{width:100%}.chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.chip{border:1.5px solid #cad2df;background:#fff;border-radius:12px;padding:13px 6px;font-size:13px;font-weight:800;min-height:51px;white-space:normal}.chip.selected{border-color:#0f0f0f;background:#f0f0f0;color:#0f0f0f;box-shadow:inset 0 0 0 1px #0f0f0f}.preview{background:#f0f3f8;border:1px dashed #bdc9d7;border-radius:16px;padding:14px;margin-top:12px;text-align:center}.medal{width:205px;height:125px;margin:0 auto;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden}.medal:before{content:'';position:absolute;border:7px solid #b7becb;inset:2px 17px;border-radius:50%;background:linear-gradient(140deg,#f8fafc,#d1d9e4)}.medal .engraved{position:relative;font-weight:900;text-align:center;color:#29374b;max-width:150px;white-space:nowrap;letter-spacing:.15px}.medal .tiny{position:relative;font-size:10px;letter-spacing:1px;color:#5d6571;margin-bottom:4px}.checkline{display:flex;align-items:flex-start;gap:10px;line-height:1.4;font-weight:650}.checkline input{width:22px;height:22px;flex-shrink:0;accent-color:#0f0f0f;margin:1px 0}.alert{border-radius:12px;background:#fff2df;color:#80521c;padding:12px;font-size:13px;margin:12px 0}.success{background:#e7f5eb;color:#215a36}.error{background:#fff0ef;color:#9a2b2f}.muted{color:#64748b}.rule{height:1px;background:#e6e9ef;margin:20px 0}.price{font-size:29px;font-weight:900;color:#0f0f0f}.qr{width:min(250px,90%);aspect-ratio:1;display:block;margin:12px auto;background:white;image-rendering:pixelated;border:1px solid #e4e4e4}.receipt{border:2px solid #111;color:#111;background:white;max-width:450px;margin:12px auto;border-radius:8px;padding:25px 20px;text-align:center}.receipt .huge{font-weight:1000;font-size:clamp(36px,9vw,60px);margin:12px 0;line-height:1}.receipt .receipt-lines{font-size:18px;line-height:1.6;font-weight:800;overflow-wrap:anywhere}.receipt .qr{width:190px}.tabs{display:flex;gap:6px;background:#e6eaf1;padding:5px;border-radius:13px;overflow-x:auto;margin-bottom:14px}.tab{border:0;border-radius:9px;background:transparent;padding:12px 14px;font-weight:800;color:#516077;white-space:nowrap;flex:1}.tab.active{background:white;color:#0f0f0f;box-shadow:0 1px 6px #22364f20}.event-item{border:1px solid #e3e8f1;border-radius:13px;padding:13px;margin:10px 0;display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}.event-item strong{display:block}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.queue-row{padding:13px;margin:10px 0;border-radius:14px;border:1px solid #dce2ed;background:#fff}.queue-row.done{background:#f5f8f6;opacity:.78}.queue-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.bib{font-size:24px;font-weight:900;color:#0f0f0f}.pill{display:inline-block;border-radius:100px;background:#edf2f8;color:#445c7a;padding:4px 9px;font-size:11px;font-weight:850}.pill.warn{background:#ffebd4;color:#88501a}.pill.ok{background:#e2f5e6;color:#28653b}.queue-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.paycheck{display:flex;align-items:center;gap:6px;font-weight:750;font-size:13px}.paycheck input{width:20px;height:20px;accent-color:#217042}.empty{text-align:center;padding:34px 16px;color:#748198;border:1px dashed #c9d2df;border-radius:15px}.instr{background:#f4f4f4;border-left:4px solid #0f0f0f;padding:14px;border-radius:9px;font-size:14px;line-height:1.55}.actions{display:flex;gap:10px;flex-wrap:wrap}.footer{text-align:center;color:#8190a4;font-size:12px;margin:30px 0}.status{font-size:12px;color:#516780}.brand-logo{display:flex;gap:12px;align-items:center}.desktop-only{display:none}@media(min-width:680px){.wrap{padding:24px 20px 60px}.grid2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.chips{grid-template-columns:repeat(3,minmax(0,1fr))}.card{padding:24px}.desktop-only{display:block}}@media print{body{background:white}.header,.footer,.no-print,.btn,.note{display:none!important}.wrap{padding:0}.card{border:none;box-shadow:none}.receipt{border:2px solid #111;max-width:100%;margin:0}.print-only{display:block!important}}.print-only{display:none}

/* Destaque para copiar os dados da gravação diretamente para o software laser */
.queue-actions .copy-all{min-height:44px;font-size:14px;padding:10px 18px;box-shadow:0 2px 7px #0f0f0f2b}
@media(max-width:480px){.queue-actions .copy-all{width:100%}}
@media print{.card>*:not(#ticketArea),#ticketArea>*:not(.receipt){display:none!important}}
:root{font-family:'Outfit',system-ui,-apple-system,'Segoe UI',sans-serif;--heading:'Playfair Display',Georgia,'Times New Roman',serif}
.h1,.h2,.price,.receipt .huge{font-family:var(--heading);color:#0f0f0f}
.header{background:#fff;color:#0f0f0f;border-bottom:1px solid #e5e5e5;padding:12px 18px}
.brand{gap:14px}.brand small{color:#8a8a8a;font-size:12px;margin:0}.brand a{color:#0f0f0f;text-decoration:underline}
.logoimg{max-width:190px;max-height:56px;display:block}
.toplink{color:#0f0f0f;border:1px solid #0f0f0f;border-radius:999px}
.btn,.chip,.pill,.tab{border-radius:999px}.btn.gold{background:#8a8a8a;color:#fff}
.btn.soft{background:#efefef;color:#0f0f0f}.btn.outline{border-color:#0f0f0f}
.chip.selected{background:#0f0f0f;color:#fff;box-shadow:none}
.pill.ok{background:#e9efe9;color:#2f5a3a}.alert{background:#f4f4f4;color:#34495e;border:1px solid #e8e8e8}.alert.success{background:#eef6ef;color:#2f5a3a}.alert.error{background:#fbeeee;color:#9a2b2f}
.card{border-radius:14px;box-shadow:none}.tab.active{color:#0f0f0f}
.footer{color:#8a8a8a}
.race-link{display:flex;justify-content:space-between;align-items:center;gap:12px;text-decoration:none;color:#0f0f0f}.race-link:hover{border-color:#0f0f0f}.race-link strong{display:block;font-family:var(--heading);font-size:19px}

.header{display:flex;justify-content:center;padding:14px 18px}.head-inner{justify-content:center}.brand{justify-content:center}.logoimg{max-width:230px;max-height:70px}
.center{text-align:center}.hero{text-align:center;padding:28px 8px 6px}.hero .h1{font-size:clamp(28px,7vw,44px);margin:8px 0}.hero .sub{font-size:16px}
.steps{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:0;margin:18px 0 26px}.steps li{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e8e8e8;border-radius:14px;padding:12px;font-size:14px;font-weight:600}.steps b{width:30px;height:30px;border-radius:50%;background:#0f0f0f;color:#fff;display:grid;place-items:center;flex-shrink:0}
.race-link{display:flex;align-items:center;gap:14px;background:#fff;border:1.5px solid #e1e1e1;border-radius:18px;padding:16px;margin:12px 0;text-decoration:none;color:#0f0f0f;min-height:84px}.race-link:active,.race-link:hover{border-color:#0f0f0f;background:#fafafa}
.race-date{width:60px;height:60px;border-radius:14px;background:#0f0f0f;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0}.race-date b{font-size:22px;line-height:1}.race-date span{font-size:11px;letter-spacing:1px;margin-top:3px}
.race-info{flex:1;min-width:0}.race-info strong{display:block;font-family:var(--heading);font-size:20px;margin-bottom:4px}.race-go{font-weight:800;font-size:14px;white-space:nowrap}
.socials{text-align:center;margin:36px 0 10px;color:#6b7785;font-size:13px}.social-row{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:10px}.social-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid #0f0f0f;border-radius:999px;padding:10px 16px;color:#0f0f0f;text-decoration:none;font-weight:700;font-size:13px;background:#fff}
@media(min-width:680px){.steps{grid-template-columns:repeat(4,1fr)}}
.medal{width:236px;height:236px;margin:0 auto;border-radius:50%;background:radial-gradient(circle at 32% 28%,#fff 0%,#e4e7ec 34%,#b9bfc9 72%,#9aa1ad 100%);box-shadow:0 8px 20px #0f0f0f2b,inset 0 0 0 5px #c9ced7,inset 0 0 0 7px #f4f5f8;display:grid;place-items:center;position:relative;overflow:hidden}
.medal:before{display:none}.medal-face{width:178px;height:178px;border-radius:50%;border:2px solid #9fa6b2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;background:radial-gradient(circle at 40% 35%,#eef0f4,#cfd4dc)}
.medal .engraved{position:static;font-weight:900;color:#2c3645;max-width:160px;white-space:nowrap;letter-spacing:.2px;line-height:1.1}.m-line{font-weight:800;color:#3d4757;font-size:15px;letter-spacing:.8px}

.btn.big{min-height:60px;font-size:18px;margin-top:6px}
.receipt.compact{max-width:340px;padding:16px 14px;border-width:2px}.receipt.compact .r-brand{font-weight:900;font-size:15px;letter-spacing:1.5px}
.receipt.compact .r-warn{background:#111;color:#fff;font-weight:900;font-size:13px;line-height:1.3;padding:9px 8px;margin:10px -2px;border-radius:6px;letter-spacing:.3px}
.receipt.compact .r-label{font-size:12px;font-weight:800;letter-spacing:2px;margin-top:6px}.receipt.compact .huge{font-size:64px;margin:2px 0 4px}
.receipt.compact .r-bib{font-weight:900;font-size:20px}.receipt.compact .r-data{font-size:16px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}
.receipt .qr.sm{width:112px;margin:8px auto}.receipt.compact .r-foot{font-size:12px;line-height:1.45;font-weight:700}
@media print{.receipt.compact{max-width:100%}.receipt.compact .r-warn{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.steps li.wide{grid-column:1/-1}
.medal-photo{display:block;width:min(100%,360px);max-height:300px;object-fit:contain;margin:16px auto 0;border-radius:14px}
.tri-box{border:1px dashed #cfcfcf;border-radius:14px;padding:12px;margin:14px 0;background:#fafafa}
.tri-box .field{margin:8px 0}.tri-box .field label{font-size:13px}
@media(max-width:679px){.steps{grid-template-columns:1fr}}@media(min-width:680px){.steps{grid-template-columns:repeat(3,1fr)}}

.header{padding:12px 16px}.logoimg{width:min(300px,76vw);max-width:none;height:auto;max-height:none}
@media(min-width:680px){.header{padding:14px 20px}.logoimg{width:360px}}

.field input.bad{border-color:#b3261e;background:#fff6f5}.seg-err{background:#fbeeee;color:#9a2b2f;border-radius:10px;padding:8px 10px;font-size:13px;margin-top:8px;font-weight:600}
.field input.auto{background:#f1f1f1;font-weight:800}

.qr-card-img{display:block;width:min(100%,420px);margin:14px auto;border:1px solid #e3e3e3;border-radius:10px;background:#fff}
#printImgHost{display:none}
@media print{body.printing-img #app{display:none!important}body.printing-img #printImgHost{display:block!important}#printImgHost img{display:block;width:100%;max-width:18cm;margin:0 auto}}

.pay-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0 16px}
.pay-opt{border:2px solid #d4d4d4;background:#fff;border-radius:16px;padding:16px 10px;min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#0f0f0f}
.pay-opt b{font-size:19px}.pay-opt span{font-size:12px;color:#6b7785;line-height:1.3}
.pay-opt.selected{border-color:#0f0f0f;background:#0f0f0f;color:#fff}.pay-opt.selected span{color:#d9d9d9}
.stand-card{border:1px solid #ccdaed}.stand-steps{margin:8px 0 16px;padding-left:22px;line-height:1.7;font-weight:600}
.queue-row.canceled{opacity:.55;background:#f4f4f4}.queue-row.canceled .bib{text-decoration:line-through}
