:root{--red:#e30613;--red2:#b40009;--yellow:#ffd21c;--ink:#231f20;--muted:#726d70;--line:#eee7e8;--cream:#fff9f2}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial;background:#fffafa;color:var(--ink)}a{text-decoration:none;color:var(--red)}.site-header{height:88px;padding:0 max(24px,calc((100% - 1220px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;position:relative;z-index:20;border-bottom:1px solid #f3e7e8}.brand img{width:154px;max-height:72px;object-fit:contain}.site-header nav{display:flex;align-items:center;gap:24px}.site-header nav a{font-weight:800;font-size:14px}.nav-outline{border:1px solid #f1c6c9;border-radius:999px;padding:10px 18px}main{max-width:1220px;margin:auto;padding:32px 24px 70px}.campaign-hero{min-height:670px;border-radius:34px;background:radial-gradient(circle at 70% 50%,#ff343d 0,#ed0714 40%,#bd0009 100%);color:#fff;display:grid;grid-template-columns:1.02fr .98fr;overflow:hidden;position:relative;box-shadow:0 30px 70px #9d00042b}.campaign-hero:before{content:"";position:absolute;width:520px;height:520px;border:1px solid #ffffff22;border-radius:50%;left:-260px;top:-190px;box-shadow:0 0 0 80px #ffffff08,0 0 0 160px #ffffff06}.hero-copy{padding:72px 0 62px 68px;z-index:2;display:flex;flex-direction:column;align-items:flex-start}.promo-tag{background:var(--yellow);color:#a70008;padding:9px 15px;border-radius:8px;font-size:12px;font-weight:1000;letter-spacing:.07em}.hero-logo{width:min(430px,92%);height:190px;object-fit:contain;object-position:left center;margin:18px 0 4px;filter:drop-shadow(0 15px 16px #70000066)}.hero-copy h1{font-size:37px;line-height:1.12;margin:0;max-width:560px}.hero-copy mark,.auth-art mark,.redeem-side mark{background:var(--yellow);color:#b10008;padding:0 6px}.hero-copy p{font-size:18px;line-height:1.55;max-width:570px;color:#fff}.actions{display:flex;gap:12px;margin-top:15px}.btn{border:0;display:inline-flex;justify-content:center;align-items:center;padding:14px 20px;border-radius:12px;font-weight:900;cursor:pointer;font-size:14px;transition:.2s}.btn:hover{transform:translateY(-1px);filter:brightness(.98)}.primary{background:linear-gradient(180deg,#f31320,var(--red));color:#fff;box-shadow:0 9px 20px #e3061326}.yellow{background:var(--yellow);color:#a70008;box-shadow:0 10px 24px #7a000045}.ghost{background:#ffffff16;border:1px solid #ffffff50;color:#fff}.big{padding:17px 28px}.full{width:100%}.hero-note{margin-top:28px;display:flex;flex-direction:column;border-left:4px solid var(--yellow);padding-left:14px}.hero-note b{font-size:19px}.hero-note span{font-size:13px;margin-top:3px;color:#ffd9dc}.hero-visual{position:relative;display:flex;align-items:flex-end;justify-content:center;z-index:1}.hero-visual:after{content:"";position:absolute;width:88%;height:80px;background:#8e0006;border-radius:50%;bottom:40px;filter:blur(20px);opacity:.5}.hero-visual img{width:110%;max-height:610px;object-fit:contain;object-position:center bottom;position:relative;z-index:2;filter:drop-shadow(0 20px 18px #65000577)}.glow{position:absolute;width:430px;height:430px;border-radius:50%;background:#ffca1c33;box-shadow:0 0 0 30px #fff1,0 0 100px #ffd21c55;top:100px}.how{padding:95px 0 30px}.section-head{text-align:center;margin-bottom:36px}.section-head.left{text-align:left;margin-top:55px}.section-head h2{font-size:38px;margin:4px 0}.section-head p{color:var(--muted);margin:5px 0}.eyebrow,.pill{font-size:11px;font-weight:1000;letter-spacing:.09em;color:var(--red)}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:35px}.steps article{position:relative;background:#fff;border:1px solid var(--line);border-radius:22px;padding:25px;box-shadow:0 12px 35px #4b11110c}.steps article>b{position:absolute;right:18px;top:15px;font-size:30px;color:#f5d9da}.steps article>span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#fff0d1;font-size:24px}.steps h3{margin:17px 0 6px}.steps p{font-size:14px;line-height:1.5;color:var(--muted)}.center{text-align:center}.card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:0 12px 35px #3b11110d}.narrow{max-width:480px;margin:30px auto}.auth-card{padding:38px}.auth-card h2{font-size:30px;margin:7px 0}.card p{color:var(--muted)}label{display:block;font-size:13px;font-weight:800;margin:16px 0 7px}input,select{width:100%;padding:14px;border:1px solid #ded6d7;border-radius:11px;font:inherit;background:#fff;outline:none}input:focus,select:focus{border-color:#f05c65;box-shadow:0 0 0 3px #e3061312}.hint{display:block;color:#999;font-weight:500;margin-top:5px}.msg{max-width:760px;margin:0 auto 18px;padding:14px 18px;border-radius:12px;background:#fff1c9;border:1px solid #f2d675}.msg.error{background:#fff0f1;color:#9f1019;border-color:#f6cbd0}.msg.success{background:#eaf9ef;color:#14743b;border-color:#c6ebd3}.auth-layout{min-height:650px;display:grid;grid-template-columns:1fr 1fr;border-radius:30px;overflow:hidden;background:linear-gradient(145deg,#bc0009,var(--red));align-items:center}.auth-art{color:#fff;padding:70px}.auth-art img{width:390px;max-width:100%;filter:drop-shadow(0 15px 16px #70000055)}.auth-art h1{font-size:45px}.auth-art p{color:#ffe8e9}.auth-layout .auth-card{width:calc(100% - 70px);margin:35px;background:#fff}.waiting,.secure{margin-top:20px;padding:12px;border-radius:10px;background:#fff8e0;color:#806400;font-size:12px;text-align:center}.redeem-layout{display:grid;grid-template-columns:1.1fr .9fr;min-height:650px;background:linear-gradient(140deg,#b50009,var(--red));border-radius:30px;overflow:hidden;align-items:center}.redeem-side{align-self:stretch;padding:45px 50px 0;color:#fff;position:relative;overflow:hidden}.redeem-side>img:first-child{width:340px;height:160px;object-fit:contain}.redeem-side h1{font-size:34px;margin:0}.redeem-side p{max-width:500px;line-height:1.5}.redeem-photo{position:absolute;width:560px;height:390px;object-fit:contain;bottom:-35px;left:5px}.redeem-layout .promo{width:calc(100% - 60px);margin:30px}.promo h1{font-size:34px;margin:8px 0}.codeinput{text-align:center;font-size:22px;letter-spacing:.14em;text-transform:uppercase;margin:6px 0 18px}.dashboard-head{display:flex;justify-content:space-between;align-items:flex-end;margin:15px 0 25px}.dashboard-head h1{font-size:40px;margin:3px 0}.dashboard-head p{color:var(--muted);margin:0}.live{background:#eaf9ef;color:#19733d;border-radius:999px;padding:9px 14px;font-size:12px;font-weight:800}.live i{display:inline-block;width:8px;height:8px;background:#20a65a;border-radius:50%;margin-right:6px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:24px 0}.stats>div{background:#fff;border:1px solid var(--line);padding:22px;border-radius:18px;position:relative}.stats small{display:block;color:#8a8082;font-weight:900;font-size:10px;letter-spacing:.05em;margin:8px 0 2px}.stats b{font-size:31px}.stat-icon{position:absolute;right:18px;top:18px;width:38px;height:38px;background:#fff3dc;border-radius:11px;display:grid;place-items:center}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.card-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.card-title h2{margin:3px 0}.counter{font-size:11px;font-weight:900;background:#fff1c9;color:#8b6600;padding:6px 9px;border-radius:999px}.barline{display:grid;grid-template-columns:90px 1fr 50px;gap:12px;align-items:center;margin:20px 0}.bar{height:10px;background:#f4eeee;border-radius:10px;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(90deg,var(--red),#ff5059);border-radius:10px}.approval{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f3eeee}.avatar{width:38px;height:38px;border-radius:50%;background:#fff0d1;color:#a50008;font-weight:1000;display:grid;place-items:center}.approval-info{flex:1}.approval small,.row small{display:block;color:#91898a;margin-top:3px}.mini{border:0;padding:9px 11px;border-radius:9px;font-weight:800;cursor:pointer}.approve{background:#e9f8ee;color:#13733a}.empty{padding:25px;text-align:center;color:#8d8586;background:#faf8f8;border-radius:12px}.draw{border-top:5px solid var(--red);position:relative}.draw .prize-icon{position:absolute;right:24px;top:22px;font-size:38px}.draw h2{margin-bottom:4px}.winner{background:#fff7d7;border:1px solid #f4dc75;padding:14px;border-radius:12px;margin-top:20px}.winner b,.winner small{display:block;margin-top:4px}.generated{margin-top:20px;padding:20px;background:linear-gradient(135deg,#fff4d4,#fff);border:1px dashed #efc53c;border-radius:14px;text-align:center}.generated strong{font-size:26px;display:block;letter-spacing:.08em;color:#bd0009;margin:6px}.generated span,.generated small{display:block;color:var(--muted)}.round-icon{width:52px;height:52px;background:#fff1c9;border-radius:16px;display:grid;place-items:center;font-size:25px}.row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #f1ecec}.status{font-size:10px;padding:5px 8px;border-radius:20px}.status.active{background:#fff4d9;color:#8a6000}.status.redeemed{background:#e6f7ed;color:#14743b}.formwide{max-width:760px;margin:20px auto}.valid{background:#e8f8ee;color:#126c38;padding:14px;border-radius:12px;margin-bottom:22px}.valid b{float:right}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.span2{grid-column:1/-1}.check{font-weight:500;display:flex;gap:10px;align-items:flex-start}.check input{width:auto}.bigcheck{width:72px;height:72px;border-radius:50%;background:var(--red);color:#fff;font-size:42px;margin:auto;display:grid;place-items:center}.successbox{text-align:center}.tickets{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.tickets b{background:#fff3cd;color:#aa0008;padding:9px 13px;border-radius:8px}footer{max-width:1220px;margin:auto;border-top:1px solid var(--line);padding:25px 24px 40px;display:flex;justify-content:space-between;color:#8a8082;font-size:12px}footer b{color:var(--red)}@media(max-width:850px){.site-header{height:74px}.brand img{width:120px}.site-header nav{gap:10px}.site-header nav a:first-child{display:none}main{padding:18px 14px 50px}.campaign-hero{grid-template-columns:1fr;min-height:auto}.hero-copy{padding:38px 28px 0}.hero-logo{height:150px}.hero-copy h1{font-size:30px}.hero-visual{height:400px}.hero-visual img{height:430px}.steps,.stats,.grid2,.auth-layout,.redeem-layout{grid-template-columns:1fr}.steps{gap:10px}.how{padding-top:60px}.auth-layout .auth-card,.redeem-layout .promo{width:auto;margin:20px}.auth-art{padding:35px}.auth-art img{width:260px}.redeem-side{min-height:500px;padding:30px}.redeem-photo{width:430px;height:320px}.dashboard-head{align-items:flex-start;gap:15px}.dashboard-head h1{font-size:32px}.fields{grid-template-columns:1fr}.span2{grid-column:auto}.actions{flex-direction:column;width:100%}.actions .btn{width:100%}footer{flex-direction:column;gap:6px}.barline{grid-template-columns:75px 1fr 35px}}@media(max-width:480px){.site-header nav .nav-outline{padding:8px 12px}.hero-copy{padding:30px 20px 0}.hero-logo{height:125px}.hero-visual{height:330px}.hero-visual img{height:350px}.section-head h2{font-size:31px}.stats{grid-template-columns:1fr 1fr}.stats b{font-size:25px}.approval{flex-wrap:wrap}.redeem-side{min-height:430px}.redeem-photo{width:350px;height:260px}.auth-art h1{font-size:34px}}


/* Redesign v2: campanha integralmente vermelha, menos informação e ícones vetoriais */
body{background:linear-gradient(145deg,#a90008 0%,#d8000c 42%,#b00009 100%);color:#fff;min-height:100vh}
.site-header{background:#c9000b;border-bottom:1px solid #ffffff24;box-shadow:0 10px 35px #6f000326;position:sticky;top:0}
.site-header nav a{color:#fff}.nav-outline{border-color:#ffffff55;background:#ffffff10}.brand img{filter:drop-shadow(0 8px 12px #78000455)}
main{max-width:1280px}.campaign-hero{box-shadow:none;border:1px solid #ffffff20;background:radial-gradient(circle at 76% 43%,#ff3540 0,#e30613 42%,#b50009 100%)}
.campaign-hero-simple{min-height:690px}.campaign-hero-simple .hero-copy{justify-content:center;padding-top:45px}.campaign-hero-simple .hero-logo{height:205px;margin:8px 0 0}.campaign-hero-simple .hero-copy h1{font-size:46px;max-width:610px;margin-top:4px}.campaign-hero-simple .hero-copy p{max-width:500px}.campaign-hero-simple .hero-visual img{max-height:660px;width:118%}.campaign-hero-simple .glow{width:500px;height:500px;top:90px}.hero-mini{display:flex;align-items:center;gap:12px;margin-top:30px;color:#fff}.hero-mini small{display:block;color:#ffd6d9;margin-top:3px}.mini-icon{width:42px;height:42px;border-radius:13px;background:#ffffff14;border:1px solid #ffffff2e;display:grid;place-items:center}.mini-icon svg{width:20px;fill:none;stroke:#ffd21c;stroke-width:2.2;stroke-linecap:round}.arrow{font-size:20px;margin-left:10px}.btn.yellow{box-shadow:0 12px 28px #72000455}.btn.primary{background:var(--yellow);color:#9d0007;box-shadow:0 10px 22px #7c00032b}.card{color:var(--ink);border:0;box-shadow:0 18px 50px #70000426}.eyebrow,.pill{color:#c5000a}.auth-layout,.redeem-layout{border:1px solid #ffffff1f;box-shadow:0 25px 60px #72000435}.auth-layout .auth-card,.redeem-layout .promo{box-shadow:0 20px 55px #71000438}.dashboard-head{color:#fff}.dashboard-head .eyebrow{color:var(--yellow)}.dashboard-head p{color:#ffd9dc}.live{background:#ffffff16;color:#fff;border:1px solid #ffffff2b}.stats>div{border:0;box-shadow:0 15px 35px #72000425}.stats,.grid2{color:var(--ink)}.section-head.left{color:#fff}.section-head.left .eyebrow{color:var(--yellow)}.section-head.left p{color:#ffd9dc}.stat-icon svg,.round-icon svg,.prize-icon svg,.secure svg,.bigcheck svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.prize-icon{color:#c6000a}.prize-icon svg{width:38px;height:38px}.round-icon{color:#b40009}.secure{display:flex;align-items:center;justify-content:center;gap:7px}.secure svg{width:16px;height:16px}.bigcheck svg{width:38px;height:38px}.waiting{background:#fff4cf;color:#735700}.valid{border-left:4px solid #168a48}footer{max-width:none;margin-top:20px;padding-left:max(24px,calc((100% - 1220px)/2));padding-right:max(24px,calc((100% - 1220px)/2));border-top:1px solid #ffffff25;color:#ffd5d8}footer b{color:#fff}
@media(max-width:850px){.campaign-hero-simple{min-height:auto}.campaign-hero-simple .hero-copy h1{font-size:34px}.campaign-hero-simple .hero-logo{height:155px}.campaign-hero-simple .hero-visual img{width:105%}}

/* v3: cadastro de codigo empilhado, alinhamento e responsividade */
.redeem-page{max-width:920px;margin:0 auto;display:flex;flex-direction:column;gap:26px;align-items:stretch}.redeem-form-card{width:100%;max-width:680px;margin:0 auto;padding:42px 46px;border-radius:26px}.redeem-form-card h1{font-size:38px;line-height:1.08;margin:8px 0 10px}.redeem-form-card>p{margin:0 0 24px}.redeem-form-card .codeinput{height:68px;margin:8px 0 16px}.redeem-form-card .btn{min-height:54px}.redeem-prize{min-height:430px;position:relative;overflow:hidden;border:1px solid #ffffff25;border-radius:30px;background:radial-gradient(circle at 70% 60%,#ff3943 0,#e30613 45%,#b60009 100%);color:#fff;display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;padding:42px 30px 0 48px}.redeem-prize:before{content:"";position:absolute;width:330px;height:330px;border:1px solid #ffffff18;border-radius:50%;right:-80px;top:-100px;box-shadow:0 0 0 65px #ffffff08}.redeem-prize-copy{position:relative;z-index:2;align-self:center;padding-bottom:38px}.promo-kicker{display:inline-block;color:#9d0007;background:var(--yellow);padding:7px 11px;border-radius:7px;font-size:11px;font-weight:1000;letter-spacing:.08em}.redeem-prize h2{font-size:34px;line-height:1.12;margin:14px 0 12px}.redeem-prize p{line-height:1.55;margin:0;color:#ffe7e9}.redeem-prize mark{background:var(--yellow);color:#a70008;padding:0 5px}.redeem-prize img{width:100%;height:410px;object-fit:contain;object-position:center bottom;position:relative;z-index:2;align-self:end;filter:drop-shadow(0 18px 18px #65000566)}
@media(max-width:850px){.site-header{padding:0 18px}.site-header nav{gap:8px}.site-header nav a{font-size:13px}.redeem-page{max-width:680px;gap:18px}.redeem-form-card{max-width:none;padding:32px 28px}.redeem-prize{grid-template-columns:1fr;min-height:620px;padding:32px 24px 0;text-align:center}.redeem-prize-copy{max-width:520px;margin:0 auto;padding-bottom:0}.redeem-prize h2{font-size:30px}.redeem-prize img{height:390px;margin:0 auto}.codeinput{font-size:19px}}
@media(max-width:520px){.site-header{height:68px}.brand img{width:105px;max-height:58px}.site-header nav a:first-child{display:block}.site-header nav .nav-outline{display:none}main{padding:14px 12px 36px}.redeem-form-card{padding:26px 20px;border-radius:20px}.redeem-form-card h1{font-size:30px}.redeem-form-card>p{font-size:14px;margin-bottom:20px}.redeem-form-card .codeinput{height:60px;font-size:16px;letter-spacing:.1em}.redeem-prize{min-height:500px;border-radius:22px;padding:26px 18px 0}.redeem-prize h2{font-size:27px}.redeem-prize p{font-size:14px}.redeem-prize img{height:300px;width:115%;margin-left:-7.5%}.secure{font-size:11px}footer{padding:20px 16px 28px}.stats{grid-template-columns:1fr}.grid2{grid-template-columns:1fr}.card{border-radius:18px}.dashboard-head{flex-direction:column}.dashboard-head h1{font-size:29px}}

/* v4: cálculo por valor Harald e impressão térmica */
.ticket-preview{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 14px;background:#fff7d7;border:1px solid #f0dc83;border-radius:14px;padding:14px 16px;margin:4px 0 16px;color:#7c5700}.ticket-preview span{font-weight:800}.ticket-preview strong{font-size:28px;color:#b50009;grid-row:1/3;grid-column:2}.ticket-preview small{color:#8b7a49}.print-btn{margin-top:14px;background:#b80009;color:#fff;border:0;display:flex;align-items:center;justify-content:center;gap:8px}.print-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.thermal-receipt{display:none}
@media(max-width:850px){.operator-grid{grid-template-columns:1fr}.generate-card,.operator-grid>.card{width:100%}.generated strong{overflow-wrap:anywhere}.ticket-preview{grid-template-columns:1fr auto}}
@media(max-width:520px){.ticket-preview{padding:12px}.ticket-preview strong{font-size:24px}.generated{padding:16px}.generated strong{font-size:22px}.print-btn{min-height:50px}}
@media print{
  @page{size:80mm auto;margin:4mm}
  html,body{width:72mm!important;min-height:0!important;background:#fff!important;color:#000!important;margin:0!important;padding:0!important}
  body *{visibility:hidden!important}
  .thermal-receipt,.thermal-receipt *{visibility:visible!important}
  .thermal-receipt{display:block!important;position:absolute!important;left:0!important;top:0!important;width:72mm!important;padding:0!important;margin:0!important;background:#fff!important;color:#000!important;text-align:center!important;font-family:Arial,Helvetica,sans-serif!important;font-size:11px!important;line-height:1.35!important}
  .receipt-rule{font-family:monospace!important;font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;margin:3px 0!important}
  .receipt-title{display:block!important;font-size:15px!important;margin-top:4px!important}
  .receipt-label{font-weight:700!important;margin:14px 0 5px!important}
  .receipt-code{display:block!important;font-size:21px!important;letter-spacing:1px!important;margin:4px 0 14px!important;white-space:nowrap!important}
  .receipt-entitlement{margin:0 0 13px!important;font-size:12px!important}.receipt-entitlement b{font-size:14px!important}
  .thermal-receipt p{margin:12px 0!important}.receipt-site{display:block!important;font-size:12px!important;margin:5px 0 12px!important;word-break:break-all!important}
}

/* v5: refinamentos responsivos, login móvel e formulários */
.redeem-page{max-width:920px}.redeem-form-card{max-width:none;width:100%}
@media(max-width:850px){
  .campaign-hero-simple .hero-copy{align-items:center;text-align:center;padding:34px 24px 0}
  .campaign-hero-simple .hero-logo{object-position:center center;margin-left:auto;margin-right:auto;width:min(430px,100%)}
  .campaign-hero-simple .hero-copy p{margin-left:auto;margin-right:auto}
  .campaign-hero-simple .actions{align-items:center;justify-content:center}
  .campaign-hero-simple .hero-mini{justify-content:center;text-align:left}
}
@media(max-width:520px){
  .site-header{justify-content:space-between;padding:0 14px}
  .site-header nav{display:flex;gap:7px}
  .site-header nav a:first-child{display:none}
  .site-header nav .nav-outline{display:inline-flex;padding:8px 14px}
  .campaign-hero-simple .hero-copy{padding:28px 18px 0;align-items:center;text-align:center}
  .campaign-hero-simple .hero-logo{width:100%;height:145px;object-position:center;margin:0 auto 8px}
  .campaign-hero-simple .hero-copy h1{font-size:31px;text-align:center}
  .campaign-hero-simple .hero-copy p{text-align:center;font-size:16px}
  .campaign-hero-simple .actions{width:100%;justify-content:center}
  .campaign-hero-simple .actions .btn{width:auto;min-width:210px}
  .campaign-hero-simple .hero-mini{width:100%;justify-content:center}
}

/* V6: transparência, números e sorteios */
.admin-actions{max-width:1400px;margin:0 auto 28px;display:flex;gap:12px;flex-wrap:wrap}.transparency-hero{max-width:1050px;margin:40px auto 24px;text-align:center;color:#fff}.transparency-hero h1{font-size:clamp(38px,6vw,72px);margin:8px 0 14px}.transparency-hero p{max-width:720px;margin:auto;font-size:18px;opacity:.9}.public-stats{max-width:1000px;margin:0 auto 24px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.public-stats div{background:#fff;border-radius:22px;padding:24px;text-align:center}.public-stats b{display:block;font-size:36px;color:#d60012}.public-stats span{color:#666}.transparency-search,.rules{max-width:1000px;margin:0 auto 24px}.transparency-search form,.search-row{display:flex;gap:12px}.transparency-search input,.search-row input{flex:1}.lookup{margin-top:18px;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:8px}.lookup.good{background:#f4fff6;border:1px solid #b9e6c2}.lookup.bad{background:#fff1f1;border:1px solid #ffc5c5}.number-chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.number-chips strong{background:#ffd21c;color:#9f0010;padding:10px 14px;border-radius:12px;font-size:20px;letter-spacing:1px}.result-row{display:grid;grid-template-columns:1fr auto 180px;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid #eee}.result-row div{display:flex;flex-direction:column}.result-row strong{font-size:24px;color:#d60012}.result-row small{color:#777;margin-top:4px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:800px}.data-table th,.data-table td{padding:15px 12px;text-align:left;border-bottom:1px solid #eee}.data-table th{font-size:12px;color:#777;text-transform:uppercase}.data-table a{font-weight:800;color:#d60012}.person-info p{display:grid;grid-template-columns:130px 1fr;gap:14px;padding:12px 0;border-bottom:1px solid #eee}.eligible{margin:22px 0;background:#fff6ce;padding:18px;border-radius:16px;display:flex;align-items:end;gap:10px}.eligible b{font-size:40px;color:#d60012}.draw-stage{max-width:1050px;margin:45px auto;text-align:center;color:#fff;min-height:650px}.draw-stage h1{font-size:clamp(42px,7vw,78px);margin:10px 0}.draw-machine{width:min(680px,92vw);height:240px;margin:35px auto;border:2px solid rgba(255,255,255,.35);border-radius:38px;background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.04));display:grid;place-items:center;box-shadow:0 30px 80px rgba(100,0,0,.35)}.draw-number{font-size:clamp(70px,14vw,150px);font-weight:1000;letter-spacing:10px;color:#ffd21c;text-shadow:0 8px 30px rgba(0,0,0,.25);transition:.08s}.draw-number.flash{transform:scale(1.04);filter:brightness(1.2)}.draw-winner{background:#fff;color:#171717;max-width:700px;margin:20px auto;padding:28px;border-radius:28px;animation:pop .55s ease}.draw-winner>strong{display:block;font-size:64px;color:#d60012}.draw-winner h2{font-size:32px;margin:6px 0}.draw-winner .btn{margin:10px 5px}@keyframes pop{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}
@media(max-width:700px){.public-stats{grid-template-columns:1fr;margin-inline:16px}.transparency-search,.rules{margin-inline:16px}.transparency-search form,.search-row{flex-direction:column}.result-row{grid-template-columns:1fr}.admin-actions{margin-inline:16px}.admin-actions .btn{width:100%;text-align:center}.draw-stage{padding:0 16px}.draw-machine{height:180px}.draw-winner>strong{font-size:48px}.person-info p{grid-template-columns:1fr;gap:3px}}

/* V7: ações consistentes, conteúdo centralizado e footer fixado ao fim */
html,body{min-height:100%}
body{min-height:100vh;display:flex;flex-direction:column}
main{width:100%;flex:1 0 auto}
footer{width:100%;margin-top:auto;flex-shrink:0;align-items:center;text-align:center;justify-content:center;gap:24px}
.admin-actions{justify-content:center;align-items:center}
.admin-actions .btn{min-width:220px;min-height:58px;background:var(--yellow)!important;color:#a70008!important;border:0!important;box-shadow:0 10px 24px #72000435!important;border-radius:14px}
.admin-actions .btn:hover{background:#ffdb3f!important;color:#8f0006!important}
.dashboard-head{text-align:center;align-items:center;justify-content:center;flex-direction:column}
.dashboard-head p{margin-left:auto;margin-right:auto}

/* máscara visual do código XXXX-XXXX-XXXX */
.codeinput{font-variant-numeric:tabular-nums}

@media(max-width:700px){
  footer{flex-direction:column;gap:5px;padding:22px 16px 28px}
  .admin-actions{margin-inline:0;width:100%;flex-direction:column}
  .admin-actions .btn{width:min(100%,360px);min-width:0}
}

/* V8: consistência visual, toasts, administração de usuários e footer com marcas */
.toast-stack{position:fixed;top:104px;right:24px;z-index:9999;width:min(390px,calc(100vw - 32px));pointer-events:none}.toast-stack .msg{margin:0 0 10px;box-shadow:0 16px 45px #5c00032f;animation:toastIn .28s ease both;transition:.35s ease;pointer-events:auto}.toast-stack .toast-hide{opacity:0;transform:translateX(35px)}@keyframes toastIn{from{opacity:0;transform:translateX(35px)}to{opacity:1;transform:none}}
.approval-actions{display:flex;gap:7px;align-items:center}.approval-actions form{margin:0}.reject{background:#ffe7e8;color:#a9000a}.reset-pass{background:#fff1c9;color:#8b5f00;white-space:nowrap}.consent-box{background:#fff8df;border:1px solid #f0dc8a;padding:14px 16px;border-radius:12px;line-height:1.45}.consent-box input{margin-top:3px;flex:0 0 auto}
.footer-logos{display:flex;align-items:center;justify-content:center;gap:14px}.footer-logos img{display:block;object-fit:contain;max-width:130px;max-height:42px}.footer-logos img:first-child{max-width:82px}.footer-logos span{color:#ffffff75;font-size:22px}
/* transparência: todos os blocos principais com a mesma largura */
.transparency-hero,.public-stats,.transparency-search,.rules,.transparency-search~.card{width:min(1050px,100%);max-width:1050px;margin-left:auto;margin-right:auto}.public-stats>div{height:100%}.transparency-search,.rules,.transparency-search~.card{min-height:0}
/* no desktop, ações respiram por toda a largura; no celular permanecem centralizadas */
.admin-actions{max-width:1220px;width:100%;justify-content:space-between;gap:16px}.admin-actions .btn{flex:1;min-width:0;max-width:280px}.admin-grid>.card{height:100%}.stats>div{min-height:103px}.equal-card{width:100%}
@media(max-width:700px){.toast-stack{top:80px;right:16px}.admin-actions{justify-content:center;align-items:center;flex-direction:column}.admin-actions .btn{flex:none;width:min(100%,360px);max-width:360px}.approval-actions{width:100%;justify-content:flex-end}.footer-logos img{max-width:110px;max-height:36px}.footer-logos img:first-child{max-width:70px}.transparency-hero,.public-stats,.transparency-search,.rules,.transparency-search~.card{width:100%;margin-left:auto;margin-right:auto}}

/* V9: cabeçalhos desktop distribuídos, operador compacto e QR térmico */
.dashboard-head.dashboard-head-split{max-width:1220px;margin:0 auto 26px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;text-align:left;gap:40px}
.dashboard-head-split .head-status{display:flex;flex-direction:column;align-items:flex-end;text-align:right;gap:8px}
.dashboard-head-split .head-status p{margin:0;color:#fff}
.operator-grid{align-items:stretch}
.operator-grid>.card{height:auto;min-height:0}
.operator-grid .generate-card{padding-top:28px;padding-bottom:28px}
.operator-grid .generate-card h2{margin-top:14px;margin-bottom:8px}
.operator-grid .generate-card>p{margin-top:0;margin-bottom:12px}
.operator-grid .generate-card label{margin-bottom:7px}
.operator-grid .ticket-preview{margin:7px 0 10px}
.operator-grid .generated{margin-top:12px;padding:14px 18px}
.operator-grid .generated strong{font-size:25px}
.receipt-qr{display:block;width:112px;height:112px;object-fit:contain;margin:8px auto 3px;image-rendering:pixelated}
.receipt-qr-label{display:block;font-size:9px;margin-bottom:5px}
@media(min-width:901px){
  .operator-grid{min-height:0}.operator-grid>.card{max-height:620px;overflow:auto}
}
@media(max-width:700px){
  .dashboard-head.dashboard-head-split{flex-direction:column;justify-content:center;text-align:center;gap:8px}
  .dashboard-head-split .head-status{align-items:center;text-align:center}
}
@media print{
  .receipt-qr{width:28mm!important;height:28mm!important;margin:2mm auto 1mm!important}
  .receipt-qr-label{font-size:7pt!important}
}

/* V10: privacidade, sorteio sem rolagem, ações legíveis e operador estável */
.light-btn{background:#fff!important;color:#a9000a!important;border:1px solid #ead7d8!important;box-shadow:0 8px 22px #63000620!important}
.private-data{filter:blur(5px);user-select:none;transition:.2s}.private-data.revealed{filter:none;user-select:text}.privacy-toggle{background:#fff1c9;color:#8b5f00;border:0}
.success-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:22px}.success-actions form{margin:0}.success-actions .btn{min-width:220px}
.draw-stage-compact{margin:18px auto 30px;min-height:calc(100vh - 170px);display:flex;flex-direction:column;justify-content:center}.draw-stage-compact h1{font-size:clamp(36px,5vw,64px);margin:4px 0}.draw-stage-compact .draw-machine{height:170px;margin:18px auto}.draw-stage-compact .draw-number{font-size:clamp(60px,10vw,110px)}.draw-winner-inline{max-width:900px;width:92%;padding:18px 24px;margin:10px auto;display:grid;grid-template-columns:180px 1fr auto;align-items:center;gap:22px;text-align:left}.draw-winner-inline[hidden]{display:none}.draw-winner-inline>div:first-child{text-align:center}.draw-winner-inline>div:first-child strong{display:block;font-size:42px;color:#d60012}.draw-winner-inline h2{font-size:26px;margin:0 0 4px}.draw-winner-inline p{margin:0;color:#666}.winner-actions{display:flex;gap:8px;flex-direction:column}.winner-actions .btn{margin:0!important;text-align:center;white-space:nowrap}
@media(min-width:901px){.operator-grid>.card{max-height:calc(100vh - 180px)}.operator-grid .table{max-height:calc(100vh - 285px);overflow:auto}}
@media(max-width:700px){.draw-stage-compact{min-height:auto;padding:15px 16px}.draw-winner-inline{grid-template-columns:1fr;text-align:center}.winner-actions{align-items:stretch}.success-actions{flex-direction:column}.success-actions .btn{width:100%}}

/* V11: operador sem scroll interno, usuários desativáveis e ciclo de campanha */
@media(min-width:901px){
  .operator-grid{align-items:start!important}
  .operator-grid>.card{max-height:none!important;overflow:visible!important;min-height:0!important}
  .operator-grid .table{max-height:none!important;overflow:visible!important}
  .operator-grid>.card:last-child .row:nth-child(n+7){display:none}
  .operator-grid>.card:last-child{padding-bottom:24px}
}
.user-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.user-actions form{margin:0}.status.cancelled{background:#f5e5e6;color:#9f0010}.campaign-control{max-width:1220px;margin:0 auto 24px;display:flex;align-items:center;justify-content:space-between;gap:28px}.campaign-control h2{margin:4px 0 6px}.campaign-control p{margin:0;max-width:760px}.danger-btn{background:#8f0010!important;color:#fff!important}.danger-btn:disabled{opacity:.45;cursor:not-allowed}.campaign-off i{background:#ffd21c!important}.campaign-ended-note{background:#fff1c9;border:1px solid #eed071;padding:12px 14px;border-radius:12px;color:#8b5f00;font-weight:700;margin-bottom:12px}
@media(max-width:700px){.campaign-control{margin-inline:16px;flex-direction:column;text-align:center}.campaign-control form,.campaign-control .btn{width:100%}.user-actions{flex-direction:column;align-items:stretch}}

/* V12: cupom fiscal, auditoria, alertas e refinamentos do operador/sorteio */
.draw-zone-badge{display:inline-flex;align-items:center;justify-content:center;background:var(--yellow);color:#a70008;border:2px solid #b9000b;border-radius:999px;padding:9px 18px;font-size:12px;font-weight:1000;letter-spacing:.08em;box-shadow:0 8px 20px #7500062b}
.admin-search{display:grid;grid-template-columns:1fr auto;gap:10px;margin-bottom:18px}.admin-search input{margin:0}.admin-table-scroll{overflow:auto;max-height:580px}.admin-table{width:100%;border-collapse:collapse;min-width:900px}.admin-table th,.admin-table td{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line);font-size:13px}.admin-table th{position:sticky;top:0;background:#fff;z-index:1;font-size:11px;color:#766d6f;text-transform:uppercase}
.security-panel{max-width:1220px;margin:0 auto 24px}.security-panel>p{margin-top:-5px}.security-list{display:flex;flex-direction:column}.security-item{display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:12px;padding:13px 10px;border-bottom:1px solid var(--line);border-radius:10px}.security-item.unread{background:#fff9df}.security-item b{display:block;font-size:14px}.security-item small{display:block;color:var(--muted);margin-top:4px}.security-dot{width:10px;height:10px;border-radius:50%;background:#e4a500}.security-dot.high{background:#d0000c}.alert-level{font-size:10px;font-weight:900;padding:5px 8px;border-radius:999px;background:#fff1c9;color:#8b5f00}.alert-level.high{background:#ffe4e6;color:#a70008}.security-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}.security-actions form{margin:0}
@media(min-width:901px){.operator-grid{align-items:stretch!important}.operator-grid>.card{height:590px!important;max-height:590px!important;overflow:hidden!important}.operator-grid>.card:last-child{display:flex;flex-direction:column}.operator-grid>.card:last-child .table{flex:1;min-height:0;max-height:none!important;overflow-y:auto!important;padding-right:8px}.operator-grid>.card:last-child .row:nth-child(n){display:flex}.operator-grid .generate-card{overflow-y:auto!important}}
@media(max-width:700px){.admin-search{grid-template-columns:1fr}.security-item{grid-template-columns:12px 1fr}.alert-level{grid-column:2}.security-actions{flex-direction:column}.security-actions .btn{width:100%}}

/* V13 - painel do operador compacto no desktop */
.operator-fields-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.operator-fields-row label{margin-top:10px}.operator-fields-row .hint{font-size:11px;line-height:1.25}.generated-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:5px}.generated-meta span{display:block;text-align:center;color:var(--muted);font-size:14px}.generated-meta b{color:var(--ink)}
@media(min-width:901px){.operator-grid>.card{height:590px!important;max-height:590px!important}.operator-grid .generate-card{overflow:hidden!important;padding:22px 28px!important}.operator-grid .generate-card .round-icon{width:48px;height:48px}.operator-grid .generate-card h2{margin:9px 0 4px!important}.operator-grid .generate-card>p{margin:0 0 6px!important;line-height:1.3}.operator-grid .generate-card form label{margin-bottom:4px}.operator-grid .generate-card input{padding:11px 13px}.operator-grid .ticket-preview{padding:10px 14px;margin:7px 0 9px!important}.operator-grid .btn{padding-top:12px;padding-bottom:12px}.operator-grid .generated{margin-top:10px!important;padding:11px 18px!important}.operator-grid .generated>small{font-size:11px}.operator-grid .generated>strong{font-size:24px!important;margin:3px 0!important}.operator-grid .generated .print-btn{margin-top:9px}.operator-grid>.card:last-child .table{overflow-y:auto!important;scrollbar-gutter:stable}}
@media(max-width:900px){.operator-fields-row{grid-template-columns:1fr}.operator-fields-row label{margin-top:16px}.generated-meta{grid-template-columns:1fr}.operator-grid .generate-card{overflow:visible!important}}


/* V14 - refinamentos de operador, sorteios e contraste sobre fundo vermelho */
.draw-zone-badge{display:inline-block!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;color:var(--yellow)!important;font-size:12px!important;font-weight:1000!important;letter-spacing:.09em!important;text-transform:uppercase}
/* textos de destaque diretamente sobre o fundo vermelho */
body>main>.dashboard-head .eyebrow,body>main>.dashboard-head a:not(.btn),.transparency-hero .eyebrow,.section-head.left .eyebrow,.draw-stage .draw-zone-badge{color:var(--yellow)!important}
@media(min-width:851px){
  .operator-fields-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;align-items:start}
  .operator-fields-row>label{min-width:0!important;margin:8px 0 4px!important}
  .operator-fields-row input{width:100%!important}
}
@media(max-width:850px){
  .operator-fields-row{display:grid!important;grid-template-columns:1fr!important;gap:0!important}
  .operator-fields-row>label{margin-top:16px!important}
}
@media(min-width:851px){.generated-meta{grid-template-columns:1fr 1fr!important}}
@media(max-width:850px){.generated-meta{grid-template-columns:1fr!important}}
body>main>a:not(.btn),body>main>.draw-stage>a:not(.btn){color:var(--yellow)!important}

/* V15 - senha, endereco e comemoracao do sorteio */
.password-wrap{position:relative;display:block}.password-wrap input{padding-right:48px!important}.password-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;background:transparent;color:#6d6264;font-size:20px;cursor:pointer;border-radius:8px}.password-eye:hover{background:#f4eeee;color:var(--red2)}.password-rule{display:block;margin-top:6px}.confetti-canvas{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:9999}.fields .hint{display:inline;font-weight:400;color:var(--muted)}
