/* Buyer raffle: one compact gift launcher, no extra bottom navigation item. */
.raffle-floating{position:fixed;right:max(14px,calc((100vw - 600px)/2 + 14px));bottom:calc(94px + env(safe-area-inset-bottom,0px));z-index:21;width:62px;height:62px;min-height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px;border:1px solid #f5dfa0;border-radius:50%;background:#e5c46a;color:#223229;box-shadow:0 4px 18px #0004;isolation:isolate}
.raffle-floating:hover{background:#eed58f}.raffle-floating svg{width:26px;height:26px}.raffle-floating span{font:500 9px/1 Onest,Arial,sans-serif;white-space:nowrap}
.raffle-floating::after{content:'';position:absolute;inset:-4px;border:1px solid #e5c46a70;border-radius:50%;pointer-events:none;animation:raffle-glow 2.8s ease-in-out infinite}
.raffle-floating[hidden]{display:none!important}@keyframes raffle-glow{50%{opacity:.3;scale:1.08}}
#sheet.hidden-raffle-sheet{width:min(100%,460px);max-width:100%;max-height:100dvh;background:#2c3c33;color:#eeece2}
#sheet.hidden-raffle-sheet .sheet-header{background:#2c3c33}#sheet.hidden-raffle-sheet .sheet-header h2{font-size:22px}
#sheet.hidden-raffle-sheet .sheet-body{display:flex;flex-direction:column;gap:22px;padding:20px 20px 26px}
.raffle-hero{position:relative;padding:24px 20px;border-radius:22px;background:radial-gradient(circle at 95% 0%,#bca6d040,transparent 65%),#223229;overflow:hidden}
.raffle-hero h3{font:34px/1.04 Forum,Georgia,serif;margin:12px 0 16px}.raffle-hero p{max-width:230px;margin:0}.raffle-hero .eyebrow{font-size:12px;color:#e5c46a;max-width:240px}.raffle-hero-gift{position:absolute;right:14px;bottom:16px;width:48px;height:48px;color:#e5c46a55}.raffle-hero-gift svg{width:100%;height:100%}
.raffle-ticket{padding:22px;text-align:center;border:1px solid #e5c46a80;border-radius:20px;background:#e5c46a0a}.raffle-ticket>span{display:block;font-size:14px}.raffle-ticket>strong{display:block;font:52px/1.2 Forum,Georgia,serif;color:#e5c46a;margin:12px 0}.raffle-ticket p{margin:0 0 16px}
.raffle-consultation{display:inline-block;padding:8px 12px;border-radius:12px;background:#ffffff12;font-size:12px}.raffle-consultation.is-completed{background:#739e8540;color:#d2e7d7}
.raffle-prizes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.raffle-prizes article{border-radius:16px;padding:16px 12px;background:#405047}.raffle-prizes small{display:block;color:#e5c46a;font-size:11px;margin-bottom:10px}.raffle-prizes h4{font:400 14px/1.4 Onest,Arial,sans-serif;margin:0;overflow-wrap:normal}
.raffle-rules h4,.raffle-results h4{font:26px/1.15 Forum,Georgia,serif;margin:0 0 14px}.raffle-rules ol{padding-left:20px;margin:0 0 16px;display:grid;gap:12px;font-size:14px;line-height:1.4}.raffle-rules p,.raffle-agreement{font-size:12px!important;color:#c3cdc5;line-height:1.5!important}.raffle-rules p:last-child{margin-bottom:0}.raffle-agreement{margin-bottom:14px}.raffle-error{color:#f4b6ab;font-size:13px;margin:0}.raffle-error:empty{display:none}.raffle-results p{padding:10px 12px;border-radius:12px;background:#405047;margin-bottom:8px}
@media(max-width:480px){#sheet.hidden-raffle-sheet{border-radius:0;margin:0;width:100vw;height:100dvh;max-height:100dvh}#sheet.hidden-raffle-sheet .sheet-header{padding-top:calc(14px + var(--tg-content-safe-area-inset-top,0px))}#sheet.hidden-raffle-sheet .sheet-body{overflow:auto;min-height:0;padding-bottom:calc(26px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){.raffle-floating::after{animation:none}}
/* Manager workspace uses the existing light cabinet theme. */
.hr-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:22px}.hr-heading h2,.hr-heading p{margin:0}.hr-heading p{margin-top:10px}
.hr-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 24px}.hr-counts>div{padding:16px;border-radius:14px;background:#f1f4fa}.hr-counts strong{display:block;font-size:28px;line-height:1.2;margin-top:8px}.hr-counts small{font-size:13px;color:#63758d}
.hr-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px;margin:22px 0}.hr-filters .field{flex:1;min-width:180px;margin:0}.hr-filters input,.hr-filters select,.hr-filters button{height:48px;min-height:48px;box-sizing:border-box}.hr-filters button{flex:0 0 auto}
.hr-table{width:100%}.hr-table th,.hr-table td{padding:16px 12px;vertical-align:top}.hr-number{font-size:22px;font-weight:600;white-space:nowrap}.hr-name{font-weight:500}.hr-note{margin:10px 0 0;font-size:12px;line-height:1.5;color:#63758d}
.hr-review{display:grid;gap:10px;min-width:220px}.hr-review select,.hr-review textarea{width:100%;box-sizing:border-box}.hr-review textarea{min-height:68px;resize:vertical}.hr-review button{justify-self:start;min-height:48px}.hr-review .error:empty{display:none}
.hr-pill{display:inline-block;padding:6px 10px;border-radius:20px;background:#eef1f8;color:#526581;font-size:12px;margin-top:8px}.hr-pill.completed{background:#e5f1e8;color:#376244}.hr-pill.pending{background:#fff3d4;color:#79590c}
.hr-draw-box{margin-top:22px;padding:22px;border:1px solid #d8ddeb;border-radius:16px;background:#fafbff}.hr-draw-box h3{margin:0 0 14px}.hr-draw-box p{margin:0 0 16px;line-height:1.5}.hr-draw-box .actions{gap:12px}.hr-winners{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.hr-winner{padding:20px;border-radius:16px;background:#f0f4fa}.hr-winner.grand{background:#fff2d4}.hr-winner h3{margin:8px 0 12px;font-size:20px}.hr-winner p{margin:8px 0 0}.hr-customer-summary{padding:18px;margin-top:20px;background:#f1f4fa;border-radius:14px}.hr-customer-summary p{margin:8px 0 0}.hr-error{color:#a43c3c;margin:12px 0 0}.hr-error:empty{display:none}
@media(max-width:700px){.hr-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-winners{grid-template-columns:1fr}.hr-table th,.hr-table td{padding:12px 8px}}
